antd-mobile 5.38.1 → 5.40.0

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 (368) hide show
  1. package/2x/README.md +8 -1
  2. package/2x/bundle/antd-mobile.cjs.development.js +2518 -1737
  3. package/2x/bundle/antd-mobile.cjs.js +7 -7
  4. package/2x/bundle/antd-mobile.es.development.js +1564 -783
  5. package/2x/bundle/antd-mobile.es.js +7316 -6670
  6. package/2x/bundle/antd-mobile.umd.development.js +2517 -1736
  7. package/2x/bundle/antd-mobile.umd.js +7 -7
  8. package/2x/bundle/style.css +23 -6
  9. package/2x/cjs/components/button/button.d.ts +2 -2
  10. package/2x/cjs/components/button/button.js +1 -0
  11. package/2x/cjs/components/calendar-picker/calendar-picker.d.ts +9 -9
  12. package/2x/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
  13. package/2x/cjs/components/calendar-picker-view/calendar-picker-view.js +21 -11
  14. package/2x/cjs/components/date-picker/date-picker-date-utils.d.ts +1 -1
  15. package/2x/cjs/components/date-picker/date-picker-date-utils.js +23 -8
  16. package/2x/cjs/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
  17. package/2x/cjs/components/date-picker/date-picker-quarter-utils.js +7 -2
  18. package/2x/cjs/components/date-picker/date-picker-week-utils.d.ts +3 -1
  19. package/2x/cjs/components/date-picker/date-picker-week-utils.js +12 -5
  20. package/2x/cjs/components/date-picker-view/date-picker-view.d.ts +5 -3
  21. package/2x/cjs/components/date-picker-view/date-picker-view.js +3 -3
  22. package/2x/cjs/components/date-picker-view/useRenderLabel.js +2 -2
  23. package/2x/cjs/components/ellipsis/useMeasure.js +7 -3
  24. package/2x/cjs/components/floating-panel/floating-panel.css +16 -2
  25. package/2x/cjs/components/floating-panel/floating-panel.d.ts +3 -1
  26. package/2x/cjs/components/floating-panel/floating-panel.js +43 -30
  27. package/2x/cjs/components/image-uploader/image-uploader.d.ts +3 -3
  28. package/2x/cjs/components/image-uploader/image-uploader.js +11 -11
  29. package/2x/cjs/components/image-viewer/image-viewer.d.ts +13 -4
  30. package/2x/cjs/components/image-viewer/image-viewer.js +8 -6
  31. package/2x/cjs/components/image-viewer/index.d.ts +4 -1
  32. package/2x/cjs/components/image-viewer/slide.d.ts +5 -1
  33. package/2x/cjs/components/image-viewer/slide.js +10 -5
  34. package/2x/cjs/components/image-viewer/slides.d.ts +4 -1
  35. package/2x/cjs/components/image-viewer/slides.js +14 -12
  36. package/2x/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
  37. package/2x/cjs/components/passcode-input/passcode-input.d.ts +7 -5
  38. package/2x/cjs/components/passcode-input/passcode-input.js +7 -6
  39. package/2x/cjs/components/popover/popover.d.ts +2 -2
  40. package/2x/cjs/components/popover/popover.js +11 -11
  41. package/2x/cjs/components/popover/wrapper.d.ts +6 -9
  42. package/2x/cjs/components/popover/wrapper.js +32 -6
  43. package/2x/cjs/components/space/space.css +4 -4
  44. package/2x/cjs/components/swipe-action/swipe-action.d.ts +3 -1
  45. package/2x/cjs/components/swipe-action/swipe-action.js +25 -23
  46. package/2x/cjs/components/virtual-input/virtual-input.css +3 -0
  47. package/2x/cjs/components/virtual-input/virtual-input.js +34 -5
  48. package/2x/cjs/index.d.ts +1 -0
  49. package/2x/cjs/index.js +7 -0
  50. package/2x/cjs/locales/ar-SA.d.ts +1 -0
  51. package/2x/cjs/locales/ar-SA.js +1 -0
  52. package/2x/cjs/locales/base.d.ts +1 -0
  53. package/2x/cjs/locales/base.js +1 -0
  54. package/2x/cjs/locales/cnr-ME.d.ts +1 -0
  55. package/2x/cjs/locales/cnr-ME.js +1 -0
  56. package/2x/cjs/locales/da-DK.d.ts +1 -0
  57. package/2x/cjs/locales/de-DE.d.ts +1 -0
  58. package/2x/cjs/locales/de-DE.js +1 -0
  59. package/2x/cjs/locales/en-US.d.ts +1 -0
  60. package/2x/cjs/locales/es-ES.d.ts +1 -0
  61. package/2x/cjs/locales/fa-IR.d.ts +1 -0
  62. package/2x/cjs/locales/fr-FR.d.ts +1 -0
  63. package/2x/cjs/locales/hr-HR.d.ts +1 -0
  64. package/2x/cjs/locales/hr-HR.js +1 -0
  65. package/2x/cjs/locales/hu-HU.d.ts +1 -0
  66. package/2x/cjs/locales/id-ID.d.ts +1 -0
  67. package/2x/cjs/locales/in-ID.d.ts +1 -0
  68. package/2x/cjs/locales/in-ID.js +1 -0
  69. package/2x/cjs/locales/it-IT.d.ts +1 -0
  70. package/2x/cjs/locales/ja-JP.d.ts +1 -0
  71. package/2x/cjs/locales/kk-KZ.d.ts +1 -0
  72. package/2x/cjs/locales/ko-KR.d.ts +1 -0
  73. package/2x/cjs/locales/ms-MY.d.ts +1 -0
  74. package/2x/cjs/locales/ms-MY.js +1 -0
  75. package/2x/cjs/locales/nb-NO.d.ts +1 -0
  76. package/2x/cjs/locales/nl-NL.d.ts +1 -0
  77. package/2x/cjs/locales/pt-BR.d.ts +1 -0
  78. package/2x/cjs/locales/ru-RU.d.ts +1 -0
  79. package/2x/cjs/locales/ru-RU.js +8 -2
  80. package/2x/cjs/locales/sr-RS.d.ts +1 -0
  81. package/2x/cjs/locales/sr-RS.js +1 -0
  82. package/2x/cjs/locales/th-TH.d.ts +1 -0
  83. package/2x/cjs/locales/th-TH.js +1 -0
  84. package/2x/cjs/locales/tr-TR.d.ts +1 -0
  85. package/2x/cjs/locales/vi-VN.d.ts +1 -0
  86. package/2x/cjs/locales/vi-VN.js +1 -0
  87. package/2x/cjs/locales/zh-CN.js +1 -0
  88. package/2x/cjs/locales/zh-HK.d.ts +1 -0
  89. package/2x/cjs/locales/zh-TW.d.ts +1 -0
  90. package/2x/cjs/utils/render-to-body.d.ts +1 -1
  91. package/2x/cjs/utils/render-to-body.js +2 -9
  92. package/2x/cjs/utils/render.d.ts +1 -9
  93. package/2x/cjs/utils/render.js +10 -68
  94. package/2x/cjs/utils/unstable-render.d.ts +9 -0
  95. package/2x/cjs/utils/unstable-render.js +37 -0
  96. package/2x/es/components/button/button.d.ts +2 -2
  97. package/2x/es/components/button/button.js +1 -0
  98. package/2x/es/components/calendar-picker/calendar-picker.d.ts +9 -9
  99. package/2x/es/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
  100. package/2x/es/components/calendar-picker-view/calendar-picker-view.js +21 -11
  101. package/2x/es/components/date-picker/date-picker-date-utils.d.ts +1 -1
  102. package/2x/es/components/date-picker/date-picker-date-utils.js +23 -8
  103. package/2x/es/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
  104. package/2x/es/components/date-picker/date-picker-quarter-utils.js +7 -2
  105. package/2x/es/components/date-picker/date-picker-week-utils.d.ts +3 -1
  106. package/2x/es/components/date-picker/date-picker-week-utils.js +12 -5
  107. package/2x/es/components/date-picker-view/date-picker-view.d.ts +5 -3
  108. package/2x/es/components/date-picker-view/date-picker-view.js +4 -4
  109. package/2x/es/components/date-picker-view/useRenderLabel.js +2 -2
  110. package/2x/es/components/ellipsis/useMeasure.js +7 -3
  111. package/2x/es/components/floating-panel/floating-panel.css +16 -2
  112. package/2x/es/components/floating-panel/floating-panel.d.ts +3 -1
  113. package/2x/es/components/floating-panel/floating-panel.js +31 -19
  114. package/2x/es/components/image-uploader/image-uploader.d.ts +3 -3
  115. package/2x/es/components/image-uploader/image-uploader.js +11 -11
  116. package/2x/es/components/image-viewer/image-viewer.d.ts +13 -4
  117. package/2x/es/components/image-viewer/image-viewer.js +8 -6
  118. package/2x/es/components/image-viewer/index.d.ts +4 -1
  119. package/2x/es/components/image-viewer/slide.d.ts +5 -1
  120. package/2x/es/components/image-viewer/slide.js +11 -6
  121. package/2x/es/components/image-viewer/slides.d.ts +4 -1
  122. package/2x/es/components/image-viewer/slides.js +6 -4
  123. package/2x/es/components/number-keyboard/number-keyboard.d.ts +1 -1
  124. package/2x/es/components/passcode-input/passcode-input.d.ts +7 -5
  125. package/2x/es/components/passcode-input/passcode-input.js +6 -5
  126. package/2x/es/components/popover/popover.d.ts +2 -2
  127. package/2x/es/components/popover/popover.js +10 -10
  128. package/2x/es/components/popover/wrapper.d.ts +6 -9
  129. package/2x/es/components/popover/wrapper.js +30 -5
  130. package/2x/es/components/space/space.css +4 -4
  131. package/2x/es/components/swipe-action/swipe-action.d.ts +3 -1
  132. package/2x/es/components/swipe-action/swipe-action.js +9 -7
  133. package/2x/es/components/virtual-input/virtual-input.css +3 -0
  134. package/2x/es/components/virtual-input/virtual-input.js +34 -5
  135. package/2x/es/index.d.ts +1 -0
  136. package/2x/es/index.js +3 -1
  137. package/2x/es/locales/ar-SA.d.ts +1 -0
  138. package/2x/es/locales/ar-SA.js +1 -0
  139. package/2x/es/locales/base.d.ts +1 -0
  140. package/2x/es/locales/base.js +1 -0
  141. package/2x/es/locales/cnr-ME.d.ts +1 -0
  142. package/2x/es/locales/cnr-ME.js +1 -0
  143. package/2x/es/locales/da-DK.d.ts +1 -0
  144. package/2x/es/locales/de-DE.d.ts +1 -0
  145. package/2x/es/locales/de-DE.js +1 -0
  146. package/2x/es/locales/en-US.d.ts +1 -0
  147. package/2x/es/locales/es-ES.d.ts +1 -0
  148. package/2x/es/locales/fa-IR.d.ts +1 -0
  149. package/2x/es/locales/fr-FR.d.ts +1 -0
  150. package/2x/es/locales/hr-HR.d.ts +1 -0
  151. package/2x/es/locales/hr-HR.js +1 -0
  152. package/2x/es/locales/hu-HU.d.ts +1 -0
  153. package/2x/es/locales/id-ID.d.ts +1 -0
  154. package/2x/es/locales/in-ID.d.ts +1 -0
  155. package/2x/es/locales/in-ID.js +1 -0
  156. package/2x/es/locales/it-IT.d.ts +1 -0
  157. package/2x/es/locales/ja-JP.d.ts +1 -0
  158. package/2x/es/locales/kk-KZ.d.ts +1 -0
  159. package/2x/es/locales/ko-KR.d.ts +1 -0
  160. package/2x/es/locales/ms-MY.d.ts +1 -0
  161. package/2x/es/locales/ms-MY.js +1 -0
  162. package/2x/es/locales/nb-NO.d.ts +1 -0
  163. package/2x/es/locales/nl-NL.d.ts +1 -0
  164. package/2x/es/locales/pt-BR.d.ts +1 -0
  165. package/2x/es/locales/ru-RU.d.ts +1 -0
  166. package/2x/es/locales/ru-RU.js +8 -2
  167. package/2x/es/locales/sr-RS.d.ts +1 -0
  168. package/2x/es/locales/sr-RS.js +1 -0
  169. package/2x/es/locales/th-TH.d.ts +1 -0
  170. package/2x/es/locales/th-TH.js +1 -0
  171. package/2x/es/locales/tr-TR.d.ts +1 -0
  172. package/2x/es/locales/vi-VN.d.ts +1 -0
  173. package/2x/es/locales/vi-VN.js +1 -0
  174. package/2x/es/locales/zh-CN.js +1 -0
  175. package/2x/es/locales/zh-HK.d.ts +1 -0
  176. package/2x/es/locales/zh-TW.d.ts +1 -0
  177. package/2x/es/utils/render-to-body.d.ts +1 -1
  178. package/2x/es/utils/render-to-body.js +2 -9
  179. package/2x/es/utils/render.d.ts +1 -9
  180. package/2x/es/utils/render.js +1 -65
  181. package/2x/es/utils/unstable-render.d.ts +9 -0
  182. package/2x/es/utils/unstable-render.js +28 -0
  183. package/2x/package.json +2 -2
  184. package/README.md +8 -1
  185. package/bundle/antd-mobile.cjs.development.js +2518 -1737
  186. package/bundle/antd-mobile.cjs.js +7 -7
  187. package/bundle/antd-mobile.compatible.umd.js +1 -1
  188. package/bundle/antd-mobile.es.development.js +1564 -783
  189. package/bundle/antd-mobile.es.js +7316 -6670
  190. package/bundle/antd-mobile.umd.development.js +2517 -1736
  191. package/bundle/antd-mobile.umd.js +7 -7
  192. package/bundle/style.css +1 -1
  193. package/cjs/components/button/button.d.ts +2 -2
  194. package/cjs/components/button/button.js +1 -0
  195. package/cjs/components/calendar-picker/calendar-picker.d.ts +9 -9
  196. package/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
  197. package/cjs/components/calendar-picker-view/calendar-picker-view.js +21 -11
  198. package/cjs/components/date-picker/date-picker-date-utils.d.ts +1 -1
  199. package/cjs/components/date-picker/date-picker-date-utils.js +23 -8
  200. package/cjs/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
  201. package/cjs/components/date-picker/date-picker-quarter-utils.js +7 -2
  202. package/cjs/components/date-picker/date-picker-week-utils.d.ts +3 -1
  203. package/cjs/components/date-picker/date-picker-week-utils.js +12 -5
  204. package/cjs/components/date-picker-view/date-picker-view.d.ts +5 -3
  205. package/cjs/components/date-picker-view/date-picker-view.js +3 -3
  206. package/cjs/components/date-picker-view/useRenderLabel.js +2 -2
  207. package/cjs/components/ellipsis/useMeasure.js +7 -3
  208. package/cjs/components/floating-panel/floating-panel.css +12 -2
  209. package/cjs/components/floating-panel/floating-panel.d.ts +3 -1
  210. package/cjs/components/floating-panel/floating-panel.js +43 -30
  211. package/cjs/components/image-uploader/image-uploader.d.ts +3 -3
  212. package/cjs/components/image-uploader/image-uploader.js +11 -11
  213. package/cjs/components/image-viewer/image-viewer.d.ts +13 -4
  214. package/cjs/components/image-viewer/image-viewer.js +8 -6
  215. package/cjs/components/image-viewer/index.d.ts +4 -1
  216. package/cjs/components/image-viewer/slide.d.ts +5 -1
  217. package/cjs/components/image-viewer/slide.js +10 -5
  218. package/cjs/components/image-viewer/slides.d.ts +4 -1
  219. package/cjs/components/image-viewer/slides.js +14 -12
  220. package/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
  221. package/cjs/components/passcode-input/passcode-input.d.ts +7 -5
  222. package/cjs/components/passcode-input/passcode-input.js +7 -6
  223. package/cjs/components/popover/popover.d.ts +2 -2
  224. package/cjs/components/popover/popover.js +11 -11
  225. package/cjs/components/popover/wrapper.d.ts +6 -9
  226. package/cjs/components/popover/wrapper.js +32 -6
  227. package/cjs/components/space/space.css +3 -3
  228. package/cjs/components/swipe-action/swipe-action.d.ts +3 -1
  229. package/cjs/components/swipe-action/swipe-action.js +25 -23
  230. package/cjs/components/virtual-input/virtual-input.css +3 -0
  231. package/cjs/components/virtual-input/virtual-input.js +34 -5
  232. package/cjs/index.d.ts +1 -0
  233. package/cjs/index.js +7 -0
  234. package/cjs/locales/ar-SA.d.ts +1 -0
  235. package/cjs/locales/ar-SA.js +1 -0
  236. package/cjs/locales/base.d.ts +1 -0
  237. package/cjs/locales/base.js +1 -0
  238. package/cjs/locales/cnr-ME.d.ts +1 -0
  239. package/cjs/locales/cnr-ME.js +1 -0
  240. package/cjs/locales/da-DK.d.ts +1 -0
  241. package/cjs/locales/de-DE.d.ts +1 -0
  242. package/cjs/locales/de-DE.js +1 -0
  243. package/cjs/locales/en-US.d.ts +1 -0
  244. package/cjs/locales/es-ES.d.ts +1 -0
  245. package/cjs/locales/fa-IR.d.ts +1 -0
  246. package/cjs/locales/fr-FR.d.ts +1 -0
  247. package/cjs/locales/hr-HR.d.ts +1 -0
  248. package/cjs/locales/hr-HR.js +1 -0
  249. package/cjs/locales/hu-HU.d.ts +1 -0
  250. package/cjs/locales/id-ID.d.ts +1 -0
  251. package/cjs/locales/in-ID.d.ts +1 -0
  252. package/cjs/locales/in-ID.js +1 -0
  253. package/cjs/locales/it-IT.d.ts +1 -0
  254. package/cjs/locales/ja-JP.d.ts +1 -0
  255. package/cjs/locales/kk-KZ.d.ts +1 -0
  256. package/cjs/locales/ko-KR.d.ts +1 -0
  257. package/cjs/locales/ms-MY.d.ts +1 -0
  258. package/cjs/locales/ms-MY.js +1 -0
  259. package/cjs/locales/nb-NO.d.ts +1 -0
  260. package/cjs/locales/nl-NL.d.ts +1 -0
  261. package/cjs/locales/pt-BR.d.ts +1 -0
  262. package/cjs/locales/ru-RU.d.ts +1 -0
  263. package/cjs/locales/ru-RU.js +8 -2
  264. package/cjs/locales/sr-RS.d.ts +1 -0
  265. package/cjs/locales/sr-RS.js +1 -0
  266. package/cjs/locales/th-TH.d.ts +1 -0
  267. package/cjs/locales/th-TH.js +1 -0
  268. package/cjs/locales/tr-TR.d.ts +1 -0
  269. package/cjs/locales/vi-VN.d.ts +1 -0
  270. package/cjs/locales/vi-VN.js +1 -0
  271. package/cjs/locales/zh-CN.js +1 -0
  272. package/cjs/locales/zh-HK.d.ts +1 -0
  273. package/cjs/locales/zh-TW.d.ts +1 -0
  274. package/cjs/utils/render-to-body.d.ts +1 -1
  275. package/cjs/utils/render-to-body.js +2 -9
  276. package/cjs/utils/render.d.ts +1 -9
  277. package/cjs/utils/render.js +10 -68
  278. package/cjs/utils/unstable-render.d.ts +9 -0
  279. package/cjs/utils/unstable-render.js +37 -0
  280. package/es/components/button/button.d.ts +2 -2
  281. package/es/components/button/button.js +1 -0
  282. package/es/components/calendar-picker/calendar-picker.d.ts +9 -9
  283. package/es/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
  284. package/es/components/calendar-picker-view/calendar-picker-view.js +21 -11
  285. package/es/components/date-picker/date-picker-date-utils.d.ts +1 -1
  286. package/es/components/date-picker/date-picker-date-utils.js +23 -8
  287. package/es/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
  288. package/es/components/date-picker/date-picker-quarter-utils.js +7 -2
  289. package/es/components/date-picker/date-picker-week-utils.d.ts +3 -1
  290. package/es/components/date-picker/date-picker-week-utils.js +12 -5
  291. package/es/components/date-picker-view/date-picker-view.d.ts +5 -3
  292. package/es/components/date-picker-view/date-picker-view.js +4 -4
  293. package/es/components/date-picker-view/useRenderLabel.js +2 -2
  294. package/es/components/ellipsis/useMeasure.js +7 -3
  295. package/es/components/floating-panel/floating-panel.css +12 -2
  296. package/es/components/floating-panel/floating-panel.d.ts +3 -1
  297. package/es/components/floating-panel/floating-panel.js +31 -19
  298. package/es/components/image-uploader/image-uploader.d.ts +3 -3
  299. package/es/components/image-uploader/image-uploader.js +11 -11
  300. package/es/components/image-viewer/image-viewer.d.ts +13 -4
  301. package/es/components/image-viewer/image-viewer.js +8 -6
  302. package/es/components/image-viewer/index.d.ts +4 -1
  303. package/es/components/image-viewer/slide.d.ts +5 -1
  304. package/es/components/image-viewer/slide.js +11 -6
  305. package/es/components/image-viewer/slides.d.ts +4 -1
  306. package/es/components/image-viewer/slides.js +6 -4
  307. package/es/components/number-keyboard/number-keyboard.d.ts +1 -1
  308. package/es/components/passcode-input/passcode-input.d.ts +7 -5
  309. package/es/components/passcode-input/passcode-input.js +6 -5
  310. package/es/components/popover/popover.d.ts +2 -2
  311. package/es/components/popover/popover.js +10 -10
  312. package/es/components/popover/wrapper.d.ts +6 -9
  313. package/es/components/popover/wrapper.js +30 -5
  314. package/es/components/space/space.css +3 -3
  315. package/es/components/swipe-action/swipe-action.d.ts +3 -1
  316. package/es/components/swipe-action/swipe-action.js +9 -7
  317. package/es/components/virtual-input/virtual-input.css +3 -0
  318. package/es/components/virtual-input/virtual-input.js +34 -5
  319. package/es/index.d.ts +1 -0
  320. package/es/index.js +3 -1
  321. package/es/locales/ar-SA.d.ts +1 -0
  322. package/es/locales/ar-SA.js +1 -0
  323. package/es/locales/base.d.ts +1 -0
  324. package/es/locales/base.js +1 -0
  325. package/es/locales/cnr-ME.d.ts +1 -0
  326. package/es/locales/cnr-ME.js +1 -0
  327. package/es/locales/da-DK.d.ts +1 -0
  328. package/es/locales/de-DE.d.ts +1 -0
  329. package/es/locales/de-DE.js +1 -0
  330. package/es/locales/en-US.d.ts +1 -0
  331. package/es/locales/es-ES.d.ts +1 -0
  332. package/es/locales/fa-IR.d.ts +1 -0
  333. package/es/locales/fr-FR.d.ts +1 -0
  334. package/es/locales/hr-HR.d.ts +1 -0
  335. package/es/locales/hr-HR.js +1 -0
  336. package/es/locales/hu-HU.d.ts +1 -0
  337. package/es/locales/id-ID.d.ts +1 -0
  338. package/es/locales/in-ID.d.ts +1 -0
  339. package/es/locales/in-ID.js +1 -0
  340. package/es/locales/it-IT.d.ts +1 -0
  341. package/es/locales/ja-JP.d.ts +1 -0
  342. package/es/locales/kk-KZ.d.ts +1 -0
  343. package/es/locales/ko-KR.d.ts +1 -0
  344. package/es/locales/ms-MY.d.ts +1 -0
  345. package/es/locales/ms-MY.js +1 -0
  346. package/es/locales/nb-NO.d.ts +1 -0
  347. package/es/locales/nl-NL.d.ts +1 -0
  348. package/es/locales/pt-BR.d.ts +1 -0
  349. package/es/locales/ru-RU.d.ts +1 -0
  350. package/es/locales/ru-RU.js +8 -2
  351. package/es/locales/sr-RS.d.ts +1 -0
  352. package/es/locales/sr-RS.js +1 -0
  353. package/es/locales/th-TH.d.ts +1 -0
  354. package/es/locales/th-TH.js +1 -0
  355. package/es/locales/tr-TR.d.ts +1 -0
  356. package/es/locales/vi-VN.d.ts +1 -0
  357. package/es/locales/vi-VN.js +1 -0
  358. package/es/locales/zh-CN.js +1 -0
  359. package/es/locales/zh-HK.d.ts +1 -0
  360. package/es/locales/zh-TW.d.ts +1 -0
  361. package/es/utils/render-to-body.d.ts +1 -1
  362. package/es/utils/render-to-body.js +2 -9
  363. package/es/utils/render.d.ts +1 -9
  364. package/es/utils/render.js +1 -65
  365. package/es/utils/unstable-render.d.ts +9 -0
  366. package/es/utils/unstable-render.js +28 -0
  367. package/package.json +2 -2
  368. package/umd/antd-mobile.js +1 -1
