@sdata/web-vue 1.7.1 → 1.9.0

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 (155) hide show
  1. package/dist/sd.css +182 -1
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/input-label/input-label.js +30 -24
  4. package/es/_components/select-view/interface.d.ts +1 -0
  5. package/es/_components/select-view/select-view.d.ts +12 -3
  6. package/es/_components/select-view/select-view.js +38 -28
  7. package/es/_components/select-view/style/index.css +45 -0
  8. package/es/_hooks/use-allow-clear.d.ts +4 -0
  9. package/es/_hooks/use-allow-clear.js +20 -0
  10. package/es/_hooks/use-trigger.d.ts +4 -6
  11. package/es/_hooks/use-trigger.js +7 -5
  12. package/es/_utils/color.js +1 -18
  13. package/es/auto-complete/auto-complete.d.ts +1 -1
  14. package/es/auto-complete/auto-complete.js +4 -2
  15. package/es/auto-complete/index.d.ts +3 -3
  16. package/es/badge/badge.d.ts +1 -1
  17. package/es/badge/index.d.ts +3 -3
  18. package/es/carousel/carousel-arrow.vue.d.ts +1 -1
  19. package/es/carousel/carousel.d.ts +2 -2
  20. package/es/carousel/index.d.ts +6 -6
  21. package/es/cascader/cascader-panel.vue.d.ts +2 -2
  22. package/es/cascader/cascader.js +1 -1
  23. package/es/cascader/cascader.vue.d.ts +21 -11
  24. package/es/cascader/cascader.vue_vue_type_script_lang.js +4 -1
  25. package/es/cascader/index.d.ts +47 -26
  26. package/es/color-picker/color-picker.d.ts +115 -40
  27. package/es/color-picker/color-picker.js +146 -102
  28. package/es/color-picker/index.d.ts +217 -69
  29. package/es/color-picker/interface.d.ts +41 -0
  30. package/es/color-picker/palette.js +1 -1
  31. package/es/color-picker/panel.d.ts +73 -34
  32. package/es/color-picker/panel.js +423 -89
  33. package/es/color-picker/style/index.css +92 -1
  34. package/es/color-picker/style/index.scss +107 -1
  35. package/es/color-picker/utils.d.ts +89 -0
  36. package/es/color-picker/utils.js +456 -0
  37. package/es/config-provider/config-provider.vue.d.ts +10 -1
  38. package/es/config-provider/config-provider.vue_vue_type_script_lang.js +6 -1
  39. package/es/config-provider/context.d.ts +1 -0
  40. package/es/config-provider/index.d.ts +18 -3
  41. package/es/date-picker/index.d.ts +7 -6
  42. package/es/date-picker/picker.js +1 -1
  43. package/es/date-picker/picker.vue.d.ts +7 -6
  44. package/es/date-picker/picker.vue_vue_type_script_lang.js +4 -1
  45. package/es/date-picker/range-picker.js +1 -1
  46. package/es/date-picker/range-picker.vue.d.ts +7 -6
  47. package/es/date-picker/range-picker.vue_vue_type_script_lang.js +4 -1
  48. package/es/descriptions/descriptions.d.ts +2 -2
  49. package/es/descriptions/index.d.ts +6 -6
  50. package/es/drawer/drawer.vue_vue_type_script_lang.js +1 -1
  51. package/es/dropdown/dropdown-button.vue.d.ts +8 -8
  52. package/es/dropdown/dropdown-panel.vue.d.ts +2 -2
  53. package/es/dropdown/dropdown-submenu.vue.d.ts +8 -8
  54. package/es/dropdown/dropdown.vue.d.ts +8 -8
  55. package/es/dropdown/index.d.ts +32 -32
  56. package/es/ellipsis/ellipsis.vue.d.ts +13 -13
  57. package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +1 -1
  58. package/es/ellipsis/index.d.ts +56 -56
  59. package/es/ellipsis/performant-ellipsis.vue.d.ts +14 -14
  60. package/es/form/form-item-label.vue.d.ts +12 -12
  61. package/es/form/form-item.vue.d.ts +12 -12
  62. package/es/form/index.d.ts +12 -12
  63. package/es/grid/grid.vue.d.ts +1 -1
  64. package/es/grid/index.d.ts +3 -3
  65. package/es/image/image.vue.d.ts +12 -12
  66. package/es/image/preview-action.d.ts +12 -12
  67. package/es/image/preview-group.vue.d.ts +12 -12
  68. package/es/image/preview-toolbar.vue.d.ts +12 -12
  69. package/es/image/preview.vue.d.ts +12 -12
  70. package/es/index.css +182 -1
  71. package/es/index.js +2 -2
  72. package/es/input/input.js +4 -2
  73. package/es/input-number/input-number.js +4 -2
  74. package/es/input-tag/index.d.ts +6 -6
  75. package/es/input-tag/input-tag.d.ts +3 -3
  76. package/es/input-tag/input-tag.js +183 -32
  77. package/es/input-tag/style/index.css +45 -0
  78. package/es/input-tag/style/input-tag.scss +53 -0
  79. package/es/list/index.d.ts +3 -3
  80. package/es/list/list.d.ts +1 -1
  81. package/es/mention/mention.js +4 -2
  82. package/es/menu/sub-menu-pop.vue.d.ts +6 -6
  83. package/es/modal/modal.vue_vue_type_script_lang.js +1 -1
  84. package/es/overflow-list/index.d.ts +3 -3
  85. package/es/overflow-list/overflow-list.d.ts +1 -1
  86. package/es/pagination/page-options.vue.d.ts +188 -98
  87. package/es/popconfirm/index.d.ts +12 -12
  88. package/es/popconfirm/popconfirm.vue.d.ts +6 -6
  89. package/es/popover/index.d.ts +12 -12
  90. package/es/popover/popover.vue.d.ts +6 -6
  91. package/es/progress/index.d.ts +5 -5
  92. package/es/progress/line.vue.d.ts +1 -1
  93. package/es/progress/progress.vue.d.ts +2 -2
  94. package/es/rate/rate.js +4 -2
  95. package/es/scrollbar/index.d.ts +2 -2
  96. package/es/scrollbar/scrollbar.vue.d.ts +1 -1
  97. package/es/scrollbar/thumb.vue.d.ts +1 -1
  98. package/es/sd-vue.js +2 -2
  99. package/es/select/hooks/use-options.d.ts +9 -4
  100. package/es/select/hooks/use-options.js +2 -2
  101. package/es/select/hooks/use-select.d.ts +9 -4
  102. package/es/select/index.d.ts +188 -98
  103. package/es/select/interface.d.ts +57 -46
  104. package/es/select/select-dropdown.vue.d.ts +2 -2
  105. package/es/select/select.d.ts +107 -59
  106. package/es/select/select.js +182 -126
  107. package/es/select/utils.d.ts +1 -1
  108. package/es/select/utils.js +28 -10
  109. package/es/skeleton/index.d.ts +1 -1
  110. package/es/skeleton/line.vue.d.ts +1 -1
  111. package/es/slider/index.d.ts +27 -27
  112. package/es/slider/slider-button.vue.d.ts +12 -12
  113. package/es/slider/slider.vue.d.ts +13 -13
  114. package/es/space/index.d.ts +3 -3
  115. package/es/space/space.d.ts +1 -1
  116. package/es/statistic/index.d.ts +6 -6
  117. package/es/statistic/statistic.vue.d.ts +2 -2
  118. package/es/table/index.d.ts +6 -6
  119. package/es/table/table.d.ts +2 -2
  120. package/es/tabs/index.d.ts +9 -9
  121. package/es/tabs/tabs.d.ts +3 -3
  122. package/es/tag/index.d.ts +3 -3
  123. package/es/tag/tag.vue.d.ts +1 -1
  124. package/es/textarea/index.d.ts +3 -3
  125. package/es/textarea/textarea.vue.d.ts +1 -1
  126. package/es/textarea/textarea.vue_vue_type_script_lang.js +6 -2
  127. package/es/time-picker/index.d.ts +15 -12
  128. package/es/time-picker/time-picker.js +1 -1
  129. package/es/time-picker/time-picker.vue.d.ts +7 -6
  130. package/es/time-picker/time-picker.vue_vue_type_script_lang.js +4 -1
  131. package/es/tooltip/index.d.ts +12 -12
  132. package/es/tooltip/tooltip.vue.d.ts +6 -6
  133. package/es/transfer/index.d.ts +10 -10
  134. package/es/transfer/transfer-view.vue.d.ts +5 -5
  135. package/es/transfer/transfer.vue.d.ts +5 -5
  136. package/es/tree/index.d.ts +6 -6
  137. package/es/tree/tree.vue.d.ts +2 -2
  138. package/es/tree-select/hooks/use-selected-state.d.ts +2 -0
  139. package/es/tree-select/hooks/use-selected-state.js +26 -8
  140. package/es/tree-select/index.d.ts +268 -61
  141. package/es/tree-select/interface.d.ts +16 -3
  142. package/es/tree-select/panel.d.ts +6 -6
  143. package/es/tree-select/tree-select.js +29 -16
  144. package/es/tree-select/tree-select.vue.d.ts +144 -30
  145. package/es/tree-select/tree-select.vue_vue_type_script_lang.js +102 -22
  146. package/es/trigger/index.d.ts +6 -6
  147. package/es/trigger/trigger.d.ts +2 -2
  148. package/es/typography/operations.vue.d.ts +12 -12
  149. package/json/vetur-attributes.json +82 -178
  150. package/json/vetur-tags.json +24 -52
  151. package/json/web-types.json +164 -387
  152. package/package.json +9 -7
  153. package/es/color-picker/input-alpha.js +0 -32
  154. package/es/color-picker/input-hex.js +0 -73
  155. package/es/color-picker/input-rgb.js +0 -55
