vue-amazing-ui 2.4.21 → 2.4.22

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 (443) hide show
  1. package/README.md +292 -292
  2. package/README.zh-CN.md +292 -292
  3. package/dist/index.iife.js +141 -141
  4. package/dist/index.js +6726 -6711
  5. package/dist/index.umd.cjs +151 -151
  6. package/dist/style.css +1 -1
  7. package/es/alert/Alert.css +1 -1
  8. package/es/alert/Alert.vue.js +2 -2
  9. package/es/alert/Alert.vue2.js +56 -56
  10. package/es/avatar/Avatar.css +1 -1
  11. package/es/avatar/Avatar.vue.js +1 -1
  12. package/es/avatar/Avatar.vue2.js +29 -29
  13. package/es/backtop/BackTop.css +1 -1
  14. package/es/backtop/BackTop.vue.js +2 -2
  15. package/es/backtop/BackTop.vue2.js +77 -77
  16. package/es/badge/Badge.css +1 -1
  17. package/es/badge/Badge.vue.js +2 -2
  18. package/es/badge/Badge.vue2.js +39 -39
  19. package/es/breadcrumb/Breadcrumb.css +1 -1
  20. package/es/breadcrumb/Breadcrumb.vue.js +2 -2
  21. package/es/breadcrumb/Breadcrumb.vue2.js +35 -35
  22. package/es/button/Button.css +1 -1
  23. package/es/button/Button.vue.js +2 -2
  24. package/es/button/Button.vue2.js +43 -43
  25. package/es/calendar/Calendar.css +1 -1
  26. package/es/calendar/Calendar.vue.js +2 -2
  27. package/es/calendar/Calendar.vue2.js +111 -111
  28. package/es/card/Card.css +1 -1
  29. package/es/card/Card.vue.js +2 -2
  30. package/es/card/Card.vue2.js +21 -21
  31. package/es/carousel/Carousel.css +1 -1
  32. package/es/carousel/Carousel.vue.js +2 -2
  33. package/es/carousel/Carousel.vue2.js +131 -131
  34. package/es/cascader/Cascader.css +1 -1
  35. package/es/cascader/Cascader.d.ts +8 -0
  36. package/es/cascader/Cascader.vue.js +2 -2
  37. package/es/cascader/Cascader.vue2.js +71 -55
  38. package/es/cascader/index.d.ts +12 -0
  39. package/es/checkbox/Checkbox.css +1 -1
  40. package/es/checkbox/Checkbox.vue.js +2 -2
  41. package/es/checkbox/Checkbox.vue2.js +52 -52
  42. package/es/collapse/Collapse.css +1 -1
  43. package/es/collapse/Collapse.vue.js +2 -2
  44. package/es/collapse/Collapse.vue2.js +86 -86
  45. package/es/colorpicker/ColorPicker.css +1 -1
  46. package/es/colorpicker/ColorPicker.vue.js +2 -2
  47. package/es/colorpicker/ColorPicker.vue2.js +232 -232
  48. package/es/configprovider/ConfigProvider.vue.js +29 -29
  49. package/es/countdown/Countdown.css +1 -1
  50. package/es/countdown/Countdown.vue.js +2 -2
  51. package/es/countdown/Countdown.vue2.js +67 -67
  52. package/es/datepicker/DatePicker.css +1 -1
  53. package/es/datepicker/DatePicker.vue.js +4 -4
  54. package/es/datepicker/DatePicker.vue2.js +21 -21
  55. package/es/descriptions/descriptions/Descriptions.css +1 -1
  56. package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
  57. package/es/descriptions/descriptions/Descriptions.vue2.js +61 -61
  58. package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
  59. package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
  60. package/es/descriptions/descriptionsitem/DescriptionsItem.vue2.js +17 -17
  61. package/es/dialog/Dialog.css +1 -1
  62. package/es/dialog/Dialog.vue.js +1 -1
  63. package/es/dialog/Dialog.vue2.js +112 -112
  64. package/es/divider/Divider.css +1 -1
  65. package/es/divider/Divider.vue.js +1 -1
  66. package/es/divider/Divider.vue2.js +11 -11
  67. package/es/drawer/Drawer.css +1 -1
  68. package/es/drawer/Drawer.vue.js +2 -2
  69. package/es/drawer/Drawer.vue2.js +84 -84
  70. package/es/ellipsis/Ellipsis.css +1 -1
  71. package/es/ellipsis/Ellipsis.vue.js +2 -2
  72. package/es/ellipsis/Ellipsis.vue2.js +32 -32
  73. package/es/empty/Empty.css +1 -1
  74. package/es/empty/Empty.vue.js +2 -2
  75. package/es/empty/Empty.vue2.js +22 -22
  76. package/es/flex/Flex.css +1 -1
  77. package/es/flex/Flex.vue.js +2 -2
  78. package/es/flex/Flex.vue2.js +10 -10
  79. package/es/floatbutton/FloatButton.css +1 -1
  80. package/es/floatbutton/FloatButton.vue.js +1 -1
  81. package/es/floatbutton/FloatButton.vue2.js +57 -57
  82. package/es/gradienttext/GradientText.css +1 -1
  83. package/es/gradienttext/GradientText.vue.js +1 -1
  84. package/es/gradienttext/GradientText.vue2.js +7 -7
  85. package/es/grid/col/Col.css +1 -1
  86. package/es/grid/col/Col.vue.js +2 -2
  87. package/es/grid/col/Col.vue2.js +7 -7
  88. package/es/grid/row/Row.css +1 -1
  89. package/es/grid/row/Row.vue.js +1 -1
  90. package/es/grid/row/Row.vue2.js +14 -14
  91. package/es/image/Image.css +1 -1
  92. package/es/image/Image.vue.js +2 -2
  93. package/es/image/Image.vue2.js +177 -177
  94. package/es/input/Input.css +1 -1
  95. package/es/input/Input.vue.js +2 -2
  96. package/es/input/Input.vue2.js +72 -72
  97. package/es/inputnumber/InputNumber.css +1 -1
  98. package/es/inputnumber/InputNumber.vue.js +1 -1
  99. package/es/inputnumber/InputNumber.vue2.js +76 -76
  100. package/es/inputsearch/InputSearch.css +1 -1
  101. package/es/inputsearch/InputSearch.vue.js +2 -2
  102. package/es/inputsearch/InputSearch.vue2.js +61 -61
  103. package/es/list/list/List.css +1 -1
  104. package/es/list/list/List.vue.js +2 -2
  105. package/es/list/list/List.vue2.js +14 -14
  106. package/es/list/listitem/ListItem.css +1 -1
  107. package/es/list/listitem/ListItem.vue.js +2 -2
  108. package/es/list/listitem/ListItem.vue2.js +41 -41
  109. package/es/loadingbar/LoadingBar.css +1 -1
  110. package/es/loadingbar/LoadingBar.vue.js +2 -2
  111. package/es/loadingbar/LoadingBar.vue2.js +25 -25
  112. package/es/message/Message.css +1 -1
  113. package/es/message/Message.vue.js +2 -2
  114. package/es/message/Message.vue2.js +37 -37
  115. package/es/modal/Modal.css +1 -1
  116. package/es/modal/Modal.vue.js +1 -1
  117. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
  118. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
  119. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
  120. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
  121. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
  122. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
  123. package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
  124. package/es/notification/Notification.css +1 -1
  125. package/es/notification/Notification.vue.js +2 -2
  126. package/es/notification/Notification.vue2.js +45 -45
  127. package/es/numberanimation/NumberAnimation.vue.js +17 -17
  128. package/es/pagination/Pagination.css +1 -1
  129. package/es/pagination/Pagination.vue.js +1 -1
  130. package/es/pagination/Pagination.vue2.js +124 -124
  131. package/es/popconfirm/Popconfirm.css +1 -1
  132. package/es/popconfirm/Popconfirm.vue.js +1 -1
  133. package/es/popconfirm/Popconfirm.vue2.js +58 -58
  134. package/es/popover/Popover.css +1 -1
  135. package/es/popover/Popover.vue.js +2 -2
  136. package/es/popover/Popover.vue2.js +20 -20
  137. package/es/progress/Progress.css +1 -1
  138. package/es/progress/Progress.vue.js +2 -2
  139. package/es/progress/Progress.vue2.js +81 -81
  140. package/es/qrcode/QRCode.css +1 -1
  141. package/es/qrcode/QRCode.vue.js +3 -3
  142. package/es/qrcode/QRCode.vue2.js +18 -18
  143. package/es/radio/Radio.css +1 -1
  144. package/es/radio/Radio.vue.js +2 -2
  145. package/es/radio/Radio.vue2.js +88 -88
  146. package/es/rate/Rate.css +1 -1
  147. package/es/rate/Rate.vue.js +1 -1
  148. package/es/rate/Rate.vue2.js +90 -90
  149. package/es/result/Result.css +1 -1
  150. package/es/result/Result.vue.js +2 -2
  151. package/es/result/Result.vue2.js +51 -51
  152. package/es/scrollbar/Scrollbar.css +1 -1
  153. package/es/scrollbar/Scrollbar.vue.js +1 -1
  154. package/es/scrollbar/Scrollbar.vue2.js +106 -106
  155. package/es/segmented/Segmented.css +1 -1
  156. package/es/segmented/Segmented.vue.js +2 -2
  157. package/es/segmented/Segmented.vue2.js +51 -51
  158. package/es/select/Select.css +1 -1
  159. package/es/select/Select.vue.js +2 -2
  160. package/es/select/Select.vue2.js +157 -157
  161. package/es/skeleton/Skeleton.css +1 -1
  162. package/es/skeleton/Skeleton.vue.js +2 -2
  163. package/es/skeleton/Skeleton.vue2.js +61 -61
  164. package/es/slider/Slider.css +1 -1
  165. package/es/slider/Slider.vue.js +2 -2
  166. package/es/slider/Slider.vue2.js +195 -195
  167. package/es/space/Space.css +1 -1
  168. package/es/space/Space.vue.js +2 -2
  169. package/es/space/Space.vue2.js +7 -7
  170. package/es/spin/Spin.css +1 -1
  171. package/es/spin/Spin.vue.js +2 -2
  172. package/es/spin/Spin.vue2.js +67 -67
  173. package/es/statistic/Statistic.css +1 -1
  174. package/es/statistic/Statistic.vue.js +2 -2
  175. package/es/statistic/Statistic.vue2.js +21 -21
  176. package/es/steps/Steps.css +1 -1
  177. package/es/steps/Steps.vue.js +2 -2
  178. package/es/steps/Steps.vue2.js +35 -35
  179. package/es/swiper/Swiper.css +1 -1
  180. package/es/swiper/Swiper.vue.js +1 -1
  181. package/es/swiper/Swiper.vue2.js +89 -89
  182. package/es/switch/Switch.css +1 -1
  183. package/es/switch/Switch.vue.js +1 -1
  184. package/es/switch/Switch.vue2.js +32 -32
  185. package/es/table/Table.css +1 -1
  186. package/es/table/Table.vue.js +2 -2
  187. package/es/table/Table.vue2.js +686 -687
  188. package/es/tabs/Tabs.css +1 -1
  189. package/es/tabs/Tabs.vue.js +2 -2
  190. package/es/tabs/Tabs.vue2.js +91 -91
  191. package/es/tag/Tag.css +1 -1
  192. package/es/tag/Tag.vue.js +1 -1
  193. package/es/tag/Tag.vue2.js +91 -91
  194. package/es/textarea/Textarea.css +1 -1
  195. package/es/textarea/Textarea.vue.js +1 -1
  196. package/es/textarea/Textarea.vue2.js +37 -37
  197. package/es/textscroll/TextScroll.css +1 -1
  198. package/es/textscroll/TextScroll.vue.js +2 -2
  199. package/es/textscroll/TextScroll.vue2.js +100 -100
  200. package/es/timeline/Timeline.css +1 -1
  201. package/es/timeline/Timeline.vue.js +2 -2
  202. package/es/timeline/Timeline.vue2.js +24 -24
  203. package/es/tooltip/Tooltip.css +1 -1
  204. package/es/tooltip/Tooltip.vue.js +2 -2
  205. package/es/tooltip/Tooltip.vue2.js +129 -129
  206. package/es/upload/Upload.css +1 -1
  207. package/es/upload/Upload.vue.js +2 -2
  208. package/es/upload/Upload.vue2.js +137 -137
  209. package/es/utils/resolver.js +3 -3
  210. package/es/video/Video.css +1 -1
  211. package/es/video/Video.vue.js +2 -2
  212. package/es/video/Video.vue2.js +44 -44
  213. package/es/waterfall/Waterfall.css +1 -1
  214. package/es/waterfall/Waterfall.vue.js +2 -2
  215. package/es/waterfall/Waterfall.vue2.js +54 -54
  216. package/lib/alert/Alert.css +1 -1
  217. package/lib/alert/Alert.vue.cjs +1 -1
  218. package/lib/alert/Alert.vue2.cjs +2 -2
  219. package/lib/avatar/Avatar.css +1 -1
  220. package/lib/avatar/Avatar.vue.cjs +1 -1
  221. package/lib/avatar/Avatar.vue2.cjs +1 -1
  222. package/lib/backtop/BackTop.css +1 -1
  223. package/lib/backtop/BackTop.vue.cjs +1 -1
  224. package/lib/backtop/BackTop.vue2.cjs +6 -6
  225. package/lib/badge/Badge.css +1 -1
  226. package/lib/badge/Badge.vue.cjs +1 -1
  227. package/lib/badge/Badge.vue2.cjs +1 -1
  228. package/lib/breadcrumb/Breadcrumb.css +1 -1
  229. package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
  230. package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
  231. package/lib/button/Button.css +1 -1
  232. package/lib/button/Button.vue.cjs +1 -1
  233. package/lib/button/Button.vue2.cjs +3 -3
  234. package/lib/calendar/Calendar.css +1 -1
  235. package/lib/calendar/Calendar.vue.cjs +1 -1
  236. package/lib/calendar/Calendar.vue2.cjs +5 -5
  237. package/lib/card/Card.css +1 -1
  238. package/lib/card/Card.vue.cjs +1 -1
  239. package/lib/card/Card.vue2.cjs +1 -1
  240. package/lib/carousel/Carousel.css +1 -1
  241. package/lib/carousel/Carousel.vue.cjs +1 -1
  242. package/lib/carousel/Carousel.vue2.cjs +7 -7
  243. package/lib/cascader/Cascader.css +1 -1
  244. package/lib/cascader/Cascader.d.ts +8 -0
  245. package/lib/cascader/Cascader.vue.cjs +1 -1
  246. package/lib/cascader/Cascader.vue2.cjs +1 -1
  247. package/lib/cascader/index.d.ts +12 -0
  248. package/lib/checkbox/Checkbox.css +1 -1
  249. package/lib/checkbox/Checkbox.vue.cjs +1 -1
  250. package/lib/checkbox/Checkbox.vue2.cjs +1 -1
  251. package/lib/collapse/Collapse.css +1 -1
  252. package/lib/collapse/Collapse.vue.cjs +1 -1
  253. package/lib/collapse/Collapse.vue2.cjs +1 -1
  254. package/lib/colorpicker/ColorPicker.css +1 -1
  255. package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
  256. package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
  257. package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
  258. package/lib/countdown/Countdown.css +1 -1
  259. package/lib/countdown/Countdown.vue.cjs +1 -1
  260. package/lib/countdown/Countdown.vue2.cjs +1 -1
  261. package/lib/datepicker/DatePicker.css +1 -1
  262. package/lib/datepicker/DatePicker.vue.cjs +1 -1
  263. package/lib/datepicker/DatePicker.vue2.cjs +5 -5
  264. package/lib/descriptions/descriptions/Descriptions.css +1 -1
  265. package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
  266. package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
  267. package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
  268. package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
  269. package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
  270. package/lib/dialog/Dialog.css +1 -1
  271. package/lib/dialog/Dialog.vue.cjs +1 -1
  272. package/lib/dialog/Dialog.vue2.cjs +1 -1
  273. package/lib/divider/Divider.css +1 -1
  274. package/lib/divider/Divider.vue.cjs +1 -1
  275. package/lib/divider/Divider.vue2.cjs +1 -1
  276. package/lib/drawer/Drawer.css +1 -1
  277. package/lib/drawer/Drawer.vue.cjs +1 -1
  278. package/lib/drawer/Drawer.vue2.cjs +1 -1
  279. package/lib/ellipsis/Ellipsis.css +1 -1
  280. package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
  281. package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
  282. package/lib/empty/Empty.css +1 -1
  283. package/lib/empty/Empty.vue.cjs +1 -1
  284. package/lib/empty/Empty.vue2.cjs +1 -1
  285. package/lib/flex/Flex.css +1 -1
  286. package/lib/flex/Flex.vue.cjs +1 -1
  287. package/lib/flex/Flex.vue2.cjs +8 -8
  288. package/lib/floatbutton/FloatButton.css +1 -1
  289. package/lib/floatbutton/FloatButton.vue.cjs +1 -1
  290. package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
  291. package/lib/gradienttext/GradientText.css +1 -1
  292. package/lib/gradienttext/GradientText.vue.cjs +1 -1
  293. package/lib/gradienttext/GradientText.vue2.cjs +1 -1
  294. package/lib/grid/col/Col.css +1 -1
  295. package/lib/grid/col/Col.vue.cjs +1 -1
  296. package/lib/grid/col/Col.vue2.cjs +1 -1
  297. package/lib/grid/row/Row.css +1 -1
  298. package/lib/grid/row/Row.vue.cjs +1 -1
  299. package/lib/grid/row/Row.vue2.cjs +1 -1
  300. package/lib/image/Image.css +1 -1
  301. package/lib/image/Image.vue.cjs +1 -1
  302. package/lib/image/Image.vue2.cjs +1 -1
  303. package/lib/input/Input.css +1 -1
  304. package/lib/input/Input.vue.cjs +1 -1
  305. package/lib/input/Input.vue2.cjs +5 -5
  306. package/lib/inputnumber/InputNumber.css +1 -1
  307. package/lib/inputnumber/InputNumber.vue.cjs +1 -1
  308. package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
  309. package/lib/inputsearch/InputSearch.css +1 -1
  310. package/lib/inputsearch/InputSearch.vue.cjs +1 -1
  311. package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
  312. package/lib/list/list/List.css +1 -1
  313. package/lib/list/list/List.vue.cjs +1 -1
  314. package/lib/list/list/List.vue2.cjs +1 -1
  315. package/lib/list/listitem/ListItem.css +1 -1
  316. package/lib/list/listitem/ListItem.vue.cjs +1 -1
  317. package/lib/list/listitem/ListItem.vue2.cjs +1 -1
  318. package/lib/loadingbar/LoadingBar.css +1 -1
  319. package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
  320. package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
  321. package/lib/message/Message.css +1 -1
  322. package/lib/message/Message.vue.cjs +1 -1
  323. package/lib/message/Message.vue2.cjs +2 -2
  324. package/lib/modal/Modal.css +1 -1
  325. package/lib/modal/Modal.vue.cjs +1 -1
  326. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
  327. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
  328. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
  329. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
  330. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
  331. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
  332. package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
  333. package/lib/notification/Notification.css +1 -1
  334. package/lib/notification/Notification.vue.cjs +1 -1
  335. package/lib/notification/Notification.vue2.cjs +2 -2
  336. package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
  337. package/lib/pagination/Pagination.css +1 -1
  338. package/lib/pagination/Pagination.vue.cjs +1 -1
  339. package/lib/pagination/Pagination.vue2.cjs +1 -1
  340. package/lib/popconfirm/Popconfirm.css +1 -1
  341. package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
  342. package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
  343. package/lib/popover/Popover.css +1 -1
  344. package/lib/popover/Popover.vue.cjs +1 -1
  345. package/lib/popover/Popover.vue2.cjs +1 -1
  346. package/lib/progress/Progress.css +1 -1
  347. package/lib/progress/Progress.vue.cjs +1 -1
  348. package/lib/progress/Progress.vue2.cjs +9 -9
  349. package/lib/qrcode/QRCode.css +1 -1
  350. package/lib/qrcode/QRCode.vue.cjs +1 -1
  351. package/lib/qrcode/QRCode.vue2.cjs +1 -1
  352. package/lib/radio/Radio.css +1 -1
  353. package/lib/radio/Radio.vue.cjs +1 -1
  354. package/lib/radio/Radio.vue2.cjs +4 -4
  355. package/lib/rate/Rate.css +1 -1
  356. package/lib/rate/Rate.vue.cjs +1 -1
  357. package/lib/rate/Rate.vue2.cjs +1 -1
  358. package/lib/result/Result.css +1 -1
  359. package/lib/result/Result.vue.cjs +1 -1
  360. package/lib/result/Result.vue2.cjs +1 -1
  361. package/lib/scrollbar/Scrollbar.css +1 -1
  362. package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
  363. package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
  364. package/lib/segmented/Segmented.css +1 -1
  365. package/lib/segmented/Segmented.vue.cjs +1 -1
  366. package/lib/segmented/Segmented.vue2.cjs +1 -1
  367. package/lib/select/Select.css +1 -1
  368. package/lib/select/Select.vue.cjs +1 -1
  369. package/lib/select/Select.vue2.cjs +4 -4
  370. package/lib/skeleton/Skeleton.css +1 -1
  371. package/lib/skeleton/Skeleton.vue.cjs +1 -1
  372. package/lib/skeleton/Skeleton.vue2.cjs +1 -1
  373. package/lib/slider/Slider.css +1 -1
  374. package/lib/slider/Slider.vue.cjs +1 -1
  375. package/lib/slider/Slider.vue2.cjs +7 -7
  376. package/lib/space/Space.css +1 -1
  377. package/lib/space/Space.vue.cjs +1 -1
  378. package/lib/space/Space.vue2.cjs +1 -1
  379. package/lib/spin/Spin.css +1 -1
  380. package/lib/spin/Spin.vue.cjs +1 -1
  381. package/lib/spin/Spin.vue2.cjs +5 -5
  382. package/lib/statistic/Statistic.css +1 -1
  383. package/lib/statistic/Statistic.vue.cjs +1 -1
  384. package/lib/statistic/Statistic.vue2.cjs +1 -1
  385. package/lib/steps/Steps.css +1 -1
  386. package/lib/steps/Steps.vue.cjs +1 -1
  387. package/lib/steps/Steps.vue2.cjs +3 -3
  388. package/lib/swiper/Swiper.css +1 -1
  389. package/lib/swiper/Swiper.vue.cjs +1 -1
  390. package/lib/swiper/Swiper.vue2.cjs +13 -13
  391. package/lib/switch/Switch.css +1 -1
  392. package/lib/switch/Switch.vue.cjs +1 -1
  393. package/lib/switch/Switch.vue2.cjs +5 -5
  394. package/lib/table/Table.css +1 -1
  395. package/lib/table/Table.vue.cjs +1 -1
  396. package/lib/table/Table.vue2.cjs +1 -1
  397. package/lib/tabs/Tabs.css +1 -1
  398. package/lib/tabs/Tabs.vue.cjs +1 -1
  399. package/lib/tabs/Tabs.vue2.cjs +1 -1
  400. package/lib/tag/Tag.css +1 -1
  401. package/lib/tag/Tag.vue.cjs +1 -1
  402. package/lib/tag/Tag.vue2.cjs +1 -1
  403. package/lib/textarea/Textarea.css +1 -1
  404. package/lib/textarea/Textarea.vue.cjs +1 -1
  405. package/lib/textarea/Textarea.vue2.cjs +4 -4
  406. package/lib/textscroll/TextScroll.css +1 -1
  407. package/lib/textscroll/TextScroll.vue.cjs +1 -1
  408. package/lib/textscroll/TextScroll.vue2.cjs +9 -9
  409. package/lib/timeline/Timeline.css +1 -1
  410. package/lib/timeline/Timeline.vue.cjs +1 -1
  411. package/lib/timeline/Timeline.vue2.cjs +1 -1
  412. package/lib/tooltip/Tooltip.css +1 -1
  413. package/lib/tooltip/Tooltip.vue.cjs +1 -1
  414. package/lib/tooltip/Tooltip.vue2.cjs +1 -1
  415. package/lib/upload/Upload.css +1 -1
  416. package/lib/upload/Upload.vue.cjs +1 -1
  417. package/lib/upload/Upload.vue2.cjs +1 -1
  418. package/lib/utils/resolver.cjs +1 -1
  419. package/lib/video/Video.css +1 -1
  420. package/lib/video/Video.vue.cjs +1 -1
  421. package/lib/video/Video.vue2.cjs +2 -2
  422. package/lib/waterfall/Waterfall.css +1 -1
  423. package/lib/waterfall/Waterfall.vue.cjs +1 -1
  424. package/lib/waterfall/Waterfall.vue2.cjs +4 -4
  425. package/package.json +21 -21
  426. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
  427. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
  428. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
  429. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
  430. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
  431. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
  432. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
  433. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
  434. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
  435. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
  436. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
  437. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
  438. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
  439. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
  440. /package/es/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
  441. /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
  442. /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
  443. /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
