@nutui/nutui-react-taro 3.1.0-beta.1 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/locales/base.d.ts +6 -0
  3. package/dist/cjs/locales/en-US.js +17 -1
  4. package/dist/cjs/locales/id-ID.js +17 -1
  5. package/dist/cjs/locales/ja-JP.js +16 -2
  6. package/dist/cjs/locales/tr-TR.js +17 -1
  7. package/dist/cjs/locales/vi-VN.js +17 -1
  8. package/dist/cjs/locales/zh-CN.js +15 -1
  9. package/dist/cjs/locales/zh-TW.js +15 -1
  10. package/dist/cjs/locales/zh-UG.js +17 -1
  11. package/dist/cjs/packages/address/existRender.js +1 -1
  12. package/dist/cjs/packages/address/style/style.css +2 -2
  13. package/dist/cjs/packages/address/style/style.harmony.css +6 -6
  14. package/dist/cjs/packages/audio/audio.js +2 -2
  15. package/dist/cjs/packages/audio/style/style.harmony.css +295 -50
  16. package/dist/cjs/packages/button/button.js +38 -9
  17. package/dist/cjs/packages/button/style/button.scss +327 -227
  18. package/dist/cjs/packages/button/style/style.css +292 -47
  19. package/dist/cjs/packages/button/style/style.harmony.css +292 -47
  20. package/dist/cjs/packages/button/style-jmapp/button.scss +327 -227
  21. package/dist/cjs/packages/button/style-jmapp/style.css +268 -23
  22. package/dist/cjs/packages/button/style-jrkf/button.scss +327 -227
  23. package/dist/cjs/packages/button/style-jrkf/style.css +268 -23
  24. package/dist/cjs/packages/calendar/style/style.css +2 -2
  25. package/dist/cjs/packages/calendar/style/style.harmony.css +2 -2
  26. package/dist/cjs/packages/calendarcard/style/style.css +1 -1
  27. package/dist/cjs/packages/calendarcard/style/style.harmony.css +1 -1
  28. package/dist/cjs/packages/card/style/style.harmony.css +2 -2
  29. package/dist/cjs/packages/cascader/cascader.js +1 -1
  30. package/dist/cjs/packages/cascader/style/style.harmony.css +2 -2
  31. package/dist/cjs/packages/checkbox/checkbox.js +4 -3
  32. package/dist/cjs/packages/checkbox/style/checkbox.scss +19 -3
  33. package/dist/cjs/packages/checkbox/style/style.css +21 -6
  34. package/dist/cjs/packages/checkbox/style/style.harmony.css +23 -8
  35. package/dist/cjs/packages/checkbox/style-jmapp/checkbox.scss +19 -3
  36. package/dist/cjs/packages/checkbox/style-jmapp/style.css +18 -3
  37. package/dist/cjs/packages/checkbox/style-jrkf/checkbox.scss +19 -3
  38. package/dist/cjs/packages/checkbox/style-jrkf/style.css +18 -3
  39. package/dist/cjs/packages/checkboxgroup/style/style.css +2 -2
  40. package/dist/cjs/packages/checkboxgroup/style/style.harmony.css +2 -2
  41. package/dist/cjs/packages/circleprogress/circleprogress.js +1 -1
  42. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  43. package/dist/cjs/packages/countdown/style/style.css +1 -1
  44. package/dist/cjs/packages/countdown/style/style.harmony.css +1 -1
  45. package/dist/cjs/packages/datepicker/datepicker.js +3 -5
  46. package/dist/cjs/packages/datepicker/utils.js +7 -0
  47. package/dist/cjs/packages/dialog/style/style.harmony.css +292 -47
  48. package/dist/cjs/packages/elevator/style/elevator.scss +6 -2
  49. package/dist/cjs/packages/elevator/style/style.css +2 -2
  50. package/dist/cjs/packages/elevator/style/style.harmony.css +2 -2
  51. package/dist/cjs/packages/elevator/style-jmapp/elevator.scss +6 -2
  52. package/dist/cjs/packages/elevator/style-jmapp/style.css +2 -2
  53. package/dist/cjs/packages/elevator/style-jrkf/elevator.scss +6 -2
  54. package/dist/cjs/packages/elevator/style-jrkf/style.css +2 -2
  55. package/dist/cjs/packages/ellipsis/style/style.css +1 -1
  56. package/dist/cjs/packages/ellipsis/style/style.harmony.css +1 -1
  57. package/dist/cjs/packages/empty/style/style.harmony.css +292 -47
  58. package/dist/cjs/packages/hoverbuttonitem/hoverbuttonitem.js +1 -1
  59. package/dist/cjs/packages/inputnumber/inputnumber.js +5 -1
  60. package/dist/cjs/packages/inputnumber/style/inputnumber.scss +11 -5
  61. package/dist/cjs/packages/inputnumber/style/style.css +16 -11
  62. package/dist/cjs/packages/inputnumber/style/style.harmony.css +16 -11
  63. package/dist/cjs/packages/inputnumber/style-jmapp/inputnumber.scss +11 -5
  64. package/dist/cjs/packages/inputnumber/style-jmapp/style.css +10 -5
  65. package/dist/cjs/packages/inputnumber/style-jrkf/inputnumber.scss +11 -5
  66. package/dist/cjs/packages/inputnumber/style-jrkf/style.css +10 -5
  67. package/dist/cjs/packages/pagination/pagination.js +2 -2
  68. package/dist/cjs/packages/price/price.js +15 -4
  69. package/dist/cjs/packages/progress/progress.js +2 -2
  70. package/dist/cjs/packages/radio/radio.js +3 -2
  71. package/dist/cjs/packages/radio/style/radio.scss +9 -3
  72. package/dist/cjs/packages/radio/style/style.css +10 -5
  73. package/dist/cjs/packages/radio/style/style.harmony.css +12 -7
  74. package/dist/cjs/packages/radio/style-jmapp/radio.scss +9 -3
  75. package/dist/cjs/packages/radio/style-jmapp/style.css +8 -3
  76. package/dist/cjs/packages/radio/style-jrkf/radio.scss +9 -3
  77. package/dist/cjs/packages/radio/style-jrkf/style.css +8 -3
  78. package/dist/cjs/packages/radiogroup/style/style.css +2 -2
  79. package/dist/cjs/packages/radiogroup/style/style.harmony.css +2 -2
  80. package/dist/cjs/packages/range/style/style.css +3 -3
  81. package/dist/cjs/packages/range/style/style.harmony.css +3 -3
  82. package/dist/cjs/packages/resultpage/resultpage.js +5 -5
  83. package/dist/cjs/packages/resultpage/style/style.harmony.css +292 -47
  84. package/dist/cjs/packages/searchbar/style/searchbar.scss +5 -5
  85. package/dist/cjs/packages/searchbar/style/style.css +5 -5
  86. package/dist/cjs/packages/searchbar/style/style.harmony.css +5 -5
  87. package/dist/cjs/packages/searchbar/style-jmapp/searchbar.scss +5 -5
  88. package/dist/cjs/packages/searchbar/style-jmapp/style.css +5 -5
  89. package/dist/cjs/packages/searchbar/style-jrkf/searchbar.scss +5 -5
  90. package/dist/cjs/packages/searchbar/style-jrkf/style.css +5 -5
  91. package/dist/cjs/packages/signature/signature.js +1 -1
  92. package/dist/cjs/packages/steps/style/style.css +2 -2
  93. package/dist/cjs/packages/steps/style/style.harmony.css +2 -2
  94. package/dist/cjs/packages/swipe/swipe.js +2 -2
  95. package/dist/cjs/packages/switch/style/style.css +2 -2
  96. package/dist/cjs/packages/switch/style/style.harmony.css +2 -2
  97. package/dist/cjs/packages/tabs/style/style.css +2 -2
  98. package/dist/cjs/packages/tabs/style/style.harmony.css +2 -2
  99. package/dist/cjs/packages/tag/style/style.css +2 -2
  100. package/dist/cjs/packages/tag/style/style.harmony.css +2 -2
  101. package/dist/cjs/packages/timedetail/style/style.css +1 -1
  102. package/dist/cjs/packages/timedetail/style/style.harmony.css +1 -1
  103. package/dist/cjs/packages/timeselect/style/style.harmony.css +1 -1
  104. package/dist/cjs/packages/toast/style/style.css +18 -15
  105. package/dist/cjs/packages/toast/style/style.harmony.css +18 -15
  106. package/dist/cjs/packages/toast/style/toast.scss +23 -16
  107. package/dist/cjs/packages/toast/style-jmapp/style.css +17 -14
  108. package/dist/cjs/packages/toast/style-jmapp/toast.scss +23 -16
  109. package/dist/cjs/packages/toast/style-jrkf/style.css +17 -14
  110. package/dist/cjs/packages/toast/style-jrkf/toast.scss +23 -16
  111. package/dist/cjs/packages/toast/toast.js +2 -3
  112. package/dist/cjs/types/base/atoms.d.ts +3 -3
  113. package/dist/cjs/types/spec/button/base.d.ts +1 -0
  114. package/dist/cjs/utils/taro/get-system-info.d.ts +0 -5
  115. package/dist/cjs/utils/taro/get-system-info.js +2 -7
  116. package/dist/es/hooks/taro/use-custom-event.js +1 -0
  117. package/dist/es/locales/base.d.ts +6 -0
  118. package/dist/es/locales/en-US.js +17 -1
  119. package/dist/es/locales/id-ID.js +17 -1
  120. package/dist/es/locales/ja-JP.js +16 -2
  121. package/dist/es/locales/tr-TR.js +17 -1
  122. package/dist/es/locales/vi-VN.js +17 -1
  123. package/dist/es/locales/zh-CN.js +15 -1
  124. package/dist/es/locales/zh-TW.js +15 -1
  125. package/dist/es/locales/zh-UG.js +17 -1
  126. package/dist/es/packages/address/existRender.js +1 -1
  127. package/dist/es/packages/address/style/style.css +2 -2
  128. package/dist/es/packages/address/style/style.harmony.css +6 -6
  129. package/dist/es/packages/audio/audio.js +2 -2
  130. package/dist/es/packages/audio/style/style.harmony.css +295 -50
  131. package/dist/es/packages/button/button.js +37 -8
  132. package/dist/es/packages/button/style/button.scss +327 -227
  133. package/dist/es/packages/button/style/style.css +292 -47
  134. package/dist/es/packages/button/style/style.harmony.css +292 -47
  135. package/dist/es/packages/button/style-jmapp/button.scss +327 -227
  136. package/dist/es/packages/button/style-jmapp/style.css +268 -23
  137. package/dist/es/packages/button/style-jrkf/button.scss +327 -227
  138. package/dist/es/packages/button/style-jrkf/style.css +268 -23
  139. package/dist/es/packages/calendar/style/style.css +2 -2
  140. package/dist/es/packages/calendar/style/style.harmony.css +2 -2
  141. package/dist/es/packages/calendarcard/style/style.css +1 -1
  142. package/dist/es/packages/calendarcard/style/style.harmony.css +1 -1
  143. package/dist/es/packages/card/style/style.harmony.css +2 -2
  144. package/dist/es/packages/cascader/cascader.js +1 -1
  145. package/dist/es/packages/cascader/style/style.harmony.css +2 -2
  146. package/dist/es/packages/checkbox/checkbox.js +4 -3
  147. package/dist/es/packages/checkbox/style/checkbox.scss +19 -3
  148. package/dist/es/packages/checkbox/style/style.css +21 -6
  149. package/dist/es/packages/checkbox/style/style.harmony.css +23 -8
  150. package/dist/es/packages/checkbox/style-jmapp/checkbox.scss +19 -3
  151. package/dist/es/packages/checkbox/style-jmapp/style.css +18 -3
  152. package/dist/es/packages/checkbox/style-jrkf/checkbox.scss +19 -3
  153. package/dist/es/packages/checkbox/style-jrkf/style.css +18 -3
  154. package/dist/es/packages/checkboxgroup/style/style.css +2 -2
  155. package/dist/es/packages/checkboxgroup/style/style.harmony.css +2 -2
  156. package/dist/es/packages/circleprogress/circleprogress.js +1 -1
  157. package/dist/es/packages/configprovider/types.d.ts +1 -1
  158. package/dist/es/packages/countdown/style/style.css +1 -1
  159. package/dist/es/packages/countdown/style/style.harmony.css +1 -1
  160. package/dist/es/packages/datepicker/datepicker.js +3 -5
  161. package/dist/es/packages/datepicker/utils.js +7 -0
  162. package/dist/es/packages/dialog/style/style.harmony.css +292 -47
  163. package/dist/es/packages/elevator/style/elevator.scss +6 -2
  164. package/dist/es/packages/elevator/style/style.css +2 -2
  165. package/dist/es/packages/elevator/style/style.harmony.css +2 -2
  166. package/dist/es/packages/elevator/style-jmapp/elevator.scss +6 -2
  167. package/dist/es/packages/elevator/style-jmapp/style.css +2 -2
  168. package/dist/es/packages/elevator/style-jrkf/elevator.scss +6 -2
  169. package/dist/es/packages/elevator/style-jrkf/style.css +2 -2
  170. package/dist/es/packages/ellipsis/style/style.css +1 -1
  171. package/dist/es/packages/ellipsis/style/style.harmony.css +1 -1
  172. package/dist/es/packages/empty/style/style.harmony.css +292 -47
  173. package/dist/es/packages/hoverbuttonitem/hoverbuttonitem.js +1 -1
  174. package/dist/es/packages/inputnumber/inputnumber.js +5 -1
  175. package/dist/es/packages/inputnumber/style/inputnumber.scss +11 -5
  176. package/dist/es/packages/inputnumber/style/style.css +16 -11
  177. package/dist/es/packages/inputnumber/style/style.harmony.css +16 -11
  178. package/dist/es/packages/inputnumber/style-jmapp/inputnumber.scss +11 -5
  179. package/dist/es/packages/inputnumber/style-jmapp/style.css +10 -5
  180. package/dist/es/packages/inputnumber/style-jrkf/inputnumber.scss +11 -5
  181. package/dist/es/packages/inputnumber/style-jrkf/style.css +10 -5
  182. package/dist/es/packages/pagination/pagination.js +2 -2
  183. package/dist/es/packages/price/price.js +16 -5
  184. package/dist/es/packages/progress/progress.js +2 -2
  185. package/dist/es/packages/radio/radio.js +3 -2
  186. package/dist/es/packages/radio/style/radio.scss +9 -3
  187. package/dist/es/packages/radio/style/style.css +10 -5
  188. package/dist/es/packages/radio/style/style.harmony.css +12 -7
  189. package/dist/es/packages/radio/style-jmapp/radio.scss +9 -3
  190. package/dist/es/packages/radio/style-jmapp/style.css +8 -3
  191. package/dist/es/packages/radio/style-jrkf/radio.scss +9 -3
  192. package/dist/es/packages/radio/style-jrkf/style.css +8 -3
  193. package/dist/es/packages/radiogroup/style/style.css +2 -2
  194. package/dist/es/packages/radiogroup/style/style.harmony.css +2 -2
  195. package/dist/es/packages/range/style/style.css +3 -3
  196. package/dist/es/packages/range/style/style.harmony.css +3 -3
  197. package/dist/es/packages/resultpage/resultpage.js +5 -5
  198. package/dist/es/packages/resultpage/style/style.harmony.css +292 -47
  199. package/dist/es/packages/searchbar/style/searchbar.scss +5 -5
  200. package/dist/es/packages/searchbar/style/style.css +5 -5
  201. package/dist/es/packages/searchbar/style/style.harmony.css +5 -5
  202. package/dist/es/packages/searchbar/style-jmapp/searchbar.scss +5 -5
  203. package/dist/es/packages/searchbar/style-jmapp/style.css +5 -5
  204. package/dist/es/packages/searchbar/style-jrkf/searchbar.scss +5 -5
  205. package/dist/es/packages/searchbar/style-jrkf/style.css +5 -5
  206. package/dist/es/packages/signature/signature.js +1 -1
  207. package/dist/es/packages/steps/style/style.css +2 -2
  208. package/dist/es/packages/steps/style/style.harmony.css +2 -2
  209. package/dist/es/packages/swipe/swipe.js +2 -2
  210. package/dist/es/packages/switch/style/style.css +2 -2
  211. package/dist/es/packages/switch/style/style.harmony.css +2 -2
  212. package/dist/es/packages/tabs/style/style.css +2 -2
  213. package/dist/es/packages/tabs/style/style.harmony.css +2 -2
  214. package/dist/es/packages/tag/style/style.css +2 -2
  215. package/dist/es/packages/tag/style/style.harmony.css +2 -2
  216. package/dist/es/packages/timedetail/style/style.css +1 -1
  217. package/dist/es/packages/timedetail/style/style.harmony.css +1 -1
  218. package/dist/es/packages/timeselect/style/style.harmony.css +1 -1
  219. package/dist/es/packages/toast/style/style.css +18 -15
  220. package/dist/es/packages/toast/style/style.harmony.css +18 -15
  221. package/dist/es/packages/toast/style/toast.scss +23 -16
  222. package/dist/es/packages/toast/style-jmapp/style.css +17 -14
  223. package/dist/es/packages/toast/style-jmapp/toast.scss +23 -16
  224. package/dist/es/packages/toast/style-jrkf/style.css +17 -14
  225. package/dist/es/packages/toast/style-jrkf/toast.scss +23 -16
  226. package/dist/es/packages/toast/toast.js +2 -3
  227. package/dist/es/types/base/atoms.d.ts +3 -3
  228. package/dist/es/types/spec/button/base.d.ts +1 -0
  229. package/dist/es/utils/taro/get-system-info.d.ts +0 -5
  230. package/dist/es/utils/taro/get-system-info.js +8 -7
  231. package/dist/nutui.react.umd.js +135 -51
  232. package/dist/style-jmapp.css +1 -1
  233. package/dist/style-jmapp.scss +33 -33
  234. package/dist/style-jrkf.css +1 -1
  235. package/dist/style-jrkf.scss +34 -34
  236. package/dist/style.css +1 -1
  237. package/dist/style.scss +35 -35
  238. package/dist/styles/theme-daojia.scss +55 -48
  239. package/dist/styles/theme-dark-daojia.scss +55 -47
  240. package/dist/styles/theme-dark.scss +108 -109
  241. package/dist/styles/theme-default.scss +110 -111
  242. package/dist/styles/theme-jmapp.scss +1 -1
  243. package/dist/styles/theme-jrkf.scss +1 -1
  244. package/dist/styles/themes/daojia.css +1 -1
  245. package/dist/styles/themes/dark-daojia.css +1 -1
  246. package/dist/styles/themes/dark.css +1 -1
  247. package/dist/styles/themes/default.css +1 -1
  248. package/dist/styles/themes/jmapp.css +1 -1
  249. package/dist/styles/themes/jrkf.css +1 -1
  250. package/dist/styles/variables-daojia.scss +1055 -1976
  251. package/dist/styles/variables-jmapp.scss +96 -5
  252. package/dist/styles/variables-jrkf.scss +96 -5
  253. package/dist/styles/variables.scss +141 -37
  254. package/package.json +1 -1