@@ -664,10 +664,10 @@ declare const Popconfirm: {
664
664
  };
665
665
  }>> & Readonly<{
666
666
  onResize?: (() => any) | undefined;
667
+ onHide?: (() => any) | undefined;
668
+ onShow?: (() => any) | undefined;
667
669
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
668
670
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
669
- onShow?: (() => any) | undefined;
670
- onHide?: (() => any) | undefined;
671
671
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
672
672
  'update:popupVisible': (_visible: boolean) => true;
673
673
  popupVisibleChange: (_visible: boolean) => true;
@@ -855,10 +855,10 @@ declare const Popconfirm: {
855
855
  };
856
856
  }>> & Readonly<{
857
857
  onResize?: (() => any) | undefined;
858
+ onHide?: (() => any) | undefined;
859
+ onShow?: (() => any) | undefined;
858
860
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
859
861
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
860
- onShow?: (() => any) | undefined;
861
- onHide?: (() => any) | undefined;
862
862
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
863
863
  disabled: boolean;
864
864
  unmountOnClose: boolean;
@@ -1037,10 +1037,10 @@ declare const Popconfirm: {
1037
1037
  };
1038
1038
  }>> & Readonly<{
1039
1039
  onResize?: (() => any) | undefined;
1040
+ onHide?: (() => any) | undefined;
1041
+ onShow?: (() => any) | undefined;
1040
1042
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1041
1043
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1042
- onShow?: (() => any) | undefined;
1043
- onHide?: (() => any) | undefined;
1044
1044
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1045
1045
  'update:popupVisible': (_visible: boolean) => true;
1046
1046
  popupVisibleChange: (_visible: boolean) => true;
@@ -2296,10 +2296,10 @@ declare const Popconfirm: {
2296
2296
  };
2297
2297
  }>> & Readonly<{
2298
2298
  onResize?: (() => any) | undefined;
2299
+ onHide?: (() => any) | undefined;
2300
+ onShow?: (() => any) | undefined;
2299
2301
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2300
2302
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2301
- onShow?: (() => any) | undefined;
2302
- onHide?: (() => any) | undefined;
2303
2303
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2304
2304
  'update:popupVisible': (_visible: boolean) => true;
2305
2305
  popupVisibleChange: (_visible: boolean) => true;
@@ -2487,10 +2487,10 @@ declare const Popconfirm: {
2487
2487
  };
2488
2488
  }>> & Readonly<{
2489
2489
  onResize?: (() => any) | undefined;
2490
+ onHide?: (() => any) | undefined;
2491
+ onShow?: (() => any) | undefined;
2490
2492
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2491
2493
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2492
- onShow?: (() => any) | undefined;
2493
- onHide?: (() => any) | undefined;
2494
2494
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
2495
2495
  disabled: boolean;
2496
2496
  unmountOnClose: boolean;
@@ -2669,10 +2669,10 @@ declare const Popconfirm: {
2669
2669
  };
2670
2670
  }>> & Readonly<{
2671
2671
  onResize?: (() => any) | undefined;
2672
+ onHide?: (() => any) | undefined;
2673
+ onShow?: (() => any) | undefined;
2672
2674
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2673
2675
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2674
- onShow?: (() => any) | undefined;
2675
- onHide?: (() => any) | undefined;
2676
2676
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2677
2677
  'update:popupVisible': (_visible: boolean) => true;
2678
2678
  popupVisibleChange: (_visible: boolean) => true;
@@ -718,10 +718,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
718
718
  };
