@nutui/nutui-react-taro 3.0.19-cpp-beta.5 → 3.0.19-cpp.2

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 (281) hide show
  1. package/dist/cjs/hooks/taro/use-custom-event.js +5 -5
  2. package/dist/cjs/hooks/use-ref-state.js +3 -3
  3. package/dist/cjs/hooks/use-touch.js +1 -2
  4. package/dist/cjs/packages/actionsheet/style/style.harmony.css +2 -2
  5. package/dist/cjs/packages/address/style/style.harmony.css +3 -3
  6. package/dist/cjs/packages/address/utils.js +3 -3
  7. package/dist/cjs/packages/audio/style/style.harmony.css +5 -5
  8. package/dist/cjs/packages/avatarcropper/avatarcropper.js +16 -28
  9. package/dist/cjs/packages/badge/badge.js +4 -7
  10. package/dist/cjs/packages/badge/style/badge.scss +1 -1
  11. package/dist/cjs/packages/badge/style/style.css +1 -1
  12. package/dist/cjs/packages/badge/style/style.harmony.css +1 -1
  13. package/dist/cjs/packages/badge/style-jmapp/badge.scss +1 -1
  14. package/dist/cjs/packages/badge/style-jmapp/style.css +1 -1
  15. package/dist/cjs/packages/badge/style-jrkf/badge.scss +1 -1
  16. package/dist/cjs/packages/badge/style-jrkf/style.css +1 -1
  17. package/dist/cjs/packages/barrage/barrage.js +14 -24
  18. package/dist/cjs/packages/button/style/style.css +5 -5
  19. package/dist/cjs/packages/button/style/style.harmony.css +5 -5
  20. package/dist/cjs/packages/calendar/style/style.css +2 -2
  21. package/dist/cjs/packages/calendar/style/style.harmony.css +4 -4
  22. package/dist/cjs/packages/calendar/utils.js +8 -8
  23. package/dist/cjs/packages/calendarcard/icon.js +5 -5
  24. package/dist/cjs/packages/calendarcard/style/style.css +1 -1
  25. package/dist/cjs/packages/calendarcard/style/style.harmony.css +1 -1
  26. package/dist/cjs/packages/calendarcard/utils.js +6 -6
  27. package/dist/cjs/packages/card/style/style.harmony.css +4 -4
  28. package/dist/cjs/packages/cascader/cascader.js +12 -21
  29. package/dist/cjs/packages/cascader/style/style.harmony.css +3 -3
  30. package/dist/cjs/packages/cascader/utils.js +3 -3
  31. package/dist/cjs/packages/checkbox/style/style.css +1 -1
  32. package/dist/cjs/packages/checkbox/style/style.harmony.css +1 -1
  33. package/dist/cjs/packages/circleprogress/style/style.css +1 -1
  34. package/dist/cjs/packages/circleprogress/style/style.harmony.css +1 -1
  35. package/dist/cjs/packages/col/col.js +16 -11
  36. package/dist/cjs/packages/collapseitem/collapseitem.js +4 -7
  37. package/dist/cjs/packages/configprovider/configprovider.js +7 -7
  38. package/dist/cjs/packages/configprovider/index.js +6 -6
  39. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  40. package/dist/cjs/packages/countdown/countdown.js +1 -2
  41. package/dist/cjs/packages/countdown/style/countdown.scss +1 -1
  42. package/dist/cjs/packages/countdown/style/style.css +1 -1
  43. package/dist/cjs/packages/countdown/style/style.harmony.css +1 -1
  44. package/dist/cjs/packages/countdown/style-jmapp/countdown.scss +1 -1
  45. package/dist/cjs/packages/countdown/style-jmapp/style.css +1 -1
  46. package/dist/cjs/packages/countdown/style-jrkf/countdown.scss +1 -1
  47. package/dist/cjs/packages/countdown/style-jrkf/style.css +1 -1
  48. package/dist/cjs/packages/datepicker/style/style.harmony.css +4 -4
  49. package/dist/cjs/packages/datepicker/utils.js +9 -9
  50. package/dist/cjs/packages/dialog/content.js +3 -3
  51. package/dist/cjs/packages/dialog/dialog.js +8 -11
  52. package/dist/cjs/packages/dialog/style/dialog.scss +4 -2
  53. package/dist/cjs/packages/dialog/style/style.css +6 -4
  54. package/dist/cjs/packages/dialog/style/style.harmony.css +11 -9
  55. package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +4 -2
  56. package/dist/cjs/packages/dialog/style-jmapp/style.css +4 -2
  57. package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +4 -2
  58. package/dist/cjs/packages/dialog/style-jrkf/style.css +4 -2
  59. package/dist/cjs/packages/drag/drag.js +4 -7
  60. package/dist/cjs/packages/elevator/elevator.js +7 -10
  61. package/dist/cjs/packages/ellipsis/ellipsis.js +17 -30
  62. package/dist/cjs/packages/empty/style/style.css +2 -2
  63. package/dist/cjs/packages/empty/style/style.harmony.css +7 -7
  64. package/dist/cjs/packages/fixednav/style/style.harmony.css +1 -1
  65. package/dist/cjs/packages/form/index.js +0 -2
  66. package/dist/cjs/packages/form/useform.js +50 -57
  67. package/dist/cjs/packages/imagepreview/style/style.harmony.css +2 -2
  68. package/dist/cjs/packages/infiniteloading/infiniteloading.js +8 -14
  69. package/dist/cjs/packages/input/style/style.css +1 -1
  70. package/dist/cjs/packages/input/style/style.harmony.css +1 -1
  71. package/dist/cjs/packages/inputnumber/inputnumber.js +16 -28
  72. package/dist/cjs/packages/lottie/types.js +0 -2
  73. package/dist/cjs/packages/menuitem/menuitem.js +24 -22
  74. package/dist/cjs/packages/noticebar/noticebar.js +71 -67
  75. package/dist/cjs/packages/notify/notify.js +4 -4
  76. package/dist/cjs/packages/numberkeyboard/style/style.css +3 -3
  77. package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +5 -5
  78. package/dist/cjs/packages/nutui.react.build.js +105 -105
  79. package/dist/cjs/packages/nutui.react.js +105 -105
  80. package/dist/cjs/packages/overlay/overlay.js +3 -3
  81. package/dist/cjs/packages/picker/style/style.css +2 -2
  82. package/dist/cjs/packages/picker/style/style.harmony.css +4 -4
  83. package/dist/cjs/packages/pickerview/pickerroller.js +4 -7
  84. package/dist/cjs/packages/pickerview/pickerview.js +1 -2
  85. package/dist/cjs/packages/pickerview/utils.js +3 -3
  86. package/dist/cjs/packages/popover/popover.js +75 -77
  87. package/dist/cjs/packages/popover/style/style.harmony.css +2 -2
  88. package/dist/cjs/packages/popup/popup.js +8 -14
  89. package/dist/cjs/packages/popup/style/style.css +2 -2
  90. package/dist/cjs/packages/popup/style/style.harmony.css +2 -2
  91. package/dist/cjs/packages/price/style/price.scss +3 -3
  92. package/dist/cjs/packages/price/style/style.css +4 -4
  93. package/dist/cjs/packages/price/style/style.harmony.css +4 -4
  94. package/dist/cjs/packages/price/style-jmapp/price.scss +3 -3
  95. package/dist/cjs/packages/price/style-jmapp/style.css +3 -3
  96. package/dist/cjs/packages/price/style-jrkf/price.scss +3 -3
  97. package/dist/cjs/packages/price/style-jrkf/style.css +3 -3
  98. package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +52 -56
  99. package/dist/cjs/packages/radio/index.js +0 -2
  100. package/dist/cjs/packages/radio/style/style.css +1 -1
  101. package/dist/cjs/packages/radio/style/style.harmony.css +1 -1
  102. package/dist/cjs/packages/range/range.js +16 -28
  103. package/dist/cjs/packages/rate/style/rate.scss +1 -1
  104. package/dist/cjs/packages/rate/style/style.css +1 -1
  105. package/dist/cjs/packages/rate/style/style.harmony.css +1 -1
  106. package/dist/cjs/packages/rate/style-jmapp/rate.scss +1 -1
  107. package/dist/cjs/packages/rate/style-jmapp/style.css +1 -1
  108. package/dist/cjs/packages/rate/style-jrkf/rate.scss +1 -1
  109. package/dist/cjs/packages/rate/style-jrkf/style.css +1 -1
  110. package/dist/cjs/packages/resultpage/style/style.harmony.css +5 -5
  111. package/dist/cjs/packages/shortpassword/shortpassword.js +3 -3
  112. package/dist/cjs/packages/shortpassword/style/style.css +1 -1
  113. package/dist/cjs/packages/shortpassword/style/style.harmony.css +3 -3
  114. package/dist/cjs/packages/sidebar/style/style.css +1 -1
  115. package/dist/cjs/packages/sidebar/style/style.harmony.css +1 -1
  116. package/dist/cjs/packages/steps/style/style.css +1 -1
  117. package/dist/cjs/packages/steps/style/style.harmony.css +1 -1
  118. package/dist/cjs/packages/sticky/sticky.js +4 -7
  119. package/dist/cjs/packages/swipe/swipe.js +8 -15
  120. package/dist/cjs/packages/swiper/index.js +0 -1
  121. package/dist/cjs/packages/switch/switch.js +4 -7
  122. package/dist/cjs/packages/tabbar/style/style.harmony.css +3 -3
  123. package/dist/cjs/packages/tabbaritem/style/style.css +2 -2
  124. package/dist/cjs/packages/tabbaritem/style/style.harmony.css +3 -3
  125. package/dist/cjs/packages/tabs/style/style.css +1 -1
  126. package/dist/cjs/packages/tabs/style/style.harmony.css +1 -1
  127. package/dist/cjs/packages/timeselect/style/style.harmony.css +2 -2
  128. package/dist/cjs/packages/toast/style/style.css +1 -1
  129. package/dist/cjs/packages/toast/style/style.harmony.css +1 -1
  130. package/dist/cjs/packages/toast/toast.js +4 -4
  131. package/dist/cjs/packages/tour/style/style.harmony.css +2 -2
  132. package/dist/cjs/packages/uploader/uploader.js +38 -51
  133. package/dist/cjs/packages/virtuallist/utils.js +6 -6
  134. package/dist/cjs/packages/watermark/watermark.js +4 -8
  135. package/dist/cjs/types/spec/address/base.js +0 -2
  136. package/dist/cjs/utils/date.js +5 -5
  137. package/dist/cjs/utils/event-mocker.js +10 -18
  138. package/dist/cjs/utils/get-rect.js +4 -4
  139. package/dist/cjs/utils/get-scroll-parent.js +3 -3
  140. package/dist/cjs/utils/merge-props.js +3 -3
  141. package/dist/cjs/utils/merge.js +6 -6
  142. package/dist/cjs/utils/raf.js +3 -3
  143. package/dist/cjs/utils/render.js +5 -9
  144. package/dist/cjs/utils/rubberband.js +3 -3
  145. package/dist/cjs/utils/taro/get-rect.js +14 -24
  146. package/dist/cjs/utils/taro/get-system-info.js +4 -4
  147. package/dist/cjs/utils/taro/platform.js +5 -5
  148. package/dist/es/hooks/use-touch.js +1 -1
  149. package/dist/es/packages/actionsheet/style/style.harmony.css +2 -2
  150. package/dist/es/packages/address/style/style.harmony.css +3 -3
  151. package/dist/es/packages/audio/style/style.harmony.css +5 -5
  152. package/dist/es/packages/avatarcropper/avatarcropper.js +16 -28
  153. package/dist/es/packages/badge/badge.js +4 -7
  154. package/dist/es/packages/badge/style/badge.scss +1 -1
  155. package/dist/es/packages/badge/style/style.css +1 -1
  156. package/dist/es/packages/badge/style/style.harmony.css +1 -1
  157. package/dist/es/packages/badge/style-jmapp/badge.scss +1 -1
  158. package/dist/es/packages/badge/style-jmapp/style.css +1 -1
  159. package/dist/es/packages/badge/style-jrkf/badge.scss +1 -1
  160. package/dist/es/packages/badge/style-jrkf/style.css +1 -1
  161. package/dist/es/packages/barrage/barrage.js +14 -24
  162. package/dist/es/packages/button/style/style.css +5 -5
  163. package/dist/es/packages/button/style/style.harmony.css +5 -5
  164. package/dist/es/packages/calendar/style/style.css +2 -2
  165. package/dist/es/packages/calendar/style/style.harmony.css +4 -4
  166. package/dist/es/packages/calendarcard/style/style.css +1 -1
  167. package/dist/es/packages/calendarcard/style/style.harmony.css +1 -1
  168. package/dist/es/packages/card/style/style.harmony.css +4 -4
  169. package/dist/es/packages/cascader/cascader.js +12 -21
  170. package/dist/es/packages/cascader/style/style.harmony.css +3 -3
  171. package/dist/es/packages/checkbox/style/style.css +1 -1
  172. package/dist/es/packages/checkbox/style/style.harmony.css +1 -1
  173. package/dist/es/packages/circleprogress/style/style.css +1 -1
  174. package/dist/es/packages/circleprogress/style/style.harmony.css +1 -1
  175. package/dist/es/packages/col/col.js +17 -12
  176. package/dist/es/packages/collapseitem/collapseitem.js +4 -7
  177. package/dist/es/packages/configprovider/types.d.ts +1 -1
  178. package/dist/es/packages/countdown/countdown.js +1 -2
  179. package/dist/es/packages/countdown/style/countdown.scss +1 -1
  180. package/dist/es/packages/countdown/style/style.css +1 -1
  181. package/dist/es/packages/countdown/style/style.harmony.css +1 -1
  182. package/dist/es/packages/countdown/style-jmapp/countdown.scss +1 -1
  183. package/dist/es/packages/countdown/style-jmapp/style.css +1 -1
  184. package/dist/es/packages/countdown/style-jrkf/countdown.scss +1 -1
  185. package/dist/es/packages/countdown/style-jrkf/style.css +1 -1
  186. package/dist/es/packages/datepicker/style/style.harmony.css +4 -4
  187. package/dist/es/packages/dialog/dialog.js +4 -7
  188. package/dist/es/packages/dialog/style/dialog.scss +4 -2
  189. package/dist/es/packages/dialog/style/style.css +6 -4
  190. package/dist/es/packages/dialog/style/style.harmony.css +11 -9
  191. package/dist/es/packages/dialog/style-jmapp/dialog.scss +4 -2
  192. package/dist/es/packages/dialog/style-jmapp/style.css +4 -2
  193. package/dist/es/packages/dialog/style-jrkf/dialog.scss +4 -2
  194. package/dist/es/packages/dialog/style-jrkf/style.css +4 -2
  195. package/dist/es/packages/drag/drag.js +4 -7
  196. package/dist/es/packages/elevator/elevator.js +4 -7
  197. package/dist/es/packages/ellipsis/ellipsis.js +17 -30
  198. package/dist/es/packages/empty/style/style.css +2 -2
  199. package/dist/es/packages/empty/style/style.harmony.css +7 -7
  200. package/dist/es/packages/fixednav/style/style.harmony.css +1 -1
  201. package/dist/es/packages/form/index.js +0 -1
  202. package/dist/es/packages/form/useform.js +46 -53
  203. package/dist/es/packages/imagepreview/style/style.harmony.css +2 -2
  204. package/dist/es/packages/infiniteloading/infiniteloading.js +8 -14
  205. package/dist/es/packages/input/style/style.css +1 -1
  206. package/dist/es/packages/input/style/style.harmony.css +1 -1
  207. package/dist/es/packages/inputnumber/inputnumber.js +16 -28
  208. package/dist/es/packages/lottie/types.js +1 -1
  209. package/dist/es/packages/menuitem/menuitem.js +24 -22
  210. package/dist/es/packages/noticebar/noticebar.js +71 -67
  211. package/dist/es/packages/numberkeyboard/style/style.css +3 -3
  212. package/dist/es/packages/numberkeyboard/style/style.harmony.css +5 -5
  213. package/dist/es/packages/picker/style/style.css +2 -2
  214. package/dist/es/packages/picker/style/style.harmony.css +4 -4
  215. package/dist/es/packages/pickerview/pickerroller.js +4 -7
  216. package/dist/es/packages/pickerview/pickerview.js +1 -2
  217. package/dist/es/packages/popover/popover.js +75 -77
  218. package/dist/es/packages/popover/style/style.harmony.css +2 -2
  219. package/dist/es/packages/popup/popup.js +8 -14
  220. package/dist/es/packages/popup/style/style.css +2 -2
  221. package/dist/es/packages/popup/style/style.harmony.css +2 -2
  222. package/dist/es/packages/price/style/price.scss +3 -3
  223. package/dist/es/packages/price/style/style.css +4 -4
  224. package/dist/es/packages/price/style/style.harmony.css +4 -4
  225. package/dist/es/packages/price/style-jmapp/price.scss +3 -3
  226. package/dist/es/packages/price/style-jmapp/style.css +3 -3
  227. package/dist/es/packages/price/style-jrkf/price.scss +3 -3
  228. package/dist/es/packages/price/style-jrkf/style.css +3 -3
  229. package/dist/es/packages/pulltorefresh/pulltorefresh.js +52 -56
  230. package/dist/es/packages/radio/index.js +0 -1
  231. package/dist/es/packages/radio/style/style.css +1 -1
  232. package/dist/es/packages/radio/style/style.harmony.css +1 -1
  233. package/dist/es/packages/range/range.js +16 -28
  234. package/dist/es/packages/rate/style/rate.scss +1 -1
  235. package/dist/es/packages/rate/style/style.css +1 -1
  236. package/dist/es/packages/rate/style/style.harmony.css +1 -1
  237. package/dist/es/packages/rate/style-jmapp/rate.scss +1 -1
  238. package/dist/es/packages/rate/style-jmapp/style.css +1 -1
  239. package/dist/es/packages/rate/style-jrkf/rate.scss +1 -1
  240. package/dist/es/packages/rate/style-jrkf/style.css +1 -1
  241. package/dist/es/packages/resultpage/style/style.harmony.css +5 -5
  242. package/dist/es/packages/shortpassword/style/style.css +1 -1
  243. package/dist/es/packages/shortpassword/style/style.harmony.css +3 -3
  244. package/dist/es/packages/sidebar/style/style.css +1 -1
  245. package/dist/es/packages/sidebar/style/style.harmony.css +1 -1
  246. package/dist/es/packages/steps/style/style.css +1 -1
  247. package/dist/es/packages/steps/style/style.harmony.css +1 -1
  248. package/dist/es/packages/sticky/sticky.js +4 -7
  249. package/dist/es/packages/swipe/swipe.js +8 -15
  250. package/dist/es/packages/swiper/index.js +0 -1
  251. package/dist/es/packages/switch/switch.js +4 -7
  252. package/dist/es/packages/tabbar/style/style.harmony.css +3 -3
  253. package/dist/es/packages/tabbaritem/style/style.css +2 -2
  254. package/dist/es/packages/tabbaritem/style/style.harmony.css +3 -3
  255. package/dist/es/packages/tabs/style/style.css +1 -1
  256. package/dist/es/packages/tabs/style/style.harmony.css +1 -1
  257. package/dist/es/packages/timeselect/style/style.harmony.css +2 -2
  258. package/dist/es/packages/toast/style/style.css +1 -1
  259. package/dist/es/packages/toast/style/style.harmony.css +1 -1
  260. package/dist/es/packages/tour/style/style.harmony.css +2 -2
  261. package/dist/es/packages/uploader/uploader.js +38 -51
  262. package/dist/es/packages/watermark/watermark.js +4 -8
  263. package/dist/es/types/spec/address/base.js +1 -1
  264. package/dist/es/utils/event-mocker.js +4 -12
  265. package/dist/es/utils/render.js +2 -6
  266. package/dist/es/utils/taro/get-rect.js +10 -20
  267. package/dist/nutui.react.umd.js +612 -820
  268. package/dist/style-jmapp.css +1 -1
  269. package/dist/style-jmapp.scss +31 -31
  270. package/dist/style-jrkf.css +1 -1
  271. package/dist/style-jrkf.scss +28 -28
  272. package/dist/style.css +1 -1
  273. package/dist/style.scss +28 -28
  274. package/dist/styles/jd-font.scss +4 -4
  275. package/dist/styles/theme-default.scss +4 -1
  276. package/dist/styles/themes/dark.css +1 -1
  277. package/dist/styles/themes/default.css +1 -1
  278. package/dist/styles/variables-jmapp.scss +5 -0
  279. package/dist/styles/variables-jrkf.scss +5 -0
  280. package/dist/styles/variables.scss +16 -7
  281. package/package.json +1 -1
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- customEvents: function() {
12
+ get customEvents () {
13
13
  return customEvents;
14
14
  },
15
- useCustomEvent: function() {
15
+ get useCustomEvent () {
16
16
  return useCustomEvent;
17
17
  },
18
- useCustomEventsPath: function() {
18
+ get useCustomEventsPath () {
19
19
  return useCustomEventsPath;
20
20
  },
21
- useParams: function() {
21
+ get useParams () {
22
22
  return useParams;
23
23
  }
24
24
  });
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- getRefValue: function() {
12
+ get getRefValue () {
13
13
  return getRefValue;
14
14
  },
15
- useRefState: function() {
15
+ get useRefState () {
16
16
  return useRefState;
17
17
  }
18
18
  });
@@ -8,8 +8,7 @@ Object.defineProperty(exports, "useTouch", {
8
8
  return useTouch;
9
9
  }
10
10
  });
11
- var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
- var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
11
+ var _react = require("react");
13
12
  var MIN_DISTANCE = 10;
14
13
  function getDirection(x, y) {
15
14
  if (x > y && x > MIN_DISTANCE) {
@@ -83,8 +83,8 @@
83
83
  .nut-popup-title-title {
84
84
  color: var(--nutui-color-title, #1a1a1a);
85
85
  font-weight: var(--nutui-font-weight-bold, 600);
86
- font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
87
- line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
86
+ font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
87
+ line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
88
88
  }
89
89
  .nut-popup-title-description {
90
90
  color: var(--nutui-color-text, #505259);
@@ -226,8 +226,8 @@
226
226
  .nut-popup-title-title {
227
227
  color: var(--nutui-color-title, #1a1a1a);
228
228
  font-weight: var(--nutui-font-weight-bold, 600);
229
- font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
230
- line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
229
+ font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
230
+ line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
231
231
  }
232
232
  .nut-popup-title-description {
233
233
  color: var(--nutui-color-text, #505259);
@@ -660,7 +660,7 @@
660
660
  .nut-tabs-titles-simple .nut-tabs-titles-item-active .nut-tabs-titles-item-text,
661
661
  .nut-tabs-titles-simple .nut-tabs-titles-item-active .nut-icon {
662
662
  color: var(--nutui-color-title, #1a1a1a);
663
- font-size: var(--nutui-tabs-titles-item-active-font-size, var(--nutui-font-size-l, 16px));
663
+ font-size: var(--nutui-tabs-titles-item-active-font-size, var(--nutui-font-size-l, 15px));
664
664
  }
665
665
  .nut-tabs-titles-card .nut-tabs-titles-item-active {
666
666
  font-weight: var(--nutui-font-weight-bold, 600);
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- findDataByName: function() {
12
+ get findDataByName () {
13
13
  return findDataByName;
14
14
  },
15
- transformData: function() {
15
+ get transformData () {
16
16
  return transformData;
17
17
  }
18
18
  });
@@ -138,7 +138,7 @@
138
138
  .nut-button-large {
139
139
  height: var(--nutui-button-large-height, 40px);
140
140
  padding: var(--nutui-button-large-padding, 0px 16px);
141
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
141
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
142
142
  border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
143
143
  }
144
144
  .nut-button-large .nut-button-text {
@@ -148,12 +148,12 @@
148
148
  margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
149
149
  }
150
150
  .nut-button-large .nut-icon {
151
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
152
- width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
153
- height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
151
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
152
+ width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
153
+ height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
154
154
  }
155
155
  .nut-button-large-children {
156
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
156
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
157
157
  }
158
158
  .nut-button-small {
159
159
  height: var(--nutui-button-small-height, 28px);
@@ -319,8 +319,8 @@ var AvatarCropper = function AvatarCropper(props) {
319
319
  draw
320
320
  ]);
321
321
  // 设置绘制图片
322
- var setDrawImgInfo = /*#__PURE__*/ function() {
323
- var _ref = (0, _async_to_generator._)(function(image) {
322
+ var setDrawImgInfo = function setDrawImgInfo(image) {
323
+ return (0, _async_to_generator._)(function() {
324
324
  var displayWidth, cropperWidth, copyDrawImg, imgWidth, imgHeight, isPortrait, rate, scale;
325
325
  return (0, _ts_generator._)(this, function(_state) {
326
326
  switch(_state.label){
@@ -370,11 +370,8 @@ var AvatarCropper = function AvatarCropper(props) {
370
370
  ];
371
371
  }
372
372
  });
373
- });
374
- return function setDrawImgInfo(image) {
375
- return _ref.apply(this, arguments);
376
- };
377
- }();
373
+ })();
374
+ };
378
375
  var chooseImage = function chooseImage() {
379
376
  _taro.default.chooseImage({
380
377
  count: 1,
@@ -388,8 +385,8 @@ var AvatarCropper = function AvatarCropper(props) {
388
385
  }
389
386
  });
390
387
  };
391
- var imageChange = /*#__PURE__*/ function() {
392
- var _ref = (0, _async_to_generator._)(function(file) {
388
+ var imageChange = function imageChange(file) {
389
+ return (0, _async_to_generator._)(function() {
393
390
  return (0, _ts_generator._)(this, function(_state) {
394
391
  _taro.default.getImageInfo({
395
392
  src: file.path
@@ -401,11 +398,8 @@ var AvatarCropper = function AvatarCropper(props) {
401
398
  2
402
399
  ];
403
400
  });
404
- });
405
- return function imageChange(file) {
406
- return _ref.apply(this, arguments);
407
- };
408
- }();
401
+ })();
402
+ };
409
403
  var resetScale = function resetScale(scale) {
410
404
  setState((0, _object_spread_props._)((0, _object_spread._)({}, state), {
411
405
  moveX: 0,
@@ -561,8 +555,8 @@ var AvatarCropper = function AvatarCropper(props) {
561
555
  height: cropperWidth,
562
556
  destWidth: cropperWidth,
563
557
  destHeight: cropperWidth,
564
- success: /*#__PURE__*/ function() {
565
- var _ref = (0, _async_to_generator._)(function(res) {
558
+ success: function success(res) {
559
+ return (0, _async_to_generator._)(function() {
566
560
  var filePath;
567
561
  return (0, _ts_generator._)(this, function(_state) {
568
562
  filePath = res.tempFilePath;
@@ -572,11 +566,8 @@ var AvatarCropper = function AvatarCropper(props) {
572
566
  2
573
567
  ];
574
568
  });
575
- });
576
- return function(res) {
577
- return _ref.apply(this, arguments);
578
- };
579
- }()
569
+ })();
570
+ }
580
571
  });
581
572
  };
582
573
  // 裁剪图片
@@ -600,8 +591,8 @@ var AvatarCropper = function AvatarCropper(props) {
600
591
  height: cropperWidth,
601
592
  destWidth: cropperWidth * systemInfo.pixelRatio,
602
593
  destHeight: cropperWidth * systemInfo.pixelRatio,
603
- success: /*#__PURE__*/ function() {
604
- var _ref = (0, _async_to_generator._)(function(res) {
594
+ success: function success(res) {
595
+ return (0, _async_to_generator._)(function() {
605
596
  var filePath;
606
597
  return (0, _ts_generator._)(this, function(_state) {
607
598
  filePath = res.tempFilePath;
@@ -611,11 +602,8 @@ var AvatarCropper = function AvatarCropper(props) {
611
602
  2
612
603
  ];
613
604
  });
614
- });
615
- return function(res) {
616
- return _ref.apply(this, arguments);
617
- };
618
- }()
605
+ })();
606
+ }
619
607
  });
620
608
  };
621
609
  var ToolBar = function ToolBar() {
@@ -66,8 +66,8 @@ var Badge = function Badge(props) {
66
66
  getPositionStyle();
67
67
  }
68
68
  }, []);
69
- var getPositionStyle = /*#__PURE__*/ function() {
70
- var _ref = (0, _async_to_generator._)(function() {
69
+ var getPositionStyle = function getPositionStyle() {
70
+ return (0, _async_to_generator._)(function() {
71
71
  var style;
72
72
  return (0, _ts_generator._)(this, function(_state) {
73
73
  style = (0, _define_property._)({
@@ -78,11 +78,8 @@ var Badge = function Badge(props) {
78
78
  2
79
79
  ];
80
80
  });
81
- });
82
- return function getPositionStyle() {
83
- return _ref.apply(this, arguments);
84
- };
85
- }();
81
+ })();
82
+ };
86
83
  var _obj1;
87
84
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
88
85
  className: classes,
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  &-number {
61
- font-family: 'JD';
61
+ font-family: 'JDZH-Regular';
62
62
  }
63
63
 
64
64
  &-one {
@@ -56,7 +56,7 @@
56
56
  background: var(--nutui-badge-background-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
57
57
  }
58
58
  .nut-badge-number {
59
- font-family: "JD";
59
+ font-family: "JDZH-Regular";
60
60
  }
61
61
  .nut-badge-one {
62
62
  height: var(--nutui-badge-height, 14px);
@@ -56,7 +56,7 @@
56
56
  background: var(--nutui-badge-background-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
57
57
  }
58
58
  .nut-badge-number {
59
- font-family: "JD";
59
+ font-family: "JDZH-Regular";
60
60
  }
61
61
  .nut-badge-one {
62
62
  height: var(--nutui-badge-height, 14px);
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  &-number {
61
- font-family: 'JD';
61
+ font-family: 'JDZH-Regular';
62
62
  }
63
63
 
64
64
  &-one {
@@ -56,7 +56,7 @@
56
56
  background: var(--nutui-badge-background-disabled-color, var(--nutui-color-text-disabled));
57
57
  }
58
58
  .nut-badge-number {
59
- font-family: "JD";
59
+ font-family: "JDZH-Regular";
60
60
  }
61
61
  .nut-badge-one {
62
62
  height: var(--nutui-badge-height, 20px);
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  &-number {
61
- font-family: 'JD';
61
+ font-family: 'JDZH-Regular';
62
62
  }
63
63
 
64
64
  &-one {
@@ -56,7 +56,7 @@
56
56
  background: var(--nutui-badge-background-disabled-color, var(--nutui-color-text-disabled));
57
57
  }
58
58
  .nut-badge-number {
59
- font-family: "JD";
59
+ font-family: "JDZH-Regular";
60
60
  }
61
61
  .nut-badge-one {
62
62
  height: var(--nutui-badge-height, 20px);
@@ -60,14 +60,13 @@ var InternalBarrage = function InternalBarrage(props, ref) {
60
60
  }
61
61
  };
62
62
  });
63
- var getNodeWidth = /*#__PURE__*/ function() {
64
- var _ref = (0, _async_to_generator._)(function(node) {
65
- var type, refe;
66
- var _arguments = arguments;
63
+ var getNodeWidth = function getNodeWidth(node) {
64
+ var type = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 'width';
65
+ return (0, _async_to_generator._)(function() {
66
+ var refe;
67
67
  return (0, _ts_generator._)(this, function(_state) {
68
68
  switch(_state.label){
69
69
  case 0:
70
- type = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : 'width';
71
70
  if (!node) return [
72
71
  3,
73
72
  2
@@ -89,11 +88,8 @@ var InternalBarrage = function InternalBarrage(props, ref) {
89
88
  ];
90
89
  }
91
90
  });
92
- });
93
- return function getNodeWidth(node) {
94
- return _ref.apply(this, arguments);
95
- };
96
- }();
91
+ })();
92
+ };
97
93
  var clearDomTimeout = function clearDomTimeout() {
98
94
  if (domTimer.current) {
99
95
  clearTimeout(domTimer.current);
@@ -101,8 +97,8 @@ var InternalBarrage = function InternalBarrage(props, ref) {
101
97
  }
102
98
  };
103
99
  (0, _react.useEffect)(function() {
104
- var init = /*#__PURE__*/ function() {
105
- var _ref = (0, _async_to_generator._)(function() {
100
+ var init = function init() {
101
+ return (0, _async_to_generator._)(function() {
106
102
  var _barrageBody_current;
107
103
  return (0, _ts_generator._)(this, function(_state) {
108
104
  switch(_state.label){
@@ -127,11 +123,8 @@ var InternalBarrage = function InternalBarrage(props, ref) {
127
123
  ];
128
124
  }
129
125
  });
130
- });
131
- return function init() {
132
- return _ref.apply(this, arguments);
133
- };
134
- }();
126
+ })();
127
+ };
135
128
  domTimer.current = window.setTimeout(function() {
136
129
  init();
137
130
  }, 300);
@@ -153,8 +146,8 @@ var InternalBarrage = function InternalBarrage(props, ref) {
153
146
  play();
154
147
  }, intervalCache);
155
148
  };
156
- var setStyle = /*#__PURE__*/ function() {
157
- var _ref = (0, _async_to_generator._)(function(el, currentIndex) {
149
+ var setStyle = function setStyle(el, currentIndex) {
150
+ return (0, _async_to_generator._)(function() {
158
151
  var refe, width, height, elScrollDuration, error;
159
152
  return (0, _ts_generator._)(this, function(_state) {
160
153
  switch(_state.label){
@@ -207,11 +200,8 @@ var InternalBarrage = function InternalBarrage(props, ref) {
207
200
  ];
208
201
  }
209
202
  });
210
- });
211
- return function setStyle(el, currentIndex) {
212
- return _ref.apply(this, arguments);
213
- };
214
- }();
203
+ })();
204
+ };
215
205
  var play = function play() {
216
206
  if (!loop && index.current >= list.length) {
217
207
  return;
@@ -138,7 +138,7 @@
138
138
  .nut-button-large {
139
139
  height: var(--nutui-button-large-height, 40px);
140
140
  padding: var(--nutui-button-large-padding, 0px 16px);
141
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
141
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
142
142
  border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
143
143
  }
144
144
  .nut-button-large .nut-button-text {
@@ -148,12 +148,12 @@
148
148
  margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
149
149
  }
150
150
  .nut-button-large .nut-icon {
151
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
152
- width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
153
- height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
151
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
152
+ width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
153
+ height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
154
154
  }
155
155
  .nut-button-large-children {
156
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
156
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
157
157
  }
158
158
  .nut-button-small {
159
159
  height: var(--nutui-button-small-height, 28px);
@@ -138,7 +138,7 @@
138
138
  .nut-button-large {
139
139
  height: var(--nutui-button-large-height, 40px);
140
140
  padding: var(--nutui-button-large-padding, 0px 16px);
141
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
141
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
142
142
  border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
143
143
  }
144
144
  .nut-button-large .nut-button-text {
@@ -148,12 +148,12 @@
148
148
  margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
149
149
  }
150
150
  .nut-button-large .nut-icon {
151
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
152
- width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
153
- height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
151
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
152
+ width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
153
+ height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
154
154
  }
155
155
  .nut-button-large-children {
156
- font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
156
+ font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
157
157
  }
158
158
  .nut-button-small {
159
159
  height: var(--nutui-button-small-height, 28px);
@@ -7,14 +7,14 @@
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  flex: 1;
10
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
10
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
11
11
  background-color: var(--nutui-color-background-overlay, #ffffff);
12
12
  color: var(--nutui-color-title, #1a1a1a);
13
13
  overflow: hidden;
14
14
  height: 100%;
15
15
  }
16
16
  .nut-calendar.nut-calendar-title .nut-calendar-header .calendar-title {
17
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
17
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
18
18
  }
19
19
  .nut-calendar .nut-calendar-taro {
20
20
  height: 60vh;
@@ -83,8 +83,8 @@
83
83
  .nut-popup-title-title {
84
84
  color: var(--nutui-color-title, #1a1a1a);
85
85
  font-weight: var(--nutui-font-weight-bold, 600);
86
- font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
87
- line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
86
+ font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
87
+ line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
88
88
  }
89
89
  .nut-popup-title-description {
90
90
  color: var(--nutui-color-text, #505259);
@@ -387,14 +387,14 @@
387
387
  display: flex;
388
388
  flex-direction: column;
389
389
  flex: 1;
390
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
390
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
391
391
  background-color: var(--nutui-color-background-overlay, #ffffff);
392
392
  color: var(--nutui-color-title, #1a1a1a);
393
393
  overflow: hidden;
394
394
  height: 100%;
395
395
  }
396
396
  .nut-calendar.nut-calendar-title .nut-calendar-header .calendar-title {
397
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
397
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
398
398
  }
399
399
  .nut-calendar .nut-calendar-taro {
400
400
  height: 60vh;
@@ -5,29 +5,29 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- getCurrDate: function() {
12
+ get getCurrDate () {
13
13
  return getCurrDate;
14
14
  },
15
- isCurrDay: function() {
15
+ get isCurrDay () {
16
16
  return isCurrDay;
17
17
  },
18
- isEnd: function() {
18
+ get isEnd () {
19
19
  return isEnd;
20
20
  },
21
- isMultiple: function() {
21
+ get isMultiple () {
22
22
  return isMultiple;
23
23
  },
24
- isStart: function() {
24
+ get isStart () {
25
25
  return isStart;
26
26
  },
27
- isStartAndEnd: function() {
27
+ get isStartAndEnd () {
28
28
  return isStartAndEnd;
29
29
  },
30
- splitDate: function() {
30
+ get splitDate () {
31
31
  return splitDate;
32
32
  }
33
33
  });
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ArrowLeft: function() {
12
+ get ArrowLeft () {
13
13
  return ArrowLeft;
14
14
  },
15
- ArrowRight: function() {
15
+ get ArrowRight () {
16
16
  return ArrowRight;
17
17
  },
18
- DoubleLeft: function() {
18
+ get DoubleLeft () {
19
19
  return DoubleLeft;
20
20
  },
21
- DoubleRight: function() {
21
+ get DoubleRight () {
22
22
  return DoubleRight;
23
23
  }
24
24
  });
@@ -6,7 +6,7 @@
6
6
  background: var(--nutui-color-background-overlay, #ffffff);
7
7
  border-radius: 12px;
8
8
  overflow: hidden;
9
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
9
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
10
10
  color: var(--nutui-color-title, #1a1a1a);
11
11
  }
12
12
  .nut-calendarcard-header {
@@ -6,7 +6,7 @@
6
6
  background: var(--nutui-color-background-overlay, #ffffff);
7
7
  border-radius: 12px;
8
8
  overflow: hidden;
9
- font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 16px));
9
+ font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, 15px));
10
10
  color: var(--nutui-color-title, #1a1a1a);
11
11
  }
12
12
  .nut-calendarcard-header {
@@ -5,23 +5,23 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- convertDateToDay: function() {
12
+ get convertDateToDay () {
13
13
  return convertDateToDay;
14
14
  },
15
- convertDayToDate: function() {
15
+ get convertDayToDate () {
16
16
  return convertDayToDate;
17
17
  },
18
- getCurrentMonthDays: function() {
18
+ get getCurrentMonthDays () {
19
19
  return getCurrentMonthDays;
20
20
  },
21
- getCurrentWeekDays: function() {
21
+ get getCurrentWeekDays () {
22
22
  return getCurrentWeekDays;
23
23
  },
24
- getPrevMonthDays: function() {
24
+ get getPrevMonthDays () {
25
25
  return getPrevMonthDays;
26
26
  }
27
27
  });
@@ -4,22 +4,22 @@
4
4
  /* #endif */
5
5
  .nut-price {
6
6
  direction: ltr;
7
- font-size: var(--nutui-font-size-l, 16px);
7
+ font-size: var(--nutui-font-size-l, 15px);
8
8
  display: flex;
9
9
  flex-direction: row;
10
10
  align-items: baseline;
11
11
  }
12
12
  .nut-price-symbol, .nut-price-integer, .nut-price-decimal {
13
13
  color: var(--nutui-price-color, var(--nutui-color-text-help));
14
- font-family: "JD";
14
+ font-family: "JDZH-Bold";
15
15
  line-height: 1;
16
16
  }
17
17
  .nut-price-darkgray .nut-price-symbol, .nut-price-darkgray .nut-price-integer, .nut-price-darkgray .nut-price-decimal {
18
- font-family: "JD-Bold";
18
+ font-family: "JDZH-Bold";
19
19
  color: var(--nutui-price-darkgray-color, var(--nutui-gray-7));
20
20
  }
21
21
  .nut-price-primary .nut-price-symbol, .nut-price-primary .nut-price-integer, .nut-price-primary .nut-price-decimal {
22
- font-family: "JD-Bold";
22
+ font-family: "JDZH-Bold";
23
23
  color: var(--nutui-price-color, var(--nutui-color-primary, #ff0f23));
24
24
  }
25
25
  .nut-price-symbol {