lew-ui 2.7.1 → 2.7.4

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 (156) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -3
  3. package/dist/components/action-box/src/LewActionBox.vue.d.ts +2 -2
  4. package/dist/components/action-box/src/props.d.ts +1 -2
  5. package/dist/components/alert/src/LewAlert.vue.d.ts +11 -5
  6. package/dist/components/alert/src/props.d.ts +1 -2
  7. package/dist/components/avatar/src/LewAvatar.vue.d.ts +1 -1
  8. package/dist/components/avatar/src/props.d.ts +1 -2
  9. package/dist/components/back-top/src/LewBackTop.vue.d.ts +9 -3
  10. package/dist/components/back-top/src/props.d.ts +0 -1
  11. package/dist/components/badge/src/LewBadge.vue.d.ts +10 -4
  12. package/dist/components/badge/src/props.d.ts +0 -1
  13. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +1 -1
  14. package/dist/components/breadcrumb/src/props.d.ts +0 -1
  15. package/dist/components/button/src/LewButton.vue.d.ts +17 -6
  16. package/dist/components/button/src/props.d.ts +1 -2
  17. package/dist/components/cascader/src/LewCascader.vue.d.ts +440 -12
  18. package/dist/components/cascader/src/props.d.ts +13 -4
  19. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +11 -5
  20. package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +13 -12
  21. package/dist/components/checkbox/src/props.d.ts +3 -4
  22. package/dist/components/collapse/src/LewCollapse.vue.d.ts +21 -7
  23. package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +28 -14
  24. package/dist/components/collapse/src/props.d.ts +0 -1
  25. package/dist/components/color-picker/src/LewColorPicker.vue.d.ts +13 -5
  26. package/dist/components/color-picker/src/props.d.ts +0 -1
  27. package/dist/components/date-picker/src/LewDate.vue.d.ts +11 -4
  28. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +254 -7
  29. package/dist/components/date-picker/src/date.d.ts +3 -3
  30. package/dist/components/date-picker/src/props.d.ts +3 -4
  31. package/dist/components/date-range-picker/src/LewDateRange.vue.d.ts +19 -8
  32. package/dist/components/date-range-picker/src/LewDateRangePicker.vue.d.ts +296 -8
  33. package/dist/components/date-range-picker/src/props.d.ts +1 -2
  34. package/dist/components/desc/src/LewDesc.vue.d.ts +48 -3
  35. package/dist/components/desc/src/LewDescItem.vue.d.ts +5 -4
  36. package/dist/components/desc/src/props.d.ts +3 -4
  37. package/dist/components/drawer/src/LewDrawer.vue.d.ts +25 -9
  38. package/dist/components/drawer/src/props.d.ts +0 -1
  39. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +407 -7
  40. package/dist/components/dropdown/src/props.d.ts +1 -2
  41. package/dist/components/empty/src/LewEmpty.vue.d.ts +8 -8
  42. package/dist/components/empty/src/props.d.ts +0 -1
  43. package/dist/components/expand/src/LewExpand.vue.d.ts +13 -3
  44. package/dist/components/expand/src/props.d.ts +0 -1
  45. package/dist/components/flex/src/LewFlex.vue.d.ts +10 -4
  46. package/dist/components/flex/src/props.d.ts +0 -1
  47. package/dist/components/form/src/LewForm.vue.d.ts +60 -11
  48. package/dist/components/form/src/LewFormItem.vue.d.ts +20 -9
  49. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +5 -3
  50. package/dist/components/form/src/RequiredIcon.vue.d.ts +1 -1
  51. package/dist/components/form/src/props.d.ts +2 -3
  52. package/dist/components/image/src/LewImage.vue.d.ts +10 -4
  53. package/dist/components/image/src/props.d.ts +0 -1
  54. package/dist/components/index.d.ts +35 -35
  55. package/dist/components/input/src/LewInput.vue.d.ts +33 -16
  56. package/dist/components/input/src/props.d.ts +1 -2
  57. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +18 -12
  58. package/dist/components/input-number/src/props.d.ts +1 -2
  59. package/dist/components/input-table/src/FormModal.vue.d.ts +220 -5
  60. package/dist/components/input-table/src/LewInputTable.vue.d.ts +563 -12
  61. package/dist/components/input-table/src/props.d.ts +3 -4
  62. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +359 -5
  63. package/dist/components/input-tag/src/props.d.ts +0 -1
  64. package/dist/components/input-tree/src/LewInputTree.vue.d.ts +38 -0
  65. package/dist/components/mark/src/LewMark.vue.d.ts +19 -13
  66. package/dist/components/mark/src/props.d.ts +0 -1
  67. package/dist/components/menu/src/LewMenu.vue.d.ts +9 -4
  68. package/dist/components/menu/src/props.d.ts +3 -4
  69. package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +26 -9
  70. package/dist/components/menu-tree/src/LewMenuTreeItem.vue.d.ts +28 -22
  71. package/dist/components/menu-tree/src/props.d.ts +3 -4
  72. package/dist/components/modal/src/LewModal.vue.d.ts +27 -11
  73. package/dist/components/modal/src/props.d.ts +0 -1
  74. package/dist/components/pagination/src/LewPagination.vue.d.ts +30 -10
  75. package/dist/components/pagination/src/props.d.ts +1 -2
  76. package/dist/components/popok/src/LewPopok.vue.d.ts +853 -6
  77. package/dist/components/popok/src/props.d.ts +0 -1
  78. package/dist/components/popover/src/LewPopover.vue.d.ts +29 -14
  79. package/dist/components/popover/src/props.d.ts +0 -1
  80. package/dist/components/radio/src/LewRadio.vue.d.ts +3 -3
  81. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +11 -6
  82. package/dist/components/radio/src/props.d.ts +1 -2
  83. package/dist/components/rate/src/LewRate.vue.d.ts +12 -4
  84. package/dist/components/rate/src/props.d.ts +1 -2
  85. package/dist/components/select/src/LewSelect.vue.d.ts +1038 -17
  86. package/dist/components/select/src/props.d.ts +21 -6
  87. package/dist/components/select/src/util.d.ts +3 -4
  88. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +1428 -19
  89. package/dist/components/select-multiple/src/props.d.ts +22 -8
  90. package/dist/components/slider/src/LewSlider.vue.d.ts +15 -6
  91. package/dist/components/slider/src/props.d.ts +3 -4
  92. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +20 -6
  93. package/dist/components/slider-range/src/props.d.ts +3 -4
  94. package/dist/components/steps/src/LewSteps.vue.d.ts +14 -6
  95. package/dist/components/steps/src/props.d.ts +2 -3
  96. package/dist/components/switch/src/LewSwitch.vue.d.ts +9 -3
  97. package/dist/components/switch/src/props.d.ts +1 -2
  98. package/dist/components/table/src/LewTable.vue.d.ts +53 -25
  99. package/dist/components/table/src/props.d.ts +1 -2
  100. package/dist/components/tabs/src/LewTabs.vue.d.ts +15 -12
  101. package/dist/components/tabs/src/props.d.ts +2 -3
  102. package/dist/components/tag/src/LewTag.vue.d.ts +11 -5
  103. package/dist/components/tag/src/props.d.ts +1 -2
  104. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +18 -5
  105. package/dist/components/text-trim/src/props.d.ts +0 -1
  106. package/dist/components/text-trim/src/text-trim.d.ts +3 -3
  107. package/dist/components/textarea/src/LewTextarea.vue.d.ts +19 -9
  108. package/dist/components/textarea/src/props.d.ts +1 -2
  109. package/dist/components/title/src/LewTitle.vue.d.ts +9 -3
  110. package/dist/components/title/src/props.d.ts +0 -1
  111. package/dist/components/tree/src/LewTree.vue.d.ts +36 -17
  112. package/dist/components/tree/src/LewTreeItem.vue.d.ts +21 -15
  113. package/dist/components/tree/src/props.d.ts +3 -4
  114. package/dist/components/tree/src/transformTree.d.ts +7 -18
  115. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +1055 -26
  116. package/dist/components/tree-select/src/props.d.ts +18 -8
  117. package/dist/components/upload/src/LewUpload.vue.d.ts +169 -8
  118. package/dist/components/upload/src/LewUploadByCard.vue.d.ts +9 -4
  119. package/dist/components/upload/src/LewUploadByList.vue.d.ts +9 -4
  120. package/dist/components/upload/src/props.d.ts +4 -5
  121. package/dist/constants/index.d.ts +0 -1
  122. package/dist/directives/backtop/src/index.d.ts +0 -1
  123. package/dist/directives/context-menu/index.d.ts +1 -1
  124. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -3
  125. package/dist/directives/context-menu/src/index.d.ts +28 -29
  126. package/dist/directives/hover-menu/src/index.d.ts +15 -2
  127. package/dist/directives/index.d.ts +2 -2
  128. package/dist/directives/loading/src/index.d.ts +0 -1
  129. package/dist/directives/tooltip/src/index.d.ts +0 -1
  130. package/dist/index.css +1 -0
  131. package/dist/index.d.ts +3 -3
  132. package/dist/{index.mjs → index.js} +23901 -23191
  133. package/dist/index.umd.cjs +40 -0
  134. package/dist/locals/de.d.ts +3 -0
  135. package/dist/locals/en.d.ts +3 -0
  136. package/dist/locals/es.d.ts +3 -0
  137. package/dist/locals/fr.d.ts +3 -0
  138. package/dist/locals/index.d.ts +9 -10
  139. package/dist/locals/it.d.ts +3 -0
  140. package/dist/locals/ja.d.ts +3 -0
  141. package/dist/locals/ko.d.ts +3 -0
  142. package/dist/locals/pt.d.ts +3 -0
  143. package/dist/locals/zh.d.ts +3 -0
  144. package/dist/methods/dialog/src/LewDialog.vue.d.ts +464 -6
  145. package/dist/methods/dialog/src/index.d.ts +4 -4
  146. package/dist/methods/dialog/src/props.d.ts +0 -1
  147. package/dist/methods/index.d.ts +1 -1
  148. package/dist/methods/message/src/index.d.ts +0 -1
  149. package/dist/methods/notification/src/components/NotificationContainer.vue.d.ts +5 -3
  150. package/dist/methods/notification/src/components/NotificationItem.vue.d.ts +6 -21
  151. package/dist/methods/notification/src/index.d.ts +9 -9
  152. package/dist/utils/index.d.ts +27 -115
  153. package/package.json +47 -69
  154. package/README.zh-CN.md +0 -48
  155. package/dist/index.umd.js +0 -46
  156. package/dist/style.css +0 -1
