@bscjc/webui 1.5.0 → 1.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/README.md +12 -11
- package/dist/components/JcInputTag/index.d.ts +214 -0
- package/dist/components/JcInputTag/index.vue.d.ts +126 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/es/index.mjs +1686 -1438
- package/dist/index.css +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/lib/index.cjs +9 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/components/JcInputTag/index.d.ts +710 -0
- package/dist/types/components/JcInputTag/index.vue.d.ts +1124 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1124 @@
|
|
|
1
|
+
/** 字段配置项类型 */
|
|
2
|
+
export interface InputTagFieldItem {
|
|
3
|
+
/** 字段唯一标识 */
|
|
4
|
+
key: string;
|
|
5
|
+
/** 字段显示名称 */
|
|
6
|
+
label: string;
|
|
7
|
+
/** 字段专属占位符 */
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
/** 字段专属上限(覆盖全局) */
|
|
10
|
+
maxTags?: number;
|
|
11
|
+
}
|
|
12
|
+
/** 组件 Props 类型 */
|
|
13
|
+
export interface Props {
|
|
14
|
+
/** v-model 绑定值 */
|
|
15
|
+
modelValue?: Record<string, string[]>;
|
|
16
|
+
/** 字段配置 */
|
|
17
|
+
fields?: InputTagFieldItem[];
|
|
18
|
+
/** 每字段最大标签数 */
|
|
19
|
+
maxTags?: number;
|
|
20
|
+
/** 输入框占位符 */
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
/** 禁用状态 */
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/** 是否显示清空按钮 */
|
|
25
|
+
clearable?: boolean;
|
|
26
|
+
/** 是否启用批量添加 */
|
|
27
|
+
bulkAdd?: boolean;
|
|
28
|
+
/** 组件尺寸 */
|
|
29
|
+
size?: "small" | "default" | "large";
|
|
30
|
+
}
|
|
31
|
+
declare function addTags(tags: string[], source: "enter" | "paste" | "bulk"): void;
|
|
32
|
+
declare function removeTag(tag: string): void;
|
|
33
|
+
declare function clearTags(): void;
|
|
34
|
+
declare function __VLS_template(): {
|
|
35
|
+
attrs: Partial<{}>;
|
|
36
|
+
slots: {
|
|
37
|
+
tag?(_: {
|
|
38
|
+
key: string;
|
|
39
|
+
tag: string;
|
|
40
|
+
index: number;
|
|
41
|
+
fieldKey: string;
|
|
42
|
+
remove: () => void;
|
|
43
|
+
}): any;
|
|
44
|
+
empty?(_: {
|
|
45
|
+
fieldKey: string;
|
|
46
|
+
}): any;
|
|
47
|
+
};
|
|
48
|
+
refs: {
|
|
49
|
+
inputRef: ({
|
|
50
|
+
$: import('vue').ComponentInternalInstance;
|
|
51
|
+
$data: {};
|
|
52
|
+
$props: Partial<{
|
|
53
|
+
readonly disabled: boolean;
|
|
54
|
+
readonly id: string;
|
|
55
|
+
readonly type: string;
|
|
56
|
+
readonly modelValue: string | number | null | undefined;
|
|
57
|
+
readonly tabindex: string | number;
|
|
58
|
+
readonly readonly: boolean;
|
|
59
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
60
|
+
readonly autocomplete: string;
|
|
61
|
+
readonly containerRole: string;
|
|
62
|
+
readonly validateEvent: boolean;
|
|
63
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
64
|
+
readonly rows: number;
|
|
65
|
+
readonly clearable: boolean;
|
|
66
|
+
readonly showPassword: boolean;
|
|
67
|
+
readonly showWordLimit: boolean;
|
|
68
|
+
readonly autofocus: boolean;
|
|
69
|
+
}> & Omit<{
|
|
70
|
+
readonly modelValue: string | number | null;
|
|
71
|
+
readonly autocomplete: string;
|
|
72
|
+
readonly disabled: boolean;
|
|
73
|
+
readonly clearable: boolean;
|
|
74
|
+
readonly validateEvent: boolean;
|
|
75
|
+
readonly tabindex: string | number;
|
|
76
|
+
readonly type: string;
|
|
77
|
+
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
78
|
+
readonly autofocus: boolean;
|
|
79
|
+
readonly readonly: boolean;
|
|
80
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
81
|
+
readonly showPassword: boolean;
|
|
82
|
+
readonly showWordLimit: boolean;
|
|
83
|
+
readonly rows: number;
|
|
84
|
+
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
85
|
+
readonly ariaLabel?: string | undefined;
|
|
86
|
+
readonly id?: string | undefined;
|
|
87
|
+
readonly placeholder?: string | undefined;
|
|
88
|
+
readonly suffixIcon?: (string | import('vue').Component) | undefined;
|
|
89
|
+
readonly form?: string | undefined;
|
|
90
|
+
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
91
|
+
readonly prefixIcon?: (string | import('vue').Component) | undefined;
|
|
92
|
+
readonly maxlength?: (string | number) | undefined;
|
|
93
|
+
readonly minlength?: (string | number) | undefined;
|
|
94
|
+
readonly formatter?: Function | undefined;
|
|
95
|
+
readonly parser?: Function | undefined;
|
|
96
|
+
readonly containerRole?: string | undefined;
|
|
97
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
98
|
+
onChange?: ((value: string) => any) | undefined | undefined;
|
|
99
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
100
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
101
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
102
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
103
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
104
|
+
onInput?: ((value: string) => any) | undefined | undefined;
|
|
105
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
106
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
107
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
108
|
+
onClear?: (() => any) | undefined | undefined;
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "id" | "modelValue" | "autocomplete" | "disabled" | "clearable" | "validateEvent" | "tabindex" | "type" | "inputStyle" | "autofocus" | "readonly" | "autosize" | "showPassword" | "showWordLimit" | "containerRole" | "rows">;
|
|
110
|
+
$attrs: {
|
|
111
|
+
[x: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
$refs: {
|
|
114
|
+
[x: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
$slots: Readonly<{
|
|
117
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
120
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
121
|
+
$host: Element | null;
|
|
122
|
+
$emit: ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
123
|
+
$el: any;
|
|
124
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
125
|
+
readonly ariaLabel: StringConstructor;
|
|
126
|
+
readonly id: {
|
|
127
|
+
readonly type: import('vue').PropType<string>;
|
|
128
|
+
readonly required: false;
|
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
+
__epPropKey: true;
|
|
131
|
+
} & {
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly size: {
|
|
135
|
+
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
136
|
+
readonly required: false;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
};
|
|
140
|
+
readonly disabled: BooleanConstructor;
|
|
141
|
+
readonly modelValue: {
|
|
142
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
} & {
|
|
147
|
+
readonly default: "";
|
|
148
|
+
};
|
|
149
|
+
readonly maxlength: {
|
|
150
|
+
readonly type: import('vue').PropType<string | number>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
readonly minlength: {
|
|
156
|
+
readonly type: import('vue').PropType<string | number>;
|
|
157
|
+
readonly required: false;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
|
+
__epPropKey: true;
|
|
160
|
+
};
|
|
161
|
+
readonly type: {
|
|
162
|
+
readonly type: import('vue').PropType<string>;
|
|
163
|
+
readonly required: false;
|
|
164
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
165
|
+
__epPropKey: true;
|
|
166
|
+
} & {
|
|
167
|
+
readonly default: "text";
|
|
168
|
+
};
|
|
169
|
+
readonly resize: {
|
|
170
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
171
|
+
readonly required: false;
|
|
172
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
|
+
__epPropKey: true;
|
|
174
|
+
};
|
|
175
|
+
readonly autosize: {
|
|
176
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
177
|
+
readonly required: false;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
+
__epPropKey: true;
|
|
180
|
+
} & {
|
|
181
|
+
readonly default: false;
|
|
182
|
+
};
|
|
183
|
+
readonly autocomplete: {
|
|
184
|
+
readonly type: import('vue').PropType<string>;
|
|
185
|
+
readonly required: false;
|
|
186
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
187
|
+
__epPropKey: true;
|
|
188
|
+
} & {
|
|
189
|
+
readonly default: "off";
|
|
190
|
+
};
|
|
191
|
+
readonly formatter: {
|
|
192
|
+
readonly type: import('vue').PropType<Function>;
|
|
193
|
+
readonly required: false;
|
|
194
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
|
+
__epPropKey: true;
|
|
196
|
+
};
|
|
197
|
+
readonly parser: {
|
|
198
|
+
readonly type: import('vue').PropType<Function>;
|
|
199
|
+
readonly required: false;
|
|
200
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
|
+
__epPropKey: true;
|
|
202
|
+
};
|
|
203
|
+
readonly placeholder: {
|
|
204
|
+
readonly type: import('vue').PropType<string>;
|
|
205
|
+
readonly required: false;
|
|
206
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
207
|
+
__epPropKey: true;
|
|
208
|
+
};
|
|
209
|
+
readonly form: {
|
|
210
|
+
readonly type: import('vue').PropType<string>;
|
|
211
|
+
readonly required: false;
|
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
213
|
+
__epPropKey: true;
|
|
214
|
+
};
|
|
215
|
+
readonly readonly: BooleanConstructor;
|
|
216
|
+
readonly clearable: BooleanConstructor;
|
|
217
|
+
readonly showPassword: BooleanConstructor;
|
|
218
|
+
readonly showWordLimit: BooleanConstructor;
|
|
219
|
+
readonly suffixIcon: {
|
|
220
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
221
|
+
readonly required: false;
|
|
222
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
223
|
+
__epPropKey: true;
|
|
224
|
+
};
|
|
225
|
+
readonly prefixIcon: {
|
|
226
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
readonly containerRole: {
|
|
232
|
+
readonly type: import('vue').PropType<string>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
} & {
|
|
237
|
+
readonly default: undefined;
|
|
238
|
+
};
|
|
239
|
+
readonly tabindex: {
|
|
240
|
+
readonly type: import('vue').PropType<string | number>;
|
|
241
|
+
readonly required: false;
|
|
242
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
243
|
+
__epPropKey: true;
|
|
244
|
+
} & {
|
|
245
|
+
readonly default: 0;
|
|
246
|
+
};
|
|
247
|
+
readonly validateEvent: {
|
|
248
|
+
readonly type: import('vue').PropType<boolean>;
|
|
249
|
+
readonly required: false;
|
|
250
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
|
+
__epPropKey: true;
|
|
252
|
+
} & {
|
|
253
|
+
readonly default: true;
|
|
254
|
+
};
|
|
255
|
+
readonly inputStyle: {
|
|
256
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
257
|
+
readonly required: false;
|
|
258
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
|
+
__epPropKey: true;
|
|
260
|
+
} & {
|
|
261
|
+
readonly default: () => {};
|
|
262
|
+
};
|
|
263
|
+
readonly autofocus: BooleanConstructor;
|
|
264
|
+
readonly rows: {
|
|
265
|
+
readonly type: import('vue').PropType<number>;
|
|
266
|
+
readonly required: false;
|
|
267
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
|
+
__epPropKey: true;
|
|
269
|
+
} & {
|
|
270
|
+
readonly default: 2;
|
|
271
|
+
};
|
|
272
|
+
}>> & {
|
|
273
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
274
|
+
onChange?: ((value: string) => any) | undefined;
|
|
275
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
276
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
277
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
278
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
279
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
280
|
+
onInput?: ((value: string) => any) | undefined;
|
|
281
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
282
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
283
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
284
|
+
onClear?: (() => any) | undefined;
|
|
285
|
+
}, {
|
|
286
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
287
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
288
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
289
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
290
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
291
|
+
isComposing: import('vue').Ref<boolean>;
|
|
292
|
+
focus: () => void | undefined;
|
|
293
|
+
blur: () => void | undefined;
|
|
294
|
+
select: () => void;
|
|
295
|
+
clear: () => void;
|
|
296
|
+
resizeTextarea: () => void;
|
|
297
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
298
|
+
input: (value: string) => void;
|
|
299
|
+
clear: () => void;
|
|
300
|
+
"update:modelValue": (value: string) => void;
|
|
301
|
+
change: (value: string) => void;
|
|
302
|
+
blur: (evt: FocusEvent) => void;
|
|
303
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
304
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
305
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
306
|
+
focus: (evt: FocusEvent) => void;
|
|
307
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
308
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
309
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
310
|
+
}, string, {
|
|
311
|
+
readonly disabled: boolean;
|
|
312
|
+
readonly id: string;
|
|
313
|
+
readonly type: string;
|
|
314
|
+
readonly modelValue: string | number | null | undefined;
|
|
315
|
+
readonly tabindex: string | number;
|
|
316
|
+
readonly readonly: boolean;
|
|
317
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
318
|
+
readonly autocomplete: string;
|
|
319
|
+
readonly containerRole: string;
|
|
320
|
+
readonly validateEvent: boolean;
|
|
321
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
322
|
+
readonly rows: number;
|
|
323
|
+
readonly clearable: boolean;
|
|
324
|
+
readonly showPassword: boolean;
|
|
325
|
+
readonly showWordLimit: boolean;
|
|
326
|
+
readonly autofocus: boolean;
|
|
327
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
328
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
329
|
+
created?: (() => void) | (() => void)[];
|
|
330
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
331
|
+
mounted?: (() => void) | (() => void)[];
|
|
332
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
333
|
+
updated?: (() => void) | (() => void)[];
|
|
334
|
+
activated?: (() => void) | (() => void)[];
|
|
335
|
+
deactivated?: (() => void) | (() => void)[];
|
|
336
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
337
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
338
|
+
destroyed?: (() => void) | (() => void)[];
|
|
339
|
+
unmounted?: (() => void) | (() => void)[];
|
|
340
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
341
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
342
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
343
|
+
};
|
|
344
|
+
$forceUpdate: () => void;
|
|
345
|
+
$nextTick: typeof import('vue').nextTick;
|
|
346
|
+
$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;
|
|
347
|
+
} & Readonly<{
|
|
348
|
+
readonly disabled: boolean;
|
|
349
|
+
readonly id: string;
|
|
350
|
+
readonly type: string;
|
|
351
|
+
readonly modelValue: string | number | null | undefined;
|
|
352
|
+
readonly tabindex: string | number;
|
|
353
|
+
readonly readonly: boolean;
|
|
354
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
355
|
+
readonly autocomplete: string;
|
|
356
|
+
readonly containerRole: string;
|
|
357
|
+
readonly validateEvent: boolean;
|
|
358
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
359
|
+
readonly rows: number;
|
|
360
|
+
readonly clearable: boolean;
|
|
361
|
+
readonly showPassword: boolean;
|
|
362
|
+
readonly showWordLimit: boolean;
|
|
363
|
+
readonly autofocus: boolean;
|
|
364
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
365
|
+
readonly ariaLabel: StringConstructor;
|
|
366
|
+
readonly id: {
|
|
367
|
+
readonly type: import('vue').PropType<string>;
|
|
368
|
+
readonly required: false;
|
|
369
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
370
|
+
__epPropKey: true;
|
|
371
|
+
} & {
|
|
372
|
+
readonly default: undefined;
|
|
373
|
+
};
|
|
374
|
+
readonly size: {
|
|
375
|
+
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
376
|
+
readonly required: false;
|
|
377
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
378
|
+
__epPropKey: true;
|
|
379
|
+
};
|
|
380
|
+
readonly disabled: BooleanConstructor;
|
|
381
|
+
readonly modelValue: {
|
|
382
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
383
|
+
readonly required: false;
|
|
384
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
385
|
+
__epPropKey: true;
|
|
386
|
+
} & {
|
|
387
|
+
readonly default: "";
|
|
388
|
+
};
|
|
389
|
+
readonly maxlength: {
|
|
390
|
+
readonly type: import('vue').PropType<string | number>;
|
|
391
|
+
readonly required: false;
|
|
392
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
393
|
+
__epPropKey: true;
|
|
394
|
+
};
|
|
395
|
+
readonly minlength: {
|
|
396
|
+
readonly type: import('vue').PropType<string | number>;
|
|
397
|
+
readonly required: false;
|
|
398
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
+
__epPropKey: true;
|
|
400
|
+
};
|
|
401
|
+
readonly type: {
|
|
402
|
+
readonly type: import('vue').PropType<string>;
|
|
403
|
+
readonly required: false;
|
|
404
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
|
+
__epPropKey: true;
|
|
406
|
+
} & {
|
|
407
|
+
readonly default: "text";
|
|
408
|
+
};
|
|
409
|
+
readonly resize: {
|
|
410
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
411
|
+
readonly required: false;
|
|
412
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
413
|
+
__epPropKey: true;
|
|
414
|
+
};
|
|
415
|
+
readonly autosize: {
|
|
416
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
417
|
+
readonly required: false;
|
|
418
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
419
|
+
__epPropKey: true;
|
|
420
|
+
} & {
|
|
421
|
+
readonly default: false;
|
|
422
|
+
};
|
|
423
|
+
readonly autocomplete: {
|
|
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: "off";
|
|
430
|
+
};
|
|
431
|
+
readonly formatter: {
|
|
432
|
+
readonly type: import('vue').PropType<Function>;
|
|
433
|
+
readonly required: false;
|
|
434
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
435
|
+
__epPropKey: true;
|
|
436
|
+
};
|
|
437
|
+
readonly parser: {
|
|
438
|
+
readonly type: import('vue').PropType<Function>;
|
|
439
|
+
readonly required: false;
|
|
440
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
441
|
+
__epPropKey: true;
|
|
442
|
+
};
|
|
443
|
+
readonly placeholder: {
|
|
444
|
+
readonly type: import('vue').PropType<string>;
|
|
445
|
+
readonly required: false;
|
|
446
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
447
|
+
__epPropKey: true;
|
|
448
|
+
};
|
|
449
|
+
readonly form: {
|
|
450
|
+
readonly type: import('vue').PropType<string>;
|
|
451
|
+
readonly required: false;
|
|
452
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
453
|
+
__epPropKey: true;
|
|
454
|
+
};
|
|
455
|
+
readonly readonly: BooleanConstructor;
|
|
456
|
+
readonly clearable: BooleanConstructor;
|
|
457
|
+
readonly showPassword: BooleanConstructor;
|
|
458
|
+
readonly showWordLimit: BooleanConstructor;
|
|
459
|
+
readonly suffixIcon: {
|
|
460
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
461
|
+
readonly required: false;
|
|
462
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
|
+
__epPropKey: true;
|
|
464
|
+
};
|
|
465
|
+
readonly prefixIcon: {
|
|
466
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
467
|
+
readonly required: false;
|
|
468
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
469
|
+
__epPropKey: true;
|
|
470
|
+
};
|
|
471
|
+
readonly containerRole: {
|
|
472
|
+
readonly type: import('vue').PropType<string>;
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
475
|
+
__epPropKey: true;
|
|
476
|
+
} & {
|
|
477
|
+
readonly default: undefined;
|
|
478
|
+
};
|
|
479
|
+
readonly tabindex: {
|
|
480
|
+
readonly type: import('vue').PropType<string | number>;
|
|
481
|
+
readonly required: false;
|
|
482
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
483
|
+
__epPropKey: true;
|
|
484
|
+
} & {
|
|
485
|
+
readonly default: 0;
|
|
486
|
+
};
|
|
487
|
+
readonly validateEvent: {
|
|
488
|
+
readonly type: import('vue').PropType<boolean>;
|
|
489
|
+
readonly required: false;
|
|
490
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
491
|
+
__epPropKey: true;
|
|
492
|
+
} & {
|
|
493
|
+
readonly default: true;
|
|
494
|
+
};
|
|
495
|
+
readonly inputStyle: {
|
|
496
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
497
|
+
readonly required: false;
|
|
498
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
499
|
+
__epPropKey: true;
|
|
500
|
+
} & {
|
|
501
|
+
readonly default: () => {};
|
|
502
|
+
};
|
|
503
|
+
readonly autofocus: BooleanConstructor;
|
|
504
|
+
readonly rows: {
|
|
505
|
+
readonly type: import('vue').PropType<number>;
|
|
506
|
+
readonly required: false;
|
|
507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
508
|
+
__epPropKey: true;
|
|
509
|
+
} & {
|
|
510
|
+
readonly default: 2;
|
|
511
|
+
};
|
|
512
|
+
}>> & {
|
|
513
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
514
|
+
onChange?: ((value: string) => any) | undefined;
|
|
515
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
516
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
517
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
518
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
519
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
520
|
+
onInput?: ((value: string) => any) | undefined;
|
|
521
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
522
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
523
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
524
|
+
onClear?: (() => any) | undefined;
|
|
525
|
+
}, "clear" | "blur" | "focus" | "id" | "modelValue" | "autocomplete" | "disabled" | "clearable" | "validateEvent" | "tabindex" | "type" | "inputStyle" | "select" | "autofocus" | "ref" | "input" | "textarea" | "readonly" | "autosize" | "showPassword" | "showWordLimit" | "containerRole" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
526
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
527
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
528
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
529
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
530
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
531
|
+
isComposing: import('vue').Ref<boolean>;
|
|
532
|
+
focus: () => void | undefined;
|
|
533
|
+
blur: () => void | undefined;
|
|
534
|
+
select: () => void;
|
|
535
|
+
clear: () => void;
|
|
536
|
+
resizeTextarea: () => void;
|
|
537
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
538
|
+
$slots: {
|
|
539
|
+
prepend?(_: {}): any;
|
|
540
|
+
prefix?(_: {}): any;
|
|
541
|
+
suffix?(_: {}): any;
|
|
542
|
+
append?(_: {}): any;
|
|
543
|
+
};
|
|
544
|
+
}) | null;
|
|
545
|
+
};
|
|
546
|
+
rootEl: HTMLDivElement;
|
|
547
|
+
};
|
|
548
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
549
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
550
|
+
focus: () => void | undefined;
|
|
551
|
+
blur: () => void | undefined;
|
|
552
|
+
clear: typeof clearTags;
|
|
553
|
+
addTags: typeof addTags;
|
|
554
|
+
removeTag: typeof removeTag;
|
|
555
|
+
activeKey: string;
|
|
556
|
+
setActiveKey: (key: string) => void;
|
|
557
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
558
|
+
clear: (payload: {
|
|
559
|
+
key: string;
|
|
560
|
+
}) => any;
|
|
561
|
+
"update:modelValue": (value: Record<string, string[]>) => any;
|
|
562
|
+
change: (payload: {
|
|
563
|
+
key: string;
|
|
564
|
+
tags: string[];
|
|
565
|
+
}) => any;
|
|
566
|
+
add: (payload: {
|
|
567
|
+
key: string;
|
|
568
|
+
tag: string;
|
|
569
|
+
source: "enter" | "paste" | "bulk";
|
|
570
|
+
}) => any;
|
|
571
|
+
remove: (payload: {
|
|
572
|
+
key: string;
|
|
573
|
+
tag: string;
|
|
574
|
+
}) => any;
|
|
575
|
+
exceed: (payload: {
|
|
576
|
+
key: string;
|
|
577
|
+
max: number;
|
|
578
|
+
attempted: string[];
|
|
579
|
+
}) => any;
|
|
580
|
+
"tab-change": (payload: {
|
|
581
|
+
from: string;
|
|
582
|
+
to: string;
|
|
583
|
+
}) => any;
|
|
584
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
585
|
+
onClear?: ((payload: {
|
|
586
|
+
key: string;
|
|
587
|
+
}) => any) | undefined;
|
|
588
|
+
"onUpdate:modelValue"?: ((value: Record<string, string[]>) => any) | undefined;
|
|
589
|
+
onChange?: ((payload: {
|
|
590
|
+
key: string;
|
|
591
|
+
tags: string[];
|
|
592
|
+
}) => any) | undefined;
|
|
593
|
+
onAdd?: ((payload: {
|
|
594
|
+
key: string;
|
|
595
|
+
tag: string;
|
|
596
|
+
source: "enter" | "paste" | "bulk";
|
|
597
|
+
}) => any) | undefined;
|
|
598
|
+
onRemove?: ((payload: {
|
|
599
|
+
key: string;
|
|
600
|
+
tag: string;
|
|
601
|
+
}) => any) | undefined;
|
|
602
|
+
onExceed?: ((payload: {
|
|
603
|
+
key: string;
|
|
604
|
+
max: number;
|
|
605
|
+
attempted: string[];
|
|
606
|
+
}) => any) | undefined;
|
|
607
|
+
"onTab-change"?: ((payload: {
|
|
608
|
+
from: string;
|
|
609
|
+
to: string;
|
|
610
|
+
}) => any) | undefined;
|
|
611
|
+
}>, {
|
|
612
|
+
size: "small" | "default" | "large";
|
|
613
|
+
modelValue: Record<string, string[]>;
|
|
614
|
+
disabled: boolean;
|
|
615
|
+
clearable: boolean;
|
|
616
|
+
placeholder: string;
|
|
617
|
+
fields: InputTagFieldItem[];
|
|
618
|
+
maxTags: number;
|
|
619
|
+
bulkAdd: boolean;
|
|
620
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
621
|
+
inputRef: ({
|
|
622
|
+
$: import('vue').ComponentInternalInstance;
|
|
623
|
+
$data: {};
|
|
624
|
+
$props: Partial<{
|
|
625
|
+
readonly disabled: boolean;
|
|
626
|
+
readonly id: string;
|
|
627
|
+
readonly type: string;
|
|
628
|
+
readonly modelValue: string | number | null | undefined;
|
|
629
|
+
readonly tabindex: string | number;
|
|
630
|
+
readonly readonly: boolean;
|
|
631
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
632
|
+
readonly autocomplete: string;
|
|
633
|
+
readonly containerRole: string;
|
|
634
|
+
readonly validateEvent: boolean;
|
|
635
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
636
|
+
readonly rows: number;
|
|
637
|
+
readonly clearable: boolean;
|
|
638
|
+
readonly showPassword: boolean;
|
|
639
|
+
readonly showWordLimit: boolean;
|
|
640
|
+
readonly autofocus: boolean;
|
|
641
|
+
}> & Omit<{
|
|
642
|
+
readonly modelValue: string | number | null;
|
|
643
|
+
readonly autocomplete: string;
|
|
644
|
+
readonly disabled: boolean;
|
|
645
|
+
readonly clearable: boolean;
|
|
646
|
+
readonly validateEvent: boolean;
|
|
647
|
+
readonly tabindex: string | number;
|
|
648
|
+
readonly type: string;
|
|
649
|
+
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
650
|
+
readonly autofocus: boolean;
|
|
651
|
+
readonly readonly: boolean;
|
|
652
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
653
|
+
readonly showPassword: boolean;
|
|
654
|
+
readonly showWordLimit: boolean;
|
|
655
|
+
readonly rows: number;
|
|
656
|
+
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
657
|
+
readonly ariaLabel?: string | undefined;
|
|
658
|
+
readonly id?: string | undefined;
|
|
659
|
+
readonly placeholder?: string | undefined;
|
|
660
|
+
readonly suffixIcon?: (string | import('vue').Component) | undefined;
|
|
661
|
+
readonly form?: string | undefined;
|
|
662
|
+
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
663
|
+
readonly prefixIcon?: (string | import('vue').Component) | undefined;
|
|
664
|
+
readonly maxlength?: (string | number) | undefined;
|
|
665
|
+
readonly minlength?: (string | number) | undefined;
|
|
666
|
+
readonly formatter?: Function | undefined;
|
|
667
|
+
readonly parser?: Function | undefined;
|
|
668
|
+
readonly containerRole?: string | undefined;
|
|
669
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
670
|
+
onChange?: ((value: string) => any) | undefined | undefined;
|
|
671
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
672
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
673
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
674
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
675
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
676
|
+
onInput?: ((value: string) => any) | undefined | undefined;
|
|
677
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
678
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
679
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
680
|
+
onClear?: (() => any) | undefined | undefined;
|
|
681
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "id" | "modelValue" | "autocomplete" | "disabled" | "clearable" | "validateEvent" | "tabindex" | "type" | "inputStyle" | "autofocus" | "readonly" | "autosize" | "showPassword" | "showWordLimit" | "containerRole" | "rows">;
|
|
682
|
+
$attrs: {
|
|
683
|
+
[x: string]: unknown;
|
|
684
|
+
};
|
|
685
|
+
$refs: {
|
|
686
|
+
[x: string]: unknown;
|
|
687
|
+
};
|
|
688
|
+
$slots: Readonly<{
|
|
689
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
690
|
+
}>;
|
|
691
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
692
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
693
|
+
$host: Element | null;
|
|
694
|
+
$emit: ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
695
|
+
$el: any;
|
|
696
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
697
|
+
readonly ariaLabel: StringConstructor;
|
|
698
|
+
readonly id: {
|
|
699
|
+
readonly type: import('vue').PropType<string>;
|
|
700
|
+
readonly required: false;
|
|
701
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
702
|
+
__epPropKey: true;
|
|
703
|
+
} & {
|
|
704
|
+
readonly default: undefined;
|
|
705
|
+
};
|
|
706
|
+
readonly size: {
|
|
707
|
+
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
708
|
+
readonly required: false;
|
|
709
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
710
|
+
__epPropKey: true;
|
|
711
|
+
};
|
|
712
|
+
readonly disabled: BooleanConstructor;
|
|
713
|
+
readonly modelValue: {
|
|
714
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
715
|
+
readonly required: false;
|
|
716
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
717
|
+
__epPropKey: true;
|
|
718
|
+
} & {
|
|
719
|
+
readonly default: "";
|
|
720
|
+
};
|
|
721
|
+
readonly maxlength: {
|
|
722
|
+
readonly type: import('vue').PropType<string | number>;
|
|
723
|
+
readonly required: false;
|
|
724
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
725
|
+
__epPropKey: true;
|
|
726
|
+
};
|
|
727
|
+
readonly minlength: {
|
|
728
|
+
readonly type: import('vue').PropType<string | number>;
|
|
729
|
+
readonly required: false;
|
|
730
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
731
|
+
__epPropKey: true;
|
|
732
|
+
};
|
|
733
|
+
readonly type: {
|
|
734
|
+
readonly type: import('vue').PropType<string>;
|
|
735
|
+
readonly required: false;
|
|
736
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
737
|
+
__epPropKey: true;
|
|
738
|
+
} & {
|
|
739
|
+
readonly default: "text";
|
|
740
|
+
};
|
|
741
|
+
readonly resize: {
|
|
742
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
743
|
+
readonly required: false;
|
|
744
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
745
|
+
__epPropKey: true;
|
|
746
|
+
};
|
|
747
|
+
readonly autosize: {
|
|
748
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
749
|
+
readonly required: false;
|
|
750
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
751
|
+
__epPropKey: true;
|
|
752
|
+
} & {
|
|
753
|
+
readonly default: false;
|
|
754
|
+
};
|
|
755
|
+
readonly autocomplete: {
|
|
756
|
+
readonly type: import('vue').PropType<string>;
|
|
757
|
+
readonly required: false;
|
|
758
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
759
|
+
__epPropKey: true;
|
|
760
|
+
} & {
|
|
761
|
+
readonly default: "off";
|
|
762
|
+
};
|
|
763
|
+
readonly formatter: {
|
|
764
|
+
readonly type: import('vue').PropType<Function>;
|
|
765
|
+
readonly required: false;
|
|
766
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
767
|
+
__epPropKey: true;
|
|
768
|
+
};
|
|
769
|
+
readonly parser: {
|
|
770
|
+
readonly type: import('vue').PropType<Function>;
|
|
771
|
+
readonly required: false;
|
|
772
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
773
|
+
__epPropKey: true;
|
|
774
|
+
};
|
|
775
|
+
readonly placeholder: {
|
|
776
|
+
readonly type: import('vue').PropType<string>;
|
|
777
|
+
readonly required: false;
|
|
778
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
779
|
+
__epPropKey: true;
|
|
780
|
+
};
|
|
781
|
+
readonly form: {
|
|
782
|
+
readonly type: import('vue').PropType<string>;
|
|
783
|
+
readonly required: false;
|
|
784
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
785
|
+
__epPropKey: true;
|
|
786
|
+
};
|
|
787
|
+
readonly readonly: BooleanConstructor;
|
|
788
|
+
readonly clearable: BooleanConstructor;
|
|
789
|
+
readonly showPassword: BooleanConstructor;
|
|
790
|
+
readonly showWordLimit: BooleanConstructor;
|
|
791
|
+
readonly suffixIcon: {
|
|
792
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
793
|
+
readonly required: false;
|
|
794
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
795
|
+
__epPropKey: true;
|
|
796
|
+
};
|
|
797
|
+
readonly prefixIcon: {
|
|
798
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
799
|
+
readonly required: false;
|
|
800
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
801
|
+
__epPropKey: true;
|
|
802
|
+
};
|
|
803
|
+
readonly containerRole: {
|
|
804
|
+
readonly type: import('vue').PropType<string>;
|
|
805
|
+
readonly required: false;
|
|
806
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
807
|
+
__epPropKey: true;
|
|
808
|
+
} & {
|
|
809
|
+
readonly default: undefined;
|
|
810
|
+
};
|
|
811
|
+
readonly tabindex: {
|
|
812
|
+
readonly type: import('vue').PropType<string | number>;
|
|
813
|
+
readonly required: false;
|
|
814
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
815
|
+
__epPropKey: true;
|
|
816
|
+
} & {
|
|
817
|
+
readonly default: 0;
|
|
818
|
+
};
|
|
819
|
+
readonly validateEvent: {
|
|
820
|
+
readonly type: import('vue').PropType<boolean>;
|
|
821
|
+
readonly required: false;
|
|
822
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
823
|
+
__epPropKey: true;
|
|
824
|
+
} & {
|
|
825
|
+
readonly default: true;
|
|
826
|
+
};
|
|
827
|
+
readonly inputStyle: {
|
|
828
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
829
|
+
readonly required: false;
|
|
830
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
831
|
+
__epPropKey: true;
|
|
832
|
+
} & {
|
|
833
|
+
readonly default: () => {};
|
|
834
|
+
};
|
|
835
|
+
readonly autofocus: BooleanConstructor;
|
|
836
|
+
readonly rows: {
|
|
837
|
+
readonly type: import('vue').PropType<number>;
|
|
838
|
+
readonly required: false;
|
|
839
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
840
|
+
__epPropKey: true;
|
|
841
|
+
} & {
|
|
842
|
+
readonly default: 2;
|
|
843
|
+
};
|
|
844
|
+
}>> & {
|
|
845
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
846
|
+
onChange?: ((value: string) => any) | undefined;
|
|
847
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
848
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
849
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
850
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
851
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
852
|
+
onInput?: ((value: string) => any) | undefined;
|
|
853
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
854
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
855
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
856
|
+
onClear?: (() => any) | undefined;
|
|
857
|
+
}, {
|
|
858
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
859
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
860
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
861
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
862
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
863
|
+
isComposing: import('vue').Ref<boolean>;
|
|
864
|
+
focus: () => void | undefined;
|
|
865
|
+
blur: () => void | undefined;
|
|
866
|
+
select: () => void;
|
|
867
|
+
clear: () => void;
|
|
868
|
+
resizeTextarea: () => void;
|
|
869
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
870
|
+
input: (value: string) => void;
|
|
871
|
+
clear: () => void;
|
|
872
|
+
"update:modelValue": (value: string) => void;
|
|
873
|
+
change: (value: string) => void;
|
|
874
|
+
blur: (evt: FocusEvent) => void;
|
|
875
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
876
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
877
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
878
|
+
focus: (evt: FocusEvent) => void;
|
|
879
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
880
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
881
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
882
|
+
}, string, {
|
|
883
|
+
readonly disabled: boolean;
|
|
884
|
+
readonly id: string;
|
|
885
|
+
readonly type: string;
|
|
886
|
+
readonly modelValue: string | number | null | undefined;
|
|
887
|
+
readonly tabindex: string | number;
|
|
888
|
+
readonly readonly: boolean;
|
|
889
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
890
|
+
readonly autocomplete: string;
|
|
891
|
+
readonly containerRole: string;
|
|
892
|
+
readonly validateEvent: boolean;
|
|
893
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
894
|
+
readonly rows: number;
|
|
895
|
+
readonly clearable: boolean;
|
|
896
|
+
readonly showPassword: boolean;
|
|
897
|
+
readonly showWordLimit: boolean;
|
|
898
|
+
readonly autofocus: boolean;
|
|
899
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
900
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
901
|
+
created?: (() => void) | (() => void)[];
|
|
902
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
903
|
+
mounted?: (() => void) | (() => void)[];
|
|
904
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
905
|
+
updated?: (() => void) | (() => void)[];
|
|
906
|
+
activated?: (() => void) | (() => void)[];
|
|
907
|
+
deactivated?: (() => void) | (() => void)[];
|
|
908
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
909
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
910
|
+
destroyed?: (() => void) | (() => void)[];
|
|
911
|
+
unmounted?: (() => void) | (() => void)[];
|
|
912
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
913
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
914
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
915
|
+
};
|
|
916
|
+
$forceUpdate: () => void;
|
|
917
|
+
$nextTick: typeof import('vue').nextTick;
|
|
918
|
+
$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;
|
|
919
|
+
} & Readonly<{
|
|
920
|
+
readonly disabled: boolean;
|
|
921
|
+
readonly id: string;
|
|
922
|
+
readonly type: string;
|
|
923
|
+
readonly modelValue: string | number | null | undefined;
|
|
924
|
+
readonly tabindex: string | number;
|
|
925
|
+
readonly readonly: boolean;
|
|
926
|
+
readonly autosize: import('element-plus').InputAutoSize;
|
|
927
|
+
readonly autocomplete: string;
|
|
928
|
+
readonly containerRole: string;
|
|
929
|
+
readonly validateEvent: boolean;
|
|
930
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
931
|
+
readonly rows: number;
|
|
932
|
+
readonly clearable: boolean;
|
|
933
|
+
readonly showPassword: boolean;
|
|
934
|
+
readonly showWordLimit: boolean;
|
|
935
|
+
readonly autofocus: boolean;
|
|
936
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
937
|
+
readonly ariaLabel: StringConstructor;
|
|
938
|
+
readonly id: {
|
|
939
|
+
readonly type: import('vue').PropType<string>;
|
|
940
|
+
readonly required: false;
|
|
941
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
942
|
+
__epPropKey: true;
|
|
943
|
+
} & {
|
|
944
|
+
readonly default: undefined;
|
|
945
|
+
};
|
|
946
|
+
readonly size: {
|
|
947
|
+
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
948
|
+
readonly required: false;
|
|
949
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
950
|
+
__epPropKey: true;
|
|
951
|
+
};
|
|
952
|
+
readonly disabled: BooleanConstructor;
|
|
953
|
+
readonly modelValue: {
|
|
954
|
+
readonly type: import('vue').PropType<string | number | null | undefined>;
|
|
955
|
+
readonly required: false;
|
|
956
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
957
|
+
__epPropKey: true;
|
|
958
|
+
} & {
|
|
959
|
+
readonly default: "";
|
|
960
|
+
};
|
|
961
|
+
readonly maxlength: {
|
|
962
|
+
readonly type: import('vue').PropType<string | number>;
|
|
963
|
+
readonly required: false;
|
|
964
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
965
|
+
__epPropKey: true;
|
|
966
|
+
};
|
|
967
|
+
readonly minlength: {
|
|
968
|
+
readonly type: import('vue').PropType<string | number>;
|
|
969
|
+
readonly required: false;
|
|
970
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
971
|
+
__epPropKey: true;
|
|
972
|
+
};
|
|
973
|
+
readonly type: {
|
|
974
|
+
readonly type: import('vue').PropType<string>;
|
|
975
|
+
readonly required: false;
|
|
976
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
977
|
+
__epPropKey: true;
|
|
978
|
+
} & {
|
|
979
|
+
readonly default: "text";
|
|
980
|
+
};
|
|
981
|
+
readonly resize: {
|
|
982
|
+
readonly type: import('vue').PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
983
|
+
readonly required: false;
|
|
984
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
985
|
+
__epPropKey: true;
|
|
986
|
+
};
|
|
987
|
+
readonly autosize: {
|
|
988
|
+
readonly type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
989
|
+
readonly required: false;
|
|
990
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
991
|
+
__epPropKey: true;
|
|
992
|
+
} & {
|
|
993
|
+
readonly default: false;
|
|
994
|
+
};
|
|
995
|
+
readonly autocomplete: {
|
|
996
|
+
readonly type: import('vue').PropType<string>;
|
|
997
|
+
readonly required: false;
|
|
998
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
999
|
+
__epPropKey: true;
|
|
1000
|
+
} & {
|
|
1001
|
+
readonly default: "off";
|
|
1002
|
+
};
|
|
1003
|
+
readonly formatter: {
|
|
1004
|
+
readonly type: import('vue').PropType<Function>;
|
|
1005
|
+
readonly required: false;
|
|
1006
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1007
|
+
__epPropKey: true;
|
|
1008
|
+
};
|
|
1009
|
+
readonly parser: {
|
|
1010
|
+
readonly type: import('vue').PropType<Function>;
|
|
1011
|
+
readonly required: false;
|
|
1012
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1013
|
+
__epPropKey: true;
|
|
1014
|
+
};
|
|
1015
|
+
readonly placeholder: {
|
|
1016
|
+
readonly type: import('vue').PropType<string>;
|
|
1017
|
+
readonly required: false;
|
|
1018
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1019
|
+
__epPropKey: true;
|
|
1020
|
+
};
|
|
1021
|
+
readonly form: {
|
|
1022
|
+
readonly type: import('vue').PropType<string>;
|
|
1023
|
+
readonly required: false;
|
|
1024
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1025
|
+
__epPropKey: true;
|
|
1026
|
+
};
|
|
1027
|
+
readonly readonly: BooleanConstructor;
|
|
1028
|
+
readonly clearable: BooleanConstructor;
|
|
1029
|
+
readonly showPassword: BooleanConstructor;
|
|
1030
|
+
readonly showWordLimit: BooleanConstructor;
|
|
1031
|
+
readonly suffixIcon: {
|
|
1032
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
1033
|
+
readonly required: false;
|
|
1034
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1035
|
+
__epPropKey: true;
|
|
1036
|
+
};
|
|
1037
|
+
readonly prefixIcon: {
|
|
1038
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
1039
|
+
readonly required: false;
|
|
1040
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1041
|
+
__epPropKey: true;
|
|
1042
|
+
};
|
|
1043
|
+
readonly containerRole: {
|
|
1044
|
+
readonly type: import('vue').PropType<string>;
|
|
1045
|
+
readonly required: false;
|
|
1046
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1047
|
+
__epPropKey: true;
|
|
1048
|
+
} & {
|
|
1049
|
+
readonly default: undefined;
|
|
1050
|
+
};
|
|
1051
|
+
readonly tabindex: {
|
|
1052
|
+
readonly type: import('vue').PropType<string | number>;
|
|
1053
|
+
readonly required: false;
|
|
1054
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1055
|
+
__epPropKey: true;
|
|
1056
|
+
} & {
|
|
1057
|
+
readonly default: 0;
|
|
1058
|
+
};
|
|
1059
|
+
readonly validateEvent: {
|
|
1060
|
+
readonly type: import('vue').PropType<boolean>;
|
|
1061
|
+
readonly required: false;
|
|
1062
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1063
|
+
__epPropKey: true;
|
|
1064
|
+
} & {
|
|
1065
|
+
readonly default: true;
|
|
1066
|
+
};
|
|
1067
|
+
readonly inputStyle: {
|
|
1068
|
+
readonly type: import('vue').PropType<import('vue').StyleValue>;
|
|
1069
|
+
readonly required: false;
|
|
1070
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1071
|
+
__epPropKey: true;
|
|
1072
|
+
} & {
|
|
1073
|
+
readonly default: () => {};
|
|
1074
|
+
};
|
|
1075
|
+
readonly autofocus: BooleanConstructor;
|
|
1076
|
+
readonly rows: {
|
|
1077
|
+
readonly type: import('vue').PropType<number>;
|
|
1078
|
+
readonly required: false;
|
|
1079
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1080
|
+
__epPropKey: true;
|
|
1081
|
+
} & {
|
|
1082
|
+
readonly default: 2;
|
|
1083
|
+
};
|
|
1084
|
+
}>> & {
|
|
1085
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1086
|
+
onChange?: ((value: string) => any) | undefined;
|
|
1087
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
1088
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
1089
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
1090
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1091
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1092
|
+
onInput?: ((value: string) => any) | undefined;
|
|
1093
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
1094
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
1095
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
1096
|
+
onClear?: (() => any) | undefined;
|
|
1097
|
+
}, "clear" | "blur" | "focus" | "id" | "modelValue" | "autocomplete" | "disabled" | "clearable" | "validateEvent" | "tabindex" | "type" | "inputStyle" | "select" | "autofocus" | "ref" | "input" | "textarea" | "readonly" | "autosize" | "showPassword" | "showWordLimit" | "containerRole" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
1098
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
1099
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
1100
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
1101
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
1102
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize>;
|
|
1103
|
+
isComposing: import('vue').Ref<boolean>;
|
|
1104
|
+
focus: () => void | undefined;
|
|
1105
|
+
blur: () => void | undefined;
|
|
1106
|
+
select: () => void;
|
|
1107
|
+
clear: () => void;
|
|
1108
|
+
resizeTextarea: () => void;
|
|
1109
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1110
|
+
$slots: {
|
|
1111
|
+
prepend?(_: {}): any;
|
|
1112
|
+
prefix?(_: {}): any;
|
|
1113
|
+
suffix?(_: {}): any;
|
|
1114
|
+
append?(_: {}): any;
|
|
1115
|
+
};
|
|
1116
|
+
}) | null;
|
|
1117
|
+
}, HTMLDivElement>;
|
|
1118
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1119
|
+
export default _default;
|
|
1120
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1121
|
+
new (): {
|
|
1122
|
+
$slots: S;
|
|
1123
|
+
};
|
|
1124
|
+
};
|