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,10 +1,10 @@
1
- import { defineComponent as N, ref as c, computed as m, watchEffect as P, nextTick as B, createElementBlock as r, createBlock as D, openBlock as s, normalizeStyle as q, normalizeClass as g, createCommentVNode as i, createElementVNode as n, renderSlot as y, createTextVNode as k, toDisplayString as w, unref as K, mergeProps as j, withCtx as F, withDirectives as U, Fragment as W, renderList as G, vModelText as J } from "vue";
2
- import O from "../space/index.js";
3
- import { useSlotsExist as Q } from "../utils/index.js";
4
- const X = {
1
+ import { defineComponent as H, ref as i, computed as w, watchEffect as N, nextTick as L, createElementBlock as c, createBlock as P, openBlock as n, normalizeStyle as V, normalizeClass as h, createCommentVNode as d, createElementVNode as s, renderSlot as b, createTextVNode as C, toDisplayString as $, unref as D, mergeProps as K, withCtx as j, withDirectives as F, Fragment as U, renderList as W, vModelText as G } from "vue";
2
+ import J from "../space/index.js";
3
+ import { useSlotsExist as O } from "../utils/index.js";
4
+ const Q = {
5
5
  key: 0,
6
6
  class: "tag-icon"
7
- }, Y = { class: "tag-label" }, Z = { class: "tag-label" }, x = ["onClick"], oe = /* @__PURE__ */ N({
7
+ }, X = { class: "tag-label" }, Y = { class: "tag-label" }, Z = ["onClick"], ae = /* @__PURE__ */ H({
8
8
  __name: "Tag",
9
9
  props: {
10
10
  closable: { type: Boolean, default: !1 },
@@ -17,8 +17,8 @@ const X = {
17
17
  value: { default: () => [] }
18
18
  },
19
19
  emits: ["update:value", "close", "dynamicClose"],
20
- setup(L, { emit: V }) {
21
- const a = L, v = c(), d = c(!1), p = c(""), t = [
20
+ setup(e, { emit: A }) {
21
+ const t = e, g = i(), f = i(!1), y = i(""), r = [
22
22
  "success",
23
23
  "processing",
24
24
  "error",
@@ -37,99 +37,99 @@ const X = {
37
37
  "volcano",
38
38
  "gold",
39
39
  "lime"
40
- ], C = c(!1), h = c(), b = c(Array(a.value.length).fill(1)), A = Q(["icon"]), f = V, $ = m(() => {
41
- if (a.dynamic && a.value.length) {
42
- if (typeof a.value[0] == "string")
40
+ ], z = i(!1), m = i(), k = i(Array(t.value.length).fill(1)), E = O(["icon"]), v = A, B = w(() => {
41
+ if (t.dynamic && t.value.length) {
42
+ if (typeof t.value[0] == "string")
43
43
  return !0;
44
- if (typeof a.value[0] == "object")
44
+ if (typeof t.value[0] == "object")
45
45
  return !1;
46
46
  }
47
47
  return null;
48
- }), E = m(() => a.dynamic && a.value.length ? $.value ? a.value.map((e) => ({
49
- label: e,
48
+ }), I = w(() => t.dynamic && t.value.length ? B.value ? t.value.map((o) => ({
49
+ label: o,
50
50
  closable: !0
51
- })) : a.value.map((e) => ({
51
+ })) : t.value.map((o) => ({
52
52
  closable: !0,
53
- ...e
54
- })) : []), I = m(() => a.dynamic ? !1 : A.icon || a.icon);
55
- P(() => {
56
- if (a.dynamic) {
57
- const e = a.value.length;
58
- b.value = Array(e).fill(1), B(() => {
59
- if (h.value)
60
- for (let o = 0; o < e; o++)
61
- b.value[o] = h.value[o].offsetWidth;
53
+ ...o
54
+ })) : []), S = w(() => t.dynamic ? !1 : E.icon || t.icon);
55
+ N(() => {
56
+ if (t.dynamic) {
57
+ const o = t.value.length;
58
+ k.value = Array(o).fill(1), L(() => {
59
+ if (m.value)
60
+ for (let a = 0; a < o; a++)
61
+ k.value[a] = m.value[a].offsetWidth;
62
62
  });
63
63
  }
64
64
  });
65
- function S(e) {
66
- C.value = !0, f("close", e);
65
+ function T(o) {
66
+ z.value = !0, v("close", o);
67
67
  }
68
- function T(e, o) {
69
- const l = a.value.filter((u, z) => z !== o);
70
- f("update:value", l), f("dynamicClose", e, o);
68
+ function p(o, a) {
69
+ const l = t.value.filter((u, q) => q !== a);
70
+ v("update:value", l), v("dynamicClose", o, a);
71
71
  }
72
72
  async function M() {
73
- d.value = !0, await B(), v.value.focus();
73
+ f.value = !0, await L(), g.value.focus();
74
74
  }
75
- function R() {
76
- $.value ? f("update:value", [...a.value, p.value]) : f("update:value", [
77
- ...a.value,
75
+ function x() {
76
+ B.value ? v("update:value", [...t.value, y.value]) : v("update:value", [
77
+ ...t.value,
78
78
  {
79
- label: p.value
79
+ label: y.value
80
80
  }
81
- ]), d.value = !1, v.value = "";
81
+ ]), f.value = !1, g.value = "";
82
82
  }
83
- function H(e) {
84
- e.key === "Enter" && v.value.blur();
83
+ function R(o) {
84
+ o.key === "Enter" && g.value.blur();
85
85
  }
86
- return (e, o) => e.dynamic ? (s(), D(K(O), j({
86
+ return (o, a) => e.dynamic ? (n(), P(D(J), K({
87
87
  key: 1,
88
88
  gap: "small"
89
89
  }, e.spaceProps), {
90
- default: F(() => [
91
- (s(!0), r(W, null, G(E.value, (l, u) => (s(), r("div", {
92
- class: g(["tag-wrap", [
90
+ default: j(() => [
91
+ (n(!0), c(U, null, W(I.value, (l, u) => (n(), c("div", {
92
+ class: h(["tag-wrap", [
93
93
  `tag-${l.size || e.size}`,
94
- (l.color || e.color) && t.includes(l.color || e.color) ? `tag-${l.color || e.color}` : "",
94
+ (l.color || e.color) && r.includes(l.color || e.color) ? `tag-${l.color || e.color}` : "",
95
95
  {
96
96
  "tag-borderless": l.bordered !== void 0 && !l.bordered,
97
- "tag-has-color": (l.color || e.color) && !t.includes(l.color || e.color)
97
+ "tag-has-color": (l.color || e.color) && !r.includes(l.color || e.color)
98
98
  }
99
99
  ]]),
100
- style: q(`background-color: ${(l.color || e.color) && !t.includes(l.color || e.color) ? l.color || e.color : ""};`),
100
+ style: V(`background-color: ${(l.color || e.color) && !r.includes(l.color || e.color) ? l.color || e.color : ""};`),
101
101
  key: u
102
102
  }, [
103
- b.value[u] ? (s(), r("span", {
103
+ k.value[u] ? (n(), c("span", {
104
104
  key: 0,
105
105
  ref_for: !0,
106
106
  ref_key: "tagsIconRef",
107
- ref: h,
107
+ ref: m,
108
108
  class: "tag-icon"
109
109
  }, [
110
- y(e.$slots, "icon", {
110
+ b(o.$slots, "icon", {
111
111
  item: l,
112
112
  icon: e.icon,
113
113
  index: u
114
114
  }, () => [
115
- k(w(l.icon), 1)
115
+ C($(l.icon), 1)
116
116
  ], !0)
117
- ], 512)) : i("", !0),
118
- n("span", Z, [
119
- y(e.$slots, "label", {
117
+ ], 512)) : d("", !0),
118
+ s("span", Y, [
119
+ b(o.$slots, "label", {
120
120
  item: l,
121
121
  label: l.label,
122
122
  index: u
123
123
  }, () => [
124
- k(w(l.label), 1)
124
+ C($(l.label), 1)
125
125
  ], !0)
126
126
  ]),
127
- l.closable || e.closable ? (s(), r("span", {
127
+ l.closable || e.closable ? (n(), c("span", {
128
128
  key: 1,
129
129
  class: "tag-close",
130
- onClick: (z) => T(l, u)
131
- }, [...o[3] || (o[3] = [
132
- n("svg", {
130
+ onClick: (q) => p(l, u)
131
+ }, [...a[3] || (a[3] = [
132
+ s("svg", {
133
133
  focusable: "false",
134
134
  class: "close-svg",
135
135
  "data-icon": "close",
@@ -139,16 +139,16 @@ const X = {
139
139
  "aria-hidden": "true",
140
140
  viewBox: "64 64 896 896"
141
141
  }, [
142
- n("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
142
+ s("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
143
143
  ], -1)
144
- ])], 8, x)) : i("", !0)
144
+ ])], 8, Z)) : d("", !0)
145
145
  ], 6))), 128)),
146
- d.value ? i("", !0) : (s(), r("div", {
146
+ f.value ? d("", !0) : (n(), c("div", {
147
147
  key: 0,
148
- class: g(["tag-wrap", [`tag-${e.size}`, { "tag-plus": e.dynamic }]]),
148
+ class: h(["tag-wrap", [`tag-${e.size}`, { "tag-plus": e.dynamic }]]),
149
149
  onClick: M
150
- }, [...o[4] || (o[4] = [
151
- n("svg", {
150
+ }, [...a[4] || (a[4] = [
151
+ s("svg", {
152
152
  focusable: "false",
153
153
  class: "plus-svg",
154
154
  "data-icon": "plus",
@@ -158,52 +158,52 @@ const X = {
158
158
  "aria-hidden": "true",
159
159
  viewBox: "64 64 896 896"
160
160
  }, [
161
- n("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
162
- n("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
161
+ s("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
162
+ s("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
163
163
  ], -1)
164
164
  ])], 2)),
165
- d.value ? U((s(), r("input", {
165
+ f.value ? F((n(), c("input", {
166
166
  key: 1,
167
167
  ref_key: "inputRef",
168
- ref: v,
169
- class: g(["tag-input", `input-${e.size}`]),
168
+ ref: g,
169
+ class: h(["tag-input", `input-${e.size}`]),
170
170
  type: "text",
171
- "onUpdate:modelValue": o[0] || (o[0] = (l) => p.value = l),
172
- onBlur: o[1] || (o[1] = (l) => d.value = !1),
173
- onChange: R,
174
- onKeydown: H
171
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => y.value = l),
172
+ onBlur: a[1] || (a[1] = (l) => f.value = !1),
173
+ onChange: x,
174
+ onKeydown: R
175
175
  }, null, 34)), [
176
- [J, p.value]
177
- ]) : i("", !0)
176
+ [G, y.value]
177
+ ]) : d("", !0)
178
178
  ]),
179
179
  _: 3
180
- }, 16)) : (s(), r("div", {
180
+ }, 16)) : (n(), c("div", {
181
181
  key: 0,
182
- class: g(["tag-wrap", [
182
+ class: h(["tag-wrap", [
183
183
  `tag-${e.size}`,
184
- e.color && t.includes(e.color) ? `tag-${e.color}` : "",
184
+ e.color && r.includes(e.color) ? `tag-${e.color}` : "",
185
185
  {
186
186
  "tag-borderless": !e.bordered,
187
- "tag-has-color": e.color && !t.includes(e.color),
188
- "tag-hidden": C.value
187
+ "tag-has-color": e.color && !r.includes(e.color),
188
+ "tag-hidden": z.value
189
189
  }
190
190
  ]]),
191
- style: q(`background-color: ${e.color && !t.includes(e.color) ? e.color : ""};`)
191
+ style: V(`background-color: ${e.color && !r.includes(e.color) ? e.color : ""};`)
192
192
  }, [
193
- I.value ? (s(), r("span", X, [
194
- y(e.$slots, "icon", {}, () => [
195
- k(w(e.icon), 1)
193
+ S.value ? (n(), c("span", Q, [
194
+ b(o.$slots, "icon", {}, () => [
195
+ C($(e.icon), 1)
196
196
  ], !0)
197
- ])) : i("", !0),
198
- n("span", Y, [
199
- y(e.$slots, "default", {}, void 0, !0)
197
+ ])) : d("", !0),
198
+ s("span", X, [
199
+ b(o.$slots, "default", {}, void 0, !0)
200
200
  ]),
201
- e.closable ? (s(), r("span", {
201
+ e.closable ? (n(), c("span", {
202
202
  key: 1,
203
203
  class: "tag-close",
204
- onClick: S
205
- }, [...o[2] || (o[2] = [
206
- n("svg", {
204
+ onClick: T
205
+ }, [...a[2] || (a[2] = [
206
+ s("svg", {
207
207
  focusable: "false",
208
208
  class: "close-svg",
209
209
  "data-icon": "close",
@@ -213,12 +213,12 @@ const X = {
213
213
  "aria-hidden": "true",
214
214
  viewBox: "64 64 896 896"
215
215
  }, [
216
- n("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
216
+ s("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
217
217
  ], -1)
218
- ])])) : i("", !0)
218
+ ])])) : d("", !0)
219
219
  ], 6));
220
220
  }
221
221
  });
222
222
  export {
223
- oe as default
223
+ ae as default
224
224
  };
@@ -1 +1 @@
1
- .textarea-wrap[data-v-7b295f54]{position:relative;display:inline-block;width:var(--textarea-width)}.textarea-wrap .textarea-item[data-v-7b295f54]{width:100%;min-width:0;min-height:32px;max-width:100%;height:auto;padding:4px 11px;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;transition:all .3s,height 0s;resize:vertical;position:relative;z-index:9;display:inline-block;vertical-align:bottom;text-overflow:ellipsis;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;outline:none}.textarea-wrap .textarea-item[data-v-7b295f54]:hover{border-color:var(--textarea-primary-color-hover);z-index:1}.textarea-wrap .textarea-item[data-v-7b295f54]:focus-within{border-color:var(--textarea-primary-color-focus);box-shadow:0 0 0 2px var(--textarea-primary-shadow-color);outline:0}.textarea-wrap .clear-class[data-v-7b295f54]{padding-right:24px}.textarea-wrap textarea[data-v-7b295f54]:disabled{color:#00000040}.textarea-wrap textarea[data-v-7b295f54]::-webkit-input-placeholder{color:#00000040}.textarea-wrap textarea[data-v-7b295f54]:-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-7b295f54]::-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-7b295f54]:-ms-input-placeholder{color:#00000040}.textarea-wrap .clear-svg[data-v-7b295f54]{position:absolute;top:9px;right:8px;z-index:99;display:inline-block;font-size:12px;color:#00000040;fill:currentColor;cursor:pointer;transition:color .3s}.textarea-wrap .clear-svg[data-v-7b295f54]:hover{color:#00000073}.textarea-wrap .textarea-disabled[data-v-7b295f54]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.textarea-wrap .textarea-disabled[data-v-7b295f54]:hover{border-color:#d9d9d9}.textarea-wrap .textarea-disabled[data-v-7b295f54]:focus-within{border-color:#d9d9d9;box-shadow:none}.show-count[data-v-7b295f54]:after{font-size:14px;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none;float:right}
1
+ .textarea-wrap[data-v-2ce36b4f]{position:relative;display:inline-block;width:var(--textarea-width)}.textarea-wrap .textarea-item[data-v-2ce36b4f]{width:100%;min-width:0;min-height:32px;max-width:100%;height:auto;padding:4px 11px;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;transition:all .3s,height 0s;resize:vertical;position:relative;z-index:9;display:inline-block;vertical-align:bottom;text-overflow:ellipsis;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;outline:none}.textarea-wrap .textarea-item[data-v-2ce36b4f]:hover{border-color:var(--textarea-primary-color-hover);z-index:1}.textarea-wrap .textarea-item[data-v-2ce36b4f]:focus-within{border-color:var(--textarea-primary-color-focus);box-shadow:0 0 0 2px var(--textarea-primary-shadow-color);outline:0}.textarea-wrap .clear-class[data-v-2ce36b4f]{padding-right:24px}.textarea-wrap textarea[data-v-2ce36b4f]:disabled{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]::-webkit-input-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]:-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]::-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]:-ms-input-placeholder{color:#00000040}.textarea-wrap .clear-svg[data-v-2ce36b4f]{position:absolute;top:9px;right:8px;z-index:99;display:inline-block;font-size:12px;color:#00000040;fill:currentColor;cursor:pointer;transition:color .3s}.textarea-wrap .clear-svg[data-v-2ce36b4f]:hover{color:#00000073}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]:hover{border-color:#d9d9d9}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]:focus-within{border-color:#d9d9d9;box-shadow:none}.show-count[data-v-2ce36b4f]:after{font-size:14px;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none;float:right}
@@ -1,7 +1,7 @@
1
1
  import o from "./Textarea.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-7b295f54"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2ce36b4f"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as N, ref as r, computed as n, watch as T, nextTick as _, onMounted as j, createElementBlock as m, openBlock as p, normalizeStyle as g, normalizeClass as x, unref as c, createElementVNode as w, createCommentVNode as H, withKeys as V } from "vue";
2
- import { useInject as I } from "../utils/index.js";
3
- const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"], P = /* @__PURE__ */ N({
1
+ import { defineComponent as N, ref as s, computed as i, watch as T, nextTick as j, onMounted as H, createElementBlock as p, openBlock as x, normalizeStyle as g, normalizeClass as w, unref as d, createElementVNode as y, createCommentVNode as V, withKeys as I } from "vue";
2
+ import { useInject as K } from "../utils/index.js";
3
+ const O = ["data-count"], A = ["value", "placeholder", "maxlength", "disabled"], W = /* @__PURE__ */ N({
4
4
  __name: "Textarea",
5
5
  props: {
6
6
  width: { default: "100%" },
@@ -14,46 +14,46 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
14
14
  valueModifiers: { default: () => ({}) }
15
15
  },
16
16
  emits: ["update:value", "compositionstart", "compositionend", "change", "enter"],
17
- setup(y, { emit: C }) {
18
- const t = y, s = r(null), i = r(!1), a = r(), u = r(32), { colorPalettes: d, shadowColor: z } = I("Textarea"), l = C, S = n(() => typeof t.width == "number" ? `${t.width}px` : t.width), f = n(() => {
17
+ setup(n, { emit: C }) {
18
+ const t = n, c = s(null), u = s(!1), a = s(), r = s(32), { colorPalettes: f, shadowColor: z } = K("Textarea"), l = C, S = i(() => typeof t.width == "number" ? `${t.width}px` : t.width), h = i(() => {
19
19
  if (typeof t.autoSize == "object") {
20
20
  const e = {
21
- height: `${u.value}px`,
21
+ height: `${r.value}px`,
22
22
  resize: "none"
23
23
  };
24
24
  return "minRows" in t.autoSize && (e["min-height"] = `${t.autoSize.minRows * 22 + 10}px`), "maxRows" in t.autoSize && (e["max-height"] = `${t.autoSize.maxRows * 22 + 10}px`), e;
25
25
  }
26
26
  if (typeof t.autoSize == "boolean")
27
27
  return t.autoSize ? {
28
- height: `${u.value}px`,
28
+ height: `${r.value}px`,
29
29
  resize: "none"
30
30
  } : {};
31
- }), h = n(() => !t.disabled && t.allowClear && a.value), b = n(() => t.maxlength ? `${a.value ? a.value.length : 0} / ${t.maxlength}` : a.value ? a.value.length : 0), $ = n(() => "lazy" in t.valueModifiers);
31
+ }), v = i(() => !t.disabled && t.allowClear && a.value), b = i(() => t.maxlength ? `${a.value ? a.value.length : 0} / ${t.maxlength}` : a.value ? a.value.length : 0), $ = i(() => "lazy" in t.valueModifiers);
32
32
  T(
33
33
  () => t.value,
34
34
  async (e) => {
35
- a.value !== e && (a.value = e), JSON.stringify(f.value) !== "{}" && (u.value = 32, await _(), v());
35
+ a.value !== e && (a.value = e), JSON.stringify(h.value) !== "{}" && (r.value = 32, await j(), m());
36
36
  },
37
37
  {
38
38
  immediate: !0,
39
39
  flush: "post"
40
40
  }
41
- ), j(() => {
42
- v();
41
+ ), H(() => {
42
+ m();
43
43
  });
44
- function v() {
45
- u.value = s.value.scrollHeight + 2;
44
+ function m() {
45
+ r.value = c.value.scrollHeight + 2;
46
46
  }
47
47
  function B(e) {
48
- i.value = !0, l("compositionstart", e);
48
+ u.value = !0, l("compositionstart", e);
49
49
  }
50
50
  function E(e) {
51
- i.value = !1, l("compositionend", e);
51
+ u.value = !1, l("compositionend", e);
52
52
  const o = new Event("change");
53
53
  e.target?.dispatchEvent(o);
54
54
  }
55
55
  function k(e) {
56
- if (!i.value) {
56
+ if (!u.value) {
57
57
  const o = e.target;
58
58
  a.value = o.value, $.value || (l("update:value", o.value), l("change", e));
59
59
  }
@@ -63,38 +63,38 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
63
63
  o.value !== t.value && (l("update:value", o.value), l("change", e));
64
64
  }
65
65
  function L(e) {
66
- i.value || l("enter", e);
66
+ u.value || l("enter", e);
67
67
  }
68
68
  function M() {
69
- a.value = "", l("update:value", ""), s.value?.focus();
69
+ a.value = "", l("update:value", ""), c.value?.focus();
70
70
  }
71
- return (e, o) => (p(), m("div", {
72
- class: x(["textarea-wrap", { "show-count": e.showCount }]),
71
+ return (e, o) => (x(), p("div", {
72
+ class: w(["textarea-wrap", { "show-count": n.showCount }]),
73
73
  style: g(`
74
74
  --textarea-width: ${S.value};
75
- --textarea-primary-color-hover: ${c(d)[4]};
76
- --textarea-primary-color-focus: ${c(d)[4]};
77
- --textarea-primary-shadow-color: ${c(z)};
75
+ --textarea-primary-color-hover: ${d(f)[4]};
76
+ --textarea-primary-color-focus: ${d(f)[4]};
77
+ --textarea-primary-shadow-color: ${d(z)};
78
78
  `),
79
79
  "data-count": b.value
80
80
  }, [
81
- w("textarea", {
81
+ y("textarea", {
82
82
  ref_key: "textareaRef",
83
- ref: s,
83
+ ref: c,
84
84
  type: "hidden",
85
- class: x(["textarea-item", { "clear-class": h.value, "textarea-disabled": e.disabled }]),
86
- style: g(f.value),
85
+ class: w(["textarea-item", { "clear-class": v.value, "textarea-disabled": n.disabled }]),
86
+ style: g(h.value),
87
87
  value: a.value,
88
- placeholder: e.placeholder,
89
- maxlength: e.maxlength,
90
- disabled: e.disabled,
88
+ placeholder: n.placeholder,
89
+ maxlength: n.maxlength,
90
+ disabled: n.disabled,
91
91
  onCompositionstart: B,
92
92
  onCompositionend: E,
93
93
  onInput: k,
94
94
  onChange: R,
95
- onKeydown: V(L, ["enter"])
96
- }, null, 46, O),
97
- h.value ? (p(), m("svg", {
95
+ onKeydown: I(L, ["enter"])
96
+ }, null, 46, A),
97
+ v.value ? (x(), p("svg", {
98
98
  key: 0,
99
99
  class: "clear-svg",
100
100
  onClick: M,
@@ -106,11 +106,11 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
106
106
  "aria-hidden": "true",
107
107
  viewBox: "64 64 896 896"
108
108
  }, [...o[0] || (o[0] = [
109
- w("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" }, null, -1)
110
- ])])) : H("", !0)
111
- ], 14, K));
109
+ y("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" }, null, -1)
110
+ ])])) : V("", !0)
111
+ ], 14, O));
112
112
  }
113
113
  });
114
114
  export {
115
- P as default
115
+ W as default
116
116
  };
@@ -1 +1 @@
1
- .text-scroll-horizontal[data-v-5ed9b9bd]{overflow:hidden;display:flex;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-horizontal .scroll-items-group[data-v-5ed9b9bd]{z-index:1;display:flex;align-items:center;will-change:transform;animation:horizontalScroll-5ed9b9bd var(--text-scroll-duration) linear var(--text-scroll-delay) var(--text-scroll-iteration-count);animation-play-state:var(--text-scroll-play-state)}@keyframes horizontalScroll-5ed9b9bd{0%{transform:translate(0)}to{transform:translate(-100%)}}.text-scroll-horizontal .scroll-items-group .scroll-item[data-v-5ed9b9bd]{margin-left:var(--text-scroll-item-gap);font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-scroll-horizontal .scroll-items-group[data-v-5ed9b9bd] .href-item{cursor:pointer;transition:color .3s}.text-scroll-horizontal .scroll-items-group[data-v-5ed9b9bd] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-horizontal .scroll-items-group[data-v-5ed9b9bd] .href-item .ellipsis-container{cursor:inherit}.text-scroll-horizontal .scroll-items-reset[data-v-5ed9b9bd]{animation:none}.slide-enter-active[data-v-5ed9b9bd],.slide-leave-active[data-v-5ed9b9bd]{transition:all var(--text-scroll-duration) var(--text-scroll-timing-function)}.slide-enter-from[data-v-5ed9b9bd]{transform:translateY(100%) scale(var(--text-scroll-scale));opacity:0}.slide-leave-to[data-v-5ed9b9bd]{transform:translateY(-100%) scale(var(--text-scroll-scale));opacity:0}.text-scroll-vertical[data-v-5ed9b9bd]{overflow:hidden;position:relative;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-vertical .scroll-item-wrap[data-v-5ed9b9bd]{position:absolute;left:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 var(--text-scroll-item-padding)}.text-scroll-vertical .scroll-item-wrap .scroll-item[data-v-5ed9b9bd]{font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-scroll-vertical .scroll-item-wrap[data-v-5ed9b9bd] .href-item{cursor:pointer;transition:color .3s}.text-scroll-vertical .scroll-item-wrap[data-v-5ed9b9bd] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-vertical .scroll-item-wrap[data-v-5ed9b9bd] .href-item .ellipsis-container{cursor:inherit}
1
+ .text-scroll-horizontal[data-v-cdf5afc9]{overflow:hidden;display:flex;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9]{z-index:1;display:flex;align-items:center;will-change:transform;animation:horizontalScroll-cdf5afc9 var(--text-scroll-duration) linear var(--text-scroll-delay) var(--text-scroll-iteration-count);animation-play-state:var(--text-scroll-play-state)}@keyframes horizontalScroll-cdf5afc9{0%{transform:translate(0)}to{transform:translate(-100%)}}.text-scroll-horizontal .scroll-items-group .scroll-item[data-v-cdf5afc9]{margin-left:var(--text-scroll-item-gap);font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item{cursor:pointer;transition:color .3s}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item .ellipsis-container{cursor:inherit}.text-scroll-horizontal .scroll-items-reset[data-v-cdf5afc9]{animation:none}.slide-enter-active[data-v-cdf5afc9],.slide-leave-active[data-v-cdf5afc9]{transition:all var(--text-scroll-duration) var(--text-scroll-timing-function)}.slide-enter-from[data-v-cdf5afc9]{transform:translateY(100%) scale(var(--text-scroll-scale));opacity:0}.slide-leave-to[data-v-cdf5afc9]{transform:translateY(-100%) scale(var(--text-scroll-scale));opacity:0}.text-scroll-vertical[data-v-cdf5afc9]{overflow:hidden;position:relative;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9]{position:absolute;left:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 var(--text-scroll-item-padding)}.text-scroll-vertical .scroll-item-wrap .scroll-item[data-v-cdf5afc9]{font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item{cursor:pointer;transition:color .3s}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item .ellipsis-container{cursor:inherit}
@@ -36,8 +36,8 @@ declare const _default: import('vue').DefineComponent<Props, {
36
36
  duration: number;
37
37
  width: number | string;
38
38
  height: number;
39
- ellipsis: boolean;
40
39
  vertical: boolean;
40
+ ellipsis: boolean;
41
41
  single: boolean;
42
42
  gap: number;
43
43
  speed: number;
@@ -1,7 +1,7 @@
1
1
  import o from "./TextScroll.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ed9b9bd"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cdf5afc9"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };