lew-ui 2.7.54 → 2.7.56

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.
Files changed (50) hide show
  1. package/LICENSE +21 -21
  2. package/dist/_components/CommonIcon.vue.d.ts +1 -1
  3. package/dist/_components/CommonInput.vue.d.ts +499 -0
  4. package/dist/components/data/collapse/src/emits.d.ts +1 -1
  5. package/dist/components/data/desc/index.d.ts +0 -1
  6. package/dist/components/data/desc/src/LewDesc.vue.d.ts +2 -6
  7. package/dist/components/data/table/src/LewTable.vue.d.ts +1 -1
  8. package/dist/components/data/tree/src/LewTree.vue.d.ts +12 -1
  9. package/dist/components/data/tree/src/props.d.ts +5 -0
  10. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +22 -0
  11. package/dist/components/feedback/drawer/src/props.d.ts +10 -0
  12. package/dist/components/feedback/modal/src/LewModal.vue.d.ts +38 -0
  13. package/dist/components/feedback/modal/src/props.d.ts +18 -0
  14. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +40 -31
  15. package/dist/components/form/cascader/src/cascader.d.ts +15 -0
  16. package/dist/components/form/cascader/src/emits.d.ts +5 -1
  17. package/dist/components/form/cascader/src/props.d.ts +15 -10
  18. package/dist/components/form/form/src/LewFormItem.vue.d.ts +9 -15
  19. package/dist/components/form/form/src/emits.d.ts +1 -1
  20. package/dist/components/form/form/src/props.d.ts +3 -6
  21. package/dist/components/form/index.d.ts +1 -1
  22. package/dist/components/form/input/src/LewInput.vue.d.ts +2 -2
  23. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +2 -2
  24. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -4
  25. package/dist/components/form/select/src/LewSelect.vue.d.ts +1480 -411
  26. package/dist/components/form/select/src/emits.d.ts +5 -1
  27. package/dist/components/form/select/src/props.d.ts +7 -2
  28. package/dist/components/form/switch/src/emits.d.ts +1 -1
  29. package/dist/components/form/tabs/src/props.d.ts +1 -1
  30. package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +4 -2
  31. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +40 -25
  32. package/dist/components/form/tree-select/src/props.d.ts +0 -6
  33. package/dist/components/form/tree-select-multiple/index.d.ts +3 -0
  34. package/dist/components/form/{select-multiple/src/LewSelectMultiple.vue.d.ts → tree-select-multiple/src/LewTreeSelectMultiple.vue.d.ts} +492 -930
  35. package/dist/components/form/tree-select-multiple/src/emits.d.ts +4 -0
  36. package/dist/components/form/{select-multiple → tree-select-multiple}/src/props.d.ts +63 -55
  37. package/dist/components/general/tag/src/LewTag.vue.d.ts +0 -2
  38. package/dist/components/general/tag/src/emits.d.ts +0 -1
  39. package/dist/hooks/index.d.ts +4 -2
  40. package/dist/hooks/useDOMCreate.d.ts +1 -0
  41. package/dist/hooks/useEventListener.d.ts +1 -0
  42. package/dist/hooks/useTreeSelection.d.ts +34 -0
  43. package/dist/index.css +1 -1
  44. package/dist/index.js +2119 -1780
  45. package/dist/index.umd.cjs +7 -7
  46. package/dist/types/components.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/dist/components/data/desc/src/emits.d.ts +0 -3
  49. package/dist/components/form/select-multiple/index.d.ts +0 -3
  50. package/dist/components/form/select-multiple/src/emits.d.ts +0 -11
@@ -53,6 +53,16 @@ export declare const drawerProps: {
53
53
  type: PropType<LewButtonProps>;
54
54
  validator: (value: unknown) => boolean;
55
55
  };
56
+ hideOkButton: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ validator: (value: any) => boolean;
60
+ };
61
+ hideCloseButton: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ validator: (value: any) => boolean;
65
+ };
56
66
  zIndex: {
57
67
  type: NumberConstructor;
58
68
  default: number;
@@ -48,12 +48,30 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
48
48
  };
49
49
  okButtonProps: {
50
50
  type: PropType<import('../../../..').LewButtonProps>;
51
+ typeComponents: {
52
+ name: string;
53
+ path: string;
54
+ }[];
51
55
  validator: (value: unknown) => boolean;
52
56
  };
