vue-amazing-ui 2.4.21 → 2.4.23

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 (461) hide show
  1. package/README.md +292 -292
  2. package/README.zh-CN.md +292 -292
  3. package/dist/index.iife.js +147 -147
  4. package/dist/index.js +6726 -6712
  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 +20 -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.d.ts +2 -2
  63. package/es/dialog/Dialog.vue.js +1 -1
  64. package/es/dialog/Dialog.vue2.js +112 -112
  65. package/es/dialog/index.d.ts +6 -6
  66. package/es/divider/Divider.css +1 -1
  67. package/es/divider/Divider.vue.js +1 -1
  68. package/es/divider/Divider.vue2.js +11 -11
  69. package/es/drawer/Drawer.css +1 -1
  70. package/es/drawer/Drawer.vue.js +2 -2
  71. package/es/drawer/Drawer.vue2.js +84 -84
  72. package/es/ellipsis/Ellipsis.css +1 -1
  73. package/es/ellipsis/Ellipsis.vue.js +2 -2
  74. package/es/ellipsis/Ellipsis.vue2.js +32 -32
  75. package/es/empty/Empty.css +1 -1
  76. package/es/empty/Empty.vue.js +2 -2
  77. package/es/empty/Empty.vue2.js +22 -22
  78. package/es/flex/Flex.css +1 -1
  79. package/es/flex/Flex.vue.js +2 -2
  80. package/es/flex/Flex.vue2.js +10 -10
  81. package/es/floatbutton/FloatButton.css +1 -1
  82. package/es/floatbutton/FloatButton.vue.js +1 -1
  83. package/es/floatbutton/FloatButton.vue2.js +57 -57
  84. package/es/gradienttext/GradientText.css +1 -1
  85. package/es/gradienttext/GradientText.vue.js +1 -1
  86. package/es/gradienttext/GradientText.vue2.js +7 -7
  87. package/es/grid/col/Col.css +1 -1
  88. package/es/grid/col/Col.vue.js +2 -2
  89. package/es/grid/col/Col.vue2.js +7 -7
  90. package/es/grid/row/Row.css +1 -1
  91. package/es/grid/row/Row.vue.js +1 -1
  92. package/es/grid/row/Row.vue2.js +14 -14
  93. package/es/image/Image.css +1 -1
  94. package/es/image/Image.vue.js +2 -2
  95. package/es/image/Image.vue2.js +177 -177
  96. package/es/input/Input.css +1 -1
  97. package/es/input/Input.vue.js +2 -2
  98. package/es/input/Input.vue2.js +72 -72
  99. package/es/inputnumber/InputNumber.css +1 -1
  100. package/es/inputnumber/InputNumber.vue.js +2 -2
  101. package/es/inputnumber/InputNumber.vue2.js +77 -77
  102. package/es/inputsearch/InputSearch.css +1 -1
  103. package/es/inputsearch/InputSearch.vue.js +2 -2
  104. package/es/inputsearch/InputSearch.vue2.js +61 -61
  105. package/es/list/list/List.css +1 -1
  106. package/es/list/list/List.vue.js +2 -2
  107. package/es/list/list/List.vue2.js +14 -14
  108. package/es/list/listitem/ListItem.css +1 -1
  109. package/es/list/listitem/ListItem.vue.js +2 -2
  110. package/es/list/listitem/ListItem.vue2.js +41 -41
  111. package/es/loadingbar/LoadingBar.css +1 -1
  112. package/es/loadingbar/LoadingBar.vue.js +2 -2
  113. package/es/loadingbar/LoadingBar.vue2.js +25 -25
  114. package/es/message/Message.css +1 -1
  115. package/es/message/Message.vue.js +2 -2
  116. package/es/message/Message.vue2.js +37 -37
  117. package/es/modal/Modal.css +1 -1
  118. package/es/modal/Modal.d.ts +2 -2
  119. package/es/modal/Modal.vue.js +1 -1
  120. package/es/modal/index.d.ts +6 -6
  121. package/es/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
  122. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
  123. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
  124. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
  125. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
  126. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
  127. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
  128. package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css +1 -0
  129. package/es/notification/Notification.css +1 -1
  130. package/es/notification/Notification.vue.js +2 -2
  131. package/es/notification/Notification.vue2.js +45 -45
  132. package/es/numberanimation/NumberAnimation.vue.js +17 -17
  133. package/es/pagination/Pagination.css +1 -1
  134. package/es/pagination/Pagination.vue.js +1 -1
  135. package/es/pagination/Pagination.vue2.js +124 -124
  136. package/es/popconfirm/Popconfirm.css +1 -1
  137. package/es/popconfirm/Popconfirm.vue.js +1 -1
  138. package/es/popconfirm/Popconfirm.vue2.js +58 -58
  139. package/es/popover/Popover.css +1 -1
  140. package/es/popover/Popover.vue.js +2 -2
  141. package/es/popover/Popover.vue2.js +20 -20
  142. package/es/progress/Progress.css +1 -1
  143. package/es/progress/Progress.vue.js +2 -2
  144. package/es/progress/Progress.vue2.js +81 -81
  145. package/es/qrcode/QRCode.css +1 -1
  146. package/es/qrcode/QRCode.vue.js +3 -3
  147. package/es/qrcode/QRCode.vue2.js +18 -18
  148. package/es/radio/Radio.css +1 -1
  149. package/es/radio/Radio.vue.js +2 -2
  150. package/es/radio/Radio.vue2.js +88 -88
  151. package/es/rate/Rate.css +1 -1
  152. package/es/rate/Rate.d.ts +1 -1
  153. package/es/rate/Rate.vue.js +1 -1
  154. package/es/rate/Rate.vue2.js +90 -90
  155. package/es/rate/index.d.ts +3 -3
  156. package/es/result/Result.css +1 -1
  157. package/es/result/Result.vue.js +2 -2
  158. package/es/result/Result.vue2.js +51 -51
  159. package/es/scrollbar/Scrollbar.css +1 -1
  160. package/es/scrollbar/Scrollbar.vue.js +1 -1
  161. package/es/scrollbar/Scrollbar.vue2.js +106 -106
  162. package/es/segmented/Segmented.css +1 -1
  163. package/es/segmented/Segmented.vue.js +2 -2
  164. package/es/segmented/Segmented.vue2.js +51 -51
  165. package/es/select/Select.css +1 -1
  166. package/es/select/Select.vue.js +2 -2
  167. package/es/select/Select.vue2.js +157 -157
  168. package/es/skeleton/Skeleton.css +1 -1
  169. package/es/skeleton/Skeleton.vue.js +2 -2
  170. package/es/skeleton/Skeleton.vue2.js +61 -61
  171. package/es/slider/Slider.css +1 -1
  172. package/es/slider/Slider.vue.js +2 -2
  173. package/es/slider/Slider.vue2.js +195 -195
  174. package/es/space/Space.css +1 -1
  175. package/es/space/Space.vue.js +2 -2
  176. package/es/space/Space.vue2.js +7 -7
  177. package/es/spin/Spin.css +1 -1
  178. package/es/spin/Spin.vue.js +2 -2
  179. package/es/spin/Spin.vue2.js +67 -67
  180. package/es/statistic/Statistic.css +1 -1
  181. package/es/statistic/Statistic.vue.js +2 -2
  182. package/es/statistic/Statistic.vue2.js +21 -21
  183. package/es/steps/Steps.css +1 -1
  184. package/es/steps/Steps.vue.js +2 -2
  185. package/es/steps/Steps.vue2.js +35 -35
  186. package/es/swiper/Swiper.css +1 -1
  187. package/es/swiper/Swiper.vue.js +1 -1
  188. package/es/swiper/Swiper.vue2.js +89 -89
  189. package/es/switch/Switch.css +1 -1
  190. package/es/switch/Switch.vue.js +1 -1
  191. package/es/switch/Switch.vue2.js +32 -32
  192. package/es/table/Table.css +1 -1
  193. package/es/table/Table.vue.js +2 -2
  194. package/es/table/Table.vue2.js +686 -687
  195. package/es/tabs/Tabs.css +1 -1
  196. package/es/tabs/Tabs.vue.js +2 -2
  197. package/es/tabs/Tabs.vue2.js +91 -91
  198. package/es/tag/Tag.css +1 -1
  199. package/es/tag/Tag.vue.js +1 -1
  200. package/es/tag/Tag.vue2.js +91 -91
  201. package/es/textarea/Textarea.css +1 -1
  202. package/es/textarea/Textarea.vue.js +1 -1
  203. package/es/textarea/Textarea.vue2.js +37 -37
  204. package/es/textscroll/TextScroll.css +1 -1
  205. package/es/textscroll/TextScroll.d.ts +1 -1
  206. package/es/textscroll/TextScroll.vue.js +2 -2
  207. package/es/textscroll/TextScroll.vue2.js +100 -100
  208. package/es/textscroll/index.d.ts +3 -3
  209. package/es/timeline/Timeline.css +1 -1
  210. package/es/timeline/Timeline.vue.js +2 -2
  211. package/es/timeline/Timeline.vue2.js +24 -24
  212. package/es/tooltip/Tooltip.css +1 -1
  213. package/es/tooltip/Tooltip.vue.js +2 -2
  214. package/es/tooltip/Tooltip.vue2.js +129 -129
  215. package/es/upload/Upload.css +1 -1
  216. package/es/upload/Upload.vue.js +2 -2
  217. package/es/upload/Upload.vue2.js +137 -137
  218. package/es/utils/resolver.js +3 -3
  219. package/es/video/Video.css +1 -1
  220. package/es/video/Video.vue.js +2 -2
  221. package/es/video/Video.vue2.js +44 -44
  222. package/es/waterfall/Waterfall.css +1 -1
  223. package/es/waterfall/Waterfall.vue.js +2 -2
  224. package/es/waterfall/Waterfall.vue2.js +54 -54
  225. package/lib/alert/Alert.css +1 -1
  226. package/lib/alert/Alert.vue.cjs +1 -1
  227. package/lib/alert/Alert.vue2.cjs +2 -2
  228. package/lib/avatar/Avatar.css +1 -1
  229. package/lib/avatar/Avatar.vue.cjs +1 -1
  230. package/lib/avatar/Avatar.vue2.cjs +1 -1
  231. package/lib/backtop/BackTop.css +1 -1
  232. package/lib/backtop/BackTop.vue.cjs +1 -1
  233. package/lib/backtop/BackTop.vue2.cjs +6 -6
  234. package/lib/badge/Badge.css +1 -1
  235. package/lib/badge/Badge.vue.cjs +1 -1
  236. package/lib/badge/Badge.vue2.cjs +1 -1
  237. package/lib/breadcrumb/Breadcrumb.css +1 -1
  238. package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
  239. package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
  240. package/lib/button/Button.css +1 -1
  241. package/lib/button/Button.vue.cjs +1 -1
  242. package/lib/button/Button.vue2.cjs +3 -3
  243. package/lib/calendar/Calendar.css +1 -1
  244. package/lib/calendar/Calendar.vue.cjs +1 -1
  245. package/lib/calendar/Calendar.vue2.cjs +5 -5
  246. package/lib/card/Card.css +1 -1
  247. package/lib/card/Card.vue.cjs +1 -1
  248. package/lib/card/Card.vue2.cjs +1 -1
  249. package/lib/carousel/Carousel.css +1 -1
  250. package/lib/carousel/Carousel.vue.cjs +1 -1
  251. package/lib/carousel/Carousel.vue2.cjs +7 -7
  252. package/lib/cascader/Cascader.css +1 -1
  253. package/lib/cascader/Cascader.d.ts +8 -0
  254. package/lib/cascader/Cascader.vue.cjs +1 -1
  255. package/lib/cascader/Cascader.vue2.cjs +1 -1
  256. package/lib/cascader/index.d.ts +12 -0
  257. package/lib/checkbox/Checkbox.css +1 -1
  258. package/lib/checkbox/Checkbox.vue.cjs +1 -1
  259. package/lib/checkbox/Checkbox.vue2.cjs +1 -1
  260. package/lib/collapse/Collapse.css +1 -1
  261. package/lib/collapse/Collapse.vue.cjs +1 -1
  262. package/lib/collapse/Collapse.vue2.cjs +1 -1
  263. package/lib/colorpicker/ColorPicker.css +1 -1
  264. package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
  265. package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
  266. package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
  267. package/lib/countdown/Countdown.css +1 -1
  268. package/lib/countdown/Countdown.vue.cjs +1 -1
  269. package/lib/countdown/Countdown.vue2.cjs +1 -1
  270. package/lib/datepicker/DatePicker.css +1 -1
  271. package/lib/datepicker/DatePicker.vue.cjs +1 -1
  272. package/lib/datepicker/DatePicker.vue2.cjs +2 -2
  273. package/lib/descriptions/descriptions/Descriptions.css +1 -1
  274. package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
  275. package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
  276. package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
  277. package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
  278. package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
  279. package/lib/dialog/Dialog.css +1 -1
  280. package/lib/dialog/Dialog.d.ts +2 -2
  281. package/lib/dialog/Dialog.vue.cjs +1 -1
  282. package/lib/dialog/Dialog.vue2.cjs +1 -1
  283. package/lib/dialog/index.d.ts +6 -6
  284. package/lib/divider/Divider.css +1 -1
  285. package/lib/divider/Divider.vue.cjs +1 -1
  286. package/lib/divider/Divider.vue2.cjs +1 -1
  287. package/lib/drawer/Drawer.css +1 -1
  288. package/lib/drawer/Drawer.vue.cjs +1 -1
  289. package/lib/drawer/Drawer.vue2.cjs +1 -1
  290. package/lib/ellipsis/Ellipsis.css +1 -1
  291. package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
  292. package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
  293. package/lib/empty/Empty.css +1 -1
  294. package/lib/empty/Empty.vue.cjs +1 -1
  295. package/lib/empty/Empty.vue2.cjs +1 -1
  296. package/lib/flex/Flex.css +1 -1
  297. package/lib/flex/Flex.vue.cjs +1 -1
  298. package/lib/flex/Flex.vue2.cjs +8 -8
  299. package/lib/floatbutton/FloatButton.css +1 -1
  300. package/lib/floatbutton/FloatButton.vue.cjs +1 -1
  301. package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
  302. package/lib/gradienttext/GradientText.css +1 -1
  303. package/lib/gradienttext/GradientText.vue.cjs +1 -1
  304. package/lib/gradienttext/GradientText.vue2.cjs +1 -1
  305. package/lib/grid/col/Col.css +1 -1
  306. package/lib/grid/col/Col.vue.cjs +1 -1
  307. package/lib/grid/col/Col.vue2.cjs +1 -1
  308. package/lib/grid/row/Row.css +1 -1
  309. package/lib/grid/row/Row.vue.cjs +1 -1
  310. package/lib/grid/row/Row.vue2.cjs +1 -1
  311. package/lib/image/Image.css +1 -1
  312. package/lib/image/Image.vue.cjs +1 -1
  313. package/lib/image/Image.vue2.cjs +1 -1
  314. package/lib/input/Input.css +1 -1
  315. package/lib/input/Input.vue.cjs +1 -1
  316. package/lib/input/Input.vue2.cjs +5 -5
  317. package/lib/inputnumber/InputNumber.css +1 -1
  318. package/lib/inputnumber/InputNumber.vue.cjs +1 -1
  319. package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
  320. package/lib/inputsearch/InputSearch.css +1 -1
  321. package/lib/inputsearch/InputSearch.vue.cjs +1 -1
  322. package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
  323. package/lib/list/list/List.css +1 -1
  324. package/lib/list/list/List.vue.cjs +1 -1
  325. package/lib/list/list/List.vue2.cjs +1 -1
  326. package/lib/list/listitem/ListItem.css +1 -1
  327. package/lib/list/listitem/ListItem.vue.cjs +1 -1
  328. package/lib/list/listitem/ListItem.vue2.cjs +1 -1
  329. package/lib/loadingbar/LoadingBar.css +1 -1
  330. package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
  331. package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
  332. package/lib/message/Message.css +1 -1
  333. package/lib/message/Message.vue.cjs +1 -1
  334. package/lib/message/Message.vue2.cjs +2 -2
  335. package/lib/modal/Modal.css +1 -1
  336. package/lib/modal/Modal.d.ts +2 -2
  337. package/lib/modal/Modal.vue.cjs +1 -1
  338. package/lib/modal/index.d.ts +6 -6
  339. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
  340. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
  341. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
  342. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
  343. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
  344. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
  345. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
  346. package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css +1 -0
  347. package/lib/notification/Notification.css +1 -1
  348. package/lib/notification/Notification.vue.cjs +1 -1
  349. package/lib/notification/Notification.vue2.cjs +2 -2
  350. package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
  351. package/lib/pagination/Pagination.css +1 -1
  352. package/lib/pagination/Pagination.vue.cjs +1 -1
  353. package/lib/pagination/Pagination.vue2.cjs +1 -1
  354. package/lib/popconfirm/Popconfirm.css +1 -1
  355. package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
  356. package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
  357. package/lib/popover/Popover.css +1 -1
  358. package/lib/popover/Popover.vue.cjs +1 -1
  359. package/lib/popover/Popover.vue2.cjs +1 -1
  360. package/lib/progress/Progress.css +1 -1
  361. package/lib/progress/Progress.vue.cjs +1 -1
  362. package/lib/progress/Progress.vue2.cjs +9 -9
  363. package/lib/qrcode/QRCode.css +1 -1
  364. package/lib/qrcode/QRCode.vue.cjs +1 -1
  365. package/lib/qrcode/QRCode.vue2.cjs +1 -1
  366. package/lib/radio/Radio.css +1 -1
  367. package/lib/radio/Radio.vue.cjs +1 -1
  368. package/lib/radio/Radio.vue2.cjs +4 -4
  369. package/lib/rate/Rate.css +1 -1
  370. package/lib/rate/Rate.d.ts +1 -1
  371. package/lib/rate/Rate.vue.cjs +1 -1
  372. package/lib/rate/Rate.vue2.cjs +1 -1
  373. package/lib/rate/index.d.ts +3 -3
  374. package/lib/result/Result.css +1 -1
  375. package/lib/result/Result.vue.cjs +1 -1
  376. package/lib/result/Result.vue2.cjs +1 -1
  377. package/lib/scrollbar/Scrollbar.css +1 -1
  378. package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
  379. package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
  380. package/lib/segmented/Segmented.css +1 -1
  381. package/lib/segmented/Segmented.vue.cjs +1 -1
  382. package/lib/segmented/Segmented.vue2.cjs +1 -1
  383. package/lib/select/Select.css +1 -1
  384. package/lib/select/Select.vue.cjs +1 -1
  385. package/lib/select/Select.vue2.cjs +4 -4
  386. package/lib/skeleton/Skeleton.css +1 -1
  387. package/lib/skeleton/Skeleton.vue.cjs +1 -1
  388. package/lib/skeleton/Skeleton.vue2.cjs +1 -1
  389. package/lib/slider/Slider.css +1 -1
  390. package/lib/slider/Slider.vue.cjs +1 -1
  391. package/lib/slider/Slider.vue2.cjs +7 -7
  392. package/lib/space/Space.css +1 -1
  393. package/lib/space/Space.vue.cjs +1 -1
  394. package/lib/space/Space.vue2.cjs +1 -1
  395. package/lib/spin/Spin.css +1 -1
  396. package/lib/spin/Spin.vue.cjs +1 -1
  397. package/lib/spin/Spin.vue2.cjs +5 -5
  398. package/lib/statistic/Statistic.css +1 -1
  399. package/lib/statistic/Statistic.vue.cjs +1 -1
  400. package/lib/statistic/Statistic.vue2.cjs +1 -1
  401. package/lib/steps/Steps.css +1 -1
  402. package/lib/steps/Steps.vue.cjs +1 -1
  403. package/lib/steps/Steps.vue2.cjs +3 -3
  404. package/lib/swiper/Swiper.css +1 -1
  405. package/lib/swiper/Swiper.vue.cjs +1 -1
  406. package/lib/swiper/Swiper.vue2.cjs +13 -13
  407. package/lib/switch/Switch.css +1 -1
  408. package/lib/switch/Switch.vue.cjs +1 -1
  409. package/lib/switch/Switch.vue2.cjs +5 -5
  410. package/lib/table/Table.css +1 -1
  411. package/lib/table/Table.vue.cjs +1 -1
  412. package/lib/table/Table.vue2.cjs +1 -1
  413. package/lib/tabs/Tabs.css +1 -1
  414. package/lib/tabs/Tabs.vue.cjs +1 -1
  415. package/lib/tabs/Tabs.vue2.cjs +1 -1
  416. package/lib/tag/Tag.css +1 -1
  417. package/lib/tag/Tag.vue.cjs +1 -1
  418. package/lib/tag/Tag.vue2.cjs +1 -1
  419. package/lib/textarea/Textarea.css +1 -1
  420. package/lib/textarea/Textarea.vue.cjs +1 -1
  421. package/lib/textarea/Textarea.vue2.cjs +4 -4
  422. package/lib/textscroll/TextScroll.css +1 -1
  423. package/lib/textscroll/TextScroll.d.ts +1 -1
  424. package/lib/textscroll/TextScroll.vue.cjs +1 -1
  425. package/lib/textscroll/TextScroll.vue2.cjs +9 -9
  426. package/lib/textscroll/index.d.ts +3 -3
  427. package/lib/timeline/Timeline.css +1 -1
  428. package/lib/timeline/Timeline.vue.cjs +1 -1
  429. package/lib/timeline/Timeline.vue2.cjs +1 -1
  430. package/lib/tooltip/Tooltip.css +1 -1
  431. package/lib/tooltip/Tooltip.vue.cjs +1 -1
  432. package/lib/tooltip/Tooltip.vue2.cjs +1 -1
  433. package/lib/upload/Upload.css +1 -1
  434. package/lib/upload/Upload.vue.cjs +1 -1
  435. package/lib/upload/Upload.vue2.cjs +1 -1
  436. package/lib/utils/resolver.cjs +1 -1
  437. package/lib/video/Video.css +1 -1
  438. package/lib/video/Video.vue.cjs +1 -1
  439. package/lib/video/Video.vue2.cjs +2 -2
  440. package/lib/waterfall/Waterfall.css +1 -1
  441. package/lib/waterfall/Waterfall.vue.cjs +1 -1
  442. package/lib/waterfall/Waterfall.vue2.cjs +4 -4
  443. package/package.json +30 -27
  444. package/es/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
  445. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
  446. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
  447. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
  448. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
  449. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
  450. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
  451. package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
  452. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
  453. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
  454. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
  455. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
  456. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
  457. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
  458. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
  459. package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
  460. /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
  461. /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
