@nutui/nutui-react-taro 3.0.19 → 3.0.20-cpp

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 (452) hide show
  1. package/CHANGELOG.md +28 -59
  2. package/dist/cjs/hooks/taro/use-custom-event.js +5 -5
  3. package/dist/cjs/hooks/use-ref-state.js +3 -3
  4. package/dist/cjs/hooks/use-touch.js +1 -2
  5. package/dist/cjs/locales/base.d.ts +9 -0
  6. package/dist/cjs/locales/en-US.js +21 -2
  7. package/dist/cjs/locales/id-ID.js +21 -2
  8. package/dist/cjs/locales/ja-JP.js +19 -2
  9. package/dist/cjs/locales/tr-TR.js +21 -2
  10. package/dist/cjs/locales/zh-CN.js +19 -2
  11. package/dist/cjs/locales/zh-TW.js +19 -2
  12. package/dist/cjs/locales/zh-UG.js +21 -2
  13. package/dist/cjs/packages/actionsheet/style/style.harmony.css +38 -17
  14. package/dist/cjs/packages/address/address.d.ts +1 -1
  15. package/dist/cjs/packages/address/style/style.harmony.css +38 -17
  16. package/dist/cjs/packages/address/utils.js +3 -3
  17. package/dist/cjs/packages/animatingnumbers/countup.js +3 -1
  18. package/dist/cjs/packages/audio/style/style.harmony.css +0 -3
  19. package/dist/cjs/packages/avatar/avatar.js +32 -6
  20. package/dist/cjs/packages/avatarcropper/avatarcropper.js +18 -34
  21. package/dist/cjs/packages/badge/badge.js +20 -10
  22. package/dist/cjs/packages/barrage/barrage.js +14 -24
  23. package/dist/cjs/packages/button/button.d.ts +2 -24
  24. package/dist/cjs/packages/button/button.js +9 -12
  25. package/dist/cjs/packages/button/index.d.ts +0 -1
  26. package/dist/cjs/packages/button/style/button.scss +0 -3
  27. package/dist/cjs/packages/button/style/style.css +0 -3
  28. package/dist/cjs/packages/button/style/style.harmony.css +0 -3
  29. package/dist/cjs/packages/button/style-jmapp/button.scss +0 -3
  30. package/dist/cjs/packages/button/style-jmapp/style.css +0 -3
  31. package/dist/cjs/packages/button/style-jrkf/button.scss +0 -3
  32. package/dist/cjs/packages/button/style-jrkf/style.css +0 -3
  33. package/dist/cjs/packages/calendar/style/calendar.scss +32 -1
  34. package/dist/cjs/packages/calendar/style/style.css +21 -1
  35. package/dist/cjs/packages/calendar/style/style.harmony.css +59 -18
  36. package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +32 -1
  37. package/dist/cjs/packages/calendar/style-jmapp/style.css +21 -1
  38. package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +32 -1
  39. package/dist/cjs/packages/calendar/style-jrkf/style.css +21 -1
  40. package/dist/cjs/packages/calendar/utils.js +8 -8
  41. package/dist/cjs/packages/calendarcard/calendarcard.js +30 -8
  42. package/dist/cjs/packages/calendarcard/icon.js +17 -28
  43. package/dist/cjs/packages/calendarcard/style/calendarcard.scss +19 -0
  44. package/dist/cjs/packages/calendarcard/style/style.css +13 -0
  45. package/dist/cjs/packages/calendarcard/style/style.harmony.css +13 -0
  46. package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
  47. package/dist/cjs/packages/calendarcard/style-jmapp/style.css +13 -0
  48. package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
  49. package/dist/cjs/packages/calendarcard/style-jrkf/style.css +13 -0
  50. package/dist/cjs/packages/calendarcard/utils.js +6 -6
  51. package/dist/cjs/packages/card/style/style.harmony.css +1 -1
  52. package/dist/cjs/packages/cascader/cascader.js +12 -21
  53. package/dist/cjs/packages/cascader/style/style.harmony.css +38 -17
  54. package/dist/cjs/packages/cascader/utils.js +3 -3
  55. package/dist/cjs/packages/collapseitem/collapseitem.js +4 -7
  56. package/dist/cjs/packages/configprovider/configprovider.js +7 -7
  57. package/dist/cjs/packages/configprovider/index.js +6 -6
  58. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  59. package/dist/cjs/packages/countdown/countdown.js +1 -2
  60. package/dist/cjs/packages/datepicker/style/style.harmony.css +39 -18
  61. package/dist/cjs/packages/datepicker/utils.js +9 -9
  62. package/dist/cjs/packages/dialog/content.js +3 -3
  63. package/dist/cjs/packages/dialog/dialog.js +26 -23
  64. package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
  65. package/dist/cjs/packages/dialog/style/style.css +1 -1
  66. package/dist/cjs/packages/dialog/style/style.harmony.css +1 -4
  67. package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
  68. package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
  69. package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
  70. package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
  71. package/dist/cjs/packages/divider/divider.js +2 -2
  72. package/dist/cjs/packages/drag/drag.js +4 -7
  73. package/dist/cjs/packages/elevator/elevator.js +7 -10
  74. package/dist/cjs/packages/ellipsis/ellipsis.js +17 -30
  75. package/dist/cjs/packages/empty/empty.d.ts +4 -4
  76. package/dist/cjs/packages/empty/style/style.harmony.css +0 -3
  77. package/dist/cjs/packages/form/index.js +0 -2
  78. package/dist/cjs/packages/form/style/style.harmony.css +0 -5
  79. package/dist/cjs/packages/form/useform.js +50 -57
  80. package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
  81. package/dist/cjs/packages/formitem/style/style.css +0 -5
  82. package/dist/cjs/packages/formitem/style/style.harmony.css +0 -5
  83. package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
  84. package/dist/cjs/packages/formitem/style-jmapp/style.css +0 -5
  85. package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
  86. package/dist/cjs/packages/formitem/style-jrkf/style.css +0 -5
  87. package/dist/cjs/packages/image/image.js +11 -3
  88. package/dist/cjs/packages/imagepreview/style/style.harmony.css +38 -17
  89. package/dist/cjs/packages/infiniteloading/infiniteloading.js +8 -14
  90. package/dist/cjs/packages/input/input.js +10 -3
  91. package/dist/cjs/packages/inputnumber/inputnumber.js +17 -29
  92. package/dist/cjs/packages/lottie/lottiemp.js +10 -18
  93. package/dist/cjs/packages/lottie/types.js +0 -2
  94. package/dist/cjs/packages/menuitem/menuitem.js +24 -22
  95. package/dist/cjs/packages/noticebar/noticebar.js +74 -70
  96. package/dist/cjs/packages/notify/notify.js +4 -4
  97. package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
  98. package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +39 -18
  99. package/dist/cjs/packages/nutui.react.build.d.ts +3 -1
  100. package/dist/cjs/packages/nutui.react.build.js +123 -119
  101. package/dist/cjs/packages/nutui.react.d.ts +4 -1
  102. package/dist/cjs/packages/nutui.react.js +124 -119
  103. package/dist/cjs/packages/nutui.react.scss.d.ts +1 -0
  104. package/dist/cjs/packages/nutui.react.scss.js +1 -0
  105. package/dist/cjs/packages/overlay/overlay.js +6 -6
  106. package/dist/cjs/packages/picker/style/style.css +1 -1
  107. package/dist/cjs/packages/picker/style/style.harmony.css +39 -18
  108. package/dist/cjs/packages/pickerview/pickerroller.js +4 -7
  109. package/dist/cjs/packages/pickerview/pickerview.js +1 -2
  110. package/dist/cjs/packages/pickerview/utils.js +3 -3
  111. package/dist/cjs/packages/popover/popover.js +75 -77
  112. package/dist/cjs/packages/popover/style/style.harmony.css +38 -17
  113. package/dist/cjs/packages/popup/popup.js +192 -113
  114. package/dist/cjs/packages/popup/style/popup.scss +22 -1
  115. package/dist/cjs/packages/popup/style/style.css +38 -17
  116. package/dist/cjs/packages/popup/style/style.harmony.css +38 -17
  117. package/dist/cjs/packages/popup/style-jmapp/popup.scss +22 -1
  118. package/dist/cjs/packages/popup/style-jmapp/style.css +22 -1
  119. package/dist/cjs/packages/popup/style-jrkf/popup.scss +22 -1
  120. package/dist/cjs/packages/popup/style-jrkf/style.css +22 -1
  121. package/dist/cjs/packages/price/price.js +52 -13
  122. package/dist/cjs/packages/progress/progress.js +2 -4
  123. package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +52 -56
  124. package/dist/cjs/packages/quickenter/index.d.ts +3 -0
  125. package/dist/cjs/packages/quickenter/index.js +13 -0
  126. package/dist/cjs/packages/quickenter/quickenter.d.ts +4 -0
  127. package/dist/cjs/packages/quickenter/quickenter.js +153 -0
  128. package/dist/cjs/packages/quickenter/style/css.js +2 -0
  129. package/dist/cjs/packages/quickenter/style/index.js +2 -0
  130. package/dist/cjs/packages/quickenter/style/quickenter.scss +120 -0
  131. package/dist/cjs/packages/quickenter/style/style.css +106 -0
  132. package/dist/cjs/packages/quickenter/style/style.harmony.css +506 -0
  133. package/dist/cjs/packages/quickenter/style-jmapp/css.js +2 -0
  134. package/dist/cjs/packages/quickenter/style-jmapp/index.js +2 -0
  135. package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +120 -0
  136. package/dist/cjs/packages/quickenter/style-jmapp/style.css +106 -0
  137. package/dist/cjs/packages/quickenter/style-jrkf/css.js +2 -0
  138. package/dist/cjs/packages/quickenter/style-jrkf/index.js +2 -0
  139. package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +120 -0
  140. package/dist/cjs/packages/quickenter/style-jrkf/style.css +106 -0
  141. package/dist/cjs/packages/radio/index.js +0 -2
  142. package/dist/cjs/packages/range/range.js +44 -28
  143. package/dist/cjs/packages/rate/rate.js +5 -8
  144. package/dist/cjs/packages/resultpage/resultpage.js +2 -1
  145. package/dist/cjs/packages/resultpage/style/style.harmony.css +0 -3
  146. package/dist/cjs/packages/searchbar/searchbar.js +23 -9
  147. package/dist/cjs/packages/shortpassword/shortpassword.js +3 -3
  148. package/dist/cjs/packages/shortpassword/style/style.harmony.css +38 -17
  149. package/dist/cjs/packages/step/step.js +3 -8
  150. package/dist/cjs/packages/step/style/step.scss +0 -2
  151. package/dist/cjs/packages/step/style/style.css +0 -2
  152. package/dist/cjs/packages/step/style/style.harmony.css +0 -2
  153. package/dist/cjs/packages/step/style-jmapp/step.scss +0 -2
  154. package/dist/cjs/packages/step/style-jmapp/style.css +0 -2
  155. package/dist/cjs/packages/step/style-jrkf/step.scss +0 -2
  156. package/dist/cjs/packages/step/style-jrkf/style.css +0 -2
  157. package/dist/cjs/packages/steps/style/steps.scss +10 -3
  158. package/dist/cjs/packages/steps/style/style.css +13 -7
  159. package/dist/cjs/packages/steps/style/style.harmony.css +13 -9
  160. package/dist/cjs/packages/steps/style-jmapp/steps.scss +10 -3
  161. package/dist/cjs/packages/steps/style-jmapp/style.css +9 -3
  162. package/dist/cjs/packages/steps/style-jrkf/steps.scss +10 -3
  163. package/dist/cjs/packages/steps/style-jrkf/style.css +9 -3
  164. package/dist/cjs/packages/sticky/sticky.js +4 -7
  165. package/dist/cjs/packages/swipe/swipe.js +84 -122
  166. package/dist/cjs/packages/swiper/index.js +0 -1
  167. package/dist/cjs/packages/switch/switch.js +4 -7
  168. package/dist/cjs/packages/table/style/style.css +1 -1
  169. package/dist/cjs/packages/table/style/style.harmony.css +1 -1
  170. package/dist/cjs/packages/table/style/table.scss +1 -1
  171. package/dist/cjs/packages/table/style-jmapp/style.css +1 -1
  172. package/dist/cjs/packages/table/style-jmapp/table.scss +1 -1
  173. package/dist/cjs/packages/table/style-jrkf/style.css +1 -1
  174. package/dist/cjs/packages/table/style-jrkf/table.scss +1 -1
  175. package/dist/cjs/packages/tabs/tabs.js +12 -5
  176. package/dist/cjs/packages/tag/style/style.css +1 -1
  177. package/dist/cjs/packages/tag/style/style.harmony.css +1 -1
  178. package/dist/cjs/packages/tag/style/tag.scss +1 -1
  179. package/dist/cjs/packages/tag/style-jmapp/style.css +1 -1
  180. package/dist/cjs/packages/tag/style-jmapp/tag.scss +1 -1
  181. package/dist/cjs/packages/tag/style-jrkf/style.css +1 -1
  182. package/dist/cjs/packages/tag/style-jrkf/tag.scss +1 -1
  183. package/dist/cjs/packages/timeselect/style/style.harmony.css +38 -17
  184. package/dist/cjs/packages/toast/style/style.css +2 -4
  185. package/dist/cjs/packages/toast/style/style.harmony.css +2 -4
  186. package/dist/cjs/packages/toast/style/toast.scss +2 -4
  187. package/dist/cjs/packages/toast/style-jmapp/style.css +2 -4
  188. package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -4
  189. package/dist/cjs/packages/toast/style-jrkf/style.css +2 -4
  190. package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -4
  191. package/dist/cjs/packages/toast/toast.js +5 -5
  192. package/dist/cjs/packages/tour/style/style.harmony.css +38 -17
  193. package/dist/cjs/packages/uploader/uploader.js +38 -51
  194. package/dist/cjs/packages/virtuallist/utils.js +6 -6
  195. package/dist/cjs/packages/watermark/watermark.js +4 -8
  196. package/dist/cjs/types/index.d.ts +3 -0
  197. package/dist/cjs/types/index.js +3 -0
  198. package/dist/cjs/types/spec/address/base.js +0 -2
  199. package/dist/cjs/types/spec/button/base.d.ts +2 -1
  200. package/dist/cjs/types/spec/button/taro.d.ts +5 -1
  201. package/dist/cjs/types/spec/calendarcard/base.d.ts +2 -0
  202. package/dist/cjs/types/spec/dialog/base.d.ts +1 -0
  203. package/dist/cjs/types/spec/dialog/h5.d.ts +2 -0
  204. package/dist/cjs/types/spec/dialog/taro.d.ts +2 -0
  205. package/dist/cjs/types/spec/overlay/base.d.ts +1 -0
  206. package/dist/cjs/types/spec/popup/base.d.ts +2 -0
  207. package/dist/cjs/types/spec/price/base.d.ts +1 -0
  208. package/dist/cjs/types/spec/quickenter/base.d.ts +27 -0
  209. package/dist/cjs/types/spec/quickenter/base.js +4 -0
  210. package/dist/cjs/types/spec/quickenter/h5.d.ts +5 -0
  211. package/dist/cjs/types/spec/quickenter/h5.js +4 -0
  212. package/dist/cjs/types/spec/quickenter/taro.d.ts +5 -0
  213. package/dist/cjs/types/spec/quickenter/taro.js +4 -0
  214. package/dist/cjs/utils/date.js +5 -5
  215. package/dist/cjs/utils/event-mocker.js +10 -18
  216. package/dist/cjs/utils/get-rect.js +4 -4
  217. package/dist/cjs/utils/get-scroll-parent.js +3 -3
  218. package/dist/cjs/utils/merge-props.js +3 -3
  219. package/dist/cjs/utils/merge.js +6 -6
  220. package/dist/cjs/utils/raf.js +3 -3
  221. package/dist/cjs/utils/render.js +5 -9
  222. package/dist/cjs/utils/rubberband.js +3 -3
  223. package/dist/cjs/utils/should-render-price-raw.d.ts +2 -0
  224. package/dist/cjs/utils/should-render-price-raw.js +46 -0
  225. package/dist/cjs/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
  226. package/dist/cjs/utils/taro/ConfigurableCSSTransition.js +90 -0
  227. package/dist/cjs/utils/taro/get-rect.js +18 -26
  228. package/dist/cjs/utils/taro/get-system-info.d.ts +0 -5
  229. package/dist/cjs/utils/taro/get-system-info.js +5 -10
  230. package/dist/cjs/utils/taro/platform.js +5 -5
  231. package/dist/es/hooks/taro/use-custom-event.js +1 -0
  232. package/dist/es/hooks/use-touch.js +1 -1
  233. package/dist/es/locales/base.d.ts +9 -0
  234. package/dist/es/locales/en-US.js +21 -2
  235. package/dist/es/locales/id-ID.js +21 -2
  236. package/dist/es/locales/ja-JP.js +19 -2
  237. package/dist/es/locales/tr-TR.js +21 -2
  238. package/dist/es/locales/zh-CN.js +19 -2
  239. package/dist/es/locales/zh-TW.js +19 -2
  240. package/dist/es/locales/zh-UG.js +21 -2
  241. package/dist/es/packages/actionsheet/style/style.harmony.css +38 -17
  242. package/dist/es/packages/address/address.d.ts +1 -1
  243. package/dist/es/packages/address/style/style.harmony.css +38 -17
  244. package/dist/es/packages/animatingnumbers/countup.js +3 -1
  245. package/dist/es/packages/audio/style/style.harmony.css +0 -3
  246. package/dist/es/packages/avatar/avatar.js +32 -6
  247. package/dist/es/packages/avatarcropper/avatarcropper.js +20 -36
  248. package/dist/es/packages/badge/badge.js +20 -10
  249. package/dist/es/packages/barrage/barrage.js +14 -24
  250. package/dist/es/packages/button/button.d.ts +2 -24
  251. package/dist/es/packages/button/button.js +10 -12
  252. package/dist/es/packages/button/index.d.ts +0 -1
  253. package/dist/es/packages/button/style/button.scss +0 -3
  254. package/dist/es/packages/button/style/style.css +0 -3
  255. package/dist/es/packages/button/style/style.harmony.css +0 -3
  256. package/dist/es/packages/button/style-jmapp/button.scss +0 -3
  257. package/dist/es/packages/button/style-jmapp/style.css +0 -3
  258. package/dist/es/packages/button/style-jrkf/button.scss +0 -3
  259. package/dist/es/packages/button/style-jrkf/style.css +0 -3
  260. package/dist/es/packages/calendar/style/calendar.scss +32 -1
  261. package/dist/es/packages/calendar/style/style.css +21 -1
  262. package/dist/es/packages/calendar/style/style.harmony.css +59 -18
  263. package/dist/es/packages/calendar/style-jmapp/calendar.scss +32 -1
  264. package/dist/es/packages/calendar/style-jmapp/style.css +21 -1
  265. package/dist/es/packages/calendar/style-jrkf/calendar.scss +32 -1
  266. package/dist/es/packages/calendar/style-jrkf/style.css +21 -1
  267. package/dist/es/packages/calendarcard/calendarcard.js +31 -9
  268. package/dist/es/packages/calendarcard/icon.js +13 -24
  269. package/dist/es/packages/calendarcard/style/calendarcard.scss +19 -0
  270. package/dist/es/packages/calendarcard/style/style.css +13 -0
  271. package/dist/es/packages/calendarcard/style/style.harmony.css +13 -0
  272. package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
  273. package/dist/es/packages/calendarcard/style-jmapp/style.css +13 -0
  274. package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
  275. package/dist/es/packages/calendarcard/style-jrkf/style.css +13 -0
  276. package/dist/es/packages/card/style/style.harmony.css +1 -1
  277. package/dist/es/packages/cascader/cascader.js +12 -21
  278. package/dist/es/packages/cascader/style/style.harmony.css +38 -17
  279. package/dist/es/packages/collapseitem/collapseitem.js +4 -7
  280. package/dist/es/packages/configprovider/types.d.ts +1 -1
  281. package/dist/es/packages/countdown/countdown.js +1 -2
  282. package/dist/es/packages/datepicker/style/style.harmony.css +39 -18
  283. package/dist/es/packages/dialog/dialog.js +33 -28
  284. package/dist/es/packages/dialog/style/dialog.scss +1 -1
  285. package/dist/es/packages/dialog/style/style.css +1 -1
  286. package/dist/es/packages/dialog/style/style.harmony.css +1 -4
  287. package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
  288. package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
  289. package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
  290. package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
  291. package/dist/es/packages/divider/divider.js +1 -1
  292. package/dist/es/packages/drag/drag.js +4 -7
  293. package/dist/es/packages/elevator/elevator.js +4 -7
  294. package/dist/es/packages/ellipsis/ellipsis.js +17 -30
  295. package/dist/es/packages/empty/empty.d.ts +4 -4
  296. package/dist/es/packages/empty/style/style.harmony.css +0 -3
  297. package/dist/es/packages/form/index.js +0 -1
  298. package/dist/es/packages/form/style/style.harmony.css +0 -5
  299. package/dist/es/packages/form/useform.js +46 -53
  300. package/dist/es/packages/formitem/style/formitem.scss +4 -4
  301. package/dist/es/packages/formitem/style/style.css +0 -5
  302. package/dist/es/packages/formitem/style/style.harmony.css +0 -5
  303. package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
  304. package/dist/es/packages/formitem/style-jmapp/style.css +0 -5
  305. package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
  306. package/dist/es/packages/formitem/style-jrkf/style.css +0 -5
  307. package/dist/es/packages/image/image.js +11 -3
  308. package/dist/es/packages/imagepreview/style/style.harmony.css +38 -17
  309. package/dist/es/packages/infiniteloading/infiniteloading.js +8 -14
  310. package/dist/es/packages/input/input.js +10 -3
  311. package/dist/es/packages/inputnumber/inputnumber.js +17 -29
  312. package/dist/es/packages/lottie/lottiemp.js +12 -20
  313. package/dist/es/packages/lottie/types.js +1 -1
  314. package/dist/es/packages/menuitem/menuitem.js +24 -22
  315. package/dist/es/packages/noticebar/noticebar.js +74 -70
  316. package/dist/es/packages/numberkeyboard/style/style.css +1 -1
  317. package/dist/es/packages/numberkeyboard/style/style.harmony.css +39 -18
  318. package/dist/es/packages/nutui.react.build.d.ts +3 -1
  319. package/dist/es/packages/nutui.react.build.js +3 -1
  320. package/dist/es/packages/overlay/overlay.js +3 -3
  321. package/dist/es/packages/picker/style/style.css +1 -1
  322. package/dist/es/packages/picker/style/style.harmony.css +39 -18
  323. package/dist/es/packages/pickerview/pickerroller.js +4 -7
  324. package/dist/es/packages/pickerview/pickerview.js +1 -2
  325. package/dist/es/packages/popover/popover.js +75 -77
  326. package/dist/es/packages/popover/style/style.harmony.css +38 -17
  327. package/dist/es/packages/popup/popup.js +193 -114
  328. package/dist/es/packages/popup/style/popup.scss +22 -1
  329. package/dist/es/packages/popup/style/style.css +38 -17
  330. package/dist/es/packages/popup/style/style.harmony.css +38 -17
  331. package/dist/es/packages/popup/style-jmapp/popup.scss +22 -1
  332. package/dist/es/packages/popup/style-jmapp/style.css +22 -1
  333. package/dist/es/packages/popup/style-jrkf/popup.scss +22 -1
  334. package/dist/es/packages/popup/style-jrkf/style.css +22 -1
  335. package/dist/es/packages/price/price.js +53 -14
  336. package/dist/es/packages/progress/progress.js +2 -4
  337. package/dist/es/packages/pulltorefresh/pulltorefresh.js +52 -56
  338. package/dist/es/packages/quickenter/index.d.ts +3 -0
  339. package/dist/es/packages/quickenter/index.js +2 -0
  340. package/dist/es/packages/quickenter/quickenter.d.ts +4 -0
  341. package/dist/es/packages/quickenter/quickenter.js +141 -0
  342. package/dist/es/packages/quickenter/style/css.js +2 -0
  343. package/dist/es/packages/quickenter/style/index.js +2 -0
  344. package/dist/es/packages/quickenter/style/quickenter.scss +120 -0
  345. package/dist/es/packages/quickenter/style/style.css +106 -0
  346. package/dist/es/packages/quickenter/style/style.harmony.css +506 -0
  347. package/dist/es/packages/quickenter/style-jmapp/css.js +2 -0
  348. package/dist/es/packages/quickenter/style-jmapp/index.js +2 -0
  349. package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +120 -0
  350. package/dist/es/packages/quickenter/style-jmapp/style.css +106 -0
  351. package/dist/es/packages/quickenter/style-jrkf/css.js +2 -0
  352. package/dist/es/packages/quickenter/style-jrkf/index.js +2 -0
  353. package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +120 -0
  354. package/dist/es/packages/quickenter/style-jrkf/style.css +106 -0
  355. package/dist/es/packages/radio/index.js +0 -1
  356. package/dist/es/packages/range/range.js +45 -29
  357. package/dist/es/packages/rate/rate.js +6 -9
  358. package/dist/es/packages/resultpage/resultpage.js +2 -1
  359. package/dist/es/packages/resultpage/style/style.harmony.css +0 -3
  360. package/dist/es/packages/searchbar/searchbar.js +23 -9
  361. package/dist/es/packages/shortpassword/style/style.harmony.css +38 -17
  362. package/dist/es/packages/step/step.js +3 -8
  363. package/dist/es/packages/step/style/step.scss +0 -2
  364. package/dist/es/packages/step/style/style.css +0 -2
  365. package/dist/es/packages/step/style/style.harmony.css +0 -2
  366. package/dist/es/packages/step/style-jmapp/step.scss +0 -2
  367. package/dist/es/packages/step/style-jmapp/style.css +0 -2
  368. package/dist/es/packages/step/style-jrkf/step.scss +0 -2
  369. package/dist/es/packages/step/style-jrkf/style.css +0 -2
  370. package/dist/es/packages/steps/style/steps.scss +10 -3
  371. package/dist/es/packages/steps/style/style.css +13 -7
  372. package/dist/es/packages/steps/style/style.harmony.css +13 -9
  373. package/dist/es/packages/steps/style-jmapp/steps.scss +10 -3
  374. package/dist/es/packages/steps/style-jmapp/style.css +9 -3
  375. package/dist/es/packages/steps/style-jrkf/steps.scss +10 -3
  376. package/dist/es/packages/steps/style-jrkf/style.css +9 -3
  377. package/dist/es/packages/sticky/sticky.js +4 -7
  378. package/dist/es/packages/swipe/swipe.js +85 -123
  379. package/dist/es/packages/swiper/index.js +0 -1
  380. package/dist/es/packages/switch/switch.js +4 -7
  381. package/dist/es/packages/table/style/style.css +1 -1
  382. package/dist/es/packages/table/style/style.harmony.css +1 -1
  383. package/dist/es/packages/table/style/table.scss +1 -1
  384. package/dist/es/packages/table/style-jmapp/style.css +1 -1
  385. package/dist/es/packages/table/style-jmapp/table.scss +1 -1
  386. package/dist/es/packages/table/style-jrkf/style.css +1 -1
  387. package/dist/es/packages/table/style-jrkf/table.scss +1 -1
  388. package/dist/es/packages/tabs/tabs.js +12 -5
  389. package/dist/es/packages/tag/style/style.css +1 -1
  390. package/dist/es/packages/tag/style/style.harmony.css +1 -1
  391. package/dist/es/packages/tag/style/tag.scss +1 -1
  392. package/dist/es/packages/tag/style-jmapp/style.css +1 -1
  393. package/dist/es/packages/tag/style-jmapp/tag.scss +1 -1
  394. package/dist/es/packages/tag/style-jrkf/style.css +1 -1
  395. package/dist/es/packages/tag/style-jrkf/tag.scss +1 -1
  396. package/dist/es/packages/timeselect/style/style.harmony.css +38 -17
  397. package/dist/es/packages/toast/style/style.css +2 -4
  398. package/dist/es/packages/toast/style/style.harmony.css +2 -4
  399. package/dist/es/packages/toast/style/toast.scss +2 -4
  400. package/dist/es/packages/toast/style-jmapp/style.css +2 -4
  401. package/dist/es/packages/toast/style-jmapp/toast.scss +2 -4
  402. package/dist/es/packages/toast/style-jrkf/style.css +2 -4
  403. package/dist/es/packages/toast/style-jrkf/toast.scss +2 -4
  404. package/dist/es/packages/toast/toast.js +1 -1
  405. package/dist/es/packages/tour/style/style.harmony.css +38 -17
  406. package/dist/es/packages/uploader/uploader.js +38 -51
  407. package/dist/es/packages/watermark/watermark.js +4 -8
  408. package/dist/es/types/index.d.ts +3 -0
  409. package/dist/es/types/index.js +3 -0
  410. package/dist/es/types/spec/address/base.js +1 -1
  411. package/dist/es/types/spec/button/base.d.ts +2 -1
  412. package/dist/es/types/spec/button/taro.d.ts +5 -1
  413. package/dist/es/types/spec/calendarcard/base.d.ts +2 -0
  414. package/dist/es/types/spec/dialog/base.d.ts +3 -8
  415. package/dist/es/types/spec/dialog/h5.d.ts +2 -0
  416. package/dist/es/types/spec/dialog/taro.d.ts +2 -0
  417. package/dist/es/types/spec/overlay/base.d.ts +1 -0
  418. package/dist/es/types/spec/popup/base.d.ts +4 -5
  419. package/dist/es/types/spec/price/base.d.ts +4 -0
  420. package/dist/es/types/spec/quickenter/base.d.ts +45 -0
  421. package/dist/es/types/spec/quickenter/base.js +1 -0
  422. package/dist/es/types/spec/quickenter/h5.d.ts +5 -0
  423. package/dist/es/types/spec/quickenter/h5.js +1 -0
  424. package/dist/es/types/spec/quickenter/taro.d.ts +5 -0
  425. package/dist/es/types/spec/quickenter/taro.js +1 -0
  426. package/dist/es/utils/event-mocker.js +4 -12
  427. package/dist/es/utils/render.js +2 -6
  428. package/dist/es/utils/should-render-price-raw.d.ts +2 -0
  429. package/dist/es/utils/should-render-price-raw.js +30 -0
  430. package/dist/es/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
  431. package/dist/es/utils/taro/ConfigurableCSSTransition.js +79 -0
  432. package/dist/es/utils/taro/get-rect.js +14 -22
  433. package/dist/es/utils/taro/get-system-info.d.ts +0 -5
  434. package/dist/es/utils/taro/get-system-info.js +8 -7
  435. package/dist/nutui.react.umd.js +8698 -7523
  436. package/dist/style-jmapp.css +1 -1
  437. package/dist/style-jmapp.scss +47 -46
  438. package/dist/style-jrkf.css +1 -1
  439. package/dist/style-jrkf.scss +32 -31
  440. package/dist/style.css +1 -1
  441. package/dist/style.scss +32 -31
  442. package/dist/styles/jd-font.scss +2 -2
  443. package/dist/styles/theme-dark.scss +1 -2
  444. package/dist/styles/themes/daojia.css +1 -1
  445. package/dist/styles/themes/dark-daojia.css +1 -1
  446. package/dist/styles/themes/dark.css +1 -1
  447. package/dist/styles/themes/default.css +1 -1
  448. package/dist/styles/variables-daojia.scss +41 -0
  449. package/dist/styles/variables-jmapp.scss +41 -0
  450. package/dist/styles/variables-jrkf.scss +41 -0
  451. package/dist/styles/variables.scss +49 -4
  452. package/package.json +1 -1
