2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-26 17:30:11 +00:00
|
|
|
<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']"
|
2023-07-26 17:30:11 +00:00
|
|
|
: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';
|
|
|
|
import DisabledDoc from '@/doc/treeselect/DisabledDoc.vue';
|
2024-02-02 13:26:54 +00:00
|
|
|
import FilledDoc from '@/doc/treeselect/FilledDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import FloatLabelDoc from '@/doc/treeselect/FloatLabelDoc.vue';
|
2024-09-20 09:28:05 +00:00
|
|
|
import IftaLabelDoc from '@/doc/treeselect/IftaLabelDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import ImportDoc from '@/doc/treeselect/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/treeselect/InvalidDoc.vue';
|
|
|
|
import MultipleDoc from '@/doc/treeselect/MultipleDoc.vue';
|
2023-05-07 19:52:15 +00:00
|
|
|
import PTComponent from '@/doc/treeselect/pt/index.vue';
|
2023-07-26 17:30:11 +00:00
|
|
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'multiple',
|
|
|
|
label: 'Multiple',
|
|
|
|
component: MultipleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'checkbox',
|
|
|
|
label: 'Checkbox',
|
|
|
|
component: CheckboxDoc
|
|
|
|
},
|
|
|
|
{
|
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-02-02 13:26:54 +00:00
|
|
|
{
|
|
|
|
id: 'filled',
|
|
|
|
label: 'Filled',
|
|
|
|
component: FilledDoc
|
|
|
|
},
|
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
|
|
|
],
|
2023-07-26 17:30:11 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|