@nutui/nutui-react-taro 2.3.11 → 2.3.12

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 (332) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/esm/ActionSheet.js +1 -13
  3. package/dist/esm/Address.js +1 -21
  4. package/dist/esm/Animate.js +1 -4
  5. package/dist/esm/AnimatingNumbers.js +8 -22
  6. package/dist/esm/Audio.js +1 -15
  7. package/dist/esm/Avatar.js +1 -10
  8. package/dist/esm/AvatarCropper.js +1 -10
  9. package/dist/esm/AvatarGroup.js +1 -4
  10. package/dist/esm/BackTop.js +1 -6
  11. package/dist/esm/Badge.js +1 -4
  12. package/dist/esm/Barrage.js +1 -7
  13. package/dist/esm/Button.js +1 -6
  14. package/dist/esm/Calendar.js +1 -20
  15. package/dist/esm/CalendarCard.js +1 -8
  16. package/dist/esm/CalendarItem.js +1 -12
  17. package/dist/esm/Card.js +1 -7
  18. package/dist/esm/Cascader.js +1 -18
  19. package/dist/esm/Cell.js +1 -5
  20. package/dist/esm/CellGroup.js +1 -4
  21. package/dist/esm/Checkbox.js +1 -7
  22. package/dist/esm/CheckboxGroup.js +1 -7
  23. package/dist/esm/CircleProgress.js +1 -6
  24. package/dist/esm/Col.js +1 -5
  25. package/dist/esm/Collapse.js +1 -8
  26. package/dist/esm/CollapseItem.js +1 -5
  27. package/dist/esm/ConfigProvider.js +4 -6
  28. package/dist/esm/CountDown.js +1 -7
  29. package/dist/esm/DatePicker.js +1 -21
  30. package/dist/esm/Dialog.js +1 -16
  31. package/dist/esm/Divider.js +1 -4
  32. package/dist/esm/Drag.js +1 -4
  33. package/dist/esm/Elevator.js +1 -6
  34. package/dist/esm/Ellipsis.js +1 -7
  35. package/dist/esm/Empty.js +1 -9
  36. package/dist/esm/FixedNav.js +1 -13
  37. package/dist/esm/Form.js +7 -18
  38. package/dist/esm/FormItem.js +1 -6
  39. package/dist/esm/Grid.js +1 -7
  40. package/dist/esm/GridItem.js +1 -6
  41. package/dist/esm/Image.js +1 -7
  42. package/dist/esm/ImagePreview.js +1 -20
  43. package/dist/esm/Indicator.js +1 -3
  44. package/dist/esm/InfiniteLoading.js +1 -8
  45. package/dist/esm/Input.js +1 -11
  46. package/dist/esm/InputNumber.js +1 -7
  47. package/dist/esm/Layout.js +1 -2
  48. package/dist/esm/Loading.js +1 -5
  49. package/dist/esm/Menu.js +1 -15
  50. package/dist/esm/MenuItem.js +1 -14
  51. package/dist/esm/NavBar.js +1 -7
  52. package/dist/esm/NoticeBar.js +1 -7
  53. package/dist/esm/Notify.js +1 -9
  54. package/dist/esm/NumberKeyboard.js +1 -15
  55. package/dist/esm/Overlay.js +1 -9
  56. package/dist/esm/Pagination.js +1 -8
  57. package/dist/esm/Picker.js +1 -19
  58. package/dist/esm/Popover.js +1 -14
  59. package/dist/esm/Popup.js +1 -12
  60. package/dist/esm/Price.js +1 -3
  61. package/dist/esm/Progress.js +1 -4
  62. package/dist/esm/PullToRefresh.js +1 -10
  63. package/dist/esm/Radio.js +1 -7
  64. package/dist/esm/RadioGroup.js +1 -7
  65. package/dist/esm/Range.js +1 -10
  66. package/dist/esm/Rate.js +1 -11
  67. package/dist/esm/Row.js +1 -5
  68. package/dist/esm/SafeArea.js +1 -3
  69. package/dist/esm/SearchBar.js +1 -7
  70. package/dist/esm/ShortPassword.js +1 -17
  71. package/dist/esm/SideNavBar.js +1 -14
  72. package/dist/esm/SideNavBarItem.js +1 -2
  73. package/dist/esm/Signature.js +1 -4
  74. package/dist/esm/Skeleton.js +1 -11
  75. package/dist/esm/Space.js +1 -3
  76. package/dist/esm/Step.js +1 -6
  77. package/dist/esm/Steps.js +1 -5
  78. package/dist/esm/Sticky.js +1 -7
  79. package/dist/esm/SubSideNavBar.js +1 -3
  80. package/dist/esm/Swipe.js +1 -8
  81. package/dist/esm/Swiper.js +9 -11
  82. package/dist/esm/SwiperItem.js +1 -2
  83. package/dist/esm/Switch.js +1 -5
  84. package/dist/esm/TabPane.js +1 -3
  85. package/dist/esm/Tabbar.js +1 -8
  86. package/dist/esm/TabbarItem.js +1 -5
  87. package/dist/esm/Table.js +1 -9
  88. package/dist/esm/Tabs.js +1 -11
  89. package/dist/esm/Tag.js +1 -5
  90. package/dist/esm/TextArea.js +1 -10
  91. package/dist/esm/TimeDetail.js +1 -4
  92. package/dist/esm/TimeSelect.js +1 -16
  93. package/dist/esm/Toast.js +1 -15
  94. package/dist/esm/Tour.js +1 -16
  95. package/dist/esm/TrendArrow.js +1 -4
  96. package/dist/esm/Uploader.js +1 -14
  97. package/dist/esm/Video.js +1 -4
  98. package/dist/esm/VirtualList.js +1 -6
  99. package/dist/esm/WaterMark.js +1 -7
  100. package/dist/esm/{actionsheet.taro-kKhb0Vwt.js → actionsheet.taro-C5BqWoML.js} +9 -17
  101. package/dist/esm/{address.taro-zQuxQEce.js → address.taro-DjlXNWie.js} +19 -44
  102. package/dist/esm/{animate.taro-m67VyUHP.js → animate.taro-Dg9jxZEu.js} +6 -14
  103. package/dist/esm/{audio.taro-dJgj5qIu.js → audio.taro-DXxWGngO.js} +14 -30
  104. package/dist/esm/avatar.taro-a6CX3kxV.js +86 -0
  105. package/dist/esm/{avatarcropper.taro-GIZxzMJ_.js → avatarcropper.taro-BFvFmK4t.js} +47 -90
  106. package/dist/esm/{avatargroup.taro-h6dpv6UX.js → avatargroup.taro-bpT5kPbf.js} +3 -11
  107. package/dist/esm/{backtop.taro-Cfld7ina.js → backtop.taro-B-zl6AEC.js} +4 -15
  108. package/dist/esm/{badge.taro-993L861f.js → badge.taro-CyDqBb9Z.js} +4 -15
  109. package/dist/esm/{barrage.taro-6nbq7wtt.js → barrage.taro-BNOcZsJ1.js} +18 -28
  110. package/dist/esm/{button.taro-3IIFy1M2.js → button.taro-OKGsDVW7.js} +8 -23
  111. package/dist/esm/{calendar.taro-iNNHje7V.js → calendar.taro-DbHJEx4G.js} +12 -39
  112. package/dist/esm/{calendarcard.taro-9s7naGmU.js → calendarcard.taro-BHGCq5zX.js} +10 -14
  113. package/dist/esm/{calendaritem.taro-o6Z8OOGY.js → calendaritem.taro-B8tN2DYa.js} +11 -36
  114. package/dist/esm/{card.taro-p4PTy-IU.js → card.taro-uLorQW97.js} +7 -22
  115. package/dist/esm/{cascader.taro-M2nZWxiB.js → cascader.taro-CpofskUL.js} +47 -83
  116. package/dist/esm/{cell.taro-jD6MoFTj.js → cell.taro-CCnLF6RC.js} +9 -23
  117. package/dist/esm/{cellgroup.taro-08A3XAze.js → cellgroup.taro-Dz69kT6e.js} +5 -12
  118. package/dist/esm/{checkbox.taro-xMxWdpyI.js → checkbox.taro-D9F_HM7f.js} +19 -29
  119. package/dist/esm/{circleprogress.taro-myZgamBw.js → circleprogress.taro-CKSrzt8Q.js} +8 -22
  120. package/dist/esm/{col.taro-5FMpttLE.js → col.taro-C8DUuJYh.js} +5 -13
  121. package/dist/esm/{collapse.taro-sZibDygv.js → collapse.taro-BM0BsN30.js} +5 -14
  122. package/dist/esm/{collapseitem.taro-AaQ_msgd.js → collapseitem.taro-D_m4VEdG.js} +7 -16
  123. package/dist/esm/configprovider.taro-CyU_tvNJ.js +202 -0
  124. package/dist/esm/{countdown.taro-XZlfWBrA.js → countdown.taro-Dfa9kpmZ.js} +8 -18
  125. package/dist/esm/{datepicker.taro-DrXkqJkN.js → datepicker.taro-DshCn7Rn.js} +13 -25
  126. package/dist/esm/{dialog.taro-dmQGDu3o.js → dialog.taro-xsQhsC1V.js} +19 -19
  127. package/dist/esm/{divider.taro-H5fKry4P.js → divider.taro-DRcO_m9e.js} +5 -11
  128. package/dist/esm/{drag.taro-BwcleRuB.js → drag.taro-CcHIO07Y.js} +10 -18
  129. package/dist/esm/{elevator.taro-2nbUM3vH.js → elevator.taro-uhrF7ChY.js} +5 -17
  130. package/dist/esm/{ellipsis.taro-VApVqS_j.js → ellipsis.taro-B_mTyNyk.js} +25 -34
  131. package/dist/esm/{empty.taro-gwvOr1xf.js → empty.taro-Brkv6B2Z.js} +8 -18
  132. package/dist/esm/{fixednav.taro-QVBXysDj.js → fixednav.taro-WTBxWxOo.js} +10 -21
  133. package/dist/esm/formitem.taro-Brz5dj_8.js +330 -0
  134. package/dist/esm/{get-rect-by-taro-piSHvCGp.js → get-rect-by-taro-CSN0TGnD.js} +3 -2
  135. package/dist/esm/{grid.taro-3X-_AhXw.js → grid.taro-BA76RrgT.js} +5 -4
  136. package/dist/esm/{griditem.taro-TJDJVeQy.js → griditem.taro-JLddv9zD.js} +6 -11
  137. package/dist/esm/{image.taro-FfeikBlO.js → image.taro-BLz2WCva.js} +5 -6
  138. package/dist/esm/{imagepreview.taro--fVrJUOE.js → imagepreview.taro-Bb1TkBCV.js} +13 -31
  139. package/dist/esm/{indicator.taro-ZH6MICsS.js → indicator.taro-CpHZtD9p.js} +3 -5
  140. package/dist/esm/{infiniteloading.taro-BO0_y46K.js → infiniteloading.taro-Ccq4bEzk.js} +14 -21
  141. package/dist/esm/{input.taro-xCoGdppk.js → input.taro-BVC8gEuk.js} +14 -31
  142. package/dist/esm/{inputnumber.taro-WPpS0Xl9.js → inputnumber.taro-F3jNGr_V.js} +16 -27
  143. package/dist/esm/{layout.taro-lnN-wB0Y.js → layout.taro-BE2868d6.js} +1 -1
  144. package/dist/esm/{loading.taro-aHN6xLIT.js → loading.taro-CRF1z5wQ.js} +5 -8
  145. package/dist/esm/{menu.taro-ODwHYGFM.js → menu.taro-BAiJPGR7.js} +12 -25
  146. package/dist/esm/{menuitem.taro-9nyTDLpt.js → menuitem.taro-oLv6ZYC5.js} +15 -36
  147. package/dist/esm/{navbar.taro-AuKPDCaW.js → navbar.taro-B8u3DOE4.js} +14 -29
  148. package/dist/esm/{noticebar.taro-bHnEzTvL.js → noticebar.taro-CMdfOp2g.js} +16 -32
  149. package/dist/esm/{notify.taro-mA9KS8qh.js → notify.taro-jP7y9zMU.js} +6 -15
  150. package/dist/esm/{numberkeyboard.taro-bF6VCXry.js → numberkeyboard.taro-B9rMgy7D.js} +9 -16
  151. package/dist/esm/nutui-react.es.js +93 -118
  152. package/dist/esm/{overlay.taro-HsGeVyPh.js → overlay.taro-BaBu-3-F.js} +10 -22
  153. package/dist/esm/{pagination.taro-C4_Ey5KC.js → pagination.taro-DAK6ddag.js} +7 -19
  154. package/dist/esm/{picker.taro-csU3SZPF.js → picker.taro-Cmng9GW9.js} +34 -43
  155. package/dist/esm/{popover.taro-qldQwLPC.js → popover.taro-CcKwnX27.js} +23 -41
  156. package/dist/esm/{popup.taro-ObEUml4r.js → popup.taro-Iy_WQZ-m.js} +8 -32
  157. package/dist/esm/{price.taro-Z1zR8YWV.js → price.taro-UVRHPHRD.js} +5 -16
  158. package/dist/esm/{progress.taro-pStvlrbA.js → progress.taro-BOHykt7X.js} +8 -14
  159. package/dist/esm/{pulltorefresh.taro-2jER8Mat.js → pulltorefresh.taro-BJdQj5sL.js} +31 -47
  160. package/dist/esm/{radio.taro-EKJXMjnX.js → radio.taro-CjJgX9o2.js} +20 -33
  161. package/dist/esm/{range.taro-mDYY3SXA.js → range.taro-BxMDs5Cy.js} +20 -22
  162. package/dist/esm/{rate.taro-_5Mjd_EO.js → rate.taro-BABLqt4h.js} +7 -20
  163. package/dist/esm/{row.taro-IxNlKKQM.js → row.taro-D8chDydP.js} +4 -14
  164. package/dist/esm/{searchbar.taro-hVzdT6nI.js → searchbar.taro-PfVx6o-6.js} +9 -26
  165. package/dist/esm/{shortpassword.taro-JBWXzk6I.js → shortpassword.taro-BXsxku33.js} +9 -19
  166. package/dist/esm/{sidenavbar.taro-8qoGZg5n.js → sidenavbar.taro-eK5vaZPR.js} +7 -13
  167. package/dist/esm/sidenavbaritem.taro-L7HbsCLn.js +14 -0
  168. package/dist/esm/{signature.taro-y3qxnKMv.js → signature.taro-KPm_xs66.js} +11 -19
  169. package/dist/esm/{skeleton.taro--AtiA7MK.js → skeleton.taro-BwIDIf2p.js} +6 -17
  170. package/dist/esm/{space.taro-q3R_yq79.js → space.taro-CZ999etm.js} +1 -4
  171. package/dist/esm/{step.taro-_DEZqFGb.js → step.taro-DLr2GzYk.js} +8 -16
  172. package/dist/esm/steps.taro-C8Yg1Sns.js +28 -0
  173. package/dist/esm/{sticky.taro-p-evMNR-.js → sticky.taro-DRBk3gkQ.js} +12 -15
  174. package/dist/esm/{subsidenavbar.taro-Zy52MDDG.js → subsidenavbar.taro-ByxYpgfP.js} +7 -9
  175. package/dist/esm/{swipe.taro-p2ONOq1o.js → swipe.taro-wm7YWwaj.js} +29 -31
  176. package/dist/esm/{swiperitem.taro-BC1CE0T-.js → swiperitem.taro-8JXI24f0.js} +3 -1
  177. package/dist/esm/{switch.taro-L0BAbMeu.js → switch.taro-D1HgJoJz.js} +6 -13
  178. package/dist/esm/{tabbar.taro-QE0rjSKE.js → tabbar.taro-8_SmJofa.js} +7 -18
  179. package/dist/esm/tabbaritem.taro-Cb-yfOln.js +58 -0
  180. package/dist/esm/{table.taro-0zRh2hq6.js → table.taro-0BcEBB0F.js} +7 -18
  181. package/dist/esm/{tabpane.taro-5k7wWimS.js → tabpane.taro-BAe86j3t.js} +1 -4
  182. package/dist/esm/{tabs.taro-Yj7vgtSg.js → tabs.taro-HgAoKBAc.js} +14 -30
  183. package/dist/esm/{tag.taro-5KC_wObY.js → tag.taro-BsmY5QfN.js} +7 -22
  184. package/dist/esm/{textarea.taro-9zQLTCwU.js → textarea.taro-BJIFCpKb.js} +11 -20
  185. package/dist/esm/{timedetail.taro-TF9Wcblh.js → timedetail.taro-x6Zey1xi.js} +11 -21
  186. package/dist/esm/{timeselect.taro-j8LgSCe5.js → timeselect.taro-BXq4APSJ.js} +20 -33
  187. package/dist/esm/{toast.taro-xnEQSCDJ.js → toast.taro-BIR_7Wgb.js} +8 -26
  188. package/dist/esm/{tour.taro-CGEjzzN_.js → tour.taro-CMagdKcp.js} +7 -24
  189. package/dist/esm/{trendarrow.taro-hsM6-XsQ.js → trendarrow.taro-BHUetKSS.js} +6 -18
  190. package/dist/esm/tslib.es6-BZ8i9Q6l.js +47 -0
  191. package/dist/esm/types/src/packages/button/demos/h5/demo1.d.ts +3 -0
  192. package/dist/esm/types/src/packages/button/demos/h5/demo2.d.ts +3 -0
  193. package/dist/esm/types/src/packages/button/demos/h5/demo3.d.ts +3 -0
  194. package/dist/esm/types/src/packages/button/demos/h5/demo4.d.ts +3 -0
  195. package/dist/esm/types/src/packages/button/demos/h5/demo5.d.ts +3 -0
  196. package/dist/esm/types/src/packages/button/demos/h5/demo6.d.ts +3 -0
  197. package/dist/esm/types/src/packages/button/demos/h5/demo7.d.ts +3 -0
  198. package/dist/esm/types/src/packages/button/demos/h5/demo8.d.ts +3 -0
  199. package/dist/esm/types/src/packages/button/demos/h5/demo9.d.ts +3 -0
  200. package/dist/esm/types/src/packages/button/demos/taro/demo1.d.ts +3 -0
  201. package/dist/esm/types/src/packages/button/demos/taro/demo10.d.ts +3 -0
  202. package/dist/esm/types/src/packages/button/demos/taro/demo2.d.ts +3 -0
  203. package/dist/esm/types/src/packages/button/demos/taro/demo3.d.ts +3 -0
  204. package/dist/esm/types/src/packages/button/demos/taro/demo4.d.ts +3 -0
  205. package/dist/esm/types/src/packages/button/demos/taro/demo5.d.ts +3 -0
  206. package/dist/esm/types/src/packages/button/demos/taro/demo6.d.ts +3 -0
  207. package/dist/esm/types/src/packages/button/demos/taro/demo7.d.ts +3 -0
  208. package/dist/esm/types/src/packages/button/demos/taro/demo8.d.ts +3 -0
  209. package/dist/esm/types/src/packages/button/demos/taro/demo9.d.ts +3 -0
  210. package/dist/esm/types/src/packages/configprovider/configprovider.d.ts +1 -0
  211. package/dist/esm/types/src/packages/configprovider/configprovider.taro.d.ts +1 -0
  212. package/dist/esm/types/src/packages/configprovider/index.d.ts +2 -2
  213. package/dist/esm/types/src/packages/configprovider/index.taro.d.ts +2 -2
  214. package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +2 -0
  215. package/dist/esm/{uploader.taro-bRF02TR9.js → uploader.taro-CuaIVvya.js} +47 -99
  216. package/dist/esm/{use-custom-event-XvsODK8c.js → use-custom-event-DuP4onEm.js} +5 -5
  217. package/dist/esm/{use-props-value-vKr0R0AX.js → use-props-value-SH9krhkx.js} +2 -2
  218. package/dist/esm/{video.taro-csvHwS2v.js → video.taro-CEMVfhCS.js} +3 -5
  219. package/dist/esm/{virtuallist.taro-AeTVtFFa.js → virtuallist.taro-C5vZAyza.js} +7 -17
  220. package/dist/esm/{watermark.taro-nvSmcwu-.js → watermark.taro-BxM8VfXb.js} +5 -30
  221. package/dist/locales/base.js +1 -1
  222. package/dist/locales/en-US.js +1 -1
  223. package/dist/locales/id-ID.js +1 -1
  224. package/dist/locales/tr-TR.js +1 -1
  225. package/dist/locales/zh-CN.js +1 -1
  226. package/dist/locales/zh-TW.js +1 -1
  227. package/dist/locales/zh-UG.js +1 -1
  228. package/dist/nutui.react.es.js +305 -332
  229. package/dist/nutui.react.umd.js +306 -333
  230. package/dist/style.mjs +1 -1
  231. package/dist/styles/variables-jmapp.scss +4 -0
  232. package/dist/types/index.d.ts +98 -98
  233. package/dist/types/packages/actionsheet/actionsheet.d.ts +1 -1
  234. package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +1 -1
  235. package/dist/types/packages/address/address.d.ts +1 -1
  236. package/dist/types/packages/address/address.taro.d.ts +1 -1
  237. package/dist/types/packages/address/customRender.d.ts +1 -1
  238. package/dist/types/packages/address/customRender.taro.d.ts +1 -1
  239. package/dist/types/packages/avatar/avatar.d.ts +1 -1
  240. package/dist/types/packages/avatar/avatar.taro.d.ts +1 -1
  241. package/dist/types/packages/button/demos/h5/demo1.d.ts +3 -0
  242. package/dist/types/packages/button/demos/h5/demo2.d.ts +3 -0
  243. package/dist/types/packages/button/demos/h5/demo3.d.ts +3 -0
  244. package/dist/types/packages/button/demos/h5/demo4.d.ts +3 -0
  245. package/dist/types/packages/button/demos/h5/demo5.d.ts +3 -0
  246. package/dist/types/packages/button/demos/h5/demo6.d.ts +3 -0
  247. package/dist/types/packages/button/demos/h5/demo7.d.ts +3 -0
  248. package/dist/types/packages/button/demos/h5/demo8.d.ts +3 -0
  249. package/dist/types/packages/button/demos/h5/demo9.d.ts +3 -0
  250. package/dist/types/packages/button/demos/taro/demo1.d.ts +3 -0
  251. package/dist/types/packages/button/demos/taro/demo10.d.ts +3 -0
  252. package/dist/types/packages/button/demos/taro/demo2.d.ts +3 -0
  253. package/dist/types/packages/button/demos/taro/demo3.d.ts +3 -0
  254. package/dist/types/packages/button/demos/taro/demo4.d.ts +3 -0
  255. package/dist/types/packages/button/demos/taro/demo5.d.ts +3 -0
  256. package/dist/types/packages/button/demos/taro/demo6.d.ts +3 -0
  257. package/dist/types/packages/button/demos/taro/demo7.d.ts +3 -0
  258. package/dist/types/packages/button/demos/taro/demo8.d.ts +3 -0
  259. package/dist/types/packages/button/demos/taro/demo9.d.ts +3 -0
  260. package/dist/types/packages/calendaritem/calendaritem.d.ts +1 -1
  261. package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +1 -1
  262. package/dist/types/packages/cascader/cascader.d.ts +1 -1
  263. package/dist/types/packages/cascader/cascader.taro.d.ts +1 -1
  264. package/dist/types/packages/cell/cell.d.ts +1 -1
  265. package/dist/types/packages/cell/cell.taro.d.ts +1 -1
  266. package/dist/types/packages/checkbox/checkbox.d.ts +2 -2
  267. package/dist/types/packages/checkbox/checkbox.taro.d.ts +2 -2
  268. package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +2 -2
  269. package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +2 -2
  270. package/dist/types/packages/configprovider/configprovider.d.ts +1 -0
  271. package/dist/types/packages/configprovider/configprovider.taro.d.ts +1 -0
  272. package/dist/types/packages/configprovider/index.d.ts +2 -2
  273. package/dist/types/packages/configprovider/index.taro.d.ts +2 -2
  274. package/dist/types/packages/datepicker/datepicker.d.ts +1 -1
  275. package/dist/types/packages/datepicker/datepicker.taro.d.ts +1 -1
  276. package/dist/types/packages/dialog/dialogwrap.d.ts +1 -1
  277. package/dist/types/packages/empty/empty.d.ts +1 -1
  278. package/dist/types/packages/empty/empty.taro.d.ts +15 -3
  279. package/dist/types/packages/fixednav/fixednav.d.ts +1 -1
  280. package/dist/types/packages/fixednav/fixednav.taro.d.ts +1 -1
  281. package/dist/types/packages/form/form.d.ts +1 -1
  282. package/dist/types/packages/form/form.taro.d.ts +1 -1
  283. package/dist/types/packages/form/index.d.ts +1 -1
  284. package/dist/types/packages/form/index.taro.d.ts +1 -1
  285. package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +6 -0
  286. package/dist/types/packages/menu/menu.d.ts +1 -1
  287. package/dist/types/packages/menu/menu.taro.d.ts +1 -1
  288. package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +1 -1
  289. package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +1 -1
  290. package/dist/types/packages/nutui.react.build.d.ts +98 -98
  291. package/dist/types/packages/nutui.react.d.ts +98 -98
  292. package/dist/types/packages/nutui.react.taro.d.ts +98 -98
  293. package/dist/types/packages/picker/picker.d.ts +1 -1
  294. package/dist/types/packages/picker/picker.taro.d.ts +1 -1
  295. package/dist/types/packages/popover/popover.d.ts +1 -1
  296. package/dist/types/packages/popover/popover.taro.d.ts +1 -1
  297. package/dist/types/packages/popup/popup.d.ts +1 -1
  298. package/dist/types/packages/popup/popup.taro.d.ts +1 -1
  299. package/dist/types/packages/radio/radio.d.ts +2 -2
  300. package/dist/types/packages/radio/radio.taro.d.ts +2 -2
  301. package/dist/types/packages/shortpassword/shortpassword.d.ts +1 -1
  302. package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +1 -1
  303. package/dist/types/packages/swiper/index.d.ts +1 -1
  304. package/dist/types/packages/swiper/index.taro.d.ts +1 -1
  305. package/dist/types/packages/tabs/tabs.d.ts +1 -1
  306. package/dist/types/packages/tabs/tabs.taro.d.ts +1 -1
  307. package/dist/types/packages/timedetail/timedetail.d.ts +1 -1
  308. package/dist/types/packages/timedetail/timedetail.taro.d.ts +1 -1
  309. package/dist/types/packages/tour/tour.d.ts +1 -1
  310. package/dist/types/packages/tour/tour.taro.d.ts +1 -1
  311. package/package.json +5 -1
  312. package/dist/esm/avatar.taro-7ltbzIdY.js +0 -109
  313. package/dist/esm/configprovider.taro-q5J2gQbi.js +0 -486
  314. package/dist/esm/formitem.taro-viaUkMmm.js +0 -1435
  315. package/dist/esm/index-oitVOJp9.js +0 -661
  316. package/dist/esm/sidenavbaritem.taro-AxJNRAdi.js +0 -13
  317. package/dist/esm/steps.taro-PH0qWPla.js +0 -32
  318. package/dist/esm/tabbaritem.taro-t9C07OYX.js +0 -73
  319. /package/dist/esm/{UserContext-9BL0cq8w.js → UserContext-BlM0373q.js} +0 -0
  320. /package/dist/esm/{context-6mGEMLsx.js → context-4T-L2x0_.js} +0 -0
  321. /package/dist/esm/{context-9BL0cq8w.js → context-BlM0373q.js} +0 -0
  322. /package/dist/esm/{date-nxKOxj5-.js → date-D0pth0qC.js} +0 -0
  323. /package/dist/esm/{get-scroll-parent-uywvoQMl.js → get-scroll-parent-DB1VRg11.js} +0 -0
  324. /package/dist/esm/{index-YvHA__3D.js → index-DeNfBlua.js} +0 -0
  325. /package/dist/esm/{pad-zero-iY-0-oys.js → pad-zero-B2OUQfh7.js} +0 -0
  326. /package/dist/esm/{px-check-JiWLYN2v.js → px-check-D1Xbd9pj.js} +0 -0
  327. /package/dist/esm/{raf-UzmDvMUW.js → raf-zwv-SBjP.js} +0 -0
  328. /package/dist/esm/{safearea.taro-afu_mY7g.js → safearea.taro-BMQHr7tu.js} +0 -0
  329. /package/dist/esm/{typings-buMpDfSR.js → typings-DV9RBfhj.js} +0 -0
  330. /package/dist/esm/{use-force-update-0oEVD8Nr.js → use-force-update-CudFjCsy.js} +0 -0
  331. /package/dist/esm/{use-refs-IdrY0ww3.js → use-refs-BeEmziIR.js} +0 -0
  332. /package/dist/esm/{use-touch-BUFdkOSA.js → use-touch-OfEaR5qi.js} +0 -0
