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,6 +1,6 @@
1
- import { defineComponent as Ve, ref as k, computed as r, watch as ne, createElementBlock as m, openBlock as f, normalizeStyle as M, normalizeClass as R, unref as C, createElementVNode as L, createCommentVNode as I, Fragment as A, renderList as se, withModifiers as y, renderSlot as Be, createBlock as Re, createTextVNode as q, toDisplayString as G, resolveDynamicComponent as Ce, withKeys as S, isVNode as re } from "vue";
2
- import { useInject as De, useResizeObserver as Ee } from "../utils/index.js";
3
- const Te = { class: "slider-dots" }, je = { class: "slider-marks" }, Fe = ["onClick"], Ie = /* @__PURE__ */ Ve({
1
+ import { defineComponent as He, ref as y, computed as r, watch as ne, createElementBlock as p, openBlock as d, normalizeStyle as S, normalizeClass as R, unref as C, createElementVNode as L, createCommentVNode as I, Fragment as A, renderList as se, withModifiers as w, renderSlot as Ve, createBlock as Be, createTextVNode as q, toDisplayString as G, resolveDynamicComponent as Re, withKeys as x, isVNode as ue } from "vue";
2
+ import { useInject as Ce, useResizeObserver as De } from "../utils/index.js";
3
+ const Ee = { class: "slider-dots" }, Te = { class: "slider-marks" }, je = ["onClick"], Ne = /* @__PURE__ */ He({
4
4
  __name: "Slider",
5
5
  props: {
6
6
  width: { default: "100%" },
@@ -15,23 +15,23 @@ const Te = { class: "slider-dots" }, je = { class: "slider-marks" }, Fe = ["onCl
15
15
  tooltip: { type: Boolean, default: !0 },
16
16
  tooltipOpen: { type: Boolean, default: !1 },
17
17
  tooltipStyle: { default: () => ({}) },
18
- formatTooltip: { type: Function, default: (Y) => Y },
18
+ formatTooltip: { type: Function, default: (s) => s },
19
19
  value: { default: 0 }
20
20
  },
21
21
  emits: ["update:value", "change"],
22
- setup(Y, { emit: ue }) {
23
- const l = Y, O = k(), Q = k(0), Z = k(0), n = k(0), a = k(0), w = k(), $ = k(), v = k(), d = k(), { colorPalettes: V } = De("Slider"), _ = ue, u = r(() => l.vertical ? Z.value : Q.value), ve = r(() => l.vertical ? {
22
+ setup(s, { emit: re }) {
23
+ const l = s, O = y(), Q = y(0), Z = y(0), n = y(0), o = y(0), M = y(), $ = y(), f = y(), c = y(), { colorPalettes: V } = Ce("Slider"), _ = re, v = r(() => l.vertical ? Z.value : Q.value), ve = r(() => l.vertical ? {
24
24
  height: typeof l.height == "number" ? `${l.height}px` : l.height
25
25
  } : {
26
26
  width: typeof l.width == "number" ? `${l.width}px` : l.width
27
27
  }), fe = r(() => l.vertical ? {
28
28
  bottom: `${n.value}px`,
29
29
  top: "auto",
30
- height: `${a.value - n.value}px`
30
+ height: `${o.value - n.value}px`
31
31
  } : {
32
32
  left: `${n.value}px`,
33
33
  right: "auto",
34
- width: `${a.value - n.value}px`
34
+ width: `${o.value - n.value}px`
35
35
  }), de = r(() => l.vertical ? {
36
36
  bottom: `${n.value}px`,
37
37
  top: "auto",
@@ -40,37 +40,37 @@ const Te = { class: "slider-dots" }, je = { class: "slider-marks" }, Fe = ["onCl
40
40
  left: `${n.value}px`,
41
41
  right: "auto",
42
42
  transform: "translate(-50%, -50%)"
43
- }), pe = r(() => l.vertical ? {
44
- bottom: `${a.value}px`,
43
+ }), ce = r(() => l.vertical ? {
44
+ bottom: `${o.value}px`,
45
45
  top: "auto",
46
46
  transform: "translate(-50%, 50%)"
47
47
  } : {
48
- left: `${a.value}px`,
48
+ left: `${o.value}px`,
49
49
  right: "auto",
50
50
  transform: "translate(-50%, -50%)"
51
- }), K = r(() => Object.keys(l.marks).length > 0), p = r(() => {
52
- let e = [];
53
- return K.value && (e = Object.keys(l.marks).map(parseFloat).sort((t, o) => t - o)), e;
51
+ }), Y = r(() => Object.keys(l.marks).length > 0), m = r(() => {
52
+ let t = [];
53
+ return Y.value && (t = Object.keys(l.marks).map(parseFloat).sort((e, a) => e - a)), t;
54
54
  }), B = r(() => {
55
- const e = [];
56
- return p.value.length > 0 && p.value.forEach((t) => {
57
- e.push($e(t));
58
- }), e;
59
- }), h = r(() => l.step === "mark" ? 1 : l.step), ce = r(() => h.value.toString().split(".")[1]?.length ?? 0), ee = r(() => {
60
- let e = 0;
61
- return p.value.forEach((t) => {
62
- const o = t.toString().split(".");
63
- (o[1]?.length ?? 0 > e) && (e = o[1]?.length);
64
- }), e;
55
+ const t = [];
56
+ return m.value.length > 0 && m.value.forEach((e) => {
57
+ t.push(xe(e));
58
+ }), t;
59
+ }), g = r(() => l.step === "mark" ? 1 : l.step), me = r(() => g.value.toString().split(".")[1]?.length ?? 0), ee = r(() => {
60
+ let t = 0;
61
+ return m.value.forEach((e) => {
62
+ const a = e.toString().split(".");
63
+ (a[1]?.length ?? 0 > t) && (t = a[1]?.length);
64
+ }), t;
65
65
  }), P = r(() => {
66
- if (u.value === 0) return l.value;
67
- let e;
68
- if (a.value === u.value ? e = l.max : (e = le(a.value), l.step === "mark" ? e = H(e, p.value) : l.step > 1 && !p.value.includes(e) && (e = Math.round(e / l.step) * l.step)), l.range) {
69
- let t;
70
- return n.value === 0 ? t = l.min : (t = le(n.value), l.step === "mark" ? t = H(t, p.value) : l.step > 1 && !p.value.includes(t) && (t = Math.round(t / l.step) * l.step)), [t, e];
66
+ if (v.value === 0) return l.value;
67
+ let t;
68
+ if (o.value === v.value ? t = l.max : (t = le(o.value), l.step === "mark" ? t = H(t, m.value) : l.step > 1 && !m.value.includes(t) && (t = Math.round(t / l.step) * l.step)), l.range) {
69
+ let e;
70
+ return n.value === 0 ? e = l.min : (e = le(n.value), l.step === "mark" ? e = H(e, m.value) : l.step > 1 && !m.value.includes(e) && (e = Math.round(e / l.step) * l.step)), [e, t];
71
71
  }
72
- return e;
73
- }), me = r(() => l.range ? l.formatTooltip(P.value[0]) : null), he = r(() => l.range ? l.formatTooltip(P.value[1]) : l.formatTooltip(P.value));
72
+ return t;
73
+ }), he = r(() => l.range ? l.formatTooltip(P.value[0]) : null), pe = r(() => l.range ? l.formatTooltip(P.value[1]) : l.formatTooltip(P.value));
74
74
  ne(
75
75
  () => [l.min, l.max, l.step, l.vertical, l.value],
76
76
  () => {
@@ -80,197 +80,197 @@ const Te = { class: "slider-dots" }, je = { class: "slider-marks" }, Fe = ["onCl
80
80
  deep: !0,
81
81
  flush: "post"
82
82
  }
83
- ), ne(P, (e) => {
84
- JSON.stringify(e) !== JSON.stringify(l.value) && (_("update:value", e), _("change", e));
85
- }), Ee(O, () => {
83
+ ), ne(P, (t) => {
84
+ JSON.stringify(t) !== JSON.stringify(l.value) && (_("update:value", t), _("change", t));
85
+ }), De(O, () => {
86
86
  ge();
87
87
  });
88
88
  function ge() {
89
89
  Q.value = O.value.offsetWidth, Z.value = O.value.offsetHeight, te();
90
90
  }
91
- function be(e) {
92
- const t = c((we(e) - l.min) / h.value, "*");
93
- n.value = g(t, 2);
91
+ function be(t) {
92
+ const e = h((we(t) - l.min) / g.value, "*");
93
+ n.value = b(e, 2);
94
94
  }
95
- function ke(e) {
96
- const t = c((Me(e) - l.min) / h.value, "*");
97
- a.value = g(t, 2);
95
+ function ke(t) {
96
+ const e = h((Me(t) - l.min) / g.value, "*");
97
+ o.value = b(e, 2);
98
98
  }
99
- function ye(e) {
100
- const t = c((Se(e) - l.min) / h.value, "*");
101
- a.value = g(t, 2);
99
+ function ye(t) {
100
+ const e = h((Se(t) - l.min) / g.value, "*");
101
+ o.value = b(e, 2);
102
102
  }
103
103
  function te() {
104
104
  l.range ? (be(l.value[0]), ke(l.value[1])) : ye(l.value);
105
105
  }
106
- function we(e) {
107
- return e < l.min ? l.min : e;
106
+ function we(t) {
107
+ return t < l.min ? l.min : t;
108
108
  }
109
- function Me(e) {
110
- return e > l.max ? l.max : e;
109
+ function Me(t) {
110
+ return t > l.max ? l.max : t;
111
111
  }
112
- function Se(e) {
113
- return e < l.min ? l.min : e > l.max ? l.max : e;
112
+ function Se(t) {
113
+ return t < l.min ? l.min : t > l.max ? l.max : t;
114
114
  }
115
- function H(e, t) {
116
- if (!K.value)
115
+ function H(t, e) {
116
+ if (!Y.value)
117
117
  return console.warn("Please set the marks property"), 0;
118
- let o = t[0], i = Math.abs(e - o);
119
- const s = t.length;
120
- for (let N = 1; N < s; N++) {
121
- const ie = Math.abs(e - t[N]);
122
- ie < i && (i = ie, o = t[N]);
118
+ let a = e[0], i = Math.abs(t - a);
119
+ const u = e.length;
120
+ for (let N = 1; N < u; N++) {
121
+ const ie = Math.abs(t - e[N]);
122
+ ie < i && (i = ie, a = e[N]);
123
123
  }
124
- return o;
124
+ return a;
125
125
  }
126
- function le(e) {
127
- const t = c(e, "/") * h.value + l.min;
128
- return p.value.includes(g(t, ee.value)) ? g(t, ee.value) : g(t, ce.value);
126
+ function le(t) {
127
+ const e = h(t, "/") * g.value + l.min;
128
+ return m.value.includes(b(e, ee.value)) ? b(e, ee.value) : b(e, me.value);
129
129
  }
130
- function $e(e) {
131
- const t = (e - l.min) / (l.max - l.min) * u.value;
132
- return g(t, 2);
130
+ function xe(t) {
131
+ const e = (t - l.min) / (l.max - l.min) * v.value;
132
+ return b(e, 2);
133
133
  }
134
- function g(e, t) {
135
- return parseFloat(e.toFixed(t));
134
+ function b(t, e) {
135
+ return parseFloat(t.toFixed(e));
136
136
  }
137
- function oe(e) {
138
- e.classList.remove("show-handle-tooltip");
137
+ function ae(t) {
138
+ t.classList.remove("show-handle-tooltip");
139
139
  }
140
- function b(e, t) {
141
- e.focus(), l.tooltip && !l.tooltipOpen && t.classList.add("show-handle-tooltip");
140
+ function k(t, e) {
141
+ t.focus(), l.tooltip && !l.tooltipOpen && e.classList.add("show-handle-tooltip");
142
142
  }
143
- function D(e) {
144
- let t, o;
143
+ function D(t) {
144
+ let e, a;
145
145
  if (l.vertical) {
146
- t = O.value.getBoundingClientRect().bottom - e.clientY;
147
- const s = Math.round(c(t, "/"));
148
- o = g(c(s, "*"), 2);
146
+ e = O.value.getBoundingClientRect().bottom - t.clientY;
147
+ const u = Math.round(h(e, "/"));
148
+ a = b(h(u, "*"), 2);
149
149
  } else {
150
150
  const i = O.value.getBoundingClientRect().left;
151
- t = e.clientX - i;
152
- const s = Math.round(c(t, "/"));
153
- o = g(c(s, "*"), 2);
151
+ e = t.clientX - i;
152
+ const u = Math.round(h(e, "/"));
153
+ a = b(h(u, "*"), 2);
154
154
  }
155
155
  return {
156
- originalPosition: t,
157
- stepPosition: o
156
+ originalPosition: e,
157
+ stepPosition: a
158
158
  };
159
159
  }
160
- function X(e, t) {
161
- if (K.value) {
162
- const o = H(e, B.value);
163
- return Math.abs(e - o) < Math.abs(e - t) ? o : t;
160
+ function K(t, e) {
161
+ if (Y.value) {
162
+ const a = H(t, B.value);
163
+ return Math.abs(t - a) < Math.abs(t - e) ? a : e;
164
164
  } else
165
- return t;
165
+ return e;
166
166
  }
167
- function Pe(e) {
167
+ function $e(t) {
168
168
  const {
169
- originalPosition: t,
169
+ originalPosition: e,
170
170
  // 鼠标点击位置
171
- stepPosition: o
171
+ stepPosition: a
172
172
  // 只考虑步长时将要移动的位置
173
- } = D(e);
173
+ } = D(t);
174
174
  let i;
175
175
  if (l.step === "mark") {
176
- const s = H(t, B.value);
177
- l.range && Math.abs(s - n.value) < Math.abs(s - a.value) ? (s !== n.value && (n.value = s), b(w.value, $.value)) : (s !== a.value && (a.value = s), b(v.value, d.value));
176
+ const u = H(e, B.value);
177
+ l.range && Math.abs(u - n.value) < Math.abs(u - o.value) ? (u !== n.value && (n.value = u), k(M.value, $.value)) : (u !== o.value && (o.value = u), k(f.value, c.value));
178
178
  } else
179
- i = X(t, o), l.range && Math.abs(i - n.value) < Math.abs(i - a.value) ? (i !== n.value && (n.value = i), b(w.value, $.value)) : (i !== a.value && (a.value = i), b(v.value, d.value));
179
+ i = K(e, a), l.range && Math.abs(i - n.value) < Math.abs(i - o.value) ? (i !== n.value && (n.value = i), k(M.value, $.value)) : (i !== o.value && (o.value = i), k(f.value, c.value));
180
180
  }
181
- function J(e) {
182
- w.value && (document.addEventListener("mousemove", U), document.addEventListener("mouseup", E), U(e));
181
+ function X(t) {
182
+ M.value && (document.addEventListener("mousemove", J), document.addEventListener("mouseup", E), J(t));
183
183
  }
184
- function U(e) {
184
+ function J(t) {
185
185
  const {
186
- originalPosition: t,
186
+ originalPosition: e,
187
187
  // 初始位置
188
- stepPosition: o
188
+ stepPosition: a
189
189
  // 只考虑步长时将要移动的位置
190
- } = D(e);
190
+ } = D(t);
191
191
  let i;
192
192
  if (l.tooltip && !l.tooltipOpen && $.value.classList.add("show-handle-tooltip"), l.step === "mark") {
193
- const s = H(t, B.value);
194
- s <= a.value ? s !== n.value && (n.value = s) : (n.value = a.value, v.value.focus(), E(), W(e));
193
+ const u = H(e, B.value);
194
+ u <= o.value ? u !== n.value && (n.value = u) : (n.value = o.value, f.value.focus(), E(), U(t));
195
195
  } else
196
- i = X(t, o), i < 0 ? n.value = 0 : 0 <= i && i <= a.value ? n.value = i : (n.value = a.value, v.value.focus(), E(), W(e));
196
+ i = K(e, a), i < 0 ? n.value = 0 : 0 <= i && i <= o.value ? n.value = i : (n.value = o.value, f.value.focus(), E(), U(t));
197
197
  }
198
198
  function E() {
199
- l.tooltip && !l.tooltipOpen && $.value.classList.remove("show-handle-tooltip"), document.removeEventListener("mousemove", U), document.removeEventListener("mouseup", E);
199
+ l.tooltip && !l.tooltipOpen && $.value.classList.remove("show-handle-tooltip"), document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", E);
200
200
  }
201
- function W(e) {
202
- v.value && (document.addEventListener("mousemove", x), document.addEventListener("mouseup", T), x(e));
201
+ function U(t) {
202
+ f.value && (document.addEventListener("mousemove", W), document.addEventListener("mouseup", T), W(t));
203
203
  }
204
- function x(e) {
204
+ function W(t) {
205
205
  let {
206
- originalPosition: t,
206
+ originalPosition: e,
207
207
  // 初始位置
208
- stepPosition: o
208
+ stepPosition: a
209
209
  // 只考虑步长时将要移动的位置
210
- } = D(e), i;
211
- if ({ originalPosition: t, stepPosition: o } = D(e), l.tooltip && !l.tooltipOpen && d.value.classList.add("show-handle-tooltip"), l.step === "mark") {
212
- const s = H(t, B.value);
213
- s >= n.value ? s !== a.value && (a.value = s) : (a.value = n.value, l.range && (w.value.focus(), T(), J(e)));
210
+ } = D(t), i;
211
+ if ({ originalPosition: e, stepPosition: a } = D(t), l.tooltip && !l.tooltipOpen && c.value.classList.add("show-handle-tooltip"), l.step === "mark") {
212
+ const u = H(e, B.value);
213
+ u >= n.value ? u !== o.value && (o.value = u) : (o.value = n.value, l.range && (M.value.focus(), T(), X(t)));
214
214
  } else
215
- i = X(t, o), i > u.value ? a.value = u.value : n.value <= i && i <= u.value ? a.value = i : (a.value = n.value, l.range && (w.value.focus(), T(), J(e)));
215
+ i = K(e, a), i > v.value ? o.value = v.value : n.value <= i && i <= v.value ? o.value = i : (o.value = n.value, l.range && (M.value.focus(), T(), X(t)));
216
216
  }
217
217
  function T() {
218
- l.tooltip && !l.tooltipOpen && d.value.classList.remove("show-handle-tooltip"), document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", T);
218
+ l.tooltip && !l.tooltipOpen && c.value.classList.remove("show-handle-tooltip"), document.removeEventListener("mousemove", W), document.removeEventListener("mouseup", T);
219
219
  }
220
- function Le(e) {
221
- const t = `${Math.abs(e - l.min) / (l.max - l.min) * 100}%`;
220
+ function Pe(t) {
221
+ const e = `${Math.abs(t - l.min) / (l.max - l.min) * 100}%`;
222
222
  return l.vertical ? {
223
- bottom: t
223
+ bottom: e
224
224
  } : {
225
- left: t
225
+ left: e
226
226
  };
227
227
  }
228
- function ae(e) {
229
- return l.range ? P.value[0] <= e && e <= P.value[1] : e <= P.value;
228
+ function oe(t) {
229
+ return l.range ? P.value[0] <= t && t <= P.value[1] : t <= P.value;
230
230
  }
231
- function j(e) {
232
- const t = l.marks[e], i = typeof t == "object" && !re(t) ? t.label : t;
231
+ function j(t) {
232
+ const e = l.marks[t], i = typeof e == "object" && !ue(e) ? e.label : e;
233
233
  return i ? typeof i == "function" ? i() : i : null;
234
234
  }
235
- function Oe(e) {
236
- const t = `${Math.abs(e - l.min) / (l.max - l.min) * 100}%`;
237
- let o = {};
238
- const i = l.marks[e];
239
- return typeof i == "object" && !re(i) && "style" in i && (o = i.style), l.vertical ? {
235
+ function Le(t) {
236
+ const e = `${Math.abs(t - l.min) / (l.max - l.min) * 100}%`;
237
+ let a = {};
238
+ const i = l.marks[t];
239
+ return typeof i == "object" && !ue(i) && "style" in i && (a = i.style), l.vertical ? {
240
240
  transform: "translateY(50%)",
241
- bottom: t,
242
- ...o
241
+ bottom: e,
242
+ ...a
243
243
  } : {
244
244
  transform: "translateX(-50%)",
245
- left: t,
246
- ...o
245
+ left: e,
246
+ ...a
247
247
  };
248
248
  }
249
- function He(e) {
250
- const t = B.value[e];
251
- l.range && Math.abs(t - n.value) < Math.abs(t - a.value) ? (t !== n.value && (n.value = t), b(w.value, $.value)) : (t !== a.value && (a.value = t), b(v.value, d.value));
249
+ function Oe(t) {
250
+ const e = B.value[t];
251
+ l.range && Math.abs(e - n.value) < Math.abs(e - o.value) ? (e !== n.value && (n.value = e), k(M.value, $.value)) : (e !== o.value && (o.value = e), k(f.value, c.value));
252
252
  }
253
- function F(e, t) {
254
- const o = c(e, "-");
255
- t === "low" ? o < 0 ? n.value = 0 : n.value = o : o >= n.value ? a.value = o : (a.value = n.value, n.value = o, w.value.focus());
253
+ function F(t, e) {
254
+ const a = h(t, "-");
255
+ e === "low" ? a < 0 ? n.value = 0 : n.value = a : a >= n.value ? o.value = a : (o.value = n.value, n.value = a, M.value.focus());
256
256
  }
257
- function z(e, t) {
258
- const o = c(e, "+");
259
- t === "high" ? o > u.value ? a.value = u.value : a.value = o : o <= a.value ? n.value = o : (n.value = a.value, a.value = o, v.value.focus());
257
+ function z(t, e) {
258
+ const a = h(t, "+");
259
+ e === "high" ? a > v.value ? o.value = v.value : o.value = a : a <= o.value ? n.value = a : (n.value = o.value, o.value = a, f.value.focus());
260
260
  }
261
- function c(e, t) {
262
- return t === "+" ? e + u.value * h.value / (l.max - l.min) : t === "-" ? e - u.value * h.value / (l.max - l.min) : t === "*" ? e * u.value * h.value / (l.max - l.min) : t === "/" ? e * (l.max - l.min) / (u.value * h.value) : e;
261
+ function h(t, e) {
262
+ return e === "+" ? t + v.value * g.value / (l.max - l.min) : e === "-" ? t - v.value * g.value / (l.max - l.min) : e === "*" ? t * v.value * g.value / (l.max - l.min) : e === "/" ? t * (l.max - l.min) / (v.value * g.value) : t;
263
263
  }
264
- return (e, t) => (f(), m("div", {
264
+ return (t, e) => (d(), p("div", {
265
265
  ref_key: "sliderRef",
266
266
  ref: O,
267
267
  class: R(["slider-wrap", {
268
- "slider-horizontal": !e.vertical,
269
- "slider-vertical": e.vertical,
270
- "slider-with-marks": Object.keys(e.marks).length > 0,
271
- "slider-disabled": e.disabled
268
+ "slider-horizontal": !s.vertical,
269
+ "slider-vertical": s.vertical,
270
+ "slider-with-marks": Object.keys(s.marks).length > 0,
271
+ "slider-disabled": s.disabled
272
272
  }]),
273
- style: M([
273
+ style: S([
274
274
  ve.value,
275
275
  `
276
276
  --slider-rail-color: rgba(0, 0, 0, 0.04);
@@ -293,95 +293,95 @@ const Te = { class: "slider-dots" }, je = { class: "slider-marks" }, Fe = ["onCl
293
293
  --slider-tooltip-bg-color: rgba(0, 0, 0, 0.85);
294
294
  `
295
295
  ]),
296
- onClick: t[12] || (t[12] = (o) => e.disabled ? () => !1 : Pe(o))
296
+ onClick: e[12] || (e[12] = (a) => s.disabled ? () => !1 : $e(a))
297
297
  }, [
298
- t[15] || (t[15] = L("div", { class: "slider-rail" }, null, -1)),
298
+ e[15] || (e[15] = L("div", { class: "slider-rail" }, null, -1)),
299
299
  L("div", {
300
300
  class: "slider-track",
301
- style: M(fe.value)
301
+ style: S(fe.value)
302
302
  }, null, 4),
303
- Object.keys(e.marks).length > 0 ? (f(), m(A, { key: 0 }, [
304
- L("div", Te, [
305
- (f(!0), m(A, null, se(p.value, (o, i) => (f(), m("span", {
306
- class: R(["slider-dot", { "slider-dot-active": ae(o) }]),
307
- style: M(Le(o)),
303
+ Object.keys(s.marks).length > 0 ? (d(), p(A, { key: 0 }, [
304
+ L("div", Ee, [
305
+ (d(!0), p(A, null, se(m.value, (a, i) => (d(), p("span", {
306
+ class: R(["slider-dot", { "slider-dot-active": oe(a) }]),
307
+ style: S(Pe(a)),
308
308
  key: i
309
309
  }, null, 6))), 128))
310
310
  ]),
311
- L("div", je, [
312
- (f(!0), m(A, null, se(p.value, (o, i) => (f(), m("span", {
313
- class: R(["slider-mark", { "slider-mark-active": ae(o) }]),
314
- style: M(Oe(o)),
311
+ L("div", Te, [
312
+ (d(!0), p(A, null, se(m.value, (a, i) => (d(), p("span", {
313
+ class: R(["slider-mark", { "slider-mark-active": oe(a) }]),
314
+ style: S(Le(a)),
315
315
  key: i,
316
- onClick: y((s) => e.disabled ? () => !1 : He(i), ["stop"])
316
+ onClick: w((u) => s.disabled ? () => !1 : Oe(i), ["stop"])
317
317
  }, [
318
- Be(e.$slots, "mark", {
319
- label: j(o),
320
- value: o
318
+ Ve(t.$slots, "mark", {
319
+ label: j(a),
320
+ value: a
321
321
  }, () => [
322
- typeof j(o) == "string" ? (f(), m(A, { key: 0 }, [
323
- q(G(j(o)), 1)
324
- ], 64)) : (f(), Re(Ce(j(o)), { key: 1 }))
322
+ typeof j(a) == "string" ? (d(), p(A, { key: 0 }, [
323
+ q(G(j(a)), 1)
324
+ ], 64)) : (d(), Be(Re(j(a)), { key: 1 }))
325
325
  ], !0)
326
- ], 14, Fe))), 128))
326
+ ], 14, je))), 128))
327
327
  ])
328
328
  ], 64)) : I("", !0),
329
- e.range ? (f(), m("div", {
329
+ s.range ? (d(), p("div", {
330
330
  key: 1,
331
331
  tabindex: "0",
332
332
  ref_key: "lowHandleRef",
333
- ref: w,
333
+ ref: M,
334
334
  class: "slider-handle",
335
- style: M(de.value),
335
+ style: S(de.value),
336
336
  onKeydown: [
337
- t[0] || (t[0] = S(y((o) => e.disabled ? () => !1 : F(n.value, "low"), ["prevent"]), ["left"])),
338
- t[1] || (t[1] = S(y((o) => e.disabled ? () => !1 : z(n.value, "low"), ["prevent"]), ["right"])),
339
- t[2] || (t[2] = S(y((o) => e.disabled ? () => !1 : F(n.value, "low"), ["prevent"]), ["down"])),
340
- t[3] || (t[3] = S(y((o) => e.disabled ? () => !1 : z(n.value, "low"), ["prevent"]), ["up"]))
337
+ e[0] || (e[0] = x(w((a) => s.disabled ? () => !1 : F(n.value, "low"), ["prevent"]), ["left"])),
338
+ e[1] || (e[1] = x(w((a) => s.disabled ? () => !1 : z(n.value, "low"), ["prevent"]), ["right"])),
339
+ e[2] || (e[2] = x(w((a) => s.disabled ? () => !1 : F(n.value, "low"), ["prevent"]), ["down"])),
340
+ e[3] || (e[3] = x(w((a) => s.disabled ? () => !1 : z(n.value, "low"), ["prevent"]), ["up"]))
341
341
  ],
342
- onMousedown: t[4] || (t[4] = (o) => e.disabled ? () => !1 : J(o)),
343
- onBlur: t[5] || (t[5] = (o) => e.tooltip && !e.disabled && !e.tooltipOpen ? oe($.value) : () => !1)
342
+ onMousedown: e[4] || (e[4] = (a) => s.disabled ? () => !1 : X(a)),
343
+ onBlur: e[5] || (e[5] = (a) => s.tooltip && !s.disabled && !s.tooltipOpen ? ae($.value) : () => !1)
344
344
  }, [
345
- e.tooltip ? (f(), m("div", {
345
+ s.tooltip ? (d(), p("div", {
346
346
  key: 0,
347
347
  ref_key: "lowTooltipRef",
348
348
  ref: $,
349
- class: R(["handle-tooltip", { "show-handle-tooltip": e.tooltipOpen }]),
350
- style: M(e.tooltipStyle)
349
+ class: R(["handle-tooltip", { "show-handle-tooltip": s.tooltipOpen }]),
350
+ style: S(s.tooltipStyle)
351
351
  }, [
352
- q(G(me.value) + " ", 1),
353
- t[13] || (t[13] = L("div", { class: "tooltip-arrow" }, null, -1))
352
+ q(G(he.value) + " ", 1),
353
+ e[13] || (e[13] = L("div", { class: "tooltip-arrow" }, null, -1))
354
354
  ], 6)) : I("", !0)
355
355
  ], 36)) : I("", !0),
356
356
  L("div", {
357
357
  tabindex: "0",
358
358
  ref_key: "highHandleRef",
359
- ref: v,
359
+ ref: f,
360
360
  class: "slider-handle",
361
- style: M(pe.value),
361
+ style: S(ce.value),
362
362
  onKeydown: [
363
- t[6] || (t[6] = S(y((o) => e.disabled ? () => !1 : F(a.value, "high"), ["prevent"]), ["left"])),
364
- t[7] || (t[7] = S(y((o) => e.disabled ? () => !1 : z(a.value, "high"), ["prevent"]), ["right"])),
365
- t[8] || (t[8] = S(y((o) => e.disabled ? () => !1 : F(a.value, "high"), ["prevent"]), ["down"])),
366
- t[9] || (t[9] = S(y((o) => e.disabled ? () => !1 : z(a.value, "high"), ["prevent"]), ["up"]))
363
+ e[6] || (e[6] = x(w((a) => s.disabled ? () => !1 : F(o.value, "high"), ["prevent"]), ["left"])),
364
+ e[7] || (e[7] = x(w((a) => s.disabled ? () => !1 : z(o.value, "high"), ["prevent"]), ["right"])),
365
+ e[8] || (e[8] = x(w((a) => s.disabled ? () => !1 : F(o.value, "high"), ["prevent"]), ["down"])),
366
+ e[9] || (e[9] = x(w((a) => s.disabled ? () => !1 : z(o.value, "high"), ["prevent"]), ["up"]))
367
367
  ],
368
- onMousedown: t[10] || (t[10] = (o) => e.disabled ? () => !1 : W(o)),
369
- onBlur: t[11] || (t[11] = (o) => e.tooltip && !e.disabled && !e.tooltipOpen ? oe(d.value) : () => !1)
368
+ onMousedown: e[10] || (e[10] = (a) => s.disabled ? () => !1 : U(a)),
369
+ onBlur: e[11] || (e[11] = (a) => s.tooltip && !s.disabled && !s.tooltipOpen ? ae(c.value) : () => !1)
370
370
  }, [
371
- e.tooltip ? (f(), m("div", {
371
+ s.tooltip ? (d(), p("div", {
372
372
  key: 0,
373
373
  ref_key: "highTooltipRef",
374
- ref: d,
375
- class: R(["handle-tooltip", { "show-handle-tooltip": e.tooltipOpen }]),
376
- style: M(e.tooltipStyle)
374
+ ref: c,
375
+ class: R(["handle-tooltip", { "show-handle-tooltip": s.tooltipOpen }]),
376
+ style: S(s.tooltipStyle)
377
377
  }, [
378
- q(G(he.value) + " ", 1),
379
- t[14] || (t[14] = L("div", { class: "tooltip-arrow" }, null, -1))
378
+ q(G(pe.value) + " ", 1),
379
+ e[14] || (e[14] = L("div", { class: "tooltip-arrow" }, null, -1))
380
380
  ], 6)) : I("", !0)
381
381
  ], 36)
382
382
  ], 6));
383
383
  }
384
384
  });
385
385
  export {
386
- Ie as default
386
+ Ne as default
387
387
  };
@@ -1 +1 @@
1
- .space-wrap[data-v-25c222ac]{display:inline-flex;font-size:14px;color:#000000e0;transition:all .3s;flex-direction:row}.space-vertical[data-v-25c222ac]{flex-direction:column}.space-stretch[data-v-25c222ac]{align-items:stretch}.space-start[data-v-25c222ac]{align-items:flex-start}.space-end[data-v-25c222ac]{align-items:flex-end}.space-center[data-v-25c222ac]{align-items:center}.space-baseline[data-v-25c222ac]{align-items:baseline}.space-flex-wrap[data-v-25c222ac]{flex-wrap:wrap}
1
+ .space-wrap[data-v-68b04309]{display:inline-flex;font-size:14px;color:#000000e0;transition:all .3s;flex-direction:row}.space-vertical[data-v-68b04309]{flex-direction:column}.space-stretch[data-v-68b04309]{align-items:stretch}.space-start[data-v-68b04309]{align-items:flex-start}.space-end[data-v-68b04309]{align-items:flex-end}.space-center[data-v-68b04309]{align-items:center}.space-baseline[data-v-68b04309]{align-items:baseline}.space-flex-wrap[data-v-68b04309]{flex-wrap:wrap}
@@ -1,7 +1,7 @@
1
1
  import o from "./Space.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-25c222ac"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-68b04309"]]);
5
5
  export {
6
- r as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as p, createElementBlock as o, openBlock as i, normalizeStyle as s, normalizeClass as d, renderSlot as u } from "vue";
1
+ import { defineComponent as n, computed as r, createElementBlock as i, openBlock as o, normalizeStyle as d, normalizeClass as s, renderSlot as u } from "vue";
2
2
  const f = /* @__PURE__ */ n({
3
3
  __name: "Space",
4
4
  props: {
@@ -8,8 +8,8 @@ const f = /* @__PURE__ */ n({
8
8
  gap: { default: "middle" },
9
9
  wrap: { type: Boolean, default: !0 }
10
10
  },
11
- setup(r) {
12
- const a = r, t = p(() => typeof a.width == "number" ? `${a.width}px` : a.width), l = p(() => {
11
+ setup(e) {
12
+ const a = e, p = r(() => typeof a.width == "number" ? `${a.width}px` : a.width), l = r(() => {
13
13
  if (typeof a.gap == "number")
14
14
  return `${a.gap}px`;
15
15
  if (Array.isArray(a.gap))
@@ -21,11 +21,11 @@ const f = /* @__PURE__ */ n({
21
21
  large: "24px"
22
22
  }[a.gap];
23
23
  });
24
- return (e, c) => (i(), o("div", {
25
- class: d(["space-wrap", [`space-${e.align}`, { "space-vertical": e.vertical, "space-flex-wrap": e.wrap }]]),
26
- style: s(`width: ${t.value}; gap: ${l.value}; margin-bottom: -${Array.isArray(a.gap) && e.wrap ? a.gap[1] : 0}px;`)
24
+ return (t, c) => (o(), i("div", {
25
+ class: s(["space-wrap", [`space-${e.align}`, { "space-vertical": e.vertical, "space-flex-wrap": e.wrap }]]),
26
+ style: d(`width: ${p.value}; gap: ${l.value}; margin-bottom: -${Array.isArray(a.gap) && e.wrap ? a.gap[1] : 0}px;`)
27
27
  }, [
28
- u(e.$slots, "default", {}, void 0, !0)
28
+ u(t.$slots, "default", {}, void 0, !0)
29
29
  ], 6));
30
30
  }
31
31
  });