lew-ui 2.7.93 → 2.8.2

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 (94) hide show
  1. package/dist/_components/CloseButton.vue.d.ts +1 -1
  2. package/dist/_components/CloseIcon.vue.d.ts +1 -1
  3. package/dist/_components/CommonIcon.vue.d.ts +1 -1
  4. package/dist/_components/CommonInput.vue.d.ts +3 -81
  5. package/dist/auto-imports.d.ts +5 -0
  6. package/dist/components/data/pagination/src/LewPagination.vue.d.ts +13 -2
  7. package/dist/components/data/pagination/src/props.d.ts +5 -0
  8. package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +1 -1
  9. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -36
  10. package/dist/components/feedback/drawer/src/props.d.ts +5 -18
  11. package/dist/components/feedback/index.d.ts +0 -1
  12. package/dist/components/feedback/modal/src/LewModal.vue.d.ts +9 -52
  13. package/dist/components/feedback/modal/src/props.d.ts +5 -26
  14. package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +10 -444
  15. package/dist/components/feedback/popok/src/props.d.ts +5 -20
  16. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +1 -1
  17. package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +1 -1
  18. package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +1 -1
  19. package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +1 -1
  20. package/dist/components/form/form/src/LewForm.vue.d.ts +1 -1
  21. package/dist/components/form/form/src/LewFormItem.vue.d.ts +1 -1
  22. package/dist/components/form/index.d.ts +0 -1
  23. package/dist/components/form/input/src/LewInput.vue.d.ts +1 -76
  24. package/dist/components/form/input/src/props.d.ts +2 -36
  25. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +1 -1
  26. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +3 -81
  27. package/dist/components/form/select/src/LewSelect.vue.d.ts +9 -167
  28. package/dist/components/form/slider/src/LewSlider.vue.d.ts +1 -1
  29. package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +1 -1
  30. package/dist/components/form/tabs/src/LewTabs.vue.d.ts +1 -1
  31. package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +2 -2
  32. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +11 -167
  33. package/dist/components/form/upload/src/LewUpload.vue.d.ts +6 -6
  34. package/dist/components/general/button/index.d.ts +4 -3
  35. package/dist/components/general/button/src/LewButton.vue.d.ts +5 -5
  36. package/dist/components/general/button/src/props.d.ts +3 -1
  37. package/dist/components/general/flex/src/LewFlex.vue.d.ts +1 -1
  38. package/dist/components/general/image/src/LewImage.vue.d.ts +1 -1
  39. package/dist/components/general/index.d.ts +0 -2
  40. package/dist/components/general/tag/src/LewTag.vue.d.ts +3 -3
  41. package/dist/components/navigation/index.d.ts +0 -3
  42. package/dist/directives/index.d.ts +0 -1
  43. package/dist/global.d.ts +0 -1
  44. package/dist/index.css +1 -1
  45. package/dist/index.js +11441 -12348
  46. package/dist/locals/de.d.ts +17 -13
  47. package/dist/locals/en.d.ts +17 -13
  48. package/dist/locals/es.d.ts +17 -13
  49. package/dist/locals/fr.d.ts +17 -13
  50. package/dist/locals/it.d.ts +17 -13
  51. package/dist/locals/ja.d.ts +17 -13
  52. package/dist/locals/ko.d.ts +17 -13
  53. package/dist/locals/pt.d.ts +17 -13
  54. package/dist/locals/zh.d.ts +17 -13
  55. package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -244
  56. package/dist/methods/dialog/src/props.d.ts +5 -20
  57. package/dist/methods/message/src/MessageContainer.vue.d.ts +9 -0
  58. package/dist/methods/message/src/MessageItem.vue.d.ts +6 -0
  59. package/dist/methods/message/src/index.d.ts +1 -0
  60. package/dist/types/components.d.ts +11 -21
  61. package/dist/types/directives.d.ts +0 -4
  62. package/dist/types/methods.d.ts +3 -4
  63. package/dist/utils/index.d.ts +4 -0
  64. package/dist/validators/typeValues.d.ts +1 -6
  65. package/package.json +2 -3
  66. package/dist/components/feedback/empty/index.d.ts +0 -2
  67. package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +0 -87
  68. package/dist/components/feedback/empty/src/props.d.ts +0 -37
  69. package/dist/components/form/input-table/index.d.ts +0 -3
  70. package/dist/components/form/input-table/src/FormModal.vue.d.ts +0 -271
  71. package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +0 -794
  72. package/dist/components/form/input-table/src/emits.d.ts +0 -3
  73. package/dist/components/form/input-table/src/props.d.ts +0 -116
  74. package/dist/components/general/mark/index.d.ts +0 -2
  75. package/dist/components/general/mark/src/LewMark.vue.d.ts +0 -59
  76. package/dist/components/general/mark/src/props.d.ts +0 -24
  77. package/dist/components/general/title/index.d.ts +0 -3
  78. package/dist/components/general/title/src/LewTitle.vue.d.ts +0 -64
  79. package/dist/components/general/title/src/emits.d.ts +0 -3
  80. package/dist/components/general/title/src/props.d.ts +0 -25
  81. package/dist/components/navigation/back-top/index.d.ts +0 -7
  82. package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +0 -61
  83. package/dist/components/navigation/back-top/src/emits.d.ts +0 -2
  84. package/dist/components/navigation/back-top/src/props.d.ts +0 -23
  85. package/dist/components/navigation/breadcrumb/index.d.ts +0 -7
  86. package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +0 -35
  87. package/dist/components/navigation/breadcrumb/src/emits.d.ts +0 -5
  88. package/dist/components/navigation/breadcrumb/src/props.d.ts +0 -17
  89. package/dist/components/navigation/steps/index.d.ts +0 -8
  90. package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +0 -75
  91. package/dist/components/navigation/steps/src/emits.d.ts +0 -4
  92. package/dist/components/navigation/steps/src/model.d.ts +0 -7
  93. package/dist/components/navigation/steps/src/props.d.ts +0 -33
  94. package/dist/directives/backtop/index.d.ts +0 -4
@@ -1,4 +1,3 @@
1
- import { LewContextMenusOption } from '../../../..';
2
1
  declare function focus(): void;
3
2
  declare function blur(): void;
4
3
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
@@ -71,34 +70,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
71
70
  type: BooleanConstructor;
72
71
  validator: (value: any) => boolean;
73
72
  };
74
- prefixes: {
75
- type: PropType<import('../../../..').LewInputPrefixesType>;
76
- typeValues: import('../../../..').LewInputPrefixesType[];
77
- validator: (value: any) => boolean;
78
- };
79
- prefixesOptions: {
80
- type: PropType<LewContextMenusOption[]>;
81
- default: () => never[];
82
- validator: (value: any[] | undefined) => boolean;
83
- };
84
- prefixesTooltip: {
85
- type: StringConstructor;
86
- validator: (value: any) => boolean;
87
- };
88
- suffix: {
89
- type: PropType<import('../../../..').LewInputSuffixType>;
90
- typeValues: import('../../../..').LewInputSuffixType[];
91
- validator: (value: any) => boolean;
92
- };
93
- suffixOptions: {
94
- type: PropType<LewContextMenusOption[]>;
95
- default: () => never[];
96
- validator: (value: any[] | undefined) => boolean;
97
- };
98
- suffixTooltip: {
99
- type: StringConstructor;
100
- validator: (value: any) => boolean;
101
- };
102
73
  okByEnter: {
103
74
  type: BooleanConstructor;
104
75
  validator: (value: any) => boolean;
@@ -107,12 +78,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
107
78
  type: globalThis.PropType<string | undefined>;
108
79
  required: true;
109
80
  };
110
- prefixValue: {
111
- type: globalThis.PropType<string>;
112
- };
113
- suffixValue: {
114
- type: globalThis.PropType<string>;
115
- };
116
81
  }>, {
117
82
  focus: typeof focus;
118
83
  blur: typeof blur;
@@ -124,8 +89,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
124
89
  clear: () => void;
125
90
  ok: (value?: string | undefined) => void;
126
91
  "update:modelValue": (value: string | undefined) => void;
127
- "update:prefixValue": (value: string | undefined) => void;
128
- "update:suffixValue": (value: string | undefined) => void;
129
92
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
130
93
  type: {
131
94
  type: PropType<import('../../../..').LewInputType>;
@@ -196,34 +159,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
196
159
  type: BooleanConstructor;
197
160
  validator: (value: any) => boolean;
198
161
  };
199
- prefixes: {
200
- type: PropType<import('../../../..').LewInputPrefixesType>;
201
- typeValues: import('../../../..').LewInputPrefixesType[];
202
- validator: (value: any) => boolean;
203
- };
204
- prefixesOptions: {
205
- type: PropType<LewContextMenusOption[]>;
206
- default: () => never[];
207
- validator: (value: any[] | undefined) => boolean;
208
- };
209
- prefixesTooltip: {
210
- type: StringConstructor;
211
- validator: (value: any) => boolean;
212
- };
213
- suffix: {
214
- type: PropType<import('../../../..').LewInputSuffixType>;
215
- typeValues: import('../../../..').LewInputSuffixType[];
216
- validator: (value: any) => boolean;
217
- };
218
- suffixOptions: {
219
- type: PropType<LewContextMenusOption[]>;
220
- default: () => never[];
221
- validator: (value: any[] | undefined) => boolean;
222
- };
223
- suffixTooltip: {
224
- type: StringConstructor;
225
- validator: (value: any) => boolean;
226
- };
227
162
  okByEnter: {
228
163
  type: BooleanConstructor;
229
164
  validator: (value: any) => boolean;
@@ -232,12 +167,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
232
167
  type: globalThis.PropType<string | undefined>;
233
168
  required: true;
234
169
  };
235
- prefixValue: {
236
- type: globalThis.PropType<string>;
237
- };
238
- suffixValue: {
239
- type: globalThis.PropType<string>;
240
- };
241
170
  }>> & Readonly<{
242
171
  onInput?: ((value?: string | undefined) => any) | undefined;
243
172
  onBlur?: ((e: FocusEvent) => any) | undefined;
@@ -245,15 +174,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
245
174
  onFocus?: ((e: FocusEvent) => any) | undefined;
246
175
  onClear?: (() => any) | undefined;
247
176
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
248
- "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
249
- "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
250
177
  onOk?: ((value?: string | undefined) => any) | undefined;
251
178
  }>, {
179
+ width: import("csstype").Property.Width<0 | (string & {})>;
252
180
  type: import('../../../..').LewInputType;
253
181
  size: import('../../../..').LewSize;
254
182
  disabled: boolean;
255
183
  readonly: boolean;
256
- width: import("csstype").Property.Width<0 | (string & {})>;
257
184
  minWidth: string | number;
258
185
  clearable: boolean;
259
186
  showPassword: boolean;
@@ -262,8 +189,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
262
189
  autoWidth: boolean;
263
190
  selectByFocus: boolean;
264
191
  copyable: boolean;
265
- prefixesOptions: LewContextMenusOption[];
266
- suffixOptions: LewContextMenusOption[];
267
192
  okByEnter: boolean;
268
193
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
269
194
  lewInputRef: HTMLInputElement;
@@ -1,17 +1,11 @@
1
1
  import { Property } from 'csstype';
2
- import { LewContextMenusOption, LewSize } from '../../../..';
3
- import { LewInputPrefixesType, LewInputSuffixType, LewInputType, LewXAlignment } from '../../../../types';
2
+ import { LewSize } from '../../../..';
3
+ import { LewInputType, LewXAlignment } from '../../../../types';
4
4
  import { ExtractPublicPropTypes, PropType } from 'vue';
5
5
  export declare const inputModel: {
6
6
  modelValue: {
7
7
  type: (StringConstructor | NumberConstructor)[];
8
8
  };
9
- prefixValue: {
10
- type: (StringConstructor | NumberConstructor)[];
11
- };
12
- suffixValue: {
13
- type: (StringConstructor | NumberConstructor)[];
14
- };
15
9
  };
16
10
  export declare const inputProps: {
17
11
  type: {
@@ -83,34 +77,6 @@ export declare const inputProps: {
83
77
  type: BooleanConstructor;
84
78
  validator: (value: any) => boolean;
85
79
  };
86
- prefixes: {
87
- type: PropType<LewInputPrefixesType>;
88
- typeValues: LewInputPrefixesType[];
89
- validator: (value: any) => boolean;
90
- };
91
- prefixesOptions: {
92
- type: PropType<LewContextMenusOption[]>;
93
- default: () => never[];
94
- validator: (value: any[] | undefined) => boolean;
95
- };
96
- prefixesTooltip: {
97
- type: StringConstructor;
98
- validator: (value: any) => boolean;
99
- };
100
- suffix: {
101
- type: PropType<LewInputSuffixType>;
102
- typeValues: LewInputSuffixType[];
103
- validator: (value: any) => boolean;
104
- };
105
- suffixOptions: {
106
- type: PropType<LewContextMenusOption[]>;
107
- default: () => never[];
108
- validator: (value: any[] | undefined) => boolean;
109
- };
110
- suffixTooltip: {
111
- type: StringConstructor;
112
- validator: (value: any) => boolean;
113
- };
114
80
  okByEnter: {
115
81
  type: BooleanConstructor;
116
82
  validator: (value: any) => boolean;
@@ -118,11 +118,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
118
118
  onChange?: ((value?: number | undefined) => any) | undefined;
119
119
  "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
120
120
  }>, {
121
+ width: import("csstype").Property.Width<0 | (string & {})>;
121
122
  size: import('../../../..').LewSize;
122
123
  disabled: boolean;
123
124
  readonly: boolean;
124
125
  step: number;
125
- width: import("csstype").Property.Width<0 | (string & {})>;
126
126
  align: import('../../../..').LewXAlignment;
127
127
  selectByFocus: boolean;
128
128
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
@@ -92,10 +92,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
92
92
  "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
93
93
  }>, {
94
94
  maxLength: number;
95
+ width: import("csstype").Property.Width<0 | (string & {})>;
95
96
  size: import('../../../..').LewSize;
96
97
  disabled: boolean;
97
98
  readonly: boolean;
98
- width: import("csstype").Property.Width<0 | (string & {})>;
99
99
  clearable: boolean;
100
100
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
101
101
  lewInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
@@ -168,34 +168,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
168
168
  type: BooleanConstructor;
169
169
  validator: (value: any) => boolean;
170
170
  };
171
- prefixes: {
172
- type: PropType<import('../../../..').LewInputPrefixesType>;
173
- typeValues: import('../../../..').LewInputPrefixesType[];
174
- validator: (value: any) => boolean;
175
- };
176
- prefixesOptions: {
177
- type: PropType<import('../../../..').LewContextMenusOption[]>;
178
- default: () => never[];
179
- validator: (value: any[] | undefined) => boolean;
180
- };
181
- prefixesTooltip: {
182
- type: StringConstructor;
183
- validator: (value: any) => boolean;
184
- };
185
- suffix: {
186
- type: PropType<import('../../../..').LewInputSuffixType>;
187
- typeValues: import('../../../..').LewInputSuffixType[];
188
- validator: (value: any) => boolean;
189
- };
190
- suffixOptions: {
191
- type: PropType<import('../../../..').LewContextMenusOption[]>;
192
- default: () => never[];
193
- validator: (value: any[] | undefined) => boolean;
194
- };
195
- suffixTooltip: {
196
- type: StringConstructor;
197
- validator: (value: any) => boolean;
198
- };
199
171
  okByEnter: {
200
172
  type: BooleanConstructor;
201
173
  validator: (value: any) => boolean;
@@ -204,12 +176,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
204
176
  type: globalThis.PropType<string | undefined>;
205
177
  required: true;
206
178
  };
207
- prefixValue: {
208
- type: globalThis.PropType<string>;
209
- };
210
- suffixValue: {
211
- type: globalThis.PropType<string>;
212
- };
213
179
  }>> & Readonly<{
214
180
  onInput?: ((value?: string | undefined) => any) | undefined;
215
181
  onBlur?: ((e: FocusEvent) => any) | undefined;
@@ -217,8 +183,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
217
183
  onFocus?: ((e: FocusEvent) => any) | undefined;
218
184
  onClear?: (() => any) | undefined;
219
185
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
220
- "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
221
- "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
222
186
  onOk?: ((value?: string | undefined) => any) | undefined;
223
187
  }>, {
224
188
  focus: () => void;
@@ -231,14 +195,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
231
195
  clear: () => void;
232
196
  ok: (value?: string | undefined) => void;
233
197
  "update:modelValue": (value: string | undefined) => void;
234
- "update:prefixValue": (value: string | undefined) => void;
235
- "update:suffixValue": (value: string | undefined) => void;
236
198
  }, import('vue').PublicProps, {
199
+ width: import("csstype").Property.Width<0 | (string & {})>;
237
200
  type: import('../../../..').LewInputType;
238
201
  size: import('../../../..').LewSize;
239
202
  disabled: boolean;
240
203
  readonly: boolean;
241
- width: import("csstype").Property.Width<0 | (string & {})>;
242
204
  minWidth: string | number;
243
205
  clearable: boolean;
244
206
  showPassword: boolean;
@@ -247,8 +209,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
247
209
  autoWidth: boolean;
248
210
  selectByFocus: boolean;
249
211
  copyable: boolean;
250
- prefixesOptions: import('../../../..').LewContextMenusOption[];
251
- suffixOptions: import('../../../..').LewContextMenusOption[];
252
212
  okByEnter: boolean;
253
213
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
254
214
  lewInputRef: HTMLInputElement;
@@ -330,34 +290,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
330
290
  type: BooleanConstructor;
331
291
  validator: (value: any) => boolean;
332
292
  };
333
- prefixes: {
334
- type: PropType<import('../../../..').LewInputPrefixesType>;
335
- typeValues: import('../../../..').LewInputPrefixesType[];
336
- validator: (value: any) => boolean;
337
- };
338
- prefixesOptions: {
339
- type: PropType<import('../../../..').LewContextMenusOption[]>;
340
- default: () => never[];
341
- validator: (value: any[] | undefined) => boolean;
342
- };
343
- prefixesTooltip: {
344
- type: StringConstructor;
345
- validator: (value: any) => boolean;
346
- };
347
- suffix: {
348
- type: PropType<import('../../../..').LewInputSuffixType>;
349
- typeValues: import('../../../..').LewInputSuffixType[];
350
- validator: (value: any) => boolean;
351
- };
352
- suffixOptions: {
353
- type: PropType<import('../../../..').LewContextMenusOption[]>;
354
- default: () => never[];
355
- validator: (value: any[] | undefined) => boolean;
356
- };
357
- suffixTooltip: {
358
- type: StringConstructor;
359
- validator: (value: any) => boolean;
360
- };
361
293
  okByEnter: {
362
294
  type: BooleanConstructor;
363
295
  validator: (value: any) => boolean;
@@ -366,12 +298,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
366
298
  type: globalThis.PropType<string | undefined>;
367
299
  required: true;
368
300
  };
369
- prefixValue: {
370
- type: globalThis.PropType<string>;
371
- };
372
- suffixValue: {
373
- type: globalThis.PropType<string>;
374
- };
375
301
  }>> & Readonly<{
376
302
  onInput?: ((value?: string | undefined) => any) | undefined;
377
303
  onBlur?: ((e: FocusEvent) => any) | undefined;
@@ -379,18 +305,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
379
305
  onFocus?: ((e: FocusEvent) => any) | undefined;
380
306
  onClear?: (() => any) | undefined;
381
307
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
382
- "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
383
- "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
384
308
  onOk?: ((value?: string | undefined) => any) | undefined;
385
309
  }>, {
386
310
  focus: () => void;
387
311
  blur: () => void;
388
312
  }, {}, {}, {}, {
313
+ width: import("csstype").Property.Width<0 | (string & {})>;
389
314
  type: import('../../../..').LewInputType;
390
315
  size: import('../../../..').LewSize;
391
316
  disabled: boolean;
392
317
  readonly: boolean;
393
- width: import("csstype").Property.Width<0 | (string & {})>;
394
318
  minWidth: string | number;
395
319
  clearable: boolean;
396
320
  showPassword: boolean;
@@ -399,8 +323,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
399
323
  autoWidth: boolean;
400
324
  selectByFocus: boolean;
401
325
  copyable: boolean;
402
- prefixesOptions: import('../../../..').LewContextMenusOption[];
403
- suffixOptions: import('../../../..').LewContextMenusOption[];
404
326
  okByEnter: boolean;
405
327
  }> | null;
406
328
  }, HTMLDivElement>;