lew-ui 2.7.67 → 2.7.69

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.
@@ -1,1331 +0,0 @@
1
- declare function show(): void;
2
- declare function hide(): void;
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- header?(_: {}): any;
7
- empty?(_: {}): any;
8
- item?(_: {
9
- props: any;
10
- }): any;
11
- footer?(_: {}): any;
12
- };
13
- refs: {
14
- lewPopoverRef: ({
15
- $: import('vue').ComponentInternalInstance;
16
- $data: {};
17
- $props: Partial<{
18
- loading: boolean;
19
- disabled: boolean;
20
- offset: import('../../../..').LewOffset;
21
- placement: import('../../../..').LewPlacement;
22
- delay: [number, number];
23
- trigger: import('../../../..').LewTrigger;
24
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
25
- hideOnClick: boolean;
26
- clickOutsideToHide: boolean;
27
- popoverBodyClassName: string;
28
- }> & Omit<{
29
- readonly loading: boolean;
30
- readonly disabled: boolean;
31
- readonly offset: import('../../../..').LewOffset;
32
- readonly placement: import('../../../..').LewPlacement;
33
- readonly delay: [number, number];
34
- readonly trigger: import('../../../..').LewTrigger;
35
- readonly triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
36
- readonly hideOnClick: boolean;
37
- readonly clickOutsideToHide: boolean;
38
- readonly popoverBodyClassName: string;
39
- readonly onShow?: (() => any) | undefined;
40
- readonly onHide?: (() => any) | undefined;
41
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName">;
42
- $attrs: {
43
- [x: string]: unknown;
44
- };
45
- $refs: {
46
- [x: string]: unknown;
47
- } & {
48
- triggerRef: HTMLDivElement;
49
- bodyRef: HTMLDivElement;
50
- };
51
- $slots: Readonly<{
52
- [name: string]: import('vue').Slot<any> | undefined;
53
- }>;
54
- $root: ComponentPublicInstance | null;
55
- $parent: ComponentPublicInstance | null;
56
- $host: Element | null;
57
- $emit: ((event: "show") => void) & ((event: "hide") => void);
58
- $el: HTMLDivElement;
59
- $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
60
- trigger: {
61
- type: PropType<import('../../../..').LewTrigger>;
62
- default: string;
63
- typeValues: import('../../../..').LewTrigger[];
64
- validator: (value: any) => boolean;
65
- };
66
- triggerWidth: {
67
- type: PropType<import("csstype").Property.Width>;
68
- default: string;
69
- validator: (value: any) => boolean;
70
- };
71
- placement: {
72
- type: PropType<import('../../../..').LewPlacement>;
73
- default: string;
74
- typeValues: import('../../../..').LewPlacement[];
75
- validator: (value: any) => boolean;
76
- };
77
- disabled: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- validator: (value: any) => boolean;
81
- };
82
- loading: {
83
- type: BooleanConstructor;
84
- default: boolean;
85
- validator: (value: any) => boolean;
86
- };
87
- hideOnClick: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- validator: (value: any) => boolean;
91
- };
92
- clickOutsideToHide: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- validator: (value: any) => boolean;
96
- };
97
- offset: {
98
- type: PropType<import('../../../..').LewOffset>;
99
- default: number[];
100
- validator: (value: any[] | undefined) => boolean;
101
- };
102
- delay: {
103
- type: PropType<[number, number]>;
104
- default: number[];
105
- validator: (value: any[] | undefined) => boolean;
106
- };
107
- popoverBodyClassName: {
108
- type: StringConstructor;
109
- default: string;
110
- validator: (value: any) => boolean;
111
- };
112
- }>> & Readonly<{
113
- onShow?: (() => any) | undefined;
114
- onHide?: (() => any) | undefined;
115
- }>, {
116
- show: () => void;
117
- hide: () => void;
118
- refresh: () => void;
119
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
120
- show: () => void;
121
- hide: () => void;
122
- }, string, {
123
- loading: boolean;
124
- disabled: boolean;
125
- offset: import('../../../..').LewOffset;
126
- placement: import('../../../..').LewPlacement;
127
- delay: [number, number];
128
- trigger: import('../../../..').LewTrigger;
129
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
130
- hideOnClick: boolean;
131
- clickOutsideToHide: boolean;
132
- popoverBodyClassName: string;
133
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
134
- beforeCreate?: (() => void) | (() => void)[];
135
- created?: (() => void) | (() => void)[];
136
- beforeMount?: (() => void) | (() => void)[];
137
- mounted?: (() => void) | (() => void)[];
138
- beforeUpdate?: (() => void) | (() => void)[];
139
- updated?: (() => void) | (() => void)[];
140
- activated?: (() => void) | (() => void)[];
141
- deactivated?: (() => void) | (() => void)[];
142
- beforeDestroy?: (() => void) | (() => void)[];
143
- beforeUnmount?: (() => void) | (() => void)[];
144
- destroyed?: (() => void) | (() => void)[];
145
- unmounted?: (() => void) | (() => void)[];
146
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
147
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
148
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
149
- };
150
- $forceUpdate: () => void;
151
- $nextTick: typeof import('vue').nextTick;
152
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
153
- } & Readonly<{
154
- loading: boolean;
155
- disabled: boolean;
156
- offset: import('../../../..').LewOffset;
157
- placement: import('../../../..').LewPlacement;
158
- delay: [number, number];
159
- trigger: import('../../../..').LewTrigger;
160
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
161
- hideOnClick: boolean;
162
- clickOutsideToHide: boolean;
163
- popoverBodyClassName: string;
164
- }> & Omit<Readonly<globalThis.ExtractPropTypes<{
165
- trigger: {
166
- type: PropType<import('../../../..').LewTrigger>;
167
- default: string;
168
- typeValues: import('../../../..').LewTrigger[];
169
- validator: (value: any) => boolean;
170
- };
171
- triggerWidth: {
172
- type: PropType<import("csstype").Property.Width>;
173
- default: string;
174
- validator: (value: any) => boolean;
175
- };
176
- placement: {
177
- type: PropType<import('../../../..').LewPlacement>;
178
- default: string;
179
- typeValues: import('../../../..').LewPlacement[];
180
- validator: (value: any) => boolean;
181
- };
182
- disabled: {
183
- type: BooleanConstructor;
184
- default: boolean;
185
- validator: (value: any) => boolean;
186
- };
187
- loading: {
188
- type: BooleanConstructor;
189
- default: boolean;
190
- validator: (value: any) => boolean;
191
- };
192
- hideOnClick: {
193
- type: BooleanConstructor;
194
- default: boolean;
195
- validator: (value: any) => boolean;
196
- };
197
- clickOutsideToHide: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- validator: (value: any) => boolean;
201
- };
202
- offset: {
203
- type: PropType<import('../../../..').LewOffset>;
204
- default: number[];
205
- validator: (value: any[] | undefined) => boolean;
206
- };
207
- delay: {
208
- type: PropType<[number, number]>;
209
- default: number[];
210
- validator: (value: any[] | undefined) => boolean;
211
- };
212
- popoverBodyClassName: {
213
- type: StringConstructor;
214
- default: string;
215
- validator: (value: any) => boolean;
216
- };
217
- }>> & Readonly<{
218
- onShow?: (() => any) | undefined;
219
- onHide?: (() => any) | undefined;
220
- }>, "show" | "hide" | "refresh" | ("loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName")> & import('vue').ShallowUnwrapRef<{
221
- show: () => void;
222
- hide: () => void;
223
- refresh: () => void;
224
- }> & {} & import('vue').ComponentCustomProperties & {} & {
225
- $slots: {
226
- trigger?(_: {}): any;
227
- 'popover-body'?(_: {
228
- show: () => void;
229
- hide: () => void;
230
- }): any;
231
- };
232
- }) | null;
233
- lewSelectRef: HTMLDivElement;
234
- inputRef: HTMLInputElement;
235
- lewTreeRef: ({
236
- $: import('vue').ComponentInternalInstance;
237
- $data: {};
238
- $props: Partial<{
239
- checkable: boolean;
240
- height: string;
241
- multiple: boolean;
242
- searchable: boolean;
243
- expandAll: boolean;
244
- free: boolean;
245
- showLine: boolean;
246
- keyField: string;
247
- labelField: string;
248
- disabledField: string;
249
- isSelect: boolean;
250
- onlyLeafSelectable: boolean;
251
- }> & Omit<{
252
- readonly checkable: boolean;
253
- readonly height: string;
254
- readonly multiple: boolean;
255
- readonly searchable: boolean;
256
- readonly expandAll: boolean;
257
- readonly free: boolean;
258
- readonly showLine: boolean;
259
- readonly keyField: string;
260
- readonly labelField: string;
261
- readonly disabledField: string;
262
- readonly isSelect: boolean;
263
- readonly onlyLeafSelectable: boolean;
264
- readonly expandKeys?: never[] | undefined;
265
- readonly modelValue?: any;
266
- readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
267
- readonly initMethod?: (() => void) | undefined;
268
- readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
269
- readonly onChange?: ((data: any) => any) | undefined;
270
- readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
271
- readonly onExpand?: ((data: any) => any) | undefined;
272
- readonly onLoadStart?: (() => any) | undefined;
273
- readonly onLoadEnd?: ((text: string) => any) | undefined;
274
- readonly "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
275
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
276
- $attrs: {
277
- [x: string]: unknown;
278
- };
279
- $refs: {
280
- [x: string]: unknown;
281
- };
282
- $slots: Readonly<{
283
- [name: string]: import('vue').Slot<any> | undefined;
284
- }>;
285
- $root: ComponentPublicInstance | null;
286
- $parent: ComponentPublicInstance | null;
287
- $host: Element | null;
288
- $emit: ((event: "change", data: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "expand", data: any) => void) & ((event: "loadStart") => void) & ((event: "loadEnd", text: string) => void) & ((event: "update:expandKeys", value: never[]) => void);
289
- $el: HTMLDivElement;
290
- $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
291
- dataSource: {
292
- type: PropType<import('../../../..').LewTreeDataSource[]>;
293
- typePopKeys: string[];
294
- validator: (value: any[] | undefined) => boolean;
295
- };
296
- height: {
297
- type: StringConstructor;
298
- default: string;
299
- validator: (value: string | number | undefined) => boolean;
300
- };
301
- multiple: {
302
- type: BooleanConstructor;
303
- default: boolean;
304
- validator: (value: any) => boolean;
305
- };
306
- checkable: {
307
- type: BooleanConstructor;
308
- default: boolean;
309
- validator: (value: any) => boolean;
310
- };
311
- searchable: {
312
- type: BooleanConstructor;
313
- default: boolean;
314
- validator: (value: any) => boolean;
315
- };
316
- expandAll: {
317
- type: BooleanConstructor;
318
- default: boolean;
319
- validator: (value: any) => boolean;
320
- };
321
- free: {
322
- type: BooleanConstructor;
323
- default: boolean;
324
- validator: (value: any) => boolean;
325
- };
326
- showLine: {
327
- type: BooleanConstructor;
328
- default: boolean;
329
- validator: (value: any) => boolean;
330
- };
331
- keyField: {
332
- type: StringConstructor;
333
- default: string;
334
- validator: (value: any) => boolean;
335
- };
336
- labelField: {
337
- type: StringConstructor;
338
- default: string;
339
- validator: (value: any) => boolean;
340
- };
341
- disabledField: {
342
- type: StringConstructor;
343
- default: string;
344
- validator: (value: any) => boolean;
345
- };
346
- initMethod: {
347
- type: PropType<() => void>;
348
- validator: (value: any) => boolean;
349
- };
350
- loadMethod: {
351
- type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
352
- validator: (value: any) => boolean;
353
- };
354
- isSelect: {
355
- type: BooleanConstructor;
356
- default: boolean;
357
- hidden: boolean;
358
- validator: (value: any) => boolean;
359
- };
360
- onlyLeafSelectable: {
361
- type: BooleanConstructor;
362
- default: boolean;
363
- validator: (value: any) => boolean;
364
- };
365
- modelValue: {
366
- type: globalThis.PropType<any>;
367
- };
368
- expandKeys: {
369
- type: globalThis.PropType<never[]>;
370
- };
371
- }>> & Readonly<{
372
- onChange?: ((data: any) => any) | undefined;
373
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
374
- onExpand?: ((data: any) => any) | undefined;
375
- onLoadStart?: (() => any) | undefined;
376
- onLoadEnd?: ((text: string) => any) | undefined;
377
- "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
378
- }>, {
379
- search: (keyword: string) => void;
380
- reset: () => void;
381
- getTree: () => any;
382
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
383
- change: (data: any) => void;
384
- expand: (data: any) => void;
385
- loadStart: () => void;
386
- loadEnd: (text: string) => void;
387
- "update:modelValue": (value: any) => void;
388
- "update:expandKeys": (value: never[]) => void;
389
- }, string, {
390
- checkable: boolean;
391
- height: string;
392
- multiple: boolean;
393
- searchable: boolean;
394
- expandAll: boolean;
395
- free: boolean;
396
- showLine: boolean;
397
- keyField: string;
398
- labelField: string;
399
- disabledField: string;
400
- isSelect: boolean;
401
- onlyLeafSelectable: boolean;
402
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
403
- beforeCreate?: (() => void) | (() => void)[];
404
- created?: (() => void) | (() => void)[];
405
- beforeMount?: (() => void) | (() => void)[];
406
- mounted?: (() => void) | (() => void)[];
407
- beforeUpdate?: (() => void) | (() => void)[];
408
- updated?: (() => void) | (() => void)[];
409
- activated?: (() => void) | (() => void)[];
410
- deactivated?: (() => void) | (() => void)[];
411
- beforeDestroy?: (() => void) | (() => void)[];
412
- beforeUnmount?: (() => void) | (() => void)[];
413
- destroyed?: (() => void) | (() => void)[];
414
- unmounted?: (() => void) | (() => void)[];
415
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
416
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
417
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
418
- };
419
- $forceUpdate: () => void;
420
- $nextTick: typeof import('vue').nextTick;
421
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
422
- } & Readonly<{
423
- checkable: boolean;
424
- height: string;
425
- multiple: boolean;
426
- searchable: boolean;
427
- expandAll: boolean;
428
- free: boolean;
429
- showLine: boolean;
430
- keyField: string;
431
- labelField: string;
432
- disabledField: string;
433
- isSelect: boolean;
434
- onlyLeafSelectable: boolean;
435
- }> & Omit<Readonly<globalThis.ExtractPropTypes<{
436
- dataSource: {
437
- type: PropType<import('../../../..').LewTreeDataSource[]>;
438
- typePopKeys: string[];
439
- validator: (value: any[] | undefined) => boolean;
440
- };
441
- height: {
442
- type: StringConstructor;
443
- default: string;
444
- validator: (value: string | number | undefined) => boolean;
445
- };
446
- multiple: {
447
- type: BooleanConstructor;
448
- default: boolean;
449
- validator: (value: any) => boolean;
450
- };
451
- checkable: {
452
- type: BooleanConstructor;
453
- default: boolean;
454
- validator: (value: any) => boolean;
455
- };
456
- searchable: {
457
- type: BooleanConstructor;
458
- default: boolean;
459
- validator: (value: any) => boolean;
460
- };
461
- expandAll: {
462
- type: BooleanConstructor;
463
- default: boolean;
464
- validator: (value: any) => boolean;
465
- };
466
- free: {
467
- type: BooleanConstructor;
468
- default: boolean;
469
- validator: (value: any) => boolean;
470
- };
471
- showLine: {
472
- type: BooleanConstructor;
473
- default: boolean;
474
- validator: (value: any) => boolean;
475
- };
476
- keyField: {
477
- type: StringConstructor;
478
- default: string;
479
- validator: (value: any) => boolean;
480
- };
481
- labelField: {
482
- type: StringConstructor;
483
- default: string;
484
- validator: (value: any) => boolean;
485
- };
486
- disabledField: {
487
- type: StringConstructor;
488
- default: string;
489
- validator: (value: any) => boolean;
490
- };
491
- initMethod: {
492
- type: PropType<() => void>;
493
- validator: (value: any) => boolean;
494
- };
495
- loadMethod: {
496
- type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
497
- validator: (value: any) => boolean;
498
- };
499
- isSelect: {
500
- type: BooleanConstructor;
501
- default: boolean;
502
- hidden: boolean;
503
- validator: (value: any) => boolean;
504
- };
505
- onlyLeafSelectable: {
506
- type: BooleanConstructor;
507
- default: boolean;
508
- validator: (value: any) => boolean;
509
- };
510
- modelValue: {
511
- type: globalThis.PropType<any>;
512
- };
513
- expandKeys: {
514
- type: globalThis.PropType<never[]>;
515
- };
516
- }>> & Readonly<{
517
- onChange?: ((data: any) => any) | undefined;
518
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
519
- onExpand?: ((data: any) => any) | undefined;
520
- onLoadStart?: (() => any) | undefined;
521
- onLoadEnd?: ((text: string) => any) | undefined;
522
- "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
523
- }>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
524
- search: (keyword: string) => void;
525
- reset: () => void;
526
- getTree: () => any;
527
- }> & {} & import('vue').ComponentCustomProperties & {} & {
528
- $slots: {
529
- empty?(_: {}): any;
530
- };
531
- }) | null;
532
- };
533
- rootEl: HTMLDivElement;
534
- };
535
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
536
- declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
537
- dataSource: {
538
- type: PropType<import('../../../..').LewTreeDataSource[]>;
539
- typePopKeys: string[];
540
- validator: (value: any[] | undefined) => boolean;
541
- };
542
- width: {
543
- type: PropType<import("csstype").Property.Width>;
544
- default: string;
545
- validator: (value: string | number | undefined) => boolean;
546
- };
547
- defaultValue: {
548
- type: StringConstructor;
549
- validator: (value: any) => boolean;
550
- };
551
- placeholder: {
552
- type: StringConstructor;
553
- defaultLocale: boolean;
554
- validator: (value: any) => boolean;
555
- };
556
- size: {
557
- type: PropType<import('../../../..').LewSize>;
558
- default: string;
559
- typeValues: import('../../../..').LewSize[];
560
- validator: (value: any) => boolean;
561
- };
562
- disabled: {
563
- type: BooleanConstructor;
564
- default: boolean;
565
- validator: (value: any) => boolean;
566
- };
567
- clearable: {
568
- type: BooleanConstructor;
569
- default: boolean;
570
- validator: (value: any) => boolean;
571
- };
572
- checkable: {
573
- type: BooleanConstructor;
574
- default: boolean;
575
- validator: (value: any) => boolean;
576
- };
577
- showAllLevels: {
578
- type: BooleanConstructor;
579
- default: boolean;
580
- validator: (value: any) => boolean;
581
- };
582
- showCheckIcon: {
583
- type: BooleanConstructor;
584
- default: boolean;
585
- validator: (value: any) => boolean;
586
- };
587
- showLine: {
588
- type: BooleanConstructor;
589
- default: boolean;
590
- validator: (value: any) => boolean;
591
- };
592
- expandAll: {
593
- type: BooleanConstructor;
594
- default: boolean;
595
- validator: (value: any) => boolean;
596
- };
597
- searchable: {
598
- type: BooleanConstructor;
599
- default: boolean;
600
- validator: (value: any) => boolean;
601
- };
602
- searchDelay: {
603
- type: NumberConstructor;
604
- default: number;
605
- validator: (value: any) => boolean;
606
- };
607
- readonly: {
608
- type: BooleanConstructor;
609
- default: boolean;
610
- validator: (value: any) => boolean;
611
- };
612
- free: {
613
- type: BooleanConstructor;
614
- default: boolean;
615
- validator: (value: any) => boolean;
616
- };
617
- trigger: {
618
- type: PropType<import('../../../..').LewTrigger>;
619
- default: string;
620
- typeValues: import('../../../..').LewTrigger[];
621
- validator: (value: any) => boolean;
622
- };
623
- keyField: {
624
- type: StringConstructor;
625
- default: string;
626
- validator: (value: any) => boolean;
627
- };
628
- labelField: {
629
- type: StringConstructor;
630
- default: string;
631
- validator: (value: any) => boolean;
632
- };
633
- disabledField: {
634
- type: StringConstructor;
635
- default: string;
636
- validator: (value: any) => boolean;
637
- };
638
- initMethod: {
639
- type: PropType<() => void>;
640
- default: undefined;
641
- validator: (value: any) => boolean;
642
- };
643
- initMethodId: {
644
- type: StringConstructor;
645
- validator: (value: any) => boolean;
646
- };
647
- loadMethod: {
648
- type: PropType<() => void>;
649
- default: undefined;
650
- validator: (value: any) => boolean;
651
- };
652
- modelValue: {
653
- type: globalThis.PropType<any>;
654
- };
655
- }>, {
656
- show: typeof show;
657
- hide: typeof hide;
658
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
659
- change: (value?: string | undefined) => void;
660
- clear: () => void;
661
- "update:modelValue": (value: any) => void;
662
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
663
- dataSource: {
664
- type: PropType<import('../../../..').LewTreeDataSource[]>;
665
- typePopKeys: string[];
666
- validator: (value: any[] | undefined) => boolean;
667
- };
668
- width: {
669
- type: PropType<import("csstype").Property.Width>;
670
- default: string;
671
- validator: (value: string | number | undefined) => boolean;
672
- };
673
- defaultValue: {
674
- type: StringConstructor;
675
- validator: (value: any) => boolean;
676
- };
677
- placeholder: {
678
- type: StringConstructor;
679
- defaultLocale: boolean;
680
- validator: (value: any) => boolean;
681
- };
682
- size: {
683
- type: PropType<import('../../../..').LewSize>;
684
- default: string;
685
- typeValues: import('../../../..').LewSize[];
686
- validator: (value: any) => boolean;
687
- };
688
- disabled: {
689
- type: BooleanConstructor;
690
- default: boolean;
691
- validator: (value: any) => boolean;
692
- };
693
- clearable: {
694
- type: BooleanConstructor;
695
- default: boolean;
696
- validator: (value: any) => boolean;
697
- };
698
- checkable: {
699
- type: BooleanConstructor;
700
- default: boolean;
701
- validator: (value: any) => boolean;
702
- };
703
- showAllLevels: {
704
- type: BooleanConstructor;
705
- default: boolean;
706
- validator: (value: any) => boolean;
707
- };
708
- showCheckIcon: {
709
- type: BooleanConstructor;
710
- default: boolean;
711
- validator: (value: any) => boolean;
712
- };
713
- showLine: {
714
- type: BooleanConstructor;
715
- default: boolean;
716
- validator: (value: any) => boolean;
717
- };
718
- expandAll: {
719
- type: BooleanConstructor;
720
- default: boolean;
721
- validator: (value: any) => boolean;
722
- };
723
- searchable: {
724
- type: BooleanConstructor;
725
- default: boolean;
726
- validator: (value: any) => boolean;
727
- };
728
- searchDelay: {
729
- type: NumberConstructor;
730
- default: number;
731
- validator: (value: any) => boolean;
732
- };
733
- readonly: {
734
- type: BooleanConstructor;
735
- default: boolean;
736
- validator: (value: any) => boolean;
737
- };
738
- free: {
739
- type: BooleanConstructor;
740
- default: boolean;
741
- validator: (value: any) => boolean;
742
- };
743
- trigger: {
744
- type: PropType<import('../../../..').LewTrigger>;
745
- default: string;
746
- typeValues: import('../../../..').LewTrigger[];
747
- validator: (value: any) => boolean;
748
- };
749
- keyField: {
750
- type: StringConstructor;
751
- default: string;
752
- validator: (value: any) => boolean;
753
- };
754
- labelField: {
755
- type: StringConstructor;
756
- default: string;
757
- validator: (value: any) => boolean;
758
- };
759
- disabledField: {
760
- type: StringConstructor;
761
- default: string;
762
- validator: (value: any) => boolean;
763
- };
764
- initMethod: {
765
- type: PropType<() => void>;
766
- default: undefined;
767
- validator: (value: any) => boolean;
768
- };
769
- initMethodId: {
770
- type: StringConstructor;
771
- validator: (value: any) => boolean;
772
- };
773
- loadMethod: {
774
- type: PropType<() => void>;
775
- default: undefined;
776
- validator: (value: any) => boolean;
777
- };
778
- modelValue: {
779
- type: globalThis.PropType<any>;
780
- };
781
- }>> & Readonly<{
782
- onChange?: ((value?: string | undefined) => any) | undefined;
783
- onClear?: (() => any) | undefined;
784
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
785
- }>, {
786
- size: import('../../../..').LewSize;
787
- disabled: boolean;
788
- checkable: boolean;
789
- width: import("csstype").Property.Width<0 | (string & {})>;
790
- readonly: boolean;
791
- trigger: import('../../../..').LewTrigger;
792
- clearable: boolean;
793
- searchable: boolean;
794
- initMethod: () => void;
795
- searchDelay: number;
796
- showCheckIcon: boolean;
797
- expandAll: boolean;
798
- free: boolean;
799
- showLine: boolean;
800
- keyField: string;
801
- labelField: string;
802
- disabledField: string;
803
- loadMethod: () => void;
804
- showAllLevels: boolean;
805
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
806
- lewPopoverRef: ({
807
- $: import('vue').ComponentInternalInstance;
808
- $data: {};
809
- $props: Partial<{
810
- loading: boolean;
811
- disabled: boolean;
812
- offset: import('../../../..').LewOffset;
813
- placement: import('../../../..').LewPlacement;
814
- delay: [number, number];
815
- trigger: import('../../../..').LewTrigger;
816
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
817
- hideOnClick: boolean;
818
- clickOutsideToHide: boolean;
819
- popoverBodyClassName: string;
820
- }> & Omit<{
821
- readonly loading: boolean;
822
- readonly disabled: boolean;
823
- readonly offset: import('../../../..').LewOffset;
824
- readonly placement: import('../../../..').LewPlacement;
825
- readonly delay: [number, number];
826
- readonly trigger: import('../../../..').LewTrigger;
827
- readonly triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
828
- readonly hideOnClick: boolean;
829
- readonly clickOutsideToHide: boolean;
830
- readonly popoverBodyClassName: string;
831
- readonly onShow?: (() => any) | undefined;
832
- readonly onHide?: (() => any) | undefined;
833
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName">;
834
- $attrs: {
835
- [x: string]: unknown;
836
- };
837
- $refs: {
838
- [x: string]: unknown;
839
- } & {
840
- triggerRef: HTMLDivElement;
841
- bodyRef: HTMLDivElement;
842
- };
843
- $slots: Readonly<{
844
- [name: string]: import('vue').Slot<any> | undefined;
845
- }>;
846
- $root: ComponentPublicInstance | null;
847
- $parent: ComponentPublicInstance | null;
848
- $host: Element | null;
849
- $emit: ((event: "show") => void) & ((event: "hide") => void);
850
- $el: HTMLDivElement;
851
- $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
852
- trigger: {
853
- type: PropType<import('../../../..').LewTrigger>;
854
- default: string;
855
- typeValues: import('../../../..').LewTrigger[];
856
- validator: (value: any) => boolean;
857
- };
858
- triggerWidth: {
859
- type: PropType<import("csstype").Property.Width>;
860
- default: string;
861
- validator: (value: any) => boolean;
862
- };
863
- placement: {
864
- type: PropType<import('../../../..').LewPlacement>;
865
- default: string;
866
- typeValues: import('../../../..').LewPlacement[];
867
- validator: (value: any) => boolean;
868
- };
869
- disabled: {
870
- type: BooleanConstructor;
871
- default: boolean;
872
- validator: (value: any) => boolean;
873
- };
874
- loading: {
875
- type: BooleanConstructor;
876
- default: boolean;
877
- validator: (value: any) => boolean;
878
- };
879
- hideOnClick: {
880
- type: BooleanConstructor;
881
- default: boolean;
882
- validator: (value: any) => boolean;
883
- };
884
- clickOutsideToHide: {
885
- type: BooleanConstructor;
886
- default: boolean;
887
- validator: (value: any) => boolean;
888
- };
889
- offset: {
890
- type: PropType<import('../../../..').LewOffset>;
891
- default: number[];
892
- validator: (value: any[] | undefined) => boolean;
893
- };
894
- delay: {
895
- type: PropType<[number, number]>;
896
- default: number[];
897
- validator: (value: any[] | undefined) => boolean;
898
- };
899
- popoverBodyClassName: {
900
- type: StringConstructor;
901
- default: string;
902
- validator: (value: any) => boolean;
903
- };
904
- }>> & Readonly<{
905
- onShow?: (() => any) | undefined;
906
- onHide?: (() => any) | undefined;
907
- }>, {
908
- show: () => void;
909
- hide: () => void;
910
- refresh: () => void;
911
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
912
- show: () => void;
913
- hide: () => void;
914
- }, string, {
915
- loading: boolean;
916
- disabled: boolean;
917
- offset: import('../../../..').LewOffset;
918
- placement: import('../../../..').LewPlacement;
919
- delay: [number, number];
920
- trigger: import('../../../..').LewTrigger;
921
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
922
- hideOnClick: boolean;
923
- clickOutsideToHide: boolean;
924
- popoverBodyClassName: string;
925
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
926
- beforeCreate?: (() => void) | (() => void)[];
927
- created?: (() => void) | (() => void)[];
928
- beforeMount?: (() => void) | (() => void)[];
929
- mounted?: (() => void) | (() => void)[];
930
- beforeUpdate?: (() => void) | (() => void)[];
931
- updated?: (() => void) | (() => void)[];
932
- activated?: (() => void) | (() => void)[];
933
- deactivated?: (() => void) | (() => void)[];
934
- beforeDestroy?: (() => void) | (() => void)[];
935
- beforeUnmount?: (() => void) | (() => void)[];
936
- destroyed?: (() => void) | (() => void)[];
937
- unmounted?: (() => void) | (() => void)[];
938
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
939
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
940
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
941
- };
942
- $forceUpdate: () => void;
943
- $nextTick: typeof import('vue').nextTick;
944
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
945
- } & Readonly<{
946
- loading: boolean;
947
- disabled: boolean;
948
- offset: import('../../../..').LewOffset;
949
- placement: import('../../../..').LewPlacement;
950
- delay: [number, number];
951
- trigger: import('../../../..').LewTrigger;
952
- triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
953
- hideOnClick: boolean;
954
- clickOutsideToHide: boolean;
955
- popoverBodyClassName: string;
956
- }> & Omit<Readonly<globalThis.ExtractPropTypes<{
957
- trigger: {
958
- type: PropType<import('../../../..').LewTrigger>;
959
- default: string;
960
- typeValues: import('../../../..').LewTrigger[];
961
- validator: (value: any) => boolean;
962
- };
963
- triggerWidth: {
964
- type: PropType<import("csstype").Property.Width>;
965
- default: string;
966
- validator: (value: any) => boolean;
967
- };
968
- placement: {
969
- type: PropType<import('../../../..').LewPlacement>;
970
- default: string;
971
- typeValues: import('../../../..').LewPlacement[];
972
- validator: (value: any) => boolean;
973
- };
974
- disabled: {
975
- type: BooleanConstructor;
976
- default: boolean;
977
- validator: (value: any) => boolean;
978
- };
979
- loading: {
980
- type: BooleanConstructor;
981
- default: boolean;
982
- validator: (value: any) => boolean;
983
- };
984
- hideOnClick: {
985
- type: BooleanConstructor;
986
- default: boolean;
987
- validator: (value: any) => boolean;
988
- };
989
- clickOutsideToHide: {
990
- type: BooleanConstructor;
991
- default: boolean;
992
- validator: (value: any) => boolean;
993
- };
994
- offset: {
995
- type: PropType<import('../../../..').LewOffset>;
996
- default: number[];
997
- validator: (value: any[] | undefined) => boolean;
998
- };
999
- delay: {
1000
- type: PropType<[number, number]>;
1001
- default: number[];
1002
- validator: (value: any[] | undefined) => boolean;
1003
- };
1004
- popoverBodyClassName: {
1005
- type: StringConstructor;
1006
- default: string;
1007
- validator: (value: any) => boolean;
1008
- };
1009
- }>> & Readonly<{
1010
- onShow?: (() => any) | undefined;
1011
- onHide?: (() => any) | undefined;
1012
- }>, "show" | "hide" | "refresh" | ("loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName")> & import('vue').ShallowUnwrapRef<{
1013
- show: () => void;
1014
- hide: () => void;
1015
- refresh: () => void;
1016
- }> & {} & import('vue').ComponentCustomProperties & {} & {
1017
- $slots: {
1018
- trigger?(_: {}): any;
1019
- 'popover-body'?(_: {
1020
- show: () => void;
1021
- hide: () => void;
1022
- }): any;
1023
- };
1024
- }) | null;
1025
- lewSelectRef: HTMLDivElement;
1026
- inputRef: HTMLInputElement;
1027
- lewTreeRef: ({
1028
- $: import('vue').ComponentInternalInstance;
1029
- $data: {};
1030
- $props: Partial<{
1031
- checkable: boolean;
1032
- height: string;
1033
- multiple: boolean;
1034
- searchable: boolean;
1035
- expandAll: boolean;
1036
- free: boolean;
1037
- showLine: boolean;
1038
- keyField: string;
1039
- labelField: string;
1040
- disabledField: string;
1041
- isSelect: boolean;
1042
- onlyLeafSelectable: boolean;
1043
- }> & Omit<{
1044
- readonly checkable: boolean;
1045
- readonly height: string;
1046
- readonly multiple: boolean;
1047
- readonly searchable: boolean;
1048
- readonly expandAll: boolean;
1049
- readonly free: boolean;
1050
- readonly showLine: boolean;
1051
- readonly keyField: string;
1052
- readonly labelField: string;
1053
- readonly disabledField: string;
1054
- readonly isSelect: boolean;
1055
- readonly onlyLeafSelectable: boolean;
1056
- readonly expandKeys?: never[] | undefined;
1057
- readonly modelValue?: any;
1058
- readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
1059
- readonly initMethod?: (() => void) | undefined;
1060
- readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
1061
- readonly onChange?: ((data: any) => any) | undefined;
1062
- readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1063
- readonly onExpand?: ((data: any) => any) | undefined;
1064
- readonly onLoadStart?: (() => any) | undefined;
1065
- readonly onLoadEnd?: ((text: string) => any) | undefined;
1066
- readonly "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
1067
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
1068
- $attrs: {
1069
- [x: string]: unknown;
1070
- };
1071
- $refs: {
1072
- [x: string]: unknown;
1073
- };
1074
- $slots: Readonly<{
1075
- [name: string]: import('vue').Slot<any> | undefined;
1076
- }>;
1077
- $root: ComponentPublicInstance | null;
1078
- $parent: ComponentPublicInstance | null;
1079
- $host: Element | null;
1080
- $emit: ((event: "change", data: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "expand", data: any) => void) & ((event: "loadStart") => void) & ((event: "loadEnd", text: string) => void) & ((event: "update:expandKeys", value: never[]) => void);
1081
- $el: HTMLDivElement;
1082
- $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
1083
- dataSource: {
1084
- type: PropType<import('../../../..').LewTreeDataSource[]>;
1085
- typePopKeys: string[];
1086
- validator: (value: any[] | undefined) => boolean;
1087
- };
1088
- height: {
1089
- type: StringConstructor;
1090
- default: string;
1091
- validator: (value: string | number | undefined) => boolean;
1092
- };
1093
- multiple: {
1094
- type: BooleanConstructor;
1095
- default: boolean;
1096
- validator: (value: any) => boolean;
1097
- };
1098
- checkable: {
1099
- type: BooleanConstructor;
1100
- default: boolean;
1101
- validator: (value: any) => boolean;
1102
- };
1103
- searchable: {
1104
- type: BooleanConstructor;
1105
- default: boolean;
1106
- validator: (value: any) => boolean;
1107
- };
1108
- expandAll: {
1109
- type: BooleanConstructor;
1110
- default: boolean;
1111
- validator: (value: any) => boolean;
1112
- };
1113
- free: {
1114
- type: BooleanConstructor;
1115
- default: boolean;
1116
- validator: (value: any) => boolean;
1117
- };
1118
- showLine: {
1119
- type: BooleanConstructor;
1120
- default: boolean;
1121
- validator: (value: any) => boolean;
1122
- };
1123
- keyField: {
1124
- type: StringConstructor;
1125
- default: string;
1126
- validator: (value: any) => boolean;
1127
- };
1128
- labelField: {
1129
- type: StringConstructor;
1130
- default: string;
1131
- validator: (value: any) => boolean;
1132
- };
1133
- disabledField: {
1134
- type: StringConstructor;
1135
- default: string;
1136
- validator: (value: any) => boolean;
1137
- };
1138
- initMethod: {
1139
- type: PropType<() => void>;
1140
- validator: (value: any) => boolean;
1141
- };
1142
- loadMethod: {
1143
- type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
1144
- validator: (value: any) => boolean;
1145
- };
1146
- isSelect: {
1147
- type: BooleanConstructor;
1148
- default: boolean;
1149
- hidden: boolean;
1150
- validator: (value: any) => boolean;
1151
- };
1152
- onlyLeafSelectable: {
1153
- type: BooleanConstructor;
1154
- default: boolean;
1155
- validator: (value: any) => boolean;
1156
- };
1157
- modelValue: {
1158
- type: globalThis.PropType<any>;
1159
- };
1160
- expandKeys: {
1161
- type: globalThis.PropType<never[]>;
1162
- };
1163
- }>> & Readonly<{
1164
- onChange?: ((data: any) => any) | undefined;
1165
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1166
- onExpand?: ((data: any) => any) | undefined;
1167
- onLoadStart?: (() => any) | undefined;
1168
- onLoadEnd?: ((text: string) => any) | undefined;
1169
- "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
1170
- }>, {
1171
- search: (keyword: string) => void;
1172
- reset: () => void;
1173
- getTree: () => any;
1174
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1175
- change: (data: any) => void;
1176
- expand: (data: any) => void;
1177
- loadStart: () => void;
1178
- loadEnd: (text: string) => void;
1179
- "update:modelValue": (value: any) => void;
1180
- "update:expandKeys": (value: never[]) => void;
1181
- }, string, {
1182
- checkable: boolean;
1183
- height: string;
1184
- multiple: boolean;
1185
- searchable: boolean;
1186
- expandAll: boolean;
1187
- free: boolean;
1188
- showLine: boolean;
1189
- keyField: string;
1190
- labelField: string;
1191
- disabledField: string;
1192
- isSelect: boolean;
1193
- onlyLeafSelectable: boolean;
1194
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1195
- beforeCreate?: (() => void) | (() => void)[];
1196
- created?: (() => void) | (() => void)[];
1197
- beforeMount?: (() => void) | (() => void)[];
1198
- mounted?: (() => void) | (() => void)[];
1199
- beforeUpdate?: (() => void) | (() => void)[];
1200
- updated?: (() => void) | (() => void)[];
1201
- activated?: (() => void) | (() => void)[];
1202
- deactivated?: (() => void) | (() => void)[];
1203
- beforeDestroy?: (() => void) | (() => void)[];
1204
- beforeUnmount?: (() => void) | (() => void)[];
1205
- destroyed?: (() => void) | (() => void)[];
1206
- unmounted?: (() => void) | (() => void)[];
1207
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1208
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1209
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1210
- };
1211
- $forceUpdate: () => void;
1212
- $nextTick: typeof import('vue').nextTick;
1213
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1214
- } & Readonly<{
1215
- checkable: boolean;
1216
- height: string;
1217
- multiple: boolean;
1218
- searchable: boolean;
1219
- expandAll: boolean;
1220
- free: boolean;
1221
- showLine: boolean;
1222
- keyField: string;
1223
- labelField: string;
1224
- disabledField: string;
1225
- isSelect: boolean;
1226
- onlyLeafSelectable: boolean;
1227
- }> & Omit<Readonly<globalThis.ExtractPropTypes<{
1228
- dataSource: {
1229
- type: PropType<import('../../../..').LewTreeDataSource[]>;
1230
- typePopKeys: string[];
1231
- validator: (value: any[] | undefined) => boolean;
1232
- };
1233
- height: {
1234
- type: StringConstructor;
1235
- default: string;
1236
- validator: (value: string | number | undefined) => boolean;
1237
- };
1238
- multiple: {
1239
- type: BooleanConstructor;
1240
- default: boolean;
1241
- validator: (value: any) => boolean;
1242
- };
1243
- checkable: {
1244
- type: BooleanConstructor;
1245
- default: boolean;
1246
- validator: (value: any) => boolean;
1247
- };
1248
- searchable: {
1249
- type: BooleanConstructor;
1250
- default: boolean;
1251
- validator: (value: any) => boolean;
1252
- };
1253
- expandAll: {
1254
- type: BooleanConstructor;
1255
- default: boolean;
1256
- validator: (value: any) => boolean;
1257
- };
1258
- free: {
1259
- type: BooleanConstructor;
1260
- default: boolean;
1261
- validator: (value: any) => boolean;
1262
- };
1263
- showLine: {
1264
- type: BooleanConstructor;
1265
- default: boolean;
1266
- validator: (value: any) => boolean;
1267
- };
1268
- keyField: {
1269
- type: StringConstructor;
1270
- default: string;
1271
- validator: (value: any) => boolean;
1272
- };
1273
- labelField: {
1274
- type: StringConstructor;
1275
- default: string;
1276
- validator: (value: any) => boolean;
1277
- };
1278
- disabledField: {
1279
- type: StringConstructor;
1280
- default: string;
1281
- validator: (value: any) => boolean;
1282
- };
1283
- initMethod: {
1284
- type: PropType<() => void>;
1285
- validator: (value: any) => boolean;
1286
- };
1287
- loadMethod: {
1288
- type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
1289
- validator: (value: any) => boolean;
1290
- };
1291
- isSelect: {
1292
- type: BooleanConstructor;
1293
- default: boolean;
1294
- hidden: boolean;
1295
- validator: (value: any) => boolean;
1296
- };
1297
- onlyLeafSelectable: {
1298
- type: BooleanConstructor;
1299
- default: boolean;
1300
- validator: (value: any) => boolean;
1301
- };
1302
- modelValue: {
1303
- type: globalThis.PropType<any>;
1304
- };
1305
- expandKeys: {
1306
- type: globalThis.PropType<never[]>;
1307
- };
1308
- }>> & Readonly<{
1309
- onChange?: ((data: any) => any) | undefined;
1310
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1311
- onExpand?: ((data: any) => any) | undefined;
1312
- onLoadStart?: (() => any) | undefined;
1313
- onLoadEnd?: ((text: string) => any) | undefined;
1314
- "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
1315
- }>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
1316
- search: (keyword: string) => void;
1317
- reset: () => void;
1318
- getTree: () => any;
1319
- }> & {} & import('vue').ComponentCustomProperties & {} & {
1320
- $slots: {
1321
- empty?(_: {}): any;
1322
- };
1323
- }) | null;
1324
- }, HTMLDivElement>;
1325
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1326
- export default _default;
1327
- type __VLS_WithTemplateSlots<T, S> = T & {
1328
- new (): {
1329
- $slots: S;
1330
- };
1331
- };