lew-ui 2.6.37 → 2.7.3

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 (35) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +46 -46
  3. package/README.zh-CN.md +48 -48
  4. package/dist/components/cascader/src/LewCascader.vue.d.ts +21 -0
  5. package/dist/components/cascader/src/props.d.ts +10 -0
  6. package/dist/components/select/src/LewSelect.vue.d.ts +36 -0
  7. package/dist/components/select/src/props.d.ts +16 -0
  8. package/dist/components/select/src/util.d.ts +1 -1
  9. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +35 -1
  10. package/dist/components/select-multiple/src/props.d.ts +15 -0
  11. package/dist/components/slider/src/LewSlider.vue.d.ts +4 -4
  12. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -4
  13. package/dist/components/text-trim/src/text-trim.d.ts +1 -1
  14. package/dist/components/tree/src/LewTree.vue.d.ts +5 -5
  15. package/dist/components/tree/src/props.d.ts +1 -1
  16. package/dist/components/tree/src/transformTree.d.ts +3 -3
  17. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +31 -8
  18. package/dist/components/tree-select/src/props.d.ts +13 -2
  19. package/dist/index.mjs +1263 -471
  20. package/dist/index.umd.js +4 -4
  21. package/dist/locals/de.d.ts +15 -0
  22. package/dist/locals/en.d.ts +15 -0
  23. package/dist/locals/es.d.ts +15 -0
  24. package/dist/locals/fr.d.ts +15 -0
  25. package/dist/locals/it.d.ts +15 -0
  26. package/dist/locals/ja.d.ts +15 -0
  27. package/dist/locals/ko.d.ts +15 -0
  28. package/dist/locals/pt.d.ts +15 -0
  29. package/dist/locals/zh.d.ts +3 -0
  30. package/dist/methods/dialog/src/LewDialog.vue.d.ts +2 -0
  31. package/dist/methods/dialog/src/props.d.ts +1 -0
  32. package/dist/methods/notification/src/index.d.ts +5 -5
  33. package/dist/style.css +1 -1
  34. package/dist/utils/index.d.ts +4 -4
  35. package/package.json +2 -2
@@ -14,6 +14,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
14
14
  description: string;
15
15
  validator: (value: import('../../..').TreeDataSource[]) => boolean;
16
16
  };
17
+ width: {
18
+ type: (StringConstructor | NumberConstructor)[];
19
+ default: string;
20
+ description: string;
21
+ };
17
22
  defaultValue: {
18
23
  type: (StringConstructor | NumberConstructor)[];
19
24
  default: string;
@@ -21,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
21
26
  };
22
27
  placeholder: {
23
28
  type: StringConstructor;
24
- default: string;
29
+ defaultLocale: boolean;
25
30
  description: string;
26
31
  };
27
32
  size: {
@@ -113,11 +118,17 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
113
118
  default: string;
114
119
  description: string;
115
120
  };
116
- initTree: {
121
+ initOptionsMethod: {
117
122
  type: PropType<() => void>;
118
123
  default: undefined;
119
124
  description: string;
120
125
  };
126
+ initOptionsMethodId: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ hidden: boolean;
130
+ description: string;
131
+ };
121
132
  loadMethod: {
122
133
  type: PropType<() => void>;
123
134
  default: undefined;
@@ -138,6 +149,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
138
149
  description: string;
139
150
  validator: (value: import('../../..').TreeDataSource[]) => boolean;
140
151
  };
152
+ width: {
153
+ type: (StringConstructor | NumberConstructor)[];
154
+ default: string;
155
+ description: string;
156
+ };
141
157
  defaultValue: {
142
158
  type: (StringConstructor | NumberConstructor)[];
143
159
  default: string;
@@ -145,7 +161,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
145
161
  };
146
162
  placeholder: {
147
163
  type: StringConstructor;
148
- default: string;
164
+ defaultLocale: boolean;
149
165
  description: string;
150
166
  };
151
167
  size: {
@@ -237,11 +253,17 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
237
253
  default: string;
238
254
  description: string;
239
255
  };
240
- initTree: {
256
+ initOptionsMethod: {
241
257
  type: PropType<() => void>;
242
258
  default: undefined;
243
259
  description: string;
244
260
  };
261
+ initOptionsMethodId: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ hidden: boolean;
265
+ description: string;
266
+ };
245
267
  loadMethod: {
246
268
  type: PropType<() => void>;
247
269
  default: undefined;
@@ -253,26 +275,27 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
253
275
  onClear?: ((...args: any[]) => any) | undefined;
254
276
  }>, {
255
277
  size: import('../../..').LewSize;
278
+ width: string | number;
256
279
  disabled: boolean;
257
280
  trigger: import('../../..').TreeSelectTriggerType;
258
281
  checkable: boolean;
259
282
  readonly: boolean;
260
- placeholder: string;
261
283
  clearable: boolean;
262
284
  align: import('../../..').TreeSelectAlign;
263
285
  defaultValue: string | number;
264
286
  searchable: boolean;
287
+ initOptionsMethod: () => void;
288
+ initOptionsMethodId: string;
265
289
  searchDelay: number;
266
290
  showCheckIcon: boolean;
267
291
  showAllLevels: boolean;
268
292
  free: boolean;
269
293
  loadMethod: () => void;
270
294
  dataSource: import('../../..').TreeDataSource[];
295
+ showLine: boolean;
296
+ expandAll: boolean;
271
297
  keyField: string;
272
298
  labelField: string;
273
- initTree: () => void;
274
- expandAll: boolean;
275
- showLine: boolean;
276
299
  disabledField: string;
277
300
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
278
301
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -36,6 +36,11 @@ export declare const treeSelectProps: {
36
36
  description: string;
37
37
  validator: (value: TreeDataSource[]) => boolean;
38
38
  };
39
+ width: {
40
+ type: (StringConstructor | NumberConstructor)[];
41
+ default: string;
42
+ description: string;
43
+ };
39
44
  defaultValue: {
40
45
  type: (StringConstructor | NumberConstructor)[];
41
46
  default: string;
@@ -43,7 +48,7 @@ export declare const treeSelectProps: {
43
48
  };
44
49
  placeholder: {
45
50
  type: StringConstructor;
46
- default: string;
51
+ defaultLocale: boolean;
47
52
  description: string;
48
53
  };
49
54
  size: {
@@ -135,11 +140,17 @@ export declare const treeSelectProps: {
135
140
  default: string;
136
141
  description: string;
137
142
  };
138
- initTree: {
143
+ initOptionsMethod: {
139
144
  type: PropType<() => void>;
140
145
  default: undefined;
141
146
  description: string;
142
147
  };
148
+ initOptionsMethodId: {
149
+ type: StringConstructor;
150
+ default: string;
151
+ hidden: boolean;
152
+ description: string;
153
+ };
143
154
  loadMethod: {
144
155
  type: PropType<() => void>;
145
156
  default: undefined;