@jari-ace/element-plus-component 0.5.7 → 0.6.1

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.
Files changed (52) hide show
  1. package/dist/components/autoComplete/JaAutoComplete.vue.d.ts +856 -1163
  2. package/dist/components/autoComplete/JaAutoComplete.vue.d.ts.map +1 -1
  3. package/dist/components/avatar/JaAvatar.vue.d.ts +3 -4
  4. package/dist/components/avatar/JaAvatar.vue.d.ts.map +1 -1
  5. package/dist/components/avatar/JaAvatar.vue.js +2 -10
  6. package/dist/components/avatar/JaAvatar.vue.js.map +1 -1
  7. package/dist/components/button/JaButton.vue.d.ts +354 -246
  8. package/dist/components/button/JaButton.vue.d.ts.map +1 -1
  9. package/dist/components/checkbox/JaCheckbox.vue.d.ts +212 -176
  10. package/dist/components/checkbox/JaCheckbox.vue.d.ts.map +1 -1
  11. package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts +262 -222
  12. package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts.map +1 -1
  13. package/dist/components/departmentPicker/src/DepartmentPicker.vue.js +2 -2
  14. package/dist/components/departmentPicker/src/DepartmentPicker.vue.js.map +1 -1
  15. package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts +400 -268
  16. package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts.map +1 -1
  17. package/dist/components/flowShell/FlowFormShell.vue.d.ts +339 -0
  18. package/dist/components/flowShell/FlowFormShell.vue.d.ts.map +1 -1
  19. package/dist/components/flowShell/FlowFormShell.vue.js +137 -50
  20. package/dist/components/flowShell/FlowFormShell.vue.js.map +1 -1
  21. package/dist/components/formItem/JaFormItem.vue.d.ts +228 -186
  22. package/dist/components/formItem/JaFormItem.vue.d.ts.map +1 -1
  23. package/dist/components/input/JaInput.vue.d.ts +595 -581
  24. package/dist/components/input/JaInput.vue.d.ts.map +1 -1
  25. package/dist/components/input/JaInput.vue.js +4 -2
  26. package/dist/components/input/JaInput.vue.js.map +1 -1
  27. package/dist/components/inputNumber/JaInputNumber.vue.d.ts +428 -276
  28. package/dist/components/inputNumber/JaInputNumber.vue.d.ts.map +1 -1
  29. package/dist/components/radioGroup/JaRadioGroup.vue.d.ts +246 -155
  30. package/dist/components/radioGroup/JaRadioGroup.vue.d.ts.map +1 -1
  31. package/dist/components/rolePicker/baseRolePicker.vue.d.ts +984 -12
  32. package/dist/components/rolePicker/baseRolePicker.vue.d.ts.map +1 -1
  33. package/dist/components/scrollbar/Scrollbar.vue.d.ts +332 -194
  34. package/dist/components/scrollbar/Scrollbar.vue.d.ts.map +1 -1
  35. package/dist/components/switch/JaSwitch.vue.d.ts +555 -435
  36. package/dist/components/switch/JaSwitch.vue.d.ts.map +1 -1
  37. package/dist/components/switch/JaSwitch.vue.js +4 -13
  38. package/dist/components/switch/JaSwitch.vue.js.map +1 -1
  39. package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js +2 -2
  40. package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js.map +1 -1
  41. package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts +416 -324
  42. package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts.map +1 -1
  43. package/lib/index.css +1 -1
  44. package/lib/index.js +8897 -8700
  45. package/lib/index.umd.cjs +35 -35
  46. package/package.json +2 -2
  47. package/packages/components/avatar/JaAvatar.vue +7 -16
  48. package/packages/components/departmentPicker/src/DepartmentPicker.vue +1 -1
  49. package/packages/components/flowShell/FlowFormShell.vue +97 -7
  50. package/packages/components/input/JaInput.vue +2 -1
  51. package/packages/components/switch/JaSwitch.vue +5 -16
  52. package/packages/components/userGroupPicker/src/UserGroupPicker.vue +1 -1