53
57
  closeButtonProps: {
54
58
  type: PropType<import('../../../..').LewButtonProps>;
59
+ typeComponents: {
60
+ name: string;
61
+ path: string;
62
+ }[];
55
63
  validator: (value: unknown) => boolean;
56
64
  };
65
+ hideOkButton: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ validator: (value: any) => boolean;
69
+ };
70
+ hideCloseButton: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ validator: (value: any) => boolean;
74
+ };
57
75
  zIndex: {
58
76
  type: NumberConstructor;
59
77
  default: number;
@@ -102,12 +120,30 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
102
120
  };
103
121
  okButtonProps: {
104
122
  type: PropType<import('../../../..').LewButtonProps>;
123
+ typeComponents: {
124
+ name: string;
125
+ path: string;
126
+ }[];
105
127
  validator: (value: unknown) => boolean;
106
128
  };
107
129
  closeButtonProps: {
108
130
  type: PropType<import('../../../..').LewButtonProps>;
131
+ typeComponents: {
132
+ name: string;
133
+ path: string;
134
+ }[];
109
135
  validator: (value: unknown) => boolean;
110
136
  };
137
+ hideOkButton: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ validator: (value: any) => boolean;
141
+ };
142
+ hideCloseButton: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ validator: (value: any) => boolean;
146
+ };
111
147
  zIndex: {
112
148
  type: NumberConstructor;
113
149
  default: number;
@@ -127,6 +163,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
127
163
  closeOnClickOverlay: boolean;
128
164
  closeByEsc: boolean;
129
165
  hideFooter: boolean;
166
+ hideOkButton: boolean;
167
+ hideCloseButton: boolean;
130
168
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
131
169
  modalBodyRef: HTMLDivElement;
132
170
  }, any>;
@@ -44,12 +44,30 @@ export declare const modalProps: {
44
44
  };
45
45
  okButtonProps: {
46
46
  type: PropType<LewButtonProps>;
47
+ typeComponents: {
48
+ name: string;
49
+ path: string;
50
+ }[];
47
51
  validator: (value: unknown) => boolean;
48
52
  };
49
53
  closeButtonProps: {
50
54
  type: PropType<LewButtonProps>;
55
+ typeComponents: {
56
+ name: string;
57
+ path: string;
58
+ }[];
51
59
  validator: (value: unknown) => boolean;
52
60
  };
61
+ hideOkButton: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ validator: (value: any) => boolean;
65
+ };
66
+ hideCloseButton: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ validator: (value: any) => boolean;
70
+ };
53
71
  zIndex: {
54
72
  type: NumberConstructor;
55
73
  default: number;
@@ -240,7 +240,6 @@ declare function __VLS_template(): {
240
240
  }): any;
241
241
  };
242
242
  }) | null;
243
- lewCascaderRef: HTMLDivElement;
244
243
  };
245
244
  rootEl: HTMLDivElement;
246
245
  };
@@ -271,16 +270,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
271
270
  default: boolean;
272
271
  validator: (value: any) => boolean;
273
272
  };
274
- showAllLevels: {
275
- type: BooleanConstructor;
276
- default: boolean;
277
- validator: (value: any) => boolean;
278
- };
279
- multiple: {
280
- type: BooleanConstructor;
281
- default: boolean;
282
- validator: (value: any) => boolean;
283
- };
284
273
  free: {
285
274
  type: BooleanConstructor;
286
275
  default: boolean;
@@ -322,17 +311,32 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
322
311
  default: boolean;
323
312
  validator: (value: any) => boolean;
324
313
  };
314
+ onlyLeafSelectable: {
315
+ type: BooleanConstructor;
316
+ default: boolean;
317
+ validator: (value: any) => boolean;
318
+ };
319
+ multiple: {
320
+ type: BooleanConstructor;
321
+ default: boolean;
322
+ validator: (value: any) => boolean;
323
+ };
324
+ showAllLevels: {
325
+ type: BooleanConstructor;
326
+ default: boolean;
327
+ validator: (value: any) => boolean;
328
+ };
325
329
  modelValue: {
326
- type: globalThis.PropType<any>;
327
- required: true;
330
+ type: globalThis.PropType<string | string[]>;
328
331
  };
