@maltjoy/core-vue 1.0.0-alpha.4 → 1.0.0-alpha.5
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.types.d.ts +3 -3
- package/dist/components/JoyButton/JoyButton.vue.d.ts +6 -6
- package/dist/components/JoyCheckbox/JoyCheckbox.vue.d.ts +6 -0
- package/dist/components/JoyInput/JoyInput.types.d.ts +3 -0
- package/dist/components/JoyInput/JoyInput.vue.d.ts +28 -24
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +2 -0
- package/dist/components/JoyRadioGroup/JoyRadioGroup.vue.d.ts +0 -15
- package/dist/components/JoySelect/JoySelect.vue.d.ts +11 -15
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +2 -0
- package/dist/components/JoyTextarea/JoyTextarea.vue.d.ts +111 -0
- package/dist/components/JoyToggle/JoyToggle.vue.d.ts +2 -0
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +8 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/composables/props.d.ts +11 -0
- package/dist/joy-vue.js +454 -343
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/stories/fixtures/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +11 -0
- package/package.json +69 -50
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GENERIC_VARIANTS, SIZES } from '@/types';
|
|
2
2
|
/** BUTTON VARIANTS/COLORS */
|
|
3
|
-
declare const BUTTONS_SPECIFIC_VARIANTS: readonly ["main", "admin", "
|
|
3
|
+
declare const BUTTONS_SPECIFIC_VARIANTS: readonly ["main", "admin", "ghost"];
|
|
4
4
|
export declare const BUTTON_VARIANTS: ((typeof GENERIC_VARIANTS)[number] | (typeof BUTTONS_SPECIFIC_VARIANTS)[number])[];
|
|
5
5
|
export type ButtonVariants = (typeof BUTTON_VARIANTS)[number];
|
|
6
6
|
/** BUTTON SIZES */
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type ButtonSizes = Exclude<(typeof SIZES)[number], 'xlarge'>;
|
|
8
|
+
export declare const BUTTON_SIZES: ButtonSizes[];
|
|
9
9
|
/** BUTTON ICON SIZES */
|
|
10
10
|
type ButtonSpecificIconsSizes = Exclude<(typeof SIZES)[number], 'xlarge' | 'large' | 'medium'>;
|
|
11
11
|
export declare const ICON_SIZES: ButtonSpecificIconsSizes[];
|
|
@@ -18,13 +18,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
/** Button or Link color variant */
|
|
20
20
|
variant: {
|
|
21
|
-
type: PropType<"main" | "secondary" | "
|
|
21
|
+
type: PropType<"main" | "secondary" | "primary" | "admin" | "ghost">;
|
|
22
22
|
default: string;
|
|
23
23
|
validator(variant: ButtonVariants): boolean;
|
|
24
24
|
};
|
|
25
25
|
/** Button or Link size */
|
|
26
26
|
size: {
|
|
27
|
-
type: PropType<
|
|
27
|
+
type: PropType<ButtonSizes>;
|
|
28
28
|
default: string;
|
|
29
29
|
validator(variant: ButtonSizes): boolean;
|
|
30
30
|
};
|
|
@@ -52,13 +52,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
/** Button or Link color variant */
|
|
54
54
|
variant: {
|
|
55
|
-
type: PropType<"main" | "secondary" | "
|
|
55
|
+
type: PropType<"main" | "secondary" | "primary" | "admin" | "ghost">;
|
|
56
56
|
default: string;
|
|
57
57
|
validator(variant: ButtonVariants): boolean;
|
|
58
58
|
};
|
|
59
59
|
/** Button or Link size */
|
|
60
60
|
size: {
|
|
61
|
-
type: PropType<
|
|
61
|
+
type: PropType<ButtonSizes>;
|
|
62
62
|
default: string;
|
|
63
63
|
validator(variant: ButtonSizes): boolean;
|
|
64
64
|
};
|
|
@@ -71,8 +71,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
71
|
}>>, {
|
|
72
72
|
circle: boolean;
|
|
73
73
|
loading: boolean;
|
|
74
|
-
variant: "main" | "secondary" | "
|
|
75
|
-
size:
|
|
74
|
+
variant: "main" | "secondary" | "primary" | "admin" | "ghost";
|
|
75
|
+
size: ButtonSizes;
|
|
76
76
|
iconSize: "small" | "xsmall" | "xxsmall";
|
|
77
77
|
}>, {
|
|
78
78
|
default: (_: {}) => any;
|
|
@@ -30,6 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
|
+
label: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
33
36
|
}, {
|
|
34
37
|
isIndeterminate: import("vue").Ref<boolean>;
|
|
35
38
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -64,6 +67,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
67
|
type: BooleanConstructor;
|
|
65
68
|
default: boolean;
|
|
66
69
|
};
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
};
|
|
67
73
|
}>> & {
|
|
68
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
75
|
}, {
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { InputSizes } from './JoyInput.types';
|
|
1
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
4
|
clearable: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
default: boolean;
|
|
5
7
|
};
|
|
6
8
|
icon: StringConstructor;
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
optionalLabel: StringConstructor;
|
|
12
|
-
requiredMark: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
9
|
size: {
|
|
17
|
-
type:
|
|
10
|
+
type: PropType<InputSizes>;
|
|
18
11
|
default: string;
|
|
12
|
+
validator(size: InputSizes): boolean;
|
|
19
13
|
};
|
|
20
14
|
type: StringConstructor;
|
|
21
15
|
unit: StringConstructor;
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
22
20
|
label: StringConstructor;
|
|
23
21
|
labelSize: {
|
|
24
|
-
type:
|
|
22
|
+
type: PropType<"small" | "large" | "medium">;
|
|
25
23
|
default: string;
|
|
26
24
|
};
|
|
25
|
+
optionalLabel: StringConstructor;
|
|
26
|
+
requiredMark: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
27
30
|
disabled: {
|
|
28
31
|
type: BooleanConstructor;
|
|
29
32
|
default: boolean;
|
|
@@ -48,26 +51,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
51
|
default: boolean;
|
|
49
52
|
};
|
|
50
53
|
icon: StringConstructor;
|
|
51
|
-
modelValue: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
optionalLabel: StringConstructor;
|
|
56
|
-
requiredMark: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
54
|
size: {
|
|
61
|
-
type:
|
|
55
|
+
type: PropType<InputSizes>;
|
|
62
56
|
default: string;
|
|
57
|
+
validator(size: InputSizes): boolean;
|
|
63
58
|
};
|
|
64
59
|
type: StringConstructor;
|
|
65
60
|
unit: StringConstructor;
|
|
61
|
+
modelValue: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
66
65
|
label: StringConstructor;
|
|
67
66
|
labelSize: {
|
|
68
|
-
type:
|
|
67
|
+
type: PropType<"small" | "large" | "medium">;
|
|
69
68
|
default: string;
|
|
70
69
|
};
|
|
70
|
+
optionalLabel: StringConstructor;
|
|
71
|
+
requiredMark: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
71
75
|
disabled: {
|
|
72
76
|
type: BooleanConstructor;
|
|
73
77
|
default: boolean;
|
|
@@ -89,14 +93,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
89
93
|
}>> & {
|
|
90
94
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
95
|
}, {
|
|
92
|
-
size:
|
|
96
|
+
size: InputSizes;
|
|
93
97
|
disabled: boolean;
|
|
94
98
|
invalid: boolean;
|
|
95
99
|
required: boolean;
|
|
96
100
|
modelValue: string;
|
|
97
101
|
clearable: boolean;
|
|
98
|
-
requiredMark: boolean;
|
|
99
102
|
labelSize: "small" | "large" | "medium";
|
|
103
|
+
requiredMark: boolean;
|
|
100
104
|
}>, {
|
|
101
105
|
default: (_: {}) => any;
|
|
102
106
|
}>;
|
|
@@ -7,16 +7,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
7
7
|
form: {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
};
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
};
|
|
13
10
|
name: {
|
|
14
11
|
type: StringConstructor;
|
|
15
12
|
};
|
|
16
|
-
invalid: BooleanConstructor;
|
|
17
|
-
invalidText: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
};
|
|
20
13
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
14
|
direction: {
|
|
22
15
|
type: PropType<"vertical" | "horizontal">;
|
|
@@ -25,18 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
18
|
form: {
|
|
26
19
|
type: StringConstructor;
|
|
27
20
|
};
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
};
|
|
31
21
|
name: {
|
|
32
22
|
type: StringConstructor;
|
|
33
23
|
};
|
|
34
|
-
invalid: BooleanConstructor;
|
|
35
|
-
invalidText: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
};
|
|
38
24
|
}>>, {
|
|
39
|
-
invalid: boolean;
|
|
40
25
|
direction: "vertical" | "horizontal";
|
|
41
26
|
}>, {
|
|
42
27
|
'radio-group-legend': (_: {}) => any;
|
|
@@ -3,18 +3,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
optionalLabel: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
requiredMark: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
6
|
label: StringConstructor;
|
|
14
7
|
labelSize: {
|
|
15
8
|
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
16
9
|
default: string;
|
|
17
10
|
};
|
|
11
|
+
optionalLabel: StringConstructor;
|
|
12
|
+
requiredMark: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
18
16
|
disabled: {
|
|
19
17
|
type: BooleanConstructor;
|
|
20
18
|
default: boolean;
|
|
@@ -38,18 +36,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
36
|
type: StringConstructor;
|
|
39
37
|
default: string;
|
|
40
38
|
};
|
|
41
|
-
optionalLabel: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
};
|
|
44
|
-
requiredMark: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
39
|
label: StringConstructor;
|
|
49
40
|
labelSize: {
|
|
50
41
|
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
51
42
|
default: string;
|
|
52
43
|
};
|
|
44
|
+
optionalLabel: StringConstructor;
|
|
45
|
+
requiredMark: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
53
49
|
disabled: {
|
|
54
50
|
type: BooleanConstructor;
|
|
55
51
|
default: boolean;
|
|
@@ -75,8 +71,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
71
|
invalid: boolean;
|
|
76
72
|
required: boolean;
|
|
77
73
|
modelValue: string;
|
|
78
|
-
requiredMark: boolean;
|
|
79
74
|
labelSize: "small" | "large" | "medium";
|
|
75
|
+
requiredMark: boolean;
|
|
80
76
|
}>, {
|
|
81
77
|
label: (_: {}) => any;
|
|
82
78
|
default: (_: {}) => any;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
autogrow: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
minlength: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
};
|
|
9
|
+
minlengthLabel: StringConstructor;
|
|
10
|
+
maxlength: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
label: StringConstructor;
|
|
18
|
+
labelSize: {
|
|
19
|
+
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
optionalLabel: StringConstructor;
|
|
23
|
+
requiredMark: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
id: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
invalid: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
name: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
required: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
isInvalid: import("vue").Ref<boolean>;
|
|
47
|
+
valueOverMaxlength: import("vue").ComputedRef<boolean>;
|
|
48
|
+
valueUnderMinlength: import("vue").ComputedRef<boolean>;
|
|
49
|
+
}, 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
|
+
autogrow: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
minlength: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
};
|
|
57
|
+
minlengthLabel: StringConstructor;
|
|
58
|
+
maxlength: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
};
|
|
61
|
+
modelValue: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
label: StringConstructor;
|
|
66
|
+
labelSize: {
|
|
67
|
+
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
optionalLabel: StringConstructor;
|
|
71
|
+
requiredMark: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
id: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
};
|
|
82
|
+
invalid: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
name: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
};
|
|
89
|
+
required: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
}>> & {
|
|
94
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
invalid: boolean;
|
|
98
|
+
required: boolean;
|
|
99
|
+
modelValue: string;
|
|
100
|
+
labelSize: "small" | "large" | "medium";
|
|
101
|
+
requiredMark: boolean;
|
|
102
|
+
autogrow: boolean;
|
|
103
|
+
}>, {
|
|
104
|
+
default: (_: {}) => any;
|
|
105
|
+
}>;
|
|
106
|
+
export default _default;
|
|
107
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
108
|
+
new (): {
|
|
109
|
+
$slots: S;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
label: StringConstructor;
|
|
2
3
|
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
@@ -26,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
27
|
default: string;
|
|
27
28
|
};
|
|
28
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;
|
|
29
31
|
disabled: {
|
|
30
32
|
type: BooleanConstructor;
|
|
31
33
|
default: boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const JUSTIFY_WRAPPER: readonly ["center", "space-between", "flex-start", "flex-end"];
|
|
2
|
+
export type JustifyWrapper = (typeof JUSTIFY_WRAPPER)[number];
|
|
3
|
+
export declare const ALIGN_WRAPPER: readonly ["center", "flex-start", "flex-end", "stretch"];
|
|
4
|
+
export type AlignWrapper = (typeof ALIGN_WRAPPER)[number];
|
|
5
|
+
export declare const DIRECTION_WRAPPER: readonly ["row", "column"];
|
|
6
|
+
export type DirectionWrapper = (typeof DIRECTION_WRAPPER)[number];
|
|
7
|
+
export declare const WRAP_WRAPPER: readonly ["nowrap", "wrap"];
|
|
8
|
+
export type WrapWrapper = (typeof WRAP_WRAPPER)[number];
|
|
@@ -11,5 +11,6 @@ import JoySelect from '@/components/JoySelect/JoySelect.vue';
|
|
|
11
11
|
import JoySpinner from '@/components/JoySpinner/JoySpinner.vue';
|
|
12
12
|
import JoyWrapper from '@/components/JoyWrapper/JoyWrapper.vue';
|
|
13
13
|
import JoyTemplate from '@/components/JoyTemplate/JoyTemplate.vue';
|
|
14
|
+
import JoyTextarea from '@/components/JoyTextarea/JoyTextarea.vue';
|
|
14
15
|
import JoyToggle from '@/components/JoyToggle/JoyToggle.vue';
|
|
15
|
-
export { JoyButton, JoyCheckbox, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyRadio, JoyRadioGroup, JoySelect, JoySpinner, JoyTemplate, JoyToggle, JoyWrapper };
|
|
16
|
+
export { JoyButton, JoyCheckbox, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyRadio, JoyRadioGroup, JoySelect, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
|
|
@@ -19,6 +19,12 @@ export declare const FORM_BASED_PROPS: {
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
+
export declare const TEXT_BASED_PROPS: {
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
22
28
|
export declare const CHECKBOX_BASED_PROPS: {
|
|
23
29
|
disabled: {
|
|
24
30
|
type: BooleanConstructor;
|
|
@@ -53,4 +59,9 @@ export declare const LABEL_BASED_PROPS: {
|
|
|
53
59
|
type: PropType<"small" | "large" | "medium">;
|
|
54
60
|
default: string;
|
|
55
61
|
};
|
|
62
|
+
optionalLabel: StringConstructor;
|
|
63
|
+
requiredMark: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
56
67
|
};
|