lew-ui 2.7.57 → 2.7.60

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 (38) hide show
  1. package/LICENSE +21 -21
  2. package/dist/_components/CommonInput.vue.d.ts +499 -0
  3. package/dist/components/data/table/src/LewTable.vue.d.ts +1 -1
  4. package/dist/components/data/tree/src/LewTree.vue.d.ts +12 -1
  5. package/dist/components/data/tree/src/props.d.ts +5 -0
  6. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +22 -0
  7. package/dist/components/feedback/drawer/src/props.d.ts +10 -0
  8. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +46 -31
  9. package/dist/components/form/cascader/src/cascader.d.ts +15 -0
  10. package/dist/components/form/cascader/src/emits.d.ts +8 -1
  11. package/dist/components/form/cascader/src/props.d.ts +15 -10
  12. package/dist/components/form/index.d.ts +0 -1
  13. package/dist/components/form/input/src/LewInput.vue.d.ts +2 -2
  14. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +2 -2
  15. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -4
  16. package/dist/components/form/select/src/LewSelect.vue.d.ts +1480 -411
  17. package/dist/components/form/select/src/emits.d.ts +5 -1
  18. package/dist/components/form/select/src/props.d.ts +7 -2
  19. package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +4 -2
  20. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +40 -23
  21. package/dist/components/form/tree-select/src/props.d.ts +0 -5
  22. package/dist/components/form/tree-select-multiple/index.d.ts +3 -0
  23. package/dist/components/form/{select-multiple/src/LewSelectMultiple.vue.d.ts → tree-select-multiple/src/LewTreeSelectMultiple.vue.d.ts} +492 -930
  24. package/dist/components/form/tree-select-multiple/src/emits.d.ts +4 -0
  25. package/dist/components/form/{select-multiple → tree-select-multiple}/src/props.d.ts +63 -55
  26. package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +21 -1
  27. package/dist/components/navigation/steps/src/props.d.ts +8 -0
  28. package/dist/hooks/index.d.ts +4 -2
  29. package/dist/hooks/useDOMCreate.d.ts +1 -0
  30. package/dist/hooks/useEventListener.d.ts +1 -0
  31. package/dist/hooks/useTreeSelection.d.ts +35 -0
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +1623 -1722
  34. package/dist/index.umd.cjs +7 -7
  35. package/dist/types/components.d.ts +3 -1
  36. package/package.json +1 -1
  37. package/dist/components/form/select-multiple/index.d.ts +0 -3
  38. package/dist/components/form/select-multiple/src/emits.d.ts +0 -11
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 lew
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 lew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,499 @@
1
+ declare function clearHandle(): void;
2
+ declare function getInputRefStyle(): {
3
+ fontSize: string;
4
+ padding: string;
5
+ fontFamily: string;
6
+ marginLeft: string;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
9
+ size: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ readonly: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ disabled: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ loading: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ clearable: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ placeholder: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ width: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ formatItems: {
38
+ type: null;
39
+ };
40
+ focus: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ popoverVisible: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ multiple: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ searchable: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ selectedLabel: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ modelValue: {
61
+ type: globalThis.PropType<any>;
62
+ };
63
+ keyword: {
64
+ type: globalThis.PropType<any>;
65
+ };
66
+ }>, {
67
+ clearHandle: typeof clearHandle;
68
+ getInputRefStyle: typeof getInputRefStyle;
69
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
70
+ input: (...args: any[]) => void;
71
+ clear: (...args: any[]) => void;
72
+ delete: (...args: any[]) => void;
73
+ "update:modelValue": (value: any) => void;
74
+ "update:keyword": (value: any) => void;
75
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
76
+ size: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ readonly: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ disabled: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ loading: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ clearable: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ placeholder: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ width: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ formatItems: {
105
+ type: null;
106
+ };
107
+ focus: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ popoverVisible: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ multiple: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ searchable: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ selectedLabel: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ modelValue: {
128
+ type: globalThis.PropType<any>;
129
+ };
130
+ keyword: {
131
+ type: globalThis.PropType<any>;
132
+ };
133
+ }>> & Readonly<{
134
+ onInput?: ((...args: any[]) => any) | undefined;
135
+ onClear?: ((...args: any[]) => any) | undefined;
136
+ onDelete?: ((...args: any[]) => any) | undefined;
137
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
138
+ "onUpdate:keyword"?: ((value: any) => any) | undefined;
139
+ }>, {
140
+ loading: boolean;
141
+ size: string;
142
+ disabled: boolean;
143
+ focus: boolean;
144
+ width: string;
145
+ placeholder: string;
146
+ readonly: boolean;
147
+ clearable: boolean;
148
+ multiple: boolean;
149
+ searchable: boolean;
150
+ popoverVisible: boolean;
151
+ selectedLabel: string;
152
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
153
+ lewSelectRef: HTMLDivElement;
154
+ inputRef: HTMLInputElement;
155
+ searchInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
156
+ type: {
157
+ type: PropType<import('..').LewInputType>;
158
+ default: string;
159
+ typeValues: import('..').LewInputType[];
160
+ validator: (value: any) => boolean;
161
+ };
162
+ size: {
163
+ type: PropType<import('..').LewSize>;
164
+ default: string;
165
+ typeValues: import('..').LewSize[];
166
+ validator: (value: any) => boolean;
167
+ };
168
+ width: {
169
+ type: PropType<import("csstype").Property.Width>;
170
+ default: string;
171
+ validator: (value: string | number | undefined) => boolean;
172
+ };
173
+ placeholder: {
174
+ type: StringConstructor;
175
+ defaultLocale: boolean;
176
+ validator: (value: any) => boolean;
177
+ };
178
+ disabled: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ validator: (value: any) => boolean;
182
+ };
183
+ readonly: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ validator: (value: any) => boolean;
187
+ };
188
+ clearable: {
189
+ type: BooleanConstructor;
190
+ default: boolean;
191
+ validator: (value: any) => boolean;
192
+ };
193
+ showPassword: {
194
+ type: BooleanConstructor;
195
+ default: boolean;
196
+ validator: (value: any) => boolean;
197
+ };
198
+ maxLength: {
199
+ type: (StringConstructor | NumberConstructor)[];
200
+ default: undefined;
201
+ validator: (value: number | undefined) => boolean;
202
+ };
203
+ showCount: {
204
+ type: BooleanConstructor;
205
+ default: boolean;
206
+ validator: (value: any) => boolean;
207
+ };
208
+ align: {
209
+ type: PropType<import('..').LewXAlignment>;
210
+ default: string;
211
+ typeValues: import('..').LewXAlignment[];
212
+ validator: (value: any) => boolean;
213
+ };
214
+ minWidth: {
215
+ type: (StringConstructor | NumberConstructor)[];
216
+ default: string;
217
+ validator: (value: string | number | undefined) => boolean;
218
+ };
219
+ autoWidth: {
220
+ type: BooleanConstructor;
221
+ default: boolean;
222
+ validator: (value: any) => boolean;
223
+ };
224
+ selectByFocus: {
225
+ type: BooleanConstructor;
226
+ default: boolean;
227
+ validator: (value: any) => boolean;
228
+ };
229
+ copyable: {
230
+ type: BooleanConstructor;
231
+ default: boolean;
232
+ validator: (value: any) => boolean;
233
+ };
234
+ prefixes: {
235
+ type: PropType<import('..').LewInputPrefixesType>;
236
+ default: string;
237
+ typeValues: import('..').LewInputPrefixesType[];
238
+ validator: (value: any) => boolean;
239
+ };
240
+ prefixesOptions: {
241
+ type: PropType<import('..').LewContextMenusOption[]>;
242
+ default: () => never[];
243
+ validator: (value: any[] | undefined) => boolean;
244
+ };
245
+ prefixesTooltip: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ validator: (value: any) => boolean;
249
+ };
250
+ suffix: {
251
+ type: PropType<import('..').LewInputSuffixType>;
252
+ default: string;
253
+ typeValues: import('..').LewInputSuffixType[];
254
+ validator: (value: any) => boolean;
255
+ };
256
+ suffixOptions: {
257
+ type: PropType<import('..').LewContextMenusOption[]>;
258
+ default: () => never[];
259
+ validator: (value: any[] | undefined) => boolean;
260
+ };
261
+ suffixTooltip: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ validator: (value: any) => boolean;
265
+ };
266
+ okByEnter: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ validator: (value: any) => boolean;
270
+ };
271
+ modelValue: {
272
+ type: globalThis.PropType<string | undefined>;
273
+ required: true;
274
+ };
275
+ prefixValue: {
276
+ type: globalThis.PropType<string>;
277
+ };
278
+ suffixValue: {
279
+ type: globalThis.PropType<string>;
280
+ };
281
+ }>> & Readonly<{
282
+ onInput?: ((value?: string | undefined) => any) | undefined;
283
+ onBlur?: ((e: FocusEvent) => any) | undefined;
284
+ onChange?: ((value?: string | undefined) => any) | undefined;
285
+ onFocus?: ((e: FocusEvent) => any) | undefined;
286
+ onClear?: (() => any) | undefined;
287
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
288
+ "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
289
+ "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
290
+ onOk?: ((value?: string | undefined) => any) | undefined;
291
+ }>, {
292
+ focus: () => any;
293
+ blur: () => any;
294
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
295
+ input: (value?: string | undefined) => void;
296
+ blur: (e: FocusEvent) => void;
297
+ change: (value?: string | undefined) => void;
298
+ focus: (e: FocusEvent) => void;
299
+ clear: () => void;
300
+ ok: (value?: string | undefined) => void;
301
+ "update:modelValue": (value: string | undefined) => void;
302
+ "update:prefixValue": (value: string | undefined) => void;
303
+ "update:suffixValue": (value: string | undefined) => void;
304
+ }, import('vue').PublicProps, {
305
+ maxLength: string | number;
306
+ type: import('..').LewInputType;
307
+ size: import('..').LewSize;
308
+ disabled: boolean;
309
+ width: import("csstype").Property.Width<0 | (string & {})>;
310
+ minWidth: string | number;
311
+ readonly: boolean;
312
+ clearable: boolean;
313
+ showPassword: boolean;
314
+ showCount: boolean;
315
+ align: import('..').LewXAlignment;
316
+ autoWidth: boolean;
317
+ selectByFocus: boolean;
318
+ copyable: boolean;
319
+ prefixes: import('..').LewInputPrefixesType;
320
+ prefixesOptions: import('..').LewContextMenusOption[];
321
+ prefixesTooltip: string;
322
+ suffix: import('..').LewInputSuffixType;
323
+ suffixOptions: import('..').LewContextMenusOption[];
324
+ suffixTooltip: string;
325
+ okByEnter: boolean;
326
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
327
+ lewInputRef: HTMLInputElement;
328
+ lewInputCountRef: HTMLDivElement;
329
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
330
+ P: {};
331
+ B: {};
332
+ D: {};
333
+ C: {};
334
+ M: {};
335
+ Defaults: {};
336
+ }, Readonly<globalThis.ExtractPropTypes<{
337
+ type: {
338
+ type: PropType<import('..').LewInputType>;
339
+ default: string;
340
+ typeValues: import('..').LewInputType[];
341
+ validator: (value: any) => boolean;
342
+ };
343
+ size: {
344
+ type: PropType<import('..').LewSize>;
345
+ default: string;
346
+ typeValues: import('..').LewSize[];
347
+ validator: (value: any) => boolean;
348
+ };
349
+ width: {
350
+ type: PropType<import("csstype").Property.Width>;
351
+ default: string;
352
+ validator: (value: string | number | undefined) => boolean;
353
+ };
354
+ placeholder: {
355
+ type: StringConstructor;
356
+ defaultLocale: boolean;
357
+ validator: (value: any) => boolean;
358
+ };
359
+ disabled: {
360
+ type: BooleanConstructor;
361
+ default: boolean;
362
+ validator: (value: any) => boolean;
363
+ };
364
+ readonly: {
365
+ type: BooleanConstructor;
366
+ default: boolean;
367
+ validator: (value: any) => boolean;
368
+ };
369
+ clearable: {
370
+ type: BooleanConstructor;
371
+ default: boolean;
372
+ validator: (value: any) => boolean;
373
+ };
374
+ showPassword: {
375
+ type: BooleanConstructor;
376
+ default: boolean;
377
+ validator: (value: any) => boolean;
378
+ };
379
+ maxLength: {
380
+ type: (StringConstructor | NumberConstructor)[];
381
+ default: undefined;
382
+ validator: (value: number | undefined) => boolean;
383
+ };
384
+ showCount: {
385
+ type: BooleanConstructor;
386
+ default: boolean;
387
+ validator: (value: any) => boolean;
388
+ };
389
+ align: {
390
+ type: PropType<import('..').LewXAlignment>;
391
+ default: string;
392
+ typeValues: import('..').LewXAlignment[];
393
+ validator: (value: any) => boolean;
394
+ };
395
+ minWidth: {
396
+ type: (StringConstructor | NumberConstructor)[];
397
+ default: string;
398
+ validator: (value: string | number | undefined) => boolean;
399
+ };
400
+ autoWidth: {
401
+ type: BooleanConstructor;
402
+ default: boolean;
403
+ validator: (value: any) => boolean;
404
+ };
405
+ selectByFocus: {
406
+ type: BooleanConstructor;
407
+ default: boolean;
408
+ validator: (value: any) => boolean;
409
+ };
410
+ copyable: {
411
+ type: BooleanConstructor;
412
+ default: boolean;
413
+ validator: (value: any) => boolean;
414
+ };
415
+ prefixes: {
416
+ type: PropType<import('..').LewInputPrefixesType>;
417
+ default: string;
418
+ typeValues: import('..').LewInputPrefixesType[];
419
+ validator: (value: any) => boolean;
420
+ };
421
+ prefixesOptions: {
422
+ type: PropType<import('..').LewContextMenusOption[]>;
423
+ default: () => never[];
424
+ validator: (value: any[] | undefined) => boolean;
425
+ };
426
+ prefixesTooltip: {
427
+ type: StringConstructor;
428
+ default: string;
429
+ validator: (value: any) => boolean;
430
+ };
431
+ suffix: {
432
+ type: PropType<import('..').LewInputSuffixType>;
433
+ default: string;
434
+ typeValues: import('..').LewInputSuffixType[];
435
+ validator: (value: any) => boolean;
436
+ };
437
+ suffixOptions: {
438
+ type: PropType<import('..').LewContextMenusOption[]>;
439
+ default: () => never[];
440
+ validator: (value: any[] | undefined) => boolean;
441
+ };
442
+ suffixTooltip: {
443
+ type: StringConstructor;
444
+ default: string;
445
+ validator: (value: any) => boolean;
446
+ };
447
+ okByEnter: {
448
+ type: BooleanConstructor;
449
+ default: boolean;
450
+ validator: (value: any) => boolean;
451
+ };
452
+ modelValue: {
453
+ type: globalThis.PropType<string | undefined>;
454
+ required: true;
455
+ };
456
+ prefixValue: {
457
+ type: globalThis.PropType<string>;
458
+ };
459
+ suffixValue: {
460
+ type: globalThis.PropType<string>;
461
+ };
462
+ }>> & Readonly<{
463
+ onInput?: ((value?: string | undefined) => any) | undefined;
464
+ onBlur?: ((e: FocusEvent) => any) | undefined;
465
+ onChange?: ((value?: string | undefined) => any) | undefined;
466
+ onFocus?: ((e: FocusEvent) => any) | undefined;
467
+ onClear?: (() => any) | undefined;
468
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
469
+ "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
470
+ "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
471
+ onOk?: ((value?: string | undefined) => any) | undefined;
472
+ }>, {
473
+ focus: () => any;
474
+ blur: () => any;
475
+ }, {}, {}, {}, {
476
+ maxLength: string | number;
477
+ type: import('..').LewInputType;
478
+ size: import('..').LewSize;
479
+ disabled: boolean;
480
+ width: import("csstype").Property.Width<0 | (string & {})>;
481
+ minWidth: string | number;
482
+ readonly: boolean;
483
+ clearable: boolean;
484
+ showPassword: boolean;
485
+ showCount: boolean;
486
+ align: import('..').LewXAlignment;
487
+ autoWidth: boolean;
488
+ selectByFocus: boolean;
489
+ copyable: boolean;
490
+ prefixes: import('..').LewInputPrefixesType;
491
+ prefixesOptions: import('..').LewContextMenusOption[];
492
+ prefixesTooltip: string;
493
+ suffix: import('..').LewInputSuffixType;
494
+ suffixOptions: import('..').LewContextMenusOption[];
495
+ suffixTooltip: string;
496
+ okByEnter: boolean;
497
+ }> | null;
498
+ }, HTMLDivElement>;
499
+ export default _default;
@@ -159,9 +159,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
159
159
  maxHeight: string | number;