@@ -1,5 +1,4 @@
1
1
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
- modelValue: import('vue').PropType<string[] | undefined>;
3
2
  size: {
4
3
  type: PropType<import('../../..').InputTagSize>;
5
4
  default: string;
@@ -40,13 +39,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
40
39
  default: string;
41
40
  description: string;
42
41
  };
42
+ modelValue: {
43
+ type: globalThis.PropType<string[]>;
44
+ };
43
45
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
46
  change: (...args: any[]) => void;
45
47
  clear: (...args: any[]) => void;
46
48
  add: (...args: any[]) => void;
47
49
  remove: (...args: any[]) => void;
50
+ "update:modelValue": (value: string[] | undefined) => void;
48
51
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
49
- modelValue: import('vue').PropType<string[] | undefined>;
50
52
  size: {
51
53
  type: PropType<import('../../..').InputTagSize>;
52
54
  default: string;
@@ -87,18 +89,370 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
87
89
  default: string;
88
90
  description: string;
89
91
  };
92
+ modelValue: {
93
+ type: globalThis.PropType<string[]>;
94
+ };
90
95
  }>> & Readonly<{
91
96
  onChange?: ((...args: any[]) => any) | undefined;
92
97
  onClear?: ((...args: any[]) => any) | undefined;
93
98
  onAdd?: ((...args: any[]) => any) | undefined;
99
+ "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
94
100
  onRemove?: ((...args: any[]) => any) | undefined;
95
101
  }>, {
96
102
  size: import('../../..').InputTagSize;
97
- width: string | number;
98
103
  disabled: boolean;
99
- readonly: boolean;
104
+ width: string | number;
100
105
  clearable: boolean;
106
+ readonly: boolean;
101
107
  maxLength: number;
102
108
  allowDuplicates: boolean;
103
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
109
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
110
+ lewInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
111
+ type: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ description: string;
115
+ validator: (value: import('../../..').InputType) => boolean;
116
+ };
117
+ size: {
118
+ type: PropType<import('../../..').LewSize>;
119
+ default: string;
120
+ description: string;
121
+ validator: (value: import('../../..').LewSize) => boolean;
122
+ };
123
+ width: {
124
+ type: (StringConstructor | NumberConstructor)[];
125
+ default: string;
126
+ description: string;
127
+ };
128
+ placeholder: {
129
+ type: StringConstructor;
130
+ defaultLocale: boolean;
131
+ description: string;
132
+ };
133
+ disabled: {
134
+ type: BooleanConstructor;
135
+ default: boolean;
136
+ description: string;
137
+ };
138
+ readonly: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ description: string;
142
+ };
143
+ clearable: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ description: string;
147
+ };
148
+ showPassword: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ description: string;
152
+ };
153
+ maxLength: {
154
+ type: (StringConstructor | NumberConstructor)[];
155
+ default: undefined;
156
+ description: string;
157
+ validator: (value: number | string) => boolean;
158
+ };
159
+ showCount: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ description: string;
163
+ };
164
+ align: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ description: string;
168
+ validator: (value: import('../../..').InputAlign) => boolean;
169
+ };
170
+ minWidth: {
171
+ type: (StringConstructor | NumberConstructor)[];
172
+ default: string;
173
+ description: string;
174
+ validator: (value: number | string) => boolean;
175
+ };
176
+ autoWidth: {
177
+ type: BooleanConstructor;
178
+ default: boolean;
179
+ description: string;
180
+ };
181
+ selectByFocus: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ description: string;
185
+ };
186
+ copyable: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ description: string;
190
+ };
191
+ prefixes: {
192
+ type: StringConstructor;
193
+ default: string;
194
+ description: string;
195
+ validator: (value: import('../../..').InputPrefixesType) => boolean;
196
+ };
197
+ prefixesOptions: {
198
+ type: PropType<import('../../..').ContextMenus[]>;
199
+ default: () => never[];
200
+ description: string;
201
+ };
202
+ prefixesTooltip: {
203
+ type: StringConstructor;
204
+ default: string;
205
+ description: string;
206
+ };
207
+ suffix: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ description: string;
211
+ validator: (value: import('../../..').InputSuffixType) => boolean;
212
+ };
213
+ suffixOptions: {
214
+ type: PropType<import('../../..').ContextMenus[]>;
215
+ default: () => never[];
216
+ description: string;
217
+ };
218
+ suffixTooltip: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ description: string;
222
+ };
223
+ okByEnter: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ description: string;
227
+ };
228
+ modelValue: {
229
+ type: globalThis.PropType<any>;
230
+ required: true;
231
+ };
232
+ prefixValue: {
233
+ type: globalThis.PropType<any>;
234
+ };
235
+ suffixValue: {
236
+ type: globalThis.PropType<any>;
237
+ };
238
+ }>> & Readonly<{
239
+ onBlur?: ((...args: any[]) => any) | undefined;
240
+ onChange?: ((...args: any[]) => any) | undefined;
241
+ onFocus?: ((...args: any[]) => any) | undefined;
242
+ onInput?: ((...args: any[]) => any) | undefined;
243
+ onClear?: ((...args: any[]) => any) | undefined;
244
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
245
+ onOk?: ((...args: any[]) => any) | undefined;
246
+ "onUpdate:prefixValue"?: ((value: any) => any) | undefined;
247
+ "onUpdate:suffixValue"?: ((value: any) => any) | undefined;
248
+ }>, {
249
+ toFocus: () => any;
250
+ toBlur: () => any;
251
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
252
+ blur: (...args: any[]) => void;
253
+ change: (...args: any[]) => void;
254
+ focus: (...args: any[]) => void;
255
+ input: (...args: any[]) => void;
256
+ clear: (...args: any[]) => void;
257
+ ok: (...args: any[]) => void;
258
+ "update:modelValue": (value: any) => void;
259
+ "update:prefixValue": (value: any) => void;
260
+ "update:suffixValue": (value: any) => void;
261
+ }, import('vue').PublicProps, {
262
+ type: string;
263
+ size: import('../../..').LewSize;
264
+ disabled: boolean;
265
+ width: string | number;
266
+ clearable: boolean;
267
+ readonly: boolean;
268
+ minWidth: string | number;
269
+ showPassword: boolean;
270
+ maxLength: string | number;
271
+ showCount: boolean;
272
+ align: string;
273
+ autoWidth: boolean;
274
+ selectByFocus: boolean;
275
+ copyable: boolean;
276
+ prefixes: string;
277
+ prefixesOptions: import('../../..').ContextMenus[];
278
+ prefixesTooltip: string;
279
+ suffix: string;
280
+ suffixOptions: import('../../..').ContextMenus[];
281
+ suffixTooltip: string;
282
+ okByEnter: boolean;
283
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
284
+ lewInputRef: HTMLInputElement;
285
+ lewInputCountRef: HTMLDivElement;
286
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
287
+ P: {};
288
+ B: {};
289
+ D: {};
290
+ C: {};
291
+ M: {};
292
+ Defaults: {};
293
+ }, Readonly<globalThis.ExtractPropTypes<{
294
+ type: {
295
+ type: StringConstructor;
296
+ default: string;
297
+ description: string;
298
+ validator: (value: import('../../..').InputType) => boolean;
299
+ };
300
+ size: {
301
+ type: PropType<import('../../..').LewSize>;
302
+ default: string;
303
+ description: string;
304
+ validator: (value: import('../../..').LewSize) => boolean;
305
+ };
306
+ width: {
307
+ type: (StringConstructor | NumberConstructor)[];
308
+ default: string;
309
+ description: string;
310
+ };
311
+ placeholder: {
312
+ type: StringConstructor;
313
+ defaultLocale: boolean;
314
+ description: string;
315
+ };
316
+ disabled: {
317
+ type: BooleanConstructor;
318
+ default: boolean;
319
+ description: string;
320
+ };
321
+ readonly: {
322
+ type: BooleanConstructor;
323
+ default: boolean;
324
+ description: string;
325
+ };
326
+ clearable: {
327
+ type: BooleanConstructor;
328
+ default: boolean;
329
+ description: string;
330
+ };
331
+ showPassword: {
332
+ type: BooleanConstructor;
333
+ default: boolean;
334
+ description: string;
335
+ };
336
+ maxLength: {
337
+ type: (StringConstructor | NumberConstructor)[];
338
+ default: undefined;
339
+ description: string;
340
+ validator: (value: number | string) => boolean;
341
+ };
342
+ showCount: {
343
+ type: BooleanConstructor;
344
+ default: boolean;
345
+ description: string;
346
+ };
347
+ align: {
348
+ type: StringConstructor;
349
+ default: string;
350
+ description: string;
351
+ validator: (value: import('../../..').InputAlign) => boolean;
352
+ };
353
+ minWidth: {
354
+ type: (StringConstructor | NumberConstructor)[];
355
+ default: string;
356
+ description: string;
357
+ validator: (value: number | string) => boolean;
358
+ };
359
+ autoWidth: {
360
+ type: BooleanConstructor;
361
+ default: boolean;
362
+ description: string;
363
+ };
364
+ selectByFocus: {
365
+ type: BooleanConstructor;
366
+ default: boolean;
367
+ description: string;
368
+ };
369
+ copyable: {
370
+ type: BooleanConstructor;
371
+ default: boolean;
372
+ description: string;
373
+ };
374
+ prefixes: {
375
+ type: StringConstructor;
376
+ default: string;
377
+ description: string;
378
+ validator: (value: import('../../..').InputPrefixesType) => boolean;
379
+ };
380
+ prefixesOptions: {
381
+ type: PropType<import('../../..').ContextMenus[]>;
382
+ default: () => never[];
383
+ description: string;
384
+ };
385
+ prefixesTooltip: {
386
+ type: StringConstructor;
387
+ default: string;
388
+ description: string;
389
+ };
390
+ suffix: {
391
+ type: StringConstructor;
392
+ default: string;
393
+ description: string;
394
+ validator: (value: import('../../..').InputSuffixType) => boolean;
395
+ };
396
+ suffixOptions: {
397
+ type: PropType<import('../../..').ContextMenus[]>;
398
+ default: () => never[];
399
+ description: string;
400
+ };
401
+ suffixTooltip: {
402
+ type: StringConstructor;
403
+ default: string;
404
+ description: string;
405
+ };
406
+ okByEnter: {
407
+ type: BooleanConstructor;
408
+ default: boolean;
409
+ description: string;
410
+ };
411
+ modelValue: {
412
+ type: globalThis.PropType<any>;
413
+ required: true;
414
+ };
415
+ prefixValue: {
416
+ type: globalThis.PropType<any>;
417
+ };
418
+ suffixValue: {
419
+ type: globalThis.PropType<any>;
420
+ };
421
+ }>> & Readonly<{
422
+ onBlur?: ((...args: any[]) => any) | undefined;
423
+ onChange?: ((...args: any[]) => any) | undefined;
424
+ onFocus?: ((...args: any[]) => any) | undefined;
425
+ onInput?: ((...args: any[]) => any) | undefined;
426
+ onClear?: ((...args: any[]) => any) | undefined;
427
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
428
+ onOk?: ((...args: any[]) => any) | undefined;
429
+ "onUpdate:prefixValue"?: ((value: any) => any) | undefined;
430
+ "onUpdate:suffixValue"?: ((value: any) => any) | undefined;
431
+ }>, {
432
+ toFocus: () => any;
433
+ toBlur: () => any;
434
+ }, {}, {}, {}, {
435
+ type: string;
436
+ size: import('../../..').LewSize;
437
+ disabled: boolean;
438
+ width: string | number;
439
+ clearable: boolean;
440
+ readonly: boolean;
441
+ minWidth: string | number;
442
+ showPassword: boolean;
443
+ maxLength: string | number;
444
+ showCount: boolean;
445
+ align: string;
446
+ autoWidth: boolean;
447
+ selectByFocus: boolean;
448
+ copyable: boolean;
449
+ prefixes: string;
450
+ prefixesOptions: import('../../..').ContextMenus[];
451
+ prefixesTooltip: string;
452
+ suffix: string;
453
+ suffixOptions: import('../../..').ContextMenus[];
454
+ suffixTooltip: string;
455
+ okByEnter: boolean;
456
+ }> | null;
457
+ }, HTMLDivElement>;
104
458
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
-
3
2
  export type InputTagSize = 'small' | 'medium' | 'large';
