@koi-design/uxd-ui 14.0.1 → 14.0.3

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 (268) hide show
  1. package/es/components/Alert/Alert.mjs +10 -24
  2. package/es/components/Alert/Alert.mjs.map +1 -1
  3. package/es/components/Alert/Alert.type.d.ts +5 -7
  4. package/es/components/Alert/Alert.type.mjs +4 -7
  5. package/es/components/Alert/Alert.type.mjs.map +1 -1
  6. package/es/components/Alert/Alert.vue.d.ts +5 -15
  7. package/es/components/Alert/index.d.ts +9 -27
  8. package/es/components/Alert/index.mjs +1 -1
  9. package/es/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  10. package/es/components/AutoComplete/index.d.ts +18 -0
  11. package/es/components/Calendar/Calendar.vue.d.ts +2 -2
  12. package/es/components/Calendar/index.d.ts +6 -6
  13. package/es/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  14. package/es/components/ColorPicker/index.d.ts +18 -0
  15. package/es/components/DatePicker/DatePicker.vue.d.ts +14 -14
  16. package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  17. package/es/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  18. package/es/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  19. package/es/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  20. package/es/components/DatePicker/index.d.ts +28 -28
  21. package/es/components/Dropdown/DropdownMenu.mjs +0 -1
  22. package/es/components/Dropdown/DropdownMenu.mjs.map +1 -1
  23. package/es/components/Input/Input.d.ts +6 -0
  24. package/es/components/Input/Input.mjs +1 -0
  25. package/es/components/Input/Input.mjs.map +1 -1
  26. package/es/components/Input/Input.type.d.ts +3 -0
  27. package/es/components/Input/Input.type.mjs +3 -0
  28. package/es/components/Input/Input.type.mjs.map +1 -1
  29. package/es/components/Input/index.d.ts +9 -0
  30. package/es/components/Menu/MenuItem.vue.d.ts +33 -33
  31. package/es/components/Menu/index.d.ts +33 -33
  32. package/es/components/Message/Message.mjs +4 -3
  33. package/es/components/Message/Message.mjs.map +1 -1
  34. package/es/components/Notice/Notice.mjs +15 -13
  35. package/es/components/Notice/Notice.mjs.map +1 -1
  36. package/es/components/Notice/Notice.type.d.ts +3 -2
  37. package/es/components/Notification/Notice.mjs +1 -5
  38. package/es/components/Notification/Notice.mjs.map +1 -1
  39. package/es/components/Notification/Notification.mjs.map +1 -1
  40. package/es/components/Pagination/Options.d.ts +8 -0
  41. package/es/components/Pagination/Options.mjs +6 -1
  42. package/es/components/Pagination/Options.mjs.map +1 -1
  43. package/es/components/Pagination/Pagination.d.ts +8 -0
  44. package/es/components/Pagination/Pagination.mjs +2 -0
  45. package/es/components/Pagination/Pagination.mjs.map +1 -1
  46. package/es/components/Pagination/index.d.ts +16 -0
  47. package/es/components/Rate/Rate.vue.d.ts +33 -33
  48. package/es/components/Rate/index.d.ts +66 -66
  49. package/es/components/Statistic/Statistic.vue.d.ts +33 -33
  50. package/es/components/Statistic/index.d.ts +66 -66
  51. package/es/components/Table/BaseTable.vue.d.ts +132 -132
  52. package/es/components/Table/BodyTable.vue.d.ts +132 -132
  53. package/es/components/Table/HeadTable.vue.d.ts +132 -132
  54. package/es/components/Table/Table.vue.d.ts +280 -264
  55. package/es/components/Table/TableBox.vue.d.ts +264 -264
  56. package/es/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  57. package/es/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  58. package/es/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  59. package/es/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  60. package/es/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  61. package/es/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  62. package/es/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  63. package/es/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  64. package/es/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  65. package/es/components/ThemePanel/index.d.ts +66 -66
  66. package/es/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  67. package/es/components/TimePicker/TimePicker.vue.d.ts +12 -12
  68. package/es/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  69. package/es/components/TimePicker/index.d.ts +28 -28
  70. package/es/components/Tooltip/Tooltip.mjs +84 -8
  71. package/es/components/Tooltip/Tooltip.mjs.map +1 -1
  72. package/es/components/Tooltip/Tooltip.type.d.ts +2 -2
  73. package/es/components/Tooltip/Tooltip.type.mjs +1 -3
  74. package/es/components/Tooltip/Tooltip.type.mjs.map +1 -1
  75. package/es/components/Tooltip/Tooltip.vue.d.ts +13 -13
  76. package/es/components/Tooltip/index.d.ts +33 -33
  77. package/es/components/Transfer/Transfer.vue.d.ts +27 -0
  78. package/es/components/Transfer/TransferList.vue.d.ts +9 -0
  79. package/es/components/Transfer/index.d.ts +72 -0
  80. package/es/components/index.mjs +1 -1
  81. package/es/index.mjs +1 -1
  82. package/lib/components/Alert/Alert.js +9 -23
  83. package/lib/components/Alert/Alert.js.map +1 -1
  84. package/lib/components/Alert/Alert.type.d.ts +5 -7
  85. package/lib/components/Alert/Alert.type.js +4 -6
  86. package/lib/components/Alert/Alert.type.js.map +1 -1
  87. package/lib/components/Alert/Alert.vue.d.ts +5 -15
  88. package/lib/components/Alert/index.d.ts +9 -27
  89. package/lib/components/Alert/index.js +1 -0
  90. package/lib/components/Alert/index.js.map +1 -1
  91. package/lib/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  92. package/lib/components/AutoComplete/index.d.ts +18 -0
  93. package/lib/components/Calendar/Calendar.vue.d.ts +2 -2
  94. package/lib/components/Calendar/index.d.ts +6 -6
  95. package/lib/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  96. package/lib/components/ColorPicker/index.d.ts +18 -0
  97. package/lib/components/DatePicker/DatePicker.vue.d.ts +14 -14
  98. package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  99. package/lib/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  100. package/lib/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  101. package/lib/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  102. package/lib/components/DatePicker/index.d.ts +28 -28
  103. package/lib/components/Dropdown/DropdownMenu.js +0 -1
  104. package/lib/components/Dropdown/DropdownMenu.js.map +1 -1
  105. package/lib/components/Input/Input.d.ts +6 -0
  106. package/lib/components/Input/Input.js +1 -0
  107. package/lib/components/Input/Input.js.map +1 -1
  108. package/lib/components/Input/Input.type.d.ts +3 -0
  109. package/lib/components/Input/Input.type.js +3 -0
  110. package/lib/components/Input/Input.type.js.map +1 -1
  111. package/lib/components/Input/index.d.ts +9 -0
  112. package/lib/components/Menu/MenuItem.vue.d.ts +33 -33
  113. package/lib/components/Menu/index.d.ts +33 -33
  114. package/lib/components/Message/Message.js +4 -3
  115. package/lib/components/Message/Message.js.map +1 -1
  116. package/lib/components/Notice/Notice.js +15 -13
  117. package/lib/components/Notice/Notice.js.map +1 -1
  118. package/lib/components/Notice/Notice.type.d.ts +3 -2
  119. package/lib/components/Notification/Notice.js +1 -5
  120. package/lib/components/Notification/Notice.js.map +1 -1
  121. package/lib/components/Notification/Notification.js.map +1 -1
  122. package/lib/components/Pagination/Options.d.ts +8 -0
  123. package/lib/components/Pagination/Options.js +6 -1
  124. package/lib/components/Pagination/Options.js.map +1 -1
  125. package/lib/components/Pagination/Pagination.d.ts +8 -0
  126. package/lib/components/Pagination/Pagination.js +2 -0
  127. package/lib/components/Pagination/Pagination.js.map +1 -1
  128. package/lib/components/Pagination/index.d.ts +16 -0
  129. package/lib/components/Rate/Rate.vue.d.ts +33 -33
  130. package/lib/components/Rate/index.d.ts +66 -66
  131. package/lib/components/Statistic/Statistic.vue.d.ts +33 -33
  132. package/lib/components/Statistic/index.d.ts +66 -66
  133. package/lib/components/Table/BaseTable.vue.d.ts +132 -132
  134. package/lib/components/Table/BodyTable.vue.d.ts +132 -132
  135. package/lib/components/Table/HeadTable.vue.d.ts +132 -132
  136. package/lib/components/Table/Table.vue.d.ts +280 -264
  137. package/lib/components/Table/TableBox.vue.d.ts +264 -264
  138. package/lib/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  139. package/lib/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  140. package/lib/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  141. package/lib/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  142. package/lib/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  143. package/lib/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  144. package/lib/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  145. package/lib/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  146. package/lib/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  147. package/lib/components/ThemePanel/index.d.ts +66 -66
  148. package/lib/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  149. package/lib/components/TimePicker/TimePicker.vue.d.ts +12 -12
  150. package/lib/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  151. package/lib/components/TimePicker/index.d.ts +28 -28
  152. package/lib/components/Tooltip/Tooltip.js +84 -8
  153. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  154. package/lib/components/Tooltip/Tooltip.type.d.ts +2 -2
  155. package/lib/components/Tooltip/Tooltip.type.js +1 -3
  156. package/lib/components/Tooltip/Tooltip.type.js.map +1 -1
  157. package/lib/components/Tooltip/Tooltip.vue.d.ts +13 -13
  158. package/lib/components/Tooltip/index.d.ts +33 -33
  159. package/lib/components/Transfer/Transfer.vue.d.ts +27 -0
  160. package/lib/components/Transfer/TransferList.vue.d.ts +9 -0
  161. package/lib/components/Transfer/index.d.ts +72 -0
  162. package/lib/components/index.js +1 -0
  163. package/lib/components/index.js.map +1 -1
  164. package/lib/index.js +1 -0
  165. package/lib/index.js.map +1 -1
  166. package/package.json +1 -1
  167. package/styles/components/alert/index.css +1 -1
  168. package/styles/components/alert/index.less +51 -48
  169. package/styles/components/alert/var.less +8 -42
  170. package/styles/components/autoComplete/index.css +1 -1
  171. package/styles/components/avatar/index.css +1 -1
  172. package/styles/components/badge/index.css +1 -1
  173. package/styles/components/badge/var.less +2 -2
  174. package/styles/components/button/index.css +1 -1
  175. package/styles/components/carousel/index.css +1 -1
  176. package/styles/components/cascader/index.css +1 -1
  177. package/styles/components/datePicker/index.css +1 -1
  178. package/styles/components/dropdown/index.css +1 -1
  179. package/styles/components/dropdown/index.less +12 -26
  180. package/styles/components/dropdown/var.less +6 -19
  181. package/styles/components/form/index.css +1 -1
  182. package/styles/components/form/index.less +25 -12
  183. package/styles/components/icon/index.css +1 -1
  184. package/styles/components/input/index.css +1 -1
  185. package/styles/components/inputNumber/index.css +1 -1
  186. package/styles/components/link/index.css +1 -1
  187. package/styles/components/mentions/index.css +1 -1
  188. package/styles/components/message/index.css +1 -1
  189. package/styles/components/message/index.less +63 -30
  190. package/styles/components/message/var.less +6 -27
  191. package/styles/components/modal/index.css +1 -1
  192. package/styles/components/notice/index.css +1 -1
  193. package/styles/components/notice/index.less +93 -49
  194. package/styles/components/notice/var.less +10 -33
  195. package/styles/components/pagination/index.css +1 -1
  196. package/styles/components/pagination/index.less +41 -178
  197. package/styles/components/pagination/var.less +8 -21
  198. package/styles/components/select/index.css +1 -1
  199. package/styles/components/select/index.less +3 -10
  200. package/styles/components/select/var.less +1 -3
  201. package/styles/components/spin/index.css +1 -1
  202. package/styles/components/tag/index.css +1 -1
  203. package/styles/components/tag/var.less +17 -17
  204. package/styles/components/timePicker/index.css +1 -1
  205. package/styles/components/tooltip/index.css +1 -1
  206. package/styles/components/tooltip/index.less +3 -55
  207. package/styles/components/tooltip/var.less +15 -14
  208. package/styles/cssVariable.css +1 -1
  209. package/styles/cssVariable.less +8 -9
  210. package/styles/index.css +1 -1
  211. package/types/components/Alert/Alert.type.d.ts +5 -7
  212. package/types/components/Alert/Alert.vue.d.ts +5 -15
  213. package/types/components/Alert/index.d.ts +9 -27
  214. package/types/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  215. package/types/components/AutoComplete/index.d.ts +18 -0
  216. package/types/components/Calendar/Calendar.vue.d.ts +2 -2
  217. package/types/components/Calendar/index.d.ts +6 -6
  218. package/types/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  219. package/types/components/ColorPicker/index.d.ts +18 -0
  220. package/types/components/DatePicker/DatePicker.vue.d.ts +14 -14
  221. package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  222. package/types/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  223. package/types/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  224. package/types/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  225. package/types/components/DatePicker/index.d.ts +28 -28
  226. package/types/components/Input/Input.d.ts +6 -0
  227. package/types/components/Input/Input.type.d.ts +3 -0
  228. package/types/components/Input/index.d.ts +9 -0
  229. package/types/components/Menu/MenuItem.vue.d.ts +33 -33
  230. package/types/components/Menu/index.d.ts +33 -33
  231. package/types/components/Notice/Notice.type.d.ts +3 -2
  232. package/types/components/Pagination/Options.d.ts +8 -0
  233. package/types/components/Pagination/Pagination.d.ts +8 -0
  234. package/types/components/Pagination/index.d.ts +16 -0
  235. package/types/components/Rate/Rate.vue.d.ts +33 -33
  236. package/types/components/Rate/index.d.ts +66 -66
  237. package/types/components/Statistic/Statistic.vue.d.ts +33 -33
  238. package/types/components/Statistic/index.d.ts +66 -66
  239. package/types/components/Table/BaseTable.vue.d.ts +132 -132
  240. package/types/components/Table/BodyTable.vue.d.ts +132 -132
  241. package/types/components/Table/HeadTable.vue.d.ts +132 -132
  242. package/types/components/Table/Table.vue.d.ts +280 -264
  243. package/types/components/Table/TableBox.vue.d.ts +264 -264
  244. package/types/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  245. package/types/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  246. package/types/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  247. package/types/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  248. package/types/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  249. package/types/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  250. package/types/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  251. package/types/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  252. package/types/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  253. package/types/components/ThemePanel/index.d.ts +66 -66
  254. package/types/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  255. package/types/components/TimePicker/TimePicker.vue.d.ts +12 -12
  256. package/types/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  257. package/types/components/TimePicker/index.d.ts +28 -28
  258. package/types/components/Tooltip/Tooltip.type.d.ts +2 -2
  259. package/types/components/Tooltip/Tooltip.vue.d.ts +13 -13
  260. package/types/components/Tooltip/index.d.ts +33 -33
  261. package/types/components/Transfer/Transfer.vue.d.ts +27 -0
  262. package/types/components/Transfer/TransferList.vue.d.ts +9 -0
  263. package/types/components/Transfer/index.d.ts +72 -0
  264. package/uxd-ui.css +1 -1
  265. package/uxd-ui.esm.min.mjs +6 -6
  266. package/uxd-ui.esm.mjs +134 -66
  267. package/uxd-ui.umd.js +133 -64
  268. package/uxd-ui.umd.min.js +6 -6
