@nutui/nutui-react-taro 2.3.10 → 2.3.11-patch.0

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 (389) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/esm/ActionSheet/style/style.css +1 -1
  3. package/dist/esm/ActionSheet.js +1 -13
  4. package/dist/esm/Address/style/style.css +1 -1
  5. package/dist/esm/Address.js +1 -21
  6. package/dist/esm/Animate/style/style.css +1 -1
  7. package/dist/esm/Animate.js +1 -4
  8. package/dist/esm/AnimatingNumbers.js +1 -1
  9. package/dist/esm/Audio/style/style.css +1 -1
  10. package/dist/esm/Audio.js +1 -15
  11. package/dist/esm/Avatar.js +1 -10
  12. package/dist/esm/AvatarCropper.js +1 -10
  13. package/dist/esm/AvatarGroup.js +1 -4
  14. package/dist/esm/BackTop.js +1 -6
  15. package/dist/esm/Badge/style/style.css +1 -1
  16. package/dist/esm/Badge.js +1 -4
  17. package/dist/esm/Barrage/style/style.css +1 -1
  18. package/dist/esm/Barrage.js +1 -7
  19. package/dist/esm/Button.js +1 -6
  20. package/dist/esm/Calendar/style/style.css +1 -1
  21. package/dist/esm/Calendar.js +1 -20
  22. package/dist/esm/CalendarCard.js +1 -8
  23. package/dist/esm/CalendarItem.js +1 -12
  24. package/dist/esm/Card/style/style.css +1 -1
  25. package/dist/esm/Card.js +1 -7
  26. package/dist/esm/Cascader/style/style.css +1 -1
  27. package/dist/esm/Cascader.js +1 -18
  28. package/dist/esm/Cell.js +1 -5
  29. package/dist/esm/CellGroup.js +1 -4
  30. package/dist/esm/Checkbox/style/style.css +1 -1
  31. package/dist/esm/Checkbox.js +1 -7
  32. package/dist/esm/CheckboxGroup/style/style.css +1 -1
  33. package/dist/esm/CheckboxGroup.js +1 -7
  34. package/dist/esm/CircleProgress.js +1 -6
  35. package/dist/esm/Col/style/style.css +1 -1
  36. package/dist/esm/Col.js +1 -5
  37. package/dist/esm/Collapse/style/style.css +1 -1
  38. package/dist/esm/Collapse.js +1 -8
  39. package/dist/esm/CollapseItem/style/style.css +1 -1
  40. package/dist/esm/CollapseItem.js +1 -5
  41. package/dist/esm/ConfigProvider.js +2 -5
  42. package/dist/esm/CountDown.js +1 -7
  43. package/dist/esm/DatePicker/style/style.css +1 -1
  44. package/dist/esm/DatePicker.js +1 -21
  45. package/dist/esm/Dialog/style/style.css +1 -1
  46. package/dist/esm/Dialog.js +1 -16
  47. package/dist/esm/Divider/style/style.css +1 -1
  48. package/dist/esm/Divider.js +1 -4
  49. package/dist/esm/Drag.js +1 -4
  50. package/dist/esm/Elevator.js +1 -6
  51. package/dist/esm/Ellipsis.js +1 -7
  52. package/dist/esm/Empty.js +1 -9
  53. package/dist/esm/FixedNav.js +1 -13
  54. package/dist/esm/Form/style/style.css +1 -1
  55. package/dist/esm/Form.js +3 -4
  56. package/dist/esm/FormItem/style/style.css +1 -1
  57. package/dist/esm/FormItem.js +1 -6
  58. package/dist/esm/Grid/style/style.css +1 -1
  59. package/dist/esm/Grid.js +1 -7
  60. package/dist/esm/GridItem/style/style.css +1 -1
  61. package/dist/esm/GridItem.js +1 -6
  62. package/dist/esm/Image.js +1 -7
  63. package/dist/esm/ImagePreview/style/style.css +1 -1
  64. package/dist/esm/ImagePreview.js +1 -20
  65. package/dist/esm/Indicator/style/style.css +1 -1
  66. package/dist/esm/Indicator.js +1 -3
  67. package/dist/esm/InfiniteLoading.js +1 -8
  68. package/dist/esm/Input.js +1 -11
  69. package/dist/esm/InputNumber.js +1 -7
  70. package/dist/esm/Layout.js +1 -2
  71. package/dist/esm/Loading.js +1 -5
  72. package/dist/esm/Menu/style/style.css +1 -1
  73. package/dist/esm/Menu.js +1 -15
  74. package/dist/esm/MenuItem/style/style.css +1 -1
  75. package/dist/esm/MenuItem.js +1 -14
  76. package/dist/esm/NavBar/style/style.css +1 -1
  77. package/dist/esm/NavBar.js +1 -7
  78. package/dist/esm/NoticeBar/style/style.css +1 -1
  79. package/dist/esm/NoticeBar.js +1 -7
  80. package/dist/esm/Notify.js +1 -9
  81. package/dist/esm/NumberKeyboard/style/style.css +1 -1
  82. package/dist/esm/NumberKeyboard.js +1 -15
  83. package/dist/esm/Overlay.js +1 -9
  84. package/dist/esm/Pagination.js +1 -8
  85. package/dist/esm/Picker/style/style.css +1 -1
  86. package/dist/esm/Picker.js +1 -19
  87. package/dist/esm/Popover/style/style.css +1 -1
  88. package/dist/esm/Popover.js +1 -14
  89. package/dist/esm/Popup/style/style.css +1 -1
  90. package/dist/esm/Popup.js +1 -12
  91. package/dist/esm/Price/style/style.css +1 -1
  92. package/dist/esm/Price.js +1 -3
  93. package/dist/esm/Progress.js +1 -4
  94. package/dist/esm/PullToRefresh.js +1 -10
  95. package/dist/esm/Radio/style/style.css +1 -1
  96. package/dist/esm/Radio.js +1 -7
  97. package/dist/esm/RadioGroup/style/style.css +1 -1
  98. package/dist/esm/RadioGroup.js +1 -7
  99. package/dist/esm/Range/style/style.css +1 -1
  100. package/dist/esm/Range.js +1 -10
  101. package/dist/esm/Rate.js +1 -11
  102. package/dist/esm/Row.js +1 -5
  103. package/dist/esm/SafeArea.js +1 -3
  104. package/dist/esm/SearchBar/style/style.css +1 -1
  105. package/dist/esm/SearchBar.js +1 -7
  106. package/dist/esm/ShortPassword/style/style.css +1 -1
  107. package/dist/esm/ShortPassword.js +1 -17
  108. package/dist/esm/SideNavBar/style/style.css +1 -1
  109. package/dist/esm/SideNavBar.js +1 -14
  110. package/dist/esm/SideNavBarItem.js +1 -2
  111. package/dist/esm/Signature.js +1 -4
  112. package/dist/esm/Skeleton/style/style.css +1 -1
  113. package/dist/esm/Skeleton.js +1 -11
  114. package/dist/esm/Space.js +1 -3
  115. package/dist/esm/Step/style/style.css +1 -1
  116. package/dist/esm/Step.js +1 -6
  117. package/dist/esm/Steps/style/style.css +1 -1
  118. package/dist/esm/Steps.js +1 -5
  119. package/dist/esm/Sticky.js +1 -7
  120. package/dist/esm/SubSideNavBar.js +1 -3
  121. package/dist/esm/Swipe/style/style.css +1 -1
  122. package/dist/esm/Swipe.js +1 -8
  123. package/dist/esm/Swiper/style/style.css +1 -1
  124. package/dist/esm/Swiper.js +3 -3
  125. package/dist/esm/SwiperItem.js +1 -2
  126. package/dist/esm/Switch/style/style.css +1 -1
  127. package/dist/esm/Switch.js +1 -5
  128. package/dist/esm/TabPane.js +1 -3
  129. package/dist/esm/Tabbar/style/style.css +1 -1
  130. package/dist/esm/Tabbar.js +1 -8
  131. package/dist/esm/TabbarItem/style/style.css +1 -1
  132. package/dist/esm/TabbarItem.js +1 -5
  133. package/dist/esm/Table/style/style.css +1 -1
  134. package/dist/esm/Table.js +1 -9
  135. package/dist/esm/Tabs/style/style.css +1 -1
  136. package/dist/esm/Tabs.js +1 -11
  137. package/dist/esm/Tag.js +1 -5
  138. package/dist/esm/TextArea/style/style.css +1 -1
  139. package/dist/esm/TextArea.js +1 -10
  140. package/dist/esm/TimeDetail.js +1 -4
  141. package/dist/esm/TimeSelect/style/style.css +1 -1
  142. package/dist/esm/TimeSelect.js +1 -16
  143. package/dist/esm/Toast.js +1 -15
  144. package/dist/esm/Tour/style/style.css +1 -1
  145. package/dist/esm/Tour.js +1 -16
  146. package/dist/esm/TrendArrow.js +1 -4
  147. package/dist/esm/Uploader.js +1 -14
  148. package/dist/esm/Video.js +1 -4
  149. package/dist/esm/VirtualList/style/style.css +1 -1
  150. package/dist/esm/VirtualList.js +1 -6
  151. package/dist/esm/WaterMark.js +1 -7
  152. package/dist/esm/{actionsheet.taro-6NiOrNyd.js → actionsheet.taro-EwM5KF1i.js} +3 -3
  153. package/dist/esm/{address.taro-zQuxQEce.js → address.taro-BL-QeHyn.js} +5 -5
  154. package/dist/esm/{animate.taro-m67VyUHP.js → animate.taro-50C7ngw9.js} +1 -1
  155. package/dist/esm/{audio.taro-dJgj5qIu.js → audio.taro-DWSPma8f.js} +4 -4
  156. package/dist/esm/{avatar.taro-7ltbzIdY.js → avatar.taro-Bjfoms0J.js} +3 -3
  157. package/dist/esm/{avatarcropper.taro-GIZxzMJ_.js → avatarcropper.taro-BRPMDUrl.js} +4 -4
  158. package/dist/esm/{avatargroup.taro-h6dpv6UX.js → avatargroup.taro-CXnMGdp1.js} +1 -1
  159. package/dist/esm/{backtop.taro-Y3vOJiXq.js → backtop.taro-Ux0Nrvkj.js} +2 -2
  160. package/dist/esm/{badge.taro-993L861f.js → badge.taro-B4a7dAtf.js} +1 -1
  161. package/dist/esm/{barrage.taro-6nbq7wtt.js → barrage.taro-DW7wFS3Q.js} +2 -2
  162. package/dist/esm/{button.taro-3IIFy1M2.js → button.taro-COS5LtYd.js} +1 -1
  163. package/dist/esm/{calendar.taro-iNNHje7V.js → calendar.taro-CruXd4DL.js} +5 -5
  164. package/dist/esm/{calendarcard.taro-9s7naGmU.js → calendarcard.taro-CqLW3m5r.js} +3 -3
  165. package/dist/esm/{calendaritem.taro-o6Z8OOGY.js → calendaritem.taro-DxCnbpt9.js} +5 -5
  166. package/dist/esm/{card.taro-p4PTy-IU.js → card.taro-CaR3kJw9.js} +3 -3
  167. package/dist/esm/{cascader.taro-M2nZWxiB.js → cascader.taro-DxedRnNS.js} +6 -7
  168. package/dist/esm/{cell.taro-jD6MoFTj.js → cell.taro-BlmoMAPC.js} +2 -2
  169. package/dist/esm/{cellgroup.taro-08A3XAze.js → cellgroup.taro-DYkCnAYN.js} +1 -1
  170. package/dist/esm/{checkbox.taro-xMxWdpyI.js → checkbox.taro-B2rk4RIe.js} +2 -2
  171. package/dist/esm/{circleprogress.taro-myZgamBw.js → circleprogress.taro-Ce69a8ZO.js} +3 -3
  172. package/dist/esm/{col.taro-5FMpttLE.js → col.taro-Czx3Daw2.js} +2 -2
  173. package/dist/esm/{collapse.taro-sZibDygv.js → collapse.taro-kDtcoxSd.js} +3 -3
  174. package/dist/esm/{collapseitem.taro-AaQ_msgd.js → collapseitem.taro-BGPS4t_l.js} +1 -1
  175. package/dist/esm/{configprovider.taro-q5J2gQbi.js → configprovider.taro-BXergk04.js} +1 -1
  176. package/dist/esm/{countdown.taro-XZlfWBrA.js → countdown.taro-CkIt0qI3.js} +3 -3
  177. package/dist/esm/{datepicker.taro-DrXkqJkN.js → datepicker.taro-GAD7C5yn.js} +5 -5
  178. package/dist/esm/{dialog.taro-dmQGDu3o.js → dialog.taro-UjZY2h35.js} +4 -4
  179. package/dist/esm/{divider.taro-H5fKry4P.js → divider.taro-C4sK6QMP.js} +1 -1
  180. package/dist/esm/{drag.taro-BwcleRuB.js → drag.taro-ByrsVbeB.js} +1 -1
  181. package/dist/esm/{elevator.taro-2nbUM3vH.js → elevator.taro-BxW3Xte-.js} +1 -1
  182. package/dist/esm/{ellipsis.taro-VApVqS_j.js → ellipsis.taro-CKXiIrwO.js} +2 -2
  183. package/dist/esm/{empty.taro-gwvOr1xf.js → empty.taro-BCBOBl64.js} +3 -3
  184. package/dist/esm/{fixednav.taro-QVBXysDj.js → fixednav.taro-Cdn0eyJ8.js} +3 -3
  185. package/dist/esm/{formitem.taro-PPkTQGfW.js → formitem.taro-yAquq6MF.js} +5 -5
  186. package/dist/esm/{grid.taro-3X-_AhXw.js → grid.taro-BqwDc6zi.js} +2 -2
  187. package/dist/esm/{griditem.taro-TJDJVeQy.js → griditem.taro-BqS5eUJd.js} +2 -2
  188. package/dist/esm/{image.taro-FfeikBlO.js → image.taro-W45-Ju0_.js} +1 -1
  189. package/dist/esm/{imagepreview.taro--fVrJUOE.js → imagepreview.taro-CLgk3WWD.js} +5 -5
  190. package/dist/esm/{infiniteloading.taro-BO0_y46K.js → infiniteloading.taro-7Q9OFjQJ.js} +2 -2
  191. package/dist/esm/{input.taro-YoPsV-op.js → input.taro-CfP5WI8f.js} +7 -4
  192. package/dist/esm/inputnumber.taro-BV3Ecr1e.js +169 -0
  193. package/dist/esm/{loading.taro-aHN6xLIT.js → loading.taro-BEIQQqUL.js} +1 -1
  194. package/dist/esm/{menu.taro-ODwHYGFM.js → menu.taro-DqBJzQBE.js} +2 -2
  195. package/dist/esm/{menuitem.taro-9nyTDLpt.js → menuitem.taro-KGs5VqRI.js} +4 -4
  196. package/dist/esm/{navbar.taro-AuKPDCaW.js → navbar.taro-Cv0XsdT0.js} +2 -2
  197. package/dist/esm/{noticebar.taro-bHnEzTvL.js → noticebar.taro-BrVbtxH_.js} +2 -2
  198. package/dist/esm/{notify.taro-mA9KS8qh.js → notify.taro-DblYP9in.js} +2 -2
  199. package/dist/esm/{numberkeyboard.taro-bF6VCXry.js → numberkeyboard.taro-DHpKwvHG.js} +3 -3
  200. package/dist/esm/nutui-react.es.js +93 -118
  201. package/dist/esm/{overlay.taro-HsGeVyPh.js → overlay.taro-ByBhOQNL.js} +3 -3
  202. package/dist/esm/{pagination.taro-C4_Ey5KC.js → pagination.taro-BEuRb-o7.js} +3 -3
  203. package/dist/esm/{picker.taro-csU3SZPF.js → picker.taro-kFY-CGKh.js} +8 -8
  204. package/dist/esm/{popover.taro-qldQwLPC.js → popover.taro-BZLerpsZ.js} +3 -3
  205. package/dist/esm/{popup.taro-ObEUml4r.js → popup.taro-44018H4d.js} +2 -2
  206. package/dist/esm/{price.taro-Z1zR8YWV.js → price.taro-_NRkxuMH.js} +1 -1
  207. package/dist/esm/{progress.taro-pStvlrbA.js → progress.taro-CVaqKXtL.js} +1 -1
  208. package/dist/esm/{pulltorefresh.taro-2jER8Mat.js → pulltorefresh.taro-uDgX9gWA.js} +3 -3
  209. package/dist/esm/{radio.taro-EKJXMjnX.js → radio.taro-C70KYJbH.js} +2 -2
  210. package/dist/esm/{range.taro-mDYY3SXA.js → range.taro-CIkFRE-4.js} +4 -4
  211. package/dist/esm/{rate.taro-_5Mjd_EO.js → rate.taro-BAWEa8tE.js} +4 -4
  212. package/dist/esm/{row.taro-IxNlKKQM.js → row.taro-BrJsteWh.js} +2 -2
  213. package/dist/esm/{searchbar.taro-hVzdT6nI.js → searchbar.taro-Dfwiv4oP.js} +30 -24
  214. package/dist/esm/{shortpassword.taro-ECs_E1Xn.js → shortpassword.taro-C3QLh5Lg.js} +5 -5
  215. package/dist/esm/{sidenavbar.taro-8qoGZg5n.js → sidenavbar.taro-DQY5m1Bu.js} +3 -3
  216. package/dist/esm/{signature.taro-y3qxnKMv.js → signature.taro-BWfscsm1.js} +1 -1
  217. package/dist/esm/{skeleton.taro-Pg7WtP0e.js → skeleton.taro-DNPlesx9.js} +4 -4
  218. package/dist/esm/{step.taro-_DEZqFGb.js → step.taro-CIwl4EYN.js} +2 -2
  219. package/dist/esm/{steps.taro-PH0qWPla.js → steps.taro-IN9BqTug.js} +2 -2
  220. package/dist/esm/{sticky.taro-p-evMNR-.js → sticky.taro-DK45VevL.js} +3 -3
  221. package/dist/esm/{subsidenavbar.taro-Zy52MDDG.js → subsidenavbar.taro-C315xYFY.js} +1 -1
  222. package/dist/esm/{swipe.taro-p2ONOq1o.js → swipe.taro-ACO0JU5m.js} +3 -3
  223. package/dist/esm/{switch.taro-L0BAbMeu.js → switch.taro-bC4bQM5Q.js} +2 -2
  224. package/dist/esm/{tabbar.taro-QE0rjSKE.js → tabbar.taro-DhhFGx1g.js} +3 -3
  225. package/dist/esm/{tabbaritem.taro-t9C07OYX.js → tabbaritem.taro-Dh4Ah1BN.js} +2 -2
  226. package/dist/esm/{table.taro-0zRh2hq6.js → table.taro-q5Hyb-LU.js} +3 -3
  227. package/dist/esm/{tabs.taro-Yj7vgtSg.js → tabs.taro-CwhQTV-u.js} +5 -5
  228. package/dist/esm/{tag.taro-5KC_wObY.js → tag.taro-CkWLhERR.js} +1 -1
  229. package/dist/esm/{textarea.taro-9zQLTCwU.js → textarea.taro-DHKSJq_a.js} +3 -3
  230. package/dist/esm/{timedetail.taro-TF9Wcblh.js → timedetail.taro-B3s7HEEX.js} +1 -1
  231. package/dist/esm/{timeselect.taro-j8LgSCe5.js → timeselect.taro-uhIUQE1A.js} +4 -4
  232. package/dist/esm/{toast.taro-xnEQSCDJ.js → toast.taro-Hb0vdac6.js} +4 -4
  233. package/dist/esm/{tour.taro-CGEjzzN_.js → tour.taro-BXMR1Ftl.js} +2 -2
  234. package/dist/esm/{trendarrow.taro-hsM6-XsQ.js → trendarrow.taro-B5XMr2ZK.js} +1 -1
  235. package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +15 -15
  236. package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +15 -17
  237. package/dist/esm/types/src/packages/searchbar/searchbar.taro.d.ts +11 -19
  238. package/dist/esm/{uploader.taro-bRF02TR9.js → uploader.taro-CH1KgoFE.js} +6 -6
  239. package/dist/esm/{use-custom-event-XvsODK8c.js → use-custom-event-BFZJeHQI.js} +2 -2
  240. package/dist/esm/{use-props-value-vKr0R0AX.js → use-props-value-DvrH7S--.js} +1 -1
  241. package/dist/esm/{virtuallist.taro-AeTVtFFa.js → virtuallist.taro-B1TrMg9X.js} +1 -1
  242. package/dist/esm/{watermark.taro-nvSmcwu-.js → watermark.taro-CzjMPcgm.js} +2 -2
  243. package/dist/locales/base.js +1 -1
  244. package/dist/locales/en-US.js +1 -1
  245. package/dist/locales/id-ID.js +1 -1
  246. package/dist/locales/tr-TR.js +1 -1
  247. package/dist/locales/zh-CN.js +1 -1
  248. package/dist/locales/zh-TW.js +1 -1
  249. package/dist/locales/zh-UG.js +1 -1
  250. package/dist/nutui.react.es.js +373 -389
  251. package/dist/nutui.react.umd.js +373 -389
  252. package/dist/packages/animate/animate.scss +0 -27
  253. package/dist/packages/audio/audio.scss +0 -5
  254. package/dist/packages/avatarcropper/avatarcropper.scss +0 -2
  255. package/dist/packages/badge/badge.scss +7 -0
  256. package/dist/packages/barrage/barrage.scss +22 -3
  257. package/dist/packages/button/button.scss +0 -1
  258. package/dist/packages/calendar/calendar.scss +4 -4
  259. package/dist/packages/calendarcard/calendarcard.scss +0 -1
  260. package/dist/packages/cascader/cascader.scss +0 -1
  261. package/dist/packages/checkbox/checkbox.scss +0 -2
  262. package/dist/packages/checkboxgroup/checkboxgroup.scss +1 -3
  263. package/dist/packages/col/col.scss +2 -2
  264. package/dist/packages/collapseitem/collapseitem.scss +2 -3
  265. package/dist/packages/dialog/dialog.scss +4 -0
  266. package/dist/packages/divider/divider.scss +1 -1
  267. package/dist/packages/fixednav/fixednav.scss +0 -2
  268. package/dist/packages/form/form.scss +24 -26
  269. package/dist/packages/formitem/formitem.scss +0 -1
  270. package/dist/packages/grid/grid.scss +1 -1
  271. package/dist/packages/griditem/griditem.scss +28 -26
  272. package/dist/packages/imagepreview/imagepreview.scss +0 -1
  273. package/dist/packages/indicator/indicator.scss +2 -3
  274. package/dist/packages/menu/menu.scss +0 -7
  275. package/dist/packages/menuitem/menuitem.scss +14 -10
  276. package/dist/packages/navbar/navbar.scss +3 -5
  277. package/dist/packages/noticebar/noticebar.scss +20 -0
  278. package/dist/packages/numberkeyboard/numberkeyboard.scss +25 -18
  279. package/dist/packages/pagination/pagination.scss +0 -2
  280. package/dist/packages/picker/picker.scss +9 -0
  281. package/dist/packages/popover/popover.scss +0 -4
  282. package/dist/packages/popup/popup.scss +3 -19
  283. package/dist/packages/price/price.scss +1 -0
  284. package/dist/packages/radio/radio.scss +0 -1
  285. package/dist/packages/radiogroup/radiogroup.scss +10 -1
  286. package/dist/packages/range/range.scss +127 -127
  287. package/dist/packages/rate/rate.scss +0 -1
  288. package/dist/packages/searchbar/searchbar.scss +5 -2
  289. package/dist/packages/shortpassword/shortpassword.scss +4 -0
  290. package/dist/packages/skeleton/skeleton.scss +13 -3
  291. package/dist/packages/space/space.scss +0 -1
  292. package/dist/packages/step/step.scss +21 -25
  293. package/dist/packages/swipe/swipe.scss +0 -15
  294. package/dist/packages/swiper/swiper.scss +0 -1
  295. package/dist/packages/switch/switch.scss +11 -0
  296. package/dist/packages/table/table.scss +4 -5
  297. package/dist/packages/tabs/tabs.scss +2 -4
  298. package/dist/packages/tag/tag.scss +0 -1
  299. package/dist/packages/textarea/textarea.scss +1 -6
  300. package/dist/packages/timeselect/timeselect.scss +1 -6
  301. package/dist/packages/tour/tour.scss +1 -5
  302. package/dist/packages/trendarrow/trendarrow.scss +0 -1
  303. package/dist/packages/uploader/uploader.scss +0 -1
  304. package/dist/packages/virtuallist/virtuallist.scss +12 -12
  305. package/dist/style.css +1 -1
  306. package/dist/style.mjs +1 -1
  307. package/dist/styles/variables.scss +11 -7
  308. package/dist/types/index.d.ts +98 -98
  309. package/dist/types/packages/actionsheet/actionsheet.d.ts +1 -1
  310. package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +1 -1
  311. package/dist/types/packages/address/address.d.ts +1 -1
  312. package/dist/types/packages/address/address.taro.d.ts +1 -1
  313. package/dist/types/packages/address/customRender.d.ts +1 -1
  314. package/dist/types/packages/address/customRender.taro.d.ts +1 -1
  315. package/dist/types/packages/avatar/avatar.d.ts +1 -1
  316. package/dist/types/packages/avatar/avatar.taro.d.ts +1 -1
  317. package/dist/types/packages/calendaritem/calendaritem.d.ts +1 -1
  318. package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +1 -1
  319. package/dist/types/packages/cascader/cascader.d.ts +1 -1
  320. package/dist/types/packages/cascader/cascader.taro.d.ts +1 -1
  321. package/dist/types/packages/cell/cell.d.ts +1 -1
  322. package/dist/types/packages/cell/cell.taro.d.ts +1 -1
  323. package/dist/types/packages/checkbox/checkbox.d.ts +2 -2
  324. package/dist/types/packages/checkbox/checkbox.taro.d.ts +2 -2
  325. package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +2 -2
  326. package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +2 -2
  327. package/dist/types/packages/datepicker/datepicker.d.ts +1 -1
  328. package/dist/types/packages/datepicker/datepicker.taro.d.ts +1 -1
  329. package/dist/types/packages/dialog/dialogwrap.d.ts +1 -1
  330. package/dist/types/packages/empty/empty.d.ts +1 -1
  331. package/dist/types/packages/fixednav/fixednav.d.ts +1 -1
  332. package/dist/types/packages/fixednav/fixednav.taro.d.ts +1 -1
  333. package/dist/types/packages/form/form.d.ts +1 -1
  334. package/dist/types/packages/form/form.taro.d.ts +1 -1
  335. package/dist/types/packages/form/index.d.ts +1 -1
  336. package/dist/types/packages/form/index.taro.d.ts +1 -1
  337. package/dist/types/packages/inputnumber/inputnumber.d.ts +15 -15
  338. package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +28 -30
  339. package/dist/types/packages/menu/menu.d.ts +1 -1
  340. package/dist/types/packages/menu/menu.taro.d.ts +1 -1
  341. package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +1 -1
  342. package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +1 -1
  343. package/dist/types/packages/nutui.react.build.d.ts +98 -98
  344. package/dist/types/packages/nutui.react.d.ts +98 -98
  345. package/dist/types/packages/nutui.react.taro.d.ts +98 -98
  346. package/dist/types/packages/picker/picker.d.ts +1 -1
  347. package/dist/types/packages/picker/picker.taro.d.ts +1 -1
  348. package/dist/types/packages/popover/popover.d.ts +1 -1
  349. package/dist/types/packages/popover/popover.taro.d.ts +1 -1
  350. package/dist/types/packages/popup/popup.d.ts +1 -1
  351. package/dist/types/packages/popup/popup.taro.d.ts +1 -1
  352. package/dist/types/packages/radio/radio.d.ts +2 -2
  353. package/dist/types/packages/radio/radio.taro.d.ts +2 -2
  354. package/dist/types/packages/searchbar/searchbar.taro.d.ts +21 -15
  355. package/dist/types/packages/shortpassword/shortpassword.d.ts +1 -1
  356. package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +1 -1
  357. package/dist/types/packages/swiper/index.d.ts +1 -1
  358. package/dist/types/packages/swiper/index.taro.d.ts +1 -1
  359. package/dist/types/packages/tabs/tabs.d.ts +1 -1
  360. package/dist/types/packages/tabs/tabs.taro.d.ts +1 -1
  361. package/dist/types/packages/timedetail/timedetail.d.ts +1 -1
  362. package/dist/types/packages/timedetail/timedetail.taro.d.ts +1 -1
  363. package/dist/types/packages/tour/tour.d.ts +1 -1
  364. package/dist/types/packages/tour/tour.taro.d.ts +1 -1
  365. package/package.json +5 -5
  366. package/dist/esm/inputnumber.taro-7QptygT3.js +0 -197
  367. /package/dist/esm/{UserContext-9BL0cq8w.js → UserContext-BlM0373q.js} +0 -0
  368. /package/dist/esm/{context-6mGEMLsx.js → context-4T-L2x0_.js} +0 -0
  369. /package/dist/esm/{context-9BL0cq8w.js → context-BlM0373q.js} +0 -0
  370. /package/dist/esm/{date-nxKOxj5-.js → date-D0pth0qC.js} +0 -0
  371. /package/dist/esm/{get-rect-by-taro-piSHvCGp.js → get-rect-by-taro-BnfHyJJb.js} +0 -0
  372. /package/dist/esm/{get-scroll-parent-uywvoQMl.js → get-scroll-parent-DB1VRg11.js} +0 -0
  373. /package/dist/esm/{index-YvHA__3D.js → index-DeNfBlua.js} +0 -0
  374. /package/dist/esm/{index-oitVOJp9.js → index-nbt45_aK.js} +0 -0
  375. /package/dist/esm/{indicator.taro-ZH6MICsS.js → indicator.taro-dqWsdoRo.js} +0 -0
  376. /package/dist/esm/{layout.taro-lnN-wB0Y.js → layout.taro-DQc4VjqF.js} +0 -0
  377. /package/dist/esm/{pad-zero-iY-0-oys.js → pad-zero-B2OUQfh7.js} +0 -0
  378. /package/dist/esm/{px-check-JiWLYN2v.js → px-check-D1Xbd9pj.js} +0 -0
  379. /package/dist/esm/{raf-UzmDvMUW.js → raf-zwv-SBjP.js} +0 -0
  380. /package/dist/esm/{safearea.taro-afu_mY7g.js → safearea.taro-BMQHr7tu.js} +0 -0
  381. /package/dist/esm/{sidenavbaritem.taro-AxJNRAdi.js → sidenavbaritem.taro-Bp-s9bWO.js} +0 -0
  382. /package/dist/esm/{space.taro-q3R_yq79.js → space.taro-rvVRQ2Nl.js} +0 -0
  383. /package/dist/esm/{swiperitem.taro-BC1CE0T-.js → swiperitem.taro-CjcW-KYA.js} +0 -0
  384. /package/dist/esm/{tabpane.taro-5k7wWimS.js → tabpane.taro-Lkwp7scD.js} +0 -0
  385. /package/dist/esm/{typings-buMpDfSR.js → typings-DV9RBfhj.js} +0 -0
  386. /package/dist/esm/{use-force-update-0oEVD8Nr.js → use-force-update-CudFjCsy.js} +0 -0
  387. /package/dist/esm/{use-refs-IdrY0ww3.js → use-refs-BeEmziIR.js} +0 -0
  388. /package/dist/esm/{use-touch-BUFdkOSA.js → use-touch-OfEaR5qi.js} +0 -0
  389. /package/dist/esm/{video.taro-csvHwS2v.js → video.taro-kKcHksKW.js} +0 -0
