primevue-mirror/pages/inputswitch/index.vue

69 lines
2.4 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue InputSwitch Component" header="InputSwitch" description="InputSwitch is used to select a boolean value." :componentDocs="docs" :apiDocs="['InputSwitch']" :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/inputswitch/AccessibilityDoc.vue';
import BasicDoc from '@/doc/inputswitch/BasicDoc.vue';
import DisabledDoc from '@/doc/inputswitch/DisabledDoc.vue';
import ImportDoc from '@/doc/inputswitch/ImportDoc.vue';
import InvalidDoc from '@/doc/inputswitch/InvalidDoc.vue';
import PreselectionDoc from '@/doc/inputswitch/PreselectionDoc.vue';
2023-05-05 13:12:27 +00:00
import VeeValidateDoc from '@/doc/inputswitch/form/VeeValidateDoc.vue';
import PTComponent from '@/doc/inputswitch/pt/index.vue';
import ThemingDoc from '@/doc/inputswitch/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: 'preselection',
label: 'Preselection',
component: PreselectionDoc
},
{
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 13:12:27 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>