primevue-mirror/pages/treeselect/index.vue

85 lines
2.8 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-05-07 19:52:15 +00:00
<DocComponent title="Vue TreeSelect Component" header="TreeSelect" description="TreeSelect is a form component to choose from hierarchical data." :componentDocs="docs" :apiDocs="['TreeSelect']" :ptTabComponent="ptComponent" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/treeselect/AccessibilityDoc';
import BasicDoc from '@/doc/treeselect/BasicDoc';
import CheckboxDoc from '@/doc/treeselect/CheckboxDoc';
import DisabledDoc from '@/doc/treeselect/DisabledDoc';
import FloatLabelDoc from '@/doc/treeselect/FloatLabelDoc';
import ImportDoc from '@/doc/treeselect/ImportDoc';
import InvalidDoc from '@/doc/treeselect/InvalidDoc';
import MultipleDoc from '@/doc/treeselect/MultipleDoc';
import StyleDoc from '@/doc/treeselect/StyleDoc';
2023-05-07 19:52:15 +00:00
import VeeValidateDoc from '@/doc/treeselect/form/VeeValidateDoc.vue';
import PTComponent from '@/doc/treeselect/pt/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: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'checkbox',
label: 'Checkbox',
component: CheckboxDoc
},
{
id: 'float-label',
label: 'Float Label',
component: FloatLabelDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
2023-03-17 13:05:14 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
2023-03-20 10:38:06 +00:00
id: 'veevalidate',
label: 'VeeValidate',
2023-03-17 13:05:14 +00:00
component: VeeValidateDoc
}
]
},
2023-02-28 08:29:30 +00:00
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-07 19:52:15 +00:00
],
ptComponent: PTComponent
2022-09-09 20:41:18 +00:00
};
}
};
</script>