4
3
  export declare const inputTagModel: {
5
4
  modelValue: {
@@ -0,0 +1,38 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ description: string;
11
+ };
12
+ content: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ type: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ description: string;
22
+ };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ description: string;
27
+ };
28
+ content: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ description: string;
32
+ };
33
+ }>> & Readonly<{}>, {
34
+ type: string;
35
+ title: string;
36
+ content: string;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
38
+ export default _default;
@@ -1,16 +1,22 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLSpanElement;
3
8
  };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
10
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
11
  color: {
6
- type: PropType<"gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "pink" | "purple" | "teal" | "yellow" | "mint">;
12
+ type: PropType<"gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "mint" | "pink" | "purple" | "teal" | "yellow">;
7
13
  default: string;
8
- validator: (value: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "pink" | "purple" | "teal" | "yellow" | "mint") => boolean;
14
+ validator: (value: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "mint" | "pink" | "purple" | "teal" | "yellow") => boolean;
9
15
  };
10
16
  bold: {
11
- type: PropType<(200 | 100 | 300 | 400 | 500 | 600 | 700 | 800 | 900) | string>;
17
+ type: PropType<(200 | 100 | 500 | 300 | 400 | 600 | 700 | 800 | 900) | string>;
12
18
  default: number;
13
- validator: (value: (200 | 100 | 300 | 400 | 500 | 600 | 700 | 800 | 900) | string) => boolean;
19
+ validator: (value: (200 | 100 | 500 | 300 | 400 | 600 | 700 | 800 | 900) | string) => boolean;
14
20
  };
