@nutui/nutui-react-taro 2.6.3 → 2.6.5

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 (191) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/esm/ActionSheet.js +1 -1
  3. package/dist/esm/Address.js +1 -1
  4. package/dist/esm/Animate.js +1 -1
  5. package/dist/esm/Audio.js +1 -1
  6. package/dist/esm/Avatar.js +1 -1
  7. package/dist/esm/AvatarCropper.js +1 -1
  8. package/dist/esm/AvatarGroup.js +1 -1
  9. package/dist/esm/BackTop.js +1 -1
  10. package/dist/esm/Badge.js +1 -1
  11. package/dist/esm/Barrage.js +1 -1
  12. package/dist/esm/Calendar.js +1 -1
  13. package/dist/esm/CalendarCard.js +1 -1
  14. package/dist/esm/CalendarItem.js +1 -1
  15. package/dist/esm/Card.js +1 -1
  16. package/dist/esm/Cascader.js +1 -1
  17. package/dist/esm/Cell.js +1 -1
  18. package/dist/esm/CellGroup.js +1 -1
  19. package/dist/esm/Checkbox.js +1 -1
  20. package/dist/esm/CheckboxGroup.js +1 -1
  21. package/dist/esm/CircleProgress.js +1 -1
  22. package/dist/esm/Col.js +1 -1
  23. package/dist/esm/Collapse.js +1 -1
  24. package/dist/esm/CollapseItem.js +1 -1
  25. package/dist/esm/CountDown.js +1 -1
  26. package/dist/esm/DatePicker.js +1 -1
  27. package/dist/esm/Dialog.js +1 -1
  28. package/dist/esm/Divider.js +1 -1
  29. package/dist/esm/Drag.js +1 -1
  30. package/dist/esm/Elevator.js +1 -1
  31. package/dist/esm/Ellipsis.js +1 -1
  32. package/dist/esm/Empty.js +1 -1
  33. package/dist/esm/FixedNav.js +1 -1
  34. package/dist/esm/Form.js +2 -3
  35. package/dist/esm/FormItem.js +1 -1
  36. package/dist/esm/Grid.js +1 -1
  37. package/dist/esm/GridItem.js +1 -1
  38. package/dist/esm/Image.js +1 -1
  39. package/dist/esm/ImagePreview.js +1 -1
  40. package/dist/esm/Indicator.js +1 -1
  41. package/dist/esm/InfiniteLoading.js +1 -1
  42. package/dist/esm/Input.js +1 -1
  43. package/dist/esm/InputNumber.js +1 -1
  44. package/dist/esm/Layout.js +1 -1
  45. package/dist/esm/Loading.js +1 -1
  46. package/dist/esm/Menu/style/style.css +1 -1
  47. package/dist/esm/Menu.js +1 -1
  48. package/dist/esm/MenuItem/style/style.css +1 -1
  49. package/dist/esm/MenuItem.js +1 -1
  50. package/dist/esm/NavBar.js +1 -1
  51. package/dist/esm/NoticeBar.js +1 -1
  52. package/dist/esm/NumberKeyboard.js +1 -1
  53. package/dist/esm/Overlay.js +1 -1
  54. package/dist/esm/Pagination.js +1 -1
  55. package/dist/esm/Picker.js +1 -1
  56. package/dist/esm/Popover.js +1 -1
  57. package/dist/esm/Popup.js +1 -1
  58. package/dist/esm/Price.js +1 -1
  59. package/dist/esm/Progress.js +1 -1
  60. package/dist/esm/Range.js +1 -1
  61. package/dist/esm/Rate.js +1 -1
  62. package/dist/esm/Row.js +1 -1
  63. package/dist/esm/SafeArea.js +1 -1
  64. package/dist/esm/SearchBar.js +1 -1
  65. package/dist/esm/ShortPassword.js +1 -1
  66. package/dist/esm/SideNavBar.js +1 -1
  67. package/dist/esm/Signature.js +1 -1
  68. package/dist/esm/Skeleton.js +1 -1
  69. package/dist/esm/Space.js +1 -1
  70. package/dist/esm/Step.js +1 -1
  71. package/dist/esm/Steps.js +1 -1
  72. package/dist/esm/Sticky.js +1 -1
  73. package/dist/esm/Swiper.js +1 -1
  74. package/dist/esm/Switch.js +1 -1
  75. package/dist/esm/Tabbar.js +1 -1
  76. package/dist/esm/TabbarItem.js +1 -1
  77. package/dist/esm/Table/style/style.css +1 -1
  78. package/dist/esm/Table.js +1 -1
  79. package/dist/esm/Tabs.js +1 -1
  80. package/dist/esm/Tag.js +1 -1
  81. package/dist/esm/TextArea.js +1 -1
  82. package/dist/esm/TimeDetail.js +1 -1
  83. package/dist/esm/TimeSelect.js +1 -1
  84. package/dist/esm/Toast.js +1 -1
  85. package/dist/esm/Tour.js +1 -1
  86. package/dist/esm/TrendArrow.js +1 -1
  87. package/dist/esm/Uploader.js +1 -1
  88. package/dist/esm/Video.js +1 -1
  89. package/dist/esm/VirtualList.js +1 -1
  90. package/dist/esm/WaterMark.js +1 -1
  91. package/dist/esm/{actionsheet.taro-Dpjoa3xo.js → actionsheet.taro-CI2b9f_3.js} +1 -2
  92. package/dist/esm/{address.taro-C_wuRkKQ.js → address.taro-6VS1YZ0V.js} +2 -3
  93. package/dist/esm/{animate.taro-Dg9jxZEu.js → animate.taro-D-A6ORRZ.js} +0 -1
  94. package/dist/esm/{audio.taro-2hRKQ2Lk.js → audio.taro-4ixA5lb2.js} +1 -1
  95. package/dist/esm/{avatar.taro-a6CX3kxV.js → avatar.taro-Dx8hhvFI.js} +4 -5
  96. package/dist/esm/{avatarcropper.taro-Dd4pAR3N.js → avatarcropper.taro-C9BoO5Lp.js} +0 -1
  97. package/dist/esm/{avatargroup.taro-bpT5kPbf.js → avatargroup.taro-ScakjsY1.js} +0 -1
  98. package/dist/esm/{backtop.taro-X1X5Uzz5.js → backtop.taro-YeEY7i4O.js} +0 -1
  99. package/dist/esm/{badge.taro-B0spW6jr.js → badge.taro-DK_UFQ5Y.js} +0 -1
  100. package/dist/esm/{barrage.taro-BNOcZsJ1.js → barrage.taro-DEJGSmY5.js} +0 -1
  101. package/dist/esm/{calendar.taro-DEsLc-lS.js → calendar.taro-CDZqFYlk.js} +2 -3
  102. package/dist/esm/{calendarcard.taro-C7P3oqAL.js → calendarcard.taro-CHDg3k5D.js} +0 -1
  103. package/dist/esm/{calendaritem.taro-B8tN2DYa.js → calendaritem.taro-DuEKmnsT.js} +3 -4
  104. package/dist/esm/{card.taro-FRirz5pW.js → card.taro-Co0BZGJI.js} +2 -3
  105. package/dist/esm/{cascader.taro-B06E-RW5.js → cascader.taro-CZkUgupN.js} +6 -7
  106. package/dist/esm/{cell.taro-CmI4m0SC.js → cell.taro-kOgCGbyn.js} +1 -2
  107. package/dist/esm/{cellgroup.taro-CYsSk-Bt.js → cellgroup.taro-BskBIgql.js} +0 -1
  108. package/dist/esm/{checkbox.taro-CUpF7Afr.js → checkbox.taro-DOSOI351.js} +2 -3
  109. package/dist/esm/{circleprogress.taro-CKSrzt8Q.js → circleprogress.taro-BuVTD1iY.js} +7 -9
  110. package/dist/esm/{col.taro-C8DUuJYh.js → col.taro-BdtbWacE.js} +0 -1
  111. package/dist/esm/{collapse.taro-BM0BsN30.js → collapse.taro-CxDgckv5.js} +1 -2
  112. package/dist/esm/{collapseitem.taro-D_m4VEdG.js → collapseitem.taro-BY06WWvK.js} +0 -1
  113. package/dist/esm/{countdown.taro-wopKr1Il.js → countdown.taro-CdEiAwr5.js} +0 -1
  114. package/dist/esm/{datepicker.taro-DEwb5whP.js → datepicker.taro-B7H4b8TO.js} +1 -1
  115. package/dist/esm/{dialog.taro-x_jRYew5.js → dialog.taro-Du4bNKvD.js} +1 -1
  116. package/dist/esm/{divider.taro-DRcO_m9e.js → divider.taro-CijVuCyt.js} +0 -1
  117. package/dist/esm/{drag.taro-CcHIO07Y.js → drag.taro-D6xGnWqk.js} +3 -4
  118. package/dist/esm/{elevator.taro-uhrF7ChY.js → elevator.taro-BzVoaYw6.js} +0 -1
  119. package/dist/esm/{ellipsis.taro-3gDXpBmX.js → ellipsis.taro-dxOx8h7S.js} +0 -1
  120. package/dist/esm/{empty.taro-C61QNHep.js → empty.taro-DgmUYpBc.js} +0 -1
  121. package/dist/esm/{fixednav.taro-CJUDQcX1.js → fixednav.taro-CewDiT-u.js} +1 -2
  122. package/dist/esm/{formitem.taro-DDNlpN_O.js → formitem.taro-Y-hHJ2oh.js} +1 -1
  123. package/dist/esm/{grid.taro-BA76RrgT.js → grid.taro-C4xSMhg4.js} +1 -2
  124. package/dist/esm/{griditem.taro-JLddv9zD.js → griditem.taro-DeXl7qNi.js} +0 -1
  125. package/dist/esm/{image.taro-BLz2WCva.js → image.taro-ESa7sdbM.js} +0 -1
  126. package/dist/esm/{imagepreview.taro-BMlwAhT0.js → imagepreview.taro-Wdlb0tIh.js} +10 -12
  127. package/dist/esm/{indicator.taro-CpHZtD9p.js → indicator.taro-Bmae9MdC.js} +0 -1
  128. package/dist/esm/{infiniteloading.taro-WiMpG-fU.js → infiniteloading.taro-Bnm-LVHC.js} +0 -1
  129. package/dist/esm/{input.taro-CAZ-rRMH.js → input.taro-sviVz6LS.js} +8 -13
  130. package/dist/esm/{inputnumber.taro-HU_Ndna2.js → inputnumber.taro-ByJ9DlU2.js} +0 -1
  131. package/dist/esm/{layout.taro-BE2868d6.js → layout.taro-C-aUcOOE.js} +0 -1
  132. package/dist/esm/{loading.taro-CRF1z5wQ.js → loading.taro-BfHqvYhy.js} +0 -1
  133. package/dist/esm/{menu.taro-J7oZoaGM.js → menu.taro-DkKY62ym.js} +1 -2
  134. package/dist/esm/{menuitem.taro-CaI5vTha.js → menuitem.taro-CKjl8_Cl.js} +2 -3
  135. package/dist/esm/{navbar.taro-B8u3DOE4.js → navbar.taro-COrKuU9p.js} +0 -1
  136. package/dist/esm/{noticebar.taro-BtudzdMD.js → noticebar.taro-cjVGemZE.js} +0 -1
  137. package/dist/esm/{numberkeyboard.taro-DjxjkImT.js → numberkeyboard.taro-CFJtMOew.js} +2 -3
  138. package/dist/esm/nutui-react.es.js +83 -83
  139. package/dist/esm/{overlay.taro--1Kf1D7C.js → overlay.taro-BJ3twlP0.js} +1 -2
  140. package/dist/esm/{pagination.taro-DAK6ddag.js → pagination.taro-B8hmHNgf.js} +0 -1
  141. package/dist/esm/{picker.taro-DR2HAkv6.js → picker.taro-CHsDIw4C.js} +2 -3
  142. package/dist/esm/{popover.taro-MnR5htLt.js → popover.taro-Dve2UnRF.js} +4 -6
  143. package/dist/esm/{popup.taro-B7_iPgl4.js → popup.taro-cT6cbAxw.js} +1 -2
  144. package/dist/esm/{price.taro-UVRHPHRD.js → price.taro-DdR5NSIA.js} +0 -1
  145. package/dist/esm/{progress.taro-rjiPI6mD.js → progress.taro-BFWQ2MvM.js} +0 -1
  146. package/dist/esm/{range.taro-CsC41L60.js → range.taro-BeVCaZ4r.js} +0 -1
  147. package/dist/esm/{rate.taro-BABLqt4h.js → rate.taro-lOoACxLq.js} +0 -1
  148. package/dist/esm/{row.taro-C3YvH_nz.js → row.taro-ItEq1Bi5.js} +0 -1
  149. package/dist/esm/{safearea.taro-BMQHr7tu.js → safearea.taro-BJpvFsMf.js} +1 -0
  150. package/dist/esm/{searchbar.taro-PfVx6o-6.js → searchbar.taro-B31m8apz.js} +6 -7
  151. package/dist/esm/{shortpassword.taro-GkcE-e__.js → shortpassword.taro-BVp4BrTs.js} +3 -3
  152. package/dist/esm/{sidenavbar.taro-5d-6iiNq.js → sidenavbar.taro-DGnJgxEe.js} +5 -6
  153. package/dist/esm/{signature.taro-Bn9VNn62.js → signature.taro-DTZCZMDZ.js} +1 -2
  154. package/dist/esm/{skeleton.taro-BwIDIf2p.js → skeleton.taro-C3vp7bWb.js} +1 -2
  155. package/dist/esm/{space.taro-CZ999etm.js → space.taro-B1KsEPZL.js} +0 -1
  156. package/dist/esm/{step.taro-DLr2GzYk.js → step.taro-CaRHnSOF.js} +0 -1
  157. package/dist/esm/{steps.taro-C8Yg1Sns.js → steps.taro-BoVGFMxx.js} +1 -2
  158. package/dist/esm/{sticky.taro-DRBk3gkQ.js → sticky.taro-CqiMtDv9.js} +0 -1
  159. package/dist/esm/{switch.taro-D1HgJoJz.js → switch.taro-Mq1wBEGz.js} +0 -1
  160. package/dist/esm/{tabbar.taro-CVp3ZaqP.js → tabbar.taro-DD5HcQgp.js} +1 -2
  161. package/dist/esm/{tabbaritem.taro-C_90fvMh.js → tabbaritem.taro-ptdJI0xv.js} +1 -1
  162. package/dist/esm/{table.taro-ClLmfqz3.js → table.taro-EwAQJ6jp.js} +1 -2
  163. package/dist/esm/{tabs.taro-B4XgogPx.js → tabs.taro-gcyv8qGG.js} +4 -5
  164. package/dist/esm/{tag.taro-rKMK0jan.js → tag.taro-CFt28RLm.js} +0 -1
  165. package/dist/esm/{textarea.taro-BJIFCpKb.js → textarea.taro-DLS0EQeJ.js} +0 -1
  166. package/dist/esm/{timedetail.taro-x6Zey1xi.js → timedetail.taro-ya5JNy2L.js} +0 -1
  167. package/dist/esm/{timeselect.taro-DkdpBJlT.js → timeselect.taro-C64SUiXS.js} +2 -3
  168. package/dist/esm/{toast.taro-B0YEmeDn.js → toast.taro-CSqE0aIO.js} +1 -1
  169. package/dist/esm/{tour.taro-CdX6pugO.js → tour.taro-DegQCG1T.js} +1 -2
  170. package/dist/esm/{trendarrow.taro-BHUetKSS.js → trendarrow.taro-B2QGvXG0.js} +0 -1
  171. package/dist/esm/{uploader.taro-DMmTl0Cp.js → uploader.taro-BE4c5x9T.js} +4 -5
  172. package/dist/esm/{video.taro-DJQeroOH.js → video.taro-Bm5bDmIG.js} +0 -1
  173. package/dist/esm/{virtuallist.taro-Cl08vfdg.js → virtuallist.taro-GLen2Ay5.js} +1 -4
  174. package/dist/esm/{watermark.taro-BxM8VfXb.js → watermark.taro-BL5bLewc.js} +0 -1
  175. package/dist/locales/base.js +1 -1
  176. package/dist/locales/en-US.js +1 -1
  177. package/dist/locales/id-ID.js +1 -1
  178. package/dist/locales/tr-TR.js +1 -1
  179. package/dist/locales/zh-CN.js +1 -1
  180. package/dist/locales/zh-TW.js +1 -1
  181. package/dist/locales/zh-UG.js +1 -1
  182. package/dist/nutui.react.es.js +158 -242
  183. package/dist/nutui.react.umd.js +158 -242
  184. package/dist/packages/menu/menu.scss +1 -0
  185. package/dist/packages/menuitem/menuitem.scss +1 -0
  186. package/dist/packages/table/table.scss +2 -1
  187. package/dist/style.css +1 -1
  188. package/dist/style.mjs +1 -1
  189. package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +5 -1
  190. package/package.json +1 -1
  191. package/dist/types/utils/use-lock-fn.d.ts +0 -2