160
160
  dataSource: Record<string, any>[];
161
161
  bordered: boolean;
162
+ multiple: boolean;
162
163
  sortable: boolean;
163
164
  sortTooltipCustomRender: (row: Record<string, any>) => any;
164
- multiple: boolean;
165
165
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
166
166
  tableWrapperRef: HTMLDivElement;
167
167
  tableRef: HTMLDivElement;
@@ -80,6 +80,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
80
80
  hidden: boolean;
81
81
  validator: (value: any) => boolean;
82
82
  };
83
+ onlyLeafSelectable: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ validator: (value: any) => boolean;
87
+ };
83
88
  modelValue: {
84
89
  type: globalThis.PropType<any>;
85
90
  };
@@ -167,6 +172,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
167
172
  hidden: boolean;
168
173
  validator: (value: any) => boolean;
169
174
  };
175
+ onlyLeafSelectable: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ validator: (value: any) => boolean;
179
+ };
170
180
  modelValue: {
171
181
  type: globalThis.PropType<any>;
172
182
  };
@@ -183,8 +193,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
183
193
  }>, {
184
194
  checkable: boolean;
185
195
  height: string;
186
- searchable: boolean;
187
196
  multiple: boolean;
197
+ searchable: boolean;
188
198
  expandAll: boolean;
189
199
  free: boolean;
190
200
  showLine: boolean;
@@ -192,6 +202,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
192
202
  labelField: string;
193
203
  disabledField: string;
194
204
  isSelect: boolean;
205
+ onlyLeafSelectable: boolean;
195
206
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
196
207
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
197
208
  export default _default;
@@ -80,6 +80,11 @@ export declare const treeProps: {
80
80
  hidden: boolean;
81
81
  validator: (value: any) => boolean;
82
82
  };
83
+ onlyLeafSelectable: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ validator: (value: any) => boolean;
87
+ };
83
88
  };