15
21
  round: {
16
22
  type: BooleanConstructor;
@@ -26,14 +32,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
26
32
  click: (...args: any[]) => void;
27
33
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
28
34
  color: {
29
- type: PropType<"gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "pink" | "purple" | "teal" | "yellow" | "mint">;
35
+ type: PropType<"gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "mint" | "pink" | "purple" | "teal" | "yellow">;
30
36
  default: string;
31
- validator: (value: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "pink" | "purple" | "teal" | "yellow" | "mint") => boolean;
37
+ validator: (value: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "mint" | "pink" | "purple" | "teal" | "yellow") => boolean;
32
38
  };
33
39
  bold: {
34
- type: PropType<(200 | 100 | 300 | 400 | 500 | 600 | 700 | 800 | 900) | string>;
40
+ type: PropType<(200 | 100 | 500 | 300 | 400 | 600 | 700 | 800 | 900) | string>;
35
41
  default: number;
36
- validator: (value: (200 | 100 | 300 | 400 | 500 | 600 | 700 | 800 | 900) | string) => boolean;
42
+ validator: (value: (200 | 100 | 500 | 300 | 400 | 600 | 700 | 800 | 900) | string) => boolean;
37
43
  };
38
44
  round: {
39
45
  type: BooleanConstructor;
@@ -48,12 +54,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
48
54
  }>> & Readonly<{
49
55
  onClick?: ((...args: any[]) => any) | undefined;
50
56
  }>, {
51
- color: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "pink" | "purple" | "teal" | "yellow" | "mint";
52
- bold: string | (200 | 100 | 300 | 400 | 500 | 600 | 700 | 800 | 900);
57
+ color: "gray" | "orange" | "green" | "red" | "blue" | "brown" | "cyan" | "indigo" | "mint" | "pink" | "purple" | "teal" | "yellow";
58
+ bold: string | (200 | 100 | 500 | 300 | 400 | 600 | 700 | 800 | 900);
53
59
  round: boolean;
54
60
  cursor: "default" | "text" | "pointer" | "move" | "not-allowed";
55
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
56
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
62
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
57
63
  export default _default;
58
64
  type __VLS_WithTemplateSlots<T, S> = T & {
59
65
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
-
3
2
  type MarkColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
4
3
  type CursorStyle = 'pointer' | 'default' | 'text' | 'move' | 'not-allowed';
5
4
  type BoldValue = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
@@ -1,7 +1,5 @@
1
1
  import { MenuOptions } from './props';
2
-
3
2
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
- modelValue: import('vue').PropType<any>;
5
3
  options: {
6
4
  type: PropType<MenuOptions[]>;
7
5
  default: never[];
@@ -9,10 +7,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
9
7
  typeGhost: string;
10
8
  validator: (value: unknown) => boolean;
11
9
  };
10
+ modelValue: {
11
+ type: globalThis.PropType<any>;
12
+ };
12
13
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
14
  change: (...args: any[]) => void;
15
+ "update:modelValue": (value: any) => void;
14
16
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
- modelValue: import('vue').PropType<any>;
16
17
  options: {
17
18
  type: PropType<MenuOptions[]>;
18
19
  default: never[];
@@ -20,9 +21,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
20
21
  typeGhost: string;
21
22
  validator: (value: unknown) => boolean;
22
23
  };
24
+ modelValue: {
25
+ type: globalThis.PropType<any>;
26
+ };
23
27
  }>> & Readonly<{
24
28
  onChange?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
25
30
  }>, {
26
31
  options: MenuOptions[];
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
28
33
  export default _default;
@@ -1,14 +1,13 @@
1
- import { ExtractPropTypes } from 'vue';
2
1
  import { TagProps } from '../../..';
3
-
4
- export type MenuOptions = {
2
+ import { ExtractPropTypes } from 'vue';
3
+ export interface MenuOptions {
5
4
  label: string;
6
5
  value?: string;
7
6
  children?: MenuOptions[];
8
7
  disabled?: boolean;
9
8
  icon?: () => any;
10
9
  tagProps?: TagProps;
11
- };
10
+ }
12
11
  export declare const menuModel: {
13
12
  modelValue: {
14
13
  type: StringConstructor;
@@ -1,9 +1,5 @@
1
1
  import { MenuTreeItem } from './props';
2
-
3
2
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
- modelValue: import('vue').PropType<any>;
5
- expandKeys: import('vue').PropType<any>;
6
- collapsed: import('vue').PropType<any>;
7
3
  options: {
8
4
  type: PropType<MenuTreeItem[]>;
9
5
  default: never[];
@@ -15,12 +11,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
15
11
  description: string;
16
12
  validator(value: string | number): boolean;
17
13
  };
14
+ modelValue: {
15
+ type: globalThis.PropType<any>;
16
+ };
17
+ expandKeys: {
18
+ type: globalThis.PropType<never[]>;
19
+ };
20
+ collapsed: {
21
+ type: globalThis.PropType<boolean>;
22
+ };
18
23
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
24
  change: (...args: any[]) => void;
25
+ "update:modelValue": (value: any) => void;
26
+ "update:expandKeys": (value: never[]) => void;
27
+ "update:collapsed": (value: boolean) => void;
20
28
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
21
- modelValue: import('vue').PropType<any>;
22
- expandKeys: import('vue').PropType<any>;
23
- collapsed: import('vue').PropType<any>;
24
29
  options: {
25
30
  type: PropType<MenuTreeItem[]>;
26
31
  default: never[];
@@ -32,10 +37,22 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
32
37
  description: string;
33
38
  validator(value: string | number): boolean;
34
39
  };
40
+ modelValue: {
41
+ type: globalThis.PropType<any>;
42
+ };
43
+ expandKeys: {
44
+ type: globalThis.PropType<never[]>;
45
+ };
46
+ collapsed: {
47
+ type: globalThis.PropType<boolean>;
48
+ };
35
49
  }>> & Readonly<{
36
50
  onChange?: ((...args: any[]) => any) | undefined;
51
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
52
+ "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
53
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
37
54
  }>, {
38
- width: string | number;
39
55
  options: MenuTreeItem[];
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
56
+ width: string | number;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
41
58
  export default _default;