@@ -9,33 +9,33 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
9
9
  $: import("vue").ComponentInternalInstance;
10
10
  $data: {};
11
11
  $props: Partial<{
12
- readonly disabled: boolean;
13
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
14
- readonly props: {
12
+ disabled: boolean;
13
+ type: "button" | "checkbox";
14
+ props: {
15
15
  value?: string;
16
16
  label?: string;
17
17
  disabled?: string;
18
18
  };
19
- readonly modelValue: CheckboxGroupValueType;
20
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
21
- readonly tag: string;
19
+ tag: string;
20
+ modelValue: CheckboxGroupValueType;
21
+ validateEvent: boolean;
22
22
  }> & Omit<{
23
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
23
+ readonly type: "button" | "checkbox";
24
24
  readonly props: {
25
25
  value?: string;
26
26
  label?: string;
27
27
  disabled?: string;
28
28
  };
29
29
  readonly modelValue: CheckboxGroupValueType;
30
- readonly disabled: boolean;
31
30
  readonly tag: string;
32
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
31
+ readonly validateEvent: boolean;
33
32
  readonly fill?: string;
34
- readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
33
+ readonly size?: "" | "default" | "small" | "large";
34
+ readonly disabled?: boolean;
35
35
  readonly ariaLabel?: string;
36
36
  readonly min?: number;
37
37
  readonly max?: number;
38
- readonly options?: any[];
38
+ readonly options?: import("element-plus").CheckboxOption[];
39
39
  readonly textColor?: string;
40
40
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
41
41
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
@@ -55,66 +55,76 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
55
55
  $emit: ((event: "update:modelValue", val: CheckboxGroupValueType) => void) & ((event: "change", val: import("element-plus").CheckboxValueType[]) => void);
56
56
  $el: any;
57
57
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
- readonly ariaLabel: StringConstructor;
59
- readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
60
- readonly disabled: BooleanConstructor;
61
- readonly min: NumberConstructor;
62
- readonly max: NumberConstructor;
63
- readonly size: {
64
- readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
65
- readonly required: false;
66
- readonly validator: (val: unknown) => boolean;
67
- __epPropKey: true;
68
- };
69
- readonly fill: StringConstructor;
70
- readonly textColor: StringConstructor;
71
- readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
72
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
73
- readonly options: {
74
- readonly type: import("vue").PropType<any[]>;
75
- readonly required: false;
76
- readonly validator: (val: unknown) => boolean;
77
- __epPropKey: true;
78
- };
79
- readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
80
- value?: string;
81
- label?: string;
82
- disabled?: string;
83
- }) | (() => {
84
- value?: string;
85
- label?: string;
86
- disabled?: string;
87
- }) | ((new (...args: any[]) => {
88
- value?: string;
89
- label?: string;
90
- disabled?: string;
91
- }) | (() => {
92
- value?: string;
93
- label?: string;
94
- disabled?: string;
95
- }))[], unknown, unknown, () => Required<{
96
- value?: string;
97
- label?: string;
98
- disabled?: string;
99
- }>, boolean>;
100
- readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "checkbox", unknown, "checkbox", boolean>;
58
+ type: {
59
+ type: import("vue").PropType<"button" | "checkbox">;
60
+ default: string;
61
+ };
62
+ props: {
63
+ type: import("vue").PropType<{
64
+ value?: string;
65
+ label?: string;
66
+ disabled?: string;
67
+ }>;
68
+ default: () => Required<{
69
+ value?: string;
70
+ label?: string;
71
+ disabled?: string;
72
+ }>;
73
+ };
74
+ modelValue: {
75
+ type: import("vue").PropType<CheckboxGroupValueType>;
76
+ default: () => never[];
77
+ };
78
+ fill: {
79
+ type: import("vue").PropType<string>;
80
+ };
81
+ size: {
82
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
83
+ };
84
+ disabled: {
85
+ type: import("vue").PropType<boolean>;
86
+ default: undefined;
87
+ };
88
+ tag: {
89
+ type: import("vue").PropType<string>;
90
+ default: string;
91
+ };
92
+ ariaLabel: {
93
+ type: import("vue").PropType<string>;
94
+ };
95
+ min: {
96
+ type: import("vue").PropType<number>;
97
+ };
98
+ max: {
99
+ type: import("vue").PropType<number>;
100
+ };
101
+ options: {
102
+ type: import("vue").PropType<import("element-plus").CheckboxOption[]>;
103
+ };
104
+ validateEvent: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
108
+ textColor: {
109
+ type: import("vue").PropType<string>;
110
+ };
101
111
  }>> & {
102
112
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
103
113
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
104
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
114
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
105
115
  "update:modelValue": (val: CheckboxGroupValueType) => void;
106
116
  change: (val: import("element-plus").CheckboxValueType[]) => void;
107
117
  }, string, {
108
- readonly disabled: boolean;
109
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
110
- readonly props: {
118
+ disabled: boolean;
119
+ type: "button" | "checkbox";
120
+ props: {
111
121
  value?: string;
112
122
  label?: string;
113
123
  disabled?: string;
114
124
  };
115
- readonly modelValue: CheckboxGroupValueType;
116
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
117
- readonly tag: string;
125
+ tag: string;
126
+ modelValue: CheckboxGroupValueType;
127
+ validateEvent: boolean;
118
128
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
119
129
  beforeCreate?: (() => void) | (() => void)[];
120
130
  created?: (() => void) | (() => void)[];
@@ -136,98 +146,108 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
136
146
  $nextTick: typeof import("vue").nextTick;
137
147
  $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;
138
148
  } & Readonly<{
139
- readonly disabled: boolean;
140
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
141
- readonly props: {
149
+ disabled: boolean;
150
+ type: "button" | "checkbox";
151
+ props: {
142
152
  value?: string;
143
153
  label?: string;
144
154
  disabled?: string;
145
155
  };
146
- readonly modelValue: CheckboxGroupValueType;
147
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
148
- readonly tag: string;
156
+ tag: string;
157
+ modelValue: CheckboxGroupValueType;
158
+ validateEvent: boolean;
149
159
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
150
- readonly ariaLabel: StringConstructor;
151
- readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
152
- readonly disabled: BooleanConstructor;
153
- readonly min: NumberConstructor;
154
- readonly max: NumberConstructor;
155
- readonly size: {
156
- readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
157
- readonly required: false;
158
- readonly validator: (val: unknown) => boolean;
159
- __epPropKey: true;
160
- };
161
- readonly fill: StringConstructor;
162
- readonly textColor: StringConstructor;
163
- readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
164
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
165
- readonly options: {
166
- readonly type: import("vue").PropType<any[]>;
167
- readonly required: false;
168
- readonly validator: (val: unknown) => boolean;
169
- __epPropKey: true;
170
- };
171
- readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
172
- value?: string;
173
- label?: string;
174
- disabled?: string;
175
- }) | (() => {
176
- value?: string;
177
- label?: string;
178
- disabled?: string;
179
- }) | ((new (...args: any[]) => {
180
- value?: string;
181
- label?: string;
182
- disabled?: string;
183
- }) | (() => {
184
- value?: string;
185
- label?: string;
186
- disabled?: string;
187
- }))[], unknown, unknown, () => Required<{
188
- value?: string;
189
- label?: string;
190
- disabled?: string;
191
- }>, boolean>;
192
- readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "checkbox", unknown, "checkbox", boolean>;
160
+ type: {
161
+ type: import("vue").PropType<"button" | "checkbox">;
162
+ default: string;
163
+ };
164
+ props: {
165
+ type: import("vue").PropType<{
166
+ value?: string;
167
+ label?: string;
168
+ disabled?: string;
169
+ }>;
170
+ default: () => Required<{
171
+ value?: string;
172
+ label?: string;
173
+ disabled?: string;
174
+ }>;
175
+ };
176
+ modelValue: {
177
+ type: import("vue").PropType<CheckboxGroupValueType>;
178
+ default: () => never[];
179
+ };
180
+ fill: {
181
+ type: import("vue").PropType<string>;
182
+ };
183
+ size: {
184
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
185
+ };
186
+ disabled: {
187
+ type: import("vue").PropType<boolean>;
188
+ default: undefined;
189
+ };
190
+ tag: {
191
+ type: import("vue").PropType<string>;
192
+ default: string;
193
+ };
194
+ ariaLabel: {
195
+ type: import("vue").PropType<string>;
196
+ };
197
+ min: {
198
+ type: import("vue").PropType<number>;
199
+ };
200
+ max: {
201
+ type: import("vue").PropType<number>;
202
+ };
203
+ options: {
204
+ type: import("vue").PropType<import("element-plus").CheckboxOption[]>;
205
+ };
206
+ validateEvent: {
207
+ type: import("vue").PropType<boolean>;
208
+ default: boolean;
209
+ };
210
+ textColor: {
211
+ type: import("vue").PropType<string>;
212
+ };
193
213
  }>> & {
194
214
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
195
215
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
196
216
  }, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