@@ -1,11 +1,5 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
1
  /*!
8
- * @nutui/nutui-react-taro v2.3.11 Fri Feb 23 2024 19:40:58 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.3.12 Fri Mar 01 2024 16:07:31 GMT+0800 (China Standard Time)
9
3
  * (c) 2023 @jdf2e.
10
4
  * Released under the MIT License.
11
5
  */
@@ -28,34 +22,44 @@ var classnames = { exports: {} };
28
22
  (function() {
29
23
  var hasOwn = {}.hasOwnProperty;
30
24
  function classNames2() {
31
- var classes = [];
25
+ var classes = "";
32
26
  for (var i2 = 0; i2 < arguments.length; i2++) {
33
27
  var arg = arguments[i2];
34
- if (!arg)
35
- continue;
36
- var argType = typeof arg;
37
- if (argType === "string" || argType === "number") {
38
- classes.push(arg);
39
- } else if (Array.isArray(arg)) {
40
- if (arg.length) {
41
- var inner = classNames2.apply(null, arg);
42
- if (inner) {
43
- classes.push(inner);
44
- }
45
- }
46
- } else if (argType === "object") {
47
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
48
- classes.push(arg.toString());
49
- continue;
50
- }
51
- for (var key in arg) {
52
- if (hasOwn.call(arg, key) && arg[key]) {
53
- classes.push(key);
54
- }
55
- }
28
+ if (arg) {
29
+ classes = appendClass(classes, parseValue(arg));
30
+ }
31
+ }
32
+ return classes;
33
+ }
34
+ function parseValue(arg) {
35
+ if (typeof arg === "string" || typeof arg === "number") {
36
+ return arg;
37
+ }
38
+ if (typeof arg !== "object") {
39
+ return "";
40
+ }
41
+ if (Array.isArray(arg)) {
42
+ return classNames2.apply(null, arg);
43
+ }
44
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
45
+ return arg.toString();
46
+ }
47
+ var classes = "";
48
+ for (var key in arg) {
49
+ if (hasOwn.call(arg, key) && arg[key]) {
50
+ classes = appendClass(classes, key);
56
51
  }
57
52
  }
58
- return classes.join(" ");
53
+ return classes;
54
+ }
55
+ function appendClass(value, newClass) {
56
+ if (!newClass) {
57
+ return value;
58
+ }
59
+ if (value) {
60
+ return value + " " + newClass;
61
+ }
62
+ return value + newClass;
59
63
  }
60
64
  if (module.exports) {
61
65
  classNames2.default = classNames2;
@@ -747,8 +751,8 @@ lodash_isequal.exports;
747
751
  var reIsNative = RegExp(
748
752
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
749
753
  );
750
- var Buffer2 = moduleExports ? root2.Buffer : void 0, Symbol2 = root2.Symbol, Uint8Array2 = root2.Uint8Array, propertyIsEnumerable = objectProto2.propertyIsEnumerable, splice = arrayProto.splice, symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
751
- var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
754
+ var Buffer = moduleExports ? root2.Buffer : void 0, Symbol2 = root2.Symbol, Uint8Array = root2.Uint8Array, propertyIsEnumerable = objectProto2.propertyIsEnumerable, splice = arrayProto.splice, symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
755
+ var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
752
756
  var DataView = getNative(root2, "DataView"), Map2 = getNative(root2, "Map"), Promise2 = getNative(root2, "Promise"), Set = getNative(root2, "Set"), WeakMap = getNative(root2, "WeakMap"), nativeCreate = getNative(Object, "create");
753
757
  var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map2), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
754
758
  var symbolProto2 = Symbol2 ? Symbol2.prototype : void 0, symbolValueOf = symbolProto2 ? symbolProto2.valueOf : void 0;
@@ -1080,7 +1084,7 @@ lodash_isequal.exports;
1080
1084
  object4 = object4.buffer;
1081
1085
  other = other.buffer;
1082
1086
  case arrayBufferTag:
1083
- if (object4.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object4), new Uint8Array2(other))) {
1087
+ if (object4.byteLength != other.byteLength || !equalFunc(new Uint8Array(object4), new Uint8Array(other))) {
1084
1088
  return false;
1085
1089
  }
1086
1090
  return true;
@@ -1458,16 +1462,21 @@ function convertThemeVarsToCSSVars(themeVars) {
1458
1462
  });
