lew-ui 2.7.71 → 2.7.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/_components/CloseButton.vue.d.ts +20 -0
  2. package/dist/_components/CloseIcon.vue.d.ts +18 -0
  3. package/dist/_components/CommonInput.vue.d.ts +12 -49
  4. package/dist/auto-imports.d.ts +86 -0
  5. package/dist/components/data/collapse/index.d.ts +1 -0
  6. package/dist/components/data/collapse/src/model.d.ts +14 -0
  7. package/dist/components/data/collapse/src/props.d.ts +0 -11
  8. package/dist/components/data/expand/src/LewExpand.vue.d.ts +8 -2
  9. package/dist/components/data/pagination/index.d.ts +1 -0
  10. package/dist/components/data/pagination/src/model.d.ts +16 -0
  11. package/dist/components/data/pagination/src/props.d.ts +0 -18
  12. package/dist/components/data/table/src/LewTable.vue.d.ts +11 -2
  13. package/dist/components/data/table/src/props.d.ts +5 -0
  14. package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +2 -6
  15. package/dist/components/feedback/alert/src/emits.d.ts +1 -3
  16. package/dist/components/feedback/drawer/index.d.ts +1 -0
  17. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +10 -11
  18. package/dist/components/feedback/drawer/src/model.d.ts +8 -0
  19. package/dist/components/feedback/drawer/src/props.d.ts +5 -7
  20. package/dist/components/feedback/modal/index.d.ts +1 -0
  21. package/dist/components/feedback/modal/src/LewModal.vue.d.ts +5 -5
  22. package/dist/components/feedback/modal/src/model.d.ts +8 -0
  23. package/dist/components/feedback/modal/src/props.d.ts +5 -6
  24. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +100 -100
  25. package/dist/components/form/cascader/src/emits.d.ts +4 -3
  26. package/dist/components/form/cascader/src/model.d.ts +2 -1
  27. package/dist/components/form/cascader/src/props.d.ts +80 -80
  28. package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +54 -54
  29. package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +52 -52
  30. package/dist/components/form/checkbox/src/props.d.ts +83 -83
  31. package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +32 -32
  32. package/dist/components/form/color-picker/src/props.d.ts +21 -21
  33. package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +4 -4
  34. package/dist/components/form/input/src/LewInput.vue.d.ts +4 -35
  35. package/dist/components/form/input/src/props.d.ts +0 -17
  36. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +6 -10
  37. package/dist/components/form/input-number/src/emits.d.ts +1 -1
  38. package/dist/components/form/input-number/src/props.d.ts +0 -4
  39. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -53
  40. package/dist/components/form/input-tag/src/props.d.ts +0 -5
  41. package/dist/components/form/select/src/LewSelect.vue.d.ts +33 -88
  42. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +12 -88
  43. package/dist/components/general/tag/src/LewTag.vue.d.ts +47 -8
  44. package/dist/components/general/tag/src/emits.d.ts +3 -0
  45. package/dist/components/general/tag/src/props.d.ts +9 -0
  46. package/dist/components/general/text-trim/index.d.ts +7 -2
  47. package/dist/components/general/text-trim/src/emits.d.ts +2 -0
  48. package/dist/components/general/text-trim/src/text-trim.d.ts +1 -1
  49. package/dist/components/navigation/action-box/index.d.ts +7 -3
  50. package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +6 -2
  51. package/dist/components/navigation/action-box/src/emits.d.ts +1 -0
  52. package/dist/components/navigation/back-top/index.d.ts +7 -2
  53. package/dist/components/navigation/back-top/src/emits.d.ts +2 -0
  54. package/dist/components/navigation/breadcrumb/index.d.ts +7 -3
  55. package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +2 -2
  56. package/dist/components/navigation/breadcrumb/src/emits.d.ts +3 -1
  57. package/dist/components/navigation/dropdown/index.d.ts +8 -3
  58. package/dist/components/navigation/dropdown/src/emits.d.ts +1 -0
  59. package/dist/components/navigation/dropdown/src/model.d.ts +8 -0
  60. package/dist/components/navigation/dropdown/src/props.d.ts +0 -6
  61. package/dist/components/navigation/menu/index.d.ts +8 -3
  62. package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +4 -4
  63. package/dist/components/navigation/menu/src/emits.d.ts +1 -0
  64. package/dist/components/navigation/menu/src/model.d.ts +7 -0
  65. package/dist/components/navigation/menu/src/props.d.ts +0 -5
  66. package/dist/components/navigation/menu-tree/index.d.ts +9 -4
  67. package/dist/components/navigation/menu-tree/src/emits.d.ts +1 -0
  68. package/dist/components/navigation/menu-tree/src/model.d.ts +16 -0
  69. package/dist/components/navigation/menu-tree/src/props.d.ts +0 -13
  70. package/dist/components/navigation/steps/index.d.ts +8 -3
  71. package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -6
  72. package/dist/components/navigation/steps/src/emits.d.ts +1 -0
  73. package/dist/components/navigation/steps/src/model.d.ts +7 -0
  74. package/dist/components/navigation/steps/src/props.d.ts +3 -6
  75. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -2
  76. package/dist/directives/context-menu/src/emits.d.ts +3 -1
  77. package/dist/env.d.ts +37 -0
  78. package/dist/global.d.ts +13 -0
  79. package/dist/hooks/index.d.ts +3 -1
  80. package/dist/hooks/usePopupManager.d.ts +98 -0
  81. package/dist/index.css +1 -1
  82. package/dist/index.js +3108 -2415
  83. package/dist/index.umd.cjs +1 -1
  84. package/dist/methods/dialog/src/LewDialog.vue.d.ts +1 -1
  85. package/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
  86. package/dist/methods/notification/src/index.d.ts +4 -0
  87. package/package.json +4 -2
