primevue-mirror/apps/showcase/pages/knob/index.vue

98 lines
3.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Knob Component" header="Knob" description="Knob is a form component to define number inputs with a dial." :componentDocs="docs" :apiDocs="['Knob']" :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/knob/AccessibilityDoc.vue';
import BasicDoc from '@/doc/knob/BasicDoc.vue';
import ColorDoc from '@/doc/knob/ColorDoc.vue';
import DisabledDoc from '@/doc/knob/DisabledDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/knob/FormsDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/knob/ImportDoc.vue';
import MinMaxDoc from '@/doc/knob/MinMaxDoc.vue';
import ReactiveDoc from '@/doc/knob/ReactiveDoc.vue';
import ReadOnlyDoc from '@/doc/knob/ReadOnlyDoc.vue';
import SizeDoc from '@/doc/knob/SizeDoc.vue';
import StepDoc from '@/doc/knob/StepDoc.vue';
import StrokeDoc from '@/doc/knob/StrokeDoc.vue';
import TemplateDoc from '@/doc/knob/TemplateDoc.vue';
2023-05-05 14:14:26 +00:00
import PTComponent from '@/doc/knob/pt/index.vue';
import ThemingDoc from '@/doc/knob/theming/index.vue';
2023-05-05 14:14:26 +00:00
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-10-22 09:58:30 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-22 09:58:30 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'minmax',
label: 'Min/Max',
component: MinMaxDoc
},
{
id: 'step',
label: 'Step',
component: StepDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'stroke',
label: 'Stroke',
component: StrokeDoc
},
{
id: 'size',
label: 'Size',
component: SizeDoc
},
{
id: 'color',
label: 'Color',
component: ColorDoc
},
{
id: 'reactive',
label: 'Reactive',
component: ReactiveDoc
},
{
id: 'readonly',
label: 'ReadOnly',
component: ReadOnlyDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-05 14:14:26 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>