code-monkey-ui 1.1.14-alpha.3 → 1.1.14-alpha.5

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 (725) hide show
  1. package/dist/index.full.js +9 -17
  2. package/dist/index.full.min.js +25 -25
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +3 -3
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +9 -17
  7. package/es/components/affix/index.mjs +2 -2
  8. package/es/components/affix/src/affix.mjs +117 -26
  9. package/es/components/affix/src/affix.mjs.map +1 -1
  10. package/es/components/affix/src/affix2.mjs +26 -117
  11. package/es/components/affix/src/affix2.mjs.map +1 -1
  12. package/es/components/autocomplete/index.d.ts +5 -5
  13. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  14. package/es/components/autocomplete/src/autocomplete2.mjs +1 -1
  15. package/es/components/avatar/index.mjs +2 -2
  16. package/es/components/avatar/src/avatar.mjs +32 -67
  17. package/es/components/avatar/src/avatar.mjs.map +1 -1
  18. package/es/components/avatar/src/avatar2.mjs +67 -32
  19. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  20. package/es/components/batch/index.d.ts +3 -3
  21. package/es/components/batch/index.mjs +2 -2
  22. package/es/components/batch/src/batch.mjs +48 -360
  23. package/es/components/batch/src/batch.mjs.map +1 -1
  24. package/es/components/batch/src/batch.vue.d.ts +3 -3
  25. package/es/components/batch/src/batch2.mjs +360 -48
  26. package/es/components/batch/src/batch2.mjs.map +1 -1
  27. package/es/components/breadcrumb/index.mjs +4 -4
  28. package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -56
  29. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  30. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +56 -11
  31. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  32. package/es/components/breadcrumb/src/breadcrumb.mjs +36 -11
  33. package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
  34. package/es/components/breadcrumb/src/breadcrumb2.mjs +11 -36
  35. package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
  36. package/es/components/button/index.d.ts +1 -1
  37. package/es/components/button/index.mjs +3 -3
  38. package/es/components/button/src/button-group.mjs +6 -30
  39. package/es/components/button/src/button-group.mjs.map +1 -1
  40. package/es/components/button/src/button-group2.mjs +30 -6
  41. package/es/components/button/src/button-group2.mjs.map +1 -1
  42. package/es/components/button/src/button.mjs +76 -57
  43. package/es/components/button/src/button.mjs.map +1 -1
  44. package/es/components/button/src/button.vue.d.ts +1 -1
  45. package/es/components/button/src/button2.mjs +57 -76
  46. package/es/components/button/src/button2.mjs.map +1 -1
  47. package/es/components/button/src/use-button.d.ts +1 -1
  48. package/es/components/calendar/index.d.ts +1 -1
  49. package/es/components/calendar/index.mjs +2 -2
  50. package/es/components/calendar/src/calendar.mjs +18 -131
  51. package/es/components/calendar/src/calendar.mjs.map +1 -1
  52. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  53. package/es/components/calendar/src/calendar2.mjs +131 -18
  54. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  55. package/es/components/calendar/src/date-table.mjs +33 -87
  56. package/es/components/calendar/src/date-table.mjs.map +1 -1
  57. package/es/components/calendar/src/date-table2.mjs +87 -33
  58. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  59. package/es/components/calendar/src/use-date-table.mjs +1 -1
  60. package/es/components/card/index.mjs +2 -2
  61. package/es/components/card/src/card.mjs +43 -21
  62. package/es/components/card/src/card.mjs.map +1 -1
  63. package/es/components/card/src/card2.mjs +21 -43
  64. package/es/components/card/src/card2.mjs.map +1 -1
  65. package/es/components/carousel/index.mjs +2 -2
  66. package/es/components/carousel/src/carousel.mjs +169 -56
  67. package/es/components/carousel/src/carousel.mjs.map +1 -1
  68. package/es/components/carousel/src/carousel2.mjs +56 -169
  69. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  70. package/es/components/cascader/index.d.ts +16 -16
  71. package/es/components/cascader/src/cascader.vue.d.ts +8 -8
  72. package/es/components/cascader/src/cascader2.mjs +1 -1
  73. package/es/components/cascader-panel/index.d.ts +2 -2
  74. package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
  75. package/es/components/check-tag/index.mjs +2 -2
  76. package/es/components/check-tag/src/check-tag.mjs +31 -12
  77. package/es/components/check-tag/src/check-tag.mjs.map +1 -1
  78. package/es/components/check-tag/src/check-tag2.mjs +12 -31
  79. package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
  80. package/es/components/checkbox/index.d.ts +2 -2
  81. package/es/components/checkbox/index.mjs +2 -2
  82. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  83. package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  84. package/es/components/checkbox/src/checkbox.mjs +117 -50
  85. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  86. package/es/components/checkbox/src/checkbox2.mjs +50 -117
  87. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  88. package/es/components/collapse/index.d.ts +1 -1
  89. package/es/components/collapse/index.mjs +4 -4
  90. package/es/components/collapse/src/collapse-item.mjs +14 -91
  91. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  92. package/es/components/collapse/src/collapse-item2.mjs +91 -14
  93. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  94. package/es/components/collapse/src/collapse.mjs +28 -17
  95. package/es/components/collapse/src/collapse.mjs.map +1 -1
  96. package/es/components/collapse/src/collapse.vue.d.ts +1 -1
  97. package/es/components/collapse/src/collapse2.mjs +17 -28
  98. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  99. package/es/components/collection/index.mjs +1 -1
  100. package/es/components/collection/src/collection.mjs +10 -62
  101. package/es/components/collection/src/collection.mjs.map +1 -1
  102. package/es/components/collection/src/collection2.mjs +62 -10
  103. package/es/components/collection/src/collection2.mjs.map +1 -1
  104. package/es/components/color-picker/index.d.ts +3 -3
  105. package/es/components/color-picker/src/color-picker.vue.d.ts +3 -3
  106. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  107. package/es/components/countdown/index.mjs +2 -2
  108. package/es/components/countdown/src/countdown.mjs +23 -74
  109. package/es/components/countdown/src/countdown.mjs.map +1 -1
  110. package/es/components/countdown/src/countdown2.mjs +74 -23
  111. package/es/components/countdown/src/countdown2.mjs.map +1 -1
  112. package/es/components/date-picker/src/composables/use-basic-date-table.d.ts +3 -3
  113. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  114. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
  115. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  116. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -18
  117. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  118. package/es/components/date-picker/src/panel-utils.d.ts +38 -38
  119. package/es/components/date-picker/src/props/panel-date-pick.d.ts +1 -1
  120. package/es/components/date-picker/src/props/panel-date-range.d.ts +1 -1
  121. package/es/components/date-picker/src/props/shared.d.ts +1 -1
  122. package/es/components/descriptions/src/description2.mjs +1 -1
  123. package/es/components/descriptions/src/descriptions-row.mjs +7 -64
  124. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  125. package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
  126. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  127. package/es/components/dialog/index.mjs +2 -2
  128. package/es/components/dialog/src/dialog.mjs +170 -65
  129. package/es/components/dialog/src/dialog.mjs.map +1 -1
  130. package/es/components/dialog/src/dialog2.mjs +65 -170
  131. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  132. package/es/components/drawer/index.mjs +2 -2
  133. package/es/components/drawer/src/drawer.mjs +26 -176
  134. package/es/components/drawer/src/drawer.mjs.map +1 -1
  135. package/es/components/drawer/src/drawer2.mjs +176 -26
  136. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  137. package/es/components/dropdown/index.mjs +2 -2
  138. package/es/components/dropdown/src/dropdown-item-impl.mjs +3 -3
  139. package/es/components/dropdown/src/dropdown-item.mjs +1 -1
  140. package/es/components/dropdown/src/dropdown-menu.mjs +2 -2
  141. package/es/components/dropdown/src/dropdown.mjs +97 -306
  142. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  143. package/es/components/dropdown/src/dropdown2.mjs +306 -97
  144. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  145. package/es/components/dsh-cascader/index.d.ts +24 -24
  146. package/es/components/dsh-cascader/index.mjs +2 -2
  147. package/es/components/dsh-cascader/src/dsh-cascader.mjs +87 -728
  148. package/es/components/dsh-cascader/src/dsh-cascader.mjs.map +1 -1
  149. package/es/components/dsh-cascader/src/dsh-cascader.vue.d.ts +12 -12
  150. package/es/components/dsh-cascader/src/dsh-cascader2.mjs +728 -87
  151. package/es/components/dsh-cascader/src/dsh-cascader2.mjs.map +1 -1
  152. package/es/components/dsh-cascader-panel/index.d.ts +2 -2
  153. package/es/components/dsh-cascader-panel/src/index.vue.d.ts +1 -1
  154. package/es/components/dsh-select/index.d.ts +3 -3
  155. package/es/components/dsh-select/src/option.vue.d.ts +1 -1
  156. package/es/components/dsh-select/src/select.mjs +1 -1
  157. package/es/components/dsh-select/src/select.vue.d.ts +1 -1
  158. package/es/components/dsh-select/src/useOption.d.ts +1 -1
  159. package/es/components/dshIndex.mjs +1 -1
  160. package/es/components/form/index.mjs +2 -2
  161. package/es/components/form/src/form.mjs +54 -148
  162. package/es/components/form/src/form.mjs.map +1 -1
  163. package/es/components/form/src/form2.mjs +148 -54
  164. package/es/components/form/src/form2.mjs.map +1 -1
  165. package/es/components/image/index.mjs +2 -2
  166. package/es/components/image/src/image.mjs +61 -225
  167. package/es/components/image/src/image.mjs.map +1 -1
  168. package/es/components/image/src/image2.mjs +225 -61
  169. package/es/components/image/src/image2.mjs.map +1 -1
  170. package/es/components/image-viewer/index.mjs +2 -2
  171. package/es/components/image-viewer/src/image-viewer.mjs +41 -401
  172. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  173. package/es/components/image-viewer/src/image-viewer2.mjs +401 -41
  174. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  175. package/es/components/index.mjs +39 -39
  176. package/es/components/input/index.d.ts +1 -1
  177. package/es/components/input/src/input.vue.d.ts +1 -1
  178. package/es/components/input-number/index.d.ts +5 -5
  179. package/es/components/input-number/index.mjs +2 -2
  180. package/es/components/input-number/src/input-number.mjs +58 -314
  181. package/es/components/input-number/src/input-number.mjs.map +1 -1
  182. package/es/components/input-number/src/input-number.vue.d.ts +5 -5
  183. package/es/components/input-number/src/input-number2.mjs +314 -58
  184. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  185. package/es/components/menu/index.mjs +2 -2
  186. package/es/components/menu/src/menu-item-group.mjs +35 -4
  187. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  188. package/es/components/menu/src/menu-item-group2.mjs +4 -35
  189. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  190. package/es/components/page-header/index.mjs +2 -2
  191. package/es/components/page-header/src/page-header.mjs +103 -17
  192. package/es/components/page-header/src/page-header.mjs.map +1 -1
  193. package/es/components/page-header/src/page-header2.mjs +17 -103
  194. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  195. package/es/components/pagination/src/components/jumper.mjs +60 -9
  196. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  197. package/es/components/pagination/src/components/jumper.vue.d.ts +1 -1
  198. package/es/components/pagination/src/components/jumper2.mjs +9 -60
  199. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  200. package/es/components/pagination/src/components/pager.mjs +17 -216
  201. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  202. package/es/components/pagination/src/components/pager2.mjs +216 -17
  203. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  204. package/es/components/pagination/src/components/prev.mjs +38 -18
  205. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  206. package/es/components/pagination/src/components/prev2.mjs +18 -38
  207. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  208. package/es/components/pagination/src/components/sizes.mjs +23 -69
  209. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  210. package/es/components/pagination/src/components/sizes.vue.d.ts +1 -1
  211. package/es/components/pagination/src/components/sizes2.mjs +69 -23
  212. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  213. package/es/components/pagination/src/pagination.mjs +4 -4
  214. package/es/components/popconfirm/index.d.ts +1 -1
  215. package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  216. package/es/components/popconfirm/src/popconfirm2.mjs +2 -2
  217. package/es/components/popover/index.mjs +2 -2
  218. package/es/components/popover/src/popover.mjs +111 -66
  219. package/es/components/popover/src/popover.mjs.map +1 -1
  220. package/es/components/popover/src/popover2.mjs +66 -111
  221. package/es/components/popover/src/popover2.mjs.map +1 -1
  222. package/es/components/popper/index.mjs +4 -4
  223. package/es/components/popper/src/content.mjs +94 -137
  224. package/es/components/popper/src/content.mjs.map +1 -1
  225. package/es/components/popper/src/content2.mjs +137 -94
  226. package/es/components/popper/src/content2.mjs.map +1 -1
  227. package/es/components/popper/src/popper.mjs +32 -25
  228. package/es/components/popper/src/popper.mjs.map +1 -1
  229. package/es/components/popper/src/popper2.mjs +25 -32
  230. package/es/components/popper/src/popper2.mjs.map +1 -1
  231. package/es/components/progress/index.mjs +2 -2
  232. package/es/components/progress/src/progress.mjs +59 -205
  233. package/es/components/progress/src/progress.mjs.map +1 -1
  234. package/es/components/progress/src/progress2.mjs +205 -59
  235. package/es/components/progress/src/progress2.mjs.map +1 -1
  236. package/es/components/radio/index.d.ts +3 -3
  237. package/es/components/radio/src/radio-group.vue.d.ts +1 -1
  238. package/es/components/radio/src/radio.vue.d.ts +1 -1
  239. package/es/components/radio/src/use-radio.d.ts +1 -1
  240. package/es/components/rate/index.d.ts +1 -1
  241. package/es/components/rate/src/rate.vue.d.ts +1 -1
  242. package/es/components/roving-focus-group/index.mjs +3 -3
  243. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  244. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
  245. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  246. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
  247. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  248. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  249. package/es/components/row/index.mjs +2 -2
  250. package/es/components/row/src/row.mjs +45 -29
  251. package/es/components/row/src/row.mjs.map +1 -1
  252. package/es/components/row/src/row2.mjs +29 -45
  253. package/es/components/row/src/row2.mjs.map +1 -1
  254. package/es/components/scrollbar/index.mjs +1 -1
  255. package/es/components/scrollbar/src/bar.mjs +42 -17
  256. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  257. package/es/components/scrollbar/src/bar2.mjs +17 -42
  258. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  259. package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
  260. package/es/components/scrollbar/src/thumb.mjs +11 -130
  261. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  262. package/es/components/scrollbar/src/thumb2.mjs +130 -11
  263. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  264. package/es/components/select/index.d.ts +1 -1
  265. package/es/components/select/src/select.mjs +1 -1
  266. package/es/components/select/src/select.vue.d.ts +1 -1
  267. package/es/components/select-v2/index.d.ts +2 -2
  268. package/es/components/select-v2/src/defaults.mjs +1 -1
  269. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  270. package/es/components/skeleton/index.mjs +4 -4
  271. package/es/components/skeleton/src/skeleton-item.mjs +23 -18
  272. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  273. package/es/components/skeleton/src/skeleton-item2.mjs +18 -23
  274. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  275. package/es/components/skeleton/src/skeleton.mjs +49 -22
  276. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  277. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  278. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  279. package/es/components/slider/index.d.ts +6 -6
  280. package/es/components/slider/src/slider.vue.d.ts +6 -6
  281. package/es/components/statistic/index.mjs +2 -2
  282. package/es/components/statistic/src/statistic.mjs +25 -70
  283. package/es/components/statistic/src/statistic.mjs.map +1 -1
  284. package/es/components/statistic/src/statistic2.mjs +70 -25
  285. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  286. package/es/components/switch/index.d.ts +1 -1
  287. package/es/components/switch/index.mjs +2 -2
  288. package/es/components/switch/src/switch.mjs +98 -264
  289. package/es/components/switch/src/switch.mjs.map +1 -1
  290. package/es/components/switch/src/switch.vue.d.ts +1 -1
  291. package/es/components/switch/src/switch2.mjs +264 -98
  292. package/es/components/switch/src/switch2.mjs.map +1 -1
  293. package/es/components/teleport/index.mjs +2 -2
  294. package/es/components/teleport/src/teleport.mjs +44 -18
  295. package/es/components/teleport/src/teleport.mjs.map +1 -1
  296. package/es/components/teleport/src/teleport2.mjs +18 -44
  297. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  298. package/es/components/text/index.mjs +2 -2
  299. package/es/components/text/src/text.mjs +38 -24
  300. package/es/components/text/src/text.mjs.map +1 -1
  301. package/es/components/text/src/text2.mjs +24 -38
  302. package/es/components/text/src/text2.mjs.map +1 -1
  303. package/es/components/time-picker/src/common/picker.vue.d.ts +3 -3
  304. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  305. package/es/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  306. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +4 -4
  307. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +7 -7
  308. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +7 -7
  309. package/es/components/time-select/index.d.ts +6 -6
  310. package/es/components/time-select/src/time-select.vue.d.ts +3 -3
  311. package/es/components/tooltip/index.mjs +4 -4
  312. package/es/components/tooltip/src/content.mjs +31 -177
  313. package/es/components/tooltip/src/content.mjs.map +1 -1
  314. package/es/components/tooltip/src/content2.mjs +177 -31
  315. package/es/components/tooltip/src/content2.mjs.map +1 -1
  316. package/es/components/tooltip/src/tooltip.mjs +170 -31
  317. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  318. package/es/components/tooltip/src/tooltip2.mjs +31 -170
  319. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  320. package/es/components/tooltip/src/trigger.mjs +16 -73
  321. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  322. package/es/components/tooltip/src/trigger2.mjs +73 -16
  323. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  324. package/es/components/tooltip-v2/index.mjs +4 -4
  325. package/es/components/tooltip-v2/src/content.mjs +50 -112
  326. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  327. package/es/components/tooltip-v2/src/content2.mjs +112 -50
  328. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  329. package/es/components/tooltip-v2/src/tooltip.mjs +21 -74
  330. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  331. package/es/components/tooltip-v2/src/tooltip2.mjs +74 -21
  332. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  333. package/es/components/tooltip-v2/src/trigger.mjs +89 -12
  334. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  335. package/es/components/tooltip-v2/src/trigger2.mjs +12 -89
  336. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  337. package/es/components/transfer/index.d.ts +17 -17
  338. package/es/components/transfer/src/transfer-panel.vue.d.ts +3 -3
  339. package/es/components/transfer/src/transfer.vue.d.ts +17 -17
  340. package/es/components/tree-v2/index.d.ts +1 -1
  341. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  342. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  343. package/es/components/upload/index.mjs +1 -1
  344. package/es/components/upload/src/upload-list.mjs +26 -177
  345. package/es/components/upload/src/upload-list.mjs.map +1 -1
  346. package/es/components/upload/src/upload-list2.mjs +177 -26
  347. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  348. package/es/components/upload/src/upload2.mjs +1 -1
  349. package/es/components/visual-hidden/index.mjs +3 -3
  350. package/es/components/visual-hidden/src/visual-hidden.mjs +7 -35
  351. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  352. package/es/components/visual-hidden/src/visual-hidden2.mjs +35 -7
  353. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  354. package/es/components/week-picker/src/composables/use-basic-date-table.d.ts +3 -3
  355. package/es/components/week-picker/src/composables/use-basic-date-table.mjs +1 -1
  356. package/es/components/week-picker/src/composables/use-basic-date-table.mjs.map +1 -1
  357. package/es/components/week-picker/src/composables/use-range-picker.d.ts +1 -1
  358. package/es/components/week-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
  359. package/es/components/week-picker/src/date-picker-com/panel-week-pick.vue.d.ts +17 -17
  360. package/es/components/week-picker/src/props/panel-week-pick.d.ts +1 -1
  361. package/es/components/week-picker/src/props/shared.d.ts +1 -1
  362. package/es/components/week-picker/src/week-picker.mjs +9 -17
  363. package/es/components/week-picker/src/week-picker.mjs.map +1 -1
  364. package/es/index.mjs +40 -40
  365. package/es/utils/vue/validator.d.ts +1 -1
  366. package/lib/components/affix/index.js +2 -2
  367. package/lib/components/affix/src/affix.js +117 -27
  368. package/lib/components/affix/src/affix.js.map +1 -1
  369. package/lib/components/affix/src/affix2.js +27 -117
  370. package/lib/components/affix/src/affix2.js.map +1 -1
  371. package/lib/components/autocomplete/index.d.ts +5 -5
  372. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  373. package/lib/components/autocomplete/src/autocomplete2.js +1 -1
  374. package/lib/components/avatar/index.js +2 -2
  375. package/lib/components/avatar/src/avatar.js +33 -67
  376. package/lib/components/avatar/src/avatar.js.map +1 -1
  377. package/lib/components/avatar/src/avatar2.js +67 -33
  378. package/lib/components/avatar/src/avatar2.js.map +1 -1
  379. package/lib/components/batch/index.d.ts +3 -3
  380. package/lib/components/batch/index.js +2 -2
  381. package/lib/components/batch/src/batch.js +49 -360
  382. package/lib/components/batch/src/batch.js.map +1 -1
  383. package/lib/components/batch/src/batch.vue.d.ts +3 -3
  384. package/lib/components/batch/src/batch2.js +360 -49
  385. package/lib/components/batch/src/batch2.js.map +1 -1
  386. package/lib/components/breadcrumb/index.js +4 -4
  387. package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -56
  388. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  389. package/lib/components/breadcrumb/src/breadcrumb-item2.js +56 -11
  390. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  391. package/lib/components/breadcrumb/src/breadcrumb.js +36 -11
  392. package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
  393. package/lib/components/breadcrumb/src/breadcrumb2.js +11 -36
  394. package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
  395. package/lib/components/button/index.d.ts +1 -1
  396. package/lib/components/button/index.js +3 -3
  397. package/lib/components/button/src/button-group.js +6 -30
  398. package/lib/components/button/src/button-group.js.map +1 -1
  399. package/lib/components/button/src/button-group2.js +30 -6
  400. package/lib/components/button/src/button-group2.js.map +1 -1
  401. package/lib/components/button/src/button.js +76 -60
  402. package/lib/components/button/src/button.js.map +1 -1
  403. package/lib/components/button/src/button.vue.d.ts +1 -1
  404. package/lib/components/button/src/button2.js +60 -76
  405. package/lib/components/button/src/button2.js.map +1 -1
  406. package/lib/components/button/src/use-button.d.ts +1 -1
  407. package/lib/components/calendar/index.d.ts +1 -1
  408. package/lib/components/calendar/index.js +2 -2
  409. package/lib/components/calendar/src/calendar.js +19 -131
  410. package/lib/components/calendar/src/calendar.js.map +1 -1
  411. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  412. package/lib/components/calendar/src/calendar2.js +131 -19
  413. package/lib/components/calendar/src/calendar2.js.map +1 -1
  414. package/lib/components/calendar/src/date-table.js +37 -87
  415. package/lib/components/calendar/src/date-table.js.map +1 -1
  416. package/lib/components/calendar/src/date-table2.js +87 -37
  417. package/lib/components/calendar/src/date-table2.js.map +1 -1
  418. package/lib/components/calendar/src/use-date-table.js +1 -1
  419. package/lib/components/card/index.js +2 -2
  420. package/lib/components/card/src/card.js +43 -21
  421. package/lib/components/card/src/card.js.map +1 -1
  422. package/lib/components/card/src/card2.js +21 -43
  423. package/lib/components/card/src/card2.js.map +1 -1
  424. package/lib/components/carousel/index.js +2 -2
  425. package/lib/components/carousel/src/carousel.js +169 -57
  426. package/lib/components/carousel/src/carousel.js.map +1 -1
  427. package/lib/components/carousel/src/carousel2.js +57 -169
  428. package/lib/components/carousel/src/carousel2.js.map +1 -1
  429. package/lib/components/cascader/index.d.ts +16 -16
  430. package/lib/components/cascader/src/cascader.vue.d.ts +8 -8
  431. package/lib/components/cascader/src/cascader2.js +1 -1
  432. package/lib/components/cascader-panel/index.d.ts +2 -2
  433. package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
  434. package/lib/components/check-tag/index.js +2 -2
  435. package/lib/components/check-tag/src/check-tag.js +31 -13
  436. package/lib/components/check-tag/src/check-tag.js.map +1 -1
  437. package/lib/components/check-tag/src/check-tag2.js +13 -31
  438. package/lib/components/check-tag/src/check-tag2.js.map +1 -1
  439. package/lib/components/checkbox/index.d.ts +2 -2
  440. package/lib/components/checkbox/index.js +2 -2
  441. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  442. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  443. package/lib/components/checkbox/src/checkbox.js +117 -51
  444. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  445. package/lib/components/checkbox/src/checkbox2.js +51 -117
  446. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  447. package/lib/components/collapse/index.d.ts +1 -1
  448. package/lib/components/collapse/index.js +4 -4
  449. package/lib/components/collapse/src/collapse-item.js +14 -91
  450. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  451. package/lib/components/collapse/src/collapse-item2.js +91 -14
  452. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  453. package/lib/components/collapse/src/collapse.js +28 -19
  454. package/lib/components/collapse/src/collapse.js.map +1 -1
  455. package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
  456. package/lib/components/collapse/src/collapse2.js +19 -28
  457. package/lib/components/collapse/src/collapse2.js.map +1 -1
  458. package/lib/components/collection/index.js +1 -1
  459. package/lib/components/collection/src/collection.js +9 -62
  460. package/lib/components/collection/src/collection.js.map +1 -1
  461. package/lib/components/collection/src/collection2.js +62 -9
  462. package/lib/components/collection/src/collection2.js.map +1 -1
  463. package/lib/components/color-picker/index.d.ts +3 -3
  464. package/lib/components/color-picker/src/color-picker.vue.d.ts +3 -3
  465. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  466. package/lib/components/countdown/index.js +2 -2
  467. package/lib/components/countdown/src/countdown.js +24 -74
  468. package/lib/components/countdown/src/countdown.js.map +1 -1
  469. package/lib/components/countdown/src/countdown2.js +74 -24
  470. package/lib/components/countdown/src/countdown2.js.map +1 -1
  471. package/lib/components/date-picker/src/composables/use-basic-date-table.d.ts +3 -3
  472. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  473. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
  474. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  475. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -18
  476. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  477. package/lib/components/date-picker/src/panel-utils.d.ts +38 -38
  478. package/lib/components/date-picker/src/props/panel-date-pick.d.ts +1 -1
  479. package/lib/components/date-picker/src/props/panel-date-range.d.ts +1 -1
  480. package/lib/components/date-picker/src/props/shared.d.ts +1 -1
  481. package/lib/components/descriptions/src/description2.js +1 -1
  482. package/lib/components/descriptions/src/descriptions-row.js +7 -64
  483. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  484. package/lib/components/descriptions/src/descriptions-row2.js +64 -7
  485. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  486. package/lib/components/dialog/index.js +2 -2
  487. package/lib/components/dialog/src/dialog.js +170 -66
  488. package/lib/components/dialog/src/dialog.js.map +1 -1
  489. package/lib/components/dialog/src/dialog2.js +66 -170
  490. package/lib/components/dialog/src/dialog2.js.map +1 -1
  491. package/lib/components/drawer/index.js +2 -2
  492. package/lib/components/drawer/src/drawer.js +27 -176
  493. package/lib/components/drawer/src/drawer.js.map +1 -1
  494. package/lib/components/drawer/src/drawer2.js +176 -27
  495. package/lib/components/drawer/src/drawer2.js.map +1 -1
  496. package/lib/components/dropdown/index.js +2 -2
  497. package/lib/components/dropdown/src/dropdown-item-impl.js +3 -3
  498. package/lib/components/dropdown/src/dropdown-item.js +1 -1
  499. package/lib/components/dropdown/src/dropdown-menu.js +2 -2
  500. package/lib/components/dropdown/src/dropdown.js +106 -306
  501. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  502. package/lib/components/dropdown/src/dropdown2.js +306 -106
  503. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  504. package/lib/components/dsh-cascader/index.d.ts +24 -24
  505. package/lib/components/dsh-cascader/index.js +2 -2
  506. package/lib/components/dsh-cascader/src/dsh-cascader.js +88 -728
  507. package/lib/components/dsh-cascader/src/dsh-cascader.js.map +1 -1
  508. package/lib/components/dsh-cascader/src/dsh-cascader.vue.d.ts +12 -12
  509. package/lib/components/dsh-cascader/src/dsh-cascader2.js +728 -88
  510. package/lib/components/dsh-cascader/src/dsh-cascader2.js.map +1 -1
  511. package/lib/components/dsh-cascader-panel/index.d.ts +2 -2
  512. package/lib/components/dsh-cascader-panel/src/index.vue.d.ts +1 -1
  513. package/lib/components/dsh-select/index.d.ts +3 -3
  514. package/lib/components/dsh-select/src/option.vue.d.ts +1 -1
  515. package/lib/components/dsh-select/src/select.js +1 -1
  516. package/lib/components/dsh-select/src/select.vue.d.ts +1 -1
  517. package/lib/components/dsh-select/src/useOption.d.ts +1 -1
  518. package/lib/components/dshIndex.js +1 -1
  519. package/lib/components/form/index.js +2 -2
  520. package/lib/components/form/src/form.js +54 -147
  521. package/lib/components/form/src/form.js.map +1 -1
  522. package/lib/components/form/src/form2.js +147 -54
  523. package/lib/components/form/src/form2.js.map +1 -1
  524. package/lib/components/image/index.js +2 -2
  525. package/lib/components/image/src/image.js +61 -224
  526. package/lib/components/image/src/image.js.map +1 -1
  527. package/lib/components/image/src/image2.js +224 -61
  528. package/lib/components/image/src/image2.js.map +1 -1
  529. package/lib/components/image-viewer/index.js +2 -2
  530. package/lib/components/image-viewer/src/image-viewer.js +42 -401
  531. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  532. package/lib/components/image-viewer/src/image-viewer2.js +401 -42
  533. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  534. package/lib/components/index.js +39 -39
  535. package/lib/components/input/index.d.ts +1 -1
  536. package/lib/components/input/src/input.vue.d.ts +1 -1
  537. package/lib/components/input-number/index.d.ts +5 -5
  538. package/lib/components/input-number/index.js +2 -2
  539. package/lib/components/input-number/src/input-number.js +57 -312
  540. package/lib/components/input-number/src/input-number.js.map +1 -1
  541. package/lib/components/input-number/src/input-number.vue.d.ts +5 -5
  542. package/lib/components/input-number/src/input-number2.js +312 -57
  543. package/lib/components/input-number/src/input-number2.js.map +1 -1
  544. package/lib/components/menu/index.js +2 -2
  545. package/lib/components/menu/src/menu-item-group.js +35 -4
  546. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  547. package/lib/components/menu/src/menu-item-group2.js +4 -35
  548. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  549. package/lib/components/page-header/index.js +2 -2
  550. package/lib/components/page-header/src/page-header.js +103 -18
  551. package/lib/components/page-header/src/page-header.js.map +1 -1
  552. package/lib/components/page-header/src/page-header2.js +18 -103
  553. package/lib/components/page-header/src/page-header2.js.map +1 -1
  554. package/lib/components/pagination/src/components/jumper.js +60 -9
  555. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  556. package/lib/components/pagination/src/components/jumper.vue.d.ts +1 -1
  557. package/lib/components/pagination/src/components/jumper2.js +9 -60
  558. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  559. package/lib/components/pagination/src/components/pager.js +17 -216
  560. package/lib/components/pagination/src/components/pager.js.map +1 -1
  561. package/lib/components/pagination/src/components/pager2.js +216 -17
  562. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  563. package/lib/components/pagination/src/components/prev.js +38 -19
  564. package/lib/components/pagination/src/components/prev.js.map +1 -1
  565. package/lib/components/pagination/src/components/prev2.js +19 -38
  566. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  567. package/lib/components/pagination/src/components/sizes.js +23 -69
  568. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  569. package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -1
  570. package/lib/components/pagination/src/components/sizes2.js +69 -23
  571. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  572. package/lib/components/pagination/src/pagination.js +4 -4
  573. package/lib/components/popconfirm/index.d.ts +1 -1
  574. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  575. package/lib/components/popconfirm/src/popconfirm2.js +2 -2
  576. package/lib/components/popover/index.js +2 -2
  577. package/lib/components/popover/src/popover.js +111 -67
  578. package/lib/components/popover/src/popover.js.map +1 -1
  579. package/lib/components/popover/src/popover2.js +67 -111
  580. package/lib/components/popover/src/popover2.js.map +1 -1
  581. package/lib/components/popper/index.js +4 -4
  582. package/lib/components/popper/src/content.js +99 -137
  583. package/lib/components/popper/src/content.js.map +1 -1
  584. package/lib/components/popper/src/content2.js +137 -99
  585. package/lib/components/popper/src/content2.js.map +1 -1
  586. package/lib/components/popper/src/popper.js +32 -28
  587. package/lib/components/popper/src/popper.js.map +1 -1
  588. package/lib/components/popper/src/popper2.js +28 -32
  589. package/lib/components/popper/src/popper2.js.map +1 -1
  590. package/lib/components/progress/index.js +2 -2
  591. package/lib/components/progress/src/progress.js +59 -205
  592. package/lib/components/progress/src/progress.js.map +1 -1
  593. package/lib/components/progress/src/progress2.js +205 -59
  594. package/lib/components/progress/src/progress2.js.map +1 -1
  595. package/lib/components/radio/index.d.ts +3 -3
  596. package/lib/components/radio/src/radio-group.vue.d.ts +1 -1
  597. package/lib/components/radio/src/radio.vue.d.ts +1 -1
  598. package/lib/components/radio/src/use-radio.d.ts +1 -1
  599. package/lib/components/rate/index.d.ts +1 -1
  600. package/lib/components/rate/src/rate.vue.d.ts +1 -1
  601. package/lib/components/roving-focus-group/index.js +2 -2
  602. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  603. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
  604. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  605. package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
  606. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  607. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  608. package/lib/components/row/index.js +2 -2
  609. package/lib/components/row/src/row.js +45 -31
  610. package/lib/components/row/src/row.js.map +1 -1
  611. package/lib/components/row/src/row2.js +31 -45
  612. package/lib/components/row/src/row2.js.map +1 -1
  613. package/lib/components/scrollbar/index.js +1 -1
  614. package/lib/components/scrollbar/src/bar.js +42 -17
  615. package/lib/components/scrollbar/src/bar.js.map +1 -1
  616. package/lib/components/scrollbar/src/bar2.js +17 -42
  617. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  618. package/lib/components/scrollbar/src/scrollbar2.js +1 -1
  619. package/lib/components/scrollbar/src/thumb.js +11 -130
  620. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  621. package/lib/components/scrollbar/src/thumb2.js +130 -11
  622. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  623. package/lib/components/select/index.d.ts +1 -1
  624. package/lib/components/select/src/select.js +1 -1
  625. package/lib/components/select/src/select.vue.d.ts +1 -1
  626. package/lib/components/select-v2/index.d.ts +2 -2
  627. package/lib/components/select-v2/src/defaults.js +1 -1
  628. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  629. package/lib/components/skeleton/index.js +4 -4
  630. package/lib/components/skeleton/src/skeleton-item.js +23 -18
  631. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  632. package/lib/components/skeleton/src/skeleton-item2.js +18 -23
  633. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  634. package/lib/components/skeleton/src/skeleton.js +49 -22
  635. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  636. package/lib/components/skeleton/src/skeleton2.js +22 -49
  637. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  638. package/lib/components/slider/index.d.ts +6 -6
  639. package/lib/components/slider/src/slider.vue.d.ts +6 -6
  640. package/lib/components/statistic/index.js +2 -2
  641. package/lib/components/statistic/src/statistic.js +25 -70
  642. package/lib/components/statistic/src/statistic.js.map +1 -1
  643. package/lib/components/statistic/src/statistic2.js +70 -25
  644. package/lib/components/statistic/src/statistic2.js.map +1 -1
  645. package/lib/components/switch/index.d.ts +1 -1
  646. package/lib/components/switch/index.js +2 -2
  647. package/lib/components/switch/src/switch.js +98 -263
  648. package/lib/components/switch/src/switch.js.map +1 -1
  649. package/lib/components/switch/src/switch.vue.d.ts +1 -1
  650. package/lib/components/switch/src/switch2.js +263 -98
  651. package/lib/components/switch/src/switch2.js.map +1 -1
  652. package/lib/components/teleport/index.js +2 -2
  653. package/lib/components/teleport/src/teleport.js +44 -18
  654. package/lib/components/teleport/src/teleport.js.map +1 -1
  655. package/lib/components/teleport/src/teleport2.js +18 -44
  656. package/lib/components/teleport/src/teleport2.js.map +1 -1
  657. package/lib/components/text/index.js +2 -2
  658. package/lib/components/text/src/text.js +38 -24
  659. package/lib/components/text/src/text.js.map +1 -1
  660. package/lib/components/text/src/text2.js +24 -38
  661. package/lib/components/text/src/text2.js.map +1 -1
  662. package/lib/components/time-picker/src/common/picker.vue.d.ts +3 -3
  663. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  664. package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  665. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +4 -4
  666. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +7 -7
  667. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +7 -7
  668. package/lib/components/time-select/index.d.ts +6 -6
  669. package/lib/components/time-select/src/time-select.vue.d.ts +3 -3
  670. package/lib/components/tooltip/index.js +4 -4
  671. package/lib/components/tooltip/src/content.js +31 -177
  672. package/lib/components/tooltip/src/content.js.map +1 -1
  673. package/lib/components/tooltip/src/content2.js +177 -31
  674. package/lib/components/tooltip/src/content2.js.map +1 -1
  675. package/lib/components/tooltip/src/tooltip.js +169 -34
  676. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  677. package/lib/components/tooltip/src/tooltip2.js +34 -169
  678. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  679. package/lib/components/tooltip/src/trigger.js +16 -73
  680. package/lib/components/tooltip/src/trigger.js.map +1 -1
  681. package/lib/components/tooltip/src/trigger2.js +73 -16
  682. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  683. package/lib/components/tooltip-v2/index.js +4 -4
  684. package/lib/components/tooltip-v2/src/content.js +50 -112
  685. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  686. package/lib/components/tooltip-v2/src/content2.js +112 -50
  687. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  688. package/lib/components/tooltip-v2/src/tooltip.js +21 -74
  689. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  690. package/lib/components/tooltip-v2/src/tooltip2.js +74 -21
  691. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  692. package/lib/components/tooltip-v2/src/trigger.js +89 -12
  693. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  694. package/lib/components/tooltip-v2/src/trigger2.js +12 -89
  695. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  696. package/lib/components/transfer/index.d.ts +17 -17
  697. package/lib/components/transfer/src/transfer-panel.vue.d.ts +3 -3
  698. package/lib/components/transfer/src/transfer.vue.d.ts +17 -17
  699. package/lib/components/tree-v2/index.d.ts +1 -1
  700. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  701. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  702. package/lib/components/upload/index.js +1 -1
  703. package/lib/components/upload/src/upload-list.js +27 -177
  704. package/lib/components/upload/src/upload-list.js.map +1 -1
  705. package/lib/components/upload/src/upload-list2.js +177 -27
  706. package/lib/components/upload/src/upload-list2.js.map +1 -1
  707. package/lib/components/upload/src/upload2.js +1 -1
  708. package/lib/components/visual-hidden/index.js +2 -2
  709. package/lib/components/visual-hidden/src/visual-hidden.js +7 -35
  710. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  711. package/lib/components/visual-hidden/src/visual-hidden2.js +35 -7
  712. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  713. package/lib/components/week-picker/src/composables/use-basic-date-table.d.ts +3 -3
  714. package/lib/components/week-picker/src/composables/use-basic-date-table.js +1 -1
  715. package/lib/components/week-picker/src/composables/use-basic-date-table.js.map +1 -1
  716. package/lib/components/week-picker/src/composables/use-range-picker.d.ts +1 -1
  717. package/lib/components/week-picker/src/date-picker-com/basic-date-table.vue.d.ts +3 -3
  718. package/lib/components/week-picker/src/date-picker-com/panel-week-pick.vue.d.ts +17 -17
  719. package/lib/components/week-picker/src/props/panel-week-pick.d.ts +1 -1
  720. package/lib/components/week-picker/src/props/shared.d.ts +1 -1
  721. package/lib/components/week-picker/src/week-picker.js +8 -16
  722. package/lib/components/week-picker/src/week-picker.js.map +1 -1
  723. package/lib/index.js +40 -40
  724. package/lib/utils/vue/validator.d.ts +1 -1
  725. package/package.json +1 -1