@@ -2,7 +2,7 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("@tarojs/taro"), require("@tarojs/components"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "@tarojs/taro", "@tarojs/components", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory((global2.nutui = global2.nutui || {}, global2.nutui.react = {}), global2.React, global2.Taro, global2.components, global2.ReactDOM));
3
3
  })(this, function(exports2, React, Taro, components, ReactDOM) {
4
4
  "use strict";/*!
5
- * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:14 GMT+0800 (China Standard Time)
5
+ * @nutui/nutui-react-taro v2.6.5 Fri May 17 2024 15:39:38 GMT+0800 (China Standard Time)
6
6
  * (c) 2023 @jdf2e.
7
7
  * Released under the MIT License.
8
8
  */
@@ -213,7 +213,7 @@
213
213
  style: {}
214
214
  };
215
215
  const prefixCls$2 = "nut-button";
216
- const defaultProps$1w = {
216
+ const defaultProps$1v = {
217
217
  ...ComponentDefaults,
218
218
  color: "",
219
219
  type: "default",
@@ -247,7 +247,7 @@
247
247
  onClick,
248
248
  ...rest
249
249
  } = {
250
- ...defaultProps$1w,
250
+ ...defaultProps$1v,
251
251
  ...props
252
252
  };
253
253
  const getStyle = React.useCallback(() => {
@@ -313,7 +313,7 @@
313
313
  );
314
314
  Button.displayName = "NutButton";
315
315
  const CellGroupContext = React.createContext(null);
316
- const defaultProps$1v = {
316
+ const defaultProps$1u = {
317
317
  ...ComponentDefaults,
318
318
  title: "",
319
319
  description: "",
@@ -322,7 +322,7 @@
322
322
  const classPrefix$r = "nut-cell-group";
323
323
  const CellGroup = (props) => {
324
324
  const { children, className, title, description, divider, ...rest } = {
325
- ...defaultProps$1v,
325
+ ...defaultProps$1u,
326
326
  ...props
327
327
  };
328
328
  return /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix$r, className), ...rest }, title ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$r}-title` }, title) : null, description ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$r}-description` }, description) : null, /* @__PURE__ */ React.createElement(
@@ -333,9 +333,8 @@
333
333
  /* @__PURE__ */ React.createElement(CellGroupContext.Provider, { value: { divider } }, children)
334
334
  ));
335
335
  };
336
- CellGroup.defaultProps = defaultProps$1v;
337
336
  CellGroup.displayName = "NutCellGroup";
338
- const defaultProps$1u = {
337
+ const defaultProps$1t = {
339
338
  ...ComponentDefaults,
340
339
  title: null,
341
340
  description: null,
@@ -360,7 +359,7 @@
360
359
  style,
361
360
  ...rest
362
361
  } = {
363
- ...defaultProps$1u,
362
+ ...defaultProps$1t,
364
363
  ...props
365
364
  };
366
365
  const handleClick = (event) => {
@@ -393,7 +392,6 @@
393
392
  (ctx == null ? void 0 : ctx.divider) ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$q}-divider` }) : null
394
393
  );
395
394
  };
396
- Cell.defaultProps = defaultProps$1u;
397
395
  Cell.displayName = "NutCell";
398
396
  Cell.Group = CellGroup;
399
397
  var INFINITY = 1 / 0;
@@ -1539,7 +1537,7 @@
1539
1537
  const pxCheck = (value) => {
1540
1538
  return Number.isNaN(Number(value)) ? String(value) : `${value}px`;
1541
1539
  };
1542
- const defaultProps$1t = {
1540
+ const defaultProps$1s = {
1543
1541
  src: "",
1544
1542
  error: true,
1545
1543
  loading: true
@@ -1558,7 +1556,7 @@
1558
1556
  onLoad,
1559
1557
  onError,
1560
1558
  ...rest
1561
- } = { ...defaultProps$1t, ...props };
1559
+ } = { ...defaultProps$1s, ...props };
1562
1560
  const [innerLoading, setInnerLoading] = React.useState(true);
1563
1561
  const [isError, setIsError] = React.useState(false);
1564
1562
  const handleLoad = (e2) => {
@@ -1618,7 +1616,6 @@
1618
1616
  }
1619
1617
  ), renderLoading(), renderErrorImg());
1620
1618
  };
1621
- Image$1.defaultProps = defaultProps$1t;
1622
1619
  Image$1.displayName = "NutImage";
1623
1620
  function _extends$1() {
1624
1621
  _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
@@ -3564,7 +3561,7 @@
3564
3561
  };
3565
3562
  const classPrefix2 = `nut-overlay`;
3566
3563
  const [innerVisible, setInnerVisible] = React.useState(visible);
3567
- const nodeRef = useLockScrollTaro(!!props.lockScroll && innerVisible);
3564
+ const nodeRef = useLockScrollTaro(!!lockScroll && innerVisible);
3568
3565
  React.useEffect(() => {
3569
3566
  if (visible) {
3570
3567
  setInnerVisible(true);
@@ -3612,10 +3609,9 @@
3612
3609
  )
3613
3610
  ));
3614
3611
  };
3615
- Overlay.defaultProps = defaultOverlayProps;
3616
3612
  Overlay.displayName = "NutOverlay";
3617
3613
  const DataContext$1 = React.createContext({});
3618
- const defaultProps$1s = {
3614
+ const defaultProps$1r = {
3619
3615
  ...ComponentDefaults,
3620
3616
  span: "24",
3621
3617
  offset: "0",
@@ -3623,7 +3619,7 @@
3623
3619
  };
3624
3620
  const Col = (props) => {
3625
3621
  const { className, style, span, offset, children, onClick } = {
3626
- ...defaultProps$1s,
3622
+ ...defaultProps$1r,
3627
3623
  ...props
3628
3624
  };
3629
3625
  const [colName, setColName] = React.useState("");
@@ -3655,9 +3651,8 @@
3655
3651
  children
3656
3652
  );
3657
3653
  };
3658
- Col.defaultProps = defaultProps$1s;
3659
3654
  Col.displayName = "NutCol";
3660
- const defaultProps$1r = {
3655
+ const defaultProps$1q = {
3661
3656
  ...ComponentDefaults,
3662
3657
  contentPosition: "center",
3663
3658
  direction: "horizontal"
@@ -3665,7 +3660,7 @@
3665
3660
  const classPrefix$o = `nut-divider`;
3666
3661
  const Divider = (props) => {
3667
3662
  const { children, contentPosition, style, className, direction, ...rest } = {
3668
- ...defaultProps$1r,
3663
+ ...defaultProps$1q,
3669
3664
  ...props
3670
3665
  };
3671
3666
  const classes = direction === "horizontal" ? classNames({
@@ -3680,14 +3675,13 @@
3680
3675
  });
3681
3676
  return /* @__PURE__ */ React.createElement("div", { className: `${classes} ${className || ""}`, style, ...rest }, children);
3682
3677
  };
3683
- Divider.defaultProps = defaultProps$1r;
3684
3678
  Divider.displayName = "NutDivider";
3685
3679
  const gridContext = {
3686
3680
  onClick: (item, index) => {
3687
3681
  }
3688
3682
  };
3689
3683
  const GridContext = React.createContext(gridContext);
3690
- const defaultProps$1q = {
3684
+ const defaultProps$1p = {
3691
3685
  text: "",
3692
3686
  columns: 4,
3693
3687
  gap: 0,
@@ -3713,7 +3707,7 @@
3713
3707
  onClick,
3714
3708
  ...rest
3715
3709
  } = {
3716
- ...defaultProps$1q,
3710
+ ...defaultProps$1p,
3717
3711
  ...props
3718
3712
  };
3719
3713
  const classPrefix2 = "nut-grid-item";
@@ -3771,9 +3765,8 @@
3771
3765
  /* @__PURE__ */ React.createElement("div", { className: contentClass() }, children && /* @__PURE__ */ React.createElement(React.Fragment, null, children), text && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-text` }, text))
