2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-07 11:19:35 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue TriStateCheckbox Component"
|
|
|
|
header="TriStateCheckbox"
|
|
|
|
description="TriStateCheckbox is used to select either true, false or null as the value."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['TriStateCheckbox']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-07-26 17:30:11 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-07 11:19:35 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/tristatecheckbox/AccessibilityDoc';
|
|
|
|
import BasicDoc from '@/doc/tristatecheckbox/BasicDoc';
|
|
|
|
import DisabledDoc from '@/doc/tristatecheckbox/DisabledDoc';
|
|
|
|
import ImportDoc from '@/doc/tristatecheckbox/ImportDoc';
|
|
|
|
import InvalidDoc from '@/doc/tristatecheckbox/InvalidDoc';
|
2023-07-26 17:30:11 +00:00
|
|
|
import VeeValidateDoc from '@/doc/tristatecheckbox/form/VeeValidateDoc.vue';
|
2023-05-07 11:19:35 +00:00
|
|
|
import PTComponent from '@/doc/tristatecheckbox/pt/index.vue';
|
2023-07-26 17:30:11 +00:00
|
|
|
import ThemingDoc from '@/doc/tristatecheckbox/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: 'invalid',
|
|
|
|
label: 'Invalid',
|
|
|
|
component: InvalidDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'disabled',
|
|
|
|
label: 'Disabled',
|
|
|
|
component: DisabledDoc
|
|
|
|
},
|
2023-03-17 13:31:16 +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:31:16 +00:00
|
|
|
component: VeeValidateDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-05-07 11:19:35 +00:00
|
|
|
],
|
2023-07-26 17:30:11 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|