2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-26 15:39:58 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue RadioButton Component"
|
|
|
|
header="RadioButton"
|
|
|
|
description="RadioButton is an extension to standard radio button element with theming."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['RadioButton']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/radiobutton/AccessibilityDoc.vue';
|
|
|
|
import DisabledDoc from '@/doc/radiobutton/DisabledDoc.vue';
|
|
|
|
import DynamicDoc from '@/doc/radiobutton/DynamicDoc.vue';
|
|
|
|
import GroupDoc from '@/doc/radiobutton/GroupDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/radiobutton/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/radiobutton/InvalidDoc.vue';
|
2023-05-05 15:21:37 +00:00
|
|
|
import VeeValidateDoc from '@/doc/radiobutton/form/VeeValidateDoc.vue';
|
|
|
|
import PTComponent from '@/doc/radiobutton/pt/index.vue';
|
2023-07-26 15:39:58 +00:00
|
|
|
import ThemingDoc from '@/doc/radiobutton/theming/index.vue';
|
2023-05-05 15:21:37 +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: 'group',
|
|
|
|
label: 'Group',
|
|
|
|
component: GroupDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'dynamic',
|
|
|
|
label: 'Dynamic',
|
|
|
|
component: DynamicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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-05 15:21:37 +00:00
|
|
|
],
|
2023-07-26 15:39:58 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|