@@ -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: () => any;
465
- blur: () => any;
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: () => any;
646
- blur: () => any;
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: () => any;
1828
- blur: () => any;
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: () => any;
2009
- blur: () => any;
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,4 +1,3 @@
1
- import { LewSize } from '../../../..';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -6,7 +5,10 @@ declare function __VLS_template(): {
6
5
  default?(_: {}): any;
7
6
  right?(_: {}): any;
8
7
  };
9
- refs: {};
8
+ refs: {
9
+ tagRef: HTMLDivElement;
10
+ inputRef: HTMLInputElement;
11
+ };
10
12
  rootEl: HTMLDivElement;
11
13
  };
12
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -15,6 +17,15 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
15
17
  type: StringConstructor;
16
18
  validator: (value: any) => boolean;
17
19
  };
20
+ editable: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ validator: (value: any) => boolean;
24
+ };
25
+ placeholder: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
18
29
  type: {
19
30
  type: PropType<import('../../../..').LewTagType>;
20
31
  typeValues: import('../../../..').LewTagType[];
@@ -28,8 +39,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
28
39
  validator: (value: any) => boolean;
29
40
  };
30
41
  size: {
31
- type: PropType<LewSize>;
32
- typeValues: LewSize[];
42
+ type: PropType<import('../../../..').LewSize>;
43
+ typeValues: import('../../../..').LewSize[];
33
44
  default: string;
34
45
  validator: (value: any) => boolean;
35
46
  };
@@ -58,13 +69,29 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
58
69
  default: undefined;
59
70
  validator: (value: any) => boolean;
60
71
  };
72
+ modelValue: {
73
+ type: globalThis.PropType<string>;
74
+ };
61
75
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
76
  close: () => void;
77
+ blur: () => void;
78
+ change: (_value: string) => void;
79
+ focus: () => void;
80
+ "update:modelValue": (value: string) => void;
63
81
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
64
82
  text: {
65
83
  type: StringConstructor;
66
84
  validator: (value: any) => boolean;
67
85
  };
86
+ editable: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ validator: (value: any) => boolean;
90
+ };
91
+ placeholder: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
68
95
  type: {
69
96
  type: PropType<import('../../../..').LewTagType>;
70
97
  typeValues: import('../../../..').LewTagType[];
@@ -78,8 +105,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
78
105
  validator: (value: any) => boolean;
79
106
  };
80
107
  size: {
81
- type: PropType<LewSize>;
82
- typeValues: LewSize[];
108
+ type: PropType<import('../../../..').LewSize>;
109
+ typeValues: import('../../../..').LewSize[];
83
110
  default: string;
84
111
  validator: (value: any) => boolean;
85
112
  };
@@ -108,18 +135,30 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
108
135
  default: undefined;
