antd-mobile 5.24.0 → 5.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (917) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +459 -400
  2. package/2x/bundle/antd-mobile.cjs.js +11 -11
  3. package/2x/bundle/antd-mobile.es.development.js +460 -401
  4. package/2x/bundle/antd-mobile.es.js +5282 -5224
  5. package/2x/bundle/antd-mobile.umd.development.js +459 -400
  6. package/2x/bundle/antd-mobile.umd.js +11 -11
  7. package/2x/bundle/style.css +14 -12
  8. package/2x/cjs/components/action-sheet/action-sheet.js +0 -17
  9. package/2x/cjs/components/action-sheet/index.js +0 -5
  10. package/2x/cjs/components/auto-center/auto-center.js +0 -6
  11. package/2x/cjs/components/auto-center/index.js +0 -3
  12. package/2x/cjs/components/avatar/avatar.js +0 -9
  13. package/2x/cjs/components/avatar/fallback.js +0 -4
  14. package/2x/cjs/components/avatar/index.js +0 -3
  15. package/2x/cjs/components/badge/badge.js +0 -9
  16. package/2x/cjs/components/badge/index.js +0 -5
  17. package/2x/cjs/components/button/button.js +0 -15
  18. package/2x/cjs/components/button/index.js +0 -3
  19. package/2x/cjs/components/calendar/arrow-left-double.js +0 -4
  20. package/2x/cjs/components/calendar/arrow-left.js +0 -4
  21. package/2x/cjs/components/calendar/calendar.js +0 -47
  22. package/2x/cjs/components/calendar/convert.js +0 -7
  23. package/2x/cjs/components/calendar/index.js +0 -3
  24. package/2x/cjs/components/capsule-tabs/capsule-tabs.js +0 -25
  25. package/2x/cjs/components/capsule-tabs/index.js +0 -5
  26. package/2x/cjs/components/card/card.js +0 -11
  27. package/2x/cjs/components/card/index.js +0 -3
  28. package/2x/cjs/components/cascade-picker/cascade-picker-utils.js +0 -7
  29. package/2x/cjs/components/cascade-picker/cascade-picker.js +3 -11
  30. package/2x/cjs/components/cascade-picker/index.js +0 -5
  31. package/2x/cjs/components/cascade-picker/prompt.js +0 -10
  32. package/2x/cjs/components/cascade-picker-view/cascade-picker-view.js +3 -10
  33. package/2x/cjs/components/cascade-picker-view/index.js +0 -2
  34. package/2x/cjs/components/cascader/cascader.js +0 -21
  35. package/2x/cjs/components/cascader/index.js +0 -7
  36. package/2x/cjs/components/cascader/prompt.js +0 -10
  37. package/2x/cjs/components/cascader-view/cascader-view.js +0 -30
  38. package/2x/cjs/components/cascader-view/index.js +0 -6
  39. package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +0 -13
  40. package/2x/cjs/components/center-popup/center-popup.js +0 -27
  41. package/2x/cjs/components/center-popup/index.js +0 -3
  42. package/2x/cjs/components/check-list/check-list-item.js +0 -19
  43. package/2x/cjs/components/check-list/check-list.js +0 -14
  44. package/2x/cjs/components/check-list/context.js +0 -2
  45. package/2x/cjs/components/check-list/index.js +0 -6
  46. package/2x/cjs/components/checkbox/check-icon.js +0 -5
  47. package/2x/cjs/components/checkbox/checkbox.js +0 -26
  48. package/2x/cjs/components/checkbox/group-context.js +0 -2
  49. package/2x/cjs/components/checkbox/group.js +2 -9
  50. package/2x/cjs/components/checkbox/indeterminate-icon.js +0 -5
  51. package/2x/cjs/components/checkbox/index.js +0 -6
  52. package/2x/cjs/components/checkbox/native-input.js +0 -6
  53. package/2x/cjs/components/collapse/collapse.js +0 -31
  54. package/2x/cjs/components/collapse/index.js +0 -5
  55. package/2x/cjs/components/config-provider/config-provider.js +3 -17
  56. package/2x/cjs/components/config-provider/index.js +0 -2
  57. package/2x/cjs/components/date-picker/date-picker-date-utils.js +0 -28
  58. package/2x/cjs/components/date-picker/date-picker-utils.js +0 -13
  59. package/2x/cjs/components/date-picker/date-picker-week-utils.js +0 -24
  60. package/2x/cjs/components/date-picker/date-picker.js +0 -15
  61. package/2x/cjs/components/date-picker/index.js +0 -6
  62. package/2x/cjs/components/date-picker/prompt.js +0 -10
  63. package/2x/cjs/components/date-picker-view/date-picker-view.js +0 -15
  64. package/2x/cjs/components/date-picker-view/index.js +0 -2
  65. package/2x/cjs/components/dialog/alert.js +0 -5
  66. package/2x/cjs/components/dialog/clear.js +0 -2
  67. package/2x/cjs/components/dialog/confirm.js +0 -9
  68. package/2x/cjs/components/dialog/dialog-action-button.js +0 -7
  69. package/2x/cjs/components/dialog/dialog.js +0 -18
  70. package/2x/cjs/components/dialog/index.js +0 -9
  71. package/2x/cjs/components/dialog/show.js +0 -7
  72. package/2x/cjs/components/divider/divider.js +0 -8
  73. package/2x/cjs/components/divider/index.js +0 -3
  74. package/2x/cjs/components/dot-loading/dot-loading.js +0 -9
  75. package/2x/cjs/components/dot-loading/index.js +0 -3
  76. package/2x/cjs/components/dropdown/dropdown.js +4 -21
  77. package/2x/cjs/components/dropdown/index.js +0 -7
  78. package/2x/cjs/components/dropdown/item.js +0 -12
  79. package/2x/cjs/components/ellipsis/ellipsis.js +1 -30
  80. package/2x/cjs/components/ellipsis/index.js +0 -3
  81. package/2x/cjs/components/empty/empty-icon.js +0 -5
  82. package/2x/cjs/components/empty/empty.js +0 -12
  83. package/2x/cjs/components/empty/index.js +0 -3
  84. package/2x/cjs/components/error-block/create-error-block.js +0 -10
  85. package/2x/cjs/components/error-block/error-block.js +0 -3
  86. package/2x/cjs/components/error-block/images/busy.js +0 -4
  87. package/2x/cjs/components/error-block/images/default.js +0 -4
  88. package/2x/cjs/components/error-block/images/disconnected.js +0 -4
  89. package/2x/cjs/components/error-block/images/empty.js +0 -4
  90. package/2x/cjs/components/error-block/images/index.js +0 -4
  91. package/2x/cjs/components/error-block/index.js +0 -4
  92. package/2x/cjs/components/floating-bubble/floating-bubble.js +2 -18
  93. package/2x/cjs/components/floating-bubble/index.js +0 -3
  94. package/2x/cjs/components/floating-panel/floating-panel.js +0 -21
  95. package/2x/cjs/components/floating-panel/index.js +0 -3
  96. package/2x/cjs/components/footer/footer.js +0 -12
  97. package/2x/cjs/components/footer/index.js +0 -3
  98. package/2x/cjs/components/form/context.js +0 -7
  99. package/2x/cjs/components/form/form-array.js +0 -9
  100. package/2x/cjs/components/form/form-item.js +33 -94
  101. package/2x/cjs/components/form/form-subscribe.js +0 -8
  102. package/2x/cjs/components/form/form.js +11 -31
  103. package/2x/cjs/components/form/header.js +0 -2
  104. package/2x/cjs/components/form/index.js +0 -10
  105. package/2x/cjs/components/form/utils.js +4 -9
  106. package/2x/cjs/components/grid/grid.js +0 -12
  107. package/2x/cjs/components/grid/index.js +0 -5
  108. package/2x/cjs/components/image/broken-image-icon.js +0 -4
  109. package/2x/cjs/components/image/image-icon.js +0 -4
  110. package/2x/cjs/components/image/image.js +0 -21
  111. package/2x/cjs/components/image/index.js +0 -3
  112. package/2x/cjs/components/image/lazy-detector.js +0 -6
  113. package/2x/cjs/components/image/test/image.test.js +0 -10
  114. package/2x/cjs/components/image-uploader/image-uploader.js +0 -39
  115. package/2x/cjs/components/image-uploader/index.js +0 -3
  116. package/2x/cjs/components/image-uploader/preview-item.js +0 -17
  117. package/2x/cjs/components/image-viewer/image-viewer.js +0 -23
  118. package/2x/cjs/components/image-viewer/index.js +0 -7
  119. package/2x/cjs/components/image-viewer/methods.js +0 -10
  120. package/2x/cjs/components/image-viewer/slide.js +0 -28
  121. package/2x/cjs/components/image-viewer/slides.js +0 -13
  122. package/2x/cjs/components/index-bar/index-bar.js +0 -25
  123. package/2x/cjs/components/index-bar/index.js +0 -6
  124. package/2x/cjs/components/index-bar/panel.js +0 -2
  125. package/2x/cjs/components/index-bar/sidebar.js +0 -9
  126. package/2x/cjs/components/infinite-scroll/index.js +0 -3
  127. package/2x/cjs/components/infinite-scroll/infinite-scroll.js +4 -28
  128. package/2x/cjs/components/input/index.js +0 -3
  129. package/2x/cjs/components/input/input.js +2 -37
  130. package/2x/cjs/components/jumbo-tabs/index.js +0 -5
  131. package/2x/cjs/components/jumbo-tabs/jumbo-tabs.js +0 -25
  132. package/2x/cjs/components/list/index.js +0 -6
  133. package/2x/cjs/components/list/list-item.js +0 -12
  134. package/2x/cjs/components/list/list.js +0 -9
  135. package/2x/cjs/components/loading/index.js +0 -3
  136. package/2x/cjs/components/mask/index.js +0 -3
  137. package/2x/cjs/components/mask/mask.js +0 -19
  138. package/2x/cjs/components/modal/alert.js +0 -5
  139. package/2x/cjs/components/modal/clear.js +0 -2
  140. package/2x/cjs/components/modal/confirm.js +0 -9
  141. package/2x/cjs/components/modal/index.js +0 -9
  142. package/2x/cjs/components/modal/modal-action-button.js +0 -7
  143. package/2x/cjs/components/modal/modal.js +0 -18
  144. package/2x/cjs/components/modal/show.js +0 -7
  145. package/2x/cjs/components/nav-bar/index.js +0 -3
  146. package/2x/cjs/components/nav-bar/nav-bar.d.ts +1 -1
  147. package/2x/cjs/components/nav-bar/nav-bar.js +0 -10
  148. package/2x/cjs/components/notice-bar/index.js +0 -3
  149. package/2x/cjs/components/notice-bar/notice-bar.js +0 -19
  150. package/2x/cjs/components/number-keyboard/index.js +0 -3
  151. package/2x/cjs/components/number-keyboard/number-keyboard.css +1 -1
  152. package/2x/cjs/components/number-keyboard/number-keyboard.js +0 -33
  153. package/2x/cjs/components/page-indicator/index.js +0 -3
  154. package/2x/cjs/components/page-indicator/page-indicator.js +0 -10
  155. package/2x/cjs/components/passcode-input/index.js +0 -3
  156. package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
  157. package/2x/cjs/components/passcode-input/passcode-input.js +2 -30
  158. package/2x/cjs/components/picker/index.js +0 -6
  159. package/2x/cjs/components/picker/picker-utils.js +0 -2
  160. package/2x/cjs/components/picker/picker.css +1 -0
  161. package/2x/cjs/components/picker/picker.js +0 -25
  162. package/2x/cjs/components/picker/prompt.js +0 -10
  163. package/2x/cjs/components/picker-view/columns-extend.js +0 -7
  164. package/2x/cjs/components/picker-view/index.js +0 -3
  165. package/2x/cjs/components/picker-view/picker-view.css +1 -0
  166. package/2x/cjs/components/picker-view/picker-view.js +2 -16
  167. package/2x/cjs/components/picker-view/wheel.js +0 -27
  168. package/2x/cjs/components/popover/arrow.js +0 -5
  169. package/2x/cjs/components/popover/index.js +0 -7
  170. package/2x/cjs/components/popover/normalize-placement.js +0 -2
  171. package/2x/cjs/components/popover/popover-menu.js +2 -14
  172. package/2x/cjs/components/popover/popover.js +0 -25
  173. package/2x/cjs/components/popover/wrapper.js +0 -10
  174. package/2x/cjs/components/popup/index.js +0 -3
  175. package/2x/cjs/components/popup/popup.js +1 -30
  176. package/2x/cjs/components/progress-bar/index.js +0 -3
  177. package/2x/cjs/components/progress-bar/progress-bar.js +0 -13
  178. package/2x/cjs/components/progress-circle/index.js +0 -3
  179. package/2x/cjs/components/progress-circle/progress-circle.js +0 -7
  180. package/2x/cjs/components/pull-to-refresh/index.js +0 -3
  181. package/2x/cjs/components/pull-to-refresh/pull-to-refresh.js +2 -43
  182. package/2x/cjs/components/radio/group-context.js +0 -2
  183. package/2x/cjs/components/radio/group.js +2 -10
  184. package/2x/cjs/components/radio/index.js +0 -6
  185. package/2x/cjs/components/radio/radio.js +0 -26
  186. package/2x/cjs/components/rate/index.js +0 -3
  187. package/2x/cjs/components/rate/rate.js +0 -18
  188. package/2x/cjs/components/rate/star.js +0 -4
  189. package/2x/cjs/components/result/index.js +0 -3
  190. package/2x/cjs/components/result/result.js +0 -11
  191. package/2x/cjs/components/result-page/index.js +0 -6
  192. package/2x/cjs/components/result-page/result-page-card.js +0 -7
  193. package/2x/cjs/components/result-page/result-page.js +0 -15
  194. package/2x/cjs/components/safe-area/index.js +0 -3
  195. package/2x/cjs/components/safe-area/safe-area.js +0 -7
  196. package/2x/cjs/components/scroll-mask/index.js +0 -3
  197. package/2x/cjs/components/scroll-mask/scroll-mask.js +0 -10
  198. package/2x/cjs/components/search-bar/index.js +0 -3
  199. package/2x/cjs/components/search-bar/search-bar.js +0 -28
  200. package/2x/cjs/components/selector/check-mark.js +0 -4
  201. package/2x/cjs/components/selector/index.js +0 -3
  202. package/2x/cjs/components/selector/selector.js +0 -15
  203. package/2x/cjs/components/side-bar/corner.js +0 -5
  204. package/2x/cjs/components/side-bar/index.js +0 -5
  205. package/2x/cjs/components/side-bar/side-bar.js +0 -17
  206. package/2x/cjs/components/skeleton/index.js +0 -5
  207. package/2x/cjs/components/skeleton/skeleton.js +0 -15
  208. package/2x/cjs/components/slider/index.js +0 -3
  209. package/2x/cjs/components/slider/marks.js +0 -8
  210. package/2x/cjs/components/slider/slider.js +12 -47
  211. package/2x/cjs/components/slider/thumb-icon.js +0 -5
  212. package/2x/cjs/components/slider/thumb.js +0 -17
  213. package/2x/cjs/components/slider/ticks.js +0 -6
  214. package/2x/cjs/components/space/index.js +0 -3
  215. package/2x/cjs/components/space/space.js +0 -8
  216. package/2x/cjs/components/spin-loading/index.js +0 -3
  217. package/2x/cjs/components/spin-loading/spin-loading.js +0 -9
  218. package/2x/cjs/components/stepper/index.js +0 -3
  219. package/2x/cjs/components/stepper/stepper.js +0 -37
  220. package/2x/cjs/components/steps/index.js +0 -6
  221. package/2x/cjs/components/steps/step.js +0 -7
  222. package/2x/cjs/components/steps/steps.js +0 -14
  223. package/2x/cjs/components/swipe-action/index.js +0 -3
  224. package/2x/cjs/components/swipe-action/swipe-action.js +0 -40
  225. package/2x/cjs/components/swiper/index.js +0 -6
  226. package/2x/cjs/components/swiper/swiper-item.js +0 -5
  227. package/2x/cjs/components/swiper/swiper.js +0 -47
  228. package/2x/cjs/components/switch/index.js +0 -3
  229. package/2x/cjs/components/switch/spin-icon.js +0 -5
  230. package/2x/cjs/components/switch/switch.js +0 -23
  231. package/2x/cjs/components/tab-bar/index.js +0 -5
  232. package/2x/cjs/components/tab-bar/tab-bar.js +0 -22
  233. package/2x/cjs/components/tabs/index.js +0 -5
  234. package/2x/cjs/components/tabs/tabs.js +0 -34
  235. package/2x/cjs/components/tag/index.js +0 -3
  236. package/2x/cjs/components/tag/tag.js +0 -9
  237. package/2x/cjs/components/text-area/index.js +0 -3
  238. package/2x/cjs/components/text-area/text-area.js +0 -27
  239. package/2x/cjs/components/toast/index.js +0 -3
  240. package/2x/cjs/components/toast/methods.js +0 -17
  241. package/2x/cjs/components/toast/toast.js +0 -19
  242. package/2x/cjs/components/tree-select/index.js +0 -6
  243. package/2x/cjs/components/tree-select/multiple.js +26 -87
  244. package/2x/cjs/components/tree-select/tree-select.js +4 -32
  245. package/2x/cjs/components/virtual-input/index.js +0 -3
  246. package/2x/cjs/components/virtual-input/virtual-input.js +0 -28
  247. package/2x/cjs/components/water-mark/index.js +0 -3
  248. package/2x/cjs/components/water-mark/water-mark.js +2 -15
  249. package/2x/cjs/global/index.js +2 -3
  250. package/2x/cjs/index.js +0 -85
  251. package/2x/cjs/locales/en-US.js +0 -3
  252. package/2x/cjs/locales/es-ES.js +0 -3
  253. package/2x/cjs/locales/fa-IR.js +0 -3
  254. package/2x/cjs/locales/fr-FR.js +0 -3
  255. package/2x/cjs/locales/id-ID.js +0 -3
  256. package/2x/cjs/locales/ja-JP.d.ts +127 -0
  257. package/2x/cjs/locales/ja-JP.js +137 -0
  258. package/2x/cjs/locales/kk-KZ.js +0 -3
  259. package/2x/cjs/locales/ko-KR.js +0 -3
  260. package/2x/cjs/locales/zh-CN.js +0 -3
  261. package/2x/cjs/locales/zh-HK.js +0 -3
  262. package/2x/cjs/locales/zh-TW.js +0 -3
  263. package/2x/cjs/utils/attach-properties-to-component.js +0 -3
  264. package/2x/cjs/utils/bound.js +0 -4
  265. package/2x/cjs/utils/convert-px.js +0 -9
  266. package/2x/cjs/utils/create-icon-component.js +0 -2
  267. package/2x/cjs/utils/dev-log.d.ts +1 -0
  268. package/2x/cjs/utils/dev-log.js +23 -3
  269. package/2x/cjs/utils/generate-int-array.js +0 -3
  270. package/2x/cjs/utils/get-container.d.ts +2 -1
  271. package/2x/cjs/utils/get-container.js +0 -1
  272. package/2x/cjs/utils/get-scroll-parent.js +0 -9
  273. package/2x/cjs/utils/is-node-with-content.js +0 -1
  274. package/2x/cjs/utils/matrix.js +0 -18
  275. package/2x/cjs/utils/measure-css-length.js +0 -7
  276. package/2x/cjs/utils/merge-locale.js +0 -5
  277. package/2x/cjs/utils/native-props.js +0 -10
  278. package/2x/cjs/utils/nearest.js +0 -1
  279. package/2x/cjs/utils/noop.js +0 -2
  280. package/2x/cjs/utils/reduce-and-restore-motion.js +0 -10
  281. package/2x/cjs/utils/render-imperatively.js +0 -15
  282. package/2x/cjs/utils/render-to-body.js +0 -5
  283. package/2x/cjs/utils/render-to-container.js +0 -5
  284. package/2x/cjs/utils/render.js +4 -22
  285. package/2x/cjs/utils/rubberband.js +0 -3
  286. package/2x/cjs/utils/should-render.js +0 -4
  287. package/2x/cjs/utils/shuffle.js +0 -3
  288. package/2x/cjs/utils/sleep.js +0 -2
  289. package/2x/cjs/utils/supports-passive.js +0 -4
  290. package/2x/cjs/utils/to-css-length.js +0 -1
  291. package/2x/cjs/utils/traverse-react-node.js +0 -6
  292. package/2x/cjs/utils/tree.js +0 -2
  293. package/2x/cjs/utils/undefined-fallback.js +0 -3
  294. package/2x/cjs/utils/use-drag-and-pinch.js +0 -2
  295. package/2x/cjs/utils/use-initialized.js +0 -4
  296. package/2x/cjs/utils/use-inner-visible.js +0 -3
  297. package/2x/cjs/utils/use-isomorphic-update-layout-effect.js +0 -2
  298. package/2x/cjs/utils/use-lock-scroll.d.ts +1 -1
  299. package/2x/cjs/utils/use-lock-scroll.js +20 -16
  300. package/2x/cjs/utils/use-mutation-effect.js +0 -3
  301. package/2x/cjs/utils/use-props-value.js +0 -5
  302. package/2x/cjs/utils/use-ref-state.js +0 -2
  303. package/2x/cjs/utils/use-resize-effect.js +0 -3
  304. package/2x/cjs/utils/use-tab-list-scroll.js +0 -9
  305. package/2x/cjs/utils/use-touch.js +2 -15
  306. package/2x/cjs/utils/validate.js +0 -9
  307. package/2x/cjs/utils/with-cache.js +0 -2
  308. package/2x/cjs/utils/with-default-props.js +0 -6
  309. package/2x/cjs/utils/with-stop-propagation.js +0 -8
  310. package/2x/es/components/action-sheet/action-sheet.js +0 -5
  311. package/2x/es/components/button/button.js +0 -4
  312. package/2x/es/components/calendar/calendar.js +0 -27
  313. package/2x/es/components/calendar/convert.js +0 -3
  314. package/2x/es/components/capsule-tabs/capsule-tabs.js +0 -7
  315. package/2x/es/components/card/card.js +0 -4
  316. package/2x/es/components/cascade-picker/cascade-picker-utils.js +0 -5
  317. package/2x/es/components/cascade-picker/cascade-picker.js +3 -4
  318. package/2x/es/components/cascade-picker/prompt.js +0 -4
  319. package/2x/es/components/cascade-picker-view/cascade-picker-view.js +3 -4
  320. package/2x/es/components/cascader/cascader.js +0 -7
  321. package/2x/es/components/cascader/prompt.js +0 -4
  322. package/2x/es/components/cascader-view/cascader-view.js +0 -12
  323. package/2x/es/components/cascader-view/use-cascader-value-extend.js +0 -9
  324. package/2x/es/components/center-popup/center-popup.js +0 -5
  325. package/2x/es/components/check-list/check-list-item.js +0 -5
  326. package/2x/es/components/check-list/check-list.js +0 -3
  327. package/2x/es/components/checkbox/checkbox.js +0 -11
  328. package/2x/es/components/checkbox/group.js +2 -1
  329. package/2x/es/components/collapse/collapse.js +0 -13
  330. package/2x/es/components/config-provider/config-provider.js +3 -5
  331. package/2x/es/components/date-picker/date-picker-date-utils.js +0 -15
  332. package/2x/es/components/date-picker/date-picker-week-utils.js +0 -11
  333. package/2x/es/components/date-picker/date-picker.js +0 -3
  334. package/2x/es/components/date-picker/prompt.js +0 -4
  335. package/2x/es/components/date-picker-view/date-picker-view.js +0 -3
  336. package/2x/es/components/dialog/alert.js +0 -1
  337. package/2x/es/components/dialog/confirm.js +0 -3
  338. package/2x/es/components/dialog/dialog.js +0 -4
  339. package/2x/es/components/dialog/show.js +0 -1
  340. package/2x/es/components/dot-loading/dot-loading.js +0 -1
  341. package/2x/es/components/dropdown/dropdown.js +4 -7
  342. package/2x/es/components/dropdown/item.js +0 -3
  343. package/2x/es/components/ellipsis/ellipsis.js +1 -17
  344. package/2x/es/components/empty/empty.js +0 -5
  345. package/2x/es/components/error-block/create-error-block.js +0 -2
  346. package/2x/es/components/floating-bubble/floating-bubble.js +2 -8
  347. package/2x/es/components/floating-panel/floating-panel.js +0 -9
  348. package/2x/es/components/footer/footer.js +0 -3
  349. package/2x/es/components/form/form-array.js +0 -3
  350. package/2x/es/components/form/form-item.js +33 -75
  351. package/2x/es/components/form/form.js +11 -17
  352. package/2x/es/components/form/utils.js +4 -6
  353. package/2x/es/components/grid/grid.js +0 -2
  354. package/2x/es/components/image/image.js +0 -8
  355. package/2x/es/components/image-uploader/image-uploader.js +0 -21
  356. package/2x/es/components/image-uploader/preview-item.js +0 -7
  357. package/2x/es/components/image-viewer/image-viewer.js +0 -6
  358. package/2x/es/components/image-viewer/methods.js +0 -2
  359. package/2x/es/components/image-viewer/slide.js +0 -16
  360. package/2x/es/components/image-viewer/slides.js +0 -4
  361. package/2x/es/components/index-bar/index-bar.js +0 -11
  362. package/2x/es/components/index-bar/sidebar.js +0 -1
  363. package/2x/es/components/infinite-scroll/infinite-scroll.js +4 -15
  364. package/2x/es/components/input/input.js +2 -23
  365. package/2x/es/components/jumbo-tabs/jumbo-tabs.js +0 -7
  366. package/2x/es/components/list/list-item.js +0 -1
  367. package/2x/es/components/list/list.js +0 -1
  368. package/2x/es/components/mask/mask.js +0 -4
  369. package/2x/es/components/modal/alert.js +0 -1
  370. package/2x/es/components/modal/confirm.js +0 -3
  371. package/2x/es/components/modal/modal.js +0 -3
  372. package/2x/es/components/modal/show.js +0 -1
  373. package/2x/es/components/nav-bar/nav-bar.d.ts +1 -1
  374. package/2x/es/components/nav-bar/nav-bar.js +0 -1
  375. package/2x/es/components/notice-bar/notice-bar.js +0 -7
  376. package/2x/es/components/number-keyboard/number-keyboard.css +1 -1
  377. package/2x/es/components/number-keyboard/number-keyboard.js +0 -18
  378. package/2x/es/components/page-indicator/page-indicator.js +0 -2
  379. package/2x/es/components/passcode-input/passcode-input.css +1 -1
  380. package/2x/es/components/passcode-input/passcode-input.js +2 -19
  381. package/2x/es/components/picker/picker.css +1 -0
  382. package/2x/es/components/picker/picker.js +0 -7
  383. package/2x/es/components/picker/prompt.js +0 -4
  384. package/2x/es/components/picker-view/columns-extend.js +0 -3
  385. package/2x/es/components/picker-view/picker-view.css +1 -0
  386. package/2x/es/components/picker-view/picker-view.js +2 -4
  387. package/2x/es/components/picker-view/wheel.js +0 -14
  388. package/2x/es/components/popover/normalize-placement.js +0 -1
  389. package/2x/es/components/popover/popover-menu.js +2 -7
  390. package/2x/es/components/popover/popover.js +0 -6
  391. package/2x/es/components/popover/wrapper.js +0 -5
  392. package/2x/es/components/popup/popup.js +1 -10
  393. package/2x/es/components/progress-bar/progress-bar.js +0 -4
  394. package/2x/es/components/pull-to-refresh/pull-to-refresh.js +2 -27
  395. package/2x/es/components/radio/group.js +2 -2
  396. package/2x/es/components/radio/radio.js +0 -10
  397. package/2x/es/components/rate/rate.js +0 -4
  398. package/2x/es/components/search-bar/search-bar.js +0 -15
  399. package/2x/es/components/selector/selector.js +0 -3
  400. package/2x/es/components/side-bar/side-bar.js +0 -5
  401. package/2x/es/components/slider/marks.js +0 -4
  402. package/2x/es/components/slider/slider.js +12 -31
  403. package/2x/es/components/slider/thumb.js +0 -7
  404. package/2x/es/components/slider/ticks.js +0 -2
  405. package/2x/es/components/spin-loading/spin-loading.js +0 -1
  406. package/2x/es/components/stepper/stepper.js +0 -20
  407. package/2x/es/components/steps/steps.js +0 -4
  408. package/2x/es/components/swipe-action/swipe-action.js +0 -28
  409. package/2x/es/components/swiper/swiper.js +0 -28
  410. package/2x/es/components/switch/switch.js +0 -8
  411. package/2x/es/components/tab-bar/tab-bar.js +0 -9
  412. package/2x/es/components/tabs/tabs.js +0 -13
  413. package/2x/es/components/tag/tag.js +0 -1
  414. package/2x/es/components/text-area/text-area.js +0 -18
  415. package/2x/es/components/toast/methods.js +0 -8
  416. package/2x/es/components/toast/toast.js +0 -6
  417. package/2x/es/components/tree-select/multiple.js +26 -72
  418. package/2x/es/components/tree-select/tree-select.js +4 -19
  419. package/2x/es/components/virtual-input/virtual-input.js +0 -15
  420. package/2x/es/components/water-mark/water-mark.js +2 -5
  421. package/2x/es/global/index.js +2 -2
  422. package/2x/es/locales/ja-JP.d.ts +127 -0
  423. package/2x/es/locales/ja-JP.js +130 -0
  424. package/2x/es/utils/attach-properties-to-component.js +0 -2
  425. package/2x/es/utils/bound.js +0 -3
  426. package/2x/es/utils/convert-px.js +0 -5
  427. package/2x/es/utils/create-icon-component.js +0 -1
  428. package/2x/es/utils/dev-log.d.ts +1 -0
  429. package/2x/es/utils/dev-log.js +22 -0
  430. package/2x/es/utils/generate-int-array.js +0 -2
  431. package/2x/es/utils/get-container.d.ts +2 -1
  432. package/2x/es/utils/get-scroll-parent.js +0 -7
  433. package/2x/es/utils/measure-css-length.js +0 -4
  434. package/2x/es/utils/merge-locale.js +0 -4
  435. package/2x/es/utils/native-props.js +0 -6
  436. package/2x/es/utils/reduce-and-restore-motion.js +0 -2
  437. package/2x/es/utils/render-imperatively.js +0 -8
  438. package/2x/es/utils/render-to-body.js +0 -3
  439. package/2x/es/utils/render-to-container.js +0 -1
  440. package/2x/es/utils/render.js +6 -18
  441. package/2x/es/utils/shuffle.js +0 -2
  442. package/2x/es/utils/supports-passive.js +0 -2
  443. package/2x/es/utils/traverse-react-node.js +0 -2
  444. package/2x/es/utils/tree.js +0 -1
  445. package/2x/es/utils/undefined-fallback.js +0 -2
  446. package/2x/es/utils/use-initialized.js +0 -2
  447. package/2x/es/utils/use-lock-scroll.d.ts +1 -1
  448. package/2x/es/utils/use-lock-scroll.js +20 -11
  449. package/2x/es/utils/use-props-value.js +0 -2
  450. package/2x/es/utils/use-resize-effect.js +0 -1
  451. package/2x/es/utils/use-tab-list-scroll.js +0 -2
  452. package/2x/es/utils/use-touch.js +2 -13
  453. package/2x/es/utils/with-cache.js +0 -1
  454. package/2x/es/utils/with-default-props.js +0 -3
  455. package/2x/es/utils/with-stop-propagation.js +0 -4
  456. package/2x/package.json +2 -2
  457. package/bundle/antd-mobile.cjs.development.js +459 -400
  458. package/bundle/antd-mobile.cjs.js +11 -11
  459. package/bundle/antd-mobile.compatible.umd.js +2 -25558
  460. package/bundle/antd-mobile.es.development.js +460 -401
  461. package/bundle/antd-mobile.es.js +5282 -5224
  462. package/bundle/antd-mobile.umd.development.js +459 -400
  463. package/bundle/antd-mobile.umd.js +11 -11
  464. package/bundle/style.css +1 -1
  465. package/cjs/components/action-sheet/action-sheet.js +0 -17
  466. package/cjs/components/action-sheet/index.js +0 -5
  467. package/cjs/components/auto-center/auto-center.js +0 -6
  468. package/cjs/components/auto-center/index.js +0 -3
  469. package/cjs/components/avatar/avatar.js +0 -9
  470. package/cjs/components/avatar/fallback.js +0 -4
  471. package/cjs/components/avatar/index.js +0 -3
  472. package/cjs/components/badge/badge.js +0 -9
  473. package/cjs/components/badge/index.js +0 -5
  474. package/cjs/components/button/button.js +0 -15
  475. package/cjs/components/button/index.js +0 -3
  476. package/cjs/components/calendar/arrow-left-double.js +0 -4
  477. package/cjs/components/calendar/arrow-left.js +0 -4
  478. package/cjs/components/calendar/calendar.js +0 -47
  479. package/cjs/components/calendar/convert.js +0 -7
  480. package/cjs/components/calendar/index.js +0 -3
  481. package/cjs/components/capsule-tabs/capsule-tabs.js +0 -25
  482. package/cjs/components/capsule-tabs/index.js +0 -5
  483. package/cjs/components/card/card.js +0 -11
  484. package/cjs/components/card/index.js +0 -3
  485. package/cjs/components/cascade-picker/cascade-picker-utils.js +0 -7
  486. package/cjs/components/cascade-picker/cascade-picker.js +3 -11
  487. package/cjs/components/cascade-picker/index.js +0 -5
  488. package/cjs/components/cascade-picker/prompt.js +0 -10
  489. package/cjs/components/cascade-picker-view/cascade-picker-view.js +3 -10
  490. package/cjs/components/cascade-picker-view/index.js +0 -2
  491. package/cjs/components/cascader/cascader.js +0 -21
  492. package/cjs/components/cascader/index.js +0 -7
  493. package/cjs/components/cascader/prompt.js +0 -10
  494. package/cjs/components/cascader-view/cascader-view.js +0 -30
  495. package/cjs/components/cascader-view/index.js +0 -6
  496. package/cjs/components/cascader-view/use-cascader-value-extend.js +0 -13
  497. package/cjs/components/center-popup/center-popup.js +0 -27
  498. package/cjs/components/center-popup/index.js +0 -3
  499. package/cjs/components/check-list/check-list-item.js +0 -19
  500. package/cjs/components/check-list/check-list.js +0 -14
  501. package/cjs/components/check-list/context.js +0 -2
  502. package/cjs/components/check-list/index.js +0 -6
  503. package/cjs/components/checkbox/check-icon.js +0 -5
  504. package/cjs/components/checkbox/checkbox.js +0 -26
  505. package/cjs/components/checkbox/group-context.js +0 -2
  506. package/cjs/components/checkbox/group.js +2 -9
  507. package/cjs/components/checkbox/indeterminate-icon.js +0 -5
  508. package/cjs/components/checkbox/index.js +0 -6
  509. package/cjs/components/checkbox/native-input.js +0 -6
  510. package/cjs/components/collapse/collapse.js +0 -31
  511. package/cjs/components/collapse/index.js +0 -5
  512. package/cjs/components/config-provider/config-provider.js +3 -17
  513. package/cjs/components/config-provider/index.js +0 -2
  514. package/cjs/components/date-picker/date-picker-date-utils.js +0 -28
  515. package/cjs/components/date-picker/date-picker-utils.js +0 -13
  516. package/cjs/components/date-picker/date-picker-week-utils.js +0 -24
  517. package/cjs/components/date-picker/date-picker.js +0 -15
  518. package/cjs/components/date-picker/index.js +0 -6
  519. package/cjs/components/date-picker/prompt.js +0 -10
  520. package/cjs/components/date-picker-view/date-picker-view.js +0 -15
  521. package/cjs/components/date-picker-view/index.js +0 -2
  522. package/cjs/components/dialog/alert.js +0 -5
  523. package/cjs/components/dialog/clear.js +0 -2
  524. package/cjs/components/dialog/confirm.js +0 -9
  525. package/cjs/components/dialog/dialog-action-button.js +0 -7
  526. package/cjs/components/dialog/dialog.js +0 -18
  527. package/cjs/components/dialog/index.js +0 -9
  528. package/cjs/components/dialog/show.js +0 -7
  529. package/cjs/components/divider/divider.js +0 -8
  530. package/cjs/components/divider/index.js +0 -3
  531. package/cjs/components/dot-loading/dot-loading.js +0 -9
  532. package/cjs/components/dot-loading/index.js +0 -3
  533. package/cjs/components/dropdown/dropdown.js +4 -21
  534. package/cjs/components/dropdown/index.js +0 -7
  535. package/cjs/components/dropdown/item.js +0 -12
  536. package/cjs/components/ellipsis/ellipsis.js +1 -30
  537. package/cjs/components/ellipsis/index.js +0 -3
  538. package/cjs/components/empty/empty-icon.js +0 -5
  539. package/cjs/components/empty/empty.js +0 -12
  540. package/cjs/components/empty/index.js +0 -3
  541. package/cjs/components/error-block/create-error-block.js +0 -10
  542. package/cjs/components/error-block/error-block.js +0 -3
  543. package/cjs/components/error-block/images/busy.js +0 -4
  544. package/cjs/components/error-block/images/default.js +0 -4
  545. package/cjs/components/error-block/images/disconnected.js +0 -4
  546. package/cjs/components/error-block/images/empty.js +0 -4
  547. package/cjs/components/error-block/images/index.js +0 -4
  548. package/cjs/components/error-block/index.js +0 -4
  549. package/cjs/components/floating-bubble/floating-bubble.js +2 -18
  550. package/cjs/components/floating-bubble/index.js +0 -3
  551. package/cjs/components/floating-panel/floating-panel.js +0 -21
  552. package/cjs/components/floating-panel/index.js +0 -3
  553. package/cjs/components/footer/footer.js +0 -12
  554. package/cjs/components/footer/index.js +0 -3
  555. package/cjs/components/form/context.js +0 -7
  556. package/cjs/components/form/form-array.js +0 -9
  557. package/cjs/components/form/form-item.js +33 -94
  558. package/cjs/components/form/form-subscribe.js +0 -8
  559. package/cjs/components/form/form.js +11 -31
  560. package/cjs/components/form/header.js +0 -2
  561. package/cjs/components/form/index.js +0 -10
  562. package/cjs/components/form/utils.js +4 -9
  563. package/cjs/components/grid/grid.js +0 -12
  564. package/cjs/components/grid/index.js +0 -5
  565. package/cjs/components/image/broken-image-icon.js +0 -4
  566. package/cjs/components/image/image-icon.js +0 -4
  567. package/cjs/components/image/image.js +0 -21
  568. package/cjs/components/image/index.js +0 -3
  569. package/cjs/components/image/lazy-detector.js +0 -6
  570. package/cjs/components/image/test/image.test.js +0 -10
  571. package/cjs/components/image-uploader/image-uploader.js +0 -39
  572. package/cjs/components/image-uploader/index.js +0 -3
  573. package/cjs/components/image-uploader/preview-item.js +0 -17
  574. package/cjs/components/image-viewer/image-viewer.js +0 -23
  575. package/cjs/components/image-viewer/index.js +0 -7
  576. package/cjs/components/image-viewer/methods.js +0 -10
  577. package/cjs/components/image-viewer/slide.js +0 -28
  578. package/cjs/components/image-viewer/slides.js +0 -13
  579. package/cjs/components/index-bar/index-bar.js +0 -25
  580. package/cjs/components/index-bar/index.js +0 -6
  581. package/cjs/components/index-bar/panel.js +0 -2
  582. package/cjs/components/index-bar/sidebar.js +0 -9
  583. package/cjs/components/infinite-scroll/index.js +0 -3
  584. package/cjs/components/infinite-scroll/infinite-scroll.js +4 -28
  585. package/cjs/components/input/index.js +0 -3
  586. package/cjs/components/input/input.js +2 -37
  587. package/cjs/components/jumbo-tabs/index.js +0 -5
  588. package/cjs/components/jumbo-tabs/jumbo-tabs.js +0 -25
  589. package/cjs/components/list/index.js +0 -6
  590. package/cjs/components/list/list-item.js +0 -12
  591. package/cjs/components/list/list.js +0 -9
  592. package/cjs/components/loading/index.js +0 -3
  593. package/cjs/components/mask/index.js +0 -3
  594. package/cjs/components/mask/mask.js +0 -19
  595. package/cjs/components/modal/alert.js +0 -5
  596. package/cjs/components/modal/clear.js +0 -2
  597. package/cjs/components/modal/confirm.js +0 -9
  598. package/cjs/components/modal/index.js +0 -9
  599. package/cjs/components/modal/modal-action-button.js +0 -7
  600. package/cjs/components/modal/modal.js +0 -18
  601. package/cjs/components/modal/show.js +0 -7
  602. package/cjs/components/nav-bar/index.js +0 -3
  603. package/cjs/components/nav-bar/nav-bar.d.ts +1 -1
  604. package/cjs/components/nav-bar/nav-bar.js +0 -10
  605. package/cjs/components/notice-bar/index.js +0 -3
  606. package/cjs/components/notice-bar/notice-bar.js +0 -19
  607. package/cjs/components/number-keyboard/index.js +0 -3
  608. package/cjs/components/number-keyboard/number-keyboard.css +1 -1
  609. package/cjs/components/number-keyboard/number-keyboard.js +0 -33
  610. package/cjs/components/page-indicator/index.js +0 -3
  611. package/cjs/components/page-indicator/page-indicator.js +0 -10
  612. package/cjs/components/passcode-input/index.js +0 -3
  613. package/cjs/components/passcode-input/passcode-input.css +1 -1
  614. package/cjs/components/passcode-input/passcode-input.js +2 -30
  615. package/cjs/components/picker/index.js +0 -6
  616. package/cjs/components/picker/picker-utils.js +0 -2
  617. package/cjs/components/picker/picker.css +1 -0
  618. package/cjs/components/picker/picker.js +0 -25
  619. package/cjs/components/picker/prompt.js +0 -10
  620. package/cjs/components/picker-view/columns-extend.js +0 -7
  621. package/cjs/components/picker-view/index.js +0 -3
  622. package/cjs/components/picker-view/picker-view.css +1 -0
  623. package/cjs/components/picker-view/picker-view.js +2 -16
  624. package/cjs/components/picker-view/wheel.js +0 -27
  625. package/cjs/components/popover/arrow.js +0 -5
  626. package/cjs/components/popover/index.js +0 -7
  627. package/cjs/components/popover/normalize-placement.js +0 -2
  628. package/cjs/components/popover/popover-menu.js +2 -14
  629. package/cjs/components/popover/popover.js +0 -25
  630. package/cjs/components/popover/wrapper.js +0 -10
  631. package/cjs/components/popup/index.js +0 -3
  632. package/cjs/components/popup/popup.js +1 -30
  633. package/cjs/components/progress-bar/index.js +0 -3
  634. package/cjs/components/progress-bar/progress-bar.js +0 -13
  635. package/cjs/components/progress-circle/index.js +0 -3
  636. package/cjs/components/progress-circle/progress-circle.js +0 -7
  637. package/cjs/components/pull-to-refresh/index.js +0 -3
  638. package/cjs/components/pull-to-refresh/pull-to-refresh.js +2 -43
  639. package/cjs/components/radio/group-context.js +0 -2
  640. package/cjs/components/radio/group.js +2 -10
  641. package/cjs/components/radio/index.js +0 -6
  642. package/cjs/components/radio/radio.js +0 -26
  643. package/cjs/components/rate/index.js +0 -3
  644. package/cjs/components/rate/rate.js +0 -18
  645. package/cjs/components/rate/star.js +0 -4
  646. package/cjs/components/result/index.js +0 -3
  647. package/cjs/components/result/result.js +0 -11
  648. package/cjs/components/result-page/index.js +0 -6
  649. package/cjs/components/result-page/result-page-card.js +0 -7
  650. package/cjs/components/result-page/result-page.js +0 -15
  651. package/cjs/components/safe-area/index.js +0 -3
  652. package/cjs/components/safe-area/safe-area.js +0 -7
  653. package/cjs/components/scroll-mask/index.js +0 -3
  654. package/cjs/components/scroll-mask/scroll-mask.js +0 -10
  655. package/cjs/components/search-bar/index.js +0 -3
  656. package/cjs/components/search-bar/search-bar.js +0 -28
  657. package/cjs/components/selector/check-mark.js +0 -4
  658. package/cjs/components/selector/index.js +0 -3
  659. package/cjs/components/selector/selector.js +0 -15
  660. package/cjs/components/side-bar/corner.js +0 -5
  661. package/cjs/components/side-bar/index.js +0 -5
  662. package/cjs/components/side-bar/side-bar.js +0 -17
  663. package/cjs/components/skeleton/index.js +0 -5
  664. package/cjs/components/skeleton/skeleton.js +0 -15
  665. package/cjs/components/slider/index.js +0 -3
  666. package/cjs/components/slider/marks.js +0 -8
  667. package/cjs/components/slider/slider.js +12 -47
  668. package/cjs/components/slider/thumb-icon.js +0 -5
  669. package/cjs/components/slider/thumb.js +0 -17
  670. package/cjs/components/slider/ticks.js +0 -6
  671. package/cjs/components/space/index.js +0 -3
  672. package/cjs/components/space/space.js +0 -8
  673. package/cjs/components/spin-loading/index.js +0 -3
  674. package/cjs/components/spin-loading/spin-loading.js +0 -9
  675. package/cjs/components/stepper/index.js +0 -3
  676. package/cjs/components/stepper/stepper.js +0 -37
  677. package/cjs/components/steps/index.js +0 -6
  678. package/cjs/components/steps/step.js +0 -7
  679. package/cjs/components/steps/steps.js +0 -14
  680. package/cjs/components/swipe-action/index.js +0 -3
  681. package/cjs/components/swipe-action/swipe-action.js +0 -40
  682. package/cjs/components/swiper/index.js +0 -6
  683. package/cjs/components/swiper/swiper-item.js +0 -5
  684. package/cjs/components/swiper/swiper.js +0 -47
  685. package/cjs/components/switch/index.js +0 -3
  686. package/cjs/components/switch/spin-icon.js +0 -5
  687. package/cjs/components/switch/switch.js +0 -23
  688. package/cjs/components/tab-bar/index.js +0 -5
  689. package/cjs/components/tab-bar/tab-bar.js +0 -22
  690. package/cjs/components/tabs/index.js +0 -5
  691. package/cjs/components/tabs/tabs.js +0 -34
  692. package/cjs/components/tag/index.js +0 -3
  693. package/cjs/components/tag/tag.js +0 -9
  694. package/cjs/components/text-area/index.js +0 -3
  695. package/cjs/components/text-area/text-area.js +0 -27
  696. package/cjs/components/toast/index.js +0 -3
  697. package/cjs/components/toast/methods.js +0 -17
  698. package/cjs/components/toast/toast.js +0 -19
  699. package/cjs/components/tree-select/index.js +0 -6
  700. package/cjs/components/tree-select/multiple.js +26 -87
  701. package/cjs/components/tree-select/tree-select.js +4 -32
  702. package/cjs/components/virtual-input/index.js +0 -3
  703. package/cjs/components/virtual-input/virtual-input.js +0 -28
  704. package/cjs/components/water-mark/index.js +0 -3
  705. package/cjs/components/water-mark/water-mark.js +2 -15
  706. package/cjs/global/index.js +2 -3
  707. package/cjs/index.js +0 -85
  708. package/cjs/locales/en-US.js +0 -3
  709. package/cjs/locales/es-ES.js +0 -3
  710. package/cjs/locales/fa-IR.js +0 -3
  711. package/cjs/locales/fr-FR.js +0 -3
  712. package/cjs/locales/id-ID.js +0 -3
  713. package/cjs/locales/ja-JP.d.ts +127 -0
  714. package/cjs/locales/ja-JP.js +137 -0
  715. package/cjs/locales/kk-KZ.js +0 -3
  716. package/cjs/locales/ko-KR.js +0 -3
  717. package/cjs/locales/zh-CN.js +0 -3
  718. package/cjs/locales/zh-HK.js +0 -3
  719. package/cjs/locales/zh-TW.js +0 -3
  720. package/cjs/utils/attach-properties-to-component.js +0 -3
  721. package/cjs/utils/bound.js +0 -4
  722. package/cjs/utils/convert-px.js +0 -9
  723. package/cjs/utils/create-icon-component.js +0 -2
  724. package/cjs/utils/dev-log.d.ts +1 -0
  725. package/cjs/utils/dev-log.js +23 -3
  726. package/cjs/utils/generate-int-array.js +0 -3
  727. package/cjs/utils/get-container.d.ts +2 -1
  728. package/cjs/utils/get-container.js +0 -1
  729. package/cjs/utils/get-scroll-parent.js +0 -9
  730. package/cjs/utils/is-node-with-content.js +0 -1
  731. package/cjs/utils/matrix.js +0 -18
  732. package/cjs/utils/measure-css-length.js +0 -7
  733. package/cjs/utils/merge-locale.js +0 -5
  734. package/cjs/utils/native-props.js +0 -10
  735. package/cjs/utils/nearest.js +0 -1
  736. package/cjs/utils/noop.js +0 -2
  737. package/cjs/utils/reduce-and-restore-motion.js +0 -10
  738. package/cjs/utils/render-imperatively.js +0 -15
  739. package/cjs/utils/render-to-body.js +0 -5
  740. package/cjs/utils/render-to-container.js +0 -5
  741. package/cjs/utils/render.js +4 -22
  742. package/cjs/utils/rubberband.js +0 -3
  743. package/cjs/utils/should-render.js +0 -4
  744. package/cjs/utils/shuffle.js +0 -3
  745. package/cjs/utils/sleep.js +0 -2
  746. package/cjs/utils/supports-passive.js +0 -4
  747. package/cjs/utils/to-css-length.js +0 -1
  748. package/cjs/utils/traverse-react-node.js +0 -6
  749. package/cjs/utils/tree.js +0 -2
  750. package/cjs/utils/undefined-fallback.js +0 -3
  751. package/cjs/utils/use-drag-and-pinch.js +0 -2
  752. package/cjs/utils/use-initialized.js +0 -4
  753. package/cjs/utils/use-inner-visible.js +0 -3
  754. package/cjs/utils/use-isomorphic-update-layout-effect.js +0 -2
  755. package/cjs/utils/use-lock-scroll.d.ts +1 -1
  756. package/cjs/utils/use-lock-scroll.js +20 -16
  757. package/cjs/utils/use-mutation-effect.js +0 -3
  758. package/cjs/utils/use-props-value.js +0 -5
  759. package/cjs/utils/use-ref-state.js +0 -2
  760. package/cjs/utils/use-resize-effect.js +0 -3
  761. package/cjs/utils/use-tab-list-scroll.js +0 -9
  762. package/cjs/utils/use-touch.js +2 -15
  763. package/cjs/utils/validate.js +0 -9
  764. package/cjs/utils/with-cache.js +0 -2
  765. package/cjs/utils/with-default-props.js +0 -6
  766. package/cjs/utils/with-stop-propagation.js +0 -8
  767. package/es/components/action-sheet/action-sheet.js +0 -5
  768. package/es/components/button/button.js +0 -4
  769. package/es/components/calendar/calendar.js +0 -27
  770. package/es/components/calendar/convert.js +0 -3
  771. package/es/components/capsule-tabs/capsule-tabs.js +0 -7
  772. package/es/components/card/card.js +0 -4
  773. package/es/components/cascade-picker/cascade-picker-utils.js +0 -5
  774. package/es/components/cascade-picker/cascade-picker.js +3 -4
  775. package/es/components/cascade-picker/prompt.js +0 -4
  776. package/es/components/cascade-picker-view/cascade-picker-view.js +3 -4
  777. package/es/components/cascader/cascader.js +0 -7
  778. package/es/components/cascader/prompt.js +0 -4
  779. package/es/components/cascader-view/cascader-view.js +0 -12
  780. package/es/components/cascader-view/use-cascader-value-extend.js +0 -9
  781. package/es/components/center-popup/center-popup.js +0 -5
  782. package/es/components/check-list/check-list-item.js +0 -5
  783. package/es/components/check-list/check-list.js +0 -3
  784. package/es/components/checkbox/checkbox.js +0 -11
  785. package/es/components/checkbox/group.js +2 -1
  786. package/es/components/collapse/collapse.js +0 -13
  787. package/es/components/config-provider/config-provider.js +3 -5
  788. package/es/components/date-picker/date-picker-date-utils.js +0 -15
  789. package/es/components/date-picker/date-picker-week-utils.js +0 -11
  790. package/es/components/date-picker/date-picker.js +0 -3
  791. package/es/components/date-picker/prompt.js +0 -4
  792. package/es/components/date-picker-view/date-picker-view.js +0 -3
  793. package/es/components/dialog/alert.js +0 -1
  794. package/es/components/dialog/confirm.js +0 -3
  795. package/es/components/dialog/dialog.js +0 -4
  796. package/es/components/dialog/show.js +0 -1
  797. package/es/components/dot-loading/dot-loading.js +0 -1
  798. package/es/components/dropdown/dropdown.js +4 -7
  799. package/es/components/dropdown/item.js +0 -3
  800. package/es/components/ellipsis/ellipsis.js +1 -17
  801. package/es/components/empty/empty.js +0 -5
  802. package/es/components/error-block/create-error-block.js +0 -2
  803. package/es/components/floating-bubble/floating-bubble.js +2 -8
  804. package/es/components/floating-panel/floating-panel.js +0 -9
  805. package/es/components/footer/footer.js +0 -3
  806. package/es/components/form/form-array.js +0 -3
  807. package/es/components/form/form-item.js +33 -75
  808. package/es/components/form/form.js +11 -17
  809. package/es/components/form/utils.js +4 -6
  810. package/es/components/grid/grid.js +0 -2
  811. package/es/components/image/image.js +0 -8
  812. package/es/components/image-uploader/image-uploader.js +0 -21
  813. package/es/components/image-uploader/preview-item.js +0 -7
  814. package/es/components/image-viewer/image-viewer.js +0 -6
  815. package/es/components/image-viewer/methods.js +0 -2
  816. package/es/components/image-viewer/slide.js +0 -16
  817. package/es/components/image-viewer/slides.js +0 -4
  818. package/es/components/index-bar/index-bar.js +0 -11
  819. package/es/components/index-bar/sidebar.js +0 -1
  820. package/es/components/infinite-scroll/infinite-scroll.js +4 -15
  821. package/es/components/input/input.js +2 -23
  822. package/es/components/jumbo-tabs/jumbo-tabs.js +0 -7
  823. package/es/components/list/list-item.js +0 -1
  824. package/es/components/list/list.js +0 -1
  825. package/es/components/mask/mask.js +0 -4
  826. package/es/components/modal/alert.js +0 -1
  827. package/es/components/modal/confirm.js +0 -3
  828. package/es/components/modal/modal.js +0 -3
  829. package/es/components/modal/show.js +0 -1
  830. package/es/components/nav-bar/nav-bar.d.ts +1 -1
  831. package/es/components/nav-bar/nav-bar.js +0 -1
  832. package/es/components/notice-bar/notice-bar.js +0 -7
  833. package/es/components/number-keyboard/number-keyboard.css +1 -1
  834. package/es/components/number-keyboard/number-keyboard.js +0 -18
  835. package/es/components/page-indicator/page-indicator.js +0 -2
  836. package/es/components/passcode-input/passcode-input.css +1 -1
  837. package/es/components/passcode-input/passcode-input.js +2 -19
  838. package/es/components/picker/picker.css +1 -0
  839. package/es/components/picker/picker.js +0 -7
  840. package/es/components/picker/prompt.js +0 -4
  841. package/es/components/picker-view/columns-extend.js +0 -3
  842. package/es/components/picker-view/picker-view.css +1 -0
  843. package/es/components/picker-view/picker-view.js +2 -4
  844. package/es/components/picker-view/wheel.js +0 -14
  845. package/es/components/popover/normalize-placement.js +0 -1
  846. package/es/components/popover/popover-menu.js +2 -7
  847. package/es/components/popover/popover.js +0 -6
  848. package/es/components/popover/wrapper.js +0 -5
  849. package/es/components/popup/popup.js +1 -10
  850. package/es/components/progress-bar/progress-bar.js +0 -4
  851. package/es/components/pull-to-refresh/pull-to-refresh.js +2 -27
  852. package/es/components/radio/group.js +2 -2
  853. package/es/components/radio/radio.js +0 -10
  854. package/es/components/rate/rate.js +0 -4
  855. package/es/components/search-bar/search-bar.js +0 -15
  856. package/es/components/selector/selector.js +0 -3
  857. package/es/components/side-bar/side-bar.js +0 -5
  858. package/es/components/slider/marks.js +0 -4
  859. package/es/components/slider/slider.js +12 -31
  860. package/es/components/slider/thumb.js +0 -7
  861. package/es/components/slider/ticks.js +0 -2
  862. package/es/components/spin-loading/spin-loading.js +0 -1
  863. package/es/components/stepper/stepper.js +0 -20
  864. package/es/components/steps/steps.js +0 -4
  865. package/es/components/swipe-action/swipe-action.js +0 -28
  866. package/es/components/swiper/swiper.js +0 -28
  867. package/es/components/switch/switch.js +0 -8
  868. package/es/components/tab-bar/tab-bar.js +0 -9
  869. package/es/components/tabs/tabs.js +0 -13
  870. package/es/components/tag/tag.js +0 -1
  871. package/es/components/text-area/text-area.js +0 -18
  872. package/es/components/toast/methods.js +0 -8
  873. package/es/components/toast/toast.js +0 -6
  874. package/es/components/tree-select/multiple.js +26 -72
  875. package/es/components/tree-select/tree-select.js +4 -19
  876. package/es/components/virtual-input/virtual-input.js +0 -15
  877. package/es/components/water-mark/water-mark.js +2 -5
  878. package/es/global/index.js +2 -2
  879. package/es/locales/ja-JP.d.ts +127 -0
  880. package/es/locales/ja-JP.js +130 -0
  881. package/es/utils/attach-properties-to-component.js +0 -2
  882. package/es/utils/bound.js +0 -3
  883. package/es/utils/convert-px.js +0 -5
  884. package/es/utils/create-icon-component.js +0 -1
  885. package/es/utils/dev-log.d.ts +1 -0
  886. package/es/utils/dev-log.js +22 -0
  887. package/es/utils/generate-int-array.js +0 -2
  888. package/es/utils/get-container.d.ts +2 -1
  889. package/es/utils/get-scroll-parent.js +0 -7
  890. package/es/utils/measure-css-length.js +0 -4
  891. package/es/utils/merge-locale.js +0 -4
  892. package/es/utils/native-props.js +0 -6
  893. package/es/utils/reduce-and-restore-motion.js +0 -2
  894. package/es/utils/render-imperatively.js +0 -8
  895. package/es/utils/render-to-body.js +0 -3
  896. package/es/utils/render-to-container.js +0 -1
  897. package/es/utils/render.js +6 -18
  898. package/es/utils/shuffle.js +0 -2
  899. package/es/utils/supports-passive.js +0 -2
  900. package/es/utils/traverse-react-node.js +0 -2
  901. package/es/utils/tree.js +0 -1
  902. package/es/utils/undefined-fallback.js +0 -2
  903. package/es/utils/use-initialized.js +0 -2
  904. package/es/utils/use-lock-scroll.d.ts +1 -1
  905. package/es/utils/use-lock-scroll.js +20 -11
  906. package/es/utils/use-props-value.js +0 -2
  907. package/es/utils/use-resize-effect.js +0 -1
  908. package/es/utils/use-tab-list-scroll.js +0 -2
  909. package/es/utils/use-touch.js +2 -13
  910. package/es/utils/with-cache.js +0 -1
  911. package/es/utils/with-default-props.js +0 -3
  912. package/es/utils/with-stop-propagation.js +0 -4
  913. package/package.json +2 -2
  914. package/umd/antd-mobile.js +1 -1
  915. package/umd/antd-mobile.js.LICENSE.txt +3 -3
  916. package/2x/bundle/antd-mobile.compatible.umd.js +0 -25558
  917. package/2x/umd/antd-mobile.js +0 -25558
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import React__default, { useContext, useRef, useMemo, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$1, forwardRef, useImperativeHandle, memo, createContext, cloneElement } from "react";
2
+ import React__default, { useContext, useRef, useMemo, useEffect, useState, useCallback, useLayoutEffect, forwardRef, useImperativeHandle, memo, createContext, cloneElement } from "react";
3
3
  import * as ReactDOM from "react-dom";
