81 lines
2.7 KiB
Vue
Executable File
81 lines
2.7 KiB
Vue
Executable File
<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" />
|
|
</template>
|
|
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/chips/AccessibilityDoc';
|
|
import BasicDoc from '@/doc/chips/BasicDoc';
|
|
import DisabledDoc from '@/doc/chips/DisabledDoc';
|
|
import FloatLabelDoc from '@/doc/chips/FloatLabelDoc';
|
|
import ImportDoc from '@/doc/chips/ImportDoc';
|
|
import InvalidDoc from '@/doc/chips/InvalidDoc';
|
|
import SeparatorDoc from '@/doc/chips/SeparatorDoc';
|
|
import TemplateDoc from '@/doc/chips/TemplateDoc';
|
|
import VeeValidateDoc from '@/doc/chips/form/VeeValidateDoc';
|
|
import PTComponent from '@/doc/chips/pt/index.vue';
|
|
import ThemingDoc from '@/doc/chips/theming/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
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
|
|
},
|
|
{
|
|
id: 'form',
|
|
label: 'Form',
|
|
description: 'Compatibility with popular Vue form libraries.',
|
|
children: [
|
|
{
|
|
id: 'veevalidate',
|
|
label: 'VeeValidate',
|
|
component: VeeValidateDoc
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
],
|
|
ptComponent: PTComponent,
|
|
themingDoc: ThemingDoc
|
|
};
|
|
}
|
|
};
|
|
</script>
|