719
719
  }>> & Readonly<{
720
720
  onResize?: (() => any) | undefined;
721
+ onHide?: (() => any) | undefined;
722
+ onShow?: (() => any) | undefined;
721
723
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
722
724
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
723
- onShow?: (() => any) | undefined;
724
- onHide?: (() => any) | undefined;
725
725
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
726
726
  'update:popupVisible': (_visible: boolean) => true;
727
727
  popupVisibleChange: (_visible: boolean) => true;
@@ -909,10 +909,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
909
909
  };
910
910
  }>> & Readonly<{
911
911
  onResize?: (() => any) | undefined;
912
+ onHide?: (() => any) | undefined;
913
+ onShow?: (() => any) | undefined;
912
914
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
913
915
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
914
- onShow?: (() => any) | undefined;
915
- onHide?: (() => any) | undefined;
916
916
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
917
917
  disabled: boolean;
918
918
  unmountOnClose: boolean;
@@ -1091,10 +1091,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1091
1091
  };
1092
1092
  }>> & Readonly<{
1093
1093
  onResize?: (() => any) | undefined;
1094
+ onHide?: (() => any) | undefined;
1095
+ onShow?: (() => any) | undefined;
1094
1096
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1095
1097
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1096
- onShow?: (() => any) | undefined;
1097
- onHide?: (() => any) | undefined;
1098
1098
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1099
1099
  'update:popupVisible': (_visible: boolean) => true;
1100
1100
  popupVisibleChange: (_visible: boolean) => true;
@@ -200,10 +200,10 @@ declare const Popover: {
200
200
  };
201
201
  }>> & Readonly<{
202
202
  onResize?: (() => any) | undefined;
203
+ onHide?: (() => any) | undefined;
204
+ onShow?: (() => any) | undefined;
203
205
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
204
206
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
205
- onShow?: (() => any) | undefined;
206
- onHide?: (() => any) | undefined;
207
207
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
208
208
  'update:popupVisible': (_visible: boolean) => true;
209
209
  popupVisibleChange: (_visible: boolean) => true;
@@ -391,10 +391,10 @@ declare const Popover: {
391
391
  };
392
392
  }>> & Readonly<{
393
393
  onResize?: (() => any) | undefined;
394
+ onHide?: (() => any) | undefined;
395
+ onShow?: (() => any) | undefined;
394
396
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
395
397
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
396
- onShow?: (() => any) | undefined;
397
- onHide?: (() => any) | undefined;
398
398
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
399
399
  disabled: boolean;
400
400
  unmountOnClose: boolean;
@@ -573,10 +573,10 @@ declare const Popover: {
573
573
  };
574
574
  }>> & Readonly<{
575
575
  onResize?: (() => any) | undefined;
576
+ onHide?: (() => any) | undefined;
577
+ onShow?: (() => any) | undefined;
576
578
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
577
579
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
578
- onShow?: (() => any) | undefined;
579
- onHide?: (() => any) | undefined;
580
580
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
581
581
  'update:popupVisible': (_visible: boolean) => true;
582
582
  popupVisibleChange: (_visible: boolean) => true;
@@ -872,10 +872,10 @@ declare const Popover: {
872
872
  };
873
873
  }>> & Readonly<{
874
874
  onResize?: (() => any) | undefined;
875
+ onHide?: (() => any) | undefined;
876
+ onShow?: (() => any) | undefined;
875
877
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
876
878
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
877
- onShow?: (() => any) | undefined;
878
- onHide?: (() => any) | undefined;
879
879
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
880
880
  'update:popupVisible': (_visible: boolean) => true;
881
881
  popupVisibleChange: (_visible: boolean) => true;
@@ -1063,10 +1063,10 @@ declare const Popover: {
1063
1063
  };
1064
1064
  }>> & Readonly<{
1065
1065
  onResize?: (() => any) | undefined;
1066
+ onHide?: (() => any) | undefined;
1067
+ onShow?: (() => any) | undefined;
1066
1068
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1067
1069
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1068
- onShow?: (() => any) | undefined;
1069
- onHide?: (() => any) | undefined;
1070
1070
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
1071
1071
  disabled: boolean;
1072
1072
  unmountOnClose: boolean;
@@ -1245,10 +1245,10 @@ declare const Popover: {
1245
1245
  };
1246
1246
  }>> & Readonly<{
1247
1247
  onResize?: (() => any) | undefined;
1248
+ onHide?: (() => any) | undefined;
1249
+ onShow?: (() => any) | undefined;
1248
1250
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1249
1251
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1250
- onShow?: (() => any) | undefined;
1251
- onHide?: (() => any) | undefined;
1252
1252
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1253
1253
  'update:popupVisible': (_visible: boolean) => true;
1254
1254
  popupVisibleChange: (_visible: boolean) => true;
@@ -236,10 +236,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
236
236
  };