@@ -1433,7 +1433,7 @@
1433
1433
  var Button = /* @__PURE__ */ React.forwardRef(function(props, ref) {
1434
1434
  var _ref = _object_spread({}, defaultProps$1C, props), color = _ref.color, shape = _ref.shape, fill = _ref.fill, loading = _ref.loading, disabled = _ref.disabled, type2 = _ref.type, size = _ref.size, block = _ref.block, icon = _ref.icon, rightIcon = _ref.rightIcon, children = _ref.children, className = _ref.className, style = _ref.style;
1435
1435
  _ref.nativeType;
1436
- var onClick = _ref.onClick, rest = _object_without_properties(_ref, [
1436
+ var description = _ref.description, onClick = _ref.onClick, rest = _object_without_properties(_ref, [
1437
1437
  "color",
1438
1438
  "shape",
1439
1439
  "fill",
@@ -1448,8 +1448,22 @@
1448
1448
  "className",
1449
1449
  "style",
1450
1450
  "nativeType",
1451
+ "description",
1451
1452
  "onClick"
1452
1453
  ]);
1454
+ var mappedSize = React.useMemo(function() {
1455
+ if (!size) return "normal";
1456
+ var sizeMap = {
1457
+ "48": "xlarge",
1458
+ "40": "large",
1459
+ "32": "normal",
1460
+ "28": "small",
1461
+ "24": "mini"
1462
+ };
1463
+ return sizeMap[size] || size;
1464
+ }, [
1465
+ size
1466
+ ]);
1453
1467
  var getStyle = React.useMemo(function() {
1454
1468
  var style2 = {};
1455
1469
  if (color) {
@@ -1459,7 +1473,7 @@
1459
1473
  style2.borderColor = color;
1460
1474
  }
1461
1475
  } else {
1462
- style2.color = "#fff";
1476
+ style2.color = "var(--nutui-color-primary-text, #fff)";
1463
1477
  if (harmony()) {
1464
1478
  style2.backgroundColor = color;
1465
1479
  }
@@ -1478,7 +1492,7 @@
1478
1492
  if (props.fill === "outline" || props.fill === "dashed") {
1479
1493
  style2.color = color;
1480
1494
  } else {
1481
- style2.color = "#fff";
1495
+ style2.color = "var(--nutui-color-primary-text, #fff)";
1482
1496
  style2.background = "transparent";
1483
1497
  style2.borderColor = "transparent";
1484
1498
  }
@@ -1499,26 +1513,41 @@
1499
1513
  onClick
1500
1514
  ]);
1501
1515
  var _obj;
1502
- var buttonClassNames = classNames(prefixCls$2, "".concat(prefixCls$2, "-").concat(type2), (_obj = {}, _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2, "-solid"), type2 === "primary" && !props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(size), size), _define_property(_obj, "".concat(prefixCls$2, "-").concat(shape), shape), _define_property(_obj, "".concat(prefixCls$2, "-").concat(shape, "-").concat(size), shape && size), _define_property(_obj, "".concat(prefixCls$2, "-block"), block), _define_property(_obj, "".concat(prefixCls$2, "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2).concat(props.fill ? "-".concat(fill) : "", "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls$2, "-loading"), loading), _define_property(_obj, "".concat(prefixCls$2, "-icononly"), !children), _obj), className);
1516
+ var buttonClassNames = classNames(prefixCls$2, "".concat(prefixCls$2, "-").concat(type2), (_obj = {}, _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2, "-solid"), type2 === "primary" && !props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls$2, "-").concat(mappedSize), mappedSize), _define_property(_obj, "".concat(prefixCls$2, "-has-desc"), !!description), _define_property(_obj, "".concat(prefixCls$2, "-").concat(shape), shape), _define_property(_obj, "".concat(prefixCls$2, "-block"), block), _define_property(_obj, "".concat(prefixCls$2, "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls$2, "-").concat(type2).concat(props.fill ? "-".concat(fill) : "", "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls$2, "-loading"), loading), _define_property(_obj, "".concat(prefixCls$2, "-icononly"), !children), _obj), className);
1503
1517
  return (
1518
+ // <TaroButton>
1504
1519
  // @ts-ignore
1505
- // <TaroButton
1506
1520
  /* @__PURE__ */ React.createElement(components.View, _object_spread_props(_object_spread({}, rest), {
1507
1521
  ref,
1508
1522
  // formType={formType || nativeType}
1509
1523
  className: buttonClassNames,
1510
1524
  style: _object_spread({}, getStyle, style),
1525
+ ariaRole: "button",
1526
+ role: "button",
1527
+ ariaDisabled: disabled || loading,
1528
+ "aria-disabled": disabled || loading,
1529
+ ariaBusy: loading,
1530
+ "aria-busy": loading,
1511
1531
  onClick: function(e) {
1512
1532
  return handleClick(e);
1513
1533
  }
1514
1534
  }), /* @__PURE__ */ React.createElement(components.View, {
1515
1535
  className: "nut-button-wrap"
1516
1536
  }, loading && /* @__PURE__ */ React.createElement(IconSVG$i, {
1517
- className: "nut-icon-loading"
1537
+ className: "nut-icon-loading",
1538
+ ariaHidden: true,
1539
+ "aria-hidden": true
1518
1540
  }), !loading && icon, children && /* @__PURE__ */ React.createElement(components.View, {
1519
- className: "nut-button-children nut-button-".concat(size, "-children nut-button-").concat(type2, "-children ").concat(!(props.fill || disabled || loading) ? "" : "nut-button-".concat(type2).concat(props.fill ? "-".concat(fill) : "").concat(disabled || loading ? "-disabled" : "")).concat(icon || loading ? " nut-button-text" : "").concat(rightIcon ? " nut-button-text-right" : ""),
1541
+ className: classNames("nut-button-children", "nut-button-".concat(mappedSize, "-children"), "nut-button-".concat(type2, "-children"), {
1542
+ "nut-button-text": icon || loading,
1543
+ "nut-button-text-right": rightIcon
1544
+ }),
1520
1545
  style: harmony() ? getContStyle : {}
1521
- }, children), rightIcon))
1546
+ }, description ? /* @__PURE__ */ React.createElement(components.View, {
1547
+ className: "nut-button-title"
1548
+ }, children) : children, description && /* @__PURE__ */ React.createElement(components.View, {
1549
+ className: "nut-button-desc"
1550
+ }, description)), rightIcon))
1522
1551
  );
