@maltjoy/core-vue 1.0.0-alpha.5 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/JoyButton/JoyButton.vue.d.ts +3 -3
- package/dist/components/JoyCheckbox/JoyCheckbox.vue.d.ts +38 -37
- package/dist/components/JoyCounter/JoyCounter.vue.d.ts +211 -0
- package/dist/components/JoyFormError/JoyFormError.vue.d.ts +4 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +1 -1
- package/dist/components/JoyHighlight/JoyHighlight.vue.d.ts +3 -3
- package/dist/components/JoyInput/JoyInput.vue.d.ts +59 -43
- package/dist/components/JoyMultiCheckbox/JoyMultiCheckbox.vue.d.ts +84 -0
- package/dist/components/JoyRadio/JoyRadio.vue.d.ts +15 -15
- package/dist/components/JoySelect/JoySelect.vue.d.ts +23 -22
- package/dist/components/JoySelectableItem/JoySelectableItem.types.d.ts +2 -0
- package/dist/components/JoySelectableItem/JoySelectableItem.vue.d.ts +80 -0
- package/dist/components/JoySelectableItemGroup/JoySelectableItemGroup.vue.d.ts +93 -0
- package/dist/components/JoyTextarea/JoyTextarea.vue.d.ts +43 -42
- package/dist/components/JoyToggle/JoyToggle.vue.d.ts +13 -13
- package/dist/components/JoyWrapper/JoyWrapper.vue.d.ts +9 -9
- package/dist/components/index.d.ts +5 -1
- package/dist/composables/props.d.ts +5 -0
- package/dist/joy-vue.js +1056 -459
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/stories/fixtures/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +2 -2
- package/dist/tests/composables/test-components/GenericFormProps.vue.d.ts +1 -1
- package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +1 -1
- package/joy-components.d.ts +6 -1
- package/package.json +19 -16
- package/dist/components/JoyButton/tests/JoyButton.spec.d.ts +0 -1
- package/dist/components/JoyCheckbox/tests/JoyCheckbox.spec.d.ts +0 -1
- package/dist/components/JoyFormError/tests/JoyFormError.spec.d.ts +0 -1
- package/dist/components/JoyHighlight/tests/JoyHighlight.spec.d.ts +0 -1
- package/dist/components/JoyLabel/tests/JoyLabel.spec.d.ts +0 -1
- package/dist/components/JoyRadio/tests/JoyRadio.spec.d.ts +0 -1
- package/dist/components/JoySelect/tests/JoySelect.spec.d.ts +0 -1
- package/dist/components/JoyToggle/tests/JoyToggle.spec.d.ts +0 -1
- package/dist/tests/composables/prop.spec.d.ts +0 -1
- package/dist/tests/helpers.spec.d.ts +0 -1
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
};
|
|
6
|
-
theme: {
|
|
7
|
-
type: PropType<"default" | "outline">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
value: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
};
|
|
13
3
|
disabled: {
|
|
14
4
|
type: BooleanConstructor;
|
|
15
5
|
default: boolean;
|
|
@@ -28,10 +18,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
18
|
type: BooleanConstructor;
|
|
29
19
|
default: boolean;
|
|
30
20
|
};
|
|
31
|
-
}, {
|
|
32
|
-
checked: import("vue").ComputedRef<boolean>;
|
|
33
|
-
isExpanded: import("vue").Ref<boolean>;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
21
|
modelValue: {
|
|
36
22
|
type: StringConstructor;
|
|
37
23
|
};
|
|
@@ -42,6 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
28
|
value: {
|
|
43
29
|
type: StringConstructor;
|
|
44
30
|
};
|
|
31
|
+
}, {
|
|
32
|
+
checked: import("vue").ComputedRef<boolean>;
|
|
33
|
+
isExpanded: import("vue").Ref<boolean>;
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
35
|
disabled: {
|
|
46
36
|
type: BooleanConstructor;
|
|
47
37
|
default: boolean;
|
|
@@ -60,12 +50,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
50
|
type: BooleanConstructor;
|
|
61
51
|
default: boolean;
|
|
62
52
|
};
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
};
|
|
56
|
+
theme: {
|
|
57
|
+
type: PropType<"default" | "outline">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
value: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
63
|
}>> & {
|
|
64
64
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
disabled: boolean;
|
|
67
|
-
invalid: boolean;
|
|
68
67
|
required: boolean;
|
|
68
|
+
invalid: boolean;
|
|
69
69
|
theme: "default" | "outline";
|
|
70
70
|
}>, {
|
|
71
71
|
default: (_: {}) => any;
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
label: StringConstructor;
|
|
7
|
-
labelSize: {
|
|
8
|
-
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
optionalLabel: StringConstructor;
|
|
12
|
-
requiredMark: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
3
|
disabled: {
|
|
17
4
|
type: BooleanConstructor;
|
|
18
5
|
default: boolean;
|
|
@@ -31,14 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
18
|
type: BooleanConstructor;
|
|
32
19
|
default: boolean;
|
|
33
20
|
};
|
|
34
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
modelValue: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
21
|
label: StringConstructor;
|
|
40
22
|
labelSize: {
|
|
41
|
-
type:
|
|
23
|
+
type: PropType<"small" | "large" | "medium">;
|
|
42
24
|
default: string;
|
|
43
25
|
};
|
|
44
26
|
optionalLabel: StringConstructor;
|
|
@@ -46,6 +28,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
46
28
|
type: BooleanConstructor;
|
|
47
29
|
default: boolean;
|
|
48
30
|
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
36
|
disabled: {
|
|
50
37
|
type: BooleanConstructor;
|
|
51
38
|
default: boolean;
|
|
@@ -64,15 +51,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
51
|
type: BooleanConstructor;
|
|
65
52
|
default: boolean;
|
|
66
53
|
};
|
|
54
|
+
label: StringConstructor;
|
|
55
|
+
labelSize: {
|
|
56
|
+
type: PropType<"small" | "large" | "medium">;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
optionalLabel: StringConstructor;
|
|
60
|
+
requiredMark: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
67
68
|
}>> & {
|
|
68
69
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
70
|
}, {
|
|
70
71
|
disabled: boolean;
|
|
71
|
-
invalid: boolean;
|
|
72
72
|
required: boolean;
|
|
73
|
-
|
|
73
|
+
invalid: boolean;
|
|
74
74
|
labelSize: "small" | "large" | "medium";
|
|
75
75
|
requiredMark: boolean;
|
|
76
|
+
modelValue: string;
|
|
76
77
|
}>, {
|
|
77
78
|
label: (_: {}) => any;
|
|
78
79
|
default: (_: {}) => any;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
/** Mandatory in order to link the label and the actual input */
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
invalid: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
multiple: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
name: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
required: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
checked: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
};
|
|
29
|
+
value: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:checked"[], "update:checked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
/** Mandatory in order to link the label and the actual input */
|
|
38
|
+
id: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
invalid: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
multiple: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
name: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
};
|
|
53
|
+
required: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
checked: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
};
|
|
60
|
+
value: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
checked: boolean;
|
|
68
|
+
required: boolean;
|
|
69
|
+
invalid: boolean;
|
|
70
|
+
multiple: boolean;
|
|
71
|
+
}>, {
|
|
72
|
+
default: (_: {}) => any;
|
|
73
|
+
'selectable-item-sublabel': (_: {}) => any;
|
|
74
|
+
}>;
|
|
75
|
+
export default _default;
|
|
76
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export interface Option {
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
subLabel?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
required: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import("vue").DefineComponent<{
|
|
18
|
+
options: {
|
|
19
|
+
type: PropType<Option[]>;
|
|
20
|
+
required: true;
|
|
21
|
+
validator(value: Array<Option>): boolean;
|
|
22
|
+
};
|
|
23
|
+
id: StringConstructor;
|
|
24
|
+
value: {
|
|
25
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
multiple: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
fullWidth: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
required: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
label: StringConstructor;
|
|
41
|
+
labelSize: {
|
|
42
|
+
type: PropType<"small" | "large" | "medium">;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
optionalLabel: StringConstructor;
|
|
46
|
+
requiredMark: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
options: {
|
|
52
|
+
type: PropType<Option[]>;
|
|
53
|
+
required: true;
|
|
54
|
+
validator(value: Array<Option>): boolean;
|
|
55
|
+
};
|
|
56
|
+
id: StringConstructor;
|
|
57
|
+
value: {
|
|
58
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
59
|
+
default: null;
|
|
60
|
+
};
|
|
61
|
+
multiple: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
fullWidth: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
required: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
label: StringConstructor;
|
|
74
|
+
labelSize: {
|
|
75
|
+
type: PropType<"small" | "large" | "medium">;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
optionalLabel: StringConstructor;
|
|
79
|
+
requiredMark: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
}>> & {
|
|
84
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
value: string | unknown[];
|
|
87
|
+
required: boolean;
|
|
88
|
+
labelSize: "small" | "large" | "medium";
|
|
89
|
+
requiredMark: boolean;
|
|
90
|
+
fullWidth: boolean;
|
|
91
|
+
multiple: boolean;
|
|
92
|
+
}>;
|
|
93
|
+
export default _default;
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
+
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
-
type:
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
invalid: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
name: {
|
|
14
15
|
type: StringConstructor;
|
|
15
|
-
|
|
16
|
+
};
|
|
17
|
+
required: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
16
20
|
};
|
|
17
21
|
label: StringConstructor;
|
|
18
22
|
labelSize: {
|
|
19
|
-
type:
|
|
23
|
+
type: PropType<"small" | "large" | "medium">;
|
|
20
24
|
default: string;
|
|
21
25
|
};
|
|
22
26
|
optionalLabel: StringConstructor;
|
|
@@ -24,47 +28,47 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
28
|
type: BooleanConstructor;
|
|
25
29
|
default: boolean;
|
|
26
30
|
};
|
|
27
|
-
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
id: {
|
|
31
|
+
modelValue: {
|
|
32
32
|
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
33
34
|
};
|
|
34
|
-
|
|
35
|
+
autogrow: {
|
|
35
36
|
type: BooleanConstructor;
|
|
36
37
|
default: boolean;
|
|
37
38
|
};
|
|
38
|
-
|
|
39
|
-
type:
|
|
39
|
+
minlength: {
|
|
40
|
+
type: NumberConstructor;
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
minlengthLabel: StringConstructor;
|
|
43
|
+
maxlength: {
|
|
44
|
+
type: NumberConstructor;
|
|
44
45
|
};
|
|
45
46
|
}, {
|
|
46
47
|
isInvalid: import("vue").Ref<boolean>;
|
|
47
48
|
valueOverMaxlength: import("vue").ComputedRef<boolean>;
|
|
48
49
|
valueUnderMinlength: import("vue").ComputedRef<boolean>;
|
|
49
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
-
|
|
51
|
+
disabled: {
|
|
51
52
|
type: BooleanConstructor;
|
|
52
53
|
default: boolean;
|
|
53
54
|
};
|
|
54
|
-
|
|
55
|
-
type:
|
|
55
|
+
id: {
|
|
56
|
+
type: StringConstructor;
|
|
56
57
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
invalid: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
+
name: {
|
|
62
63
|
type: StringConstructor;
|
|
63
|
-
|
|
64
|
+
};
|
|
65
|
+
required: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
64
68
|
};
|
|
65
69
|
label: StringConstructor;
|
|
66
70
|
labelSize: {
|
|
67
|
-
type:
|
|
71
|
+
type: PropType<"small" | "large" | "medium">;
|
|
68
72
|
default: string;
|
|
69
73
|
};
|
|
70
74
|
optionalLabel: StringConstructor;
|
|
@@ -72,33 +76,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
76
|
type: BooleanConstructor;
|
|
73
77
|
default: boolean;
|
|
74
78
|
};
|
|
75
|
-
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
id: {
|
|
79
|
+
modelValue: {
|
|
80
80
|
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
81
82
|
};
|
|
82
|
-
|
|
83
|
+
autogrow: {
|
|
83
84
|
type: BooleanConstructor;
|
|
84
85
|
default: boolean;
|
|
85
86
|
};
|
|
86
|
-
|
|
87
|
-
type:
|
|
87
|
+
minlength: {
|
|
88
|
+
type: NumberConstructor;
|
|
88
89
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
minlengthLabel: StringConstructor;
|
|
91
|
+
maxlength: {
|
|
92
|
+
type: NumberConstructor;
|
|
92
93
|
};
|
|
93
94
|
}>> & {
|
|
94
95
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
95
96
|
}, {
|
|
96
97
|
disabled: boolean;
|
|
97
|
-
invalid: boolean;
|
|
98
98
|
required: boolean;
|
|
99
|
-
|
|
99
|
+
invalid: boolean;
|
|
100
100
|
labelSize: "small" | "large" | "medium";
|
|
101
101
|
requiredMark: boolean;
|
|
102
|
+
modelValue: string;
|
|
102
103
|
autogrow: boolean;
|
|
103
104
|
}>, {
|
|
104
105
|
default: (_: {}) => any;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
3
10
|
disabled: {
|
|
4
11
|
type: BooleanConstructor;
|
|
5
12
|
default: boolean;
|
|
@@ -18,6 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
25
|
type: BooleanConstructor;
|
|
19
26
|
default: boolean;
|
|
20
27
|
};
|
|
28
|
+
label: StringConstructor;
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
30
|
modelValue: {
|
|
22
31
|
type: BooleanConstructor;
|
|
23
32
|
default: boolean;
|
|
@@ -26,8 +35,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
35
|
type: StringConstructor;
|
|
27
36
|
default: string;
|
|
28
37
|
};
|
|
29
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
label: StringConstructor;
|
|
31
38
|
disabled: {
|
|
32
39
|
type: BooleanConstructor;
|
|
33
40
|
default: boolean;
|
|
@@ -46,22 +53,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
46
53
|
type: BooleanConstructor;
|
|
47
54
|
default: boolean;
|
|
48
55
|
};
|
|
49
|
-
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
value: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
56
|
+
label: StringConstructor;
|
|
57
57
|
}>> & {
|
|
58
58
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
disabled: boolean;
|
|
61
|
-
|
|
61
|
+
value: string;
|
|
62
62
|
required: boolean;
|
|
63
|
+
invalid: boolean;
|
|
63
64
|
modelValue: boolean;
|
|
64
|
-
value: string;
|
|
65
65
|
}>, {
|
|
66
66
|
default: (_: {}) => any;
|
|
67
67
|
}>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
justify: {
|
|
4
|
-
type: PropType<"
|
|
4
|
+
type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
align: {
|
|
8
|
-
type: PropType<"
|
|
8
|
+
type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
direction: {
|
|
12
|
-
type: PropType<"
|
|
12
|
+
type: PropType<"row" | "column">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
wrap: {
|
|
@@ -18,15 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
justify: {
|
|
21
|
-
type: PropType<"
|
|
21
|
+
type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
align: {
|
|
25
|
-
type: PropType<"
|
|
25
|
+
type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
direction: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"row" | "column">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
wrap: {
|
|
@@ -34,10 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
direction: "
|
|
37
|
+
direction: "row" | "column";
|
|
38
38
|
wrap: "nowrap" | "wrap";
|
|
39
|
-
justify: "
|
|
40
|
-
align: "
|
|
39
|
+
justify: "center" | "space-between" | "flex-start" | "flex-end";
|
|
40
|
+
align: "center" | "flex-start" | "flex-end" | "stretch";
|
|
41
41
|
}>, {
|
|
42
42
|
default: (_: {}) => any;
|
|
43
43
|
}>;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import JoyButton from '@/components/JoyButton/JoyButton.vue';
|
|
2
2
|
import JoyCheckbox from '@/components/JoyCheckbox/JoyCheckbox.vue';
|
|
3
|
+
import JoyCounter from '@/components/JoyCounter/JoyCounter.vue';
|
|
3
4
|
import JoyFormError from '@/components/JoyFormError/JoyFormError.vue';
|
|
4
5
|
import JoyHighlight from '@/components/JoyHighlight/JoyHighlight.vue';
|
|
5
6
|
import JoyInput from '@/components/JoyInput/JoyInput.vue';
|
|
6
7
|
import JoyLabel from '@/components/JoyLabel/JoyLabel.vue';
|
|
7
8
|
import JoyLink from '@/components/JoyLink/JoyLink.vue';
|
|
9
|
+
import JoyMultiCheckbox from '@/components/JoyMultiCheckbox/JoyMultiCheckbox.vue';
|
|
8
10
|
import JoyRadio from '@/components/JoyRadio/JoyRadio.vue';
|
|
9
11
|
import JoyRadioGroup from '@/components/JoyRadioGroup/JoyRadioGroup.vue';
|
|
10
12
|
import JoySelect from '@/components/JoySelect/JoySelect.vue';
|
|
13
|
+
import JoySelectableItem from '@/components/JoySelectableItem/JoySelectableItem.vue';
|
|
14
|
+
import JoySelectableItemGroup from '@/components/JoySelectableItemGroup/JoySelectableItemGroup.vue';
|
|
11
15
|
import JoySpinner from '@/components/JoySpinner/JoySpinner.vue';
|
|
12
16
|
import JoyWrapper from '@/components/JoyWrapper/JoyWrapper.vue';
|
|
13
17
|
import JoyTemplate from '@/components/JoyTemplate/JoyTemplate.vue';
|
|
14
18
|
import JoyTextarea from '@/components/JoyTextarea/JoyTextarea.vue';
|
|
15
19
|
import JoyToggle from '@/components/JoyToggle/JoyToggle.vue';
|
|
16
|
-
export { JoyButton, JoyCheckbox, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyRadio, JoyRadioGroup, JoySelect, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
|
|
20
|
+
export { JoyButton, JoyCheckbox, JoyCounter, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyMultiCheckbox, JoyRadio, JoyRadioGroup, JoySelect, JoySelectableItem, JoySelectableItemGroup, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* AT THE MOMENT VUE-AUTOGEN PLUGIN FOR STORYBOOK DOES NOT SUPPORT OUT-OF-COMPONENTS PROPS DECLARATION.
|
|
4
|
+
* IT SIMPLY IGNORES IT AND PROPS ARE NOT RENDERED.
|
|
5
|
+
* WE KEEP THIS CODE ONLY IN CASE OF A MAJOR RELEASE INCLUDING THE FEATURE
|
|
6
|
+
*/
|
|
2
7
|
export declare const FORM_BASED_PROPS: {
|
|
3
8
|
disabled: {
|
|
4
9
|
type: BooleanConstructor;
|