primevue-mirror/pages/autocomplete/index.vue

122 lines
4.0 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"
/>
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';
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';
2023-05-05 06:46:20 +00:00
import VeeValidateDoc from '@/doc/autocomplete/form/VeeValidateDoc.vue';
import PTComponent from '@/doc/autocomplete/pt/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
},
{
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-05-05 06:46:20 +00:00
],
ptComponent: PTComponent
2022-09-09 20:41:18 +00:00
};
}
};
</script>