1523
1552
  });
1524
1553
  Button.displayName = "NutButton";
@@ -1930,6 +1959,11 @@
1930
1959
  edit: "编辑",
1931
1960
  reset: "重置",
1932
1961
  close: "关闭",
1962
+ back: "返回",
1963
+ clear: "清除",
1964
+ image: {
1965
+ errorTip: "图片加载失败"
1966
+ },
1933
1967
  video: {
1934
1968
  errorTip: "视频加载失败",
1935
1969
  clickRetry: "点击重试"
@@ -1969,7 +2003,16 @@
1969
2003
  },
1970
2004
  today: "今天",
1971
2005
  loadPreviousMonth: "加载上一个月",
1972
- noEarlierMonth: "没有更早月份"
2006
+ noEarlierMonth: "没有更早月份",
2007
+ dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
2008
+ if (isActive) {
2009
+ return today ? "已选定今日".concat(month, "月").concat(day, "号") : "已选定".concat(month, "月").concat(day, "号");
2010
+ }
2011
+ if (isDisable) {
2012
+ return today ? "".concat(month, "月").concat(day, "号今日按钮变暗") : "".concat(month, "月").concat(day, "号按钮变暗");
2013
+ }
2014
+ return today ? "".concat(month, "月").concat(day, "号今日") : "".concat(month, "月").concat(day, "号");
2015
+ }
1973
2016
  },
1974
2017
  shortpassword: {
1975
2018
  title: "请输入密码",
@@ -3130,9 +3173,6 @@
3130
3173
  var getWindowInfo = function() {
3131
3174
  return typeof Taro.getWindowInfo === "function" ? Taro.getWindowInfo() : Taro.getSystemInfoSync();
3132
3175
  };
3133
- var getAppBaseInfo = function() {
3134
- return typeof Taro.getAppBaseInfo === "function" ? Taro.getAppBaseInfo() : Taro.getSystemInfoSync();
3135
- };
3136
3176
  function useWatch$1(dep, callback) {
3137
3177
  var config2 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
3138
3178
  immediate: false
@@ -3519,7 +3559,7 @@
3519
3559
  var _useState = _sliced_to_array(React.useState(false), 2), isTouchStart = _useState[0], setTouchStart = _useState[1];
3520
3560
  React.useMemo(function() {
3521
3561
  return isHarmony ? {
3522
- color: isTouchStart ? "#595959" : "#1A1A1A"
3562
+ color: isTouchStart ? "var(--nutui-color-text, #595959)" : "var(--nutui-color-title, #1A1A1A)"
3523
3563
  } : {};
3524
3564
  }, [
3525
3565
  isTouchStart
@@ -7672,7 +7712,7 @@
7672
7712
  selectedExist(item);
7673
7713
  }
7674
7714
  }, item.selectedAddress ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.isValidElement(selectIcon) ? selectIcon : /* @__PURE__ */ React.createElement(IconSVG$r, {
7675
- color: "#FF0F23"
7715
+ color: "var(--nutui-color-primary, #ff0f23)"
7676
7716
  })) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.isValidElement(defaultIcon) ? defaultIcon : /* @__PURE__ */ React.createElement(IconSVG$g, null)), /* @__PURE__ */ React.createElement(components.View, {
7677
7717
  className: "".concat(classPrefix2, "-exist-item-info")
7678
7718
  }, item.name && item.phone && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(components.View, null, item.name), /* @__PURE__ */ React.createElement(components.View, null, item.phone)), /* @__PURE__ */ React.createElement(components.View, null, item.provinceName + item.cityName + item.countyName + item.townName + item.addressDetail)));
