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

124 lines
4.0 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue TreeSelect Component"
header="TreeSelect"
description="TreeSelect is a form component to choose from hierarchical data."
:componentDocs="docs"
2023-11-23 14:00:44 +00:00
:apiDocs="['TreeSelect', 'TreeNode']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/treeselect/AccessibilityDoc.vue';
import BasicDoc from '@/doc/treeselect/BasicDoc.vue';
import CheckboxDoc from '@/doc/treeselect/CheckboxDoc.vue';
2024-10-28 11:43:20 +00:00
import ClearIconDoc from '@/doc/treeselect/ClearIconDoc.vue';
2023-09-21 11:21:43 +00:00
import DisabledDoc from '@/doc/treeselect/DisabledDoc.vue';
2024-02-02 13:26:54 +00:00
import FilledDoc from '@/doc/treeselect/FilledDoc.vue';
2024-10-04 19:29:29 +00:00
import FilterDoc from '@/doc/treeselect/FilterDoc.vue';
2023-09-21 11:21:43 +00:00
import FloatLabelDoc from '@/doc/treeselect/FloatLabelDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/treeselect/FormsDoc.vue';
2024-09-20 09:28:05 +00:00
import IftaLabelDoc from '@/doc/treeselect/IftaLabelDoc.vue';
2024-10-25 20:13:22 +00:00
import SizesDoc from '@/doc/treeselect/SizesDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/treeselect/ImportDoc.vue';
import InvalidDoc from '@/doc/treeselect/InvalidDoc.vue';
2024-10-04 19:29:29 +00:00
import LazyDoc from '@/doc/treeselect/LazyDoc.vue';
2023-09-21 11:21:43 +00:00
import MultipleDoc from '@/doc/treeselect/MultipleDoc.vue';
2023-05-07 19:52:15 +00:00
import PTComponent from '@/doc/treeselect/pt/index.vue';
2024-10-04 19:29:29 +00:00
import TemplateDoc from '@/doc/treeselect/TemplateDoc.vue';
import ThemingDoc from '@/doc/treeselect/theming/index.vue';
2023-05-07 19:52:15 +00:00
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
},
2024-10-23 09:54:05 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 09:54:05 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'checkbox',
label: 'Checkbox',
component: CheckboxDoc
},
2024-09-26 09:34:13 +00:00
{
id: 'lazy',
label: 'Lazy',
component: LazyDoc
},
2024-09-26 08:05:32 +00:00
{
id: 'filter',
label: 'Filter',
component: FilterDoc
},
2024-10-28 11:43:20 +00:00
{
id: 'clearicon',
label: 'Clear Icon',
component: ClearIconDoc
},
2024-10-04 19:29:29 +00:00
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2024-09-28 22:47:57 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2023-02-28 08:29:30 +00:00
{
2024-01-15 14:11:36 +00:00
id: 'floatlabel',
2023-02-28 08:29:30 +00:00
label: 'Float Label',
component: FloatLabelDoc
},
2024-09-20 09:28:05 +00:00
{
id: 'iftalabel',
label: 'Ifta Label',
component: IftaLabelDoc
},
2024-10-25 20:13:22 +00:00
{
id: 'sizes',
label: 'Sizes',
component: SizesDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-07 19:52:15 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>