2022-09-09 20:41:18 +00:00
< template >
2023-05-05 14:14:26 +00:00
< 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" / >
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' ;
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 StyleDoc from '@/doc/knob/StyleDoc.vue' ;
import TemplateDoc from '@/doc/knob/TemplateDoc.vue' ;
2023-05-05 14:14:26 +00:00
import VeeValidateDoc from '@/doc/knob/form/VeeValidateDoc.vue' ;
import PTComponent from '@/doc/knob/pt/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 : '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
} ,
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 : 'style' ,
label : 'Style' ,
component : StyleDoc
} ,
{
id : 'accessibility' ,
label : 'Accessibility' ,
component : AccessibilityDoc
}
2023-05-05 14:14:26 +00:00
] ,
ptComponent : PTComponent
2022-09-09 20:41:18 +00:00
} ;
}
} ;
< / script >