@@ -8392,7 +8432,7 @@
8392
8432
  className: "nut-cascader-item-icon-loading"
8393
8433
  }), active2 && (React.isValidElement(activeIcon) ? activeIcon : /* @__PURE__ */ React.createElement(IconSVG$r, {
8394
8434
  className: "".concat(classPrefix2, "-icon-check"),
8395
- color: activeColor || "#ff0f23"
8435
+ color: activeColor || "var(--nutui-color-primary, #ff0f23)"
8396
8436
  })));
8397
8437
  });
8398
8438
  };
@@ -9989,9 +10029,10 @@
9989
10029
  return cls;
9990
10030
  };
9991
10031
  var renderLabel = function() {
9992
- return /* @__PURE__ */ React.createElement(components.View, {
10032
+ var hasLabel = children || label;
10033
+ return hasLabel ? /* @__PURE__ */ React.createElement(components.View, {
9993
10034
  className: classNames("".concat(classPrefix$j, "-label "), _define_property({}, "".concat(classPrefix$j, "-label-disabled"), innerDisabled))
9994
- }, children || label);
10035
+ }, hasLabel) : null;
9995
10036
  };
9996
10037
  var handleClick = function() {
9997
10038
  if (disabled) return;
@@ -10020,7 +10061,7 @@
10020
10061
  };
10021
10062
  var _obj;