237
237
  }>> & Readonly<{
238
238
  onResize?: (() => any) | undefined;
239
+ onHide?: (() => any) | undefined;
240
+ onShow?: (() => any) | undefined;
239
241
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
240
242
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
241
- onShow?: (() => any) | undefined;
242
- onHide?: (() => any) | undefined;
243
243
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
244
244
  'update:popupVisible': (_visible: boolean) => true;
245
245
  popupVisibleChange: (_visible: boolean) => true;
@@ -427,10 +427,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
427
427
  };
428
428
  }>> & Readonly<{
429
429
  onResize?: (() => any) | undefined;
430
+ onHide?: (() => any) | undefined;
431
+ onShow?: (() => any) | undefined;
430
432
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
431
433
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
432
- onShow?: (() => any) | undefined;
433
- onHide?: (() => any) | undefined;
434
434
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
435
435
  disabled: boolean;
436
436
  unmountOnClose: boolean;
@@ -609,10 +609,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
609
609
  };
610
610
  }>> & Readonly<{
611
611
  onResize?: (() => any) | undefined;
612
+ onHide?: (() => any) | undefined;
613
+ onShow?: (() => any) | undefined;
612
614
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
613
615
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
614
- onShow?: (() => any) | undefined;
615
- onHide?: (() => any) | undefined;
616
616
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
617
617
  'update:popupVisible': (_visible: boolean) => true;
618
618
  popupVisibleChange: (_visible: boolean) => true;
@@ -48,8 +48,8 @@ declare const Progress: {
48
48
  mergedSize: import("vue").ComputedRef<"mini" | "small" | "medium" | "large">;
49
49
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
50
50
  type: "circle" | "line";
51
- showText: boolean;
52
51
  animation: boolean;
52
+ showText: boolean;
53
53
  percent: number;
54
54
  steps: number;
55
55
  }, true, {}, {}, {
@@ -145,8 +145,8 @@ declare const Progress: {
145
145
  strokeWidth: number;
146
146
  width: string | number;
147
147
  color: string | Record<string, any>;
148
- showText: boolean;
149
148
  animation: boolean;
149
+ showText: boolean;
150
150
  percent: number;
151
151
  formatText: Function;
152
152
  }, {}, {
@@ -835,8 +835,8 @@ declare const Progress: {
835
835
  mergedSize: import("vue").ComputedRef<"mini" | "small" | "medium" | "large">;
836
836
  }, {}, {}, {}, {
837
837
  type: "circle" | "line";
838
- showText: boolean;
839
838
  animation: boolean;
839
+ showText: boolean;
840
840
  percent: number;
841
841
  steps: number;
842
842
  }>;
@@ -889,8 +889,8 @@ declare const Progress: {
889
889
  mergedSize: import("vue").ComputedRef<"mini" | "small" | "medium" | "large">;
890
890
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
891
891
  type: "circle" | "line";
892
- showText: boolean;
893
892
  animation: boolean;
893
+ showText: boolean;
894
894
  percent: number;
895
895
  steps: number;
896
896
  }, {}, string, {}, {
@@ -986,8 +986,8 @@ declare const Progress: {
986
986
  strokeWidth: number;
987
987
  width: string | number;
988
988
  color: string | Record<string, any>;
989
- showText: boolean;
990
989
  animation: boolean;
990
+ showText: boolean;
991
991
  percent: number;
992
992
  formatText: Function;
993
993
  }, {}, {
@@ -94,8 +94,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
94
94
  strokeWidth: number;
95
95
  width: string | number;
96
96
  color: string | Record<string, any>;
97
- showText: boolean;
98
97
  animation: boolean;
98
+ showText: boolean;
99
99
  percent: number;
100
100
  formatText: Function;
101
101
  }, {}, {
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
90
90
  };
91
91
  }>> & Readonly<{}>, {
92
92
  type: "circle" | "line";
93
- showText: boolean;
94
93
  animation: boolean;
94
+ showText: boolean;
95
95
  percent: number;
96
96
  steps: number;
97
97
  }, {}, {
@@ -187,8 +187,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
187
187
  strokeWidth: number;
188
188
  width: string | number;
189
189
  color: string | Record<string, any>;
190
- showText: boolean;
191
190
  animation: boolean;
191
+ showText: boolean;
192
192
  percent: number;
193
193
  formatText: Function;
194
194
  }, {}, {
package/es/rate/rate.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { useFormItem } from "../_hooks/use-form-item.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isNull, isObject, isString, isUndefined } from "../_utils/is.js";
4
+ import { useAllowClear } from "../_hooks/use-allow-clear.js";
4
5
  import IconFaceFrownFill from "../icon/icon-face-frown-fill/index.js";
5
6
  import IconFaceMehFill from "../icon/icon-face-meh-fill/index.js";
6
7
  import IconFaceSmileFill from "../icon/icon-face-smile-fill/index.js";
@@ -51,9 +52,10 @@ var rate_default = /* @__PURE__ */ defineComponent({
51
52
  "hoverChange": (_value) => true
52
53
  },
53
54
  setup(props, { emit, slots }) {
54
- const { modelValue } = toRefs(props);
55
+ const { modelValue, allowClear } = toRefs(props);
55
56
  const prefixCls = getPrefixCls("rate");
56
57
  const { mergedDisabled: _mergedDisabled, eventHandlers } = useFormItem({ disabled: toRef(props, "disabled") });
58
+ const { mergedAllowClear } = useAllowClear(allowClear);
57
59
  const _value = ref(props.defaultValue);
58
60
  const animation = ref(false);
59
61
  watch(modelValue, (value) => {
@@ -107,7 +109,7 @@ var rate_default = /* @__PURE__ */ defineComponent({
107
109
  emit("update:modelValue", newValue);
108
110
  emit("change", newValue);
109
111
  (_eventHandlers$value = eventHandlers.value) === null || _eventHandlers$value === void 0 || (_eventHandlers$value$ = _eventHandlers$value.onChange) === null || _eventHandlers$value$ === void 0 || _eventHandlers$value$.call(_eventHandlers$value);
110
- } else if (props.allowClear) {
112
+ } else if (mergedAllowClear.value) {
111
113
  var _eventHandlers$value2, _eventHandlers$value3;
112
114
  _value.value = 0;
113
115
  emit("update:modelValue", 0);
@@ -116,9 +116,9 @@ declare const Scrollbar: {
116
116
  }>> & Readonly<{
117
117
  onScroll?: ((...args: any[]) => any) | undefined;
118
118
  }>, {
119
- both: boolean;
120
119
  direction: "horizontal" | "vertical";
121
120
  alwaysShow: boolean;
121
+ both: boolean;
122
122
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
123
123
  } & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
124
124
  P: {};
@@ -296,9 +296,9 @@ declare const Scrollbar: {
296
296
  }>> & Readonly<{
297
297
  onScroll?: ((...args: any[]) => any) | undefined;
298
298
  }>, {
299
- both: boolean;
300
299
  direction: "horizontal" | "vertical";
301
300
  alwaysShow: boolean;
301
+ both: boolean;
302
302
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
303
303
  } & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
304
304
  install: (app: App, options?: SDOptions) => void;
@@ -137,8 +137,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
137
137
  }>> & Readonly<{
138
138
  onScroll?: ((...args: any[]) => any) | undefined;
139
139
  }>, {
140
- both: boolean;
141
140
  direction: "horizontal" | "vertical";
142
141
  alwaysShow: boolean;
142
+ both: boolean;
143
143
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
144
144
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -52,7 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
52
52
  }>> & Readonly<{
53
53
  onScroll?: ((...args: any[]) => any) | undefined;
54
54
  }>, {
55
- both: boolean;
56
55
  direction: "horizontal" | "vertical";
57
56
  alwaysShow: boolean;
57
+ both: boolean;
58
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/es/sd-vue.js CHANGED
@@ -34,6 +34,8 @@ import Breadcrumb from "./breadcrumb/index.js";
34
34
  import radio_group_default from "./radio/radio-group.js";
35
35
  import Radio from "./radio/index.js";
36
36
  import optgroup_default from "./select/optgroup.js";
37
+ import Tooltip from "./tooltip/index.js";
38
+ import Ellipsis, { PerformantEllipsis } from "./ellipsis/index.js";
37
39
  import Tag from "./tag/index.js";
38
40
  import InputTag from "./input-tag/index.js";
39
41
  import Select from "./select/index.js";
@@ -62,8 +64,6 @@ import descriptions_item_default from "./descriptions/descriptions-item.js";
62
64
  import Descriptions from "./descriptions/index.js";
63
65
  import Divider from "./divider/index.js";
64
66
  import Drawer from "./drawer/index.js";
65
- import Tooltip from "./tooltip/index.js";
66
- import Ellipsis, { PerformantEllipsis } from "./ellipsis/index.js";
67
67
  import grid_col_default from "./grid/grid-col.js";
68
68
  import grid_item_default from "./grid/grid-item.js";
69
69
  import grid_row_default from "./grid/grid-row.js";
@@ -12,16 +12,21 @@ export declare const useOptions: ({ options, extraOptions, inputValue, filterOpt
12
12
  validOptions: import("vue").ComputedRef<(SelectOptionInfo | import("../interface").SelectOptionGroupInfo)[]>;
13
13
  optionInfoMap: import("vue").Reactive<Map<string, SelectOptionInfo>>;
14
14
  validOptionInfos: import("vue").ComputedRef<{
15
- [x: string]: any;
16
- raw: Record<string, unknown>;
15
+ [x: string]: unknown;
16
+ raw: {
17
+ [x: string]: unknown;
18
+ value?: import("../interface").SelectOptionValue | undefined;
19
+ label?: string | undefined;
20
+ disabled?: boolean | undefined;
21
+ tagProps?: Record<string, unknown> | undefined;
22
+ };
17
23
  key: string;
18
24
  index?: number | undefined;
19
25
  origin: "slot" | "options" | "extraOptions";
20
26
  value: import("../interface").SelectOptionValue;
21
27
  label: string;
22
28
  disabled?: boolean | undefined;
23
- tagProps?: any;
24
- render?: import("vue").RenderFunction | undefined;
29
+ tagProps?: Record<string, unknown> | undefined;
25
30
  }[]>;
26
31
  enabledOptionKeys: import("vue").ComputedRef<string[]>;
27
32
  getNextSlotOptionIndex: () => number;
@@ -6,9 +6,9 @@ import { computed, reactive, ref, watch } from "vue";
6
6
  var DEFAULT_FIELD_NAMES = {
7
7
  value: "value",
8
8
  label: "label",
9
+ children: "children",
9
10
  disabled: "disabled",
10
- tagProps: "tagProps",
11
- render: "render"
11
+ tagProps: "tagProps"
12
12
  };
13
13
  var useOptions = ({ options, extraOptions, inputValue, filterOption, showExtraOptions, valueKey, fieldNames }) => {
14
14
  const mergedFieldNames = computed(() => _objectSpread2(_objectSpread2({}, DEFAULT_FIELD_NAMES), fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.value));
@@ -25,16 +25,21 @@ export declare const useSelect: ({ multiple, options, extraOptions, inputValue,
25
25
  validOptions: import("vue").ComputedRef<(import("../interface").SelectOptionInfo | import("../interface").SelectOptionGroupInfo)[]>;
26
26
  optionInfoMap: import("vue").Reactive<Map<string, import("../interface").SelectOptionInfo>>;
27
27
  validOptionInfos: import("vue").ComputedRef<{
28
- [x: string]: any;
29
- raw: Record<string, unknown>;
28
+ [x: string]: unknown;
29
+ raw: {
30
+ [x: string]: unknown;
31
+ value?: import("../interface").SelectOptionValue | undefined;
32
+ label?: string | undefined;
33
+ disabled?: boolean | undefined;
34
+ tagProps?: Record<string, unknown> | undefined;
35
+ };
30
36
  key: string;
31
37
  index?: number | undefined;
32
38
  origin: "slot" | "options" | "extraOptions";
33
39
  value: import("../interface").SelectOptionValue;
34
40
  label: string;
35
41
  disabled?: boolean | undefined;
36
- tagProps?: any;
37
- render?: import("vue").RenderFunction | undefined;
42
+ tagProps?: Record<string, unknown> | undefined;
38
43
  }[]>;
39
44
  enabledOptionKeys: import("vue").ComputedRef<string[]>;
40
45
  activeKey: Ref<string | undefined, string | undefined>;