lew-ui 2.7.70 → 2.7.76
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/CloseButton.vue.d.ts +20 -0
- package/dist/_components/CloseIcon.vue.d.ts +18 -0
- package/dist/_components/CommonInput.vue.d.ts +12 -49
- package/dist/components/data/collapse/index.d.ts +1 -0
- package/dist/components/data/collapse/src/model.d.ts +14 -0
- package/dist/components/data/collapse/src/props.d.ts +0 -11
- package/dist/components/data/expand/src/LewExpand.vue.d.ts +8 -2
- package/dist/components/data/pagination/index.d.ts +1 -0
- package/dist/components/data/pagination/src/model.d.ts +16 -0
- package/dist/components/data/pagination/src/props.d.ts +0 -18
- package/dist/components/data/table/src/LewTable.vue.d.ts +11 -2
- package/dist/components/data/table/src/props.d.ts +5 -0
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +2 -6
- package/dist/components/feedback/alert/src/emits.d.ts +1 -3
- package/dist/components/feedback/drawer/index.d.ts +1 -0
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -10
- package/dist/components/feedback/drawer/src/model.d.ts +8 -0
- package/dist/components/feedback/drawer/src/props.d.ts +0 -7
- package/dist/components/feedback/modal/index.d.ts +1 -0
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +4 -4
- package/dist/components/feedback/modal/src/model.d.ts +8 -0
- package/dist/components/feedback/modal/src/props.d.ts +0 -6
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +20 -10
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +100 -100
- package/dist/components/form/cascader/src/emits.d.ts +4 -3
- package/dist/components/form/cascader/src/model.d.ts +2 -1
- package/dist/components/form/cascader/src/props.d.ts +80 -80
- package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +54 -54
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +52 -52
- package/dist/components/form/checkbox/src/props.d.ts +83 -83
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +32 -32
- package/dist/components/form/color-picker/src/props.d.ts +21 -21
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +4 -4
- package/dist/components/form/input/src/LewInput.vue.d.ts +4 -35
- package/dist/components/form/input/src/props.d.ts +0 -17
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +6 -10
- package/dist/components/form/input-number/src/emits.d.ts +1 -1
- package/dist/components/form/input-number/src/props.d.ts +0 -4
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -53
- package/dist/components/form/input-tag/src/props.d.ts +0 -5
- package/dist/components/form/select/src/LewSelect.vue.d.ts +33 -88
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +12 -88
- package/dist/components/general/avatar/index.d.ts +6 -2
- package/dist/components/general/button/index.d.ts +7 -2
- package/dist/components/general/button/src/LewButton.vue.d.ts +8 -8
- package/dist/components/general/button/src/emits.d.ts +10 -0
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +15 -16
- package/dist/components/general/image/index.d.ts +6 -2
- package/dist/components/general/tag/src/LewTag.vue.d.ts +52 -14
- package/dist/components/general/tag/src/emits.d.ts +3 -0
- package/dist/components/general/tag/src/props.d.ts +9 -0
- package/dist/components/general/text-trim/index.d.ts +7 -2
- package/dist/components/general/text-trim/src/emits.d.ts +2 -0
- package/dist/components/general/text-trim/src/text-trim.d.ts +1 -1
- package/dist/components/navigation/action-box/index.d.ts +7 -3
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +6 -2
- package/dist/components/navigation/action-box/src/emits.d.ts +1 -0
- package/dist/components/navigation/back-top/index.d.ts +7 -2
- package/dist/components/navigation/back-top/src/emits.d.ts +2 -0
- package/dist/components/navigation/breadcrumb/index.d.ts +7 -3
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +2 -2
- package/dist/components/navigation/breadcrumb/src/emits.d.ts +3 -1
- package/dist/components/navigation/dropdown/index.d.ts +8 -3
- package/dist/components/navigation/dropdown/src/emits.d.ts +1 -0
- package/dist/components/navigation/dropdown/src/model.d.ts +8 -0
- package/dist/components/navigation/dropdown/src/props.d.ts +0 -6
- package/dist/components/navigation/menu/index.d.ts +8 -3
- package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +4 -4
- package/dist/components/navigation/menu/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu/src/model.d.ts +7 -0
- package/dist/components/navigation/menu/src/props.d.ts +0 -5
- package/dist/components/navigation/menu-tree/index.d.ts +9 -4
- package/dist/components/navigation/menu-tree/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu-tree/src/model.d.ts +16 -0
- package/dist/components/navigation/menu-tree/src/props.d.ts +0 -13
- package/dist/components/navigation/steps/index.d.ts +8 -3
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -6
- package/dist/components/navigation/steps/src/emits.d.ts +1 -0
- package/dist/components/navigation/steps/src/model.d.ts +7 -0
- package/dist/components/navigation/steps/src/props.d.ts +3 -6
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -2
- package/dist/directives/context-menu/src/emits.d.ts +3 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3206 -2580
- package/dist/index.umd.cjs +1 -47
- package/dist/locals/de.d.ts +25 -0
- package/dist/locals/en.d.ts +32 -7
- package/dist/locals/es.d.ts +25 -0
- package/dist/locals/fr.d.ts +25 -0
- package/dist/locals/it.d.ts +25 -0
- package/dist/locals/ja.d.ts +25 -0
- package/dist/locals/ko.d.ts +25 -0
- package/dist/locals/pt.d.ts +25 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -5
- package/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
- package/dist/methods/notification/src/index.d.ts +4 -0
- package/package.json +8 -4
|
@@ -312,9 +312,9 @@ declare function __VLS_template(): {
|
|
|
312
312
|
loading: boolean;
|
|
313
313
|
size: string;
|
|
314
314
|
disabled: boolean;
|
|
315
|
+
placeholder: string;
|
|
315
316
|
focus: boolean;
|
|
316
317
|
width: string;
|
|
317
|
-
placeholder: string;
|
|
318
318
|
readonly: boolean;
|
|
319
319
|
clearable: boolean;
|
|
320
320
|
multiple: boolean;
|
|
@@ -349,32 +349,26 @@ declare function __VLS_template(): {
|
|
|
349
349
|
};
|
|
350
350
|
disabled: {
|
|
351
351
|
type: BooleanConstructor;
|
|
352
|
-
default: boolean;
|
|
353
352
|
validator: (value: any) => boolean;
|
|
354
353
|
};
|
|
355
354
|
readonly: {
|
|
356
355
|
type: BooleanConstructor;
|
|
357
|
-
default: boolean;
|
|
358
356
|
validator: (value: any) => boolean;
|
|
359
357
|
};
|
|
360
358
|
clearable: {
|
|
361
359
|
type: BooleanConstructor;
|
|
362
|
-
default: boolean;
|
|
363
360
|
validator: (value: any) => boolean;
|
|
364
361
|
};
|
|
365
362
|
showPassword: {
|
|
366
363
|
type: BooleanConstructor;
|
|
367
|
-
default: boolean;
|
|
368
364
|
validator: (value: any) => boolean;
|
|
369
365
|
};
|
|
370
366
|
maxLength: {
|
|
371
367
|
type: (StringConstructor | NumberConstructor)[];
|
|
372
|
-
default: undefined;
|
|
373
368
|
validator: (value: number | undefined) => boolean;
|
|
374
369
|
};
|
|
375
370
|
showCount: {
|
|
376
371
|
type: BooleanConstructor;
|
|
377
|
-
default: boolean;
|
|
378
372
|
validator: (value: any) => boolean;
|
|
379
373
|
};
|
|
380
374
|
align: {
|
|
@@ -390,22 +384,18 @@ declare function __VLS_template(): {
|
|
|
390
384
|
};
|
|
391
385
|
autoWidth: {
|
|
392
386
|
type: BooleanConstructor;
|
|
393
|
-
default: boolean;
|
|
394
387
|
validator: (value: any) => boolean;
|
|
395
388
|
};
|
|
396
389
|
selectByFocus: {
|
|
397
390
|
type: BooleanConstructor;
|
|
398
|
-
default: boolean;
|
|
399
391
|
validator: (value: any) => boolean;
|
|
400
392
|
};
|
|
401
393
|
copyable: {
|
|
402
394
|
type: BooleanConstructor;
|
|
403
|
-
default: boolean;
|
|
404
395
|
validator: (value: any) => boolean;
|
|
405
396
|
};
|
|
406
397
|
prefixes: {
|
|
407
398
|
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
408
|
-
default: string;
|
|
409
399
|
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
410
400
|
validator: (value: any) => boolean;
|
|
411
401
|
};
|
|
@@ -416,12 +406,10 @@ declare function __VLS_template(): {
|
|
|
416
406
|
};
|
|
417
407
|
prefixesTooltip: {
|
|
418
408
|
type: StringConstructor;
|
|
419
|
-
default: string;
|
|
420
409
|
validator: (value: any) => boolean;
|
|
421
410
|
};
|
|
422
411
|
suffix: {
|
|
423
412
|
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
424
|
-
default: string;
|
|
425
413
|
typeValues: import('../../../..').LewInputSuffixType[];
|
|
426
414
|
validator: (value: any) => boolean;
|
|
427
415
|
};
|
|
@@ -432,12 +420,10 @@ declare function __VLS_template(): {
|
|
|
432
420
|
};
|
|
433
421
|
suffixTooltip: {
|
|
434
422
|
type: StringConstructor;
|
|
435
|
-
default: string;
|
|
436
423
|
validator: (value: any) => boolean;
|
|
437
424
|
};
|
|
438
425
|
okByEnter: {
|
|
439
426
|
type: BooleanConstructor;
|
|
440
|
-
default: boolean;
|
|
441
427
|
validator: (value: any) => boolean;
|
|
442
428
|
};
|
|
443
429
|
modelValue: {
|
|
@@ -461,8 +447,8 @@ declare function __VLS_template(): {
|
|
|
461
447
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
462
448
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
463
449
|
}>, {
|
|
464
|
-
focus: () =>
|
|
465
|
-
blur: () =>
|
|
450
|
+
focus: () => void;
|
|
451
|
+
blur: () => void;
|
|
466
452
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
467
453
|
input: (value?: string | undefined) => void;
|
|
468
454
|
blur: (e: FocusEvent) => void;
|
|
@@ -474,7 +460,6 @@ declare function __VLS_template(): {
|
|
|
474
460
|
"update:prefixValue": (value: string | undefined) => void;
|
|
475
461
|
"update:suffixValue": (value: string | undefined) => void;
|
|
476
462
|
}, import('vue').PublicProps, {
|
|
477
|
-
maxLength: string | number;
|
|
478
463
|
type: import('../../../..').LewInputType;
|
|
479
464
|
size: import('../../../..').LewSize;
|
|
480
465
|
disabled: boolean;
|
|
@@ -488,12 +473,8 @@ declare function __VLS_template(): {
|
|
|
488
473
|
autoWidth: boolean;
|
|
489
474
|
selectByFocus: boolean;
|
|
490
475
|
copyable: boolean;
|
|
491
|
-
prefixes: import('../../../..').LewInputPrefixesType;
|
|
492
476
|
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
493
|
-
prefixesTooltip: string;
|
|
494
|
-
suffix: import('../../../..').LewInputSuffixType;
|
|
495
477
|
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
496
|
-
suffixTooltip: string;
|
|
497
478
|
okByEnter: boolean;
|
|
498
479
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
499
480
|
lewInputRef: HTMLInputElement;
|
|
@@ -530,32 +511,26 @@ declare function __VLS_template(): {
|
|
|
530
511
|
};
|
|
531
512
|
disabled: {
|
|
532
513
|
type: BooleanConstructor;
|
|
533
|
-
default: boolean;
|
|
534
514
|
validator: (value: any) => boolean;
|
|
535
515
|
};
|
|
536
516
|
readonly: {
|
|
537
517
|
type: BooleanConstructor;
|
|
538
|
-
default: boolean;
|
|
539
518
|
validator: (value: any) => boolean;
|
|
540
519
|
};
|
|
541
520
|
clearable: {
|
|
542
521
|
type: BooleanConstructor;
|
|
543
|
-
default: boolean;
|
|
544
522
|
validator: (value: any) => boolean;
|
|
545
523
|
};
|
|
546
524
|
showPassword: {
|
|
547
525
|
type: BooleanConstructor;
|
|
548
|
-
default: boolean;
|
|
549
526
|
validator: (value: any) => boolean;
|
|
550
527
|
};
|
|
551
528
|
maxLength: {
|
|
552
529
|
type: (StringConstructor | NumberConstructor)[];
|
|
553
|
-
default: undefined;
|
|
554
530
|
validator: (value: number | undefined) => boolean;
|
|
555
531
|
};
|
|
556
532
|
showCount: {
|
|
557
533
|
type: BooleanConstructor;
|
|
558
|
-
default: boolean;
|
|
559
534
|
validator: (value: any) => boolean;
|
|
560
535
|
};
|
|
561
536
|
align: {
|
|
@@ -571,22 +546,18 @@ declare function __VLS_template(): {
|
|
|
571
546
|
};
|
|
572
547
|
autoWidth: {
|
|
573
548
|
type: BooleanConstructor;
|
|
574
|
-
default: boolean;
|
|
575
549
|
validator: (value: any) => boolean;
|
|
576
550
|
};
|
|
577
551
|
selectByFocus: {
|
|
578
552
|
type: BooleanConstructor;
|
|
579
|
-
default: boolean;
|
|
580
553
|
validator: (value: any) => boolean;
|
|
581
554
|
};
|
|
582
555
|
copyable: {
|
|
583
556
|
type: BooleanConstructor;
|
|
584
|
-
default: boolean;
|
|
585
557
|
validator: (value: any) => boolean;
|
|
586
558
|
};
|
|
587
559
|
prefixes: {
|
|
588
560
|
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
589
|
-
default: string;
|
|
590
561
|
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
591
562
|
validator: (value: any) => boolean;
|
|
592
563
|
};
|
|
@@ -597,12 +568,10 @@ declare function __VLS_template(): {
|
|
|
597
568
|
};
|
|
598
569
|
prefixesTooltip: {
|
|
599
570
|
type: StringConstructor;
|
|
600
|
-
default: string;
|
|
601
571
|
validator: (value: any) => boolean;
|
|
602
572
|
};
|
|
603
573
|
suffix: {
|
|
604
574
|
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
605
|
-
default: string;
|
|
606
575
|
typeValues: import('../../../..').LewInputSuffixType[];
|
|
607
576
|
validator: (value: any) => boolean;
|
|
608
577
|
};
|
|
@@ -613,12 +582,10 @@ declare function __VLS_template(): {
|
|
|
613
582
|
};
|
|
614
583
|
suffixTooltip: {
|
|
615
584
|
type: StringConstructor;
|
|
616
|
-
default: string;
|
|
617
585
|
validator: (value: any) => boolean;
|
|
618
586
|
};
|
|
619
587
|
okByEnter: {
|
|
620
588
|
type: BooleanConstructor;
|
|
621
|
-
default: boolean;
|
|
622
589
|
validator: (value: any) => boolean;
|
|
623
590
|
};
|
|
624
591
|
modelValue: {
|
|
@@ -642,10 +609,9 @@ declare function __VLS_template(): {
|
|
|
642
609
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
643
610
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
644
611
|
}>, {
|
|
645
|
-
focus: () =>
|
|
646
|
-
blur: () =>
|
|
612
|
+
focus: () => void;
|
|
613
|
+
blur: () => void;
|
|
647
614
|
}, {}, {}, {}, {
|
|
648
|
-
maxLength: string | number;
|
|
649
615
|
type: import('../../../..').LewInputType;
|
|
650
616
|
size: import('../../../..').LewSize;
|
|
651
617
|
disabled: boolean;
|
|
@@ -659,12 +625,8 @@ declare function __VLS_template(): {
|
|
|
659
625
|
autoWidth: boolean;
|
|
660
626
|
selectByFocus: boolean;
|
|
661
627
|
copyable: boolean;
|
|
662
|
-
prefixes: import('../../../..').LewInputPrefixesType;
|
|
663
628
|
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
664
|
-
prefixesTooltip: string;
|
|
665
|
-
suffix: import('../../../..').LewInputSuffixType;
|
|
666
629
|
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
667
|
-
suffixTooltip: string;
|
|
668
630
|
okByEnter: boolean;
|
|
669
631
|
}> | null;
|
|
670
632
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -750,9 +712,9 @@ declare function __VLS_template(): {
|
|
|
750
712
|
loading: boolean;
|
|
751
713
|
size: string;
|
|
752
714
|
disabled: boolean;
|
|
715
|
+
placeholder: string;
|
|
753
716
|
focus: boolean;
|
|
754
717
|
width: string;
|
|
755
|
-
placeholder: string;
|
|
756
718
|
readonly: boolean;
|
|
757
719
|
clearable: boolean;
|
|
758
720
|
multiple: boolean;
|
|
@@ -1675,9 +1637,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1675
1637
|
loading: boolean;
|
|
1676
1638
|
size: string;
|
|
1677
1639
|
disabled: boolean;
|
|
1640
|
+
placeholder: string;
|
|
1678
1641
|
focus: boolean;
|
|
1679
1642
|
width: string;
|
|
1680
|
-
placeholder: string;
|
|
1681
1643
|
readonly: boolean;
|
|
1682
1644
|
clearable: boolean;
|
|
1683
1645
|
multiple: boolean;
|
|
@@ -1712,32 +1674,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1712
1674
|
};
|
|
1713
1675
|
disabled: {
|
|
1714
1676
|
type: BooleanConstructor;
|
|
1715
|
-
default: boolean;
|
|
1716
1677
|
validator: (value: any) => boolean;
|
|
1717
1678
|
};
|
|
1718
1679
|
readonly: {
|
|
1719
1680
|
type: BooleanConstructor;
|
|
1720
|
-
default: boolean;
|
|
1721
1681
|
validator: (value: any) => boolean;
|
|
1722
1682
|
};
|
|
1723
1683
|
clearable: {
|
|
1724
1684
|
type: BooleanConstructor;
|
|
1725
|
-
default: boolean;
|
|
1726
1685
|
validator: (value: any) => boolean;
|
|
1727
1686
|
};
|
|
1728
1687
|
showPassword: {
|
|
1729
1688
|
type: BooleanConstructor;
|
|
1730
|
-
default: boolean;
|
|
1731
1689
|
validator: (value: any) => boolean;
|
|
1732
1690
|
};
|
|
1733
1691
|
maxLength: {
|
|
1734
1692
|
type: (StringConstructor | NumberConstructor)[];
|
|
1735
|
-
default: undefined;
|
|
1736
1693
|
validator: (value: number | undefined) => boolean;
|
|
1737
1694
|
};
|
|
1738
1695
|
showCount: {
|
|
1739
1696
|
type: BooleanConstructor;
|
|
1740
|
-
default: boolean;
|
|
1741
1697
|
validator: (value: any) => boolean;
|
|
1742
1698
|
};
|
|
1743
1699
|
align: {
|
|
@@ -1753,22 +1709,18 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1753
1709
|
};
|
|
1754
1710
|
autoWidth: {
|
|
1755
1711
|
type: BooleanConstructor;
|
|
1756
|
-
default: boolean;
|
|
1757
1712
|
validator: (value: any) => boolean;
|
|
1758
1713
|
};
|
|
1759
1714
|
selectByFocus: {
|
|
1760
1715
|
type: BooleanConstructor;
|
|
1761
|
-
default: boolean;
|
|
1762
1716
|
validator: (value: any) => boolean;
|
|
1763
1717
|
};
|
|
1764
1718
|
copyable: {
|
|
1765
1719
|
type: BooleanConstructor;
|
|
1766
|
-
default: boolean;
|
|
1767
1720
|
validator: (value: any) => boolean;
|
|
1768
1721
|
};
|
|
1769
1722
|
prefixes: {
|
|
1770
1723
|
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
1771
|
-
default: string;
|
|
1772
1724
|
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
1773
1725
|
validator: (value: any) => boolean;
|
|
1774
1726
|
};
|
|
@@ -1779,12 +1731,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1779
1731
|
};
|
|
1780
1732
|
prefixesTooltip: {
|
|
1781
1733
|
type: StringConstructor;
|
|
1782
|
-
default: string;
|
|
1783
1734
|
validator: (value: any) => boolean;
|
|
1784
1735
|
};
|
|
1785
1736
|
suffix: {
|
|
1786
1737
|
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
1787
|
-
default: string;
|
|
1788
1738
|
typeValues: import('../../../..').LewInputSuffixType[];
|
|
1789
1739
|
validator: (value: any) => boolean;
|
|
1790
1740
|
};
|
|
@@ -1795,12 +1745,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1795
1745
|
};
|
|
1796
1746
|
suffixTooltip: {
|
|
1797
1747
|
type: StringConstructor;
|
|
1798
|
-
default: string;
|
|
1799
1748
|
validator: (value: any) => boolean;
|
|
1800
1749
|
};
|
|
1801
1750
|
okByEnter: {
|
|
1802
1751
|
type: BooleanConstructor;
|
|
1803
|
-
default: boolean;
|
|
1804
1752
|
validator: (value: any) => boolean;
|
|
1805
1753
|
};
|
|
1806
1754
|
modelValue: {
|
|
@@ -1824,8 +1772,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1824
1772
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
1825
1773
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
1826
1774
|
}>, {
|
|
1827
|
-
focus: () =>
|
|
1828
|
-
blur: () =>
|
|
1775
|
+
focus: () => void;
|
|
1776
|
+
blur: () => void;
|
|
1829
1777
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1830
1778
|
input: (value?: string | undefined) => void;
|
|
1831
1779
|
blur: (e: FocusEvent) => void;
|
|
@@ -1837,7 +1785,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1837
1785
|
"update:prefixValue": (value: string | undefined) => void;
|
|
1838
1786
|
"update:suffixValue": (value: string | undefined) => void;
|
|
1839
1787
|
}, import('vue').PublicProps, {
|
|
1840
|
-
maxLength: string | number;
|
|
1841
1788
|
type: import('../../../..').LewInputType;
|
|
1842
1789
|
size: import('../../../..').LewSize;
|
|
1843
1790
|
disabled: boolean;
|
|
@@ -1851,12 +1798,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1851
1798
|
autoWidth: boolean;
|
|
1852
1799
|
selectByFocus: boolean;
|
|
1853
1800
|
copyable: boolean;
|
|
1854
|
-
prefixes: import('../../../..').LewInputPrefixesType;
|
|
1855
1801
|
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
1856
|
-
prefixesTooltip: string;
|
|
1857
|
-
suffix: import('../../../..').LewInputSuffixType;
|
|
1858
1802
|
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
1859
|
-
suffixTooltip: string;
|
|
1860
1803
|
okByEnter: boolean;
|
|
1861
1804
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1862
1805
|
lewInputRef: HTMLInputElement;
|
|
@@ -1893,32 +1836,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1893
1836
|
};
|
|
1894
1837
|
disabled: {
|
|
1895
1838
|
type: BooleanConstructor;
|
|
1896
|
-
default: boolean;
|
|
1897
1839
|
validator: (value: any) => boolean;
|
|
1898
1840
|
};
|
|
1899
1841
|
readonly: {
|
|
1900
1842
|
type: BooleanConstructor;
|
|
1901
|
-
default: boolean;
|
|
1902
1843
|
validator: (value: any) => boolean;
|
|
1903
1844
|
};
|
|
1904
1845
|
clearable: {
|
|
1905
1846
|
type: BooleanConstructor;
|
|
1906
|
-
default: boolean;
|
|
1907
1847
|
validator: (value: any) => boolean;
|
|
1908
1848
|
};
|
|
1909
1849
|
showPassword: {
|
|
1910
1850
|
type: BooleanConstructor;
|
|
1911
|
-
default: boolean;
|
|
1912
1851
|
validator: (value: any) => boolean;
|
|
1913
1852
|
};
|
|
1914
1853
|
maxLength: {
|
|
1915
1854
|
type: (StringConstructor | NumberConstructor)[];
|
|
1916
|
-
default: undefined;
|
|
1917
1855
|
validator: (value: number | undefined) => boolean;
|
|
1918
1856
|
};
|
|
1919
1857
|
showCount: {
|
|
1920
1858
|
type: BooleanConstructor;
|
|
1921
|
-
default: boolean;
|
|
1922
1859
|
validator: (value: any) => boolean;
|
|
1923
1860
|
};
|
|
1924
1861
|
align: {
|
|
@@ -1934,22 +1871,18 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1934
1871
|
};
|
|
1935
1872
|
autoWidth: {
|
|
1936
1873
|
type: BooleanConstructor;
|
|
1937
|
-
default: boolean;
|
|
1938
1874
|
validator: (value: any) => boolean;
|
|
1939
1875
|
};
|
|
1940
1876
|
selectByFocus: {
|
|
1941
1877
|
type: BooleanConstructor;
|
|
1942
|
-
default: boolean;
|
|
1943
1878
|
validator: (value: any) => boolean;
|
|
1944
1879
|
};
|
|
1945
1880
|
copyable: {
|
|
1946
1881
|
type: BooleanConstructor;
|
|
1947
|
-
default: boolean;
|
|
1948
1882
|
validator: (value: any) => boolean;
|
|
1949
1883
|
};
|
|
1950
1884
|
prefixes: {
|
|
1951
1885
|
type: PropType<import('../../../..').LewInputPrefixesType>;
|
|
1952
|
-
default: string;
|
|
1953
1886
|
typeValues: import('../../../..').LewInputPrefixesType[];
|
|
1954
1887
|
validator: (value: any) => boolean;
|
|
1955
1888
|
};
|
|
@@ -1960,12 +1893,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1960
1893
|
};
|
|
1961
1894
|
prefixesTooltip: {
|
|
1962
1895
|
type: StringConstructor;
|
|
1963
|
-
default: string;
|
|
1964
1896
|
validator: (value: any) => boolean;
|
|
1965
1897
|
};
|
|
1966
1898
|
suffix: {
|
|
1967
1899
|
type: PropType<import('../../../..').LewInputSuffixType>;
|
|
1968
|
-
default: string;
|
|
1969
1900
|
typeValues: import('../../../..').LewInputSuffixType[];
|
|
1970
1901
|
validator: (value: any) => boolean;
|
|
1971
1902
|
};
|
|
@@ -1976,12 +1907,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
1976
1907
|
};
|
|
1977
1908
|
suffixTooltip: {
|
|
1978
1909
|
type: StringConstructor;
|
|
1979
|
-
default: string;
|
|
1980
1910
|
validator: (value: any) => boolean;
|
|
1981
1911
|
};
|
|
1982
1912
|
okByEnter: {
|
|
1983
1913
|
type: BooleanConstructor;
|
|
1984
|
-
default: boolean;
|
|
1985
1914
|
validator: (value: any) => boolean;
|
|
1986
1915
|
};
|
|
1987
1916
|
modelValue: {
|
|
@@ -2005,10 +1934,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2005
1934
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
2006
1935
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
2007
1936
|
}>, {
|
|
2008
|
-
focus: () =>
|
|
2009
|
-
blur: () =>
|
|
1937
|
+
focus: () => void;
|
|
1938
|
+
blur: () => void;
|
|
2010
1939
|
}, {}, {}, {}, {
|
|
2011
|
-
maxLength: string | number;
|
|
2012
1940
|
type: import('../../../..').LewInputType;
|
|
2013
1941
|
size: import('../../../..').LewSize;
|
|
2014
1942
|
disabled: boolean;
|
|
@@ -2022,12 +1950,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2022
1950
|
autoWidth: boolean;
|
|
2023
1951
|
selectByFocus: boolean;
|
|
2024
1952
|
copyable: boolean;
|
|
2025
|
-
prefixes: import('../../../..').LewInputPrefixesType;
|
|
2026
1953
|
prefixesOptions: import('../../../..').LewContextMenusOption[];
|
|
2027
|
-
prefixesTooltip: string;
|
|
2028
|
-
suffix: import('../../../..').LewInputSuffixType;
|
|
2029
1954
|
suffixOptions: import('../../../..').LewContextMenusOption[];
|
|
2030
|
-
suffixTooltip: string;
|
|
2031
1955
|
okByEnter: boolean;
|
|
2032
1956
|
}> | null;
|
|
2033
1957
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -2113,9 +2037,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
2113
2037
|
loading: boolean;
|
|
2114
2038
|
size: string;
|
|
2115
2039
|
disabled: boolean;
|
|
2040
|
+
placeholder: string;
|
|
2116
2041
|
focus: boolean;
|
|
2117
2042
|
width: string;
|
|
2118
|
-
placeholder: string;
|
|
2119
2043
|
readonly: boolean;
|
|
2120
2044
|
clearable: boolean;
|
|
2121
2045
|
multiple: boolean;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { LewAvatarProps, avatarProps } from './src/props';
|
|
2
|
+
import { default as LewAvatar } from './src/LewAvatar.vue';
|
|
3
|
+
export { LewAvatar };
|
|
4
|
+
export type { LewAvatarProps };
|
|
5
|
+
export { avatarProps };
|
|
6
|
+
export default LewAvatar;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { LewButtonEmits, buttonEmits } from './src/emits';
|
|
2
|
+
import { LewButtonProps, buttonProps } from './src/props';
|
|
3
|
+
import { default as LewButton } from './src/LewButton.vue';
|
|
4
|
+
export { LewButton };
|
|
5
|
+
export type { LewButtonEmits, LewButtonProps };
|
|
6
|
+
export { buttonEmits, buttonProps };
|
|
7
|
+
export default LewButton;
|
|
@@ -3,9 +3,7 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
7
|
-
buttonRef: HTMLButtonElement;
|
|
8
|
-
};
|
|
6
|
+
refs: {};
|
|
9
7
|
rootEl: HTMLButtonElement;
|
|
10
8
|
};
|
|
11
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -65,7 +63,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
65
63
|
type: PropType<() => Promise<void>>;
|
|
66
64
|
validator: (value: any) => boolean;
|
|
67
65
|
};
|
|
68
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
click: (e: MouseEvent) => void;
|
|
68
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
69
69
|
text: {
|
|
70
70
|
type: StringConstructor;
|
|
71
71
|
validator: (value: any) => boolean;
|
|
@@ -121,7 +121,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
121
121
|
type: PropType<() => Promise<void>>;
|
|
122
122
|
validator: (value: any) => boolean;
|
|
123
123
|
};
|
|
124
|
-
}>> & Readonly<{
|
|
124
|
+
}>> & Readonly<{
|
|
125
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
126
|
+
}>, {
|
|
125
127
|
loading: boolean;
|
|
126
128
|
type: import('../../../..').LewButtonType;
|
|
127
129
|
color: import('../../../..').LewColor;
|
|
@@ -130,9 +132,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
130
132
|
disabled: boolean;
|
|
131
133
|
singleIcon: boolean;
|
|
132
134
|
dashed: boolean;
|
|
133
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
134
|
-
buttonRef: HTMLButtonElement;
|
|
135
|
-
}, HTMLButtonElement>;
|
|
135
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
136
136
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
137
137
|
export default _default;
|
|
138
138
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LewXAlignment, LewYAlignment } from '../../../../types';
|
|
2
1
|
declare function __VLS_template(): {
|
|
3
2
|
attrs: Partial<{}>;
|
|
4
3
|
slots: {
|
|
@@ -10,21 +9,21 @@ declare function __VLS_template(): {
|
|
|
10
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
10
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
12
11
|
direction: {
|
|
13
|
-
type: PropType<import('
|
|
12
|
+
type: PropType<import('../../../..').LewDirection>;
|
|
14
13
|
default: string;
|
|
15
|
-
typeValues: import('
|
|
14
|
+
typeValues: import('../../../..').LewDirection[];
|
|
16
15
|
validator: (value: any) => boolean;
|
|
17
16
|
};
|
|
18
17
|
x: {
|
|
19
|
-
type: PropType<LewXAlignment>;
|
|
18
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
20
19
|
default: string;
|
|
21
|
-
typeValues: LewXAlignment[];
|
|
20
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
22
21
|
validator: (value: any) => boolean;
|
|
23
22
|
};
|
|
24
23
|
y: {
|
|
25
|
-
type: PropType<LewYAlignment>;
|
|
24
|
+
type: PropType<import('../../../..').LewYAlignment>;
|
|
26
25
|
default: string;
|
|
27
|
-
typeValues: LewYAlignment[];
|
|
26
|
+
typeValues: import('../../../..').LewYAlignment[];
|
|
28
27
|
validator: (value: any) => boolean;
|
|
29
28
|
};
|
|
30
29
|
mode: {
|
|
@@ -47,21 +46,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
47
46
|
};
|
|
48
47
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
49
48
|
direction: {
|
|
50
|
-
type: PropType<import('
|
|
49
|
+
type: PropType<import('../../../..').LewDirection>;
|
|
51
50
|
default: string;
|
|
52
|
-
typeValues: import('
|
|
51
|
+
typeValues: import('../../../..').LewDirection[];
|
|
53
52
|
validator: (value: any) => boolean;
|
|
54
53
|
};
|
|
55
54
|
x: {
|
|
56
|
-
type: PropType<LewXAlignment>;
|
|
55
|
+
type: PropType<import('../../../..').LewXAlignment>;
|
|
57
56
|
default: string;
|
|
58
|
-
typeValues: LewXAlignment[];
|
|
57
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
59
58
|
validator: (value: any) => boolean;
|
|
60
59
|
};
|
|
61
60
|
y: {
|
|
62
|
-
type: PropType<LewYAlignment>;
|
|
61
|
+
type: PropType<import('../../../..').LewYAlignment>;
|
|
63
62
|
default: string;
|
|
64
|
-
typeValues: LewYAlignment[];
|
|
63
|
+
typeValues: import('../../../..').LewYAlignment[];
|
|
65
64
|
validator: (value: any) => boolean;
|
|
66
65
|
};
|
|
67
66
|
mode: {
|
|
@@ -83,9 +82,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
83
82
|
validator: (value: string | number | undefined) => boolean;
|
|
84
83
|
};
|
|
85
84
|
}>> & Readonly<{}>, {
|
|
86
|
-
x: LewXAlignment;
|
|
87
|
-
y: LewYAlignment;
|
|
88
|
-
direction: import('
|
|
85
|
+
x: import('../../../..').LewXAlignment;
|
|
86
|
+
y: import('../../../..').LewYAlignment;
|
|
87
|
+
direction: import('../../../..').LewDirection;
|
|
89
88
|
width: string;
|
|
90
89
|
gap: string;
|
|
91
90
|
wrap: boolean;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { LewImageProps, imageProps } from './src/props';
|
|
2
|
+
import { default as LewImage } from './src/LewImage.vue';
|
|
3
|
+
export { LewImage };
|
|
4
|
+
export type { LewImageProps };
|
|
5
|
+
export { imageProps };
|
|
6
|
+
export default LewImage;
|