3772
3766
  );
3773
3767
  };
3774
- GridItem.defaultProps = defaultProps$1q;
3775
3768
  GridItem.displayName = "NutGridItem";
3776
- const defaultProps$1p = {
3769
+ const defaultProps$1o = {
3777
3770
  columns: 4,
3778
3771
  gap: 0,
3779
3772
  center: true,
@@ -3794,7 +3787,7 @@
3794
3787
  className,
3795
3788
  onClick,
3796
3789
  ...rest
3797
- } = { ...defaultProps$1p, ...props };
3790
+ } = { ...defaultProps$1o, ...props };
3798
3791
  const childrenDom = React.Children.toArray(children);
3799
3792
  const classPrefix2 = "nut-grid";
3800
3793
  const rootClass = () => {
@@ -3828,18 +3821,16 @@
3828
3821
  });
3829
3822
  })));
3830
3823
  };
3831
- Grid.defaultProps = defaultProps$1p;
3832
3824
  Grid.displayName = "NutGrid";
3833
3825
  Grid.Item = GridItem;
3834
- const defaultProps$1o = {};
3826
+ const defaultProps$1n = {};
3835
3827
  const Layout = (props) => {
3836
- ({ ...defaultProps$1o, ...props });
3828
+ ({ ...defaultProps$1n, ...props });
3837
3829
  return /* @__PURE__ */ React.createElement("div", { className: "nut-layout" }, "Layout");
3838
3830
  };
3839
- Layout.defaultProps = defaultProps$1o;
3840
3831
  Layout.displayName = "NutLayout";
3841
3832
  const classPrefix$n = "nut-row";
3842
- const defaultProps$1n = {
3833
+ const defaultProps$1m = {
3843
3834
  ...ComponentDefaults,
3844
3835
  type: "",
3845
3836
  justify: "start",
@@ -3859,7 +3850,7 @@
3859
3850
  gutter,
3860
3851
  onClick
3861
3852
  } = {
3862
- ...defaultProps$1n,
3853
+ ...defaultProps$1m,
3863
3854
  ...props
3864
3855
  };
3865
3856
  const getClass = (prefix, type22) => {
@@ -3891,15 +3882,14 @@
3891
3882
  children
3892
3883
  ));
3893
3884
  };
3894
- Row.defaultProps = defaultProps$1n;
3895
3885
  Row.displayName = "NutRow";
3896
3886
  const prefixCls$1 = "nut-space";
3897
- const defaultProps$1m = {
3887
+ const defaultProps$1l = {
3898
3888
  direction: "horizontal"
3899
3889
  };
3900
3890
  const Space = (props) => {
3901
3891
  const { className, style, children, wrap, align, direction, justify } = {
3902
- ...defaultProps$1m,
3892
+ ...defaultProps$1l,
3903
3893
  ...props
3904
3894
  };
3905
3895
  const cls = classNames(
@@ -3914,7 +3904,6 @@
3914
3904
  return child !== null && child !== void 0 && /* @__PURE__ */ React.createElement("div", { className: `${prefixCls$1}-item` }, child);
3915
3905
  }));
3916
3906
  };
3917
- Space.defaultProps = defaultProps$1m;
3918
3907
  Space.displayName = "NutSpace";
3919
3908
  function useWatch(dep, callback, config2 = { immediate: false }) {
3920
3909
  const { immediate } = config2;
@@ -3992,7 +3981,7 @@
3992
3981
  }
3993
3982
  return Promise.resolve(makeRect(0, 0));
3994
3983
  };
3995
- const defaultProps$1l = {
3984
+ const defaultProps$1k = {
3996
3985
  ...ComponentDefaults,
3997
3986
  position: "top",
3998
3987
  zIndex: 900
@@ -4009,7 +3998,7 @@
4009
3998
  className,
4010
3999
  onChange,
4011
4000
  ...rest
4012
- } = { ...defaultProps$1l, ...props };
4001
+ } = { ...defaultProps$1k, ...props };
4013
4002
  const stickyRef = React.useRef(null);
4014
4003
  const rootRef = React.useRef(null);
4015
4004
  const [rootRect, setRootRect] = React.useState({});
@@ -4115,7 +4104,6 @@
4115
4104
  )
4116
4105
  );
4117
4106
  };
4118
- Sticky.defaultProps = defaultProps$1l;
4119
4107
  Sticky.displayName = "NutSticky";
4120
4108
  const classPrefix$l = "nut-safe-area";
4121
4109
  const SafeArea = (props) => {
@@ -4129,7 +4117,8 @@
4129
4117
  }
4130
4118
  );
4131
4119
  };
4132
- const defaultProps$1k = {
4120
+ SafeArea.displayName = "NutSafeArea";
4121
+ const defaultProps$1j = {
4133
4122
  ...ComponentDefaults,
4134
4123
  threshold: 200,
4135
4124
  zIndex: 900,
@@ -4138,7 +4127,7 @@
4138
4127
  const BackTop = (props) => {
4139
4128
  const rtl = useRtl();
4140
4129
  const { children, threshold, zIndex, className, duration, style, onClick } = {
4141
- ...defaultProps$1k,
4130
+ ...defaultProps$1j,
4142
4131
  ...props
4143
4132
  };
4144
4133
  const classPrefix2 = "nut-backtop";
@@ -4180,10 +4169,9 @@
4180
4169
  children || /* @__PURE__ */ React.createElement(D, { size: 19, className: "nut-backtop-main" })
4181
4170
  );
4182
4171
  };
4183
- BackTop.defaultProps = defaultProps$1k;
4184
4172
  BackTop.displayName = "NutBackTop";
4185
4173
  const elevatorContext = React.createContext({});
4186
- const defaultProps$1j = {
4174
+ const defaultProps$1i = {
4187
4175
  ...ComponentDefaults,
4188
4176
  height: "200px",
4189
4177
  floorKey: "title",
@@ -4210,7 +4198,7 @@
4210
4198
  children,
4211
4199
  ...rest
4212
4200
  } = {
4213
- ...defaultProps$1j,
4201
+ ...defaultProps$1i,
4214
4202
  ...props
4215
4203
  };
4216
4204
  const classPrefix2 = "nut-elevator";
@@ -4425,10 +4413,9 @@
4425
4413
  })
4426
4414
  ))) : null, sticky && scrollY > 0 ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-list-fixed` }, /* @__PURE__ */ React.createElement("span", { className: `${classPrefix2}-list-fixed-title` }, list[codeIndex][floorKey])) : null);
4427
4415
  };
4428
- Elevator.defaultProps = defaultProps$1j;
4429
4416
  Elevator.displayName = "NutElevator";
4430
4417
  Elevator.Context = elevatorContext;
4431
- const defaultProps$1i = {
4418
+ const defaultProps$1h = {
4432
4419
  ...ComponentDefaults,
4433
4420
  activeText: "",
4434
4421
  inactiveText: "",
@@ -4456,7 +4443,7 @@
4456
4443
  content,
4457
4444
  ...rest
4458
4445
  } = {
4459
- ...defaultProps$1i,
4446
+ ...defaultProps$1h,
4460
4447
  ...props
4461
4448
  };
4462
4449
  const classPrefix2 = "nut-fixednav";
@@ -4508,9 +4495,8 @@
4508
4495
  /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-btn`, onClick: () => onUpdateValue() }, content || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(g$5, { color: "#fff" }), /* @__PURE__ */ React.createElement("div", { className: "text" }, visible ? activeText || locale.fixednav.activeText : inactiveText || locale.fixednav.inactiveText)))
4509
4496
  );
4510
4497
  };
4511
- FixedNav.defaultProps = defaultProps$1i;
4512
4498
  FixedNav.displayName = "NutFixedNav";
4513
- const defaultProps$1h = {
4499
+ const defaultProps$1g = {
4514
4500
  ...ComponentDefaults,
4515
4501
  left: "",
4516
4502
  right: "",
@@ -4535,7 +4521,7 @@
4535
4521
  zIndex,
4536
4522
  onBackClick
4537
4523
  } = {
4538
- ...defaultProps$1h,
4524
+ ...defaultProps$1g,
4539
4525
  ...props
4540
4526
  };
4541
4527
  const classPrefix2 = "nut-navbar";
@@ -4613,9 +4599,8 @@
4613
4599
  const cls = classNames(classPrefix2, classes, className);
4614
4600
  return /* @__PURE__ */ React.createElement(React.Fragment, null, fixed && placeholder ? /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-placeholder` }, renderWrapper()) : renderWrapper());
4615
4601
  };
4616
- NavBar.defaultProps = defaultProps$1h;
4617
4602
  NavBar.displayName = "NutNavBar";
4618
- const defaultProps$1g = {
4603
+ const defaultProps$1f = {
4619
4604
  ...ComponentDefaults,
4620
4605
  position: "center",
4621
4606
  transition: "",
@@ -4668,7 +4653,7 @@
4668
4653
  afterShow,
4669
4654
  afterClose,
4670
4655
  onClick
4671
- } = { ...defaultProps$1g, ...props };
4656
+ } = { ...defaultProps$1f, ...props };
4672
4657
  let innerIndex = zIndex || _zIndex;
4673
4658
  const [index, setIndex] = React.useState(innerIndex);
4674
4659
  const [innerVisible, setInnerVisible] = React.useState(visible);
@@ -4808,10 +4793,9 @@
4808
4793
  }, [position, transition]);
4809
4794
  return /* @__PURE__ */ React.createElement(React.Fragment, null, renderToContainer(portal, renderNode()));
4810
4795
  };
4811
- Popup.defaultProps = defaultProps$1g;
4812
4796
  Popup.displayName = "NutPopup";
4813
4797
  const OffsetContext = React.createContext(20);
4814
- const defaultProps$1f = {
4798
+ const defaultProps$1e = {
4815
4799
  ...ComponentDefaults,
4816
4800
  position: "left",
4817
4801
  width: "80%"
@@ -4826,12 +4810,13 @@
4826
4810
  children,
4827
4811
  className,
4828
4812
  onClose,
4813
+ indent,
4829
4814
  ...rest
4830
4815
  } = {
4831
- ...defaultProps$1f,
4816
+ ...defaultProps$1e,
4832
4817
  ...props
4833
4818
  };
4834
- const indent = props.indent ? Number(props.indent) : 20;
4819
+ const innerIndent = indent ? Number(indent) : 20;
4835
4820
  const [sidenavbarShow, setSidenavbarShow] = React.useState(true);
4836
4821
  const handleClick = () => {
4837
4822
  setSidenavbarShow(!sidenavbarShow);
@@ -4854,7 +4839,7 @@
4854
4839
  "div",
4855
4840
  {
4856
4841
  className: `${classPrefix2}-title ${classPrefix2}-border-bt`,
4857
- style: { paddingLeft: `${indent}px` }
4842
+ style: { paddingLeft: `${innerIndent}px` }
4858
4843
  },
4859
4844
  title,
4860
4845
  /* @__PURE__ */ React.createElement(
@@ -4864,11 +4849,10 @@
4864
4849
  }
4865
4850
  )
4866
4851
  ),
4867
- /* @__PURE__ */ React.createElement(OffsetContext.Provider, { value: indent }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, children))
4852
+ /* @__PURE__ */ React.createElement(OffsetContext.Provider, { value: innerIndent }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, children))
4868
4853
  )))
4869
4854
  );
4870
4855
  };
4871
- SideNavBar.defaultProps = defaultProps$1f;
4872
4856
  SideNavBar.displayName = "NutSideNavBar";
4873
4857
  const SideNavBarItem = (props) => {
4874
4858
  const classPrefix2 = "nut-subsidenavbar";
@@ -4887,13 +4871,13 @@
4887
4871
  title
4888
4872
  );
4889
4873
  };
4890
- const defaultProps$1e = {
4874
+ const defaultProps$1d = {
4891
4875
  open: true
4892
4876
  };
4893
4877
  const SubSideNavBar = (props) => {
4894
4878
  const classPrefix2 = "nut-subsidenavbar";
4895
4879
  const { title, value, children, onClick, open: open2, ...rest } = {
4896
- ...defaultProps$1e,
4880
+ ...defaultProps$1d,
4897
4881
  ...props
4898
4882
  };
4899
4883
  const [subShow, setSubShow] = React.useState(open2);
@@ -4971,7 +4955,7 @@
4971
4955
  );
4972
4956
  return [stateRef.current, setState];
4973
4957
  }
4974
- const defaultProps$1d = {
4958
+ const defaultProps$1c = {
4975
4959
  ...ComponentDefaults,
4976
4960
  value: "",
4977
4961
  dot: false,
@@ -4996,7 +4980,7 @@
4996
4980
  color,
4997
4981
  fill
4998
4982
  } = {
4999
- ...defaultProps$1d,
4983
+ ...defaultProps$1c,
5000
4984
  ...props
5001
4985
  };
5002
4986
  const classPrefix2 = "nut-badge";
@@ -5052,10 +5036,9 @@
5052
5036
  };
5053
5037
  return /* @__PURE__ */ React.createElement("div", { className: classes, style }, isIcon() && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon` }, value), children, !isIcon() && /* @__PURE__ */ React.createElement("div", { className: contentClasses, style: getStyle() }, content()));
