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

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 (397) hide show
  1. package/CHANGELOG.md +71 -28
  2. package/dist/cjs/locales/base.d.ts +0 -9
  3. package/dist/cjs/locales/en-US.js +2 -21
  4. package/dist/cjs/locales/id-ID.js +2 -21
  5. package/dist/cjs/locales/ja-JP.js +2 -19
  6. package/dist/cjs/locales/tr-TR.js +2 -21
  7. package/dist/cjs/locales/vi-VN.d.ts +3 -0
  8. package/dist/cjs/locales/vi-VN.js +170 -0
  9. package/dist/cjs/locales/zh-CN.js +2 -19
  10. package/dist/cjs/locales/zh-TW.js +2 -19
  11. package/dist/cjs/locales/zh-UG.js +2 -21
  12. package/dist/cjs/packages/actionsheet/style/style.harmony.css +17 -38
  13. package/dist/cjs/packages/address/address.d.ts +1 -1
  14. package/dist/cjs/packages/address/style/style.harmony.css +17 -38
  15. package/dist/cjs/packages/animatingnumbers/countup.js +1 -3
  16. package/dist/cjs/packages/audio/style/style.harmony.css +3 -0
  17. package/dist/cjs/packages/avatar/avatar.js +6 -32
  18. package/dist/cjs/packages/avatarcropper/avatarcropper.js +6 -2
  19. package/dist/cjs/packages/badge/badge.js +3 -16
  20. package/dist/cjs/packages/button/button.d.ts +24 -2
  21. package/dist/cjs/packages/button/button.js +12 -9
  22. package/dist/cjs/packages/button/index.d.ts +1 -0
  23. package/dist/cjs/packages/button/style/button.scss +3 -0
  24. package/dist/cjs/packages/button/style/style.css +3 -0
  25. package/dist/cjs/packages/button/style/style.harmony.css +3 -0
  26. package/dist/cjs/packages/button/style-jmapp/button.scss +3 -0
  27. package/dist/cjs/packages/button/style-jmapp/style.css +3 -0
  28. package/dist/cjs/packages/button/style-jrkf/button.scss +3 -0
  29. package/dist/cjs/packages/button/style-jrkf/style.css +3 -0
  30. package/dist/cjs/packages/calendar/style/calendar.scss +1 -32
  31. package/dist/cjs/packages/calendar/style/style.css +1 -21
  32. package/dist/cjs/packages/calendar/style/style.harmony.css +18 -59
  33. package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +1 -32
  34. package/dist/cjs/packages/calendar/style-jmapp/style.css +1 -21
  35. package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +1 -32
  36. package/dist/cjs/packages/calendar/style-jrkf/style.css +1 -21
  37. package/dist/cjs/packages/calendarcard/calendarcard.js +8 -30
  38. package/dist/cjs/packages/calendarcard/icon.js +23 -12
  39. package/dist/cjs/packages/calendarcard/style/calendarcard.scss +0 -19
  40. package/dist/cjs/packages/calendarcard/style/style.css +0 -13
  41. package/dist/cjs/packages/calendarcard/style/style.harmony.css +0 -13
  42. package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
  43. package/dist/cjs/packages/calendarcard/style-jmapp/style.css +0 -13
  44. package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
  45. package/dist/cjs/packages/calendarcard/style-jrkf/style.css +0 -13
  46. package/dist/cjs/packages/card/style/style.harmony.css +1 -1
  47. package/dist/cjs/packages/cascader/style/style.harmony.css +17 -38
  48. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  49. package/dist/cjs/packages/datepicker/style/style.harmony.css +18 -39
  50. package/dist/cjs/packages/dialog/dialog.js +12 -18
  51. package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
  52. package/dist/cjs/packages/dialog/style/style.css +1 -1
  53. package/dist/cjs/packages/dialog/style/style.harmony.css +4 -1
  54. package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
  55. package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
  56. package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
  57. package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
  58. package/dist/cjs/packages/divider/divider.js +2 -2
  59. package/dist/cjs/packages/empty/empty.d.ts +4 -4
  60. package/dist/cjs/packages/empty/style/style.harmony.css +3 -0
  61. package/dist/cjs/packages/form/style/style.harmony.css +5 -0
  62. package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
  63. package/dist/cjs/packages/formitem/style/style.css +5 -0
  64. package/dist/cjs/packages/formitem/style/style.harmony.css +5 -0
  65. package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
  66. package/dist/cjs/packages/formitem/style-jmapp/style.css +5 -0
  67. package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
  68. package/dist/cjs/packages/formitem/style-jrkf/style.css +5 -0
  69. package/dist/cjs/packages/image/image.js +3 -11
  70. package/dist/cjs/packages/imagepreview/style/style.harmony.css +17 -38
  71. package/dist/cjs/packages/input/input.js +3 -10
  72. package/dist/cjs/packages/inputnumber/inputnumber.js +1 -1
  73. package/dist/cjs/packages/lottie/lottiemp.js +18 -10
  74. package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
  75. package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +18 -39
  76. package/dist/cjs/packages/nutui.react.build.d.ts +1 -3
  77. package/dist/cjs/packages/nutui.react.build.js +14 -18
  78. package/dist/cjs/packages/nutui.react.d.ts +1 -4
  79. package/dist/cjs/packages/nutui.react.js +14 -19
  80. package/dist/cjs/packages/nutui.react.scss.d.ts +0 -1
  81. package/dist/cjs/packages/nutui.react.scss.js +0 -1
  82. package/dist/cjs/packages/overlay/overlay.js +3 -3
  83. package/dist/cjs/packages/picker/style/style.css +1 -1
  84. package/dist/cjs/packages/picker/style/style.harmony.css +18 -39
  85. package/dist/cjs/packages/popover/style/style.harmony.css +17 -38
  86. package/dist/cjs/packages/popup/popup.js +103 -188
  87. package/dist/cjs/packages/popup/style/popup.scss +1 -22
  88. package/dist/cjs/packages/popup/style/style.css +17 -38
  89. package/dist/cjs/packages/popup/style/style.harmony.css +17 -38
  90. package/dist/cjs/packages/popup/style-jmapp/popup.scss +1 -22
  91. package/dist/cjs/packages/popup/style-jmapp/style.css +1 -22
  92. package/dist/cjs/packages/popup/style-jrkf/popup.scss +1 -22
  93. package/dist/cjs/packages/popup/style-jrkf/style.css +1 -22
  94. package/dist/cjs/packages/price/price.js +13 -52
  95. package/dist/cjs/packages/progress/progress.js +4 -2
  96. package/dist/cjs/packages/range/range.js +7 -32
  97. package/dist/cjs/packages/rate/rate.js +8 -5
  98. package/dist/cjs/packages/resultpage/resultpage.js +1 -2
  99. package/dist/cjs/packages/resultpage/style/style.harmony.css +3 -0
  100. package/dist/cjs/packages/safearea/safearea.js +12 -3
  101. package/dist/cjs/packages/safearea/style/safearea.scss +6 -0
  102. package/dist/cjs/packages/safearea/style/style.css +2 -0
  103. package/dist/cjs/packages/safearea/style/style.harmony.css +2 -0
  104. package/dist/cjs/packages/safearea/style-jmapp/safearea.scss +6 -0
  105. package/dist/cjs/packages/safearea/style-jmapp/style.css +2 -0
  106. package/dist/cjs/packages/safearea/style-jrkf/safearea.scss +6 -0
  107. package/dist/cjs/packages/safearea/style-jrkf/style.css +2 -0
  108. package/dist/cjs/packages/searchbar/searchbar.js +9 -23
  109. package/dist/cjs/packages/shortpassword/style/style.harmony.css +17 -38
  110. package/dist/cjs/packages/step/step.js +8 -3
  111. package/dist/cjs/packages/step/style/step.scss +2 -0
  112. package/dist/cjs/packages/step/style/style.css +2 -0
  113. package/dist/cjs/packages/step/style/style.harmony.css +2 -0
  114. package/dist/cjs/packages/step/style-jmapp/step.scss +2 -0
  115. package/dist/cjs/packages/step/style-jmapp/style.css +2 -0
  116. package/dist/cjs/packages/step/style-jrkf/step.scss +2 -0
  117. package/dist/cjs/packages/step/style-jrkf/style.css +2 -0
  118. package/dist/cjs/packages/steps/style/steps.scss +3 -10
  119. package/dist/cjs/packages/steps/style/style.css +7 -13
  120. package/dist/cjs/packages/steps/style/style.harmony.css +9 -13
  121. package/dist/cjs/packages/steps/style-jmapp/steps.scss +3 -10
  122. package/dist/cjs/packages/steps/style-jmapp/style.css +3 -9
  123. package/dist/cjs/packages/steps/style-jrkf/steps.scss +3 -10
  124. package/dist/cjs/packages/steps/style-jrkf/style.css +3 -9
  125. package/dist/cjs/packages/swipe/swipe.js +115 -83
  126. package/dist/cjs/packages/table/style/style.css +1 -1
  127. package/dist/cjs/packages/table/style/style.harmony.css +1 -1
  128. package/dist/cjs/packages/table/style/table.scss +1 -1
  129. package/dist/cjs/packages/table/style-jmapp/style.css +1 -1
  130. package/dist/cjs/packages/table/style-jmapp/table.scss +1 -1
  131. package/dist/cjs/packages/table/style-jrkf/style.css +1 -1
  132. package/dist/cjs/packages/table/style-jrkf/table.scss +1 -1
  133. package/dist/cjs/packages/tabs/tabs.js +5 -12
  134. package/dist/cjs/packages/tag/style/style.css +1 -1
  135. package/dist/cjs/packages/tag/style/style.harmony.css +1 -1
  136. package/dist/cjs/packages/tag/style/tag.scss +1 -1
  137. package/dist/cjs/packages/tag/style-jmapp/style.css +1 -1
  138. package/dist/cjs/packages/tag/style-jmapp/tag.scss +1 -1
  139. package/dist/cjs/packages/tag/style-jrkf/style.css +1 -1
  140. package/dist/cjs/packages/tag/style-jrkf/tag.scss +1 -1
  141. package/dist/cjs/packages/timeselect/style/style.harmony.css +17 -38
  142. package/dist/cjs/packages/toast/style/style.css +4 -2
  143. package/dist/cjs/packages/toast/style/style.harmony.css +4 -2
  144. package/dist/cjs/packages/toast/style/toast.scss +4 -2
  145. package/dist/cjs/packages/toast/style-jmapp/style.css +4 -2
  146. package/dist/cjs/packages/toast/style-jmapp/toast.scss +4 -2
  147. package/dist/cjs/packages/toast/style-jrkf/style.css +4 -2
  148. package/dist/cjs/packages/toast/style-jrkf/toast.scss +4 -2
  149. package/dist/cjs/packages/toast/toast.js +1 -1
  150. package/dist/cjs/packages/tour/style/style.harmony.css +17 -38
  151. package/dist/cjs/types/index.d.ts +0 -3
  152. package/dist/cjs/types/index.js +0 -3
  153. package/dist/cjs/types/spec/button/base.d.ts +1 -2
  154. package/dist/cjs/types/spec/button/taro.d.ts +1 -5
  155. package/dist/cjs/types/spec/calendarcard/base.d.ts +0 -2
  156. package/dist/cjs/types/spec/dialog/base.d.ts +0 -1
  157. package/dist/cjs/types/spec/dialog/h5.d.ts +0 -2
  158. package/dist/cjs/types/spec/dialog/taro.d.ts +0 -2
  159. package/dist/cjs/types/spec/overlay/base.d.ts +0 -1
  160. package/dist/cjs/types/spec/popup/base.d.ts +0 -2
  161. package/dist/cjs/types/spec/price/base.d.ts +0 -1
  162. package/dist/cjs/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
  163. package/dist/cjs/utils/taro/get-rect.js +2 -4
  164. package/dist/cjs/utils/taro/get-system-info.d.ts +5 -0
  165. package/dist/cjs/utils/taro/get-system-info.js +7 -2
  166. package/dist/es/hooks/taro/use-custom-event.js +0 -1
  167. package/dist/es/locales/base.d.ts +0 -9
  168. package/dist/es/locales/en-US.js +2 -21
  169. package/dist/es/locales/id-ID.js +2 -21
  170. package/dist/es/locales/ja-JP.js +2 -19
  171. package/dist/es/locales/tr-TR.js +2 -21
  172. package/dist/es/locales/vi-VN.d.ts +3 -0
  173. package/dist/es/locales/vi-VN.js +160 -0
  174. package/dist/es/locales/zh-CN.js +2 -19
  175. package/dist/es/locales/zh-TW.js +2 -19
  176. package/dist/es/locales/zh-UG.js +2 -21
  177. package/dist/es/packages/actionsheet/style/style.harmony.css +17 -38
  178. package/dist/es/packages/address/address.d.ts +1 -1
  179. package/dist/es/packages/address/style/style.harmony.css +17 -38
  180. package/dist/es/packages/animatingnumbers/countup.js +1 -3
  181. package/dist/es/packages/audio/style/style.harmony.css +3 -0
  182. package/dist/es/packages/avatar/avatar.js +6 -32
  183. package/dist/es/packages/avatarcropper/avatarcropper.js +8 -4
  184. package/dist/es/packages/badge/badge.js +3 -16
  185. package/dist/es/packages/button/button.d.ts +24 -2
  186. package/dist/es/packages/button/button.js +12 -10
  187. package/dist/es/packages/button/index.d.ts +1 -0
  188. package/dist/es/packages/button/style/button.scss +3 -0
  189. package/dist/es/packages/button/style/style.css +3 -0
  190. package/dist/es/packages/button/style/style.harmony.css +3 -0
  191. package/dist/es/packages/button/style-jmapp/button.scss +3 -0
  192. package/dist/es/packages/button/style-jmapp/style.css +3 -0
  193. package/dist/es/packages/button/style-jrkf/button.scss +3 -0
  194. package/dist/es/packages/button/style-jrkf/style.css +3 -0
  195. package/dist/es/packages/calendar/style/calendar.scss +1 -32
  196. package/dist/es/packages/calendar/style/style.css +1 -21
  197. package/dist/es/packages/calendar/style/style.harmony.css +18 -59
  198. package/dist/es/packages/calendar/style-jmapp/calendar.scss +1 -32
  199. package/dist/es/packages/calendar/style-jmapp/style.css +1 -21
  200. package/dist/es/packages/calendar/style-jrkf/calendar.scss +1 -32
  201. package/dist/es/packages/calendar/style-jrkf/style.css +1 -21
  202. package/dist/es/packages/calendarcard/calendarcard.js +9 -31
  203. package/dist/es/packages/calendarcard/icon.js +24 -13
  204. package/dist/es/packages/calendarcard/style/calendarcard.scss +0 -19
  205. package/dist/es/packages/calendarcard/style/style.css +0 -13
  206. package/dist/es/packages/calendarcard/style/style.harmony.css +0 -13
  207. package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
  208. package/dist/es/packages/calendarcard/style-jmapp/style.css +0 -13
  209. package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
  210. package/dist/es/packages/calendarcard/style-jrkf/style.css +0 -13
  211. package/dist/es/packages/card/style/style.harmony.css +1 -1
  212. package/dist/es/packages/cascader/style/style.harmony.css +17 -38
  213. package/dist/es/packages/configprovider/types.d.ts +1 -1
  214. package/dist/es/packages/datepicker/style/style.harmony.css +18 -39
  215. package/dist/es/packages/dialog/dialog.js +21 -29
  216. package/dist/es/packages/dialog/style/dialog.scss +1 -1
  217. package/dist/es/packages/dialog/style/style.css +1 -1
  218. package/dist/es/packages/dialog/style/style.harmony.css +4 -1
  219. package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
  220. package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
  221. package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
  222. package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
  223. package/dist/es/packages/divider/divider.js +1 -1
  224. package/dist/es/packages/empty/empty.d.ts +4 -4
  225. package/dist/es/packages/empty/style/style.harmony.css +3 -0
  226. package/dist/es/packages/form/style/style.harmony.css +5 -0
  227. package/dist/es/packages/formitem/style/formitem.scss +4 -4
  228. package/dist/es/packages/formitem/style/style.css +5 -0
  229. package/dist/es/packages/formitem/style/style.harmony.css +5 -0
  230. package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
  231. package/dist/es/packages/formitem/style-jmapp/style.css +5 -0
  232. package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
  233. package/dist/es/packages/formitem/style-jrkf/style.css +5 -0
  234. package/dist/es/packages/image/image.js +3 -11
  235. package/dist/es/packages/imagepreview/style/style.harmony.css +17 -38
  236. package/dist/es/packages/input/input.js +3 -10
  237. package/dist/es/packages/inputnumber/inputnumber.js +1 -1
  238. package/dist/es/packages/lottie/lottiemp.js +20 -12
  239. package/dist/es/packages/numberkeyboard/style/style.css +1 -1
  240. package/dist/es/packages/numberkeyboard/style/style.harmony.css +18 -39
  241. package/dist/es/packages/nutui.react.build.d.ts +1 -3
  242. package/dist/es/packages/nutui.react.build.js +1 -3
  243. package/dist/es/packages/overlay/overlay.js +3 -3
  244. package/dist/es/packages/picker/style/style.css +1 -1
  245. package/dist/es/packages/picker/style/style.harmony.css +18 -39
  246. package/dist/es/packages/popover/style/style.harmony.css +17 -38
  247. package/dist/es/packages/popup/popup.js +104 -189
  248. package/dist/es/packages/popup/style/popup.scss +1 -22
  249. package/dist/es/packages/popup/style/style.css +17 -38
  250. package/dist/es/packages/popup/style/style.harmony.css +17 -38
  251. package/dist/es/packages/popup/style-jmapp/popup.scss +1 -22
  252. package/dist/es/packages/popup/style-jmapp/style.css +1 -22
  253. package/dist/es/packages/popup/style-jrkf/popup.scss +1 -22
  254. package/dist/es/packages/popup/style-jrkf/style.css +1 -22
  255. package/dist/es/packages/price/price.js +14 -53
  256. package/dist/es/packages/progress/progress.js +4 -2
  257. package/dist/es/packages/range/range.js +8 -33
  258. package/dist/es/packages/rate/rate.js +9 -6
  259. package/dist/es/packages/resultpage/resultpage.js +1 -2
  260. package/dist/es/packages/resultpage/style/style.harmony.css +3 -0
  261. package/dist/es/packages/safearea/safearea.js +12 -3
  262. package/dist/es/packages/safearea/style/safearea.scss +6 -0
  263. package/dist/es/packages/safearea/style/style.css +2 -0
  264. package/dist/es/packages/safearea/style/style.harmony.css +2 -0
  265. package/dist/es/packages/safearea/style-jmapp/safearea.scss +6 -0
  266. package/dist/es/packages/safearea/style-jmapp/style.css +2 -0
  267. package/dist/es/packages/safearea/style-jrkf/safearea.scss +6 -0
  268. package/dist/es/packages/safearea/style-jrkf/style.css +2 -0
  269. package/dist/es/packages/searchbar/searchbar.js +9 -23
  270. package/dist/es/packages/shortpassword/style/style.harmony.css +17 -38
  271. package/dist/es/packages/step/step.js +8 -3
  272. package/dist/es/packages/step/style/step.scss +2 -0
  273. package/dist/es/packages/step/style/style.css +2 -0
  274. package/dist/es/packages/step/style/style.harmony.css +2 -0
  275. package/dist/es/packages/step/style-jmapp/step.scss +2 -0
  276. package/dist/es/packages/step/style-jmapp/style.css +2 -0
  277. package/dist/es/packages/step/style-jrkf/step.scss +2 -0
  278. package/dist/es/packages/step/style-jrkf/style.css +2 -0
  279. package/dist/es/packages/steps/style/steps.scss +3 -10
  280. package/dist/es/packages/steps/style/style.css +7 -13
  281. package/dist/es/packages/steps/style/style.harmony.css +9 -13
  282. package/dist/es/packages/steps/style-jmapp/steps.scss +3 -10
  283. package/dist/es/packages/steps/style-jmapp/style.css +3 -9
  284. package/dist/es/packages/steps/style-jrkf/steps.scss +3 -10
  285. package/dist/es/packages/steps/style-jrkf/style.css +3 -9
  286. package/dist/es/packages/swipe/swipe.js +116 -84
  287. package/dist/es/packages/table/style/style.css +1 -1
  288. package/dist/es/packages/table/style/style.harmony.css +1 -1
  289. package/dist/es/packages/table/style/table.scss +1 -1
  290. package/dist/es/packages/table/style-jmapp/style.css +1 -1
  291. package/dist/es/packages/table/style-jmapp/table.scss +1 -1
  292. package/dist/es/packages/table/style-jrkf/style.css +1 -1
  293. package/dist/es/packages/table/style-jrkf/table.scss +1 -1
  294. package/dist/es/packages/tabs/tabs.js +5 -12
  295. package/dist/es/packages/tag/style/style.css +1 -1
  296. package/dist/es/packages/tag/style/style.harmony.css +1 -1
  297. package/dist/es/packages/tag/style/tag.scss +1 -1
  298. package/dist/es/packages/tag/style-jmapp/style.css +1 -1
  299. package/dist/es/packages/tag/style-jmapp/tag.scss +1 -1
  300. package/dist/es/packages/tag/style-jrkf/style.css +1 -1
  301. package/dist/es/packages/tag/style-jrkf/tag.scss +1 -1
  302. package/dist/es/packages/timeselect/style/style.harmony.css +17 -38
  303. package/dist/es/packages/toast/style/style.css +4 -2
  304. package/dist/es/packages/toast/style/style.harmony.css +4 -2
  305. package/dist/es/packages/toast/style/toast.scss +4 -2
  306. package/dist/es/packages/toast/style-jmapp/style.css +4 -2
  307. package/dist/es/packages/toast/style-jmapp/toast.scss +4 -2
  308. package/dist/es/packages/toast/style-jrkf/style.css +4 -2
  309. package/dist/es/packages/toast/style-jrkf/toast.scss +4 -2
  310. package/dist/es/packages/toast/toast.js +1 -1
  311. package/dist/es/packages/tour/style/style.harmony.css +17 -38
  312. package/dist/es/types/index.d.ts +0 -3
  313. package/dist/es/types/index.js +0 -3
  314. package/dist/es/types/spec/button/base.d.ts +1 -2
  315. package/dist/es/types/spec/button/taro.d.ts +1 -5
  316. package/dist/es/types/spec/calendarcard/base.d.ts +0 -2
  317. package/dist/es/types/spec/dialog/base.d.ts +8 -3
  318. package/dist/es/types/spec/dialog/h5.d.ts +0 -2
  319. package/dist/es/types/spec/dialog/taro.d.ts +0 -2
  320. package/dist/es/types/spec/overlay/base.d.ts +0 -1
  321. package/dist/es/types/spec/popup/base.d.ts +5 -4
  322. package/dist/es/types/spec/price/base.d.ts +0 -4
  323. package/dist/es/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
  324. package/dist/es/utils/taro/get-rect.js +2 -4
  325. package/dist/es/utils/taro/get-system-info.d.ts +5 -0
  326. package/dist/es/utils/taro/get-system-info.js +7 -8
  327. package/dist/nutui.react.umd.js +10310 -10733
  328. package/dist/style-jmapp.css +1 -1
  329. package/dist/style-jmapp.scss +41 -42
  330. package/dist/style-jrkf.css +1 -1
  331. package/dist/style-jrkf.scss +31 -32
  332. package/dist/style.css +1 -1
  333. package/dist/style.scss +30 -31
  334. package/dist/styles/jd-font.scss +2 -2
  335. package/dist/styles/theme-dark.scss +2 -1
  336. package/dist/styles/themes/daojia.css +1 -1
  337. package/dist/styles/themes/dark-daojia.css +1 -1
  338. package/dist/styles/themes/dark.css +1 -1
  339. package/dist/styles/themes/default.css +1 -1
  340. package/dist/styles/variables-daojia.scss +0 -41
  341. package/dist/styles/variables-jmapp.scss +0 -41
  342. package/dist/styles/variables-jrkf.scss +0 -41
  343. package/dist/styles/variables.scss +4 -49
  344. package/package.json +1 -1
  345. package/postinstall.js +9 -0
  346. package/dist/cjs/packages/quickenter/index.d.ts +0 -3
  347. package/dist/cjs/packages/quickenter/index.js +0 -13
  348. package/dist/cjs/packages/quickenter/quickenter.d.ts +0 -4
  349. package/dist/cjs/packages/quickenter/quickenter.js +0 -153
  350. package/dist/cjs/packages/quickenter/style/css.js +0 -2
  351. package/dist/cjs/packages/quickenter/style/index.js +0 -2
  352. package/dist/cjs/packages/quickenter/style/quickenter.scss +0 -120
  353. package/dist/cjs/packages/quickenter/style/style.css +0 -106
  354. package/dist/cjs/packages/quickenter/style/style.harmony.css +0 -506
  355. package/dist/cjs/packages/quickenter/style-jmapp/css.js +0 -2
  356. package/dist/cjs/packages/quickenter/style-jmapp/index.js +0 -2
  357. package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +0 -120
  358. package/dist/cjs/packages/quickenter/style-jmapp/style.css +0 -106
  359. package/dist/cjs/packages/quickenter/style-jrkf/css.js +0 -2
  360. package/dist/cjs/packages/quickenter/style-jrkf/index.js +0 -2
  361. package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +0 -120
  362. package/dist/cjs/packages/quickenter/style-jrkf/style.css +0 -106
  363. package/dist/cjs/types/spec/quickenter/base.d.ts +0 -27
  364. package/dist/cjs/types/spec/quickenter/base.js +0 -4
  365. package/dist/cjs/types/spec/quickenter/h5.d.ts +0 -5
  366. package/dist/cjs/types/spec/quickenter/h5.js +0 -4
  367. package/dist/cjs/types/spec/quickenter/taro.d.ts +0 -5
  368. package/dist/cjs/types/spec/quickenter/taro.js +0 -4
  369. package/dist/cjs/utils/should-render-price-raw.d.ts +0 -2
  370. package/dist/cjs/utils/should-render-price-raw.js +0 -46
  371. package/dist/es/packages/quickenter/index.d.ts +0 -3
  372. package/dist/es/packages/quickenter/index.js +0 -2
  373. package/dist/es/packages/quickenter/quickenter.d.ts +0 -4
  374. package/dist/es/packages/quickenter/quickenter.js +0 -141
  375. package/dist/es/packages/quickenter/style/css.js +0 -2
  376. package/dist/es/packages/quickenter/style/index.js +0 -2
  377. package/dist/es/packages/quickenter/style/quickenter.scss +0 -120
  378. package/dist/es/packages/quickenter/style/style.css +0 -106
  379. package/dist/es/packages/quickenter/style/style.harmony.css +0 -506
  380. package/dist/es/packages/quickenter/style-jmapp/css.js +0 -2
  381. package/dist/es/packages/quickenter/style-jmapp/index.js +0 -2
  382. package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +0 -120
  383. package/dist/es/packages/quickenter/style-jmapp/style.css +0 -106
  384. package/dist/es/packages/quickenter/style-jrkf/css.js +0 -2
  385. package/dist/es/packages/quickenter/style-jrkf/index.js +0 -2
  386. package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +0 -120
  387. package/dist/es/packages/quickenter/style-jrkf/style.css +0 -106
  388. package/dist/es/types/spec/quickenter/base.d.ts +0 -45
  389. package/dist/es/types/spec/quickenter/base.js +0 -1
  390. package/dist/es/types/spec/quickenter/h5.d.ts +0 -5
  391. package/dist/es/types/spec/quickenter/h5.js +0 -1
  392. package/dist/es/types/spec/quickenter/taro.d.ts +0 -5
  393. package/dist/es/types/spec/quickenter/taro.js +0 -1
  394. package/dist/es/utils/should-render-price-raw.d.ts +0 -2
  395. package/dist/es/utils/should-render-price-raw.js +0 -30
  396. /package/dist/cjs/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
  397. /package/dist/es/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
@@ -2,8 +2,6 @@ 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;
7
5
  }
8
6
  export interface TaroDialogProps extends Omit<BaseDialog, 'onOverlayClick' | 'onClick'> {
9
7
  onClick: (event: ITouchEvent) => void;
@@ -8,5 +8,4 @@ export interface BaseOverlay extends BaseProps {
8
8
  afterShow: () => void;
9
9
  afterClose: () => void;
10
10
  onClick: (event: any) => void;
11
- ariaLabel?: string;
12
11
  }
@@ -27,6 +27,4 @@ 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;
32
30
  }
@@ -17,5 +17,4 @@ export interface BasePrice extends BaseProps {
17
17
  position: string;
18
18
  size: PriceSize;
19
19
  line: boolean;
20
- raw: boolean;
21
20
  }
@@ -21,45 +21,84 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
21
21
  if (inPhase) return "".concat(baseClassName, "-enter-done");
22
22
  return "".concat(baseClassName, "-exit-done");
23
23
  }), 2), classes = _useState1[0], setClasses = _useState1[1];
24
- var timerRef = (0, _react.useRef)(null);
24
+ var fallbackTimerRef = (0, _react.useRef)(null);
25
25
  var statusRef = (0, _react.useRef)(status);
26
26
  var prevInPhase = (0, _react.useRef)(inPhase);