@@ -53,7 +53,7 @@ export declare const useBasicDateTable: (props: BasicDateTableProps, emit: Setup
53
53
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
54
54
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
55
55
  format: (template?: string | undefined) => string;
56
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
56
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
57
57
  valueOf: () => number;
58
58
  unix: () => number;
59
59
  daysInMonth: () => number;
@@ -189,7 +189,7 @@ export declare const useBasicDateTable: (props: BasicDateTableProps, emit: Setup
189
189
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
190
190
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
191
191
  format: (template?: string | undefined) => string;
192
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
192
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
193
193
  valueOf: () => number;
194
194
  unix: () => number;
195
195
  daysInMonth: () => number;
@@ -218,7 +218,7 @@ export declare const useBasicDateTable: (props: BasicDateTableProps, emit: Setup
218
218
  isSameOrAfter: (date: string | number | Date | dayjs.Dayjs | null | undefined, unit?: dayjs.OpUnitType | undefined) => boolean;
219
219
  isSameOrBefore: (date: string | number | Date | dayjs.Dayjs | null | undefined, unit?: dayjs.OpUnitType | undefined) => boolean;
220
220
  } | undefined;
221
- type?: ("normal" | "week" | "today" | "prev-month" | "next-month") | undefined;
221
+ type?: ("week" | "normal" | "today" | "prev-month" | "next-month") | undefined;
222
222
  }[][]>;
223
223
  tbodyRef: import("vue").Ref<HTMLElement | undefined>;
224
224
  currentCellRef: import("vue").Ref<HTMLElement | undefined>;
@@ -26,7 +26,7 @@ const useBasicDateTable = (props, emit) => {
26
26
  const lastColumn = ref();
27
27
  const tableRows = ref([[], [], [], [], [], []]);
28
28
  let focusWithClick = false;
29
- const firstDayOfWeek = props.date.$locale().weekStart || 7;
29
+ const firstDayOfWeek = props.weekStart || props.date.$locale().weekStart || 7;
30
30
  const WEEKS_CONSTANT = props.date.locale("en").localeData().weekdaysShort().map((_) => _.toLowerCase());
31
31
  const offsetDay = computed(() => {
32
32
  return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;
@@ -1 +1 @@
1
- {"version":3,"file":"use-basic-date-table.mjs","sources":["../../../../../../../packages/components/week-picker/src/composables/use-basic-date-table.ts"],"sourcesContent":["import { computed, nextTick, ref, unref, watch } from 'vue'\nimport dayjs from 'dayjs'\nimport { flatten } from 'lodash-unified'\nimport updateLocale from 'dayjs/plugin/updateLocale'\nimport { useLocale, useNamespace } from '@code-monkey-ui/hooks'\nimport { castArray } from '@code-monkey-ui/utils'\nimport { buildPickerTable } from '../utils'\n\nimport type { SetupContext } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type { DateCell } from '../date-picker.type'\nimport type {\n BasicDateTableEmits,\n BasicDateTableProps,\n} from '../props/basic-date-table'\n\nconst isNormalDay = (type = '') => {\n return ['normal', 'today'].includes(type)\n}\n\nexport const useBasicDateTable = (\n props: BasicDateTableProps,\n emit: SetupContext<BasicDateTableEmits>['emit']\n) => {\n const { lang } = useLocale()\n const tbodyRef = ref<HTMLElement>()\n const currentCellRef = ref<HTMLElement>()\n if (props.weekStart) {\n dayjs.extend(updateLocale)\n dayjs.updateLocale(lang.value, {\n weekStart: props.weekStart,\n })\n }\n\n // data\n const lastRow = ref<number>()\n const lastColumn = ref<number>()\n const tableRows = ref<DateCell[][]>([[], [], [], [], [], []])\n\n let focusWithClick = false\n\n // todo better way to get Day.js locale object\n const firstDayOfWeek = (props.date as any).$locale().weekStart || 7\n const WEEKS_CONSTANT = props.date\n .locale('en')\n .localeData()\n .weekdaysShort()\n .map((_) => _.toLowerCase())\n\n const offsetDay = computed(() => {\n // Sunday 7(0), cal the left and right offset days, 3217654, such as Monday is -1, the is to adjust the position of the first two rows of dates\n return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek\n })\n\n const startDate = computed(() => {\n const startDayOfMonth = props.date.startOf('month')\n const monthStartDay = startDayOfMonth.day()\n const daysToSubtract = (monthStartDay - firstDayOfWeek + 7) % 7\n return startDayOfMonth.subtract(daysToSubtract, 'day')\n })\n\n const WEEKS = computed(() => {\n return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(\n firstDayOfWeek,\n firstDayOfWeek + 7\n )\n })\n\n const hasCurrent = computed<boolean>(() => {\n return flatten(unref(rows)).some((row) => {\n return row.isCurrent\n })\n })\n\n const days = computed(() => {\n const startOfMonth = props.date.startOf('month')\n const startOfMonthDay = startOfMonth.day() || 7 // day of first day\n const dateCountOfMonth = startOfMonth.daysInMonth()\n\n const dateCountOfLastMonth = startOfMonth.subtract(1, 'month').daysInMonth()\n\n return {\n startOfMonthDay,\n dateCountOfMonth,\n dateCountOfLastMonth,\n }\n })\n\n const selectedDate = computed(() => {\n return props.selectionMode === 'dates'\n ? (castArray(props.parsedValue) as Dayjs[])\n : ([] as Dayjs[])\n })\n\n // Return value indicates should the counter be incremented\n type CellCoordinate = { columnIndex: number; rowIndex: number }\n type CellMeta = CellCoordinate & {\n count: number\n }\n const setDateText = (\n cell: DateCell,\n { count, rowIndex, columnIndex }: CellMeta\n ): boolean => {\n const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } =\n unref(days)\n const offset = unref(offsetDay)\n if (rowIndex >= 0 && rowIndex <= 1) {\n const numberOfDaysFromPreviousMonth =\n startOfMonthDay + offset < 0\n ? 7 + startOfMonthDay + offset\n : startOfMonthDay + offset\n\n if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n cell.text = count\n return true\n } else {\n cell.text =\n dateCountOfLastMonth -\n (numberOfDaysFromPreviousMonth - (columnIndex % 7)) +\n 1 +\n rowIndex * 7\n cell.type = 'prev-month'\n }\n } else {\n if (count <= dateCountOfMonth) {\n cell.text = count\n } else {\n cell.text = count - dateCountOfMonth\n cell.type = 'next-month'\n }\n return true\n }\n return false\n }\n\n const setCellMetadata = (\n cell: DateCell,\n { columnIndex, rowIndex }: CellCoordinate,\n count: number\n ) => {\n const { disabledDate, cellClassName } = props\n const _selectedDate = unref(selectedDate)\n const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex })\n\n const cellDate = cell.dayjs!.toDate()\n cell.selected = _selectedDate.find(\n (d) => d.valueOf() === cell.dayjs!.valueOf()\n )\n cell.isSelected = !!cell.selected\n cell.isCurrent = isCurrent(cell)\n cell.disabled = disabledDate?.(cellDate)\n cell.customClass = cellClassName?.(cellDate)\n return shouldIncrement\n }\n\n const setRowMetadata = (row: DateCell[]) => {\n if (props.selectionMode === 'week') {\n const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6]\n const isActive = isWeekActive(row[start + 1])\n row[start].inRange = isActive\n row[start].start = isActive\n row[end].inRange = isActive\n row[end].end = isActive\n }\n }\n\n const rows = computed(() => {\n const { minDate, maxDate, rangeState, showWeekNumber } = props\n\n const rows_ = unref(tableRows)\n const dateUnit = 'day'\n let count = 1\n\n if (showWeekNumber) {\n for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n if (!rows_[rowIndex][0]) {\n rows_[rowIndex][0] = {\n type: 'week',\n text: unref(startDate)\n .add(rowIndex * 7 + 1, dateUnit)\n .week(),\n }\n }\n }\n }\n\n buildPickerTable({ row: 6, column: 7 }, rows_, {\n startDate: minDate,\n columnIndexOffset: showWeekNumber ? 1 : 0,\n nextEndDate:\n rangeState.endDate ||\n maxDate ||\n (rangeState.selecting && minDate) ||\n null,\n now: dayjs().locale(unref(lang)).startOf(dateUnit),\n unit: dateUnit,\n relativeDateGetter: (idx: number) => unref(startDate).add(idx, dateUnit),\n setCellMetadata: (...args) => {\n if (setCellMetadata(...args, count)) {\n count += 1\n }\n },\n\n setRowMetadata,\n })\n\n return rows_\n })\n\n watch(\n () => props.date,\n async () => {\n if (unref(tbodyRef)?.contains(document.activeElement)) {\n await nextTick()\n await focus()\n // currentCellRef.value?.focus()\n }\n }\n )\n\n const focus = async () => unref(currentCellRef)?.focus()\n\n const isCurrent = (cell: DateCell): boolean => {\n return (\n props.selectionMode === 'date' &&\n isNormalDay(cell.type) &&\n cellMatchesDate(cell, props.parsedValue as Dayjs)\n )\n }\n\n const cellMatchesDate = (cell: DateCell, date: Dayjs) => {\n if (!date) return false\n return dayjs(date)\n .locale(unref(lang))\n .isSame(props.date.date(Number(cell.text)), 'day')\n }\n\n const getDateOfCell = (row: number, column: number) => {\n const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0))\n return unref(startDate).add(offsetFromStart, 'day')\n }\n\n const handleMouseMove = (event: MouseEvent) => {\n if (!props.rangeState.selecting) return\n\n let target = event.target as HTMLElement\n if (target.tagName === 'SPAN') {\n target = target.parentNode?.parentNode as HTMLElement\n }\n if (target.tagName === 'DIV') {\n target = target.parentNode as HTMLElement\n }\n if (target.tagName !== 'TD') return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n\n // can not select disabled date\n if (unref(rows)[row][column].disabled) return\n\n // only update rangeState when mouse moves to a new cell\n // this avoids frequent Date object creation and improves performance\n if (row !== unref(lastRow) || column !== unref(lastColumn)) {\n lastRow.value = row\n lastColumn.value = column\n emit('changerange', {\n selecting: true,\n endDate: getDateOfCell(row, column),\n })\n }\n }\n\n const isSelectedCell = (cell: DateCell) => {\n return (\n (!unref(hasCurrent) && cell?.text === 1 && cell.type === 'normal') ||\n cell.isCurrent\n )\n }\n\n const handleFocus = (event: FocusEvent) => {\n if (focusWithClick || unref(hasCurrent) || props.selectionMode !== 'date')\n return\n handlePickDate(event, true)\n }\n\n const handleMouseDown = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = true\n }\n\n const handleMouseUp = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = false\n }\n\n const handleWeekPick = (newDate: Dayjs, row: number, column: number) => {\n const weekNumber = newDate.week()\n const value = `${newDate.year()}w${weekNumber}`\n emit('pick', {\n year: newDate.year(),\n week: weekNumber,\n value,\n date: rows.value[row][0].dayjs,\n })\n }\n\n const handlePickDate = (\n event: FocusEvent | MouseEvent,\n isKeyboardMovement = false\n ) => {\n const target = (event.target as HTMLElement).closest('td')\n\n if (!target) return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n const cell = unref(rows)[row][column]\n\n if (cell.disabled || cell.type === 'week') return\n\n const newDate = getDateOfCell(row, column)\n\n switch (props.selectionMode) {\n case 'week': {\n handleWeekPick(newDate, row, column)\n break\n }\n default: {\n break\n }\n }\n }\n\n const isWeekActive = (cell: DateCell) => {\n if (props.selectionMode !== 'week') return false\n let newDate = props.date.startOf('day')\n\n if (cell.type === 'prev-month') {\n newDate = newDate.subtract(1, 'month')\n }\n\n if (cell.type === 'next-month') {\n newDate = newDate.add(1, 'month')\n }\n\n newDate = newDate.date(Number.parseInt(cell.text as any, 10))\n\n if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n const dayOffset = ((props.parsedValue.day() - firstDayOfWeek + 7) % 7) - 1\n const weekDate = props.parsedValue.subtract(dayOffset, 'day')\n return weekDate.isSame(newDate, 'day')\n }\n return false\n }\n\n return {\n WEEKS,\n rows,\n tbodyRef,\n currentCellRef,\n\n // cellMatchesDate,\n // getDateOfCell,\n focus,\n isCurrent,\n isWeekActive,\n isSelectedCell,\n\n handlePickDate,\n handleMouseUp,\n handleMouseDown,\n handleMouseMove,\n handleFocus,\n }\n}\n\nexport const useBasicDateTableDOM = (\n props: BasicDateTableProps,\n {\n isCurrent,\n isWeekActive,\n }: Pick<ReturnType<typeof useBasicDateTable>, 'isCurrent' | 'isWeekActive'>\n) => {\n const ns = useNamespace('date-table')\n const { t } = useLocale()\n\n const tableKls = computed(() => [\n ns.b(),\n { 'is-week-mode': props.selectionMode === 'week' },\n ])\n\n const tableLabel = computed(() => t('el.datepicker.dateTablePrompt'))\n const weekLabel = computed(() => t('el.datepicker.week'))\n\n const getCellClasses = (cell: DateCell) => {\n const classes: string[] = []\n if (isNormalDay(cell.type) && !cell.disabled) {\n classes.push('available')\n if (cell.type === 'today') {\n classes.push('today')\n }\n } else {\n classes.push(cell.type!)\n }\n\n if (isCurrent(cell)) {\n classes.push('current')\n }\n\n if (\n cell.inRange &&\n (isNormalDay(cell.type) || props.selectionMode === 'week')\n ) {\n classes.push('in-range')\n\n if (cell.start) {\n classes.push('start-date')\n }\n\n if (cell.end) {\n classes.push('end-date')\n }\n }\n\n if (cell.disabled) {\n classes.push('disabled')\n }\n\n if (cell.selected) {\n classes.push('selected')\n }\n\n if (cell.customClass) {\n classes.push(cell.customClass)\n }\n\n return classes.join(' ')\n }\n\n const getRowKls = (cell: DateCell) => [\n ns.e('row'),\n { current: isWeekActive(cell) },\n ]\n\n return {\n tableKls,\n tableLabel,\n weekLabel,\n\n getCellClasses,\n getRowKls,\n t,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAOA,MAAM,WAAW,GAAG,CAAC,IAAI,GAAG,EAAE,KAAK;AACnC,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC;AACU,MAAC,iBAAiB,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,CAAC;AAC/B,EAAE,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC;AACzB,EAAE,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC;AAC/B,EAAE,IAAI,KAAK,CAAC,SAAS,EAAE;AACvB,IAAI,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAC/B,IAAI,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE;AACnC,MAAM,SAAS,EAAE,KAAK,CAAC,SAAS;AAChC,KAAK,CAAC,CAAC;AACP,GAAG;AACH,EAAE,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC;AACxB,EAAE,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC;AAC3B,EAAE,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAClD,EAAE,IAAI,cAAc,GAAG,KAAK,CAAC;AAC7B,EAAE,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,C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AG,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"use-basic-date-table.mjs","sources":["../../../../../../../packages/components/week-picker/src/composables/use-basic-date-table.ts"],"sourcesContent":["import { computed, nextTick, ref, unref, watch } from 'vue'\nimport dayjs from 'dayjs'\nimport { flatten } from 'lodash-unified'\nimport updateLocale from 'dayjs/plugin/updateLocale'\nimport { useLocale, useNamespace } from '@code-monkey-ui/hooks'\nimport { castArray } from '@code-monkey-ui/utils'\nimport { buildPickerTable } from '../utils'\n\nimport type { SetupContext } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type { DateCell } from '../date-picker.type'\nimport type {\n BasicDateTableEmits,\n BasicDateTableProps,\n} from '../props/basic-date-table'\n\nconst isNormalDay = (type = '') => {\n return ['normal', 'today'].includes(type)\n}\n\nexport const useBasicDateTable = (\n props: BasicDateTableProps,\n emit: SetupContext<BasicDateTableEmits>['emit']\n) => {\n const { lang } = useLocale()\n const tbodyRef = ref<HTMLElement>()\n const currentCellRef = ref<HTMLElement>()\n if (props.weekStart) {\n dayjs.extend(updateLocale)\n dayjs.updateLocale(lang.value, {\n weekStart: props.weekStart,\n })\n }\n\n // data\n const lastRow = ref<number>()\n const lastColumn = ref<number>()\n const tableRows = ref<DateCell[][]>([[], [], [], [], [], []])\n\n let focusWithClick = false\n\n // todo better way to get Day.js locale object\n const firstDayOfWeek =\n props.weekStart || (props.date as any).$locale().weekStart || 7\n const WEEKS_CONSTANT = props.date\n .locale('en')\n .localeData()\n .weekdaysShort()\n .map((_) => _.toLowerCase())\n\n const offsetDay = computed(() => {\n // Sunday 7(0), cal the left and right offset days, 3217654, such as Monday is -1, the is to adjust the position of the first two rows of dates\n return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek\n })\n\n const startDate = computed(() => {\n const startDayOfMonth = props.date.startOf('month')\n const monthStartDay = startDayOfMonth.day()\n const daysToSubtract = (monthStartDay - firstDayOfWeek + 7) % 7\n return startDayOfMonth.subtract(daysToSubtract, 'day')\n })\n\n const WEEKS = computed(() => {\n return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(\n firstDayOfWeek,\n firstDayOfWeek + 7\n )\n })\n\n const hasCurrent = computed<boolean>(() => {\n return flatten(unref(rows)).some((row) => {\n return row.isCurrent\n })\n })\n\n const days = computed(() => {\n const startOfMonth = props.date.startOf('month')\n const startOfMonthDay = startOfMonth.day() || 7 // day of first day\n const dateCountOfMonth = startOfMonth.daysInMonth()\n\n const dateCountOfLastMonth = startOfMonth.subtract(1, 'month').daysInMonth()\n\n return {\n startOfMonthDay,\n dateCountOfMonth,\n dateCountOfLastMonth,\n }\n })\n\n const selectedDate = computed(() => {\n return props.selectionMode === 'dates'\n ? (castArray(props.parsedValue) as Dayjs[])\n : ([] as Dayjs[])\n })\n\n // Return value indicates should the counter be incremented\n type CellCoordinate = { columnIndex: number; rowIndex: number }\n type CellMeta = CellCoordinate & {\n count: number\n }\n const setDateText = (\n cell: DateCell,\n { count, rowIndex, columnIndex }: CellMeta\n ): boolean => {\n const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } =\n unref(days)\n const offset = unref(offsetDay)\n if (rowIndex >= 0 && rowIndex <= 1) {\n const numberOfDaysFromPreviousMonth =\n startOfMonthDay + offset < 0\n ? 7 + startOfMonthDay + offset\n : startOfMonthDay + offset\n\n if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n cell.text = count\n return true\n } else {\n cell.text =\n dateCountOfLastMonth -\n (numberOfDaysFromPreviousMonth - (columnIndex % 7)) +\n 1 +\n rowIndex * 7\n cell.type = 'prev-month'\n }\n } else {\n if (count <= dateCountOfMonth) {\n cell.text = count\n } else {\n cell.text = count - dateCountOfMonth\n cell.type = 'next-month'\n }\n return true\n }\n return false\n }\n\n const setCellMetadata = (\n cell: DateCell,\n { columnIndex, rowIndex }: CellCoordinate,\n count: number\n ) => {\n const { disabledDate, cellClassName } = props\n const _selectedDate = unref(selectedDate)\n const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex })\n\n const cellDate = cell.dayjs!.toDate()\n cell.selected = _selectedDate.find(\n (d) => d.valueOf() === cell.dayjs!.valueOf()\n )\n cell.isSelected = !!cell.selected\n cell.isCurrent = isCurrent(cell)\n cell.disabled = disabledDate?.(cellDate)\n cell.customClass = cellClassName?.(cellDate)\n return shouldIncrement\n }\n\n const setRowMetadata = (row: DateCell[]) => {\n if (props.selectionMode === 'week') {\n const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6]\n const isActive = isWeekActive(row[start + 1])\n row[start].inRange = isActive\n row[start].start = isActive\n row[end].inRange = isActive\n row[end].end = isActive\n }\n }\n\n const rows = computed(() => {\n const { minDate, maxDate, rangeState, showWeekNumber } = props\n\n const rows_ = unref(tableRows)\n const dateUnit = 'day'\n let count = 1\n\n if (showWeekNumber) {\n for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n if (!rows_[rowIndex][0]) {\n rows_[rowIndex][0] = {\n type: 'week',\n text: unref(startDate)\n .add(rowIndex * 7 + 1, dateUnit)\n .week(),\n }\n }\n }\n }\n\n buildPickerTable({ row: 6, column: 7 }, rows_, {\n startDate: minDate,\n columnIndexOffset: showWeekNumber ? 1 : 0,\n nextEndDate:\n rangeState.endDate ||\n maxDate ||\n (rangeState.selecting && minDate) ||\n null,\n now: dayjs().locale(unref(lang)).startOf(dateUnit),\n unit: dateUnit,\n relativeDateGetter: (idx: number) => unref(startDate).add(idx, dateUnit),\n setCellMetadata: (...args) => {\n if (setCellMetadata(...args, count)) {\n count += 1\n }\n },\n\n setRowMetadata,\n })\n\n return rows_\n })\n\n watch(\n () => props.date,\n async () => {\n if (unref(tbodyRef)?.contains(document.activeElement)) {\n await nextTick()\n await focus()\n // currentCellRef.value?.focus()\n }\n }\n )\n\n const focus = async () => unref(currentCellRef)?.focus()\n\n const isCurrent = (cell: DateCell): boolean => {\n return (\n props.selectionMode === 'date' &&\n isNormalDay(cell.type) &&\n cellMatchesDate(cell, props.parsedValue as Dayjs)\n )\n }\n\n const cellMatchesDate = (cell: DateCell, date: Dayjs) => {\n if (!date) return false\n return dayjs(date)\n .locale(unref(lang))\n .isSame(props.date.date(Number(cell.text)), 'day')\n }\n\n const getDateOfCell = (row: number, column: number) => {\n const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0))\n return unref(startDate).add(offsetFromStart, 'day')\n }\n\n const handleMouseMove = (event: MouseEvent) => {\n if (!props.rangeState.selecting) return\n\n let target = event.target as HTMLElement\n if (target.tagName === 'SPAN') {\n target = target.parentNode?.parentNode as HTMLElement\n }\n if (target.tagName === 'DIV') {\n target = target.parentNode as HTMLElement\n }\n if (target.tagName !== 'TD') return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n\n // can not select disabled date\n if (unref(rows)[row][column].disabled) return\n\n // only update rangeState when mouse moves to a new cell\n // this avoids frequent Date object creation and improves performance\n if (row !== unref(lastRow) || column !== unref(lastColumn)) {\n lastRow.value = row\n lastColumn.value = column\n emit('changerange', {\n selecting: true,\n endDate: getDateOfCell(row, column),\n })\n }\n }\n\n const isSelectedCell = (cell: DateCell) => {\n return (\n (!unref(hasCurrent) && cell?.text === 1 && cell.type === 'normal') ||\n cell.isCurrent\n )\n }\n\n const handleFocus = (event: FocusEvent) => {\n if (focusWithClick || unref(hasCurrent) || props.selectionMode !== 'date')\n return\n handlePickDate(event, true)\n }\n\n const handleMouseDown = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = true\n }\n\n const handleMouseUp = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = false\n }\n\n const handleWeekPick = (newDate: Dayjs, row: number, column: number) => {\n const weekNumber = newDate.week()\n const value = `${newDate.year()}w${weekNumber}`\n emit('pick', {\n year: newDate.year(),\n week: weekNumber,\n value,\n date: rows.value[row][0].dayjs,\n })\n }\n\n const handlePickDate = (\n event: FocusEvent | MouseEvent,\n isKeyboardMovement = false\n ) => {\n const target = (event.target as HTMLElement).closest('td')\n\n if (!target) return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n const cell = unref(rows)[row][column]\n\n if (cell.disabled || cell.type === 'week') return\n\n const newDate = getDateOfCell(row, column)\n\n switch (props.selectionMode) {\n case 'week': {\n handleWeekPick(newDate, row, column)\n break\n }\n default: {\n break\n }\n }\n }\n\n const isWeekActive = (cell: DateCell) => {\n if (props.selectionMode !== 'week') return false\n let newDate = props.date.startOf('day')\n\n if (cell.type === 'prev-month') {\n newDate = newDate.subtract(1, 'month')\n }\n\n if (cell.type === 'next-month') {\n newDate = newDate.add(1, 'month')\n }\n\n newDate = newDate.date(Number.parseInt(cell.text as any, 10))\n\n if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n const dayOffset = ((props.parsedValue.day() - firstDayOfWeek + 7) % 7) - 1\n const weekDate = props.parsedValue.subtract(dayOffset, 'day')\n return weekDate.isSame(newDate, 'day')\n }\n return false\n }\n\n return {\n WEEKS,\n rows,\n tbodyRef,\n currentCellRef,\n\n // cellMatchesDate,\n // getDateOfCell,\n focus,\n isCurrent,\n isWeekActive,\n isSelectedCell,\n\n handlePickDate,\n handleMouseUp,\n handleMouseDown,\n handleMouseMove,\n handleFocus,\n }\n}\n\nexport const useBasicDateTableDOM = (\n props: BasicDateTableProps,\n {\n isCurrent,\n isWeekActive,\n }: Pick<ReturnType<typeof useBasicDateTable>, 'isCurrent' | 'isWeekActive'>\n) => {\n const ns = useNamespace('date-table')\n const { t } = useLocale()\n\n const tableKls = computed(() => [\n ns.b(),\n { 'is-week-mode': props.selectionMode === 'week' },\n ])\n\n const tableLabel = computed(() => t('el.datepicker.dateTablePrompt'))\n const weekLabel = computed(() => t('el.datepicker.week'))\n\n const getCellClasses = (cell: DateCell) => {\n const classes: string[] = []\n if (isNormalDay(cell.type) && !cell.disabled) {\n classes.push('available')\n if (cell.type === 'today') {\n classes.push('today')\n }\n } else {\n classes.push(cell.type!)\n }\n\n if (isCurrent(cell)) {\n classes.push('current')\n }\n\n if (\n cell.inRange &&\n (isNormalDay(cell.type) || props.selectionMode === 'week')\n ) {\n classes.push('in-range')\n\n if (cell.start) {\n classes.push('start-date')\n }\n\n if (cell.end) {\n classes.push('end-date')\n }\n }\n\n if (cell.disabled) {\n classes.push('disabled')\n }\n\n if (cell.selected) {\n classes.push('selected')\n }\n\n if (cell.customClass) {\n classes.push(cell.customClass)\n }\n\n return classes.join(' ')\n }\n\n const getRowKls = (cell: DateCell) => [\n ns.e('row'),\n { current: isWeekActive(cell) },\n ]\n\n return {\n tableKls,\n tableLabel,\n weekLabel,\n\n getCellClasses,\n getRowKls,\n t,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAOA,MAAM,WAAW,GAAG,CAAC,IAAI,GAAG,EAAE,KAAK;AACnC,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC;AACU,MAAC,iBAAiB,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,CAAC;AAC/B,EAAE,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC;AACzB,EAAE,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC;AAC/B,EAAE,IAAI,KAAK,CAAC,SAAS,EAAE;AACvB,IAAI,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAC/B,IAAI,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE;AACnC,MAAM,SAAS,EAAE,KAAK,CAAC,SAAS;AAChC,KAAK,CAAC,CAAC;AACP,GAAG;AACH,EAAE,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC;AACxB,EAAE,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC;AAC3B,EAAE,MAAM,SAAS,GAAG,GAA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,CAAC;AACf,IAAI,EAAE,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE;AACnC,GAAG,CAAC;AACJ,EAAE,OAAO;AACT,IAAI,QAAQ;AACZ,IAAI,UAAU;AACd,IAAI,SAAS;AACb,IAAI,cAAc;AAClB,IAAI,SAAS;AACb,IAAI,CAAC;AACL,GAAG,CAAC;AACJ;;;;"}
@@ -55,7 +55,7 @@ export declare const useRangePicker: (props: PanelRangeSharedProps, { defaultVal
55
55
  startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
56
56
  endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
57
57
  format: (template?: string | undefined) => string;
58
- diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
58
+ diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
59
59
  valueOf: () => number;
60
60
  unix: () => number;
61
61
  daysInMonth: () => number;
@@ -141,7 +141,7 @@ declare const _default: import("vue").DefineComponent<{
141
141
  startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
142
142
  endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
143
143
  format: (template?: string | undefined) => string;
144
- diff: (date?: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
144
+ diff: (date?: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
145
145
  valueOf: () => number;
146
146
  unix: () => number;
147
147
  daysInMonth: () => number;
@@ -277,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
277
277
  startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
278
278
  endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
279
279
  format: (template?: string | undefined) => string;
280
- diff: (date?: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
280
+ diff: (date?: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
281
281
  valueOf: () => number;
282
282
  unix: () => number;
283
283
  daysInMonth: () => number;
@@ -306,7 +306,7 @@ declare const _default: import("vue").DefineComponent<{
306
306
  isSameOrAfter: (date: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: import("dayjs").OpUnitType | undefined) => boolean;
307
307
  isSameOrBefore: (date: string | number | Date | import("dayjs").Dayjs | null | undefined, unit?: import("dayjs").OpUnitType | undefined) => boolean;
308
308
  } | undefined;
309
- type?: ("normal" | "week" | "today" | "prev-month" | "next-month") | undefined;
309
+ type?: ("week" | "normal" | "today" | "prev-month" | "next-month") | undefined;
310
310
  }[][]>;
311
311
  tbodyRef: import("vue").Ref<HTMLElement | undefined>;
312
312
  currentCellRef: import("vue").Ref<HTMLElement | undefined>;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  };
29
29
  readonly format: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
30
30
  readonly type: {
31
- readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
31
+ readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
32
32
  readonly required: true;
33
33
  readonly validator: ((val: unknown) => boolean) | undefined;
34
34
  __epPropKey: true;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  };
59
59
  readonly format: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
60
60
  readonly type: {
61
- readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
61
+ readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
62
62
  readonly required: true;
63
63
  readonly validator: ((val: unknown) => boolean) | undefined;
64
64
  __epPropKey: true;
@@ -167,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
167
167
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
168
168
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
169
169
  format: (template?: string | undefined) => string;
170
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
170
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
171
171
  valueOf: () => number;
172
172
  unix: () => number;
173
173
  daysInMonth: () => number;
@@ -213,7 +213,7 @@ declare const _default: import("vue").DefineComponent<{
213
213
  currentView: import("vue").Ref<string>;
214
214
  yearLabel: import("vue").ComputedRef<string>;
215
215
  handleShortcutClick: (shortcut: Shortcut) => void;
216
- selectionMode: import("vue").ComputedRef<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
216
+ selectionMode: import("vue").ComputedRef<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
217
217
  keyboardMode: import("vue").ComputedRef<string>;
218
218
  hasShortcuts: import("vue").ComputedRef<boolean>;
219
219
  handleMonthPick: (month: number) => Promise<void>;
@@ -339,7 +339,7 @@ declare const _default: import("vue").DefineComponent<{
339
339
  };
340
340
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
341
341
  _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
342
- _type: import("vue").ComputedRef<"default" | "" | "success" | "warning" | "info" | "text" | "primary" | "danger">;
342
+ _type: import("vue").ComputedRef<"" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger">;
343
343
  _disabled: import("vue").ComputedRef<boolean>;
344
344
  _props: import("vue").ComputedRef<{
345
345
  ariaDisabled: boolean;
@@ -663,7 +663,7 @@ declare const _default: import("vue").DefineComponent<{
663
663
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
664
664
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
665
665
  }>>;
666
- emit: ((event: "change", value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
666
+ emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
667
667
  rawAttrs: {
668
668
  [x: string]: unknown;
669
669
  };
@@ -1034,7 +1034,7 @@ declare const _default: import("vue").DefineComponent<{
1034
1034
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
1035
1035
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
1036
1036
  format: (template?: string | undefined) => string;
1037
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
1037
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
1038
1038
  valueOf: () => number;
1039
1039
  unix: () => number;
1040
1040
  daysInMonth: () => number;
@@ -1104,7 +1104,7 @@ declare const _default: import("vue").DefineComponent<{
1104
1104
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
1105
1105
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
1106
1106
  format: (template?: string | undefined) => string;
1107
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
1107
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
1108
1108
  valueOf: () => number;
1109
1109
  unix: () => number;
1110
1110
  daysInMonth: () => number;
@@ -1135,7 +1135,7 @@ declare const _default: import("vue").DefineComponent<{
1135
1135
  }[] | undefined>;
1136
1136
  transitionName: import("vue").ComputedRef<string>;
1137
1137
  showSeconds: import("vue").ComputedRef<boolean>;
1138
- amPmMode: import("vue").ComputedRef<"" | "a" | "A">;
1138
+ amPmMode: import("vue").ComputedRef<"" | "A" | "a">;
1139
1139
  isValidValue: (_date: dayjs.Dayjs) => boolean;
1140
1140
  handleCancel: () => void;
1141
1141
  handleConfirm: (visible?: boolean, first?: boolean) => void;
@@ -1183,7 +1183,7 @@ declare const _default: import("vue").DefineComponent<{
1183
1183
  };
1184
1184
  readonly showSeconds: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1185
1185
  readonly arrowControl: BooleanConstructor;
1186
- readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A") | ((new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A"))[], unknown, unknown, "", boolean>;
1186
+ readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a") | ((new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a"))[], unknown, unknown, "", boolean>;
1187
1187
  }, {
1188
1188
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1189
1189
  readonly disabledHours: {
@@ -1218,7 +1218,7 @@ declare const _default: import("vue").DefineComponent<{
1218
1218
  };
1219
1219
  readonly showSeconds: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1220
1220
  readonly arrowControl: BooleanConstructor;
1221
- readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A") | ((new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A"))[], unknown, unknown, "", boolean>;
1221
+ readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a") | ((new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a"))[], unknown, unknown, "", boolean>;
1222
1222
  }>> & {
1223
1223
  onChange?: ((...args: any[]) => any) | undefined;
1224
1224
  "onSelect-range"?: ((...args: any[]) => any) | undefined;
@@ -7570,7 +7570,7 @@ declare const _default: import("vue").DefineComponent<{
7570
7570
  };
7571
7571
  readonly showSeconds: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
7572
7572
  readonly arrowControl: BooleanConstructor;
7573
- readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A") | ((new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A"))[], unknown, unknown, "", boolean>;
7573
+ readonly amPmMode: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a") | ((new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a"))[], unknown, unknown, "", boolean>;
7574
7574
  }>> & {
7575
7575
  onChange?: ((...args: any[]) => any) | undefined;
7576
7576
  "onSelect-range"?: ((...args: any[]) => any) | undefined;
@@ -7578,7 +7578,7 @@ declare const _default: import("vue").DefineComponent<{
7578
7578
  }, {
7579
7579
  readonly arrowControl: boolean;
7580
7580
  readonly showSeconds: import("code-monkey-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
7581
- readonly amPmMode: import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A") | ((new (...args: any[]) => ("" | "a" | "A") & {}) | (() => "" | "a" | "A"))[], unknown, unknown>;
7581
+ readonly amPmMode: import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a") | ((new (...args: any[]) => ("" | "A" | "a") & {}) | (() => "" | "A" | "a"))[], unknown, unknown>;
7582
7582
  }>;
7583
7583
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pick" | "select-range" | "set-picker-option")[], "pick" | "select-range" | "set-picker-option", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7584
7584
  readonly datetimeRole: StringConstructor;
@@ -7806,7 +7806,7 @@ declare const _default: import("vue").DefineComponent<{
7806
7806
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
7807
7807
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
7808
7808
  format: (template?: string | undefined) => string;
7809
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
7809
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
7810
7810
  valueOf: () => number;
7811
7811
  unix: () => number;
7812
7812
  daysInMonth: () => number;
@@ -7942,7 +7942,7 @@ declare const _default: import("vue").DefineComponent<{
7942
7942
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
7943
7943
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
7944
7944
  format: (template?: string | undefined) => string;
7945
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "D" | "M" | "y" | "week" | "year" | "weeks" | "months" | "date" | "month" | "dates" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
7945
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "m" | "s" | "years" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "d" | "h" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
7946
7946
  valueOf: () => number;
7947
7947
  unix: () => number;
7948
7948
  daysInMonth: () => number;
@@ -7971,7 +7971,7 @@ declare const _default: import("vue").DefineComponent<{
7971
7971
  isSameOrAfter: (date: string | number | Date | dayjs.Dayjs | null | undefined, unit?: dayjs.OpUnitType | undefined) => boolean;
7972
7972
  isSameOrBefore: (date: string | number | Date | dayjs.Dayjs | null | undefined, unit?: dayjs.OpUnitType | undefined) => boolean;
7973
7973
  } | undefined;
7974
- type?: ("normal" | "week" | "today" | "prev-month" | "next-month") | undefined;
7974
+ type?: ("week" | "normal" | "today" | "prev-month" | "next-month") | undefined;
7975
7975
  }[][]>;
7976
7976
  tbodyRef: import("vue").Ref<HTMLElement | undefined>;
7977
7977
  currentCellRef: import("vue").Ref<HTMLElement | undefined>;
@@ -8368,7 +8368,7 @@ declare const _default: import("vue").DefineComponent<{
8368
8368
  };
8369
8369
  readonly format: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
8370
8370
  readonly type: {
8371
- readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
8371
+ readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
8372
8372
  readonly required: true;
8373
8373
  readonly validator: ((val: unknown) => boolean) | undefined;
8374
8374
  __epPropKey: true;
@@ -21,7 +21,7 @@ export declare const panelWeekPickProps: {
21
21
  };
22
22
  readonly format: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
23
23
  readonly type: {
24
- readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
24
+ readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
25
25
  readonly required: true;
26
26
  readonly validator: ((val: unknown) => boolean) | undefined;
27
27
  __epPropKey: true;
@@ -43,7 +43,7 @@ export declare const datePickerSharedProps: {
43
43
  };
44
44
  export declare const panelSharedProps: {
45
45
  readonly type: {
46
- readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "week" | "year" | "date" | "month" | "dates" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
46
+ readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
47
47
  readonly required: true;
48
48
  readonly validator: ((val: unknown) => boolean) | undefined;
49
49
  __epPropKey: true;
@@ -1,4 +1,4 @@
1
- import { defineComponent, provide, reactive, toRef, ref, computed, createVNode, mergeProps } from 'vue';
1
+ import { defineComponent, provide, reactive, toRef, ref, createVNode, mergeProps } from 'vue';
2
2
  import dayjs from 'dayjs';
3
3
  import customParseFormat from 'dayjs/plugin/customParseFormat.js';
4
4
  import advancedFormat from 'dayjs/plugin/advancedFormat.js';
@@ -56,32 +56,24 @@ var WeekPicker = defineComponent({
56
56
  (_a = commonPicker.value) == null ? void 0 : _a.handleClose();
57
57
  }
58
58
  };
59
- const realValue = ref(props.modelValue);
60
- const modelValue = computed({
61
- get: () => realValue.value,
62
- set: (val) => {
63
- console.log(val);
64
- }
65
- });
66
59
  expose(refProps);
60
+ const onModelValueUpdated = (val) => {
61
+ emit("update:modelValue", val);
62
+ };
67
63
  return () => {
68
64
  var _a;
69
65
  const format = (_a = props.format) != null ? _a : DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE;
70
- return createVNode("div", null, [createVNode(CommonPicker, mergeProps(props, {
66
+ return createVNode(CommonPicker, mergeProps(props, {
71
67
  "format": format,
72
- "type": "week",
68
+ "type": props.type,
73
69
  "ref": commonPicker,
74
- "modelValue": modelValue.value
70
+ "onUpdate:modelValue": onModelValueUpdated
75
71
  }), {
76
72
  default: (scopedProps) => createVNode(WeekPickPanel, mergeProps(scopedProps, {
77
- "weekStart": props.weekStart,
78
- "onPick": (val) => {
79
- realValue.value = val.toDate();
80
- emit("update:modelValue", val.toDate());
81
- }
73
+ "weekStart": props.weekStart
82
74
  }), slots),
83
75
  "range-separator": slots["range-separator"]
84
- })]);
76
+ });
85
77
  };
86
78
  }
87
79
  });
@@ -1 +1 @@
1
- {"version":3,"file":"week-picker.mjs","sources":["../../../../../../packages/components/week-picker/src/week-picker.tsx"],"sourcesContent":["import { defineComponent, provide, reactive, ref, toRef, computed } from 'vue'\nimport dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js'\nimport advancedFormat from 'dayjs/plugin/advancedFormat.js'\nimport localeData from 'dayjs/plugin/localeData.js'\nimport weekOfYear from 'dayjs/plugin/weekOfYear.js'\nimport weekYear from 'dayjs/plugin/weekYear.js'\nimport dayOfYear from 'dayjs/plugin/dayOfYear.js'\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js'\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js'\nimport { useNamespace } from '@code-monkey-ui/hooks'\nimport WeekPickPanel from './date-picker-com/panel-week-pick.vue'\nimport {\n CommonPicker,\n DEFAULT_FORMATS_DATE,\n DEFAULT_FORMATS_DATEPICKER,\n} from '@code-monkey-ui/components/time-picker'\nimport { ROOT_WEEK_PICKER_INJECTION_KEY } from './constants'\n\nimport { weekPickerProps } from './props/week-picker'\nimport type { WeekPickerExpose } from './instance'\n\ndayjs.extend(localeData)\ndayjs.extend(advancedFormat)\ndayjs.extend(customParseFormat)\ndayjs.extend(weekOfYear)\ndayjs.extend(weekYear)\ndayjs.extend(dayOfYear)\ndayjs.extend(isSameOrAfter)\ndayjs.extend(isSameOrBefore)\n\nexport default defineComponent({\n name: 'ElWeekPicker',\n install: null,\n props: weekPickerProps,\n emits: ['update:modelValue'],\n setup(props, { expose, emit, slots }) {\n const ns = useNamespace('picker-panel')\n\n provide('ElPopperOptions', reactive(toRef(props, 'popperOptions')))\n provide(ROOT_WEEK_PICKER_INJECTION_KEY, {\n slots,\n pickerNs: ns,\n })\n\n const commonPicker = ref<InstanceType<typeof CommonPicker>>()\n const refProps: WeekPickerExpose = {\n focus: (focusStartInput = true) => {\n commonPicker.value?.focus(focusStartInput)\n },\n handleOpen: () => {\n commonPicker.value?.handleOpen()\n },\n handleClose: () => {\n commonPicker.value?.handleClose()\n },\n }\n\n const realValue = ref(props.modelValue)\n const modelValue = computed({\n get: () => realValue.value,\n set: (val) => {\n console.log(val)\n },\n })\n\n expose(refProps)\n\n return () => {\n // since props always have all defined keys on it, {format, ...props} will always overwrite format\n // pick props.format or provide default value here before spreading\n const format =\n props.format ??\n (DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE)\n\n return (\n <div>\n <CommonPicker\n {...props}\n format={format}\n type=\"week\"\n ref={commonPicker}\n modelValue={modelValue.value}\n >\n {{\n default: (scopedProps: /**FIXME: remove any type */ any) => (\n <WeekPickPanel\n {...scopedProps}\n weekStart={props.weekStart}\n v-slots={slots}\n onPick={(val: any) => {\n realValue.value = val.toDate()\n emit('update:modelValue', val.toDate())\n }}\n />\n ),\n 'range-separator': slots['range-separator'],\n }}\n </CommonPicker>\n </div>\n )\n }\n },\n})\n"],"names":["dayjs","extend","localeData","advancedFormat","customParseFormat","weekOfYear","weekYear","dayOfYear","isSameOrAfter","isSameOrBefore","defineComponent","name","install","props","weekPickerProps","emits","expose","emit","slots","provide","toRef","pickerNs","commonPicker","focus","focusStartInput","handleOpen","handleClose","modelValue","get","format","_createVNode","_mergeProps","default","weekStart","realValue","toDate"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBAA,KAAK,CAACC,MAAN,CAAaC,UAAb,CAAA,CAAA;AACAF,KAAK,CAACC,MAAN,CAAaE,cAAb,CAAA,CAAA;AACAH,KAAK,CAACC,MAAN,CAAaG,iBAAb,CAAA,CAAA;AACAJ,KAAK,CAACC,MAAN,CAAaI,UAAb,CAAA,CAAA;AACAL,KAAK,CAACC,MAAN,CAAaK,QAAb,CAAA,CAAA;AACAN,KAAK,CAACC,MAAN,CAAaM,SAAb,CAAA,CAAA;AACAP,KAAK,CAACC,MAAN,CAAaO,aAAb,CAAA,CAAA;AACAR,KAAK,CAACC,MAAN,CAAaQ,cAAb,CAAA,CAAA;AAEA,iBAAeC,eAAe,CAAC;AAC7BC,EAAAA,IAAI,EAAE,cADuB;AAE7BC,EAAAA,OAAO,EAAE,IAFoB;AAG7BC,EAAAA,KAAK,EAAEC,eAHsB;EAI7BC,KAAK,EAAE,CAAC,mBAAD,CAJsB;;IAKxB;IAAUC,IAAF;IAAUC,KAAV;AAAgBC,GAAAA,EAAAA;AAAhB,IAAyB,MAAA,EAAA,GAAA,YAAA,CAAA,cAAA,CAAA,CAAA;AACpC,IAAA,OAAQ,CAAA,iCAAR,CAAA,KAAA,EAAA,eAAA,CAAA,CAAA,CAAA,CAAA;AAEAC,IAAAA,OAAO,CAAC,8BAA4BC,EAAAA;MAC7B,KAAA;MACLF,QADsC,EAAA,EAAA;AAEtCG,KAAAA,CAAAA,CAAAA;AAFsC,IAAA,MAAxC,YAAA,GAAA,GAAA,EAAA,CAAA;IAKA,MAAMC,QAAAA,GAAAA;AACN,MAAA,uBAAmC,GAAA,IAAA,KAAA;AACjCC,QAAAA,IAAO,EAACC,CAAe;AACrBF,QAAAA,CAAAA,EAAAA,GAAAA,YAAA,CAAoBC,KAAAA,KAApB,IAAA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,KAHZH,WAAA,CAAA,aAAA,EAAAC,UAAA,CAAA,WAAA,EAAA;AAAA,UAAA,aAKG,KAAc,CAAA,SAAA;AACpBG,UAAAA,QAAAA,EAAAA,CAAS,GAAT,KAAA;AACAjB,YAAAA,SAAI,CAAA,KAAA,GAAA,GAAA,CAAA,QAA0BkB,CAAAA;AAC/B,YAAA,IAAA,CAAA,mBAAA,EAAA,GAAA,CAAA,MAAA,EAAA,CAAA,CAAA;AARI,WAAA;SAWUjB,CAAAA,EAAAA,KAAAA,CAAAA;AArB3B,QAAA,iBAAA,EAAA,KAAA,CAAA,iBAAA,CAAA;OAPF,CAAA,CAAA,CAAA,CAAA;AAkCD,KAAA,CAAA;;AAvE4B,CAAD,CAA9B;;;;"}
1
+ {"version":3,"file":"week-picker.mjs","sources":["../../../../../../packages/components/week-picker/src/week-picker.tsx"],"sourcesContent":["import { defineComponent, provide, reactive, ref, toRef } from 'vue'\nimport dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js'\nimport advancedFormat from 'dayjs/plugin/advancedFormat.js'\nimport localeData from 'dayjs/plugin/localeData.js'\nimport weekOfYear from 'dayjs/plugin/weekOfYear.js'\nimport weekYear from 'dayjs/plugin/weekYear.js'\nimport dayOfYear from 'dayjs/plugin/dayOfYear.js'\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js'\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js'\nimport { useNamespace } from '@code-monkey-ui/hooks'\nimport WeekPickPanel from './date-picker-com/panel-week-pick.vue'\nimport {\n CommonPicker,\n DEFAULT_FORMATS_DATE,\n DEFAULT_FORMATS_DATEPICKER,\n} from '@code-monkey-ui/components/time-picker'\nimport { ROOT_WEEK_PICKER_INJECTION_KEY } from './constants'\n\nimport { weekPickerProps } from './props/week-picker'\nimport type { WeekPickerExpose } from './instance'\n\ndayjs.extend(localeData)\ndayjs.extend(advancedFormat)\ndayjs.extend(customParseFormat)\ndayjs.extend(weekOfYear)\ndayjs.extend(weekYear)\ndayjs.extend(dayOfYear)\ndayjs.extend(isSameOrAfter)\ndayjs.extend(isSameOrBefore)\n\nexport default defineComponent({\n name: 'ElWeekPicker',\n install: null,\n props: weekPickerProps,\n emits: ['update:modelValue'],\n setup(props, { expose, emit, slots }) {\n const ns = useNamespace('picker-panel')\n\n provide('ElPopperOptions', reactive(toRef(props, 'popperOptions')))\n provide(ROOT_WEEK_PICKER_INJECTION_KEY, {\n slots,\n pickerNs: ns,\n })\n\n const commonPicker = ref<InstanceType<typeof CommonPicker>>()\n const refProps: WeekPickerExpose = {\n focus: (focusStartInput = true) => {\n commonPicker.value?.focus(focusStartInput)\n },\n handleOpen: () => {\n commonPicker.value?.handleOpen()\n },\n handleClose: () => {\n commonPicker.value?.handleClose()\n },\n }\n\n expose(refProps)\n\n const onModelValueUpdated = (val: any) => {\n emit('update:modelValue', val)\n }\n\n return () => {\n // since props always have all defined keys on it, {format, ...props} will always overwrite format\n // pick props.format or provide default value here before spreading\n const format =\n props.format ??\n (DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE)\n\n return (\n <CommonPicker\n {...props}\n format={format}\n type={props.type}\n ref={commonPicker}\n onUpdate:modelValue={onModelValueUpdated}\n >\n {{\n default: (scopedProps: /**FIXME: remove any type */ any) => (\n <WeekPickPanel\n {...scopedProps}\n weekStart={props.weekStart}\n v-slots={slots}\n />\n ),\n 'range-separator': slots['range-separator'],\n }}\n </CommonPicker>\n )\n }\n },\n})\n"],"names":["dayjs","extend","localeData","advancedFormat","customParseFormat","weekOfYear","weekYear","dayOfYear","isSameOrAfter","isSameOrBefore","defineComponent","name","install","props","weekPickerProps","emits","expose","emit","slots","provide","toRef","pickerNs","commonPicker","focus","focusStartInput","handleOpen","handleClose","onModelValueUpdated","val","_createVNode","DEFAULT_FORMATS_DATEPICKER","_mergeProps"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBAA,KAAK,CAACC,MAAN,CAAaC,UAAb,CAAA,CAAA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