@@ -1,13 +1,13 @@
1
- import { defineComponent as G, ref as m, computed as J, watchEffect as K, createElementBlock as g, openBlock as p, normalizeStyle as O, unref as h, createVNode as k, mergeProps as b, withCtx as Q, Fragment as X, renderList as Y, withDirectives as z, createCommentVNode as Z, createElementVNode as s, withModifiers as w, normalizeClass as x, renderSlot as ee, createTextVNode as le, toDisplayString as oe, vShow as M, createBlock as ae } from "vue";
2
- import te from "../spin/index.js";
3
- import se from "../message/index.js";
4
- import ie from "../image/index.js";
5
- import ne from "../space/index.js";
1
+ import { defineComponent as G, ref as g, computed as J, watchEffect as K, createElementBlock as h, openBlock as p, normalizeStyle as O, unref as w, createVNode as z, mergeProps as C, withCtx as Q, Fragment as X, renderList as Y, withDirectives as M, createCommentVNode as Z, createElementVNode as i, withModifiers as y, normalizeClass as _, renderSlot as ee, createTextVNode as le, toDisplayString as ae, vShow as R, createBlock as te } from "vue";
2
+ import oe from "../spin/index.js";
3
+ import ie from "../message/index.js";
4
+ import ne from "../image/index.js";
5
+ import se from "../space/index.js";
6
6
  import { useInject as ue } from "../utils/index.js";
