primevue-mirror/apps/showcase/pages/autocomplete/index.vue

124 lines
4.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-05-05 06:46:20 +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']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
2023-05-05 06:46:20 +00:00
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/autocomplete/AccessibilityDoc.vue';
import BasicDoc from '@/doc/autocomplete/BasicDoc.vue';
import DisabledDoc from '@/doc/autocomplete/DisabledDoc.vue';
import DropdownDoc from '@/doc/autocomplete/DropdownDoc.vue';
2024-02-02 11:49:09 +00:00
import FilledDoc from '@/doc/autocomplete/FilledDoc.vue';
2023-09-21 11:21:43 +00:00
import FloatLabelDoc from '@/doc/autocomplete/FloatLabelDoc.vue';
import ForceSelectionDoc from '@/doc/autocomplete/ForceSelectionDoc.vue';
2024-10-21 14:04:15 +00:00
import FormDoc from '@/doc/autocomplete/FormDoc.vue';
2023-09-21 11:21:43 +00:00
import GroupDoc from '@/doc/autocomplete/GroupDoc.vue';
2024-09-20 11:02:15 +00:00
import IftaLabelDoc from '@/doc/autocomplete/IftaLabelDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/autocomplete/ImportDoc.vue';
import InvalidDoc from '@/doc/autocomplete/InvalidDoc.vue';
import MultipleDoc from '@/doc/autocomplete/MultipleDoc.vue';
import ObjectsDoc from '@/doc/autocomplete/ObjectsDoc.vue';
import TemplateDoc from '@/doc/autocomplete/TemplateDoc.vue';
import VirtualScrollDoc from '@/doc/autocomplete/VirtualScrollDoc.vue';
2023-05-05 06:46:20 +00:00
import PTComponent from '@/doc/autocomplete/pt/index.vue';
import ThemingDoc from '@/doc/autocomplete/theming/index.vue';
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
},
2024-10-21 14:04:15 +00:00
{
id: 'form',
label: 'Form',
component: FormDoc
},
2023-02-28 08:29:30 +00:00
{
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
},
{
2024-09-30 07:06:16 +00:00
id: 'filled',
label: 'Filled',
component: FilledDoc
2023-02-28 08:29:30 +00:00
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
2024-09-20 11:02:15 +00:00
{
id: 'iftalabel',
label: 'Ifta Label',
component: IftaLabelDoc
},
2024-02-02 11:49:09 +00:00
{
2024-09-30 07:06:16 +00:00
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
2024-02-02 11:49:09 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-05-05 06:46:20 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>