@nutui/nutui 4.1.6 → 4.1.8-beta.1

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 (607) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/nutui.es.js +6 -2
  3. package/dist/nutui.js +4456 -4048
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/_es/ActionSheet.js +2 -2
  6. package/dist/packages/_es/Address.js +2 -2
  7. package/dist/packages/_es/AddressList.js +1 -1
  8. package/dist/packages/_es/Animate.js +1 -1
  9. package/dist/packages/_es/Audio.js +1 -1
  10. package/dist/packages/_es/AudioOperate.js +1 -1
  11. package/dist/packages/_es/Avatar.js +1 -1
  12. package/dist/packages/_es/AvatarCropper.js +467 -0
  13. package/dist/packages/_es/AvatarGroup.js +1 -1
  14. package/dist/packages/_es/Backtop.js +1 -1
  15. package/dist/packages/_es/Badge.js +1 -1
  16. package/dist/packages/_es/Barrage.js +1 -1
  17. package/dist/packages/_es/Button.js +1 -1
  18. package/dist/packages/_es/Calendar.js +3 -3
  19. package/dist/packages/_es/CalendarItem.js +2 -2
  20. package/dist/packages/_es/Card.js +1 -1
  21. package/dist/packages/_es/Cascader.js +2 -2
  22. package/dist/packages/_es/Category.js +1 -1
  23. package/dist/packages/_es/CategoryPane.js +1 -1
  24. package/dist/packages/_es/Cell.js +1 -1
  25. package/dist/packages/_es/CellGroup.js +1 -1
  26. package/dist/packages/_es/Checkbox.js +1 -1
  27. package/dist/packages/_es/CheckboxGroup.js +1 -1
  28. package/dist/packages/_es/CircleProgress.js +1 -1
  29. package/dist/packages/_es/Col.js +1 -1
  30. package/dist/packages/_es/Collapse.js +1 -1
  31. package/dist/packages/_es/CollapseItem.js +2 -2
  32. package/dist/packages/_es/Comment.js +13 -13
  33. package/dist/packages/_es/ConfigProvider.js +1 -1
  34. package/dist/packages/_es/Countdown.js +1 -1
  35. package/dist/packages/_es/Countup.js +1 -1
  36. package/dist/packages/_es/DatePicker.js +1 -1
  37. package/dist/packages/_es/Dialog.js +4 -4
  38. package/dist/packages/_es/Divider.js +1 -1
  39. package/dist/packages/_es/Drag.js +1 -1
  40. package/dist/packages/_es/Ecard.js +1 -1
  41. package/dist/packages/_es/Elevator.js +1 -1
  42. package/dist/packages/_es/Ellipsis.js +1 -1
  43. package/dist/packages/_es/Empty.js +1 -1
  44. package/dist/packages/_es/FixedNav.js +1 -1
  45. package/dist/packages/_es/Form.js +53 -28
  46. package/dist/packages/_es/FormItem.js +15 -2
  47. package/dist/packages/_es/Grid.js +2 -2
  48. package/dist/packages/_es/GridItem.js +2 -2
  49. package/dist/packages/_es/Image.js +1 -1
  50. package/dist/packages/_es/ImagePreview.js +8 -6
  51. package/dist/packages/_es/Indicator.js +1 -1
  52. package/dist/packages/_es/InfiniteLoading.js +1 -1
  53. package/dist/packages/_es/Input.js +20 -25
  54. package/dist/packages/_es/InputNumber.js +9 -6
  55. package/dist/packages/_es/{Interceptor-c05a39f2.js → Interceptor-006f85b3.js} +1 -1
  56. package/dist/packages/_es/Invoice.js +3 -3
  57. package/dist/packages/_es/Layout.js +1 -1
  58. package/dist/packages/_es/List.js +1 -1
  59. package/dist/packages/_es/Menu.js +1 -1
  60. package/dist/packages/_es/MenuItem.js +2 -2
  61. package/dist/packages/_es/Navbar.js +1 -1
  62. package/dist/packages/_es/Noticebar.js +1 -1
  63. package/dist/packages/_es/Notify.js +2 -2
  64. package/dist/packages/_es/NumberKeyboard.js +2 -2
  65. package/dist/packages/_es/Overlay.js +1 -1
  66. package/dist/packages/_es/Pagination.js +1 -1
  67. package/dist/packages/_es/Picker.js +2 -3
  68. package/dist/packages/_es/Popover.js +2 -2
  69. package/dist/packages/_es/Popup.js +2 -2
  70. package/dist/packages/_es/Price.js +1 -1
  71. package/dist/packages/_es/Progress.js +1 -1
  72. package/dist/packages/_es/PullRefresh.js +1 -1
  73. package/dist/packages/_es/Radio.js +2 -2
  74. package/dist/packages/_es/RadioGroup.js +2 -2
  75. package/dist/packages/_es/Range.js +1 -1
  76. package/dist/packages/_es/Rate.js +1 -1
  77. package/dist/packages/_es/Row.js +1 -1
  78. package/dist/packages/_es/Searchbar.js +1 -1
  79. package/dist/packages/_es/ShortPassword.js +2 -2
  80. package/dist/packages/_es/SideNavbar.js +1 -1
  81. package/dist/packages/_es/SideNavbarItem.js +1 -1
  82. package/dist/packages/_es/Signature.js +1 -1
  83. package/dist/packages/_es/Skeleton.js +1 -1
  84. package/dist/packages/_es/Sku.js +2 -2
  85. package/dist/packages/_es/Space.js +94 -0
  86. package/dist/packages/_es/Step.js +1 -1
  87. package/dist/packages/_es/Steps.js +1 -1
  88. package/dist/packages/_es/Sticky.js +1 -1
  89. package/dist/packages/_es/SubSideNavbar.js +1 -1
  90. package/dist/packages/_es/Swipe.js +1 -1
  91. package/dist/packages/_es/SwipeGroup.js +1 -1
  92. package/dist/packages/_es/Swiper.js +1 -1
  93. package/dist/packages/_es/SwiperItem.js +1 -1
  94. package/dist/packages/_es/Switch.js +1 -1
  95. package/dist/packages/_es/TabPane.js +1 -1
  96. package/dist/packages/_es/Tabbar.js +1 -1
  97. package/dist/packages/_es/TabbarItem.js +1 -1
  98. package/dist/packages/_es/Table.js +1 -1
  99. package/dist/packages/_es/Tabs.js +19 -1
  100. package/dist/packages/_es/Tag.js +1 -1
  101. package/dist/packages/_es/Textarea.js +1 -1
  102. package/dist/packages/_es/TimeDetail.js +1 -1
  103. package/dist/packages/_es/TimePannel.js +1 -1
  104. package/dist/packages/_es/TimeSelect.js +2 -2
  105. package/dist/packages/_es/Toast.js +2 -2
  106. package/dist/packages/_es/Tour.js +2 -2
  107. package/dist/packages/_es/TrendArrow.js +1 -1
  108. package/dist/packages/_es/Uploader.js +2 -2
  109. package/dist/packages/_es/Video.js +1 -1
  110. package/dist/packages/_es/Watermark.js +1 -1
  111. package/dist/packages/_es/{common-8775d905.js → common-728db750.js} +1 -1
  112. package/dist/packages/_es/{component-0fbad28e.js → component-f86a70df.js} +4 -4
  113. package/dist/packages/_es/{index-3032df15.js → index-5a1e6d22.js} +1 -1
  114. package/dist/packages/_es/{index-aef16dc6.js → index-b53aec83.js} +1 -1
  115. package/dist/packages/_es/{index.vue_vue_type_script_lang-cdf21a24.js → index.vue_vue_type_script_lang-0ccf787e.js} +4 -9
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang-2852286e.js → index.vue_vue_type_script_lang-1e118ab6.js} +2 -2
  117. package/dist/packages/_es/{mountComponent-a895e3f1.js → mountComponent-053caf41.js} +1 -1
  118. package/dist/packages/actionsheet/index.css +1 -0
  119. package/dist/packages/actionsheet/style/css.mjs +2 -0
  120. package/dist/packages/actionsheet/style/index.mjs +2 -0
  121. package/dist/packages/address/index.css +1 -0
  122. package/dist/packages/address/style/css.mjs +2 -0
  123. package/dist/packages/address/style/index.mjs +2 -0
  124. package/dist/packages/addresslist/index.css +1 -0
  125. package/dist/packages/addresslist/style/css.mjs +2 -0
  126. package/dist/packages/addresslist/style/index.mjs +2 -0
  127. package/dist/packages/animate/index.css +1 -0
  128. package/dist/packages/animate/index.scss +3 -3
  129. package/dist/packages/animate/style/css.mjs +2 -0
  130. package/dist/packages/animate/style/index.mjs +2 -0
  131. package/dist/packages/audio/index.css +1 -0
  132. package/dist/packages/audio/style/css.mjs +2 -0
  133. package/dist/packages/audio/style/index.mjs +2 -0
  134. package/dist/packages/audiooperate/index.css +1 -0
  135. package/dist/packages/audiooperate/style/css.mjs +2 -0
  136. package/dist/packages/audiooperate/style/index.mjs +2 -0
  137. package/dist/packages/avatar/index.css +1 -0
  138. package/dist/packages/avatar/style/css.mjs +2 -0
  139. package/dist/packages/avatar/style/index.mjs +2 -0
  140. package/dist/packages/avatarcropper/index.css +1 -0
  141. package/dist/packages/avatarcropper/index.mjs +4 -0
  142. package/dist/packages/avatarcropper/index.scss +98 -0
  143. package/dist/packages/avatarcropper/style/css.mjs +2 -0
  144. package/dist/packages/avatarcropper/style/index.mjs +2 -0
  145. package/dist/packages/avatargroup/index.css +1 -0
  146. package/dist/packages/avatargroup/style/css.mjs +2 -0
  147. package/dist/packages/avatargroup/style/index.mjs +2 -0
  148. package/dist/packages/backtop/index.css +1 -0
  149. package/dist/packages/backtop/style/css.mjs +2 -0
  150. package/dist/packages/backtop/style/index.mjs +2 -0
  151. package/dist/packages/badge/index.css +1 -0
  152. package/dist/packages/badge/style/css.mjs +2 -0
  153. package/dist/packages/badge/style/index.mjs +2 -0
  154. package/dist/packages/barrage/index.css +1 -0
  155. package/dist/packages/barrage/style/css.mjs +2 -0
  156. package/dist/packages/barrage/style/index.mjs +2 -0
  157. package/dist/packages/button/index.css +1 -0
  158. package/dist/packages/button/style/css.mjs +2 -0
  159. package/dist/packages/button/style/index.mjs +2 -0
  160. package/dist/packages/calendar/index.css +1 -0
  161. package/dist/packages/calendar/style/css.mjs +2 -0
  162. package/dist/packages/calendar/style/index.mjs +2 -0
  163. package/dist/packages/calendaritem/index.css +0 -0
  164. package/dist/packages/calendaritem/style/css.mjs +2 -0
  165. package/dist/packages/calendaritem/style/index.mjs +2 -0
  166. package/dist/packages/card/index.css +1 -0
  167. package/dist/packages/card/style/css.mjs +2 -0
  168. package/dist/packages/card/style/index.mjs +2 -0
  169. package/dist/packages/cascader/index.css +1 -0
  170. package/dist/packages/cascader/style/css.mjs +2 -0
  171. package/dist/packages/cascader/style/index.mjs +2 -0
  172. package/dist/packages/category/index.css +1 -0
  173. package/dist/packages/category/style/css.mjs +2 -0
  174. package/dist/packages/category/style/index.mjs +2 -0
  175. package/dist/packages/categorypane/index.css +1 -0
  176. package/dist/packages/categorypane/style/css.mjs +2 -0
  177. package/dist/packages/categorypane/style/index.mjs +2 -0
  178. package/dist/packages/cell/index.css +1 -0
  179. package/dist/packages/cell/style/css.mjs +2 -0
  180. package/dist/packages/cell/style/index.mjs +2 -0
  181. package/dist/packages/cellgroup/index.css +1 -0
  182. package/dist/packages/cellgroup/style/css.mjs +2 -0
  183. package/dist/packages/cellgroup/style/index.mjs +2 -0
  184. package/dist/packages/checkbox/index.css +1 -0
  185. package/dist/packages/checkbox/index.scss +2 -1
  186. package/dist/packages/checkbox/style/css.mjs +2 -0
  187. package/dist/packages/checkbox/style/index.mjs +2 -0
  188. package/dist/packages/checkboxgroup/index.css +0 -0
  189. package/dist/packages/checkboxgroup/style/css.mjs +2 -0
  190. package/dist/packages/checkboxgroup/style/index.mjs +2 -0
  191. package/dist/packages/circleprogress/index.css +1 -0
  192. package/dist/packages/circleprogress/style/css.mjs +2 -0
  193. package/dist/packages/circleprogress/style/index.mjs +2 -0
  194. package/dist/packages/col/index.css +1 -0
  195. package/dist/packages/col/style/css.mjs +2 -0
  196. package/dist/packages/col/style/index.mjs +2 -0
  197. package/dist/packages/collapse/index.css +0 -0
  198. package/dist/packages/collapse/style/css.mjs +2 -0
  199. package/dist/packages/collapse/style/index.mjs +2 -0
  200. package/dist/packages/collapseitem/index.css +1 -0
  201. package/dist/packages/collapseitem/style/css.mjs +2 -0
  202. package/dist/packages/collapseitem/style/index.mjs +2 -0
  203. package/dist/packages/comment/index.css +1 -0
  204. package/dist/packages/comment/style/css.mjs +2 -0
  205. package/dist/packages/comment/style/index.mjs +2 -0
  206. package/dist/packages/configprovider/index.css +0 -0
  207. package/dist/packages/configprovider/style/css.mjs +2 -0
  208. package/dist/packages/configprovider/style/index.mjs +2 -0
  209. package/dist/packages/countdown/index.css +1 -0
  210. package/dist/packages/countdown/style/css.mjs +2 -0
  211. package/dist/packages/countdown/style/index.mjs +2 -0
  212. package/dist/packages/countup/index.css +1 -0
  213. package/dist/packages/countup/style/css.mjs +2 -0
  214. package/dist/packages/countup/style/index.mjs +2 -0
  215. package/dist/packages/datepicker/index.css +1 -0
  216. package/dist/packages/datepicker/style/css.mjs +2 -0
  217. package/dist/packages/datepicker/style/index.mjs +2 -0
  218. package/dist/packages/dialog/index.css +1 -0
  219. package/dist/packages/dialog/style/css.mjs +2 -0
  220. package/dist/packages/dialog/style/index.mjs +2 -0
  221. package/dist/packages/divider/index.css +1 -0
  222. package/dist/packages/divider/style/css.mjs +2 -0
  223. package/dist/packages/divider/style/index.mjs +2 -0
  224. package/dist/packages/drag/index.css +1 -0
  225. package/dist/packages/drag/style/css.mjs +2 -0
  226. package/dist/packages/drag/style/index.mjs +2 -0
  227. package/dist/packages/ecard/index.css +1 -0
  228. package/dist/packages/ecard/style/css.mjs +2 -0
  229. package/dist/packages/ecard/style/index.mjs +2 -0
  230. package/dist/packages/elevator/index.css +1 -0
  231. package/dist/packages/elevator/style/css.mjs +2 -0
  232. package/dist/packages/elevator/style/index.mjs +2 -0
  233. package/dist/packages/ellipsis/index.css +1 -0
  234. package/dist/packages/ellipsis/style/css.mjs +2 -0
  235. package/dist/packages/ellipsis/style/index.mjs +2 -0
  236. package/dist/packages/empty/index.css +1 -0
  237. package/dist/packages/empty/style/css.mjs +2 -0
  238. package/dist/packages/empty/style/index.mjs +2 -0
  239. package/dist/packages/fixednav/index.css +1 -0
  240. package/dist/packages/fixednav/style/css.mjs +2 -0
  241. package/dist/packages/fixednav/style/index.mjs +2 -0
  242. package/dist/packages/form/index.css +1 -0
  243. package/dist/packages/form/style/css.mjs +2 -0
  244. package/dist/packages/form/style/index.mjs +2 -0
  245. package/dist/packages/formitem/index.css +1 -0
  246. package/dist/packages/formitem/style/css.mjs +2 -0
  247. package/dist/packages/formitem/style/index.mjs +2 -0
  248. package/dist/packages/grid/index.css +1 -0
  249. package/dist/packages/grid/style/css.mjs +2 -0
  250. package/dist/packages/grid/style/index.mjs +2 -0
  251. package/dist/packages/griditem/index.css +1 -0
  252. package/dist/packages/griditem/style/css.mjs +2 -0
  253. package/dist/packages/griditem/style/index.mjs +2 -0
  254. package/dist/packages/icon/index.css +1 -0
  255. package/dist/packages/icon/style/css.mjs +2 -0
  256. package/dist/packages/icon/style/index.mjs +2 -0
  257. package/dist/packages/image/index.css +1 -0
  258. package/dist/packages/image/style/css.mjs +2 -0
  259. package/dist/packages/image/style/index.mjs +2 -0
  260. package/dist/packages/imagepreview/index.css +1 -0
  261. package/dist/packages/imagepreview/style/css.mjs +2 -0
  262. package/dist/packages/imagepreview/style/index.mjs +2 -0
  263. package/dist/packages/indicator/index.css +1 -0
  264. package/dist/packages/indicator/style/css.mjs +2 -0
  265. package/dist/packages/indicator/style/index.mjs +2 -0
  266. package/dist/packages/infiniteloading/index.css +1 -0
  267. package/dist/packages/infiniteloading/style/css.mjs +2 -0
  268. package/dist/packages/infiniteloading/style/index.mjs +2 -0
  269. package/dist/packages/input/index.css +1 -0
  270. package/dist/packages/input/style/css.mjs +2 -0
  271. package/dist/packages/input/style/index.mjs +2 -0
  272. package/dist/packages/inputnumber/index.css +1 -0
  273. package/dist/packages/inputnumber/style/css.mjs +2 -0
  274. package/dist/packages/inputnumber/style/index.mjs +2 -0
  275. package/dist/packages/invoice/index.css +1 -0
  276. package/dist/packages/invoice/style/css.mjs +2 -0
  277. package/dist/packages/invoice/style/index.mjs +2 -0
  278. package/dist/packages/layout/index.css +0 -0
  279. package/dist/packages/layout/style/css.mjs +2 -0
  280. package/dist/packages/layout/style/index.mjs +2 -0
  281. package/dist/packages/list/index.css +1 -0
  282. package/dist/packages/list/style/css.mjs +2 -0
  283. package/dist/packages/list/style/index.mjs +2 -0
  284. package/dist/packages/menu/index.css +1 -0
  285. package/dist/packages/menu/style/css.mjs +2 -0
  286. package/dist/packages/menu/style/index.mjs +2 -0
  287. package/dist/packages/menuitem/index.css +1 -0
  288. package/dist/packages/menuitem/style/css.mjs +2 -0
  289. package/dist/packages/menuitem/style/index.mjs +2 -0
  290. package/dist/packages/navbar/index.css +1 -0
  291. package/dist/packages/navbar/style/css.mjs +2 -0
  292. package/dist/packages/navbar/style/index.mjs +2 -0
  293. package/dist/packages/noticebar/index.css +1 -0
  294. package/dist/packages/noticebar/style/css.mjs +2 -0
  295. package/dist/packages/noticebar/style/index.mjs +2 -0
  296. package/dist/packages/notify/index.css +1 -0
  297. package/dist/packages/notify/style/css.mjs +2 -0
  298. package/dist/packages/notify/style/index.mjs +2 -0
  299. package/dist/packages/numberkeyboard/index.css +1 -0
  300. package/dist/packages/numberkeyboard/style/css.mjs +2 -0
  301. package/dist/packages/numberkeyboard/style/index.mjs +2 -0
  302. package/dist/packages/overlay/index.css +1 -0
  303. package/dist/packages/overlay/style/css.mjs +2 -0
  304. package/dist/packages/overlay/style/index.mjs +2 -0
  305. package/dist/packages/pagination/index.css +1 -0
  306. package/dist/packages/pagination/style/css.mjs +2 -0
  307. package/dist/packages/pagination/style/index.mjs +2 -0
  308. package/dist/packages/picker/index.css +1 -0
  309. package/dist/packages/picker/style/css.mjs +2 -0
  310. package/dist/packages/picker/style/index.mjs +2 -0
  311. package/dist/packages/popover/index.css +1 -0
  312. package/dist/packages/popover/style/css.mjs +2 -0
  313. package/dist/packages/popover/style/index.mjs +2 -0
  314. package/dist/packages/popup/index.css +1 -0
  315. package/dist/packages/popup/style/css.mjs +2 -0
  316. package/dist/packages/popup/style/index.mjs +2 -0
  317. package/dist/packages/price/index.css +1 -0
  318. package/dist/packages/price/style/css.mjs +2 -0
  319. package/dist/packages/price/style/index.mjs +2 -0
  320. package/dist/packages/progress/index.css +1 -0
  321. package/dist/packages/progress/style/css.mjs +2 -0
  322. package/dist/packages/progress/style/index.mjs +2 -0
  323. package/dist/packages/pullrefresh/index.css +1 -0
  324. package/dist/packages/pullrefresh/style/css.mjs +2 -0
  325. package/dist/packages/pullrefresh/style/index.mjs +2 -0
  326. package/dist/packages/radio/index.css +1 -0
  327. package/dist/packages/radio/index.scss +13 -0
  328. package/dist/packages/radio/style/css.mjs +2 -0
  329. package/dist/packages/radio/style/index.mjs +2 -0
  330. package/dist/packages/radiogroup/index.css +1 -0
  331. package/dist/packages/radiogroup/style/css.mjs +2 -0
  332. package/dist/packages/radiogroup/style/index.mjs +2 -0
  333. package/dist/packages/range/index.css +1 -0
  334. package/dist/packages/range/style/css.mjs +2 -0
  335. package/dist/packages/range/style/index.mjs +2 -0
  336. package/dist/packages/rate/index.css +1 -0
  337. package/dist/packages/rate/style/css.mjs +2 -0
  338. package/dist/packages/rate/style/index.mjs +2 -0
  339. package/dist/packages/row/index.css +1 -0
  340. package/dist/packages/row/style/css.mjs +2 -0
  341. package/dist/packages/row/style/index.mjs +2 -0
  342. package/dist/packages/searchbar/index.css +1 -0
  343. package/dist/packages/searchbar/style/css.mjs +2 -0
  344. package/dist/packages/searchbar/style/index.mjs +2 -0
  345. package/dist/packages/shortpassword/index.css +1 -0
  346. package/dist/packages/shortpassword/style/css.mjs +2 -0
  347. package/dist/packages/shortpassword/style/index.mjs +2 -0
  348. package/dist/packages/sidenavbar/index.css +1 -0
  349. package/dist/packages/sidenavbar/style/css.mjs +2 -0
  350. package/dist/packages/sidenavbar/style/index.mjs +2 -0
  351. package/dist/packages/sidenavbaritem/index.css +1 -0
  352. package/dist/packages/sidenavbaritem/style/css.mjs +2 -0
  353. package/dist/packages/sidenavbaritem/style/index.mjs +2 -0
  354. package/dist/packages/signature/index.css +1 -0
  355. package/dist/packages/signature/style/css.mjs +2 -0
  356. package/dist/packages/signature/style/index.mjs +2 -0
  357. package/dist/packages/skeleton/index.css +1 -0
  358. package/dist/packages/skeleton/style/css.mjs +2 -0
  359. package/dist/packages/skeleton/style/index.mjs +2 -0
  360. package/dist/packages/sku/index.css +1 -0
  361. package/dist/packages/sku/style/css.mjs +2 -0
  362. package/dist/packages/sku/style/index.mjs +2 -0
  363. package/dist/packages/space/index.css +1 -0
  364. package/dist/packages/space/index.mjs +4 -0
  365. package/dist/packages/space/index.scss +76 -0
  366. package/dist/packages/space/style/css.mjs +2 -0
  367. package/dist/packages/space/style/index.mjs +2 -0
  368. package/dist/packages/step/index.css +1 -0
  369. package/dist/packages/step/style/css.mjs +2 -0
  370. package/dist/packages/step/style/index.mjs +2 -0
  371. package/dist/packages/steps/index.css +1 -0
  372. package/dist/packages/steps/style/css.mjs +2 -0
  373. package/dist/packages/steps/style/index.mjs +2 -0
  374. package/dist/packages/sticky/index.css +0 -0
  375. package/dist/packages/sticky/style/css.mjs +2 -0
  376. package/dist/packages/sticky/style/index.mjs +2 -0
  377. package/dist/packages/subsidenavbar/index.css +1 -0
  378. package/dist/packages/subsidenavbar/style/css.mjs +2 -0
  379. package/dist/packages/subsidenavbar/style/index.mjs +2 -0
  380. package/dist/packages/swipe/index.css +1 -0
  381. package/dist/packages/swipe/style/css.mjs +2 -0
  382. package/dist/packages/swipe/style/index.mjs +2 -0
  383. package/dist/packages/swipegroup/index.css +0 -0
  384. package/dist/packages/swipegroup/style/css.mjs +2 -0
  385. package/dist/packages/swipegroup/style/index.mjs +2 -0
  386. package/dist/packages/swiper/index.css +1 -0
  387. package/dist/packages/swiper/style/css.mjs +2 -0
  388. package/dist/packages/swiper/style/index.mjs +2 -0
  389. package/dist/packages/swiperitem/index.css +1 -0
  390. package/dist/packages/swiperitem/style/css.mjs +2 -0
  391. package/dist/packages/swiperitem/style/index.mjs +2 -0
  392. package/dist/packages/switch/index.css +1 -0
  393. package/dist/packages/switch/style/css.mjs +2 -0
  394. package/dist/packages/switch/style/index.mjs +2 -0
  395. package/dist/packages/tabbar/index.css +1 -0
  396. package/dist/packages/tabbar/style/css.mjs +2 -0
  397. package/dist/packages/tabbar/style/index.mjs +2 -0
  398. package/dist/packages/tabbaritem/index.css +1 -0
  399. package/dist/packages/tabbaritem/style/css.mjs +2 -0
  400. package/dist/packages/tabbaritem/style/index.mjs +2 -0
  401. package/dist/packages/table/index.css +1 -0
  402. package/dist/packages/table/style/css.mjs +2 -0
  403. package/dist/packages/table/style/index.mjs +2 -0
  404. package/dist/packages/tabpane/index.css +1 -0
  405. package/dist/packages/tabpane/style/css.mjs +2 -0
  406. package/dist/packages/tabpane/style/index.mjs +2 -0
  407. package/dist/packages/tabs/index.css +1 -0
  408. package/dist/packages/tabs/style/css.mjs +2 -0
  409. package/dist/packages/tabs/style/index.mjs +2 -0
  410. package/dist/packages/tag/index.css +1 -0
  411. package/dist/packages/tag/style/css.mjs +2 -0
  412. package/dist/packages/tag/style/index.mjs +2 -0
  413. package/dist/packages/textarea/index.css +1 -0
  414. package/dist/packages/textarea/style/css.mjs +2 -0
  415. package/dist/packages/textarea/style/index.mjs +2 -0
  416. package/dist/packages/timedetail/index.css +1 -0
  417. package/dist/packages/timedetail/style/css.mjs +2 -0
  418. package/dist/packages/timedetail/style/index.mjs +2 -0
  419. package/dist/packages/timepannel/index.css +1 -0
  420. package/dist/packages/timepannel/style/css.mjs +2 -0
  421. package/dist/packages/timepannel/style/index.mjs +2 -0
  422. package/dist/packages/timeselect/index.css +1 -0
  423. package/dist/packages/timeselect/style/css.mjs +2 -0
  424. package/dist/packages/timeselect/style/index.mjs +2 -0
  425. package/dist/packages/toast/index.css +1 -0
  426. package/dist/packages/toast/style/css.mjs +2 -0
  427. package/dist/packages/toast/style/index.mjs +2 -0
  428. package/dist/packages/tour/index.css +1 -0
  429. package/dist/packages/tour/style/css.mjs +2 -0
  430. package/dist/packages/tour/style/index.mjs +2 -0
  431. package/dist/packages/trendarrow/index.css +1 -0
  432. package/dist/packages/trendarrow/style/css.mjs +2 -0
  433. package/dist/packages/trendarrow/style/index.mjs +2 -0
  434. package/dist/packages/uploader/index.css +1 -0
  435. package/dist/packages/uploader/index.scss +1 -4
  436. package/dist/packages/uploader/style/css.mjs +2 -0
  437. package/dist/packages/uploader/style/index.mjs +2 -0
  438. package/dist/packages/video/index.css +1 -0
  439. package/dist/packages/video/style/css.mjs +2 -0
  440. package/dist/packages/video/style/index.mjs +2 -0
  441. package/dist/packages/watermark/index.css +1 -0
  442. package/dist/packages/watermark/style/css.mjs +2 -0
  443. package/dist/packages/watermark/style/index.mjs +2 -0
  444. package/dist/smartips/web-types.json +123 -1
  445. package/dist/style.css +1 -1
  446. package/dist/styles/base-jdb.css +1 -0
  447. package/dist/styles/base-jddkh.css +1 -0
  448. package/dist/styles/base-jdt.css +1 -0
  449. package/dist/styles/themes/default.scss +40 -38
  450. package/dist/styles/themes/jdb.scss +40 -38
  451. package/dist/styles/themes/jddkh.scss +40 -38
  452. package/dist/styles/themes/jdt.scss +40 -38
  453. package/dist/styles/variables-jdb.scss +10 -3
  454. package/dist/styles/variables-jddkh.scss +9 -2
  455. package/dist/styles/variables-jdt.scss +6 -1
  456. package/dist/styles/variables.scss +6 -1
  457. package/dist/types/__VUE/address/index.vue.d.ts +1 -1
  458. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +100 -0
  459. package/dist/types/__VUE/avatarcropper/types.d.ts +3 -0
  460. package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
  461. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
  462. package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -2
  463. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
  464. package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
  465. package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
  466. package/dist/types/__VUE/countdown/index.vue.d.ts +2 -2
  467. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  468. package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
  469. package/dist/types/__VUE/dialog/index.vue.d.ts +10 -4
  470. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  471. package/dist/types/__VUE/ecard/index.vue.d.ts +1 -1
  472. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
  473. package/dist/types/__VUE/form/common.d.ts +1 -1
  474. package/dist/types/__VUE/image/index.vue.d.ts +2 -2
  475. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
  476. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  477. package/dist/types/__VUE/input/index.vue.d.ts +10 -24
  478. package/dist/types/__VUE/input/type.d.ts +3 -0
  479. package/dist/types/__VUE/input/util.d.ts +6 -0
  480. package/dist/types/__VUE/inputnumber/index.vue.d.ts +2 -2
  481. package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
  482. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
  483. package/dist/types/__VUE/pagination/index.vue.d.ts +1 -1
  484. package/dist/types/__VUE/picker/index.vue.d.ts +1 -1
  485. package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
  486. package/dist/types/__VUE/range/index.vue.d.ts +4 -4
  487. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  488. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  489. package/dist/types/__VUE/signature/index.vue.d.ts +1 -1
  490. package/dist/types/__VUE/skeleton/index.vue.d.ts +2 -2
  491. package/dist/types/__VUE/space/index.vue.d.ts +40 -0
  492. package/dist/types/__VUE/space/types.d.ts +3 -0
  493. package/dist/types/__VUE/swiper/index.vue.d.ts +3 -2
  494. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  495. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
  496. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  497. package/dist/types/__VUE/textarea/index.vue.d.ts +2 -2
  498. package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
  499. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  500. package/dist/types/__VUE/watermark/index.vue.d.ts +2 -2
  501. package/dist/types/index.d.ts +4 -2
  502. package/dist/types/utils/canvas.d.ts +7 -0
  503. package/package.json +2 -2
  504. package/dist/packages/actionsheet/style.mjs +0 -2
  505. package/dist/packages/address/style.mjs +0 -2
  506. package/dist/packages/addresslist/style.mjs +0 -2
  507. package/dist/packages/animate/style.mjs +0 -2
  508. package/dist/packages/audio/style.mjs +0 -2
  509. package/dist/packages/audiooperate/style.mjs +0 -2
  510. package/dist/packages/avatar/style.mjs +0 -2
  511. package/dist/packages/avatargroup/style.mjs +0 -2
  512. package/dist/packages/backtop/style.mjs +0 -2
  513. package/dist/packages/badge/style.mjs +0 -2
  514. package/dist/packages/barrage/style.mjs +0 -2
  515. package/dist/packages/button/style.mjs +0 -2
  516. package/dist/packages/calendar/style.mjs +0 -2
  517. package/dist/packages/calendaritem/style.mjs +0 -2
  518. package/dist/packages/card/style.mjs +0 -2
  519. package/dist/packages/cascader/style.mjs +0 -2
  520. package/dist/packages/category/style.mjs +0 -2
  521. package/dist/packages/categorypane/style.mjs +0 -2
  522. package/dist/packages/cell/style.mjs +0 -2
  523. package/dist/packages/cellgroup/style.mjs +0 -2
  524. package/dist/packages/checkbox/style.mjs +0 -2
  525. package/dist/packages/checkboxgroup/style.mjs +0 -2
  526. package/dist/packages/circleprogress/style.mjs +0 -2
  527. package/dist/packages/col/style.mjs +0 -2
  528. package/dist/packages/collapse/style.mjs +0 -2
  529. package/dist/packages/collapseitem/style.mjs +0 -2
  530. package/dist/packages/comment/style.mjs +0 -2
  531. package/dist/packages/configprovider/style.mjs +0 -2
  532. package/dist/packages/countdown/style.mjs +0 -2
  533. package/dist/packages/countup/style.mjs +0 -2
  534. package/dist/packages/datepicker/style.mjs +0 -2
  535. package/dist/packages/dialog/style.mjs +0 -2
  536. package/dist/packages/divider/style.mjs +0 -2
  537. package/dist/packages/drag/style.mjs +0 -2
  538. package/dist/packages/ecard/style.mjs +0 -2
  539. package/dist/packages/elevator/style.mjs +0 -2
  540. package/dist/packages/ellipsis/style.mjs +0 -2
  541. package/dist/packages/empty/style.mjs +0 -2
  542. package/dist/packages/fixednav/style.mjs +0 -2
  543. package/dist/packages/form/style.mjs +0 -2
  544. package/dist/packages/formitem/style.mjs +0 -2
  545. package/dist/packages/grid/style.mjs +0 -2
  546. package/dist/packages/griditem/style.mjs +0 -2
  547. package/dist/packages/icon/style.mjs +0 -2
  548. package/dist/packages/image/style.mjs +0 -2
  549. package/dist/packages/imagepreview/style.mjs +0 -2
  550. package/dist/packages/indicator/style.mjs +0 -2
  551. package/dist/packages/infiniteloading/style.mjs +0 -2
  552. package/dist/packages/input/style.mjs +0 -2
  553. package/dist/packages/inputnumber/style.mjs +0 -2
  554. package/dist/packages/invoice/style.mjs +0 -2
  555. package/dist/packages/layout/style.mjs +0 -2
  556. package/dist/packages/list/style.mjs +0 -2
  557. package/dist/packages/menu/style.mjs +0 -2
  558. package/dist/packages/menuitem/style.mjs +0 -2
  559. package/dist/packages/navbar/style.mjs +0 -2
  560. package/dist/packages/noticebar/style.mjs +0 -2
  561. package/dist/packages/notify/style.mjs +0 -2
  562. package/dist/packages/numberkeyboard/style.mjs +0 -2
  563. package/dist/packages/overlay/style.mjs +0 -2
  564. package/dist/packages/pagination/style.mjs +0 -2
  565. package/dist/packages/picker/style.mjs +0 -2
  566. package/dist/packages/popover/style.mjs +0 -2
  567. package/dist/packages/popup/style.mjs +0 -2
  568. package/dist/packages/price/style.mjs +0 -2
  569. package/dist/packages/progress/style.mjs +0 -2
  570. package/dist/packages/pullrefresh/style.mjs +0 -2
  571. package/dist/packages/radio/style.mjs +0 -2
  572. package/dist/packages/radiogroup/style.mjs +0 -2
  573. package/dist/packages/range/style.mjs +0 -2
  574. package/dist/packages/rate/style.mjs +0 -2
  575. package/dist/packages/row/style.mjs +0 -2
  576. package/dist/packages/searchbar/style.mjs +0 -2
  577. package/dist/packages/shortpassword/style.mjs +0 -2
  578. package/dist/packages/sidenavbar/style.mjs +0 -2
  579. package/dist/packages/sidenavbaritem/style.mjs +0 -2
  580. package/dist/packages/signature/style.mjs +0 -2
  581. package/dist/packages/skeleton/style.mjs +0 -2
  582. package/dist/packages/sku/style.mjs +0 -2
  583. package/dist/packages/step/style.mjs +0 -2
  584. package/dist/packages/steps/style.mjs +0 -2
  585. package/dist/packages/sticky/style.mjs +0 -2
  586. package/dist/packages/subsidenavbar/style.mjs +0 -2
  587. package/dist/packages/swipe/style.mjs +0 -2
  588. package/dist/packages/swipegroup/style.mjs +0 -2
  589. package/dist/packages/swiper/style.mjs +0 -2
  590. package/dist/packages/swiperitem/style.mjs +0 -2
  591. package/dist/packages/switch/style.mjs +0 -2
  592. package/dist/packages/tabbar/style.mjs +0 -2
  593. package/dist/packages/tabbaritem/style.mjs +0 -2
  594. package/dist/packages/table/style.mjs +0 -2
  595. package/dist/packages/tabpane/style.mjs +0 -2
  596. package/dist/packages/tabs/style.mjs +0 -2
  597. package/dist/packages/tag/style.mjs +0 -2
  598. package/dist/packages/textarea/style.mjs +0 -2
  599. package/dist/packages/timedetail/style.mjs +0 -2
  600. package/dist/packages/timepannel/style.mjs +0 -2
  601. package/dist/packages/timeselect/style.mjs +0 -2
  602. package/dist/packages/toast/style.mjs +0 -2
  603. package/dist/packages/tour/style.mjs +0 -2
  604. package/dist/packages/trendarrow/style.mjs +0 -2
  605. package/dist/packages/uploader/style.mjs +0 -2
  606. package/dist/packages/video/style.mjs +0 -2
  607. package/dist/packages/watermark/style.mjs +0 -2
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, renderSlot, toDisplayString } from "vue";
2
- import { h as isObject, c as createComponent } from "./component-0fbad28e.js";
2
+ import { l as isObject, c as createComponent } from "./component-f86a70df.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create } = createComponent("circle-progress");
@@ -1,5 +1,5 @@
1
1
  import { inject, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("col");
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, watch, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create, componentName } = createComponent("collapse");
@@ -1,6 +1,6 @@
1
1
  import { ref, inject, reactive, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toDisplayString, createCommentVNode, normalizeStyle, createBlock, resolveDynamicComponent } from "vue";
