2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-25 13:47:12 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Checkbox Component"
|
|
|
|
header="Checkbox"
|
|
|
|
description="Checkbox is an extension to standard checkbox element with theming."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Checkbox']"
|
|
|
|
: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/checkbox/AccessibilityDoc';
|
|
|
|
import BasicDoc from '@/doc/checkbox/BasicDoc';
|
|
|
|
import DisabledDoc from '@/doc/checkbox/DisabledDoc';
|
|
|
|
import DynamicDoc from '@/doc/checkbox/DynamicDoc';
|
|
|
|
import GroupDoc from '@/doc/checkbox/GroupDoc';
|
|
|
|
import ImportDoc from '@/doc/checkbox/ImportDoc';
|
|
|
|
import InvalidDoc from '@/doc/checkbox/InvalidDoc';
|
2023-05-05 09:10:17 +00:00
|
|
|
import VeeValidateDoc from '@/doc/checkbox/form/VeeValidateDoc';
|
|
|
|
import PTComponent from '@/doc/checkbox/pt/index.vue';
|
2023-07-25 13:47:12 +00:00
|
|
|
import ThemingDoc from '@/doc/checkbox/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: '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-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:10:17 +00:00
|
|
|
],
|
2023-07-25 13:47:12 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|