primevue-mirror/pages/colorpicker/index.vue

69 lines
2.3 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue ColorPicker Component" header="ColorPicker" description="ColorPicker is an input component to select a color." :componentDocs="docs" :apiDocs="['ColorPicker']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/colorpicker/AccessibilityDoc.vue';
import BasicDoc from '@/doc/colorpicker/BasicDoc.vue';
import DisabledDoc from '@/doc/colorpicker/DisabledDoc.vue';
import FormatDoc from '@/doc/colorpicker/FormatDoc.vue';
import ImportDoc from '@/doc/colorpicker/ImportDoc.vue';
import InlineDoc from '@/doc/colorpicker/InlineDoc.vue';
import VeeValidateDoc from '@/doc/colorpicker/form/VeeValidateDoc.vue';
2023-05-05 09:54:18 +00:00
import PTComponent from '@/doc/colorpicker/pt/index.vue';
import ThemingDoc from '@/doc/colorpicker/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: 'inline',
label: 'Inline',
component: InlineDoc
},
{
id: 'format',
label: 'Format',
component: FormatDoc
},
{
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:54:18 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>