lew-ui 2.7.57 → 2.7.59
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.
- package/LICENSE +21 -21
- package/dist/_components/CommonInput.vue.d.ts +499 -0
- package/dist/components/data/table/src/LewTable.vue.d.ts +1 -1
- package/dist/components/data/tree/src/LewTree.vue.d.ts +12 -1
- package/dist/components/data/tree/src/props.d.ts +5 -0
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +22 -0
- package/dist/components/feedback/drawer/src/props.d.ts +10 -0
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +46 -31
- package/dist/components/form/cascader/src/cascader.d.ts +15 -0
- package/dist/components/form/cascader/src/emits.d.ts +8 -1
- package/dist/components/form/cascader/src/props.d.ts +15 -10
- package/dist/components/form/index.d.ts +0 -1
- package/dist/components/form/input/src/LewInput.vue.d.ts +2 -2
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +2 -2
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -4
- package/dist/components/form/select/src/LewSelect.vue.d.ts +1480 -411
- package/dist/components/form/select/src/emits.d.ts +5 -1
- package/dist/components/form/select/src/props.d.ts +7 -2
- package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +4 -2
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +40 -23
- package/dist/components/form/tree-select/src/props.d.ts +0 -5
- package/dist/components/form/tree-select-multiple/index.d.ts +3 -0
- package/dist/components/form/{select-multiple/src/LewSelectMultiple.vue.d.ts → tree-select-multiple/src/LewTreeSelectMultiple.vue.d.ts} +492 -930
- package/dist/components/form/tree-select-multiple/src/emits.d.ts +4 -0
- package/dist/components/form/{select-multiple → tree-select-multiple}/src/props.d.ts +63 -55
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +21 -1
- package/dist/components/navigation/steps/src/props.d.ts +8 -0
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/useDOMCreate.d.ts +1 -0
- package/dist/hooks/useEventListener.d.ts +1 -0
- package/dist/hooks/useTreeSelection.d.ts +35 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1615 -1720
- package/dist/index.umd.cjs +7 -7
- package/dist/types/components.d.ts +2 -1
- package/package.json +1 -1
- package/dist/components/form/select-multiple/index.d.ts +0 -3
- package/dist/components/form/select-multiple/src/emits.d.ts +0 -11
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LewSelectMultipleOption } from '../../../..';
|
|
2
1
|
declare function show(): void;
|
|
3
2
|
declare function hide(): void;
|
|
4
3
|
declare function __VLS_template(): {
|
|
@@ -246,44 +245,53 @@ declare function __VLS_template(): {
|
|
|
246
245
|
};
|
|
247
246
|
}) | null;
|
|
248
247
|
lewSelectRef: HTMLDivElement;
|
|
249
|
-
|
|
248
|
+
inputRef: HTMLInputElement;
|
|
249
|
+
lewTreeRef: ({
|
|
250
250
|
$: import('vue').ComponentInternalInstance;
|
|
251
251
|
$data: {};
|
|
252
252
|
$props: Partial<{
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
253
|
+
checkable: boolean;
|
|
254
|
+
height: string;
|
|
255
|
+
multiple: boolean;
|
|
256
|
+
searchable: boolean;
|
|
257
|
+
expandAll: boolean;
|
|
258
|
+
free: boolean;
|
|
259
|
+
showLine: boolean;
|
|
260
|
+
keyField: string;
|
|
261
|
+
labelField: string;
|
|
262
|
+
disabledField: string;
|
|
263
|
+
isSelect: boolean;
|
|
264
|
+
onlyLeafSelectable: boolean;
|
|
264
265
|
}> & Omit<{
|
|
265
|
-
readonly
|
|
266
|
-
readonly
|
|
267
|
-
readonly
|
|
268
|
-
readonly
|
|
269
|
-
readonly
|
|
270
|
-
readonly
|
|
271
|
-
readonly
|
|
272
|
-
readonly
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
275
|
-
readonly
|
|
276
|
-
readonly
|
|
277
|
-
readonly
|
|
278
|
-
|
|
266
|
+
readonly checkable: boolean;
|
|
267
|
+
readonly height: string;
|
|
268
|
+
readonly multiple: boolean;
|
|
269
|
+
readonly searchable: boolean;
|
|
270
|
+
readonly expandAll: boolean;
|
|
271
|
+
readonly free: boolean;
|
|
272
|
+
readonly showLine: boolean;
|
|
273
|
+
readonly keyField: string;
|
|
274
|
+
readonly labelField: string;
|
|
275
|
+
readonly disabledField: string;
|
|
276
|
+
readonly isSelect: boolean;
|
|
277
|
+
readonly onlyLeafSelectable: boolean;
|
|
278
|
+
readonly expandKeys?: never[] | undefined;
|
|
279
|
+
readonly modelValue?: any;
|
|
280
|
+
readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
|
|
281
|
+
readonly initMethod?: (() => void) | undefined;
|
|
282
|
+
readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
|
|
283
|
+
readonly onChange?: ((data: any) => any) | undefined;
|
|
284
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
285
|
+
readonly onExpand?: ((data: any) => any) | undefined;
|
|
286
|
+
readonly onLoadStart?: (() => any) | undefined;
|
|
287
|
+
readonly onLoadEnd?: ((text: string) => any) | undefined;
|
|
288
|
+
readonly "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
289
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
|
|
279
290
|
$attrs: {
|
|
280
291
|
[x: string]: unknown;
|
|
281
292
|
};
|
|
282
293
|
$refs: {
|
|
283
294
|
[x: string]: unknown;
|
|
284
|
-
} & {
|
|
285
|
-
triggerRef: HTMLDivElement;
|
|
286
|
-
bodyRef: HTMLDivElement;
|
|
287
295
|
};
|
|
288
296
|
$slots: Readonly<{
|
|
289
297
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -291,88 +299,120 @@ declare function __VLS_template(): {
|
|
|
291
299
|
$root: ComponentPublicInstance | null;
|
|
292
300
|
$parent: ComponentPublicInstance | null;
|
|
293
301
|
$host: Element | null;
|
|
294
|
-
$emit: ((event: "
|
|
302
|
+
$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);
|
|
295
303
|
$el: HTMLDivElement;
|
|
296
304
|
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
297
|
-
|
|
298
|
-
type: PropType<import('../../../..').
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
validator: (value: any) => boolean;
|
|
305
|
+
dataSource: {
|
|
306
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
307
|
+
typePopKeys: string[];
|
|
308
|
+
validator: (value: any[] | undefined) => boolean;
|
|
302
309
|
};
|
|
303
|
-
|
|
304
|
-
type:
|
|
310
|
+
height: {
|
|
311
|
+
type: StringConstructor;
|
|
305
312
|
default: string;
|
|
313
|
+
validator: (value: string | number | undefined) => boolean;
|
|
314
|
+
};
|
|
315
|
+
multiple: {
|
|
316
|
+
type: BooleanConstructor;
|
|
317
|
+
default: boolean;
|
|
306
318
|
validator: (value: any) => boolean;
|
|
307
319
|
};
|
|
308
|
-
|
|
309
|
-
type:
|
|
310
|
-
default:
|
|
311
|
-
typeValues: import('../../../..').LewPlacement[];
|
|
320
|
+
checkable: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
312
323
|
validator: (value: any) => boolean;
|
|
313
324
|
};
|
|
314
|
-
|
|
325
|
+
searchable: {
|
|
315
326
|
type: BooleanConstructor;
|
|
316
327
|
default: boolean;
|
|
317
328
|
validator: (value: any) => boolean;
|
|
318
329
|
};
|
|
319
|
-
|
|
330
|
+
expandAll: {
|
|
320
331
|
type: BooleanConstructor;
|
|
321
332
|
default: boolean;
|
|
322
333
|
validator: (value: any) => boolean;
|
|
323
334
|
};
|
|
324
|
-
|
|
335
|
+
free: {
|
|
325
336
|
type: BooleanConstructor;
|
|
326
337
|
default: boolean;
|
|
327
338
|
validator: (value: any) => boolean;
|
|
328
339
|
};
|
|
329
|
-
|
|
340
|
+
showLine: {
|
|
330
341
|
type: BooleanConstructor;
|
|
331
342
|
default: boolean;
|
|
332
343
|
validator: (value: any) => boolean;
|
|
333
344
|
};
|
|
334
|
-
|
|
335
|
-
type:
|
|
336
|
-
default:
|
|
337
|
-
validator: (value: any
|
|
345
|
+
keyField: {
|
|
346
|
+
type: StringConstructor;
|
|
347
|
+
default: string;
|
|
348
|
+
validator: (value: any) => boolean;
|
|
338
349
|
};
|
|
339
|
-
|
|
340
|
-
type:
|
|
341
|
-
default:
|
|
342
|
-
validator: (value: any
|
|
350
|
+
labelField: {
|
|
351
|
+
type: StringConstructor;
|
|
352
|
+
default: string;
|
|
353
|
+
validator: (value: any) => boolean;
|
|
343
354
|
};
|
|
344
|
-
|
|
355
|
+
disabledField: {
|
|
345
356
|
type: StringConstructor;
|
|
346
357
|
default: string;
|
|
347
358
|
validator: (value: any) => boolean;
|
|
348
359
|
};
|
|
349
|
-
|
|
350
|
-
type: PropType<
|
|
351
|
-
|
|
352
|
-
|
|
360
|
+
initMethod: {
|
|
361
|
+
type: PropType<() => void>;
|
|
362
|
+
validator: (value: any) => boolean;
|
|
363
|
+
};
|
|
364
|
+
loadMethod: {
|
|
365
|
+
type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
|
|
366
|
+
validator: (value: any) => boolean;
|
|
367
|
+
};
|
|
368
|
+
isSelect: {
|
|
369
|
+
type: BooleanConstructor;
|
|
370
|
+
default: boolean;
|
|
371
|
+
hidden: boolean;
|
|
372
|
+
validator: (value: any) => boolean;
|
|
373
|
+
};
|
|
374
|
+
onlyLeafSelectable: {
|
|
375
|
+
type: BooleanConstructor;
|
|
376
|
+
default: boolean;
|
|
377
|
+
validator: (value: any) => boolean;
|
|
378
|
+
};
|
|
379
|
+
modelValue: {
|
|
380
|
+
type: globalThis.PropType<any>;
|
|
381
|
+
};
|
|
382
|
+
expandKeys: {
|
|
383
|
+
type: globalThis.PropType<never[]>;
|
|
353
384
|
};
|
|
354
385
|
}>> & Readonly<{
|
|
355
|
-
|
|
356
|
-
|
|
386
|
+
onChange?: ((data: any) => any) | undefined;
|
|
387
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
388
|
+
onExpand?: ((data: any) => any) | undefined;
|
|
389
|
+
onLoadStart?: (() => any) | undefined;
|
|
390
|
+
onLoadEnd?: ((text: string) => any) | undefined;
|
|
391
|
+
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
357
392
|
}>, {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
393
|
+
search: (keyword: string) => void;
|
|
394
|
+
reset: () => void;
|
|
395
|
+
getTree: () => any;
|
|
361
396
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
362
|
-
|
|
363
|
-
|
|
397
|
+
change: (data: any) => void;
|
|
398
|
+
expand: (data: any) => void;
|
|
399
|
+
loadStart: () => void;
|
|
400
|
+
loadEnd: (text: string) => void;
|
|
401
|
+
"update:modelValue": (value: any) => void;
|
|
402
|
+
"update:expandKeys": (value: never[]) => void;
|
|
364
403
|
}, string, {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
404
|
+
checkable: boolean;
|
|
405
|
+
height: string;
|
|
406
|
+
multiple: boolean;
|
|
407
|
+
searchable: boolean;
|
|
408
|
+
expandAll: boolean;
|
|
409
|
+
free: boolean;
|
|
410
|
+
showLine: boolean;
|
|
411
|
+
keyField: string;
|
|
412
|
+
labelField: string;
|
|
413
|
+
disabledField: string;
|
|
414
|
+
isSelect: boolean;
|
|
415
|
+
onlyLeafSelectable: boolean;
|
|
376
416
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
377
417
|
beforeCreate?: (() => void) | (() => void)[];
|
|
378
418
|
created?: (() => void) | (() => void)[];
|
|
@@ -394,410 +434,132 @@ declare function __VLS_template(): {
|
|
|
394
434
|
$nextTick: typeof import('vue').nextTick;
|
|
395
435
|
$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;
|
|
396
436
|
} & Readonly<{
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
437
|
+
checkable: boolean;
|
|
438
|
+
height: string;
|
|
439
|
+
multiple: boolean;
|
|
440
|
+
searchable: boolean;
|
|
441
|
+
expandAll: boolean;
|
|
442
|
+
free: boolean;
|
|
443
|
+
showLine: boolean;
|
|
444
|
+
keyField: string;
|
|
445
|
+
labelField: string;
|
|
446
|
+
disabledField: string;
|
|
447
|
+
isSelect: boolean;
|
|
448
|
+
onlyLeafSelectable: boolean;
|
|
408
449
|
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
409
|
-
|
|
410
|
-
type: PropType<import('../../../..').
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
validator: (value: any) => boolean;
|
|
414
|
-
};
|
|
415
|
-
triggerWidth: {
|
|
416
|
-
type: PropType<import("csstype").Property.Width>;
|
|
417
|
-
default: string;
|
|
418
|
-
validator: (value: any) => boolean;
|
|
450
|
+
dataSource: {
|
|
451
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
452
|
+
typePopKeys: string[];
|
|
453
|
+
validator: (value: any[] | undefined) => boolean;
|
|
419
454
|
};
|
|
420
|
-
|
|
421
|
-
type:
|
|
455
|
+
height: {
|
|
456
|
+
type: StringConstructor;
|
|
422
457
|
default: string;
|
|
423
|
-
|
|
424
|
-
validator: (value: any) => boolean;
|
|
458
|
+
validator: (value: string | number | undefined) => boolean;
|
|
425
459
|
};
|
|
426
|
-
|
|
460
|
+
multiple: {
|
|
427
461
|
type: BooleanConstructor;
|
|
428
462
|
default: boolean;
|
|
429
463
|
validator: (value: any) => boolean;
|
|
430
464
|
};
|
|
431
|
-
|
|
465
|
+
checkable: {
|
|
432
466
|
type: BooleanConstructor;
|
|
433
467
|
default: boolean;
|
|
434
468
|
validator: (value: any) => boolean;
|
|
435
469
|
};
|
|
436
|
-
|
|
470
|
+
searchable: {
|
|
437
471
|
type: BooleanConstructor;
|
|
438
472
|
default: boolean;
|
|
439
473
|
validator: (value: any) => boolean;
|
|
440
474
|
};
|
|
441
|
-
|
|
475
|
+
expandAll: {
|
|
442
476
|
type: BooleanConstructor;
|
|
443
477
|
default: boolean;
|
|
444
478
|
validator: (value: any) => boolean;
|
|
445
479
|
};
|
|
446
|
-
|
|
447
|
-
type: PropType<import('../../../..').LewOffset>;
|
|
448
|
-
default: number[];
|
|
449
|
-
validator: (value: any[] | undefined) => boolean;
|
|
450
|
-
};
|
|
451
|
-
delay: {
|
|
452
|
-
type: PropType<[number, number]>;
|
|
453
|
-
default: number[];
|
|
454
|
-
validator: (value: any[] | undefined) => boolean;
|
|
455
|
-
};
|
|
456
|
-
popoverBodyClassName: {
|
|
457
|
-
type: StringConstructor;
|
|
458
|
-
default: string;
|
|
459
|
-
validator: (value: any) => boolean;
|
|
460
|
-
};
|
|
461
|
-
triggerTarget: {
|
|
462
|
-
type: PropType<Element>;
|
|
463
|
-
default: null;
|
|
464
|
-
validator: (value: unknown) => boolean;
|
|
465
|
-
};
|
|
466
|
-
}>> & Readonly<{
|
|
467
|
-
onShow?: (() => any) | undefined;
|
|
468
|
-
onHide?: (() => any) | undefined;
|
|
469
|
-
}>, "show" | "hide" | "refresh" | ("loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName" | "triggerTarget")> & import('vue').ShallowUnwrapRef<{
|
|
470
|
-
show: () => void;
|
|
471
|
-
hide: () => void;
|
|
472
|
-
refresh: () => void;
|
|
473
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
474
|
-
$slots: {
|
|
475
|
-
trigger?(_: {}): any;
|
|
476
|
-
'popover-body'?(_: {
|
|
477
|
-
show: () => void;
|
|
478
|
-
hide: () => void;
|
|
479
|
-
}): any;
|
|
480
|
-
};
|
|
481
|
-
}) | null;
|
|
482
|
-
searchInputRef: HTMLInputElement;
|
|
483
|
-
virtListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
484
|
-
list: {
|
|
485
|
-
type: {
|
|
486
|
-
(arrayLength: number): any[];
|
|
487
|
-
(...items: any[]): any[];
|
|
488
|
-
new (arrayLength: number): any[];
|
|
489
|
-
new (...items: any[]): any[];
|
|
490
|
-
isArray(arg: any): arg is any[];
|
|
491
|
-
readonly prototype: any[];
|
|
492
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
493
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
494
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
495
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
496
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
497
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
498
|
-
};
|
|
499
|
-
default: () => never[];
|
|
500
|
-
};
|
|
501
|
-
itemKey: {
|
|
502
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
503
|
-
required: true;
|
|
504
|
-
};
|
|
505
|
-
minSize: {
|
|
506
|
-
type: NumberConstructor;
|
|
507
|
-
default: number;
|
|
508
|
-
required: true;
|
|
509
|
-
};
|
|
510
|
-
itemGap: {
|
|
511
|
-
type: NumberConstructor;
|
|
512
|
-
default: number;
|
|
513
|
-
};
|
|
514
|
-
renderControl: {
|
|
515
|
-
type: FunctionConstructor;
|
|
516
|
-
default: undefined;
|
|
517
|
-
};
|
|
518
|
-
fixed: {
|
|
480
|
+
free: {
|
|
519
481
|
type: BooleanConstructor;
|
|
520
482
|
default: boolean;
|
|
483
|
+
validator: (value: any) => boolean;
|
|
521
484
|
};
|
|
522
|
-
|
|
523
|
-
type: NumberConstructor;
|
|
524
|
-
default: number;
|
|
525
|
-
};
|
|
526
|
-
bufferTop: {
|
|
527
|
-
type: NumberConstructor;
|
|
528
|
-
default: number;
|
|
529
|
-
};
|
|
530
|
-
bufferBottom: {
|
|
531
|
-
type: NumberConstructor;
|
|
532
|
-
default: number;
|
|
533
|
-
};
|
|
534
|
-
scrollDistance: {
|
|
535
|
-
type: NumberConstructor;
|
|
536
|
-
default: number;
|
|
537
|
-
};
|
|
538
|
-
horizontal: {
|
|
485
|
+
showLine: {
|
|
539
486
|
type: BooleanConstructor;
|
|
540
487
|
default: boolean;
|
|
488
|
+
validator: (value: any) => boolean;
|
|
541
489
|
};
|
|
542
|
-
|
|
543
|
-
type:
|
|
544
|
-
default: number;
|
|
545
|
-
};
|
|
546
|
-
offset: {
|
|
547
|
-
type: NumberConstructor;
|
|
548
|
-
default: number;
|
|
549
|
-
};
|
|
550
|
-
listStyle: {
|
|
551
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
552
|
-
default: string;
|
|
553
|
-
};
|
|
554
|
-
listClass: {
|
|
555
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
556
|
-
default: string;
|
|
557
|
-
};
|
|
558
|
-
itemStyle: {
|
|
559
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
560
|
-
default: string;
|
|
561
|
-
};
|
|
562
|
-
itemClass: {
|
|
563
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
564
|
-
default: string;
|
|
565
|
-
};
|
|
566
|
-
headerClass: {
|
|
567
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
568
|
-
default: string;
|
|
569
|
-
};
|
|
570
|
-
headerStyle: {
|
|
571
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
572
|
-
default: string;
|
|
573
|
-
};
|
|
574
|
-
footerClass: {
|
|
575
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
576
|
-
default: string;
|
|
577
|
-
};
|
|
578
|
-
footerStyle: {
|
|
579
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
580
|
-
default: string;
|
|
581
|
-
};
|
|
582
|
-
stickyHeaderClass: {
|
|
583
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
584
|
-
default: string;
|
|
585
|
-
};
|
|
586
|
-
stickyHeaderStyle: {
|
|
587
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
490
|
+
keyField: {
|
|
491
|
+
type: StringConstructor;
|
|
588
492
|
default: string;
|
|
493
|
+
validator: (value: any) => boolean;
|
|
589
494
|
};
|
|
590
|
-
|
|
591
|
-
type:
|
|
495
|
+
labelField: {
|
|
496
|
+
type: StringConstructor;
|
|
592
497
|
default: string;
|
|
498
|
+
validator: (value: any) => boolean;
|
|
593
499
|
};
|
|
594
|
-
|
|
595
|
-
type:
|
|
500
|
+
disabledField: {
|
|
501
|
+
type: StringConstructor;
|
|
596
502
|
default: string;
|
|
503
|
+
validator: (value: any) => boolean;
|
|
597
504
|
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
buffer: number;
|
|
602
|
-
bufferTop: number;
|
|
603
|
-
bufferBottom: number;
|
|
604
|
-
horizontal: boolean;
|
|
605
|
-
start: number;
|
|
606
|
-
offset: number;
|
|
607
|
-
listStyle: string | Record<string, any> | unknown[];
|
|
608
|
-
listClass: string | Record<string, any> | unknown[];
|
|
609
|
-
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
610
|
-
itemClass: string | Function | Record<string, any> | unknown[];
|
|
611
|
-
list: any[];
|
|
612
|
-
minSize: number;
|
|
613
|
-
itemGap: number;
|
|
614
|
-
scrollDistance: number;
|
|
615
|
-
headerClass: string | Record<string, any> | unknown[];
|
|
616
|
-
headerStyle: string | Record<string, any> | unknown[];
|
|
617
|
-
footerClass: string | Record<string, any> | unknown[];
|
|
618
|
-
footerStyle: string | Record<string, any> | unknown[];
|
|
619
|
-
stickyHeaderClass: string | Record<string, any> | unknown[];
|
|
620
|
-
stickyHeaderStyle: string | Record<string, any> | unknown[];
|
|
621
|
-
stickyFooterClass: string | Record<string, any> | unknown[];
|
|
622
|
-
stickyFooterStyle: string | Record<string, any> | unknown[];
|
|
623
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
624
|
-
P: {};
|
|
625
|
-
B: {};
|
|
626
|
-
D: {};
|
|
627
|
-
C: {};
|
|
628
|
-
M: {};
|
|
629
|
-
Defaults: {};
|
|
630
|
-
}, Readonly<globalThis.ExtractPropTypes<{
|
|
631
|
-
list: {
|
|
632
|
-
type: {
|
|
633
|
-
(arrayLength: number): any[];
|
|
634
|
-
(...items: any[]): any[];
|
|
635
|
-
new (arrayLength: number): any[];
|
|
636
|
-
new (...items: any[]): any[];
|
|
637
|
-
isArray(arg: any): arg is any[];
|
|
638
|
-
readonly prototype: any[];
|
|
639
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
640
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
641
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
642
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
643
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
644
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
645
|
-
};
|
|
646
|
-
default: () => never[];
|
|
647
|
-
};
|
|
648
|
-
itemKey: {
|
|
649
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
650
|
-
required: true;
|
|
651
|
-
};
|
|
652
|
-
minSize: {
|
|
653
|
-
type: NumberConstructor;
|
|
654
|
-
default: number;
|
|
655
|
-
required: true;
|
|
656
|
-
};
|
|
657
|
-
itemGap: {
|
|
658
|
-
type: NumberConstructor;
|
|
659
|
-
default: number;
|
|
505
|
+
initMethod: {
|
|
506
|
+
type: PropType<() => void>;
|
|
507
|
+
validator: (value: any) => boolean;
|
|
660
508
|
};
|
|
661
|
-
|
|
662
|
-
type:
|
|
663
|
-
|
|
509
|
+
loadMethod: {
|
|
510
|
+
type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
|
|
511
|
+
validator: (value: any) => boolean;
|
|
664
512
|
};
|
|
665
|
-
|
|
513
|
+
isSelect: {
|
|
666
514
|
type: BooleanConstructor;
|
|
667
515
|
default: boolean;
|
|
516
|
+
hidden: boolean;
|
|
517
|
+
validator: (value: any) => boolean;
|
|
668
518
|
};
|
|
669
|
-
|
|
670
|
-
type: NumberConstructor;
|
|
671
|
-
default: number;
|
|
672
|
-
};
|
|
673
|
-
bufferTop: {
|
|
674
|
-
type: NumberConstructor;
|
|
675
|
-
default: number;
|
|
676
|
-
};
|
|
677
|
-
bufferBottom: {
|
|
678
|
-
type: NumberConstructor;
|
|
679
|
-
default: number;
|
|
680
|
-
};
|
|
681
|
-
scrollDistance: {
|
|
682
|
-
type: NumberConstructor;
|
|
683
|
-
default: number;
|
|
684
|
-
};
|
|
685
|
-
horizontal: {
|
|
519
|
+
onlyLeafSelectable: {
|
|
686
520
|
type: BooleanConstructor;
|
|
687
521
|
default: boolean;
|
|
522
|
+
validator: (value: any) => boolean;
|
|
688
523
|
};
|
|
689
|
-
|
|
690
|
-
type:
|
|
691
|
-
default: number;
|
|
692
|
-
};
|
|
693
|
-
offset: {
|
|
694
|
-
type: NumberConstructor;
|
|
695
|
-
default: number;
|
|
696
|
-
};
|
|
697
|
-
listStyle: {
|
|
698
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
699
|
-
default: string;
|
|
700
|
-
};
|
|
701
|
-
listClass: {
|
|
702
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
703
|
-
default: string;
|
|
704
|
-
};
|
|
705
|
-
itemStyle: {
|
|
706
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
707
|
-
default: string;
|
|
708
|
-
};
|
|
709
|
-
itemClass: {
|
|
710
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
711
|
-
default: string;
|
|
712
|
-
};
|
|
713
|
-
headerClass: {
|
|
714
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
715
|
-
default: string;
|
|
716
|
-
};
|
|
717
|
-
headerStyle: {
|
|
718
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
719
|
-
default: string;
|
|
720
|
-
};
|
|
721
|
-
footerClass: {
|
|
722
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
723
|
-
default: string;
|
|
724
|
-
};
|
|
725
|
-
footerStyle: {
|
|
726
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
727
|
-
default: string;
|
|
728
|
-
};
|
|
729
|
-
stickyHeaderClass: {
|
|
730
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
731
|
-
default: string;
|
|
732
|
-
};
|
|
733
|
-
stickyHeaderStyle: {
|
|
734
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
735
|
-
default: string;
|
|
524
|
+
modelValue: {
|
|
525
|
+
type: globalThis.PropType<any>;
|
|
736
526
|
};
|
|
737
|
-
|
|
738
|
-
type:
|
|
739
|
-
default: string;
|
|
527
|
+
expandKeys: {
|
|
528
|
+
type: globalThis.PropType<never[]>;
|
|
740
529
|
};
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
530
|
+
}>> & Readonly<{
|
|
531
|
+
onChange?: ((data: any) => any) | undefined;
|
|
532
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
533
|
+
onExpand?: ((data: any) => any) | undefined;
|
|
534
|
+
onLoadStart?: (() => any) | undefined;
|
|
535
|
+
onLoadEnd?: ((text: string) => any) | undefined;
|
|
536
|
+
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
537
|
+
}>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
|
|
538
|
+
search: (keyword: string) => void;
|
|
539
|
+
reset: () => void;
|
|
540
|
+
getTree: () => any;
|
|
541
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
542
|
+
$slots: {
|
|
543
|
+
empty?(_: {}): any;
|
|
744
544
|
};
|
|
745
|
-
}
|
|
746
|
-
fixed: boolean;
|
|
747
|
-
renderControl: Function;
|
|
748
|
-
buffer: number;
|
|
749
|
-
bufferTop: number;
|
|
750
|
-
bufferBottom: number;
|
|
751
|
-
horizontal: boolean;
|
|
752
|
-
start: number;
|
|
753
|
-
offset: number;
|
|
754
|
-
listStyle: string | Record<string, any> | unknown[];
|
|
755
|
-
listClass: string | Record<string, any> | unknown[];
|
|
756
|
-
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
757
|
-
itemClass: string | Function | Record<string, any> | unknown[];
|
|
758
|
-
list: any[];
|
|
759
|
-
minSize: number;
|
|
760
|
-
itemGap: number;
|
|
761
|
-
scrollDistance: number;
|
|
762
|
-
headerClass: string | Record<string, any> | unknown[];
|
|
763
|
-
headerStyle: string | Record<string, any> | unknown[];
|
|
764
|
-
footerClass: string | Record<string, any> | unknown[];
|
|
765
|
-
footerStyle: string | Record<string, any> | unknown[];
|
|
766
|
-
stickyHeaderClass: string | Record<string, any> | unknown[];
|
|
767
|
-
stickyHeaderStyle: string | Record<string, any> | unknown[];
|
|
768
|
-
stickyFooterClass: string | Record<string, any> | unknown[];
|
|
769
|
-
stickyFooterStyle: string | Record<string, any> | unknown[];
|
|
770
|
-
}> | null;
|
|
545
|
+
}) | null;
|
|
771
546
|
};
|
|
772
547
|
rootEl: HTMLDivElement;
|
|
773
548
|
};
|
|
774
549
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
775
550
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
776
|
-
|
|
777
|
-
type: PropType<
|
|
551
|
+
dataSource: {
|
|
552
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
778
553
|
typePopKeys: string[];
|
|
779
554
|
validator: (value: any[] | undefined) => boolean;
|
|
780
555
|
};
|
|
781
|
-
trigger: {
|
|
782
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
783
|
-
default: string;
|
|
784
|
-
typeValues: import('../../../..').LewTrigger[];
|
|
785
|
-
validator: (value: any) => boolean;
|
|
786
|
-
};
|
|
787
556
|
width: {
|
|
788
557
|
type: PropType<import("csstype").Property.Width>;
|
|
789
558
|
default: string;
|
|
790
559
|
validator: (value: string | number | undefined) => boolean;
|
|
791
560
|
};
|
|
792
|
-
|
|
793
|
-
type: PropType<import('../../../..').LewSelectMultipleValueLayout>;
|
|
794
|
-
default: string;
|
|
795
|
-
typeValues: import('../../../..').LewSelectMultipleValueLayout[];
|
|
796
|
-
validator: (value: any) => boolean;
|
|
797
|
-
};
|
|
798
|
-
valueTextSplit: {
|
|
561
|
+
defaultValue: {
|
|
799
562
|
type: StringConstructor;
|
|
800
|
-
default: string;
|
|
801
563
|
validator: (value: any) => boolean;
|
|
802
564
|
};
|
|
803
565
|
placeholder: {
|
|
@@ -811,38 +573,44 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
811
573
|
typeValues: import('../../../..').LewSize[];
|
|
812
574
|
validator: (value: any) => boolean;
|
|
813
575
|
};
|
|
814
|
-
|
|
815
|
-
type:
|
|
816
|
-
default:
|
|
576
|
+
disabled: {
|
|
577
|
+
type: BooleanConstructor;
|
|
578
|
+
default: boolean;
|
|
817
579
|
validator: (value: any) => boolean;
|
|
818
580
|
};
|
|
819
|
-
|
|
581
|
+
clearable: {
|
|
820
582
|
type: BooleanConstructor;
|
|
821
583
|
default: boolean;
|
|
822
584
|
validator: (value: any) => boolean;
|
|
823
585
|
};
|
|
824
|
-
|
|
825
|
-
type:
|
|
826
|
-
default:
|
|
586
|
+
checkable: {
|
|
587
|
+
type: BooleanConstructor;
|
|
588
|
+
default: boolean;
|
|
827
589
|
validator: (value: any) => boolean;
|
|
828
590
|
};
|
|
829
|
-
|
|
830
|
-
type:
|
|
831
|
-
default:
|
|
591
|
+
showAllLevels: {
|
|
592
|
+
type: BooleanConstructor;
|
|
593
|
+
default: boolean;
|
|
832
594
|
validator: (value: any) => boolean;
|
|
833
595
|
};
|
|
834
|
-
|
|
835
|
-
type:
|
|
836
|
-
default:
|
|
596
|
+
showCheckIcon: {
|
|
597
|
+
type: BooleanConstructor;
|
|
598
|
+
default: boolean;
|
|
837
599
|
validator: (value: any) => boolean;
|
|
838
600
|
};
|
|
839
|
-
|
|
840
|
-
type:
|
|
601
|
+
showLine: {
|
|
602
|
+
type: BooleanConstructor;
|
|
603
|
+
default: boolean;
|
|
841
604
|
validator: (value: any) => boolean;
|
|
842
605
|
};
|
|
843
|
-
|
|
844
|
-
type:
|
|
845
|
-
|
|
606
|
+
expandAll: {
|
|
607
|
+
type: BooleanConstructor;
|
|
608
|
+
default: boolean;
|
|
609
|
+
validator: (value: any) => boolean;
|
|
610
|
+
};
|
|
611
|
+
searchable: {
|
|
612
|
+
type: BooleanConstructor;
|
|
613
|
+
default: boolean;
|
|
846
614
|
validator: (value: any) => boolean;
|
|
847
615
|
};
|
|
848
616
|
searchDelay: {
|
|
@@ -850,35 +618,50 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
850
618
|
default: number;
|
|
851
619
|
validator: (value: any) => boolean;
|
|
852
620
|
};
|
|
853
|
-
|
|
621
|
+
readonly: {
|
|
854
622
|
type: BooleanConstructor;
|
|
855
623
|
default: boolean;
|
|
856
624
|
validator: (value: any) => boolean;
|
|
857
625
|
};
|
|
858
|
-
|
|
626
|
+
free: {
|
|
859
627
|
type: BooleanConstructor;
|
|
860
628
|
default: boolean;
|
|
861
629
|
validator: (value: any) => boolean;
|
|
862
630
|
};
|
|
863
|
-
|
|
864
|
-
type:
|
|
865
|
-
default:
|
|
631
|
+
trigger: {
|
|
632
|
+
type: PropType<import('../../../..').LewTrigger>;
|
|
633
|
+
default: string;
|
|
634
|
+
typeValues: import('../../../..').LewTrigger[];
|
|
866
635
|
validator: (value: any) => boolean;
|
|
867
636
|
};
|
|
868
|
-
|
|
869
|
-
type:
|
|
870
|
-
default:
|
|
637
|
+
keyField: {
|
|
638
|
+
type: StringConstructor;
|
|
639
|
+
default: string;
|
|
871
640
|
validator: (value: any) => boolean;
|
|
872
641
|
};
|
|
873
|
-
|
|
874
|
-
type:
|
|
875
|
-
default:
|
|
642
|
+
labelField: {
|
|
643
|
+
type: StringConstructor;
|
|
644
|
+
default: string;
|
|
876
645
|
validator: (value: any) => boolean;
|
|
877
646
|
};
|
|
878
|
-
|
|
879
|
-
type:
|
|
880
|
-
default:
|
|
881
|
-
validator: (value: any
|
|
647
|
+
disabledField: {
|
|
648
|
+
type: StringConstructor;
|
|
649
|
+
default: string;
|
|
650
|
+
validator: (value: any) => boolean;
|
|
651
|
+
};
|
|
652
|
+
initMethod: {
|
|
653
|
+
type: PropType<() => void>;
|
|
654
|
+
default: undefined;
|
|
655
|
+
validator: (value: any) => boolean;
|
|
656
|
+
};
|
|
657
|
+
initMethodId: {
|
|
658
|
+
type: StringConstructor;
|
|
659
|
+
validator: (value: any) => boolean;
|
|
660
|
+
};
|
|
661
|
+
loadMethod: {
|
|
662
|
+
type: PropType<() => void>;
|
|
663
|
+
default: undefined;
|
|
664
|
+
validator: (value: any) => boolean;
|
|
882
665
|
};
|
|
883
666
|
modelValue: {
|
|
884
667
|
type: globalThis.PropType<any>;
|
|
@@ -886,40 +669,23 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
886
669
|
}>, {
|
|
887
670
|
show: typeof show;
|
|
888
671
|
hide: typeof hide;
|
|
889
|
-
clearSearchCache: () => void;
|
|
890
672
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
891
|
-
|
|
892
|
-
blur: () => void;
|
|
893
|
-
change: (value: string[]) => void;
|
|
673
|
+
change: (value?: string | undefined) => void;
|
|
894
674
|
clear: () => void;
|
|
895
|
-
delete: (item: LewSelectMultipleOption, value: string[]) => void;
|
|
896
675
|
"update:modelValue": (value: any) => void;
|
|
897
676
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
898
|
-
|
|
899
|
-
type: PropType<
|
|
677
|
+
dataSource: {
|
|
678
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
900
679
|
typePopKeys: string[];
|
|
901
680
|
validator: (value: any[] | undefined) => boolean;
|
|
902
681
|
};
|
|
903
|
-
trigger: {
|
|
904
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
905
|
-
default: string;
|
|
906
|
-
typeValues: import('../../../..').LewTrigger[];
|
|
907
|
-
validator: (value: any) => boolean;
|
|
908
|
-
};
|
|
909
682
|
width: {
|
|
910
683
|
type: PropType<import("csstype").Property.Width>;
|
|
911
684
|
default: string;
|
|
912
685
|
validator: (value: string | number | undefined) => boolean;
|
|
913
686
|
};
|
|
914
|
-
|
|
915
|
-
type: PropType<import('../../../..').LewSelectMultipleValueLayout>;
|
|
916
|
-
default: string;
|
|
917
|
-
typeValues: import('../../../..').LewSelectMultipleValueLayout[];
|
|
918
|
-
validator: (value: any) => boolean;
|
|
919
|
-
};
|
|
920
|
-
valueTextSplit: {
|
|
687
|
+
defaultValue: {
|
|
921
688
|
type: StringConstructor;
|
|
922
|
-
default: string;
|
|
923
689
|
validator: (value: any) => boolean;
|
|
924
690
|
};
|
|
925
691
|
placeholder: {
|
|
@@ -933,38 +699,44 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
933
699
|
typeValues: import('../../../..').LewSize[];
|
|
934
700
|
validator: (value: any) => boolean;
|
|
935
701
|
};
|
|
936
|
-
|
|
937
|
-
type:
|
|
938
|
-
default:
|
|
702
|
+
disabled: {
|
|
703
|
+
type: BooleanConstructor;
|
|
704
|
+
default: boolean;
|
|
939
705
|
validator: (value: any) => boolean;
|
|
940
706
|
};
|
|
941
|
-
|
|
707
|
+
clearable: {
|
|
942
708
|
type: BooleanConstructor;
|
|
943
709
|
default: boolean;
|
|
944
710
|
validator: (value: any) => boolean;
|
|
945
711
|
};
|
|
946
|
-
|
|
947
|
-
type:
|
|
948
|
-
default:
|
|
712
|
+
checkable: {
|
|
713
|
+
type: BooleanConstructor;
|
|
714
|
+
default: boolean;
|
|
949
715
|
validator: (value: any) => boolean;
|
|
950
716
|
};
|
|
951
|
-
|
|
952
|
-
type:
|
|
953
|
-
default:
|
|
717
|
+
showAllLevels: {
|
|
718
|
+
type: BooleanConstructor;
|
|
719
|
+
default: boolean;
|
|
954
720
|
validator: (value: any) => boolean;
|
|
955
721
|
};
|
|
956
|
-
|
|
957
|
-
type:
|
|
958
|
-
default:
|
|
722
|
+
showCheckIcon: {
|
|
723
|
+
type: BooleanConstructor;
|
|
724
|
+
default: boolean;
|
|
959
725
|
validator: (value: any) => boolean;
|
|
960
726
|
};
|
|
961
|
-
|
|
962
|
-
type:
|
|
727
|
+
showLine: {
|
|
728
|
+
type: BooleanConstructor;
|
|
729
|
+
default: boolean;
|
|
963
730
|
validator: (value: any) => boolean;
|
|
964
731
|
};
|
|
965
|
-
|
|
966
|
-
type:
|
|
967
|
-
|
|
732
|
+
expandAll: {
|
|
733
|
+
type: BooleanConstructor;
|
|
734
|
+
default: boolean;
|
|
735
|
+
validator: (value: any) => boolean;
|
|
736
|
+
};
|
|
737
|
+
searchable: {
|
|
738
|
+
type: BooleanConstructor;
|
|
739
|
+
default: boolean;
|
|
968
740
|
validator: (value: any) => boolean;
|
|
969
741
|
};
|
|
970
742
|
searchDelay: {
|
|
@@ -972,64 +744,78 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
972
744
|
default: number;
|
|
973
745
|
validator: (value: any) => boolean;
|
|
974
746
|
};
|
|
975
|
-
|
|
747
|
+
readonly: {
|
|
976
748
|
type: BooleanConstructor;
|
|
977
749
|
default: boolean;
|
|
978
750
|
validator: (value: any) => boolean;
|
|
979
751
|
};
|
|
980
|
-
|
|
752
|
+
free: {
|
|
981
753
|
type: BooleanConstructor;
|
|
982
754
|
default: boolean;
|
|
983
755
|
validator: (value: any) => boolean;
|
|
984
756
|
};
|
|
985
|
-
|
|
986
|
-
type:
|
|
987
|
-
default:
|
|
757
|
+
trigger: {
|
|
758
|
+
type: PropType<import('../../../..').LewTrigger>;
|
|
759
|
+
default: string;
|
|
760
|
+
typeValues: import('../../../..').LewTrigger[];
|
|
988
761
|
validator: (value: any) => boolean;
|
|
989
762
|
};
|
|
990
|
-
|
|
991
|
-
type:
|
|
992
|
-
default:
|
|
763
|
+
keyField: {
|
|
764
|
+
type: StringConstructor;
|
|
765
|
+
default: string;
|
|
766
|
+
validator: (value: any) => boolean;
|
|
767
|
+
};
|
|
768
|
+
labelField: {
|
|
769
|
+
type: StringConstructor;
|
|
770
|
+
default: string;
|
|
771
|
+
validator: (value: any) => boolean;
|
|
772
|
+
};
|
|
773
|
+
disabledField: {
|
|
774
|
+
type: StringConstructor;
|
|
775
|
+
default: string;
|
|
776
|
+
validator: (value: any) => boolean;
|
|
777
|
+
};
|
|
778
|
+
initMethod: {
|
|
779
|
+
type: PropType<() => void>;
|
|
780
|
+
default: undefined;
|
|
993
781
|
validator: (value: any) => boolean;
|
|
994
782
|
};
|
|
995
|
-
|
|
996
|
-
type:
|
|
997
|
-
default: boolean;
|
|
783
|
+
initMethodId: {
|
|
784
|
+
type: StringConstructor;
|
|
998
785
|
validator: (value: any) => boolean;
|
|
999
786
|
};
|
|
1000
|
-
|
|
1001
|
-
type: PropType<(
|
|
1002
|
-
default:
|
|
1003
|
-
validator: (value: any
|
|
787
|
+
loadMethod: {
|
|
788
|
+
type: PropType<() => void>;
|
|
789
|
+
default: undefined;
|
|
790
|
+
validator: (value: any) => boolean;
|
|
1004
791
|
};
|
|
1005
792
|
modelValue: {
|
|
1006
793
|
type: globalThis.PropType<any>;
|
|
1007
794
|
};
|
|
1008
795
|
}>> & Readonly<{
|
|
1009
|
-
|
|
1010
|
-
onBlur?: (() => any) | undefined;
|
|
1011
|
-
onChange?: ((value: string[]) => any) | undefined;
|
|
796
|
+
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
1012
797
|
onClear?: (() => any) | undefined;
|
|
1013
|
-
onDelete?: ((item: LewSelectMultipleOption, value: string[]) => any) | undefined;
|
|
1014
798
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1015
799
|
}>, {
|
|
1016
800
|
size: import('../../../..').LewSize;
|
|
1017
801
|
disabled: boolean;
|
|
802
|
+
checkable: boolean;
|
|
1018
803
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
1019
804
|
readonly: boolean;
|
|
1020
805
|
trigger: import('../../../..').LewTrigger;
|
|
1021
806
|
clearable: boolean;
|
|
1022
|
-
defaultValue: (string | number)[];
|
|
1023
|
-
itemHeight: number;
|
|
1024
807
|
searchable: boolean;
|
|
1025
|
-
|
|
1026
|
-
initMethod: () => LewSelectMultipleOption[] | Promise<LewSelectMultipleOption[]>;
|
|
808
|
+
initMethod: () => void;
|
|
1027
809
|
searchDelay: number;
|
|
1028
810
|
showCheckIcon: boolean;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
811
|
+
expandAll: boolean;
|
|
812
|
+
free: boolean;
|
|
813
|
+
showLine: boolean;
|
|
814
|
+
keyField: string;
|
|
815
|
+
labelField: string;
|
|
816
|
+
disabledField: string;
|
|
817
|
+
loadMethod: () => void;
|
|
818
|
+
showAllLevels: boolean;
|
|
1033
819
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1034
820
|
lewPopoverRef: ({
|
|
1035
821
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -1265,44 +1051,53 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1265
1051
|
};
|
|
1266
1052
|
}) | null;
|
|
1267
1053
|
lewSelectRef: HTMLDivElement;
|
|
1268
|
-
|
|
1054
|
+
inputRef: HTMLInputElement;
|
|
1055
|
+
lewTreeRef: ({
|
|
1269
1056
|
$: import('vue').ComponentInternalInstance;
|
|
1270
1057
|
$data: {};
|
|
1271
1058
|
$props: Partial<{
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1059
|
+
checkable: boolean;
|
|
1060
|
+
height: string;
|
|
1061
|
+
multiple: boolean;
|
|
1062
|
+
searchable: boolean;
|
|
1063
|
+
expandAll: boolean;
|
|
1064
|
+
free: boolean;
|
|
1065
|
+
showLine: boolean;
|
|
1066
|
+
keyField: string;
|
|
1067
|
+
labelField: string;
|
|
1068
|
+
disabledField: string;
|
|
1069
|
+
isSelect: boolean;
|
|
1070
|
+
onlyLeafSelectable: boolean;
|
|
1283
1071
|
}> & Omit<{
|
|
1284
|
-
readonly
|
|
1285
|
-
readonly
|
|
1286
|
-
readonly
|
|
1287
|
-
readonly
|
|
1288
|
-
readonly
|
|
1289
|
-
readonly
|
|
1290
|
-
readonly
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly
|
|
1293
|
-
readonly
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1296
|
-
readonly
|
|
1297
|
-
|
|
1072
|
+
readonly checkable: boolean;
|
|
1073
|
+
readonly height: string;
|
|
1074
|
+
readonly multiple: boolean;
|
|
1075
|
+
readonly searchable: boolean;
|
|
1076
|
+
readonly expandAll: boolean;
|
|
1077
|
+
readonly free: boolean;
|
|
1078
|
+
readonly showLine: boolean;
|
|
1079
|
+
readonly keyField: string;
|
|
1080
|
+
readonly labelField: string;
|
|
1081
|
+
readonly disabledField: string;
|
|
1082
|
+
readonly isSelect: boolean;
|
|
1083
|
+
readonly onlyLeafSelectable: boolean;
|
|
1084
|
+
readonly expandKeys?: never[] | undefined;
|
|
1085
|
+
readonly modelValue?: any;
|
|
1086
|
+
readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
|
|
1087
|
+
readonly initMethod?: (() => void) | undefined;
|
|
1088
|
+
readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
|
|
1089
|
+
readonly onChange?: ((data: any) => any) | undefined;
|
|
1090
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1091
|
+
readonly onExpand?: ((data: any) => any) | undefined;
|
|
1092
|
+
readonly onLoadStart?: (() => any) | undefined;
|
|
1093
|
+
readonly onLoadEnd?: ((text: string) => any) | undefined;
|
|
1094
|
+
readonly "onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
1095
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
|
|
1298
1096
|
$attrs: {
|
|
1299
1097
|
[x: string]: unknown;
|
|
1300
1098
|
};
|
|
1301
1099
|
$refs: {
|
|
1302
1100
|
[x: string]: unknown;
|
|
1303
|
-
} & {
|
|
1304
|
-
triggerRef: HTMLDivElement;
|
|
1305
|
-
bodyRef: HTMLDivElement;
|
|
1306
1101
|
};
|
|
1307
1102
|
$slots: Readonly<{
|
|
1308
1103
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -1310,88 +1105,120 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1310
1105
|
$root: ComponentPublicInstance | null;
|
|
1311
1106
|
$parent: ComponentPublicInstance | null;
|
|
1312
1107
|
$host: Element | null;
|
|
1313
|
-
$emit: ((event: "
|
|
1108
|
+
$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);
|
|
1314
1109
|
$el: HTMLDivElement;
|
|
1315
1110
|
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
1316
|
-
|
|
1317
|
-
type: PropType<import('../../../..').
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
validator: (value: any) => boolean;
|
|
1111
|
+
dataSource: {
|
|
1112
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
1113
|
+
typePopKeys: string[];
|
|
1114
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1321
1115
|
};
|
|
1322
|
-
|
|
1323
|
-
type:
|
|
1116
|
+
height: {
|
|
1117
|
+
type: StringConstructor;
|
|
1324
1118
|
default: string;
|
|
1119
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1120
|
+
};
|
|
1121
|
+
multiple: {
|
|
1122
|
+
type: BooleanConstructor;
|
|
1123
|
+
default: boolean;
|
|
1325
1124
|
validator: (value: any) => boolean;
|
|
1326
1125
|
};
|
|
1327
|
-
|
|
1328
|
-
type:
|
|
1329
|
-
default:
|
|
1330
|
-
typeValues: import('../../../..').LewPlacement[];
|
|
1126
|
+
checkable: {
|
|
1127
|
+
type: BooleanConstructor;
|
|
1128
|
+
default: boolean;
|
|
1331
1129
|
validator: (value: any) => boolean;
|
|
1332
1130
|
};
|
|
1333
|
-
|
|
1131
|
+
searchable: {
|
|
1334
1132
|
type: BooleanConstructor;
|
|
1335
1133
|
default: boolean;
|
|
1336
1134
|
validator: (value: any) => boolean;
|
|
1337
1135
|
};
|
|
1338
|
-
|
|
1136
|
+
expandAll: {
|
|
1339
1137
|
type: BooleanConstructor;
|
|
1340
1138
|
default: boolean;
|
|
1341
1139
|
validator: (value: any) => boolean;
|
|
1342
1140
|
};
|
|
1343
|
-
|
|
1141
|
+
free: {
|
|
1344
1142
|
type: BooleanConstructor;
|
|
1345
1143
|
default: boolean;
|
|
1346
1144
|
validator: (value: any) => boolean;
|
|
1347
1145
|
};
|
|
1348
|
-
|
|
1146
|
+
showLine: {
|
|
1349
1147
|
type: BooleanConstructor;
|
|
1350
1148
|
default: boolean;
|
|
1351
1149
|
validator: (value: any) => boolean;
|
|
1352
1150
|
};
|
|
1353
|
-
|
|
1354
|
-
type:
|
|
1355
|
-
default:
|
|
1356
|
-
validator: (value: any
|
|
1151
|
+
keyField: {
|
|
1152
|
+
type: StringConstructor;
|
|
1153
|
+
default: string;
|
|
1154
|
+
validator: (value: any) => boolean;
|
|
1357
1155
|
};
|
|
1358
|
-
|
|
1359
|
-
type:
|
|
1360
|
-
default:
|
|
1361
|
-
validator: (value: any
|
|
1156
|
+
labelField: {
|
|
1157
|
+
type: StringConstructor;
|
|
1158
|
+
default: string;
|
|
1159
|
+
validator: (value: any) => boolean;
|
|
1362
1160
|
};
|
|
1363
|
-
|
|
1161
|
+
disabledField: {
|
|
1364
1162
|
type: StringConstructor;
|
|
1365
1163
|
default: string;
|
|
1366
1164
|
validator: (value: any) => boolean;
|
|
1367
1165
|
};
|
|
1368
|
-
|
|
1369
|
-
type: PropType<
|
|
1370
|
-
|
|
1371
|
-
|
|
1166
|
+
initMethod: {
|
|
1167
|
+
type: PropType<() => void>;
|
|
1168
|
+
validator: (value: any) => boolean;
|
|
1169
|
+
};
|
|
1170
|
+
loadMethod: {
|
|
1171
|
+
type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
|
|
1172
|
+
validator: (value: any) => boolean;
|
|
1173
|
+
};
|
|
1174
|
+
isSelect: {
|
|
1175
|
+
type: BooleanConstructor;
|
|
1176
|
+
default: boolean;
|
|
1177
|
+
hidden: boolean;
|
|
1178
|
+
validator: (value: any) => boolean;
|
|
1179
|
+
};
|
|
1180
|
+
onlyLeafSelectable: {
|
|
1181
|
+
type: BooleanConstructor;
|
|
1182
|
+
default: boolean;
|
|
1183
|
+
validator: (value: any) => boolean;
|
|
1184
|
+
};
|
|
1185
|
+
modelValue: {
|
|
1186
|
+
type: globalThis.PropType<any>;
|
|
1187
|
+
};
|
|
1188
|
+
expandKeys: {
|
|
1189
|
+
type: globalThis.PropType<never[]>;
|
|
1372
1190
|
};
|
|
1373
1191
|
}>> & Readonly<{
|
|
1374
|
-
|
|
1375
|
-
|
|
1192
|
+
onChange?: ((data: any) => any) | undefined;
|
|
1193
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1194
|
+
onExpand?: ((data: any) => any) | undefined;
|
|
1195
|
+
onLoadStart?: (() => any) | undefined;
|
|
1196
|
+
onLoadEnd?: ((text: string) => any) | undefined;
|
|
1197
|
+
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
1376
1198
|
}>, {
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1199
|
+
search: (keyword: string) => void;
|
|
1200
|
+
reset: () => void;
|
|
1201
|
+
getTree: () => any;
|
|
1380
1202
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1381
|
-
|
|
1382
|
-
|
|
1203
|
+
change: (data: any) => void;
|
|
1204
|
+
expand: (data: any) => void;
|
|
1205
|
+
loadStart: () => void;
|
|
1206
|
+
loadEnd: (text: string) => void;
|
|
1207
|
+
"update:modelValue": (value: any) => void;
|
|
1208
|
+
"update:expandKeys": (value: never[]) => void;
|
|
1383
1209
|
}, string, {
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1210
|
+
checkable: boolean;
|
|
1211
|
+
height: string;
|
|
1212
|
+
multiple: boolean;
|
|
1213
|
+
searchable: boolean;
|
|
1214
|
+
expandAll: boolean;
|
|
1215
|
+
free: boolean;
|
|
1216
|
+
showLine: boolean;
|
|
1217
|
+
keyField: string;
|
|
1218
|
+
labelField: string;
|
|
1219
|
+
disabledField: string;
|
|
1220
|
+
isSelect: boolean;
|
|
1221
|
+
onlyLeafSelectable: boolean;
|
|
1395
1222
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1396
1223
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1397
1224
|
created?: (() => void) | (() => void)[];
|
|
@@ -1413,380 +1240,115 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1413
1240
|
$nextTick: typeof import('vue').nextTick;
|
|
1414
1241
|
$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;
|
|
1415
1242
|
} & Readonly<{
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1243
|
+
checkable: boolean;
|
|
1244
|
+
height: string;
|
|
1245
|
+
multiple: boolean;
|
|
1246
|
+
searchable: boolean;
|
|
1247
|
+
expandAll: boolean;
|
|
1248
|
+
free: boolean;
|
|
1249
|
+
showLine: boolean;
|
|
1250
|
+
keyField: string;
|
|
1251
|
+
labelField: string;
|
|
1252
|
+
disabledField: string;
|
|
1253
|
+
isSelect: boolean;
|
|
1254
|
+
onlyLeafSelectable: boolean;
|
|
1427
1255
|
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
1428
|
-
|
|
1429
|
-
type: PropType<import('../../../..').
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
validator: (value: any) => boolean;
|
|
1433
|
-
};
|
|
1434
|
-
triggerWidth: {
|
|
1435
|
-
type: PropType<import("csstype").Property.Width>;
|
|
1436
|
-
default: string;
|
|
1437
|
-
validator: (value: any) => boolean;
|
|
1256
|
+
dataSource: {
|
|
1257
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
1258
|
+
typePopKeys: string[];
|
|
1259
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1438
1260
|
};
|
|
1439
|
-
|
|
1440
|
-
type:
|
|
1261
|
+
height: {
|
|
1262
|
+
type: StringConstructor;
|
|
1441
1263
|
default: string;
|
|
1442
|
-
|
|
1443
|
-
validator: (value: any) => boolean;
|
|
1264
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1444
1265
|
};
|
|
1445
|
-
|
|
1266
|
+
multiple: {
|
|
1446
1267
|
type: BooleanConstructor;
|
|
1447
1268
|
default: boolean;
|
|
1448
1269
|
validator: (value: any) => boolean;
|
|
1449
1270
|
};
|
|
1450
|
-
|
|
1271
|
+
checkable: {
|
|
1451
1272
|
type: BooleanConstructor;
|
|
1452
1273
|
default: boolean;
|
|
1453
1274
|
validator: (value: any) => boolean;
|
|
1454
1275
|
};
|
|
1455
|
-
|
|
1276
|
+
searchable: {
|
|
1456
1277
|
type: BooleanConstructor;
|
|
1457
1278
|
default: boolean;
|
|
1458
1279
|
validator: (value: any) => boolean;
|
|
1459
1280
|
};
|
|
1460
|
-
|
|
1281
|
+
expandAll: {
|
|
1461
1282
|
type: BooleanConstructor;
|
|
1462
1283
|
default: boolean;
|
|
1463
1284
|
validator: (value: any) => boolean;
|
|
1464
1285
|
};
|
|
1465
|
-
|
|
1466
|
-
type: PropType<import('../../../..').LewOffset>;
|
|
1467
|
-
default: number[];
|
|
1468
|
-
validator: (value: any[] | undefined) => boolean;
|
|
1469
|
-
};
|
|
1470
|
-
delay: {
|
|
1471
|
-
type: PropType<[number, number]>;
|
|
1472
|
-
default: number[];
|
|
1473
|
-
validator: (value: any[] | undefined) => boolean;
|
|
1474
|
-
};
|
|
1475
|
-
popoverBodyClassName: {
|
|
1476
|
-
type: StringConstructor;
|
|
1477
|
-
default: string;
|
|
1478
|
-
validator: (value: any) => boolean;
|
|
1479
|
-
};
|
|
1480
|
-
triggerTarget: {
|
|
1481
|
-
type: PropType<Element>;
|
|
1482
|
-
default: null;
|
|
1483
|
-
validator: (value: unknown) => boolean;
|
|
1484
|
-
};
|
|
1485
|
-
}>> & Readonly<{
|
|
1486
|
-
onShow?: (() => any) | undefined;
|
|
1487
|
-
onHide?: (() => any) | undefined;
|
|
1488
|
-
}>, "show" | "hide" | "refresh" | ("loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName" | "triggerTarget")> & import('vue').ShallowUnwrapRef<{
|
|
1489
|
-
show: () => void;
|
|
1490
|
-
hide: () => void;
|
|
1491
|
-
refresh: () => void;
|
|
1492
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1493
|
-
$slots: {
|
|
1494
|
-
trigger?(_: {}): any;
|
|
1495
|
-
'popover-body'?(_: {
|
|
1496
|
-
show: () => void;
|
|
1497
|
-
hide: () => void;
|
|
1498
|
-
}): any;
|
|
1499
|
-
};
|
|
1500
|
-
}) | null;
|
|
1501
|
-
searchInputRef: HTMLInputElement;
|
|
1502
|
-
virtListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1503
|
-
list: {
|
|
1504
|
-
type: {
|
|
1505
|
-
(arrayLength: number): any[];
|
|
1506
|
-
(...items: any[]): any[];
|
|
1507
|
-
new (arrayLength: number): any[];
|
|
1508
|
-
new (...items: any[]): any[];
|
|
1509
|
-
isArray(arg: any): arg is any[];
|
|
1510
|
-
readonly prototype: any[];
|
|
1511
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1512
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1513
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1514
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1515
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
1516
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1517
|
-
};
|
|
1518
|
-
default: () => never[];
|
|
1519
|
-
};
|
|
1520
|
-
itemKey: {
|
|
1521
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
1522
|
-
required: true;
|
|
1523
|
-
};
|
|
1524
|
-
minSize: {
|
|
1525
|
-
type: NumberConstructor;
|
|
1526
|
-
default: number;
|
|
1527
|
-
required: true;
|
|
1528
|
-
};
|
|
1529
|
-
itemGap: {
|
|
1530
|
-
type: NumberConstructor;
|
|
1531
|
-
default: number;
|
|
1532
|
-
};
|
|
1533
|
-
renderControl: {
|
|
1534
|
-
type: FunctionConstructor;
|
|
1535
|
-
default: undefined;
|
|
1536
|
-
};
|
|
1537
|
-
fixed: {
|
|
1286
|
+
free: {
|
|
1538
1287
|
type: BooleanConstructor;
|
|
1539
1288
|
default: boolean;
|
|
1289
|
+
validator: (value: any) => boolean;
|
|
1540
1290
|
};
|
|
1541
|
-
|
|
1542
|
-
type: NumberConstructor;
|
|
1543
|
-
default: number;
|
|
1544
|
-
};
|
|
1545
|
-
bufferTop: {
|
|
1546
|
-
type: NumberConstructor;
|
|
1547
|
-
default: number;
|
|
1548
|
-
};
|
|
1549
|
-
bufferBottom: {
|
|
1550
|
-
type: NumberConstructor;
|
|
1551
|
-
default: number;
|
|
1552
|
-
};
|
|
1553
|
-
scrollDistance: {
|
|
1554
|
-
type: NumberConstructor;
|
|
1555
|
-
default: number;
|
|
1556
|
-
};
|
|
1557
|
-
horizontal: {
|
|
1291
|
+
showLine: {
|
|
1558
1292
|
type: BooleanConstructor;
|
|
1559
1293
|
default: boolean;
|
|
1294
|
+
validator: (value: any) => boolean;
|
|
1560
1295
|
};
|
|
1561
|
-
|
|
1562
|
-
type:
|
|
1563
|
-
default: number;
|
|
1564
|
-
};
|
|
1565
|
-
offset: {
|
|
1566
|
-
type: NumberConstructor;
|
|
1567
|
-
default: number;
|
|
1568
|
-
};
|
|
1569
|
-
listStyle: {
|
|
1570
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1571
|
-
default: string;
|
|
1572
|
-
};
|
|
1573
|
-
listClass: {
|
|
1574
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1575
|
-
default: string;
|
|
1576
|
-
};
|
|
1577
|
-
itemStyle: {
|
|
1578
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
1579
|
-
default: string;
|
|
1580
|
-
};
|
|
1581
|
-
itemClass: {
|
|
1582
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
1583
|
-
default: string;
|
|
1584
|
-
};
|
|
1585
|
-
headerClass: {
|
|
1586
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1587
|
-
default: string;
|
|
1588
|
-
};
|
|
1589
|
-
headerStyle: {
|
|
1590
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1591
|
-
default: string;
|
|
1592
|
-
};
|
|
1593
|
-
footerClass: {
|
|
1594
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1595
|
-
default: string;
|
|
1596
|
-
};
|
|
1597
|
-
footerStyle: {
|
|
1598
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1599
|
-
default: string;
|
|
1600
|
-
};
|
|
1601
|
-
stickyHeaderClass: {
|
|
1602
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1603
|
-
default: string;
|
|
1604
|
-
};
|
|
1605
|
-
stickyHeaderStyle: {
|
|
1606
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1296
|
+
keyField: {
|
|
1297
|
+
type: StringConstructor;
|
|
1607
1298
|
default: string;
|
|
1299
|
+
validator: (value: any) => boolean;
|
|
1608
1300
|
};
|
|
1609
|
-
|
|
1610
|
-
type:
|
|
1301
|
+
labelField: {
|
|
1302
|
+
type: StringConstructor;
|
|
1611
1303
|
default: string;
|
|
1304
|
+
validator: (value: any) => boolean;
|
|
1612
1305
|
};
|
|
1613
|
-
|
|
1614
|
-
type:
|
|
1306
|
+
disabledField: {
|
|
1307
|
+
type: StringConstructor;
|
|
1615
1308
|
default: string;
|
|
1309
|
+
validator: (value: any) => boolean;
|
|
1616
1310
|
};
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
buffer: number;
|
|
1621
|
-
bufferTop: number;
|
|
1622
|
-
bufferBottom: number;
|
|
1623
|
-
horizontal: boolean;
|
|
1624
|
-
start: number;
|
|
1625
|
-
offset: number;
|
|
1626
|
-
listStyle: string | Record<string, any> | unknown[];
|
|
1627
|
-
listClass: string | Record<string, any> | unknown[];
|
|
1628
|
-
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
1629
|
-
itemClass: string | Function | Record<string, any> | unknown[];
|
|
1630
|
-
list: any[];
|
|
1631
|
-
minSize: number;
|
|
1632
|
-
itemGap: number;
|
|
1633
|
-
scrollDistance: number;
|
|
1634
|
-
headerClass: string | Record<string, any> | unknown[];
|
|
1635
|
-
headerStyle: string | Record<string, any> | unknown[];
|
|
1636
|
-
footerClass: string | Record<string, any> | unknown[];
|
|
1637
|
-
footerStyle: string | Record<string, any> | unknown[];
|
|
1638
|
-
stickyHeaderClass: string | Record<string, any> | unknown[];
|
|
1639
|
-
stickyHeaderStyle: string | Record<string, any> | unknown[];
|
|
1640
|
-
stickyFooterClass: string | Record<string, any> | unknown[];
|
|
1641
|
-
stickyFooterStyle: string | Record<string, any> | unknown[];
|
|
1642
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1643
|
-
P: {};
|
|
1644
|
-
B: {};
|
|
1645
|
-
D: {};
|
|
1646
|
-
C: {};
|
|
1647
|
-
M: {};
|
|
1648
|
-
Defaults: {};
|
|
1649
|
-
}, Readonly<globalThis.ExtractPropTypes<{
|
|
1650
|
-
list: {
|
|
1651
|
-
type: {
|
|
1652
|
-
(arrayLength: number): any[];
|
|
1653
|
-
(...items: any[]): any[];
|
|
1654
|
-
new (arrayLength: number): any[];
|
|
1655
|
-
new (...items: any[]): any[];
|
|
1656
|
-
isArray(arg: any): arg is any[];
|
|
1657
|
-
readonly prototype: any[];
|
|
1658
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1659
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1660
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1661
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1662
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
1663
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1664
|
-
};
|
|
1665
|
-
default: () => never[];
|
|
1666
|
-
};
|
|
1667
|
-
itemKey: {
|
|
1668
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
1669
|
-
required: true;
|
|
1670
|
-
};
|
|
1671
|
-
minSize: {
|
|
1672
|
-
type: NumberConstructor;
|
|
1673
|
-
default: number;
|
|
1674
|
-
required: true;
|
|
1675
|
-
};
|
|
1676
|
-
itemGap: {
|
|
1677
|
-
type: NumberConstructor;
|
|
1678
|
-
default: number;
|
|
1311
|
+
initMethod: {
|
|
1312
|
+
type: PropType<() => void>;
|
|
1313
|
+
validator: (value: any) => boolean;
|
|
1679
1314
|
};
|
|
1680
|
-
|
|
1681
|
-
type:
|
|
1682
|
-
|
|
1315
|
+
loadMethod: {
|
|
1316
|
+
type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
|
|
1317
|
+
validator: (value: any) => boolean;
|
|
1683
1318
|
};
|
|
1684
|
-
|
|
1319
|
+
isSelect: {
|
|
1685
1320
|
type: BooleanConstructor;
|
|
1686
1321
|
default: boolean;
|
|
1322
|
+
hidden: boolean;
|
|
1323
|
+
validator: (value: any) => boolean;
|
|
1687
1324
|
};
|
|
1688
|
-
|
|
1689
|
-
type: NumberConstructor;
|
|
1690
|
-
default: number;
|
|
1691
|
-
};
|
|
1692
|
-
bufferTop: {
|
|
1693
|
-
type: NumberConstructor;
|
|
1694
|
-
default: number;
|
|
1695
|
-
};
|
|
1696
|
-
bufferBottom: {
|
|
1697
|
-
type: NumberConstructor;
|
|
1698
|
-
default: number;
|
|
1699
|
-
};
|
|
1700
|
-
scrollDistance: {
|
|
1701
|
-
type: NumberConstructor;
|
|
1702
|
-
default: number;
|
|
1703
|
-
};
|
|
1704
|
-
horizontal: {
|
|
1325
|
+
onlyLeafSelectable: {
|
|
1705
1326
|
type: BooleanConstructor;
|
|
1706
1327
|
default: boolean;
|
|
1328
|
+
validator: (value: any) => boolean;
|
|
1707
1329
|
};
|
|
1708
|
-
|
|
1709
|
-
type:
|
|
1710
|
-
default: number;
|
|
1711
|
-
};
|
|
1712
|
-
offset: {
|
|
1713
|
-
type: NumberConstructor;
|
|
1714
|
-
default: number;
|
|
1715
|
-
};
|
|
1716
|
-
listStyle: {
|
|
1717
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1718
|
-
default: string;
|
|
1719
|
-
};
|
|
1720
|
-
listClass: {
|
|
1721
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1722
|
-
default: string;
|
|
1723
|
-
};
|
|
1724
|
-
itemStyle: {
|
|
1725
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
1726
|
-
default: string;
|
|
1727
|
-
};
|
|
1728
|
-
itemClass: {
|
|
1729
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
1730
|
-
default: string;
|
|
1731
|
-
};
|
|
1732
|
-
headerClass: {
|
|
1733
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1734
|
-
default: string;
|
|
1735
|
-
};
|
|
1736
|
-
headerStyle: {
|
|
1737
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1738
|
-
default: string;
|
|
1739
|
-
};
|
|
1740
|
-
footerClass: {
|
|
1741
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1742
|
-
default: string;
|
|
1743
|
-
};
|
|
1744
|
-
footerStyle: {
|
|
1745
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1746
|
-
default: string;
|
|
1747
|
-
};
|
|
1748
|
-
stickyHeaderClass: {
|
|
1749
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1750
|
-
default: string;
|
|
1751
|
-
};
|
|
1752
|
-
stickyHeaderStyle: {
|
|
1753
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
1754
|
-
default: string;
|
|
1330
|
+
modelValue: {
|
|
1331
|
+
type: globalThis.PropType<any>;
|
|
1755
1332
|
};
|
|
1756
|
-
|
|
1757
|
-
type:
|
|
1758
|
-
default: string;
|
|
1333
|
+
expandKeys: {
|
|
1334
|
+
type: globalThis.PropType<never[]>;
|
|
1759
1335
|
};
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1336
|
+
}>> & Readonly<{
|
|
1337
|
+
onChange?: ((data: any) => any) | undefined;
|
|
1338
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1339
|
+
onExpand?: ((data: any) => any) | undefined;
|
|
1340
|
+
onLoadStart?: (() => any) | undefined;
|
|
1341
|
+
onLoadEnd?: ((text: string) => any) | undefined;
|
|
1342
|
+
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
1343
|
+
}>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
|
|
1344
|
+
search: (keyword: string) => void;
|
|
1345
|
+
reset: () => void;
|
|
1346
|
+
getTree: () => any;
|
|
1347
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1348
|
+
$slots: {
|
|
1349
|
+
empty?(_: {}): any;
|
|
1763
1350
|
};
|
|
1764
|
-
}
|
|
1765
|
-
fixed: boolean;
|
|
1766
|
-
renderControl: Function;
|
|
1767
|
-
buffer: number;
|
|
1768
|
-
bufferTop: number;
|
|
1769
|
-
bufferBottom: number;
|
|
1770
|
-
horizontal: boolean;
|
|
1771
|
-
start: number;
|
|
1772
|
-
offset: number;
|
|
1773
|
-
listStyle: string | Record<string, any> | unknown[];
|
|
1774
|
-
listClass: string | Record<string, any> | unknown[];
|
|
1775
|
-
itemStyle: string | Function | Record<string, any> | unknown[];
|
|
1776
|
-
itemClass: string | Function | Record<string, any> | unknown[];
|
|
1777
|
-
list: any[];
|
|
1778
|
-
minSize: number;
|
|
1779
|
-
itemGap: number;
|
|
1780
|
-
scrollDistance: number;
|
|
1781
|
-
headerClass: string | Record<string, any> | unknown[];
|
|
1782
|
-
headerStyle: string | Record<string, any> | unknown[];
|
|
1783
|
-
footerClass: string | Record<string, any> | unknown[];
|
|
1784
|
-
footerStyle: string | Record<string, any> | unknown[];
|
|
1785
|
-
stickyHeaderClass: string | Record<string, any> | unknown[];
|
|
1786
|
-
stickyHeaderStyle: string | Record<string, any> | unknown[];
|
|
1787
|
-
stickyFooterClass: string | Record<string, any> | unknown[];
|
|
1788
|
-
stickyFooterStyle: string | Record<string, any> | unknown[];
|
|
1789
|
-
}> | null;
|
|
1351
|
+
}) | null;
|
|
1790
1352
|
}, HTMLDivElement>;
|
|
1791
1353
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1792
1354
|
export default _default;
|