primevue-mirror/pages/chips/index.vue

81 lines
2.7 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Chips Component" header="Chips" description="Chips is used to enter multiple values on an input field." :componentDocs="docs" :apiDocs="['Chips']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/chips/AccessibilityDoc.vue';
import BasicDoc from '@/doc/chips/BasicDoc.vue';
import DisabledDoc from '@/doc/chips/DisabledDoc.vue';
import FloatLabelDoc from '@/doc/chips/FloatLabelDoc.vue';
import ImportDoc from '@/doc/chips/ImportDoc.vue';
import InvalidDoc from '@/doc/chips/InvalidDoc.vue';
import SeparatorDoc from '@/doc/chips/SeparatorDoc.vue';
import TemplateDoc from '@/doc/chips/TemplateDoc.vue';
import VeeValidateDoc from '@/doc/chips/form/VeeValidateDoc.vue';
2023-05-05 09:37:42 +00:00
import PTComponent from '@/doc/chips/pt/index.vue';
import ThemingDoc from '@/doc/chips/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
},
{
id: 'separator',
label: 'Separator',
component: SeparatorDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
2023-03-16 12:57:15 +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: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-05 09:37:42 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>