@@ -1,7 +1,7 @@
1
1
  import o from "./Button.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fdd7d493"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-944a889a"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, ref as T, computed as i, createBlock as v, openBlock as t, resolveDynamicComponent as b, withKeys as I, normalizeStyle as K, normalizeClass as y, withModifiers as S, withCtx as j, createElementBlock as r, createCommentVNode as a, createElementVNode as d, renderSlot as m, unref as M, nextTick as N } from "vue";
1
+ import { defineComponent as E, ref as T, computed as c, createBlock as y, openBlock as l, resolveDynamicComponent as m, withKeys as I, normalizeStyle as K, normalizeClass as g, withModifiers as S, withCtx as j, createElementBlock as r, createCommentVNode as n, createElementVNode as u, renderSlot as h, unref as M, nextTick as N } from "vue";
2
2
  import { generate as O } from "@ant-design/colors";
3
3
  import { useInject as P, useSlotsExist as R } from "../utils/index.js";
4
4
  const V = {
@@ -35,34 +35,34 @@ const V = {
35
35
  block: { type: Boolean, default: !1 }
36
36
  },
37
37
  emits: ["click"],
38
- setup(g, { emit: h }) {
39
- const s = g, n = T(!1), { colorPalettes: k } = P("Button"), l = i(() => s.color !== void 0 ? O(s.color) : k.value), C = i(() => ({
40
- default: l.value[5],
41
- reverse: l.value[5],
42
- primary: l.value[5],
38
+ setup(e, { emit: k }) {
39
+ const d = e, i = T(!1), { colorPalettes: C } = P("Button"), o = c(() => d.color !== void 0 ? O(d.color) : C.value), w = c(() => ({
40
+ default: o.value[5],
41
+ reverse: o.value[5],
42
+ primary: o.value[5],
43
43
  danger: "#ff4d4f",
44
- dashed: l.value[5],
44
+ dashed: o.value[5],
45
45
  text: "transparent",
46
46
  link: "transparent"
47
- })[s.type]), w = h, u = R(["icon", "default"]), f = i(() => u.icon || s.icon), B = i(() => f.value && !u.default);
48
- function p(e) {
49
- n.value ? (n.value = !1, N(() => {
50
- n.value = !0;
51
- })) : n.value = !0, w("click", e);
47
+ })[d.type]), B = k, s = R(["icon", "default"]), f = c(() => s.icon || d.icon), x = c(() => f.value && !s.default);
48
+ function b(a) {
49
+ i.value ? (i.value = !1, N(() => {
50
+ i.value = !0;
51
+ })) : i.value = !0, B("click", a);
52
52
  }
53
- function $(e) {
54
- p(e);
53
+ function $(a) {
54
+ b(a);
55
55
  }
56
56
  function z() {
57
- n.value = !1;
57
+ i.value = !1;
58
58
  }
59
- return (e, o) => (t(), v(b(e.href ? "a" : "div"), {
59
+ return (a, t) => (l(), y(m(e.href ? "a" : "div"), {
60
60
  tabindex: "0",
61
- class: y(["btn-wrap", [
61
+ class: g(["btn-wrap", [
62
62
  `btn-${e.type} btn-${e.size}`,
63
63
  {
64
64
  [`loading-${e.size}`]: !e.href && e.loading,
65
- "btn-icon-only": B.value,
65
+ "btn-icon-only": x.value,
66
66
  "btn-circle": e.shape === "circle",
67
67
  "btn-round": e.shape === "round",
68
68
  "btn-loading-blur": !e.href && e.loading,
@@ -73,48 +73,48 @@ const V = {
73
73
  e.buttonClass
74
74
  ]]),
75
75
  style: K(`
76
- --button-primary-color: ${l.value[5]};
77
- --button-primary-color-hover: ${l.value[4]};
78
- --button-primary-color-active: ${l.value[6]};
76
+ --button-primary-color: ${o.value[5]};
77
+ --button-primary-color-hover: ${o.value[4]};
78
+ --button-primary-color-active: ${o.value[6]};
79
79
  --button-danger-color: #ff4d4f;
80
80
  --button-danger-color-hover: #ff7875;
81
81
  --button-danger-color-active: #d9363e;
82
82
  --button-text-color-hover: rgba(0, 0, 0, 0.06);
83
83
  --button-text-color-active: rgba(0, 0, 0, 0.15);
84
- --button-ripple-color: ${C.value};
84
+ --button-ripple-color: ${w.value};
85
85
  `),
86
86
  href: e.href,
87
87
  target: e.target,
88
- onClick: o[0] || (o[0] = (c) => e.disabled || e.loading ? () => !1 : p(c)),
89
- onKeydown: o[1] || (o[1] = I(S((c) => e.keyboard && !e.disabled && !e.loading ? $(c) : () => !1, ["prevent"]), ["enter"]))
88
+ onClick: t[0] || (t[0] = (v) => e.disabled || e.loading ? () => !1 : b(v)),
89
+ onKeydown: t[1] || (t[1] = I(S((v) => e.keyboard && !e.disabled && !e.loading ? $(v) : () => !1, ["prevent"]), ["enter"]))
90
90
  }, {
91
91
  default: j(() => [
92
- e.loading || !f.value ? (t(), r("div", V, [
93
- !e.href && e.loadingType === "static" ? (t(), r("div", A, [...o[2] || (o[2] = [
94
- d("svg", {
92
+ e.loading || !f.value ? (l(), r("div", V, [
93
+ !e.href && e.loadingType === "static" ? (l(), r("div", A, [...t[2] || (t[2] = [
94
+ u("svg", {
95
95
  class: "circle",
96
96
  width: "1em",
97
97
  height: "1em",
98
98
  fill: "currentColor",
99
99
  viewBox: "0 0 100 100"
100
100
  }, [
101
- d("path", {
101
+ u("path", {
102
102
  d: "M 50,50 m 0,-45 a 45,45 0 1 1 0,90 a 45,45 0 1 1 0,-90",
103
103
  "stroke-linecap": "round",
104
104
  class: "path",
105
105
  "fill-opacity": "0"
106
106
  })
107
107
  ], -1)
108
- ])])) : a("", !0),
109
- !e.href && e.loadingType === "dynamic" ? (t(), r("div", D, [...o[3] || (o[3] = [
110
- d("svg", {
108
+ ])])) : n("", !0),
109
+ !e.href && e.loadingType === "dynamic" ? (l(), r("div", D, [...t[3] || (t[3] = [
110
+ u("svg", {
111
111
  class: "circle",
112
112
  viewBox: "0 0 50 50",
113
113
  width: "1em",
114
114
  height: "1em",
115
115
  fill: "currentColor"
116
116
  }, [
117
- d("circle", {
117
+ u("circle", {
118
118
  class: "path",
119
119
  cx: "25",
120
120
  cy: "25",
@@ -122,19 +122,19 @@ const V = {
122
122
  fill: "none"
123
123
  })
124
124
  ], -1)
125
- ])])) : a("", !0)
126
- ])) : a("", !0),
127
- !e.loading && f.value ? (t(), r("span", F, [
128
- m(e.$slots, "icon", {}, () => [
129
- e.icon ? (t(), v(b(e.icon), { key: 0 })) : a("", !0)
125
+ ])])) : n("", !0)
126
+ ])) : n("", !0),
127
+ !e.loading && f.value ? (l(), r("span", F, [
128
+ h(a.$slots, "icon", {}, () => [
129
+ e.icon ? (l(), y(m(e.icon), { key: 0 })) : n("", !0)
130
130
  ], !0)
131
- ])) : a("", !0),
132
- M(u).default ? (t(), r("span", W, [
133
- m(e.$slots, "default", {}, void 0, !0)
134
- ])) : a("", !0),
135
- e.disabled ? a("", !0) : (t(), r("div", {
131
+ ])) : n("", !0),
132
+ M(s).default ? (l(), r("span", W, [
133
+ h(a.$slots, "default", {}, void 0, !0)
134
+ ])) : n("", !0),
135
+ e.disabled ? n("", !0) : (l(), r("div", {
136
136
  key: 3,
137
- class: y(["button-wave", { "wave-active": n.value }]),
137
+ class: g(["button-wave", { "wave-active": i.value }]),
138
138
  onAnimationend: z
139
139
  }, null, 34))
140
140
  ]),
@@ -1 +1 @@
1
- .calendar-wrap[data-v-7293a60f]{color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;background:#fff;border-radius:4px}.calendar-wrap .calendar-header-wrap[data-v-7293a60f]{padding:12px 0}.calendar-wrap .calendar-header-wrap .calendar-header-content[data-v-7293a60f]{margin-bottom:10px}.calendar-wrap .calendar-header-wrap .calendar-header-content[data-v-7293a60f] svg{fill:currentColor}.calendar-wrap .calendar-header-wrap .calendar-header-actions[data-v-7293a60f]{display:flex;justify-content:flex-end}.calendar-wrap .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-7293a60f],.calendar-wrap .calendar-header-wrap .calendar-header-actions .calendar-mode-radio[data-v-7293a60f]{margin-left:8px}.calendar-wrap .calendar-display-wrap[data-v-7293a60f]{background:#fff;outline:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel[data-v-7293a60f]{display:flex;flex-direction:column;width:auto}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body[data-v-7293a60f]{padding:8px 0}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table[data-v-7293a60f]{display:table;margin:0;width:100%;table-layout:fixed;border-collapse:collapse}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table tr[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table tr[data-v-7293a60f]{border:none;background-color:transparent}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table td[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table td[data-v-7293a60f]{position:relative;min-width:24px;font-size:inherit;font-weight:400;padding:0;border:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-7293a60f]{text-align:inherit;height:auto;line-height:18px;width:36px;color:#000000e0;vertical-align:middle;background:transparent}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]{color:#00000040;cursor:pointer}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f]{position:relative;z-index:2;min-width:24px;line-height:24px}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell:hover:not(.date-cell-selected) .date-cell-inner[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell:hover:not(.date-cell-selected) .date-cell-inner[data-v-7293a60f]{background:#0000000a}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled[data-v-7293a60f],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled[data-v-7293a60f]{color:#00000040;pointer-events:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-in-view[data-v-7293a60f]:not(.date-cell-disabled):not(.date-cell-selected),.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-in-view[data-v-7293a60f]:not(.date-cell-disabled):not(.date-cell-selected){color:#000000e0}.calendar-panel .calendar-header-wrap .calendar-header-actions .calendar-year-select[data-v-7293a60f]{min-width:90px}.calendar-panel .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-7293a60f]{min-width:72px}.calendar-panel .calendar-display-wrap[data-v-7293a60f]{width:100%;text-align:end}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-7293a60f]{padding-right:12px;padding-bottom:4px}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f]{display:block;width:auto;height:auto;margin:0 4px;padding:4px 8px 0;border:0;border-top:2px solid rgba(5,5,5,.06);border-radius:0;transition:background .3s}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-value[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-value[data-v-7293a60f]{line-height:24px;transition:color .3s}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-content[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-content[data-v-7293a60f]{position:static;width:auto;height:86px;overflow-y:auto;color:#000000e0;line-height:1.57142857;text-align:start}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-7293a60f]{border-color:var(--calendar-primary-color)}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner .date-value[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner .date-value[data-v-7293a60f]{color:#000000e0}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-7293a60f],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-7293a60f]{color:var(--calendar-primary-color);background:var(--calendar-panel-primary-bg-color)}.calendar-card[data-v-7293a60f]{width:300px;border:1px solid #d9d9d9;border-radius:4px}.calendar-card .calendar-header-wrap[data-v-7293a60f]{padding-left:8px;padding-right:8px}.calendar-card .calendar-header-wrap .calendar-header-actions .calendar-year-select[data-v-7293a60f]{min-width:86px}.calendar-card .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-7293a60f]{min-width:70px}.calendar-card .calendar-display-wrap[data-v-7293a60f]{display:inline-flex;flex-direction:column;text-align:center;border-top:1px solid rgba(5,5,5,.06);border-radius:0 0 8px 8px}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]{padding:4px 0}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]:before{position:absolute;top:50%;left:0;right:0;z-index:1;height:24px;transform:translateY(-50%);transition:all .3s;content:"";pointer-events:none}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f]{display:inline-block;height:24px;border-radius:4px;transition:background .2s,color .2s}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled[data-v-7293a60f]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled[data-v-7293a60f]:before{background:#0000000a}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-7293a60f]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-7293a60f]:before{position:absolute;inset:0;z-index:1;border:1px solid var(--calendar-primary-color);border-radius:4px;content:""}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled.date-cell-today .date-cell-inner[data-v-7293a60f]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled.date-cell-today .date-cell-inner[data-v-7293a60f]:before{border-color:#00000040}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-7293a60f],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-7293a60f]{color:#fff;background:var(--calendar-card-primary-bg-color)}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]{height:40px}.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-7293a60f]{height:64px}.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-7293a60f]{width:60px;padding:0 8px}
1
+ .calendar-wrap[data-v-dd1c8150]{color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;background:#fff;border-radius:4px}.calendar-wrap .calendar-header-wrap[data-v-dd1c8150]{padding:12px 0}.calendar-wrap .calendar-header-wrap .calendar-header-content[data-v-dd1c8150]{margin-bottom:10px}.calendar-wrap .calendar-header-wrap .calendar-header-content[data-v-dd1c8150] svg{fill:currentColor}.calendar-wrap .calendar-header-wrap .calendar-header-actions[data-v-dd1c8150]{display:flex;justify-content:flex-end}.calendar-wrap .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-dd1c8150],.calendar-wrap .calendar-header-wrap .calendar-header-actions .calendar-mode-radio[data-v-dd1c8150]{margin-left:8px}.calendar-wrap .calendar-display-wrap[data-v-dd1c8150]{background:#fff;outline:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel[data-v-dd1c8150]{display:flex;flex-direction:column;width:auto}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body[data-v-dd1c8150]{padding:8px 0}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table[data-v-dd1c8150]{display:table;margin:0;width:100%;table-layout:fixed;border-collapse:collapse}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table tr[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table tr[data-v-dd1c8150]{border:none;background-color:transparent}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table td[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table td[data-v-dd1c8150]{position:relative;min-width:24px;font-size:inherit;font-weight:400;padding:0;border:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-dd1c8150]{text-align:inherit;height:auto;line-height:18px;width:36px;color:#000000e0;vertical-align:middle;background:transparent}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]{color:#00000040;cursor:pointer}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150]{position:relative;z-index:2;min-width:24px;line-height:24px}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell:hover:not(.date-cell-selected) .date-cell-inner[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell:hover:not(.date-cell-selected) .date-cell-inner[data-v-dd1c8150]{background:#0000000a}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled[data-v-dd1c8150],.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled[data-v-dd1c8150]{color:#00000040;pointer-events:none}.calendar-wrap .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-in-view[data-v-dd1c8150]:not(.date-cell-disabled):not(.date-cell-selected),.calendar-wrap .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-in-view[data-v-dd1c8150]:not(.date-cell-disabled):not(.date-cell-selected){color:#000000e0}.calendar-panel .calendar-header-wrap .calendar-header-actions .calendar-year-select[data-v-dd1c8150]{min-width:90px}.calendar-panel .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-dd1c8150]{min-width:72px}.calendar-panel .calendar-display-wrap[data-v-dd1c8150]{width:100%;text-align:end}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table th[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table th[data-v-dd1c8150]{padding-right:12px;padding-bottom:4px}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150]{display:block;width:auto;height:auto;margin:0 4px;padding:4px 8px 0;border:0;border-top:2px solid rgba(5,5,5,.06);border-radius:0;transition:background .3s}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-value[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-value[data-v-dd1c8150]{line-height:24px;transition:color .3s}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-content[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner .date-content[data-v-dd1c8150]{position:static;width:auto;height:86px;overflow-y:auto;color:#000000e0;line-height:1.57142857;text-align:start}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-dd1c8150]{border-color:var(--calendar-primary-color)}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner .date-value[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner .date-value[data-v-dd1c8150]{color:#000000e0}.calendar-panel .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-dd1c8150],.calendar-panel .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-dd1c8150]{color:var(--calendar-primary-color);background:var(--calendar-panel-primary-bg-color)}.calendar-card[data-v-dd1c8150]{width:300px;border:1px solid #d9d9d9;border-radius:4px}.calendar-card .calendar-header-wrap[data-v-dd1c8150]{padding-left:8px;padding-right:8px}.calendar-card .calendar-header-wrap .calendar-header-actions .calendar-year-select[data-v-dd1c8150]{min-width:86px}.calendar-card .calendar-header-wrap .calendar-header-actions .calendar-month-select[data-v-dd1c8150]{min-width:70px}.calendar-card .calendar-display-wrap[data-v-dd1c8150]{display:inline-flex;flex-direction:column;text-align:center;border-top:1px solid rgba(5,5,5,.06);border-radius:0 0 8px 8px}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]{padding:4px 0}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]:before{position:absolute;top:50%;left:0;right:0;z-index:1;height:24px;transform:translateY(-50%);transition:all .3s;content:"";pointer-events:none}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150]{display:inline-block;height:24px;border-radius:4px;transition:background .2s,color .2s}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled[data-v-dd1c8150]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled[data-v-dd1c8150]:before{background:#0000000a}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-dd1c8150]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-today .date-cell-inner[data-v-dd1c8150]:before{position:absolute;inset:0;z-index:1;border:1px solid var(--calendar-primary-color);border-radius:4px;content:""}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-disabled.date-cell-today .date-cell-inner[data-v-dd1c8150]:before,.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-disabled.date-cell-today .date-cell-inner[data-v-dd1c8150]:before{border-color:#00000040}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-dd1c8150],.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .date-cell-selected .date-cell-inner[data-v-dd1c8150]{color:#fff;background:var(--calendar-card-primary-bg-color)}.calendar-card .calendar-display-wrap .calendar-date-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]{height:40px}.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell[data-v-dd1c8150]{height:64px}.calendar-card .calendar-display-wrap .calendar-month-panel .calendar-body .calendar-table .calendar-date-cell .date-cell-inner[data-v-dd1c8150]{width:60px;padding:0 8px}
@@ -1,7 +1,7 @@
1
1
  import o from "./Calendar.vue2.js";
2
2
  /* empty css */
3
- import a from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-7293a60f"]]);
3
+ import r from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dd1c8150"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as be, mergeModels as K, useModel as ke, ref as p, computed as V, watch as O, createElementBlock as i, openBlock as s, normalizeStyle as Me, normalizeClass as E, unref as h, createElementVNode as r, createCommentVNode as $, renderSlot as M, createTextVNode as j, toDisplayString as z, createVNode as Q, createBlock as we, mergeProps as g, Fragment as F, renderList as S } from "vue";
2
- import { getYear as P, getMonth as w, parse as Ce, format as C, startOfDay as T, startOfMonth as R, getTime as f, addDays as N, getDay as Oe, startOfYear as Fe, addMonths as Se, set as X, isSameDay as _e, isSameMonth as Z, getDate as Ve } from "date-fns";
3
- import I from "../select/index.js";
4
- import $e from "../radio/index.js";
5
- import { useInject as je, useSlotsExist as ze } from "../utils/index.js";
1
+ import { defineComponent as be, mergeModels as K, useModel as ke, ref as f, computed as j, watch as F, createElementBlock as i, openBlock as s, normalizeStyle as Me, normalizeClass as R, unref as p, createElementVNode as r, createCommentVNode as _, renderSlot as w, createTextVNode as z, toDisplayString as P, createVNode as Q, createBlock as we, mergeProps as D, Fragment as S, renderList as V } from "vue";
2
+ import { getYear as T, getMonth as C, parse as Ce, format as O, startOfDay as N, startOfMonth as U, getTime as y, addDays as W, getDay as Oe, startOfYear as Fe, addMonths as Se, set as X, isSameDay as Ve, isSameMonth as Z, getDate as $e } from "date-fns";
3
+ import x from "../select/index.js";
4
+ import je from "../radio/index.js";
5
+ import { useInject as _e, useSlotsExist as ze } from "../utils/index.js";
6
6
  const Pe = { class: "calendar-header-wrap" }, Te = {
7
7
  key: 0,
8
8
  class: "calendar-header-content"
@@ -36,8 +36,8 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
36
36
  valueModifiers: {}
37
37
  }),
38
38
  emits: /* @__PURE__ */ K(["change", "panelChange", "select"], ["update:value"]),
39
- setup(U, { emit: x }) {
40
- const o = U, u = ke(U, "value"), L = p(Date.now()), H = p([]), ee = p(re()), te = p([
39
+ setup(d, { emit: I }) {
40
+ const o = d, u = ke(d, "value"), L = f(Date.now()), H = f([]), ee = f(re()), te = f([
41
41
  {
42
42
  label: "月",
43
43
  value: "month"
@@ -46,58 +46,58 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
46
46
  label: "年",
47
47
  value: "year"
48
48
  }
49
- ]), m = p(P(L.value)), D = p(w(L.value) + 1), v = p(o.mode), _ = p([]), q = p([]), { colorPalettes: W } = je("Calendar"), b = x, ae = ze(["header"]), le = V(() => {
49
+ ]), v = f(T(L.value)), b = f(C(L.value) + 1), h = f(o.mode), $ = f([]), q = f([]), { colorPalettes: Y } = _e("Calendar"), k = I, ae = ze(["header"]), le = j(() => {
50
50
  const e = ["一", "二", "三", "四", "五", "六", "日"], t = [];
51
51
  t.push(e[o.startDayOfWeek]);
52
52
  let l = (o.startDayOfWeek + 1) % 7;
53
53
  for (; l !== o.startDayOfWeek; )
54
54
  t.push(e[l]), l = (l + 1) % 7;
55
55
  return t;
56
- }), c = V(() => {
56
+ }), m = j(() => {
57
57
  if (u.value)
58
58
  return typeof u.value == "string" ? Ce(u.value, o.valueFormat, /* @__PURE__ */ new Date()).getTime() : u.value;
59
- }), A = V(() => new Date(m.value, D.value - 1, 1).getTime()), ne = V(() => ae.header || o.header);
60
- O(
61
- c,
59
+ }), A = j(() => new Date(v.value, b.value - 1, 1).getTime()), ne = j(() => ae.header || o.header);
60
+ F(
61
+ m,
62
62
  (e) => {
63
- e && (m.value = P(e), D.value = w(e) + 1);
63
+ e && (v.value = T(e), b.value = C(e) + 1);
64
64
  },
65
65
  {
66
66
  immediate: !0
67
67
  }
68
- ), O(
68
+ ), F(
69
69
  () => o.mode,
70
70
  (e) => {
71
- v.value = e;
71
+ h.value = e;
72
72
  }
73
- ), O(
74
- () => [o.startDayOfWeek, o.dateStrip, D.value, m.value],
73
+ ), F(
74
+ () => [o.startDayOfWeek, o.dateStrip, b.value, v.value],
75
75
  () => {
76
- _.value = ue();
76
+ $.value = ue();
77
77
  },
78
78
  {
79
79
  immediate: !0,
80
80
  deep: !0
81
81
  }
82
- ), O(
83
- m,
82
+ ), F(
83
+ v,
84
84
  () => {
85
85
  H.value = oe(), q.value = ce();
86
86
  },
87
87
  {
88
88
  immediate: !0
89
89
  }
90
- ), O(
90
+ ), F(
91
91
  () => o.valueFormat,
92
92
  (e) => {
93
- u.value && (e === void 0 || e === "T" ? typeof u.value == "string" && (u.value = Number(C(T(u.value).getTime(), "T"))) : u.value = C(T(u.value).getTime(), e));
93
+ u.value && (e === void 0 || e === "T" ? typeof u.value == "string" && (u.value = Number(O(N(u.value).getTime(), "T"))) : u.value = O(N(u.value).getTime(), e));
94
94
  },
95
95
  {
96
96
  immediate: !0
97
97
  }
98
98
  );
99
99
  function oe() {
100
- const e = [], t = m.value - 10, l = m.value + 10;
100
+ const e = [], t = v.value - 10, l = v.value + 10;
101
101
  for (let n = t; n < l; n++)
102
102
  e.push({
103
103
  label: `${n}年`,
@@ -114,32 +114,32 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
114
114
  });
115
115
  return e;
116
116
  }
117
- function Y(e, t, l) {
117
+ function B(e, t, l) {
118
118
  return {
119
119
  type: "date",
120
120
  dateObject: {
121
- date: Ve(e),
122
- month: w(e),
123
- year: P(e)
121
+ date: $e(e),
122
+ month: C(e),
123
+ year: T(e)
124
124
  },
125
- timestamp: f(e),
125
+ timestamp: y(e),
126
126
  inCurrentMonth: Z(e, t),
127
- isCurrentDate: _e(l, e)
127
+ isCurrentDate: Ve(l, e)
128
128
  };
129
129
  }
130
130
  function se(e, t, l, n = !1) {
131
- const a = w(e);
132
- let d = f(R(e)), k = f(N(d, -1));
133
- const y = [];
131
+ const a = C(e);
132
+ let c = y(U(e)), M = y(W(c, -1));
133
+ const g = [];
134
134
  let J = !n;
135
- for (; Oe(k) !== l || J; )
136
- y.unshift(Y(k, e, t)), k = f(N(k, -1)), J = !1;
137
- for (; w(d) === a; )
138
- y.push(Y(d, e, t)), d = f(N(d, 1));
139
- const De = n ? y.length <= 28 ? 28 : y.length <= 35 ? 35 : 42 : 42;
140
- for (; y.length < De; )
141
- y.push(Y(d, e, t)), d = f(N(d, 1));
142
- return y;
135
+ for (; Oe(M) !== l || J; )
136
+ g.unshift(B(M, e, t)), M = y(W(M, -1)), J = !1;
137
+ for (; C(c) === a; )
138
+ g.push(B(c, e, t)), c = y(W(c, 1));
139
+ const De = n ? g.length <= 28 ? 28 : g.length <= 35 ? 35 : 42 : 42;
140
+ for (; g.length < De; )
141
+ g.push(B(c, e, t)), c = y(W(c, 1));
142
+ return g;
143
143
  }
144
144
  function ue() {
145
145
  const e = se(A.value, Date.now(), o.startDayOfWeek, o.dateStrip), t = 7, l = e.length / t, n = [];
@@ -151,17 +151,17 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
151
151
  return {
152
152
  type: "month",
153
153
  monthObject: {
154
- month: w(e),
155
- year: P(e)
154
+ month: C(e),
155
+ year: T(e)
156
156
  },
157
- timestamp: f(e),
157
+ timestamp: y(e),
158
158
  isCurrent: Z(t, e)
159
159
  };
160
160
  }
161
161
  function de(e, t) {
162
162
  const l = [], n = Fe(e);
163
163
  for (let a = 0; a < 12; a++)
164
- l.push(ie(f(Se(n, a)), t));
164
+ l.push(ie(y(Se(n, a)), t));
165
165
  return l;
166
166
  }
167
167
  function ce() {
@@ -171,129 +171,129 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
171
171
  return n;
172
172
  }
173
173
  function me(e) {
174
- return C(e.timestamp, "yyyy-MM-dd");
174
+ return O(e.timestamp, "yyyy-MM-dd");
175
175
  }
176
176
  function ve(e) {
177
- return C(e.timestamp, "yyyy-MM");
177
+ return O(e.timestamp, "yyyy-MM");
178
178
  }
179
- function pe(e, t) {
179
+ function he(e, t) {
180
180
  return o.dateFormat === void 0 ? `${e}` : o.dateFormat(e, t);
181
181
  }
182
- function he(e, t, l) {
182
+ function fe(e, t, l) {
183
183
  return o.weekFormat === void 0 ? e : o.weekFormat(e, t, l);
184
184
  }
185
- function fe(e, t) {
185
+ function pe(e, t) {
186
186
  return o.monthFormat === void 0 ? `${e}月` : o.monthFormat(e, t);
187
187
  }
188
188
  function G(e) {
189
- return o.valueFormat === void 0 || o.valueFormat === "T" ? Number(C(e, "T")) : C(e, o.valueFormat);
189
+ return o.valueFormat === void 0 || o.valueFormat === "T" ? Number(O(e, "T")) : O(e, o.valueFormat);
190
190
  }
191
191
  function ye(e) {
192
192
  let t;
193
- c.value ? T(new Date(c.value)).getTime() !== e.timestamp && (t = X(new Date(c.value), {
193
+ m.value ? N(new Date(m.value)).getTime() !== e.timestamp && (t = X(new Date(m.value), {
194
194
  year: e.dateObject.year,
195
195
  month: e.dateObject.month,
196
196
  date: e.dateObject.date
197
- }).getTime()) : t = e.timestamp, t && (t = G(t), u.value = t, b("select", t, "date"), b("change", t, e.dateObject));
197
+ }).getTime()) : t = e.timestamp, t && (t = G(t), u.value = t, k("select", t, "date"), k("change", t, e.dateObject));
198
198
  }
199
199
  function ge(e) {
200
200
  let t;
201
- c.value ? R(new Date(c.value)).getTime() !== e.timestamp && (t = X(new Date(c.value), {
201
+ m.value ? U(new Date(m.value)).getTime() !== e.timestamp && (t = X(new Date(m.value), {
202
202
  year: e.monthObject.year,
203
203
  month: e.monthObject.month
204
- }).getTime()) : t = e.timestamp, t && (t = G(t), u.value = t, b("select", t, "month"), b("change", t, e.monthObject));
204
+ }).getTime()) : t = e.timestamp, t && (t = G(t), u.value = t, k("select", t, "month"), k("change", t, e.monthObject));
205
205
  }
206
- function B() {
207
- v.value === "month" ? b(
206
+ function E() {
207
+ h.value === "month" ? k(
208
208
  "panelChange",
209
209
  u.value,
210
- { year: m.value, month: D.value },
211
- v.value
212
- ) : b("panelChange", u.value, { year: m.value }, v.value);
210
+ { year: v.value, month: b.value },
211
+ h.value
212
+ ) : k("panelChange", u.value, { year: v.value }, h.value);
213
213
  }
214
214
  return (e, t) => (s(), i("div", {
215
- class: E(["calendar-wrap", `calendar-${e.display}`]),
215
+ class: R(["calendar-wrap", `calendar-${d.display}`]),
216
216
  style: Me(`
217
- --calendar-primary-color: ${h(W)[5]};
218
- --calendar-panel-primary-bg-color: ${h(W)[0]};
219
- --calendar-card-primary-bg-color: ${h(W)[5]};
217
+ --calendar-primary-color: ${p(Y)[5]};
218
+ --calendar-panel-primary-bg-color: ${p(Y)[0]};
219
+ --calendar-card-primary-bg-color: ${p(Y)[5]};
220
220
  `)
221
221
  }, [
222
222
  r("div", Pe, [
223
223
  ne.value ? (s(), i("div", Te, [
224
- M(e.$slots, "header", {}, () => [
225
- j(z(e.header), 1)
224
+ w(e.$slots, "header", {}, () => [
225
+ z(P(d.header), 1)
226
226
  ], !0)
227
- ])) : $("", !0),
227
+ ])) : _("", !0),
228
228
  r("div", Ne, [
229
- Q(h(I), g({
229
+ Q(p(x), D({
230
230
  class: "calendar-year-select",
231
- size: e.display === "card" ? "small" : "middle",
231
+ size: d.display === "card" ? "small" : "middle",
232
232
  options: H.value,
233
233
  "max-display": 8,
234
- modelValue: m.value,
235
- "onUpdate:modelValue": t[0] || (t[0] = (l) => m.value = l),
236
- onChange: B
237
- }, e.yearSelectProps), null, 16, ["size", "options", "modelValue"]),
238
- v.value === "month" ? (s(), we(h(I), g({
234
+ modelValue: v.value,
235
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => v.value = l),
236
+ onChange: E
237
+ }, d.yearSelectProps), null, 16, ["size", "options", "modelValue"]),
238
+ h.value === "month" ? (s(), we(p(x), D({
239
239
  key: 0,
240
240
  class: "calendar-month-select",
241
- size: e.display === "card" ? "small" : "middle",
241
+ size: d.display === "card" ? "small" : "middle",
242
242
  options: ee.value,
243
243
  "max-display": 8,
244
- modelValue: D.value,
245
- "onUpdate:modelValue": t[1] || (t[1] = (l) => D.value = l),
246
- onChange: B
247
- }, e.monthSelectProps), null, 16, ["size", "options", "modelValue"])) : $("", !0),
248
- Q(h($e), g({
244
+ modelValue: b.value,
245
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => b.value = l),
246
+ onChange: E
247
+ }, d.monthSelectProps), null, 16, ["size", "options", "modelValue"])) : _("", !0),
248
+ Q(p(je), D({
249
249
  class: "calendar-mode-radio",
250
- "button-size": e.display === "card" ? "small" : "middle",
250
+ "button-size": d.display === "card" ? "small" : "middle",
251
251
  options: te.value,
252
- value: v.value,
253
- "onUpdate:value": t[2] || (t[2] = (l) => v.value = l),
252
+ value: h.value,
253
+ "onUpdate:value": t[2] || (t[2] = (l) => h.value = l),
254
254
  button: "",
255
- onChange: B
256
- }, e.modeRadioProps), null, 16, ["button-size", "options", "value"])
255
+ onChange: E
256
+ }, d.modeRadioProps), null, 16, ["button-size", "options", "value"])
257
257
  ])
258
258
  ]),
259
259
  r("div", We, [
260
- v.value === "month" ? (s(), i("div", Ye, [
260
+ h.value === "month" ? (s(), i("div", Ye, [
261
261
  r("div", Be, [
262
262
  r("table", Ee, [
263
263
  r("thead", null, [
264
264
  r("tr", null, [
265
- (s(!0), i(F, null, S(le.value, (l, n) => (s(), i("th", { key: n }, [
266
- M(e.$slots, "week", {
265
+ (s(!0), i(S, null, V(le.value, (l, n) => (s(), i("th", { key: n }, [
266
+ w(e.$slots, "week", {
267
267
  defaultWeek: l,
268
268
  week: n,
269
- timestamp: _.value[0][n].timestamp
269
+ timestamp: $.value[0][n].timestamp
270
270
  }, () => [
271
- j(z(he(l, n, _.value[0][n].timestamp)), 1)
271
+ z(P(fe(l, n, $.value[0][n].timestamp)), 1)
272
272
  ], !0)
273
273
  ]))), 128))
274
274
  ])
275
275
  ]),
276
276
  r("tbody", null, [
277
- (s(!0), i(F, null, S(_.value, (l, n) => (s(), i("tr", { key: n }, [
278
- (s(!0), i(F, null, S(l, (a, d) => (s(), i("td", {
279
- class: E(["calendar-date-cell", {
280
- "date-cell-disabled": e.disabledDate && e.disabledDate(a.timestamp),
277
+ (s(!0), i(S, null, V($.value, (l, n) => (s(), i("tr", { key: n }, [
278
+ (s(!0), i(S, null, V(l, (a, c) => (s(), i("td", {
279
+ class: R(["calendar-date-cell", {
280
+ "date-cell-disabled": d.disabledDate && d.disabledDate(a.timestamp),
281
281
  "date-cell-in-view": a.inCurrentMonth,
282
282
  "date-cell-today": a.isCurrentDate,
283
- "date-cell-selected": c.value && h(T)(c.value).getTime() === a.timestamp
283
+ "date-cell-selected": m.value && p(N)(m.value).getTime() === a.timestamp
284
284
  }]),
285
- key: d,
285
+ key: c,
286
286
  title: me(a),
287
- onClick: (k) => ye(a)
287
+ onClick: (M) => ye(a)
288
288
  }, [
289
289
  r("div", Ue, [
290
290
  r("div", Le, [
291
- M(e.$slots, "dateValue", g({ ref_for: !0 }, a), () => [
292
- j(z(pe(a.dateObject.date, a.timestamp)), 1)
291
+ w(e.$slots, "dateValue", D({ ref_for: !0 }, a), () => [
292
+ z(P(he(a.dateObject.date, a.timestamp)), 1)
293
293
  ], !0)
294
294
  ]),
295
295
  r("div", He, [
296
- M(e.$slots, "dateContent", g({ ref_for: !0 }, a), void 0, !0)
296
+ w(e.$slots, "dateContent", D({ ref_for: !0 }, a), void 0, !0)
297
297
  ])
298
298
  ])
299
299
  ], 10, Re))), 128))
@@ -301,29 +301,29 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
301
301
  ])
302
302
  ])
303
303
  ])
304
- ])) : $("", !0),
305
- v.value === "year" ? (s(), i("div", qe, [
304
+ ])) : _("", !0),
305
+ h.value === "year" ? (s(), i("div", qe, [
306
306
  r("div", Ae, [
307
307
  r("table", Ge, [
308
308
  r("tbody", null, [
309
- (s(!0), i(F, null, S(q.value, (l, n) => (s(), i("tr", { key: n }, [
310
- (s(!0), i(F, null, S(l, (a, d) => (s(), i("td", {
311
- class: E(["calendar-date-cell date-cell-in-view", {
309
+ (s(!0), i(S, null, V(q.value, (l, n) => (s(), i("tr", { key: n }, [
310
+ (s(!0), i(S, null, V(l, (a, c) => (s(), i("td", {
311
+ class: R(["calendar-date-cell date-cell-in-view", {
312
312
  "date-cell-today": a.isCurrent,
313
- "date-cell-selected": c.value && h(R)(c.value).getTime() === a.timestamp
313
+ "date-cell-selected": m.value && p(U)(m.value).getTime() === a.timestamp
314
314
  }]),
315
- key: d,
315
+ key: c,
316
316
  title: ve(a),
317
- onClick: (k) => ge(a)
317
+ onClick: (M) => ge(a)
318
318
  }, [
319
319
  r("div", Ke, [
320
320
  r("div", Qe, [
321
- M(e.$slots, "monthValue", g({ ref_for: !0 }, a), () => [
322
- j(z(fe(a.monthObject.month + 1, a.timestamp)), 1)
321
+ w(e.$slots, "monthValue", D({ ref_for: !0 }, a), () => [
322
+ z(P(pe(a.monthObject.month + 1, a.timestamp)), 1)
323
323
  ], !0)
324
324
  ]),
325
325
  r("div", Xe, [
326
- M(e.$slots, "monthContent", g({ ref_for: !0 }, a), void 0, !0)
326
+ w(e.$slots, "monthContent", D({ ref_for: !0 }, a), void 0, !0)
327
327
  ])
328
328
  ])
329
329
  ], 10, Je))), 128))
@@ -331,7 +331,7 @@ const Pe = { class: "calendar-header-wrap" }, Te = {
331
331
  ])
332
332
  ])
333
333
  ])
334
- ])) : $("", !0)
334
+ ])) : _("", !0)
335
335
  ])
336
336
  ], 6));
337
337
  }