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';
|
2024-02-02 11:49:09 +00:00
|
|
|
import FilledDoc from '@/doc/radiobutton/FilledDoc.vue';
|
2024-10-23 08:17:54 +00:00
|
|
|
import FormDoc from '@/doc/radiobutton/FormDoc.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
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 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
|
|
|
|
},
|
2024-10-23 08:17:54 +00:00
|
|
|
{
|
|
|
|
id: 'form',
|
|
|
|
label: 'Form',
|
|
|
|
component: FormDoc
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'dynamic',
|
|
|
|
label: 'Dynamic',
|
|
|
|
component: DynamicDoc
|
|
|
|
},
|
2024-02-02 11:49:09 +00:00
|
|
|
{
|
|
|
|
id: 'filled',
|
|
|
|
label: 'Filled',
|
|
|
|
component: FilledDoc
|
|
|
|
},
|
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
|
|
|
|
}
|
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>
|