84
89
  export declare const treeItemProps: {
85
90
  label: {
@@ -56,6 +56,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
56
56
  type: PropType<import('../../../..').LewButtonProps>;
57
57
  validator: (value: unknown) => boolean;
58
58
  };
59
+ hideOkButton: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ validator: (value: any) => boolean;
63
+ };
64
+ hideCloseButton: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ validator: (value: any) => boolean;
68
+ };
59
69
  zIndex: {
60
70
  type: NumberConstructor;
61
71
  default: number;
@@ -111,6 +121,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
111
121
  type: PropType<import('../../../..').LewButtonProps>;
112
122
  validator: (value: unknown) => boolean;
113
123
  };
124
+ hideOkButton: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ validator: (value: any) => boolean;
128
+ };
129
+ hideCloseButton: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ validator: (value: any) => boolean;
133
+ };
114
134
  zIndex: {
115
135
  type: NumberConstructor;
116
136
  default: number;
@@ -130,6 +150,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
130
150
  closeOnClickOverlay: boolean;
131
151
  closeByEsc: boolean;
132
152
  hideFooter: boolean;
153
+ hideOkButton: boolean;
154
+ hideCloseButton: boolean;
133
155
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
134
156
  drawerBodyRef: HTMLDivElement;
135
157
  }, any>;
@@ -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;