329
332
  }>, {
330
333
  show: typeof show;
331
334
  hide: typeof hide;
332
335
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
333
- change: (value?: string | undefined) => void;
336
+ change: (value: any) => void;
334
337
  clear: () => void;
335
- "update:modelValue": (value: any) => void;
338
+ delete: (value: string[], deletedItem: string) => void;
339
+ "update:modelValue": (value: string | string[] | undefined) => void;
336
340
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
337
341
  options: {
338
342
  type: PropType<LewCascaderOption[]>;
@@ -359,16 +363,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
359
363
  default: boolean;
360
364
  validator: (value: any) => boolean;
361
365
  };
362
- showAllLevels: {
363
- type: BooleanConstructor;
364
- default: boolean;
365
- validator: (value: any) => boolean;
366
- };
367
- multiple: {
368
- type: BooleanConstructor;
369
- default: boolean;
370
- validator: (value: any) => boolean;
371
- };
372
366
  free: {
373
367
  type: BooleanConstructor;
374
368
  default: boolean;
@@ -410,14 +404,29 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
410
404
  default: boolean;
411
405
  validator: (value: any) => boolean;
412
406
  };
407
+ onlyLeafSelectable: {
408
+ type: BooleanConstructor;
409
+ default: boolean;
410
+ validator: (value: any) => boolean;
411
+ };
412
+ multiple: {
413
+ type: BooleanConstructor;
414
+ default: boolean;
415
+ validator: (value: any) => boolean;
416
+ };
417
+ showAllLevels: {
418
+ type: BooleanConstructor;
419
+ default: boolean;
420
+ validator: (value: any) => boolean;
421
+ };
413
422
  modelValue: {
414
- type: globalThis.PropType<any>;
415
- required: true;
423
+ type: globalThis.PropType<string | string[]>;
416
424
  };
417
425
  }>> & Readonly<{
418
- onChange?: ((value?: string | undefined) => any) | undefined;
426
+ onChange?: ((value: any) => any) | undefined;
419
427
  onClear?: (() => any) | undefined;
420
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
428
+ onDelete?: ((value: string[], deletedItem: string) => any) | undefined;
429
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
421
430
  }>, {
422
431
  size: import('../../../..').LewSize;
423
432
  disabled: boolean;
@@ -425,10 +434,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
425
434
  readonly: boolean;
426
435
  trigger: import('../../../..').LewTrigger;
427
436
  clearable: boolean;
428
- initMethod: () => Promise<LewCascaderOption[]>;
429
437
  multiple: boolean;
438
+ initMethod: () => Promise<LewCascaderOption[]>;
430
439
  free: boolean;
431
440
  loadMethod: () => Promise<LewCascaderOption[]>;
441
+ onlyLeafSelectable: boolean;
432
442
  showAllLevels: boolean;
433
443
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
434
444
  lewPopoverRef: ({
@@ -664,7 +674,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
664
674
  }): any;
665
675
  };
666
676
  }) | null;
667
- lewCascaderRef: HTMLDivElement;
668
677
  }, HTMLDivElement>;
669
678
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
670
679
  export default _default;
@@ -0,0 +1,15 @@
1
+ import { LewCascaderOption } from '../../../../types';
2
+ export declare class CascaderNodeCache {
3
+ private nodeCache;
4
+ get(value: string): LewCascaderOption | undefined;
5
+ set(value: string, node: LewCascaderOption): void;
6
+ has(value: string): boolean;
7
+ clear(): void;
8
+ }
9
+ export declare function formatTree(tree: LewCascaderOption[], parentValuePaths?: string[], parentLabelPaths?: string[]): LewCascaderOption[];
10
+ export declare function findObjectByValue(treeList: LewCascaderOption[], value: string, cache?: CascaderNodeCache): LewCascaderOption | null;
11
+ export declare function findAndAddChildrenByValue(tree: LewCascaderOption[], value: string, children: LewCascaderOption[], cache?: CascaderNodeCache): LewCascaderOption[];
12
+ export declare function findChildrenByValue(tree: LewCascaderOption[], value: string, cache?: CascaderNodeCache): LewCascaderOption[];
13
+ export declare function createCascaderCache(): CascaderNodeCache;
14
+ export declare function validateCascaderTree(tree: LewCascaderOption[]): boolean;
15
+ export declare function findAllChildrenByValue(tree: LewCascaderOption[], value: string): LewCascaderOption[];
@@ -1,4 +1,8 @@
1
1
  export declare const cascaderEmits: {
2
- readonly change: (value?: string) => string | undefined;
2
+ readonly change: (value: any) => any;
3
3
  readonly clear: () => boolean;
4
+ readonly delete: (value: string[], deletedItem: string) => {
5
+ value: string[];
6
+ deletedItem: string;
7
+ };
4
8
  };