5054
5038
  };
5055
- Badge.defaultProps = defaultProps$1d;
5056
5039
  Badge.displayName = "NutBadge";
5057
5040
  const TabbarContext = React.createContext(null);
5058
- const defaultProps$1c = {
5041
+ const defaultProps$1b = {
5059
5042
  ...ComponentDefaults,
5060
5043
  title: "",
5061
5044
  icon: null,
@@ -5081,7 +5064,7 @@
5081
5064
  index,
5082
5065
  ...rest
5083
5066
  } = {
5084
- ...defaultProps$1c,
5067
+ ...defaultProps$1b,
5085
5068
  ...props
5086
5069
  };
5087
5070
  const active = index === (ctx == null ? void 0 : ctx.selectIndex);
@@ -5119,7 +5102,7 @@
5119
5102
  icon ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Badge, { ...badgeProps }, /* @__PURE__ */ React.createElement("div", { className: boxPrefix }, icon)), /* @__PURE__ */ React.createElement("div", { className: titleClass }, title)) : /* @__PURE__ */ React.createElement(Badge, { ...badgeProps }, /* @__PURE__ */ React.createElement("div", { className: titleClass }, title))
5120
5103
  );
5121
5104
  };
5122
- const defaultProps$1b = {
5105
+ const defaultProps$1a = {
5123
5106
  ...ComponentDefaults,
5124
5107
  defaultValue: 0,
5125
5108
  fixed: false,
@@ -5142,7 +5125,7 @@
5142
5125
  style,
5143
5126
  onSwitch
5144
5127
  } = {
5145
- ...defaultProps$1b,
5128
+ ...defaultProps$1a,
5146
5129
  ...props
5147
5130
  };
5148
5131
  const classPrefix2 = "nut-tabbar";
@@ -5183,17 +5166,16 @@
5183
5166
  (fixed || safeArea) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-safe-area` })
5184
5167
  );
5185
5168
  };
5186
- Tabbar.defaultProps = defaultProps$1b;
5187
5169
  Tabbar.displayName = "NutTabbar";
5188
5170
  Tabbar.Item = TabbarItem;
5189
- const defaultProps$1a = {
5171
+ const defaultProps$19 = {
5190
5172
  title: "",
5191
5173
  value: "",
5192
5174
  disabled: false
5193
5175
  };
5194
5176
  const TabPane = (props) => {
5195
5177
  const { children, autoHeightClassName, className, disabled } = {
5196
- ...defaultProps$1a,
5178
+ ...defaultProps$19,
5197
5179
  ...props
5198
5180
  };
5199
5181
  const classPrefix2 = "nut-tabpane";
@@ -5234,7 +5216,7 @@
5234
5216
  const idRef = React.useRef(uniqueId());
5235
5217
  return idRef.current;
5236
5218
  }
5237
- const defaultProps$19 = {
5219
+ const defaultProps$18 = {
5238
5220
  ...ComponentDefaults,
5239
5221
  tabStyle: {},
5240
5222
  activeColor: "",
@@ -5260,15 +5242,17 @@
5260
5242
  onChange,
5261
5243
  className,
5262
5244
  autoHeight,
5245
+ value: outerValue,
5246
+ defaultValue: outerDefaultValue,
5263
5247
  ...rest
5264
5248
  } = {
5265
- ...defaultProps$19,
5249
+ ...defaultProps$18,
5266
5250
  ...props
5267
5251
  };
5268
5252
  const uuid = useUuid();
5269
5253
  const [value, setValue] = usePropsValue({
5270
- value: props.value,
5271
- defaultValue: props.defaultValue,
5254
+ value: outerValue,
5255
+ defaultValue: outerDefaultValue,
5272
5256
  finalValue: 0,
5273
5257
  onChange
5274
5258
  });
@@ -5366,7 +5350,7 @@
5366
5350
  if (!titleRect)
5367
5351
  return;
5368
5352
  let to = 0;
5369
- if (props.direction === "vertical") {
5353
+ if (direction === "vertical") {
5370
5354
  const top = titleRects.slice(0, index).reduce((prev, curr) => prev + curr.height, 0);
5371
5355
  to = top - (navRectRef.current.height - titleRect.height) / 2;
5372
5356
  } else {
@@ -5484,10 +5468,9 @@
5484
5468
  return React.cloneElement(child, childProps);
5485
5469
  }))));
5486
5470
  };
5487
- Tabs.defaultProps = defaultProps$19;
5488
5471
  Tabs.displayName = "NutTabs";
5489
5472
  Tabs.TabPane = TabPane;
5490
- const defaultProps$18 = {
5473
+ const defaultProps$17 = {
5491
5474
  type: "custom",
5492
5475
  existList: [],
5493
5476
  defaultIcon: null,
@@ -5506,7 +5489,7 @@
5506
5489
  onSelect,
5507
5490
  onSwitch,
5508
5491
  ...rest
5509
- } = { ...defaultProps$18, ...props };
5492
+ } = { ...defaultProps$17, ...props };
5510
5493
  const classPrefix2 = "nut-address";
5511
5494
  const selectedExist = (item) => {
5512
5495
  existList.forEach((list, index) => {
@@ -5668,7 +5651,7 @@
5668
5651
  return pathNodes;
5669
5652
  }
5670
5653
  }
5671
- const defaultProps$17 = {
5654
+ const defaultProps$16 = {
5672
5655
  ...ComponentDefaults,
5673
5656
  activeColor: "",
5674
5657
  activeIcon: "checklist",
@@ -5707,11 +5690,13 @@
5707
5690
  closeIconPosition,
5708
5691
  closeIcon,
5709
5692
  lazy,
5693
+ title,
5694
+ left: left2,
5710
5695
  onLoad,
5711
5696
  onClose,
5712
5697
  onChange,
5713
5698
  onPathChange
5714
- } = { ...defaultProps$17, ...props };
5699
+ } = { ...defaultProps$16, ...props };
5715
5700
  const [tabvalue, setTabvalue] = React.useState("c1");
5716
5701
  const [optionsData, setOptionsData] = React.useState([]);
5717
5702
  const isLazy = () => state.configs.lazy && Boolean(state.configs.onLoad);
@@ -5721,7 +5706,7 @@
5721
5706
  finalValue: defaultValue
5722
5707
  });
5723
5708
  const [innerVisible, setInnerVisible] = usePropsValue({
5724
- value: props.visible,
5709
+ value: visible,
5725
5710
  defaultValue: void 0,
5726
5711
  finalValue: false
5727
5712
  });
@@ -6009,8 +5994,8 @@
6009
5994
  closeIcon,
6010
5995
  closeable,
6011
5996
  closeIconPosition,
6012
- title: popup && props.title,
6013
- left: props.left,
5997
+ title: popup && title,
5998
+ left: left2,
6014
5999
  onOverlayClick: closePopup,
6015
6000
  onCloseIconClick: closePopup
6016
6001
  },
@@ -6018,9 +6003,8 @@
6018
6003
  ) : renderTabs());
6019
6004
  };
6020
6005
  const Cascader = React.forwardRef(InternalCascader);
6021
- Cascader.defaultProps = defaultProps$17;
6022
6006
  Cascader.displayName = "NutCascader";
6023
- const defaultProps$16 = {
6007
+ const defaultProps$15 = {
6024
6008
  ...ComponentDefaults,
6025
6009
  visible: false,
6026
6010
  type: "custom",
@@ -6047,7 +6031,7 @@
6047
6031
  onPathChange,
6048
6032
  ...rest
6049
6033
  } = {
6050
- ...defaultProps$16,
6034
+ ...defaultProps$15,
6051
6035
  ...props
6052
6036
  };
6053
6037
  return /* @__PURE__ */ React.createElement(React.Fragment, null, type2 === "custom" && /* @__PURE__ */ React.createElement(
@@ -6072,7 +6056,7 @@
6072
6056
  }
6073
6057
  ));
6074
6058
  };
6075
- const defaultProps$15 = {
6059
+ const defaultProps$14 = {
6076
6060
  ...ComponentDefaults,
6077
6061
  defaultValue: [],
6078
6062
  type: "custom",
@@ -6114,7 +6098,7 @@
6114
6098
  onSwitch,
6115
6099
  ...rest
6116
6100
  } = {
6117
- ...defaultProps$15,
6101
+ ...defaultProps$14,
6118
6102
  ...props
6119
6103
  };
6120
6104
  const classPrefix2 = "nut-address";
@@ -6206,7 +6190,6 @@
6206
6190
  ));
6207
6191
  };
6208
6192
  const Address = React.forwardRef(InternalAddress);
6209
- Address.defaultProps = defaultProps$15;
6210
6193
  Address.displayName = "NutAddress";
6211
6194
  const Utils = {
6212
6195
  /**
@@ -6456,7 +6439,7 @@
6456
6439
  const isStartAndEnd = (days) => {
6457
6440
  return days.length >= 2 && Utils.isEqual(days[0], days[1]);
6458
6441
  };
6459
- const defaultProps$14 = {
6442
+ const defaultProps$13 = {
6460
6443
  ...ComponentDefaults,
6461
6444
  type: "single",
6462
6445
  autoBackfill: false,
@@ -6512,11 +6495,12 @@
6512
6495
  renderDay,
6513
6496
  renderDayTop,
6514
6497
  renderDayBottom,
6498
+ value,
6515
6499
  onConfirm,
6516
6500
  onUpdate,
6517
6501
  onDayClick,
6518
6502
  onPageChange
6519
- } = { ...defaultProps$14, ...props };
6503
+ } = { ...defaultProps$13, ...props };
6520
6504
  const weekdays = locale.calendaritem.weekdays;
6521
6505
  const weeks = [
6522
6506
  ...weekdays.slice(firstDayOfWeek, 7),
@@ -6550,7 +6534,7 @@
6550
6534
  return void 0;
6551
6535
  };
6552
6536
  const [currentDate, setCurrentDate] = usePropsValue({
6553
- value: props.value,
6537
+ value,
6554
6538
  defaultValue: resetDefaultValue(),
6555
6539
  finalValue: [],
6556
6540
  onChange: (val) => {
@@ -6756,7 +6740,7 @@
6756
6740
  monthsData[current.lastCurrent],
6757
6741
  true
6758
6742
  );
6759
- } else if (props.type === "week") {
6743
+ } else if (type2 === "week") {
6760
6744
  chooseDay(
6761
6745
  { day: defaultData[2], type: "curr" },
6762
6746
  monthsData[current.current],
@@ -7069,9 +7053,8 @@
7069
7053
  };
7070
7054
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: classes, style }, renderHeader(), renderContent(), popup && !autoBackfill ? renderFooter() : ""));
7071
7055
  });
7072
- CalendarItem.defaultProps = defaultProps$14;
7073
7056
  CalendarItem.displayName = "NutCalendarItem";
7074
- const defaultProps$13 = {
7057
+ const defaultProps$12 = {
7075
7058
  ...ComponentDefaults,
7076
7059
  type: "single",
7077
7060
  autoBackfill: false,
@@ -7134,7 +7117,7 @@
7134
7117
  onConfirm,
7135
7118
  onDayClick,
7136
7119
  onPageChange
7137
- } = { ...defaultProps$13, ...props };
7120
+ } = { ...defaultProps$12, ...props };
7138
7121
  const calendarRef = React.useRef(null);
7139
7122
  const close2 = () => {
7140
7123
  onClose && onClose();
@@ -7209,7 +7192,6 @@
7209
7192
  renderItem()
7210
7193
  ) : renderItem());
7211
7194
  });
7212
- Calendar.defaultProps = defaultProps$13;
7213
7195
  Calendar.displayName = "NutCalendar";
7214
7196
  const left = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNNi42MDUgOS40OWEuNzcxLjc3MSAwIDAgMSAwLS45OGwzLjYtNC4zNzJhLjc3MS43NzEgMCAwIDEgMS4xOS45ODFMOC4yIDlsMy4xOTcgMy44ODFhLjc3MS43NzEgMCAxIDEtMS4xOTEuOThsLTMuNi00LjM3eiIvPjwvc3ZnPg==";
7215
7197
  const right = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTEuMzk2IDkuNDlhLjc3MS43NzEgMCAwIDAgMC0uOThsLTMuNi00LjM3MmEuNzcxLjc3MSAwIDAgMC0xLjE5MS45ODFMOS44IDlsLTMuMTk2IDMuODgxYS43NzEuNzcxIDAgMCAwIDEuMTkuOThsMy42LTQuMzd6Ii8+PC9zdmc+";
@@ -7284,7 +7266,7 @@
7284
7266
  )
7285
7267
  ];
7286
7268
  };
7287
- const defaultProps$12 = {
7269
+ const defaultProps$11 = {
7288
7270
  ...ComponentDefaults,
7289
7271
  type: "single",
7290
7272
  firstDayOfWeek: 0
@@ -7308,7 +7290,7 @@
7308
7290
  onDayClick,
7309
7291
  onPageChange,
7310
7292
  onChange
7311
- } = { ...defaultProps$12, ...props };
7293
+ } = { ...defaultProps$11, ...props };
7312
7294
  const [month, setMonth] = React.useState(() => {
7313
7295
  let date2 = new Date(Date.now());
7314
7296
  const val = value || defaultValue;
@@ -7610,11 +7592,10 @@
7610
7592
  };
7611
7593
  return days.length > 0 ? /* @__PURE__ */ React.createElement("div", { className: classNames(prefixCls, className), style }, renderHeader(), renderContent()) : null;
7612
7594
  });
7613
- CalendarCard.defaultProps = defaultProps$12;
7614
7595
  CalendarCard.displayName = "NutCalendarCard";
7615
7596
  const CheckboxGroupContext = React.createContext(null);
7616
7597
  const Context$1 = CheckboxGroupContext;
7617
- const defaultProps$11 = {
7598
+ const defaultProps$10 = {
7618
7599
  max: void 0,
7619
7600
  min: void 0,
7620
7601
  list: false,
@@ -7644,7 +7625,7 @@
7644
7625
  direction,
7645
7626
  options,
7646
7627
  ...rest
7647
- } = { ...defaultProps$11, ...props };
7628
+ } = { ...defaultProps$10, ...props };
7648
7629
  React.useImperativeHandle(ref, () => ({
7649
7630
  toggle(state) {
7650
7631
  if (state === false) {
@@ -7736,9 +7717,9 @@
7736
7717
  );
7737
7718
  }
7738
7719
  );
7739
- CheckboxGroup.defaultProps = defaultProps$11;
7720
+ CheckboxGroup.defaultProps = defaultProps$10;
7740
7721
  CheckboxGroup.displayName = "NutCheckboxGroup";
7741
- const defaultProps$10 = {
7722
+ const defaultProps$$ = {
7742
7723
  ...ComponentDefaults,
7743
7724
  disabled: false,
7744
7725
  shape: "round",
@@ -7752,7 +7733,7 @@
7752
7733
  const classPrefix$i = "nut-checkbox";
7753
7734
  const Checkbox = (props) => {
7754
7735
  const { children } = {
7755
- ...defaultProps$10,
7736
+ ...defaultProps$$,
7756
7737
  ...props
7757
7738
  };
7758
7739
  const {
@@ -7773,8 +7754,8 @@
7773
7754
  let { labelPosition, ...rest } = others;
7774
7755
  const ctx = React.useContext(Context$1);
7775
7756
  let [innerChecked, setChecked] = usePropsValue({
7776
- value: props.checked,
7777
- defaultValue: props.defaultChecked,
7757
+ value: checked,
7758
+ defaultValue: defaultChecked,
7778
7759
  finalValue: defaultChecked,
7779
7760
  onChange
7780
7761
  });
@@ -7896,7 +7877,6 @@
7896
7877
  renderCheckboxItem()
7897
7878
  );
7898
7879
  };
7899
- Checkbox.defaultProps = defaultProps$10;
7900
7880
  Checkbox.displayName = "NutCheckBox";
7901
7881
  Checkbox.Group = CheckboxGroup;
7902
7882
  const InternalPickerPanel = (props, ref) => {
@@ -8043,7 +8023,6 @@
8043
8023
  const getReference = async () => {
8044
8024
  const refe = await getRectByTaro(listRef == null ? void 0 : listRef.current);
8045
8025
  lineSpacing.current = refe.height ? refe.height : 36;
8046
- modifyStatus(true);
8047
8026
  };
8048
8027
  const touchRollerStyle = () => {
8049
8028
  return {
@@ -8143,7 +8122,7 @@
8143
8122
  }, []);
8144
8123
  return [refs.current, setRefs, reset];
8145
8124
  }
8146
- const defaultProps$$ = {
8125
+ const defaultProps$_ = {
8147
8126
  ...ComponentDefaults,
8148
8127
  visible: false,
8149
8128
  title: "",
@@ -8174,7 +8153,7 @@
8174
8153
  afterClose,
8175
8154
  onChange,
8176
8155
  ...rest
8177
- } = { ...defaultProps$$, ...props };
8156
+ } = { ...defaultProps$_, ...props };
8178
8157
  const classPrefix2 = "nut-picker";
8179
8158
  const classes = classNames(classPrefix2, className);
8180
8159
  const [selectedValue, setSelectedValue] = usePropsValue({
@@ -8489,7 +8468,7 @@
8489
8468
  return str;
8490
8469
  };
8491
8470
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
8492
- const defaultProps$_ = {
8471
+ const defaultProps$Z = {
8493
8472
  ...ComponentDefaults,
8494
8473
  visible: false,
8495
8474
  title: "",
@@ -8522,7 +8501,7 @@
8522
8501
  style,
8523
8502
  ...rest
8524
8503
  } = {
8525
- ...defaultProps$_,
8504
+ ...defaultProps$Z,
8526
8505
  ...props
8527
8506
  };
8528
8507
  const { locale } = useConfig$1();
@@ -8813,7 +8792,7 @@
8813
8792
  )
8814
8793
  );
8815
8794
  };
8816
- DatePicker.defaultProps = defaultProps$_;
8795
+ DatePicker.defaultProps = defaultProps$Z;
8817
8796
  DatePicker.displayName = "NutDatePicker";
8818
8797
  const Context = React.createContext({});
8819
8798
  function _extends() {
@@ -10056,7 +10035,7 @@
10056
10035
  }
10057
10036
  return [formRef.current];
10058
10037
  };
10059
- const defaultProps$Z = {
10038
+ const defaultProps$Y = {
10060
10039
  ...ComponentDefaults,
10061
10040
  labelPosition: "right",
10062
10041
  starPosition: "left",
@@ -10087,7 +10066,7 @@
10087
10066
  starPosition,
10088
10067
  form
10089
10068
  } = {
10090
- ...defaultProps$Z,
10069
+ ...defaultProps$Y,
10091
10070
  ...props
10092
10071
  };
10093
10072
  let formInstance;
@@ -10133,7 +10112,6 @@
10133
10112
  );
10134
10113
  }
10135
10114
  );
10136
- Form.defaultProps = defaultProps$Z;
10137
10115
  Form.displayName = "NutForm";
10138
10116
  function isForwardRefComponent(component) {
10139
10117
  return component.type && component.type.$$typeof && // eslint-disable-next-line react/display-name
@@ -10144,7 +10122,7 @@
10144
10122
  }
10145
10123
  ).$$typeof === component.type.$$typeof;
10146
10124
  }
10147
- const defaultProps$Y = {
10125
+ const defaultProps$X = {
10148
10126
  ...ComponentDefaults,
10149
10127
  required: false,
10150
10128
  name: "",
@@ -10240,7 +10218,7 @@
10240
10218
  style,
10241
10219
  errorMessageAlign
10242
10220
  } = {
10243
- ...defaultProps$Y,
10221
+ ...defaultProps$X,
10244
10222
  ...this.props
10245
10223
  };
10246
10224
  const requiredInRules = rules2 == null ? void 0 : rules2.some((rule) => rule.required);
@@ -10302,7 +10280,7 @@
10302
10280
  return /* @__PURE__ */ React.createElement(React.Fragment, { key: this.state.resetCount }, this.props.noStyle ? returnChildNode : this.renderLayout(returnChildNode));
10303
10281
  }
10304
10282
  };
10305
- _FormItem.defaultProps = defaultProps$Y;
10283
+ _FormItem.defaultProps = defaultProps$X;
10306
10284
  _FormItem.contextType = Context;
10307
10285
  let FormItem = _FormItem;
10308
10286
  const InnerForm = Form;
@@ -10332,7 +10310,7 @@
10332
10310
  const regExp = allowDot ? /[^-0-9.]/g : /[^-0-9]/g;
10333
10311
  return value.replace(regExp, "");
10334
10312
  }
10335
- const defaultProps$X = {
10313
+ const defaultProps$W = {
10336
10314
  ...ComponentDefaults,
10337
10315
  type: "text",
10338
10316
  name: "",
@@ -10377,12 +10355,12 @@
10377
10355
  value: _value,
10378
10356
  ...rest
10379
10357
  } = {
10380
- ...defaultProps$X,
10358
+ ...defaultProps$W,
10381
10359
  ...props
10382
10360
  };
10383
10361
  const [value, setValue] = usePropsValue({
10384
- value: props.value,
10385
- defaultValue: props.defaultValue,
10362
+ value: _value,
10363
+ defaultValue,
10386
10364
  finalValue: "",
10387
10365
  onChange
10388
10366
  });
@@ -10446,16 +10424,11 @@
10446
10424
  updateValue(value2, "onChange");
10447
10425
  };
10448
10426
  const handleBlur = (event) => {
10449
- if (Taro.getEnv() === "WEB") {
10450
- const val = event.target.value;
10451
- updateValue(val, "onBlur");
10452
- setTimeout(() => {
10453
- setActive(false);
10454
- }, 50);
10455
- } else {
10456
- updateValue(value, "onBlur");
10427
+ const val = Taro.getEnv() === "WEB" ? event.target.value : value;
10428
+ updateValue(val, "onBlur");
10429
+ setTimeout(() => {
10457
10430
  setActive(false);
10458
- }
10431
+ }, 200);
10459
10432
  };
10460
10433
  const inputType = (type22) => {
10461
10434
  if (Taro.getEnv() === Taro.ENV_TYPE.WEB) {
@@ -10516,7 +10489,8 @@
10516
10489
  {
10517
10490
  style: {
10518
10491
  display: clearable && !readOnly && active && value.length > 0 ? "flex" : "none",
10519
- alignItems: "center"
10492
+ alignItems: "center",
10493
+ cursor: "pointer"
10520
10494
  },
10521
10495
  onClick: (e2) => {
10522
10496
  e2.stopPropagation();
@@ -10531,9 +10505,8 @@
10531
10505
  );
10532
10506
  }
10533
10507
  );
10534
- Input.defaultProps = defaultProps$X;
10535
10508
  Input.displayName = "NutInput";
10536
- const defaultProps$W = {
10509
+ const defaultProps$V = {
10537
10510
  ...ComponentDefaults,
10538
10511
  disabled: false,
10539
10512
  readOnly: false,
@@ -10571,7 +10544,7 @@
10571
10544
  onChange,
10572
10545
  ...restProps
10573
10546
  } = {
10574
- ...defaultProps$W,
10547
+ ...defaultProps$V,
10575
10548
  ...props
10576
10549
  };
10577
10550
  const classes = classNames(classPrefix$h, className, {
@@ -10731,9 +10704,8 @@
10731
10704
  }
10732
10705
  )));
10733
10706
  };
10734
- InputNumber.defaultProps = defaultProps$W;
10735
10707
  InputNumber.displayName = "NutInputNumber";
10736
- const defaultProps$V = {
10708
+ const defaultProps$U = {
10737
10709
  ...ComponentDefaults,
10738
10710
  columns: 1,
10739
10711
  direction: "down",
@@ -10764,7 +10736,7 @@
10764
10736
  parent,
10765
10737
  index
10766
10738
  } = {
10767
- ...defaultProps$V,
10739
+ ...defaultProps$U,
10768
10740
  ...props
10769
10741
  };
10770
10742
  const [showPopup, setShowPopup] = React.useState(show2);
@@ -10925,7 +10897,7 @@
10925
10897
  g$3,
10926
10898
  {
10927
10899
  color: activeColor,
10928
- size: 10,
10900
+ size: 16,
10929
10901
  className: getIconCName(item.value, value)
10930
10902
  }
10931
10903
  )) : null,
@@ -10944,9 +10916,8 @@
10944
10916
  )
10945
10917
  ));
10946
10918
  });
10947
- MenuItem.defaultProps = defaultProps$V;
10948
10919
  MenuItem.displayName = "NutMenuItem";
10949
- const defaultProps$U = {
10920
+ const defaultProps$T = {
10950
10921
  ...ComponentDefaults,
10951
10922
  activeColor: "",
10952
10923
  closeOnOverlayClick: true,
@@ -10973,7 +10944,7 @@
10973
10944
  onOpen,
10974
10945
  ...rest
10975
10946
  } = {
10976
- ...defaultProps$U,
10947
+ ...defaultProps$T,
10977
10948
  ...props
10978
10949
  };
10979
10950
  const menuRef = React.useRef(null);
@@ -11098,19 +11069,8 @@
11098
11069
  cloneChildren()
11099
11070
  );
11100
11071
  };
11101
- Menu.defaultProps = defaultProps$U;
11102
11072
  Menu.displayName = "NutMenu";
11103
11073
  Menu.Item = MenuItem;
11104
- const defaultProps$T = {
11105
- ...ComponentDefaults,
11106
- visible: false,
11107
- rightActions: "",
11108
- type: "default",
11109
- custom: [],
11110
- random: false,
11111
- onClose: () => {
11112
- }
11113
- };
11114
11074
  const NumberKeyboard = (props) => {
11115
11075
  const { locale } = useConfig$1();
11116
11076
  const {
@@ -11249,7 +11209,6 @@
11249
11209
  ))))
11250
11210
  );
11251
11211
  };
11252
- NumberKeyboard.defaultProps = defaultProps$T;
11253
11212
  NumberKeyboard.displayName = "NutNumberKeyboard";
11254
11213
  const RadioContext = React.createContext(null);
11255
11214
  const defaultProps$S = {
@@ -11774,7 +11733,6 @@
11774
11733
  renderButton()
11775
11734
  ))), maxDescription !== null && /* @__PURE__ */ React.createElement("div", { className: "max" }, maxDescription || max));
11776
11735
  };
11777
- Range.defaultProps = defaultProps$Q;
11778
11736
  Range.displayName = "NutRange";
11779
11737
  const defaultProps$P = {
11780
11738
  ...ComponentDefaults,
@@ -11961,7 +11919,6 @@
11961
11919
  })
11962
11920
  );
11963
11921
  };
11964
- Rate.defaultProps = defaultProps$P;
11965
11922
  Rate.displayName = "NutRate";
11966
11923
  const defaultProps$O = {
11967
11924
  ...ComponentDefaults,
@@ -11982,8 +11939,9 @@
11982
11939
  const classPrefix2 = "nut-searchbar";
11983
11940
  const { locale } = useConfig$1();
11984
11941
  const searchRef = React.useRef(null);
11985
- const [value, setValue] = React.useState(() => props.value);
11986
11942
  const {
11943
+ value: outerValue,
11944
+ style,
11987
11945
  placeholder,
11988
11946
  shape,
11989
11947
  className,
@@ -12007,6 +11965,7 @@
12007
11965
  ...defaultProps$O,
12008
11966
  ...props
12009
11967
  };
11968
+ const [value, setValue] = React.useState(() => outerValue);
12010
11969
  const forceFocus = () => {
12011
11970
  const searchSelf = searchRef.current;
12012
11971
  searchSelf && searchSelf.focus();
@@ -12029,8 +11988,8 @@
12029
11988
  onBlur && (onBlur == null ? void 0 : onBlur(value2, event));
12030
11989
  };
12031
11990
  React.useEffect(() => {
12032
- setValue(props.value || "");
12033
- }, [props.value]);
11991
+ setValue(outerValue || "");
11992
+ }, [outerValue]);
12034
11993
  React.useEffect(() => {
12035
11994
  autoFocus && forceFocus();
12036
11995
  }, [autoFocus]);
@@ -12040,7 +11999,7 @@
12040
11999
  {
12041
12000
  className: `${classPrefix2}-input ${clearable ? `${classPrefix2}-input-clear` : ""}`,
12042
12001
  ref: searchRef,
12043
- style: { ...props.style },
12002
+ style,
12044
12003
  value: value || "",
12045
12004
  placeholder: placeholder || locale.placeholder,
12046
12005
  disabled,
@@ -12107,7 +12066,7 @@
12107
12066
  "div",
12108
12067
  {
12109
12068
  className: `${classPrefix2} ${disabled ? `${classPrefix2}-disabled` : ""} ${className || ""}`,
12110
- style: { ...props.style }
12069
+ style
12111
12070
  },
12112
12071
  renderLeft(),
12113
12072
  /* @__PURE__ */ React.createElement(
@@ -12123,7 +12082,6 @@
12123
12082
  renderRight()
12124
12083
  );
12125
12084
  };
12126
- SearchBar.defaultProps = defaultProps$O;
12127
12085
  SearchBar.displayName = "NutSearchBar";
12128
12086
  const defaultProps$N = {
12129
12087
  ...ComponentDefaults,
@@ -12141,7 +12099,7 @@
12141
12099
  title,
12142
12100
  description,
12143
12101
  tips,
12144
- visible: deleteVisible,
12102
+ visible: outerVisible,
12145
12103
  value,
12146
12104
  error,
12147
12105
  hideFooter,
@@ -12173,7 +12131,7 @@
12173
12131
  return val.slice(0, comLen);
12174
12132
  };
12175
12133
  const [visible, setVisible] = usePropsValue({
12176
- value: props.visible,
12134
+ value: outerVisible,
12177
12135
  defaultValue: false,
12178
12136
  finalValue: false
12179
12137
  });
@@ -12291,7 +12249,7 @@
12291
12249
  }).exec((res) => {
12292
12250
  Taro.canvasToTempFilePath({
12293
12251
  canvas: res[0].node,
12294
- fileType: props.type,
12252
+ fileType: type2,
12295
12253
  canvasId: `${canvasId}`,
12296
12254
  success: (res2) => {
12297
12255
  onConfirm && onConfirm(res2.tempFilePath);
@@ -12390,7 +12348,6 @@
12390
12348
  const Signature = React.forwardRef(
12391
12349
  InternalSignature
12392
12350
  );
12393
- Signature.defaultProps = defaultProps$M;
12394
12351
  Signature.displayName = "NutSignature";
12395
12352
  const defaultProps$L = {
12396
12353
  ...ComponentDefaults,
@@ -12438,7 +12395,6 @@
12438
12395
  /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-button` }, !value && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-close-line` }), activeText && /* @__PURE__ */ React.createElement(React.Fragment, null, value ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-label open` }, activeText) : /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-label close` }, inactiveText)))
12439
12396
  );
12440
12397
  };
12441
- Switch.defaultProps = defaultProps$L;
12442
12398
  Switch.displayName = "NutSwitch";
12443
12399
  const defaultProps$K = {
12444
12400
  ...ComponentDefaults,
@@ -12548,7 +12504,6 @@
12548
12504
  showCount && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-limit` }, inputValue.length, "/", maxLength < 0 ? 0 : maxLength)
