@jari-ace/element-plus-component 0.5.7 → 0.6.0
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/autoComplete/JaAutoComplete.vue.d.ts +856 -1163
- package/dist/components/autoComplete/JaAutoComplete.vue.d.ts.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.d.ts +3 -4
- package/dist/components/avatar/JaAvatar.vue.d.ts.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.js +2 -10
- package/dist/components/avatar/JaAvatar.vue.js.map +1 -1
- package/dist/components/button/JaButton.vue.d.ts +354 -246
- package/dist/components/button/JaButton.vue.d.ts.map +1 -1
- package/dist/components/checkbox/JaCheckbox.vue.d.ts +212 -176
- package/dist/components/checkbox/JaCheckbox.vue.d.ts.map +1 -1
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts +262 -222
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/departmentPicker/src/DepartmentPicker.vue.js +2 -2
- package/dist/components/departmentPicker/src/DepartmentPicker.vue.js.map +1 -1
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts +400 -268
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts.map +1 -1
- package/dist/components/flowShell/FlowFormShell.vue.d.ts +339 -0
- package/dist/components/flowShell/FlowFormShell.vue.d.ts.map +1 -1
- package/dist/components/flowShell/FlowFormShell.vue.js +137 -50
- package/dist/components/flowShell/FlowFormShell.vue.js.map +1 -1
- package/dist/components/formItem/JaFormItem.vue.d.ts +228 -186
- package/dist/components/formItem/JaFormItem.vue.d.ts.map +1 -1
- package/dist/components/input/JaInput.vue.d.ts +595 -581
- package/dist/components/input/JaInput.vue.d.ts.map +1 -1
- package/dist/components/input/JaInput.vue.js +4 -2
- package/dist/components/input/JaInput.vue.js.map +1 -1
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts +428 -276
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts.map +1 -1
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts +246 -155
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts.map +1 -1
- package/dist/components/rolePicker/baseRolePicker.vue.d.ts +984 -12
- package/dist/components/rolePicker/baseRolePicker.vue.d.ts.map +1 -1
- package/dist/components/scrollbar/Scrollbar.vue.d.ts +332 -194
- package/dist/components/scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/switch/JaSwitch.vue.d.ts +378 -317
- package/dist/components/switch/JaSwitch.vue.d.ts.map +1 -1
- package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js +2 -2
- package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js.map +1 -1
- package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts +416 -324
- package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +8907 -8683
- package/lib/index.umd.cjs +34 -34
- package/package.json +2 -2
- package/packages/components/avatar/JaAvatar.vue +7 -16
- package/packages/components/departmentPicker/src/DepartmentPicker.vue +1 -1
- package/packages/components/flowShell/FlowFormShell.vue +97 -7
- package/packages/components/input/JaInput.vue +2 -1
- package/packages/components/userGroupPicker/src/UserGroupPicker.vue +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaButton.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/button/JaButton.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhD,KAAK,YAAY,GAAG;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,WAAW,CAAC;IACvD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,IAAI,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HD,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -7,41 +7,39 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
|
|
|
7
7
|
$: import("vue").ComponentInternalInstance;
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{
|
|
10
|
-
label: string | number | boolean |
|
|
10
|
+
label: string | number | boolean | object;
|
|
11
11
|
disabled: boolean;
|
|
12
|
-
|
|
13
|
-
value: string | number | boolean | Record<string, any>;
|
|
12
|
+
value: string | number | boolean | object;
|
|
14
13
|
id: string;
|
|
15
14
|
name: string;
|
|
16
15
|
modelValue: string | number | boolean;
|
|
17
16
|
validateEvent: boolean;
|
|
18
|
-
indeterminate: boolean;
|
|
19
|
-
checked: boolean;
|
|
20
17
|
trueValue: string | number;
|
|
21
18
|
falseValue: string | number;
|
|
22
19
|
trueLabel: string | number;
|
|
23
20
|
falseLabel: string | number;
|
|
24
21
|
}> & Omit<{
|
|
25
|
-
readonly disabled: boolean;
|
|
26
|
-
readonly border: boolean;
|
|
27
22
|
readonly validateEvent: boolean;
|
|
28
|
-
readonly indeterminate: boolean;
|
|
29
|
-
readonly checked: boolean;
|
|
30
23
|
readonly modelValue?: string | number | boolean;
|
|
31
|
-
readonly value?: string | number | boolean |
|
|
24
|
+
readonly value?: string | number | boolean | object;
|
|
32
25
|
readonly name?: string;
|
|
33
|
-
readonly size?:
|
|
26
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
34
27
|
readonly id?: string;
|
|
35
|
-
readonly label?: string | number | boolean |
|
|
28
|
+
readonly label?: string | number | boolean | object;
|
|
29
|
+
readonly disabled?: boolean;
|
|
36
30
|
readonly tabindex?: string | number;
|
|
31
|
+
readonly ariaLabel?: string;
|
|
32
|
+
readonly border?: boolean;
|
|
37
33
|
readonly ariaControls?: string;
|
|
34
|
+
readonly indeterminate?: boolean;
|
|
35
|
+
readonly checked?: boolean;
|
|
38
36
|
readonly trueValue?: string | number;
|
|
39
37
|
readonly falseValue?: string | number;
|
|
40
38
|
readonly trueLabel?: string | number;
|
|
41
39
|
readonly falseLabel?: string | number;
|
|
42
40
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
43
41
|
onChange?: (val: CheckboxValueType) => any;
|
|
44
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "
|
|
42
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "validateEvent" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
45
43
|
$attrs: {
|
|
46
44
|
[x: string]: unknown;
|
|
47
45
|
};
|
|
@@ -57,75 +55,85 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
|
|
|
57
55
|
$emit: ((event: "update:modelValue", val: CheckboxValueType) => void) & ((event: "change", val: CheckboxValueType) => void);
|
|
58
56
|
$el: any;
|
|
59
57
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
-
ariaControls: StringConstructor;
|
|
61
58
|
modelValue: {
|
|
62
|
-
type: (
|
|
63
|
-
default: undefined;
|
|
64
|
-
};
|
|
65
|
-
label: {
|
|
66
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
59
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
67
60
|
default: undefined;
|
|
68
61
|
};
|
|
69
62
|
value: {
|
|
70
|
-
type: (
|
|
63
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
71
64
|
default: undefined;
|
|
72
65
|
};
|
|
73
|
-
indeterminate: BooleanConstructor;
|
|
74
|
-
disabled: BooleanConstructor;
|
|
75
|
-
checked: BooleanConstructor;
|
|
76
66
|
name: {
|
|
77
|
-
type:
|
|
67
|
+
type: import("vue").PropType<string>;
|
|
78
68
|
default: undefined;
|
|
79
69
|
};
|
|
80
|
-
|
|
81
|
-
type: (
|
|
70
|
+
size: {
|
|
71
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
72
|
+
};
|
|
73
|
+
id: {
|
|
74
|
+
type: import("vue").PropType<string>;
|
|
82
75
|
default: undefined;
|
|
83
76
|
};
|
|
84
|
-
|
|
85
|
-
type: (
|
|
77
|
+
label: {
|
|
78
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
86
79
|
default: undefined;
|
|
87
80
|
};
|
|
88
|
-
|
|
89
|
-
type: (
|
|
81
|
+
disabled: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
90
83
|
default: undefined;
|
|
91
84
|
};
|
|
92
|
-
|
|
93
|
-
type: (
|
|
85
|
+
tabindex: {
|
|
86
|
+
type: import("vue").PropType<string | number>;
|
|
87
|
+
};
|
|
88
|
+
ariaLabel: {
|
|
89
|
+
type: import("vue").PropType<string>;
|
|
90
|
+
};
|
|
91
|
+
border: {
|
|
92
|
+
type: import("vue").PropType<boolean>;
|
|
93
|
+
};
|
|
94
|
+
validateEvent: {
|
|
95
|
+
type: import("vue").PropType<boolean>;
|
|
96
|
+
default: true;
|
|
97
|
+
};
|
|
98
|
+
ariaControls: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
};
|
|
101
|
+
indeterminate: {
|
|
102
|
+
type: import("vue").PropType<boolean>;
|
|
103
|
+
};
|
|
104
|
+
checked: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
};
|
|
107
|
+
trueValue: {
|
|
108
|
+
type: import("vue").PropType<string | number>;
|
|
94
109
|
default: undefined;
|
|
95
110
|
};
|
|
96
|
-
|
|
97
|
-
type:
|
|
111
|
+
falseValue: {
|
|
112
|
+
type: import("vue").PropType<string | number>;
|
|
98
113
|
default: undefined;
|
|
99
114
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
readonly required: false;
|
|
104
|
-
readonly validator: (val: unknown) => boolean;
|
|
105
|
-
__epPropKey: true;
|
|
115
|
+
trueLabel: {
|
|
116
|
+
type: import("vue").PropType<string | number>;
|
|
117
|
+
default: undefined;
|
|
106
118
|
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
default: boolean;
|
|
119
|
+
falseLabel: {
|
|
120
|
+
type: import("vue").PropType<string | number>;
|
|
121
|
+
default: undefined;
|
|
111
122
|
};
|
|
112
123
|
}>> & {
|
|
113
124
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
114
125
|
onChange?: (val: CheckboxValueType) => any;
|
|
115
|
-
},
|
|
126
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
116
127
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
117
128
|
change: (val: CheckboxValueType) => void;
|
|
118
129
|
}, string, {
|
|
119
|
-
label: string | number | boolean |
|
|
130
|
+
label: string | number | boolean | object;
|
|
120
131
|
disabled: boolean;
|
|
121
|
-
|
|
122
|
-
value: string | number | boolean | Record<string, any>;
|
|
132
|
+
value: string | number | boolean | object;
|
|
123
133
|
id: string;
|
|
124
134
|
name: string;
|
|
125
135
|
modelValue: string | number | boolean;
|
|
126
136
|
validateEvent: boolean;
|
|
127
|
-
indeterminate: boolean;
|
|
128
|
-
checked: boolean;
|
|
129
137
|
trueValue: string | number;
|
|
130
138
|
falseValue: string | number;
|
|
131
139
|
trueLabel: string | number;
|
|
@@ -151,119 +159,127 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
|
|
|
151
159
|
$nextTick: typeof import("vue").nextTick;
|
|
152
160
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
153
161
|
} & Readonly<{
|
|
154
|
-
label: string | number | boolean |
|
|
162
|
+
label: string | number | boolean | object;
|
|
155
163
|
disabled: boolean;
|
|
156
|
-
|
|
157
|
-
value: string | number | boolean | Record<string, any>;
|
|
164
|
+
value: string | number | boolean | object;
|
|
158
165
|
id: string;
|
|
159
166
|
name: string;
|
|
160
167
|
modelValue: string | number | boolean;
|
|
161
168
|
validateEvent: boolean;
|
|
162
|
-
indeterminate: boolean;
|
|
163
|
-
checked: boolean;
|
|
164
169
|
trueValue: string | number;
|
|
165
170
|
falseValue: string | number;
|
|
166
171
|
trueLabel: string | number;
|
|
167
172
|
falseLabel: string | number;
|
|
168
173
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
-
ariaControls: StringConstructor;
|
|
170
174
|
modelValue: {
|
|
171
|
-
type: (
|
|
172
|
-
default: undefined;
|
|
173
|
-
};
|
|
174
|
-
label: {
|
|
175
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
175
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
176
176
|
default: undefined;
|
|
177
177
|
};
|
|
178
178
|
value: {
|
|
179
|
-
type: (
|
|
179
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
180
180
|
default: undefined;
|
|
181
181
|
};
|
|
182
|
-
indeterminate: BooleanConstructor;
|
|
183
|
-
disabled: BooleanConstructor;
|
|
184
|
-
checked: BooleanConstructor;
|
|
185
182
|
name: {
|
|
186
|
-
type:
|
|
183
|
+
type: import("vue").PropType<string>;
|
|
187
184
|
default: undefined;
|
|
188
185
|
};
|
|
189
|
-
|
|
190
|
-
type: (
|
|
186
|
+
size: {
|
|
187
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
188
|
+
};
|
|
189
|
+
id: {
|
|
190
|
+
type: import("vue").PropType<string>;
|
|
191
191
|
default: undefined;
|
|
192
192
|
};
|
|
193
|
-
|
|
194
|
-
type: (
|
|
193
|
+
label: {
|
|
194
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
195
195
|
default: undefined;
|
|
196
196
|
};
|
|
197
|
-
|
|
198
|
-
type: (
|
|
197
|
+
disabled: {
|
|
198
|
+
type: import("vue").PropType<boolean>;
|
|
199
199
|
default: undefined;
|
|
200
200
|
};
|
|
201
|
-
|
|
202
|
-
type: (
|
|
201
|
+
tabindex: {
|
|
202
|
+
type: import("vue").PropType<string | number>;
|
|
203
|
+
};
|
|
204
|
+
ariaLabel: {
|
|
205
|
+
type: import("vue").PropType<string>;
|
|
206
|
+
};
|
|
207
|
+
border: {
|
|
208
|
+
type: import("vue").PropType<boolean>;
|
|
209
|
+
};
|
|
210
|
+
validateEvent: {
|
|
211
|
+
type: import("vue").PropType<boolean>;
|
|
212
|
+
default: true;
|
|
213
|
+
};
|
|
214
|
+
ariaControls: {
|
|
215
|
+
type: import("vue").PropType<string>;
|
|
216
|
+
};
|
|
217
|
+
indeterminate: {
|
|
218
|
+
type: import("vue").PropType<boolean>;
|
|
219
|
+
};
|
|
220
|
+
checked: {
|
|
221
|
+
type: import("vue").PropType<boolean>;
|
|
222
|
+
};
|
|
223
|
+
trueValue: {
|
|
224
|
+
type: import("vue").PropType<string | number>;
|
|
203
225
|
default: undefined;
|
|
204
226
|
};
|
|
205
|
-
|
|
206
|
-
type:
|
|
227
|
+
falseValue: {
|
|
228
|
+
type: import("vue").PropType<string | number>;
|
|
207
229
|
default: undefined;
|
|
208
230
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
readonly required: false;
|
|
213
|
-
readonly validator: (val: unknown) => boolean;
|
|
214
|
-
__epPropKey: true;
|
|
231
|
+
trueLabel: {
|
|
232
|
+
type: import("vue").PropType<string | number>;
|
|
233
|
+
default: undefined;
|
|
215
234
|
};
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
default: boolean;
|
|
235
|
+
falseLabel: {
|
|
236
|
+
type: import("vue").PropType<string | number>;
|
|
237
|
+
default: undefined;
|
|
220
238
|
};
|
|
221
239
|
}>> & {
|
|
222
240
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
223
241
|
onChange?: (val: CheckboxValueType) => any;
|
|
224
|
-
}, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "
|
|
242
|
+
}, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "validateEvent" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
225
243
|
$slots: {
|
|
226
|
-
default
|
|
244
|
+
default?: (props: {}) => any;
|
|
227
245
|
};
|
|
228
246
|
}, {
|
|
229
247
|
$: import("vue").ComponentInternalInstance;
|
|
230
248
|
$data: {};
|
|
231
249
|
$props: Partial<{
|
|
232
|
-
label: string | number | boolean |
|
|
250
|
+
label: string | number | boolean | object;
|
|
233
251
|
disabled: boolean;
|
|
234
|
-
|
|
235
|
-
value: string | number | boolean | Record<string, any>;
|
|
252
|
+
value: string | number | boolean | object;
|
|
236
253
|
id: string;
|
|
237
254
|
name: string;
|
|
238
255
|
modelValue: string | number | boolean;
|
|
239
256
|
validateEvent: boolean;
|
|
240
|
-
indeterminate: boolean;
|
|
241
|
-
checked: boolean;
|
|
242
257
|
trueValue: string | number;
|
|
243
258
|
falseValue: string | number;
|
|
244
259
|
trueLabel: string | number;
|
|
245
260
|
falseLabel: string | number;
|
|
246
261
|
}> & Omit<{
|
|
247
|
-
readonly disabled: boolean;
|
|
248
|
-
readonly border: boolean;
|
|
249
262
|
readonly validateEvent: boolean;
|
|
250
|
-
readonly indeterminate: boolean;
|
|
251
|
-
readonly checked: boolean;
|
|
252
263
|
readonly modelValue?: string | number | boolean;
|
|
253
|
-
readonly value?: string | number | boolean |
|
|
264
|
+
readonly value?: string | number | boolean | object;
|
|
254
265
|
readonly name?: string;
|
|
255
|
-
readonly size?:
|
|
266
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
256
267
|
readonly id?: string;
|
|
257
|
-
readonly label?: string | number | boolean |
|
|
268
|
+
readonly label?: string | number | boolean | object;
|
|
269
|
+
readonly disabled?: boolean;
|
|
258
270
|
readonly tabindex?: string | number;
|
|
271
|
+
readonly ariaLabel?: string;
|
|
272
|
+
readonly border?: boolean;
|
|
259
273
|
readonly ariaControls?: string;
|
|
274
|
+
readonly indeterminate?: boolean;
|
|
275
|
+
readonly checked?: boolean;
|
|
260
276
|
readonly trueValue?: string | number;
|
|
261
277
|
readonly falseValue?: string | number;
|
|
262
278
|
readonly trueLabel?: string | number;
|
|
263
279
|
readonly falseLabel?: string | number;
|
|
264
280
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
265
281
|
onChange?: (val: CheckboxValueType) => any;
|
|
266
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "
|
|
282
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "validateEvent" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
267
283
|
$attrs: {
|
|
268
284
|
[x: string]: unknown;
|
|
269
285
|
};
|
|
@@ -279,75 +295,85 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
|
|
|
279
295
|
$emit: ((event: "update:modelValue", val: CheckboxValueType) => void) & ((event: "change", val: CheckboxValueType) => void);
|
|
280
296
|
$el: any;
|
|
281
297
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
282
|
-
ariaControls: StringConstructor;
|
|
283
298
|
modelValue: {
|
|
284
|
-
type: (
|
|
285
|
-
default: undefined;
|
|
286
|
-
};
|
|
287
|
-
label: {
|
|
288
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
299
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
289
300
|
default: undefined;
|
|
290
301
|
};
|
|
291
302
|
value: {
|
|
292
|
-
type: (
|
|
303
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
293
304
|
default: undefined;
|
|
294
305
|
};
|
|
295
|
-
indeterminate: BooleanConstructor;
|
|
296
|
-
disabled: BooleanConstructor;
|
|
297
|
-
checked: BooleanConstructor;
|
|
298
306
|
name: {
|
|
299
|
-
type:
|
|
307
|
+
type: import("vue").PropType<string>;
|
|
300
308
|
default: undefined;
|
|
301
309
|
};
|
|
302
|
-
|
|
303
|
-
type: (
|
|
310
|
+
size: {
|
|
311
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
312
|
+
};
|
|
313
|
+
id: {
|
|
314
|
+
type: import("vue").PropType<string>;
|
|
304
315
|
default: undefined;
|
|
305
316
|
};
|
|
306
|
-
|
|
307
|
-
type: (
|
|
317
|
+
label: {
|
|
318
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
308
319
|
default: undefined;
|
|
309
320
|
};
|
|
310
|
-
|
|
311
|
-
type: (
|
|
321
|
+
disabled: {
|
|
322
|
+
type: import("vue").PropType<boolean>;
|
|
312
323
|
default: undefined;
|
|
313
324
|
};
|
|
314
|
-
|
|
315
|
-
type: (
|
|
325
|
+
tabindex: {
|
|
326
|
+
type: import("vue").PropType<string | number>;
|
|
327
|
+
};
|
|
328
|
+
ariaLabel: {
|
|
329
|
+
type: import("vue").PropType<string>;
|
|
330
|
+
};
|
|
331
|
+
border: {
|
|
332
|
+
type: import("vue").PropType<boolean>;
|
|
333
|
+
};
|
|
334
|
+
validateEvent: {
|
|
335
|
+
type: import("vue").PropType<boolean>;
|
|
336
|
+
default: true;
|
|
337
|
+
};
|
|
338
|
+
ariaControls: {
|
|
339
|
+
type: import("vue").PropType<string>;
|
|
340
|
+
};
|
|
341
|
+
indeterminate: {
|
|
342
|
+
type: import("vue").PropType<boolean>;
|
|
343
|
+
};
|
|
344
|
+
checked: {
|
|
345
|
+
type: import("vue").PropType<boolean>;
|
|
346
|
+
};
|
|
347
|
+
trueValue: {
|
|
348
|
+
type: import("vue").PropType<string | number>;
|
|
316
349
|
default: undefined;
|
|
317
350
|
};
|
|
318
|
-
|
|
319
|
-
type:
|
|
351
|
+
falseValue: {
|
|
352
|
+
type: import("vue").PropType<string | number>;
|
|
320
353
|
default: undefined;
|
|
321
354
|
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
readonly required: false;
|
|
326
|
-
readonly validator: (val: unknown) => boolean;
|
|
327
|
-
__epPropKey: true;
|
|
355
|
+
trueLabel: {
|
|
356
|
+
type: import("vue").PropType<string | number>;
|
|
357
|
+
default: undefined;
|
|
328
358
|
};
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
default: boolean;
|
|
359
|
+
falseLabel: {
|
|
360
|
+
type: import("vue").PropType<string | number>;
|
|
361
|
+
default: undefined;
|
|
333
362
|
};
|
|
334
363
|
}>> & {
|
|
335
364
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
336
365
|
onChange?: (val: CheckboxValueType) => any;
|
|
337
|
-
},
|
|
366
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
338
367
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
339
368
|
change: (val: CheckboxValueType) => void;
|
|
340
369
|
}, string, {
|
|
341
|
-
label: string | number | boolean |
|
|
370
|
+
label: string | number | boolean | object;
|
|
342
371
|
disabled: boolean;
|
|
343
|
-
|
|
344
|
-
value: string | number | boolean | Record<string, any>;
|
|
372
|
+
value: string | number | boolean | object;
|
|
345
373
|
id: string;
|
|
346
374
|
name: string;
|
|
347
375
|
modelValue: string | number | boolean;
|
|
348
376
|
validateEvent: boolean;
|
|
349
|
-
indeterminate: boolean;
|
|
350
|
-
checked: boolean;
|
|
351
377
|
trueValue: string | number;
|
|
352
378
|
falseValue: string | number;
|
|
353
379
|
trueLabel: string | number;
|
|
@@ -373,79 +399,89 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
|
|
|
373
399
|
$nextTick: typeof import("vue").nextTick;
|
|
374
400
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
375
401
|
} & Readonly<{
|
|
376
|
-
label: string | number | boolean |
|
|
402
|
+
label: string | number | boolean | object;
|
|
377
403
|
disabled: boolean;
|
|
378
|
-
|
|
379
|
-
value: string | number | boolean | Record<string, any>;
|
|
404
|
+
value: string | number | boolean | object;
|
|
380
405
|
id: string;
|
|
381
406
|
name: string;
|
|
382
407
|
modelValue: string | number | boolean;
|
|
383
408
|
validateEvent: boolean;
|
|
384
|
-
indeterminate: boolean;
|
|
385
|
-
checked: boolean;
|
|
386
409
|
trueValue: string | number;
|
|
387
410
|
falseValue: string | number;
|
|
388
411
|
trueLabel: string | number;
|
|
389
412
|
falseLabel: string | number;
|
|
390
413
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
391
|
-
ariaControls: StringConstructor;
|
|
392
414
|
modelValue: {
|
|
393
|
-
type: (
|
|
394
|
-
default: undefined;
|
|
395
|
-
};
|
|
396
|
-
label: {
|
|
397
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
415
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
398
416
|
default: undefined;
|
|
399
417
|
};
|
|
400
418
|
value: {
|
|
401
|
-
type: (
|
|
419
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
402
420
|
default: undefined;
|
|
403
421
|
};
|
|
404
|
-
indeterminate: BooleanConstructor;
|
|
405
|
-
disabled: BooleanConstructor;
|
|
406
|
-
checked: BooleanConstructor;
|
|
407
422
|
name: {
|
|
408
|
-
type:
|
|
423
|
+
type: import("vue").PropType<string>;
|
|
409
424
|
default: undefined;
|
|
410
425
|
};
|
|
411
|
-
|
|
412
|
-
type: (
|
|
426
|
+
size: {
|
|
427
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
428
|
+
};
|
|
429
|
+
id: {
|
|
430
|
+
type: import("vue").PropType<string>;
|
|
413
431
|
default: undefined;
|
|
414
432
|
};
|
|
415
|
-
|
|
416
|
-
type: (
|
|
433
|
+
label: {
|
|
434
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
417
435
|
default: undefined;
|
|
418
436
|
};
|
|
419
|
-
|
|
420
|
-
type: (
|
|
437
|
+
disabled: {
|
|
438
|
+
type: import("vue").PropType<boolean>;
|
|
421
439
|
default: undefined;
|
|
422
440
|
};
|
|
423
|
-
|
|
424
|
-
type: (
|
|
441
|
+
tabindex: {
|
|
442
|
+
type: import("vue").PropType<string | number>;
|
|
443
|
+
};
|
|
444
|
+
ariaLabel: {
|
|
445
|
+
type: import("vue").PropType<string>;
|
|
446
|
+
};
|
|
447
|
+
border: {
|
|
448
|
+
type: import("vue").PropType<boolean>;
|
|
449
|
+
};
|
|
450
|
+
validateEvent: {
|
|
451
|
+
type: import("vue").PropType<boolean>;
|
|
452
|
+
default: true;
|
|
453
|
+
};
|
|
454
|
+
ariaControls: {
|
|
455
|
+
type: import("vue").PropType<string>;
|
|
456
|
+
};
|
|
457
|
+
indeterminate: {
|
|
458
|
+
type: import("vue").PropType<boolean>;
|
|
459
|
+
};
|
|
460
|
+
checked: {
|
|
461
|
+
type: import("vue").PropType<boolean>;
|
|
462
|
+
};
|
|
463
|
+
trueValue: {
|
|
464
|
+
type: import("vue").PropType<string | number>;
|
|
425
465
|
default: undefined;
|
|
426
466
|
};
|
|
427
|
-
|
|
428
|
-
type:
|
|
467
|
+
falseValue: {
|
|
468
|
+
type: import("vue").PropType<string | number>;
|
|
429
469
|
default: undefined;
|
|
430
470
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
readonly required: false;
|
|
435
|
-
readonly validator: (val: unknown) => boolean;
|
|
436
|
-
__epPropKey: true;
|
|
471
|
+
trueLabel: {
|
|
472
|
+
type: import("vue").PropType<string | number>;
|
|
473
|
+
default: undefined;
|
|
437
474
|
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
default: boolean;
|
|
475
|
+
falseLabel: {
|
|
476
|
+
type: import("vue").PropType<string | number>;
|
|
477
|
+
default: undefined;
|
|
442
478
|
};
|
|
443
479
|
}>> & {
|
|
444
480
|
"onUpdate:modelValue"?: (val: CheckboxValueType) => any;
|
|
445
481
|
onChange?: (val: CheckboxValueType) => any;
|
|
446
|
-
}, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "
|
|
482
|
+
}, "modelValue" | "value" | "name" | "id" | "label" | "disabled" | "validateEvent" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
447
483
|
$slots: {
|
|
448
|
-
default
|
|
484
|
+
default?: (props: {}) => any;
|
|
449
485
|
};
|
|
450
486
|
}>;
|
|
451
487
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkbox/JaCheckbox.vue"],"names":[],"mappings":"AAkEA,OAAO,EAAC,KAAK,iBAAiB,EAAa,MAAM,cAAc,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAIjD,MAA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