primevue-mirror/pages/treeselect/index.vue

89 lines
2.8 KiB
Vue

<template>
<DocComponent
title="Vue TreeSelect Component"
header="TreeSelect"
description="TreeSelect is a form component to choose from hierarchical data."
:componentDocs="docs"
:apiDocs="['TreeSelect']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
</template>
<script>
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 VeeValidateDoc from '@/doc/treeselect/form/VeeValidateDoc.vue';
import PTComponent from '@/doc/treeselect/pt/index.vue';
import ThemingDoc from '@/doc/treeselect/theming/index.vue';
export default {
data() {
return {
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
},
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'veevalidate',
label: 'VeeValidate',
component: VeeValidateDoc
}
]
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>