ra-element 0.1.88 → 0.1.90
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/docs/ra-select.md +2 -2
- package/docs/ra-tree-select.md +7 -1
- package/docs/ra-upload.md +3 -1
- package/lib/components/ra-button/index.vue.d.ts +440 -348
- package/lib/components/ra-date-picker/index.vue.d.ts +647 -483
- package/lib/components/ra-dialog/index.vue.d.ts +764 -516
- package/lib/components/ra-input/index.vue.d.ts +790 -544
- package/lib/components/ra-table/component/top-module.vue.d.ts +6 -8
- package/lib/components/ra-textarea/index.vue.d.ts +416 -293
- package/lib/components/ra-tool-tip/index.vue.d.ts +1152 -806
- package/lib/components/ra-tree-select/index.vue.d.ts +278 -517
- package/lib/components/ra-upload/index.vue.d.ts +1024 -259
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +1325 -1260
- package/lib/ra-element.es.js.map +1 -1
- package/lib/ra-element.umd.js +1 -1
- package/lib/ra-element.umd.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/ra-form/index.vue.d.ts +0 -523
- package/lib/components/ra-select/type.d.ts +0 -5
- package/lib/components/ra-table/index.vue.d.ts +0 -3255
- package/lib/components/ra-tree-select/type.d.ts +0 -5
|
@@ -42,51 +42,56 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
42
|
$: import('vue').ComponentInternalInstance;
|
|
43
43
|
$data: {};
|
|
44
44
|
$props: Partial<{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
readonly disabled: boolean;
|
|
46
|
+
readonly tabindex: string | number;
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly type: string;
|
|
49
|
+
readonly modelValue: string | number | null | undefined;
|
|
50
|
+
readonly readonly: boolean;
|
|
51
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
52
|
+
readonly autocomplete: AutoFill;
|
|
53
|
+
readonly containerRole: string;
|
|
54
|
+
readonly validateEvent: boolean;
|
|
55
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
56
|
+
readonly rows: number;
|
|
57
|
+
readonly inputmode: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
58
|
+
readonly clearable: boolean;
|
|
59
|
+
readonly showPassword: boolean;
|
|
60
|
+
readonly showWordLimit: boolean;
|
|
61
|
+
readonly autofocus: boolean;
|
|
56
62
|
}> & Omit<{
|
|
57
|
-
readonly
|
|
63
|
+
readonly disabled: boolean;
|
|
64
|
+
readonly type: string;
|
|
65
|
+
readonly autofocus: boolean;
|
|
58
66
|
readonly modelValue: string | number | null;
|
|
59
67
|
readonly tabindex: string | number;
|
|
60
68
|
readonly validateEvent: boolean;
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
69
|
+
readonly clearable: boolean;
|
|
70
|
+
readonly readonly: boolean;
|
|
71
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
72
|
+
readonly autocomplete: AutoFill;
|
|
73
|
+
readonly showPassword: boolean;
|
|
74
|
+
readonly showWordLimit: boolean;
|
|
64
75
|
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
65
76
|
readonly rows: number;
|
|
66
77
|
readonly name?: string | undefined;
|
|
67
|
-
readonly disabled?: boolean | undefined;
|
|
68
78
|
readonly form?: string | undefined;
|
|
69
|
-
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
70
|
-
readonly size?:
|
|
71
|
-
readonly autofocus?: boolean | undefined;
|
|
79
|
+
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
80
|
+
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
72
81
|
readonly placeholder?: string | undefined;
|
|
73
|
-
readonly ariaLabel?: string | undefined;
|
|
74
82
|
readonly id?: string | undefined;
|
|
75
|
-
readonly
|
|
76
|
-
readonly clearIcon?: import('
|
|
77
|
-
readonly prefixIcon?: import('
|
|
78
|
-
readonly
|
|
79
|
-
readonly maxlength?: string | number | undefined;
|
|
80
|
-
readonly minlength?: string | number | undefined;
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly showPassword?: boolean | undefined;
|
|
85
|
-
readonly showWordLimit?: boolean | undefined;
|
|
86
|
-
readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
83
|
+
readonly ariaLabel?: string | undefined;
|
|
84
|
+
readonly clearIcon?: (string | import('vue').Component) | undefined;
|
|
85
|
+
readonly prefixIcon?: (string | import('vue').Component) | undefined;
|
|
86
|
+
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
87
|
+
readonly maxlength?: (string | number) | undefined;
|
|
88
|
+
readonly minlength?: (string | number) | undefined;
|
|
89
|
+
readonly formatter?: Function | undefined;
|
|
90
|
+
readonly parser?: Function | undefined;
|
|
91
|
+
readonly suffixIcon?: (string | import('vue').Component) | undefined;
|
|
87
92
|
readonly containerRole?: string | undefined;
|
|
88
|
-
|
|
89
|
-
onChange?: ((value: string
|
|
93
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
94
|
+
onChange?: ((value: string) => any) | undefined | undefined;
|
|
90
95
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
91
96
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
92
97
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
@@ -96,9 +101,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
96
101
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
97
102
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
98
103
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "modelValue" | "tabindex" | "validateEvent" | "clearIcon" | "modelModifiers" | "autocomplete" | "wordLimitPosition" | "inputStyle" | "rows">;
|
|
104
|
+
onClear?: (() => any) | undefined | undefined;
|
|
105
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "autofocus" | "modelValue" | "id" | "tabindex" | "validateEvent" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">;
|
|
102
106
|
$attrs: {
|
|
103
107
|
[x: string]: unknown;
|
|
104
108
|
};
|
|
@@ -111,118 +115,174 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
111
115
|
$root: import('vue').ComponentPublicInstance | null;
|
|
112
116
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
113
117
|
$host: Element | null;
|
|
114
|
-
$emit: ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string
|
|
118
|
+
$emit: ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void);
|
|
115
119
|
$el: any;
|
|
116
120
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
117
|
-
|
|
118
|
-
type: import('vue').PropType<
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
default: "";
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
type: import('vue').PropType<string>;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
type: import('vue').PropType<
|
|
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
|
-
type: import('vue').PropType<string>;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
121
|
+
readonly inputmode: {
|
|
122
|
+
readonly type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
|
123
|
+
readonly required: false;
|
|
124
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
125
|
+
__epPropKey: true;
|
|
126
|
+
} & {
|
|
127
|
+
readonly default: undefined;
|
|
128
|
+
};
|
|
129
|
+
readonly name: StringConstructor;
|
|
130
|
+
readonly ariaLabel: StringConstructor;
|
|
131
|
+
readonly id: {
|
|
132
|
+
readonly type: import('vue').PropType<string>;
|
|
133
|
+
readonly required: false;
|
|
134
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
|
+
__epPropKey: true;
|
|
136
|
+
} & {
|
|
137
|
+
readonly default: undefined;
|
|
138
|
+
};
|
|
139
|
+
readonly size: {
|
|
140
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
141
|
+
readonly required: false;
|
|
142
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
|
+
__epPropKey: true;
|
|
144
|
+
};
|
|
145
|
+
readonly disabled: BooleanConstructor;
|
|
146
|
+
readonly modelValue: {
|
|
147
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
148
|
+
readonly required: false;
|
|
149
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
+
__epPropKey: true;
|
|
151
|
+
} & {
|
|
152
|
+
readonly default: "";
|
|
153
|
+
};
|
|
154
|
+
readonly maxlength: {
|
|
155
|
+
readonly type: import('vue').PropType<string | number>;
|
|
156
|
+
readonly required: false;
|
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
|
+
__epPropKey: true;
|
|
159
|
+
};
|
|
160
|
+
readonly minlength: {
|
|
161
|
+
readonly type: import('vue').PropType<string | number>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
};
|
|
166
|
+
readonly type: {
|
|
167
|
+
readonly type: import('vue').PropType<string>;
|
|
168
|
+
readonly required: false;
|
|
169
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
|
+
__epPropKey: true;
|
|
171
|
+
} & {
|
|
172
|
+
readonly default: "text";
|
|
173
|
+
};
|
|
174
|
+
readonly resize: {
|
|
175
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
};
|
|
180
|
+
readonly autosize: {
|
|
181
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
+
__epPropKey: true;
|
|
185
|
+
} & {
|
|
186
|
+
readonly default: false;
|
|
187
|
+
};
|
|
188
|
+
readonly autocomplete: {
|
|
189
|
+
readonly type: import('vue').PropType<AutoFill>;
|
|
190
|
+
readonly required: false;
|
|
191
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
192
|
+
__epPropKey: true;
|
|
193
|
+
} & {
|
|
194
|
+
readonly default: "off";
|
|
195
|
+
};
|
|
196
|
+
readonly formatter: {
|
|
197
|
+
readonly type: import('vue').PropType<Function>;
|
|
198
|
+
readonly required: false;
|
|
199
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
|
+
__epPropKey: true;
|
|
201
|
+
};
|
|
202
|
+
readonly parser: {
|
|
203
|
+
readonly type: import('vue').PropType<Function>;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
|
+
__epPropKey: true;
|
|
207
|
+
};
|
|
208
|
+
readonly placeholder: {
|
|
209
|
+
readonly type: import('vue').PropType<string>;
|
|
210
|
+
readonly required: false;
|
|
211
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
|
+
__epPropKey: true;
|
|
213
|
+
};
|
|
214
|
+
readonly form: {
|
|
215
|
+
readonly type: import('vue').PropType<string>;
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
|
+
__epPropKey: true;
|
|
219
|
+
};
|
|
220
|
+
readonly readonly: BooleanConstructor;
|
|
221
|
+
readonly clearable: BooleanConstructor;
|
|
222
|
+
readonly clearIcon: {
|
|
223
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
224
|
+
readonly required: false;
|
|
225
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
226
|
+
__epPropKey: true;
|
|
227
|
+
};
|
|
228
|
+
readonly showPassword: BooleanConstructor;
|
|
229
|
+
readonly showWordLimit: BooleanConstructor;
|
|
230
|
+
readonly suffixIcon: {
|
|
231
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
232
|
+
readonly required: false;
|
|
233
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
234
|
+
__epPropKey: true;
|
|
235
|
+
};
|
|
236
|
+
readonly prefixIcon: {
|
|
237
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
238
|
+
readonly required: false;
|
|
239
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
240
|
+
__epPropKey: true;
|
|
241
|
+
};
|
|
242
|
+
readonly containerRole: {
|
|
243
|
+
readonly type: import('vue').PropType<string>;
|
|
244
|
+
readonly required: false;
|
|
245
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
+
__epPropKey: true;
|
|
247
|
+
} & {
|
|
248
|
+
readonly default: undefined;
|
|
249
|
+
};
|
|
250
|
+
readonly tabindex: {
|
|
251
|
+
readonly type: import('vue').PropType<string | number>;
|
|
252
|
+
readonly required: false;
|
|
253
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
+
__epPropKey: true;
|
|
255
|
+
} & {
|
|
256
|
+
readonly default: 0;
|
|
257
|
+
};
|
|
258
|
+
readonly validateEvent: {
|
|
259
|
+
readonly type: import('vue').PropType<boolean>;
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
|
+
__epPropKey: true;
|
|
263
|
+
} & {
|
|
264
|
+
readonly default: true;
|
|
265
|
+
};
|
|
266
|
+
readonly inputStyle: {
|
|
267
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
268
|
+
readonly required: false;
|
|
269
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
+
__epPropKey: true;
|
|
271
|
+
} & {
|
|
272
|
+
readonly default: () => {};
|
|
273
|
+
};
|
|
274
|
+
readonly autofocus: BooleanConstructor;
|
|
275
|
+
readonly rows: {
|
|
276
|
+
readonly type: import('vue').PropType<number>;
|
|
277
|
+
readonly required: false;
|
|
278
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
279
|
+
__epPropKey: true;
|
|
280
|
+
} & {
|
|
281
|
+
readonly default: 2;
|
|
223
282
|
};
|
|
224
283
|
}>> & {
|
|
225
|
-
|
|
284
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
285
|
+
onChange?: ((value: string) => any) | undefined;
|
|
226
286
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
227
287
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
228
288
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -232,45 +292,50 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
232
292
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
233
293
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
234
294
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
235
|
-
|
|
236
|
-
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
295
|
+
onClear?: (() => any) | undefined;
|
|
237
296
|
}, {
|
|
238
297
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
239
298
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
240
299
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
241
300
|
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
242
|
-
autosize: import('vue').Ref<import('element-plus').InputAutoSize
|
|
301
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
243
302
|
isComposing: import('vue').Ref<boolean>;
|
|
244
303
|
focus: () => void | undefined;
|
|
245
304
|
blur: () => void | undefined;
|
|
246
305
|
select: () => void;
|
|
247
|
-
clear: (
|
|
306
|
+
clear: () => void;
|
|
248
307
|
resizeTextarea: () => void;
|
|
249
308
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
250
|
-
change: (value: string, evt?: Event | undefined) => void;
|
|
251
|
-
"update:modelValue": (value: string) => void;
|
|
252
309
|
input: (value: string) => void;
|
|
253
310
|
focus: (evt: FocusEvent) => void;
|
|
311
|
+
clear: () => void;
|
|
312
|
+
"update:modelValue": (value: string) => void;
|
|
313
|
+
change: (value: string) => void;
|
|
254
314
|
blur: (evt: FocusEvent) => void;
|
|
255
|
-
|
|
256
|
-
mouseleave: (evt: MouseEvent) => void;
|
|
257
|
-
mouseenter: (evt: MouseEvent) => void;
|
|
258
|
-
keydown: (evt: Event | KeyboardEvent) => void;
|
|
315
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
259
316
|
compositionstart: (evt: CompositionEvent) => void;
|
|
260
317
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
261
|
-
|
|
318
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
319
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
320
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
262
321
|
}, string, {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
322
|
+
readonly disabled: boolean;
|
|
323
|
+
readonly tabindex: string | number;
|
|
324
|
+
readonly id: string;
|
|
325
|
+
readonly type: string;
|
|
326
|
+
readonly modelValue: string | number | null | undefined;
|
|
327
|
+
readonly readonly: boolean;
|
|
328
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
329
|
+
readonly autocomplete: AutoFill;
|
|
330
|
+
readonly containerRole: string;
|
|
331
|
+
readonly validateEvent: boolean;
|
|
332
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
333
|
+
readonly rows: number;
|
|
334
|
+
readonly inputmode: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
335
|
+
readonly clearable: boolean;
|
|
336
|
+
readonly showPassword: boolean;
|
|
337
|
+
readonly showWordLimit: boolean;
|
|
338
|
+
readonly autofocus: boolean;
|
|
274
339
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
275
340
|
beforeCreate?: (() => void) | (() => void)[];
|
|
276
341
|
created?: (() => void) | (() => void)[];
|
|
@@ -292,127 +357,189 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
292
357
|
$nextTick: typeof import('vue').nextTick;
|
|
293
358
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
294
359
|
} & Readonly<{
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
360
|
+
readonly disabled: boolean;
|
|
361
|
+
readonly tabindex: string | number;
|
|
362
|
+
readonly id: string;
|
|
363
|
+
readonly type: string;
|
|
364
|
+
readonly modelValue: string | number | null | undefined;
|
|
365
|
+
readonly readonly: boolean;
|
|
366
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
367
|
+
readonly autocomplete: AutoFill;
|
|
368
|
+
readonly containerRole: string;
|
|
369
|
+
readonly validateEvent: boolean;
|
|
370
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
371
|
+
readonly rows: number;
|
|
372
|
+
readonly inputmode: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
373
|
+
readonly clearable: boolean;
|
|
374
|
+
readonly showPassword: boolean;
|
|
375
|
+
readonly showWordLimit: boolean;
|
|
376
|
+
readonly autofocus: boolean;
|
|
306
377
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
307
|
-
|
|
308
|
-
type: import('vue').PropType<
|
|
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
|
-
default: "";
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
type: import('vue').PropType<string>;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
};
|
|
374
|
-
autosize: {
|
|
375
|
-
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
376
|
-
};
|
|
377
|
-
autocomplete: {
|
|
378
|
-
type: import('vue').PropType<string>;
|
|
379
|
-
default: "off";
|
|
380
|
-
};
|
|
381
|
-
formatter: {
|
|
382
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
383
|
-
};
|
|
384
|
-
parser: {
|
|
385
|
-
type: import('vue').PropType<(value: string) => string>;
|
|
386
|
-
};
|
|
387
|
-
showPassword: {
|
|
388
|
-
type: import('vue').PropType<boolean>;
|
|
389
|
-
};
|
|
390
|
-
showWordLimit: {
|
|
391
|
-
type: import('vue').PropType<boolean>;
|
|
392
|
-
};
|
|
393
|
-
wordLimitPosition: {
|
|
394
|
-
type: import('vue').PropType<"inside" | "outside">;
|
|
395
|
-
default: "inside";
|
|
396
|
-
};
|
|
397
|
-
suffixIcon: {
|
|
398
|
-
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
378
|
+
readonly inputmode: {
|
|
379
|
+
readonly type: import('vue').PropType<"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
|
380
|
+
readonly required: false;
|
|
381
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
382
|
+
__epPropKey: true;
|
|
383
|
+
} & {
|
|
384
|
+
readonly default: undefined;
|
|
385
|
+
};
|
|
386
|
+
readonly name: StringConstructor;
|
|
387
|
+
readonly ariaLabel: StringConstructor;
|
|
388
|
+
readonly id: {
|
|
389
|
+
readonly type: import('vue').PropType<string>;
|
|
390
|
+
readonly required: false;
|
|
391
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
+
__epPropKey: true;
|
|
393
|
+
} & {
|
|
394
|
+
readonly default: undefined;
|
|
395
|
+
};
|
|
396
|
+
readonly size: {
|
|
397
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
398
|
+
readonly required: false;
|
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
400
|
+
__epPropKey: true;
|
|
401
|
+
};
|
|
402
|
+
readonly disabled: BooleanConstructor;
|
|
403
|
+
readonly modelValue: {
|
|
404
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
405
|
+
readonly required: false;
|
|
406
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
+
__epPropKey: true;
|
|
408
|
+
} & {
|
|
409
|
+
readonly default: "";
|
|
410
|
+
};
|
|
411
|
+
readonly maxlength: {
|
|
412
|
+
readonly type: import('vue').PropType<string | number>;
|
|
413
|
+
readonly required: false;
|
|
414
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
415
|
+
__epPropKey: true;
|
|
416
|
+
};
|
|
417
|
+
readonly minlength: {
|
|
418
|
+
readonly type: import('vue').PropType<string | number>;
|
|
419
|
+
readonly required: false;
|
|
420
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
421
|
+
__epPropKey: true;
|
|
422
|
+
};
|
|
423
|
+
readonly type: {
|
|
424
|
+
readonly type: import('vue').PropType<string>;
|
|
425
|
+
readonly required: false;
|
|
426
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
427
|
+
__epPropKey: true;
|
|
428
|
+
} & {
|
|
429
|
+
readonly default: "text";
|
|
430
|
+
};
|
|
431
|
+
readonly resize: {
|
|
432
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
433
|
+
readonly required: false;
|
|
434
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
435
|
+
__epPropKey: true;
|
|
436
|
+
};
|
|
437
|
+
readonly autosize: {
|
|
438
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
439
|
+
readonly required: false;
|
|
440
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
441
|
+
__epPropKey: true;
|
|
442
|
+
} & {
|
|
443
|
+
readonly default: false;
|
|
399
444
|
};
|
|
400
|
-
|
|
401
|
-
type: import('vue').PropType<
|
|
445
|
+
readonly autocomplete: {
|
|
446
|
+
readonly type: import('vue').PropType<AutoFill>;
|
|
447
|
+
readonly required: false;
|
|
448
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
449
|
+
__epPropKey: true;
|
|
450
|
+
} & {
|
|
451
|
+
readonly default: "off";
|
|
452
|
+
};
|
|
453
|
+
readonly formatter: {
|
|
454
|
+
readonly type: import('vue').PropType<Function>;
|
|
455
|
+
readonly required: false;
|
|
456
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
457
|
+
__epPropKey: true;
|
|
458
|
+
};
|
|
459
|
+
readonly parser: {
|
|
460
|
+
readonly type: import('vue').PropType<Function>;
|
|
461
|
+
readonly required: false;
|
|
462
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
|
+
__epPropKey: true;
|
|
464
|
+
};
|
|
465
|
+
readonly placeholder: {
|
|
466
|
+
readonly type: import('vue').PropType<string>;
|
|
467
|
+
readonly required: false;
|
|
468
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
469
|
+
__epPropKey: true;
|
|
470
|
+
};
|
|
471
|
+
readonly form: {
|
|
472
|
+
readonly type: import('vue').PropType<string>;
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
475
|
+
__epPropKey: true;
|
|
476
|
+
};
|
|
477
|
+
readonly readonly: BooleanConstructor;
|
|
478
|
+
readonly clearable: BooleanConstructor;
|
|
479
|
+
readonly clearIcon: {
|
|
480
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
481
|
+
readonly required: false;
|
|
482
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
483
|
+
__epPropKey: true;
|
|
484
|
+
};
|
|
485
|
+
readonly showPassword: BooleanConstructor;
|
|
486
|
+
readonly showWordLimit: BooleanConstructor;
|
|
487
|
+
readonly suffixIcon: {
|
|
488
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
489
|
+
readonly required: false;
|
|
490
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
491
|
+
__epPropKey: true;
|
|
492
|
+
};
|
|
493
|
+
readonly prefixIcon: {
|
|
494
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
495
|
+
readonly required: false;
|
|
496
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
497
|
+
__epPropKey: true;
|
|
498
|
+
};
|
|
499
|
+
readonly containerRole: {
|
|
500
|
+
readonly type: import('vue').PropType<string>;
|
|
501
|
+
readonly required: false;
|
|
502
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
503
|
+
__epPropKey: true;
|
|
504
|
+
} & {
|
|
505
|
+
readonly default: undefined;
|
|
402
506
|
};
|
|
403
|
-
|
|
404
|
-
type: import('vue').PropType<string |
|
|
405
|
-
|
|
507
|
+
readonly tabindex: {
|
|
508
|
+
readonly type: import('vue').PropType<string | number>;
|
|
509
|
+
readonly required: false;
|
|
510
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
511
|
+
__epPropKey: true;
|
|
512
|
+
} & {
|
|
513
|
+
readonly default: 0;
|
|
406
514
|
};
|
|
407
|
-
|
|
408
|
-
type: import('vue').PropType<
|
|
409
|
-
|
|
515
|
+
readonly validateEvent: {
|
|
516
|
+
readonly type: import('vue').PropType<boolean>;
|
|
517
|
+
readonly required: false;
|
|
518
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
519
|
+
__epPropKey: true;
|
|
520
|
+
} & {
|
|
521
|
+
readonly default: true;
|
|
410
522
|
};
|
|
411
|
-
|
|
412
|
-
type: import('vue').PropType<
|
|
523
|
+
readonly inputStyle: {
|
|
524
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
525
|
+
readonly required: false;
|
|
526
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
527
|
+
__epPropKey: true;
|
|
528
|
+
} & {
|
|
529
|
+
readonly default: () => {};
|
|
530
|
+
};
|
|
531
|
+
readonly autofocus: BooleanConstructor;
|
|
532
|
+
readonly rows: {
|
|
533
|
+
readonly type: import('vue').PropType<number>;
|
|
534
|
+
readonly required: false;
|
|
535
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
536
|
+
__epPropKey: true;
|
|
537
|
+
} & {
|
|
538
|
+
readonly default: 2;
|
|
413
539
|
};
|
|
414
540
|
}>> & {
|
|
415
|
-
|
|
541
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
542
|
+
onChange?: ((value: string) => any) | undefined;
|
|
416
543
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
417
544
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
418
545
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -422,29 +549,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
422
549
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
423
550
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
424
551
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}, "disabled" | "type" | "input" | "select" | "textarea" | "ref" | "blur" | "focus" | "clear" | "modelValue" | "tabindex" | "validateEvent" | "clearIcon" | "modelModifiers" | "autosize" | "autocomplete" | "wordLimitPosition" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
552
|
+
onClear?: (() => any) | undefined;
|
|
553
|
+
}, "disabled" | "type" | "input" | "select" | "textarea" | "ref" | "blur" | "focus" | "autofocus" | "clear" | "modelValue" | "id" | "tabindex" | "validateEvent" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
428
554
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
429
555
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
430
556
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
431
557
|
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
432
|
-
autosize: import('vue').Ref<import('element-plus').InputAutoSize
|
|
558
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
433
559
|
isComposing: import('vue').Ref<boolean>;
|
|
434
560
|
focus: () => void | undefined;
|
|
435
561
|
blur: () => void | undefined;
|
|
436
562
|
select: () => void;
|
|
437
|
-
clear: (
|
|
563
|
+
clear: () => void;
|
|
438
564
|
resizeTextarea: () => void;
|
|
439
565
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
440
566
|
$slots: {
|
|
441
|
-
prepend
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
suffix?: (props: {}) => any;
|
|
446
|
-
} & {
|
|
447
|
-
append?: (props: {}) => any;
|
|
567
|
+
prepend?(_: {}): any;
|
|
568
|
+
prefix?(_: {}): any;
|
|
569
|
+
suffix?(_: {}): any;
|
|
570
|
+
append?(_: {}): any;
|
|
448
571
|
};
|
|
449
572
|
}) | null;
|
|
450
573
|
}, any>;
|