12549
12505
  );
12550
12506
  };
12551
- TextArea.defaultProps = defaultProps$K;
12552
12507
  TextArea.displayName = "NutTextArea";
12553
12508
  class UploadOptions {
12554
12509
  constructor() {
@@ -12852,7 +12807,6 @@
12852
12807
  )))
12853
12808
  );
12854
12809
  };
12855
- Progress.defaultProps = defaultProps$J;
12856
12810
  Progress.displayName = "NutProgress";
12857
12811
  const Preview = ({
12858
12812
  fileList,
@@ -13169,7 +13123,7 @@
13169
13123
  });
13170
13124
  };
13171
13125
  const task = new UploaderTaro(uploadOption);
13172
- if (props.autoUpload) {
13126
+ if (autoUpload) {
13173
13127
  task.uploadTaro(Taro.uploadFile, Taro.getEnv());
13174
13128
  } else {
13175
13129
  uploadQueue.push(
@@ -13221,8 +13175,8 @@
13221
13175
  });
13222
13176
  };
13223
13177
  const filterFiles = (files) => {
13224
- const maximum = props.maxCount * 1;
13225
- const maximize = props.maxFileSize * 1;
13178
+ const maximum = maxCount * 1;
13179
+ const maximize = maxFileSize * 1;
13226
13180
  const oversizes = new Array();
13227
13181
  const filterFile = files.filter((file) => {
13228
13182
  if (file.size > maximize) {
@@ -13288,7 +13242,6 @@
13288
13242
  ));
13289
13243
  };
13290
13244
  const Uploader = React.forwardRef(InternalUploader);
13291
- Uploader.defaultProps = defaultProps$I;
13292
13245
  Uploader.displayName = "NutUploader";
13293
13246
  const defaultProps$H = {
13294
13247
  ...ComponentDefaults,
@@ -13361,7 +13314,6 @@
13361
13314
  ))