4
4
  import { unstable_batchedUpdates, createPortal, findDOMNode } from "react-dom";
5
5
  const global$2 = "";
@@ -352,11 +352,11 @@ function attachPropertiesToComponent(component, properties) {
352
352
  return ret;
353
353
  }
354
354
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
355
- var classnames = { exports: {} };
355
+ var _classnames_2_3_2_classnames = { exports: {} };
356
356
  /*!
357
- Copyright (c) 2018 Jed Watson.
358
- Licensed under the MIT License (MIT), see
359
- http://jedwatson.github.io/classnames
357
+ Copyright (c) 2018 Jed Watson.
358
+ Licensed under the MIT License (MIT), see
359
+ http://jedwatson.github.io/classnames
360
360
  */
361
361
  (function(module) {
362
362
  (function() {
@@ -378,14 +378,14 @@ var classnames = { exports: {} };
378
378
  }
379
379
  }
380
380
  } else if (argType === "object") {
381
- if (arg.toString === Object.prototype.toString) {
382
- for (var key in arg) {
383
- if (hasOwn.call(arg, key) && arg[key]) {
384
- classes.push(key);
385
- }
386
- }
387
- } else {
381
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
388
382
  classes.push(arg.toString());
383
+ continue;
384
+ }
385
+ for (var key in arg) {
386
+ if (hasOwn.call(arg, key) && arg[key]) {
387
+ classes.push(key);
388
+ }
389
389
  }
390
390
  }
391
391
  }
@@ -398,8 +398,8 @@ var classnames = { exports: {} };
398
398
  window.classNames = classNames2;
399
399
  }
400
400
  })();
401
- })(classnames);
402
- const classNames = classnames.exports;
401
+ })(_classnames_2_3_2_classnames);
402
+ const classNames = _classnames_2_3_2_classnames.exports;
403
403
  function withNativeProps(props, element) {
404
404
  const p = Object.assign({}, element.props);
405
405
  if (props.className) {
@@ -517,7 +517,9 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
517
517
  var funcProto$1 = Function.prototype, objectProto$c = Object.prototype;
518
518
  var funcToString$1 = funcProto$1.toString;
519
519
  var hasOwnProperty$a = objectProto$c.hasOwnProperty;
520
- var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
520
+ var reIsNative = RegExp(
521
+ "^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
522
+ );
521
523
  function baseIsNative$1(value) {
522
524
  if (!isObject$9(value) || isMasked(value)) {
523
525
  return false;
@@ -895,10 +897,12 @@ var isFunction$1 = function isFunction(value) {
895
897
  var isNumber = function isNumber2(value) {
896
898
  return typeof value === "number";
897
899
  };
900
+ var isDev = true;
901
+ const isDev$1 = isDev;
898
902
  function useMemoizedFn(fn) {
899
- {
903
+ if (isDev$1) {
900
904
  if (!isFunction$1(fn)) {
901
- console.error("useMemoizedFn expected parameter is a function, got " + typeof fn);
905
+ console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof fn));
902
906
  }
903
907
  }
904
908
  var fnRef = useRef(fn);
@@ -933,9 +937,9 @@ function useLatest(value) {
933
937
  return ref;
934
938
  }
935
939
  var useUnmount = function useUnmount2(fn) {
936
- {
940
+ if (isDev$1) {
937
941
  if (!isFunction$1(fn)) {
938
- console.error("useUnmount expected parameter is a function, got " + typeof fn);
942
+ console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
939
943
  }
940
944
  }
941
945
  var fnRef = useLatest(fn);
@@ -1102,9 +1106,9 @@ function throttle$1(func, wait, options) {
1102
1106
  }
1103
1107
  var throttle_1 = throttle$1;
1104
1108
  var useMount = function useMount2(fn) {
1105
- {
1109
+ if (isDev$1) {
1106
1110
  if (!isFunction$1(fn)) {
1107
- console.error('useMount: parameter `fn` expected to be a function, but got "' + typeof fn + '".');
1111
+ console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
1108
1112
  }
1109
1113
  }
1110
1114
  useEffect(function() {
@@ -1272,7 +1276,7 @@ var dayjs_min = { exports: {} };
1272
1276
  }, p: function(t2) {
1273
1277
  return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
1274
1278
  }, u: function(t2) {
1275
- return t2 === void 0;
1279
+ return void 0 === t2;
1276
1280
  } }, v = "en", D = {};
1277
1281
  D[v] = M;
1278
1282
  var p = function(t2) {
@@ -1281,7 +1285,7 @@ var dayjs_min = { exports: {} };
1281
1285
  var i2;
1282
1286
  if (!e2)
1283
1287
  return v;
1284
- if (typeof e2 == "string") {
1288
+ if ("string" == typeof e2) {
1285
1289
  var s2 = e2.toLowerCase();
1286
1290
  D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
1287
1291
  var u2 = e2.split("-");
@@ -1295,7 +1299,7 @@ var dayjs_min = { exports: {} };
1295
1299
  }, w = function(t2, e2) {
1296
1300
  if (p(t2))
1297
1301
  return t2.clone();
1298
- var n2 = typeof e2 == "object" ? e2 : {};
1302
+ var n2 = "object" == typeof e2 ? e2 : {};
1299
1303
  return n2.date = t2, n2.args = arguments, new _(n2);
1300
1304
  }, O = g;
1301
1305
  O.l = S, O.i = p, O.w = function(t2, e2) {
@@ -1309,13 +1313,13 @@ var dayjs_min = { exports: {} };
1309
1313
  return m2.parse = function(t2) {
1310
1314
  this.$d = function(t3) {
1311
1315
  var e2 = t3.date, n2 = t3.utc;
1312
- if (e2 === null)
1316
+ if (null === e2)
1313
1317
  return new Date(NaN);
1314
1318
  if (O.u(e2))
1315
1319
  return new Date();
1316
1320
  if (e2 instanceof Date)
1317
1321
  return new Date(e2);
1318
- if (typeof e2 == "string" && !/Z$/i.test(e2)) {
1322
+ if ("string" == typeof e2 && !/Z$/i.test(e2)) {
1319
1323
  var r2 = e2.match(l);
1320
1324
  if (r2) {
1321
1325
  var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
@@ -1481,17 +1485,22 @@ var __read$6 = globalThis && globalThis.__read || function(o, n) {
1481
1485
  }
1482
1486
  return ar;
1483
1487
  };
1484
- var __spread$2 = globalThis && globalThis.__spread || function() {
1485
- for (var ar = [], i = 0; i < arguments.length; i++) {
1486
- ar = ar.concat(__read$6(arguments[i]));
1487
- }
1488
- return ar;
1488
+ var __spreadArray$2 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
1489
+ if (pack || arguments.length === 2)
1490
+ for (var i = 0, l = from.length, ar; i < l; i++) {
1491
+ if (ar || !(i in from)) {
1492
+ if (!ar)
1493
+ ar = Array.prototype.slice.call(from, 0, i);
1494
+ ar[i] = from[i];
1495
+ }
1496
+ }
1497
+ return to2.concat(ar || Array.prototype.slice.call(from));
1489
1498
  };
1490
1499
  function useDebounceFn(fn, options) {
1491
1500
  var _a;
1492
- {
1501
+ if (isDev$1) {
1493
1502
  if (!isFunction$1(fn)) {
1494
- console.error("useDebounceFn expected parameter is a function, got " + typeof fn);
1503
+ console.error("useDebounceFn expected parameter is a function, got ".concat(typeof fn));
1495
1504
  }
1496
1505
  }
1497
1506
  var fnRef = useLatest(fn);
@@ -1502,7 +1511,7 @@ function useDebounceFn(fn, options) {
1502
1511
  for (var _i = 0; _i < arguments.length; _i++) {
1503
1512
  args[_i] = arguments[_i];
1504
1513
  }
1505
- return fnRef.current.apply(fnRef, __spread$2(args));
1514
+ return fnRef.current.apply(fnRef, __spreadArray$2([], __read$6(args), false));
1506
1515
  }, wait, options);
1507
1516
  }, []);
1508
1517
  useUnmount$1(function() {
@@ -2137,11 +2146,15 @@ var isEqual_1 = isEqual$1;
2137
2146
  }
2138
2147
  if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) {
2139
2148
  if (!("isIntersecting" in window.IntersectionObserverEntry.prototype)) {
2140
- Object.defineProperty(window.IntersectionObserverEntry.prototype, "isIntersecting", {
2141
- get: function() {
2142
- return this.intersectionRatio > 0;
2149
+ Object.defineProperty(
2150
+ window.IntersectionObserverEntry.prototype,
2151
+ "isIntersecting",
2152
+ {
2153
+ get: function() {
2154
+ return this.intersectionRatio > 0;
2155
+ }
2143
2156
  }
2144
- });
2157
+ );
2145
2158
  }
2146
2159
  return;
2147
2160
  }
@@ -2189,7 +2202,10 @@ var isEqual_1 = isEqual$1;
2189
2202
  if (options.root && options.root.nodeType != 1 && options.root.nodeType != 9) {
2190
2203
  throw new Error("root must be a Document or Element");
2191
2204
  }
2192
- this._checkForIntersections = throttle2(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);
2205
+ this._checkForIntersections = throttle2(
2206
+ this._checkForIntersections.bind(this),
2207
+ this.THROTTLE_TIMEOUT
2208
+ );
2193
2209
  this._callback = callback;
2194
2210
  this._observationTargets = [];
2195
2211
  this._queuedEntries = [];
@@ -2750,8 +2766,8 @@ function useInViewport(target, options) {
2750
2766
  }, [], target);
2751
2767
  return [state, ratio];
2752
2768
  }
2753
- var useIsomorphicLayoutEffect = isBrowser$3 ? useLayoutEffect$1 : useEffect;
2754
- const useIsomorphicLayoutEffect$1 = useIsomorphicLayoutEffect;
2769
+ var useIsomorphicLayoutEffect$1 = isBrowser$3 ? useLayoutEffect : useEffect;
2770
+ const useIsomorphicLayoutEffect$2 = useIsomorphicLayoutEffect$1;
2755
2771
  var __awaiter = globalThis && globalThis.__awaiter || function(thisArg, _arguments, P2, generator) {
2756
2772
  function adopt(value) {
2757
2773
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -2895,11 +2911,16 @@ var __read$3 = globalThis && globalThis.__read || function(o, n) {
2895
2911
  }
2896
2912
  return ar;
2897
2913
  };
2898
- var __spread$1 = globalThis && globalThis.__spread || function() {
2899
- for (var ar = [], i = 0; i < arguments.length; i++) {
2900
- ar = ar.concat(__read$3(arguments[i]));
2901
- }
2902
- return ar;
2914
+ var __spreadArray$1 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
2915
+ if (pack || arguments.length === 2)
2916
+ for (var i = 0, l = from.length, ar; i < l; i++) {
2917
+ if (ar || !(i in from)) {
2918
+ if (!ar)
2919
+ ar = Array.prototype.slice.call(from, 0, i);
2920
+ ar[i] = from[i];
2921
+ }
2922
+ }
2923
+ return to2.concat(ar || Array.prototype.slice.call(from));
2903
2924
  };
2904
2925
  function useLockFn(fn) {
2905
2926
  var _this = this;
@@ -2915,32 +2936,22 @@ function useLockFn(fn) {
2915
2936
  switch (_a.label) {
2916
2937
  case 0:
2917
2938
  if (lockRef.current)
2918
- return [
2919
- 2
2920
- ];
2939
+ return [2];
2921
2940
  lockRef.current = true;
2922
2941
  _a.label = 1;
2923
2942
  case 1:
2924
2943
  _a.trys.push([1, 3, , 4]);
2925
- return [
2926
- 4,
2927
- fn.apply(void 0, __spread$1(args))
2928
- ];
2944
+ return [4, fn.apply(void 0, __spreadArray$1([], __read$3(args), false))];
2929
2945
  case 2:
2930
2946
  ret = _a.sent();
2931
2947
  lockRef.current = false;
2932
- return [
2933
- 2,
2934
- ret
2935
- ];
2948
+ return [2, ret];
2936
2949
  case 3:
2937
2950
  e_1 = _a.sent();
2938
2951
  lockRef.current = false;
2939
2952
  throw e_1;
2940
2953
  case 4:
2941
- return [
2942
- 2
2943
- ];
2954
+ return [2];
2944
2955
  }
2945
2956
  });
2946
2957
  });
@@ -3466,7 +3477,7 @@ var index$k = function() {
3466
3477
  }
3467
3478
  return ResizeObserver$1;
3468
3479
  }();
3469
- var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$1);
3480
+ var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect);
3470
3481
  const useLayoutEffectWithTarget = useEffectWithTarget;
3471
3482
  var useIsomorphicLayoutEffectWithTarget = isBrowser$3 ? useLayoutEffectWithTarget : useEffectWithTarget$2;
3472
3483
  const useIsomorphicLayoutEffectWithTarget$1 = useIsomorphicLayoutEffectWithTarget;
@@ -3541,17 +3552,22 @@ var __read = globalThis && globalThis.__read || function(o, n) {
3541
3552
  }
3542
3553
  return ar;
3543
3554
  };
3544
- var __spread = globalThis && globalThis.__spread || function() {
3545
- for (var ar = [], i = 0; i < arguments.length; i++) {
3546
- ar = ar.concat(__read(arguments[i]));
3547
- }
3548
- return ar;
3555
+ var __spreadArray = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
3556
+ if (pack || arguments.length === 2)
3557
+ for (var i = 0, l = from.length, ar; i < l; i++) {
3558
+ if (ar || !(i in from)) {
3559
+ if (!ar)
3560
+ ar = Array.prototype.slice.call(from, 0, i);
3561
+ ar[i] = from[i];
3562
+ }
3563
+ }
3564
+ return to2.concat(ar || Array.prototype.slice.call(from));
3549
3565
  };
3550
3566
  function useThrottleFn(fn, options) {
3551
3567
  var _a;
3552
- {
3568
+ if (isDev$1) {
3553
3569
  if (!isFunction$1(fn)) {
3554
- console.error("useThrottleFn expected parameter is a function, got " + typeof fn);
3570
+ console.error("useThrottleFn expected parameter is a function, got ".concat(typeof fn));
3555
3571
  }
3556
3572
  }
3557
3573
  var fnRef = useLatest(fn);
@@ -3562,7 +3578,7 @@ function useThrottleFn(fn, options) {
3562
3578
  for (var _i = 0; _i < arguments.length; _i++) {
3563
3579
  args[_i] = arguments[_i];
3564
3580
  }
3565
- return fnRef.current.apply(fnRef, __spread(args));
3581
+ return fnRef.current.apply(fnRef, __spreadArray([], __read(args), false));
3566
3582
  }, wait, options);
3567
3583
  }, []);
3568
3584
  useUnmount$1(function() {
@@ -3576,10 +3592,11 @@ function useThrottleFn(fn, options) {
3576
3592
  }
3577
3593
  function useTimeout(fn, delay) {
3578
3594
  var fnRef = useLatest(fn);
3579
- var timerRef = useRef();
3595
+ var timerRef = useRef(null);
3580
3596
  useEffect(function() {
3581
- if (!isNumber(delay) || delay < 0)
3597
+ if (!isNumber(delay) || delay < 0) {
3582
3598
  return;
3599
+ }
3583
3600
  timerRef.current = setTimeout(function() {
3584
3601
  fnRef.current();
3585
3602
  }, delay);
@@ -3691,6 +3708,16 @@ if (canUseDom) {
3691
3708
  }
3692
3709
  let totalLockCount = 0;
3693
3710
  const BODY_LOCK_CLASS = "adm-overflow-hidden";
3711
+ function getScrollableElement(el) {
3712
+ let current = el === null || el === void 0 ? void 0 : el.parentElement;
3713
+ while (current) {
3714
+ if (current.clientHeight < current.scrollHeight) {
3715
+ return current;
3716
+ }
3717
+ current = current.parentElement;
3718
+ }
3719
+ return null;
3720
+ }
3694
3721
  function useLockScroll(rootRef, shouldLock) {
3695
3722
  const touch = useTouch();
3696
3723
  const onTouchMove = (event) => {
@@ -3699,6 +3726,13 @@ function useLockScroll(rootRef, shouldLock) {
3699
3726
  const el = getScrollParent(event.target, rootRef.current);
3700
3727
  if (!el)
3701
3728
  return;
3729
+ if (shouldLock === "strict") {
3730
+ const scrollableParent = getScrollableElement(event.target);
3731
+ if (scrollableParent === document.body || scrollableParent === document.documentElement) {
3732
+ event.preventDefault();
3733
+ return;
3734
+ }
3735
+ }
3702
3736
  const {
3703
3737
  scrollHeight,
3704
3738
  offsetHeight,
@@ -3778,9 +3812,9 @@ let findTimeout = (time) => ~(~timeouts.findIndex((t) => t.time > time) || ~time
3778
3812
  raf.cancel = (fn) => {
3779
3813
  onStartQueue.delete(fn);
3780
3814
  onFrameQueue.delete(fn);
3815
+ onFinishQueue.delete(fn);
3781
3816
  updateQueue.delete(fn);
3782
3817
  writeQueue.delete(fn);
3783
- onFinishQueue.delete(fn);
3784
3818
  };
3785
3819
  raf.sync = (fn) => {
3786
3820
  sync = true;
@@ -3858,14 +3892,15 @@ function update() {
3858
3892
  eachSafely(timeouts.splice(0, count), (t) => t.handler());
3859
3893
  pendingCount -= count;
3860
3894
  }
3895
+ if (!pendingCount) {
3896
+ stop();
3897
+ return;
3898
+ }
3861
3899
  onStartQueue.flush();
3862
3900
  updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667);
3863
3901
  onFrameQueue.flush();
3864
3902
  writeQueue.flush();
3865
3903
  onFinishQueue.flush();
3866
- if (!pendingCount) {
3867
- stop();
3868
- }
3869
3904
  }
3870
3905
  function makeQueue() {
3871
3906
  let next = /* @__PURE__ */ new Set();
@@ -4385,7 +4420,7 @@ function findRange(input2, inputRange) {
4385
4420
  return i - 1;
4386
4421
  }
4387
4422
  function _extends$4() {
4388
- _extends$4 = Object.assign || function(target) {
4423
+ _extends$4 = Object.assign ? Object.assign.bind() : function(target) {
4389
4424
  for (var i = 1; i < arguments.length; i++) {
4390
4425
  var source = arguments[i];
4391
4426
  for (var key in source) {
@@ -4547,10 +4582,10 @@ function deprecateDirectCall() {
4547
4582
  function isAnimatedString(value) {
4548
4583
  return is.str(value) && (value[0] == "#" || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
4549
4584
  }
4550
- const useLayoutEffect = typeof window !== "undefined" && window.document && window.document.createElement ? React$1.useLayoutEffect : React$1.useEffect;
4585
+ const useIsomorphicLayoutEffect = isSSR() ? useEffect : useLayoutEffect;
4551
4586
  const useIsMounted = () => {
4552
4587
  const isMounted = useRef(false);
4553
- useLayoutEffect(() => {
4588
+ useIsomorphicLayoutEffect(() => {
4554
4589
  isMounted.current = true;
4555
4590
  return () => {
4556
4591
  isMounted.current = false;
@@ -4798,7 +4833,7 @@ function getAnimatedType(value) {
4798
4833
  return parentNode ? parentNode.constructor : is.arr(value) ? AnimatedArray : isAnimatedString(value) ? AnimatedString : AnimatedValue;
4799
4834
  }
4800
4835
  function _extends$3() {
4801
- _extends$3 = Object.assign || function(target) {
4836
+ _extends$3 = Object.assign ? Object.assign.bind() : function(target) {
4802
4837
  for (var i = 1; i < arguments.length; i++) {
4803
4838
  var source = arguments[i];
4804
4839
  for (var key in source) {
@@ -4832,7 +4867,7 @@ const withAnimated = (Component, host2) => {
4832
4867
  };
4833
4868
  const observer = new PropsObserver(callback, deps);
4834
4869
  const observerRef = useRef();
4835
- useLayoutEffect(() => {
4870
+ useIsomorphicLayoutEffect(() => {
4836
4871
  observerRef.current = observer;
4837
4872
  each(deps, (dep) => addFluidObserver(dep, observer));
4838
4873
  return () => {
@@ -4917,7 +4952,7 @@ const createHost = (components, {
4917
4952
  };
4918
4953
  const getDisplayName = (arg) => is.str(arg) ? arg : arg && is.str(arg.displayName) ? arg.displayName : is.fun(arg) && arg.name || null;
4919
4954
  function _extends$2() {
4920
- _extends$2 = Object.assign || function(target) {
4955
+ _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
4921
4956
  for (var i = 1; i < arguments.length; i++) {
4922
4957
  var source = arguments[i];
4923
4958
  for (var key in source) {
@@ -5550,6 +5585,7 @@ class SpringValue extends FrameValue {
5550
5585
  const from = anim.fromValues[i];
5551
5586
  const v0 = node2.v0 != null ? node2.v0 : node2.v0 = is.arr(config2.velocity) ? config2.velocity[i] : config2.velocity;
5552
5587
  let velocity;
5588
+ const precision = config2.precision || (from == to2 ? 5e-3 : Math.min(1, Math.abs(to2 - from) * 1e-3));
5553
5589
  if (!is.und(config2.duration)) {
5554
5590
  let p = 1;
5555
5591
  if (config2.duration > 0) {
@@ -5571,11 +5607,10 @@ class SpringValue extends FrameValue {
5571
5607
  const decay = config2.decay === true ? 0.998 : config2.decay;
5572
5608
  const e = Math.exp(-(1 - decay) * elapsed);
5573
5609
  position = from + v0 / (1 - decay) * (1 - e);
5574
- finished = Math.abs(node2.lastPosition - position) < 0.1;
5610
+ finished = Math.abs(node2.lastPosition - position) <= precision;
5575
5611
  velocity = v0 * e;
5576
5612
  } else {
5577
5613
  velocity = node2.lastVelocity == null ? v0 : node2.lastVelocity;
5578
- const precision = config2.precision || (from == to2 ? 5e-3 : Math.min(1, Math.abs(to2 - from) * 1e-3));
5579
5614
  const restVelocity = config2.restVelocity || precision / 10;
5580
5615
  const bounceFactor = config2.clamp ? 0 : config2.bounce;
5581
5616
  const canBounce = !is.und(bounceFactor);
@@ -6568,7 +6603,7 @@ function useSprings(length, props, deps) {
6568
6603
  const context = useContext(SpringContext);
6569
6604
  const prevContext = usePrev(context);
6570
6605
  const hasContext = context !== prevContext && hasProps(context);
6571
- useLayoutEffect(() => {
6606
+ useIsomorphicLayoutEffect(() => {
6572
6607
  layoutId.current++;
6573
6608
  state.ctrls = ctrls.current;
6574
6609
  const {
@@ -7654,7 +7689,7 @@ const defaultPopupBaseProps = {
7654
7689
  };
7655
7690
  function useInnerVisible(outerVisible) {
7656
7691
  const [innerVisible, setInnerVisible] = useState(outerVisible);
7657
- useIsomorphicLayoutEffect$1(() => {
7692
+ useIsomorphicLayoutEffect$2(() => {
7658
7693
  setInnerVisible(outerVisible);
7659
7694
  }, [outerVisible]);
7660
7695
  return innerVisible;
@@ -7667,13 +7702,13 @@ const Popup = (p) => {
7667
7702
  const props = mergeProps(defaultProps$12, p);
7668
7703
  const bodyCls = classNames(`${classPrefix$1k}-body`, props.bodyClassName, `${classPrefix$1k}-body-position-${props.position}`);
7669
7704
  const [active, setActive] = useState(props.visible);
7670
- useIsomorphicLayoutEffect$1(() => {
7705
+ useIsomorphicLayoutEffect$2(() => {
7671
7706
  if (props.visible) {
7672
7707
  setActive(true);
7673
7708
  }
7674
7709
  }, [props.visible]);
7675
7710
  const ref = useRef(null);
7676
- useLockScroll(ref, props.disableBodyScroll && active);
7711
+ useLockScroll(ref, props.disableBodyScroll && active ? "strict" : false);
7677
7712
  const unmountedRef = useUnmountedRef$1();
7678
7713
  const {
7679
7714
  percent
@@ -7972,12 +8007,12 @@ const AutoCenter = (props) => {
7972
8007
  };
7973
8008
  const avatar = "";
7974
8009
  const image = "";
7975
- var stagedComponents = {};
8010
+ var _stagedComponents_1_1_3_stagedComponents = {};
7976
8011
  var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
7977
8012
  return mod && mod.__esModule ? mod : { "default": mod };
7978
8013
  };
7979
- Object.defineProperty(stagedComponents, "__esModule", { value: true });
7980
- var staged_1 = stagedComponents.staged = void 0;
8014
+ Object.defineProperty(_stagedComponents_1_1_3_stagedComponents, "__esModule", { value: true });
8015
+ var staged_1 = _stagedComponents_1_1_3_stagedComponents.staged = void 0;
7981
8016
  const react_1 = __importDefault(React__default);
7982
8017
  function processNext(next) {
7983
8018
  if (typeof next === "function") {
@@ -7996,7 +8031,7 @@ function staged(stage) {
7996
8031
  return processNext(next);
7997
8032
  };
7998
8033
  }
7999
- staged_1 = stagedComponents.staged = staged;
8034
+ staged_1 = _stagedComponents_1_1_3_stagedComponents.staged = staged;
8000
8035
  function toCSSLength(val) {
8001
8036
  return typeof val === "number" ? `${val}px` : val;
8002
8037
  }
@@ -8012,7 +8047,7 @@ const LazyDetector = (props) => {
8012
8047
  ref
8013
8048
  });
8014
8049
  };
8015
- const useIsomorphicUpdateLayoutEffect = createUpdateEffect(useIsomorphicLayoutEffect$1);
8050
+ const useIsomorphicUpdateLayoutEffect = createUpdateEffect(useIsomorphicLayoutEffect$2);
8016
8051
  const ImageIcon = () => React__default.createElement("svg", {
8017
8052
  viewBox: "0 0 48 48",
8018
8053
  xmlns: "http://www.w3.org/2000/svg"
@@ -8394,7 +8429,7 @@ var isoWeek$1 = { exports: {} };
8394
8429
  var n = d.startOf;
8395
8430
  d.startOf = function(e2, t2) {
8396
8431
  var i2 = this.$utils(), s2 = !!i2.u(t2) || t2;
8397
- return i2.p(e2) === "isoweek" ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e2, t2);
8432
+ return "isoweek" === i2.p(e2) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e2, t2);
8398
8433
  };
8399
8434
  };
8400
8435
  });
@@ -8634,7 +8669,7 @@ const Calendar = forwardRef((p, ref) => {
8634
8669
  const capsuleTabs = "";
8635
8670
  function useResizeEffect(effect, targetRef) {
8636
8671
  const fn = useMemoizedFn(effect);
8637
- useIsomorphicLayoutEffect$1(() => {
8672
+ useIsomorphicLayoutEffect$2(() => {
8638
8673
  const target = targetRef.current;
8639
8674
  if (!target)
8640
8675
  return;
@@ -8712,7 +8747,7 @@ const useTabListScroll = (targetRef, activeIndex) => {
8712
8747
  immediate: immediate && !scrollLeft.isAnimating
8713
8748
  });
8714
8749
  }
8715
- useIsomorphicLayoutEffect$1(() => {
8750
+ useIsomorphicLayoutEffect$2(() => {
8716
8751
  animate(true);
8717
8752
  }, []);
8718
8753
  useIsomorphicUpdateLayoutEffect(() => {
@@ -8789,7 +8824,7 @@ const ScrollMask = (props) => {
8789
8824
  }
8790
8825
  }));
8791
8826
  };
8792
- var reactIs$1 = { exports: {} };
8827
+ var _reactIs_17_0_2_reactIs = { exports: {} };
8793
8828
  var reactIs_development$1 = {};
8794
8829
  /** @license React v17.0.2
8795
8830
  * react-is.development.js
@@ -8984,12 +9019,12 @@ var reactIs_development$1 = {};
8984
9019
  {
8985
9020
  module.exports = reactIs_development$1;
8986
9021
  }
8987
- })(reactIs$1);
9022
+ })(_reactIs_17_0_2_reactIs);
8988
9023
  function traverseReactNode(children, fn) {
8989
9024
  let i = 0;
8990
9025
  function handle(target) {
8991
9026
  React__default.Children.forEach(target, (child) => {
8992
- if (!reactIs$1.exports.isFragment(child)) {
9027
+ if (!_reactIs_17_0_2_reactIs.exports.isFragment(child)) {
8993
9028
  fn(child, i);
8994
9029
  i += 1;
8995
9030
  } else {
@@ -9188,7 +9223,7 @@ function ownKeys$1(object4, enumerableOnly) {
9188
9223
  }
9189
9224
  function _objectSpread2$1(target) {
9190
9225
  for (var i = 1; i < arguments.length; i++) {
9191
- var source = arguments[i] != null ? arguments[i] : {};
9226
+ var source = null != arguments[i] ? arguments[i] : {};
9192
9227
  i % 2 ? ownKeys$1(Object(source), true).forEach(function(key) {
9193
9228
  _defineProperty$1(target, key, source[key]);
9194
9229
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function(key) {
@@ -9910,7 +9945,7 @@ Please upgrade to the latest version.`);
9910
9945
  this.emit();
9911
9946
  }
9912
9947
  pointerClick(event) {
9913
- if (!this.state.tap) {
9948
+ if (!this.state.tap && event.detail > 0) {
9914
9949
  event.preventDefault();
9915
9950
  event.stopPropagation();
9916
9951
  }
@@ -10618,23 +10653,21 @@ function resolveWith(config2 = {}, resolvers) {
10618
10653
  }
10619
10654
  return result2;
10620
10655
  }
10621
- function parse$1(config2, gestureKey) {
10622
- const _ref = config2, {
10656
+ function parse$1(newConfig, gestureKey, _config = {}) {
10657
+ const _ref = newConfig, {
10623
10658
  target,
10624
10659
  eventOptions,
10625
10660
  window: window2,
10626
10661
  enabled,
10627
10662
  transform
10628
10663
  } = _ref, rest = _objectWithoutProperties$1(_ref, _excluded$3);
10629
- const _config = {
10630
- shared: resolveWith({
10631
- target,
10632
- eventOptions,
10633
- window: window2,
10634
- enabled,
10635
- transform
10636
- }, sharedConfigResolver)
10637
- };
10664
+ _config.shared = resolveWith({
10665
+ target,
10666
+ eventOptions,
10667
+ window: window2,
10668
+ enabled,
10669
+ transform
10670
+ }, sharedConfigResolver);
10638
10671
  if (gestureKey) {
10639
10672
  const resolver = ConfigResolverMap.get(gestureKey);
10640
10673
  _config[gestureKey] = resolveWith(_objectSpread2$1({
@@ -10738,7 +10771,7 @@ class Controller {
10738
10771
  this.nativeHandlers = nativeHandlers;
10739
10772
  }
10740
10773
  applyConfig(config2, gestureKey) {
10741
- this.config = parse$1(config2, gestureKey);
10774
+ this.config = parse$1(config2, gestureKey, this.config);
10742
10775
  }
10743
10776
  clean() {
10744
10777
  this._targetEventStore.clean();
@@ -10985,13 +11018,13 @@ const Wheel = memo((props) => {
10985
11018
  const rootRef = useRef(null);
10986
11019
  const itemHeightMeasureRef = useRef(null);
10987
11020
  const itemHeight = useRef(34);
10988
- useIsomorphicLayoutEffect$1(() => {
11021
+ useIsomorphicLayoutEffect$2(() => {
10989
11022
  const itemHeightMeasure = itemHeightMeasureRef.current;
10990
11023
  if (!itemHeightMeasure)
10991
11024
  return;
10992
11025
  itemHeight.current = measureCSSLength(window.getComputedStyle(itemHeightMeasure).getPropertyValue("height"));
10993
11026
  });
10994
- useIsomorphicLayoutEffect$1(() => {
11027
+ useIsomorphicLayoutEffect$2(() => {
10995
11028
  if (draggingRef.current)
10996
11029
  return;
10997
11030
  if (value === null)
@@ -11005,7 +11038,7 @@ const Wheel = memo((props) => {
11005
11038
  immediate: y.goal !== finalPosition
11006
11039
  });
11007
11040
  }, [value, column]);
11008
- useIsomorphicLayoutEffect$1(() => {
11041
+ useIsomorphicLayoutEffect$2(() => {
11009
11042
  if (column.length === 0) {
11010
11043
  if (value !== null) {
11011
11044
  onSelect(null);
@@ -11852,7 +11885,7 @@ const Tabs$1 = (p) => {
11852
11885
  immediate
11853
11886
  });
11854
11887
  }
11855
- useIsomorphicLayoutEffect$1(() => {
11888
+ useIsomorphicLayoutEffect$2(() => {
11856
11889
  animate(!x.isAnimating);
11857
11890
  }, []);
11858
11891
  useIsomorphicUpdateLayoutEffect(() => {
@@ -11887,7 +11920,7 @@ const Tabs$1 = (p) => {
11887
11920
  trailing: true,
11888
11921
  leading: true
11889
11922
  });
11890
- useIsomorphicLayoutEffect$1(() => {
11923
+ useIsomorphicLayoutEffect$2(() => {
11891
11924
  updateMask(true);
11892
11925
  }, []);
11893
11926
  return withNativeProps(props, React__default.createElement("div", {
@@ -12477,7 +12510,7 @@ const CenterPopup = (p) => {
12477
12510
  }
12478
12511
  });
12479
12512
  const [active, setActive] = useState(props.visible);
12480
- useIsomorphicLayoutEffect$1(() => {
12513
+ useIsomorphicLayoutEffect$2(() => {
12481
12514
  if (props.visible) {
12482
12515
  setActive(true);
12483
12516
  }
@@ -12539,18 +12572,22 @@ const defaultProps$O = {
12539
12572
  const Group$1 = (p) => {
12540
12573
  const props = mergeProps(defaultProps$O, p);
12541
12574
  const [value, setValue2] = usePropsValue(props);
12542
- return React__default.createElement(CheckboxGroupContext.Provider, {
12543
- value: {
12544
- value,
12545
- disabled: props.disabled,
12546
- check: (v) => {
12547
- setValue2([...value, v]);
12548
- },
12549
- uncheck: (v) => {
12550
- setValue2(value.filter((item) => item !== v));
12575
+ return React__default.createElement(
12576
+ CheckboxGroupContext.Provider,
12577
+ {
12578
+ value: {
12579
+ value,
12580
+ disabled: props.disabled,
12581
+ check: (v) => {
12582
+ setValue2([...value, v]);
12583
+ },
12584
+ uncheck: (v) => {
12585
+ setValue2(value.filter((item) => item !== v));
12586
+ }
12551
12587
  }
12552
- }
12553
- }, props.children);
12588
+ },
12589
+ props.children
12590
+ );
12554
12591
  };
12555
12592
  const CheckIcon = memo((props) => {
12556
12593
  return withNativeProps(props, React__default.createElement("svg", {
@@ -12834,7 +12871,7 @@ var isoWeeksInYear$1 = { exports: {} };
12834
12871
  return function(e, n) {
12835
12872
  n.prototype.isoWeeksInYear = function() {
12836
12873
  var e2 = this.isLeapYear(), n2 = this.endOf("y").day();
12837
- return n2 === 4 || e2 && n2 === 5 ? 53 : 52;
12874
+ return 4 === n2 || e2 && 5 === n2 ? 53 : 52;
12838
12875
  };
12839
12876
  };
12840
12877
  });
@@ -13582,7 +13619,7 @@ const index$c = attachPropertiesToComponent(Dropdown, {
13582
13619
  Item
13583
13620
  });
13584
13621
  const ellipsis = "";
13585
- var runes$1 = { exports: {} };
13622
+ var _runes_0_4_3_runes = { exports: {} };
13586
13623
  const HIGH_SURROGATE_START = 55296;
13587
13624
  const HIGH_SURROGATE_END = 56319;
13588
13625
  const LOW_SURROGATE_START = 56320;
@@ -13700,13 +13737,14 @@ function substring(string3, start2, width) {
13700
13737
  }
13701
13738
  return chars.slice(start2, endIndex).join("");
13702
13739
  }
13703
- runes$1.exports = runes;
13704
- runes$1.exports.substr = substring;
13740
+ _runes_0_4_3_runes.exports = runes;
13741
+ _runes_0_4_3_runes.exports.substr = substring;
13705
13742
  const classPrefix$S = `adm-ellipsis`;
13706
13743
  const defaultProps$G = {
13707
13744
  direction: "end",
13708
13745
  rows: 1,
13709
13746
  expandText: "",
13747
+ content: "",
13710
13748
  collapseText: "",
13711
13749
  stopPropagationForActionButtons: [],
13712
13750
  onContentClick: () => {
@@ -13718,7 +13756,7 @@ const Ellipsis = (p) => {
13718
13756
  const [ellipsised, setEllipsised] = useState({});
13719
13757
  const [expanded, setExpanded] = useState(false);
13720
13758
  const [exceeded, setExceeded] = useState(false);
13721
- const chars = useMemo(() => runes$1.exports(props.content), [props.content]);
13759
+ const chars = useMemo(() => _runes_0_4_3_runes.exports(props.content), [props.content]);
13722
13760
  function getSubString(start2, end) {
13723
13761
  return chars.slice(start2, end).join("");
13724
13762
  }
@@ -13809,7 +13847,7 @@ const Ellipsis = (p) => {
13809
13847
  document.body.removeChild(container);
13810
13848
  }
13811
13849
  useResizeEffect(calcEllipsised, rootRef);
13812
- useIsomorphicLayoutEffect$1(() => {
13850
+ useIsomorphicLayoutEffect$2(() => {
13813
13851
  calcEllipsised();
13814
13852
  }, [props.content, props.direction, props.rows, props.expandText, props.collapseText]);
13815
13853
  const expandActionElement = exceeded && props.expandText ? withStopPropagation(props.stopPropagationForActionButtons, React__default.createElement("a", {
@@ -14718,7 +14756,7 @@ function ownKeys(object4, enumerableOnly) {
14718
14756
  }
14719
14757
  function _objectSpread2(target) {
14720
14758
  for (var i = 1; i < arguments.length; i++) {
14721
- var source = arguments[i] != null ? arguments[i] : {};
14759
+ var source = null != arguments[i] ? arguments[i] : {};
14722
14760
  i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
14723
14761
  _defineProperty(target, key, source[key]);
14724
14762
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
@@ -14840,10 +14878,10 @@ function _isNativeReflectConstruct$1() {
14840
14878
  }
14841
14879
  function _typeof$1(obj) {
14842
14880
  "@babel/helpers - typeof";
14843
- return _typeof$1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
14881
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
14844
14882
  return typeof obj2;
14845
14883
  } : function(obj2) {
14846
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14884
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14847
14885
  }, _typeof$1(obj);
14848
14886
  }
14849
14887
  function _possibleConstructorReturn(self2, call2) {
@@ -14867,7 +14905,7 @@ function _createSuper(Derived) {
14867
14905
  return _possibleConstructorReturn(this, result2);
14868
14906
  };
14869
14907
  }
14870
- var reactIs = { exports: {} };
14908
+ var _reactIs_16_13_1_reactIs = { exports: {} };
14871
14909
  var reactIs_development = {};
14872
14910
  /** @license React v16.13.1
14873
14911
  * react-is.development.js
@@ -15027,7 +15065,7 @@ var reactIs_development = {};
15027
15065
  {
15028
15066
  module.exports = reactIs_development;
15029
15067
  }
15030
- })(reactIs);
15068
+ })(_reactIs_16_13_1_reactIs);
15031
15069
  function toArray$2(children) {
15032
15070
  var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
15033
15071
  var ret = [];
@@ -15037,7 +15075,7 @@ function toArray$2(children) {
15037
15075
  }
15038
15076
  if (Array.isArray(child)) {
15039
15077
  ret = ret.concat(toArray$2(child));
15040
- } else if (reactIs.exports.isFragment(child) && child.props) {
15078
+ } else if (_reactIs_16_13_1_reactIs.exports.isFragment(child) && child.props) {
15041
15079
  ret = ret.concat(toArray$2(child.props.children, option));
15042
15080
  } else {
15043
15081
  ret.push(child);
@@ -15105,11 +15143,10 @@ function toArray$1(value) {
15105
15143
  return Array.isArray(value) ? value : [value];
15106
15144
  }
15107
15145
  function _regeneratorRuntime() {
15108
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
15109
15146
  _regeneratorRuntime = function _regeneratorRuntime2() {
15110
15147
  return exports;
15111
15148
  };
15112
- var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = typeof Symbol == "function" ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15149
+ var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15113
15150
  function define(obj, key, value) {
15114
15151
  return Object.defineProperty(obj, key, {
15115
15152
  value,
@@ -15130,10 +15167,10 @@ function _regeneratorRuntime() {
15130
15167
  return generator._invoke = function(innerFn2, self3, context2) {
15131
15168
  var state = "suspendedStart";
15132
15169
  return function(method4, arg) {
15133
- if (state === "executing")
15170
+ if ("executing" === state)
15134
15171
  throw new Error("Generator is already running");
15135
- if (state === "completed") {
15136
- if (method4 === "throw")
15172
+ if ("completed" === state) {
15173
+ if ("throw" === method4)
15137
15174
  throw arg;
15138
15175
  return doneResult();
15139
15176
  }
@@ -15147,17 +15184,17 @@ function _regeneratorRuntime() {
15147
15184
  return delegateResult;
15148
15185
  }
15149
15186
  }
15150
- if (context2.method === "next")
15187
+ if ("next" === context2.method)
15151
15188
  context2.sent = context2._sent = context2.arg;
15152
- else if (context2.method === "throw") {
15153
- if (state === "suspendedStart")
15189
+ else if ("throw" === context2.method) {
15190
+ if ("suspendedStart" === state)
15154
15191
  throw state = "completed", context2.arg;
15155
15192
  context2.dispatchException(context2.arg);
15156
15193
  } else
15157
- context2.method === "return" && context2.abrupt("return", context2.arg);
15194
+ "return" === context2.method && context2.abrupt("return", context2.arg);
15158
15195
  state = "executing";
15159
15196
  var record2 = tryCatch(innerFn2, self3, context2);
15160
- if (record2.type === "normal") {
15197
+ if ("normal" === record2.type) {
15161
15198
  if (state = context2.done ? "completed" : "suspendedYield", record2.arg === ContinueSentinel)
15162
15199
  continue;
15163
15200
  return {
@@ -15165,7 +15202,7 @@ function _regeneratorRuntime() {
15165
15202
  done: context2.done
15166
15203
  };
15167
15204
  }
15168
- record2.type === "throw" && (state = "completed", context2.method = "throw", context2.arg = record2.arg);
15205
+ "throw" === record2.type && (state = "completed", context2.method = "throw", context2.arg = record2.arg);
15169
15206
  }
15170
15207
  };
15171
15208
  }(innerFn, self2, context), generator;
@@ -15208,9 +15245,9 @@ function _regeneratorRuntime() {
15208
15245
  function AsyncIterator(generator, PromiseImpl) {
15209
15246
  function invoke(method4, arg, resolve, reject) {
15210
15247
  var record2 = tryCatch(generator[method4], generator, arg);
15211
- if (record2.type !== "throw") {
15248
+ if ("throw" !== record2.type) {
15212
15249
  var result2 = record2.arg, value = result2.value;
15213
- return value && _typeof$1(value) == "object" && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) {
15250
+ return value && "object" == _typeof$1(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) {
15214
15251
  invoke("next", value2, resolve, reject);
15215
15252
  }, function(err) {
15216
15253
  invoke("throw", err, resolve, reject);
@@ -15234,19 +15271,19 @@ function _regeneratorRuntime() {
15234
15271
  }
15235
15272
  function maybeInvokeDelegate(delegate, context) {
15236
15273
  var method4 = delegate.iterator[context.method];
15237
- if (method4 === void 0) {
15238
- if (context.delegate = null, context.method === "throw") {
15239
- if (delegate.iterator["return"] && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), context.method === "throw"))
15274
+ if (void 0 === method4) {
15275
+ if (context.delegate = null, "throw" === context.method) {
15276
+ if (delegate.iterator["return"] && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), "throw" === context.method))
15240
15277
  return ContinueSentinel;
15241
15278
  context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
15242
15279
  }
15243
15280
  return ContinueSentinel;
15244
15281
  }
15245
15282
  var record2 = tryCatch(method4, delegate.iterator, context.arg);
15246
- if (record2.type === "throw")
15283
+ if ("throw" === record2.type)
15247
15284
  return context.method = "throw", context.arg = record2.arg, context.delegate = null, ContinueSentinel;
15248
15285
  var info = record2.arg;
15249
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, context.method !== "return" && (context.method = "next", context.arg = void 0), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
15286
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = void 0), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
15250
15287
  }
15251
15288
  function pushTryEntry(locs) {
15252
15289
  var entry = {
@@ -15268,7 +15305,7 @@ function _regeneratorRuntime() {
15268
15305
  var iteratorMethod = iterable[iteratorSymbol];
15269
15306
  if (iteratorMethod)
15270
15307
  return iteratorMethod.call(iterable);
15271
- if (typeof iterable.next == "function")
15308
+ if ("function" == typeof iterable.next)
15272
15309
  return iterable;
15273
15310
  if (!isNaN(iterable.length)) {
15274
15311
  var i = -1, next = function next2() {
@@ -15292,8 +15329,8 @@ function _regeneratorRuntime() {
15292
15329
  };
15293
15330
  }
15294
15331
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function(genFun) {
15295
- var ctor = typeof genFun == "function" && genFun.constructor;
15296
- return !!ctor && (ctor === GeneratorFunction || (ctor.displayName || ctor.name) === "GeneratorFunction");
15332
+ var ctor = "function" == typeof genFun && genFun.constructor;
15333
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
15297
15334
  }, exports.mark = function(genFun) {
15298
15335
  return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
15299
15336
  }, exports.awrap = function(arg) {
@@ -15303,7 +15340,7 @@ function _regeneratorRuntime() {
15303
15340
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function() {
15304
15341
  return this;
15305
15342
  }), exports.AsyncIterator = AsyncIterator, exports.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
15306
- PromiseImpl === void 0 && (PromiseImpl = Promise);
15343
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
15307
15344
  var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
15308
15345
  return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result2) {
15309
15346
  return result2.done ? result2.value : iter.next();
@@ -15330,13 +15367,13 @@ function _regeneratorRuntime() {
15330
15367
  reset: function reset(skipTempReset) {
15331
15368
  if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset)
15332
15369
  for (var name in this) {
15333
- name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
15370
+ "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
15334
15371
  }
15335
15372
  },
15336
15373
  stop: function stop2() {
15337
15374
  this.done = true;
15338
15375
  var rootRecord = this.tryEntries[0].completion;
15339
- if (rootRecord.type === "throw")
15376
+ if ("throw" === rootRecord.type)
15340
15377
  throw rootRecord.arg;
15341
15378
  return this.rval;
15342
15379
  },
@@ -15349,7 +15386,7 @@ function _regeneratorRuntime() {
15349
15386
  }
15350
15387
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
15351
15388
  var entry = this.tryEntries[i], record2 = entry.completion;
15352
- if (entry.tryLoc === "root")
15389
+ if ("root" === entry.tryLoc)
15353
15390
  return handle("end");
15354
15391
  if (entry.tryLoc <= this.prev) {
15355
15392
  var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc");
@@ -15378,14 +15415,14 @@ function _regeneratorRuntime() {
15378
15415
  break;
15379
15416
  }
15380
15417
  }
15381
- finallyEntry && (type4 === "break" || type4 === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
15418
+ finallyEntry && ("break" === type4 || "continue" === type4) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
15382
15419
  var record2 = finallyEntry ? finallyEntry.completion : {};
15383
15420
  return record2.type = type4, record2.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record2);
15384
15421
  },
15385
15422
  complete: function complete(record2, afterLoc) {
15386
- if (record2.type === "throw")
15423
+ if ("throw" === record2.type)
15387
15424
  throw record2.arg;
15388
- return record2.type === "break" || record2.type === "continue" ? this.next = record2.arg : record2.type === "return" ? (this.rval = this.arg = record2.arg, this.method = "return", this.next = "end") : record2.type === "normal" && afterLoc && (this.next = afterLoc), ContinueSentinel;
15425
+ return "break" === record2.type || "continue" === record2.type ? this.next = record2.arg : "return" === record2.type ? (this.rval = this.arg = record2.arg, this.method = "return", this.next = "end") : "normal" === record2.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
15389
15426
  },
15390
15427
  finish: function finish(finallyLoc) {
15391
15428
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
@@ -15399,7 +15436,7 @@ function _regeneratorRuntime() {
15399
15436
  var entry = this.tryEntries[i];
15400
15437
  if (entry.tryLoc === tryLoc) {
15401
15438
  var record2 = entry.completion;
15402
- if (record2.type === "throw") {
15439
+ if ("throw" === record2.type) {
15403
15440
  var thrown = record2.arg;
15404
15441
  resetTryEntry(entry);
15405
15442
  }
@@ -15413,7 +15450,7 @@ function _regeneratorRuntime() {
15413
15450
  iterator: values(iterable),
15414
15451
  resultName,
15415
15452
  nextLoc
15416
- }, this.method === "next" && (this.arg = void 0), ContinueSentinel;
15453
+ }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
15417
15454
  }
15418
15455
  }, exports;
15419
15456
  }
@@ -16681,7 +16718,7 @@ function isSimilar(source, target) {
16681
16718
  }
16682
16719
  var sourceKeys = Object.keys(source);
16683
16720
  var targetKeys = Object.keys(target);
16684
- var keys2 = new Set([].concat(_toConsumableArray(sourceKeys), _toConsumableArray(targetKeys)));
16721
+ var keys2 = new Set([].concat(sourceKeys, targetKeys));
16685
16722
  return _toConsumableArray(keys2).every(function(key) {
16686
16723
  var sourceValue = source[key];
16687
16724
  var targetValue = target[key];
@@ -17145,10 +17182,11 @@ var Field = /* @__PURE__ */ function(_React$Component) {
17145
17182
  }).then(function() {
17146
17183
  var ruleErrors = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : EMPTY_ERRORS;
17147
17184
  if (_this.validatePromise === rootPromise) {
17185
+ var _ruleErrors$forEach;
17148
17186
  _this.validatePromise = null;
17149
17187
  var nextErrors = [];
17150
17188
  var nextWarnings = [];
17151
- ruleErrors.forEach(function(_ref3) {
17189
+ (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function(_ref3) {
17152
17190
  var warningOnly = _ref3.rule.warningOnly, _ref3$errors = _ref3.errors, errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
17153
17191
  if (warningOnly) {
17154
17192
  nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));
@@ -18237,9 +18275,10 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
18237
18275
  warnings: []
18238
18276
  };
18239
18277
  }).catch(function(ruleErrors) {
18278
+ var _ruleErrors$forEach;
18240
18279
  var mergedErrors = [];
18241
18280
  var mergedWarnings = [];
18242
- ruleErrors.forEach(function(_ref6) {
18281
+ (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function(_ref6) {
18243
18282
  var warningOnly = _ref6.rule.warningOnly, errors = _ref6.errors;
18244
18283
  if (warningOnly) {
18245
18284
  mergedWarnings.push.apply(mergedWarnings, _toConsumableArray(errors));
@@ -18423,9 +18462,12 @@ var Form$1 = function Form(_ref, ref) {
18423
18462
  if (!mountRef.current) {
18424
18463
  mountRef.current = true;
18425
18464
  }
18426
- React$1.useEffect(function() {
18427
- return destroyForm;
18428
- }, []);
18465
+ React$1.useEffect(
18466
+ function() {
18467
+ return destroyForm;
18468
+ },
18469
+ []
18470
+ );
18429
18471
  var childrenNode;
18430
18472
  var childrenRenderProps = typeof children === "function";
18431
18473
  if (childrenRenderProps) {
@@ -18475,8 +18517,10 @@ function stringify$1(value) {
18475
18517
  }
18476
18518
  }
18477
18519
  function useWatch() {
18478
- var dependencies = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
18479
- var form = arguments.length > 1 ? arguments[1] : void 0;
18520
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
18521
+ args[_key] = arguments[_key];
18522
+ }
18523
+ var _args$ = args[0], dependencies = _args$ === void 0 ? [] : _args$, form = args[1];
18480
18524
  var _useState = useState(), _useState2 = _slicedToArray(_useState, 2), value = _useState2[0], setValue2 = _useState2[1];
18481
18525
  var valueStr = useMemo(function() {
18482
18526
  return stringify$1(value);
@@ -18487,29 +18531,32 @@ function useWatch() {
18487
18531
  var formInstance = form || fieldContext;
18488
18532
  var isValidForm = formInstance && formInstance._init;
18489
18533
  {
18490
- warningOnce$1(isValidForm, "useWatch requires a form instance since it can not auto detect from context.");
18534
+ warningOnce$1(args.length === 2 ? form ? isValidForm : true : isValidForm, "useWatch requires a form instance since it can not auto detect from context.");
18491
18535
  }
18492
18536
  var namePath = getNamePath(dependencies);
18493
18537
  var namePathRef = useRef(namePath);
18494
18538
  namePathRef.current = namePath;
18495
- useEffect(function() {
18496
- if (!isValidForm) {
18497
- return;
18498
- }
18499
- var getFieldsValue = formInstance.getFieldsValue, getInternalHooks3 = formInstance.getInternalHooks;
18500
- var _getInternalHooks = getInternalHooks3(HOOK_MARK$1), registerWatch = _getInternalHooks.registerWatch;
18501
- var cancelRegister = registerWatch(function(store) {
18502
- var newValue = getValue(store, namePathRef.current);
18503
- var nextValueStr = stringify$1(newValue);
18504
- if (valueStrRef.current !== nextValueStr) {
18505
- valueStrRef.current = nextValueStr;
18506
- setValue2(newValue);
18539
+ useEffect(
18540
+ function() {
18541
+ if (!isValidForm) {
18542
+ return;
18507
18543
  }
18508
- });
18509
- var initialValue = getValue(getFieldsValue(), namePathRef.current);
18510
- setValue2(initialValue);
18511
- return cancelRegister;
18512
- }, []);
18544
+ var getFieldsValue = formInstance.getFieldsValue, getInternalHooks3 = formInstance.getInternalHooks;
18545
+ var _getInternalHooks = getInternalHooks3(HOOK_MARK$1), registerWatch = _getInternalHooks.registerWatch;
18546
+ var cancelRegister = registerWatch(function(store) {
18547
+ var newValue = getValue(store, namePathRef.current);
18548
+ var nextValueStr = stringify$1(newValue);
18549
+ if (valueStrRef.current !== nextValueStr) {
18550
+ valueStrRef.current = nextValueStr;
18551
+ setValue2(newValue);
18552
+ }
18553
+ });
18554
+ var initialValue = getValue(getFieldsValue(), namePathRef.current);
18555
+ setValue2(initialValue);
18556
+ return cancelRegister;
18557
+ },
18558
+ [isValidForm]
18559
+ );
18513
18560
  return value;
18514
18561
  }
18515
18562
  var InternalForm = /* @__PURE__ */ React$1.forwardRef(Form$1);
@@ -18862,10 +18909,10 @@ var _typeof = { exports: {} };
18862
18909
  (function(module) {
18863
18910
  function _typeof2(obj) {
18864
18911
  "@babel/helpers - typeof";
18865
- return module.exports = _typeof2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
18912
+ return module.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
18866
18913
  return typeof obj2;
18867
18914
  } : function(obj2) {
18868
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
18915
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
18869
18916
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof2(obj);
18870
18917
  }
18871
18918
  module.exports = _typeof2, module.exports.__esModule = true, module.exports["default"] = module.exports;
@@ -19024,9 +19071,9 @@ function isSimpleFunctionComponent(type4) {
19024
19071
  return typeof type4 === "function" && !shouldConstruct(type4) && type4.defaultProps === void 0;
19025
19072
  }
19026
19073
  function isSafeSetRefComponent(component) {
19027
- if (reactIs$1.exports.isFragment(component))
19074
+ if (_reactIs_17_0_2_reactIs.exports.isFragment(component))
19028
19075
  return false;
19029
- if (reactIs$1.exports.isMemo(component))
19076
+ if (_reactIs_17_0_2_reactIs.exports.isMemo(component))
19030
19077
  return isSafeSetRefComponent(component.type);
19031
19078
  return !isSimpleFunctionComponent(component.type);
19032
19079
  }
@@ -19728,7 +19775,7 @@ function getWindow(node) {
19728
19775
  }
19729
19776
  return node;
19730
19777
  }
19731
- function getComputedStyle$1(element) {
19778
+ function getComputedStyle(element) {
19732
19779
  return getWindow(element).getComputedStyle(element);
19733
19780
  }
19734
19781
  function getNodeName(node) {
@@ -19762,7 +19809,7 @@ function isOverflowElement(element) {
19762
19809
  overflow,
19763
19810
  overflowX,
19764
19811
  overflowY
19765
- } = getComputedStyle$1(element);
19812
+ } = getComputedStyle(element);
19766
19813
  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
19767
19814
  }
19768
19815
  function isTableElement(element) {
@@ -19770,7 +19817,7 @@ function isTableElement(element) {
19770
19817
  }
19771
19818
  function isContainingBlock(element) {
19772
19819
  const isFirefox = /firefox/i.test(getUAString());
19773
- const css = getComputedStyle$1(element);
19820
+ const css = getComputedStyle(element);
19774
19821
  return css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].includes(css.willChange) || isFirefox && css.willChange === "filter" || isFirefox && (css.filter ? css.filter !== "none" : false);
19775
19822
  }
19776
19823
  function isLayoutViewport() {
@@ -19836,7 +19883,11 @@ function isScaled(element) {
19836
19883
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
19837
19884
  const isOffsetParentAnElement = isHTMLElement(offsetParent);
19838
19885
  const documentElement = getDocumentElement(offsetParent);
19839
- const rect = getBoundingClientRect(element, isOffsetParentAnElement && isScaled(offsetParent), strategy === "fixed");
19886
+ const rect = getBoundingClientRect(
19887
+ element,
19888
+ isOffsetParentAnElement && isScaled(offsetParent),
19889
+ strategy === "fixed"
19890
+ );
19840
19891
  let scroll = {
19841
19892
  scrollLeft: 0,
19842
19893
  scrollTop: 0
@@ -19885,7 +19936,8 @@ function getContainingBlock(element) {
19885
19936
  if (isContainingBlock(currentNode)) {
19886
19937
  return currentNode;
19887
19938
  } else {
19888
- currentNode = currentNode.parentNode;
19939
+ const parent = currentNode.parentNode;
19940
+ currentNode = isShadowRoot(parent) ? parent.host : parent;
19889
19941
  }
19890
19942
  }
19891
19943
  return null;
@@ -19982,7 +20034,7 @@ function getDocumentRect(element) {
19982
20034
  const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
19983
20035
  let x = -scroll.scrollLeft + getWindowScrollBarX(element);
19984
20036
  const y = -scroll.scrollTop;
19985
- if (getComputedStyle$1(body || html).direction === "rtl") {
20037
+ if (getComputedStyle(body || html).direction === "rtl") {
19986
20038
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
19987
20039
  }
19988
20040
  return {
@@ -20055,7 +20107,7 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
20055
20107
  }
20056
20108
  function getClippingAncestors(element) {
20057
20109
  const clippingAncestors = getOverflowAncestors(element);
20058
- const canEscapeClipping = ["absolute", "fixed"].includes(getComputedStyle$1(element).position);
20110
+ const canEscapeClipping = ["absolute", "fixed"].includes(getComputedStyle(element).position);
20059
20111
  const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
20060
20112
  if (!isElement(clipperElement)) {
20061
20113
  return [];
@@ -20110,7 +20162,7 @@ const platform = {
20110
20162
  };
20111
20163
  },
20112
20164
  getClientRects: (element) => Array.from(element.getClientRects()),
20113
- isRTL: (element) => getComputedStyle$1(element).direction === "rtl"
20165
+ isRTL: (element) => getComputedStyle(element).direction === "rtl"
20114
20166
  };
20115
20167
  function autoUpdate(reference, floating, update2, options) {
20116
20168
  if (options === void 0) {
@@ -20331,7 +20383,7 @@ const Popover$1 = forwardRef((p, ref) => {
20331
20383
  arrowElement.style.setProperty("--arrow-icon-rotate", arrowRotate);
20332
20384
  });
20333
20385
  }
20334
- useIsomorphicLayoutEffect$1(() => {
20386
+ useIsomorphicLayoutEffect$2(() => {
20335
20387
  update2();
20336
20388
  });
20337
20389
  useEffect(() => {
@@ -21161,7 +21213,7 @@ const PreviewItem = (props) => {
21161
21213
  }
21162
21214
  return "";
21163
21215
  }, [url2, file]);
21164
- useLayoutEffect$1(() => {
21216
+ useLayoutEffect(() => {
21165
21217
  return () => {
21166
21218
  URL.revokeObjectURL(src);
21167
21219
  };
@@ -21240,14 +21292,14 @@ const ImageUploader = (p) => {
21240
21292
  const props = mergeProps(defaultProps$y, p);
21241
21293
  const [value, setValue2] = usePropsValue(props);
21242
21294
  const [tasks, setTasks] = useState([]);
21243
- useIsomorphicLayoutEffect$1(() => {
21295
+ useIsomorphicLayoutEffect$2(() => {
21244
21296
  setTasks((prev) => prev.filter((task) => {
21245
21297
  if (task.url === void 0)
21246
21298
  return true;
21247
21299
  return !value.some((fileItem) => fileItem.url === task.url);
21248
21300
  }));
21249
21301
  }, [value]);
21250
- useIsomorphicLayoutEffect$1(() => {
21302
+ useIsomorphicLayoutEffect$2(() => {
21251
21303
  var _a;
21252
21304
  (_a = props.onUploadQueueChange) === null || _a === void 0 ? void 0 : _a.call(props, tasks.map((item) => ({
21253
21305
  id: item.id,
@@ -21729,7 +21781,7 @@ const Input = forwardRef((p, ref) => {
21729
21781
  }
21730
21782
  (_a = props.onKeyDown) === null || _a === void 0 ? void 0 : _a.call(props, e);
21731
21783
  };
21732
- useIsomorphicLayoutEffect$1(() => {
21784
+ useIsomorphicLayoutEffect$2(() => {
21733
21785
  var _a;
21734
21786
  if (!props.enterKeyHint)
21735
21787
  return;
@@ -22092,7 +22144,6 @@ const index$7 = attachPropertiesToComponent(Modal, {
22092
22144
  const navBar = "";
22093
22145
  const classPrefix$y = `adm-nav-bar`;
22094
22146
  const defaultProps$s = {
22095
- back: "",
22096
22147
  backArrow: true
22097
22148
  };
22098
22149
  const NavBar = (p) => {
@@ -22769,17 +22820,21 @@ const Group = (p) => {
22769
22820
  (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, v);
22770
22821
  }
22771
22822
  });
22772
- return React__default.createElement(RadioGroupContext.Provider, {
22773
- value: {
22774
- value: value === null ? [] : [value],
22775
- check: (v) => {
22776
- setValue2(v);
22777
- },
22778
- uncheck: () => {
22779
- },
22780
- disabled: props.disabled
22781
- }
22782
- }, props.children);
22823
+ return React__default.createElement(
22824
+ RadioGroupContext.Provider,
22825
+ {
22826
+ value: {
22827
+ value: value === null ? [] : [value],
22828
+ check: (v) => {
22829
+ setValue2(v);
22830
+ },
22831
+ uncheck: () => {
22832
+ },
22833
+ disabled: props.disabled
22834
+ }
22835
+ },
22836
+ props.children
22837
+ );
22783
22838
  };
22784
22839
  const classPrefix$q = `adm-radio`;
22785
22840
  const defaultProps$k = {
@@ -23487,178 +23542,6 @@ const Thumb = (props) => {
23487
23542
  mode: "dark"
23488
23543
  }, thumbElement) : thumbElement);
23489
23544
  };
23490
- const classPrefix$f = `adm-slider`;
23491
- const defaultProps$e = {
23492
- min: 0,
23493
- max: 100,
23494
- step: 1,
23495
- ticks: false,
23496
- range: false,
23497
- disabled: false,
23498
- popover: false,
23499
- residentPopover: false
23500
- };
23501
- const Slider = (p) => {
23502
- var _a;
23503
- const props = mergeProps(defaultProps$e, p);
23504
- const {
23505
- min: min2,
23506
- max: max2,
23507
- disabled,
23508
- marks,
23509
- ticks,
23510
- step,
23511
- icon
23512
- } = props;
23513
- function sortValue(val) {
23514
- return val.sort((a, b) => a - b);
23515
- }
23516
- function convertValue(value) {
23517
- return props.range ? value : [props.min, value];
23518
- }
23519
- function reverseValue(value) {
23520
- return props.range ? value : value[1];
23521
- }
23522
- function onAfterChange(value) {
23523
- var _a2;
23524
- (_a2 = props.onAfterChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, reverseValue(value));
23525
- }
23526
- let propsValue = props.value;
23527
- if (props.range && typeof props.value === "number") {
23528
- devWarning("Slider", "When `range` prop is enabled, the `value` prop should be an array, like: [0, 0]");
23529
- propsValue = [0, props.value];
23530
- }
23531
- const [rawValue, setRawValue] = usePropsValue({
23532
- value: propsValue,
23533
- defaultValue: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : props.range ? [min2, min2] : min2,
23534
- onChange: props.onChange
23535
- });
23536
- const sliderValue = sortValue(convertValue(rawValue));
23537
- function setSliderValue(value) {
23538
- const next = sortValue(value);
23539
- const current = sliderValue;
23540
- if (next[0] === current[0] && next[1] === current[1])
23541
- return;
23542
- setRawValue(reverseValue(next));
23543
- }
23544
- const trackRef = useRef(null);
23545
- const fillSize = `${100 * (sliderValue[1] - sliderValue[0]) / (max2 - min2)}%`;
23546
- const fillStart = `${100 * (sliderValue[0] - min2) / (max2 - min2)}%`;
23547
- const pointList = useMemo(() => {
23548
- if (marks) {
23549
- return Object.keys(marks).map(parseFloat).sort((a, b) => a - b);
23550
- } else {
23551
- const points = [];
23552
- for (let i = min2; i <= max2; i += step) {
23553
- points.push(i);
23554
- }
23555
- return points;
23556
- }
23557
- }, [marks, ticks, step, min2, max2]);
23558
- function getValueByPosition(position) {
23559
- const newPosition = position < min2 ? min2 : position > max2 ? max2 : position;
23560
- let value = min2;
23561
- if (pointList.length) {
23562
- value = nearest(pointList, newPosition);
23563
- } else {
23564
- const lengthPerStep = 100 / ((max2 - min2) / step);
23565
- const steps2 = Math.round(newPosition / lengthPerStep);
23566
- value = steps2 * lengthPerStep * (max2 - min2) * 0.01 + min2;
23567
- }
23568
- return value;
23569
- }
23570
- const dragLockRef = useRef(0);
23571
- const onTrackClick = (event) => {
23572
- if (dragLockRef.current > 0)
23573
- return;
23574
- event.stopPropagation();
23575
- if (disabled)
23576
- return;
23577
- const track = trackRef.current;
23578
- if (!track)
23579
- return;
23580
- const sliderOffsetLeft = track.getBoundingClientRect().left;
23581
- const position = (event.clientX - sliderOffsetLeft) / Math.ceil(track.offsetWidth) * (max2 - min2) + min2;
23582
- const targetValue = getValueByPosition(position);
23583
- let nextSliderValue;
23584
- if (props.range) {
23585
- if (Math.abs(targetValue - sliderValue[0]) > Math.abs(targetValue - sliderValue[1])) {
23586
- nextSliderValue = [sliderValue[0], targetValue];
23587
- } else {
23588
- nextSliderValue = [targetValue, sliderValue[1]];
23589
- }
23590
- } else {
23591
- nextSliderValue = [props.min, targetValue];
23592
- }
23593
- setSliderValue(nextSliderValue);
23594
- onAfterChange(nextSliderValue);
23595
- };
23596
- const valueBeforeDragRef = useRef();
23597
- const renderThumb = (index2) => {
23598
- return React__default.createElement(Thumb, {
23599
- key: index2,
23600
- value: sliderValue[index2],
23601
- min: min2,
23602
- max: max2,
23603
- disabled,
23604
- trackRef,
23605
- icon,
23606
- popover: props.popover,
23607
- residentPopover: props.residentPopover,
23608
- onDrag: (position, first, last) => {
23609
- if (first) {
23610
- dragLockRef.current += 1;
23611
- valueBeforeDragRef.current = sliderValue;
23612
- }
23613
- const val = getValueByPosition(position);
23614
- const valueBeforeDrag = valueBeforeDragRef.current;
23615
- if (!valueBeforeDrag)
23616
- return;
23617
- const next = [...valueBeforeDrag];
23618
- next[index2] = val;
23619
- setSliderValue(next);
23620
- if (last) {
23621
- onAfterChange(next);
23622
- window.setTimeout(() => {
23623
- dragLockRef.current -= 1;
23624
- }, 100);
23625
- }
23626
- },
23627
- "aria-label": props["aria-label"]
23628
- });
23629
- };
23630
- return withNativeProps(props, React__default.createElement("div", {
23631
- className: classNames(classPrefix$f, {
23632
- [`${classPrefix$f}-disabled`]: disabled
23633
- })
23634
- }, React__default.createElement("div", {
23635
- className: `${classPrefix$f}-track-container`,
23636
- onClick: onTrackClick
23637
- }, React__default.createElement("div", {
23638
- className: `${classPrefix$f}-track`,
23639
- onClick: onTrackClick,
23640
- ref: trackRef
23641
- }, React__default.createElement("div", {
23642
- className: `${classPrefix$f}-fill`,
23643
- style: {
23644
- width: fillSize,
23645
- left: fillStart
23646
- }
23647
- }), props.ticks && React__default.createElement(Ticks, {
23648
- points: pointList,
23649
- min: min2,
23650
- max: max2,
23651
- lowerBound: sliderValue[0],
23652
- upperBound: sliderValue[1]
23653
- }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.createElement(Marks, {
23654
- min: min2,
23655
- max: max2,
23656
- marks,
23657
- lowerBound: sliderValue[0],
23658
- upperBound: sliderValue[1]
23659
- })));
23660
- };
23661
- const stepper = "";
23662
23545
  var DP = 20, RM = 1, MAX_DP = 1e6, MAX_POWER = 1e6, NE = -7, PE = 21, STRICT = false, NAME = "[big.js] ", INVALID = NAME + "Invalid ", INVALID_DP = INVALID + "decimal places", INVALID_RM = INVALID + "rounding mode", DIV_BY_ZERO = NAME + "Division by zero", P = {}, UNDEFINED = void 0, NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
23663
23546
  function _Big_() {
23664
23547
  function Big2(n) {
@@ -24167,6 +24050,182 @@ P.valueOf = function() {
24167
24050
  return stringify(x, x.e <= Big2.NE || x.e >= Big2.PE, true);
24168
24051
  };
24169
24052
  var Big = _Big_();
24053
+ const classPrefix$f = `adm-slider`;
24054
+ const defaultProps$e = {
24055
+ min: 0,
24056
+ max: 100,
24057
+ step: 1,
24058
+ ticks: false,
24059
+ range: false,
24060
+ disabled: false,
24061
+ popover: false,
24062
+ residentPopover: false
24063
+ };
24064
+ const Slider = (p) => {
24065
+ var _a;
24066
+ const props = mergeProps(defaultProps$e, p);
24067
+ const {
24068
+ min: min2,
24069
+ max: max2,
24070
+ disabled,
24071
+ marks,
24072
+ ticks,
24073
+ step,
24074
+ icon
24075
+ } = props;
24076
+ function sortValue(val) {
24077
+ return val.sort((a, b) => a - b);
24078
+ }
24079
+ function convertValue(value) {
24080
+ return props.range ? value : [props.min, value];
24081
+ }
24082
+ function reverseValue(value) {
24083
+ const mergedDecimalLen = Math.max(getDecimalLen(step), getDecimalLen(value[0]), getDecimalLen(value[1]));
24084
+ return props.range ? value.map((v) => Big(Big(v).toFixed(mergedDecimalLen)).toNumber()) : Big(Big(value[1]).toFixed(mergedDecimalLen)).toNumber();
24085
+ }
24086
+ function getDecimalLen(n) {
24087
+ return (`${n}`.split(".")[1] || "").length;
24088
+ }
24089
+ function onAfterChange(value) {
24090
+ var _a2;
24091
+ (_a2 = props.onAfterChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, reverseValue(value));
24092
+ }
24093
+ let propsValue = props.value;
24094
+ if (props.range && typeof props.value === "number") {
24095
+ devWarning("Slider", "When `range` prop is enabled, the `value` prop should be an array, like: [0, 0]");
24096
+ propsValue = [0, props.value];
24097
+ }
24098
+ const [rawValue, setRawValue] = usePropsValue({
24099
+ value: propsValue,
24100
+ defaultValue: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : props.range ? [min2, min2] : min2,
24101
+ onChange: props.onChange
24102
+ });
24103
+ const sliderValue = sortValue(convertValue(rawValue));
24104
+ function setSliderValue(value) {
24105
+ const next = sortValue(value);
24106
+ const current = sliderValue;
24107
+ if (next[0] === current[0] && next[1] === current[1])
24108
+ return;
24109
+ setRawValue(reverseValue(next));
24110
+ }
24111
+ const trackRef = useRef(null);
24112
+ const fillSize = `${100 * (sliderValue[1] - sliderValue[0]) / (max2 - min2)}%`;
24113
+ const fillStart = `${100 * (sliderValue[0] - min2) / (max2 - min2)}%`;
24114
+ const pointList = useMemo(() => {
24115
+ if (marks) {
24116
+ return Object.keys(marks).map(parseFloat).sort((a, b) => a - b);
24117
+ } else {
24118
+ const points = [];
24119
+ for (let i = Big(min2); i.lte(max2); i = i.plus(step)) {
24120
+ points.push(i.toNumber());
24121
+ }
24122
+ return points;
24123
+ }
24124
+ }, [marks, ticks, step, min2, max2]);
24125
+ function getValueByPosition(position) {
24126
+ const newPosition = position < min2 ? min2 : position > max2 ? max2 : position;
24127
+ let value = min2;
24128
+ if (pointList.length) {
24129
+ value = nearest(pointList, newPosition);
24130
+ } else {
24131
+ const lengthPerStep = 100 / ((max2 - min2) / step);
24132
+ const steps2 = Math.round(newPosition / lengthPerStep);
24133
+ value = steps2 * lengthPerStep * (max2 - min2) * 0.01 + min2;
24134
+ }
24135
+ return value;
24136
+ }
24137
+ const dragLockRef = useRef(0);
24138
+ const onTrackClick = (event) => {
24139
+ if (dragLockRef.current > 0)
24140
+ return;
24141
+ event.stopPropagation();
24142
+ if (disabled)
24143
+ return;
24144
+ const track = trackRef.current;
24145
+ if (!track)
24146
+ return;
24147
+ const sliderOffsetLeft = track.getBoundingClientRect().left;
24148
+ const position = (event.clientX - sliderOffsetLeft) / Math.ceil(track.offsetWidth) * (max2 - min2) + min2;
24149
+ const targetValue = getValueByPosition(position);
24150
+ let nextSliderValue;
24151
+ if (props.range) {
24152
+ if (Math.abs(targetValue - sliderValue[0]) > Math.abs(targetValue - sliderValue[1])) {
24153
+ nextSliderValue = [sliderValue[0], targetValue];
24154
+ } else {
24155
+ nextSliderValue = [targetValue, sliderValue[1]];
24156
+ }
24157
+ } else {
24158
+ nextSliderValue = [props.min, targetValue];
24159
+ }
24160
+ setSliderValue(nextSliderValue);
24161
+ onAfterChange(nextSliderValue);
24162
+ };
24163
+ const valueBeforeDragRef = useRef();
24164
+ const renderThumb = (index2) => {
24165
+ return React__default.createElement(Thumb, {
24166
+ key: index2,
24167
+ value: sliderValue[index2],
24168
+ min: min2,
24169
+ max: max2,
24170
+ disabled,
24171
+ trackRef,
24172
+ icon,
24173
+ popover: props.popover,
24174
+ residentPopover: props.residentPopover,
24175
+ onDrag: (position, first, last) => {
24176
+ if (first) {
24177
+ dragLockRef.current += 1;
24178
+ valueBeforeDragRef.current = sliderValue;
24179
+ }
24180
+ const val = getValueByPosition(position);
24181
+ const valueBeforeDrag = valueBeforeDragRef.current;
24182
+ if (!valueBeforeDrag)
24183
+ return;
24184
+ const next = [...valueBeforeDrag];
24185
+ next[index2] = val;
24186
+ setSliderValue(next);
24187
+ if (last) {
24188
+ onAfterChange(next);
24189
+ window.setTimeout(() => {
24190
+ dragLockRef.current -= 1;
24191
+ }, 100);
24192
+ }
24193
+ },
24194
+ "aria-label": props["aria-label"]
24195
+ });
24196
+ };
24197
+ return withNativeProps(props, React__default.createElement("div", {
24198
+ className: classNames(classPrefix$f, {
24199
+ [`${classPrefix$f}-disabled`]: disabled
24200
+ })
24201
+ }, React__default.createElement("div", {
24202
+ className: `${classPrefix$f}-track-container`,
24203
+ onClick: onTrackClick
24204
+ }, React__default.createElement("div", {
24205
+ className: `${classPrefix$f}-track`,
24206
+ onClick: onTrackClick,
24207
+ ref: trackRef
24208
+ }, React__default.createElement("div", {
24209
+ className: `${classPrefix$f}-fill`,
24210
+ style: {
24211
+ width: fillSize,
24212
+ left: fillStart
24213
+ }
24214
+ }), props.ticks && React__default.createElement(Ticks, {
24215
+ points: pointList,
24216
+ min: min2,
24217
+ max: max2,
24218
+ lowerBound: sliderValue[0],
24219
+ upperBound: sliderValue[1]
24220
+ }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.createElement(Marks, {
24221
+ min: min2,
24222
+ max: max2,
24223
+ marks,
24224
+ lowerBound: sliderValue[0],
24225
+ upperBound: sliderValue[1]
24226
+ })));
24227
+ };
24228
+ const stepper = "";
24170
24229
  const classPrefix$e = `adm-stepper`;
24171
24230
  const defaultProps$d = {
24172
24231
  defaultValue: 0,
@@ -24767,7 +24826,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
24767
24826
  swipeNext,
24768
24827
  swipePrev
24769
24828
  }));
24770
- useIsomorphicLayoutEffect$1(() => {
24829
+ useIsomorphicLayoutEffect$2(() => {
24771
24830
  const maxIndex = validChildren.length - 1;
24772
24831
  if (current > maxIndex) {
24773
24832
  swipeTo(maxIndex, true);
@@ -25090,7 +25149,7 @@ const TextArea = forwardRef((p, ref) => {
25090
25149
  return nativeTextAreaRef.current;
25091
25150
  }
25092
25151
  }));
25093
- useIsomorphicLayoutEffect$1(() => {
25152
+ useIsomorphicLayoutEffect$2(() => {
25094
25153
  if (!autoSize)
25095
25154
  return;
25096
25155
  const textArea2 = nativeTextAreaRef.current;
@@ -25650,7 +25709,7 @@ const VirtualInput = forwardRef((p, ref) => {
25650
25709
  return;
25651
25710
  content.scrollLeft = content.clientWidth;
25652
25711
  }
25653
- useIsomorphicLayoutEffect$1(() => {
25712
+ useIsomorphicLayoutEffect$2(() => {
25654
25713
  scrollToEnd();
25655
25714
  }, [value]);
25656
25715
  useEffect(() => {