@@ -1,18 +1,18 @@
1
1
  import { __awaiter } from "tslib";
2
- import React, { forwardRef, useImperativeHandle, useRef, useState, useEffect } from 'react';
2
+ import { arrow, autoUpdate, computePosition, flip, hide, limitShift, offset, shift } from '@floating-ui/dom';
3
+ import { useClickAway, useIsomorphicLayoutEffect } from 'ahooks';
3
4
  import classNames from 'classnames';
5
+ import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';
6
+ import { convertPx } from '../../utils/convert-px';
7
+ import { withNativeProps } from '../../utils/native-props';
8
+ import { renderToContainer } from '../../utils/render-to-container';
9
+ import { useShouldRender } from '../../utils/should-render';
4
10
  import { usePropsValue } from '../../utils/use-props-value';
5
11
  import { mergeProps } from '../../utils/with-default-props';
6
- import { withNativeProps } from '../../utils/native-props';
7
12
  import { withStopPropagation } from '../../utils/with-stop-propagation';
8
13
  import { Arrow } from './arrow';
9
- import { renderToContainer } from '../../utils/render-to-container';
10
- import { arrow, computePosition, flip, offset, autoUpdate, hide, shift, limitShift } from '@floating-ui/dom';
11
- import { Wrapper } from './wrapper';
12
- import { useShouldRender } from '../../utils/should-render';
13
- import { useClickAway, useIsomorphicLayoutEffect } from 'ahooks';
14
14
  import { normalizePlacement } from './normalize-placement';
