primevue-mirror/pages/autocomplete/index.vue

113 lines
3.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 AutoComplete Component" header="AutoComplete" description="AutoComplete is an input component that provides real-time suggestions when being typed." :componentDocs="docs" :apiDocs="['AutoComplete']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/autocomplete/AccessibilityDoc';
import BasicDoc from '@/doc/autocomplete/BasicDoc';
import DisabledDoc from '@/doc/autocomplete/DisabledDoc';
import DropdownDoc from '@/doc/autocomplete/DropdownDoc';
import FloatLabelDoc from '@/doc/autocomplete/FloatLabelDoc';
import ForceSelectionDoc from '@/doc/autocomplete/ForceSelectionDoc';
2023-03-16 08:37:53 +00:00
import VeeValidateDoc from '@/doc/autocomplete/form/VeeValidateDoc.vue';
2023-02-28 08:29:30 +00:00
import GroupDoc from '@/doc/autocomplete/GroupDoc';
import ImportDoc from '@/doc/autocomplete/ImportDoc';
import InvalidDoc from '@/doc/autocomplete/InvalidDoc';
import MultipleDoc from '@/doc/autocomplete/MultipleDoc';
import ObjectsDoc from '@/doc/autocomplete/ObjectsDoc';
import StyleDoc from '@/doc/autocomplete/StyleDoc';
import TemplateDoc from '@/doc/autocomplete/TemplateDoc';
import VirtualScrollDoc from '@/doc/autocomplete/VirtualScrollDoc';
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: 'dropdown',
label: 'Dropdown',
component: DropdownDoc
},
{
id: 'objects',
label: 'Objects',
component: ObjectsDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'group',
label: 'Group',
component: GroupDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'forceselection',
label: 'Force Selection',
component: ForceSelectionDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'virtualscroll',
label: 'Virtual Scroll',
component: VirtualScrollDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
2023-03-16 08:37:53 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'veevalidate',
label: 'VeeValidate',
component: VeeValidateDoc
}
]
},
2023-02-28 08:29:30 +00:00
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-02-28 08:29:30 +00:00
]
2022-09-09 20:41:18 +00:00
};
}
};
</script>