@@ -118,22 +118,24 @@ var InternalUploader = function InternalUploader(props, ref) {
118
118
  var classes = (0, _classnames.default)(className, 'nut-uploader');
119
119
  (0, _react.useImperativeHandle)(ref, function() {
120
120
  return {
121
- submit: /*#__PURE__*/ (0, _async_to_generator._)(function() {
122
- return (0, _ts_generator._)(this, function(_state) {
123
- switch(_state.label){
124
- case 0:
125
- return [
126
- 4,
127
- uploadAction(uploadQueue)
128
- ];
129
- case 1:
130
- _state.sent();
131
- return [
132
- 2
133
- ];
134
- }
135
- });
136
- }),
121
+ submit: function submit() {
122
+ return (0, _async_to_generator._)(function() {
123
+ return (0, _ts_generator._)(this, function(_state) {
124
+ switch(_state.label){
125
+ case 0:
126
+ return [
127
+ 4,
128
+ uploadAction(uploadQueue)
129
+ ];
130
+ case 1:
131
+ _state.sent();
132
+ return [
133
+ 2
134
+ ];
135
+ }
136
+ });
137
+ })();
138
+ },
137
139
  clear: function clear() {
138
140
  clearUploadQueue();
139
141
  }
@@ -202,8 +204,8 @@ var InternalUploader = function InternalUploader(props, ref) {
202
204
  });
203
205
  }
204
206
  };
205
- var uploadAction = /*#__PURE__*/ function() {
206
- var _ref = (0, _async_to_generator._)(function(tasks) {
207
+ var uploadAction = function uploadAction(tasks) {
208
+ return (0, _async_to_generator._)(function() {
207
209
  var taskIds, list;
208
210
  return (0, _ts_generator._)(this, function(_state) {
209
211
  switch(_state.label){
@@ -223,8 +225,8 @@ var InternalUploader = function InternalUploader(props, ref) {
223
225
  setFileList(list);
224
226
  return [
225
227
  4,
226
- Promise.all(tasks.map(/*#__PURE__*/ function() {
227
- var _ref = (0, _async_to_generator._)(function(currentTask, index) {
228
+ Promise.all(tasks.map(function(currentTask, index) {
229
+ return (0, _async_to_generator._)(function() {
228
230
  var result, list, e, list1;
229
231
  return (0, _ts_generator._)(this, function(_state) {
230
232
  switch(_state.label){
@@ -271,11 +273,8 @@ var InternalUploader = function InternalUploader(props, ref) {
271
273
  ];
272
274
  }
273
275
  });
274
- });
275
- return function(currentTask, index) {
276
- return _ref.apply(this, arguments);
277
- };
278
- }())).catch(function(errs) {
276
+ })();
277
+ })).catch(function(errs) {
279
278
  return console.error(errs);
280
279
  })
281
280
  ];
@@ -286,14 +285,11 @@ var InternalUploader = function InternalUploader(props, ref) {
286
285
  ];
287
286
  }
288
287
  });
289
- });
290
- return function uploadAction(tasks) {
291
- return _ref.apply(this, arguments);
292
- };
293
- }();
288
+ })();
289
+ };
294
290
  var idCountRef = (0, _react.useRef)(0);
295
- var readFile = /*#__PURE__*/ function() {
296
- var _ref = (0, _async_to_generator._)(function(files) {
291
+ var readFile = function readFile(files) {
292
+ return (0, _async_to_generator._)(function() {
297
293
  var tasks;
298
294
  return (0, _ts_generator._)(this, function(_state) {
299
295
  switch(_state.label){
@@ -351,11 +347,8 @@ var InternalUploader = function InternalUploader(props, ref) {
351
347
  ];
352
348
  }
353
349
  });
354
- });
355
- return function readFile(files) {
356
- return _ref.apply(this, arguments);
357
- };
358
- }();
350
+ })();
351
+ };
359
352
  var filterFiles = function filterFiles(files) {
360
353
  var maximum = maxCount * 1;
361
354
  var maximize = maxFileSize * 1;
@@ -394,8 +387,8 @@ var InternalUploader = function InternalUploader(props, ref) {
394
387
  }
395
388
  });
396
389
  };
397
- var onChangeMedia = /*#__PURE__*/ function() {
398
- var _ref = (0, _async_to_generator._)(function(res) {
390
+ var onChangeMedia = function onChangeMedia(res) {
391
+ return (0, _async_to_generator._)(function() {
399
392
  var tempFiles, _files;
400
393
  return (0, _ts_generator._)(this, function(_state) {
401
394
  // 返回选定照片的本地文件路径列表,tempFilePath可以作为img标签的src属性显示图片
@@ -414,13 +407,10 @@ var InternalUploader = function InternalUploader(props, ref) {
414
407
  2
415
408
  ];
416
409
  });
417
- });
418
- return function onChangeMedia(res) {
419
- return _ref.apply(this, arguments);
420
- };
421
- }();
422
- var onChangeImage = /*#__PURE__*/ function() {
423
- var _ref = (0, _async_to_generator._)(function(res) {
410
+ })();
411
+ };
412
+ var onChangeImage = function onChangeImage(res) {
413
+ return (0, _async_to_generator._)(function() {
424
414
  var tempFiles, _files;
425
415
  return (0, _ts_generator._)(this, function(_state) {
426
416
  tempFiles = res.tempFiles;
@@ -438,11 +428,8 @@ var InternalUploader = function InternalUploader(props, ref) {
438
428
  2
439
429
  ];
440
430
  });
441
- });
442
- return function onChangeImage(res) {
443
- return _ref.apply(this, arguments);
444
- };
445
- }();
431
+ })();
432
+ };
446
433
  var handleItemClick = function handleItemClick(file, index) {
447
434
  onFileItemClick === null || onFileItemClick === void 0 ? void 0 : onFileItemClick(file, index);
448
435
  };
@@ -6,23 +6,23 @@ Object.defineProperty(exports, "__esModule", {
6
6
  function _export(target, all) {
7
7
  for(var name in all)Object.defineProperty(target, name, {
8
8
  enumerable: true,
9
- get: all[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- binarySearch: function() {
13
+ get binarySearch () {
14
14
  return binarySearch;
15
15
  },
16
- getEndIndex: function() {
16
+ get getEndIndex () {
17
17
  return getEndIndex;
18
18
  },
19
- getListTotalSize: function() {
19
+ get getListTotalSize () {
20
20
  return getListTotalSize;
21
21
  },
22
- initPositinoCache: function() {
22
+ get initPositinoCache () {
23
23
  return initPositinoCache;
24
24
  },
25
- updateItemSize: function() {
25
+ get updateItemSize () {
26
26
  return updateItemSize;
27
27
  }
28
28
  });
@@ -91,20 +91,16 @@ var WaterMark = function WaterMark(props) {
91
91
  setBase64Url(canvas.toDataURL());
92
92
  };
93
93
  } else if (content) {
94
- ctx.textBaseline = 'middle' // 设置或返回在绘制文本时使用的当前文本基线。(正中)
95
- ;
96
- ctx.textAlign = 'center' // 设置或返回文本内容的当前对齐方式。
97
- ;
94
+ ctx.textBaseline = 'middle'; // 设置或返回在绘制文本时使用的当前文本基线。(正中)
95
+ ctx.textAlign = 'center'; // 设置或返回文本内容的当前对齐方式。
98
96
  // 文字绕中间旋转
99
97
  ctx.translate(markWidth / 2, markHeight / 2);
100
98
  ctx.rotate(Math.PI / 180 * Number(rotate));
101
99
  var markSize = Number(fontSize) * ratio;
102
100
  ctx.font = "".concat(fontStyle, " normal ").concat(fontWeight, " ").concat(markSize, "px/").concat(markHeight, "px ").concat(fontFamily);
103
101
  ctx.fillStyle = color;
104
- ctx.fillText(content, startX, startY) // 在画布上绘制"被填充的"文本。
105
- ;
106
- ctx.restore() // 返回之前保存过的路径状态和属性。
107
- ;
102
+ ctx.fillText(content, startX, startY); // 在画布上绘制"被填充的"文本。
103
+ ctx.restore(); // 返回之前保存过的路径状态和属性。
108
104
  setBase64Url(canvas.toDataURL());
109
105
  }
110
106
  } else {
@@ -262,3 +262,6 @@ export * from './spec/audio/taro';
262
262
  export * from './spec/steps/base';
263
263
  export * from './spec/steps/h5';
264
264
  export * from './spec/steps/taro';
265
+ export * from './spec/quickenter/base';
266
+ export * from './spec/quickenter/h5';
267
+ export * from './spec/quickenter/taro';
@@ -267,3 +267,6 @@ _export_star._(require("./spec/audio/taro"), exports);
267
267
  _export_star._(require("./spec/steps/base"), exports);
268
268
  _export_star._(require("./spec/steps/h5"), exports);
269
269
  _export_star._(require("./spec/steps/taro"), exports);
270
+ _export_star._(require("./spec/quickenter/base"), exports);
271
+ _export_star._(require("./spec/quickenter/h5"), exports);
272
+ _export_star._(require("./spec/quickenter/taro"), exports);
@@ -2,5 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
6
- var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import type { MouseEvent } from 'react';
2
3
  import { BaseProps } from '../../base/props';
3
4
  import { UIFill, UIRound, UISize, UIType } from '../../base/atoms';
4
5
  export interface BaseButton extends BaseProps {
@@ -14,5 +15,5 @@ export interface BaseButton extends BaseProps {
14
15
  rightIcon: ReactNode;
15
16
  id: string;
16
17
  nativeType: 'submit' | 'reset' | 'button';
17
- onClick: (e: any) => void;
18
+ onClick: (e: MouseEvent<HTMLButtonElement>) => void;
18
19
  }
@@ -1,3 +1,7 @@
1
+ import { ButtonProps as MiniProgramButtonProps } from '@tarojs/components';
1
2
  import { BaseButton } from './base';
2
- export interface TaroButtonProps extends BaseButton {
3
+ type OmitMiniProgramButtonProps = Omit<MiniProgramButtonProps, 'size' | 'type' | 'onClick' | 'style' | 'disabled' | 'loading' | 'id'>;
4
+ export interface TaroButtonProps extends BaseButton, OmitMiniProgramButtonProps {
5
+ nativeType: 'submit' | 'reset';
3
6
  }
7
+ export {};
@@ -23,10 +23,12 @@ export interface BaseCalendarCard extends BaseProps {
23
23
  firstDayOfWeek: number;
24
24
  startDate: Date;
25
25
  endDate: Date;
26
+ weekdays?: string[];
26
27
  disableDay: (day: CalendarCardDay) => boolean;
27
28
  renderDay: (day: CalendarCardDay) => ReactNode;
28
29
  renderDayTop: (day: CalendarCardDay) => ReactNode;
29
30
  renderDayBottom: (day: CalendarCardDay) => ReactNode;
31
+ renderDayAriaLabel?: (day: CalendarCardDay) => string;
30
32
  onDayClick: (day: CalendarCardDay) => void;
31
33
  onPageChange: (data: CalendarCardMonth) => void;
32
34
  onChange: (value: CalendarCardValue) => void;
@@ -39,6 +39,7 @@ export interface BaseDialog extends DialogWrapProps {
39
39
  beforeClose: () => boolean;
40
40
  beforeCancel: () => boolean;
41
41
  onConfirm: (e?: MouseEvent<HTMLButtonElement>) => PromiseLike<any> | void;
42
+ ariaLabel?: string;
42
43
  }
43
44
  export type DialogReturnProps = {
44
45
  update: (newConfig: Partial<BaseDialog>) => void;
@@ -1,6 +1,8 @@
1
1
  import { BaseDialog, BaseContentProps } from './base';
2
2
  export interface WebContentProps extends BaseContentProps {
3
3
  onClick: (event: MouseEvent) => void;
4
+ ariaRole?: string;
5
+ ariaLabel?: string;
4
6
  }
5
7
  export interface WebDialogProps extends BaseDialog {
6
8
  }
@@ -2,6 +2,8 @@ import { ITouchEvent } from '@tarojs/components';
2
2
  import { BaseDialog, BaseContentProps } from './base';
3
3
  export interface TaroContentProps extends BaseContentProps {
4
4
  onClick: (event: ITouchEvent) => void;
5
+ ariaRole?: string;
6
+ ariaLabel?: string;
5
7
  }
6
8
  export interface TaroDialogProps extends Omit<BaseDialog, 'onOverlayClick' | 'onClick'> {
7
9
  onClick: (event: ITouchEvent) => void;
@@ -8,4 +8,5 @@ export interface BaseOverlay extends BaseProps {
8
8
  afterShow: () => void;
9
9
  afterClose: () => void;
10
10
  onClick: (event: any) => void;
11
+ ariaLabel?: string;
11
12
  }
@@ -27,4 +27,6 @@ export interface BasePopup extends BaseProps, BaseOverlay {
27
27
  onTouchStart: (height: number, e: any) => void;
28
28
  onTouchEnd: (height: number, e: any) => void;
29
29
  closeAriaLabel?: string;
30
+ overlayProps?: any;
31
+ animated?: boolean;
30
32
  }
@@ -17,4 +17,5 @@ export interface BasePrice extends BaseProps {
17
17
  position: string;
18
18
  size: PriceSize;
19
19
  line: boolean;
20
+ raw: boolean;
20
21
  }
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from 'react';
2
+ import { BaseProps } from '../../base/props';
3
+ export type QuickEnterRef = QuickEnterActions;
4
+ export type QuickEnterActions = {
5
+ open: () => void;
6
+ close: () => void;
7
+ };
8
+ export interface QuickEnterOption extends Record<string, any> {
9
+ title?: string;
10
+ icon?: ReactNode;
11
+ type?: string;
12
+ url?: string;
13
+ badge?: boolean | ReactNode;
14
+ badgeProps?: any;
15
+ }
16
+ export interface BaseQuickEnter<POPUP_PROPS = any> extends BaseProps {
17
+ visible?: boolean;
18
+ title?: ReactNode;
19
+ options?: QuickEnterOption[];
20
+ popupProps?: POPUP_PROPS;
21
+ closeOnOverlayClick?: boolean;
22
+ closeIcon?: ReactNode;
23
+ safeAreaInsetTop?: boolean;
24
+ onClose?: () => void;
25
+ onChange?: (item: QuickEnterOption, index: number) => void;
26
+ children?: ReactNode;
27
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
@@ -0,0 +1,5 @@
1
+ import { BaseQuickEnter, QuickEnterOption } from './base';
2
+ import { WebPopupProps } from '../popup/h5';
3
+ export interface WebQuickEnterProps extends BaseQuickEnter<WebPopupProps> {
4
+ }
5
+ export type { QuickEnterOption };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
@@ -0,0 +1,5 @@
1
+ import { BaseQuickEnter, QuickEnterOption } from './base';
2
+ import { TaroPopupProps } from '../popup/taro';
3
+ export interface TaroQuickEnterProps extends BaseQuickEnter<TaroPopupProps> {
4
+ }
5
+ export type { QuickEnterOption };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
@@ -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
- Utils: function() {
12
+ get Utils () {
13
13
  return Utils;
14
14
  },
15
- getCurrMonthData: function() {
15
+ get getCurrMonthData () {
16
16
  return getCurrMonthData;
17
17
  },
18
- getDaysStatus: function() {
18
+ get getDaysStatus () {
19
19
  return getDaysStatus;
20
20
  },
21
- getPreMonthDates: function() {
21
+ get getPreMonthDates () {
22
22
  return getPreMonthDates;
23
23
  }
24
24
  });
@@ -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
- simulateTouchMove: function() {
12
+ get simulateTouchMove () {
13
13
  return simulateTouchMove;
14
14
  },
15
- simulateTouchZoom: function() {
15
+ get simulateTouchZoom () {
16
16
  return simulateTouchZoom;
17
17
  },
18
- sleep: function() {
18
+ get sleep () {
19
19
  return sleep;
20
20
  },
21
- trigger: function() {
21
+ get trigger () {
22
22
  return trigger;
23
23
  },
24
- triggerDrag: function() {
24
+ get triggerDrag () {
25
25
  return triggerDrag;
26
26
  }
27
27
  });
@@ -89,10 +89,7 @@ function triggerDrag(el) {
89
89
  trigger(el, 'touchend', x, y);
90
90
  }
91
91
  function simulateTouchMove(element, startX, startY, endX, endY, duration) {
92
- return _simulateTouchMove.apply(this, arguments);
93
- }
94
- function _simulateTouchMove() {
95
- _simulateTouchMove = (0, _async_to_generator._)(function(element, startX, startY, endX, endY, duration) {
92
+ return (0, _async_to_generator._)(function() {
96
93
  var touch, touchList, distanceX, distanceY, startTime, elapsed, progress, currentX, currentY, currentTouch, currentTouchList;
97
94
  return (0, _ts_generator._)(this, function(_state) {
98
95
  switch(_state.label){
@@ -145,14 +142,10 @@ function _simulateTouchMove() {
145
142
  ];
146
143
  }
147
144
  });
148
- });
149
- return _simulateTouchMove.apply(this, arguments);
145
+ })();
150
146
  }
151
147
  function simulateTouchZoom(element, startDistance, endDistance, duration) {
152
- return _simulateTouchZoom.apply(this, arguments);
153
- }
154
- function _simulateTouchZoom() {
155
- _simulateTouchZoom = (0, _async_to_generator._)(function(element, startDistance, endDistance, duration) {
148
+ return (0, _async_to_generator._)(function() {
156
149
  var centerX, centerY, startScale, endScale, startTouches, endTouches, progress, currentScale, currentDistance, currentTouches;
157
150
  return (0, _ts_generator._)(this, function(_state) {
158
151
  switch(_state.label){
@@ -212,6 +205,5 @@ function _simulateTouchZoom() {
212
205
  ];
213
206
  }
214
207
  });
215
- });
216
- return _simulateTouchZoom.apply(this, arguments);
208
+ })();
217
209
  }
@@ -5,17 +5,17 @@ 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
- getRect: function() {
12
+ get getRect () {
13
13
  return getRect;
14
14
  },
15
- inBrowser: function() {
15
+ get inBrowser () {
16
16
  return inBrowser;
17
17
  },
18
- isWindow: function() {
18
+ get isWindow () {
19
19
  return isWindow;
20
20
  }
21
21
  });
@@ -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
- getAllScrollableParents: function() {
12
+ get getAllScrollableParents () {
13
13
  return getAllScrollableParents;
14
14
  },
15
- getScrollParent: function() {
15
+ get getScrollParent () {
16
16
  return getScrollParent;
17
17
  }
18
18
  });
@@ -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
- mergeProp: function() {
12
+ get mergeProp () {
13
13
  return mergeProp;
14
14
  },
15
- mergeProps: function() {
15
+ get mergeProps () {
16
16
  return mergeProps;
17
17
  }
18
18
  });
@@ -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
- clone: function() {
12
+ get clone () {
13
13
  return clone;
14
14
  },
15
- isPlainObject: function() {
15
+ get isPlainObject () {
16
16
  return isPlainObject;
17
17
  },
18
- main: function() {
18
+ get main () {
19
19
  return main;
20
20
  },
21
- merge: function() {
21
+ get merge () {
22
22
  return merge;
23
23
  },
24
- recursive: function() {
24
+ get recursive () {
25
25
  return recursive;
26
26
  }
27
27
  });
@@ -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
- cancelRaf: function() {
12
+ get cancelRaf () {
13
13
  return cancelRaf;
14
14
  },
15
- default: function() {
15
+ get default () {
16
16
  return _default;
17
17
  }
18
18
  });
@@ -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
- render: function() {
12
+ get render () {
13
13
  return render;
14
14
  },
15
- unmount: function() {
15
+ get unmount () {
16
16
  return unmount;
17
17
  }
18
18
  });
@@ -64,10 +64,7 @@ function legacyUnmount(container) {
64
64
  return unmountComponentAtNode(container);
65
65
  }
66
66
  function concurrentUnmount(container) {
67
- return _concurrentUnmount.apply(this, arguments);
68
- }
69
- function _concurrentUnmount() {
70
- _concurrentUnmount = (0, _async_to_generator._)(function(container) {
67
+ return (0, _async_to_generator._)(function() {
71
68
  return (0, _ts_generator._)(this, function(_state) {
72
69
  // Delay to unmount to avoid React 18 sync warning
73
70
  return [
@@ -79,8 +76,7 @@ function _concurrentUnmount() {
79
76
  })
80
77
  ];
81
78
  });
82
- });
83
- return _concurrentUnmount.apply(this, arguments);
79
+ })();
84
80
  }
85
81
  function unmount(container) {
86
82
  if (createRoot) {
@@ -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
- rubberband: function() {
12
+ get rubberband () {
13
13
  return rubberband;
14
14
  },
15
- rubberbandIfOutOfBounds: function() {
15
+ get rubberbandIfOutOfBounds () {
16
16
  return rubberbandIfOutOfBounds;
17
17
  }
18
18
  });
@@ -0,0 +1,2 @@
1
+ export declare function shouldRenderPriceAsRaw(s: string): boolean;
2
+ export declare function hasNonPriceChars(s: string): boolean;