@jari-ace/element-plus-component 0.5.6 → 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/upload/JaUploader.vue.d.ts +51 -3
- package/dist/components/upload/JaUploader.vue.d.ts.map +1 -1
- package/dist/components/upload/JaUploader.vue.js +12 -0
- package/dist/components/upload/JaUploader.vue.js.map +1 -1
- package/dist/components/upload/index.d.ts +31 -0
- package/dist/components/upload/index.d.ts.map +1 -1
- package/dist/components/upload/uploader.vue.d.ts +9 -0
- package/dist/components/upload/uploader.vue.d.ts.map +1 -1
- package/dist/components/upload/uploader.vue.js +20 -14
- package/dist/components/upload/uploader.vue.js.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 +9788 -9548
- 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 +98 -8
- package/packages/components/input/JaInput.vue +2 -1
- package/packages/components/upload/JaUploader.vue +39 -5
- package/packages/components/upload/uploader.vue +51 -38
- package/packages/components/userGroupPicker/src/UserGroupPicker.vue +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { SwitchProps } from 'element-plus';
|
|
2
|
-
import type { EpPropMergeType } from "element-plus/es/utils";
|
|
3
2
|
export interface JaSwitchProps extends Partial<SwitchProps> {
|
|
4
3
|
}
|
|
5
4
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchProps, {
|
|
@@ -9,42 +8,40 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
9
8
|
$: import("vue").ComponentInternalInstance;
|
|
10
9
|
$data: {};
|
|
11
10
|
$props: Partial<{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
22
|
-
readonly inlinePrompt: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
width: string | number;
|
|
13
|
+
name: string;
|
|
14
|
+
modelValue: string | number | boolean;
|
|
15
|
+
validateEvent: boolean;
|
|
16
|
+
activeText: string;
|
|
17
|
+
inactiveText: string;
|
|
18
|
+
activeValue: string | number | boolean;
|
|
19
|
+
inactiveValue: string | number | boolean;
|
|
23
20
|
}> & Omit<{
|
|
24
|
-
readonly modelValue:
|
|
21
|
+
readonly modelValue: string | number | boolean;
|
|
25
22
|
readonly name: string;
|
|
26
|
-
readonly width:
|
|
27
|
-
readonly
|
|
28
|
-
readonly disabled: boolean;
|
|
29
|
-
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
30
|
-
readonly inlinePrompt: boolean;
|
|
23
|
+
readonly width: string | number;
|
|
24
|
+
readonly validateEvent: boolean;
|
|
31
25
|
readonly activeText: string;
|
|
32
26
|
readonly inactiveText: string;
|
|
33
|
-
readonly activeValue:
|
|
34
|
-
readonly inactiveValue:
|
|
35
|
-
readonly size?:
|
|
27
|
+
readonly activeValue: string | number | boolean;
|
|
28
|
+
readonly inactiveValue: string | number | boolean;
|
|
29
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
36
30
|
readonly id?: string;
|
|
37
|
-
readonly
|
|
31
|
+
readonly loading?: boolean;
|
|
32
|
+
readonly disabled?: boolean;
|
|
33
|
+
readonly tabindex?: string | number;
|
|
38
34
|
readonly ariaLabel?: string;
|
|
35
|
+
readonly inlinePrompt?: boolean;
|
|
39
36
|
readonly inactiveActionIcon?: unknown;
|
|
40
37
|
readonly activeActionIcon?: unknown;
|
|
41
38
|
readonly activeIcon?: unknown;
|
|
42
39
|
readonly inactiveIcon?: unknown;
|
|
43
40
|
readonly beforeChange?: () => boolean | Promise<boolean>;
|
|
44
41
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
45
|
-
onChange?: (val: string | number | boolean) => any;
|
|
46
42
|
onInput?: (val: string | number | boolean) => any;
|
|
47
|
-
|
|
43
|
+
onChange?: (val: string | number | boolean) => any;
|
|
44
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "name" | "width" | "disabled" | "validateEvent" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue">;
|
|
48
45
|
$attrs: {
|
|
49
46
|
[x: string]: unknown;
|
|
50
47
|
};
|
|
@@ -60,65 +57,79 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
60
57
|
$emit: ((event: "update:modelValue", val: string | number | boolean) => void) & ((event: "change", val: string | number | boolean) => void) & ((event: "input", val: string | number | boolean) => void);
|
|
61
58
|
$el: any;
|
|
62
59
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
name: {
|
|
65
|
+
type: import("vue").PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
width: {
|
|
69
|
+
type: import("vue").PropType<string | number>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
74
|
+
};
|
|
75
|
+
id: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
loading: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
};
|
|
81
|
+
disabled: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
tabindex: {
|
|
86
|
+
type: import("vue").PropType<string | number>;
|
|
87
|
+
};
|
|
88
|
+
ariaLabel: {
|
|
89
|
+
type: import("vue").PropType<string>;
|
|
90
|
+
};
|
|
91
|
+
validateEvent: {
|
|
92
|
+
type: import("vue").PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
inlinePrompt: {
|
|
96
|
+
type: import("vue").PropType<boolean>;
|
|
97
|
+
};
|
|
98
|
+
inactiveActionIcon: {
|
|
99
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
100
|
+
};
|
|
101
|
+
activeActionIcon: {
|
|
102
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
103
|
+
};
|
|
104
|
+
activeIcon: {
|
|
105
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
106
|
+
};
|
|
107
|
+
inactiveIcon: {
|
|
108
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
109
|
+
};
|
|
110
|
+
activeText: {
|
|
111
|
+
type: import("vue").PropType<string>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
inactiveText: {
|
|
115
|
+
type: import("vue").PropType<string>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
activeValue: {
|
|
119
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
inactiveValue: {
|
|
123
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
beforeChange: {
|
|
127
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
117
128
|
};
|
|
118
129
|
}>> & {
|
|
119
130
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
120
|
-
onChange?: (val: string | number | boolean) => any;
|
|
121
131
|
onInput?: (val: string | number | boolean) => any;
|
|
132
|
+
onChange?: (val: string | number | boolean) => any;
|
|
122
133
|
}, {
|
|
123
134
|
focus: () => void;
|
|
124
135
|
checked: import("vue").ComputedRef<boolean>;
|
|
@@ -127,17 +138,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
127
138
|
change: (val: string | number | boolean) => void;
|
|
128
139
|
input: (val: string | number | boolean) => void;
|
|
129
140
|
}, string, {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
140
|
-
readonly inlinePrompt: boolean;
|
|
141
|
+
disabled: boolean;
|
|
142
|
+
width: string | number;
|
|
143
|
+
name: string;
|
|
144
|
+
modelValue: string | number | boolean;
|
|
145
|
+
validateEvent: boolean;
|
|
146
|
+
activeText: string;
|
|
147
|
+
inactiveText: string;
|
|
148
|
+
activeValue: string | number | boolean;
|
|
149
|
+
inactiveValue: string | number | boolean;
|
|
141
150
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
142
151
|
beforeCreate?: (() => void) | (() => void)[];
|
|
143
152
|
created?: (() => void) | (() => void)[];
|
|
@@ -159,125 +168,144 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
159
168
|
$nextTick: typeof import("vue").nextTick;
|
|
160
169
|
$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;
|
|
161
170
|
} & Readonly<{
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
172
|
-
readonly inlinePrompt: boolean;
|
|
171
|
+
disabled: boolean;
|
|
172
|
+
width: string | number;
|
|
173
|
+
name: string;
|
|
174
|
+
modelValue: string | number | boolean;
|
|
175
|
+
validateEvent: boolean;
|
|
176
|
+
activeText: string;
|
|
177
|
+
inactiveText: string;
|
|
178
|
+
activeValue: string | number | boolean;
|
|
179
|
+
inactiveValue: string | number | boolean;
|
|
173
180
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
181
|
+
modelValue: {
|
|
182
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
name: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
width: {
|
|
190
|
+
type: import("vue").PropType<string | number>;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
size: {
|
|
194
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
195
|
+
};
|
|
196
|
+
id: {
|
|
197
|
+
type: import("vue").PropType<string>;
|
|
198
|
+
};
|
|
199
|
+
loading: {
|
|
200
|
+
type: import("vue").PropType<boolean>;
|
|
201
|
+
};
|
|
202
|
+
disabled: {
|
|
203
|
+
type: import("vue").PropType<boolean>;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
tabindex: {
|
|
207
|
+
type: import("vue").PropType<string | number>;
|
|
208
|
+
};
|
|
209
|
+
ariaLabel: {
|
|
210
|
+
type: import("vue").PropType<string>;
|
|
211
|
+
};
|
|
212
|
+
validateEvent: {
|
|
213
|
+
type: import("vue").PropType<boolean>;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
inlinePrompt: {
|
|
217
|
+
type: import("vue").PropType<boolean>;
|
|
218
|
+
};
|
|
219
|
+
inactiveActionIcon: {
|
|
220
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
221
|
+
};
|
|
222
|
+
activeActionIcon: {
|
|
223
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
224
|
+
};
|
|
225
|
+
activeIcon: {
|
|
226
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
227
|
+
};
|
|
228
|
+
inactiveIcon: {
|
|
229
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
230
|
+
};
|
|
231
|
+
activeText: {
|
|
232
|
+
type: import("vue").PropType<string>;
|
|
233
|
+
default: string;
|
|
234
|
+
};
|
|
235
|
+
inactiveText: {
|
|
236
|
+
type: import("vue").PropType<string>;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
activeValue: {
|
|
240
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
inactiveValue: {
|
|
244
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
beforeChange: {
|
|
248
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
228
249
|
};
|
|
229
250
|
}>> & {
|
|
230
251
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
231
|
-
onChange?: (val: string | number | boolean) => any;
|
|
232
252
|
onInput?: (val: string | number | boolean) => any;
|
|
233
|
-
|
|
253
|
+
onChange?: (val: string | number | boolean) => any;
|
|
254
|
+
}, "focus" | "modelValue" | "name" | "width" | "disabled" | "validateEvent" | "checked" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue"> & import("vue").ShallowUnwrapRef<{
|
|
234
255
|
focus: () => void;
|
|
235
256
|
checked: import("vue").ComputedRef<boolean>;
|
|
236
257
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
237
258
|
$slots: {
|
|
238
|
-
|
|
239
|
-
|
|
259
|
+
inactive?: (props: {}) => any;
|
|
260
|
+
} & {
|
|
261
|
+
inactive?: (props: {}) => any;
|
|
262
|
+
} & {
|
|
263
|
+
active?: (props: {}) => any;
|
|
264
|
+
} & {
|
|
265
|
+
'active-action'?: (props: {}) => any;
|
|
266
|
+
} & {
|
|
267
|
+
'inactive-action'?: (props: {}) => any;
|
|
268
|
+
} & {
|
|
269
|
+
active?: (props: {}) => any;
|
|
240
270
|
};
|
|
241
271
|
}, {
|
|
242
272
|
$: import("vue").ComponentInternalInstance;
|
|
243
273
|
$data: {};
|
|
244
274
|
$props: Partial<{
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
255
|
-
readonly inlinePrompt: boolean;
|
|
275
|
+
disabled: boolean;
|
|
276
|
+
width: string | number;
|
|
277
|
+
name: string;
|
|
278
|
+
modelValue: string | number | boolean;
|
|
279
|
+
validateEvent: boolean;
|
|
280
|
+
activeText: string;
|
|
281
|
+
inactiveText: string;
|
|
282
|
+
activeValue: string | number | boolean;
|
|
283
|
+
inactiveValue: string | number | boolean;
|
|
256
284
|
}> & Omit<{
|
|
257
|
-
readonly modelValue:
|
|
285
|
+
readonly modelValue: string | number | boolean;
|
|
258
286
|
readonly name: string;
|
|
259
|
-
readonly width:
|
|
260
|
-
readonly
|
|
261
|
-
readonly disabled: boolean;
|
|
262
|
-
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
263
|
-
readonly inlinePrompt: boolean;
|
|
287
|
+
readonly width: string | number;
|
|
288
|
+
readonly validateEvent: boolean;
|
|
264
289
|
readonly activeText: string;
|
|
265
290
|
readonly inactiveText: string;
|
|
266
|
-
readonly activeValue:
|
|
267
|
-
readonly inactiveValue:
|
|
268
|
-
readonly size?:
|
|
291
|
+
readonly activeValue: string | number | boolean;
|
|
292
|
+
readonly inactiveValue: string | number | boolean;
|
|
293
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
269
294
|
readonly id?: string;
|
|
270
|
-
readonly
|
|
295
|
+
readonly loading?: boolean;
|
|
296
|
+
readonly disabled?: boolean;
|
|
297
|
+
readonly tabindex?: string | number;
|
|
271
298
|
readonly ariaLabel?: string;
|
|
299
|
+
readonly inlinePrompt?: boolean;
|
|
272
300
|
readonly inactiveActionIcon?: unknown;
|
|
273
301
|
readonly activeActionIcon?: unknown;
|
|
274
302
|
readonly activeIcon?: unknown;
|
|
275
303
|
readonly inactiveIcon?: unknown;
|
|
276
304
|
readonly beforeChange?: () => boolean | Promise<boolean>;
|
|
277
305
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
278
|
-
onChange?: (val: string | number | boolean) => any;
|
|
279
306
|
onInput?: (val: string | number | boolean) => any;
|
|
280
|
-
|
|
307
|
+
onChange?: (val: string | number | boolean) => any;
|
|
308
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "name" | "width" | "disabled" | "validateEvent" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue">;
|
|
281
309
|
$attrs: {
|
|
282
310
|
[x: string]: unknown;
|
|
283
311
|
};
|
|
@@ -293,65 +321,79 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
293
321
|
$emit: ((event: "update:modelValue", val: string | number | boolean) => void) & ((event: "change", val: string | number | boolean) => void) & ((event: "input", val: string | number | boolean) => void);
|
|
294
322
|
$el: any;
|
|
295
323
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
324
|
+
modelValue: {
|
|
325
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
328
|
+
name: {
|
|
329
|
+
type: import("vue").PropType<string>;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
width: {
|
|
333
|
+
type: import("vue").PropType<string | number>;
|
|
334
|
+
default: string;
|
|
335
|
+
};
|
|
336
|
+
size: {
|
|
337
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
338
|
+
};
|
|
339
|
+
id: {
|
|
340
|
+
type: import("vue").PropType<string>;
|
|
341
|
+
};
|
|
342
|
+
loading: {
|
|
343
|
+
type: import("vue").PropType<boolean>;
|
|
344
|
+
};
|
|
345
|
+
disabled: {
|
|
346
|
+
type: import("vue").PropType<boolean>;
|
|
347
|
+
default: undefined;
|
|
348
|
+
};
|
|
349
|
+
tabindex: {
|
|
350
|
+
type: import("vue").PropType<string | number>;
|
|
351
|
+
};
|
|
352
|
+
ariaLabel: {
|
|
353
|
+
type: import("vue").PropType<string>;
|
|
354
|
+
};
|
|
355
|
+
validateEvent: {
|
|
356
|
+
type: import("vue").PropType<boolean>;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
inlinePrompt: {
|
|
360
|
+
type: import("vue").PropType<boolean>;
|
|
361
|
+
};
|
|
362
|
+
inactiveActionIcon: {
|
|
363
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
364
|
+
};
|
|
365
|
+
activeActionIcon: {
|
|
366
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
367
|
+
};
|
|
368
|
+
activeIcon: {
|
|
369
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
370
|
+
};
|
|
371
|
+
inactiveIcon: {
|
|
372
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
373
|
+
};
|
|
374
|
+
activeText: {
|
|
375
|
+
type: import("vue").PropType<string>;
|
|
376
|
+
default: string;
|
|
377
|
+
};
|
|
378
|
+
inactiveText: {
|
|
379
|
+
type: import("vue").PropType<string>;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
activeValue: {
|
|
383
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
384
|
+
default: boolean;
|
|
385
|
+
};
|
|
386
|
+
inactiveValue: {
|
|
387
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
388
|
+
default: boolean;
|
|
389
|
+
};
|
|
390
|
+
beforeChange: {
|
|
391
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
350
392
|
};
|
|
351
393
|
}>> & {
|
|
352
394
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
353
|
-
onChange?: (val: string | number | boolean) => any;
|
|
354
395
|
onInput?: (val: string | number | boolean) => any;
|
|
396
|
+
onChange?: (val: string | number | boolean) => any;
|
|
355
397
|
}, {
|
|
356
398
|
focus: () => void;
|
|
357
399
|
checked: import("vue").ComputedRef<boolean>;
|
|
@@ -360,17 +402,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
360
402
|
change: (val: string | number | boolean) => void;
|
|
361
403
|
input: (val: string | number | boolean) => void;
|
|
362
404
|
}, string, {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
373
|
-
readonly inlinePrompt: boolean;
|
|
405
|
+
disabled: boolean;
|
|
406
|
+
width: string | number;
|
|
407
|
+
name: string;
|
|
408
|
+
modelValue: string | number | boolean;
|
|
409
|
+
validateEvent: boolean;
|
|
410
|
+
activeText: string;
|
|
411
|
+
inactiveText: string;
|
|
412
|
+
activeValue: string | number | boolean;
|
|
413
|
+
inactiveValue: string | number | boolean;
|
|
374
414
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
375
415
|
beforeCreate?: (() => void) | (() => void)[];
|
|
376
416
|
created?: (() => void) | (() => void)[];
|
|
@@ -392,84 +432,105 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaSwitchPr
|
|
|
392
432
|
$nextTick: typeof import("vue").nextTick;
|
|
393
433
|
$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;
|
|
394
434
|
} & Readonly<{
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
readonly inactiveValue: EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
405
|
-
readonly inlinePrompt: boolean;
|
|
435
|
+
disabled: boolean;
|
|
436
|
+
width: string | number;
|
|
437
|
+
name: string;
|
|
438
|
+
modelValue: string | number | boolean;
|
|
439
|
+
validateEvent: boolean;
|
|
440
|
+
activeText: string;
|
|
441
|
+
inactiveText: string;
|
|
442
|
+
activeValue: string | number | boolean;
|
|
443
|
+
inactiveValue: string | number | boolean;
|
|
406
444
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
445
|
+
modelValue: {
|
|
446
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
447
|
+
default: boolean;
|
|
448
|
+
};
|
|
449
|
+
name: {
|
|
450
|
+
type: import("vue").PropType<string>;
|
|
451
|
+
default: string;
|
|
452
|
+
};
|
|
453
|
+
width: {
|
|
454
|
+
type: import("vue").PropType<string | number>;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
size: {
|
|
458
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
459
|
+
};
|
|
460
|
+
id: {
|
|
461
|
+
type: import("vue").PropType<string>;
|
|
462
|
+
};
|
|
463
|
+
loading: {
|
|
464
|
+
type: import("vue").PropType<boolean>;
|
|
465
|
+
};
|
|
466
|
+
disabled: {
|
|
467
|
+
type: import("vue").PropType<boolean>;
|
|
468
|
+
default: undefined;
|
|
469
|
+
};
|
|
470
|
+
tabindex: {
|
|
471
|
+
type: import("vue").PropType<string | number>;
|
|
472
|
+
};
|
|
473
|
+
ariaLabel: {
|
|
474
|
+
type: import("vue").PropType<string>;
|
|
475
|
+
};
|
|
476
|
+
validateEvent: {
|
|
477
|
+
type: import("vue").PropType<boolean>;
|
|
478
|
+
default: boolean;
|
|
479
|
+
};
|
|
480
|
+
inlinePrompt: {
|
|
481
|
+
type: import("vue").PropType<boolean>;
|
|
482
|
+
};
|
|
483
|
+
inactiveActionIcon: {
|
|
484
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
485
|
+
};
|
|
486
|
+
activeActionIcon: {
|
|
487
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
488
|
+
};
|
|
489
|
+
activeIcon: {
|
|
490
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
491
|
+
};
|
|
492
|
+
inactiveIcon: {
|
|
493
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
494
|
+
};
|
|
495
|
+
activeText: {
|
|
496
|
+
type: import("vue").PropType<string>;
|
|
497
|
+
default: string;
|
|
498
|
+
};
|
|
499
|
+
inactiveText: {
|
|
500
|
+
type: import("vue").PropType<string>;
|
|
501
|
+
default: string;
|
|
502
|
+
};
|
|
503
|
+
activeValue: {
|
|
504
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
505
|
+
default: boolean;
|
|
506
|
+
};
|
|
507
|
+
inactiveValue: {
|
|
508
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
509
|
+
default: boolean;
|
|
510
|
+
};
|
|
511
|
+
beforeChange: {
|
|
512
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
461
513
|
};
|
|
462
514
|
}>> & {
|
|
463
515
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
464
|
-
onChange?: (val: string | number | boolean) => any;
|
|
465
516
|
onInput?: (val: string | number | boolean) => any;
|
|
466
|
-
|
|
517
|
+
onChange?: (val: string | number | boolean) => any;
|
|
518
|
+
}, "focus" | "modelValue" | "name" | "width" | "disabled" | "validateEvent" | "checked" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue"> & import("vue").ShallowUnwrapRef<{
|
|
467
519
|
focus: () => void;
|
|
468
520
|
checked: import("vue").ComputedRef<boolean>;
|
|
469
521
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
470
522
|
$slots: {
|
|
471
|
-
|
|
472
|
-
|
|
523
|
+
inactive?: (props: {}) => any;
|
|
524
|
+
} & {
|
|
525
|
+
inactive?: (props: {}) => any;
|
|
526
|
+
} & {
|
|
527
|
+
active?: (props: {}) => any;
|
|
528
|
+
} & {
|
|
529
|
+
'active-action'?: (props: {}) => any;
|
|
530
|
+
} & {
|
|
531
|
+
'inactive-action'?: (props: {}) => any;
|
|
532
|
+
} & {
|
|
533
|
+
active?: (props: {}) => any;
|
|
473
534
|
};
|
|
474
535
|
}>;
|
|
475
536
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|