@@ -27,16 +27,6 @@ export declare const cascaderProps: {
27
27
  default: boolean;
28
28
  validator: (value: any) => boolean;
29
29
  };
30
- showAllLevels: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- validator: (value: any) => boolean;
34
- };
35
- multiple: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- validator: (value: any) => boolean;
39
- };
40
30
  free: {
41
31
  type: BooleanConstructor;
42
32
  default: boolean;
@@ -78,5 +68,20 @@ export declare const cascaderProps: {
78
68
  default: boolean;
79
69
  validator: (value: any) => boolean;
80
70
  };
71
+ onlyLeafSelectable: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ validator: (value: any) => boolean;
75
+ };
76
+ multiple: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ validator: (value: any) => boolean;
80
+ };
81
+ showAllLevels: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ validator: (value: any) => boolean;
85
+ };
81
86
  };
82
87
  export type LewCascaderProps = ExtractPublicPropTypes<typeof cascaderProps>;
@@ -14,9 +14,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
14
14
  validator: (value: any) => boolean;
15
15
  };
16
16
  visible: {
17
- type: PropType<((formData: Record<string, any>) => boolean)>;
17
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
18
18
  default: () => boolean;
19
- validator: (value: any) => boolean;
20
19
  };
21
20
  required: {
22
21
  type: BooleanConstructor;
@@ -52,14 +51,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
52
51
  validator: (value: any) => boolean;
53
52
  };
54
53
  disabled: {
55
- type: PropType<((formData: Record<string, any>) => boolean)>;
54
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
56
55
  default: () => boolean;
57
- validator: (value: any) => boolean;
58
56
  };
59
57
  readonly: {
60
- type: PropType<((formData: Record<string, any>) => boolean)>;
58
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
61
59
  default: () => boolean;
62
- validator: (value: any) => boolean;
63
60
  };
64
61
  tips: {
65
62
  type: StringConstructor;
@@ -137,9 +134,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
137
134
  validator: (value: any) => boolean;
138
135
  };
139
136
  visible: {
140
- type: PropType<((formData: Record<string, any>) => boolean)>;
137
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
141
138
  default: () => boolean;
142
- validator: (value: any) => boolean;
143
139
  };
144
140
  required: {
145
141
  type: BooleanConstructor;
@@ -175,14 +171,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
175
171
  validator: (value: any) => boolean;
176
172
  };
177
173
  disabled: {
178
- type: PropType<((formData: Record<string, any>) => boolean)>;
174
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
179
175
  default: () => boolean;
180
- validator: (value: any) => boolean;
181
176
  };
182
177
  readonly: {
183
- type: PropType<((formData: Record<string, any>) => boolean)>;
178
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
184
179
  default: () => boolean;
185
- validator: (value: any) => boolean;
186
180
  };
187
181
  tips: {
188
182
  type: StringConstructor;
@@ -246,7 +240,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
246
240
  "onUpdate:modelValue"?: ((value: undefined) => any) | undefined;
247
241
  }>, {
248
242
  size: import('../../../..').LewSize;
249
- disabled: (formData: Record<string, any>) => boolean;
243
+ disabled: boolean | ((formData: Record<string, any>) => boolean);
250
244
  label: string;
251
245
  props: Record<string, any> | ((formData: Record<string, any>) => Record<string, any>);
252
246
  direction: import('../../../..').LewDirection;
@@ -256,10 +250,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
256
250
  required: boolean;
257
251
  between: boolean;
258
252
  labelWidth: import("csstype").Property.Width<0 | (string & {})>;
259
- readonly: (formData: Record<string, any>) => boolean;
253
+ readonly: boolean | ((formData: Record<string, any>) => boolean);
260
254
  id: string;
261
255
  field: string;
262
- visible: (formData: Record<string, any>) => boolean;
263
256
  as: "" | LewFormItemAs;
264
257
  errMessage: string;
265
258
  outputFormat: (params: {
@@ -269,6 +262,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
269
262
  value: unknown;
270
263
  }) => unknown;
271
264
  dependencies: string[];
265
+ visible: boolean | ((formData: Record<string, any>) => boolean);
272
266
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
273
267
  formItemRef: HTMLDivElement;
274
268
  }, any>;