27
+ var latestOnAnimationEnd = (0, _react.useRef)(children.props.onAnimationEnd);
28
+ (0, _react.useEffect)(function() {
29
+ latestOnAnimationEnd.current = children.props.onAnimationEnd;
30
+ });
27
31
  var updateStatus = (0, _react.useCallback)(function(nextStatus) {
28
32
  statusRef.current = nextStatus;
29
33
  setStatus(nextStatus);
30
34
  }, []);
35
+ var handleAnimationEnd = (0, _react.useCallback)(function(e) {
36
+ var _latestOnAnimationEnd_current;
37
+ (_latestOnAnimationEnd_current = latestOnAnimationEnd.current) === null || _latestOnAnimationEnd_current === void 0 ? void 0 : _latestOnAnimationEnd_current.call(latestOnAnimationEnd, e);
38
+ if (e && e.target !== e.currentTarget) return;
39
+ if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
40
+ if (statusRef.current === 'entering') {
41
+ updateStatus('entered');
42
+ setClasses("".concat(baseClassName, "-enter-done"));
43
+ onEntered === null || onEntered === void 0 ? void 0 : onEntered();
44
+ } else if (statusRef.current === 'exiting') {
45
+ updateStatus('exited');
46
+ setClasses("".concat(baseClassName, "-exit-done"));
47
+ if (unmountOnExit) {
48
+ updateStatus('unmounted');
49
+ }
50
+ onExited === null || onExited === void 0 ? void 0 : onExited();
51
+ }
52
+ }, [
53
+ baseClassName,
54
+ onEntered,
55
+ onExited,
56
+ unmountOnExit,
57
+ updateStatus
58
+ ]);
31
59
  var enter = (0, _react.useCallback)(function() {
32
- if (timerRef.current) clearTimeout(timerRef.current);
60
+ if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
33
61
  if (statusRef.current === 'unmounted') {
34
62
  updateStatus('exited');
35
63
  }
36
- updateStatus('entering');
37
- setClasses("".concat(baseClassName, "-enter ").concat(baseClassName, "-enter-active"));
38
- timerRef.current = setTimeout(function() {
64
+ if (timeout === 0) {
39
65
  updateStatus('entered');
40
66
  setClasses("".concat(baseClassName, "-enter-done"));
41
67
  onEntered === null || onEntered === void 0 ? void 0 : onEntered();
42
- }, timeout);
68
+ return;
69
+ }
70
+ updateStatus('entering');
71
+ setClasses("".concat(baseClassName, "-enter ").concat(baseClassName, "-enter-active"));
72
+ // Safety fallback: Give it extra time over the expected timeout in case onAnimationEnd misses
73
+ fallbackTimerRef.current = setTimeout(function() {
74
+ handleAnimationEnd(null);
75
+ }, timeout + 200);
43
76
  }, [
44
77
  baseClassName,
78
+ handleAnimationEnd,
45
79
  onEntered,
46
80
  timeout,
47
81
  updateStatus
48
82
  ]);