197
217
  $slots: {
198
- default?(_: {}): any;
218
+ default?: (props: {}) => any;
199
219
  };
200
220
  }, {
201
221
  $: import("vue").ComponentInternalInstance;
202
222
  $data: {};
203
223
  $props: Partial<{
204
- readonly disabled: boolean;
205
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
206
- readonly props: {
224
+ disabled: boolean;
225
+ type: "button" | "checkbox";
226
+ props: {
207
227
  value?: string;
208
228
  label?: string;
209
229
  disabled?: string;
210
230
  };
211
- readonly modelValue: CheckboxGroupValueType;
212
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
213
- readonly tag: string;
231
+ tag: string;
232
+ modelValue: CheckboxGroupValueType;
233
+ validateEvent: boolean;
214
234
  }> & Omit<{
215
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
235
+ readonly type: "button" | "checkbox";
216
236
  readonly props: {
217
237
  value?: string;
218
238
  label?: string;
219
239
  disabled?: string;
220
240
  };
221
241
  readonly modelValue: CheckboxGroupValueType;
222
- readonly disabled: boolean;
223
242
  readonly tag: string;
224
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
243
+ readonly validateEvent: boolean;
225
244
  readonly fill?: string;
226
- readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
245
+ readonly size?: "" | "default" | "small" | "large";
246
+ readonly disabled?: boolean;
227
247
  readonly ariaLabel?: string;
228
248
  readonly min?: number;
229
249
  readonly max?: number;
230
- readonly options?: any[];
250
+ readonly options?: import("element-plus").CheckboxOption[];
231
251
  readonly textColor?: string;
232
252
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
233
253
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
@@ -247,66 +267,76 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
247
267
  $emit: ((event: "update:modelValue", val: CheckboxGroupValueType) => void) & ((event: "change", val: import("element-plus").CheckboxValueType[]) => void);
248
268
  $el: any;
249
269
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
250
- readonly ariaLabel: StringConstructor;
251
- readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
252
- readonly disabled: BooleanConstructor;
253
- readonly min: NumberConstructor;
254
- readonly max: NumberConstructor;
255
- readonly size: {
256
- readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
257
- readonly required: false;
258
- readonly validator: (val: unknown) => boolean;
259
- __epPropKey: true;
260
- };
261
- readonly fill: StringConstructor;
262
- readonly textColor: StringConstructor;
263
- readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
264
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
265
- readonly options: {
266
- readonly type: import("vue").PropType<any[]>;
267
- readonly required: false;
268
- readonly validator: (val: unknown) => boolean;
269
- __epPropKey: true;
270
- };
271
- readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
272
- value?: string;
273
- label?: string;
274
- disabled?: string;
275
- }) | (() => {
276
- value?: string;
277
- label?: string;
278
- disabled?: string;
279
- }) | ((new (...args: any[]) => {
280
- value?: string;
281
- label?: string;
282
- disabled?: string;
283
- }) | (() => {
284
- value?: string;
285
- label?: string;
286
- disabled?: string;
287
- }))[], unknown, unknown, () => Required<{
288
- value?: string;
289
- label?: string;
290
- disabled?: string;
291
- }>, boolean>;
292
- readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "checkbox", unknown, "checkbox", boolean>;
270
+ type: {
271
+ type: import("vue").PropType<"button" | "checkbox">;
272
+ default: string;
273
+ };
274
+ props: {
275
+ type: import("vue").PropType<{
276
+ value?: string;
277
+ label?: string;
278
+ disabled?: string;
279
+ }>;
280
+ default: () => Required<{
281
+ value?: string;
282
+ label?: string;
283
+ disabled?: string;
284
+ }>;
285
+ };
286
+ modelValue: {
287
+ type: import("vue").PropType<CheckboxGroupValueType>;
288
+ default: () => never[];
289
+ };
290
+ fill: {
291
+ type: import("vue").PropType<string>;
292
+ };
293
+ size: {
294
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
295
+ };
296
+ disabled: {
297
+ type: import("vue").PropType<boolean>;
298
+ default: undefined;
299
+ };
300
+ tag: {
301
+ type: import("vue").PropType<string>;
302
+ default: string;
303
+ };
304
+ ariaLabel: {
305
+ type: import("vue").PropType<string>;
306
+ };
307
+ min: {
308
+ type: import("vue").PropType<number>;
309
+ };
310
+ max: {
311
+ type: import("vue").PropType<number>;
312
+ };
313
+ options: {
314
+ type: import("vue").PropType<import("element-plus").CheckboxOption[]>;
315
+ };
316
+ validateEvent: {
317
+ type: import("vue").PropType<boolean>;
318
+ default: boolean;
319
+ };
320
+ textColor: {
321
+ type: import("vue").PropType<string>;
322
+ };
293
323
  }>> & {
294
324
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
295
325
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
296
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
326
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
297
327
  "update:modelValue": (val: CheckboxGroupValueType) => void;
298
328
  change: (val: import("element-plus").CheckboxValueType[]) => void;
299
329
  }, string, {
300
- readonly disabled: boolean;
301
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
302
- readonly props: {
330
+ disabled: boolean;
331
+ type: "button" | "checkbox";
332
+ props: {
303
333
  value?: string;
304
334
  label?: string;
305
335
  disabled?: string;
306
336
  };
307
- readonly modelValue: CheckboxGroupValueType;
308
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
309
- readonly tag: string;
337
+ tag: string;
338
+ modelValue: CheckboxGroupValueType;
339
+ validateEvent: boolean;
310
340
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
311
341
  beforeCreate?: (() => void) | (() => void)[];
312
342
  created?: (() => void) | (() => void)[];
@@ -328,66 +358,76 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaCheckbox
328
358
  $nextTick: typeof import("vue").nextTick;
329
359
  $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;
330
360
  } & Readonly<{
331
- readonly disabled: boolean;
332
- readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "checkbox", unknown>;
333
- readonly props: {
361
+ disabled: boolean;
362
+ type: "button" | "checkbox";
363
+ props: {
334
364
  value?: string;
335
365
  label?: string;
336
366
  disabled?: string;
337
367
  };
338
- readonly modelValue: CheckboxGroupValueType;
339
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
340
- readonly tag: string;
368
+ tag: string;
369
+ modelValue: CheckboxGroupValueType;
370
+ validateEvent: boolean;
341
371
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
342
- readonly ariaLabel: StringConstructor;
343
- readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
344
- readonly disabled: BooleanConstructor;
345
- readonly min: NumberConstructor;
346
- readonly max: NumberConstructor;
347
- readonly size: {
348
- readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
349
- readonly required: false;
350
- readonly validator: (val: unknown) => boolean;
351
- __epPropKey: true;
352
- };
353
- readonly fill: StringConstructor;
354
- readonly textColor: StringConstructor;
355
- readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
356
- readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
357
- readonly options: {
358
- readonly type: import("vue").PropType<any[]>;
359
- readonly required: false;
360
- readonly validator: (val: unknown) => boolean;
361
- __epPropKey: true;
362
- };
363
- readonly props: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => {
364
- value?: string;
365
- label?: string;
366
- disabled?: string;
367
- }) | (() => {
368
- value?: string;
369
- label?: string;
370
- disabled?: string;
371
- }) | ((new (...args: any[]) => {
372
- value?: string;
373
- label?: string;
374
- disabled?: string;
375
- }) | (() => {
376
- value?: string;
377
- label?: string;
378
- disabled?: string;
379
- }))[], unknown, unknown, () => Required<{
380
- value?: string;
381
- label?: string;
382
- disabled?: string;
383
- }>, boolean>;
384
- readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "checkbox", unknown, "checkbox", boolean>;
372
+ type: {
373
+ type: import("vue").PropType<"button" | "checkbox">;
374
+ default: string;
375
+ };
376
+ props: {
377
+ type: import("vue").PropType<{
378
+ value?: string;
379
+ label?: string;
380
+ disabled?: string;
381
+ }>;
382
+ default: () => Required<{
383
+ value?: string;
384
+ label?: string;
385
+ disabled?: string;
386
+ }>;
387
+ };
388
+ modelValue: {
389
+ type: import("vue").PropType<CheckboxGroupValueType>;
390
+ default: () => never[];
391
+ };
392
+ fill: {
393
+ type: import("vue").PropType<string>;
394
+ };
395
+ size: {
396
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
397
+ };
398
+ disabled: {
399
+ type: import("vue").PropType<boolean>;
400
+ default: undefined;
401
+ };
402
+ tag: {
403
+ type: import("vue").PropType<string>;
404
+ default: string;
405
+ };
406
+ ariaLabel: {
407
+ type: import("vue").PropType<string>;
408
+ };
409
+ min: {
410
+ type: import("vue").PropType<number>;
411
+ };
412
+ max: {
413
+ type: import("vue").PropType<number>;
414
+ };
415
+ options: {
416
+ type: import("vue").PropType<import("element-plus").CheckboxOption[]>;
417
+ };
418
+ validateEvent: {
419
+ type: import("vue").PropType<boolean>;
420
+ default: boolean;
421
+ };
422
+ textColor: {
423
+ type: import("vue").PropType<string>;
424
+ };
385
425
  }>> & {
386
426
  "onUpdate:modelValue"?: (val: CheckboxGroupValueType) => any;
387
427
  onChange?: (val: import("element-plus").CheckboxValueType[]) => any;
388
428
  }, "type" | "props" | "modelValue" | "disabled" | "tag" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
389
429
  $slots: {
390
- default?(_: {}): any;
430
+ default?: (props: {}) => any;
391
431
  };
392
432
  }>;