2
2
  import { DownArrow } from "@nutui/icons-vue";
3
- import { c as createComponent } from "./component-0fbad28e.js";
3
+ import { c as createComponent } from "./component-f86a70df.js";
4
4
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -157,7 +157,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
157
157
  class: normalizeClass(["nut-collapse-item__title-icon", { "nut-collapse-item__title-icon--expanded": _ctx.expanded }]),
158
158
  style: normalizeStyle({ transform: "rotate(" + (_ctx.expanded ? _ctx.rotate : 0) + "deg)" })
159
159
  }, [
160
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderIcon(_ctx.icon))))
160
+ _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderIcon(_ctx.icon)), { key: 1 }))
161
161
  ], 6)
162
162
  ], 2),
163
163
  _ctx.$slots.extra ? (openBlock(), createElementBlock("view", _hoisted_7, [
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, renderSlot, createVNode, ref, watch, onMounted, Fragment, renderList, createBlock, computed, withCtx, normalizeStyle, createTextVNode } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { Right, Fabulous, Comment, MoreX } from "@nutui/icons-vue";
4
4
  import Rate from "./Rate.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -39,7 +39,7 @@ const _sfc_main$3 = create$3({
39
39
  const _hoisted_1$3 = { class: "nut-comment-header__user" };
40
40
  const _hoisted_2$3 = { class: "nut-comment-header__user-avter" };
41
41
  const _hoisted_3$3 = ["src"];
42
- const _hoisted_4$3 = { class: "nut-comment-header__user-score" };
42
+ const _hoisted_4$2 = { class: "nut-comment-header__user-score" };
43
43
  const _hoisted_5$1 = {
44
44
  key: 0,
45
45
  class: "nut-comment-header__time"
@@ -69,7 +69,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
69
69
  createElementVNode("span", null, toDisplayString(_ctx.info.nickName), 1),
70
70
  renderSlot(_ctx.$slots, "labels")
71
71
  ], 2),
72
- createElementVNode("view", _hoisted_4$3, [
72
+ createElementVNode("view", _hoisted_4$2, [
73
73
  createVNode(_component_nut_rate, {
74
74
  modelValue: _ctx.info.score,
75
75
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
@@ -170,7 +170,7 @@ const _sfc_main$2 = create$2({
170
170
  const _hoisted_1$2 = ["onClick"];
171
171
  const _hoisted_2$2 = ["src"];
172
172
  const _hoisted_3$2 = /* @__PURE__ */ createElementVNode("view", { class: "nut-comment-images__play" }, null, -1);
173
- const _hoisted_4$2 = ["onClick"];
173
+ const _hoisted_4$1 = ["onClick"];
174
174
  const _hoisted_5 = ["src"];
175
175
  const _hoisted_6 = {
176
176
  key: 0,
@@ -209,7 +209,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
209
209
  createElementVNode("span", null, "共 " + toDisplayString(_ctx.totalImages.length) + " 张", 1),
210
210
  createVNode(_component_Right, { style: { "width": "12px" } })
211
211
  ])) : createCommentVNode("", true)
212
- ], 8, _hoisted_4$2)) : createCommentVNode("", true)
212
+ ], 8, _hoisted_4$1)) : createCommentVNode("", true)
213
213
  ], 64);