49
83
  var exit = (0, _react.useCallback)(function() {
50
- if (timerRef.current) clearTimeout(timerRef.current);
51
- updateStatus('exiting');
52
- setClasses("".concat(baseClassName, "-exit ").concat(baseClassName, "-exit-active"));
53
- timerRef.current = setTimeout(function() {
84
+ if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
85
+ if (timeout === 0) {
54
86
  updateStatus('exited');
55
87
  setClasses("".concat(baseClassName, "-exit-done"));
56
88
  if (unmountOnExit) {
57
89
  updateStatus('unmounted');
58
90
  }
59
91
  onExited === null || onExited === void 0 ? void 0 : onExited();
60
- }, timeout);
92
+ return;
93
+ }
94
+ updateStatus('exiting');
95
+ setClasses("".concat(baseClassName, "-exit ").concat(baseClassName, "-exit-active"));
96
+ fallbackTimerRef.current = setTimeout(function() {
97
+ handleAnimationEnd(null);
98
+ }, timeout + 200);
61
99
  }, [
62
100
  baseClassName,
101
+ handleAnimationEnd,
63
102
  onExited,
64
103
  timeout,
65
104
  unmountOnExit,
@@ -75,7 +114,7 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
75
114
  prevInPhase.current = inPhase;
76
115
  }
77
116
  return function() {
78
- if (timerRef.current) clearTimeout(timerRef.current);
117
+ if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
79
118
  };
80
119
  }, [
81
120
  inPhase,
@@ -84,7 +123,8 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
84
123
  ]);