393
433
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1 +1 @@
1
- {"version":3,"file":"JaCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAC,KAAK,sBAAsB,EAAkB,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAYtD,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;CACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GD,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"JaCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/checkboxGroup/JaCheckboxGroup.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAC,KAAK,sBAAsB,EAAkB,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAYtD,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;CACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GD,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -78,7 +78,7 @@ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
78
78
  size: (props.size),
79
79
  nodeKey: "id",
80
80
  checkStrictly: true,
81
- currentNodeKey: (__VLS_ctx.id),
81
+ currentNodeKey: (Array.isArray(__VLS_ctx.id) ? undefined : __VLS_ctx.id),
82
82
  highlightCurrent: true,
83
83
  modelValue: (__VLS_ctx.id),
84
84
  multiple: (__VLS_ctx.multiple),
@@ -94,7 +94,7 @@ const __VLS_2 = __VLS_1({
94
94
  size: (props.size),
95
95
  nodeKey: "id",
96
96
  checkStrictly: true,
97
- currentNodeKey: (__VLS_ctx.id),
97
+ currentNodeKey: (Array.isArray(__VLS_ctx.id) ? undefined : __VLS_ctx.id),
98
98
  highlightCurrent: true,
99
99
  modelValue: (__VLS_ctx.id),
100
100
  multiple: (__VLS_ctx.multiple),