13362
13315
  );
13363
13316
  };
13364
- ActionSheet.defaultProps = defaultProps$H;
13365
13317
  ActionSheet.displayName = "NutActionSheet";
13366
13318
  const Content = (props) => {
13367
13319
  const {
@@ -13710,18 +13662,18 @@
13710
13662
  } else if (translateY.current > boundaryState.bottom) {
13711
13663
  translateY.current = boundaryState.bottom;
13712
13664
  }
13713
- const transform = `translate3d(${props.direction !== "y" ? translateX.current : 0}px, ${props.direction !== "x" ? translateY.current : 0}px, 0px)`;
13665
+ const transform = `translate3d(${direction !== "y" ? translateX.current : 0}px, ${direction !== "x" ? translateY.current : 0}px, 0px)`;
13714
13666
  setCurrStyle({ transform });
13715
13667
  }
13716
13668
  };
13717
13669
  const touchEnd = (e2) => {
13718
- if (props.direction !== "y" && props.attract && dragRef.current) {
13670
+ if (direction !== "y" && attract && dragRef.current) {
13719
13671
  if (translateX.current < middleLine.current) {
13720
13672
  translateX.current = boundaryState.left;
13721
13673
  } else {
13722
13674
  translateX.current = boundaryState.right;
13723
13675
  }
13724
- const transform = `translate3d(${translateX.current}px, ${props.direction !== "x" ? translateY.current : 0}px, 0px)`;
13676
+ const transform = `translate3d(${translateX.current}px, ${direction !== "x" ? translateY.current : 0}px, 0px)`;
13725
13677
  setCurrStyle({ transform });
13726
13678
  }
13727
13679
  };
@@ -13754,7 +13706,6 @@
13754
13706
  )