7
- const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe = { class: "upload-tip" }, de = { class: "file-uploading" }, pe = {
7
+ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe = { class: "upload-tip" }, de = { class: "file-uploading" }, ve = {
8
8
  key: 0,
9
9
  class: "file-preview"
10
- }, ve = {
10
+ }, pe = {
11
11
  key: 1,
12
12
  class: "file-svg",
13
13
  focusable: "false",
@@ -49,149 +49,149 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
49
49
  fileList: { default: () => [] }
50
50
  },
51
51
  emits: ["update:fileList", "drop", "change", "preview", "remove"],
52
- setup(P, { expose: U, emit: F }) {
53
- const i = P, t = m([]), f = m(1), v = m([]), y = m(), R = m(), u = m(), { colorPalettes: B } = ue("Upload"), r = F, c = J(() => i.maxCount === void 0 ? 1 / 0 : i.maxCount);
52
+ setup(u, { expose: U, emit: F }) {
53
+ const n = u, o = g([]), d = g(1), m = g([]), b = g(), L = g(), r = g(), { colorPalettes: B } = ue("Upload"), c = F, f = J(() => n.maxCount === void 0 ? 1 / 0 : n.maxCount);
54
54
  K(() => {
55
55
  H();
56
56
  });
57
57
  function H() {
58
- t.value = [...i.fileList], t.value.length > c.value && t.value.splice(c.value), i.disabled ? f.value = t.value.length : t.value.length < c.value ? f.value = i.fileList.length + 1 : f.value = c.value;
58
+ o.value = [...n.fileList], o.value.length > f.value && o.value.splice(f.value), n.disabled ? d.value = o.value.length : o.value.length < f.value ? d.value = n.fileList.length + 1 : d.value = f.value;
59
59
  }
60
- function C(e) {
61
- const l = /\.(jpg|jpeg|png|gif)$/i, o = /^data:image/;
62
- return l.test(e) || o.test(e);
60
+ function k(a) {
61
+ const e = /\.(jpg|jpeg|png|gif)$/i, l = /^data:image/;
62
+ return e.test(a) || l.test(a);
63
63
  }
64
- function V(e) {
65
- const l = /\.pdf$/i, o = /^data:application\/pdf/;
66
- return l.test(e) || o.test(e);
64
+ function V(a) {
65
+ const e = /\.pdf$/i, l = /^data:application\/pdf/;
66
+ return e.test(a) || l.test(a);
67
67
  }
68
- function q(e, l) {
69
- const o = e.dataTransfer?.files;
70
- if (o?.length) {
71
- const a = o.length;
72
- for (let n = 0; n < a && l + n <= c.value; n++)
73
- L(o[n], l + n);
74
- y.value[l].value = "";
68
+ function q(a, e) {
69
+ const l = a.dataTransfer?.files;
70
+ if (l?.length) {
71
+ const t = l.length;
72
+ for (let s = 0; s < t && e + s <= f.value; s++)
73
+ P(l[s], e + s);
74
+ b.value[e].value = "";
75
75
  }
76
- r("drop", e);
76
+ c("drop", a);
77
77
  }
78
- function D(e) {
79
- y.value[e].click();
78
+ function D(a) {
79
+ b.value[a].click();
80
80
  }
81
- function I(e, l) {
82
- const o = e.target.files;
83
- if (o?.length) {
84
- const a = o.length;
85
- for (let n = 0; n < a && l + n < c.value; n++)
86
- L(o[n], l + n);
87
- y.value[l].value = "";
81
+ function I(a, e) {
82
+ const l = a.target.files;
83
+ if (l?.length) {
84
+ const t = l.length;
85
+ for (let s = 0; s < t && e + s < f.value; s++)
86
+ P(l[s], e + s);
87
+ b.value[e].value = "";
88
88
  }
89
89
  }
90
- const L = async (e, l) => {
91
- new Promise((a, n) => {
90
+ const P = async (a, e) => {
91
+ new Promise((t, s) => {
92
92
  try {
93
- const d = i.beforeUpload(e);
94
- d instanceof Promise ? d.then(a, n) : typeof d == "boolean" ? d ? a(d) : n(new Error("Function returned false")) : a(d);
95
- } catch (d) {
96
- n(d);
93
+ const v = n.beforeUpload(a);
94
+ v instanceof Promise ? v.then(t, s) : typeof v == "boolean" ? v ? t(v) : s(new Error("Function returned false")) : t(v);
95
+ } catch (v) {
96
+ s(v);
97
97
  }
98
98
  }).then(() => {
99
- c.value > f.value && f.value++, i.uploadMode === "base64" && (v.value[l] = !0, S(e, l)), i.uploadMode === "custom" && (v.value[l] = !0, $(e, l));
100
- }).catch((a) => {
101
- console.log("beforeUpload error:", a);
99
+ f.value > d.value && d.value++, n.uploadMode === "base64" && (m.value[e] = !0, S(a, e)), n.uploadMode === "custom" && (m.value[e] = !0, $(a, e));
100
+ }).catch((t) => {
101
+ console.log("beforeUpload error:", t);
102
102
  });
103
103
  };
104
- function S(e, l) {
105
- const o = new FileReader();
106
- o.readAsDataURL(e), o.onloadstart = function(a) {
107
- }, o.onabort = function(a) {
108
- }, o.onerror = function(a) {
109
- }, o.onprogress = function(a) {
110
- a.loaded === a.total && (v.value[l] = !1);
111
- }, o.onload = function(a) {
112
- t.value.push({
113
- name: e.name,
114
- url: a.target?.result
115
- }), i.actionMessage.upload && u.value.success(i.actionMessage.upload), r("update:fileList", t.value), r("change", t.value);
116
- }, o.onloadend = function(a) {
104
+ function S(a, e) {
105
+ const l = new FileReader();
106
+ l.readAsDataURL(a), l.onloadstart = function(t) {
107
+ }, l.onabort = function(t) {
108
+ }, l.onerror = function(t) {
109
+ }, l.onprogress = function(t) {
110
+ t.loaded === t.total && (m.value[e] = !1);
111
+ }, l.onload = function(t) {
112
+ o.value.push({
113
+ name: a.name,
114
+ url: t.target?.result
115
+ }), n.actionMessage.upload && r.value.success(n.actionMessage.upload), c("update:fileList", o.value), c("change", o.value);
116
+ }, l.onloadend = function(t) {
117
117
  };
118
118
  }
119
- function $(e, l) {
120
- i.customRequest(e).then((o) => {
121
- t.value.push(o), i.actionMessage.upload && u.value.success(i.actionMessage.upload), r("update:fileList", t.value), r("change", t.value);
122
- }).catch((o) => {
123
- c.value > 1 && (f.value = t.value.length + 1), u.value.error(o);
119
+ function $(a, e) {
120
+ n.customRequest(a).then((l) => {
121
+ o.value.push(l), n.actionMessage.upload && r.value.success(n.actionMessage.upload), c("update:fileList", o.value), c("change", o.value);
122
+ }).catch((l) => {
123
+ f.value > 1 && (d.value = o.value.length + 1), r.value.error(l);
124
124
  }).finally(() => {
125
- v.value[l] = !1;
125
+ m.value[e] = !1;
126
126
  });
127
127
  }
128
- function E(e, l) {
129
- if (C(l)) {
130
- const o = t.value.slice(0, e).filter((a) => !C(a.url));
131
- R.value[e - o.length].preview(0);
128
+ function E(a, e) {
129
+ if (k(e)) {
130
+ const l = o.value.slice(0, a).filter((t) => !k(t.url));
131
+ L.value[a - l.length].preview(0);
132
132
  } else
133
- window.open(l);
134
- r("preview", t.value[e]);
133
+ window.open(e);
134
+ c("preview", o.value[a]);
135
135
  }
136
- function N(e) {
137
- t.value.length < c.value && f.value--;
138
- const l = t.value.splice(e, 1);
139
- i.actionMessage.remove && u.value.success(i.actionMessage.remove), r("remove", l[0]), r("update:fileList", t.value), r("change", t.value);
136
+ function x(a) {
137
+ o.value.length < f.value && d.value--;
138
+ const e = o.value.splice(a, 1);
139
+ n.actionMessage.remove && r.value.success(n.actionMessage.remove), c("remove", e[0]), c("update:fileList", o.value), c("change", o.value);
140
140
  }
141
- function _(e) {
142
- u.value.info(e);
141
+ function N(a) {
142
+ r.value.info(a);
143
143
  }
144
- function T(e) {
145
- u.value.success(e);
144
+ function T(a) {
145
+ r.value.success(a);
146
146
  }
147
- function j(e) {
148
- u.value.error(e);
147
+ function j(a) {
148
+ r.value.error(a);
149
149
  }
150
- function A(e) {
151
- u.value.warning(e);
150
+ function A(a) {
151
+ r.value.warning(a);
152
152
  }
153
- function W(e) {
154
- u.value.loading(e);
153
+ function W(a) {
154
+ r.value.loading(a);
155
155
  }
156
156
  return U({
157
- info: _,
157
+ info: N,
158
158
  success: T,
159
159
  error: j,
160
160
  warning: A,
161
161
  loading: W
162
- }), (e, l) => (p(), g("div", {
162
+ }), (a, e) => (p(), h("div", {
163
163
  class: "upload-wrap",
164
- style: O(`--upload-primary-color: ${h(B)[5]};`)
164
+ style: O(`--upload-primary-color: ${w(B)[5]};`)
165
165
  }, [
166
- k(h(ne), b({ gap: "small" }, e.spaceProps), {
166
+ z(w(se), C({ gap: "small" }, u.spaceProps), {
167
167
  default: Q(() => [
168
- (p(!0), g(X, null, Y(f.value, (o) => (p(), g("div", {
168
+ (p(!0), h(X, null, Y(d.value, (l) => (p(), h("div", {
169
169
  class: "upload-item-panel",
170
- key: o
170
+ key: l
171
171
  }, [
172
- z(s("div", {
173
- class: x(["upload-item", { "upload-disabled": e.disabled }]),
174
- onDragenter: l[1] || (l[1] = w(() => {
172
+ M(i("div", {
173
+ class: _(["upload-item", { "upload-disabled": u.disabled }]),
174
+ onDragenter: e[1] || (e[1] = y(() => {
175
175
  }, ["stop", "prevent"])),
176
- onDragover: l[2] || (l[2] = w(() => {
176
+ onDragover: e[2] || (e[2] = y(() => {
177
177
  }, ["stop", "prevent"])),
178
- onDrop: w((a) => e.draggable && !e.disabled ? q(a, o - 1) : () => !1, ["stop", "prevent"]),
179
- onClick: (a) => e.disabled ? () => !1 : D(o - 1)
178
+ onDrop: y((t) => u.draggable && !u.disabled ? q(t, l - 1) : () => !1, ["stop", "prevent"]),
179
+ onClick: (t) => u.disabled ? () => !1 : D(l - 1)
180
180
  }, [
181
- s("input", {
181
+ i("input", {
182
182
  ref_for: !0,
183
183
  ref_key: "uploadInputRef",
184
- ref: y,
184
+ ref: b,
185
185
  type: "file",
186
- onClick: l[0] || (l[0] = w(() => {
186
+ onClick: e[0] || (e[0] = y(() => {
187
187
  }, ["stop"])),
188
- accept: e.accept,
189
- multiple: e.multiple,
190
- onChange: (a) => I(a, o - 1),
188
+ accept: u.accept,
189
+ multiple: u.multiple,
190
+ onChange: (t) => I(t, l - 1),
191
191
  style: { display: "none" }
192
192
  }, null, 40, ce),
193
- s("div", null, [
194
- l[3] || (l[3] = s("svg", {
193
+ i("div", null, [
194
+ e[3] || (e[3] = i("svg", {
195
195
  focusable: "false",
196
196
  class: "plus-svg",
197
197
  "data-icon": "plus",
@@ -201,55 +201,55 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
201
201
  "aria-hidden": "true",
202
202
  viewBox: "64 64 896 896"
203
203
  }, [
204
- s("defs"),
205
- s("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
206
- s("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
204
+ i("defs"),
205
+ i("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
206
+ i("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
207
207
  ], -1)),
208
- s("p", fe, [
209
- ee(e.$slots, "tip", {}, () => [
210
- le(oe(e.tip), 1)
208
+ i("p", fe, [
209
+ ee(a.$slots, "tip", {}, () => [
210
+ le(ae(u.tip), 1)
211
211
  ], !0)
212
212
  ])
213
213
  ])
214
214
  ], 42, re), [
215
- [M, !v.value[o - 1] && !t.value[o - 1]]
215
+ [R, !m.value[l - 1] && !o.value[l - 1]]
216
216
  ]),
217
- z(s("div", de, [
218
- k(h(te), b({
217
+ M(i("div", de, [
218
+ z(w(oe), C({
219
219
  class: "spin-uploading",
220
220
  tip: "uploading",
221
221
  size: "small",
222
222
  indicator: "spin-line",
223
223
  color: "var(--upload-primary-color)"
224
- }, { ref_for: !0 }, e.spinProps), null, 16)
224
+ }, { ref_for: !0 }, u.spinProps), null, 16)
225
225
  ], 512), [
226
- [M, v.value[o - 1]]
226
+ [R, m.value[l - 1]]
227
227
  ]),
228
- t.value[o - 1] ? (p(), g("div", pe, [
229
- C(t.value[o - 1].url) ? (p(), ae(h(ie), b({
228
+ o.value[l - 1] ? (p(), h("div", ve, [
229
+ k(o.value[l - 1].url) ? (p(), te(w(ne), C({
230
230
  key: 0,
231
231
  ref_for: !0,
232
232
  ref_key: "imageRef",
233
- ref: R,
233
+ ref: L,
234
234
  style: { "--image-primary-color": "var(--upload-primary-color)" },
235
235
  bordered: !1,
236
236
  width: 82,
237
237
  height: 82,
238
- fit: e.fit,
239
- src: t.value[o - 1].url,
240
- name: t.value[o - 1].name
241
- }, { ref_for: !0 }, e.imageProps), null, 16, ["fit", "src", "name"])) : V(t.value[o - 1].url) ? (p(), g("svg", ve, [...l[4] || (l[4] = [
242
- s("path", { d: "M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
243
- ])])) : (p(), g("svg", me, [...l[5] || (l[5] = [
244
- s("path", { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
238
+ fit: u.fit,
239
+ src: o.value[l - 1].url,
240
+ name: o.value[l - 1].name
241
+ }, { ref_for: !0 }, u.imageProps), null, 16, ["fit", "src", "name"])) : V(o.value[l - 1].url) ? (p(), h("svg", pe, [...e[4] || (e[4] = [
242
+ i("path", { d: "M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
243
+ ])])) : (p(), h("svg", me, [...e[5] || (e[5] = [
244
+ i("path", { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
245
245
  ])])),
246
- s("div", ge, [
247
- s("a", {
246
+ i("div", ge, [
247
+ i("a", {
248
248
  class: "file-icon",
249
249
  title: "预览",
250
- onClick: (a) => E(o - 1, t.value[o - 1].url)
251
- }, [...l[6] || (l[6] = [
252
- s("svg", {
250
+ onClick: (t) => E(l - 1, o.value[l - 1].url)
251
+ }, [...e[6] || (e[6] = [
252
+ i("svg", {
253
253
  class: "icon-svg",
254
254
  focusable: "false",
255
255
  "data-icon": "eye",
@@ -259,15 +259,15 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
259
259
  "aria-hidden": "true",
260
260
  viewBox: "64 64 896 896"
261
261
  }, [
262
- s("path", { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" })
262
+ i("path", { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" })
263
263
  ], -1)
264
264
  ])], 8, he),
265
- z(s("a", {
265
+ M(i("a", {
266
266
  class: "file-icon",
267
267
  title: "删除",
268
- onClick: w((a) => N(o - 1), ["prevent", "stop"])
269
- }, [...l[7] || (l[7] = [
270
- s("svg", {
268
+ onClick: y((t) => x(l - 1), ["prevent", "stop"])
269
+ }, [...e[7] || (e[7] = [
270
+ i("svg", {
271
271
  class: "icon-svg",
272
272
  focusable: "false",
273
273
  "data-icon": "delete",
@@ -277,10 +277,10 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
277
277
  "aria-hidden": "true",
278
278
  viewBox: "64 64 896 896"
279
279
  }, [
280
- s("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })
280
+ i("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })
281
281
  ], -1)
282
282
  ])], 8, we), [
283
- [M, !e.disabled]
283
+ [R, !u.disabled]
284
284
  ])
285
285
  ])
286
286
  ])) : Z("", !0)
@@ -288,10 +288,10 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
288
288
  ]),
289
289
  _: 3
290
290
  }, 16),
291
- k(h(se), b({
291
+ z(w(ie), C({
292
292
  ref_key: "messageRef",
293
- ref: u
294
- }, e.messageProps), null, 16)
293
+ ref: r
294
+ }, u.messageProps), null, 16)
295
295
  ], 4));
296
296
  }
297
297
  });
@@ -108,8 +108,8 @@ function p(e, t) {
108
108
  `vue-amazing-ui/${i}/${s[a]}/${a}.css`
109
109
  );
110
110
  }), e === "DatePicker" && o.push(
111
- `vue-amazing-ui/${i}/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css`
112
- ), e === "Swiper" && (o.push(`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css`), [
111
+ `vue-amazing-ui/${i}/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css`
112
+ ), e === "Swiper" && (o.push(`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css`), [
113
113
  "effect-cards",
114
114
  "effect-creative",
115
115
  "effect-cube",
@@ -119,7 +119,7 @@ function p(e, t) {
119
119
  "pagination"
120
120
  ].forEach((n) => {
121
121
  o.push(
122
- `vue-amazing-ui/${i}/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/${n}.css`
122
+ `vue-amazing-ui/${i}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/${n}.css`
123
123
  );
124
124
  })), o;
125
125
  }
@@ -1 +1 @@
1
- .video-wrap[data-v-45ca4be1]{width:var(--video-width);height:var(--video-height);position:relative;background:#000;cursor:pointer}.video-wrap .video-element[data-v-45ca4be1]{display:inline-block;width:100%;height:100%;vertical-align:bottom}.video-wrap .icon-play[data-v-45ca4be1]{display:inline-flex;align-items:center;justify-content:center;position:absolute;inset:0;margin:auto;width:80px;height:80px;transform:scale(var(--video-icon-scale));border-radius:50%;background-color:#0009;opacity:0;pointer-events:none;transition:background-color .3s}.video-wrap .icon-play .play-svg[data-v-45ca4be1]{display:inline-block;color:#fff;fill:currentColor;width:29px;height:34px;margin-left:3px}.video-wrap .icon-show[data-v-45ca4be1]{opacity:1}.video-hover:hover .icon-play[data-v-45ca4be1]{background-color:#000000b3}
1
+ .video-wrap[data-v-4b1efd1d]{width:var(--video-width);height:var(--video-height);position:relative;background:#000;cursor:pointer}.video-wrap .video-element[data-v-4b1efd1d]{display:inline-block;width:100%;height:100%;vertical-align:bottom}.video-wrap .icon-play[data-v-4b1efd1d]{display:inline-flex;align-items:center;justify-content:center;position:absolute;inset:0;margin:auto;width:80px;height:80px;transform:scale(var(--video-icon-scale));border-radius:50%;background-color:#0009;opacity:0;pointer-events:none;transition:background-color .3s}.video-wrap .icon-play .play-svg[data-v-4b1efd1d]{display:inline-block;color:#fff;fill:currentColor;width:29px;height:34px;margin-left:3px}.video-wrap .icon-show[data-v-4b1efd1d]{opacity:1}.video-hover:hover .icon-play[data-v-4b1efd1d]{background-color:#000000b3}
@@ -1,7 +1,7 @@
1
1
  import o from "./Video.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-45ca4be1"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b1efd1d"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as z, ref as s, computed as f, watch as c, createElementBlock as L, openBlock as S, normalizeStyle as b, normalizeClass as y, createElementVNode as i, withDirectives as E, mergeProps as R, withModifiers as T, vShow as D } from "vue";
2
- const H = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"], V = /* @__PURE__ */ z({
1
+ import { defineComponent as k, ref as s, computed as p, watch as y, createElementBlock as z, openBlock as L, normalizeStyle as S, normalizeClass as m, createElementVNode as v, withDirectives as b, mergeProps as E, withModifiers as R, vShow as T } from "vue";
2
+ const D = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"], M = /* @__PURE__ */ k({
3
3
  __name: "Video",
4
4
  props: {
5
5
  width: { default: 800 },
@@ -17,87 +17,87 @@ const H = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"],
17
17
  iconSize: { default: 80 }
18
18
  },
19
19
  emits: ["play", "pause"],
20
- setup(m, { expose: h, emit: g }) {
21
- const o = m, a = s(), r = s(), u = s(!1), l = s(!0), n = s(!1), v = g, w = f(() => typeof o.width == "number" ? `${o.width}px` : o.width), P = f(() => typeof o.height == "number" ? `${o.height}px` : o.height);
22
- c(
23
- () => o.second,
20
+ setup(e, { expose: h, emit: g }) {
21
+ const a = e, t = s(), d = s(), n = s(!1), u = s(!0), i = s(!1), r = g, w = p(() => typeof a.width == "number" ? `${a.width}px` : a.width), P = p(() => typeof a.height == "number" ? `${a.height}px` : a.height);
22
+ y(
23
+ () => a.second,
24
24
  () => {
25
- p();
25
+ f();
26
26
  }
27
- ), c(
28
- () => o.autoplay,
29
- (e) => {
30
- e ? (n.value = !1, l.value = !1, u.value = !0) : (n.value = !0, l.value = !0, u.value = !1, a.value?.pause());
27
+ ), y(
28
+ () => a.autoplay,
29
+ (l) => {
30
+ l ? (i.value = !1, u.value = !1, n.value = !0) : (i.value = !0, u.value = !0, n.value = !1, t.value?.pause());
31
31
  },
32
32
  {
33
33
  immediate: !0,
34
34
  flush: "post"
35
35
  }
36
36
  );
37
- function p() {
38
- if (a.value) {
39
- a.value.currentTime = o.second;
40
- const e = document.createElement("canvas"), t = e.getContext("2d");
41
- e.width = a.value.videoWidth, e.height = a.value.videoHeight, t?.drawImage(a.value, 0, 0, e.width, e.height), r.value = e.toDataURL("image/png");
37
+ function f() {
38
+ if (t.value) {
39
+ t.value.currentTime = a.second;
40
+ const l = document.createElement("canvas"), o = l.getContext("2d");
41
+ l.width = t.value.videoWidth, l.height = t.value.videoHeight, o?.drawImage(t.value, 0, 0, l.width, l.height), d.value = l.toDataURL("image/png");
42
42
  }
43
43
  }
44
44
  function $() {
45
- l.value && (l.value = !1, a.value.currentTime = 0), u.value ? a.value.pause() : a.value.play();
45
+ u.value && (u.value = !1, t.value.currentTime = 0), n.value ? t.value.pause() : t.value.play();
46
+ }
47
+ function x() {
48
+ n.value = !1, a.playIcon && (i.value = !0), r("pause");
46
49
  }
47
50
  function B() {
48
- u.value = !1, o.playIcon && (n.value = !0), v("pause");
51
+ n.value = !0, a.playIcon && (i.value = !1), r("play");
49
52
  }
50
53
  function C() {
51
- u.value = !0, o.playIcon && (n.value = !1), v("play");
54
+ u.value && (u.value = !1, t.value.currentTime = 0), n.value || t.value.play();
52
55
  }
53
56
  function I() {
54
- l.value && (l.value = !1, a.value.currentTime = 0), u.value || a.value.play();
55
- }
56
- function k() {
57
- u.value && a.value.pause();
57
+ n.value && t.value.pause();
58
58
  }
59
59
  return h({
60
- play: I,
61
- pause: k
62
- }), (e, t) => (S(), L("div", {
63
- class: y(["video-wrap", { "video-hover": n.value }]),
64
- style: b(`--video-width: ${w.value}; --video-height: ${P.value}; --video-icon-scale: ${e.iconSize / 80};`)
60
+ play: C,
61
+ pause: I
62
+ }), (l, o) => (L(), z("div", {
63
+ class: m(["video-wrap", { "video-hover": i.value }]),
64
+ style: S(`--video-width: ${w.value}; --video-height: ${P.value}; --video-icon-scale: ${e.iconSize / 80};`)
65
65
  }, [
66
- i("video", R({
66
+ v("video", E({
67
67
  ref_key: "veoRef",
68
- ref: a,
68
+ ref: t,
69
69
  class: "video-element",
70
70
  style: `object-fit: ${e.fit};`,
71
71
  src: e.src,
72
- poster: e.poster ? e.poster : r.value,
72
+ poster: e.poster ? e.poster : d.value,
73
73
  autoplay: e.autoplay,
74
- controls: !l.value && e.controls,
74
+ controls: !u.value && e.controls,
75
75
  loop: e.loop,
76
76
  muted: e.autoplay || e.muted,
77
77
  preload: e.preload,
78
78
  crossorigin: "anonymous",
79
- onLoadedmetadata: t[0] || (t[0] = (d) => e.poster ? () => !1 : p()),
80
- onPause: t[1] || (t[1] = (d) => B()),
81
- onPlay: t[2] || (t[2] = (d) => C()),
82
- onClick: T($, ["prevent"])
83
- }, e.$attrs), " 您的浏览器不支持video标签。 ", 16, H),
84
- E(i("span", {
85
- class: y(["icon-play", { "icon-show": n.value }])
86
- }, [...t[3] || (t[3] = [
87
- i("svg", {
79
+ onLoadedmetadata: o[0] || (o[0] = (c) => e.poster ? () => !1 : f()),
80
+ onPause: o[1] || (o[1] = (c) => x()),
81
+ onPlay: o[2] || (o[2] = (c) => B()),
82
+ onClick: R($, ["prevent"])
83
+ }, l.$attrs), " 您的浏览器不支持video标签。 ", 16, D),
84
+ b(v("span", {
85
+ class: m(["icon-play", { "icon-show": i.value }])
86
+ }, [...o[3] || (o[3] = [
87
+ v("svg", {
88
88
  class: "play-svg",
89
89
  xmlns: "http://www.w3.org/2000/svg",
90
90
  viewBox: "0 0 34 34"
91
91
  }, [
92
- i("path", { d: `M28.26,11.961L11.035,0.813C7.464-1.498,3,1.391,3,6.013v21.974c0,4.622,4.464,7.511,8.035,5.2L28.26,22.039\r
92
+ v("path", { d: `M28.26,11.961L11.035,0.813C7.464-1.498,3,1.391,3,6.013v21.974c0,4.622,4.464,7.511,8.035,5.2L28.26,22.039
93
93
  C31.913,19.675,31.913,14.325,28.26,11.961z` })
94
94
  ], -1)
95
95
  ])], 2), [
96
- [D, l.value || e.playIcon]
96
+ [T, u.value || e.playIcon]
97
97
  ])
98
98
  ], 6));
99
99
  }
100
100
  });
101
101
  export {
102
- V as default
102
+ M as default
103
103
  };
@@ -1 +1 @@
1
- .waterfall-wrap[data-v-dad9d5bb]{position:relative;width:var(--waterfall-width);height:var(--waterfall-height);border-radius:var(--waterfall-border-radius);background-color:var(--waterfall-bg-color)}.waterfall-wrap .waterfall-image[data-v-dad9d5bb]{position:absolute}.waterfall-wrap .waterfall-image .image-link[data-v-dad9d5bb]{display:block;height:100%;cursor:default}.waterfall-wrap .waterfall-image .image-link .image-item[data-v-dad9d5bb]{width:100%;height:100%;border-radius:var(--border-radius);display:inline-block;vertical-align:bottom}.waterfall-wrap .waterfall-image .link-cursor[data-v-dad9d5bb]{cursor:pointer}
1
+ .waterfall-wrap[data-v-029a8750]{position:relative;width:var(--waterfall-width);height:var(--waterfall-height);border-radius:var(--waterfall-border-radius);background-color:var(--waterfall-bg-color)}.waterfall-wrap .waterfall-image[data-v-029a8750]{position:absolute}.waterfall-wrap .waterfall-image .image-link[data-v-029a8750]{display:block;height:100%;cursor:default}.waterfall-wrap .waterfall-image .image-link .image-item[data-v-029a8750]{width:100%;height:100%;border-radius:var(--border-radius);display:inline-block;vertical-align:bottom}.waterfall-wrap .waterfall-image .link-cursor[data-v-029a8750]{cursor:pointer}
@@ -1,7 +1,7 @@
1
1
  import o from "./Waterfall.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dad9d5bb"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-029a8750"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };