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