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

128 lines
4.3 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-04-18 14:22:30 +00:00
<DocComponent title="Vue Select Component" header="Select" description="Select is used to choose an item from a collection of options." :componentDocs="docs" :apiDocs="['Select']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2024-04-18 14:22:30 +00:00
import AccessibilityDoc from '@/doc/select/AccessibilityDoc.vue';
import BasicDoc from '@/doc/select/BasicDoc.vue';
import CheckmarkDoc from '@/doc/select/CheckmarkDoc.vue';
import ClearIconDoc from '@/doc/select/ClearIconDoc.vue';
import DisabledDoc from '@/doc/select/DisabledDoc.vue';
import EditableDoc from '@/doc/select/EditableDoc.vue';
import FilledDoc from '@/doc/select/FilledDoc.vue';
import FilterDoc from '@/doc/select/FilterDoc.vue';
import FloatLabelDoc from '@/doc/select/FloatLabelDoc.vue';
2024-10-21 14:45:53 +00:00
import FormDoc from '@/doc/select/FormDoc.vue';
2024-04-18 14:22:30 +00:00
import GroupDoc from '@/doc/select/GroupDoc.vue';
2024-09-20 08:57:49 +00:00
import IftaLabelDoc from '@/doc/select/IftaLabelDoc.vue';
2024-04-18 14:22:30 +00:00
import ImportDoc from '@/doc/select/ImportDoc.vue';
import InvalidDoc from '@/doc/select/InvalidDoc.vue';
import LazyVirtualScrollDoc from '@/doc/select/LazyVirtualScrollDoc.vue';
import LoadingStateDoc from '@/doc/select/LoadingStateDoc.vue';
import TemplateDoc from '@/doc/select/TemplateDoc.vue';
import VirtualScrollDoc from '@/doc/select/VirtualScrollDoc.vue';
import PTComponent from '@/doc/select/pt/index.vue';
import ThemingDoc from '@/doc/select/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:45:53 +00:00
{
id: 'form',
label: 'Form',
component: FormDoc
},
2024-01-24 11:29:42 +00:00
{
2024-01-24 12:30:47 +00:00
id: 'checkmark',
label: 'Checkmark',
component: CheckmarkDoc
2024-01-24 11:29:42 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'editable',
label: 'Editable',
component: EditableDoc
},
{
id: 'group',
label: 'Group',
component: GroupDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'filter',
label: 'Filter',
component: FilterDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'clearicon',
label: 'Clear Icon',
component: ClearIconDoc
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: 'Virtual Scroll',
component: VirtualScrollDoc
},
{
id: 'lazyvirtualscroll',
label: 'Lazy Virtual Scroll',
component: LazyVirtualScrollDoc
},
2024-09-28 13:26:28 +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 08:57:49 +00:00
{
id: 'iftalabel',
label: 'Ifta Label',
component: IftaLabelDoc
},
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-07 20:38:12 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>