1459
1463
  return cssVars;
1460
1464
  }
1465
+ const useRtl = () => {
1466
+ const { direction } = useConfig$1();
1467
+ return direction === "rtl";
1468
+ };
1461
1469
  const ConfigProvider = (props) => {
1462
1470
  const { style, className, children, direction, ...config2 } = props;
1463
1471
  const mergedConfig = useMemo(
1464
1472
  () => {
1465
1473
  return {
1466
1474
  ...getDefaultConfig$1(),
1467
- ...config2
1475
+ ...config2,
1476
+ direction
1468
1477
  };
1469
1478
  },
1470
- [config2],
1479
+ [config2, direction],
1471
1480
  (prev, next) => prev.some((prevTheme, index) => {
1472
1481
  const nextTheme = next[index];
1473
1482
  return !isequal(prevTheme, nextTheme);
@@ -1615,72 +1624,111 @@ function _inheritsLoose$1(subClass, superClass) {
1615
1624
  _setPrototypeOf$1(subClass, superClass);
1616
1625
  }
1617
1626
  var propTypes = { exports: {} };
1618
- var ReactPropTypesSecret_1;
1619
- var hasRequiredReactPropTypesSecret;
1620
- function requireReactPropTypesSecret() {
1621
- if (hasRequiredReactPropTypesSecret)
1622
- return ReactPropTypesSecret_1;
1623
- hasRequiredReactPropTypesSecret = 1;
1624
- var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1625
- ReactPropTypesSecret_1 = ReactPropTypesSecret;
1626
- return ReactPropTypesSecret_1;
1627
- }
1628
- var factoryWithThrowingShims;
1629
- var hasRequiredFactoryWithThrowingShims;
1630
- function requireFactoryWithThrowingShims() {
1631
- if (hasRequiredFactoryWithThrowingShims)
1632
- return factoryWithThrowingShims;
1633
- hasRequiredFactoryWithThrowingShims = 1;
1634
- var ReactPropTypesSecret = requireReactPropTypesSecret();
1635
- function emptyFunction() {
1636
- }
1637
- function emptyFunctionWithReset() {
1638
- }
1639
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1640
- factoryWithThrowingShims = function() {
1641
- function shim(props, propName, componentName, location, propFullName, secret) {
1642
- if (secret === ReactPropTypesSecret) {
1643
- return;
1627
+ var reactIs = { exports: {} };
1628
+ var reactIs_production_min = {};
1629
+ /** @license React v16.13.1
1630
+ * react-is.production.min.js
1631
+ *
1632
+ * Copyright (c) Facebook, Inc. and its affiliates.
1633
+ *
1634
+ * This source code is licensed under the MIT license found in the
1635
+ * LICENSE file in the root directory of this source tree.
1636
+ */
1637
+ var hasRequiredReactIs_production_min;
1638
+ function requireReactIs_production_min() {
1639
+ if (hasRequiredReactIs_production_min)
1640
+ return reactIs_production_min;
1641
+ hasRequiredReactIs_production_min = 1;
1642
+ 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;
1643
+ function z2(a2) {
1644
+ if ("object" === typeof a2 && null !== a2) {
1645
+ var u = a2.$$typeof;
1646
+ switch (u) {
1647
+ case c2:
1648
+ switch (a2 = a2.type, a2) {
1649
+ case l:
1650
+ case m:
1651
+ case e2:
1652
+ case g2:
1653
+ case f:
1654
+ case p:
1655
+ return a2;
1656
+ default:
1657
+ switch (a2 = a2 && a2.$$typeof, a2) {
1658
+ case k:
1659
+ case n:
1660
+ case t2:
1661
+ case r:
1662
+ case h2:
1663
+ return a2;
1664
+ default:
1665
+ return u;
1666
+ }
1667
+ }
1668
+ case d2:
1669
+ return u;
1644
1670
  }
1645
- var err = new Error(
1646
- "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"
1647
- );
1648
- err.name = "Invariant Violation";
1649
- throw err;
1650
- }
1651
- shim.isRequired = shim;
1652
- function getShim() {
1653
- return shim;
1654
1671
  }
1655
- var ReactPropTypes = {
1656
- array: shim,
1657
- bigint: shim,
1658
- bool: shim,
1659
- func: shim,
1660
- number: shim,
1661
- object: shim,
1662
- string: shim,
1663
- symbol: shim,
1664
- any: shim,
1665
- arrayOf: getShim,
1666
- element: shim,
1667
- elementType: shim,
1668
- instanceOf: getShim,
1669
- node: shim,
1670
- objectOf: getShim,
1671
- oneOf: getShim,
1672
- oneOfType: getShim,
1673
- shape: getShim,
1674
- exact: getShim,
1675
- checkPropTypes: emptyFunctionWithReset,
1676
- resetWarningCache: emptyFunction
1677
- };
1678
- ReactPropTypes.PropTypes = ReactPropTypes;
1679
- return ReactPropTypes;
1672
+ }
1673
+ function A2(a2) {
1674
+ return z2(a2) === m;
1675
+ }
1676
+ reactIs_production_min.AsyncMode = l;
1677
+ reactIs_production_min.ConcurrentMode = m;
1678
+ reactIs_production_min.ContextConsumer = k;
1679
+ reactIs_production_min.ContextProvider = h2;
1680
+ reactIs_production_min.Element = c2;
1681
+ reactIs_production_min.ForwardRef = n;
1682
+ reactIs_production_min.Fragment = e2;
1683
+ reactIs_production_min.Lazy = t2;
1684
+ reactIs_production_min.Memo = r;
1685
+ reactIs_production_min.Portal = d2;
1686
+ reactIs_production_min.Profiler = g2;
1687
+ reactIs_production_min.StrictMode = f;
1688
+ reactIs_production_min.Suspense = p;
1689
+ reactIs_production_min.isAsyncMode = function(a2) {
1690
+ return A2(a2) || z2(a2) === l;
1680
1691
  };
1681
- return factoryWithThrowingShims;
1692
+ reactIs_production_min.isConcurrentMode = A2;
1693
+ reactIs_production_min.isContextConsumer = function(a2) {
1694
+ return z2(a2) === k;
1695
+ };
1696
+ reactIs_production_min.isContextProvider = function(a2) {
1697
+ return z2(a2) === h2;
1698
+ };
1699
+ reactIs_production_min.isElement = function(a2) {
1700
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
1701
+ };
1702
+ reactIs_production_min.isForwardRef = function(a2) {
1703
+ return z2(a2) === n;
1704
+ };
1705
+ reactIs_production_min.isFragment = function(a2) {
1706
+ return z2(a2) === e2;
1707
+ };
1708
+ reactIs_production_min.isLazy = function(a2) {
1709
+ return z2(a2) === t2;
1710
+ };
1711
+ reactIs_production_min.isMemo = function(a2) {
1712
+ return z2(a2) === r;
1713
+ };
1714
+ reactIs_production_min.isPortal = function(a2) {
1715
+ return z2(a2) === d2;
1716
+ };
1717
+ reactIs_production_min.isProfiler = function(a2) {
1718
+ return z2(a2) === g2;
1719
+ };
1720
+ reactIs_production_min.isStrictMode = function(a2) {
1721
+ return z2(a2) === f;
1722
+ };
1723
+ reactIs_production_min.isSuspense = function(a2) {
1724
+ return z2(a2) === p;
1725
+ };
1726
+ reactIs_production_min.isValidElementType = function(a2) {
1727
+ 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);
1728
+ };
1729
+ reactIs_production_min.typeOf = z2;
1730
+ return reactIs_production_min;
1682
1731
  }
1683
- var reactIs = { exports: {} };
1684
1732
  var reactIs_development = {};
1685
1733
  /** @license React v16.13.1
1686
1734
  * react-is.development.js
@@ -1844,110 +1892,6 @@ function requireReactIs_development() {
1844
1892
  }
1845
1893
  return reactIs_development;
1846
1894
  }
1847
- var reactIs_production_min = {};
1848
- /** @license React v16.13.1
1849
- * react-is.production.min.js
1850
- *
1851
- * Copyright (c) Facebook, Inc. and its affiliates.
1852
- *
1853
- * This source code is licensed under the MIT license found in the
1854
- * LICENSE file in the root directory of this source tree.
1855
- */
1856
- var hasRequiredReactIs_production_min;
1857
- function requireReactIs_production_min() {
1858
- if (hasRequiredReactIs_production_min)
1859
- return reactIs_production_min;
1860
- hasRequiredReactIs_production_min = 1;
1861
- 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;
1862
- function z2(a2) {
1863
- if ("object" === typeof a2 && null !== a2) {
1864
- var u = a2.$$typeof;
1865
- switch (u) {
1866
- case c2:
1867
- switch (a2 = a2.type, a2) {
1868
- case l:
1869
- case m:
1870
- case e2:
1871
- case g2:
1872
- case f:
1873
- case p:
1874
- return a2;
1875
- default:
1876
- switch (a2 = a2 && a2.$$typeof, a2) {
1877
- case k:
1878
- case n:
1879
- case t2:
1880
- case r:
1881
- case h2:
1882
- return a2;
1883
- default:
1884
- return u;
1885
- }
1886
- }
1887
- case d2:
1888
- return u;
1889
- }
1890
- }
1891
- }
1892
- function A2(a2) {
1893
- return z2(a2) === m;
1894
- }
1895
- reactIs_production_min.AsyncMode = l;
1896
- reactIs_production_min.ConcurrentMode = m;
1897
- reactIs_production_min.ContextConsumer = k;
1898
- reactIs_production_min.ContextProvider = h2;
1899
- reactIs_production_min.Element = c2;
1900
- reactIs_production_min.ForwardRef = n;
1901
- reactIs_production_min.Fragment = e2;
1902
- reactIs_production_min.Lazy = t2;
1903
- reactIs_production_min.Memo = r;
1904
- reactIs_production_min.Portal = d2;
1905
- reactIs_production_min.Profiler = g2;
1906
- reactIs_production_min.StrictMode = f;
1907
- reactIs_production_min.Suspense = p;
1908
- reactIs_production_min.isAsyncMode = function(a2) {
1909
- return A2(a2) || z2(a2) === l;
1910
- };
1911
- reactIs_production_min.isConcurrentMode = A2;
1912
- reactIs_production_min.isContextConsumer = function(a2) {
1913
- return z2(a2) === k;
1914
- };
1915
- reactIs_production_min.isContextProvider = function(a2) {
1916
- return z2(a2) === h2;
1917
- };
1918
- reactIs_production_min.isElement = function(a2) {
1919
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
1920
- };
1921
- reactIs_production_min.isForwardRef = function(a2) {
1922
- return z2(a2) === n;
1923
- };
1924
- reactIs_production_min.isFragment = function(a2) {
1925
- return z2(a2) === e2;
1926
- };
1927
- reactIs_production_min.isLazy = function(a2) {
1928
- return z2(a2) === t2;
1929
- };
1930
- reactIs_production_min.isMemo = function(a2) {
1931
- return z2(a2) === r;
1932
- };
1933
- reactIs_production_min.isPortal = function(a2) {
1934
- return z2(a2) === d2;
1935
- };
1936
- reactIs_production_min.isProfiler = function(a2) {
1937
- return z2(a2) === g2;
1938
- };
1939
- reactIs_production_min.isStrictMode = function(a2) {
1940
- return z2(a2) === f;
1941
- };
1942
- reactIs_production_min.isSuspense = function(a2) {
1943
- return z2(a2) === p;
1944
- };
1945
- reactIs_production_min.isValidElementType = function(a2) {
1946
- 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);
1947
- };
1948
- reactIs_production_min.typeOf = z2;
1949
- return reactIs_production_min;
1950
- }
1951
1895
  var hasRequiredReactIs;
1952
1896
  function requireReactIs() {
1953
1897
  if (hasRequiredReactIs)
@@ -2036,6 +1980,16 @@ function requireObjectAssign() {
2036
1980
  };
2037
1981
  return objectAssign;
2038
1982
  }
1983
+ var ReactPropTypesSecret_1;
1984
+ var hasRequiredReactPropTypesSecret;
1985
+ function requireReactPropTypesSecret() {
1986
+ if (hasRequiredReactPropTypesSecret)
1987
+ return ReactPropTypesSecret_1;
1988
+ hasRequiredReactPropTypesSecret = 1;
1989
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1990
+ ReactPropTypesSecret_1 = ReactPropTypesSecret;
1991
+ return ReactPropTypesSecret_1;
1992
+ }
2039
1993
  var has;
2040
1994
  var hasRequiredHas;
2041
1995
  function requireHas() {
@@ -2553,6 +2507,61 @@ function requireFactoryWithTypeCheckers() {
2553
2507
  };
2554
2508
  return factoryWithTypeCheckers;
2555
2509
  }
2510
+ var factoryWithThrowingShims;
2511
+ var hasRequiredFactoryWithThrowingShims;
2512
+ function requireFactoryWithThrowingShims() {
2513
+ if (hasRequiredFactoryWithThrowingShims)
2514
+ return factoryWithThrowingShims;
2515
+ hasRequiredFactoryWithThrowingShims = 1;
2516
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
2517
+ function emptyFunction() {
2518
+ }
2519
+ function emptyFunctionWithReset() {
2520
+ }
2521
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
2522
+ factoryWithThrowingShims = function() {
2523
+ function shim(props, propName, componentName, location, propFullName, secret) {
2524
+ if (secret === ReactPropTypesSecret) {
2525
+ return;
2526
+ }
2527
+ var err = new Error(
2528
+ "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"
2529
+ );
2530
+ err.name = "Invariant Violation";
2531
+ throw err;
2532
+ }
2533
+ shim.isRequired = shim;
2534
+ function getShim() {
2535
+ return shim;
2536
+ }
2537
+ var ReactPropTypes = {
2538
+ array: shim,
2539
+ bigint: shim,
2540
+ bool: shim,
2541
+ func: shim,
2542
+ number: shim,
2543
+ object: shim,
2544
+ string: shim,
2545
+ symbol: shim,
2546
+ any: shim,
2547
+ arrayOf: getShim,
2548
+ element: shim,
2549
+ elementType: shim,
2550
+ instanceOf: getShim,
2551
+ node: shim,
2552
+ objectOf: getShim,
2553
+ oneOf: getShim,
2554
+ oneOfType: getShim,
2555
+ shape: getShim,
2556
+ exact: getShim,
2557
+ checkPropTypes: emptyFunctionWithReset,
2558
+ resetWarningCache: emptyFunction
2559
+ };
2560
+ ReactPropTypes.PropTypes = ReactPropTypes;
2561
+ return ReactPropTypes;
2562
+ };
2563
+ return factoryWithThrowingShims;
2564
+ }
2556
2565
  if (process.env.NODE_ENV !== "production") {
2557
2566
  var ReactIs = requireReactIs();
2558
2567
  var throwOnDirectAccess = true;
@@ -5523,22 +5532,19 @@ const convertListToOptions = (list, options) => {
5523
5532
  };
5524
5533
  class Tree {
5525
5534
  constructor(nodes, config2) {
5526
- __publicField(this, "nodes");
5527
- __publicField(this, "config");
5528
- // eslint-disable-next-line class-methods-use-this
5529
- __publicField(this, "isLeaf", (node, lazy) => {
5535
+ this.isLeaf = (node, lazy) => {
5530
5536
  const { leaf, children } = node;
5531
5537
  const hasChildren = Array.isArray(children) && Boolean(children.length);
5532
5538
  return leaf || !hasChildren && !lazy;
5533
- });
5534
- __publicField(this, "hasChildren", (node, lazy) => {
5539
+ };
5540
+ this.hasChildren = (node, lazy) => {
5535
5541
  const isLeaf = this.isLeaf(node, lazy);
5536
5542
  if (isLeaf) {
5537
5543
  return false;
5538
5544
  }
5539
5545
  const { children } = node;
5540
5546
  return Array.isArray(children) && Boolean(children.length);
5541
- });
5547
+ };
5542
5548
  this.config = {
5543
5549
  value: "value",
5544
5550
  text: "text",
@@ -5585,7 +5591,6 @@ class Tree {
5585
5591
  return pathNodes;
5586
5592
  }
5587
5593
  }
5588
- const Tree$1 = Tree;
5589
5594
  const defaultProps$17 = {
5590
5595
  ...ComponentDefaults,
5591
5596
  activeColor: "",
@@ -5661,7 +5666,7 @@ const InternalCascader = (props, ref) => {
5661
5666
  paneKey: ""
5662
5667
  }
5663
5668
  ],
5664
- tree: new Tree$1([], {}),
5669
+ tree: new Tree([], {}),
5665
5670
  tabsCursor: 0,
5666
5671
  // 选中的tab项
5667
5672
  initLoading: false,
@@ -5691,7 +5696,7 @@ const InternalCascader = (props, ref) => {
5691
5696
  } else {
5692
5697
  state.optionsData = options;
5693
5698
  }
5694
- state.tree = new Tree$1(state.optionsData, {
5699
+ state.tree = new Tree(state.optionsData, {
5695
5700
  value: state.configs.optionKey.valueKey,
5696
5701
  text: state.configs.optionKey.textKey,
5697
5702
  children: state.configs.optionKey.childrenKey
@@ -9750,21 +9755,13 @@ Schema.validators = validators;
9750
9755
  const SECRET = "NUT_FORM_INTERNAL";
9751
9756
  class FormStore {
9752
9757
  constructor() {
9753
- // 初始化数据
9754
- __publicField(this, "initialValues", {});
9755
- __publicField(this, "updateList", []);
9756
- // 存放表单中所有的数据 eg. {password: "ddd",username: "123"}
9757
- __publicField(this, "store", {});
9758
- // 所有的组件实例
9759
- __publicField(this, "fieldEntities", []);
9760
- // 校验成功或失败的回调,onFinish、onFinishFailed
9761
- __publicField(this, "callbacks", {});
9762
- __publicField(this, "errors", {});
9763
- /**
9764
- * 注册组件实例
9765
- * @param field
9766
- */
9767
- __publicField(this, "registerField", (field) => {
9758
+ this.initialValues = {};
9759
+ this.updateList = [];
9760
+ this.store = {};
9761
+ this.fieldEntities = [];
9762
+ this.callbacks = {};
9763
+ this.errors = {};
9764
+ this.registerField = (field) => {
9768
9765
  this.fieldEntities.push(field);
9769
9766
  return () => {
9770
9767
  this.fieldEntities = this.fieldEntities.filter((item) => item !== field);
@@ -9772,19 +9769,12 @@ class FormStore {
9772
9769
  delete this.store[field.props.name];
9773
9770
  }
9774
9771
  };
9775
- });
9776
- /**
9777
- * 获取 formItem 的值
9778
- * @param name
9779
- */
9780
- __publicField(this, "getFieldValue", (name) => {
9772
+ };
9773
+ this.getFieldValue = (name) => {
9781
9774
  var _a;
9782
9775
  return (_a = this.store) == null ? void 0 : _a[name];
9783
- });
9784
- /**
9785
- * 获取全部字段
9786
- */
9787
- __publicField(this, "getFieldsValue", (nameList) => {
9776
+ };
9777
+ this.getFieldsValue = (nameList) => {
9788
9778
  if (typeof nameList === "boolean") {
9789
9779
  return JSON.parse(JSON.stringify(this.store));
9790
9780
  }
@@ -9793,23 +9783,14 @@ class FormStore {
9793
9783
  fieldsValue[field] = this.getFieldValue(field);
9794
9784
  });
9795
9785
  return fieldsValue;
9796
- });
9797
- /**
9798
- * 设置 form 的初始值,之后在 reset 的时候使用
9799
- * @param values
9800
- * @param init
9801
- */
9802
- __publicField(this, "setInitialValues", (values, init) => {
9786
+ };
9787
+ this.setInitialValues = (values, init) => {
9803
9788
  if (init) {
9804
9789
  this.initialValues = values;
9805
9790
  this.store = values;
9806
9791
  }
9807
- });
9808
- /**
9809
- * 存储组件数据
9810
- * @param newStore { [name]: newValue }
9811
- */
9812
- __publicField(this, "setFieldsValue", (newStore) => {
9792
+ };
9793
+ this.setFieldsValue = (newStore) => {
9813
9794
  this.store = {
9814
9795
  ...this.store,
9815
9796
  ...newStore
@@ -9831,14 +9812,14 @@ class FormStore {
9831
9812
  item.entity.onStoreChange("update");
9832
9813
  }
9833
9814
  });
9834
- });
9835
- __publicField(this, "setCallback", (callback) => {
9815
+ };
9816
+ this.setCallback = (callback) => {
9836
9817
  this.callbacks = {
9837
9818
  ...this.callbacks,
9838
9819
  ...callback
9839
9820
  };
9840
- });
9841
- __publicField(this, "validateEntities", async (entity, errs) => {
9821
+ };
9822
+ this.validateEntities = async (entity, errs) => {
9842
9823
  var _a;
9843
9824
  const { name, rules: rules2 = [] } = entity.props;
9844
9825
  const descriptor = {};
@@ -9866,8 +9847,8 @@ class FormStore {
9866
9847
  }
9867
9848
  }
9868
9849
  entity.onStoreChange("validate");
9869
- });
9870
- __publicField(this, "validateFields", async (nameList) => {
9850
+ };
9851
+ this.validateFields = async (nameList) => {
9871
9852
  let filterEntities = [];
9872
9853
  this.errors.length = 0;
9873
9854
  if (!nameList || nameList.length === 0) {
@@ -9884,8 +9865,8 @@ class FormStore {
9884
9865
  })
9885
9866
  );
9886
9867
  return errs;
9887
- });
9888
- __publicField(this, "submit", async () => {
9868
+ };
9869
+ this.submit = async () => {
9889
9870
  var _a, _b, _c, _d;
9890
9871
  const errors = await this.validateFields();
9891
9872
  if (errors.length === 0) {
@@ -9893,16 +9874,15 @@ class FormStore {
9893
9874
  } else if (errors.length > 0) {
9894
9875
  (_d = (_c = this.callbacks).onFinishFailed) == null ? void 0 : _d.call(_c, this.store, errors);
9895
9876
  }
9896
- });
9897
- __publicField(this, "resetFields", () => {
9877
+ };
9878
+ this.resetFields = () => {
9898
9879
  this.errors.length = 0;
9899
9880
  this.store = this.initialValues;
9900
9881
  this.fieldEntities.forEach((entity) => {
9901
9882
  entity.onStoreChange("reset");
9902
9883
  });
9903
- });
9904
- // 监听事件
9905
- __publicField(this, "registerUpdate", (field, shouldUpdate) => {
9884
+ };
9885
+ this.registerUpdate = (field, shouldUpdate) => {
9906
9886
  this.updateList.push({
9907
9887
  entity: field,
9908
9888
  condition: shouldUpdate
@@ -9910,11 +9890,11 @@ class FormStore {
9910
9890
  return () => {
9911
9891
  this.updateList = this.updateList.filter((i2) => i2.entity !== field);
9912
9892
  };
9913
- });
9914
- __publicField(this, "dispatch", ({ name }) => {
9893
+ };
9894
+ this.dispatch = ({ name }) => {
9915
9895
  this.validateFields([name]);
9916
- });
9917
- __publicField(this, "getInternal", (key) => {
9896
+ };
9897
+ this.getInternal = (key) => {
9918
9898
  if (key === SECRET) {
9919
9899
  return {
9920
9900
  registerField: this.registerField,
@@ -9926,8 +9906,8 @@ class FormStore {
9926
9906
  registerUpdate: this.registerUpdate
9927
9907
  };
9928
9908
  }
9929
- });
9930
- __publicField(this, "getForm", () => {
9909
+ };
9910
+ this.getForm = () => {
9931
9911
  return {
9932
9912
  getFieldValue: this.getFieldValue,
9933
9913
  getFieldsValue: this.getFieldsValue,
@@ -9938,7 +9918,7 @@ class FormStore {
9938
9918
  errors: this.errors,
9939
9919
  getInternal: this.getInternal
9940
9920
  };
9941
- });
9921
+ };
9942
9922
  this.callbacks = {
9943
9923
  onFinish: () => {
9944
9924
  },
@@ -10058,14 +10038,10 @@ const defaultProps$Y = {
10058
10038
  shouldUpdate: false,
10059
10039
  noStyle: false
10060
10040
  };
10061
- class FormItem extends React__default.Component {
10041
+ const _FormItem = class _FormItem extends React__default.Component {
10062
10042
  constructor(props) {
10063
10043
  super(props);
10064
- __publicField(this, "cancelRegister");
10065
- __publicField(this, "componentRef");
10066
- __publicField(this, "eventOff");
10067
- // children添加value属性和onChange事件
10068
- __publicField(this, "getControlled", (children) => {
10044
+ this.getControlled = (children) => {
10069
10045
  var _a;
10070
10046
  const { setFieldsValue, getFieldValue } = this.context;
10071
10047
  const { dispatch } = this.context.getInternal(SECRET);
@@ -10092,7 +10068,7 @@ class FormItem extends React__default.Component {
10092
10068
  const { validateTrigger } = this.props;
10093
10069
  let validateTriggers = [this.props.trigger || "onChange"];
10094
10070
  if (validateTrigger) {
10095
- validateTriggers = typeof validateTrigger === "string" ? [...validateTriggers, validateTrigger] : [...validateTriggers, ...validateTrigger];
10071
+ validateTriggers = typeof validateTrigger === "string" ? [validateTrigger] : [...validateTrigger];
10096
10072
  validateTriggers.forEach((trigger) => {
10097
10073
  const originTrigger = controlled[trigger];
10098
10074
  controlled[trigger] = (...args) => {
@@ -10122,21 +10098,22 @@ class FormItem extends React__default.Component {
10122
10098
  };
10123
10099
  }
10124
10100
  return controlled;
10125
- });
10126
- __publicField(this, "refresh", () => {
10101
+ };
10102
+ this.refresh = () => {
10127
10103
  this.setState(({ resetCount }) => ({
10128
10104
  resetCount: resetCount + 1
10129
10105
  }));
10130
- });
10131
- __publicField(this, "onStoreChange", (type4) => {
10106
+ };
10107
+ this.onStoreChange = (type4) => {
10132
10108
  if (type4 === "reset") {
10133
10109
  this.context.errors[this.props.name] = [];
10134
10110
  this.refresh();
10135
10111
  } else {
10136
10112
  this.forceUpdate();
10137
10113
  }
10138
- });
10139
- __publicField(this, "renderLayout", (childNode) => {
10114
+ };
10115
+ this.renderLayout = (childNode) => {
10116
+ var _a;
10140
10117
  const {
10141
10118
  label,
10142
10119
  name,
@@ -10162,16 +10139,19 @@ class FormItem extends React__default.Component {
10162
10139
  onClick: (e2) => this.props.onClick && this.props.onClick(e2, this.componentRef)
10163
10140
  },
10164
10141
  label ? /* @__PURE__ */ React__default.createElement("div", { className: "nut-cell-title nut-form-item-label" }, renderLabel) : null,
10165
- /* @__PURE__ */ React__default.createElement("div", { className: "nut-cell-value nut-form-item-body" }, /* @__PURE__ */ React__default.createElement("div", { className: "nut-form-item-body-slots" }, childNode), item && item.length > 0 && /* @__PURE__ */ React__default.createElement(
10142
+ /* @__PURE__ */ React__default.createElement("div", { className: "nut-cell-value nut-form-item-body" }, /* @__PURE__ */ React__default.createElement("div", { className: "nut-form-item-body-slots" }, childNode), /* @__PURE__ */ React__default.createElement(
10166
10143
  "div",
10167
10144
  {
10168
10145
  className: "nut-form-item-body-tips",
10169
- style: { textAlign: errorMessageAlign }
10146
+ style: {
10147
+ textAlign: errorMessageAlign,
10148
+ display: (item == null ? void 0 : item.length) ? "initial" : "none"
10149
+ }
10170
10150
  },
10171
- item[0].message
10151
+ (_a = item == null ? void 0 : item[0]) == null ? void 0 : _a.message
10172
10152
  ))
10173
10153
  );
10174
- });
10154
+ };
10175
10155
  this.componentRef = React__default.createRef();
10176
10156
  this.state = {
10177
10157
  resetCount: 1
@@ -10204,9 +10184,10 @@ class FormItem extends React__default.Component {
10204
10184
  }
10205
10185
  return /* @__PURE__ */ React__default.createElement(React__default.Fragment, { key: this.state.resetCount }, this.props.noStyle ? returnChildNode : this.renderLayout(returnChildNode));
10206
10186
  }
10207
- }
10208
- __publicField(FormItem, "defaultProps", defaultProps$Y);
10209
- __publicField(FormItem, "contextType", Context);
10187
+ };
10188
+ _FormItem.defaultProps = defaultProps$Y;
10189
+ _FormItem.contextType = Context;
10190
+ let FormItem = _FormItem;
10210
10191
  const InnerForm = Form;
10211
10192
  InnerForm.Item = FormItem;
10212
10193
  InnerForm.useForm = useForm;
@@ -10434,6 +10415,7 @@ const defaultProps$W = {
10434
10415
  allowEmpty: false,
10435
10416
  min: 1,
10436
10417
  max: 9999,
10418
+ type: "digit",
10437
10419
  step: 1,
10438
10420
  digits: 0,
10439
10421
  async: false
@@ -10445,6 +10427,7 @@ const InputNumber = (props) => {
10445
10427
  disabled,
10446
10428
  min,
10447
10429
  max,
10430
+ type: type4,
10448
10431
  readOnly,
10449
10432
  value,
10450
10433
  defaultValue,
@@ -10480,6 +10463,7 @@ const InputNumber = (props) => {
10480
10463
  const [shadowValue, setShadowValue] = usePropsValue({
10481
10464
  value: typeof value === "string" ? parseFloat(value) : value,
10482
10465
  defaultValue: typeof defaultValue === "string" ? parseFloat(defaultValue) : defaultValue,
10466
+ finalValue: 0,
10483
10467
  onChange: (value2) => {
10484
10468
  }
10485
10469
  });
@@ -10602,9 +10586,9 @@ const InputNumber = (props) => {
10602
10586
  "input",
10603
10587
  {
10604
10588
  className: "nut-number-input",
10605
- type: "digit",
10589
+ type: type4,
10606
10590
  ref: inputRef,
10607
- inputMode: "decimal",
10591
+ inputMode: type4 === "digit" ? "decimal" : "numeric",
10608
10592
  disabled,
10609
10593
  readOnly,
10610
10594
  value: inputValue,
@@ -11364,6 +11348,7 @@ const defaultProps$Q = {
11364
11348
  marks: {}
11365
11349
  };
11366
11350
  const Range = (props) => {
11351
+ const rtl = useRtl();
11367
11352
  const {
11368
11353
  className,
11369
11354
  range: range3,
@@ -11476,15 +11461,17 @@ const Range = (props) => {
11476
11461
  transition: dragStatus ? "none" : void 0
11477
11462
  };
11478
11463
  }
11464
+ const dir = rtl ? "right" : "left";
11479
11465
  return {
11480
11466
  width: calcMainAxis(),
11481
- left: calcOffset(),
11467
+ [dir]: calcOffset(),
11482
11468
  transition: dragStatus ? "none" : void 0
11483
11469
  };
11484
11470
  };
11485
11471
  const marksStyle = (mark) => {
11472
+ const dir = rtl ? "right" : "left";
11486
11473
  let style = {
11487
- left: `${(mark - min) / scope() * 100}%`
11474
+ [dir]: `${(mark - min) / scope() * 100}%`
11488
11475
  };
11489
11476
  if (vertical) {
11490
11477
  style = {
@@ -11575,6 +11562,7 @@ const Range = (props) => {
11575
11562
  let delta = touch.deltaX.current;
11576
11563
  let total = rect.width;
11577
11564
  let diff = delta / total * scope();
11565
+ diff = rtl ? -diff : diff;
11578
11566
  if (vertical) {
11579
11567
  delta = touch.deltaY.current;
11580
11568
  total = rect.height;
@@ -12438,22 +12426,14 @@ TextArea.defaultProps = defaultProps$K;
12438
12426
  TextArea.displayName = "NutTextArea";
12439
12427
  class UploadOptions {
12440
12428
  constructor() {
12441
- __publicField(this, "url", "");
12442
- __publicField(this, "name", "file");
12443
- __publicField(this, "fileType", "image");
12444
- __publicField(this, "formData");
12445
- __publicField(this, "sourceFile");
12446
- __publicField(this, "method", "post");
12447
- __publicField(this, "xhrState", 200);
12448
- __publicField(this, "timeout", 30 * 1e3);
12449
- __publicField(this, "headers", {});
12450
- __publicField(this, "withCredentials", false);
12451
- __publicField(this, "onStart");
12452
- __publicField(this, "taroFilePath");
12453
- __publicField(this, "onProgress");
12454
- __publicField(this, "onSuccess");
12455
- __publicField(this, "onFailure");
12456
- __publicField(this, "beforeXhrUpload");
12429
+ this.url = "";
12430
+ this.name = "file";
12431
+ this.fileType = "image";
12432
+ this.method = "post";
12433
+ this.xhrState = 200;
12434
+ this.timeout = 30 * 1e3;
12435
+ this.headers = {};
12436
+ this.withCredentials = false;
12457
12437
  }
12458
12438
  }
12459
12439
  const UPLOADING = "uploading";
@@ -12461,7 +12441,6 @@ const SUCCESS = "success";
12461
12441
  const ERROR = "error";
12462
12442
  class Upload {
12463
12443
  constructor(options) {
12464
- __publicField(this, "options");
12465
12444
  this.options = options;
12466
12445
  }
12467
12446
  upload() {
@@ -12591,18 +12570,11 @@ const funcInterceptor = (interceptor, {
12591
12570
  };
12592
12571
  class FileItem {
12593
12572
  constructor() {
12594
- __publicField(this, "status", "ready");
12595
- __publicField(this, "message", "准备中..");
12596
- __publicField(this, "uid", (/* @__PURE__ */ new Date()).getTime().toString());
12597
- __publicField(this, "name");
12598
- __publicField(this, "url");
12599
- __publicField(this, "type");
12600
- __publicField(this, "path");
12601
- __publicField(this, "percentage", 0);
12602
- __publicField(this, "formData", {});
12603
- __publicField(this, "responseText");
12604
- __publicField(this, "loadingIcon");
12605
- __publicField(this, "failIcon");
12573
+ this.status = "ready";
12574
+ this.message = "准备中..";
12575
+ this.uid = (/* @__PURE__ */ new Date()).getTime().toString();
12576
+ this.percentage = 0;
12577
+ this.formData = {};
12606
12578
  }
12607
12579
  }
12608
12580
  const defaultProps$J = {
@@ -12613,6 +12585,7 @@ const defaultProps$J = {
12613
12585
  delay: 0
12614
12586
  };
12615
12587
  const Progress = (props) => {
12588
+ const rtl = useRtl();
12616
12589
  const {
12617
12590
  className,
12618
12591
  style,
@@ -12662,7 +12635,7 @@ const Progress = (props) => {
12662
12635
  "div",
12663
12636
  {
12664
12637
  className: `${classPrefix2}-text`,
12665
- style: { left: `${displayPercent}%` }
12638
+ style: rtl ? { right: `${displayPercent}%` } : { left: `${displayPercent}%` }
12666
12639
  },
12667
12640
  children || /* @__PURE__ */ React__default.createElement(
12668
12641
  "div",
@@ -15445,7 +15418,7 @@ const CountUp = (props) => {
15445
15418
  CountUp.defaultProps = defaultProps$r;
15446
15419
  CountUp.displayName = "NutCountUp";
15447
15420
  const defaultProps$q = {};
15448
- class AnimatingNumbers extends Component {
15421
+ const _AnimatingNumbers = class _AnimatingNumbers extends Component {
15449
15422
  constructor(props) {
15450
15423
  super(props);
15451
15424
  this.state = {};
@@ -15453,10 +15426,11 @@ class AnimatingNumbers extends Component {
15453
15426
  render() {
15454
15427
  return /* @__PURE__ */ React__default.createElement("div", { className: "nut-animatingnumbers" });
15455
15428
  }
15456
- }
15457
- __publicField(AnimatingNumbers, "defaultProps", defaultProps$q);
15458
- __publicField(AnimatingNumbers, "displayName", "NutAnimatingNumbers");
15459
- __publicField(AnimatingNumbers, "CountUp", CountUp);
15429
+ };
15430
+ _AnimatingNumbers.defaultProps = defaultProps$q;
15431
+ _AnimatingNumbers.displayName = "NutAnimatingNumbers";
15432
+ _AnimatingNumbers.CountUp = CountUp;
15433
+ let AnimatingNumbers = _AnimatingNumbers;
15460
15434
  AnimatingNumbers.CountUp = CountUp;
15461
15435
  const defaultProps$p = {
15462
15436
  ...ComponentDefaults,
@@ -17634,8 +17608,7 @@ const getTaroRectById = (id) => {
17634
17608
  };
17635
17609
  const defaultConfigRef = {
17636
17610
  current: {
17637
- locale: zhCN,
17638
- direction: "ltr"
17611
+ locale: zhCN
17639
17612
  }
17640
17613
  };
17641
17614
  const getDefaultConfig = () => {