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.
- package/dist/components/data/tree/src/LewTree.vue.d.ts +26 -11
- package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +1 -1
- package/dist/components/data/tree/src/types.d.ts +31 -0
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +1435 -293
- package/dist/components/form/tree-select/src/emits.d.ts +1 -1
- package/dist/components/form/tree-select/src/props.d.ts +11 -1
- package/dist/components/general/text-trim/index.d.ts +0 -1
- package/dist/components/general/text-trim/src/LewTextTrim.vue.d.ts +2 -10
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +4 -0
- package/dist/components/navigation/action-box/src/props.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.js +613 -605
- package/dist/index.umd.cjs +6 -6
- package/package.json +1 -1
- package/dist/components/form/tree-select-multiple/index.d.ts +0 -3
- package/dist/components/form/tree-select-multiple/src/LewTreeSelectMultiple.vue.d.ts +0 -1331
- package/dist/components/form/tree-select-multiple/src/emits.d.ts +0 -4
- package/dist/components/form/tree-select-multiple/src/props.d.ts +0 -127
- package/dist/components/general/text-trim/src/emits.d.ts +0 -5
|
@@ -230,173 +230,717 @@ declare function __VLS_template(): {
|
|
|
230
230
|
}): any;
|
|
231
231
|
};
|
|
232
232
|
}) | null;
|
|
233
|
-
lewSelectRef:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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;
|
|
233
|
+
lewSelectRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
234
|
+
size: {
|
|
235
|
+
type: StringConstructor;
|
|
236
|
+
default: string;
|
|
278
237
|
};
|
|
279
|
-
|
|
280
|
-
|
|
238
|
+
readonly: {
|
|
239
|
+
type: BooleanConstructor;
|
|
240
|
+
default: boolean;
|
|
281
241
|
};
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
242
|
+
disabled: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
loading: {
|
|
247
|
+
type: BooleanConstructor;
|
|
248
|
+
default: boolean;
|
|
249
|
+
};
|
|
250
|
+
clearable: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
placeholder: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
width: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
formatItems: {
|
|
263
|
+
type: null;
|
|
264
|
+
};
|
|
265
|
+
focus: {
|
|
266
|
+
type: BooleanConstructor;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
popoverVisible: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
multiple: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
searchable: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
selectedLabel: {
|
|
282
|
+
type: StringConstructor;
|
|
283
|
+
default: string;
|
|
284
|
+
};
|
|
285
|
+
modelValue: {
|
|
286
|
+
type: globalThis.PropType<any>;
|
|
287
|
+
};
|
|
288
|
+
keyword: {
|
|
289
|
+
type: globalThis.PropType<any>;
|
|
290
|
+
};
|
|
291
|
+
}>> & Readonly<{
|
|
292
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
293
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
295
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
296
|
+
"onUpdate:keyword"?: ((value: any) => any) | undefined;
|
|
297
|
+
}>, {
|
|
298
|
+
clearHandle: () => void;
|
|
299
|
+
getInputRefStyle: () => {
|
|
300
|
+
fontSize: string;
|
|
301
|
+
padding: string;
|
|
302
|
+
fontFamily: string;
|
|
303
|
+
marginLeft: string;
|
|
304
|
+
};
|
|
305
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
306
|
+
input: (...args: any[]) => void;
|
|
307
|
+
clear: (...args: any[]) => void;
|
|
308
|
+
delete: (...args: any[]) => void;
|
|
309
|
+
"update:modelValue": (value: any) => void;
|
|
310
|
+
"update:keyword": (value: any) => void;
|
|
311
|
+
}, import('vue').PublicProps, {
|
|
312
|
+
loading: boolean;
|
|
313
|
+
size: string;
|
|
314
|
+
disabled: boolean;
|
|
315
|
+
focus: boolean;
|
|
316
|
+
width: string;
|
|
317
|
+
placeholder: string;
|
|
318
|
+
readonly: boolean;
|
|
319
|
+
clearable: boolean;
|
|
320
|
+
multiple: boolean;
|
|
321
|
+
searchable: boolean;
|
|
322
|
+
popoverVisible: boolean;
|
|
323
|
+
selectedLabel: string;
|
|
324
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
325
|
+
lewSelectRef: HTMLDivElement;
|
|
326
|
+
inputRef: HTMLInputElement;
|
|
327
|
+
searchInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
328
|
+
type: {
|
|
329
|
+
type: PropType<import('../../../..').LewInputType>;
|
|
330
|
+
default: string;
|
|
331
|
+
typeValues: import('../../../..').LewInputType[];
|
|
332
|
+
validator: (value: any) => boolean;
|
|
295
333
|
};
|
|
296
|
-
|
|
297
|
-
type:
|
|
334
|
+
size: {
|
|
335
|
+
type: PropType<import('../../../..').LewSize>;
|
|
336
|
+
default: string;
|
|
337
|
+
typeValues: import('../../../..').LewSize[];
|
|
338
|
+
validator: (value: any) => boolean;
|
|
339
|
+
};
|
|
340
|
+
width: {
|
|
341
|
+
type: PropType<import("csstype").Property.Width>;
|
|
298
342
|
default: string;
|
|
299
343
|
validator: (value: string | number | undefined) => boolean;
|
|
300
344
|
};
|
|
301
|
-
|
|
345
|
+
placeholder: {
|
|
346
|
+
type: StringConstructor;
|
|
347
|
+
defaultLocale: boolean;
|
|
348
|
+
validator: (value: any) => boolean;
|
|
349
|
+
};
|
|
350
|
+
disabled: {
|
|
302
351
|
type: BooleanConstructor;
|
|
303
352
|
default: boolean;
|
|
304
353
|
validator: (value: any) => boolean;
|
|
305
354
|
};
|
|
306
|
-
|
|
355
|
+
readonly: {
|
|
307
356
|
type: BooleanConstructor;
|
|
308
357
|
default: boolean;
|
|
309
358
|
validator: (value: any) => boolean;
|
|
310
359
|
};
|
|
311
|
-
|
|
360
|
+
clearable: {
|
|
312
361
|
type: BooleanConstructor;
|
|
313
362
|
default: boolean;
|
|
314
363
|
validator: (value: any) => boolean;
|
|
315
364
|
};
|
|
316
|
-
|
|
365
|
+
showPassword: {
|
|
317
366
|
type: BooleanConstructor;
|
|
318
367
|
default: boolean;
|
|
319
368
|
validator: (value: any) => boolean;
|
|
320
369
|
};
|
|
321
|
-
|
|
370
|
+
maxLength: {
|
|
371
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
372
|
+
default: undefined;
|
|
373
|
+
validator: (value: number | undefined) => boolean;
|
|
374
|
+
};
|
|
375
|
+
showCount: {
|
|
322
376
|
type: BooleanConstructor;
|
|
323
377
|
default: boolean;
|
|
324
378
|
validator: (value: any) => boolean;
|
|
325
379
|
};
|
|
326
|
-
|
|
380
|
+
align: {
|
|
381
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
382
|
+
default: string;
|
|
383
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
384
|
+
validator: (value: any) => boolean;
|
|
385
|
+
};
|
|
386
|
+
minWidth: {
|
|
387
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
388
|
+
default: string;
|
|
389
|
+
validator: (value: string | number | undefined) => boolean;
|
|
390
|
+
};
|
|
391
|
+
autoWidth: {
|
|
327
392
|
type: BooleanConstructor;
|
|
328
393
|
default: boolean;
|
|
329
394
|
validator: (value: any) => boolean;
|
|
330
395
|
};
|
|
331
|
-
|
|
396
|
+
selectByFocus: {
|
|
397
|
+
type: BooleanConstructor;
|
|
398
|
+
default: boolean;
|
|
399
|
+
validator: (value: any) => boolean;
|
|
400
|
+
};
|
|
401
|
+
copyable: {
|
|
402
|
+
type: BooleanConstructor;
|
|
403
|
+
default: boolean;
|
|
404
|
+
validator: (value: any) => boolean;
|
|
405
|
+
};
|
|
406
|
+
prefixes: {
|
|
407
|
+
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
408
|
+
default: string;
|
|
409
|
+
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
410
|
+
validator: (value: any) => boolean;
|
|
411
|
+
};
|
|
412
|
+
prefixesOptions: {
|
|
413
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
414
|
+
default: () => never[];
|
|
415
|
+
validator: (value: any[] | undefined) => boolean;
|
|
416
|
+
};
|
|
417
|
+
prefixesTooltip: {
|
|
332
418
|
type: StringConstructor;
|
|
333
419
|
default: string;
|
|
334
420
|
validator: (value: any) => boolean;
|
|
335
421
|
};
|
|
336
|
-
|
|
422
|
+
suffix: {
|
|
423
|
+
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
424
|
+
default: string;
|
|
425
|
+
typeValues: import('../../../..').LewInputSuffixType[];
|
|
426
|
+
validator: (value: any) => boolean;
|
|
427
|
+
};
|
|
428
|
+
suffixOptions: {
|
|
429
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
430
|
+
default: () => never[];
|
|
431
|
+
validator: (value: any[] | undefined) => boolean;
|
|
432
|
+
};
|
|
433
|
+
suffixTooltip: {
|
|
337
434
|
type: StringConstructor;
|
|
338
435
|
default: string;
|
|
339
436
|
validator: (value: any) => boolean;
|
|
340
437
|
};
|
|
341
|
-
|
|
438
|
+
okByEnter: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
validator: (value: any) => boolean;
|
|
442
|
+
};
|
|
443
|
+
modelValue: {
|
|
444
|
+
type: globalThis.PropType<string | undefined>;
|
|
445
|
+
required: true;
|
|
446
|
+
};
|
|
447
|
+
prefixValue: {
|
|
448
|
+
type: globalThis.PropType<string>;
|
|
449
|
+
};
|
|
450
|
+
suffixValue: {
|
|
451
|
+
type: globalThis.PropType<string>;
|
|
452
|
+
};
|
|
453
|
+
}>> & Readonly<{
|
|
454
|
+
onInput?: ((value?: string | undefined) => any) | undefined;
|
|
455
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
456
|
+
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
457
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
458
|
+
onClear?: (() => any) | undefined;
|
|
459
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
460
|
+
"onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
|
|
461
|
+
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
462
|
+
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
463
|
+
}>, {
|
|
464
|
+
focus: () => any;
|
|
465
|
+
blur: () => any;
|
|
466
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
467
|
+
input: (value?: string | undefined) => void;
|
|
468
|
+
blur: (e: FocusEvent) => void;
|
|
469
|
+
change: (value?: string | undefined) => void;
|
|
470
|
+
focus: (e: FocusEvent) => void;
|
|
471
|
+
clear: () => void;
|
|
472
|
+
ok: (value?: string | undefined) => void;
|
|
473
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
474
|
+
"update:prefixValue": (value: string | undefined) => void;
|
|
475
|
+
"update:suffixValue": (value: string | undefined) => void;
|
|
476
|
+
}, import('vue').PublicProps, {
|
|
477
|
+
maxLength: string | number;
|
|
478
|
+
type: import('../../../..').LewInputType;
|
|
479
|
+
size: import('../../../..').LewSize;
|
|
480
|
+
disabled: boolean;
|
|
481
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
482
|
+
minWidth: string | number;
|
|
483
|
+
readonly: boolean;
|
|
484
|
+
clearable: boolean;
|
|
485
|
+
showPassword: boolean;
|
|
486
|
+
showCount: boolean;
|
|
487
|
+
align: import('../../../..').LewXAlignment;
|
|
488
|
+
autoWidth: boolean;
|
|
489
|
+
selectByFocus: boolean;
|
|
490
|
+
copyable: boolean;
|
|
491
|
+
prefixes: import('../../../..').LewInputPrefixesType;
|
|
492
|
+
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
493
|
+
prefixesTooltip: string;
|
|
494
|
+
suffix: import('../../../..').LewInputSuffixType;
|
|
495
|
+
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
496
|
+
suffixTooltip: string;
|
|
497
|
+
okByEnter: boolean;
|
|
498
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
499
|
+
lewInputRef: HTMLInputElement;
|
|
500
|
+
lewInputCountRef: HTMLDivElement;
|
|
501
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
502
|
+
P: {};
|
|
503
|
+
B: {};
|
|
504
|
+
D: {};
|
|
505
|
+
C: {};
|
|
506
|
+
M: {};
|
|
507
|
+
Defaults: {};
|
|
508
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
509
|
+
type: {
|
|
510
|
+
type: PropType<import('../../../..').LewInputType>;
|
|
511
|
+
default: string;
|
|
512
|
+
typeValues: import('../../../..').LewInputType[];
|
|
513
|
+
validator: (value: any) => boolean;
|
|
514
|
+
};
|
|
515
|
+
size: {
|
|
516
|
+
type: PropType<import('../../../..').LewSize>;
|
|
517
|
+
default: string;
|
|
518
|
+
typeValues: import('../../../..').LewSize[];
|
|
519
|
+
validator: (value: any) => boolean;
|
|
520
|
+
};
|
|
521
|
+
width: {
|
|
522
|
+
type: PropType<import("csstype").Property.Width>;
|
|
523
|
+
default: string;
|
|
524
|
+
validator: (value: string | number | undefined) => boolean;
|
|
525
|
+
};
|
|
526
|
+
placeholder: {
|
|
342
527
|
type: StringConstructor;
|
|
528
|
+
defaultLocale: boolean;
|
|
529
|
+
validator: (value: any) => boolean;
|
|
530
|
+
};
|
|
531
|
+
disabled: {
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
default: boolean;
|
|
534
|
+
validator: (value: any) => boolean;
|
|
535
|
+
};
|
|
536
|
+
readonly: {
|
|
537
|
+
type: BooleanConstructor;
|
|
538
|
+
default: boolean;
|
|
539
|
+
validator: (value: any) => boolean;
|
|
540
|
+
};
|
|
541
|
+
clearable: {
|
|
542
|
+
type: BooleanConstructor;
|
|
543
|
+
default: boolean;
|
|
544
|
+
validator: (value: any) => boolean;
|
|
545
|
+
};
|
|
546
|
+
showPassword: {
|
|
547
|
+
type: BooleanConstructor;
|
|
548
|
+
default: boolean;
|
|
549
|
+
validator: (value: any) => boolean;
|
|
550
|
+
};
|
|
551
|
+
maxLength: {
|
|
552
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
553
|
+
default: undefined;
|
|
554
|
+
validator: (value: number | undefined) => boolean;
|
|
555
|
+
};
|
|
556
|
+
showCount: {
|
|
557
|
+
type: BooleanConstructor;
|
|
558
|
+
default: boolean;
|
|
559
|
+
validator: (value: any) => boolean;
|
|
560
|
+
};
|
|
561
|
+
align: {
|
|
562
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
343
563
|
default: string;
|
|
564
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
344
565
|
validator: (value: any) => boolean;
|
|
345
566
|
};
|
|
346
|
-
|
|
347
|
-
type:
|
|
567
|
+
minWidth: {
|
|
568
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
569
|
+
default: string;
|
|
570
|
+
validator: (value: string | number | undefined) => boolean;
|
|
571
|
+
};
|
|
572
|
+
autoWidth: {
|
|
573
|
+
type: BooleanConstructor;
|
|
574
|
+
default: boolean;
|
|
348
575
|
validator: (value: any) => boolean;
|
|
349
576
|
};
|
|
350
|
-
|
|
351
|
-
type:
|
|
577
|
+
selectByFocus: {
|
|
578
|
+
type: BooleanConstructor;
|
|
579
|
+
default: boolean;
|
|
352
580
|
validator: (value: any) => boolean;
|
|
353
581
|
};
|
|
354
|
-
|
|
582
|
+
copyable: {
|
|
355
583
|
type: BooleanConstructor;
|
|
356
584
|
default: boolean;
|
|
357
|
-
hidden: boolean;
|
|
358
585
|
validator: (value: any) => boolean;
|
|
359
586
|
};
|
|
360
|
-
|
|
587
|
+
prefixes: {
|
|
588
|
+
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
589
|
+
default: string;
|
|
590
|
+
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
591
|
+
validator: (value: any) => boolean;
|
|
592
|
+
};
|
|
593
|
+
prefixesOptions: {
|
|
594
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
595
|
+
default: () => never[];
|
|
596
|
+
validator: (value: any[] | undefined) => boolean;
|
|
597
|
+
};
|
|
598
|
+
prefixesTooltip: {
|
|
599
|
+
type: StringConstructor;
|
|
600
|
+
default: string;
|
|
601
|
+
validator: (value: any) => boolean;
|
|
602
|
+
};
|
|
603
|
+
suffix: {
|
|
604
|
+
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
605
|
+
default: string;
|
|
606
|
+
typeValues: import('../../../..').LewInputSuffixType[];
|
|
607
|
+
validator: (value: any) => boolean;
|
|
608
|
+
};
|
|
609
|
+
suffixOptions: {
|
|
610
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
611
|
+
default: () => never[];
|
|
612
|
+
validator: (value: any[] | undefined) => boolean;
|
|
613
|
+
};
|
|
614
|
+
suffixTooltip: {
|
|
615
|
+
type: StringConstructor;
|
|
616
|
+
default: string;
|
|
617
|
+
validator: (value: any) => boolean;
|
|
618
|
+
};
|
|
619
|
+
okByEnter: {
|
|
361
620
|
type: BooleanConstructor;
|
|
362
621
|
default: boolean;
|
|
363
622
|
validator: (value: any) => boolean;
|
|
364
623
|
};
|
|
365
624
|
modelValue: {
|
|
366
|
-
type: globalThis.PropType<
|
|
625
|
+
type: globalThis.PropType<string | undefined>;
|
|
626
|
+
required: true;
|
|
367
627
|
};
|
|
368
|
-
|
|
369
|
-
type: globalThis.PropType<
|
|
628
|
+
prefixValue: {
|
|
629
|
+
type: globalThis.PropType<string>;
|
|
630
|
+
};
|
|
631
|
+
suffixValue: {
|
|
632
|
+
type: globalThis.PropType<string>;
|
|
370
633
|
};
|
|
371
634
|
}>> & Readonly<{
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"onUpdate:
|
|
635
|
+
onInput?: ((value?: string | undefined) => any) | undefined;
|
|
636
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
637
|
+
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
638
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
639
|
+
onClear?: (() => any) | undefined;
|
|
640
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
641
|
+
"onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
|
|
642
|
+
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
643
|
+
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
378
644
|
}>, {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
645
|
+
focus: () => any;
|
|
646
|
+
blur: () => any;
|
|
647
|
+
}, {}, {}, {}, {
|
|
648
|
+
maxLength: string | number;
|
|
649
|
+
type: import('../../../..').LewInputType;
|
|
650
|
+
size: import('../../../..').LewSize;
|
|
651
|
+
disabled: boolean;
|
|
652
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
653
|
+
minWidth: string | number;
|
|
654
|
+
readonly: boolean;
|
|
655
|
+
clearable: boolean;
|
|
656
|
+
showPassword: boolean;
|
|
657
|
+
showCount: boolean;
|
|
658
|
+
align: import('../../../..').LewXAlignment;
|
|
659
|
+
autoWidth: boolean;
|
|
660
|
+
selectByFocus: boolean;
|
|
661
|
+
copyable: boolean;
|
|
662
|
+
prefixes: import('../../../..').LewInputPrefixesType;
|
|
663
|
+
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
664
|
+
prefixesTooltip: string;
|
|
665
|
+
suffix: import('../../../..').LewInputSuffixType;
|
|
666
|
+
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
667
|
+
suffixTooltip: string;
|
|
668
|
+
okByEnter: boolean;
|
|
669
|
+
}> | null;
|
|
670
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
671
|
+
P: {};
|
|
672
|
+
B: {};
|
|
673
|
+
D: {};
|
|
674
|
+
C: {};
|
|
675
|
+
M: {};
|
|
676
|
+
Defaults: {};
|
|
677
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
678
|
+
size: {
|
|
679
|
+
type: StringConstructor;
|
|
680
|
+
default: string;
|
|
681
|
+
};
|
|
682
|
+
readonly: {
|
|
683
|
+
type: BooleanConstructor;
|
|
684
|
+
default: boolean;
|
|
685
|
+
};
|
|
686
|
+
disabled: {
|
|
687
|
+
type: BooleanConstructor;
|
|
688
|
+
default: boolean;
|
|
689
|
+
};
|
|
690
|
+
loading: {
|
|
691
|
+
type: BooleanConstructor;
|
|
692
|
+
default: boolean;
|
|
693
|
+
};
|
|
694
|
+
clearable: {
|
|
695
|
+
type: BooleanConstructor;
|
|
696
|
+
default: boolean;
|
|
697
|
+
};
|
|
698
|
+
placeholder: {
|
|
699
|
+
type: StringConstructor;
|
|
700
|
+
default: string;
|
|
701
|
+
};
|
|
702
|
+
width: {
|
|
703
|
+
type: StringConstructor;
|
|
704
|
+
default: string;
|
|
705
|
+
};
|
|
706
|
+
formatItems: {
|
|
707
|
+
type: null;
|
|
708
|
+
};
|
|
709
|
+
focus: {
|
|
710
|
+
type: BooleanConstructor;
|
|
711
|
+
default: boolean;
|
|
712
|
+
};
|
|
713
|
+
popoverVisible: {
|
|
714
|
+
type: BooleanConstructor;
|
|
715
|
+
default: boolean;
|
|
716
|
+
};
|
|
717
|
+
multiple: {
|
|
718
|
+
type: BooleanConstructor;
|
|
719
|
+
default: boolean;
|
|
720
|
+
};
|
|
721
|
+
searchable: {
|
|
722
|
+
type: BooleanConstructor;
|
|
723
|
+
default: boolean;
|
|
724
|
+
};
|
|
725
|
+
selectedLabel: {
|
|
726
|
+
type: StringConstructor;
|
|
727
|
+
default: string;
|
|
728
|
+
};
|
|
729
|
+
modelValue: {
|
|
730
|
+
type: globalThis.PropType<any>;
|
|
731
|
+
};
|
|
732
|
+
keyword: {
|
|
733
|
+
type: globalThis.PropType<any>;
|
|
734
|
+
};
|
|
735
|
+
}>> & Readonly<{
|
|
736
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
737
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
738
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
739
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
740
|
+
"onUpdate:keyword"?: ((value: any) => any) | undefined;
|
|
741
|
+
}>, {
|
|
742
|
+
clearHandle: () => void;
|
|
743
|
+
getInputRefStyle: () => {
|
|
744
|
+
fontSize: string;
|
|
745
|
+
padding: string;
|
|
746
|
+
fontFamily: string;
|
|
747
|
+
marginLeft: string;
|
|
748
|
+
};
|
|
749
|
+
}, {}, {}, {}, {
|
|
750
|
+
loading: boolean;
|
|
751
|
+
size: string;
|
|
752
|
+
disabled: boolean;
|
|
753
|
+
focus: boolean;
|
|
754
|
+
width: string;
|
|
755
|
+
placeholder: string;
|
|
756
|
+
readonly: boolean;
|
|
757
|
+
clearable: boolean;
|
|
758
|
+
multiple: boolean;
|
|
759
|
+
searchable: boolean;
|
|
760
|
+
popoverVisible: boolean;
|
|
761
|
+
selectedLabel: string;
|
|
762
|
+
}> | null;
|
|
763
|
+
lewTreeRef: ({
|
|
764
|
+
$: import('vue').ComponentInternalInstance;
|
|
765
|
+
$data: {};
|
|
766
|
+
$props: Partial<{
|
|
767
|
+
checkable: boolean;
|
|
768
|
+
height: string;
|
|
769
|
+
multiple: boolean;
|
|
770
|
+
searchable: boolean;
|
|
771
|
+
expandAll: boolean;
|
|
772
|
+
free: boolean;
|
|
773
|
+
showLine: boolean;
|
|
774
|
+
keyField: string;
|
|
775
|
+
labelField: string;
|
|
776
|
+
disabledField: string;
|
|
777
|
+
isSelect: boolean;
|
|
778
|
+
onlyLeafSelectable: boolean;
|
|
779
|
+
}> & Omit<{
|
|
780
|
+
readonly checkable: boolean;
|
|
781
|
+
readonly height: string;
|
|
782
|
+
readonly multiple: boolean;
|
|
783
|
+
readonly searchable: boolean;
|
|
784
|
+
readonly expandAll: boolean;
|
|
785
|
+
readonly free: boolean;
|
|
786
|
+
readonly showLine: boolean;
|
|
787
|
+
readonly keyField: string;
|
|
788
|
+
readonly labelField: string;
|
|
789
|
+
readonly disabledField: string;
|
|
790
|
+
readonly isSelect: boolean;
|
|
791
|
+
readonly onlyLeafSelectable: boolean;
|
|
792
|
+
readonly expandKeys?: string[] | undefined;
|
|
793
|
+
readonly modelValue?: string | string[] | undefined;
|
|
794
|
+
readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
|
|
795
|
+
readonly initMethod?: (() => void) | undefined;
|
|
796
|
+
readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
|
|
797
|
+
readonly onChange?: ((data: any) => any) | undefined;
|
|
798
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
799
|
+
readonly onExpand?: ((data: any) => any) | undefined;
|
|
800
|
+
readonly onLoadStart?: (() => any) | undefined;
|
|
801
|
+
readonly onLoadEnd?: ((text: string) => any) | undefined;
|
|
802
|
+
readonly "onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
803
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
|
|
804
|
+
$attrs: {
|
|
805
|
+
[x: string]: unknown;
|
|
806
|
+
};
|
|
807
|
+
$refs: {
|
|
808
|
+
[x: string]: unknown;
|
|
809
|
+
};
|
|
810
|
+
$slots: Readonly<{
|
|
811
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
812
|
+
}>;
|
|
813
|
+
$root: ComponentPublicInstance | null;
|
|
814
|
+
$parent: ComponentPublicInstance | null;
|
|
815
|
+
$host: Element | null;
|
|
816
|
+
$emit: ((event: "change", data: any) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "expand", data: any) => void) & ((event: "loadStart") => void) & ((event: "loadEnd", text: string) => void) & ((event: "update:expandKeys", value: string[]) => void);
|
|
817
|
+
$el: HTMLDivElement;
|
|
818
|
+
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
819
|
+
dataSource: {
|
|
820
|
+
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
821
|
+
typePopKeys: string[];
|
|
822
|
+
validator: (value: any[] | undefined) => boolean;
|
|
823
|
+
};
|
|
824
|
+
height: {
|
|
825
|
+
type: StringConstructor;
|
|
826
|
+
default: string;
|
|
827
|
+
validator: (value: string | number | undefined) => boolean;
|
|
828
|
+
};
|
|
829
|
+
multiple: {
|
|
830
|
+
type: BooleanConstructor;
|
|
831
|
+
default: boolean;
|
|
832
|
+
validator: (value: any) => boolean;
|
|
833
|
+
};
|
|
834
|
+
checkable: {
|
|
835
|
+
type: BooleanConstructor;
|
|
836
|
+
default: boolean;
|
|
837
|
+
validator: (value: any) => boolean;
|
|
838
|
+
};
|
|
839
|
+
searchable: {
|
|
840
|
+
type: BooleanConstructor;
|
|
841
|
+
default: boolean;
|
|
842
|
+
validator: (value: any) => boolean;
|
|
843
|
+
};
|
|
844
|
+
expandAll: {
|
|
845
|
+
type: BooleanConstructor;
|
|
846
|
+
default: boolean;
|
|
847
|
+
validator: (value: any) => boolean;
|
|
848
|
+
};
|
|
849
|
+
free: {
|
|
850
|
+
type: BooleanConstructor;
|
|
851
|
+
default: boolean;
|
|
852
|
+
validator: (value: any) => boolean;
|
|
853
|
+
};
|
|
854
|
+
showLine: {
|
|
855
|
+
type: BooleanConstructor;
|
|
856
|
+
default: boolean;
|
|
857
|
+
validator: (value: any) => boolean;
|
|
858
|
+
};
|
|
859
|
+
keyField: {
|
|
860
|
+
type: StringConstructor;
|
|
861
|
+
default: string;
|
|
862
|
+
validator: (value: any) => boolean;
|
|
863
|
+
};
|
|
864
|
+
labelField: {
|
|
865
|
+
type: StringConstructor;
|
|
866
|
+
default: string;
|
|
867
|
+
validator: (value: any) => boolean;
|
|
868
|
+
};
|
|
869
|
+
disabledField: {
|
|
870
|
+
type: StringConstructor;
|
|
871
|
+
default: string;
|
|
872
|
+
validator: (value: any) => boolean;
|
|
873
|
+
};
|
|
874
|
+
initMethod: {
|
|
875
|
+
type: PropType<() => void>;
|
|
876
|
+
validator: (value: any) => boolean;
|
|
877
|
+
};
|
|
878
|
+
loadMethod: {
|
|
879
|
+
type: PropType<(item: import('../../../..').LewTreeDataSource) => void>;
|
|
880
|
+
validator: (value: any) => boolean;
|
|
881
|
+
};
|
|
882
|
+
isSelect: {
|
|
883
|
+
type: BooleanConstructor;
|
|
884
|
+
default: boolean;
|
|
885
|
+
hidden: boolean;
|
|
886
|
+
validator: (value: any) => boolean;
|
|
887
|
+
};
|
|
888
|
+
onlyLeafSelectable: {
|
|
889
|
+
type: BooleanConstructor;
|
|
890
|
+
default: boolean;
|
|
891
|
+
validator: (value: any) => boolean;
|
|
892
|
+
};
|
|
893
|
+
modelValue: {
|
|
894
|
+
type: globalThis.PropType<string | string[]>;
|
|
895
|
+
};
|
|
896
|
+
expandKeys: {
|
|
897
|
+
type: globalThis.PropType<string[]>;
|
|
898
|
+
};
|
|
899
|
+
}>> & Readonly<{
|
|
900
|
+
onChange?: ((data: any) => any) | undefined;
|
|
901
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
902
|
+
onExpand?: ((data: any) => any) | undefined;
|
|
903
|
+
onLoadStart?: (() => any) | undefined;
|
|
904
|
+
onLoadEnd?: ((text: string) => any) | undefined;
|
|
905
|
+
"onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
906
|
+
}>, {
|
|
907
|
+
search: any;
|
|
908
|
+
reset: () => void;
|
|
909
|
+
getTree: () => {
|
|
910
|
+
label: string;
|
|
911
|
+
key: string;
|
|
912
|
+
level: number;
|
|
913
|
+
isLeaf?: boolean | undefined;
|
|
914
|
+
loading?: boolean | undefined;
|
|
915
|
+
disabled?: boolean | undefined;
|
|
916
|
+
parentKey?: string | undefined;
|
|
917
|
+
treeIndex?: number | undefined;
|
|
918
|
+
labelPaths?: string[] | undefined;
|
|
919
|
+
valueKeys?: string[] | undefined;
|
|
920
|
+
parentKeyPaths?: string[] | undefined;
|
|
921
|
+
parentLabelPaths?: string[] | undefined;
|
|
922
|
+
allNodeValues: string[];
|
|
923
|
+
leafNodeValues: string[];
|
|
924
|
+
children?: /*elided*/ any[] | undefined;
|
|
925
|
+
}[];
|
|
926
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
927
|
+
change: (data: any) => void;
|
|
928
|
+
expand: (data: any) => void;
|
|
929
|
+
loadStart: () => void;
|
|
930
|
+
loadEnd: (text: string) => void;
|
|
931
|
+
"update:modelValue": (value: string | string[]) => void;
|
|
932
|
+
"update:expandKeys": (value: string[]) => void;
|
|
933
|
+
}, string, {
|
|
934
|
+
checkable: boolean;
|
|
935
|
+
height: string;
|
|
936
|
+
multiple: boolean;
|
|
937
|
+
searchable: boolean;
|
|
938
|
+
expandAll: boolean;
|
|
939
|
+
free: boolean;
|
|
940
|
+
showLine: boolean;
|
|
941
|
+
keyField: string;
|
|
942
|
+
labelField: string;
|
|
943
|
+
disabledField: string;
|
|
400
944
|
isSelect: boolean;
|
|
401
945
|
onlyLeafSelectable: boolean;
|
|
402
946
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -508,22 +1052,38 @@ declare function __VLS_template(): {
|
|
|
508
1052
|
validator: (value: any) => boolean;
|
|
509
1053
|
};
|
|
510
1054
|
modelValue: {
|
|
511
|
-
type: globalThis.PropType<
|
|
1055
|
+
type: globalThis.PropType<string | string[]>;
|
|
512
1056
|
};
|
|
513
1057
|
expandKeys: {
|
|
514
|
-
type: globalThis.PropType<
|
|
1058
|
+
type: globalThis.PropType<string[]>;
|
|
515
1059
|
};
|
|
516
1060
|
}>> & Readonly<{
|
|
517
1061
|
onChange?: ((data: any) => any) | undefined;
|
|
518
|
-
"onUpdate:modelValue"?: ((value:
|
|
1062
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
519
1063
|
onExpand?: ((data: any) => any) | undefined;
|
|
520
1064
|
onLoadStart?: (() => any) | undefined;
|
|
521
1065
|
onLoadEnd?: ((text: string) => any) | undefined;
|
|
522
|
-
"onUpdate:expandKeys"?: ((value:
|
|
1066
|
+
"onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
523
1067
|
}>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
|
|
524
|
-
search:
|
|
1068
|
+
search: any;
|
|
525
1069
|
reset: () => void;
|
|
526
|
-
getTree: () =>
|
|
1070
|
+
getTree: () => {
|
|
1071
|
+
label: string;
|
|
1072
|
+
key: string;
|
|
1073
|
+
level: number;
|
|
1074
|
+
isLeaf?: boolean | undefined;
|
|
1075
|
+
loading?: boolean | undefined;
|
|
1076
|
+
disabled?: boolean | undefined;
|
|
1077
|
+
parentKey?: string | undefined;
|
|
1078
|
+
treeIndex?: number | undefined;
|
|
1079
|
+
labelPaths?: string[] | undefined;
|
|
1080
|
+
valueKeys?: string[] | undefined;
|
|
1081
|
+
parentKeyPaths?: string[] | undefined;
|
|
1082
|
+
parentLabelPaths?: string[] | undefined;
|
|
1083
|
+
allNodeValues: string[];
|
|
1084
|
+
leafNodeValues: string[];
|
|
1085
|
+
children?: /*elided*/ any[] | undefined;
|
|
1086
|
+
}[];
|
|
527
1087
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
528
1088
|
$slots: {
|
|
529
1089
|
empty?(_: {}): any;
|
|
@@ -569,11 +1129,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
569
1129
|
default: boolean;
|
|
570
1130
|
validator: (value: any) => boolean;
|
|
571
1131
|
};
|
|
1132
|
+
multiple: {
|
|
1133
|
+
type: BooleanConstructor;
|
|
1134
|
+
default: boolean;
|
|
1135
|
+
validator: (value: any) => boolean;
|
|
1136
|
+
};
|
|
572
1137
|
checkable: {
|
|
573
1138
|
type: BooleanConstructor;
|
|
574
1139
|
default: boolean;
|
|
575
1140
|
validator: (value: any) => boolean;
|
|
576
1141
|
};
|
|
1142
|
+
onlyLeafSelectable: {
|
|
1143
|
+
type: BooleanConstructor;
|
|
1144
|
+
default: boolean;
|
|
1145
|
+
validator: (value: any) => boolean;
|
|
1146
|
+
};
|
|
577
1147
|
showAllLevels: {
|
|
578
1148
|
type: BooleanConstructor;
|
|
579
1149
|
default: boolean;
|
|
@@ -645,15 +1215,15 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
645
1215
|
validator: (value: any) => boolean;
|
|
646
1216
|
};
|
|
647
1217
|
modelValue: {
|
|
648
|
-
type: globalThis.PropType<
|
|
1218
|
+
type: globalThis.PropType<string | string[]>;
|
|
649
1219
|
};
|
|
650
1220
|
}>, {
|
|
651
1221
|
show: typeof show;
|
|
652
1222
|
hide: typeof hide;
|
|
653
1223
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
654
|
-
change: (value?: string | undefined) => void;
|
|
1224
|
+
change: (value?: string | string[] | undefined) => void;
|
|
655
1225
|
clear: () => void;
|
|
656
|
-
"update:modelValue": (value:
|
|
1226
|
+
"update:modelValue": (value: string | string[]) => void;
|
|
657
1227
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
658
1228
|
dataSource: {
|
|
659
1229
|
type: PropType<import('../../../..').LewTreeDataSource[]>;
|
|
@@ -690,11 +1260,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
690
1260
|
default: boolean;
|
|
691
1261
|
validator: (value: any) => boolean;
|
|
692
1262
|
};
|
|
1263
|
+
multiple: {
|
|
1264
|
+
type: BooleanConstructor;
|
|
1265
|
+
default: boolean;
|
|
1266
|
+
validator: (value: any) => boolean;
|
|
1267
|
+
};
|
|
693
1268
|
checkable: {
|
|
694
1269
|
type: BooleanConstructor;
|
|
695
1270
|
default: boolean;
|
|
696
1271
|
validator: (value: any) => boolean;
|
|
697
1272
|
};
|
|
1273
|
+
onlyLeafSelectable: {
|
|
1274
|
+
type: BooleanConstructor;
|
|
1275
|
+
default: boolean;
|
|
1276
|
+
validator: (value: any) => boolean;
|
|
1277
|
+
};
|
|
698
1278
|
showAllLevels: {
|
|
699
1279
|
type: BooleanConstructor;
|
|
700
1280
|
default: boolean;
|
|
@@ -766,12 +1346,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
766
1346
|
validator: (value: any) => boolean;
|
|
767
1347
|
};
|
|
768
1348
|
modelValue: {
|
|
769
|
-
type: globalThis.PropType<
|
|
1349
|
+
type: globalThis.PropType<string | string[]>;
|
|
770
1350
|
};
|
|
771
1351
|
}>> & Readonly<{
|
|
772
|
-
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
1352
|
+
onChange?: ((value?: string | string[] | undefined) => any) | undefined;
|
|
773
1353
|
onClear?: (() => any) | undefined;
|
|
774
|
-
"onUpdate:modelValue"?: ((value:
|
|
1354
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
775
1355
|
}>, {
|
|
776
1356
|
size: import('../../../..').LewSize;
|
|
777
1357
|
disabled: boolean;
|
|
@@ -780,6 +1360,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
780
1360
|
readonly: boolean;
|
|
781
1361
|
trigger: import('../../../..').LewTrigger;
|
|
782
1362
|
clearable: boolean;
|
|
1363
|
+
multiple: boolean;
|
|
783
1364
|
searchable: boolean;
|
|
784
1365
|
initMethod: () => void;
|
|
785
1366
|
searchDelay: number;
|
|
@@ -790,6 +1371,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
790
1371
|
labelField: string;
|
|
791
1372
|
disabledField: string;
|
|
792
1373
|
loadMethod: () => void;
|
|
1374
|
+
onlyLeafSelectable: boolean;
|
|
793
1375
|
showAllLevels: boolean;
|
|
794
1376
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
795
1377
|
lewPopoverRef: ({
|
|
@@ -798,61 +1380,515 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
798
1380
|
$props: Partial<{
|
|
799
1381
|
loading: boolean;
|
|
800
1382
|
disabled: boolean;
|
|
801
|
-
offset: import('../../../..').LewOffset;
|
|
802
|
-
placement: import('../../../..').LewPlacement;
|
|
803
|
-
delay: [number, number];
|
|
804
|
-
trigger: import('../../../..').LewTrigger;
|
|
805
|
-
triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
806
|
-
hideOnClick: boolean;
|
|
807
|
-
clickOutsideToHide: boolean;
|
|
808
|
-
popoverBodyClassName: string;
|
|
809
|
-
}> & Omit<{
|
|
810
|
-
readonly loading: boolean;
|
|
811
|
-
readonly disabled: boolean;
|
|
812
|
-
readonly offset: import('../../../..').LewOffset;
|
|
813
|
-
readonly placement: import('../../../..').LewPlacement;
|
|
814
|
-
readonly delay: [number, number];
|
|
815
|
-
readonly trigger: import('../../../..').LewTrigger;
|
|
816
|
-
readonly triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
817
|
-
readonly hideOnClick: boolean;
|
|
818
|
-
readonly clickOutsideToHide: boolean;
|
|
819
|
-
readonly popoverBodyClassName: string;
|
|
820
|
-
readonly onShow?: (() => any) | undefined;
|
|
821
|
-
readonly onHide?: (() => any) | undefined;
|
|
822
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName">;
|
|
823
|
-
$attrs: {
|
|
824
|
-
[x: string]: unknown;
|
|
825
|
-
};
|
|
826
|
-
$refs: {
|
|
827
|
-
[x: string]: unknown;
|
|
828
|
-
} & {
|
|
829
|
-
triggerRef: HTMLDivElement;
|
|
830
|
-
bodyRef: HTMLDivElement;
|
|
831
|
-
};
|
|
832
|
-
$slots: Readonly<{
|
|
833
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
834
|
-
}>;
|
|
835
|
-
$root: ComponentPublicInstance | null;
|
|
836
|
-
$parent: ComponentPublicInstance | null;
|
|
837
|
-
$host: Element | null;
|
|
838
|
-
$emit: ((event: "show") => void) & ((event: "hide") => void);
|
|
839
|
-
$el: HTMLDivElement;
|
|
840
|
-
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
841
|
-
trigger: {
|
|
842
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
1383
|
+
offset: import('../../../..').LewOffset;
|
|
1384
|
+
placement: import('../../../..').LewPlacement;
|
|
1385
|
+
delay: [number, number];
|
|
1386
|
+
trigger: import('../../../..').LewTrigger;
|
|
1387
|
+
triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
1388
|
+
hideOnClick: boolean;
|
|
1389
|
+
clickOutsideToHide: boolean;
|
|
1390
|
+
popoverBodyClassName: string;
|
|
1391
|
+
}> & Omit<{
|
|
1392
|
+
readonly loading: boolean;
|
|
1393
|
+
readonly disabled: boolean;
|
|
1394
|
+
readonly offset: import('../../../..').LewOffset;
|
|
1395
|
+
readonly placement: import('../../../..').LewPlacement;
|
|
1396
|
+
readonly delay: [number, number];
|
|
1397
|
+
readonly trigger: import('../../../..').LewTrigger;
|
|
1398
|
+
readonly triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
1399
|
+
readonly hideOnClick: boolean;
|
|
1400
|
+
readonly clickOutsideToHide: boolean;
|
|
1401
|
+
readonly popoverBodyClassName: string;
|
|
1402
|
+
readonly onShow?: (() => any) | undefined;
|
|
1403
|
+
readonly onHide?: (() => any) | undefined;
|
|
1404
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName">;
|
|
1405
|
+
$attrs: {
|
|
1406
|
+
[x: string]: unknown;
|
|
1407
|
+
};
|
|
1408
|
+
$refs: {
|
|
1409
|
+
[x: string]: unknown;
|
|
1410
|
+
} & {
|
|
1411
|
+
triggerRef: HTMLDivElement;
|
|
1412
|
+
bodyRef: HTMLDivElement;
|
|
1413
|
+
};
|
|
1414
|
+
$slots: Readonly<{
|
|
1415
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
1416
|
+
}>;
|
|
1417
|
+
$root: ComponentPublicInstance | null;
|
|
1418
|
+
$parent: ComponentPublicInstance | null;
|
|
1419
|
+
$host: Element | null;
|
|
1420
|
+
$emit: ((event: "show") => void) & ((event: "hide") => void);
|
|
1421
|
+
$el: HTMLDivElement;
|
|
1422
|
+
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
1423
|
+
trigger: {
|
|
1424
|
+
type: PropType<import('../../../..').LewTrigger>;
|
|
1425
|
+
default: string;
|
|
1426
|
+
typeValues: import('../../../..').LewTrigger[];
|
|
1427
|
+
validator: (value: any) => boolean;
|
|
1428
|
+
};
|
|
1429
|
+
triggerWidth: {
|
|
1430
|
+
type: PropType<import("csstype").Property.Width>;
|
|
1431
|
+
default: string;
|
|
1432
|
+
validator: (value: any) => boolean;
|
|
1433
|
+
};
|
|
1434
|
+
placement: {
|
|
1435
|
+
type: PropType<import('../../../..').LewPlacement>;
|
|
1436
|
+
default: string;
|
|
1437
|
+
typeValues: import('../../../..').LewPlacement[];
|
|
1438
|
+
validator: (value: any) => boolean;
|
|
1439
|
+
};
|
|
1440
|
+
disabled: {
|
|
1441
|
+
type: BooleanConstructor;
|
|
1442
|
+
default: boolean;
|
|
1443
|
+
validator: (value: any) => boolean;
|
|
1444
|
+
};
|
|
1445
|
+
loading: {
|
|
1446
|
+
type: BooleanConstructor;
|
|
1447
|
+
default: boolean;
|
|
1448
|
+
validator: (value: any) => boolean;
|
|
1449
|
+
};
|
|
1450
|
+
hideOnClick: {
|
|
1451
|
+
type: BooleanConstructor;
|
|
1452
|
+
default: boolean;
|
|
1453
|
+
validator: (value: any) => boolean;
|
|
1454
|
+
};
|
|
1455
|
+
clickOutsideToHide: {
|
|
1456
|
+
type: BooleanConstructor;
|
|
1457
|
+
default: boolean;
|
|
1458
|
+
validator: (value: any) => boolean;
|
|
1459
|
+
};
|
|
1460
|
+
offset: {
|
|
1461
|
+
type: PropType<import('../../../..').LewOffset>;
|
|
1462
|
+
default: number[];
|
|
1463
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1464
|
+
};
|
|
1465
|
+
delay: {
|
|
1466
|
+
type: PropType<[number, number]>;
|
|
1467
|
+
default: number[];
|
|
1468
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1469
|
+
};
|
|
1470
|
+
popoverBodyClassName: {
|
|
1471
|
+
type: StringConstructor;
|
|
1472
|
+
default: string;
|
|
1473
|
+
validator: (value: any) => boolean;
|
|
1474
|
+
};
|
|
1475
|
+
}>> & Readonly<{
|
|
1476
|
+
onShow?: (() => any) | undefined;
|
|
1477
|
+
onHide?: (() => any) | undefined;
|
|
1478
|
+
}>, {
|
|
1479
|
+
show: () => void;
|
|
1480
|
+
hide: () => void;
|
|
1481
|
+
refresh: () => void;
|
|
1482
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1483
|
+
show: () => void;
|
|
1484
|
+
hide: () => void;
|
|
1485
|
+
}, string, {
|
|
1486
|
+
loading: boolean;
|
|
1487
|
+
disabled: boolean;
|
|
1488
|
+
offset: import('../../../..').LewOffset;
|
|
1489
|
+
placement: import('../../../..').LewPlacement;
|
|
1490
|
+
delay: [number, number];
|
|
1491
|
+
trigger: import('../../../..').LewTrigger;
|
|
1492
|
+
triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
1493
|
+
hideOnClick: boolean;
|
|
1494
|
+
clickOutsideToHide: boolean;
|
|
1495
|
+
popoverBodyClassName: string;
|
|
1496
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1497
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1498
|
+
created?: (() => void) | (() => void)[];
|
|
1499
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1500
|
+
mounted?: (() => void) | (() => void)[];
|
|
1501
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1502
|
+
updated?: (() => void) | (() => void)[];
|
|
1503
|
+
activated?: (() => void) | (() => void)[];
|
|
1504
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1505
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1506
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1507
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1508
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1509
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1510
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1511
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1512
|
+
};
|
|
1513
|
+
$forceUpdate: () => void;
|
|
1514
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1515
|
+
$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;
|
|
1516
|
+
} & Readonly<{
|
|
1517
|
+
loading: boolean;
|
|
1518
|
+
disabled: boolean;
|
|
1519
|
+
offset: import('../../../..').LewOffset;
|
|
1520
|
+
placement: import('../../../..').LewPlacement;
|
|
1521
|
+
delay: [number, number];
|
|
1522
|
+
trigger: import('../../../..').LewTrigger;
|
|
1523
|
+
triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
1524
|
+
hideOnClick: boolean;
|
|
1525
|
+
clickOutsideToHide: boolean;
|
|
1526
|
+
popoverBodyClassName: string;
|
|
1527
|
+
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
1528
|
+
trigger: {
|
|
1529
|
+
type: PropType<import('../../../..').LewTrigger>;
|
|
1530
|
+
default: string;
|
|
1531
|
+
typeValues: import('../../../..').LewTrigger[];
|
|
1532
|
+
validator: (value: any) => boolean;
|
|
1533
|
+
};
|
|
1534
|
+
triggerWidth: {
|
|
1535
|
+
type: PropType<import("csstype").Property.Width>;
|
|
1536
|
+
default: string;
|
|
1537
|
+
validator: (value: any) => boolean;
|
|
1538
|
+
};
|
|
1539
|
+
placement: {
|
|
1540
|
+
type: PropType<import('../../../..').LewPlacement>;
|
|
1541
|
+
default: string;
|
|
1542
|
+
typeValues: import('../../../..').LewPlacement[];
|
|
1543
|
+
validator: (value: any) => boolean;
|
|
1544
|
+
};
|
|
1545
|
+
disabled: {
|
|
1546
|
+
type: BooleanConstructor;
|
|
1547
|
+
default: boolean;
|
|
1548
|
+
validator: (value: any) => boolean;
|
|
1549
|
+
};
|
|
1550
|
+
loading: {
|
|
1551
|
+
type: BooleanConstructor;
|
|
1552
|
+
default: boolean;
|
|
1553
|
+
validator: (value: any) => boolean;
|
|
1554
|
+
};
|
|
1555
|
+
hideOnClick: {
|
|
1556
|
+
type: BooleanConstructor;
|
|
1557
|
+
default: boolean;
|
|
1558
|
+
validator: (value: any) => boolean;
|
|
1559
|
+
};
|
|
1560
|
+
clickOutsideToHide: {
|
|
1561
|
+
type: BooleanConstructor;
|
|
1562
|
+
default: boolean;
|
|
1563
|
+
validator: (value: any) => boolean;
|
|
1564
|
+
};
|
|
1565
|
+
offset: {
|
|
1566
|
+
type: PropType<import('../../../..').LewOffset>;
|
|
1567
|
+
default: number[];
|
|
1568
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1569
|
+
};
|
|
1570
|
+
delay: {
|
|
1571
|
+
type: PropType<[number, number]>;
|
|
1572
|
+
default: number[];
|
|
1573
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1574
|
+
};
|
|
1575
|
+
popoverBodyClassName: {
|
|
1576
|
+
type: StringConstructor;
|
|
1577
|
+
default: string;
|
|
1578
|
+
validator: (value: any) => boolean;
|
|
1579
|
+
};
|
|
1580
|
+
}>> & Readonly<{
|
|
1581
|
+
onShow?: (() => any) | undefined;
|
|
1582
|
+
onHide?: (() => any) | undefined;
|
|
1583
|
+
}>, "show" | "hide" | "refresh" | ("loading" | "disabled" | "offset" | "placement" | "delay" | "trigger" | "triggerWidth" | "hideOnClick" | "clickOutsideToHide" | "popoverBodyClassName")> & import('vue').ShallowUnwrapRef<{
|
|
1584
|
+
show: () => void;
|
|
1585
|
+
hide: () => void;
|
|
1586
|
+
refresh: () => void;
|
|
1587
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1588
|
+
$slots: {
|
|
1589
|
+
trigger?(_: {}): any;
|
|
1590
|
+
'popover-body'?(_: {
|
|
1591
|
+
show: () => void;
|
|
1592
|
+
hide: () => void;
|
|
1593
|
+
}): any;
|
|
1594
|
+
};
|
|
1595
|
+
}) | null;
|
|
1596
|
+
lewSelectRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1597
|
+
size: {
|
|
1598
|
+
type: StringConstructor;
|
|
1599
|
+
default: string;
|
|
1600
|
+
};
|
|
1601
|
+
readonly: {
|
|
1602
|
+
type: BooleanConstructor;
|
|
1603
|
+
default: boolean;
|
|
1604
|
+
};
|
|
1605
|
+
disabled: {
|
|
1606
|
+
type: BooleanConstructor;
|
|
1607
|
+
default: boolean;
|
|
1608
|
+
};
|
|
1609
|
+
loading: {
|
|
1610
|
+
type: BooleanConstructor;
|
|
1611
|
+
default: boolean;
|
|
1612
|
+
};
|
|
1613
|
+
clearable: {
|
|
1614
|
+
type: BooleanConstructor;
|
|
1615
|
+
default: boolean;
|
|
1616
|
+
};
|
|
1617
|
+
placeholder: {
|
|
1618
|
+
type: StringConstructor;
|
|
1619
|
+
default: string;
|
|
1620
|
+
};
|
|
1621
|
+
width: {
|
|
1622
|
+
type: StringConstructor;
|
|
1623
|
+
default: string;
|
|
1624
|
+
};
|
|
1625
|
+
formatItems: {
|
|
1626
|
+
type: null;
|
|
1627
|
+
};
|
|
1628
|
+
focus: {
|
|
1629
|
+
type: BooleanConstructor;
|
|
1630
|
+
default: boolean;
|
|
1631
|
+
};
|
|
1632
|
+
popoverVisible: {
|
|
1633
|
+
type: BooleanConstructor;
|
|
1634
|
+
default: boolean;
|
|
1635
|
+
};
|
|
1636
|
+
multiple: {
|
|
1637
|
+
type: BooleanConstructor;
|
|
1638
|
+
default: boolean;
|
|
1639
|
+
};
|
|
1640
|
+
searchable: {
|
|
1641
|
+
type: BooleanConstructor;
|
|
1642
|
+
default: boolean;
|
|
1643
|
+
};
|
|
1644
|
+
selectedLabel: {
|
|
1645
|
+
type: StringConstructor;
|
|
1646
|
+
default: string;
|
|
1647
|
+
};
|
|
1648
|
+
modelValue: {
|
|
1649
|
+
type: globalThis.PropType<any>;
|
|
1650
|
+
};
|
|
1651
|
+
keyword: {
|
|
1652
|
+
type: globalThis.PropType<any>;
|
|
1653
|
+
};
|
|
1654
|
+
}>> & Readonly<{
|
|
1655
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
1656
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
1657
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
1658
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1659
|
+
"onUpdate:keyword"?: ((value: any) => any) | undefined;
|
|
1660
|
+
}>, {
|
|
1661
|
+
clearHandle: () => void;
|
|
1662
|
+
getInputRefStyle: () => {
|
|
1663
|
+
fontSize: string;
|
|
1664
|
+
padding: string;
|
|
1665
|
+
fontFamily: string;
|
|
1666
|
+
marginLeft: string;
|
|
1667
|
+
};
|
|
1668
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1669
|
+
input: (...args: any[]) => void;
|
|
1670
|
+
clear: (...args: any[]) => void;
|
|
1671
|
+
delete: (...args: any[]) => void;
|
|
1672
|
+
"update:modelValue": (value: any) => void;
|
|
1673
|
+
"update:keyword": (value: any) => void;
|
|
1674
|
+
}, import('vue').PublicProps, {
|
|
1675
|
+
loading: boolean;
|
|
1676
|
+
size: string;
|
|
1677
|
+
disabled: boolean;
|
|
1678
|
+
focus: boolean;
|
|
1679
|
+
width: string;
|
|
1680
|
+
placeholder: string;
|
|
1681
|
+
readonly: boolean;
|
|
1682
|
+
clearable: boolean;
|
|
1683
|
+
multiple: boolean;
|
|
1684
|
+
searchable: boolean;
|
|
1685
|
+
popoverVisible: boolean;
|
|
1686
|
+
selectedLabel: string;
|
|
1687
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1688
|
+
lewSelectRef: HTMLDivElement;
|
|
1689
|
+
inputRef: HTMLInputElement;
|
|
1690
|
+
searchInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1691
|
+
type: {
|
|
1692
|
+
type: PropType<import('../../../..').LewInputType>;
|
|
1693
|
+
default: string;
|
|
1694
|
+
typeValues: import('../../../..').LewInputType[];
|
|
1695
|
+
validator: (value: any) => boolean;
|
|
1696
|
+
};
|
|
1697
|
+
size: {
|
|
1698
|
+
type: PropType<import('../../../..').LewSize>;
|
|
1699
|
+
default: string;
|
|
1700
|
+
typeValues: import('../../../..').LewSize[];
|
|
1701
|
+
validator: (value: any) => boolean;
|
|
1702
|
+
};
|
|
1703
|
+
width: {
|
|
1704
|
+
type: PropType<import("csstype").Property.Width>;
|
|
1705
|
+
default: string;
|
|
1706
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1707
|
+
};
|
|
1708
|
+
placeholder: {
|
|
1709
|
+
type: StringConstructor;
|
|
1710
|
+
defaultLocale: boolean;
|
|
1711
|
+
validator: (value: any) => boolean;
|
|
1712
|
+
};
|
|
1713
|
+
disabled: {
|
|
1714
|
+
type: BooleanConstructor;
|
|
1715
|
+
default: boolean;
|
|
1716
|
+
validator: (value: any) => boolean;
|
|
1717
|
+
};
|
|
1718
|
+
readonly: {
|
|
1719
|
+
type: BooleanConstructor;
|
|
1720
|
+
default: boolean;
|
|
1721
|
+
validator: (value: any) => boolean;
|
|
1722
|
+
};
|
|
1723
|
+
clearable: {
|
|
1724
|
+
type: BooleanConstructor;
|
|
1725
|
+
default: boolean;
|
|
1726
|
+
validator: (value: any) => boolean;
|
|
1727
|
+
};
|
|
1728
|
+
showPassword: {
|
|
1729
|
+
type: BooleanConstructor;
|
|
1730
|
+
default: boolean;
|
|
1731
|
+
validator: (value: any) => boolean;
|
|
1732
|
+
};
|
|
1733
|
+
maxLength: {
|
|
1734
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1735
|
+
default: undefined;
|
|
1736
|
+
validator: (value: number | undefined) => boolean;
|
|
1737
|
+
};
|
|
1738
|
+
showCount: {
|
|
1739
|
+
type: BooleanConstructor;
|
|
1740
|
+
default: boolean;
|
|
1741
|
+
validator: (value: any) => boolean;
|
|
1742
|
+
};
|
|
1743
|
+
align: {
|
|
1744
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
1745
|
+
default: string;
|
|
1746
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
1747
|
+
validator: (value: any) => boolean;
|
|
1748
|
+
};
|
|
1749
|
+
minWidth: {
|
|
1750
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1751
|
+
default: string;
|
|
1752
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1753
|
+
};
|
|
1754
|
+
autoWidth: {
|
|
1755
|
+
type: BooleanConstructor;
|
|
1756
|
+
default: boolean;
|
|
1757
|
+
validator: (value: any) => boolean;
|
|
1758
|
+
};
|
|
1759
|
+
selectByFocus: {
|
|
1760
|
+
type: BooleanConstructor;
|
|
1761
|
+
default: boolean;
|
|
1762
|
+
validator: (value: any) => boolean;
|
|
1763
|
+
};
|
|
1764
|
+
copyable: {
|
|
1765
|
+
type: BooleanConstructor;
|
|
1766
|
+
default: boolean;
|
|
1767
|
+
validator: (value: any) => boolean;
|
|
1768
|
+
};
|
|
1769
|
+
prefixes: {
|
|
1770
|
+
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
1771
|
+
default: string;
|
|
1772
|
+
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
1773
|
+
validator: (value: any) => boolean;
|
|
1774
|
+
};
|
|
1775
|
+
prefixesOptions: {
|
|
1776
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
1777
|
+
default: () => never[];
|
|
1778
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1779
|
+
};
|
|
1780
|
+
prefixesTooltip: {
|
|
1781
|
+
type: StringConstructor;
|
|
1782
|
+
default: string;
|
|
1783
|
+
validator: (value: any) => boolean;
|
|
1784
|
+
};
|
|
1785
|
+
suffix: {
|
|
1786
|
+
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
1787
|
+
default: string;
|
|
1788
|
+
typeValues: import('../../../..').LewInputSuffixType[];
|
|
1789
|
+
validator: (value: any) => boolean;
|
|
1790
|
+
};
|
|
1791
|
+
suffixOptions: {
|
|
1792
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
1793
|
+
default: () => never[];
|
|
1794
|
+
validator: (value: any[] | undefined) => boolean;
|
|
1795
|
+
};
|
|
1796
|
+
suffixTooltip: {
|
|
1797
|
+
type: StringConstructor;
|
|
1798
|
+
default: string;
|
|
1799
|
+
validator: (value: any) => boolean;
|
|
1800
|
+
};
|
|
1801
|
+
okByEnter: {
|
|
1802
|
+
type: BooleanConstructor;
|
|
1803
|
+
default: boolean;
|
|
1804
|
+
validator: (value: any) => boolean;
|
|
1805
|
+
};
|
|
1806
|
+
modelValue: {
|
|
1807
|
+
type: globalThis.PropType<string | undefined>;
|
|
1808
|
+
required: true;
|
|
1809
|
+
};
|
|
1810
|
+
prefixValue: {
|
|
1811
|
+
type: globalThis.PropType<string>;
|
|
1812
|
+
};
|
|
1813
|
+
suffixValue: {
|
|
1814
|
+
type: globalThis.PropType<string>;
|
|
1815
|
+
};
|
|
1816
|
+
}>> & Readonly<{
|
|
1817
|
+
onInput?: ((value?: string | undefined) => any) | undefined;
|
|
1818
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
1819
|
+
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
1820
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
1821
|
+
onClear?: (() => any) | undefined;
|
|
1822
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
1823
|
+
"onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
|
|
1824
|
+
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
1825
|
+
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
1826
|
+
}>, {
|
|
1827
|
+
focus: () => any;
|
|
1828
|
+
blur: () => any;
|
|
1829
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1830
|
+
input: (value?: string | undefined) => void;
|
|
1831
|
+
blur: (e: FocusEvent) => void;
|
|
1832
|
+
change: (value?: string | undefined) => void;
|
|
1833
|
+
focus: (e: FocusEvent) => void;
|
|
1834
|
+
clear: () => void;
|
|
1835
|
+
ok: (value?: string | undefined) => void;
|
|
1836
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
1837
|
+
"update:prefixValue": (value: string | undefined) => void;
|
|
1838
|
+
"update:suffixValue": (value: string | undefined) => void;
|
|
1839
|
+
}, import('vue').PublicProps, {
|
|
1840
|
+
maxLength: string | number;
|
|
1841
|
+
type: import('../../../..').LewInputType;
|
|
1842
|
+
size: import('../../../..').LewSize;
|
|
1843
|
+
disabled: boolean;
|
|
1844
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
1845
|
+
minWidth: string | number;
|
|
1846
|
+
readonly: boolean;
|
|
1847
|
+
clearable: boolean;
|
|
1848
|
+
showPassword: boolean;
|
|
1849
|
+
showCount: boolean;
|
|
1850
|
+
align: import('../../../..').LewXAlignment;
|
|
1851
|
+
autoWidth: boolean;
|
|
1852
|
+
selectByFocus: boolean;
|
|
1853
|
+
copyable: boolean;
|
|
1854
|
+
prefixes: import('../../../..').LewInputPrefixesType;
|
|
1855
|
+
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
1856
|
+
prefixesTooltip: string;
|
|
1857
|
+
suffix: import('../../../..').LewInputSuffixType;
|
|
1858
|
+
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
1859
|
+
suffixTooltip: string;
|
|
1860
|
+
okByEnter: boolean;
|
|
1861
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1862
|
+
lewInputRef: HTMLInputElement;
|
|
1863
|
+
lewInputCountRef: HTMLDivElement;
|
|
1864
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
1865
|
+
P: {};
|
|
1866
|
+
B: {};
|
|
1867
|
+
D: {};
|
|
1868
|
+
C: {};
|
|
1869
|
+
M: {};
|
|
1870
|
+
Defaults: {};
|
|
1871
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
1872
|
+
type: {
|
|
1873
|
+
type: PropType<import('../../../..').LewInputType>;
|
|
843
1874
|
default: string;
|
|
844
|
-
typeValues: import('../../../..').
|
|
1875
|
+
typeValues: import('../../../..').LewInputType[];
|
|
845
1876
|
validator: (value: any) => boolean;
|
|
846
1877
|
};
|
|
847
|
-
|
|
848
|
-
type: PropType<import(
|
|
1878
|
+
size: {
|
|
1879
|
+
type: PropType<import('../../../..').LewSize>;
|
|
849
1880
|
default: string;
|
|
1881
|
+
typeValues: import('../../../..').LewSize[];
|
|
850
1882
|
validator: (value: any) => boolean;
|
|
851
1883
|
};
|
|
852
|
-
|
|
853
|
-
type: PropType<import(
|
|
1884
|
+
width: {
|
|
1885
|
+
type: PropType<import("csstype").Property.Width>;
|
|
854
1886
|
default: string;
|
|
855
|
-
|
|
1887
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1888
|
+
};
|
|
1889
|
+
placeholder: {
|
|
1890
|
+
type: StringConstructor;
|
|
1891
|
+
defaultLocale: boolean;
|
|
856
1892
|
validator: (value: any) => boolean;
|
|
857
1893
|
};
|
|
858
1894
|
disabled: {
|
|
@@ -860,159 +1896,233 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
860
1896
|
default: boolean;
|
|
861
1897
|
validator: (value: any) => boolean;
|
|
862
1898
|
};
|
|
863
|
-
|
|
1899
|
+
readonly: {
|
|
864
1900
|
type: BooleanConstructor;
|
|
865
1901
|
default: boolean;
|
|
866
1902
|
validator: (value: any) => boolean;
|
|
867
1903
|
};
|
|
868
|
-
|
|
1904
|
+
clearable: {
|
|
869
1905
|
type: BooleanConstructor;
|
|
870
1906
|
default: boolean;
|
|
871
1907
|
validator: (value: any) => boolean;
|
|
872
1908
|
};
|
|
873
|
-
|
|
1909
|
+
showPassword: {
|
|
874
1910
|
type: BooleanConstructor;
|
|
875
1911
|
default: boolean;
|
|
876
1912
|
validator: (value: any) => boolean;
|
|
877
1913
|
};
|
|
878
|
-
|
|
879
|
-
type:
|
|
880
|
-
default:
|
|
1914
|
+
maxLength: {
|
|
1915
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1916
|
+
default: undefined;
|
|
1917
|
+
validator: (value: number | undefined) => boolean;
|
|
1918
|
+
};
|
|
1919
|
+
showCount: {
|
|
1920
|
+
type: BooleanConstructor;
|
|
1921
|
+
default: boolean;
|
|
1922
|
+
validator: (value: any) => boolean;
|
|
1923
|
+
};
|
|
1924
|
+
align: {
|
|
1925
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
1926
|
+
default: string;
|
|
1927
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
1928
|
+
validator: (value: any) => boolean;
|
|
1929
|
+
};
|
|
1930
|
+
minWidth: {
|
|
1931
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1932
|
+
default: string;
|
|
1933
|
+
validator: (value: string | number | undefined) => boolean;
|
|
1934
|
+
};
|
|
1935
|
+
autoWidth: {
|
|
1936
|
+
type: BooleanConstructor;
|
|
1937
|
+
default: boolean;
|
|
1938
|
+
validator: (value: any) => boolean;
|
|
1939
|
+
};
|
|
1940
|
+
selectByFocus: {
|
|
1941
|
+
type: BooleanConstructor;
|
|
1942
|
+
default: boolean;
|
|
1943
|
+
validator: (value: any) => boolean;
|
|
1944
|
+
};
|
|
1945
|
+
copyable: {
|
|
1946
|
+
type: BooleanConstructor;
|
|
1947
|
+
default: boolean;
|
|
1948
|
+
validator: (value: any) => boolean;
|
|
1949
|
+
};
|
|
1950
|
+
prefixes: {
|
|
1951
|
+
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
1952
|
+
default: string;
|
|
1953
|
+
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
1954
|
+
validator: (value: any) => boolean;
|
|
1955
|
+
};
|
|
1956
|
+
prefixesOptions: {
|
|
1957
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
1958
|
+
default: () => never[];
|
|
881
1959
|
validator: (value: any[] | undefined) => boolean;
|
|
882
1960
|
};
|
|
883
|
-
|
|
884
|
-
type:
|
|
885
|
-
default:
|
|
1961
|
+
prefixesTooltip: {
|
|
1962
|
+
type: StringConstructor;
|
|
1963
|
+
default: string;
|
|
1964
|
+
validator: (value: any) => boolean;
|
|
1965
|
+
};
|
|
1966
|
+
suffix: {
|
|
1967
|
+
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
1968
|
+
default: string;
|
|
1969
|
+
typeValues: import('../../../..').LewInputSuffixType[];
|
|
1970
|
+
validator: (value: any) => boolean;
|
|
1971
|
+
};
|
|
1972
|
+
suffixOptions: {
|
|
1973
|
+
type: PropType<import('../../../..').LewContextMenusOption[]>;
|
|
1974
|
+
default: () => never[];
|
|
886
1975
|
validator: (value: any[] | undefined) => boolean;
|
|
887
1976
|
};
|
|
888
|
-
|
|
1977
|
+
suffixTooltip: {
|
|
889
1978
|
type: StringConstructor;
|
|
890
1979
|
default: string;
|
|
891
1980
|
validator: (value: any) => boolean;
|
|
892
1981
|
};
|
|
1982
|
+
okByEnter: {
|
|
1983
|
+
type: BooleanConstructor;
|
|
1984
|
+
default: boolean;
|
|
1985
|
+
validator: (value: any) => boolean;
|
|
1986
|
+
};
|
|
1987
|
+
modelValue: {
|
|
1988
|
+
type: globalThis.PropType<string | undefined>;
|
|
1989
|
+
required: true;
|
|
1990
|
+
};
|
|
1991
|
+
prefixValue: {
|
|
1992
|
+
type: globalThis.PropType<string>;
|
|
1993
|
+
};
|
|
1994
|
+
suffixValue: {
|
|
1995
|
+
type: globalThis.PropType<string>;
|
|
1996
|
+
};
|
|
893
1997
|
}>> & Readonly<{
|
|
894
|
-
|
|
895
|
-
|
|
1998
|
+
onInput?: ((value?: string | undefined) => any) | undefined;
|
|
1999
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
2000
|
+
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
2001
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
2002
|
+
onClear?: (() => any) | undefined;
|
|
2003
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
2004
|
+
"onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
|
|
2005
|
+
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
2006
|
+
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
896
2007
|
}>, {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
}, string, {
|
|
904
|
-
loading: boolean;
|
|
2008
|
+
focus: () => any;
|
|
2009
|
+
blur: () => any;
|
|
2010
|
+
}, {}, {}, {}, {
|
|
2011
|
+
maxLength: string | number;
|
|
2012
|
+
type: import('../../../..').LewInputType;
|
|
2013
|
+
size: import('../../../..').LewSize;
|
|
905
2014
|
disabled: boolean;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
} & Readonly<{
|
|
935
|
-
loading: boolean;
|
|
936
|
-
disabled: boolean;
|
|
937
|
-
offset: import('../../../..').LewOffset;
|
|
938
|
-
placement: import('../../../..').LewPlacement;
|
|
939
|
-
delay: [number, number];
|
|
940
|
-
trigger: import('../../../..').LewTrigger;
|
|
941
|
-
triggerWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
942
|
-
hideOnClick: boolean;
|
|
943
|
-
clickOutsideToHide: boolean;
|
|
944
|
-
popoverBodyClassName: string;
|
|
945
|
-
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
946
|
-
trigger: {
|
|
947
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
948
|
-
default: string;
|
|
949
|
-
typeValues: import('../../../..').LewTrigger[];
|
|
950
|
-
validator: (value: any) => boolean;
|
|
951
|
-
};
|
|
952
|
-
triggerWidth: {
|
|
953
|
-
type: PropType<import("csstype").Property.Width>;
|
|
2015
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
2016
|
+
minWidth: string | number;
|
|
2017
|
+
readonly: boolean;
|
|
2018
|
+
clearable: boolean;
|
|
2019
|
+
showPassword: boolean;
|
|
2020
|
+
showCount: boolean;
|
|
2021
|
+
align: import('../../../..').LewXAlignment;
|
|
2022
|
+
autoWidth: boolean;
|
|
2023
|
+
selectByFocus: boolean;
|
|
2024
|
+
copyable: boolean;
|
|
2025
|
+
prefixes: import('../../../..').LewInputPrefixesType;
|
|
2026
|
+
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
2027
|
+
prefixesTooltip: string;
|
|
2028
|
+
suffix: import('../../../..').LewInputSuffixType;
|
|
2029
|
+
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
2030
|
+
suffixTooltip: string;
|
|
2031
|
+
okByEnter: boolean;
|
|
2032
|
+
}> | null;
|
|
2033
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
2034
|
+
P: {};
|
|
2035
|
+
B: {};
|
|
2036
|
+
D: {};
|
|
2037
|
+
C: {};
|
|
2038
|
+
M: {};
|
|
2039
|
+
Defaults: {};
|
|
2040
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
2041
|
+
size: {
|
|
2042
|
+
type: StringConstructor;
|
|
954
2043
|
default: string;
|
|
955
|
-
validator: (value: any) => boolean;
|
|
956
2044
|
};
|
|
957
|
-
|
|
958
|
-
type:
|
|
959
|
-
default:
|
|
960
|
-
typeValues: import('../../../..').LewPlacement[];
|
|
961
|
-
validator: (value: any) => boolean;
|
|
2045
|
+
readonly: {
|
|
2046
|
+
type: BooleanConstructor;
|
|
2047
|
+
default: boolean;
|
|
962
2048
|
};
|
|
963
2049
|
disabled: {
|
|
964
2050
|
type: BooleanConstructor;
|
|
965
2051
|
default: boolean;
|
|
966
|
-
validator: (value: any) => boolean;
|
|
967
2052
|
};
|
|
968
2053
|
loading: {
|
|
969
2054
|
type: BooleanConstructor;
|
|
970
2055
|
default: boolean;
|
|
971
|
-
validator: (value: any) => boolean;
|
|
972
2056
|
};
|
|
973
|
-
|
|
2057
|
+
clearable: {
|
|
974
2058
|
type: BooleanConstructor;
|
|
975
2059
|
default: boolean;
|
|
976
|
-
validator: (value: any) => boolean;
|
|
977
2060
|
};
|
|
978
|
-
|
|
2061
|
+
placeholder: {
|
|
2062
|
+
type: StringConstructor;
|
|
2063
|
+
default: string;
|
|
2064
|
+
};
|
|
2065
|
+
width: {
|
|
2066
|
+
type: StringConstructor;
|
|
2067
|
+
default: string;
|
|
2068
|
+
};
|
|
2069
|
+
formatItems: {
|
|
2070
|
+
type: null;
|
|
2071
|
+
};
|
|
2072
|
+
focus: {
|
|
979
2073
|
type: BooleanConstructor;
|
|
980
2074
|
default: boolean;
|
|
981
|
-
validator: (value: any) => boolean;
|
|
982
2075
|
};
|
|
983
|
-
|
|
984
|
-
type:
|
|
985
|
-
default:
|
|
986
|
-
validator: (value: any[] | undefined) => boolean;
|
|
2076
|
+
popoverVisible: {
|
|
2077
|
+
type: BooleanConstructor;
|
|
2078
|
+
default: boolean;
|
|
987
2079
|
};
|
|
988
|
-
|
|
989
|
-
type:
|
|
990
|
-
default:
|
|
991
|
-
validator: (value: any[] | undefined) => boolean;
|
|
2080
|
+
multiple: {
|
|
2081
|
+
type: BooleanConstructor;
|
|
2082
|
+
default: boolean;
|
|
992
2083
|
};
|
|
993
|
-
|
|
2084
|
+
searchable: {
|
|
2085
|
+
type: BooleanConstructor;
|
|
2086
|
+
default: boolean;
|
|
2087
|
+
};
|
|
2088
|
+
selectedLabel: {
|
|
994
2089
|
type: StringConstructor;
|
|
995
2090
|
default: string;
|
|
996
|
-
|
|
2091
|
+
};
|
|
2092
|
+
modelValue: {
|
|
2093
|
+
type: globalThis.PropType<any>;
|
|
2094
|
+
};
|
|
2095
|
+
keyword: {
|
|
2096
|
+
type: globalThis.PropType<any>;
|
|
997
2097
|
};
|
|
998
2098
|
}>> & Readonly<{
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
}): any;
|
|
2099
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
2100
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
2101
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
2102
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
2103
|
+
"onUpdate:keyword"?: ((value: any) => any) | undefined;
|
|
2104
|
+
}>, {
|
|
2105
|
+
clearHandle: () => void;
|
|
2106
|
+
getInputRefStyle: () => {
|
|
2107
|
+
fontSize: string;
|
|
2108
|
+
padding: string;
|
|
2109
|
+
fontFamily: string;
|
|
2110
|
+
marginLeft: string;
|
|
1012
2111
|
};
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
|
|
2112
|
+
}, {}, {}, {}, {
|
|
2113
|
+
loading: boolean;
|
|
2114
|
+
size: string;
|
|
2115
|
+
disabled: boolean;
|
|
2116
|
+
focus: boolean;
|
|
2117
|
+
width: string;
|
|
2118
|
+
placeholder: string;
|
|
2119
|
+
readonly: boolean;
|
|
2120
|
+
clearable: boolean;
|
|
2121
|
+
multiple: boolean;
|
|
2122
|
+
searchable: boolean;
|
|
2123
|
+
popoverVisible: boolean;
|
|
2124
|
+
selectedLabel: string;
|
|
2125
|
+
}> | null;
|
|
1016
2126
|
lewTreeRef: ({
|
|
1017
2127
|
$: import('vue').ComponentInternalInstance;
|
|
1018
2128
|
$data: {};
|
|
@@ -1042,17 +2152,17 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1042
2152
|
readonly disabledField: string;
|
|
1043
2153
|
readonly isSelect: boolean;
|
|
1044
2154
|
readonly onlyLeafSelectable: boolean;
|
|
1045
|
-
readonly expandKeys?:
|
|
1046
|
-
readonly modelValue?:
|
|
2155
|
+
readonly expandKeys?: string[] | undefined;
|
|
2156
|
+
readonly modelValue?: string | string[] | undefined;
|
|
1047
2157
|
readonly dataSource?: import('../../../..').LewTreeDataSource[] | undefined;
|
|
1048
2158
|
readonly initMethod?: (() => void) | undefined;
|
|
1049
2159
|
readonly loadMethod?: ((item: import('../../../..').LewTreeDataSource) => void) | undefined;
|
|
1050
2160
|
readonly onChange?: ((data: any) => any) | undefined;
|
|
1051
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
2161
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
1052
2162
|
readonly onExpand?: ((data: any) => any) | undefined;
|
|
1053
2163
|
readonly onLoadStart?: (() => any) | undefined;
|
|
1054
2164
|
readonly onLoadEnd?: ((text: string) => any) | undefined;
|
|
1055
|
-
readonly "onUpdate:expandKeys"?: ((value:
|
|
2165
|
+
readonly "onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
1056
2166
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable">;
|
|
1057
2167
|
$attrs: {
|
|
1058
2168
|
[x: string]: unknown;
|
|
@@ -1066,7 +2176,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1066
2176
|
$root: ComponentPublicInstance | null;
|
|
1067
2177
|
$parent: ComponentPublicInstance | null;
|
|
1068
2178
|
$host: Element | null;
|
|
1069
|
-
$emit: ((event: "change", data: any) => void) & ((event: "update:modelValue", value:
|
|
2179
|
+
$emit: ((event: "change", data: any) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "expand", data: any) => void) & ((event: "loadStart") => void) & ((event: "loadEnd", text: string) => void) & ((event: "update:expandKeys", value: string[]) => void);
|
|
1070
2180
|
$el: HTMLDivElement;
|
|
1071
2181
|
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
1072
2182
|
dataSource: {
|
|
@@ -1144,29 +2254,45 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1144
2254
|
validator: (value: any) => boolean;
|
|
1145
2255
|
};
|
|
1146
2256
|
modelValue: {
|
|
1147
|
-
type: globalThis.PropType<
|
|
2257
|
+
type: globalThis.PropType<string | string[]>;
|
|
1148
2258
|
};
|
|
1149
2259
|
expandKeys: {
|
|
1150
|
-
type: globalThis.PropType<
|
|
2260
|
+
type: globalThis.PropType<string[]>;
|
|
1151
2261
|
};
|
|
1152
2262
|
}>> & Readonly<{
|
|
1153
2263
|
onChange?: ((data: any) => any) | undefined;
|
|
1154
|
-
"onUpdate:modelValue"?: ((value:
|
|
2264
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
1155
2265
|
onExpand?: ((data: any) => any) | undefined;
|
|
1156
2266
|
onLoadStart?: (() => any) | undefined;
|
|
1157
2267
|
onLoadEnd?: ((text: string) => any) | undefined;
|
|
1158
|
-
"onUpdate:expandKeys"?: ((value:
|
|
2268
|
+
"onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
1159
2269
|
}>, {
|
|
1160
|
-
search:
|
|
2270
|
+
search: any;
|
|
1161
2271
|
reset: () => void;
|
|
1162
|
-
getTree: () =>
|
|
2272
|
+
getTree: () => {
|
|
2273
|
+
label: string;
|
|
2274
|
+
key: string;
|
|
2275
|
+
level: number;
|
|
2276
|
+
isLeaf?: boolean | undefined;
|
|
2277
|
+
loading?: boolean | undefined;
|
|
2278
|
+
disabled?: boolean | undefined;
|
|
2279
|
+
parentKey?: string | undefined;
|
|
2280
|
+
treeIndex?: number | undefined;
|
|
2281
|
+
labelPaths?: string[] | undefined;
|
|
2282
|
+
valueKeys?: string[] | undefined;
|
|
2283
|
+
parentKeyPaths?: string[] | undefined;
|
|
2284
|
+
parentLabelPaths?: string[] | undefined;
|
|
2285
|
+
allNodeValues: string[];
|
|
2286
|
+
leafNodeValues: string[];
|
|
2287
|
+
children?: /*elided*/ any[] | undefined;
|
|
2288
|
+
}[];
|
|
1163
2289
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1164
2290
|
change: (data: any) => void;
|
|
1165
2291
|
expand: (data: any) => void;
|
|
1166
2292
|
loadStart: () => void;
|
|
1167
2293
|
loadEnd: (text: string) => void;
|
|
1168
|
-
"update:modelValue": (value:
|
|
1169
|
-
"update:expandKeys": (value:
|
|
2294
|
+
"update:modelValue": (value: string | string[]) => void;
|
|
2295
|
+
"update:expandKeys": (value: string[]) => void;
|
|
1170
2296
|
}, string, {
|
|
1171
2297
|
checkable: boolean;
|
|
1172
2298
|
height: string;
|
|
@@ -1289,22 +2415,38 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1289
2415
|
validator: (value: any) => boolean;
|
|
1290
2416
|
};
|
|
1291
2417
|
modelValue: {
|
|
1292
|
-
type: globalThis.PropType<
|
|
2418
|
+
type: globalThis.PropType<string | string[]>;
|
|
1293
2419
|
};
|
|
1294
2420
|
expandKeys: {
|
|
1295
|
-
type: globalThis.PropType<
|
|
2421
|
+
type: globalThis.PropType<string[]>;
|
|
1296
2422
|
};
|
|
1297
2423
|
}>> & Readonly<{
|
|
1298
2424
|
onChange?: ((data: any) => any) | undefined;
|
|
1299
|
-
"onUpdate:modelValue"?: ((value:
|
|
2425
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
1300
2426
|
onExpand?: ((data: any) => any) | undefined;
|
|
1301
2427
|
onLoadStart?: (() => any) | undefined;
|
|
1302
2428
|
onLoadEnd?: ((text: string) => any) | undefined;
|
|
1303
|
-
"onUpdate:expandKeys"?: ((value:
|
|
2429
|
+
"onUpdate:expandKeys"?: ((value: string[]) => any) | undefined;
|
|
1304
2430
|
}>, "search" | "reset" | "getTree" | ("checkable" | "height" | "multiple" | "searchable" | "expandAll" | "free" | "showLine" | "keyField" | "labelField" | "disabledField" | "isSelect" | "onlyLeafSelectable")> & import('vue').ShallowUnwrapRef<{
|
|
1305
|
-
search:
|
|
2431
|
+
search: any;
|
|
1306
2432
|
reset: () => void;
|
|
1307
|
-
getTree: () =>
|
|
2433
|
+
getTree: () => {
|
|
2434
|
+
label: string;
|
|
2435
|
+
key: string;
|
|
2436
|
+
level: number;
|
|
2437
|
+
isLeaf?: boolean | undefined;
|
|
2438
|
+
loading?: boolean | undefined;
|
|
2439
|
+
disabled?: boolean | undefined;
|
|
2440
|
+
parentKey?: string | undefined;
|
|
2441
|
+
treeIndex?: number | undefined;
|
|
2442
|
+
labelPaths?: string[] | undefined;
|
|
2443
|
+
valueKeys?: string[] | undefined;
|
|
2444
|
+
parentKeyPaths?: string[] | undefined;
|
|
2445
|
+
parentLabelPaths?: string[] | undefined;
|
|
2446
|
+
allNodeValues: string[];
|
|
2447
|
+
leafNodeValues: string[];
|
|
2448
|
+
children?: /*elided*/ any[] | undefined;
|
|
2449
|
+
}[];
|
|
1308
2450
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1309
2451
|
$slots: {
|
|
1310
2452
|
empty?(_: {}): any;
|