85
124
  if (status === 'unmounted') return null;
86
125
  return /*#__PURE__*/ (0, _react.cloneElement)(children, {
87
- className: "".concat(children.props.className || '', " ").concat(classes)
126
+ className: "".concat(children.props.className || '', " ").concat(classes),
127
+ onAnimationEnd: handleAnimationEnd
88
128
  });
89
129
  };
90
130
  var _default = ConfigurableCSSTransition;
@@ -55,8 +55,7 @@ var getRectInMultiPlatform = function getRectInMultiPlatform(element) {
55
55
  resolve(lru.get(element));
56
56
  return;
57
57
  }
58
- (0, _taro.createSelectorQuery)() // https://taro.jd.com/docs/reference/config/page/
59
- .in((element === null || element === void 0 ? void 0 : element._scope) || element).select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
58
+ (0, _taro.createSelectorQuery)().select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
60
59
  var _param = (0, _sliced_to_array._)(param, 1), rects = _param[0];
61
60
  if (rects) {
62
61
  lru.set(element, rects);
@@ -87,8 +86,7 @@ var getRectInMultiPlatformWithoutCache = function getRectInMultiPlatformWithoutC
87
86
  return [
88
87
  2,
89
88
  new Promise(function(resolve, reject) {
90
- (0, _taro.createSelectorQuery)() // https://taro.jd.com/docs/reference/config/page/
91
- .in((element === null || element === void 0 ? void 0 : element._scope) || element).select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
89
+ (0, _taro.createSelectorQuery)().select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
92
90
  var _param = (0, _sliced_to_array._)(param, 1), rects = _param[0];
93
91
  resolve(rects);
94
92
  });
@@ -14,4 +14,9 @@ export declare const getDeviceInfo: () => IDeviceInfo;
14
14
  * @returns {Taro.getWindowInfo.Result} 窗口信息
15
15
  */
16
16
  export declare const getWindowInfo: () => Taro.getWindowInfo.Result;
17
+ /**
18
+ * 获取应用基础信息,兼容新旧 API
19
+ * @returns {Taro.getAppBaseInfo.Result} 应用基础信息
20
+ */
21
+ export declare const getAppBaseInfo: () => Taro.getAppBaseInfo.Result;
17
22
  export {};
@@ -9,6 +9,9 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
+ get getAppBaseInfo () {
13
+ return getAppBaseInfo;
14
+ },
12
15
  get getDeviceInfo () {
13
16
  return getDeviceInfo;
14
17
  },
@@ -23,5 +26,7 @@ var getDeviceInfo = function getDeviceInfo() {
23
26
  };
24
27
  var getWindowInfo = function getWindowInfo() {
25
28
  return typeof _taro.default.getWindowInfo === 'function' ? _taro.default.getWindowInfo() : _taro.default.getSystemInfoSync();
26
- } // /**
27
- ;
29
+ };
30
+ var getAppBaseInfo = function getAppBaseInfo() {
31
+ return typeof _taro.default.getAppBaseInfo === 'function' ? _taro.default.getAppBaseInfo() : _taro.default.getSystemInfoSync();
32
+ };
@@ -3,7 +3,6 @@ import { useEffect, useRef } from "react";
3
3
  import isEqual from "react-fast-compare";
4
4
  import { eventCenter, getCurrentInstance } from "@tarojs/taro";
5
5
  import { useForceUpdate } from "../use-force-update";
6
- // export const customEvents = new Events()
7
6
  export var customEvents = eventCenter;
8
7
  export function useCustomEventsPath(selector) {
9
8
  var _getCurrentInstance_router;
@@ -9,11 +9,6 @@ export interface BaseLang {
9
9
  edit: string;
10
10
  reset: string;
11
11
  close: string;
12
- back: string;
13
- clear: string;
14
- image: {
15
- errorTip: string;
16
- };
17
12
  video: {
18
13
  errorTip: string;
19
14
  clickRetry: string;
@@ -44,7 +39,6 @@ export interface BaseLang {
44
39
  today: string;
45
40
  loadPreviousMonth: string;
46
41
  noEarlierMonth: string;
47
- dayAriaLabel?: Function;
48
42
  };
49
43
  shortpassword: {
50
44
  title: string;
@@ -148,7 +142,4 @@ export interface BaseLang {
148
142
  errorCanvasTips: string;
149
143
  };
150
144
  mask: string;
151
- quickenter: {
152
- title: string;
153
- };
154
145
  }
@@ -9,11 +9,6 @@ var enUS = {
9
9
  edit: 'Edit',
10
10
  reset: 'Reset',
11
11
  close: 'Close',
12
- back: 'Back',
13
- clear: 'Clear',
14
- image: {
15
- errorTip: 'Image failed to load'
16
- },
17
12
  video: {
18
13
  errorTip: 'Error Tip',
19
14
  clickRetry: 'Click Retry'
@@ -53,18 +48,7 @@ var enUS = {
53
48
  },
54
49
  today: 'Today',
55
50
  loadPreviousMonth: 'Load Previous Month',
56
- noEarlierMonth: 'No Earlier Month',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
59
- var label = today ? "Today, ".concat(dateStr) : dateStr;
60
- if (isActive) {
61
- label = "Selected ".concat(label);
62
- }
63
- if (isDisable) {
64
- label = "".concat(label, " disabled");
65
- }
66
- return label;
67
- }
51
+ noEarlierMonth: 'No Earlier Month'
68
52
  },
69
53
  shortpassword: {
70
54
  title: 'Please input a password',
@@ -171,9 +155,6 @@ var enUS = {
171
155
  watermark: {
172
156
  errorCanvasTips: 'Canvas is not supported in the current environment'
173
157
  },
174
- mask: 'Mask',
175
- quickenter: {
176
- title: 'Quick Enter'
177
- }
158
+ mask: 'Mask'
178
159
  };
179
160
  export default enUS;
@@ -9,11 +9,6 @@ var idID = {
9
9
  edit: 'Sunting',
10
10
  reset: 'Mengatur Ulang',
11
11
  close: 'Tutup',
12
- back: 'Kembali',
13
- clear: 'Bersihkan',
14
- image: {
15
- errorTip: 'Gambar gagal dimuat'
16
- },
17
12
  video: {
18
13
  errorTip: 'Terjadi Kesalahan',
19
14
  clickRetry: 'Coba Lagi'
@@ -53,18 +48,7 @@ var idID = {
53
48
  },
54
49
  today: 'Hari ini',
55
50
  loadPreviousMonth: 'Muat Bulan Sebelumnya',
56
- noEarlierMonth: 'Tidak Ada Bulan Sebelumnya',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
59
- var label = today ? "Hari ini, ".concat(dateStr) : dateStr;
60
- if (isActive) {
61
- label = "Dipilih ".concat(label);
62
- }
63
- if (isDisable) {
64
- label = "".concat(label, " dinonaktifkan");
65
- }
66
- return label;
67
- }
51
+ noEarlierMonth: 'Tidak Ada Bulan Sebelumnya'
68
52
  },
69
53
  shortpassword: {
70
54
  title: 'SIlakan masukan kata sandi',
@@ -171,9 +155,6 @@ var idID = {
171
155
  watermark: {
172
156
  errorCanvasTips: 'Canvas is not supported in the current environment'
173
157
  },
174
- mask: 'Masker',
175
- quickenter: {
176
- title: 'Masuk Cepat'
177
- }
158
+ mask: 'Masker'
178
159
  };
179
160
  export default idID;
@@ -8,12 +8,6 @@ var jaJP = {
8
8
  select: '選択してください',
9
9
  edit: '編集',
10
10
  reset: 'リセット',
11
- close: '閉じる',
12
- back: '戻る',
13
- clear: 'クリア',
14
- image: {
15
- errorTip: '画像の読み込みに失敗しました'
16
- },
17
11
  video: {
18
12
  errorTip: '動画の読み込みに失敗しました',
19
13
  clickRetry: 'クリックして再試行'
@@ -53,16 +47,7 @@ var jaJP = {
53
47
  },
54
48
  today: '今日',
55
49
  loadPreviousMonth: '前の月を読み込む',
56
- noEarlierMonth: 'これより前の月はありません',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- if (isActive) {
59
- return today ? "今日".concat(month, "月").concat(day, "日を選択しました") : "".concat(month, "月").concat(day, "日を選択しました");
60
- }
61
- if (isDisable) {
62
- return today ? "今日".concat(month, "月").concat(day, "日は無効です") : "".concat(month, "月").concat(day, "日は無効です");
63
- }
64
- return today ? "今日".concat(month, "月").concat(day, "日") : "".concat(month, "月").concat(day, "日");
65
- }
50
+ noEarlierMonth: 'これより前の月はありません'
66
51
  },
67
52
  shortpassword: {
68
53
  title: 'パスワードを入力してください',
@@ -170,8 +155,6 @@ var jaJP = {
170
155
  errorCanvasTips: '現在の環境はCanvasをサポートしていません'
171
156
  },
172
157
  mask: 'マスク',
173
- quickenter: {
174
- title: 'クイックアクセス'
175
- }
158
+ close: '閉じる'
176
159
  };
177
160
  export default jaJP;
@@ -9,11 +9,6 @@ var trTR = {
9
9
  edit: 'düzenlemek',
10
10
  reset: 'sıfırlama',
11
11
  close: 'Kapat',
12
- back: 'Geri',
13
- clear: 'Temizle',
14
- image: {
15
- errorTip: 'Resim yüklenemedi'
16
- },
17
12
  video: {
18
13
  errorTip: 'Video yüklenemedi',
19
14
  clickRetry: 'Yeniden Tıklayın'
@@ -53,18 +48,7 @@ var trTR = {
53
48
  },
54
49
  today: 'Bugün',
55
50
  loadPreviousMonth: 'Önceki ayı yükle',
56
- noEarlierMonth: 'Önceki ay yok',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
59
- var label = today ? "Bug\xfcn, ".concat(dateStr) : dateStr;
60
- if (isActive) {
61
- label = "Se\xe7ili ".concat(label);
62
- }
63
- if (isDisable) {
64
- label = "".concat(label, " devre dışı");
65
- }
66
- return label;
67
- }
51
+ noEarlierMonth: 'Önceki ay yok'
68
52
  },
69
53
  shortpassword: {
70
54
  title: 'Lütfen şifrenizi girin',
@@ -171,9 +155,6 @@ var trTR = {
171
155
  watermark: {
172
156
  errorCanvasTips: 'Geçerli ortam Canvası desteklemiyor'
173
157
  },
174
- mask: 'Maske',
175
- quickenter: {
176
- title: 'Hızlı Giriş'
177
- }
158
+ mask: 'Maske'
178
159
  };
179
160
  export default trTR;
@@ -0,0 +1,3 @@
1
+ import { BaseLang } from './base';
2
+ declare const viVN: BaseLang;
3
+ export default viVN;
@@ -0,0 +1,160 @@
1
+ var viVN = {
2
+ save: 'Lưu',
3
+ confirm: 'Xác nhận',
4
+ cancel: 'Hủy',
5
+ done: 'Hoàn thành',
6
+ noData: 'Tạm thời không có dữ liệu',
7
+ placeholder: 'Vui lòng nhập nội dung',
8
+ select: 'Vui lòng chọn',
9
+ edit: 'Chỉnh sửa',
10
+ reset: 'Đặt lại',
11
+ close: 'Đóng',
12
+ video: {
13
+ errorTip: 'Tải video không thành công',
14
+ clickRetry: 'Nhấn để thử lại'
15
+ },
16
+ fixednav: {
17
+ activeText: 'Thu gọn thanh điều hướng',
18
+ inactiveText: 'Điều hướng nhanh'
19
+ },
20
+ infiniteloading: {
21
+ pullRefreshText: 'Thả để làm mới',
22
+ loadText: 'Đang tải……',
23
+ loadMoreText: 'Ôi, đã đến cuối rồi!'
24
+ },
25
+ pagination: {
26
+ prev: 'Trang trước',
27
+ next: 'Trang sau'
28
+ },
29
+ range: {
30
+ rangeText: 'Không nằm trong phạm vi này'
31
+ },
32
+ calendaritem: {
33
+ weekdays: [
34
+ 'CN',
35
+ 'T2',
36
+ 'T3',
37
+ 'T4',
38
+ 'T5',
39
+ 'T6',
40
+ 'T7'
41
+ ],
42
+ end: 'Kết thúc',
43
+ start: 'Bắt đầu',
44
+ confirm: 'Xác nhận',
45
+ title: 'Chọn lịch',
46
+ monthTitle: function(year, month) {
47
+ return "Th\xe1ng ".concat(month, " Năm ").concat(year);
48
+ },
49
+ today: 'Hôm nay',
50
+ loadPreviousMonth: 'Tải dữ liệu của tháng trước',
51
+ noEarlierMonth: 'Không có tháng nào sớm hơn'
52
+ },
53
+ shortpassword: {
54
+ title: 'Vui lòng nhập mật khẩu',
55
+ description: 'Bạn đã sử dụng tài sản ảo, vui lòng xác minh',
56
+ tips: 'Quên mật khẩu'
57
+ },
58
+ uploader: {
59
+ list: 'Tải lên tập tin',
60
+ ready: 'Chuẩn bị hoàn thành',
61
+ readyUpload: 'Chuẩn bị tải lên',
62
+ waitingUpload: 'Đang đợi tải lên',
63
+ uploading: 'Đang tải lên...',
64
+ success: 'Tải lên thành công',
65
+ error: 'Tải lên thất bại',
66
+ deleteWord: 'Người dùng đã chặn xóa!'
67
+ },
68
+ countdown: {
69
+ day: 'Ngày',
70
+ hour: 'Giờ',
71
+ minute: 'Phút',
72
+ second: 'Giây'
73
+ },
74
+ address: {
75
+ selectRegion: 'Vui lòng chọn khu vực',
76
+ deliveryTo: 'Giao đến',
77
+ hotCity: 'Thành phố nóng',
78
+ chooseAnotherAddress: 'Chọn địa chỉ khác',
79
+ selectProvince: 'Chọn Tỉnh/Thành phố'
80
+ },
81
+ signature: {
82
+ reSign: 'Ký lại',
83
+ unsupported: 'Xin lỗi, trình duyệt hiện tại không hỗ trợ Canvas, không thể dùng tính năng này!'
84
+ },
85
+ ecard: {
86
+ chooseText: 'Chọn mệnh giá thẻ',
87
+ otherValueText: 'Mệnh giá khác',
88
+ placeholder: 'Nhập số nguyên 1-5000'
89
+ },
90
+ timeselect: {
91
+ pickupTime: 'Thời gian lấy hàng'
92
+ },
93
+ sku: {
94
+ buyNow: 'Mua ngay',
95
+ buyNumber: 'Số lượng mua',
96
+ addToCard: 'Thêm vào giỏ hàng'
97
+ },
98
+ skuheader: {
99
+ skuId: 'Mã sản phẩm'
100
+ },
101
+ addresslist: {
102
+ addAddress: 'Tạo địa chỉ '
103
+ },
104
+ comment: {
105
+ complaintsText: 'Tôi muốn khiếu nại',
106
+ additionalReview: function(day) {
107
+ return "Đ\xe1nh gi\xe1 th\xeam sau ".concat(day, " ng\xe0y");
108
+ },
109
+ additionalImages: function(length) {
110
+ return "".concat(length, " ảnh đ\xe1nh gi\xe1 th\xeam");
111
+ }
112
+ },
113
+ searchbar: {
114
+ basePlaceholder: 'Lên JD tìm sản phẩm tốt',
115
+ text: 'Văn bản',
116
+ test: 'Kiểm tra',
117
+ title1: 'Cách dùng cơ bản',
118
+ title2: 'Hình dạng và độ dài tối đa ô tìm kiếm',
119
+ title3: 'Cài đặt nền trong và ngoài ô tìm kiếm',
120
+ title4: 'Cài đặt văn bản ô tìm kiếm',
121
+ title5: 'Tùy chỉnh biểu tượng',
122
+ title6: 'Lắng nghe thay đổi dữ liệu'
123
+ },
124
+ audio: {
125
+ back: 'Quay lại',
126
+ forward: 'Chuyển nhanh',
127
+ pause: 'Tạm dừng',
128
+ start: 'Bắt đầu',
129
+ mute: 'Tắt âm',
130
+ tips: 'Sự kiện onPlayEnd chỉ xảy ra khi loop=false'
131
+ },
132
+ avatarCropper: {
133
+ rotate: 'Xoay',
134
+ selectImage: 'Chọn ảnh'
135
+ },
136
+ datepicker: {
137
+ year: 'Năm',
138
+ month: 'Tháng',
139
+ day: 'Ngày',
140
+ hour: 'Giờ',
141
+ min: 'Phút',
142
+ seconds: 'Giây'
143
+ },
144
+ pullToRefresh: {
145
+ pullingText: 'Kéo xuống để làm mới',
146
+ canReleaseText: 'Thả để làm mới',
147
+ refreshingText: 'Đang tải...',
148
+ completeText: 'Làm mới thành công'
149
+ },
150
+ tour: {
151
+ prevStepText: 'Bước trước',
152
+ completeText: 'Hoàn thành',
153
+ nextStepText: 'Bước tiếp theo'
154
+ },
155
+ watermark: {
156
+ errorCanvasTips: 'Môi trường hiện tại không hỗ trợ Canvas'
157
+ },
158
+ mask: 'Lớp phủ'
159
+ };
160
+ export default viVN;
@@ -9,11 +9,6 @@ var zhCN = {
9
9
  edit: '编辑',
10
10
  reset: '重置',
11
11
  close: '关闭',
12
- back: '返回',
13
- clear: '清除',
14
- image: {
15
- errorTip: '图片加载失败'
16
- },
17
12
  video: {
18
13
  errorTip: '视频加载失败',
19
14
  clickRetry: '点击重试'
@@ -53,16 +48,7 @@ var zhCN = {
53
48
  },
54
49
  today: '今天',
55
50
  loadPreviousMonth: '加载上一个月',
56
- noEarlierMonth: '没有更早月份',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- if (isActive) {
59
- return today ? "已选定今日".concat(month, "月").concat(day, "号") : "已选定".concat(month, "月").concat(day, "号");
60
- }
61
- if (isDisable) {
62
- return today ? "".concat(month, "月").concat(day, "号今日按钮变暗") : "".concat(month, "月").concat(day, "号按钮变暗");
63
- }
64
- return today ? "".concat(month, "月").concat(day, "号今日") : "".concat(month, "月").concat(day, "号");
65
- }
51
+ noEarlierMonth: '没有更早月份'
66
52
  },
67
53
  shortpassword: {
68
54
  title: '请输入密码',
@@ -169,9 +155,6 @@ var zhCN = {
169
155
  watermark: {
170
156
  errorCanvasTips: '当前环境不支持Canvas'
171
157
  },
172
- mask: '蒙层',
173
- quickenter: {
174
- title: '快捷入口'
175
- }
158
+ mask: '蒙层'
176
159
  };
177
160
  export default zhCN;
@@ -9,11 +9,6 @@ var zhCN = {
9
9
  edit: '編輯',
10
10
  reset: '重置',
11
11
  close: '關閉',
12
- back: '返回',
13
- clear: '清除',
14
- image: {
15
- errorTip: '圖片加載失敗'
16
- },
17
12
  video: {
18
13
  errorTip: '視頻加載失敗',
19
14
  clickRetry: '點擊重試'
@@ -53,16 +48,7 @@ var zhCN = {
53
48
  },
54
49
  today: '今天',
55
50
  loadPreviousMonth: '加載上一個月',
56
- noEarlierMonth: '沒有更早月份',
57
- dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
58
- if (isActive) {
59
- return today ? "已選定今日".concat(month, "月").concat(day, "號") : "已選定".concat(month, "月").concat(day, "號");
60
- }
61
- if (isDisable) {
62
- return today ? "".concat(month, "月").concat(day, "號今日按鈕變暗") : "".concat(month, "月").concat(day, "號按鈕變暗");
63
- }
64
- return today ? "".concat(month, "月").concat(day, "號今日") : "".concat(month, "月").concat(day, "號");
65
- }
51
+ noEarlierMonth: '沒有更早月份'
66
52
  },
67
53
  shortpassword: {
68
54
  title: '請輸入密碼',
@@ -169,9 +155,6 @@ var zhCN = {
169
155
  watermark: {
170
156
  errorCanvasTips: '當前環境不支持Canvas'
171
157
  },
172
- mask: '蒙層',
173
- quickenter: {
174
- title: '快捷入口'
175
- }
158
+ mask: '蒙層'
176
159
  };
177
160
  export default zhCN;