109
136
  validator: (value: any) => boolean;
110
137
  };
138
+ modelValue: {
139
+ type: globalThis.PropType<string>;
140
+ };
111
141
  }>> & Readonly<{
112
142
  onClose?: (() => any) | undefined;
143
+ onBlur?: (() => any) | undefined;
144
+ onChange?: ((_value: string) => any) | undefined;
145
+ onFocus?: (() => any) | undefined;
146
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
113
147
  }>, {
148
+ editable: boolean;
114
149
  type: import('../../../..').LewTagType;
115
150
  color: string;
116
- size: LewSize;
151
+ size: import('../../../..').LewSize;
117
152
  round: boolean;
118
153
  oversize: boolean;
119
154
  disabled: boolean;
120
155
  closeable: boolean;
121
156
  close: () => Promise<boolean>;
122
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
157
+ placeholder: string;
158
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
159
+ tagRef: HTMLDivElement;
160
+ inputRef: HTMLInputElement;
161
+ }, HTMLDivElement>;
123
162
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
124
163
  export default _default;
125
164
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,6 @@
1
1
  export declare const tagEmits: {
2
2
  readonly close: () => boolean;
3
+ readonly change: (_value: string) => boolean;
4
+ readonly blur: () => boolean;
5
+ readonly focus: () => boolean;
3
6
  };
@@ -6,6 +6,15 @@ export declare const tagProps: {
6
6
  type: StringConstructor;
7
7
  validator: (value: any) => boolean;
8
8
  };
9
+ editable: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ validator: (value: any) => boolean;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
9
18
  type: {
10
19
  type: PropType<LewTagType>;
11
20
  typeValues: LewTagType[];
@@ -1,2 +1,7 @@
1
- export { default as LewTextTrim } from './src/LewTextTrim.vue';
2
- export * from './src/props';
1
+ import { LewTextTrimEmits, textTrimEmits } from './src/emits';
2
+ import { LewTextTrimProps, textTrimProps } from './src/props';
3
+ import { default as LewTextTrim } from './src/LewTextTrim.vue';
4
+ export { LewTextTrim };
5
+ export type { LewTextTrimEmits, LewTextTrimProps };
6
+ export { textTrimEmits, textTrimProps };
7
+ export default LewTextTrim;
@@ -0,0 +1,2 @@
1
+ export declare const textTrimEmits: {};
2
+ export type LewTextTrimEmits = typeof textTrimEmits;
@@ -14,7 +14,7 @@ interface GetDisplayTextParams {
14
14
  */
15
15
  export declare function getDisplayText(params: GetDisplayTextParams): DisplayTextResult;
16
16
  /**
17
- * Clear measurement cache and cleanup resources
17
+ * Clear measurement cache
18
18
  */
19
19
  export declare function clearMeasureCache(): void;
20
20
  export {};
@@ -1,3 +1,7 @@
1
- export * from './src/emits';
2
- export { default as LewActionBox } from './src/LewActionBox.vue';
3
- export * from './src/props';
1
+ import { LewActionBoxEmits, actionBoxEmits } from './src/emits';
2
+ import { LewActionBoxProps, actionBoxProps } from './src/props';
3
+ import { default as LewActionBox } from './src/LewActionBox.vue';
4
+ export { LewActionBox };
5
+ export type { LewActionBoxEmits, LewActionBoxProps };
6
+ export { actionBoxEmits, actionBoxProps };
7
+ export default LewActionBox;
@@ -35,7 +35,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
35
35
  default: boolean;
36
36
  validator: (value: any) => boolean;
37
37
  };
38
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ click: (option: LewActionBoxOption, event: MouseEvent) => void;
40
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
39
41
  options: {
40
42
  type: PropType<LewActionBoxOption[]>;
41
43
  typePopKeys: string[];
@@ -71,7 +73,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
71
73
  default: boolean;
72
74
  validator: (value: any) => boolean;
73
75
  };
74
- }>> & Readonly<{}>, {
76
+ }>> & Readonly<{
77
+ onClick?: ((option: LewActionBoxOption, event: MouseEvent) => any) | undefined;
78
+ }>, {
75
79
  x: import('../../../..').LewXAlignment;
76
80
  divider: boolean;
77
81
  iconOnly: boolean;