214
214
  }), 128))
215
215
  ], 2);
@@ -262,7 +262,7 @@ const _sfc_main$1 = create$1({
262
262
  const _hoisted_1$1 = { class: "nut-comment-bottom" };
263
263
  const _hoisted_2$1 = { key: 0 };
264
264
  const _hoisted_3$1 = { class: "nut-comment-bottom__cpx" };
265
- const _hoisted_4$1 = ["onClick"];
265
+ const _hoisted_4 = ["onClick"];
266
266
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
267
267
  const _component_Fabulous = resolveComponent("Fabulous");
268
268
  const _component_Comment = resolveComponent("Comment");
@@ -293,7 +293,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
293
293
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.operate("popover"))
294
294
  }, toDisplayString(_ctx.translate("complaintsText")), 1)) : createCommentVNode("", true)
295
295
  ], 64)) : createCommentVNode("", true)
296
- ], 10, _hoisted_4$1);
296
+ ], 10, _hoisted_4);
297
297
  }), 128))
298
298
  ])
299
299
  ]);
@@ -375,10 +375,6 @@ const _sfc_main = create({
375
375
  const _hoisted_1 = ["innerHTML"];
376
376
  const _hoisted_2 = { class: "nut-comment__follow-title" };
377
377
  const _hoisted_3 = { class: "nut-comment__follow-com" };
378
- const _hoisted_4 = {
379
- key: 0,
380
- class: "nut-comment__follow-img"
381
- };
382
378
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
383
379
  const _component_comment_header = resolveComponent("comment-header");
384
380
  const _component_comment_images = resolveComponent("comment-images");
@@ -415,11 +411,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
415
411
  _ctx.follow && _ctx.follow.days > 0 ? (openBlock(), createElementBlock("view", {
416
412
  key: 0,
417
413
  class: "nut-comment__follow",
418
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
414
+ onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
419
415
  }, [
420
416
  createElementVNode("view", _hoisted_2, toDisplayString(_ctx.translate("additionalReview", _ctx.follow.days)), 1),
421
417
  createElementVNode("view", _hoisted_3, toDisplayString(_ctx.follow.content), 1),
422
- _ctx.follow.images && _ctx.follow.images.length > 0 ? (openBlock(), createElementBlock("view", _hoisted_4, [
418
+ _ctx.follow.images && _ctx.follow.images.length > 0 ? (openBlock(), createElementBlock("view", {
419
+ key: 0,
420
+ class: "nut-comment__follow-img",
421
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.clickImages(_ctx.follow.images))
422
+ }, [
423
423
  createTextVNode(toDisplayString(_ctx.translate("additionalImages", _ctx.follow.images.length)) + " ", 1),
424
424
  createVNode(_component_Right, { width: "12px" })
425
425
  ])) : createCommentVNode("", true)
@@ -1,4 +1,4 @@
1
- import { c as createComponent } from "./component-0fbad28e.js";
1
+ import { c as createComponent } from "./component-f86a70df.js";
2
2
  import { computed, h } from "vue";
3
3
  import "../locale/lang";
4
4
  const component = (tag) => {
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { reactive, computed, onBeforeMount, watch, toRefs, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
21
- import { p as padZero, c as createComponent } from "./component-0fbad28e.js";
21
+ import { p as padZero, c as createComponent } from "./component-f86a70df.js";
22
22
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
23
23
  import "../locale/lang";
24
24
  const getTimeStamp = (timeStr) => {
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { getCurrentInstance, ref, reactive, watch, nextTick, onMounted, onUnmounted, toRefs, openBlock, createElementBlock, Fragment, normalizeStyle, renderList, createCommentVNode, toDisplayString, createTextVNode } from "vue";
21
- import { c as createComponent } from "./component-0fbad28e.js";
21
+ import { c as createComponent } from "./component-f86a70df.js";
22
22
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
23
23
  import "../locale/lang";
24
24
  function useExtend(apis) {
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { reactive, computed, onBeforeMount, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from "vue";
21
21
  import Picker from "./Picker.js";
22
- import { c as createComponent, a as isDate$1, p as padZero } from "./component-0fbad28e.js";
22
+ import { c as createComponent, a as isDate$1, p as padZero } from "./component-f86a70df.js";
23
23
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
24
24
  import "./pxCheck-c6b9f6b7.js";
25
25
  import "./index-7a7385e4.js";
@@ -22,14 +22,14 @@ var __publicField = (obj, key, value) => {
22
22
  return value;
23
23
  };
24
24
  import { ref, onMounted, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, nextTick, h } from "vue";
25
- import { c as createComponent } from "./component-0fbad28e.js";
26
- import { f as funInterceptor } from "./Interceptor-c05a39f2.js";
27
- import { P as Popup, p as popupProps } from "./index-3032df15.js";
25
+ import { c as createComponent } from "./component-f86a70df.js";
26
+ import { f as funInterceptor } from "./Interceptor-006f85b3.js";
27
+ import { P as Popup, p as popupProps } from "./index-5a1e6d22.js";
28
28
  import Button from "./Button.js";
29
29
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
30
30
  import Overlay from "./Overlay.js";
31
31
  import "../locale/lang";
32
- import { C as CreateComponent } from "./mountComponent-a895e3f1.js";
32
+ import { C as CreateComponent } from "./mountComponent-053caf41.js";
33
33
  import "@nutui/icons-vue";
34
34
  const { componentName, create, translate } = createComponent("dialog");
35
35
  const _sfc_main = create({
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("divider");
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, onMounted, onActivated, onDeactivated, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { r as requestAniFrame } from "./raf-729dad54.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, withDirectives, vModelText, createTextVNode, createVNode } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import InputNumber from "./InputNumber.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, computed, onMounted, watch, nextTick, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString, renderSlot, withDirectives, vShow, createCommentVNode, withModifiers } from "vue";
21
- import { c as createComponent } from "./component-0fbad28e.js";
21
+ import { c as createComponent } from "./component-f86a70df.js";
22
22
  import { u as useExpose } from "./index-79c5dc33.js";
23
23
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
24
24
  import "../locale/lang";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, computed, watch, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createTextVNode, withModifiers } from "vue";
21
- import { c as createComponent } from "./component-0fbad28e.js";
21
+ import { c as createComponent } from "./component-f86a70df.js";
22
22
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
23
23
  import "../locale/lang";
24
24
  const { componentName, create } = createComponent("ellipsis");
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, renderSlot, createCommentVNode, toDisplayString } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
2
2
  import { Left } from "@nutui/icons-vue";
3
3
  import Overlay from "./Overlay.js";
4
- import { c as createComponent } from "./component-0fbad28e.js";
4
+ import { c as createComponent } from "./component-f86a70df.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
7
7
  const { translate, create, componentName } = createComponent("fixed-nav");
@@ -33,8 +33,8 @@ var __async = (__this, __arguments, generator) => {
33
33
  step((generator = generator.apply(__this, __arguments)).next());
34
34
  });
35
35
  };
36
- import { g as getPropByPath, f as isPromise, h as isObject, c as createComponent } from "./component-0fbad28e.js";
37
- import { computed, reactive, provide, watch, isVNode, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, renderSlot } from "vue";
36
+ import { g as getPropByPath, f as isPromise, c as createComponent } from "./component-f86a70df.js";
37
+ import { computed, reactive, provide, watch, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, renderSlot } from "vue";
38
38
  import CellGroup from "./CellGroup.js";
39
39
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
40
40
  import "../locale/lang";
@@ -52,7 +52,49 @@ const component = (components) => {
52
52
  },
53
53
  components,
54
54
  emits: ["validate"],
55
- setup(props, { emit, slots }) {
55
+ setup(props, { emit }) {
56
+ const useChildren = () => {
57
+ const publicChildren = reactive([]);
58
+ const internalChildren = reactive([]);
59
+ const linkChildren2 = (value) => {
60
+ const link = (child) => {
61
+ if (child.proxy) {
62
+ internalChildren.push(child);
63
+ publicChildren.push(child.proxy);
64
+ }
65
+ };
66
+ const removeLink = (child) => {
67
+ if (child.proxy) {
68
+ let internalIndex = internalChildren.indexOf(child);
69
+ if (internalIndex > -1) {
70
+ internalChildren.splice(internalIndex, 1);
71
+ }
72
+ let publicIndex = publicChildren.indexOf(child.proxy);
73
+ if (internalIndex > -1) {
74
+ publicChildren.splice(publicIndex, 1);
75
+ }
76
+ }
77
+ };
78
+ provide(
79
+ "NutFormParent",
80
+ Object.assign(
81
+ {
82
+ removeLink,
83
+ link,
84
+ children: publicChildren,
85
+ internalChildren
86
+ },
87
+ value
88
+ )
89
+ );
90
+ };
91
+ return {
92
+ children: publicChildren,
93
+ linkChildren: linkChildren2
94
+ };
95
+ };
96
+ const { children, linkChildren } = useChildren();
97
+ linkChildren({ props });
56
98
  const formErrorTip = computed(() => reactive({}));
57
99
  provide("formErrorTip", formErrorTip);
58
100
  const clearErrorTips = () => {
@@ -70,31 +112,14 @@ const component = (components) => {
70
112
  },
71
113
  { immediate: true }
72
114
  );
73
- const findFormItem = (vnodes) => {
115
+ const getTaskFromChildren = () => {
74
116
  const task = [];
75
- const search = (vnode) => {
76
- var _a, _b, _c, _d, _e;
77
- if (isVNode(vnode)) {
78
- const type = ((_a = vnode == null ? void 0 : vnode.type) == null ? void 0 : _a.name) || (vnode == null ? void 0 : vnode.type);
79
- if (type == "nut-form-item" || (type == null ? void 0 : type.toString().endsWith("form-item"))) {
80
- task.push({
81
- prop: (_b = vnode.props) == null ? void 0 : _b["prop"],
82
- rules: ((_c = vnode.props) == null ? void 0 : _c["rules"]) || []
83
- });
84
- } else if (Array.isArray(vnode.children) && ((_d = vnode.children) == null ? void 0 : _d.length)) {
85
- search(vnode.children);
86
- } else if (isObject(vnode.children) && Object.keys(vnode.children)) {
87
- if ((_e = vnode.children) == null ? void 0 : _e.default) {
88
- search(vnode.children.default());
89
- }
90
- }
91
- } else if (Array.isArray(vnode)) {
92
- vnode.forEach((v) => {
93
- search(v);
94
- });
95
- }
96
- };
97
- search(vnodes);
117
+ children.forEach((item) => {
118
+ task.push({
119
+ prop: item == null ? void 0 : item["prop"],
120
+ rules: (item == null ? void 0 : item["rules"]) || []
121
+ });
122
+ });
98
123
  return task;
99
124
  };
100
125
  const tipMessage = (errorMsg) => {
@@ -159,7 +184,7 @@ const component = (components) => {
159
184
  const validate = (customProp = "") => {
160
185
  return new Promise((resolve, reject) => {
161
186
  try {
162
- const task = findFormItem(slots.default());
187
+ const task = getTaskFromChildren();
163
188
  const errors = task.map((item) => {
164
189
  if (customProp && customProp !== item.prop) {
165
190
  return Promise.resolve(true);
@@ -1,6 +1,6 @@
1
1
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
2
- import { inject, provide, computed, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
3
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { inject, provide, computed, getCurrentInstance, onUnmounted, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
3
+ import { c as createComponent } from "./component-f86a70df.js";
4
4
  import Cell from "./Cell.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -55,6 +55,19 @@ const _sfc_main = create({
55
55
  [Cell.name]: Cell
56
56
  },
57
57
  setup(props, { slots }) {
58
+ const useParent = () => {
59
+ const parent2 = inject("NutFormParent", null);
60
+ if (parent2) {
61
+ const instance = getCurrentInstance();
62
+ const { link, removeLink } = parent2;
63
+ link(instance);
64
+ onUnmounted(() => {
65
+ removeLink(instance);
66
+ });
67
+ return { parent: parent2 };
68
+ }
69
+ };
70
+ useParent();
58
71
  const parent = inject("formErrorTip");
59
72
  provide("form", {
60
73
  props
@@ -1,6 +1,6 @@
1
- import { c as createComponent } from "./component-0fbad28e.js";
1
+ import { c as createComponent } from "./component-f86a70df.js";
2
2
  import "vue";
3
- import { c as component } from "./common-8775d905.js";
3
+ import { c as component } from "./common-728db750.js";
4
4
  import "../locale/lang";
5
5
  import "./pxCheck-c6b9f6b7.js";
6
6
  const { create } = createComponent("grid");
@@ -1,8 +1,8 @@
1
1
  import { inject, getCurrentInstance, onUnmounted, computed, ref, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createTextVNode, toDisplayString } from "vue";
2
2
  import { u as useRouter } from "./index-54d03fc1.js";
3
- import { c as createComponent } from "./component-0fbad28e.js";
3
+ import { c as createComponent } from "./component-f86a70df.js";
4
4
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
5
- import { G as GRID_KEY } from "./common-8775d905.js";
5
+ import { G as GRID_KEY } from "./common-728db750.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
7
7
  import "../locale/lang";
8
8
  function useInject(key) {
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { reactive, useSlots, computed, ref, onMounted, onBeforeUnmount, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
21
- import { c as createComponent } from "./component-0fbad28e.js";
21
+ import { c as createComponent } from "./component-f86a70df.js";
22
22
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
23
23
  import { Image, ImageError } from "@nutui/icons-vue";
24
24
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -22,19 +22,19 @@ var __publicField = (obj, key, value) => {
22
22
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
23
23
  return value;
24
24
  };
25
- import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, createCommentVNode, ref, onMounted, Fragment, renderList, toDisplayString, normalizeClass, renderSlot, createVNode, nextTick, h } from "vue";
26
- import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-0fbad28e.js";
25
+ import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, createCommentVNode, ref, nextTick, onMounted, Fragment, renderList, toDisplayString, normalizeClass, renderSlot, createVNode, h } from "vue";
26
+ import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-f86a70df.js";
27
27
  import { u as useRect } from "./index-29892cda.js";
28
28
  import { u as useTouch } from "./index-7a7385e4.js";
29
29
  import Video from "./Video.js";
30
30
  import SwiperItem from "./SwiperItem.js";
31
31
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
32
32
  import { CircleClose } from "@nutui/icons-vue";
33
- import { P as Popup } from "./index-3032df15.js";
33
+ import { P as Popup } from "./index-5a1e6d22.js";
34
34
  import Swiper from "./Swiper.js";
35
- import { f as funInterceptor } from "./Interceptor-c05a39f2.js";
35
+ import { f as funInterceptor } from "./Interceptor-006f85b3.js";
36
36
  import "../locale/lang";
37
- import { C as CreateComponent } from "./mountComponent-a895e3f1.js";
37
+ import { C as CreateComponent } from "./mountComponent-053caf41.js";
38
38
  import Overlay from "./Overlay.js";
39
39
  import "./index-79c5dc33.js";
40
40
  import "./raf-729dad54.js";
@@ -380,7 +380,9 @@ const _sfc_main = create({
380
380
  state.showPop = val;
381
381
  if (val) {
382
382
  setActive(props.initNo);
383
- init();
383
+ nextTick(() => {
384
+ init();
385
+ });
384
386
  }
385
387
  }
386
388
  );
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, toDisplayString } from "vue";
2
- import { p as padZero, c as createComponent } from "./component-0fbad28e.js";
2
+ import { p as padZero, c as createComponent } from "./component-f86a70df.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create } = createComponent("indicator");
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, toDisplayString, createCommentVNode } from "vue";
21
- import { c as createComponent, l as getScrollTopRoot } from "./component-0fbad28e.js";
21
+ import { c as createComponent, k as getScrollTopRoot } from "./component-f86a70df.js";
22
22
  import { u as useScrollParent } from "./index-97b44e6c.js";
23
23
  import { r as requestAniFrame } from "./raf-729dad54.js";
24
24
  import { Loading } from "@nutui/icons-vue";
@@ -15,7 +15,7 @@ var __spreadValues = (a, b) => {
15
15
  return a;
16
16
  };
17
17
  import { ref, reactive, computed, watch, onMounted, h, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, normalizeStyle, toDisplayString, createTextVNode, withDirectives, createVNode, mergeProps, vShow } from "vue";
18
- import { c as createComponent } from "./component-0fbad28e.js";
18
+ import { c as createComponent } from "./component-f86a70df.js";
19
19
  import { MaskClose } from "@nutui/icons-vue";
20
20
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
21
21
  import "../locale/lang";
@@ -43,6 +43,21 @@ function formatNumber(value, allowDot = true, allowMinus = true) {
43
43
  const regExp = allowDot ? /[^-0-9.]/g : /[^-0-9]/g;
44
44
  return value.replace(regExp, "");
45
45
  }
46
+ function mapInputType(type) {
47
+ if (type === "number") {
48
+ return {
49
+ type: "text",
50
+ inputmode: "decimal"
51
+ };
52
+ }
53
+ if (type === "digit") {
54
+ return {
55
+ type: "tel",
56
+ inputmode: "numeric"
57
+ };
58
+ }
59
+ return { type };
60
+ }
46
61
  const { componentName, create } = createComponent("input");
47
62
  const _sfc_main = create({
48
63
  props: {
@@ -133,11 +148,7 @@ const _sfc_main = create({
133
148
  var _a;
134
149
  return String((_a = props.modelValue) != null ? _a : "");
135
150
  };
136
- const renderInput = (type) => {
137
- return h("input", __spreadValues({
138
- style: styles
139
- }, inputType(type)));
140
- };
151
+ const renderInput = (type) => h("input", __spreadValues({}, mapInputType(type)));
141
152
  const state = reactive({
142
153
  focused: false,
143
154
  validateFailed: false,
@@ -161,19 +172,6 @@ const _sfc_main = create({
161
172
  textAlign: props.inputAlign
162
173
  };
163
174
  });
164
- const inputType = (type) => {
165
- if (type === "number") {
166
- return {
167
- type: "text"
168
- };
169
- }
170
- if (type === "digit") {
171
- return {
172
- type: "tel"
173
- };
174
- }
175
- return { type };
176
- };
177
175
  const onInput = (event) => {
178
176
  if (!event.target.composing) {
179
177
  const input = event.target;
@@ -186,11 +184,9 @@ const _sfc_main = create({
186
184
  };
187
185
  const updateValue = (value, trigger = "onChange") => {
188
186
  var _a;
189
- if (props.type === "digit") {
190
- value = formatNumber(value, false, false);
191
- }
192
- if (props.type === "number") {
193
- value = formatNumber(value, true, true);
187
+ if (["number", "digit"].includes(props.type)) {
188
+ const isNumber = props.type === "number";
189
+ value = formatNumber(value, isNumber, isNumber);
194
190
  }
195
191
  if (props.formatter && trigger === props.formatTrigger) {
196
192
  value = props.formatter(value);
@@ -283,7 +279,6 @@ const _sfc_main = create({
283
279
  active,
284
280
  classes,
285
281
  styles,
286
- inputType,
287
282
  onInput,
288
283
  onFocus,
289
284
  onBlur,
@@ -1,5 +1,5 @@
1
1
  import { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, normalizeStyle } from "vue";
2
- import { c as createComponent } from "./component-0fbad28e.js";
2
+ import { c as createComponent } from "./component-f86a70df.js";
3
3
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
4
  import { Minus, Plus } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -64,7 +64,8 @@ const _sfc_main = create({
64
64
  const emitChange = (value, event) => {
65
65
  let output_value = fixedDecimalPlaces(value);
66
66
  emit("update:modelValue", output_value, event);
67
- emit("change", output_value, event);
67
+ if (Number(props.modelValue) !== Number(output_value))
68
+ emit("change", output_value, event);
68
69
  };
69
70
  const addAllow = (value = Number(props.modelValue)) => {
70
71
  return value < Number(props.max) && !props.disabled;
@@ -74,19 +75,21 @@ const _sfc_main = create({
74
75
  };
75
76
  const reduce = (event) => {
76
77
  emit("reduce", event);
77
- if (reduceAllow()) {
78
- let output_value = Number(props.modelValue) - Number(props.step);
78
+ let output_value = Number(props.modelValue) - Number(props.step);
79
+ if (reduceAllow() && output_value >= Number(props.min)) {
79
80
  emitChange(output_value, event);
80
81
  } else {
82
+ emitChange(Number(props.min), event);
81
83
  emit("overlimit", event, "reduce");
82
84
  }
83
85
  };
84
86
  const add = (event) => {
85
87
  emit("add", event);
86
- if (addAllow()) {
87
- let output_value = Number(props.modelValue) + Number(props.step);
88
+ let output_value = Number(props.modelValue) + Number(props.step);
89
+ if (addAllow() && output_value <= Number(props.max)) {
88
90
  emitChange(output_value, event);
89
91
  } else {
92
+ emitChange(Number(props.max), event);
90
93
  emit("overlimit", event, "add");
91
94
  }
92
95
  };
@@ -1,4 +1,4 @@
1
- import { f as isPromise } from "./component-0fbad28e.js";
1
+ import { f as isPromise } from "./component-f86a70df.js";
2
2
  const funInterceptor = (interceptor, {
3
3
  args = [],
4
4
  done,
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, computed, onMounted, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, withDirectives, vModelText, createCommentVNode } from "vue";
21
- import { c as createComponent } from "./component-0fbad28e.js";
21
+ import { c as createComponent } from "./component-f86a70df.js";
22
22
  import Form from "./Form.js";
23
23
  import FormItem from "./FormItem.js";
24
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-cdf21a24.js";
25
- import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-2852286e.js";
24
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-0ccf787e.js";
25
+ import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-1e118ab6.js";
26
26
  import Button from "./Button.js";
27
27
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
28
28
  import "../locale/lang";