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
@@ -4,10 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Wrapper = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactDom = require("react-dom");
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
- class Wrapper extends _react.default.Component {
7
+ var _findDOMNode = _interopRequireWildcard(require("rc-util/lib/Dom/findDOMNode"));
8
+ var _ref = require("rc-util/lib/ref");
9
+ var React = _interopRequireWildcard(require("react"));
10
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ class LegacyWrapper extends React.Component {
11
13
  constructor() {
12
14
  super(...arguments);
13
15
  this.element = null;
@@ -17,7 +19,7 @@ class Wrapper extends _react.default.Component {
17
19
  }
18
20
  componentDidUpdate() {
19
21
  // eslint-disable-next-line
20
- const node = (0, _reactDom.findDOMNode)(this);
22
+ const node = (0, _findDOMNode.default)(this);
21
23
  if (node instanceof Element) {
22
24
  this.element = node;
23
25
  } else {
@@ -25,7 +27,31 @@ class Wrapper extends _react.default.Component {
25
27
  }
26
28
  }
27
29
  render() {
28
- return _react.default.Children.only(this.props.children);
30
+ return this.props.children;
29
31
  }
30
32
  }
33
+ const Wrapper = React.forwardRef(({
34
+ children
35
+ }, ref) => {
36
+ const elementRef = React.useRef(null);
37
+ const legacyWrapperRef = React.createRef();
38
+ const child = React.Children.only(children);
39
+ const canUseRef = (0, _ref.supportRef)(children);
40
+ const getElement = () => {
41
+ var _a;
42
+ if (canUseRef) {
43
+ return (0, _findDOMNode.getDOM)(elementRef.current);
44
+ }
45
+ return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
46
+ };
47
+ React.useImperativeHandle(ref, () => ({
48
+ element: getElement()
49
+ }));
50
+ const composedRef = (0, _ref.composeRef)(elementRef, (0, _ref.getNodeRef)(child));
51
+ return canUseRef ? React.cloneElement(child, {
52
+ ref: composedRef
53
+ }) : React.createElement(LegacyWrapper, {
54
+ ref: legacyWrapperRef
55
+ }, child);
56
+ });
31
57
  exports.Wrapper = Wrapper;
@@ -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;
@@ -4,14 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SwipeAction = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _withDefaultProps = require("../../utils/with-default-props");
9
7
  var _web = require("@react-spring/web");
10
- var _react2 = require("@use-gesture/react");
11
- var _button = _interopRequireDefault(require("../button"));
12
- var _nearest = require("../../utils/nearest");
8
+ var _react = require("@use-gesture/react");
9
+ var _react2 = _interopRequireWildcard(require("react"));
13
10
  var _nativeProps = require("../../utils/native-props");
11
+ var _nearest = require("../../utils/nearest");
12
+ var _withDefaultProps = require("../../utils/with-default-props");
14
13
  var _withStopPropagation = require("../../utils/with-stop-propagation");
14
+ var _button = _interopRequireDefault(require("../button"));
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -23,11 +23,11 @@ const defaultProps = {
23
23
  closeOnAction: true,
24
24
  stopPropagation: []
25
25
  };
26
- const SwipeAction = (0, _react.forwardRef)((p, ref) => {
26
+ const SwipeAction = (0, _react2.forwardRef)((p, ref) => {
27
27
  const props = (0, _withDefaultProps.mergeProps)(defaultProps, p);
28
- const rootRef = (0, _react.useRef)(null);
29
- const leftRef = (0, _react.useRef)(null);
30
- const rightRef = (0, _react.useRef)(null);
28
+ const rootRef = (0, _react2.useRef)(null);
29
+ const leftRef = (0, _react2.useRef)(null);
30
+ const rightRef = (0, _react2.useRef)(null);
31
31
  function getWidth(ref) {
32
32
  const element = ref.current;
33
33
  if (!element) return 0;
@@ -48,14 +48,14 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
48
48
  friction: 30
49
49
  }
50
50
  }), []);
51
- const draggingRef = (0, _react.useRef)(false);
52
- const dragCancelRef = (0, _react.useRef)(null);
51
+ const draggingRef = (0, _react2.useRef)(false);
52
+ const dragCancelRef = (0, _react2.useRef)(null);
53
53
  function forceCancelDrag() {
54
54
  var _a;
55
55
  (_a = dragCancelRef.current) === null || _a === void 0 ? void 0 : _a.call(dragCancelRef);
56
56
  draggingRef.current = false;
57
57
  }
58
- const bind = (0, _react2.useDrag)(state => {
58
+ const bind = (0, _react.useDrag)(state => {
59
59
  var _a;
60
60
  dragCancelRef.current = state.cancel;
61
61
  if (!state.intentional) return;
@@ -108,13 +108,15 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
108
108
  },
109
109
  triggerAllEvents: true
110
110
  });
111
- function close() {
111
+ const close = () => {
112
+ var _a;
112
113
  api.start({
113
114
  x: 0
114
115
  });
115
116
  forceCancelDrag();
116
- }
117
- (0, _react.useImperativeHandle)(ref, () => ({
117
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
118
+ };
119
+ (0, _react2.useImperativeHandle)(ref, () => ({
118
120
  show: (side = 'right') => {
119
121
  var _a;
120
122
  if (side === 'right') {
@@ -130,7 +132,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
130
132
  },
131
133
  close
132
134
  }));
133
- (0, _react.useEffect)(() => {
135
+ (0, _react2.useEffect)(() => {
134
136
  if (!props.closeOnTouchOutside) return;
135
137
  function handle(e) {
136
138
  if (x.get() === 0) {
@@ -149,7 +151,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
149
151
  function renderAction(action) {
150
152
  var _a, _b;
151
153
  const color = (_a = action.color) !== null && _a !== void 0 ? _a : 'light';
152
- return _react.default.createElement(_button.default, {
154
+ return _react2.default.createElement(_button.default, {
153
155
  key: action.key,
154
156
  className: `${classPrefix}-action-button`,
155
157
  style: {
@@ -165,7 +167,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
165
167
  }
166
168
  }, action.text);
167
169
  }
168
- return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", Object.assign({
170
+ return (0, _nativeProps.withNativeProps)(props, _react2.default.createElement("div", Object.assign({
169
171
  className: classPrefix
170
172
  }, bind(), {
171
173
  ref: rootRef,
@@ -175,15 +177,15 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
175
177
  e.preventDefault();
176
178
  }
177
179
  }
178
- }), _react.default.createElement(_web.animated.div, {
180
+ }), _react2.default.createElement(_web.animated.div, {
179
181
  className: `${classPrefix}-track`,
180
182
  style: {
181
183
  x
182
184
  }
183
- }, (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react.default.createElement("div", {
185
+ }, (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react2.default.createElement("div", {
184
186
  className: `${classPrefix}-actions ${classPrefix}-actions-left`,
185
187
  ref: leftRef
186
- }, props.leftActions.map(renderAction))), _react.default.createElement("div", {
188
+ }, props.leftActions.map(renderAction))), _react2.default.createElement("div", {
187
189
  className: `${classPrefix}-content`,
188
190
  onClickCapture: e => {
189
191
  if (x.goal !== 0) {
@@ -192,11 +194,11 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
192
194
  close();
193
195
  }
194
196
  }
195
- }, _react.default.createElement(_web.animated.div, {
197
+ }, _react2.default.createElement(_web.animated.div, {
196
198
  style: {
197
199
  pointerEvents: x.to(v => v !== 0 && x.goal !== 0 ? 'none' : 'auto')
198
200
  }
199
- }, props.children)), (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react.default.createElement("div", {
201
+ }, props.children)), (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react2.default.createElement("div", {
200
202
  className: `${classPrefix}-actions ${classPrefix}-actions-right`,
201
203
  ref: rightRef
202
204
  }, props.rightActions.map(renderAction))))));
@@ -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 {
@@ -29,6 +29,7 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
29
29
  const rootRef = (0, _react.useRef)(null);
30
30
  const contentRef = (0, _react.useRef)(null);
31
31
  const [hasFocus, setHasFocus] = (0, _react.useState)(false);
32
+ const [caretPosition, setCaretPosition] = (0, _react.useState)(value.length); // 光标位置,从 0 开始,如值是 2 则表示光标在顺序下标为 2 的数字之前
32
33
  const clearIcon = (0, _withDefaultProps.mergeProp)(_react.default.createElement(_antdMobileIcons.CloseCircleFill, null), componentConfig.clearIcon, props.clearIcon);
33
34
  function scrollToEnd() {
34
35
  const root = rootRef.current;
@@ -72,12 +73,17 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
72
73
  const keyboardElement = keyboard && _react.default.cloneElement(keyboard, {
73
74
  onInput: v => {
74
75
  var _a, _b;
75
- setValue(value + v);
76
+ const newValue = value.substring(0, caretPosition) + v + value.substring(caretPosition);
77
+ setValue(newValue);
78
+ setCaretPosition(c => c + 1);
76
79
  (_b = (_a = keyboard.props).onInput) === null || _b === void 0 ? void 0 : _b.call(_a, v);
77
80
  },
78
81
  onDelete: () => {
79
82
  var _a, _b;
80
- setValue(value.slice(0, -1));
83
+ if (caretPosition === 0) return;
84
+ const newValue = value.substring(0, caretPosition - 1) + value.substring(caretPosition);
85
+ setValue(newValue);
86
+ setCaretPosition(caretPosition - 1);
81
87
  (_b = (_a = keyboard.props).onDelete) === null || _b === void 0 ? void 0 : _b.call(_a);
82
88
  },
83
89
  visible: hasFocus,
@@ -95,6 +101,21 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
95
101
  },
96
102
  getContainer: null
97
103
  });
104
+ // 点击输入框时,将光标置于最后
105
+ const setCaretPositionToEnd = () => {
106
+ setCaretPosition(value.length);
107
+ };
108
+ // 点击单个字符时,根据点击位置置于字符前或后
109
+ const changeCaretPosition = index => e => {
110
+ e.stopPropagation();
111
+ const rect = e.target.getBoundingClientRect();
112
+ const midX = rect.left + rect.width / 2;
113
+ const clickX = e.clientX;
114
+ // 点击区域是否偏右
115
+ const isRight = clickX > midX;
116
+ setCaretPosition(isRight ? index + 1 : index);
117
+ };
118
+ const chars = (value + '').split('');
98
119
  return (0, _nativeProps.withNativeProps)(mergedProps, _react.default.createElement("div", {
99
120
  ref: rootRef,
100
121
  className: (0, _classnames.default)(classPrefix, {
@@ -109,17 +130,25 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
109
130
  className: `${classPrefix}-content`,
110
131
  ref: contentRef,
111
132
  "aria-disabled": mergedProps.disabled,
112
- "aria-label": mergedProps.placeholder
113
- }, value, _react.default.createElement("div", {
133
+ "aria-label": mergedProps.placeholder,
134
+ onClick: setCaretPositionToEnd
135
+ }, chars.slice(0, caretPosition).map((i, index) => _react.default.createElement("span", {
136
+ key: index,
137
+ onClick: changeCaretPosition(index)
138
+ }, i)), _react.default.createElement("div", {
114
139
  className: `${classPrefix}-caret-container`
115
140
  }, hasFocus && _react.default.createElement("div", {
116
141
  className: `${classPrefix}-caret`
117
- }))), mergedProps.clearable && !!value && hasFocus && _react.default.createElement("div", {
142
+ })), chars.slice(caretPosition).map((i, index) => _react.default.createElement("span", {
143
+ key: index,
144
+ onClick: changeCaretPosition(index + caretPosition)
145
+ }, i))), mergedProps.clearable && !!value && hasFocus && _react.default.createElement("div", {
118
146
  className: `${classPrefix}-clear`,
119
147
  onClick: e => {
120
148
  var _a;
121
149
  e.stopPropagation();
122
150
  setValue('');
151
+ setCaretPosition(0);
123
152
  (_a = mergedProps.onClear) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
124
153
  },
125
154
  role: 'button',
package/2x/cjs/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/cjs/index.js CHANGED
@@ -525,6 +525,12 @@ Object.defineProperty(exports, "setDefaultConfig", {
525
525
  return _configProvider.setDefaultConfig;
526
526
  }
527
527
  });
528
+ Object.defineProperty(exports, "unstableSetRender", {
529
+ enumerable: true,
530
+ get: function () {
531
+ return _unstableRender.unstableSetRender;
532
+ }
533
+ });
528
534
  Object.defineProperty(exports, "useConfig", {
529
535
  enumerable: true,
530
536
  get: function () {
@@ -616,6 +622,7 @@ var _virtualInput = _interopRequireDefault(require("./components/virtual-input")
616
622
  var _waterMark = _interopRequireDefault(require("./components/water-mark"));
617
623
  var _footer = _interopRequireDefault(require("./components/footer"));
618
624
  var _reduceAndRestoreMotion = require("./utils/reduce-and-restore-motion");
625
+ var _unstableRender = require("./utils/unstable-render");
619
626
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
620
627
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
621
628
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -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;
@@ -20,6 +20,7 @@ const arSA = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  'confirm': 'تأكيد',
21
21
  'start': 'يبدأ',
22
22
  'end': 'ينهي',
23
+ 'startAndEnd': 'يبدأ/ينهي',
23
24
  'today': 'اليوم',
24
25
  'markItems': ['واحد', 'اثنين', 'ثلاثة', 'أربعة', 'خمسة', 'ستة', 'يوم'],
25
26
  '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;
@@ -18,6 +18,7 @@ const base = {
18
18
  confirm: 'Confirm',
19
19
  start: 'start',
20
20
  end: 'end',
21
+ startAndEnd: 'start/end',
21
22
  today: 'today',
22
23
  markItems: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
23
24
  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;
@@ -20,6 +20,7 @@ const cnrME = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  confirm: 'Potvrdi',
21
21
  start: 'početak',
22
22
  end: 'kraj',
23
+ startAndEnd: 'početak/kraj',
23
24
  today: 'danas',
24
25
  markItems: ['Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub', 'Ned'],
25
26
  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;
@@ -20,6 +20,7 @@ const deDE = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  'confirm': 'Bestätigen',
21
21
  'start': 'Starten',
22
22
  'end': 'Beenden',
23
+ 'startAndEnd': 'Starten/Beenden',
23
24
  'today': 'Heute',
24
25
  'markItems': ['I', 'II', 'III', 'IV', 'V', 'Sechs', 'Tag'],
25
26
  '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;
@@ -20,6 +20,7 @@ const hrHR = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  confirm: 'Potvrdi',
21
21
  start: 'početak',
22
22
  end: 'kraj',
23
+ startAndEnd: 'početak/kraj',
23
24
  today: 'danas',
24
25
  markItems: ['Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub', 'Ned'],
25
26
  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;
@@ -20,6 +20,7 @@ const inID = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  confirm: 'OK',
21
21
  start: 'Mulai',
22
22
  end: 'Selesai',
23
+ startAndEnd: 'Mulai/Selesai',
23
24
  today: 'Hari Ini',
24
25
  markItems: ['Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu', 'Minggu'],
25
26
  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;
@@ -20,6 +20,7 @@ const msMY = (0, _mergeLocale.mergeLocale)(_base.base, {
20
20
  'confirm': 'Ok',
21
21
  'start': 'Mula',
22
22
  'end': 'Tamat',
23
+ 'startAndEnd': 'Mula/Tamat',
23
24
  'today': 'Hari ini',
24
25
  'markItems': ['Satu', 'Dua', 'Tiga', 'Empat', 'Lima', 'Enam', 'Hari'],
25
26
  '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;