@@ -763,7 +763,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
763
763
  (value: number): import("dayjs").Dayjs;
764
764
  };
765
765
  day: {
766
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
766
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
767
767
  (value: number): import("dayjs").Dayjs;
768
768
  };
769
769
  hour: {
@@ -852,7 +852,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
852
852
  (value: number): import("dayjs").Dayjs;
853
853
  };
854
854
  day: {
855
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
855
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
856
856
  (value: number): import("dayjs").Dayjs;
857
857
  };
858
858
  hour: {
@@ -942,7 +942,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
942
942
  (value: number): import("dayjs").Dayjs;
943
943
  };
944
944
  day: {
945
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
945
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
946
946
  (value: number): import("dayjs").Dayjs;
947
947
  };
948
948
  hour: {
@@ -1031,7 +1031,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1031
1031
  (value: number): import("dayjs").Dayjs;
1032
1032
  };
1033
1033
  day: {
1034
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1034
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1035
1035
  (value: number): import("dayjs").Dayjs;
1036
1036
  };
1037
1037
  hour: {
@@ -1370,7 +1370,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1370
1370
  (value: number): import("dayjs").Dayjs;
1371
1371
  };
1372
1372
  day: {
1373
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1373
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1374
1374
  (value: number): import("dayjs").Dayjs;
1375
1375
  };
