@maltjoy/core-vue 1.0.0-alpha.4 → 1.0.0-alpha.6
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 +30 -24
- package/dist/components/JoyCounter/JoyCounter.vue.d.ts +182 -0
- package/dist/components/JoyInput/JoyInput.types.d.ts +3 -0
- package/dist/components/JoyInput/JoyInput.vue.d.ts +44 -40
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +2 -0
- package/dist/components/JoyRadio/JoyRadio.vue.d.ts +14 -14
- package/dist/components/JoyRadioGroup/JoyRadioGroup.vue.d.ts +0 -15
- package/dist/components/JoySelect/JoySelect.vue.d.ts +24 -27
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +2 -0
- package/dist/components/JoyTextarea/JoyTextarea.vue.d.ts +112 -0
- package/dist/components/JoyToggle/JoyToggle.vue.d.ts +13 -11
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +8 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/composables/props.d.ts +16 -0
- package/dist/joy-vue.js +762 -363
- 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/CheckboxFormProps.vue.d.ts +2 -2
- package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +11 -0
- package/joy-components.d.ts +2 -0
- package/package.json +70 -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;
|
|
@@ -1,66 +1,72 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
/** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
|
|
3
|
+
indeterminate: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
+
label: {
|
|
7
8
|
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
10
11
|
type: BooleanConstructor;
|
|
11
12
|
default: boolean;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
value: {
|
|
14
15
|
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
15
17
|
};
|
|
16
|
-
|
|
18
|
+
disabled: {
|
|
17
19
|
type: BooleanConstructor;
|
|
18
20
|
default: boolean;
|
|
19
21
|
};
|
|
20
|
-
|
|
22
|
+
id: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
invalid: {
|
|
21
26
|
type: BooleanConstructor;
|
|
22
27
|
default: boolean;
|
|
23
28
|
};
|
|
24
|
-
|
|
29
|
+
name: {
|
|
25
30
|
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
31
|
};
|
|
28
|
-
|
|
29
|
-
indeterminate: {
|
|
32
|
+
required: {
|
|
30
33
|
type: BooleanConstructor;
|
|
31
34
|
default: boolean;
|
|
32
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<{
|
|
36
|
-
|
|
39
|
+
/** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
|
|
40
|
+
indeterminate: {
|
|
37
41
|
type: BooleanConstructor;
|
|
38
42
|
default: boolean;
|
|
39
43
|
};
|
|
40
|
-
|
|
44
|
+
label: {
|
|
41
45
|
type: StringConstructor;
|
|
42
|
-
};
|
|
43
|
-
|
|
46
|
+
};
|
|
47
|
+
modelValue: {
|
|
44
48
|
type: BooleanConstructor;
|
|
45
49
|
default: boolean;
|
|
46
50
|
};
|
|
47
|
-
|
|
51
|
+
value: {
|
|
48
52
|
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
49
54
|
};
|
|
50
|
-
|
|
55
|
+
disabled: {
|
|
51
56
|
type: BooleanConstructor;
|
|
52
57
|
default: boolean;
|
|
53
58
|
};
|
|
54
|
-
|
|
59
|
+
id: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
};
|
|
62
|
+
invalid: {
|
|
55
63
|
type: BooleanConstructor;
|
|
56
64
|
default: boolean;
|
|
57
65
|
};
|
|
58
|
-
|
|
66
|
+
name: {
|
|
59
67
|
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
68
|
};
|
|
62
|
-
|
|
63
|
-
indeterminate: {
|
|
69
|
+
required: {
|
|
64
70
|
type: BooleanConstructor;
|
|
65
71
|
default: boolean;
|
|
66
72
|
};
|
|
@@ -69,10 +75,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
75
|
}, {
|
|
70
76
|
disabled: boolean;
|
|
71
77
|
indeterminate: boolean;
|
|
72
|
-
invalid: boolean;
|
|
73
|
-
required: boolean;
|
|
74
78
|
modelValue: boolean;
|
|
75
79
|
value: string;
|
|
80
|
+
invalid: boolean;
|
|
81
|
+
required: boolean;
|
|
76
82
|
}>, {
|
|
77
83
|
default: (_: {}) => any;
|
|
78
84
|
'checkbox-content': (_: {}) => any;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
disabled: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
invalid: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
required: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
label: StringConstructor;
|
|
22
|
+
labelSize: {
|
|
23
|
+
type: PropType<"small" | "large" | "medium">;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
optionalLabel: StringConstructor;
|
|
27
|
+
requiredMark: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
labelDecrement: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
labelIncrement: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
max: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
};
|
|
40
|
+
min: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
step: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
componentErrorMessage: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
props: Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
id: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
};
|
|
64
|
+
invalid: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
name: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
required: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
label: StringConstructor;
|
|
76
|
+
labelSize: {
|
|
77
|
+
type: PropType<"small" | "large" | "medium">;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
optionalLabel: StringConstructor;
|
|
81
|
+
requiredMark: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
labelDecrement: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
labelIncrement: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
max: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
};
|
|
94
|
+
min: {
|
|
95
|
+
type: NumberConstructor;
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
modelValue: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
step: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
componentErrorMessage: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
}>>;
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
disabled: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
id: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
};
|
|
118
|
+
invalid: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
name: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
};
|
|
125
|
+
required: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
label: StringConstructor;
|
|
130
|
+
labelSize: {
|
|
131
|
+
type: PropType<"small" | "large" | "medium">;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
optionalLabel: StringConstructor;
|
|
135
|
+
requiredMark: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
labelDecrement: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
};
|
|
142
|
+
labelIncrement: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
};
|
|
145
|
+
max: {
|
|
146
|
+
type: NumberConstructor;
|
|
147
|
+
};
|
|
148
|
+
min: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
modelValue: {
|
|
153
|
+
type: NumberConstructor;
|
|
154
|
+
default: number;
|
|
155
|
+
};
|
|
156
|
+
step: {
|
|
157
|
+
type: NumberConstructor;
|
|
158
|
+
default: number;
|
|
159
|
+
};
|
|
160
|
+
componentErrorMessage: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
}>> & {
|
|
164
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
disabled: boolean;
|
|
167
|
+
modelValue: number;
|
|
168
|
+
invalid: boolean;
|
|
169
|
+
required: boolean;
|
|
170
|
+
labelSize: "small" | "large" | "medium";
|
|
171
|
+
requiredMark: boolean;
|
|
172
|
+
min: number;
|
|
173
|
+
step: number;
|
|
174
|
+
}>, {
|
|
175
|
+
default: (_: {}) => any;
|
|
176
|
+
}>;
|
|
177
|
+
export default _default;
|
|
178
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
179
|
+
new (): {
|
|
180
|
+
$slots: S;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
@@ -1,29 +1,6 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { InputSizes } from './JoyInput.types';
|
|
1
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
clearable: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
icon: StringConstructor;
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
optionalLabel: StringConstructor;
|
|
12
|
-
requiredMark: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
unit: StringConstructor;
|
|
22
|
-
label: StringConstructor;
|
|
23
|
-
labelSize: {
|
|
24
|
-
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
4
|
disabled: {
|
|
28
5
|
type: BooleanConstructor;
|
|
29
6
|
default: boolean;
|
|
@@ -42,32 +19,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
19
|
type: BooleanConstructor;
|
|
43
20
|
default: boolean;
|
|
44
21
|
};
|
|
45
|
-
|
|
46
|
-
|
|
22
|
+
label: StringConstructor;
|
|
23
|
+
labelSize: {
|
|
24
|
+
type: PropType<"small" | "large" | "medium">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
optionalLabel: StringConstructor;
|
|
28
|
+
requiredMark: {
|
|
47
29
|
type: BooleanConstructor;
|
|
48
30
|
default: boolean;
|
|
49
31
|
};
|
|
50
|
-
icon: StringConstructor;
|
|
51
32
|
modelValue: {
|
|
52
33
|
type: StringConstructor;
|
|
53
34
|
default: string;
|
|
54
35
|
};
|
|
55
|
-
|
|
56
|
-
requiredMark: {
|
|
36
|
+
clearable: {
|
|
57
37
|
type: BooleanConstructor;
|
|
58
38
|
default: boolean;
|
|
59
39
|
};
|
|
40
|
+
icon: StringConstructor;
|
|
60
41
|
size: {
|
|
61
|
-
type:
|
|
42
|
+
type: PropType<InputSizes>;
|
|
62
43
|
default: string;
|
|
44
|
+
validator(size: InputSizes): boolean;
|
|
63
45
|
};
|
|
64
46
|
type: StringConstructor;
|
|
65
47
|
unit: StringConstructor;
|
|
66
|
-
|
|
67
|
-
labelSize: {
|
|
68
|
-
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
48
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
49
|
disabled: {
|
|
72
50
|
type: BooleanConstructor;
|
|
73
51
|
default: boolean;
|
|
@@ -86,17 +64,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
64
|
type: BooleanConstructor;
|
|
87
65
|
default: boolean;
|
|
88
66
|
};
|
|
67
|
+
label: StringConstructor;
|
|
68
|
+
labelSize: {
|
|
69
|
+
type: PropType<"small" | "large" | "medium">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
optionalLabel: StringConstructor;
|
|
73
|
+
requiredMark: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
clearable: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
icon: StringConstructor;
|
|
86
|
+
size: {
|
|
87
|
+
type: PropType<InputSizes>;
|
|
88
|
+
default: string;
|
|
89
|
+
validator(size: InputSizes): boolean;
|
|
90
|
+
};
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
unit: StringConstructor;
|
|
89
93
|
}>> & {
|
|
90
94
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
95
|
}, {
|
|
92
|
-
size:
|
|
96
|
+
size: InputSizes;
|
|
93
97
|
disabled: boolean;
|
|
98
|
+
modelValue: string;
|
|
94
99
|
invalid: boolean;
|
|
95
100
|
required: boolean;
|
|
96
|
-
modelValue: string;
|
|
97
|
-
clearable: boolean;
|
|
98
|
-
requiredMark: boolean;
|
|
99
101
|
labelSize: "small" | "large" | "medium";
|
|
102
|
+
requiredMark: boolean;
|
|
103
|
+
clearable: boolean;
|
|
100
104
|
}>, {
|
|
101
105
|
default: (_: {}) => any;
|
|
102
106
|
}>;
|
|
@@ -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,6 +50,16 @@ 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
|
}, {
|
|
@@ -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;
|
|
@@ -1,20 +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
|
-
optionalLabel: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
requiredMark: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
label: StringConstructor;
|
|
14
|
-
labelSize: {
|
|
15
|
-
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
3
|
disabled: {
|
|
19
4
|
type: BooleanConstructor;
|
|
20
5
|
default: boolean;
|
|
@@ -33,23 +18,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
18
|
type: BooleanConstructor;
|
|
34
19
|
default: boolean;
|
|
35
20
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
type:
|
|
21
|
+
label: StringConstructor;
|
|
22
|
+
labelSize: {
|
|
23
|
+
type: PropType<"small" | "large" | "medium">;
|
|
39
24
|
default: string;
|
|
40
25
|
};
|
|
41
|
-
optionalLabel:
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
};
|
|
26
|
+
optionalLabel: StringConstructor;
|
|
44
27
|
requiredMark: {
|
|
45
28
|
type: BooleanConstructor;
|
|
46
29
|
default: boolean;
|
|
47
30
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
type: import("vue").PropType<"small" | "large" | "medium">;
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: StringConstructor;
|
|
51
33
|
default: string;
|
|
52
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<{
|
|
53
36
|
disabled: {
|
|
54
37
|
type: BooleanConstructor;
|
|
55
38
|
default: boolean;
|
|
@@ -68,15 +51,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
51
|
type: BooleanConstructor;
|
|
69
52
|
default: boolean;
|
|
70
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
|
+
};
|
|
71
68
|
}>> & {
|
|
72
69
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
73
70
|
}, {
|
|
74
71
|
disabled: boolean;
|
|
72
|
+
modelValue: string;
|
|
75
73
|
invalid: boolean;
|
|
76
74
|
required: boolean;
|
|
77
|
-
modelValue: string;
|
|
78
|
-
requiredMark: boolean;
|
|
79
75
|
labelSize: "small" | "large" | "medium";
|
|
76
|
+
requiredMark: boolean;
|
|
80
77
|
}>, {
|
|
81
78
|
label: (_: {}) => any;
|
|
82
79
|
default: (_: {}) => any;
|