2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-26 15:39:58 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue SelectButton Component"
|
|
|
|
header="SelectButton"
|
|
|
|
description="Slider is a component to provide input with a drag handle."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['SelectButton']"
|
|
|
|
: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/selectbutton/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/selectbutton/BasicDoc.vue';
|
|
|
|
import DisabledDoc from '@/doc/selectbutton/DisabledDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/selectbutton/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/selectbutton/InvalidDoc.vue';
|
|
|
|
import MultipleDoc from '@/doc/selectbutton/MultipleDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/selectbutton/TemplateDoc.vue';
|
|
|
|
import VeeValidateDoc from '@/doc/selectbutton/form/VeeValidateDoc.vue';
|
2023-05-06 19:56:50 +00:00
|
|
|
import PTComponent from '@/doc/selectbutton/pt/index.vue';
|
2023-07-26 15:39:58 +00:00
|
|
|
import ThemingDoc from '@/doc/selectbutton/theming/index.vue';
|
2023-05-06 19:56:50 +00:00
|
|
|
|
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: 'multiple',
|
|
|
|
label: 'Multiple',
|
|
|
|
component: MultipleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'invalid',
|
|
|
|
label: 'Invalid',
|
|
|
|
component: InvalidDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'disabled',
|
|
|
|
label: 'Disabled',
|
|
|
|
component: DisabledDoc
|
|
|
|
},
|
2023-03-17 13:05:14 +00:00
|
|
|
{
|
|
|
|
id: 'form',
|
|
|
|
label: 'Form',
|
|
|
|
description: 'Compatibility with popular Vue form libraries.',
|
|
|
|
children: [
|
|
|
|
{
|
2023-03-20 10:38:06 +00:00
|
|
|
id: 'veevalidate',
|
|
|
|
label: 'VeeValidate',
|
2023-03-17 13:05:14 +00:00
|
|
|
component: VeeValidateDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-05-06 19:56:50 +00:00
|
|
|
],
|
2023-07-26 15:39:58 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|