15
- import { convertPx } from '../../utils/convert-px';
15
+ import { Wrapper } from './wrapper';
16
16
  const classPrefix = `adm-popover`;
17
17
  const defaultProps = {
18
18
  placement: 'top',
@@ -124,11 +124,11 @@ export const Popover = forwardRef((p, ref) => {
124
124
  }, [targetElement, props.trigger]);
125
125
  useEffect(() => {
126
126
  const floatingElement = floatingRef.current;
127
- if (!targetElement || !floatingElement) return;
127
+ if (!targetElement || !floatingElement || !visible) return;
128
128
  return autoUpdate(targetElement, floatingElement, update, {
129
129
  elementResize: typeof ResizeObserver !== 'undefined'
130
130
  });
131
- }, [targetElement]);
131
+ }, [targetElement, visible]);
132
132
  useClickAway(() => {
133
133
  if (!props.trigger) return;
134
134
  setVisible(false);
@@ -1,10 +1,7 @@
1
- import React from 'react';
2
- import type { ReactNode } from 'react';
3
- export declare class Wrapper extends React.Component<{
4
- children?: ReactNode;
5
- }, {}> {
6
- element: Element | null;
7
- componentDidMount(): void;
8
- componentDidUpdate(): void;
9
- render(): React.ReactNode;
1
+ import * as React from 'react';
2
+ export interface WrapperRef {
3
+ element: HTMLElement;
10
4
  }
5
+ export declare const Wrapper: React.ForwardRefExoticComponent<{
6
+ children?: React.ReactNode;
7
+ } & React.RefAttributes<WrapperRef>>;
@@ -1,6 +1,7 @@
1
- import React from 'react';
2
- import { findDOMNode } from 'react-dom';
3
- export class Wrapper extends React.Component {
1
+ import findDOMNode, { getDOM } from 'rc-util/lib/Dom/findDOMNode';
2
+ import { composeRef, getNodeRef, supportRef } from 'rc-util/lib/ref';
3
+ import * as React from 'react';
4
+ class LegacyWrapper extends React.Component {
4
5
  constructor() {
5
6
  super(...arguments);
6
7
  this.element = null;
@@ -18,6 +19,30 @@ export class Wrapper extends React.Component {
18
19
  }
19
20
  }
20
21
  render() {
21
- return React.Children.only(this.props.children);
22
+ return this.props.children;
22
23
  }
23
- }
24
+ }
25
+ export const Wrapper = React.forwardRef(({
26
+ children
27
+ }, ref) => {
28
+ const elementRef = React.useRef(null);
29
+ const legacyWrapperRef = React.createRef();
30
+ const child = React.Children.only(children);
31
+ const canUseRef = supportRef(children);
32
+ const getElement = () => {
33
+ var _a;
34
+ if (canUseRef) {
35
+ return getDOM(elementRef.current);
36
+ }
37
+ return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
38
+ };
39
+ React.useImperativeHandle(ref, () => ({
40
+ element: getElement()
41
+ }));
42
+ const composedRef = composeRef(elementRef, getNodeRef(child));
43
+ return canUseRef ? React.cloneElement(child, {
44
+ ref: composedRef
45
+ }) : React.createElement(LegacyWrapper, {
46
+ ref: legacyWrapperRef
47
+ }, child);
48
+ });
@@ -25,12 +25,12 @@
25
25
  flex-direction: row;
26
26
  }
27
27
 
28
- .adm-space-horizontal > .adm-space-item {
29
- margin-right: var(--gap-horizontal);
28
+ .adm-space-horizontal:not(:empty) {
29
+ margin-right: calc(var(--gap-horizontal) * -1);
30
30
  }
31
31
 
32
- .adm-space-horizontal > .adm-space-item:last-child {
33
- margin-right: 0;
32
+ .adm-space-horizontal > .adm-space-item {
33
+ margin-right: var(--gap-horizontal);
34
34
  }
35
35
 
36
36
  .adm-space-horizontal.adm-space-wrap {
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import type { ReactNode } from 'react';
2
+ import React from 'react';
3
3
  import { NativeProps } from '../../utils/native-props';
4
4
  import { PropagationEvent } from '../../utils/with-stop-propagation';
5
5
  declare type SideType = 'left' | 'right';
@@ -23,6 +23,7 @@ export declare type SwipeActionProps = {
23
23
  children: ReactNode;
24
24
  stopPropagation?: PropagationEvent[];
25
25
  onActionsReveal?: (side: SideType) => void;
26
+ onClose?: () => void;
26
27
  } & NativeProps<'--background'>;
27
28
  export declare const SwipeAction: React.ForwardRefExoticComponent<{
28
29
  rightActions?: Action[] | undefined;
@@ -33,6 +34,7 @@ export declare const SwipeAction: React.ForwardRefExoticComponent<{
33
34
  children: ReactNode;
34
35
  stopPropagation?: PropagationEvent[] | undefined;
35
36
  onActionsReveal?: ((side: SideType) => void) | undefined;
37
+ onClose?: (() => void) | undefined;
36
38
  } & {
37
39
  className?: string | undefined;
38
40
  style?: (React.CSSProperties & Partial<Record<"--background", string>>) | undefined;
@@ -1,11 +1,11 @@
1
- import React, { forwardRef, useEffect, useImperativeHandle, useRef } from 'react';
2
- import { mergeProps } from '../../utils/with-default-props';
3
- import { useSpring, animated } from '@react-spring/web';
1
+ import { animated, useSpring } from '@react-spring/web';
4
2
  import { useDrag } from '@use-gesture/react';
5
- import Button from '../button';
6
- import { nearest } from '../../utils/nearest';
3
+ import React, { forwardRef, useEffect, useImperativeHandle, useRef } from 'react';
7
4
  import { withNativeProps } from '../../utils/native-props';
5
+ import { nearest } from '../../utils/nearest';
6
+ import { mergeProps } from '../../utils/with-default-props';
8
7
  import { withStopPropagation } from '../../utils/with-stop-propagation';
8
+ import Button from '../button';
9
9
  const classPrefix = `adm-swipe-action`;
10
10
  const defaultProps = {
11
11
  rightActions: [],
@@ -99,12 +99,14 @@ export const SwipeAction = forwardRef((p, ref) => {
99
99
  },
100
100
  triggerAllEvents: true
101
101
  });
102
- function close() {
102
+ const close = () => {
103
+ var _a;
103
104
  api.start({
104
105
  x: 0
105
106
  });
106
107
  forceCancelDrag();
107
- }
108
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
109
+ };
108
110
  useImperativeHandle(ref, () => ({
109
111
  show: (side = 'right') => {
110
112
  var _a;
@@ -28,8 +28,10 @@
28
28
  z-index: 1;
29
29
  width: 100%;
30
30
  max-width: 100%;
31
+ min-height: 1.5em;
31
32
  overflow-y: hidden;
32
33
  overflow-x: scroll;
34
+ letter-spacing: 2px;
33
35
  scrollbar-width: none;
34
36
  }
35
37
 
@@ -55,6 +57,7 @@
55
57
  height: 1.3em;
56
58
  vertical-align: top;
57
59
  margin-right: 2px;
60
+ position: absolute;
58
61
  }
59
62
 
60
63
  .adm-virtual-input-caret {
@@ -20,6 +20,7 @@ export const VirtualInput = forwardRef((props, ref) => {
20
20
  const rootRef = useRef(null);
21
21
  const contentRef = useRef(null);
22
22
  const [hasFocus, setHasFocus] = useState(false);
23
+ const [caretPosition, setCaretPosition] = useState(value.length); // 光标位置,从 0 开始,如值是 2 则表示光标在顺序下标为 2 的数字之前
23
24
  const clearIcon = mergeProp(React.createElement(CloseCircleFill, null), componentConfig.clearIcon, props.clearIcon);
24
25
  function scrollToEnd() {
25
26
  const root = rootRef.current;
@@ -63,12 +64,17 @@ export const VirtualInput = forwardRef((props, ref) => {
63
64
  const keyboardElement = keyboard && React.cloneElement(keyboard, {
64
65
  onInput: v => {
65
66
  var _a, _b;
66
- setValue(value + v);
67
+ const newValue = value.substring(0, caretPosition) + v + value.substring(caretPosition);
68
+ setValue(newValue);
69
+ setCaretPosition(c => c + 1);
67
70
  (_b = (_a = keyboard.props).onInput) === null || _b === void 0 ? void 0 : _b.call(_a, v);
68
71
  },
69
72
  onDelete: () => {
70
73
  var _a, _b;
71
- setValue(value.slice(0, -1));
74
+ if (caretPosition === 0) return;
75
+ const newValue = value.substring(0, caretPosition - 1) + value.substring(caretPosition);
76
+ setValue(newValue);
77
+ setCaretPosition(caretPosition - 1);
72
78
  (_b = (_a = keyboard.props).onDelete) === null || _b === void 0 ? void 0 : _b.call(_a);
73
79
  },
74
80
  visible: hasFocus,
@@ -86,6 +92,21 @@ export const VirtualInput = forwardRef((props, ref) => {
86
92
  },
87
93
  getContainer: null
88
94
  });
95
+ // 点击输入框时,将光标置于最后
96
+ const setCaretPositionToEnd = () => {
97
+ setCaretPosition(value.length);
98
+ };
99
+ // 点击单个字符时,根据点击位置置于字符前或后
100
+ const changeCaretPosition = index => e => {
101
+ e.stopPropagation();
102
+ const rect = e.target.getBoundingClientRect();
103
+ const midX = rect.left + rect.width / 2;
104
+ const clickX = e.clientX;
105
+ // 点击区域是否偏右
106
+ const isRight = clickX > midX;
107
+ setCaretPosition(isRight ? index + 1 : index);
108
+ };
109
+ const chars = (value + '').split('');
89
110
  return withNativeProps(mergedProps, React.createElement("div", {
90
111
  ref: rootRef,
91
112
  className: classNames(classPrefix, {
@@ -100,17 +121,25 @@ export const VirtualInput = forwardRef((props, ref) => {
100
121
  className: `${classPrefix}-content`,
101
122
  ref: contentRef,
102
123
  "aria-disabled": mergedProps.disabled,
103
- "aria-label": mergedProps.placeholder
104
- }, value, React.createElement("div", {
124
+ "aria-label": mergedProps.placeholder,
125
+ onClick: setCaretPositionToEnd
126
+ }, chars.slice(0, caretPosition).map((i, index) => React.createElement("span", {
127
+ key: index,
128
+ onClick: changeCaretPosition(index)
129
+ }, i)), React.createElement("div", {
105
130
  className: `${classPrefix}-caret-container`
106
131
  }, hasFocus && React.createElement("div", {
107
132
  className: `${classPrefix}-caret`
108
- }))), mergedProps.clearable && !!value && hasFocus && React.createElement("div", {
133
+ })), chars.slice(caretPosition).map((i, index) => React.createElement("span", {
134
+ key: index,
135
+ onClick: changeCaretPosition(index + caretPosition)
136
+ }, i))), mergedProps.clearable && !!value && hasFocus && React.createElement("div", {
109
137
  className: `${classPrefix}-clear`,
110
138
  onClick: e => {
111
139
  var _a;
112
140
  e.stopPropagation();
113
141
  setValue('');
142
+ setCaretPosition(0);
114
143
  (_a = mergedProps.onClear) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
115
144
  },
116
145
  role: 'button',
package/2x/es/index.d.ts CHANGED
@@ -168,3 +168,4 @@ export { default as Footer } from './components/footer';
168
168
  export type { FooterProps } from './components/footer';
169
169
  export { createErrorBlock } from './components/error-block';
170
170
  export { reduceMotion, restoreMotion } from './utils/reduce-and-restore-motion';
171
+ export { unstableSetRender } from './utils/unstable-render';
package/2x/es/index.js CHANGED
@@ -84,4 +84,6 @@ export { default as VirtualInput } from './components/virtual-input';
84
84
  export { default as WaterMark } from './components/water-mark';
85
85
  export { default as Footer } from './components/footer';
86
86
  export { createErrorBlock } from './components/error-block';
87
- export { reduceMotion, restoreMotion } from './utils/reduce-and-restore-motion';
87
+ export { reduceMotion, restoreMotion } from './utils/reduce-and-restore-motion';
88
+ // compatible
89
+ export { unstableSetRender } from './utils/unstable-render';
@@ -11,6 +11,7 @@ declare const arSA: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const arSA = mergeLocale(base, {
14
14
  'confirm': 'تأكيد',
15
15
  'start': 'يبدأ',
16
16
  'end': 'ينهي',
17
+ 'startAndEnd': 'يبدأ/ينهي',
17
18
  'today': 'اليوم',
18
19
  'markItems': ['واحد', 'اثنين', 'ثلاثة', 'أربعة', 'خمسة', 'ستة', 'يوم'],
19
20
  'yearAndMonth': '${year} سنة ${month} شهر'
@@ -11,6 +11,7 @@ export declare const base: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -12,6 +12,7 @@ export const base = {
12
12
  confirm: 'Confirm',
13
13
  start: 'start',
14
14
  end: 'end',
15
+ startAndEnd: 'start/end',
15
16
  today: 'today',
16
17
  markItems: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
17
18
  yearAndMonth: '${year}/${month}'
@@ -11,6 +11,7 @@ declare const cnrME: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const cnrME = mergeLocale(base, {
14
14
  confirm: 'Potvrdi',
15
15
  start: 'početak',
16
16
  end: 'kraj',
17
+ startAndEnd: 'početak/kraj',
17
18
  today: 'danas',
18
19
  markItems: ['Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub', 'Ned'],
19
20
  yearAndMonth: '${year}/${month}'
@@ -11,6 +11,7 @@ declare const daDK: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const deDE: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const deDE = mergeLocale(base, {
14
14
  'confirm': 'Bestätigen',
15
15
  'start': 'Starten',
16
16
  'end': 'Beenden',
17
+ 'startAndEnd': 'Starten/Beenden',
17
18
  'today': 'Heute',
18
19
  'markItems': ['I', 'II', 'III', 'IV', 'V', 'Sechs', 'Tag'],
19
20
  'yearAndMonth': '${year}Jahr${month}Monat'
@@ -11,6 +11,7 @@ declare const enUS: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const esES: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const faIR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const frFR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const hrHR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const hrHR = mergeLocale(base, {
14
14
  confirm: 'Potvrdi',
15
15
  start: 'početak',
16
16
  end: 'kraj',
17
+ startAndEnd: 'početak/kraj',
17
18
  today: 'danas',
18
19
  markItems: ['Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub', 'Ned'],
19
20
  yearAndMonth: '${year}/${month}'
@@ -11,6 +11,7 @@ export declare const huHU: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const idID: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const inID: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const inID = mergeLocale(base, {
14
14
  confirm: 'OK',
15
15
  start: 'Mulai',
16
16
  end: 'Selesai',
17
+ startAndEnd: 'Mulai/Selesai',
17
18
  today: 'Hari Ini',
18
19
  markItems: ['Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu', 'Minggu'],
19
20
  yearAndMonth: '${year} Tahun ${month} Bulan'
@@ -11,6 +11,7 @@ declare const itIT: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const jaJP: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const kkKZ: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const koKR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const msMY: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const msMY = mergeLocale(base, {
14
14
  'confirm': 'Ok',
15
15
  'start': 'Mula',
16
16
  'end': 'Tamat',
17
+ 'startAndEnd': 'Mula/Tamat',
17
18
  'today': 'Hari ini',
18
19
  'markItems': ['Satu', 'Dua', 'Tiga', 'Empat', 'Lima', 'Enam', 'Hari'],
19
20
  'yearAndMonth': 'Tahun${year} bulan ${month}'
@@ -11,6 +11,7 @@ declare const nbNO: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const nlNL: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const ptBR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const ruRU: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -10,6 +10,12 @@ const ruRU = mergeLocale(base, {
10
10
  close: 'Закрыть'
11
11
  },
12
12
  Calendar: {
13
+ title: 'Выбор даты',
14
+ confirm: 'Подтвердить',
15
+ start: 'начало',
16
+ end: 'конец',
17
+ startAndEnd: 'начало/конец',
18
+ today: 'сегодня',
13
19
  markItems: ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'],
14
20
  yearAndMonth: '${year}/${month}'
15
21
  },
@@ -113,9 +119,9 @@ const ruRU = mergeLocale(base, {
113
119
  name: 'Ввод пароля'
114
120
  },
115
121
  PullToRefresh: {
116
- pulling: 'Прокрутите вниз, чтобы обновления',
122
+ pulling: 'Прокрутите вниз, чтобы обновить',
117
123
  canRelease: 'Отпустите, чтобы немедленно обновить',
118
- complete: 'Обновление успешно'
124
+ complete: 'Обновлено успешно'
119
125
  },
120
126
  SearchBar: {
121
127
  name: 'Панель поиска'
@@ -11,6 +11,7 @@ declare const srRS: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const srRS = mergeLocale(base, {
14
14
  confirm: 'Потврди',
15
15
  start: 'почетак',
16
16
  end: 'крај',
17
+ startAndEnd: 'почетак/крај',
17
18
  today: 'данас',
18
19
  markItems: ['Пон', 'Уто', 'Сре', 'Чет', 'Пет', 'Суб', 'Нед'],
19
20
  yearAndMonth: '${year}/${month}'
@@ -11,6 +11,7 @@ declare const thTH: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -14,6 +14,7 @@ const thTH = mergeLocale(base, {
14
14
  confirm: 'ยืนยัน',
15
15
  start: 'เริ่ม',
16
16
  end: 'เสร็จ',
17
+ startAndEnd: 'เริ่ม/เสร็จ',
17
18
  today: 'วันนี้',
18
19
  markItems: ['วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์', 'วันอาทิตย์'],
19
20
  yearAndMonth: '${year}/${month}'
@@ -11,6 +11,7 @@ declare const trTR: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;
@@ -11,6 +11,7 @@ declare const viVN: {
11
11
  confirm: string;
12
12
  start: string;
13
13
  end: string;
14
+ startAndEnd: string;
14
15
  today: string;
15
16
  markItems: string[];
16
17
  yearAndMonth: string;