@@ -8,7 +8,7 @@ var __publicField = (obj, key, value) => {
8
8
  return value;
9
9
  };
10
10
  /*!
11
- * @nutui/nutui-react-taro v2.3.10 Tue Feb 06 2024 16:10:56 GMT+0800 (China Standard Time)
11
+ * @nutui/nutui-react-taro v2.3.11-patch.0 Wed Mar 26 2025 14:30:13 GMT+0800 (China Standard Time)
12
12
  * (c) 2023 @jdf2e.
13
13
  * Released under the MIT License.
14
14
  */
@@ -44,34 +44,44 @@ var __publicField = (obj, key, value) => {
44
44
  (function() {
45
45
  var hasOwn = {}.hasOwnProperty;
46
46
  function classNames2() {
47
- var classes = [];
47
+ var classes = "";
48
48
  for (var i2 = 0; i2 < arguments.length; i2++) {
49
49
  var arg = arguments[i2];
50
- if (!arg)
51
- continue;
52
- var argType = typeof arg;
53
- if (argType === "string" || argType === "number") {
54
- classes.push(arg);
55
- } else if (Array.isArray(arg)) {
56
- if (arg.length) {
57
- var inner = classNames2.apply(null, arg);
58
- if (inner) {
59
- classes.push(inner);
60
- }
61
- }
62
- } else if (argType === "object") {
63
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
64
- classes.push(arg.toString());
65
- continue;
66
- }
67
- for (var key in arg) {
68
- if (hasOwn.call(arg, key) && arg[key]) {
69
- classes.push(key);
70
- }
71
- }
50
+ if (arg) {
51
+ classes = appendClass(classes, parseValue(arg));
72
52
  }
73
53
  }
74
- return classes.join(" ");
54
+ return classes;
55
+ }
56
+ function parseValue(arg) {
57
+ if (typeof arg === "string" || typeof arg === "number") {
58
+ return arg;
59
+ }
60
+ if (typeof arg !== "object") {
61
+ return "";
62
+ }
63
+ if (Array.isArray(arg)) {
64
+ return classNames2.apply(null, arg);
65
+ }
66
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
67
+ return arg.toString();
68
+ }
69
+ var classes = "";
70
+ for (var key in arg) {
71
+ if (hasOwn.call(arg, key) && arg[key]) {
72
+ classes = appendClass(classes, key);
73
+ }
74
+ }
75
+ return classes;
76
+ }
77
+ function appendClass(value, newClass) {
78
+ if (!newClass) {
79
+ return value;
80
+ }
81
+ if (value) {
82
+ return value + " " + newClass;
83
+ }
84
+ return value + newClass;
75
85
  }
76
86
  if (module2.exports) {
77
87
  classNames2.default = classNames2;
@@ -1631,72 +1641,111 @@ var __publicField = (obj, key, value) => {
1631
1641
  _setPrototypeOf$1(subClass, superClass);
1632
1642
  }
1633
1643
  var propTypes = { exports: {} };
1634
- var ReactPropTypesSecret_1;
1635
- var hasRequiredReactPropTypesSecret;
1636
- function requireReactPropTypesSecret() {
1637
- if (hasRequiredReactPropTypesSecret)
1638
- return ReactPropTypesSecret_1;
1639
- hasRequiredReactPropTypesSecret = 1;
1640
- var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1641
- ReactPropTypesSecret_1 = ReactPropTypesSecret;
1642
- return ReactPropTypesSecret_1;
1643
- }
1644
- var factoryWithThrowingShims;
1645
- var hasRequiredFactoryWithThrowingShims;
1646
- function requireFactoryWithThrowingShims() {
1647
- if (hasRequiredFactoryWithThrowingShims)
1648
- return factoryWithThrowingShims;
1649
- hasRequiredFactoryWithThrowingShims = 1;
1650
- var ReactPropTypesSecret = requireReactPropTypesSecret();
1651
- function emptyFunction() {
1652
- }
1653
- function emptyFunctionWithReset() {
1654
- }
1655
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1656
- factoryWithThrowingShims = function() {
1657
- function shim(props, propName, componentName, location, propFullName, secret) {
1658
- if (secret === ReactPropTypesSecret) {
1659
- return;
1644
+ var reactIs = { exports: {} };
1645
+ var reactIs_production_min = {};
1646
+ /** @license React v16.13.1
1647
+ * react-is.production.min.js
1648
+ *
1649
+ * Copyright (c) Facebook, Inc. and its affiliates.
1650
+ *
1651
+ * This source code is licensed under the MIT license found in the
1652
+ * LICENSE file in the root directory of this source tree.
1653
+ */
1654
+ var hasRequiredReactIs_production_min;
1655
+ function requireReactIs_production_min() {
1656
+ if (hasRequiredReactIs_production_min)
1657
+ return reactIs_production_min;
1658
+ hasRequiredReactIs_production_min = 1;
1659
+ var b = "function" === typeof Symbol && Symbol.for, c2 = b ? Symbol.for("react.element") : 60103, d2 = b ? Symbol.for("react.portal") : 60106, e2 = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g2 = b ? Symbol.for("react.profiler") : 60114, h2 = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t2 = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w2 = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
1660
+ function z2(a2) {
1661
+ if ("object" === typeof a2 && null !== a2) {
1662
+ var u = a2.$$typeof;
1663
+ switch (u) {
1664
+ case c2:
1665
+ switch (a2 = a2.type, a2) {
1666
+ case l:
1667
+ case m:
1668
+ case e2:
1669
+ case g2:
1670
+ case f:
1671
+ case p:
1672
+ return a2;
1673
+ default:
1674
+ switch (a2 = a2 && a2.$$typeof, a2) {
1675
+ case k:
1676
+ case n:
1677
+ case t2:
1678
+ case r:
1679
+ case h2:
1680
+ return a2;
1681
+ default:
1682
+ return u;
1683
+ }
1684
+ }
1685
+ case d2:
1686
+ return u;
1660
1687
  }
1661
- var err = new Error(
1662
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1663
- );
1664
- err.name = "Invariant Violation";
1665
- throw err;
1666
- }
1667
- shim.isRequired = shim;
1668
- function getShim() {
1669
- return shim;
1670
1688
  }
1671
- var ReactPropTypes = {
1672
- array: shim,
1673
- bigint: shim,
1674
- bool: shim,
1675
- func: shim,
1676
- number: shim,
1677
- object: shim,
1678
- string: shim,
1679
- symbol: shim,
1680
- any: shim,
1681
- arrayOf: getShim,
1682
- element: shim,
1683
- elementType: shim,
1684
- instanceOf: getShim,
1685
- node: shim,
1686
- objectOf: getShim,
1687
- oneOf: getShim,
1688
- oneOfType: getShim,
1689
- shape: getShim,
1690
- exact: getShim,
1691
- checkPropTypes: emptyFunctionWithReset,
1692
- resetWarningCache: emptyFunction
1693
- };
1694
- ReactPropTypes.PropTypes = ReactPropTypes;
1695
- return ReactPropTypes;
1689
+ }
1690
+ function A2(a2) {
1691
+ return z2(a2) === m;
1692
+ }
1693
+ reactIs_production_min.AsyncMode = l;
1694
+ reactIs_production_min.ConcurrentMode = m;
1695
+ reactIs_production_min.ContextConsumer = k;
1696
+ reactIs_production_min.ContextProvider = h2;
1697
+ reactIs_production_min.Element = c2;
1698
+ reactIs_production_min.ForwardRef = n;
1699
+ reactIs_production_min.Fragment = e2;
1700
+ reactIs_production_min.Lazy = t2;
1701
+ reactIs_production_min.Memo = r;
1702
+ reactIs_production_min.Portal = d2;
1703
+ reactIs_production_min.Profiler = g2;
1704
+ reactIs_production_min.StrictMode = f;
1705
+ reactIs_production_min.Suspense = p;
1706
+ reactIs_production_min.isAsyncMode = function(a2) {
1707
+ return A2(a2) || z2(a2) === l;
1696
1708
  };
1697
- return factoryWithThrowingShims;
1709
+ reactIs_production_min.isConcurrentMode = A2;
1710
+ reactIs_production_min.isContextConsumer = function(a2) {
1711
+ return z2(a2) === k;
1712
+ };
1713
+ reactIs_production_min.isContextProvider = function(a2) {
1714
+ return z2(a2) === h2;
1715
+ };
1716
+ reactIs_production_min.isElement = function(a2) {
1717
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
1718
+ };
1719
+ reactIs_production_min.isForwardRef = function(a2) {
1720
+ return z2(a2) === n;
1721
+ };
1722
+ reactIs_production_min.isFragment = function(a2) {
1723
+ return z2(a2) === e2;
1724
+ };
1725
+ reactIs_production_min.isLazy = function(a2) {
1726
+ return z2(a2) === t2;
1727
+ };
1728
+ reactIs_production_min.isMemo = function(a2) {
1729
+ return z2(a2) === r;
1730
+ };
1731
+ reactIs_production_min.isPortal = function(a2) {
1732
+ return z2(a2) === d2;
1733
+ };
1734
+ reactIs_production_min.isProfiler = function(a2) {
1735
+ return z2(a2) === g2;
1736
+ };
1737
+ reactIs_production_min.isStrictMode = function(a2) {
1738
+ return z2(a2) === f;
1739
+ };
1740
+ reactIs_production_min.isSuspense = function(a2) {
1741
+ return z2(a2) === p;
1742
+ };
1743
+ reactIs_production_min.isValidElementType = function(a2) {
1744
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e2 || a2 === m || a2 === g2 || a2 === f || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t2 || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w2 || a2.$$typeof === x || a2.$$typeof === y || a2.$$typeof === v);
1745
+ };
1746
+ reactIs_production_min.typeOf = z2;
1747
+ return reactIs_production_min;
1698
1748
  }
1699
- var reactIs = { exports: {} };
1700
1749
  var reactIs_development = {};
1701
1750
  /** @license React v16.13.1
1702
1751
  * react-is.development.js
@@ -1860,110 +1909,6 @@ var __publicField = (obj, key, value) => {
1860
1909
  }
1861
1910
  return reactIs_development;
1862
1911
  }
1863
- var reactIs_production_min = {};
1864
- /** @license React v16.13.1
1865
- * react-is.production.min.js
1866
- *
1867
- * Copyright (c) Facebook, Inc. and its affiliates.
1868
- *
1869
- * This source code is licensed under the MIT license found in the
1870
- * LICENSE file in the root directory of this source tree.
1871
- */
1872
- var hasRequiredReactIs_production_min;
1873
- function requireReactIs_production_min() {
1874
- if (hasRequiredReactIs_production_min)
1875
- return reactIs_production_min;
1876
- hasRequiredReactIs_production_min = 1;
1877
- var b = "function" === typeof Symbol && Symbol.for, c2 = b ? Symbol.for("react.element") : 60103, d2 = b ? Symbol.for("react.portal") : 60106, e2 = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g2 = b ? Symbol.for("react.profiler") : 60114, h2 = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t2 = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w2 = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
1878
- function z2(a2) {
1879
- if ("object" === typeof a2 && null !== a2) {
1880
- var u = a2.$$typeof;
1881
- switch (u) {
1882
- case c2:
1883
- switch (a2 = a2.type, a2) {
1884
- case l:
1885
- case m:
1886
- case e2:
1887
- case g2:
1888
- case f:
1889
- case p:
1890
- return a2;
1891
- default:
1892
- switch (a2 = a2 && a2.$$typeof, a2) {
1893
- case k:
1894
- case n:
1895
- case t2:
1896
- case r:
1897
- case h2:
1898
- return a2;
1899
- default:
1900
- return u;
1901
- }
1902
- }
1903
- case d2:
1904
- return u;
1905
- }
1906
- }
1907
- }
1908
- function A2(a2) {
1909
- return z2(a2) === m;
1910
- }
1911
- reactIs_production_min.AsyncMode = l;
1912
- reactIs_production_min.ConcurrentMode = m;
1913
- reactIs_production_min.ContextConsumer = k;
1914
- reactIs_production_min.ContextProvider = h2;
1915
- reactIs_production_min.Element = c2;
1916
- reactIs_production_min.ForwardRef = n;
1917
- reactIs_production_min.Fragment = e2;
1918
- reactIs_production_min.Lazy = t2;
1919
- reactIs_production_min.Memo = r;
1920
- reactIs_production_min.Portal = d2;
1921
- reactIs_production_min.Profiler = g2;
1922
- reactIs_production_min.StrictMode = f;
1923
- reactIs_production_min.Suspense = p;
1924
- reactIs_production_min.isAsyncMode = function(a2) {
1925
- return A2(a2) || z2(a2) === l;
1926
- };
1927
- reactIs_production_min.isConcurrentMode = A2;
1928
- reactIs_production_min.isContextConsumer = function(a2) {
1929
- return z2(a2) === k;
1930
- };
1931
- reactIs_production_min.isContextProvider = function(a2) {
1932
- return z2(a2) === h2;
1933
- };
1934
- reactIs_production_min.isElement = function(a2) {
1935
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
1936
- };
1937
- reactIs_production_min.isForwardRef = function(a2) {
1938
- return z2(a2) === n;
1939
- };
1940
- reactIs_production_min.isFragment = function(a2) {
1941
- return z2(a2) === e2;
1942
- };
1943
- reactIs_production_min.isLazy = function(a2) {
1944
- return z2(a2) === t2;
1945
- };
1946
- reactIs_production_min.isMemo = function(a2) {
1947
- return z2(a2) === r;
1948
- };
1949
- reactIs_production_min.isPortal = function(a2) {
1950
- return z2(a2) === d2;
1951
- };
1952
- reactIs_production_min.isProfiler = function(a2) {
1953
- return z2(a2) === g2;
1954
- };
1955
- reactIs_production_min.isStrictMode = function(a2) {
1956
- return z2(a2) === f;
1957
- };
1958
- reactIs_production_min.isSuspense = function(a2) {
1959
- return z2(a2) === p;
1960
- };
1961
- reactIs_production_min.isValidElementType = function(a2) {
1962
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e2 || a2 === m || a2 === g2 || a2 === f || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t2 || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w2 || a2.$$typeof === x || a2.$$typeof === y || a2.$$typeof === v);
1963
- };
1964
- reactIs_production_min.typeOf = z2;
1965
- return reactIs_production_min;
1966
- }
1967
1912
  var hasRequiredReactIs;
1968
1913
  function requireReactIs() {
1969
1914
  if (hasRequiredReactIs)
@@ -2052,6 +1997,16 @@ var __publicField = (obj, key, value) => {
2052
1997
  };
2053
1998
  return objectAssign;
2054
1999
  }
2000
+ var ReactPropTypesSecret_1;
2001
+ var hasRequiredReactPropTypesSecret;
2002
+ function requireReactPropTypesSecret() {
2003
+ if (hasRequiredReactPropTypesSecret)
2004
+ return ReactPropTypesSecret_1;
2005
+ hasRequiredReactPropTypesSecret = 1;
2006
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2007
+ ReactPropTypesSecret_1 = ReactPropTypesSecret;
2008
+ return ReactPropTypesSecret_1;
2009
+ }
2055
2010
  var has;
2056
2011
  var hasRequiredHas;
2057
2012
  function requireHas() {
@@ -2569,6 +2524,61 @@ var __publicField = (obj, key, value) => {
2569
2524
  };
2570
2525
  return factoryWithTypeCheckers;
2571
2526
  }
2527
+ var factoryWithThrowingShims;
2528
+ var hasRequiredFactoryWithThrowingShims;
2529
+ function requireFactoryWithThrowingShims() {
2530
+ if (hasRequiredFactoryWithThrowingShims)
2531
+ return factoryWithThrowingShims;
2532
+ hasRequiredFactoryWithThrowingShims = 1;
2533
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
2534
+ function emptyFunction() {
2535
+ }
2536
+ function emptyFunctionWithReset() {
2537
+ }
2538
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
2539
+ factoryWithThrowingShims = function() {
2540
+ function shim(props, propName, componentName, location, propFullName, secret) {
2541
+ if (secret === ReactPropTypesSecret) {
2542
+ return;
2543
+ }
2544
+ var err = new Error(
2545
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2546
+ );
2547
+ err.name = "Invariant Violation";
2548
+ throw err;
2549
+ }
2550
+ shim.isRequired = shim;
2551
+ function getShim() {
2552
+ return shim;
2553
+ }
2554
+ var ReactPropTypes = {
2555
+ array: shim,
2556
+ bigint: shim,
2557
+ bool: shim,
2558
+ func: shim,
2559
+ number: shim,
2560
+ object: shim,
2561
+ string: shim,
2562
+ symbol: shim,
2563
+ any: shim,
2564
+ arrayOf: getShim,
2565
+ element: shim,
2566
+ elementType: shim,
2567
+ instanceOf: getShim,
2568
+ node: shim,
2569
+ objectOf: getShim,
2570
+ oneOf: getShim,
2571
+ oneOfType: getShim,
2572
+ shape: getShim,
2573
+ exact: getShim,
2574
+ checkPropTypes: emptyFunctionWithReset,
2575
+ resetWarningCache: emptyFunction
2576
+ };
2577
+ ReactPropTypes.PropTypes = ReactPropTypes;
2578
+ return ReactPropTypes;
2579
+ };
2580
+ return factoryWithThrowingShims;
2581
+ }
2572
2582
  if (process.env.NODE_ENV !== "production") {
2573
2583
  var ReactIs = requireReactIs();
2574
2584
  var throwOnDirectAccess = true;
@@ -4113,7 +4123,7 @@ var __publicField = (obj, key, value) => {
4113
4123
  duration: duration > 0 ? duration : 0
4114
4124
  });
4115
4125
  };
4116
- const styles = style ? {
4126
+ const styles = Object.keys(style || {}).length !== 0 ? {
4117
4127
  zIndex,
4118
4128
  ...style
4119
4129
  } : {
@@ -5601,7 +5611,6 @@ var __publicField = (obj, key, value) => {
5601
5611
  return pathNodes;
5602
5612
  }
5603
5613
  }
5604
- const Tree$1 = Tree;
5605
5614
  const defaultProps$17 = {
5606
5615
  ...ComponentDefaults,
5607
5616
  activeColor: "",
@@ -5677,7 +5686,7 @@ var __publicField = (obj, key, value) => {
5677
5686
  paneKey: ""
5678
5687
  }
5679
5688
  ],
5680
- tree: new Tree$1([], {}),
5689
+ tree: new Tree([], {}),
5681
5690
  tabsCursor: 0,
5682
5691
  // 选中的tab项
5683
5692
  initLoading: false,
@@ -5707,7 +5716,7 @@ var __publicField = (obj, key, value) => {
5707
5716
  } else {
5708
5717
  state.optionsData = options;
5709
5718
  }
5710
- state.tree = new Tree$1(state.optionsData, {
5719
+ state.tree = new Tree(state.optionsData, {
5711
5720
  value: state.configs.optionKey.valueKey,
5712
5721
  text: state.configs.optionKey.textKey,
5713
5722
  children: state.configs.optionKey.childrenKey
@@ -9894,9 +9903,11 @@ var __publicField = (obj, key, value) => {
9894
9903
  );
9895
9904
  }
9896
9905
  const errs = [];
9897
- filterEntities.forEach((entity) => {
9898
- this.validateEntities(entity, errs);
9899
- });
9906
+ await Promise.all(
9907
+ filterEntities.map(async (entity) => {
9908
+ await this.validateEntities(entity, errs);
9909
+ })
9910
+ );
9900
9911
  return errs;
9901
9912
  });
9902
9913
  __publicField(this, "submit", async () => {
@@ -10400,7 +10411,10 @@ var __publicField = (obj, key, value) => {
10400
10411
  name,
10401
10412
  className: "nut-input-native",
10402
10413
  ref: inputRef,
10403
- style: { textAlign: align },
10414
+ style: {
10415
+ textAlign: `${// eslint-disable-next-line no-nested-ternary
10416
+ align === "right" ? "end" : align === "left" ? "start" : "center"}`
10417
+ },
10404
10418
  type: inputType(type2),
10405
10419
  password: type2 === "password",
10406
10420
  maxlength: maxLength,
@@ -10441,11 +10455,10 @@ var __publicField = (obj, key, value) => {
10441
10455
  const defaultProps$W = {
10442
10456
  ...ComponentDefaults,
10443
10457
  disabled: false,
10444
- min: 1,
10445
- max: 9999,
10446
10458
  readOnly: false,
10447
10459
  allowEmpty: false,
10448
- defaultValue: 0,
10460
+ min: 1,
10461
+ max: 9999,
10449
10462
  step: 1,
10450
10463
  digits: 0,
10451
10464
  async: false
@@ -10478,197 +10491,161 @@ var __publicField = (obj, key, value) => {
10478
10491
  ...defaultProps$W,
10479
10492
  ...props
10480
10493
  };
10481
- const inputRef = React.useRef("");
10482
- const [_checked, setChecked] = usePropsValue({
10483
- value,
10484
- defaultValue
10494
+ const classes = classNames(classPrefix$h, {
10495
+ [`${classPrefix$h}-disabled`]: disabled
10485
10496
  });
10497
+ const [focused, setFocused] = React.useState(false);
10498
+ const inputRef = React.useRef(null);
10486
10499
  React.useEffect(() => {
10487
- if (formatter) {
10488
- if (_checked || _checked === 0) {
10489
- inputRef.current = formatter(_checked);
10490
- setChecked(formatter(_checked));
10491
- }
10492
- }
10493
- }, []);
10494
- const classes = classNames(
10495
- {
10496
- [`${classPrefix$h}`]: true,
10497
- [`${classPrefix$h}-disabled`]: disabled
10498
- },
10499
- className
10500
- );
10501
- const styles = {
10502
- ...style
10503
- };
10504
- const addAllow = (value2 = _checked) => {
10505
- if (formatter) {
10506
- const numValue = String(value2).replace(/[^0-9|.]/gi, "");
10507
- return Number(numValue) < Number(max) && !disabled;
10500
+ var _a, _b;
10501
+ if (focused) {
10502
+ (_b = (_a = inputRef.current) == null ? void 0 : _a.select) == null ? void 0 : _b.call(_a);
10508
10503
  }
10509
- return Number(value2) < Number(max) && !disabled;
10510
- };
10511
- const reduceAllow = (value2 = _checked) => {
10512
- if (formatter) {
10513
- const numValue = String(value2).replace(/[^0-9|.]/gi, "");
10514
- return Number(numValue) > Number(min) && !disabled;
10504
+ }, [focused]);
10505
+ const [shadowValue, setShadowValue] = usePropsValue({
10506
+ value: typeof value === "string" ? parseFloat(value) : value,
10507
+ defaultValue: typeof defaultValue === "string" ? parseFloat(defaultValue) : defaultValue,
10508
+ onChange: (value2) => {
10515
10509
  }
10516
- return Number(value2) > Number(min) && !disabled;
10517
- };
10518
- const iconMinusClasses = classNames("nut-inputnumber-icon icon-minus", {
10519
- "nut-inputnumber-icon-disabled": !reduceAllow()
10520
- });
10521
- const iconAddClasses = classNames("nut-inputnumber-icon icon-plus", {
10522
- "nut-inputnumber-icon-disabled": !addAllow()
10523
10510
  });
10524
- const fixedDecimalPlaces = (v) => {
10525
- return Number(v).toFixed(Number(digits));
10526
- };
10527
- const emitChange = (value2, e2) => {
10528
- const outputValue = fixedDecimalPlaces(value2);
10529
- onChange && onChange(outputValue, e2);
10530
- if (!async) {
10531
- if (Number(outputValue) < Number(min)) {
10532
- formatter ? setChecked(formatter(Number(min))) : setChecked(Number(min));
10533
- } else if (Number(outputValue) > Number(max)) {
10534
- formatter ? setChecked(formatter(Number(max))) : setChecked(Number(max));
10535
- } else {
10536
- formatter ? setChecked(formatter(outputValue)) : setChecked(outputValue);
10537
- }
10511
+ const bound2 = (value2, min2, max2) => {
10512
+ let res = value2;
10513
+ if (min2 !== void 0) {
10514
+ res = Math.max(Number(min2), res);
10538
10515
  }
10539
- };
10540
- const reduceNumber = (e2) => {
10541
- onMinus && onMinus(e2);
10542
- if (reduceAllow()) {
10543
- if (formatter) {
10544
- const numValue = String(_checked).replace(/[^0-9|.]/gi, "");
10545
- const outputValue = Number(numValue) - Number(step);
10546
- inputRef.current = formatter(outputValue);
10547
- emitChange(outputValue, e2);
10548
- } else {
10549
- const outputValue = Number(_checked) - Number(step);
10550
- emitChange(outputValue, e2);
10551
- }
10552
- } else {
10553
- onOverlimit && onOverlimit(e2);
10516
+ if (max2 !== void 0) {
10517
+ res = Math.min(Number(max2), res);
10554
10518
  }
10519
+ return res;
10555
10520
  };
10556
- const addNumber = (e2) => {
10557
- onPlus && onPlus(e2);
10558
- if (addAllow()) {
10559
- if (formatter) {
10560
- const numValue = String(_checked).replace(/[^0-9|.]/gi, "");
10561
- const outputValue = Number(numValue) + Number(step);
10562
- inputRef.current = formatter(outputValue);
10563
- emitChange(outputValue, e2);
10564
- } else {
10565
- const outputValue = Number(_checked) + Number(step);
10566
- emitChange(outputValue, e2);
10567
- }
10568
- } else {
10569
- onOverlimit && onOverlimit(e2);
10521
+ const format2 = (value2) => {
10522
+ if (value2 === null)
10523
+ return "";
10524
+ if (typeof value2 === "string")
10525
+ value2 = parseFloat(value2);
10526
+ const fixedValue = bound2(value2, Number(min), Number(max));
10527
+ if (formatter) {
10528
+ return formatter(fixedValue);
10570
10529
  }
10571
- };
10572
- const changeValue = (e2) => {
10573
- const input = e2.target;
10574
- onChange && onChange(input.value, e2);
10575
- if (!async) {
10576
- setChecked(input.value);
10530
+ if (digits) {
10531
+ return fixedValue.toFixed(digits).toString();
10577
10532
  }
10533
+ return fixedValue.toString();
10578
10534
  };
10579
- const changeFormatValue = (e2) => {
10580
- const input = e2.target.value;
10581
- const numReg = /^[0-9]*$/;
10582
- const numValue = input.replace(/[^0-9|.]/gi, "");
10583
- if (formatter) {
10584
- if (!numReg.test(input[0]) && numValue) {
10585
- setChecked(formatter(numValue));
10586
- } else if (!numReg.test(input[0]) && !numValue) {
10587
- setChecked(input);
10588
- } else if (numReg.test(input[0])) {
10589
- if (formatter(numValue) === inputRef.current) {
10590
- setChecked(numValue);
10591
- } else {
10592
- setChecked(formatter(numValue));
10593
- inputRef.current = formatter(numValue);
10594
- }
10595
- }
10535
+ const [inputValue, setInputValue] = React.useState(format2(shadowValue));
10536
+ React.useEffect(() => {
10537
+ if (!focused && !async) {
10538
+ setShadowValue(bound2(Number(shadowValue), Number(min), Number(max)));
10539
+ setInputValue(format2(shadowValue));
10596
10540
  }
10597
- };
10598
- const burFormatValue = (e2) => {
10599
- const input = e2.target.value;
10600
- const numReg = /^[0-9]*$/;
10601
- const numValue = input.replace(/[^0-9|.]/gi, "");
10602
- if (formatter) {
10603
- if (formatter(numValue) === input) {
10604
- emitChange(numValue, e2);
10605
- return;
10606
- }
10607
- if (!numReg.test(input) || !input) {
10608
- setChecked(formatter(""));
10541
+ }, [focused, shadowValue]);
10542
+ React.useEffect(() => {
10543
+ if (async) {
10544
+ setShadowValue(bound2(Number(value), Number(min), Number(max)));
10545
+ setInputValue(format2(value));
10546
+ }
10547
+ }, [value]);
10548
+ const calcNextValue = (current, step2, symbol) => {
10549
+ const dig = digits + 1;
10550
+ return (parseFloat(current || "0") * dig + parseFloat(step2) * dig * symbol) / dig;
10551
+ };
10552
+ const update = (negative, e2) => {
10553
+ if (step !== void 0) {
10554
+ const shouldOverBoundary = calcNextValue(
10555
+ shadowValue,
10556
+ step,
10557
+ negative ? -1 : 1
10558
+ );
10559
+ const nextValue = bound2(shouldOverBoundary, Number(min), Number(max));
10560
+ setShadowValue(nextValue);
10561
+ if (negative ? shouldOverBoundary < min : shouldOverBoundary > max) {
10562
+ onOverlimit == null ? void 0 : onOverlimit(e2);
10563
+ } else {
10564
+ onChange == null ? void 0 : onChange(nextValue, e2);
10609
10565
  }
10610
10566
  }
10611
10567
  };
10612
- const focusValue = (e2) => {
10568
+ const handleReduce = (e2) => {
10613
10569
  if (disabled)
10614
10570
  return;
10615
- if (readOnly)
10616
- return;
10617
- onFocus && onFocus(e2);
10571
+ onMinus == null ? void 0 : onMinus(e2);
10572
+ update(true, e2);
10618
10573
  };
10619
- const burValue = (e2) => {
10574
+ const handlePlus = (e2) => {
10620
10575
  if (disabled)
10621
10576
  return;
10622
- if (readOnly)
10623
- return;
10624
- const input = e2.target;
10625
- let value2 = +input.value;
10626
- if (value2 === 0 && !allowEmpty) {
10627
- value2 = Number(defaultValue);
10577
+ onPlus == null ? void 0 : onPlus(e2);
10578
+ update(false, e2);
10579
+ };
10580
+ const parseValue = (text) => {
10581
+ if (text === "")
10582
+ return null;
10583
+ if (text === "-")
10584
+ return null;
10585
+ return text;
10586
+ };
10587
+ const handleInputChange = (e2) => {
10588
+ setInputValue(e2.target.value);
10589
+ const valueStr = parseValue(e2.target.value);
10590
+ if (valueStr === null) {
10591
+ if (allowEmpty) {
10592
+ setShadowValue(null);
10593
+ } else {
10594
+ setShadowValue(defaultValue);
10595
+ }
10596
+ } else {
10597
+ setShadowValue(valueStr);
10628
10598
  }
10629
- if (value2 < Number(min)) {
10630
- value2 = Number(min);
10631
- } else if (value2 > Number(max)) {
10632
- value2 = Number(max);
10599
+ if (!async) {
10600
+ onChange == null ? void 0 : onChange(parseFloat(valueStr || "0").toFixed(digits), e2);
10633
10601
  }
10634
- emitChange(value2, e2);
10602
+ };
10603
+ const handleFocus = (e2) => {
10604
+ setFocused(true);
10605
+ setInputValue(
10606
+ shadowValue !== void 0 && shadowValue !== null ? bound2(Number(shadowValue), Number(min), Number(max)).toString() : ""
10607
+ );
10608
+ onFocus && onFocus(e2);
10609
+ };
10610
+ const handleBlur = (e2) => {
10611
+ setFocused(false);
10635
10612
  onBlur && onBlur(e2);
10613
+ if (async) {
10614
+ const valueStr = parseValue(e2.target.value);
10615
+ onChange == null ? void 0 : onChange(parseFloat(valueStr || "0").toFixed(digits), e2);
10616
+ }
10636
10617
  };
10637
- return /* @__PURE__ */ React.createElement("div", { className: classes, style: styles, ...restProps }, /* @__PURE__ */ React.createElement("div", { className: "nut-input-minus" }, /* @__PURE__ */ React.createElement(
10618
+ return /* @__PURE__ */ React.createElement("div", { className: classes, style, ...restProps }, /* @__PURE__ */ React.createElement("div", { className: "nut-input-minus" }, /* @__PURE__ */ React.createElement(
10638
10619
  t,
10639
10620
  {
10640
- className: iconMinusClasses,
10641
- onClick: (e2) => reduceNumber(e2)
10621
+ className: classNames("nut-inputnumber-icon icon-minus", {
10622
+ [`${classPrefix$h}-icon-disabled`]: shadowValue === min || disabled
10623
+ }),
10624
+ onClick: handleReduce
10642
10625
  }
10643
- )), /* @__PURE__ */ React.createElement(React.Fragment, null, formatter ? /* @__PURE__ */ React.createElement(
10626
+ )), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10644
10627
  "input",
10645
10628
  {
10646
10629
  className: "nut-number-input",
10647
- type: "text",
10648
- min,
10649
- max,
10630
+ type: "digit",
10631
+ ref: inputRef,
10632
+ inputMode: "decimal",
10650
10633
  disabled,
10651
10634
  readOnly,
10652
- value: _checked,
10653
- onInput: changeFormatValue,
10654
- onBlur: burFormatValue,
10655
- onFocus: focusValue
10635
+ value: inputValue,
10636
+ onInput: handleInputChange,
10637
+ onBlur: handleBlur,
10638
+ onFocus: handleFocus
10656
10639
  }
10657
- ) : /* @__PURE__ */ React.createElement(
10658
- "input",
10640
+ )), /* @__PURE__ */ React.createElement("div", { className: "nut-input-add" }, /* @__PURE__ */ React.createElement(
10641
+ i,
10659
10642
  {
10660
- className: "nut-number-input",
10661
- type: "digit",
10662
- min,
10663
- max,
10664
- disabled,
10665
- readOnly,
10666
- value: _checked,
10667
- onInput: changeValue,
10668
- onBlur: burValue,
10669
- onFocus: focusValue
10643
+ className: classNames("nut-inputnumber-icon icon-plus", {
10644
+ [`${classPrefix$h}-icon-disabled`]: shadowValue === max || disabled
10645
+ }),
10646
+ onClick: handlePlus
10670
10647
  }
10671
- )), /* @__PURE__ */ React.createElement("div", { className: "nut-input-add" }, /* @__PURE__ */ React.createElement(i, { className: iconAddClasses, onClick: (e2) => addNumber(e2) })));
10648
+ )));
10672
10649
  };
10673
10650
  InputNumber.defaultProps = defaultProps$W;
10674
10651
  InputNumber.displayName = "NutInputNumber";
@@ -11915,8 +11892,9 @@ var __publicField = (obj, key, value) => {
11915
11892
  const classPrefix2 = "nut-searchbar";
11916
11893
  const { locale } = useConfig$1();
11917
11894
  const searchRef = React.useRef(null);
11918
- const [value, setValue] = React.useState(() => props.value);
11919
11895
  const {
11896
+ value: outerValue,
11897
+ style,
11920
11898
  placeholder,
11921
11899
  shape,
11922
11900
  className,
@@ -11940,47 +11918,52 @@ var __publicField = (obj, key, value) => {
11940
11918
  ...defaultProps$O,
11941
11919
  ...props
11942
11920
  };
11921
+ const [value, setValue] = React.useState(() => outerValue);
11943
11922
  const forceFocus = () => {
11944
11923
  const searchSelf = searchRef.current;
11945
11924
  searchSelf && searchSelf.focus();
11946
11925
  };
11947
11926
  const change = (event) => {
11948
- if (value === event.target.value)
11927
+ if (value === event.detail.value)
11949
11928
  return;
11950
- onChange && (onChange == null ? void 0 : onChange(event.target.value, event));
11951
- setValue(event.target.value);
11952
- event.target.value === "" && forceFocus();
11929
+ onChange && (onChange == null ? void 0 : onChange(event.detail.value, event));
11930
+ setValue(event.detail.value);
11931
+ event.detail.value === "" && forceFocus();
11953
11932
  };
11954
11933
  const focus = (event) => {
11955
- const { value: value2 } = event.target;
11934
+ const { value: value2 } = event.detail;
11956
11935
  onFocus && (onFocus == null ? void 0 : onFocus(value2, event));
11957
11936
  };
11958
11937
  const blur = (event) => {
11959
11938
  const searchSelf = searchRef.current;
11960
11939
  searchSelf && searchSelf.blur();
11961
- const { value: value2 } = event.target;
11940
+ const { value: value2 } = event.detail;
11962
11941
  onBlur && (onBlur == null ? void 0 : onBlur(value2, event));
11963
11942
  };
11964
11943
  React.useEffect(() => {
11965
- setValue(props.value || "");
11966
- }, [props.value]);
11944
+ setValue(outerValue || "");
11945
+ }, [outerValue]);
11967
11946
  React.useEffect(() => {
11968
- autoFocus && forceFocus();
11947
+ if (Taro.getEnv() === "WEB") {
11948
+ autoFocus && forceFocus();
11949
+ }
11969
11950
  }, [autoFocus]);
11970
11951
  const renderField = () => {
11971
11952
  return /* @__PURE__ */ React.createElement(
11972
- "input",
11953
+ components.Input,
11973
11954
  {
11974
11955
  className: `${classPrefix2}-input ${clearable ? `${classPrefix2}-input-clear` : ""}`,
11975
11956
  ref: searchRef,
11976
- style: { ...props.style },
11977
- value: value || "",
11957
+ style,
11958
+ value: (value || "").toString(),
11978
11959
  placeholder: placeholder || locale.placeholder,
11979
- disabled,
11980
- readOnly,
11981
- maxLength,
11982
- onKeyPress: onKeypress,
11983
- onChange: (e2) => change(e2),
11960
+ disabled: disabled || readOnly,
11961
+ maxlength: maxLength,
11962
+ nativeProps: {
11963
+ onKeyPress: onKeypress
11964
+ },
11965
+ autoFocus,
11966
+ onInput: (e2) => change(e2),
11984
11967
  onFocus: (e2) => focus(e2),
11985
11968
  onBlur: (e2) => blur(e2),
11986
11969
  onClick: (e2) => clickInput(e2)
@@ -11993,26 +11976,26 @@ var __publicField = (obj, key, value) => {
11993
11976
  const renderLeftIn = () => {
11994
11977
  if (!leftIn)
11995
11978
  return null;
11996
- return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-leftin ${classPrefix2}-icon` }, leftIn);
11979
+ return /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-leftin ${classPrefix2}-icon` }, leftIn);
11997
11980
  };
11998
11981
  const renderLeft = () => {
11999
11982
  if (!backable && !left2)
12000
11983
  return null;
12001
- return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-left` }, backable ? /* @__PURE__ */ React.createElement(g$5, { size: "16" }) : left2);
11984
+ return /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-left` }, backable ? /* @__PURE__ */ React.createElement(g$5, { size: "16" }) : left2);
12002
11985
  };
12003
11986
  const renderRightIn = () => {
12004
11987
  if (!rightIn)
12005
11988
  return null;
12006
- return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-rightin ${classPrefix2}-icon` }, rightIn);
11989
+ return /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-rightin ${classPrefix2}-icon` }, rightIn);
12007
11990
  };
12008
11991
  const renderRight = () => {
12009
11992
  if (!right2)
12010
11993
  return null;
12011
- return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-right` }, right2);
11994
+ return /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-right` }, right2);
12012
11995
  };
12013
11996
  const handleClear = () => {
12014
11997
  return /* @__PURE__ */ React.createElement(
12015
- "div",
11998
+ components.View,
12016
11999
  {
12017
12000
  className: `${classPrefix2}-clear ${classPrefix2}-icon`,
12018
12001
  onClick: (e2) => clearaVal(e2)
@@ -12026,6 +12009,7 @@ var __publicField = (obj, key, value) => {
12026
12009
  }
12027
12010
  setValue("");
12028
12011
  forceFocus();
12012
+ onChange && (onChange == null ? void 0 : onChange(""));
12029
12013
  onClear && onClear(event);
12030
12014
  };
12031
12015
  const onKeypress = (e2) => {
@@ -12037,26 +12021,25 @@ var __publicField = (obj, key, value) => {
12037
12021
  }
12038
12022
  };
12039
12023
  return /* @__PURE__ */ React.createElement(
12040
- "div",
12024
+ components.View,
12041
12025
  {
12042
12026
  className: `${classPrefix2} ${disabled ? `${classPrefix2}-disabled` : ""} ${className || ""}`,
12043
- style: { ...props.style }
12027
+ style
12044
12028
  },
12045
12029
  renderLeft(),
12046
12030
  /* @__PURE__ */ React.createElement(
12047
- "div",
12031
+ components.View,
12048
12032
  {
12049
12033
  className: `${classPrefix2}-content ${shape === "round" ? `${classPrefix2}-round` : ""}`
12050
12034
  },
12051
12035
  renderLeftIn(),
12052
- /* @__PURE__ */ React.createElement("div", { className: "nut-searchbar-input-box" }, renderField()),
12036
+ /* @__PURE__ */ React.createElement(components.View, { className: "nut-searchbar-input-box" }, renderField()),
12053
12037
  clearable && !value && renderRightIn(),
12054
12038
  clearable && value && handleClear()
12055
12039
  ),
12056
12040
  renderRight()
12057
12041
  );
12058
12042
  };
12059
- SearchBar.defaultProps = defaultProps$O;
12060
12043
  SearchBar.displayName = "NutSearchBar";
12061
12044
  const defaultProps$N = {
12062
12045
  ...ComponentDefaults,
@@ -12151,7 +12134,7 @@ var __publicField = (obj, key, value) => {
12151
12134
  },
12152
12135
  /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), style }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title` }, title || locale.shortpassword.title), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-description` }, description || locale.shortpassword.description), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input`, onClick: onFocus }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-site` }), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake` }, [...new Array(comLen).keys()].map((item, index) => {
12153
12136
  return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake-li`, key: index }, inputValue.length > index && /* @__PURE__ */ React.createElement(React.Fragment, null, plain ? inputValue[index] : /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake-li-icon` })));
12154
- }))), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-error` }, error), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-forget`, onClick: onTips }, tips || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(z, { size: 11, style: { marginRight: "3px" } }), locale.shortpassword.tips))), !hideFooter && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-cancel`, onClick: onCancel }, locale.cancel), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-sure`, onClick: sure }, locale.confirm)))
12137
+ }))), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-error` }, error), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-forget`, onClick: onTips }, tips || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(z, { size: 11 }), locale.shortpassword.tips))), !hideFooter && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-cancel`, onClick: onCancel }, locale.cancel), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-sure`, onClick: sure }, locale.confirm)))
12155
12138
  );
12156
12139
  };
12157
12140
  const ShortPassword = React.forwardRef(InternalShortPassword);
@@ -13202,6 +13185,7 @@ var __publicField = (obj, key, value) => {
13202
13185
  return /* @__PURE__ */ React.createElement(
13203
13186
  Popup,
13204
13187
  {
13188
+ ...rest,
13205
13189
  round: true,
13206
13190
  visible,
13207
13191
  position: "bottom",
@@ -14980,7 +14964,7 @@ var __publicField = (obj, key, value) => {
14980
14964
  const classPrefix2 = "nut-skeleton";
14981
14965
  const classes = classNames(classPrefix2, className);
14982
14966
  const avatarClass = classNames({
14983
- avatar: true,
14967
+ [`nut-avatar`]: true,
14984
14968
  [`avatar-${avatarShape}`]: avatarShape
14985
14969
  });
14986
14970
  const repeatLines = (num) => {
@@ -14998,7 +14982,7 @@ var __publicField = (obj, key, value) => {
14998
14982
  height: "50px"
14999
14983
  };
15000
14984
  };
15001
- return /* @__PURE__ */ React.createElement(React.Fragment, null, visible ? /* @__PURE__ */ React.createElement("div", null, children) : /* @__PURE__ */ React.createElement("div", { className: classes, ...rest }, animated && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-animation` }), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, avatar && /* @__PURE__ */ React.createElement(
14985
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, visible ? /* @__PURE__ */ React.createElement(React.Fragment, null, children) : /* @__PURE__ */ React.createElement("div", { className: classes, ...rest }, animated && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-animation` }), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, avatar && /* @__PURE__ */ React.createElement(
15002
14986
  Avatar,
15003
14987
  {
15004
14988
  className: avatarClass,