13755
13707
  );
13756
13708
  };
13757
- Drag.defaultProps = defaultProps$F;
13758
13709
  Drag.displayName = "NutDrag";
13759
13710
  const defaultStatus = {
13760
13711
  empty: "https://storage.360buyimg.com/imgtools/30186cfda0-0d3eee40-c0ac-11ee-9382-9125782aa3b8.png",
@@ -13829,7 +13780,6 @@
13829
13780
  );
13830
13781
  })), children);
13831
13782
  };
13832
- Empty.defaultProps = defaultProps$E;
13833
13783
  Empty.displayName = "NutEmpty";
13834
13784
  const defaultProps$D = {
13835
13785
  ...ComponentDefaults,
@@ -13965,7 +13915,6 @@
13965
13915
  /* @__PURE__ */ React.createElement("div", { className: "nut-infinite-bottom" }, isInfiniting ? /* @__PURE__ */ React.createElement("div", { className: "nut-infinite-bottom-tips" }, loadingText || locale.infiniteloading.loadText) : !hasMore && /* @__PURE__ */ React.createElement("div", { className: "nut-infinite-bottom-tips" }, loadMoreText || locale.infiniteloading.loadMoreText))
13966
13916
  );
13967
13917
  };
13968
- InfiniteLoading.defaultProps = defaultProps$D;
13969
13918
  InfiniteLoading.displayName = "NutInfiniteLoading";
13970
13919
  const loadingMap = {
13971
13920
  circular: D$5,
@@ -13998,7 +13947,6 @@
13998
13947
  children ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-text` }, children) : ""
13999
13948
  );
14000
13949
  };
14001
- Loading.defaultProps = defaultProps$C;
14002
13950
  Loading.displayName = "NutLoading";
14003
13951
  const defaultProps$B = {
14004
13952
  ...ComponentDefaults,
@@ -14420,7 +14368,6 @@
14420
14368
  )
14421
14369
  ) : null);
14422
14370
  };
14423
- NoticeBar.defaultProps = defaultProps$B;
14424
14371
  NoticeBar.displayName = "NutNoticeBar";
14425
14372
  const defaultProps$A = {
14426
14373
  ...ComponentDefaults,
@@ -14626,7 +14573,7 @@
14626
14573
  };
14627
14574
  const clickAway = () => {
14628
14575
  if (closeOnOutsideClick) {
14629
- props.onClick && props.onClick();
14576
+ onClick && onClick();
14630
14577
  onClose && onClose();
14631
14578
  }
14632
14579
  };
@@ -14702,7 +14649,7 @@
14702
14649
  const direction = location.split("-")[0];
14703
14650
  const skew = location.split("-")[1];
14704
14651
  const base = 16;
14705
- if (props.arrowOffset !== 0) {
14652
+ if (arrowOffset !== 0) {
14706
14653
  const dir = rtl ? "right" : "left";
14707
14654
  const dir2 = rtl ? "left" : "right";
14708
14655
  if (["bottom", "top"].includes(direction)) {
@@ -14731,12 +14678,11 @@
14731
14678
  return styles;
14732
14679
  };
14733
14680
  const handleSelect = (item, index) => {
14734
- var _a;
14735
14681
  if (!item.disabled) {
14736
14682
  onSelect == null ? void 0 : onSelect(item, index);
14737
14683
  }
14738
14684
  if (closeOnActionClick) {
14739
- (_a = props.onClick) == null ? void 0 : _a.call(props);
14685
+ onClick == null ? void 0 : onClick();
14740
14686
  onClose == null ? void 0 : onClose();
14741
14687
  }
14742
14688
  };
@@ -14804,7 +14750,6 @@
14804
14750
  }
14805
14751
  )));
14806
14752
  };
14807
- Popover.defaultProps = defaultProps$z;
14808
14753
  Popover.displayName = "NutPopover";
14809
14754
  function bound(position, min, max) {
14810
14755
  let ret = position;
@@ -14996,7 +14941,6 @@
14996
14941
  };
14997
14942
  return /* @__PURE__ */ React.createElement(AvatarContext.Provider, { value: parentAvatar }, /* @__PURE__ */ React.createElement("div", { className: cls, style, ref: avatarGroupRef }, children));
14998
14943
  };
14999
- AvatarGroup.defaultProps = defaultProps$x;
15000
14944
  AvatarGroup.displayName = "NutAvatarGroup";
15001
14945
  const defaultProps$w = {
15002
14946
  ...ComponentDefaults,
@@ -15085,8 +15029,8 @@
15085
15029
  }
15086
15030
  };
15087
15031
  const errorEvent = () => {
15088
- if (props.onError) {
15089
- props.onError();
15032
+ if (onError) {
15033
+ onError();
15090
15034
  }
15091
15035
  };
15092
15036
  const clickAvatar = (e2) => {
@@ -15116,7 +15060,6 @@
15116
15060
  showMax && /* @__PURE__ */ React.createElement("div", { className: "text" }, ((_l = parent == null ? void 0 : parent.propAvatarGroup) == null ? void 0 : _l.maxContent) ? (_m = parent == null ? void 0 : parent.propAvatarGroup) == null ? void 0 : _m.maxContent : `+ ${avatarIndex - Number(((_n = parent == null ? void 0 : parent.propAvatarGroup) == null ? void 0 : _n.max) || 0)}`)
15117
15061
  ));
15118
15062
  };
15119
- Avatar.defaultProps = defaultProps$w;
15120
15063
  Avatar.displayName = "NutAvatar";
15121
15064
  Avatar.Group = AvatarGroup;
15122
15065
  const defaultProps$v = {
@@ -15179,7 +15122,6 @@
15179
15122
  return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-block`, key: index });
15180
15123
  })))));
15181
15124
  };
15182
- Skeleton.defaultProps = defaultProps$v;
15183
15125
  Skeleton.displayName = "NutSkeleton";
15184
15126
  function preventDefault(event, isStopPropagation) {
15185
15127
  if (typeof event.cancelable !== "boolean" || event.cancelable) {
@@ -15564,7 +15506,6 @@
15564
15506
  };
15565
15507
  return /* @__PURE__ */ React.createElement("div", { className: "nut-animate" }, /* @__PURE__ */ React.createElement("div", { className: cls, onClick: handleClick, ...rest }, children));
15566
15508
  };
15567
- Animate.defaultProps = defaultProps$s;
15568
15509
  Animate.displayName = "NutAnimate";
15569
15510
  const defaultProps$r = {
15570
15511
  ...ComponentDefaults,
@@ -15944,11 +15885,10 @@
15944
15885
  return () => window.cancelAnimationFrame(animateIdRef.current);
15945
15886
  }, [percent]);
15946
15887
  const stop = () => {
15947
- if (!isObject(props.color)) {
15888
+ if (!isObject(color)) {
15948
15889
  return [];
15949
15890
  }
15950
- const color2 = props.color;
15951
- const colorArr = Object.keys(color2).sort(
15891
+ const colorArr = Object.keys(color).sort(
15952
15892
  (a2, b) => parseFloat(a2) - parseFloat(b)
15953
15893
  );
15954
15894
  const stopArr = [];
@@ -15958,7 +15898,7 @@
15958
15898
  value: ""
15959
15899
  };
15960
15900
  obj.key = item;
15961
- obj.value = color2[item];
15901
+ obj.value = color[item];
15962
15902
  stopArr.push(obj);
15963
15903
  });
15964
15904
  return stopArr;
@@ -15982,15 +15922,15 @@
15982
15922
  const perimeter = 283;
15983
15923
  const progress = +oldValue.current;
15984
15924
  const offset = perimeter * Number(format2(parseFloat(progress.toFixed(1)))) / 100;
15985
- const isWise = props.clockwise ? 1 : 0;
15986
- const color2 = isObject(props.color) ? `url(%23${refRandomId})` : transColor(props.color);
15925
+ const isWise = clockwise ? 1 : 0;
15926
+ const realColor = isObject(color) ? `url(%23${refRandomId})` : transColor(color);
15987
15927
  const d = `M 50 50 m 0 -45 a 45 45 0 1 ${isWise} 0 90 a 45 45 0 1, ${isWise} 0 -90`;
15988
15928
  const pa = `%3Cdefs%3E%3ClinearGradient id='${refRandomId}' x1='100%25' y1='0%25' x2='0%25' y2='0%25'%3E${stopDom}%3C/linearGradient%3E%3C/defs%3E`;
15989
15929
  const path = `%3Cpath d='${d}' stroke-width='${strokeWidth}' stroke='${transColor(
15990
- props.background
15930
+ background
15991
15931
  )}' fill='none'/%3E`;
15992
15932
  const path1 = `%3Cpath d='${d}' stroke-width='${strokeWidth}' stroke-dasharray='${offset},${perimeter}' stroke-linecap='round' stroke='${transColor(
15993
- color2
15933
+ realColor
15994
15934
  )}' fill='none'/%3E`;
15995
15935
  return {
15996
15936
  background: `url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E${pa}${path}${path1}%3C/svg%3E")`,
@@ -16000,7 +15940,6 @@
16000
15940
  };
16001
15941
  return /* @__PURE__ */ React.createElement("div", { className: classes, style: styles, ...restProps }, /* @__PURE__ */ React.createElement("div", { style: circleStyle() }), /* @__PURE__ */ React.createElement("div", { className: "nut-circleprogress-text" }, children));
16002
15942
  };
16003
- CircleProgress.defaultProps = defaultProps$o;
16004
15943
  CircleProgress.displayName = "NutCircleProgress";
16005
15944
  const collapseContext = {
16006
15945
  isOpen: (name) => {
@@ -16145,7 +16084,6 @@
16145
16084
  )
16146
16085
  ));
16147
16086
  };
16148
- CollapseItem.defaultProps = defaultProps$n;
16149
16087
  CollapseItem.displayName = "NutCollapseItem";
16150
16088
  const defaultProps$m = {
16151
16089
  ...ComponentDefaults,
@@ -16223,7 +16161,6 @@
16223
16161
  /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), style }, children)
16224
16162
  );
16225
16163
  };
16226
- Collapse.defaultProps = defaultProps$m;
16227
16164
  Collapse.displayName = "NutCollapse";
16228
16165
  Collapse.Item = CollapseItem;
16229
16166
  const defaultProps$l = {
@@ -16464,7 +16401,6 @@
16464
16401
  const CountDown = React.forwardRef(
16465
16402
  InternalCountDown
16466
16403
  );
16467
- CountDown.defaultProps = defaultProps$l;
16468
16404
  CountDown.displayName = "NutCountDown";
16469
16405
  const defaultProps$k = {
16470
16406
  ...ComponentDefaults,
@@ -16787,7 +16723,6 @@
16787
16723
  symbolText()
16788
16724
  ));
16789
16725
  };
16790
- Ellipsis.defaultProps = defaultProps$k;
16791
16726
  Ellipsis.displayName = "NutEllipsis";
16792
16727
  const defaultProps$j = {
16793
16728
  total: 3,
@@ -16820,7 +16755,6 @@
16820
16755
  };