@@ -1,6 +1,6 @@
1
1
  export declare const formEmits: {
2
2
  readonly change: (value: any) => any;
3
- readonly mounted: () => void;
3
+ readonly mounted: () => boolean;
4
4
  };
5
5
  export declare const formItemEmits: {
6
6
  readonly change: (value: any) => any;
@@ -70,9 +70,8 @@ export declare const formItemProps: {
70
70
  validator: (value: any) => boolean;
71
71
  };
72
72
  visible: {
73
- type: PropType<((formData: Record<string, any>) => boolean)>;
73
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
74
74
  default: () => boolean;
75
- validator: (value: any) => boolean;
76
75
  };
77
76
  required: {
78
77
  type: BooleanConstructor;
@@ -108,14 +107,12 @@ export declare const formItemProps: {
108
107
  validator: (value: any) => boolean;
109
108
  };
110
109
  disabled: {
111
- type: PropType<((formData: Record<string, any>) => boolean)>;
110
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
112
111
  default: () => boolean;
113
- validator: (value: any) => boolean;
114
112
  };
115
113
  readonly: {
116
- type: PropType<((formData: Record<string, any>) => boolean)>;
114
+ type: PropType<((formData: Record<string, any>) => boolean) | boolean>;
117
115
  default: () => boolean;
118
- validator: (value: any) => boolean;
119
116
  };
120
117
  tips: {
121
118
  type: StringConstructor;
@@ -11,11 +11,11 @@ export * from './input-tag';
11
11
  export * from './radio';
12
12
  export * from './rate';
13
13
  export * from './select';
14
- export * from './select-multiple';
15
14
  export * from './slider';
16
15
  export * from './slider-range';
17
16
  export * from './switch';
18
17
  export * from './tabs';
19
18
  export * from './textarea';
20
19
  export * from './tree-select';
20
+ export * from './tree-select-multiple';
21
21
  export * from './upload';
@@ -126,8 +126,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
126
126
  type: globalThis.PropType<string>;
127
127
  };
128
128
  }>, {
129
- toFocus: () => any;
130
- toBlur: () => any;
129
+ focus: () => any;
130
+ blur: () => any;
131
131
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
132
132
  input: (value?: string | undefined) => void;
133
133
  blur: (e: FocusEvent) => void;
@@ -1,4 +1,4 @@
1
- declare function toFocus(): void;
1
+ declare function focus(): void;
2
2
  declare function validCheck(): boolean;
3
3
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
4
  min: {
@@ -56,7 +56,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
56
56
  required: true;
57
57
  };
58
58
  }>, {
59
- toFocus: typeof toFocus;
59
+ focus: typeof focus;
60
60
  validCheck: typeof validCheck;
61
61
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
62
  input: (value?: string | undefined) => void;
@@ -246,8 +246,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
246
246
  "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
247
247
  onOk?: ((value?: string | undefined) => any) | undefined;
248
248
  }>, {
249
- toFocus: () => any;
250
- toBlur: () => any;
249
+ focus: () => any;
250
+ blur: () => any;
251
251
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
252
252
  input: (value?: string | undefined) => void;
253
253
  blur: (e: FocusEvent) => void;
@@ -427,8 +427,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
427
427
  "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
428
428
  onOk?: ((value?: string | undefined) => any) | undefined;
429
429
  }>, {
430
- toFocus: () => any;
431
- toBlur: () => any;
430
+ focus: () => any;
431
+ blur: () => any;
432
432
  }, {}, {}, {}, {
433
433
  maxLength: string | number;
434
434
  type: import('../../../..').LewInputType;