primevue-mirror/pages/multiselect/index.vue

113 lines
3.7 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue MultiSelect Component"
header="MultiSelect"
description="MultiSelect is used to select multiple items from a collection."
:componentDocs="docs"
:apiDocs="['MultiSelect']"
: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/multiselect/AccessibilityDoc.vue';
import BasicDoc from '@/doc/multiselect/BasicDoc.vue';
import ChipsDoc from '@/doc/multiselect/ChipsDoc.vue';
import DisabledDoc from '@/doc/multiselect/DisabledDoc.vue';
import FilterDoc from '@/doc/multiselect/FilterDoc.vue';
import FloatLabelDoc from '@/doc/multiselect/FloatLabelDoc.vue';
import GroupDoc from '@/doc/multiselect/GroupDoc.vue';
import ImportDoc from '@/doc/multiselect/ImportDoc.vue';
import InvalidDoc from '@/doc/multiselect/InvalidDoc.vue';
import LoadingStateDoc from '@/doc/multiselect/LoadingStateDoc.vue';
import TemplateDoc from '@/doc/multiselect/TemplateDoc.vue';
import VirtualScrollDoc from '@/doc/multiselect/VirtualScrollDoc.vue';
import VeeValidateDoc from '@/doc/multiselect/form/VeeValidateDoc.vue';
2023-05-08 07:01:31 +00:00
import PTComponent from '@/doc/multiselect/pt/index.vue';
import ThemingDoc from '@/doc/multiselect/theming/index.vue';
2023-05-08 07:01:31 +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: 'chips',
label: 'Chips',
component: ChipsDoc
},
{
id: 'group',
label: 'Group',
component: GroupDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'filter',
label: 'Filter',
component: FilterDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'loadingstate',
label: 'Loading State',
component: LoadingStateDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'virtualscroll',
label: 'VirtualScroll',
component: VirtualScrollDoc
},
{
id: 'floatlabel',
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: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-05-08 07:01:31 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>