primevue-mirror/pages/cascadeselect/index.vue

83 lines
2.8 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +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']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/cascadeselect/AccessibilityDoc';
import BasicDoc from '@/doc/cascadeselect/BasicDoc';
import DisabledDoc from '@/doc/cascadeselect/DisabledDoc';
import FloatLabelDoc from '@/doc/cascadeselect/FloatLabelDoc';
2023-03-16 12:57:15 +00:00
import VeeValidateDoc from '@/doc/cascadeselect/form/VeeValidateDoc';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/cascadeselect/ImportDoc';
import InvalidDoc from '@/doc/cascadeselect/InvalidDoc';
import LoadingStateDoc from '@/doc/cascadeselect/LoadingStateDoc';
import StyleDoc from '@/doc/cascadeselect/StyleDoc';
import TemplateDoc from '@/doc/cascadeselect/TemplateDoc';
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
},
{
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-03-16 12:57:15 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'veevalidate',
label: 'VeeValidate',
component: VeeValidateDoc
}
]
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'style',
label: 'Style',
component: StyleDoc
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
}
]
};
}
};
</script>