primevue-mirror/pages/tristatecheckbox/index.vue

64 lines
2.0 KiB
Vue
Raw Normal View History

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"
:themingDocs="themingDoc"
2023-05-07 11:19:35 +00:00
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/tristatecheckbox/AccessibilityDoc.vue';
import BasicDoc from '@/doc/tristatecheckbox/BasicDoc.vue';
import DisabledDoc from '@/doc/tristatecheckbox/DisabledDoc.vue';
2024-02-02 11:49:09 +00:00
import FilledDoc from '@/doc/tristatecheckbox/FilledDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/tristatecheckbox/ImportDoc.vue';
import InvalidDoc from '@/doc/tristatecheckbox/InvalidDoc.vue';
2023-05-07 11:19:35 +00:00
import PTComponent from '@/doc/tristatecheckbox/pt/index.vue';
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
},
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-07 11:19:35 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>