113 lines
3.6 KiB
Vue
Executable File
113 lines
3.6 KiB
Vue
Executable File
<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"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/multiselect/AccessibilityDoc';
|
|
import BasicDoc from '@/doc/multiselect/BasicDoc';
|
|
import ChipsDoc from '@/doc/multiselect/ChipsDoc';
|
|
import DisabledDoc from '@/doc/multiselect/DisabledDoc';
|
|
import FilterDoc from '@/doc/multiselect/FilterDoc';
|
|
import FloatLabelDoc from '@/doc/multiselect/FloatLabelDoc';
|
|
import GroupDoc from '@/doc/multiselect/GroupDoc';
|
|
import ImportDoc from '@/doc/multiselect/ImportDoc';
|
|
import InvalidDoc from '@/doc/multiselect/InvalidDoc';
|
|
import LoadingStateDoc from '@/doc/multiselect/LoadingStateDoc';
|
|
import TemplateDoc from '@/doc/multiselect/TemplateDoc';
|
|
import VirtualScrollDoc from '@/doc/multiselect/VirtualScrollDoc';
|
|
import VeeValidateDoc from '@/doc/multiselect/form/VeeValidateDoc';
|
|
import PTComponent from '@/doc/multiselect/pt/index.vue';
|
|
import ThemingDoc from '@/doc/multiselect/theming/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
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
|
|
},
|
|
{
|
|
id: 'filter',
|
|
label: 'Filter',
|
|
component: FilterDoc
|
|
},
|
|
{
|
|
id: 'loadingstate',
|
|
label: 'Loading State',
|
|
component: LoadingStateDoc
|
|
},
|
|
{
|
|
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
|
|
},
|
|
{
|
|
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>
|