10022
10063
  return /* @__PURE__ */ React.createElement(components.View, _object_spread_props(_object_spread({
10023
- className: classNames(classPrefix$j, (_obj = {}, _define_property(_obj, "".concat(classPrefix$j, "-reverse"), labelPosition === "left"), _define_property(_obj, "nut-checkbox-list-item", ctx === null || ctx === void 0 ? void 0 : ctx.list), _define_property(_obj, "".concat(classPrefix$j, "-active"), innerChecked), _obj), className)
10064
+ className: classNames(classPrefix$j, (_obj = {}, _define_property(_obj, "".concat(classPrefix$j, "-reverse"), labelPosition === "left"), _define_property(_obj, "nut-checkbox-list-item", ctx === null || ctx === void 0 ? void 0 : ctx.list), _define_property(_obj, "".concat(classPrefix$j, "-active"), innerChecked), _define_property(_obj, "".concat(classPrefix$j, "-nolabel"), !(children || label)), _obj), className)
10024
10065
  }, rest), {
10025
10066
  onClick: handleClick,
10026
10067
  ariaRole: "checkbox",
@@ -10905,6 +10946,13 @@
10905
10946
  if (rangeType === "year-month" && formattedDate.length < 3) {
10906
10947
  formattedDate.push(new Date(defaultDate).getDate());
10907
10948
  }
10949
+ if ((rangeType === "time" || rangeType === "hour-minutes") && formattedDate.length < 6) {
10950
+ var defaultDateObj = new Date(defaultDate);
10951
+ formattedDate.unshift(defaultDateObj.getFullYear(), defaultDateObj.getMonth() + 1, defaultDateObj.getDate());
10952
+ if (rangeType === "hour-minutes") {
10953
+ formattedDate.push(0);
10954
+ }
10955
+ }
10908
10956
  var year = Number(formattedDate[0]);
10909
10957
  var month = Number(formattedDate[1]) - 1;
10910
10958
  var day = Math.min(Number(formattedDate[2]), getLastDayOfMonth(year, month + 1));
@@ -10997,11 +11045,9 @@
10997
11045
  if (!isEqual((_this = new Date(selectedDate)) === null || _this === void 0 ? void 0 : _this.getTime(), newDate === null || newDate === void 0 ? void 0 : newDate.getTime())) {
10998
11046
  setInnerDate(formatValue(newDate, startDate, endDate));
10999
11047
  }
11000
- onChange === null || onChange === void 0 ? void 0 : onChange(selectedOptions, [
11001
- String(newDate.getFullYear()),
11002
- String(newDate.getMonth() + 1),
11003
- String(newDate.getDate())
11004
- ], index2);
11048
+ onChange === null || onChange === void 0 ? void 0 : onChange(selectedOptions, selectedOptions.map(function(val2) {
11049
+ return val2.value;
11050
+ }), index2);
11005
11051
  }
11006
11052
  };
11007
11053
  var handleConfirmDateComparison = function(newDate) {
@@ -13343,7 +13389,9 @@
13343
13389
  onClick: handleReduce
13344
13390
  }, /* @__PURE__ */ React.createElement(IconSVG$e, {
13345
13391
  className: classNames("".concat(classPrefix$h, "-icon ").concat(classPrefix$h, "-icon-minus"), _define_property({}, "".concat(classPrefix$h, "-icon-disabled"), Number(shadowValue) <= Number(min) || disabled))
13346
- })), /* @__PURE__ */ React.createElement("input", {
13392
+ })), /* @__PURE__ */ React.createElement(components.View, {
13393
+ className: "".concat(classPrefix$h, "-divider")
13394
+ }), /* @__PURE__ */ React.createElement("input", {
13347
13395
  className: classNames("".concat(classPrefix$h, "-input"), _define_property({}, "".concat(classPrefix$h, "-input-disabled"), disabled)),
13348
13396
  type: formatter ? "text" : type2,
13349
13397
  ref: inputRef,
@@ -13354,6 +13402,8 @@
13354
13402
  onInput: handleInputChange,
13355
13403
  onBlur: handleBlur,
13356
13404
  onFocus: handleFocus
13405
+ }), /* @__PURE__ */ React.createElement(components.View, {
13406
+ className: "".concat(classPrefix$h, "-divider")
13357
13407
  }), /* @__PURE__ */ React.createElement(components.View, {
13358
13408
  className: "".concat(classPrefix$h, "-add"),
13359
13409
  onClick: handlePlus
@@ -13959,8 +14009,8 @@
13959
14009
  };
13960
14010
  }
13961
14011
  var color = function() {
13962
- var _obj;
13963
- return _obj = {}, _define_property(_obj, "".concat(classPrefix2, "-icon-disabled"), disabled), _define_property(_obj, "".concat(classPrefix2, "-icon"), !checkedStatement), _define_property(_obj, "".concat(classPrefix2, "-icon-checked"), checkedStatement), _obj;
14012
+ var _obj2;
14013
+ return _obj2 = {}, _define_property(_obj2, "".concat(classPrefix2, "-icon-disabled"), disabled), _define_property(_obj2, "".concat(classPrefix2, "-icon"), !checkedStatement), _define_property(_obj2, "".concat(classPrefix2, "-icon-checked"), checkedStatement), _obj2;
13964
14014
  };
13965
14015
  var renderIcon = function() {
13966
14016
  var icon = props.icon, activeIcon = props.activeIcon;
@@ -13993,13 +14043,13 @@
13993
14043
  };
13994
14044
  var renderLabel = function() {
13995
14045
  var labelcls = classNames("".concat(classPrefix2, "-label"), _define_property({}, "".concat(classPrefix2, "-label-disabled"), disabled));
13996
- return /* @__PURE__ */ React.createElement(React.Fragment, null, renderIcon(), /* @__PURE__ */ React.createElement(components.View, {
14046
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, renderIcon(), children && /* @__PURE__ */ React.createElement(components.View, {
13997
14047
  className: labelcls
13998
14048
  }, children));
13999
14049
  };
14000
14050
  var renderButton = function() {
14001
- var _obj;
14002
- var buttoncls = classNames("".concat(classPrefix2, "-button"), (_obj = {}, _define_property(_obj, "".concat(classPrefix2, "-button-active"), checkedStatement), _define_property(_obj, "".concat(classPrefix2, "-button-disabled"), disabled), _obj));
14051
+ var _obj2;
14052
+ var buttoncls = classNames("".concat(classPrefix2, "-button"), (_obj2 = {}, _define_property(_obj2, "".concat(classPrefix2, "-button-active"), checkedStatement), _define_property(_obj2, "".concat(classPrefix2, "-button-disabled"), disabled), _obj2));
14003
14053
  return /* @__PURE__ */ React.createElement(components.View, {
14004
14054
  className: buttoncls
14005
14055
  }, children);
@@ -14014,7 +14064,8 @@
14014
14064
  if (disabled || checkedStatement) return;
14015
14065
  setCheckedStatement(!checkedStatement);
14016
14066
  };
14017
- var cls = classNames(classPrefix2, _define_property({}, "".concat(classPrefix2, "-reverse"), labelPosition === "left"), className);
14067
+ var _obj;
14068
+ var cls = classNames(classPrefix2, (_obj = {}, _define_property(_obj, "".concat(classPrefix2, "-reverse"), labelPosition === "left"), _define_property(_obj, "".concat(classPrefix2, "-nolabel"), !children), _obj), className);
14018
14069
  return /* @__PURE__ */ React.createElement(components.View, {
14019
14070
  className: cls,
14020
14071
  style,
@@ -15171,7 +15222,7 @@
15171
15222
  canvasId: "spcanvas",
15172
15223
  type: "png",
15173
15224
  lineWidth: 2,
15174
- strokeStyle: "#1A1A1A"
15225
+ strokeStyle: "var(--nutui-color-title, #1a1a1a)"
15175
15226
  });
15176
15227
  var InternalSignature = function(props, ref) {
15177
15228
  var _ref = _object_spread({}, defaultProps$O, props), canvasId = _ref.canvasId, type2 = _ref.type, lineWidth = _ref.lineWidth, strokeStyle = _ref.strokeStyle, className = _ref.className;
@@ -15649,7 +15700,7 @@
15649
15700
  }, baseStyles),
15650
15701
  inner: _object_spread({
15651
15702
  width: "".concat(displayPercent, "%"),
15652
- background: effectiveColor || "#FF0F23"
15703
+ background: effectiveColor || "var(--nutui-color-primary, #ff0f23)"
15653
15704
  }, baseStyles, transitionStyle)
15654
15705
  };
