56 lines
1.8 KiB
Vue
Executable File
56 lines
1.8 KiB
Vue
Executable File
<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" />
|
|
</template>
|
|
|
|
<script>
|
|
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 PTComponent from '@/doc/colorpicker/pt/index.vue';
|
|
import ThemingDoc from '@/doc/colorpicker/theming/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
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
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
],
|
|
ptComponent: PTComponent,
|
|
themingDoc: ThemingDoc
|
|
};
|
|
}
|
|
};
|
|
</script>
|