primevue-mirror/apps/showcase/pages/cascadeselect/index.vue

82 lines
2.6 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-05-05 08:46:45 +00:00
<DocComponent
title="Vue CascadeSelect Component"
header="CascadeSelect"
description="CascadeSelect is a form component to select a value from a nested structure of options."
:componentDocs="docs"
:apiDocs="['CascadeSelect']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
2023-05-05 08:46:45 +00:00
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/cascadeselect/AccessibilityDoc.vue';
import BasicDoc from '@/doc/cascadeselect/BasicDoc.vue';
import DisabledDoc from '@/doc/cascadeselect/DisabledDoc.vue';
2024-02-02 11:49:09 +00:00
import FilledDoc from '@/doc/cascadeselect/FilledDoc.vue';
2023-09-21 11:21:43 +00:00
import FloatLabelDoc from '@/doc/cascadeselect/FloatLabelDoc.vue';
import ImportDoc from '@/doc/cascadeselect/ImportDoc.vue';
import InvalidDoc from '@/doc/cascadeselect/InvalidDoc.vue';
import LoadingStateDoc from '@/doc/cascadeselect/LoadingStateDoc.vue';
import TemplateDoc from '@/doc/cascadeselect/TemplateDoc.vue';
2023-05-05 08:46:45 +00:00
import PTComponent from '@/doc/cascadeselect/pt/index.vue';
import ThemingDoc from '@/doc/cascadeselect/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'loadingstate',
label: 'Loading State',
component: LoadingStateDoc
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
2024-02-02 11:49:09 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-05-05 08:46:45 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>