15655
15706
  };
@@ -18194,19 +18245,19 @@
18194
18245
  var cls = classNames(classPrefix2, className);
18195
18246
  var defaultStatus2 = {
18196
18247
  success: /* @__PURE__ */ React.createElement(IconSVG$6, {
18197
- color: "#00D900"
18248
+ color: "var(--nutui-color-success, #0acc2a)"
18198
18249
  }),
18199
18250
  error: /* @__PURE__ */ React.createElement(IconSVG$n, {
18200
- color: "#FF0F23"
18251
+ color: "var(--nutui-color-primary, #ff0f23)"
18201
18252
  }),
18202
18253
  warning: /* @__PURE__ */ React.createElement(IconSVG, {
18203
- color: "#FFBF00"
18254
+ color: "var(--nutui-color-warning, #ffaa00)"
18204
18255
  }),
18205
18256
  info: /* @__PURE__ */ React.createElement(IconSVG$5, {
18206
- color: "#0073FF"
18257
+ color: "var(--nutui-color-info, #0c82f7)"
18207
18258
  }),
18208
18259
  waiting: /* @__PURE__ */ React.createElement(IconSVG$v, {
18209
- color: "#0073FF"
18260
+ color: "var(--nutui-color-info, #0c82f7)"
18210
18261
  })
18211
18262
  };
