@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
|
@@ -30,42 +30,36 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaButtonPr
|
|
|
30
30
|
$: import("vue").ComponentInternalInstance;
|
|
31
31
|
$data: {};
|
|
32
32
|
$props: Partial<{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
readonly autofocus: boolean;
|
|
43
|
-
readonly tag: unknown;
|
|
44
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
45
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
46
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
47
|
-
readonly loadingIcon: unknown;
|
|
33
|
+
text: boolean;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
round: boolean;
|
|
36
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
37
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
38
|
+
plain: boolean;
|
|
39
|
+
autoInsertSpace: boolean;
|
|
40
|
+
nativeType: "reset" | "submit" | "button";
|
|
41
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
48
42
|
}> & Omit<{
|
|
49
|
-
readonly type:
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly circle: boolean;
|
|
58
|
-
readonly tag: "button";
|
|
59
|
-
readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
43
|
+
readonly type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
44
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
45
|
+
readonly tag: string;
|
|
46
|
+
readonly link?: boolean;
|
|
47
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
48
|
+
readonly loading?: boolean;
|
|
49
|
+
readonly disabled?: boolean;
|
|
50
|
+
readonly dark?: boolean;
|
|
60
51
|
readonly icon?: unknown;
|
|
61
52
|
readonly loadingIcon?: any;
|
|
62
|
-
readonly plain?:
|
|
63
|
-
readonly text?:
|
|
64
|
-
readonly
|
|
53
|
+
readonly plain?: boolean;
|
|
54
|
+
readonly text?: boolean;
|
|
55
|
+
readonly bg?: boolean;
|
|
56
|
+
readonly autofocus?: boolean;
|
|
57
|
+
readonly round?: boolean;
|
|
58
|
+
readonly circle?: boolean;
|
|
65
59
|
readonly color?: string;
|
|
66
|
-
readonly autoInsertSpace?:
|
|
60
|
+
readonly autoInsertSpace?: boolean;
|
|
67
61
|
onClick?: (evt: MouseEvent) => any;
|
|
68
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
|
62
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag">;
|
|
69
63
|
$attrs: {
|
|
70
64
|
[x: string]: unknown;
|
|
71
65
|
};
|
|
@@ -81,60 +75,89 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaButtonPr
|
|
|
81
75
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
82
76
|
$el: any;
|
|
83
77
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
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
|
-
|
|
78
|
+
type: {
|
|
79
|
+
type: import("vue").PropType<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
link: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
87
|
+
};
|
|
88
|
+
loading: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
};
|
|
91
|
+
disabled: {
|
|
92
|
+
type: import("vue").PropType<boolean>;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
dark: {
|
|
96
|
+
type: import("vue").PropType<boolean>;
|
|
97
|
+
};
|
|
98
|
+
icon: {
|
|
99
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
100
|
+
};
|
|
101
|
+
nativeType: {
|
|
102
|
+
type: import("vue").PropType<"reset" | "submit" | "button">;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
loadingIcon: {
|
|
106
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
107
|
+
default: any;
|
|
108
|
+
};
|
|
109
|
+
plain: {
|
|
110
|
+
type: import("vue").PropType<boolean>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
text: {
|
|
114
|
+
type: import("vue").PropType<boolean>;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
bg: {
|
|
118
|
+
type: import("vue").PropType<boolean>;
|
|
119
|
+
};
|
|
120
|
+
autofocus: {
|
|
121
|
+
type: import("vue").PropType<boolean>;
|
|
122
|
+
};
|
|
123
|
+
round: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
circle: {
|
|
128
|
+
type: import("vue").PropType<boolean>;
|
|
129
|
+
};
|
|
130
|
+
color: {
|
|
131
|
+
type: import("vue").PropType<string>;
|
|
132
|
+
};
|
|
133
|
+
autoInsertSpace: {
|
|
134
|
+
type: import("vue").PropType<boolean>;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
tag: {
|
|
138
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
112
141
|
}>> & {
|
|
113
142
|
onClick?: (evt: MouseEvent) => any;
|
|
114
143
|
}, {
|
|
115
144
|
ref: import("vue").Ref<HTMLButtonElement, HTMLButtonElement>;
|
|
116
145
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
117
|
-
type: import("vue").ComputedRef<
|
|
146
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
118
147
|
disabled: import("vue").ComputedRef<boolean>;
|
|
119
148
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
120
149
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
150
|
click: (evt: MouseEvent) => void;
|
|
122
151
|
}, string, {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly autofocus: boolean;
|
|
133
|
-
readonly tag: unknown;
|
|
134
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
136
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
137
|
-
readonly loadingIcon: unknown;
|
|
152
|
+
text: boolean;
|
|
153
|
+
disabled: boolean;
|
|
154
|
+
round: boolean;
|
|
155
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
156
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
157
|
+
plain: boolean;
|
|
158
|
+
autoInsertSpace: boolean;
|
|
159
|
+
nativeType: "reset" | "submit" | "button";
|
|
160
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
138
161
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
139
162
|
beforeCreate?: (() => void) | (() => void)[];
|
|
140
163
|
created?: (() => void) | (() => void)[];
|
|
@@ -156,104 +179,129 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaButtonPr
|
|
|
156
179
|
$nextTick: typeof import("vue").nextTick;
|
|
157
180
|
$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
181
|
} & Readonly<{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
readonly autofocus: boolean;
|
|
169
|
-
readonly tag: unknown;
|
|
170
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
171
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
173
|
-
readonly loadingIcon: unknown;
|
|
182
|
+
text: boolean;
|
|
183
|
+
disabled: boolean;
|
|
184
|
+
round: boolean;
|
|
185
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
186
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
187
|
+
plain: boolean;
|
|
188
|
+
autoInsertSpace: boolean;
|
|
189
|
+
nativeType: "reset" | "submit" | "button";
|
|
190
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
174
191
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
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
|
-
|
|
192
|
+
type: {
|
|
193
|
+
type: import("vue").PropType<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
link: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
};
|
|
199
|
+
size: {
|
|
200
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
201
|
+
};
|
|
202
|
+
loading: {
|
|
203
|
+
type: import("vue").PropType<boolean>;
|
|
204
|
+
};
|
|
205
|
+
disabled: {
|
|
206
|
+
type: import("vue").PropType<boolean>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
dark: {
|
|
210
|
+
type: import("vue").PropType<boolean>;
|
|
211
|
+
};
|
|
212
|
+
icon: {
|
|
213
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
214
|
+
};
|
|
215
|
+
nativeType: {
|
|
216
|
+
type: import("vue").PropType<"reset" | "submit" | "button">;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
loadingIcon: {
|
|
220
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
221
|
+
default: any;
|
|
222
|
+
};
|
|
223
|
+
plain: {
|
|
224
|
+
type: import("vue").PropType<boolean>;
|
|
225
|
+
default: undefined;
|
|
226
|
+
};
|
|
227
|
+
text: {
|
|
228
|
+
type: import("vue").PropType<boolean>;
|
|
229
|
+
default: undefined;
|
|
230
|
+
};
|
|
231
|
+
bg: {
|
|
232
|
+
type: import("vue").PropType<boolean>;
|
|
233
|
+
};
|
|
234
|
+
autofocus: {
|
|
235
|
+
type: import("vue").PropType<boolean>;
|
|
236
|
+
};
|
|
237
|
+
round: {
|
|
238
|
+
type: import("vue").PropType<boolean>;
|
|
239
|
+
default: undefined;
|
|
240
|
+
};
|
|
241
|
+
circle: {
|
|
242
|
+
type: import("vue").PropType<boolean>;
|
|
243
|
+
};
|
|
244
|
+
color: {
|
|
245
|
+
type: import("vue").PropType<string>;
|
|
246
|
+
};
|
|
247
|
+
autoInsertSpace: {
|
|
248
|
+
type: import("vue").PropType<boolean>;
|
|
249
|
+
default: undefined;
|
|
250
|
+
};
|
|
251
|
+
tag: {
|
|
252
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
203
255
|
}>> & {
|
|
204
256
|
onClick?: (evt: MouseEvent) => any;
|
|
205
|
-
}, "type" | "
|
|
257
|
+
}, "type" | "size" | "ref" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import("vue").ShallowUnwrapRef<{
|
|
206
258
|
ref: import("vue").Ref<HTMLButtonElement, HTMLButtonElement>;
|
|
207
259
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
208
|
-
type: import("vue").ComputedRef<
|
|
260
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
209
261
|
disabled: import("vue").ComputedRef<boolean>;
|
|
210
262
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
211
263
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
212
264
|
$slots: {
|
|
213
|
-
loading
|
|
214
|
-
|
|
215
|
-
|
|
265
|
+
loading?: (props: {}) => any;
|
|
266
|
+
} & {
|
|
267
|
+
icon?: (props: {}) => any;
|
|
268
|
+
} & {
|
|
269
|
+
default?: (props: {}) => any;
|
|
216
270
|
};
|
|
217
271
|
}, {
|
|
218
272
|
$: import("vue").ComponentInternalInstance;
|
|
219
273
|
$data: {};
|
|
220
274
|
$props: Partial<{
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly autofocus: boolean;
|
|
231
|
-
readonly tag: unknown;
|
|
232
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
233
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
234
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
235
|
-
readonly loadingIcon: unknown;
|
|
275
|
+
text: boolean;
|
|
276
|
+
disabled: boolean;
|
|
277
|
+
round: boolean;
|
|
278
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
279
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
280
|
+
plain: boolean;
|
|
281
|
+
autoInsertSpace: boolean;
|
|
282
|
+
nativeType: "reset" | "submit" | "button";
|
|
283
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
236
284
|
}> & Omit<{
|
|
237
|
-
readonly type:
|
|
238
|
-
readonly
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
245
|
-
readonly circle: boolean;
|
|
246
|
-
readonly tag: "button";
|
|
247
|
-
readonly size?: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
285
|
+
readonly type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
286
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
287
|
+
readonly tag: string;
|
|
288
|
+
readonly link?: boolean;
|
|
289
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
290
|
+
readonly loading?: boolean;
|
|
291
|
+
readonly disabled?: boolean;
|
|
292
|
+
readonly dark?: boolean;
|
|
248
293
|
readonly icon?: unknown;
|
|
249
294
|
readonly loadingIcon?: any;
|
|
250
|
-
readonly plain?:
|
|
251
|
-
readonly text?:
|
|
252
|
-
readonly
|
|
295
|
+
readonly plain?: boolean;
|
|
296
|
+
readonly text?: boolean;
|
|
297
|
+
readonly bg?: boolean;
|
|
298
|
+
readonly autofocus?: boolean;
|
|
299
|
+
readonly round?: boolean;
|
|
300
|
+
readonly circle?: boolean;
|
|
253
301
|
readonly color?: string;
|
|
254
|
-
readonly autoInsertSpace?:
|
|
302
|
+
readonly autoInsertSpace?: boolean;
|
|
255
303
|
onClick?: (evt: MouseEvent) => any;
|
|
256
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
|
304
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag">;
|
|
257
305
|
$attrs: {
|
|
258
306
|
[x: string]: unknown;
|
|
259
307
|
};
|
|
@@ -269,60 +317,89 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaButtonPr
|
|
|
269
317
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
270
318
|
$el: any;
|
|
271
319
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
320
|
+
type: {
|
|
321
|
+
type: import("vue").PropType<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
|
+
link: {
|
|
325
|
+
type: import("vue").PropType<boolean>;
|
|
326
|
+
};
|
|
327
|
+
size: {
|
|
328
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
329
|
+
};
|
|
330
|
+
loading: {
|
|
331
|
+
type: import("vue").PropType<boolean>;
|
|
332
|
+
};
|
|
333
|
+
disabled: {
|
|
334
|
+
type: import("vue").PropType<boolean>;
|
|
335
|
+
default: undefined;
|
|
336
|
+
};
|
|
337
|
+
dark: {
|
|
338
|
+
type: import("vue").PropType<boolean>;
|
|
339
|
+
};
|
|
340
|
+
icon: {
|
|
341
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
342
|
+
};
|
|
343
|
+
nativeType: {
|
|
344
|
+
type: import("vue").PropType<"reset" | "submit" | "button">;
|
|
345
|
+
default: string;
|
|
346
|
+
};
|
|
347
|
+
loadingIcon: {
|
|
348
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
349
|
+
default: any;
|
|
350
|
+
};
|
|
351
|
+
plain: {
|
|
352
|
+
type: import("vue").PropType<boolean>;
|
|
353
|
+
default: undefined;
|
|
354
|
+
};
|
|
355
|
+
text: {
|
|
356
|
+
type: import("vue").PropType<boolean>;
|
|
357
|
+
default: undefined;
|
|
358
|
+
};
|
|
359
|
+
bg: {
|
|
360
|
+
type: import("vue").PropType<boolean>;
|
|
361
|
+
};
|
|
362
|
+
autofocus: {
|
|
363
|
+
type: import("vue").PropType<boolean>;
|
|
364
|
+
};
|
|
365
|
+
round: {
|
|
366
|
+
type: import("vue").PropType<boolean>;
|
|
367
|
+
default: undefined;
|
|
368
|
+
};
|
|
369
|
+
circle: {
|
|
370
|
+
type: import("vue").PropType<boolean>;
|
|
371
|
+
};
|
|
372
|
+
color: {
|
|
373
|
+
type: import("vue").PropType<string>;
|
|
374
|
+
};
|
|
375
|
+
autoInsertSpace: {
|
|
376
|
+
type: import("vue").PropType<boolean>;
|
|
377
|
+
default: undefined;
|
|
378
|
+
};
|
|
379
|
+
tag: {
|
|
380
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
300
383
|
}>> & {
|
|
301
384
|
onClick?: (evt: MouseEvent) => any;
|
|
302
385
|
}, {
|
|
303
386
|
ref: import("vue").Ref<HTMLButtonElement, HTMLButtonElement>;
|
|
304
387
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
305
|
-
type: import("vue").ComputedRef<
|
|
388
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
306
389
|
disabled: import("vue").ComputedRef<boolean>;
|
|
307
390
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
308
391
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
309
392
|
click: (evt: MouseEvent) => void;
|
|
310
393
|
}, string, {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
readonly autofocus: boolean;
|
|
321
|
-
readonly tag: unknown;
|
|
322
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
323
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
324
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
325
|
-
readonly loadingIcon: unknown;
|
|
394
|
+
text: boolean;
|
|
395
|
+
disabled: boolean;
|
|
396
|
+
round: boolean;
|
|
397
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
398
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
399
|
+
plain: boolean;
|
|
400
|
+
autoInsertSpace: boolean;
|
|
401
|
+
nativeType: "reset" | "submit" | "button";
|
|
402
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
326
403
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
327
404
|
beforeCreate?: (() => void) | (() => void)[];
|
|
328
405
|
created?: (() => void) | (() => void)[];
|
|
@@ -344,63 +421,94 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaButtonPr
|
|
|
344
421
|
$nextTick: typeof import("vue").nextTick;
|
|
345
422
|
$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;
|
|
346
423
|
} & Readonly<{
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
readonly autofocus: boolean;
|
|
357
|
-
readonly tag: unknown;
|
|
358
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
359
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
360
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
361
|
-
readonly loadingIcon: unknown;
|
|
424
|
+
text: boolean;
|
|
425
|
+
disabled: boolean;
|
|
426
|
+
round: boolean;
|
|
427
|
+
type: "" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger";
|
|
428
|
+
tag: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
429
|
+
plain: boolean;
|
|
430
|
+
autoInsertSpace: boolean;
|
|
431
|
+
nativeType: "reset" | "submit" | "button";
|
|
432
|
+
loadingIcon: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
362
433
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
434
|
+
type: {
|
|
435
|
+
type: import("vue").PropType<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
436
|
+
default: string;
|
|
437
|
+
};
|
|
438
|
+
link: {
|
|
439
|
+
type: import("vue").PropType<boolean>;
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
443
|
+
};
|
|
444
|
+
loading: {
|
|
445
|
+
type: import("vue").PropType<boolean>;
|
|
446
|
+
};
|
|
447
|
+
disabled: {
|
|
448
|
+
type: import("vue").PropType<boolean>;
|
|
449
|
+
default: undefined;
|
|
450
|
+
};
|
|
451
|
+
dark: {
|
|
452
|
+
type: import("vue").PropType<boolean>;
|
|
453
|
+
};
|
|
454
|
+
icon: {
|
|
455
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
456
|
+
};
|
|
457
|
+
nativeType: {
|
|
458
|
+
type: import("vue").PropType<"reset" | "submit" | "button">;
|
|
459
|
+
default: string;
|
|
460
|
+
};
|
|
461
|
+
loadingIcon: {
|
|
462
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
463
|
+
default: any;
|
|
464
|
+
};
|
|
465
|
+
plain: {
|
|
466
|
+
type: import("vue").PropType<boolean>;
|
|
467
|
+
default: undefined;
|
|
468
|
+
};
|
|
469
|
+
text: {
|
|
470
|
+
type: import("vue").PropType<boolean>;
|
|
471
|
+
default: undefined;
|
|
472
|
+
};
|
|
473
|
+
bg: {
|
|
474
|
+
type: import("vue").PropType<boolean>;
|
|
475
|
+
};
|
|
476
|
+
autofocus: {
|
|
477
|
+
type: import("vue").PropType<boolean>;
|
|
478
|
+
};
|
|
479
|
+
round: {
|
|
480
|
+
type: import("vue").PropType<boolean>;
|
|
481
|
+
default: undefined;
|
|
482
|
+
};
|
|
483
|
+
circle: {
|
|
484
|
+
type: import("vue").PropType<boolean>;
|
|
485
|
+
};
|
|
486
|
+
color: {
|
|
487
|
+
type: import("vue").PropType<string>;
|
|
488
|
+
};
|
|
489
|
+
autoInsertSpace: {
|
|
490
|
+
type: import("vue").PropType<boolean>;
|
|
491
|
+
default: undefined;
|
|
492
|
+
};
|
|
493
|
+
tag: {
|
|
494
|
+
type: import("vue").PropType<string | import("vue").Component>;
|
|
495
|
+
default: string;
|
|
496
|
+
};
|
|
391
497
|
}>> & {
|
|
392
498
|
onClick?: (evt: MouseEvent) => any;
|
|
393
|
-
}, "type" | "
|
|
499
|
+
}, "type" | "size" | "ref" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import("vue").ShallowUnwrapRef<{
|
|
394
500
|
ref: import("vue").Ref<HTMLButtonElement, HTMLButtonElement>;
|
|
395
501
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
396
|
-
type: import("vue").ComputedRef<
|
|
502
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "warning" | "success" | "text" | "primary" | "danger">;
|
|
397
503
|
disabled: import("vue").ComputedRef<boolean>;
|
|
398
504
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
399
505
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
400
506
|
$slots: {
|
|
401
|
-
loading
|
|
402
|
-
|
|
403
|
-
|
|
507
|
+
loading?: (props: {}) => any;
|
|
508
|
+
} & {
|
|
509
|
+
icon?: (props: {}) => any;
|
|
510
|
+
} & {
|
|
511
|
+
default?: (props: {}) => any;
|
|
404
512
|
};
|
|
405
513
|
}>;
|
|
406
514
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<JaButtonProps> & Readonly<{}>, {
|