16821
16756
  return /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix$5, classes, className), ...rest }, renderElement());
16822
16757
  };
16823
- Indicator.defaultProps = defaultProps$j;
16824
16758
  Indicator.displayName = "NutIndicator";
16825
16759
  const defaultProps$i = {
16826
16760
  direction: "horizontal",
@@ -16993,6 +16927,7 @@
16993
16927
  };
16994
16928
  const ImagePreview = (props) => {
16995
16929
  const {
16930
+ value,
16996
16931
  className,
16997
16932
  style,
16998
16933
  images,
@@ -17006,17 +16941,17 @@
17006
16941
  closeIcon,
17007
16942
  closeIconPosition,
17008
16943
  showMenuByLongpress,
17009
- onClose
17010
- } = props;
16944
+ onClose,
16945
+ onChange
16946
+ } = { ...defaultProps$g, ...props };
17011
16947
  const classPrefix2 = "nut-imagepreview";
17012
16948
  const ref = React.useRef(null);
17013
16949
  const [innerNo, setInnerNo] = usePropsValue({
17014
- value: props.value,
16950
+ value,
17015
16951
  defaultValue,
17016
16952
  finalValue: defaultValue,
17017
16953
  onChange: (val) => {
17018
- var _a;
17019
- (_a = props.onChange) == null ? void 0 : _a.call(props, val);
16954
+ onChange == null ? void 0 : onChange(val);
17020
16955
  }
17021
16956
  });
17022
16957
  const [showPop, setShowPop] = React.useState(visible);
@@ -17127,11 +17062,11 @@
17127
17062
  );
17128
17063
  };
17129
17064
  const slideChangeEnd = (page) => {
17130
- var _a;
17131
17065
  setActive(page + 1);
17132
- (_a = props.onChange) == null ? void 0 : _a.call(props, page + 1);
17066
+ onChange == null ? void 0 : onChange(page + 1);
17133
17067
  };
17134
- const onCloseInner = () => {
17068
+ const onCloseInner = (e2) => {
17069
+ e2.stopPropagation();
17135
17070
  setShowPop(false);
17136
17071
  setActive(innerNo);
17137
17072
  scaleNow();
@@ -17141,9 +17076,9 @@
17141
17076
  scale: 1
17142
17077
  });
17143
17078
  };
17144
- const closeOnImg = () => {
17079
+ const closeOnImg = (e2) => {
17145
17080
  if (closeOnContentClick) {
17146
- onCloseInner();
17081
+ onCloseInner(e2);
17147
17082
  }
17148
17083
  };
17149
17084
  return /* @__PURE__ */ React.createElement(
@@ -17231,7 +17166,6 @@
17231
17166
  ) : null
17232
17167
  );
17233
17168
  };
17234
- ImagePreview.defaultProps = defaultProps$g;
17235
17169
  ImagePreview.displayName = "NutImagePreview";
17236
17170
  const defaultProps$f = {
17237
17171
  ...ComponentDefaults,
@@ -17343,7 +17277,6 @@
17343
17277
  next || locale.pagination.next
17344
17278
  )), mode === "lite" && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite-active` }, 2), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite-default` }, 8))));
17345
17279
  };
17346
- Pagination.defaultProps = defaultProps$f;
17347
17280
  Pagination.displayName = "NutPagination";
17348
17281
  const defaultProps$e = {
17349
17282
  ...ComponentDefaults,
@@ -17445,7 +17378,6 @@
17445
17378
  symbol && position === "after" ? renderSymbol() : null
17446
17379
  );
17447
17380
  };
17448
- Price.defaultProps = defaultProps$e;
17449
17381
  Price.displayName = "NutPrice";
17450
17382
  const DataContext = React.createContext({});
17451
17383
  const defaultProps$d = {
@@ -17491,7 +17423,6 @@
17491
17423
  };
17492
17424
  return /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps, onClick: handleClickStep }, /* @__PURE__ */ React.createElement(components.View, { className: "nut-step-head" }, /* @__PURE__ */ React.createElement(components.View, { className: "nut-step-line" }), /* @__PURE__ */ React.createElement(components.View, { className: renderIconClass() }, icon || !dot && /* @__PURE__ */ React.createElement("span", { className: "nut-step-inner" }, value))), (title || description) && /* @__PURE__ */ React.createElement(components.View, { className: "nut-step-main" }, /* @__PURE__ */ React.createElement("span", { className: "nut-step-title" }, title), description && /* @__PURE__ */ React.createElement("span", { className: "nut-step-description" }, description)));
17493
17425
  };
17494
- Step.defaultProps = defaultProps$d;
17495
17426
  Step.displayName = "NutStep";
17496
17427
  const defaultProps$c = {
17497
17428
  ...ComponentDefaults,
@@ -17518,13 +17449,12 @@
17518
17449
  classPrefix2,
17519
17450
  {
17520
17451
  [`${classPrefix2}-${direction}`]: true,
17521
- [`${classPrefix2}-dot`]: !!props.dot
17452
+ [`${classPrefix2}-dot`]: !!dot
17522
17453
  },
17523
17454
  className
17524
17455
  );
17525
17456
  return /* @__PURE__ */ React.createElement(DataContext.Provider, { value: parentSteps }, /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps }, children));
17526
17457
  };
17527
- Steps.defaultProps = defaultProps$c;
17528
17458
  Steps.displayName = "NutSteps";
17529
17459
  function useTableSticky(columns, rtl = false) {
17530
17460
  const [isSticky, setIsSticky] = React.useState(false);
@@ -17665,7 +17595,7 @@
17665
17595
  };
17666
17596
  const cellClasses = (item) => {
17667
17597
  return {
17668
- [`${headerClassPrefix}-border`]: props.bordered,
17598
+ [`${headerClassPrefix}-border`]: bordered,
17669
17599
  [`${headerClassPrefix}-align${item.align ? item.align : ""}`]: true
17670
17600
  };
17671
17601
  };
@@ -17751,7 +17681,6 @@
17751
17681
  }
17752
17682
  )) : null, (summary || innerValue.length === 0) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-summary` }, summary || noData));
17753
17683
  };
17754
- Table.defaultProps = defaultProps$b;
17755
17684
  Table.displayName = "NutTable";
17756
17685
  const defaultProps$a = {
17757
17686
  ...ComponentDefaults,
@@ -17853,7 +17782,6 @@
17853
17782
  children && /* @__PURE__ */ React.createElement("span", { className: `${classPrefix2}-text` }, children)
17854
17783
  ));
17855
17784
  };
17856
- Tag.defaultProps = defaultProps$a;
17857
17785
  Tag.displayName = "NutTag";
17858
17786
  const getTaroRectById = (id) => {
17859
17787
  return new Promise((resolve, reject) => {
@@ -18051,7 +17979,6 @@
18051
17979
  )));
18052
17980
  }));
18053
17981
  };
18054
- Tour.defaultProps = defaultProps$9;
18055
17982
  Tour.displayName = "NutTour";
18056
17983
  const defaultProps$8 = {
18057
17984
  source: {
@@ -18102,7 +18029,6 @@
18102
18029
  }
18103
18030
  ));
18104
18031
  };
18105
- Video.defaultProps = defaultProps$8;
18106
18032
  Video.displayName = "NutVideo";
18107
18033
  const initPositinoCache = (reaItemSize, length = 0) => {
18108
18034
  let index = 0;
@@ -18215,7 +18141,6 @@
18215
18141
  const pos = initPositinoCache(itemHeight + margin, list.length);
18216
18142
  setPositions(pos);
18217
18143
  }, [itemHeight, list]);
18218
- const prevListLength = React.useRef(list.length);
18219
18144
  const getContainerHeight = () => {
18220
18145
  const initH = (itemHeight + margin) * list.length;
18221
18146
  return initH < clientHeight ? initH + overscan * (itemHeight + margin) - 5 : Math.min(containerHeight, clientHeight);
@@ -18252,9 +18177,8 @@
18252
18177
  start.current = Math.floor(scrollTop / (itemHeight + margin));
18253
18178
  setStartOffset(scrollTop - scrollTop % (itemHeight + margin));
18254
18179
  const endIndex = end();
18255
- if (endIndex > list.length - 1 && prevListLength.current < list.length) {
18180
+ if (endIndex > list.length - 1) {
18256
18181
  onScroll && onScroll();
18257
- prevListLength.current = list.length;
18258
18182
  }
18259
18183
  };
18260
18184
  return /* @__PURE__ */ React.createElement(
@@ -18313,7 +18237,6 @@
18313
18237
  )
18314
18238
  );
18315
18239
  };
18316
- VirtualList.defaultProps = defaultProps$7;
18317
18240
  VirtualList.displayName = "NutVirtualList";
18318
18241
  const defaultProps$6 = {
18319
18242
  ...ComponentDefaults,
@@ -18435,7 +18358,6 @@
18435
18358
  const Barrage = React.forwardRef(
18436
18359
  InternalBarrage
18437
18360
  );
18438
- Barrage.defaultProps = defaultProps$6;
18439
18361
  Barrage.displayName = "NutBarrage";
18440
18362
  const defaultProps$5 = {
18441
18363
  ...ComponentDefaults,
@@ -18481,7 +18403,6 @@
18481
18403
  }
18482
18404
  )), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-right-other` }, tag || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Tag, { type: "danger" }, shopDescription), /* @__PURE__ */ React.createElement(Tag, { plain: true }, delivery))), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-right-shop` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-right-shop-name` }, shopName), extra)));
18483
18405
  };
18484
- Card.defaultProps = defaultProps$5;
18485
18406
  Card.displayName = "NutCard";
18486
18407
  const defaultProps$4 = {
18487
18408
  ...ComponentDefaults,
@@ -18536,7 +18457,6 @@
18536
18457
  item[optionKey.textKey]
18537
18458
  )));
18538
18459
  };
18539
- TimeDetail.defaultProps = defaultProps$4;
18540
18460
  TimeDetail.displayName = "NutTimeDetail";
18541
18461
  const defaultProps$3 = {
18542
18462
  ...ComponentDefaults,
@@ -18674,7 +18594,6 @@
18674
18594
  )))
18675
18595
  );
18676
18596
  };
18677
- TimeSelect.defaultProps = defaultProps$3;
18678
18597
  TimeSelect.displayName = "NutTimeSelect";
18679
18598
  const defaultProps$2 = {
18680
18599
  ...ComponentDefaults,
@@ -18755,7 +18674,6 @@
18755
18674
  };
18756
18675
  return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, style, ...rest }, !left2 && renderContent(!left2), Number(value) !== 0 && /* @__PURE__ */ React.createElement(React.Fragment, null, rateTrend.current ? /* @__PURE__ */ React.createElement(React.Fragment, null, riseIcon || /* @__PURE__ */ React.createElement(c, { color: calcIconProps.color })) : /* @__PURE__ */ React.createElement(React.Fragment, null, dropIcon || /* @__PURE__ */ React.createElement(e, { color: calcIconProps.color }))), left2 && renderContent(!left2));
18757
18676
  };
18758
- TrendArrow.defaultProps = defaultProps$2;
18759
18677
  TrendArrow.displayName = "NutTrendArrow";
18760
18678
  const defaultProps$1 = {
18761
18679
  ...ComponentDefaults,
@@ -18886,7 +18804,6 @@
18886
18804
  }
18887
18805
  );
18888
18806
  };
18889
- WaterMark.defaultProps = defaultProps$1;
18890
18807
  WaterMark.displayName = "NutWaterMark";
18891
18808
  const defaultProps = {
18892
18809
  ...ComponentDefaults,
@@ -19421,7 +19338,6 @@
19421
19338
  };
19422
19339
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: cls, ...rest, style }, children, /* @__PURE__ */ React.createElement("div", { className: "nut-avatar-cropper-edit-text", onClick: chooseImage }, editText)), CropperPopup());
19423
19340
  };
19424
- AvatarCropper.defaultProps = defaultProps;
19425
19341
  AvatarCropper.displayName = "NutAvatarCropper";
19426
19342
  exports2.ActionSheet = ActionSheet;
19427
19343
  exports2.Address = Address;