18212
18263
  return /* @__PURE__ */ React.createElement(components.View, {
@@ -18455,7 +18506,7 @@
18455
18506
  var newState = _object_spread_props(_object_spread({}, state), {
18456
18507
  dragging: true
18457
18508
  });
18458
- var isEdge = !opened || touch.deltaX.current * startOffset.current < 0;
18509
+ var isEdge = !opened.current || touch.deltaX.current * startOffset.current < 0;
18459
18510
  if (isEdge) {
18460
18511
  preventDefault(event);
18461
18512
  }
@@ -18481,7 +18532,7 @@
18481
18532
  var toggle = function(side) {
18482
18533
  var offset = Math.abs(state.offset);
18483
18534
  var base = 0.3;
18484
- var baseNum = opened ? 1 - base : base;
18535
+ var baseNum = opened.current ? 1 - base : base;
18485
18536
  var width2 = side === "left" ? actionWidth.current.left : actionWidth.current.right;
18486
18537
  if (width2 && offset > Number(width2) * baseNum) {
18487
18538
  open2(side);
@@ -18592,7 +18643,7 @@
18592
18643
  Swipe.displayName = "NutSwipe";
18593
18644
  var defaultProps$w = _object_spread_props(_object_spread({}, defaultOverlayProps), {
18594
18645
  id: "",
18595
- duration: 2,
18646
+ duration: 3,
18596
18647
  position: "middle",
18597
18648
  title: "",
18598
18649
  size: "base",
@@ -18709,7 +18760,7 @@
18709
18760
  className: "".concat(classPrefix2, " ").concat(classes),
18710
18761
  id
18711
18762
  }, /* @__PURE__ */ React.createElement(components.View, {
18712
- className: classNames("".concat(classPrefix2, "-inner"), "".concat(classPrefix2, "-").concat(position2), contentClassName, "".concat(classPrefix2, "-inner-").concat(size), "".concat(classPrefix2, "-inner-").concat(wordBreak), _define_property({}, "".concat(classPrefix2, "-inner-descrption"), content2)),
18763
+ className: classNames("".concat(classPrefix2, "-inner"), "".concat(classPrefix2, "-").concat(position2), contentClassName, "".concat(classPrefix2, "-inner-").concat(size), "".concat(classPrefix2, "-inner-").concat(wordBreak)),
18713
18764
  style: _object_spread({}, styles, contentStyle),
18714
18765
  ariaRole: "alert",
18715
18766
  ariaLabel: (title !== null && title !== void 0 ? title : "") + (content2 !== null && content2 !== void 0 ? content2 : "")
@@ -19070,8 +19121,8 @@
19070
19121
  currentDescription: null,
19071
19122
  maxDescription: null,
19072
19123
  minDescription: null,
19073
- "inactive-color": "#cccccc",
19074
- "active-color": "#FF0F23"
19124
+ "inactive-color": "var(--nutui-color-text-disabled, #c2c4cc)",
19125
+ "active-color": "var(--nutui-color-primary, #ff0f23)"
19075
19126
  })), /* @__PURE__ */ React.createElement(components.View, {
19076
19127
  className: "time"
19077
19128
  }, formatSeconds("".concat(totalSeconds)) || "00:00:00")), /* @__PURE__ */ React.createElement(components.View, {
@@ -19251,7 +19302,7 @@
19251
19302
  strokeWidth: 5,
19252
19303
  radius: 50,
19253
19304
  strokeLinecap: "round",
19254
- color: "#FF0F23",
19305
+ color: "var(--nutui-color-primary, #ff0f23)",
19255
19306
  background: "#e5e9f2",
19256
19307
  clockwise: true
19257
19308
  });
@@ -41086,7 +41137,7 @@
41086
41137
  onClick: function() {
41087
41138
  return prevPage();
41088
41139
  }
41089
- }, addColorForHarmony(prev || locale.pagination.prev, current === 1 ? "#c2c4cc" : "#ff0f23")), mode === "multi" && /* @__PURE__ */ React.createElement(components.View, {
41140
+ }, addColorForHarmony(prev || locale.pagination.prev, current === 1 ? "var(--nutui-color-text-disabled, #c2c4cc)" : "var(--nutui-color-primary, #ff0f23)")), mode === "multi" && /* @__PURE__ */ React.createElement(components.View, {
41090
41141
  className: "".concat(classPrefix2, "-contain")
41091
41142
  }, pages.map(function(item, index2) {
41092
41143
  var _obj2;
@@ -41106,7 +41157,7 @@
41106
41157
  onClick: function() {
41107
41158
  return nextPage();
41108
41159
  }
41109
- }, addColorForHarmony(next || locale.pagination.next, current >= pageCount ? "#c2c4cc" : "#ff0f23"))), mode === "lite" && /* @__PURE__ */ React.createElement(components.View, {
41160
+ }, addColorForHarmony(next || locale.pagination.next, current >= pageCount ? "var(--nutui-color-text-disabled, #c2c4cc)" : "var(--nutui-color-primary, #ff0f23)"))), mode === "lite" && /* @__PURE__ */ React.createElement(components.View, {
41110
41161
  className: "".concat(classPrefix2, "-lite")
41111
41162
  }, /* @__PURE__ */ React.createElement(components.Text, {
41112
41163
  className: "".concat(classPrefix2, "-lite-active")
@@ -41124,6 +41175,30 @@
41124
41175
  return PriceColorEnum2;
41125
41176
  }({});
41126
41177
  var destroyList = [];
41178
+ var CJK = /[\u4E00-\u9FFF]/;
41179
+ var RE_NUM = /\d+(?:\.\d+)?/g;
41180
+ function hasNoExtractablePrice(s) {
41181
+ var t = s.trim();
41182
+ if (!t) return true;
41183
+ if (!/\d/.test(t)) return true;
41184
+ if (t.replace(/[^\d.]/g, "") === "") return true;
41185
+ return false;
41186
+ }
41187
+ function shouldRenderPriceAsRaw(s) {
41188
+ if (hasNoExtractablePrice(s)) {
41189
+ return true;
41190
+ }
41191
+ var t = s.trim();
41192
+ if (!CJK.test(t)) return false;
41193
+ var matches = Array.from(t.matchAll(RE_NUM));
41194
+ if (matches.length < 2) return false;
41195
+ var a = matches[0];
41196
+ var b = matches[1];
41197
+ var i0 = a.index;
41198
+ var i1 = b.index;
41199
+ var between = t.slice(i0 + a[0].length, i1);
41200
+ return CJK.test(between);
41201
+ }
41127
41202
  var defaultProps$g = _object_spread_props(_object_spread({}, ComponentDefaults), {
41128
41203
  color: "primary",
41129
41204
  price: 0,
@@ -41138,10 +41213,17 @@
41138
41213
  var _$_object_spread = _object_spread({}, defaultProps$g, props), color = _$_object_spread.color, originalPrice = _$_object_spread.price, symbol = _$_object_spread.symbol, digits = _$_object_spread.digits, thousands = _$_object_spread.thousands, position2 = _$_object_spread.position, size = _$_object_spread.size, line = _$_object_spread.line, className = _$_object_spread.className, style = _$_object_spread.style;
41139
41214
  var classPrefix2 = "nut-price";
41140
41215
  var rtl = useRtl();
41216
+ var isRenderPriceRaw = React.useMemo(function() {
41217
+ return typeof originalPrice === "string" && shouldRenderPriceAsRaw(originalPrice);
41218
+ }, [
41219
+ originalPrice
41220
+ ]);
41141
41221
  var price = React.useMemo(function() {
41222
+ if (isRenderPriceRaw) return "";
41142
41223
  return originalPrice.toString().replace(/[^\d.]/g, "");
41143
41224
  }, [
41144
- originalPrice
41225
+ originalPrice,
41226
+ isRenderPriceRaw
41145
41227
  ]);
41146
41228
  var isCustomPriceColor = React.useMemo(function() {
41147
41229
  var specificPriceColor = Object.values(PriceColorEnum);
@@ -41222,13 +41304,16 @@
41222
41304
  style: priceColorStyle
41223
41305
  }, formatDecimal(price))) : null, symbol && position2 === "after" ? renderSymbol() : null);
41224
41306
  };
41225
- return /* @__PURE__ */ React.createElement(React.Fragment, null, harmony() || td() ? /* @__PURE__ */ React.createElement(components.Text, {
41307
+ var renderRawContent = function() {
41308
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, originalPrice);
41309
+ };
41310
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, harmony() || process.env.TARO_ENV === "dynamic" ? /* @__PURE__ */ React.createElement(components.Text, {
41226
41311
  className: "".concat(classPrefix2, " ").concat(classPrefix2, "-").concat(color, " ").concat(className),
41227
41312
  style
41228
- }, renderInner()) : /* @__PURE__ */ React.createElement(components.View, {
41313
+ }, isRenderPriceRaw ? renderRawContent() : renderInner()) : /* @__PURE__ */ React.createElement(components.View, {
41229
41314
  className: "".concat(classPrefix2, " ").concat(classPrefix2, "-").concat(color, " ").concat(className),
41230
41315
  style
41231
- }, renderInner()));
41316
+ }, isRenderPriceRaw ? renderRawContent() : renderInner()));
41232
41317
  };
41233
41318
  Price.displayName = "NutPrice";
41234
41319
  var defaultProps$f = {
@@ -43635,7 +43720,6 @@
43635
43720
  exports.destroyList = destroyList;
43636
43721
  exports.funcInterceptor = funcInterceptor;
43637
43722
  exports.getAllScrollableParents = getAllScrollableParents;
43638
- exports.getAppBaseInfo = getAppBaseInfo;
43639
43723
  exports.getCurrMonthData = getCurrMonthData;
43640
43724
  exports.getDaysStatus = getDaysStatus;
43641
43725
  exports.getDefaultConfig = getDefaultConfig;