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 +1 @@
1
- .input-wrap[data-v-46c13488]{width:var(--input-width);text-align:start;vertical-align:top;position:relative;display:inline-table;border-collapse:separate;border-spacing:0}.input-wrap .input-addon[data-v-46c13488]{position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px;line-height:1;display:table-cell;width:1px;white-space:nowrap;vertical-align:middle;transition:all .3s}.input-wrap .input-addon[data-v-46c13488] svg{fill:currentColor}.input-wrap .addon-before[data-v-46c13488]{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}.input-wrap .addon-after[data-v-46c13488]{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.input-wrap .input-container[data-v-46c13488]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;vertical-align:top;width:100%;min-width:0;background-color:#fff}.input-wrap .input-container .input-border[data-v-46c13488]{position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9}.input-wrap .input-container .input-border-state[data-v-46c13488]{position:absolute;z-index:1;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9;border-color:#0000;transition:all .2s}.input-wrap .input-container .input-hover[data-v-46c13488]{border:1px solid var(--input-primary-color-hover)}.input-wrap .input-container .input-focus[data-v-46c13488]{border:1px solid var(--input-primary-color-focus);box-shadow:0 0 0 2px var(--input-primary-shadow-color)}.input-wrap .input-container .input-prefix[data-v-46c13488]{margin-right:4px;display:inline-flex;flex:none;align-items:center}.input-wrap .input-container .input-prefix[data-v-46c13488] svg{fill:currentColor}.input-wrap .input-container .input-item[data-v-46c13488]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-wrap .input-container input[data-v-46c13488]::-webkit-input-placeholder{color:#00000040}.input-wrap .input-container input[data-v-46c13488]:-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-46c13488]::-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-46c13488]:-ms-input-placeholder{color:#00000040}.input-wrap .input-container .input-suffix[data-v-46c13488]{margin-left:4px;display:inline-flex;flex:none;gap:8px;align-items:center}.input-wrap .input-container .input-suffix .input-actions[data-v-46c13488]{display:inline-flex;align-items:center;cursor:pointer}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-46c13488]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-46c13488]:hover{color:#00000073}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-46c13488]{display:inline-block;font-size:14px;color:#00000073;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-46c13488]:hover{color:#000000d9}.input-wrap .input-container .input-suffix .clear-hidden[data-v-46c13488]{visibility:hidden}.input-wrap .input-container .input-suffix .input-count[data-v-46c13488]{color:#00000073}.input-wrap .input-container .input-suffix .suffix-item[data-v-46c13488]{display:flex;flex:none;align-items:center}.input-wrap .input-container .input-suffix .suffix-item[data-v-46c13488] svg{fill:currentColor}.input-wrap .input-small[data-v-46c13488]{padding:1px 7px;border-radius:4px}.input-wrap .input-middle[data-v-46c13488]{padding:5px 11px;border-radius:6px}.input-wrap .input-large[data-v-46c13488]{padding:8px 11px;font-size:16px;line-height:1.5;border-radius:8px}.input-wrap .input-large .input-item[data-v-46c13488]{font-size:16px;line-height:1.5}.input-wrap .input-before[data-v-46c13488]{border-top-left-radius:0;border-bottom-left-radius:0}.input-wrap .input-after[data-v-46c13488]{border-top-right-radius:0;border-bottom-right-radius:0}.input-wrap .input-disabled[data-v-46c13488]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-wrap .input-disabled .input-hover[data-v-46c13488]{border-color:#d9d9d9}.input-wrap .input-disabled .input-focus[data-v-46c13488]{border-color:#d9d9d9;box-shadow:none}.input-wrap .input-disabled .input-item[data-v-46c13488]{color:#00000040;background-color:transparent;cursor:not-allowed}
1
+ .input-wrap[data-v-07f770b6]{width:var(--input-width);text-align:start;vertical-align:top;position:relative;display:inline-table;border-collapse:separate;border-spacing:0}.input-wrap .input-addon[data-v-07f770b6]{position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px;line-height:1;display:table-cell;width:1px;white-space:nowrap;vertical-align:middle;transition:all .3s}.input-wrap .input-addon[data-v-07f770b6] svg{fill:currentColor}.input-wrap .addon-before[data-v-07f770b6]{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}.input-wrap .addon-after[data-v-07f770b6]{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.input-wrap .input-container[data-v-07f770b6]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;vertical-align:top;width:100%;min-width:0;background-color:#fff}.input-wrap .input-container .input-border[data-v-07f770b6]{position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9}.input-wrap .input-container .input-border-state[data-v-07f770b6]{position:absolute;z-index:1;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9;border-color:#0000;transition:all .2s}.input-wrap .input-container .input-hover[data-v-07f770b6]{border:1px solid var(--input-primary-color-hover)}.input-wrap .input-container .input-focus[data-v-07f770b6]{border:1px solid var(--input-primary-color-focus);box-shadow:0 0 0 2px var(--input-primary-shadow-color)}.input-wrap .input-container .input-prefix[data-v-07f770b6]{margin-right:4px;display:inline-flex;flex:none;align-items:center}.input-wrap .input-container .input-prefix[data-v-07f770b6] svg{fill:currentColor}.input-wrap .input-container .input-item[data-v-07f770b6]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-wrap .input-container input[data-v-07f770b6]::-webkit-input-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]:-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]::-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]:-ms-input-placeholder{color:#00000040}.input-wrap .input-container .input-suffix[data-v-07f770b6]{margin-left:4px;display:inline-flex;flex:none;gap:8px;align-items:center}.input-wrap .input-container .input-suffix .input-actions[data-v-07f770b6]{display:inline-flex;align-items:center;cursor:pointer}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-07f770b6]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-07f770b6]:hover{color:#00000073}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-07f770b6]{display:inline-block;font-size:14px;color:#00000073;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-07f770b6]:hover{color:#000000d9}.input-wrap .input-container .input-suffix .clear-hidden[data-v-07f770b6]{visibility:hidden}.input-wrap .input-container .input-suffix .input-count[data-v-07f770b6]{color:#00000073}.input-wrap .input-container .input-suffix .suffix-item[data-v-07f770b6]{display:flex;flex:none;align-items:center}.input-wrap .input-container .input-suffix .suffix-item[data-v-07f770b6] svg{fill:currentColor}.input-wrap .input-small[data-v-07f770b6]{padding:1px 7px;border-radius:4px}.input-wrap .input-middle[data-v-07f770b6]{padding:5px 11px;border-radius:6px}.input-wrap .input-large[data-v-07f770b6]{padding:8px 11px;font-size:16px;line-height:1.5;border-radius:8px}.input-wrap .input-large .input-item[data-v-07f770b6]{font-size:16px;line-height:1.5}.input-wrap .input-before[data-v-07f770b6]{border-top-left-radius:0;border-bottom-left-radius:0}.input-wrap .input-after[data-v-07f770b6]{border-top-right-radius:0;border-bottom-right-radius:0}.input-wrap .input-disabled[data-v-07f770b6]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-wrap .input-disabled .input-hover[data-v-07f770b6]{border-color:#d9d9d9}.input-wrap .input-disabled .input-focus[data-v-07f770b6]{border-color:#d9d9d9;box-shadow:none}.input-wrap .input-disabled .input-item[data-v-07f770b6]{color:#00000040;background-color:transparent;cursor:not-allowed}
@@ -1,7 +1,7 @@
1
1
  import o from "./Input.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-46c13488"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-07f770b6"]]);
5
5
  export {
6
- _ as default
6
+ m as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as O, ref as d, computed as s, watch as U, createElementBlock as o, openBlock as n, normalizeStyle as X, unref as b, createCommentVNode as r, createElementVNode as u, normalizeClass as p, renderSlot as m, createTextVNode as w, toDisplayString as c, withKeys as Y, withModifiers as Z, withDirectives as $, vShow as L } from "vue";
1
+ import { defineComponent as O, ref as f, computed as s, watch as U, createElementBlock as o, openBlock as l, normalizeStyle as X, unref as z, createCommentVNode as d, createElementVNode as i, normalizeClass as v, renderSlot as w, createTextVNode as g, toDisplayString as p, withKeys as Y, withModifiers as Z, withDirectives as L, vShow as S } from "vue";
2
2
  import { useInject as _, useSlotsExist as ee } from "../utils/index.js";
3
3
  const te = {
4
4
  key: 0,
5
5
  class: "input-prefix"
6
- }, ae = ["type", "value", "placeholder", "maxlength", "disabled", "onKeydown"], oe = {
6
+ }, ae = ["type", "value", "placeholder", "maxlength", "disabled", "onKeydown"], ne = {
7
7
  key: 1,
8
8
  class: "input-suffix"
9
- }, ne = {
9
+ }, oe = {
10
10
  class: "eye-svg",
11
11
  focusable: "false",
12
12
  "data-icon": "eye",
@@ -24,10 +24,10 @@ const te = {
24
24
  fill: "currentColor",
25
25
  "aria-hidden": "true",
26
26
  viewBox: "64 64 896 896"
27
- }, se = {
27
+ }, ue = {
28
28
  key: 2,
29
29
  class: "input-count"
30
- }, ue = {
30
+ }, se = {
31
31
  key: 3,
32
32
  class: "suffix-item"
33
33
  }, de = /* @__PURE__ */ O({
@@ -49,22 +49,22 @@ const te = {
49
49
  valueModifiers: { default: () => ({}) }
50
50
  },
51
51
  emits: ["update:value", "compositionstart", "compositionend", "change", "enter"],
52
- setup(S, { emit: A }) {
53
- const a = S, z = d(null), g = d(!1), y = d(!1), v = d(!1), l = d(), f = d(!1), { colorPalettes: B, shadowColor: I } = _("Input"), i = A, h = ee(["prefix", "suffix", "addonBefore", "addonAfter"]), q = s(() => typeof a.width == "number" ? `${a.width}px` : a.width), k = s(() => !a.disabled && a.allowClear), N = s(() => a.maxlength ? `${l.value ? l.value.length : 0} / ${a.maxlength}` : l.value ? l.value.length : 0), P = s(() => h.prefix || a.prefix), E = s(() => h.suffix || a.suffix), V = s(() => k.value || a.password || a.showCount || E.value), C = s(() => h.addonBefore || a.addonBefore), x = s(() => h.addonAfter || a.addonAfter), M = s(() => "lazy" in a.valueModifiers);
52
+ setup(n, { emit: A }) {
53
+ const a = n, B = f(null), x = f(!1), y = f(!1), h = f(!1), u = f(), c = f(!1), { colorPalettes: k, shadowColor: I } = _("Input"), r = A, m = ee(["prefix", "suffix", "addonBefore", "addonAfter"]), q = s(() => typeof a.width == "number" ? `${a.width}px` : a.width), E = s(() => !a.disabled && a.allowClear), N = s(() => a.maxlength ? `${u.value ? u.value.length : 0} / ${a.maxlength}` : u.value ? u.value.length : 0), P = s(() => m.prefix || a.prefix), M = s(() => m.suffix || a.suffix), V = s(() => E.value || a.password || a.showCount || M.value), C = s(() => m.addonBefore || a.addonBefore), b = s(() => m.addonAfter || a.addonAfter), $ = s(() => "lazy" in a.valueModifiers);
54
54
  U(
55
55
  () => a.value,
56
56
  (e) => {
57
- l.value !== e && (l.value = e);
57
+ u.value !== e && (u.value = e);
58
58
  },
59
59
  {
60
60
  immediate: !0
61
61
  }
62
62
  );
63
63
  function K() {
64
- g.value = !0;
64
+ x.value = !0;
65
65
  }
66
66
  function Q() {
67
- g.value = !1;
67
+ x.value = !1;
68
68
  }
69
69
  function D() {
70
70
  y.value = !0;
@@ -73,83 +73,83 @@ const te = {
73
73
  y.value = !1;
74
74
  }
75
75
  function R(e) {
76
- v.value = !0, i("compositionstart", e);
76
+ h.value = !0, r("compositionstart", e);
77
77
  }
78
78
  function W(e) {
79
- v.value = !1, i("compositionend", e);
79
+ h.value = !1, r("compositionend", e);
80
80
  const t = new Event("change");
81
81
  e.target?.dispatchEvent(t);
82
82
  }
83
83
  function j(e) {
84
- if (!v.value) {
84
+ if (!h.value) {
85
85
  const t = e.target;
86
- l.value = t.value, M.value || (i("update:value", t.value), i("change", e));
86
+ u.value = t.value, $.value || (r("update:value", t.value), r("change", e));
87
87
  }
88
88
  }
89
89
  function H(e) {
90
90
  const t = e.target;
91
- t.value !== a.value && (i("update:value", t.value), i("change", e));
91
+ t.value !== a.value && (r("update:value", t.value), r("change", e));
92
92
  }
93
93
  function T(e) {
94
- if (!v.value && (i("enter", e), M.value)) {
94
+ if (!h.value && (r("enter", e), $.value)) {
95
95
  const t = new Event("change");
96
96
  e.target?.dispatchEvent(t);
97
97
  }
98
98
  }
99
99
  function G() {
100
- l.value = "", i("update:value", ""), z.value?.focus();
100
+ u.value = "", r("update:value", ""), B.value?.focus();
101
101
  }
102
102
  function J() {
103
- f.value = !f.value;
103
+ c.value = !c.value;
104
104
  }
105
- return (e, t) => (n(), o("div", {
105
+ return (e, t) => (l(), o("div", {
106
106
  class: "input-wrap",
107
107
  style: X(`
108
108
  --input-width: ${q.value};
109
- --input-primary-color-hover: ${b(B)[4]};
110
- --input-primary-color-focus: ${b(B)[4]};
111
- --input-primary-shadow-color: ${b(I)};
109
+ --input-primary-color-hover: ${z(k)[4]};
110
+ --input-primary-color-focus: ${z(k)[4]};
111
+ --input-primary-shadow-color: ${z(I)};
112
112
  `)
113
113
  }, [
114
- C.value ? (n(), o("span", {
114
+ C.value ? (l(), o("span", {
115
115
  key: 0,
116
- class: p(["input-addon", { "addon-before": C.value }])
116
+ class: v(["input-addon", { "addon-before": C.value }])
117
117
  }, [
118
- m(e.$slots, "addonBefore", {}, () => [
119
- w(c(e.addonBefore), 1)
118
+ w(e.$slots, "addonBefore", {}, () => [
119
+ g(p(n.addonBefore), 1)
120
120
  ], !0)
121
- ], 2)) : r("", !0),
122
- u("div", {
121
+ ], 2)) : d("", !0),
122
+ i("div", {
123
123
  tabindex: "1",
124
- class: p(["input-container", [
125
- `input-${e.size}`,
124
+ class: v(["input-container", [
125
+ `input-${n.size}`,
126
126
  {
127
127
  "input-before": C.value,
128
- "input-after": x.value,
129
- "input-disabled": e.disabled
128
+ "input-after": b.value,
129
+ "input-disabled": n.disabled
130
130
  }
131
131
  ]]),
132
132
  onMouseenter: K,
133
133
  onMouseleave: Q
134
134
  }, [
135
- t[3] || (t[3] = u("div", { class: "input-border" }, null, -1)),
136
- u("div", {
137
- class: p(["input-border-state", { "input-hover": g.value, "input-focus": y.value }])
135
+ t[3] || (t[3] = i("div", { class: "input-border" }, null, -1)),
136
+ i("div", {
137
+ class: v(["input-border-state", { "input-hover": x.value, "input-focus": y.value }])
138
138
  }, null, 2),
139
- P.value ? (n(), o("span", te, [
140
- m(e.$slots, "prefix", {}, () => [
141
- w(c(e.prefix), 1)
139
+ P.value ? (l(), o("span", te, [
140
+ w(e.$slots, "prefix", {}, () => [
141
+ g(p(n.prefix), 1)
142
142
  ], !0)
143
- ])) : r("", !0),
144
- u("input", {
143
+ ])) : d("", !0),
144
+ i("input", {
145
145
  ref_key: "inputRef",
146
- ref: z,
146
+ ref: B,
147
147
  class: "input-item",
148
- type: e.password && !f.value ? "password" : "text",
149
- value: l.value,
150
- placeholder: e.placeholder,
151
- maxlength: e.maxlength,
152
- disabled: e.disabled,
148
+ type: n.password && !c.value ? "password" : "text",
149
+ value: u.value,
150
+ placeholder: n.placeholder,
151
+ maxlength: n.maxlength,
152
+ disabled: n.disabled,
153
153
  onFocus: D,
154
154
  onBlur: F,
155
155
  onCompositionstart: R,
@@ -158,13 +158,13 @@ const te = {
158
158
  onChange: H,
159
159
  onKeydown: Y(Z(T, ["prevent"]), ["enter"])
160
160
  }, null, 40, ae),
161
- V.value ? (n(), o("span", oe, [
162
- k.value ? (n(), o("span", {
161
+ V.value ? (l(), o("span", ne, [
162
+ E.value ? (l(), o("span", {
163
163
  key: 0,
164
- class: p(["input-actions", { "clear-hidden": !l.value }]),
164
+ class: v(["input-actions", { "clear-hidden": !u.value }]),
165
165
  onClick: G
166
166
  }, [...t[0] || (t[0] = [
167
- u("svg", {
167
+ i("svg", {
168
168
  class: "clear-svg",
169
169
  focusable: "false",
170
170
  "data-icon": "close-circle",
@@ -174,42 +174,42 @@ const te = {
174
174
  "aria-hidden": "true",
175
175
  viewBox: "64 64 896 896"
176
176
  }, [
177
- u("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" })
177
+ i("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" })
178
178
  ], -1)
179
- ])], 2)) : r("", !0),
180
- e.password ? (n(), o("span", {
179
+ ])], 2)) : d("", !0),
180
+ n.password ? (l(), o("span", {
181
181
  key: 1,
182
182
  class: "input-actions",
183
183
  onClick: J
184
184
  }, [
185
- $((n(), o("svg", ne, [...t[1] || (t[1] = [
186
- u("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" }, null, -1)
185
+ L((l(), o("svg", oe, [...t[1] || (t[1] = [
186
+ 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" }, null, -1)
187
187
  ])], 512)), [
188
- [L, f.value]
188
+ [S, c.value]
189
189
  ]),
190
- $((n(), o("svg", le, [...t[2] || (t[2] = [
191
- u("path", { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" }, null, -1),
192
- u("path", { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" }, null, -1)
190
+ L((l(), o("svg", le, [...t[2] || (t[2] = [
191
+ i("path", { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" }, null, -1),
192
+ i("path", { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" }, null, -1)
193
193
  ])], 512)), [
194
- [L, !f.value]
194
+ [S, !c.value]
195
195
  ])
196
- ])) : r("", !0),
197
- e.showCount ? (n(), o("span", se, c(N.value), 1)) : r("", !0),
198
- E.value ? (n(), o("span", ue, [
199
- m(e.$slots, "suffix", {}, () => [
200
- w(c(e.suffix), 1)
196
+ ])) : d("", !0),
197
+ n.showCount ? (l(), o("span", ue, p(N.value), 1)) : d("", !0),
198
+ M.value ? (l(), o("span", se, [
199
+ w(e.$slots, "suffix", {}, () => [
200
+ g(p(n.suffix), 1)
201
201
  ], !0)
202
- ])) : r("", !0)
203
- ])) : r("", !0)
202
+ ])) : d("", !0)
203
+ ])) : d("", !0)
204
204
  ], 34),
205
- x.value ? (n(), o("span", {
205
+ b.value ? (l(), o("span", {
206
206
  key: 1,
207
- class: p(["input-addon", { "addon-after": x.value }])
207
+ class: v(["input-addon", { "addon-after": b.value }])
208
208
  }, [
209
- m(e.$slots, "addonAfter", {}, () => [
210
- w(c(e.addonAfter), 1)
209
+ w(e.$slots, "addonAfter", {}, () => [
210
+ g(p(n.addonAfter), 1)
211
211
  ], !0)
212
- ], 2)) : r("", !0)
212
+ ], 2)) : d("", !0)
213
213
  ], 4));
214
214
  }
215
215
  });
@@ -1 +1 @@
1
- .input-number-wrap[data-v-fbc94156]{position:relative;display:inline-block;width:var(--input-number-width);height:32px;font-size:14px;color:#000000e0;line-height:1.57142857;padding:0 11px;background-color:#fff;border-radius:6px;border:1px solid #d9d9d9;transition:all .2s}.input-number-wrap[data-v-fbc94156]:hover{border-color:var(--input-number-primary-color-hover)}.input-number-wrap:hover .input-number-handler-wrap[data-v-fbc94156]{background:#fff;opacity:1}.input-number-wrap[data-v-fbc94156]:focus-within{border-color:var(--input-number-primary-color-focus);box-shadow:0 0 0 2px var(--input-number-primary-shadow-color)}.input-number-wrap .input-number-container[data-v-fbc94156]{height:100%;display:flex}.input-number-wrap .input-number-container .input-prefix[data-v-fbc94156]{pointer-events:none;margin-right:4px;display:inline-flex;align-items:center}.input-number-wrap .input-number-container .input-number[data-v-fbc94156]{font-size:14px;color:#000000e0;width:100%;height:100%;background:transparent;border-radius:6px;transition:all .2s linear;appearance:textfield;border:none;outline:none}.input-number-wrap .input-number-container input[data-v-fbc94156]::-webkit-input-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-fbc94156]:-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-fbc94156]::-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-fbc94156]:-ms-input-placeholder{color:#00000040}.input-number-wrap .input-number-handler-wrap[data-v-fbc94156]{position:absolute;top:0;right:0;width:22px;height:100%;background:transparent;border-radius:0 6px 6px 0;opacity:0;display:flex;flex-direction:column;align-items:stretch;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-fbc94156]{display:flex;align-items:center;justify-content:center;flex:auto;height:40%;border-left:1px solid #d9d9d9;cursor:pointer;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-fbc94156]:hover{height:60%}.input-number-wrap .input-number-handler-wrap .input-number-arrow:hover .icon-svg[data-v-fbc94156]{color:var(--input-number-primary-color)}.input-number-wrap .input-number-handler-wrap .input-number-arrow .icon-svg[data-v-fbc94156]{font-size:7px;color:#00000073;fill:currentColor;-webkit-user-select:none;user-select:none;transition:color .2s}.input-number-wrap .input-number-handler-wrap .up-arrow[data-v-fbc94156]{border-top-right-radius:6px}.input-number-wrap .input-number-handler-wrap .down-arrow[data-v-fbc94156]{border-top:1px solid #d9d9d9;border-bottom-right-radius:6px}.input-number-wrap .input-number-handler-wrap .arrow-disabled[data-v-fbc94156]{cursor:not-allowed}.input-number-disabled[data-v-fbc94156]{color:#00000040;background-color:#0000000a;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.input-number-disabled[data-v-fbc94156]:hover{border-color:#d9d9d9}.input-number-disabled[data-v-fbc94156]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-number-disabled .input-number-container .input-number[data-v-fbc94156]{color:#00000040;cursor:not-allowed}.input-number-disabled .input-number-handler-wrap[data-v-fbc94156]{display:none}
1
+ .input-number-wrap[data-v-279760db]{position:relative;display:inline-block;width:var(--input-number-width);height:32px;font-size:14px;color:#000000e0;line-height:1.57142857;padding:0 11px;background-color:#fff;border-radius:6px;border:1px solid #d9d9d9;transition:all .2s}.input-number-wrap[data-v-279760db]:hover{border-color:var(--input-number-primary-color-hover)}.input-number-wrap:hover .input-number-handler-wrap[data-v-279760db]{background:#fff;opacity:1}.input-number-wrap[data-v-279760db]:focus-within{border-color:var(--input-number-primary-color-focus);box-shadow:0 0 0 2px var(--input-number-primary-shadow-color)}.input-number-wrap .input-number-container[data-v-279760db]{height:100%;display:flex}.input-number-wrap .input-number-container .input-prefix[data-v-279760db]{pointer-events:none;margin-right:4px;display:inline-flex;align-items:center}.input-number-wrap .input-number-container .input-number[data-v-279760db]{font-size:14px;color:#000000e0;width:100%;height:100%;background:transparent;border-radius:6px;transition:all .2s linear;appearance:textfield;border:none;outline:none}.input-number-wrap .input-number-container input[data-v-279760db]::-webkit-input-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]:-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]::-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]:-ms-input-placeholder{color:#00000040}.input-number-wrap .input-number-handler-wrap[data-v-279760db]{position:absolute;top:0;right:0;width:22px;height:100%;background:transparent;border-radius:0 6px 6px 0;opacity:0;display:flex;flex-direction:column;align-items:stretch;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-279760db]{display:flex;align-items:center;justify-content:center;flex:auto;height:40%;border-left:1px solid #d9d9d9;cursor:pointer;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-279760db]:hover{height:60%}.input-number-wrap .input-number-handler-wrap .input-number-arrow:hover .icon-svg[data-v-279760db]{color:var(--input-number-primary-color)}.input-number-wrap .input-number-handler-wrap .input-number-arrow .icon-svg[data-v-279760db]{font-size:7px;color:#00000073;fill:currentColor;-webkit-user-select:none;user-select:none;transition:color .2s}.input-number-wrap .input-number-handler-wrap .up-arrow[data-v-279760db]{border-top-right-radius:6px}.input-number-wrap .input-number-handler-wrap .down-arrow[data-v-279760db]{border-top:1px solid #d9d9d9;border-bottom-right-radius:6px}.input-number-wrap .input-number-handler-wrap .arrow-disabled[data-v-279760db]{cursor:not-allowed}.input-number-disabled[data-v-279760db]{color:#00000040;background-color:#0000000a;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.input-number-disabled[data-v-279760db]:hover{border-color:#d9d9d9}.input-number-disabled[data-v-279760db]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-number-disabled .input-number-container .input-number[data-v-279760db]{color:#00000040;cursor:not-allowed}.input-number-disabled .input-number-handler-wrap[data-v-279760db]{display:none}
@@ -1,7 +1,7 @@
1
1
  import o from "./InputNumber.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-fbc94156"]]);
4
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-279760db"]]);
5
5
  export {
6
- f as default
6
+ _ as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as W, ref as V, computed as m, watch as T, nextTick as j, createElementBlock as k, openBlock as C, normalizeStyle as O, normalizeClass as w, unref as v, createElementVNode as r, createCommentVNode as q, withDirectives as G, renderSlot as H, createTextVNode as J, toDisplayString as Q, withKeys as S, withModifiers as F, vModelText as X } from "vue";
2
- import { useInject as Y, useSlotsExist as Z, add as M } from "../utils/index.js";
1
+ import { defineComponent as W, ref as k, computed as v, watch as T, nextTick as j, createElementBlock as C, openBlock as S, normalizeStyle as O, normalizeClass as x, unref as p, createElementVNode as r, createCommentVNode as q, withDirectives as G, renderSlot as H, createTextVNode as J, toDisplayString as Q, withKeys as F, withModifiers as M, vModelText as X } from "vue";
2
+ import { useInject as Y, useSlotsExist as Z, add as $ } from "../utils/index.js";
3
3
  const _ = { class: "input-number-container" }, ee = {
4
4
  key: 0,
5
5
  class: "input-prefix"
6
- }, te = ["disabled", "placeholder", "onKeydown"], ne = { class: "input-number-handler-wrap" }, ie = /* @__PURE__ */ W({
6
+ }, te = ["disabled", "placeholder", "onKeydown"], ne = { class: "input-number-handler-wrap" }, re = /* @__PURE__ */ W({
7
7
  __name: "InputNumber",
8
8
  props: {
9
9
  width: { default: 90 },
@@ -21,20 +21,20 @@ const _ = { class: "input-number-container" }, ee = {
21
21
  valueModifiers: { default: () => ({}) }
22
22
  },
23
23
  emits: ["update:value", "change", "enter"],
24
- setup($, { emit: I }) {
25
- const n = $, u = V(), i = V(), { colorPalettes: c, shadowColor: z } = Y("InputNumber"), h = I, B = Z(["prefix"]), E = m(() => typeof n.width == "number" ? `${n.width}px` : n.width), s = m(() => {
26
- const e = String(n.step).split(".")[1]?.length || 0;
27
- return Math.max(n.precision, e);
28
- }), L = m(() => B.prefix || n.prefix), g = m(() => "lazy" in n.valueModifiers);
24
+ setup(i, { emit: I }) {
25
+ const t = i, s = k(), u = k(), { colorPalettes: h, shadowColor: z } = Y("InputNumber"), b = I, B = Z(["prefix"]), E = v(() => typeof t.width == "number" ? `${t.width}px` : t.width), d = v(() => {
26
+ const n = String(t.step).split(".")[1]?.length || 0;
27
+ return Math.max(t.precision, n);
28
+ }), L = v(() => B.prefix || t.prefix), g = v(() => "lazy" in t.valueModifiers);
29
29
  T(
30
- () => [n.value, s.value, n.formatter],
30
+ () => [t.value, d.value, t.formatter],
31
31
  async () => {
32
- if (n.value !== void 0)
33
- if (u.value) {
34
- const { selectionStart: e, selectionEnd: t, value: a } = u.value, o = a.slice(0, e), l = a.slice(t);
35
- i.value = f(), await j(), D(e, o, l);
32
+ if (t.value !== void 0)
33
+ if (s.value) {
34
+ const { selectionStart: n, selectionEnd: e, value: a } = s.value, l = a.slice(0, n), o = a.slice(e);
35
+ u.value = m(), await j(), D(n, l, o);
36
36
  } else
37
- i.value = f();
37
+ u.value = m();
38
38
  },
39
39
  {
40
40
  immediate: !0,
@@ -42,106 +42,106 @@ const _ = { class: "input-number-container" }, ee = {
42
42
  deep: !0
43
43
  }
44
44
  );
45
- function D(e, t, a) {
46
- const { value: o } = u.value;
47
- let l = o.length;
48
- if (o.endsWith(a))
49
- l = o.length - a.length;
50
- else if (o.startsWith(t))
51
- l = t.length;
45
+ function D(n, e, a) {
46
+ const { value: l } = s.value;
47
+ let o = l.length;
48
+ if (l.endsWith(a))
49
+ o = l.length - a.length;
50
+ else if (l.startsWith(e))
51
+ o = e.length;
52
52
  else {
53
- const U = t[e - 1], N = o.indexOf(U, e - 1);
54
- N !== -1 && (l = N + 1);
53
+ const U = e[n - 1], V = l.indexOf(U, n - 1);
54
+ V !== -1 && (o = V + 1);
55
55
  }
56
- u.value.setSelectionRange(l, l);
56
+ s.value.setSelectionRange(o, o);
57
57
  }
58
- function p(e) {
59
- h("update:value", e), h("change", e);
58
+ function c(n) {
59
+ b("update:value", n), b("change", n);
60
60
  }
61
- function f() {
62
- return n.formatter ? n.formatter(n.value?.toFixed(s.value)) : n.value?.toFixed(s.value);
61
+ function m() {
62
+ return t.formatter ? t.formatter(t.value?.toFixed(d.value)) : t.value?.toFixed(d.value);
63
63
  }
64
- function d(e) {
65
- let t = parseFloat(e);
66
- return t > n.max && (t = n.max), t < n.min && (t = n.min), t;
64
+ function f(n) {
65
+ let e = parseFloat(n);
66
+ return e > t.max && (e = t.max), e < t.min && (e = t.min), e;
67
67
  }
68
- function b(e) {
69
- if (Number.isNaN(parseFloat(e)))
70
- n.value ? i.value = f() : n.formatter && (i.value = n.formatter(e));
68
+ function w(n) {
69
+ if (Number.isNaN(parseFloat(n)))
70
+ u.value = m();
71
71
  else {
72
- const t = d(e);
73
- t !== n.value ? p(t) : i.value = f();
72
+ const e = f(n);
73
+ e !== t.value ? c(e) : u.value = m();
74
74
  }
75
75
  }
76
- function K(e) {
76
+ function K(n) {
77
77
  if (!g.value) {
78
- const t = e.target, a = n.parser ? String(n.parser(t.value)) : t.value;
79
- a && !Number.isNaN(d(a)) && d(a) !== n.value && b(a), !a && n.value !== void 0 && p(void 0);
78
+ const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
79
+ a && !Number.isNaN(f(a)) && f(a) !== t.value && w(a), !a && t.value !== void 0 && c(void 0);
80
80
  }
81
81
  }
82
- function P(e) {
83
- const t = e.target, a = n.parser ? String(n.parser(t.value)) : t.value;
84
- b(a);
82
+ function P(n) {
83
+ const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
84
+ w(a);
85
85
  }
86
- function A(e) {
87
- e.key === "ArrowUp" && y(), e.key === "ArrowDown" && x();
86
+ function A(n) {
87
+ n.key === "ArrowUp" && y(), n.key === "ArrowDown" && N();
88
88
  }
89
- function R(e) {
90
- if (h("enter", e), g.value) {
91
- const t = e.target, a = n.parser ? String(n.parser(t.value)) : t.value;
92
- b(a);
89
+ function R(n) {
90
+ if (b("enter", n), g.value) {
91
+ const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
92
+ w(a);
93
93
  }
94
94
  }
95
95
  function y() {
96
- const e = Math.min(n.max, M(n.value || 0, +n.step)).toFixed(s.value);
97
- p(d(e));
96
+ const n = Math.min(t.max, $(t.value || 0, +t.step)).toFixed(d.value);
97
+ c(f(n));
98
98
  }
99
- function x() {
100
- const e = Math.max(n.min, M(n.value || 0, -n.step)).toFixed(s.value);
101
- p(d(e));
99
+ function N() {
100
+ const n = Math.max(t.min, $(t.value || 0, -t.step)).toFixed(d.value);
101
+ c(f(n));
102
102
  }
103
- return (e, t) => (C(), k("div", {
103
+ return (n, e) => (S(), C("div", {
104
104
  tabindex: "1",
105
- class: w(["input-number-wrap", { "input-number-disabled": e.disabled }]),
105
+ class: x(["input-number-wrap", { "input-number-disabled": i.disabled }]),
106
106
  style: O(`
107
107
  --input-number-width: ${E.value};
108
- --input-number-primary-color: ${v(c)[5]};
109
- --input-number-primary-color-hover: ${v(c)[4]};
110
- --input-number-primary-color-focus: ${v(c)[4]};
111
- --input-number-primary-shadow-color: ${v(z)};
108
+ --input-number-primary-color: ${p(h)[5]};
109
+ --input-number-primary-color-hover: ${p(h)[4]};
110
+ --input-number-primary-color-focus: ${p(h)[4]};
111
+ --input-number-primary-shadow-color: ${p(z)};
112
112
  `)
113
113
  }, [
114
114
  r("div", _, [
115
- L.value ? (C(), k("span", ee, [
116
- H(e.$slots, "prefix", {}, () => [
117
- J(Q(e.prefix), 1)
115
+ L.value ? (S(), C("span", ee, [
116
+ H(n.$slots, "prefix", {}, () => [
117
+ J(Q(i.prefix), 1)
118
118
  ], !0)
119
119
  ])) : q("", !0),
120
120
  G(r("input", {
121
121
  ref_key: "inputRef",
122
- ref: u,
122
+ ref: s,
123
123
  class: "input-number",
124
124
  autocomplete: "off",
125
- disabled: e.disabled,
126
- placeholder: e.placeholder,
127
- "onUpdate:modelValue": t[0] || (t[0] = (a) => i.value = a),
125
+ disabled: i.disabled,
126
+ placeholder: i.placeholder,
127
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => u.value = a),
128
128
  onInput: K,
129
129
  onChange: P,
130
130
  onKeydown: [
131
- t[1] || (t[1] = S(F(() => {
131
+ e[1] || (e[1] = F(M(() => {
132
132
  }, ["prevent"]), ["up"])),
133
- t[2] || (t[2] = (a) => e.keyboard ? A(a) : () => !1),
134
- S(F(R, ["prevent"]), ["enter"])
133
+ e[2] || (e[2] = (a) => i.keyboard ? A(a) : () => !1),
134
+ F(M(R, ["prevent"]), ["enter"])
135
135
  ]
136
136
  }, null, 40, te), [
137
- [X, i.value]
137
+ [X, u.value]
138
138
  ])
139
139
  ]),
140
140
  r("div", ne, [
141
141
  r("span", {
142
- class: w(["input-number-arrow up-arrow", { "arrow-disabled": (e.value || 0) >= e.max }]),
143
- onClick: t[3] || (t[3] = (a) => (e.value || 0) >= e.max ? () => !1 : y())
144
- }, [...t[5] || (t[5] = [
142
+ class: x(["input-number-arrow up-arrow", { "arrow-disabled": (i.value || 0) >= i.max }]),
143
+ onClick: e[3] || (e[3] = (a) => (i.value || 0) >= i.max ? () => !1 : y())
144
+ }, [...e[5] || (e[5] = [
145
145
  r("svg", {
146
146
  class: "icon-svg",
147
147
  focusable: "false",
@@ -156,9 +156,9 @@ const _ = { class: "input-number-container" }, ee = {
156
156
  ], -1)
157
157
  ])], 2),
158
158
  r("span", {
159
- class: w(["input-number-arrow down-arrow", { "arrow-disabled": (e.value || 0) <= e.min }]),
160
- onClick: t[4] || (t[4] = (a) => (e.value || 0) <= e.min ? () => !1 : x())
161
- }, [...t[6] || (t[6] = [
159
+ class: x(["input-number-arrow down-arrow", { "arrow-disabled": (i.value || 0) <= i.min }]),
160
+ onClick: e[4] || (e[4] = (a) => (i.value || 0) <= i.min ? () => !1 : N())
161
+ }, [...e[6] || (e[6] = [
162
162
  r("svg", {
163
163
  class: "icon-svg",
164
164
  focusable: "false",
@@ -177,5 +177,5 @@ const _ = { class: "input-number-container" }, ee = {
177
177
  }
178
178
  });
179
179
  export {
180
- ie as default
180
+ re as default
181
181
  };
@@ -1 +1 @@
1
- .input-search-wrap[data-v-f4c37ce6]{width:var(--input-search-width);position:relative;display:inline-flex;align-items:center}.input-search-wrap .input-search-addon-before[data-v-f4c37ce6]{display:inline-flex;justify-content:center;align-items:center;position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;line-height:1.57142857;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px 0 0 6px;border-right:0;transition:all .3s}.input-search-wrap .input-search-addon-before[data-v-f4c37ce6] svg{fill:currentColor}.input-search-wrap .addon-before-small[data-v-f4c37ce6]{height:24px}.input-search-wrap .addon-before-middle[data-v-f4c37ce6]{height:32px}.input-search-wrap .addon-before-small[data-v-f4c37ce6]{height:40px}.input-search-wrap .input-search-container[data-v-f4c37ce6]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;width:100%;min-width:0;background-color:#fff;border:1px solid #d9d9d9;transition:all .2s}.input-search-wrap .input-search-container[data-v-f4c37ce6]:hover{border-color:var(--input-search-primary-color-hover);border-right-width:1px;z-index:1}.input-search-wrap .input-search-container[data-v-f4c37ce6]:focus-within{border-color:var(--input-search-primary-color-focus);box-shadow:0 0 0 2px var(--input-search-primary-shadow-color);border-right-width:1px;outline:0;z-index:1}.input-search-wrap .input-search-container .input-search-prefix[data-v-f4c37ce6]{margin-right:4px;display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-prefix[data-v-f4c37ce6] svg{fill:currentColor}.input-search-wrap .input-search-container .input-search[data-v-f4c37ce6]{font-size:14px;color:inherit;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-search-wrap .input-search-container input[data-v-f4c37ce6]::-webkit-input-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-f4c37ce6]:-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-f4c37ce6]::-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-f4c37ce6]:-ms-input-placeholder{color:#00000040}.input-search-wrap .input-search-container .input-search-suffix[data-v-f4c37ce6]{margin-left:4px;display:flex;flex:none;gap:8px;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear[data-v-f4c37ce6]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-f4c37ce6]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-f4c37ce6]:hover{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .clear-hidden[data-v-f4c37ce6]{visibility:hidden}.input-search-wrap .input-search-container .input-search-suffix .input-search-count[data-v-f4c37ce6]{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-f4c37ce6]{display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-f4c37ce6] svg{fill:currentColor}.input-search-wrap .input-search-small[data-v-f4c37ce6]{height:24px;padding:0 7px;border-radius:4px 0 0 4px}.input-search-wrap .input-search-middle[data-v-f4c37ce6]{height:32px;padding:4px 11px;border-radius:6px 0 0 6px}.input-search-wrap .input-search-large[data-v-f4c37ce6]{height:40px;padding:7px 11px;font-size:16px;line-height:1.5;border-radius:8px 0 0 8px}.input-search-wrap .input-search-large .input-search[data-v-f4c37ce6]{font-size:16px;line-height:1.5}.input-search-wrap .input-search-before[data-v-f4c37ce6]{border-top-left-radius:0;border-bottom-left-radius:0}.input-search-wrap .input-search-disabled[data-v-f4c37ce6]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-search-wrap .input-search-disabled[data-v-f4c37ce6]:hover{border-color:#d9d9d9}.input-search-wrap .input-search-disabled[data-v-f4c37ce6]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-search-wrap .input-search-disabled .input-search[data-v-f4c37ce6]{color:#00000040;background-color:transparent;cursor:not-allowed}.input-search-wrap .input-search-button[data-v-f4c37ce6]{position:relative;left:-1px;border-left:0;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border-radius:0 6px 6px 0;transition:all .3s;line-height:1}.input-search-wrap .input-search-button[data-v-f4c37ce6] .m-btn{padding-top:0;padding-bottom:0;border-radius:0 6px 6px 0}.input-search-wrap .input-search-button[data-v-f4c37ce6] .m-btn:not(.btn-primary):not(.btn-danger):not(.btn-link):not(.btn-disabled){color:#00000073}
1
+ .input-search-wrap[data-v-b3de7221]{width:var(--input-search-width);position:relative;display:inline-flex;align-items:center}.input-search-wrap .input-search-addon-before[data-v-b3de7221]{display:inline-flex;justify-content:center;align-items:center;position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;line-height:1.57142857;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px 0 0 6px;border-right:0;transition:all .3s}.input-search-wrap .input-search-addon-before[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .addon-before-small[data-v-b3de7221]{height:24px}.input-search-wrap .addon-before-middle[data-v-b3de7221]{height:32px}.input-search-wrap .addon-before-small[data-v-b3de7221]{height:40px}.input-search-wrap .input-search-container[data-v-b3de7221]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;width:100%;min-width:0;background-color:#fff;border:1px solid #d9d9d9;transition:all .2s}.input-search-wrap .input-search-container[data-v-b3de7221]:hover{border-color:var(--input-search-primary-color-hover);border-right-width:1px;z-index:1}.input-search-wrap .input-search-container[data-v-b3de7221]:focus-within{border-color:var(--input-search-primary-color-focus);box-shadow:0 0 0 2px var(--input-search-primary-shadow-color);border-right-width:1px;outline:0;z-index:1}.input-search-wrap .input-search-container .input-search-prefix[data-v-b3de7221]{margin-right:4px;display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-prefix[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .input-search-container .input-search[data-v-b3de7221]{font-size:14px;color:inherit;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-search-wrap .input-search-container input[data-v-b3de7221]::-webkit-input-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]:-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]::-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]:-ms-input-placeholder{color:#00000040}.input-search-wrap .input-search-container .input-search-suffix[data-v-b3de7221]{margin-left:4px;display:flex;flex:none;gap:8px;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear[data-v-b3de7221]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-b3de7221]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-b3de7221]:hover{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .clear-hidden[data-v-b3de7221]{visibility:hidden}.input-search-wrap .input-search-container .input-search-suffix .input-search-count[data-v-b3de7221]{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-b3de7221]{display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .input-search-small[data-v-b3de7221]{height:24px;padding:0 7px;border-radius:4px 0 0 4px}.input-search-wrap .input-search-middle[data-v-b3de7221]{height:32px;padding:4px 11px;border-radius:6px 0 0 6px}.input-search-wrap .input-search-large[data-v-b3de7221]{height:40px;padding:7px 11px;font-size:16px;line-height:1.5;border-radius:8px 0 0 8px}.input-search-wrap .input-search-large .input-search[data-v-b3de7221]{font-size:16px;line-height:1.5}.input-search-wrap .input-search-before[data-v-b3de7221]{border-top-left-radius:0;border-bottom-left-radius:0}.input-search-wrap .input-search-disabled[data-v-b3de7221]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-search-wrap .input-search-disabled[data-v-b3de7221]:hover{border-color:#d9d9d9}.input-search-wrap .input-search-disabled[data-v-b3de7221]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-search-wrap .input-search-disabled .input-search[data-v-b3de7221]{color:#00000040;background-color:transparent;cursor:not-allowed}.input-search-wrap .input-search-button[data-v-b3de7221]{position:relative;left:-1px;border-left:0;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border-radius:0 6px 6px 0;transition:all .3s;line-height:1}.input-search-wrap .input-search-button[data-v-b3de7221] .m-btn{padding-top:0;padding-bottom:0;border-radius:0 6px 6px 0}.input-search-wrap .input-search-button[data-v-b3de7221] .m-btn:not(.btn-primary):not(.btn-danger):not(.btn-link):not(.btn-disabled){color:#00000073}
@@ -1,7 +1,7 @@
1
1
  import o from "./InputSearch.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f4c37ce6"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b3de7221"]]);
5
5
  export {
6
- a as default
6
+ e as default
7
7
  };