1376
1376
  hour: {
@@ -1459,7 +1459,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1459
1459
  (value: number): import("dayjs").Dayjs;
1460
1460
  };
1461
1461
  day: {
1462
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1462
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1463
1463
  (value: number): import("dayjs").Dayjs;
1464
1464
  };
1465
1465
  hour: {
@@ -1549,7 +1549,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1549
1549
  (value: number): import("dayjs").Dayjs;
1550
1550
  };
1551
1551
  day: {
1552
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1552
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1553
1553
  (value: number): import("dayjs").Dayjs;
1554
1554
  };
1555
1555
  hour: {
@@ -1638,7 +1638,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1638
1638
  (value: number): import("dayjs").Dayjs;
1639
1639
  };
1640
1640
  day: {
1641
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1641
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1642
1642
  (value: number): import("dayjs").Dayjs;
1643
1643
  };
1644
1644
  hour: {
@@ -4539,7 +4539,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4539
4539
  (value: number): import("dayjs").Dayjs;
4540
4540
  };
4541
4541
  day: {
4542
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4542
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4543
4543
  (value: number): import("dayjs").Dayjs;
4544
4544
  };
4545
4545
  hour: {
@@ -4628,7 +4628,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4628
4628
  (value: number): import("dayjs").Dayjs;
4629
4629
  };
4630
4630
  day: {
4631
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4631
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4632
4632
  (value: number): import("dayjs").Dayjs;
4633
4633
  };
4634
4634
  hour: {
@@ -4718,7 +4718,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4718
4718
  (value: number): import("dayjs").Dayjs;
4719
4719
  };
4720
4720
  day: {
4721
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4721
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4722
4722
  (value: number): import("dayjs").Dayjs;
4723
4723
  };
4724
4724
  hour: {
@@ -4807,7 +4807,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4807
4807
  (value: number): import("dayjs").Dayjs;
4808
4808
  };
4809
4809
  day: {
4810
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4810
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4811
4811
  (value: number): import("dayjs").Dayjs;
4812
4812
  };
4813
4813
  hour: {
@@ -5041,7 +5041,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5041
5041
  (value: number): import("dayjs").Dayjs;
5042
5042
  };
5043
5043
  day: {
5044
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
5044
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
5045
5045
  (value: number): import("dayjs").Dayjs;
5046
5046
  };
5047
5047
  hour: {
@@ -5130,7 +5130,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5130
5130
  (value: number): import("dayjs").Dayjs;
5131
5131
  };
5132
5132
  day: {
5133
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
5133
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
5134
5134
  (value: number): import("dayjs").Dayjs;
5135
5135
  };
5136
5136
  hour: {
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  (value: number): Dayjs;
65
65
  };
66
66
  day: {
67
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
67
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
68
68
  (value: number): Dayjs;
69
69
  };
70
70
  hour: {
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
153
153
  (value: number): Dayjs;
154
154
  };
155
155
  day: {
156
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
156
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
157
157
  (value: number): Dayjs;
158
158
  };
159
159
  hour: {
@@ -243,7 +243,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
243
243
  (value: number): Dayjs;
244
244
  };
245
245
  day: {
246
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
246
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
247
247
  (value: number): Dayjs;
248
248
  };
249
249
  hour: {
@@ -332,7 +332,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
332
332
  (value: number): Dayjs;
333
333
  };
334
334
  day: {
335
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
335
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
336
336
  (value: number): Dayjs;
337
337
  };
338
338
  hour: {
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
80
  (value: number): Dayjs;
81
81
  };
82
82
  day: {
83
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
83
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
84
84
  (value: number): Dayjs;
85
85
  };
86
86
  hour: {
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
169
169
  (value: number): Dayjs;
170
170
  };
171
171
  day: {
172
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
172
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
173
173
  (value: number): Dayjs;
174
174
  };
175
175
  hour: {
@@ -259,7 +259,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
259
259
  (value: number): Dayjs;
260
260
  };
261
261
  day: {
262
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
262
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
263
263
  (value: number): Dayjs;
264
264
  };
265
265
  hour: {
@@ -348,7 +348,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
348
348
  (value: number): Dayjs;
349
349
  };
350
350
  day: {
351
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
351
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
352
352
  (value: number): Dayjs;
353
353
  };
354
354
  hour: {
@@ -582,7 +582,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
582
582
  (value: number): Dayjs;
583
583
  };
584
584
  day: {
585
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
585
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
586
586
  (value: number): Dayjs;
587
587
  };
588
588
  hour: {
@@ -671,7 +671,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
671
671
  (value: number): Dayjs;
672
672
  };
673
673
  day: {
674
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
674
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
675
675
  (value: number): Dayjs;
676
676
  };
677
677
  hour: {
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  (value: number): Dayjs;
76
76
  };
77
77
  day: {
78
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
78
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
79
79
  (value: number): Dayjs;
80
80
  };
81
81
  hour: {
@@ -164,7 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
164
164
  (value: number): Dayjs;
165
165
  };
166
166
  day: {
167
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
167
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
168
168
  (value: number): Dayjs;
169
169
  };
170
170
  hour: {
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  (value: number): import("dayjs").Dayjs;
66
66
  };
67
67
  day: {
68
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
68
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
69
69
  (value: number): import("dayjs").Dayjs;
70
70
  };
71
71
  hour: {
@@ -154,7 +154,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
154
  (value: number): import("dayjs").Dayjs;
155
155
  };
156
156
  day: {
157
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
157
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
158
158
  (value: number): import("dayjs").Dayjs;
159
159
  };
160
160
  hour: {
@@ -244,7 +244,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
244
244
  (value: number): import("dayjs").Dayjs;
245
245
  };
246
246
  day: {
247
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
247
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
248
248
  (value: number): import("dayjs").Dayjs;
249
249
  };
250
250
  hour: {
@@ -333,7 +333,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
333
333
  (value: number): import("dayjs").Dayjs;
334
334
  };
335
335
  day: {
336
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
336
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
337
337
  (value: number): import("dayjs").Dayjs;
338
338
  };
339
339
  hour: {
@@ -657,7 +657,7 @@ export declare const UDatePicker: {
657
657
  (value: number): import("dayjs").Dayjs;
658
658
  };
659
659
  day: {
660
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
660
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
661
661
  (value: number): import("dayjs").Dayjs;
662
662
  };
663
663
  hour: {
@@ -746,7 +746,7 @@ export declare const UDatePicker: {
746
746
  (value: number): import("dayjs").Dayjs;
747
747
  };
748
748
  day: {
749
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
749
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
750
750
  (value: number): import("dayjs").Dayjs;
751
751
  };
752
752
  hour: {
@@ -836,7 +836,7 @@ export declare const UDatePicker: {
836
836
  (value: number): import("dayjs").Dayjs;
837
837
  };
838
838
  day: {
839
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
839
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
840
840
  (value: number): import("dayjs").Dayjs;
841
841
  };
842
842
  hour: {
@@ -925,7 +925,7 @@ export declare const UDatePicker: {
925
925
  (value: number): import("dayjs").Dayjs;
926
926
  };
927
927
  day: {
928
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
928
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
929
929
  (value: number): import("dayjs").Dayjs;
930
930
  };
931
931
  hour: {
@@ -1264,7 +1264,7 @@ export declare const UDatePicker: {
1264
1264
  (value: number): import("dayjs").Dayjs;
1265
1265
  };
1266
1266
  day: {
1267
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1267
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1268
1268
  (value: number): import("dayjs").Dayjs;
1269
1269
  };
1270
1270
  hour: {
@@ -1353,7 +1353,7 @@ export declare const UDatePicker: {
1353
1353
  (value: number): import("dayjs").Dayjs;
1354
1354
  };
1355
1355
  day: {
1356
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1356
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1357
1357
  (value: number): import("dayjs").Dayjs;
1358
1358
  };
1359
1359
  hour: {
@@ -1443,7 +1443,7 @@ export declare const UDatePicker: {
1443
1443
  (value: number): import("dayjs").Dayjs;
1444
1444
  };
1445
1445
  day: {
1446
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1446
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1447
1447
  (value: number): import("dayjs").Dayjs;
1448
1448
  };
1449
1449
  hour: {
@@ -1532,7 +1532,7 @@ export declare const UDatePicker: {
1532
1532
  (value: number): import("dayjs").Dayjs;
1533
1533
  };
1534
1534
  day: {
1535
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
1535
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
1536
1536
  (value: number): import("dayjs").Dayjs;
1537
1537
  };
1538
1538
  hour: {
@@ -4433,7 +4433,7 @@ export declare const UDatePicker: {
4433
4433
  (value: number): import("dayjs").Dayjs;
4434
4434
  };
4435
4435
  day: {
4436
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4436
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4437
4437
  (value: number): import("dayjs").Dayjs;
4438
4438
  };
4439
4439
  hour: {
@@ -4522,7 +4522,7 @@ export declare const UDatePicker: {
4522
4522
  (value: number): import("dayjs").Dayjs;
4523
4523
  };
4524
4524
  day: {
4525
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4525
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4526
4526
  (value: number): import("dayjs").Dayjs;
4527
4527
  };
4528
4528
  hour: {
@@ -4612,7 +4612,7 @@ export declare const UDatePicker: {
4612
4612
  (value: number): import("dayjs").Dayjs;
4613
4613
  };
4614
4614
  day: {
4615
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4615
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4616
4616
  (value: number): import("dayjs").Dayjs;
4617
4617
  };
4618
4618
  hour: {
@@ -4701,7 +4701,7 @@ export declare const UDatePicker: {
4701
4701
  (value: number): import("dayjs").Dayjs;
4702
4702
  };
4703
4703
  day: {
4704
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4704
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4705
4705
  (value: number): import("dayjs").Dayjs;
4706
4706
  };
4707
4707
  hour: {
@@ -4935,7 +4935,7 @@ export declare const UDatePicker: {
4935
4935
  (value: number): import("dayjs").Dayjs;
4936
4936
  };
4937
4937
  day: {
4938
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
4938
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
4939
4939
  (value: number): import("dayjs").Dayjs;
4940
4940
  };
4941
4941
  hour: {
@@ -5024,7 +5024,7 @@ export declare const UDatePicker: {
5024
5024
  (value: number): import("dayjs").Dayjs;
5025
5025
  };
5026
5026
  day: {
5027
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
5027
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
5028
5028
  (value: number): import("dayjs").Dayjs;
5029
5029
  };
5030
5030
  hour: {
@@ -7906,7 +7906,7 @@ export declare const UDatePicker: {
7906
7906
  (value: number): import("dayjs").Dayjs;
7907
7907
  };
7908
7908
  day: {
7909
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
7909
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
7910
7910
  (value: number): import("dayjs").Dayjs;
7911
7911
  };
7912
7912
  hour: {
@@ -7995,7 +7995,7 @@ export declare const UDatePicker: {
7995
7995
  (value: number): import("dayjs").Dayjs;
7996
7996
  };
7997
7997
  day: {
7998
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
7998
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
7999
7999
  (value: number): import("dayjs").Dayjs;
8000
8000
  };
8001
8001
  hour: {
@@ -8085,7 +8085,7 @@ export declare const UDatePicker: {
8085
8085
  (value: number): import("dayjs").Dayjs;
8086
8086
  };
8087
8087
  day: {
8088
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8088
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8089
8089
  (value: number): import("dayjs").Dayjs;
8090
8090
  };
8091
8091
  hour: {
@@ -8174,7 +8174,7 @@ export declare const UDatePicker: {
8174
8174
  (value: number): import("dayjs").Dayjs;
8175
8175
  };
8176
8176
  day: {
8177
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8177
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8178
8178
  (value: number): import("dayjs").Dayjs;
8179
8179
  };
8180
8180
  hour: {
@@ -8513,7 +8513,7 @@ export declare const UDatePicker: {
8513
8513
  (value: number): import("dayjs").Dayjs;
8514
8514
  };
8515
8515
  day: {
8516
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8516
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8517
8517
  (value: number): import("dayjs").Dayjs;
8518
8518
  };
8519
8519
  hour: {
@@ -8602,7 +8602,7 @@ export declare const UDatePicker: {
8602
8602
  (value: number): import("dayjs").Dayjs;
8603
8603
  };
8604
8604
  day: {
8605
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8605
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8606
8606
  (value: number): import("dayjs").Dayjs;
8607
8607
  };
8608
8608
  hour: {
@@ -8692,7 +8692,7 @@ export declare const UDatePicker: {
8692
8692
  (value: number): import("dayjs").Dayjs;
8693
8693
  };
8694
8694
  day: {
8695
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8695
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8696
8696
  (value: number): import("dayjs").Dayjs;
8697
8697
  };
8698
8698
  hour: {
@@ -8781,7 +8781,7 @@ export declare const UDatePicker: {
8781
8781
  (value: number): import("dayjs").Dayjs;
8782
8782
  };
8783
8783
  day: {
8784
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
8784
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
8785
8785
  (value: number): import("dayjs").Dayjs;
8786
8786
  };
8787
8787
  hour: {
@@ -11682,7 +11682,7 @@ export declare const UDatePicker: {
11682
11682
  (value: number): import("dayjs").Dayjs;
11683
11683
  };
11684
11684
  day: {
11685
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
11685
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
11686
11686
  (value: number): import("dayjs").Dayjs;
11687
11687
  };
11688
11688
  hour: {
@@ -11771,7 +11771,7 @@ export declare const UDatePicker: {
11771
11771
  (value: number): import("dayjs").Dayjs;
11772
11772
  };
11773
11773
  day: {
11774
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
11774
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
11775
11775
  (value: number): import("dayjs").Dayjs;
11776
11776
  };
11777
11777
  hour: {
@@ -11861,7 +11861,7 @@ export declare const UDatePicker: {
11861
11861
  (value: number): import("dayjs").Dayjs;
11862
11862
  };
11863
11863
  day: {
11864
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
11864
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
11865
11865
  (value: number): import("dayjs").Dayjs;
11866
11866
  };
11867
11867
  hour: {
@@ -11950,7 +11950,7 @@ export declare const UDatePicker: {
11950
11950
  (value: number): import("dayjs").Dayjs;
11951
11951
  };
11952
11952
  day: {
11953
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
11953
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
11954
11954
  (value: number): import("dayjs").Dayjs;
11955
11955
  };
11956
11956
  hour: {
@@ -12184,7 +12184,7 @@ export declare const UDatePicker: {
12184
12184
  (value: number): import("dayjs").Dayjs;
12185
12185
  };
12186
12186
  day: {
12187
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
12187
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
12188
12188
  (value: number): import("dayjs").Dayjs;
12189
12189
  };
12190
12190
  hour: {
@@ -12273,7 +12273,7 @@ export declare const UDatePicker: {
12273
12273
  (value: number): import("dayjs").Dayjs;
12274
12274
  };
12275
12275
  day: {
12276
- (): 0 | 2 | 1 | 4 | 3 | 5 | 6;
12276
+ (): 0 | 2 | 1 | 6 | 4 | 3 | 5;
12277
12277
  (value: number): import("dayjs").Dayjs;
12278
12278
  };
12279
12279
  hour: {
@@ -92,7 +92,6 @@ var DropdownMenu = defineComponent({
92
92
  });
93
93
  }
94
94
  return createVNode(UMenu.Item, {
95
- "prefixCls": prefixCls,
96
95
  "name": m.value,
97
96
  "color": m.color,
98
97
  "disabled": m.disabled,
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.mjs","sources":["../../../../src/components/Dropdown/DropdownMenu.tsx"],"sourcesContent":["import type { CSSProperties, PropType } from 'vue';\nimport { computed, defineComponent } from 'vue';\nimport { UMenu } from '@uxd-ui/components/Menu';\nimport UIcon from '@uxd-ui/components/Icon';\nimport { useGlobalConfig } from '../base/hooks';\nimport type { DropdownMenuOption } from './Dropdown.type';\n\nexport default defineComponent({\n name: 'UDropdownMenu',\n props: {\n options: {\n type: Array as PropType<DropdownMenuOption[]>,\n default: () => [] as DropdownMenuOption[]\n },\n icon: {\n type: Boolean\n },\n width: {\n type: Number\n },\n height: {\n type: Number\n }\n },\n emits: ['click'],\n setup(props, { emit }) {\n const { prefixCls } = useGlobalConfig('dropdown');\n const handleMenuClick = (e: any) => {\n emit('click', e.key);\n };\n\n const style = computed(() => {\n const s = {} as CSSProperties;\n if (props.width) {\n s.width = `${props.width}px`;\n }\n if (props.height) {\n s.height = `${props.height}px`;\n }\n return s;\n });\n\n return {\n prefixCls,\n style,\n handleMenuClick\n };\n },\n render() {\n const { prefixCls } = this;\n if (this.$slots.default) {\n return (\n <div class={`${prefixCls}-container`} style={this.style}>\n {this.$slots.default()}\n </div>\n );\n }\n const renderItem = (m: DropdownMenuOption) => {\n if (m.divider) {\n return <UMenu.Divider />;\n }\n if (m.group) {\n return <UMenu.ItemGroup title={m.title}>{m.children.map(renderItem)}</UMenu.ItemGroup>;\n }\n if (m.children) {\n return (\n <UMenu.SubMenu\n name={m.value}\n color={m.color}\n disabled={m.disabled}\n v-slots={{\n title: () => {\n return (\n <span\n class={{\n [`${prefixCls}-submenu-item-inner`]: true,\n [`${prefixCls}-submenu-item-inner-with-icon`]: this.icon\n }}\n >\n {this.icon && m.icon && <UIcon icon={m.icon} />}\n {m.label}\n </span>\n );\n }\n }}\n >\n {m.children.map(renderItem)}\n </UMenu.SubMenu>\n );\n }\n return (\n <UMenu.Item prefixCls={prefixCls} name={m.value} color={m.color} disabled={m.disabled} onClick={this.handleMenuClick}>\n <span\n class={{\n [`${prefixCls}-menu-item-inner`]: true,\n [`${prefixCls}-menu-item-inner-with-icon`]: this.icon\n }}\n >\n {this.icon && m.icon && <UIcon icon={m.icon} />}\n {m.label}\n </span>\n </UMenu.Item>\n );\n };\n\n const menus = this.options.map(renderItem);\n return (\n <UMenu\n class={{\n [`${prefixCls}-menu`]: true,\n [`${prefixCls}-menu-with-icon`]: this.icon\n }}\n style={this.style}\n >\n {menus}\n </UMenu>\n );\n }\n});\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","defineComponent","name","props","options","type","Array","default","icon","Boolean","width","Number","height","emits","setup","emit","prefixCls","useGlobalConfig","handleMenuClick","e","key","style","computed","render","$slots","_createVNode","renderItem","m","divider","UMenu","Divider","group","_slot","ItemGroup","title","children","map","SubMenu","value","color","disabled","UIcon","label","Item","menus"],"mappings":"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"}
1
+ {"version":3,"file":"DropdownMenu.mjs","sources":["../../../../src/components/Dropdown/DropdownMenu.tsx"],"sourcesContent":["import type { CSSProperties, PropType } from 'vue';\nimport { computed, defineComponent } from 'vue';\nimport { UMenu } from '@uxd-ui/components/Menu';\nimport UIcon from '@uxd-ui/components/Icon';\nimport { useGlobalConfig } from '../base/hooks';\nimport type { DropdownMenuOption } from './Dropdown.type';\n\nexport default defineComponent({\n name: 'UDropdownMenu',\n props: {\n options: {\n type: Array as PropType<DropdownMenuOption[]>,\n default: () => [] as DropdownMenuOption[]\n },\n icon: {\n type: Boolean\n },\n width: {\n type: Number\n },\n height: {\n type: Number\n }\n },\n emits: ['click'],\n setup(props, { emit }) {\n const { prefixCls } = useGlobalConfig('dropdown');\n const handleMenuClick = (e: any) => {\n emit('click', e.key);\n };\n\n const style = computed(() => {\n const s = {} as CSSProperties;\n if (props.width) {\n s.width = `${props.width}px`;\n }\n if (props.height) {\n s.height = `${props.height}px`;\n }\n return s;\n });\n\n return {\n prefixCls,\n style,\n handleMenuClick\n };\n },\n render() {\n const { prefixCls } = this;\n if (this.$slots.default) {\n return (\n <div class={`${prefixCls}-container`} style={this.style}>\n {this.$slots.default()}\n </div>\n );\n }\n const renderItem = (m: DropdownMenuOption) => {\n if (m.divider) {\n return <UMenu.Divider />;\n }\n if (m.group) {\n return <UMenu.ItemGroup title={m.title}>{m.children.map(renderItem)}</UMenu.ItemGroup>;\n }\n if (m.children) {\n return (\n <UMenu.SubMenu\n name={m.value}\n color={m.color}\n disabled={m.disabled}\n v-slots={{\n title: () => {\n return (\n <span\n class={{\n [`${prefixCls}-submenu-item-inner`]: true,\n [`${prefixCls}-submenu-item-inner-with-icon`]: this.icon\n }}\n >\n {this.icon && m.icon && <UIcon icon={m.icon} />}\n {m.label}\n </span>\n );\n }\n }}\n >\n {m.children.map(renderItem)}\n </UMenu.SubMenu>\n );\n }\n return (\n <UMenu.Item name={m.value} color={m.color} disabled={m.disabled} onClick={this.handleMenuClick}>\n <span\n class={{\n [`${prefixCls}-menu-item-inner`]: true,\n [`${prefixCls}-menu-item-inner-with-icon`]: this.icon\n }}\n >\n {this.icon && m.icon && <UIcon icon={m.icon} />}\n {m.label}\n </span>\n </UMenu.Item>\n );\n };\n\n const menus = this.options.map(renderItem);\n return (\n <UMenu\n class={{\n [`${prefixCls}-menu`]: true,\n [`${prefixCls}-menu-with-icon`]: this.icon\n }}\n style={this.style}\n >\n {menus}\n </UMenu>\n );\n }\n});\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","defineComponent","name","props","options","type","Array","default","icon","Boolean","width","Number","height","emits","setup","emit","prefixCls","useGlobalConfig","handleMenuClick","e","key","style","computed","render","$slots","_createVNode","renderItem","m","divider","UMenu","Divider","group","_slot","ItemGroup","title","children","map","SubMenu","value","color","disabled","UIcon","label","Item","menus"],"mappings":"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"}
@@ -113,6 +113,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
113
  direction: {
114
114
  type: import("vue").PropType<"ltr" | "rtl">;
115
115
  };
116
+ inputSize: {
117
+ type: NumberConstructor;
118
+ };
116
119
  }>, {
117
120
  prefixCls: import("vue").ComputedRef<string>;
118
121
  wordCountRef: import("vue").ShallowRef<HTMLElement, HTMLElement>;
@@ -273,6 +276,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
273
276
  direction: {
274
277
  type: import("vue").PropType<"ltr" | "rtl">;
275
278
  };
279
+ inputSize: {
280
+ type: NumberConstructor;
281
+ };
276
282
  }>> & Readonly<{
277
283
  onSearch?: (v: InputValueType) => any;
278
284
  onClear?: (ev: Event) => any;
@@ -322,6 +322,7 @@ var Input = defineComponent({
322
322
  "ref": "inputRef",
323
323
  "class": [`${this.prefixCls}`],
324
324
  "type": this.nativeType,
325
+ "size": this.inputSize,
325
326
  "readonly": this.readonly,
326
327
  "placeholder": this.placeholder,
327
328
  "autofocus": this.autofocus,