@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
|
@@ -14,47 +14,46 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
14
14
|
$: import("vue").ComponentInternalInstance;
|
|
15
15
|
$data: {};
|
|
16
16
|
$props: Partial<{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
readonly stepStrictly: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
id: string;
|
|
19
|
+
valueOnClear: number | "min" | "max";
|
|
20
|
+
min: number;
|
|
21
|
+
max: number;
|
|
22
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
23
|
+
validateEvent: boolean;
|
|
24
|
+
readonly: boolean;
|
|
25
|
+
align: "center" | "left" | "right";
|
|
26
|
+
step: number;
|
|
27
|
+
controls: boolean;
|
|
28
|
+
controlsPosition: "" | "right";
|
|
29
|
+
stepStrictly: boolean;
|
|
31
30
|
}> & Omit<{
|
|
32
|
-
readonly disabled: boolean;
|
|
33
31
|
readonly min: number;
|
|
34
32
|
readonly max: number;
|
|
35
33
|
readonly readonly: boolean;
|
|
36
|
-
readonly validateEvent:
|
|
37
|
-
readonly align: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown>;
|
|
38
|
-
readonly disabledScientific: boolean;
|
|
34
|
+
readonly validateEvent: boolean;
|
|
39
35
|
readonly step: number;
|
|
40
36
|
readonly stepStrictly: boolean;
|
|
41
|
-
readonly controls:
|
|
42
|
-
readonly controlsPosition:
|
|
43
|
-
readonly
|
|
37
|
+
readonly controls: boolean;
|
|
38
|
+
readonly controlsPosition: "" | "right";
|
|
39
|
+
readonly align: "center" | "left" | "right";
|
|
40
|
+
readonly modelValue?: number;
|
|
44
41
|
readonly name?: string;
|
|
45
|
-
readonly size?:
|
|
42
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
46
43
|
readonly id?: string;
|
|
47
44
|
readonly placeholder?: string;
|
|
45
|
+
readonly disabled?: boolean;
|
|
48
46
|
readonly ariaLabel?: string;
|
|
49
|
-
readonly inputmode?:
|
|
50
|
-
readonly valueOnClear?:
|
|
47
|
+
readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
48
|
+
readonly valueOnClear?: number | "min" | "max";
|
|
51
49
|
readonly precision?: number;
|
|
50
|
+
readonly disabledScientific?: boolean;
|
|
52
51
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
53
|
-
|
|
52
|
+
onInput?: (val: number) => any;
|
|
54
53
|
onFocus?: (e: FocusEvent) => any;
|
|
54
|
+
onChange?: (cur: number, prev: number) => any;
|
|
55
55
|
onBlur?: (e: FocusEvent) => any;
|
|
56
|
-
|
|
57
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "id" | "disabled" | "min" | "max" | "inputmode" | "readonly" | "validateEvent" | "align" | "disabledScientific" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear">;
|
|
56
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "id" | "disabled" | "min" | "max" | "readonly" | "validateEvent" | "inputmode" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear" | "align">;
|
|
58
57
|
$attrs: {
|
|
59
58
|
[x: string]: unknown;
|
|
60
59
|
};
|
|
@@ -70,47 +69,85 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
70
69
|
$emit: ((event: "update:modelValue", val: number) => void) & ((event: "blur", e: FocusEvent) => void) & ((event: "change", cur: number, prev: number) => void) & ((event: "focus", e: FocusEvent) => void) & ((event: "input", val: number) => void);
|
|
71
70
|
$el: any;
|
|
72
71
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
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
|
-
|
|
72
|
+
modelValue: {
|
|
73
|
+
type: import("vue").PropType<number>;
|
|
74
|
+
};
|
|
75
|
+
name: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
size: {
|
|
79
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
80
|
+
};
|
|
81
|
+
id: {
|
|
82
|
+
type: import("vue").PropType<string>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
placeholder: {
|
|
86
|
+
type: import("vue").PropType<string>;
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
ariaLabel: {
|
|
93
|
+
type: import("vue").PropType<string>;
|
|
94
|
+
};
|
|
95
|
+
min: {
|
|
96
|
+
type: import("vue").PropType<number>;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
max: {
|
|
100
|
+
type: import("vue").PropType<number>;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
readonly: {
|
|
104
|
+
type: import("vue").PropType<boolean>;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
validateEvent: {
|
|
108
|
+
type: import("vue").PropType<boolean>;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
inputmode: {
|
|
112
|
+
type: import("vue").PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
step: {
|
|
116
|
+
type: import("vue").PropType<number>;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
stepStrictly: {
|
|
120
|
+
type: import("vue").PropType<boolean>;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
controls: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
controlsPosition: {
|
|
128
|
+
type: import("vue").PropType<"" | "right">;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
valueOnClear: {
|
|
132
|
+
type: import("vue").PropType<number | "min" | "max">;
|
|
133
|
+
default: null;
|
|
134
|
+
};
|
|
135
|
+
precision: {
|
|
136
|
+
type: import("vue").PropType<number>;
|
|
137
|
+
};
|
|
138
|
+
align: {
|
|
139
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
disabledScientific: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
};
|
|
108
145
|
}>> & {
|
|
109
146
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
110
|
-
|
|
147
|
+
onInput?: (val: number) => any;
|
|
111
148
|
onFocus?: (e: FocusEvent) => any;
|
|
149
|
+
onChange?: (cur: number, prev: number) => any;
|
|
112
150
|
onBlur?: (e: FocusEvent) => any;
|
|
113
|
-
onInput?: (val: number) => any;
|
|
114
151
|
}, {
|
|
115
152
|
focus: () => void;
|
|
116
153
|
blur: () => void;
|
|
@@ -121,20 +158,19 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
121
158
|
input: (val: number) => void;
|
|
122
159
|
blur: (e: FocusEvent) => void;
|
|
123
160
|
}, string, {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
readonly
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
readonly stepStrictly: boolean;
|
|
161
|
+
disabled: boolean;
|
|
162
|
+
id: string;
|
|
163
|
+
valueOnClear: number | "min" | "max";
|
|
164
|
+
min: number;
|
|
165
|
+
max: number;
|
|
166
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
167
|
+
validateEvent: boolean;
|
|
168
|
+
readonly: boolean;
|
|
169
|
+
align: "center" | "left" | "right";
|
|
170
|
+
step: number;
|
|
171
|
+
controls: boolean;
|
|
172
|
+
controlsPosition: "" | "right";
|
|
173
|
+
stepStrictly: boolean;
|
|
138
174
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
139
175
|
beforeCreate?: (() => void) | (() => void)[];
|
|
140
176
|
created?: (() => void) | (() => void)[];
|
|
@@ -156,117 +192,156 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
156
192
|
$nextTick: typeof import("vue").nextTick;
|
|
157
193
|
$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;
|
|
158
194
|
} & Readonly<{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
readonly stepStrictly: boolean;
|
|
195
|
+
disabled: boolean;
|
|
196
|
+
id: string;
|
|
197
|
+
valueOnClear: number | "min" | "max";
|
|
198
|
+
min: number;
|
|
199
|
+
max: number;
|
|
200
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
201
|
+
validateEvent: boolean;
|
|
202
|
+
readonly: boolean;
|
|
203
|
+
align: "center" | "left" | "right";
|
|
204
|
+
step: number;
|
|
205
|
+
controls: boolean;
|
|
206
|
+
controlsPosition: "" | "right";
|
|
207
|
+
stepStrictly: boolean;
|
|
173
208
|
}> & 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
|
+
modelValue: {
|
|
210
|
+
type: import("vue").PropType<number>;
|
|
211
|
+
};
|
|
212
|
+
name: {
|
|
213
|
+
type: import("vue").PropType<string>;
|
|
214
|
+
};
|
|
215
|
+
size: {
|
|
216
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
217
|
+
};
|
|
218
|
+
id: {
|
|
219
|
+
type: import("vue").PropType<string>;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
222
|
+
placeholder: {
|
|
223
|
+
type: import("vue").PropType<string>;
|
|
224
|
+
};
|
|
225
|
+
disabled: {
|
|
226
|
+
type: import("vue").PropType<boolean>;
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
ariaLabel: {
|
|
230
|
+
type: import("vue").PropType<string>;
|
|
231
|
+
};
|
|
232
|
+
min: {
|
|
233
|
+
type: import("vue").PropType<number>;
|
|
234
|
+
default: number;
|
|
235
|
+
};
|
|
236
|
+
max: {
|
|
237
|
+
type: import("vue").PropType<number>;
|
|
238
|
+
default: number;
|
|
239
|
+
};
|
|
240
|
+
readonly: {
|
|
241
|
+
type: import("vue").PropType<boolean>;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
validateEvent: {
|
|
245
|
+
type: import("vue").PropType<boolean>;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
inputmode: {
|
|
249
|
+
type: import("vue").PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
250
|
+
default: undefined;
|
|
251
|
+
};
|
|
252
|
+
step: {
|
|
253
|
+
type: import("vue").PropType<number>;
|
|
254
|
+
default: number;
|
|
255
|
+
};
|
|
256
|
+
stepStrictly: {
|
|
257
|
+
type: import("vue").PropType<boolean>;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
controls: {
|
|
261
|
+
type: import("vue").PropType<boolean>;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
controlsPosition: {
|
|
265
|
+
type: import("vue").PropType<"" | "right">;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
valueOnClear: {
|
|
269
|
+
type: import("vue").PropType<number | "min" | "max">;
|
|
270
|
+
default: null;
|
|
271
|
+
};
|
|
272
|
+
precision: {
|
|
273
|
+
type: import("vue").PropType<number>;
|
|
274
|
+
};
|
|
275
|
+
align: {
|
|
276
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
277
|
+
default: string;
|
|
278
|
+
};
|
|
279
|
+
disabledScientific: {
|
|
280
|
+
type: import("vue").PropType<boolean>;
|
|
281
|
+
};
|
|
209
282
|
}>> & {
|
|
210
283
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
211
|
-
|
|
284
|
+
onInput?: (val: number) => any;
|
|
212
285
|
onFocus?: (e: FocusEvent) => any;
|
|
286
|
+
onChange?: (cur: number, prev: number) => any;
|
|
213
287
|
onBlur?: (e: FocusEvent) => any;
|
|
214
|
-
|
|
215
|
-
}, "blur" | "focus" | "id" | "disabled" | "min" | "max" | "inputmode" | "readonly" | "validateEvent" | "align" | "disabledScientific" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear"> & import("vue").ShallowUnwrapRef<{
|
|
288
|
+
}, "blur" | "focus" | "id" | "disabled" | "min" | "max" | "readonly" | "validateEvent" | "inputmode" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear" | "align"> & import("vue").ShallowUnwrapRef<{
|
|
216
289
|
focus: () => void;
|
|
217
290
|
blur: () => void;
|
|
218
291
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
219
292
|
$slots: {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
293
|
+
'decrease-icon'?: (props: {}) => any;
|
|
294
|
+
} & {
|
|
295
|
+
'increase-icon'?: (props: {}) => any;
|
|
296
|
+
} & {
|
|
297
|
+
prefix?: (props: {}) => any;
|
|
298
|
+
} & {
|
|
299
|
+
suffix?: (props: {}) => any;
|
|
224
300
|
};
|
|
225
301
|
}, {
|
|
226
302
|
$: import("vue").ComponentInternalInstance;
|
|
227
303
|
$data: {};
|
|
228
304
|
$props: Partial<{
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
readonly
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
readonly stepStrictly: boolean;
|
|
305
|
+
disabled: boolean;
|
|
306
|
+
id: string;
|
|
307
|
+
valueOnClear: number | "min" | "max";
|
|
308
|
+
min: number;
|
|
309
|
+
max: number;
|
|
310
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
311
|
+
validateEvent: boolean;
|
|
312
|
+
readonly: boolean;
|
|
313
|
+
align: "center" | "left" | "right";
|
|
314
|
+
step: number;
|
|
315
|
+
controls: boolean;
|
|
316
|
+
controlsPosition: "" | "right";
|
|
317
|
+
stepStrictly: boolean;
|
|
243
318
|
}> & Omit<{
|
|
244
|
-
readonly disabled: boolean;
|
|
245
319
|
readonly min: number;
|
|
246
320
|
readonly max: number;
|
|
247
321
|
readonly readonly: boolean;
|
|
248
|
-
readonly validateEvent:
|
|
249
|
-
readonly align: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown>;
|
|
250
|
-
readonly disabledScientific: boolean;
|
|
322
|
+
readonly validateEvent: boolean;
|
|
251
323
|
readonly step: number;
|
|
252
324
|
readonly stepStrictly: boolean;
|
|
253
|
-
readonly controls:
|
|
254
|
-
readonly controlsPosition:
|
|
255
|
-
readonly
|
|
325
|
+
readonly controls: boolean;
|
|
326
|
+
readonly controlsPosition: "" | "right";
|
|
327
|
+
readonly align: "center" | "left" | "right";
|
|
328
|
+
readonly modelValue?: number;
|
|
256
329
|
readonly name?: string;
|
|
257
|
-
readonly size?:
|
|
330
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
258
331
|
readonly id?: string;
|
|
259
332
|
readonly placeholder?: string;
|
|
333
|
+
readonly disabled?: boolean;
|
|
260
334
|
readonly ariaLabel?: string;
|
|
261
|
-
readonly inputmode?:
|
|
262
|
-
readonly valueOnClear?:
|
|
335
|
+
readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
336
|
+
readonly valueOnClear?: number | "min" | "max";
|
|
263
337
|
readonly precision?: number;
|
|
338
|
+
readonly disabledScientific?: boolean;
|
|
264
339
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
265
|
-
|
|
340
|
+
onInput?: (val: number) => any;
|
|
266
341
|
onFocus?: (e: FocusEvent) => any;
|
|
342
|
+
onChange?: (cur: number, prev: number) => any;
|
|
267
343
|
onBlur?: (e: FocusEvent) => any;
|
|
268
|
-
|
|
269
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "id" | "disabled" | "min" | "max" | "inputmode" | "readonly" | "validateEvent" | "align" | "disabledScientific" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear">;
|
|
344
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "id" | "disabled" | "min" | "max" | "readonly" | "validateEvent" | "inputmode" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear" | "align">;
|
|
270
345
|
$attrs: {
|
|
271
346
|
[x: string]: unknown;
|
|
272
347
|
};
|
|
@@ -282,47 +357,85 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
282
357
|
$emit: ((event: "update:modelValue", val: number) => void) & ((event: "blur", e: FocusEvent) => void) & ((event: "change", cur: number, prev: number) => void) & ((event: "focus", e: FocusEvent) => void) & ((event: "input", val: number) => void);
|
|
283
358
|
$el: any;
|
|
284
359
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
360
|
+
modelValue: {
|
|
361
|
+
type: import("vue").PropType<number>;
|
|
362
|
+
};
|
|
363
|
+
name: {
|
|
364
|
+
type: import("vue").PropType<string>;
|
|
365
|
+
};
|
|
366
|
+
size: {
|
|
367
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
368
|
+
};
|
|
369
|
+
id: {
|
|
370
|
+
type: import("vue").PropType<string>;
|
|
371
|
+
default: undefined;
|
|
372
|
+
};
|
|
373
|
+
placeholder: {
|
|
374
|
+
type: import("vue").PropType<string>;
|
|
375
|
+
};
|
|
376
|
+
disabled: {
|
|
377
|
+
type: import("vue").PropType<boolean>;
|
|
378
|
+
default: undefined;
|
|
379
|
+
};
|
|
380
|
+
ariaLabel: {
|
|
381
|
+
type: import("vue").PropType<string>;
|
|
382
|
+
};
|
|
383
|
+
min: {
|
|
384
|
+
type: import("vue").PropType<number>;
|
|
385
|
+
default: number;
|
|
386
|
+
};
|
|
387
|
+
max: {
|
|
388
|
+
type: import("vue").PropType<number>;
|
|
389
|
+
default: number;
|
|
390
|
+
};
|
|
391
|
+
readonly: {
|
|
392
|
+
type: import("vue").PropType<boolean>;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
395
|
+
validateEvent: {
|
|
396
|
+
type: import("vue").PropType<boolean>;
|
|
397
|
+
default: boolean;
|
|
398
|
+
};
|
|
399
|
+
inputmode: {
|
|
400
|
+
type: import("vue").PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
401
|
+
default: undefined;
|
|
402
|
+
};
|
|
403
|
+
step: {
|
|
404
|
+
type: import("vue").PropType<number>;
|
|
405
|
+
default: number;
|
|
406
|
+
};
|
|
407
|
+
stepStrictly: {
|
|
408
|
+
type: import("vue").PropType<boolean>;
|
|
409
|
+
default: boolean;
|
|
410
|
+
};
|
|
411
|
+
controls: {
|
|
412
|
+
type: import("vue").PropType<boolean>;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
controlsPosition: {
|
|
416
|
+
type: import("vue").PropType<"" | "right">;
|
|
417
|
+
default: string;
|
|
418
|
+
};
|
|
419
|
+
valueOnClear: {
|
|
420
|
+
type: import("vue").PropType<number | "min" | "max">;
|
|
421
|
+
default: null;
|
|
422
|
+
};
|
|
423
|
+
precision: {
|
|
424
|
+
type: import("vue").PropType<number>;
|
|
425
|
+
};
|
|
426
|
+
align: {
|
|
427
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
428
|
+
default: string;
|
|
429
|
+
};
|
|
430
|
+
disabledScientific: {
|
|
431
|
+
type: import("vue").PropType<boolean>;
|
|
432
|
+
};
|
|
320
433
|
}>> & {
|
|
321
434
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
322
|
-
|
|
435
|
+
onInput?: (val: number) => any;
|
|
323
436
|
onFocus?: (e: FocusEvent) => any;
|
|
437
|
+
onChange?: (cur: number, prev: number) => any;
|
|
324
438
|
onBlur?: (e: FocusEvent) => any;
|
|
325
|
-
onInput?: (val: number) => any;
|
|
326
439
|
}, {
|
|
327
440
|
focus: () => void;
|
|
328
441
|
blur: () => void;
|
|
@@ -333,20 +446,19 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
333
446
|
input: (val: number) => void;
|
|
334
447
|
blur: (e: FocusEvent) => void;
|
|
335
448
|
}, string, {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
readonly
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
readonly stepStrictly: boolean;
|
|
449
|
+
disabled: boolean;
|
|
450
|
+
id: string;
|
|
451
|
+
valueOnClear: number | "min" | "max";
|
|
452
|
+
min: number;
|
|
453
|
+
max: number;
|
|
454
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
455
|
+
validateEvent: boolean;
|
|
456
|
+
readonly: boolean;
|
|
457
|
+
align: "center" | "left" | "right";
|
|
458
|
+
step: number;
|
|
459
|
+
controls: boolean;
|
|
460
|
+
controlsPosition: "" | "right";
|
|
461
|
+
stepStrictly: boolean;
|
|
350
462
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
351
463
|
beforeCreate?: (() => void) | (() => void)[];
|
|
352
464
|
created?: (() => void) | (() => void)[];
|
|
@@ -368,71 +480,111 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
368
480
|
$nextTick: typeof import("vue").nextTick;
|
|
369
481
|
$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;
|
|
370
482
|
} & Readonly<{
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
readonly
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
readonly stepStrictly: boolean;
|
|
483
|
+
disabled: boolean;
|
|
484
|
+
id: string;
|
|
485
|
+
valueOnClear: number | "min" | "max";
|
|
486
|
+
min: number;
|
|
487
|
+
max: number;
|
|
488
|
+
inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal";
|
|
489
|
+
validateEvent: boolean;
|
|
490
|
+
readonly: boolean;
|
|
491
|
+
align: "center" | "left" | "right";
|
|
492
|
+
step: number;
|
|
493
|
+
controls: boolean;
|
|
494
|
+
controlsPosition: "" | "right";
|
|
495
|
+
stepStrictly: boolean;
|
|
385
496
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
497
|
+
modelValue: {
|
|
498
|
+
type: import("vue").PropType<number>;
|
|
499
|
+
};
|
|
500
|
+
name: {
|
|
501
|
+
type: import("vue").PropType<string>;
|
|
502
|
+
};
|
|
503
|
+
size: {
|
|
504
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
505
|
+
};
|
|
506
|
+
id: {
|
|
507
|
+
type: import("vue").PropType<string>;
|
|
508
|
+
default: undefined;
|
|
509
|
+
};
|
|
510
|
+
placeholder: {
|
|
511
|
+
type: import("vue").PropType<string>;
|
|
512
|
+
};
|
|
513
|
+
disabled: {
|
|
514
|
+
type: import("vue").PropType<boolean>;
|
|
515
|
+
default: undefined;
|
|
516
|
+
};
|
|
517
|
+
ariaLabel: {
|
|
518
|
+
type: import("vue").PropType<string>;
|
|
519
|
+
};
|
|
520
|
+
min: {
|
|
521
|
+
type: import("vue").PropType<number>;
|
|
522
|
+
default: number;
|
|
523
|
+
};
|
|
524
|
+
max: {
|
|
525
|
+
type: import("vue").PropType<number>;
|
|
526
|
+
default: number;
|
|
527
|
+
};
|
|
528
|
+
readonly: {
|
|
529
|
+
type: import("vue").PropType<boolean>;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
532
|
+
validateEvent: {
|
|
533
|
+
type: import("vue").PropType<boolean>;
|
|
534
|
+
default: boolean;
|
|
535
|
+
};
|
|
536
|
+
inputmode: {
|
|
537
|
+
type: import("vue").PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal">;
|
|
538
|
+
default: undefined;
|
|
539
|
+
};
|
|
540
|
+
step: {
|
|
541
|
+
type: import("vue").PropType<number>;
|
|
542
|
+
default: number;
|
|
543
|
+
};
|
|
544
|
+
stepStrictly: {
|
|
545
|
+
type: import("vue").PropType<boolean>;
|
|
546
|
+
default: boolean;
|
|
547
|
+
};
|
|
548
|
+
controls: {
|
|
549
|
+
type: import("vue").PropType<boolean>;
|
|
550
|
+
default: boolean;
|
|
551
|
+
};
|
|
552
|
+
controlsPosition: {
|
|
553
|
+
type: import("vue").PropType<"" | "right">;
|
|
554
|
+
default: string;
|
|
555
|
+
};
|
|
556
|
+
valueOnClear: {
|
|
557
|
+
type: import("vue").PropType<number | "min" | "max">;
|
|
558
|
+
default: null;
|
|
559
|
+
};
|
|
560
|
+
precision: {
|
|
561
|
+
type: import("vue").PropType<number>;
|
|
562
|
+
};
|
|
563
|
+
align: {
|
|
564
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
565
|
+
default: string;
|
|
566
|
+
};
|
|
567
|
+
disabledScientific: {
|
|
568
|
+
type: import("vue").PropType<boolean>;
|
|
569
|
+
};
|
|
421
570
|
}>> & {
|
|
422
571
|
"onUpdate:modelValue"?: (val: number) => any;
|
|
423
|
-
|
|
572
|
+
onInput?: (val: number) => any;
|
|
424
573
|
onFocus?: (e: FocusEvent) => any;
|
|
574
|
+
onChange?: (cur: number, prev: number) => any;
|
|
425
575
|
onBlur?: (e: FocusEvent) => any;
|
|
426
|
-
|
|
427
|
-
}, "blur" | "focus" | "id" | "disabled" | "min" | "max" | "inputmode" | "readonly" | "validateEvent" | "align" | "disabledScientific" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear"> & import("vue").ShallowUnwrapRef<{
|
|
576
|
+
}, "blur" | "focus" | "id" | "disabled" | "min" | "max" | "readonly" | "validateEvent" | "inputmode" | "step" | "stepStrictly" | "controls" | "controlsPosition" | "valueOnClear" | "align"> & import("vue").ShallowUnwrapRef<{
|
|
428
577
|
focus: () => void;
|
|
429
578
|
blur: () => void;
|
|
430
579
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
431
580
|
$slots: {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
581
|
+
'decrease-icon'?: (props: {}) => any;
|
|
582
|
+
} & {
|
|
583
|
+
'increase-icon'?: (props: {}) => any;
|
|
584
|
+
} & {
|
|
585
|
+
prefix?: (props: {}) => any;
|
|
586
|
+
} & {
|
|
587
|
+
suffix?: (props: {}) => any;
|
|
436
588
|
};
|
|
437
589
|
}>;
|
|
438
590
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -444,14 +596,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaInputNum
|
|
|
444
596
|
onChange?: (value?: number) => any;
|
|
445
597
|
onFocus?: (evt: FocusEvent) => any;
|
|
446
598
|
}>, {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
readonly
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
599
|
+
size: "" | "default" | "small" | "large";
|
|
600
|
+
min: number;
|
|
601
|
+
max: number;
|
|
602
|
+
readonly: boolean;
|
|
603
|
+
validateEvent: boolean;
|
|
604
|
+
step: number;
|
|
605
|
+
stepStrictly: boolean;
|
|
606
|
+
controls: boolean;
|
|
455
607
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
456
608
|
export default _default;
|
|
457
609
|
type __VLS_WithSlots<T, S> = T & {
|