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
@@ -374,11 +374,11 @@
374
374
  return ret;
375
375
  }
376
376
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
377
- var classnames = { exports: {} };
377
+ var _classnames_2_3_2_classnames = { exports: {} };
378
378
  /*!
379
- Copyright (c) 2018 Jed Watson.
380
- Licensed under the MIT License (MIT), see
381
- http://jedwatson.github.io/classnames
379
+ Copyright (c) 2018 Jed Watson.
380
+ Licensed under the MIT License (MIT), see
381
+ http://jedwatson.github.io/classnames
382
382
  */
383
383
  (function(module2) {
384
384
  (function() {
@@ -400,14 +400,14 @@
400
400
  }
401
401
  }
402
402
  } else if (argType === "object") {
403
- if (arg.toString === Object.prototype.toString) {
404
- for (var key in arg) {
405
- if (hasOwn.call(arg, key) && arg[key]) {
406
- classes.push(key);
407
- }
408
- }
409
- } else {
403
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
410
404
  classes.push(arg.toString());
405
+ continue;
406
+ }
407
+ for (var key in arg) {
408
+ if (hasOwn.call(arg, key) && arg[key]) {
409
+ classes.push(key);
410
+ }
411
411
  }
412
412
  }
413
413
  }
@@ -420,8 +420,8 @@
420
420
  window.classNames = classNames2;
421
421
  }
422
422
  })();
423
- })(classnames);
424
- const classNames = classnames.exports;
423
+ })(_classnames_2_3_2_classnames);
424
+ const classNames = _classnames_2_3_2_classnames.exports;
425
425
  function withNativeProps(props, element) {
426
426
  const p = Object.assign({}, element.props);
427
427
  if (props.className) {
@@ -539,7 +539,9 @@
539
539
  var funcProto$1 = Function.prototype, objectProto$c = Object.prototype;
540
540
  var funcToString$1 = funcProto$1.toString;
541
541
  var hasOwnProperty$a = objectProto$c.hasOwnProperty;
542
- var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
542
+ var reIsNative = RegExp(
543
+ "^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
544
+ );
543
545
  function baseIsNative$1(value) {
544
546
  if (!isObject$9(value) || isMasked(value)) {
545
547
  return false;
@@ -917,10 +919,12 @@
917
919
  var isNumber = function isNumber2(value) {
918
920
  return typeof value === "number";
919
921
  };
922
+ var isDev = true;
923
+ const isDev$1 = isDev;
920
924
  function useMemoizedFn(fn) {
921
- {
925
+ if (isDev$1) {
922
926
  if (!isFunction$1(fn)) {
923
- console.error("useMemoizedFn expected parameter is a function, got " + typeof fn);
927
+ console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof fn));
924
928
  }
925
929
  }
926
930
  var fnRef = React$1.useRef(fn);
@@ -955,9 +959,9 @@
955
959
  return ref;
956
960
  }
957
961
  var useUnmount = function useUnmount2(fn) {
958
- {
962
+ if (isDev$1) {
959
963
  if (!isFunction$1(fn)) {
960
- console.error("useUnmount expected parameter is a function, got " + typeof fn);
964
+ console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
961
965
  }
962
966
  }
963
967
  var fnRef = useLatest(fn);
@@ -1124,9 +1128,9 @@
1124
1128
  }
1125
1129
  var throttle_1 = throttle$1;
1126
1130
  var useMount = function useMount2(fn) {
1127
- {
1131
+ if (isDev$1) {
1128
1132
  if (!isFunction$1(fn)) {
1129
- console.error('useMount: parameter `fn` expected to be a function, but got "' + typeof fn + '".');
1133
+ console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
1130
1134
  }
1131
1135
  }
1132
1136
  React$1.useEffect(function() {
@@ -1294,7 +1298,7 @@
1294
1298
  }, p: function(t2) {
1295
1299
  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$/, "");
1296
1300
  }, u: function(t2) {
1297
- return t2 === void 0;
1301
+ return void 0 === t2;
1298
1302
  } }, v = "en", D = {};
1299
1303
  D[v] = M;
1300
1304
  var p = function(t2) {
@@ -1303,7 +1307,7 @@
1303
1307
  var i2;
1304
1308
  if (!e2)
1305
1309
  return v;
1306
- if (typeof e2 == "string") {
1310
+ if ("string" == typeof e2) {
1307
1311
  var s2 = e2.toLowerCase();
1308
1312
  D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
1309
1313
  var u2 = e2.split("-");
@@ -1317,7 +1321,7 @@
1317
1321
  }, w = function(t2, e2) {
1318
1322
  if (p(t2))
1319
1323
  return t2.clone();
1320
- var n2 = typeof e2 == "object" ? e2 : {};
1324
+ var n2 = "object" == typeof e2 ? e2 : {};
1321
1325
  return n2.date = t2, n2.args = arguments, new _(n2);
1322
1326
  }, O = g;
1323
1327
  O.l = S, O.i = p, O.w = function(t2, e2) {
@@ -1331,13 +1335,13 @@
1331
1335
  return m2.parse = function(t2) {
1332
1336
  this.$d = function(t3) {
1333
1337
  var e2 = t3.date, n2 = t3.utc;
1334
- if (e2 === null)
1338
+ if (null === e2)
1335
1339
  return new Date(NaN);
1336
1340
  if (O.u(e2))
1337
1341
  return new Date();
1338
1342
  if (e2 instanceof Date)
1339
1343
  return new Date(e2);
1340
- if (typeof e2 == "string" && !/Z$/i.test(e2)) {
1344
+ if ("string" == typeof e2 && !/Z$/i.test(e2)) {
1341
1345
  var r2 = e2.match(l);
1342
1346
  if (r2) {
1343
1347
  var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
@@ -1503,17 +1507,22 @@
1503
1507
  }
1504
1508
  return ar;
1505
1509
  };
1506
- var __spread$2 = globalThis && globalThis.__spread || function() {
1507
- for (var ar = [], i = 0; i < arguments.length; i++) {
1508
- ar = ar.concat(__read$6(arguments[i]));
1509
- }
1510
- return ar;
1510
+ var __spreadArray$2 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
1511
+ if (pack || arguments.length === 2)
1512
+ for (var i = 0, l = from.length, ar; i < l; i++) {
1513
+ if (ar || !(i in from)) {
1514
+ if (!ar)
1515
+ ar = Array.prototype.slice.call(from, 0, i);
1516
+ ar[i] = from[i];
1517
+ }
1518
+ }
1519
+ return to2.concat(ar || Array.prototype.slice.call(from));
1511
1520
  };
1512
1521
  function useDebounceFn(fn, options) {
1513
1522
  var _a;
1514
- {
1523
+ if (isDev$1) {
1515
1524
  if (!isFunction$1(fn)) {
1516
- console.error("useDebounceFn expected parameter is a function, got " + typeof fn);
1525
+ console.error("useDebounceFn expected parameter is a function, got ".concat(typeof fn));
1517
1526
  }
1518
1527
  }
1519
1528
  var fnRef = useLatest(fn);
@@ -1524,7 +1533,7 @@
1524
1533
  for (var _i = 0; _i < arguments.length; _i++) {
1525
1534
  args[_i] = arguments[_i];
1526
1535
  }
1527
- return fnRef.current.apply(fnRef, __spread$2(args));
1536
+ return fnRef.current.apply(fnRef, __spreadArray$2([], __read$6(args), false));
1528
1537
  }, wait, options);
1529
1538
  }, []);
1530
1539
  useUnmount$1(function() {
@@ -2159,11 +2168,15 @@
2159
2168
  }
2160
2169
  if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) {
2161
2170
  if (!("isIntersecting" in window.IntersectionObserverEntry.prototype)) {
2162
- Object.defineProperty(window.IntersectionObserverEntry.prototype, "isIntersecting", {
2163
- get: function() {
2164
- return this.intersectionRatio > 0;
2171
+ Object.defineProperty(
2172
+ window.IntersectionObserverEntry.prototype,
2173
+ "isIntersecting",
2174
+ {
2175
+ get: function() {
2176
+ return this.intersectionRatio > 0;
2177
+ }
2165
2178
  }
2166
- });
2179
+ );
2167
2180
  }
2168
2181
  return;
2169
2182
  }
@@ -2211,7 +2224,10 @@
2211
2224
  if (options.root && options.root.nodeType != 1 && options.root.nodeType != 9) {
2212
2225
  throw new Error("root must be a Document or Element");
2213
2226
  }
2214
- this._checkForIntersections = throttle2(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);
2227
+ this._checkForIntersections = throttle2(
2228
+ this._checkForIntersections.bind(this),
2229
+ this.THROTTLE_TIMEOUT
2230
+ );
2215
2231
  this._callback = callback;
2216
2232
  this._observationTargets = [];
2217
2233
  this._queuedEntries = [];
@@ -2772,8 +2788,8 @@
2772
2788
  }, [], target);
2773
2789
  return [state, ratio];
2774
2790
  }
2775
- var useIsomorphicLayoutEffect = isBrowser$3 ? React$1.useLayoutEffect : React$1.useEffect;
2776
- const useIsomorphicLayoutEffect$1 = useIsomorphicLayoutEffect;
2791
+ var useIsomorphicLayoutEffect$1 = isBrowser$3 ? React$1.useLayoutEffect : React$1.useEffect;
2792
+ const useIsomorphicLayoutEffect$2 = useIsomorphicLayoutEffect$1;
2777
2793
  var __awaiter = globalThis && globalThis.__awaiter || function(thisArg, _arguments, P2, generator) {
2778
2794
  function adopt(value) {
2779
2795
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -2917,11 +2933,16 @@
2917
2933
  }
2918
2934
  return ar;
2919
2935
  };
2920
- var __spread$1 = globalThis && globalThis.__spread || function() {
2921
- for (var ar = [], i = 0; i < arguments.length; i++) {
2922
- ar = ar.concat(__read$3(arguments[i]));
2923
- }
2924
- return ar;
2936
+ var __spreadArray$1 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
2937
+ if (pack || arguments.length === 2)
2938
+ for (var i = 0, l = from.length, ar; i < l; i++) {
2939
+ if (ar || !(i in from)) {
2940
+ if (!ar)
2941
+ ar = Array.prototype.slice.call(from, 0, i);
2942
+ ar[i] = from[i];
2943
+ }
2944
+ }
2945
+ return to2.concat(ar || Array.prototype.slice.call(from));
2925
2946
  };
2926
2947
  function useLockFn(fn) {
2927
2948
  var _this = this;
@@ -2937,32 +2958,22 @@
2937
2958
  switch (_a.label) {
2938
2959
  case 0:
2939
2960
  if (lockRef.current)
2940
- return [
2941
- 2
2942
- ];
2961
+ return [2];
2943
2962
  lockRef.current = true;
2944
2963
  _a.label = 1;
2945
2964
  case 1:
2946
2965
  _a.trys.push([1, 3, , 4]);
2947
- return [
2948
- 4,
2949
- fn.apply(void 0, __spread$1(args))
2950
- ];
2966
+ return [4, fn.apply(void 0, __spreadArray$1([], __read$3(args), false))];
2951
2967
  case 2:
2952
2968
  ret = _a.sent();
2953
2969
  lockRef.current = false;
2954
- return [
2955
- 2,
2956
- ret
2957
- ];
2970
+ return [2, ret];
2958
2971
  case 3:
2959
2972
  e_1 = _a.sent();
2960
2973
  lockRef.current = false;
2961
2974
  throw e_1;
2962
2975
  case 4:
2963
- return [
2964
- 2
2965
- ];
2976
+ return [2];
2966
2977
  }
2967
2978
  });
2968
2979
  });
@@ -3563,17 +3574,22 @@
3563
3574
  }
3564
3575
  return ar;
3565
3576
  };
3566
- var __spread = globalThis && globalThis.__spread || function() {
3567
- for (var ar = [], i = 0; i < arguments.length; i++) {
3568
- ar = ar.concat(__read(arguments[i]));
3569
- }
3570
- return ar;
3577
+ var __spreadArray = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
3578
+ if (pack || arguments.length === 2)
3579
+ for (var i = 0, l = from.length, ar; i < l; i++) {
3580
+ if (ar || !(i in from)) {
3581
+ if (!ar)
3582
+ ar = Array.prototype.slice.call(from, 0, i);
3583
+ ar[i] = from[i];
3584
+ }
3585
+ }
3586
+ return to2.concat(ar || Array.prototype.slice.call(from));
3571
3587
  };
3572
3588
  function useThrottleFn(fn, options) {
3573
3589
  var _a;
3574
- {
3590
+ if (isDev$1) {
3575
3591
  if (!isFunction$1(fn)) {
3576
- console.error("useThrottleFn expected parameter is a function, got " + typeof fn);
3592
+ console.error("useThrottleFn expected parameter is a function, got ".concat(typeof fn));
3577
3593
  }
3578
3594
  }
3579
3595
  var fnRef = useLatest(fn);
@@ -3584,7 +3600,7 @@
3584
3600
  for (var _i = 0; _i < arguments.length; _i++) {
3585
3601
  args[_i] = arguments[_i];
3586
3602
  }
3587
- return fnRef.current.apply(fnRef, __spread(args));
3603
+ return fnRef.current.apply(fnRef, __spreadArray([], __read(args), false));
3588
3604
  }, wait, options);
3589
3605
  }, []);
3590
3606
  useUnmount$1(function() {
@@ -3598,10 +3614,11 @@
3598
3614
  }
3599
3615
  function useTimeout(fn, delay) {
3600
3616
  var fnRef = useLatest(fn);
3601
- var timerRef = React$1.useRef();
3617
+ var timerRef = React$1.useRef(null);
3602
3618
  React$1.useEffect(function() {
3603
- if (!isNumber(delay) || delay < 0)
3619
+ if (!isNumber(delay) || delay < 0) {
3604
3620
  return;
3621
+ }
3605
3622
  timerRef.current = setTimeout(function() {
3606
3623
  fnRef.current();
3607
3624
  }, delay);
@@ -3713,6 +3730,16 @@
3713
3730
  }
3714
3731
  let totalLockCount = 0;
3715
3732
  const BODY_LOCK_CLASS = "adm-overflow-hidden";
3733
+ function getScrollableElement(el) {
3734
+ let current = el === null || el === void 0 ? void 0 : el.parentElement;
3735
+ while (current) {
3736
+ if (current.clientHeight < current.scrollHeight) {
3737
+ return current;
3738
+ }
3739
+ current = current.parentElement;
3740
+ }
3741
+ return null;
3742
+ }
3716
3743
  function useLockScroll(rootRef, shouldLock) {
3717
3744
  const touch = useTouch();
3718
3745
  const onTouchMove = (event) => {
@@ -3721,6 +3748,13 @@
3721
3748
  const el = getScrollParent(event.target, rootRef.current);
3722
3749
  if (!el)
3723
3750
  return;
3751
+ if (shouldLock === "strict") {
3752
+ const scrollableParent = getScrollableElement(event.target);
3753
+ if (scrollableParent === document.body || scrollableParent === document.documentElement) {
3754
+ event.preventDefault();
3755
+ return;
3756
+ }
3757
+ }
3724
3758
  const {
3725
3759
  scrollHeight,
3726
3760
  offsetHeight,
@@ -3800,9 +3834,9 @@
3800
3834
  raf.cancel = (fn) => {
3801
3835
  onStartQueue.delete(fn);
3802
3836
  onFrameQueue.delete(fn);
3837
+ onFinishQueue.delete(fn);
3803
3838
  updateQueue.delete(fn);
3804
3839
  writeQueue.delete(fn);
3805
- onFinishQueue.delete(fn);
3806
3840
  };
3807
3841
  raf.sync = (fn) => {
3808
3842
  sync = true;
@@ -3880,14 +3914,15 @@
3880
3914
  eachSafely(timeouts.splice(0, count), (t) => t.handler());
3881
3915
  pendingCount -= count;
3882
3916
  }
3917
+ if (!pendingCount) {
3918
+ stop();
3919
+ return;
3920
+ }
3883
3921
  onStartQueue.flush();
3884
3922
  updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667);
3885
3923
  onFrameQueue.flush();
3886
3924
  writeQueue.flush();
3887
3925
  onFinishQueue.flush();
3888
- if (!pendingCount) {
3889
- stop();
3890
- }
3891
3926
  }
3892
3927
  function makeQueue() {
3893
3928
  let next = /* @__PURE__ */ new Set();
@@ -4407,7 +4442,7 @@
4407
4442
  return i - 1;
4408
4443
  }
4409
4444
  function _extends$4() {
4410
- _extends$4 = Object.assign || function(target) {
4445
+ _extends$4 = Object.assign ? Object.assign.bind() : function(target) {
4411
4446
  for (var i = 1; i < arguments.length; i++) {
4412
4447
  var source = arguments[i];
4413
4448
  for (var key in source) {
@@ -4569,10 +4604,10 @@
4569
4604
  function isAnimatedString(value) {
4570
4605
  return is.str(value) && (value[0] == "#" || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
4571
4606
  }
4572
- const useLayoutEffect = typeof window !== "undefined" && window.document && window.document.createElement ? React__namespace.useLayoutEffect : React__namespace.useEffect;
4607
+ const useIsomorphicLayoutEffect = isSSR() ? React$1.useEffect : React$1.useLayoutEffect;
4573
4608
  const useIsMounted = () => {
4574
4609
  const isMounted = React$1.useRef(false);
4575
- useLayoutEffect(() => {
4610
+ useIsomorphicLayoutEffect(() => {
4576
4611
  isMounted.current = true;
4577
4612
  return () => {
4578
4613
  isMounted.current = false;
@@ -4820,7 +4855,7 @@
4820
4855
  return parentNode ? parentNode.constructor : is.arr(value) ? AnimatedArray : isAnimatedString(value) ? AnimatedString : AnimatedValue;
4821
4856
  }
4822
4857
  function _extends$3() {
4823
- _extends$3 = Object.assign || function(target) {
4858
+ _extends$3 = Object.assign ? Object.assign.bind() : function(target) {
4824
4859
  for (var i = 1; i < arguments.length; i++) {
4825
4860
  var source = arguments[i];
4826
4861
  for (var key in source) {
@@ -4854,7 +4889,7 @@
4854
4889
  };
4855
4890
  const observer = new PropsObserver(callback, deps);
4856
4891
  const observerRef = React$1.useRef();
4857
- useLayoutEffect(() => {
4892
+ useIsomorphicLayoutEffect(() => {
4858
4893
  observerRef.current = observer;
4859
4894
  each(deps, (dep) => addFluidObserver(dep, observer));
4860
4895
  return () => {
@@ -4939,7 +4974,7 @@
4939
4974
  };
4940
4975
  const getDisplayName = (arg) => is.str(arg) ? arg : arg && is.str(arg.displayName) ? arg.displayName : is.fun(arg) && arg.name || null;
4941
4976
  function _extends$2() {
4942
- _extends$2 = Object.assign || function(target) {
4977
+ _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
4943
4978
  for (var i = 1; i < arguments.length; i++) {
4944
4979
  var source = arguments[i];
4945
4980
  for (var key in source) {
@@ -5572,6 +5607,7 @@
5572
5607
  const from = anim.fromValues[i];
5573
5608
  const v0 = node2.v0 != null ? node2.v0 : node2.v0 = is.arr(config2.velocity) ? config2.velocity[i] : config2.velocity;
5574
5609
  let velocity;
5610
+ const precision = config2.precision || (from == to2 ? 5e-3 : Math.min(1, Math.abs(to2 - from) * 1e-3));
5575
5611
  if (!is.und(config2.duration)) {
5576
5612
  let p = 1;
5577
5613
  if (config2.duration > 0) {
@@ -5593,11 +5629,10 @@
5593
5629
  const decay = config2.decay === true ? 0.998 : config2.decay;
5594
5630
  const e = Math.exp(-(1 - decay) * elapsed);
5595
5631
  position = from + v0 / (1 - decay) * (1 - e);
5596
- finished = Math.abs(node2.lastPosition - position) < 0.1;
5632
+ finished = Math.abs(node2.lastPosition - position) <= precision;
5597
5633
  velocity = v0 * e;
5598
5634
  } else {
5599
5635
  velocity = node2.lastVelocity == null ? v0 : node2.lastVelocity;
5600
- const precision = config2.precision || (from == to2 ? 5e-3 : Math.min(1, Math.abs(to2 - from) * 1e-3));
5601
5636
  const restVelocity = config2.restVelocity || precision / 10;
5602
5637
  const bounceFactor = config2.clamp ? 0 : config2.bounce;
5603
5638
  const canBounce = !is.und(bounceFactor);
@@ -6590,7 +6625,7 @@
6590
6625
  const context = React$1.useContext(SpringContext);
6591
6626
  const prevContext = usePrev(context);
6592
6627
  const hasContext = context !== prevContext && hasProps(context);
6593
- useLayoutEffect(() => {
6628
+ useIsomorphicLayoutEffect(() => {
6594
6629
  layoutId.current++;
6595
6630
  state.ctrls = ctrls.current;
6596
6631
  const {
@@ -7676,7 +7711,7 @@
7676
7711
  };
7677
7712
  function useInnerVisible(outerVisible) {
7678
7713
  const [innerVisible, setInnerVisible] = React$1.useState(outerVisible);
7679
- useIsomorphicLayoutEffect$1(() => {
7714
+ useIsomorphicLayoutEffect$2(() => {
7680
7715
  setInnerVisible(outerVisible);
7681
7716
  }, [outerVisible]);
7682
7717
  return innerVisible;
@@ -7689,13 +7724,13 @@
7689
7724
  const props = mergeProps(defaultProps$12, p);
7690
7725
  const bodyCls = classNames(`${classPrefix$1k}-body`, props.bodyClassName, `${classPrefix$1k}-body-position-${props.position}`);
7691
7726
  const [active, setActive] = React$1.useState(props.visible);
7692
- useIsomorphicLayoutEffect$1(() => {
7727
+ useIsomorphicLayoutEffect$2(() => {
7693
7728
  if (props.visible) {
7694
7729
  setActive(true);
7695
7730
  }
7696
7731
  }, [props.visible]);
7697
7732
  const ref = React$1.useRef(null);
7698
- useLockScroll(ref, props.disableBodyScroll && active);
7733
+ useLockScroll(ref, props.disableBodyScroll && active ? "strict" : false);
7699
7734
  const unmountedRef = useUnmountedRef$1();
7700
7735
  const {
7701
7736
  percent
@@ -7994,12 +8029,12 @@
7994
8029
  };
7995
8030
  const avatar = "";
7996
8031
  const image = "";
7997
- var stagedComponents = {};
8032
+ var _stagedComponents_1_1_3_stagedComponents = {};
7998
8033
  var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
7999
8034
  return mod && mod.__esModule ? mod : { "default": mod };
8000
8035
  };
8001
- Object.defineProperty(stagedComponents, "__esModule", { value: true });
8002
- var staged_1 = stagedComponents.staged = void 0;
8036
+ Object.defineProperty(_stagedComponents_1_1_3_stagedComponents, "__esModule", { value: true });
8037
+ var staged_1 = _stagedComponents_1_1_3_stagedComponents.staged = void 0;
8003
8038
  const react_1 = __importDefault(React__default.default);
8004
8039
  function processNext(next) {
8005
8040
  if (typeof next === "function") {
@@ -8018,7 +8053,7 @@
8018
8053
  return processNext(next);
8019
8054
  };
8020
8055
  }
8021
- staged_1 = stagedComponents.staged = staged;
8056
+ staged_1 = _stagedComponents_1_1_3_stagedComponents.staged = staged;
8022
8057
  function toCSSLength(val) {
8023
8058
  return typeof val === "number" ? `${val}px` : val;
8024
8059
  }
@@ -8034,7 +8069,7 @@
8034
8069
  ref
8035
8070
  });
8036
8071
  };
8037
- const useIsomorphicUpdateLayoutEffect = createUpdateEffect(useIsomorphicLayoutEffect$1);
8072
+ const useIsomorphicUpdateLayoutEffect = createUpdateEffect(useIsomorphicLayoutEffect$2);
8038
8073
  const ImageIcon = () => React__default.default.createElement("svg", {
8039
8074
  viewBox: "0 0 48 48",
8040
8075
  xmlns: "http://www.w3.org/2000/svg"
@@ -8416,7 +8451,7 @@
8416
8451
  var n = d.startOf;
8417
8452
  d.startOf = function(e2, t2) {
8418
8453
  var i2 = this.$utils(), s2 = !!i2.u(t2) || t2;
8419
- 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);
8454
+ 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);
8420
8455
  };
8421
8456
  };
8422
8457
  });
@@ -8656,7 +8691,7 @@
8656
8691
  const capsuleTabs = "";
8657
8692
  function useResizeEffect(effect, targetRef) {
8658
8693
  const fn = useMemoizedFn(effect);
8659
- useIsomorphicLayoutEffect$1(() => {
8694
+ useIsomorphicLayoutEffect$2(() => {
8660
8695
  const target = targetRef.current;
8661
8696
  if (!target)
8662
8697
  return;
@@ -8734,7 +8769,7 @@
8734
8769
  immediate: immediate && !scrollLeft.isAnimating
8735
8770
  });
8736
8771
  }
8737
- useIsomorphicLayoutEffect$1(() => {
8772
+ useIsomorphicLayoutEffect$2(() => {
8738
8773
  animate(true);
8739
8774
  }, []);
8740
8775
  useIsomorphicUpdateLayoutEffect(() => {
@@ -8811,7 +8846,7 @@
8811
8846
  }
8812
8847
  }));
8813
8848
  };
8814
- var reactIs$1 = { exports: {} };
8849
+ var _reactIs_17_0_2_reactIs = { exports: {} };
8815
8850
  var reactIs_development$1 = {};
8816
8851
  /** @license React v17.0.2
8817
8852
  * react-is.development.js
@@ -9006,12 +9041,12 @@
9006
9041
  {
9007
9042
  module2.exports = reactIs_development$1;
9008
9043
  }
9009
- })(reactIs$1);
9044
+ })(_reactIs_17_0_2_reactIs);
9010
9045
  function traverseReactNode(children, fn) {
9011
9046
  let i = 0;
9012
9047
  function handle(target) {
9013
9048
  React__default.default.Children.forEach(target, (child) => {
9014
- if (!reactIs$1.exports.isFragment(child)) {
9049
+ if (!_reactIs_17_0_2_reactIs.exports.isFragment(child)) {
9015
9050
  fn(child, i);
9016
9051
  i += 1;
9017
9052
  } else {
@@ -9210,7 +9245,7 @@
9210
9245
  }
9211
9246
  function _objectSpread2$1(target) {
9212
9247
  for (var i = 1; i < arguments.length; i++) {
9213
- var source = arguments[i] != null ? arguments[i] : {};
9248
+ var source = null != arguments[i] ? arguments[i] : {};
9214
9249
  i % 2 ? ownKeys$1(Object(source), true).forEach(function(key) {
9215
9250
  _defineProperty$1(target, key, source[key]);
9216
9251
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function(key) {
@@ -9932,7 +9967,7 @@ Please upgrade to the latest version.`);
9932
9967
  this.emit();
9933
9968
  }
9934
9969
  pointerClick(event) {
9935
- if (!this.state.tap) {
9970
+ if (!this.state.tap && event.detail > 0) {
9936
9971
  event.preventDefault();
9937
9972
  event.stopPropagation();
9938
9973
  }
@@ -10640,23 +10675,21 @@ This message will only appear in development mode.`);
10640
10675
  }
10641
10676
  return result2;
10642
10677
  }
10643
- function parse$1(config2, gestureKey) {
10644
- const _ref = config2, {
10678
+ function parse$1(newConfig, gestureKey, _config = {}) {
10679
+ const _ref = newConfig, {
10645
10680
  target,
10646
10681
  eventOptions,
10647
10682
  window: window2,
10648
10683
  enabled,
10649
10684
  transform
10650
10685
  } = _ref, rest = _objectWithoutProperties$1(_ref, _excluded$3);
10651
- const _config = {
10652
- shared: resolveWith({
10653
- target,
10654
- eventOptions,
10655
- window: window2,
10656
- enabled,
10657
- transform
10658
- }, sharedConfigResolver)
10659
- };
10686
+ _config.shared = resolveWith({
10687
+ target,
10688
+ eventOptions,
10689
+ window: window2,
10690
+ enabled,
10691
+ transform
10692
+ }, sharedConfigResolver);
10660
10693
  if (gestureKey) {
10661
10694
  const resolver = ConfigResolverMap.get(gestureKey);
10662
10695
  _config[gestureKey] = resolveWith(_objectSpread2$1({
@@ -10760,7 +10793,7 @@ This message will only appear in development mode.`);
10760
10793
  this.nativeHandlers = nativeHandlers;
10761
10794
  }
10762
10795
  applyConfig(config2, gestureKey) {
10763
- this.config = parse$1(config2, gestureKey);
10796
+ this.config = parse$1(config2, gestureKey, this.config);
10764
10797
  }
10765
10798
  clean() {
10766
10799
  this._targetEventStore.clean();
@@ -11007,13 +11040,13 @@ Please add \`${key}Action\` when creating your handler.`);
11007
11040
  const rootRef = React$1.useRef(null);
11008
11041
  const itemHeightMeasureRef = React$1.useRef(null);
11009
11042
  const itemHeight = React$1.useRef(34);
11010
- useIsomorphicLayoutEffect$1(() => {
11043
+ useIsomorphicLayoutEffect$2(() => {
11011
11044
  const itemHeightMeasure = itemHeightMeasureRef.current;
11012
11045
  if (!itemHeightMeasure)
11013
11046
  return;
11014
11047
  itemHeight.current = measureCSSLength(window.getComputedStyle(itemHeightMeasure).getPropertyValue("height"));
11015
11048
  });
11016
- useIsomorphicLayoutEffect$1(() => {
11049
+ useIsomorphicLayoutEffect$2(() => {
11017
11050
  if (draggingRef.current)
11018
11051
  return;
11019
11052
  if (value === null)
@@ -11027,7 +11060,7 @@ Please add \`${key}Action\` when creating your handler.`);
11027
11060
  immediate: y.goal !== finalPosition
11028
11061
  });
11029
11062
  }, [value, column]);
11030
- useIsomorphicLayoutEffect$1(() => {
11063
+ useIsomorphicLayoutEffect$2(() => {
11031
11064
  if (column.length === 0) {
11032
11065
  if (value !== null) {
11033
11066
  onSelect(null);
@@ -11262,7 +11295,7 @@ Please add \`${key}Action\` when creating your handler.`);
11262
11295
  return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
11263
11296
  }
11264
11297
  var objectIs = typeof Object.is === "function" ? Object.is : is2;
11265
- var useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect2 = React2.useLayoutEffect, useDebugValue = React2.useDebugValue;
11298
+ var useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue = React2.useDebugValue;
11266
11299
  var didWarnOld18Alpha = false;
11267
11300
  var didWarnUncachedGetSnapshot = false;
11268
11301
  function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
@@ -11290,7 +11323,7 @@ Please add \`${key}Action\` when creating your handler.`);
11290
11323
  getSnapshot
11291
11324
  }
11292
11325
  }), inst = _useState[0].inst, forceUpdate = _useState[1];
11293
- useLayoutEffect2(function() {
11326
+ useLayoutEffect(function() {
11294
11327
  inst.value = value;
11295
11328
  inst.getSnapshot = getSnapshot;
11296
11329
  if (checkIfSnapshotChanged(inst)) {
@@ -11874,7 +11907,7 @@ Please add \`${key}Action\` when creating your handler.`);
11874
11907
  immediate
11875
11908
  });
11876
11909
  }
11877
- useIsomorphicLayoutEffect$1(() => {
11910
+ useIsomorphicLayoutEffect$2(() => {
11878
11911
  animate(!x.isAnimating);
11879
11912
  }, []);
11880
11913
  useIsomorphicUpdateLayoutEffect(() => {
@@ -11909,7 +11942,7 @@ Please add \`${key}Action\` when creating your handler.`);
11909
11942
  trailing: true,
11910
11943
  leading: true
11911
11944
  });
11912
- useIsomorphicLayoutEffect$1(() => {
11945
+ useIsomorphicLayoutEffect$2(() => {
11913
11946
  updateMask(true);
11914
11947
  }, []);
11915
11948
  return withNativeProps(props, React__default.default.createElement("div", {
@@ -12499,7 +12532,7 @@ Please add \`${key}Action\` when creating your handler.`);
12499
12532
  }
12500
12533
  });
12501
12534
  const [active, setActive] = React$1.useState(props.visible);
12502
- useIsomorphicLayoutEffect$1(() => {
12535
+ useIsomorphicLayoutEffect$2(() => {
12503
12536
  if (props.visible) {
12504
12537
  setActive(true);
12505
12538
  }
@@ -12561,18 +12594,22 @@ Please add \`${key}Action\` when creating your handler.`);
12561
12594
  const Group$1 = (p) => {
12562
12595
  const props = mergeProps(defaultProps$O, p);
12563
12596
  const [value, setValue2] = usePropsValue(props);
12564
- return React__default.default.createElement(CheckboxGroupContext.Provider, {
12565
- value: {
12566
- value,
12567
- disabled: props.disabled,
12568
- check: (v) => {
12569
- setValue2([...value, v]);
12570
- },
12571
- uncheck: (v) => {
12572
- setValue2(value.filter((item) => item !== v));
12597
+ return React__default.default.createElement(
12598
+ CheckboxGroupContext.Provider,
12599
+ {
12600
+ value: {
12601
+ value,
12602
+ disabled: props.disabled,
12603
+ check: (v) => {
12604
+ setValue2([...value, v]);
12605
+ },
12606
+ uncheck: (v) => {
12607
+ setValue2(value.filter((item) => item !== v));
12608
+ }
12573
12609
  }
12574
- }
12575
- }, props.children);
12610
+ },
12611
+ props.children
12612
+ );
12576
12613
  };
12577
12614
  const CheckIcon = React$1.memo((props) => {
12578
12615
  return withNativeProps(props, React__default.default.createElement("svg", {
@@ -12856,7 +12893,7 @@ Please add \`${key}Action\` when creating your handler.`);
12856
12893
  return function(e, n) {
12857
12894
  n.prototype.isoWeeksInYear = function() {
12858
12895
  var e2 = this.isLeapYear(), n2 = this.endOf("y").day();
12859
- return n2 === 4 || e2 && n2 === 5 ? 53 : 52;
12896
+ return 4 === n2 || e2 && 5 === n2 ? 53 : 52;
12860
12897
  };
12861
12898
  };
12862
12899
  });
@@ -13604,7 +13641,7 @@ Please add \`${key}Action\` when creating your handler.`);
13604
13641
  Item
13605
13642
  });
13606
13643
  const ellipsis = "";
13607
- var runes$1 = { exports: {} };
13644
+ var _runes_0_4_3_runes = { exports: {} };
13608
13645
  const HIGH_SURROGATE_START = 55296;
13609
13646
  const HIGH_SURROGATE_END = 56319;
13610
13647
  const LOW_SURROGATE_START = 56320;
@@ -13722,13 +13759,14 @@ Please add \`${key}Action\` when creating your handler.`);
13722
13759
  }
13723
13760
  return chars.slice(start2, endIndex).join("");
13724
13761
  }
13725
- runes$1.exports = runes;
13726
- runes$1.exports.substr = substring;
13762
+ _runes_0_4_3_runes.exports = runes;
13763
+ _runes_0_4_3_runes.exports.substr = substring;
13727
13764
  const classPrefix$S = `adm-ellipsis`;
13728
13765
  const defaultProps$G = {
13729
13766
  direction: "end",
13730
13767
  rows: 1,
13731
13768
  expandText: "",
13769
+ content: "",
13732
13770
  collapseText: "",
13733
13771
  stopPropagationForActionButtons: [],
13734
13772
  onContentClick: () => {
@@ -13740,7 +13778,7 @@ Please add \`${key}Action\` when creating your handler.`);
13740
13778
  const [ellipsised, setEllipsised] = React$1.useState({});
13741
13779
  const [expanded, setExpanded] = React$1.useState(false);
13742
13780
  const [exceeded, setExceeded] = React$1.useState(false);
13743
- const chars = React$1.useMemo(() => runes$1.exports(props.content), [props.content]);
13781
+ const chars = React$1.useMemo(() => _runes_0_4_3_runes.exports(props.content), [props.content]);
13744
13782
  function getSubString(start2, end) {
13745
13783
  return chars.slice(start2, end).join("");
13746
13784
  }
@@ -13831,7 +13869,7 @@ Please add \`${key}Action\` when creating your handler.`);
13831
13869
  document.body.removeChild(container);
13832
13870
  }
13833
13871
  useResizeEffect(calcEllipsised, rootRef);
13834
- useIsomorphicLayoutEffect$1(() => {
13872
+ useIsomorphicLayoutEffect$2(() => {
13835
13873
  calcEllipsised();
13836
13874
  }, [props.content, props.direction, props.rows, props.expandText, props.collapseText]);
13837
13875
  const expandActionElement = exceeded && props.expandText ? withStopPropagation(props.stopPropagationForActionButtons, React__default.default.createElement("a", {
@@ -14740,7 +14778,7 @@ Please add \`${key}Action\` when creating your handler.`);
14740
14778
  }
14741
14779
  function _objectSpread2(target) {
14742
14780
  for (var i = 1; i < arguments.length; i++) {
14743
- var source = arguments[i] != null ? arguments[i] : {};
14781
+ var source = null != arguments[i] ? arguments[i] : {};
14744
14782
  i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
14745
14783
  _defineProperty(target, key, source[key]);
14746
14784
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
@@ -14862,10 +14900,10 @@ Please add \`${key}Action\` when creating your handler.`);
14862
14900
  }
14863
14901
  function _typeof$1(obj) {
14864
14902
  "@babel/helpers - typeof";
14865
- return _typeof$1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
14903
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
14866
14904
  return typeof obj2;
14867
14905
  } : function(obj2) {
14868
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14906
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14869
14907
  }, _typeof$1(obj);
14870
14908
  }
14871
14909
  function _possibleConstructorReturn(self2, call2) {
@@ -14889,7 +14927,7 @@ Please add \`${key}Action\` when creating your handler.`);
14889
14927
  return _possibleConstructorReturn(this, result2);
14890
14928
  };
14891
14929
  }
14892
- var reactIs = { exports: {} };
14930
+ var _reactIs_16_13_1_reactIs = { exports: {} };
14893
14931
  var reactIs_development = {};
14894
14932
  /** @license React v16.13.1
14895
14933
  * react-is.development.js
@@ -15049,7 +15087,7 @@ Please add \`${key}Action\` when creating your handler.`);
15049
15087
  {
15050
15088
  module2.exports = reactIs_development;
15051
15089
  }
15052
- })(reactIs);
15090
+ })(_reactIs_16_13_1_reactIs);
15053
15091
  function toArray$2(children) {
15054
15092
  var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
15055
15093
  var ret = [];
@@ -15059,7 +15097,7 @@ Please add \`${key}Action\` when creating your handler.`);
15059
15097
  }
15060
15098
  if (Array.isArray(child)) {
15061
15099
  ret = ret.concat(toArray$2(child));
15062
- } else if (reactIs.exports.isFragment(child) && child.props) {
15100
+ } else if (_reactIs_16_13_1_reactIs.exports.isFragment(child) && child.props) {
15063
15101
  ret = ret.concat(toArray$2(child.props.children, option));
15064
15102
  } else {
15065
15103
  ret.push(child);
@@ -15127,11 +15165,10 @@ Please add \`${key}Action\` when creating your handler.`);
15127
15165
  return Array.isArray(value) ? value : [value];
15128
15166
  }
15129
15167
  function _regeneratorRuntime() {
15130
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
15131
15168
  _regeneratorRuntime = function _regeneratorRuntime2() {
15132
15169
  return exports3;
15133
15170
  };
15134
- var exports3 = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = typeof Symbol == "function" ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15171
+ var exports3 = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15135
15172
  function define2(obj, key, value) {
15136
15173
  return Object.defineProperty(obj, key, {
15137
15174
  value,
@@ -15152,10 +15189,10 @@ Please add \`${key}Action\` when creating your handler.`);
15152
15189
  return generator._invoke = function(innerFn2, self3, context2) {
15153
15190
  var state = "suspendedStart";
15154
15191
  return function(method2, arg) {
15155
- if (state === "executing")
15192
+ if ("executing" === state)
15156
15193
  throw new Error("Generator is already running");
15157
- if (state === "completed") {
15158
- if (method2 === "throw")
15194
+ if ("completed" === state) {
15195
+ if ("throw" === method2)
15159
15196
  throw arg;
15160
15197
  return doneResult();
15161
15198
  }
@@ -15169,17 +15206,17 @@ Please add \`${key}Action\` when creating your handler.`);
15169
15206
  return delegateResult;
15170
15207
  }
15171
15208
  }
15172
- if (context2.method === "next")
15209
+ if ("next" === context2.method)
15173
15210
  context2.sent = context2._sent = context2.arg;
15174
- else if (context2.method === "throw") {
15175
- if (state === "suspendedStart")
15211
+ else if ("throw" === context2.method) {
15212
+ if ("suspendedStart" === state)
15176
15213
  throw state = "completed", context2.arg;
15177
15214
  context2.dispatchException(context2.arg);
15178
15215
  } else
15179
- context2.method === "return" && context2.abrupt("return", context2.arg);
15216
+ "return" === context2.method && context2.abrupt("return", context2.arg);
15180
15217
  state = "executing";
15181
15218
  var record2 = tryCatch(innerFn2, self3, context2);
15182
- if (record2.type === "normal") {
15219
+ if ("normal" === record2.type) {
15183
15220
  if (state = context2.done ? "completed" : "suspendedYield", record2.arg === ContinueSentinel)
15184
15221
  continue;
15185
15222
  return {
@@ -15187,7 +15224,7 @@ Please add \`${key}Action\` when creating your handler.`);
15187
15224
  done: context2.done
15188
15225
  };
15189
15226
  }
15190
- record2.type === "throw" && (state = "completed", context2.method = "throw", context2.arg = record2.arg);
15227
+ "throw" === record2.type && (state = "completed", context2.method = "throw", context2.arg = record2.arg);
15191
15228
  }
15192
15229
  };
15193
15230
  }(innerFn, self2, context), generator;
@@ -15230,9 +15267,9 @@ Please add \`${key}Action\` when creating your handler.`);
15230
15267
  function AsyncIterator(generator, PromiseImpl) {
15231
15268
  function invoke(method2, arg, resolve, reject) {
15232
15269
  var record2 = tryCatch(generator[method2], generator, arg);
15233
- if (record2.type !== "throw") {
15270
+ if ("throw" !== record2.type) {
15234
15271
  var result2 = record2.arg, value = result2.value;
15235
- return value && _typeof$1(value) == "object" && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) {
15272
+ return value && "object" == _typeof$1(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) {
15236
15273
  invoke("next", value2, resolve, reject);
15237
15274
  }, function(err) {
15238
15275
  invoke("throw", err, resolve, reject);
@@ -15256,19 +15293,19 @@ Please add \`${key}Action\` when creating your handler.`);
15256
15293
  }
15257
15294
  function maybeInvokeDelegate(delegate, context) {
15258
15295
  var method2 = delegate.iterator[context.method];
15259
- if (method2 === void 0) {
15260
- if (context.delegate = null, context.method === "throw") {
15261
- if (delegate.iterator["return"] && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), context.method === "throw"))
15296
+ if (void 0 === method2) {
15297
+ if (context.delegate = null, "throw" === context.method) {
15298
+ if (delegate.iterator["return"] && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), "throw" === context.method))
15262
15299
  return ContinueSentinel;
15263
15300
  context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
15264
15301
  }
15265
15302
  return ContinueSentinel;
15266
15303
  }
15267
15304
  var record2 = tryCatch(method2, delegate.iterator, context.arg);
15268
- if (record2.type === "throw")
15305
+ if ("throw" === record2.type)
15269
15306
  return context.method = "throw", context.arg = record2.arg, context.delegate = null, ContinueSentinel;
15270
15307
  var info = record2.arg;
15271
- 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);
15308
+ 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);
15272
15309
  }
15273
15310
  function pushTryEntry(locs) {
15274
15311
  var entry = {
@@ -15290,7 +15327,7 @@ Please add \`${key}Action\` when creating your handler.`);
15290
15327
  var iteratorMethod = iterable[iteratorSymbol];
15291
15328
  if (iteratorMethod)
15292
15329
  return iteratorMethod.call(iterable);
15293
- if (typeof iterable.next == "function")
15330
+ if ("function" == typeof iterable.next)
15294
15331
  return iterable;
15295
15332
  if (!isNaN(iterable.length)) {
15296
15333
  var i = -1, next = function next2() {
@@ -15314,8 +15351,8 @@ Please add \`${key}Action\` when creating your handler.`);
15314
15351
  };
15315
15352
  }
15316
15353
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, define2(Gp, "constructor", GeneratorFunctionPrototype), define2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports3.isGeneratorFunction = function(genFun) {
15317
- var ctor = typeof genFun == "function" && genFun.constructor;
15318
- return !!ctor && (ctor === GeneratorFunction || (ctor.displayName || ctor.name) === "GeneratorFunction");
15354
+ var ctor = "function" == typeof genFun && genFun.constructor;
15355
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
15319
15356
  }, exports3.mark = function(genFun) {
15320
15357
  return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
15321
15358
  }, exports3.awrap = function(arg) {
@@ -15325,7 +15362,7 @@ Please add \`${key}Action\` when creating your handler.`);
15325
15362
  }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
15326
15363
  return this;
15327
15364
  }), exports3.AsyncIterator = AsyncIterator, exports3.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
15328
- PromiseImpl === void 0 && (PromiseImpl = Promise);
15365
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
15329
15366
  var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
15330
15367
  return exports3.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result2) {
15331
15368
  return result2.done ? result2.value : iter.next();
@@ -15352,13 +15389,13 @@ Please add \`${key}Action\` when creating your handler.`);
15352
15389
  reset: function reset(skipTempReset) {
15353
15390
  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)
15354
15391
  for (var name in this) {
15355
- name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
15392
+ "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
15356
15393
  }
15357
15394
  },
15358
15395
  stop: function stop2() {
15359
15396
  this.done = true;
15360
15397
  var rootRecord = this.tryEntries[0].completion;
15361
- if (rootRecord.type === "throw")
15398
+ if ("throw" === rootRecord.type)
15362
15399
  throw rootRecord.arg;
15363
15400
  return this.rval;
15364
15401
  },
@@ -15371,7 +15408,7 @@ Please add \`${key}Action\` when creating your handler.`);
15371
15408
  }
15372
15409
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
15373
15410
  var entry = this.tryEntries[i], record2 = entry.completion;
15374
- if (entry.tryLoc === "root")
15411
+ if ("root" === entry.tryLoc)
15375
15412
  return handle("end");
15376
15413
  if (entry.tryLoc <= this.prev) {
15377
15414
  var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc");
@@ -15400,14 +15437,14 @@ Please add \`${key}Action\` when creating your handler.`);
15400
15437
  break;
15401
15438
  }
15402
15439
  }
15403
- finallyEntry && (type2 === "break" || type2 === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
15440
+ finallyEntry && ("break" === type2 || "continue" === type2) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
15404
15441
  var record2 = finallyEntry ? finallyEntry.completion : {};
15405
15442
  return record2.type = type2, record2.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record2);
15406
15443
  },
15407
15444
  complete: function complete(record2, afterLoc) {
15408
- if (record2.type === "throw")
15445
+ if ("throw" === record2.type)
15409
15446
  throw record2.arg;
15410
- 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;
15447
+ 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;
15411
15448
  },
15412
15449
  finish: function finish(finallyLoc) {
15413
15450
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
@@ -15421,7 +15458,7 @@ Please add \`${key}Action\` when creating your handler.`);
15421
15458
  var entry = this.tryEntries[i];
15422
15459
  if (entry.tryLoc === tryLoc) {
15423
15460
  var record2 = entry.completion;
15424
- if (record2.type === "throw") {
15461
+ if ("throw" === record2.type) {
15425
15462
  var thrown = record2.arg;
15426
15463
  resetTryEntry(entry);
15427
15464
  }
@@ -15435,7 +15472,7 @@ Please add \`${key}Action\` when creating your handler.`);
15435
15472
  iterator: values(iterable),
15436
15473
  resultName,
15437
15474
  nextLoc
15438
- }, this.method === "next" && (this.arg = void 0), ContinueSentinel;
15475
+ }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
15439
15476
  }
15440
15477
  }, exports3;
15441
15478
  }
@@ -16703,7 +16740,7 @@ Please add \`${key}Action\` when creating your handler.`);
16703
16740
  }
16704
16741
  var sourceKeys = Object.keys(source);
16705
16742
  var targetKeys = Object.keys(target);
16706
- var keys2 = new Set([].concat(_toConsumableArray(sourceKeys), _toConsumableArray(targetKeys)));
16743
+ var keys2 = new Set([].concat(sourceKeys, targetKeys));
16707
16744
  return _toConsumableArray(keys2).every(function(key) {
16708
16745
  var sourceValue = source[key];
16709
16746
  var targetValue = target[key];
@@ -17167,10 +17204,11 @@ Please add \`${key}Action\` when creating your handler.`);
17167
17204
  }).then(function() {
17168
17205
  var ruleErrors = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : EMPTY_ERRORS;
17169
17206
  if (_this.validatePromise === rootPromise) {
17207
+ var _ruleErrors$forEach;
17170
17208
  _this.validatePromise = null;
17171
17209
  var nextErrors = [];
17172
17210
  var nextWarnings = [];
17173
- ruleErrors.forEach(function(_ref3) {
17211
+ (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function(_ref3) {
17174
17212
  var warningOnly = _ref3.rule.warningOnly, _ref3$errors = _ref3.errors, errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
17175
17213
  if (warningOnly) {
17176
17214
  nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));
@@ -18259,9 +18297,10 @@ Please add \`${key}Action\` when creating your handler.`);
18259
18297
  warnings: []
18260
18298
  };
18261
18299
  }).catch(function(ruleErrors) {
18300
+ var _ruleErrors$forEach;
18262
18301
  var mergedErrors = [];
18263
18302
  var mergedWarnings = [];
18264
- ruleErrors.forEach(function(_ref6) {
18303
+ (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function(_ref6) {
18265
18304
  var warningOnly = _ref6.rule.warningOnly, errors = _ref6.errors;
18266
18305
  if (warningOnly) {
18267
18306
  mergedWarnings.push.apply(mergedWarnings, _toConsumableArray(errors));
@@ -18445,9 +18484,12 @@ Please add \`${key}Action\` when creating your handler.`);
18445
18484
  if (!mountRef.current) {
18446
18485
  mountRef.current = true;
18447
18486
  }
18448
- React__namespace.useEffect(function() {
18449
- return destroyForm;
18450
- }, []);
18487
+ React__namespace.useEffect(
18488
+ function() {
18489
+ return destroyForm;
18490
+ },
18491
+ []
18492
+ );
18451
18493
  var childrenNode;
18452
18494
  var childrenRenderProps = typeof children === "function";
18453
18495
  if (childrenRenderProps) {
@@ -18497,8 +18539,10 @@ Please add \`${key}Action\` when creating your handler.`);
18497
18539
  }
18498
18540
  }
18499
18541
  function useWatch() {
18500
- var dependencies = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
18501
- var form = arguments.length > 1 ? arguments[1] : void 0;
18542
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
18543
+ args[_key] = arguments[_key];
18544
+ }
18545
+ var _args$ = args[0], dependencies = _args$ === void 0 ? [] : _args$, form = args[1];
18502
18546
  var _useState = React$1.useState(), _useState2 = _slicedToArray(_useState, 2), value = _useState2[0], setValue2 = _useState2[1];
18503
18547
  var valueStr = React$1.useMemo(function() {
18504
18548
  return stringify$1(value);
@@ -18509,29 +18553,32 @@ Please add \`${key}Action\` when creating your handler.`);
18509
18553
  var formInstance = form || fieldContext;
18510
18554
  var isValidForm = formInstance && formInstance._init;
18511
18555
  {
18512
- warningOnce$1(isValidForm, "useWatch requires a form instance since it can not auto detect from context.");
18556
+ warningOnce$1(args.length === 2 ? form ? isValidForm : true : isValidForm, "useWatch requires a form instance since it can not auto detect from context.");
18513
18557
  }
18514
18558
  var namePath = getNamePath(dependencies);
18515
18559
  var namePathRef = React$1.useRef(namePath);
18516
18560
  namePathRef.current = namePath;
18517
- React$1.useEffect(function() {
18518
- if (!isValidForm) {
18519
- return;
18520
- }
18521
- var getFieldsValue = formInstance.getFieldsValue, getInternalHooks = formInstance.getInternalHooks;
18522
- var _getInternalHooks = getInternalHooks(HOOK_MARK$1), registerWatch = _getInternalHooks.registerWatch;
18523
- var cancelRegister = registerWatch(function(store) {
18524
- var newValue = getValue(store, namePathRef.current);
18525
- var nextValueStr = stringify$1(newValue);
18526
- if (valueStrRef.current !== nextValueStr) {
18527
- valueStrRef.current = nextValueStr;
18528
- setValue2(newValue);
18561
+ React$1.useEffect(
18562
+ function() {
18563
+ if (!isValidForm) {
18564
+ return;
18529
18565
  }
18530
- });
18531
- var initialValue = getValue(getFieldsValue(), namePathRef.current);
18532
- setValue2(initialValue);
18533
- return cancelRegister;
18534
- }, []);
18566
+ var getFieldsValue = formInstance.getFieldsValue, getInternalHooks = formInstance.getInternalHooks;
18567
+ var _getInternalHooks = getInternalHooks(HOOK_MARK$1), registerWatch = _getInternalHooks.registerWatch;
18568
+ var cancelRegister = registerWatch(function(store) {
18569
+ var newValue = getValue(store, namePathRef.current);
18570
+ var nextValueStr = stringify$1(newValue);
18571
+ if (valueStrRef.current !== nextValueStr) {
18572
+ valueStrRef.current = nextValueStr;
18573
+ setValue2(newValue);
18574
+ }
18575
+ });
18576
+ var initialValue = getValue(getFieldsValue(), namePathRef.current);
18577
+ setValue2(initialValue);
18578
+ return cancelRegister;
18579
+ },
18580
+ [isValidForm]
18581
+ );
18535
18582
  return value;
18536
18583
  }
18537
18584
  var InternalForm = /* @__PURE__ */ React__namespace.forwardRef(Form$1);
@@ -18884,10 +18931,10 @@ Please add \`${key}Action\` when creating your handler.`);
18884
18931
  (function(module2) {
18885
18932
  function _typeof2(obj) {
18886
18933
  "@babel/helpers - typeof";
18887
- return module2.exports = _typeof2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
18934
+ return module2.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
18888
18935
  return typeof obj2;
18889
18936
  } : function(obj2) {
18890
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
18937
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
18891
18938
  }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _typeof2(obj);
18892
18939
  }
18893
18940
  module2.exports = _typeof2, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
@@ -19046,9 +19093,9 @@ Please add \`${key}Action\` when creating your handler.`);
19046
19093
  return typeof type2 === "function" && !shouldConstruct(type2) && type2.defaultProps === void 0;
19047
19094
  }
19048
19095
  function isSafeSetRefComponent(component) {
19049
- if (reactIs$1.exports.isFragment(component))
19096
+ if (_reactIs_17_0_2_reactIs.exports.isFragment(component))
19050
19097
  return false;
19051
- if (reactIs$1.exports.isMemo(component))
19098
+ if (_reactIs_17_0_2_reactIs.exports.isMemo(component))
19052
19099
  return isSafeSetRefComponent(component.type);
19053
19100
  return !isSimpleFunctionComponent(component.type);
19054
19101
  }
@@ -19750,7 +19797,7 @@ Please add \`${key}Action\` when creating your handler.`);
19750
19797
  }
19751
19798
  return node;
19752
19799
  }
19753
- function getComputedStyle$1(element) {
19800
+ function getComputedStyle(element) {
19754
19801
  return getWindow(element).getComputedStyle(element);
19755
19802
  }
19756
19803
  function getNodeName(node) {
@@ -19784,7 +19831,7 @@ Please add \`${key}Action\` when creating your handler.`);
19784
19831
  overflow,
19785
19832
  overflowX,
19786
19833
  overflowY
19787
- } = getComputedStyle$1(element);
19834
+ } = getComputedStyle(element);
19788
19835
  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
19789
19836
  }
19790
19837
  function isTableElement(element) {
@@ -19792,7 +19839,7 @@ Please add \`${key}Action\` when creating your handler.`);
19792
19839
  }
19793
19840
  function isContainingBlock(element) {
19794
19841
  const isFirefox = /firefox/i.test(getUAString());
19795
- const css = getComputedStyle$1(element);
19842
+ const css = getComputedStyle(element);
19796
19843
  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);
19797
19844
  }
19798
19845
  function isLayoutViewport() {
@@ -19858,7 +19905,11 @@ Please add \`${key}Action\` when creating your handler.`);
19858
19905
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
19859
19906
  const isOffsetParentAnElement = isHTMLElement(offsetParent);
19860
19907
  const documentElement = getDocumentElement(offsetParent);
19861
- const rect = getBoundingClientRect(element, isOffsetParentAnElement && isScaled(offsetParent), strategy === "fixed");
19908
+ const rect = getBoundingClientRect(
19909
+ element,
19910
+ isOffsetParentAnElement && isScaled(offsetParent),
19911
+ strategy === "fixed"
19912
+ );
19862
19913
  let scroll = {
19863
19914
  scrollLeft: 0,
19864
19915
  scrollTop: 0
@@ -19907,7 +19958,8 @@ Please add \`${key}Action\` when creating your handler.`);
19907
19958
  if (isContainingBlock(currentNode)) {
19908
19959
  return currentNode;
19909
19960
  } else {
19910
- currentNode = currentNode.parentNode;
19961
+ const parent = currentNode.parentNode;
19962
+ currentNode = isShadowRoot(parent) ? parent.host : parent;
19911
19963
  }
19912
19964
  }
19913
19965
  return null;
@@ -20004,7 +20056,7 @@ Please add \`${key}Action\` when creating your handler.`);
20004
20056
  const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
20005
20057
  let x = -scroll.scrollLeft + getWindowScrollBarX(element);
20006
20058
  const y = -scroll.scrollTop;
20007
- if (getComputedStyle$1(body || html).direction === "rtl") {
20059
+ if (getComputedStyle(body || html).direction === "rtl") {
20008
20060
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
20009
20061
  }
20010
20062
  return {
@@ -20077,7 +20129,7 @@ Please add \`${key}Action\` when creating your handler.`);
20077
20129
  }
20078
20130
  function getClippingAncestors(element) {
20079
20131
  const clippingAncestors = getOverflowAncestors(element);
20080
- const canEscapeClipping = ["absolute", "fixed"].includes(getComputedStyle$1(element).position);
20132
+ const canEscapeClipping = ["absolute", "fixed"].includes(getComputedStyle(element).position);
20081
20133
  const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
20082
20134
  if (!isElement(clipperElement)) {
20083
20135
  return [];
@@ -20132,7 +20184,7 @@ Please add \`${key}Action\` when creating your handler.`);
20132
20184
  };
20133
20185
  },
20134
20186
  getClientRects: (element) => Array.from(element.getClientRects()),
20135
- isRTL: (element) => getComputedStyle$1(element).direction === "rtl"
20187
+ isRTL: (element) => getComputedStyle(element).direction === "rtl"
20136
20188
  };
20137
20189
  function autoUpdate(reference, floating, update2, options) {
20138
20190
  if (options === void 0) {
@@ -20353,7 +20405,7 @@ Please add \`${key}Action\` when creating your handler.`);
20353
20405
  arrowElement.style.setProperty("--arrow-icon-rotate", arrowRotate);
20354
20406
  });
20355
20407
  }
20356
- useIsomorphicLayoutEffect$1(() => {
20408
+ useIsomorphicLayoutEffect$2(() => {
20357
20409
  update2();
20358
20410
  });
20359
20411
  React$1.useEffect(() => {
@@ -21262,14 +21314,14 @@ Please add \`${key}Action\` when creating your handler.`);
21262
21314
  const props = mergeProps(defaultProps$y, p);
21263
21315
  const [value, setValue2] = usePropsValue(props);
21264
21316
  const [tasks, setTasks] = React$1.useState([]);
21265
- useIsomorphicLayoutEffect$1(() => {
21317
+ useIsomorphicLayoutEffect$2(() => {
21266
21318
  setTasks((prev) => prev.filter((task) => {
21267
21319
  if (task.url === void 0)
21268
21320
  return true;
21269
21321
  return !value.some((fileItem) => fileItem.url === task.url);
21270
21322
  }));
21271
21323
  }, [value]);
21272
- useIsomorphicLayoutEffect$1(() => {
21324
+ useIsomorphicLayoutEffect$2(() => {
21273
21325
  var _a;
21274
21326
  (_a = props.onUploadQueueChange) === null || _a === void 0 ? void 0 : _a.call(props, tasks.map((item) => ({
21275
21327
  id: item.id,
@@ -21751,7 +21803,7 @@ Please add \`${key}Action\` when creating your handler.`);
21751
21803
  }
21752
21804
  (_a = props.onKeyDown) === null || _a === void 0 ? void 0 : _a.call(props, e);
21753
21805
  };
21754
- useIsomorphicLayoutEffect$1(() => {
21806
+ useIsomorphicLayoutEffect$2(() => {
21755
21807
  var _a;
21756
21808
  if (!props.enterKeyHint)
21757
21809
  return;
@@ -22114,7 +22166,6 @@ Please add \`${key}Action\` when creating your handler.`);
22114
22166
  const navBar = "";
22115
22167
  const classPrefix$y = `adm-nav-bar`;
22116
22168
  const defaultProps$s = {
22117
- back: "",
22118
22169
  backArrow: true
22119
22170
  };
22120
22171
  const NavBar = (p) => {
@@ -22791,17 +22842,21 @@ Please add \`${key}Action\` when creating your handler.`);
22791
22842
  (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, v);
22792
22843
  }
22793
22844
  });
22794
- return React__default.default.createElement(RadioGroupContext.Provider, {
22795
- value: {
22796
- value: value === null ? [] : [value],
22797
- check: (v) => {
22798
- setValue2(v);
22799
- },
22800
- uncheck: () => {
22801
- },
22802
- disabled: props.disabled
22803
- }
22804
- }, props.children);
22845
+ return React__default.default.createElement(
22846
+ RadioGroupContext.Provider,
22847
+ {
22848
+ value: {
22849
+ value: value === null ? [] : [value],
22850
+ check: (v) => {
22851
+ setValue2(v);
22852
+ },
22853
+ uncheck: () => {
22854
+ },
22855
+ disabled: props.disabled
22856
+ }
22857
+ },
22858
+ props.children
22859
+ );
22805
22860
  };
22806
22861
  const classPrefix$q = `adm-radio`;
22807
22862
  const defaultProps$k = {
@@ -23509,178 +23564,6 @@ Please add \`${key}Action\` when creating your handler.`);
23509
23564
  mode: "dark"
23510
23565
  }, thumbElement) : thumbElement);
23511
23566
  };
23512
- const classPrefix$f = `adm-slider`;
23513
- const defaultProps$e = {
23514
- min: 0,
23515
- max: 100,
23516
- step: 1,
23517
- ticks: false,
23518
- range: false,
23519
- disabled: false,
23520
- popover: false,
23521
- residentPopover: false
23522
- };
23523
- const Slider = (p) => {
23524
- var _a;
23525
- const props = mergeProps(defaultProps$e, p);
23526
- const {
23527
- min: min2,
23528
- max: max2,
23529
- disabled,
23530
- marks,
23531
- ticks,
23532
- step,
23533
- icon
23534
- } = props;
23535
- function sortValue(val) {
23536
- return val.sort((a, b) => a - b);
23537
- }
23538
- function convertValue(value) {
23539
- return props.range ? value : [props.min, value];
23540
- }
23541
- function reverseValue(value) {
23542
- return props.range ? value : value[1];
23543
- }
23544
- function onAfterChange(value) {
23545
- var _a2;
23546
- (_a2 = props.onAfterChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, reverseValue(value));
23547
- }
23548
- let propsValue = props.value;
23549
- if (props.range && typeof props.value === "number") {
23550
- devWarning("Slider", "When `range` prop is enabled, the `value` prop should be an array, like: [0, 0]");
23551
- propsValue = [0, props.value];
23552
- }
23553
- const [rawValue, setRawValue] = usePropsValue({
23554
- value: propsValue,
23555
- defaultValue: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : props.range ? [min2, min2] : min2,
23556
- onChange: props.onChange
23557
- });
23558
- const sliderValue = sortValue(convertValue(rawValue));
23559
- function setSliderValue(value) {
23560
- const next = sortValue(value);
23561
- const current = sliderValue;
23562
- if (next[0] === current[0] && next[1] === current[1])
23563
- return;
23564
- setRawValue(reverseValue(next));
23565
- }
23566
- const trackRef = React$1.useRef(null);
23567
- const fillSize = `${100 * (sliderValue[1] - sliderValue[0]) / (max2 - min2)}%`;
23568
- const fillStart = `${100 * (sliderValue[0] - min2) / (max2 - min2)}%`;
23569
- const pointList = React$1.useMemo(() => {
23570
- if (marks) {
23571
- return Object.keys(marks).map(parseFloat).sort((a, b) => a - b);
23572
- } else {
23573
- const points = [];
23574
- for (let i = min2; i <= max2; i += step) {
23575
- points.push(i);
23576
- }
23577
- return points;
23578
- }
23579
- }, [marks, ticks, step, min2, max2]);
23580
- function getValueByPosition(position) {
23581
- const newPosition = position < min2 ? min2 : position > max2 ? max2 : position;
23582
- let value = min2;
23583
- if (pointList.length) {
23584
- value = nearest(pointList, newPosition);
23585
- } else {
23586
- const lengthPerStep = 100 / ((max2 - min2) / step);
23587
- const steps2 = Math.round(newPosition / lengthPerStep);
23588
- value = steps2 * lengthPerStep * (max2 - min2) * 0.01 + min2;
23589
- }
23590
- return value;
23591
- }
23592
- const dragLockRef = React$1.useRef(0);
23593
- const onTrackClick = (event) => {
23594
- if (dragLockRef.current > 0)
23595
- return;
23596
- event.stopPropagation();
23597
- if (disabled)
23598
- return;
23599
- const track = trackRef.current;
23600
- if (!track)
23601
- return;
23602
- const sliderOffsetLeft = track.getBoundingClientRect().left;
23603
- const position = (event.clientX - sliderOffsetLeft) / Math.ceil(track.offsetWidth) * (max2 - min2) + min2;
23604
- const targetValue = getValueByPosition(position);
23605
- let nextSliderValue;
23606
- if (props.range) {
23607
- if (Math.abs(targetValue - sliderValue[0]) > Math.abs(targetValue - sliderValue[1])) {
23608
- nextSliderValue = [sliderValue[0], targetValue];
23609
- } else {
23610
- nextSliderValue = [targetValue, sliderValue[1]];
23611
- }
23612
- } else {
23613
- nextSliderValue = [props.min, targetValue];
23614
- }
23615
- setSliderValue(nextSliderValue);
23616
- onAfterChange(nextSliderValue);
23617
- };
23618
- const valueBeforeDragRef = React$1.useRef();
23619
- const renderThumb = (index2) => {
23620
- return React__default.default.createElement(Thumb, {
23621
- key: index2,
23622
- value: sliderValue[index2],
23623
- min: min2,
23624
- max: max2,
23625
- disabled,
23626
- trackRef,
23627
- icon,
23628
- popover: props.popover,
23629
- residentPopover: props.residentPopover,
23630
- onDrag: (position, first, last) => {
23631
- if (first) {
23632
- dragLockRef.current += 1;
23633
- valueBeforeDragRef.current = sliderValue;
23634
- }
23635
- const val = getValueByPosition(position);
23636
- const valueBeforeDrag = valueBeforeDragRef.current;
23637
- if (!valueBeforeDrag)
23638
- return;
23639
- const next = [...valueBeforeDrag];
23640
- next[index2] = val;
23641
- setSliderValue(next);
23642
- if (last) {
23643
- onAfterChange(next);
23644
- window.setTimeout(() => {
23645
- dragLockRef.current -= 1;
23646
- }, 100);
23647
- }
23648
- },
23649
- "aria-label": props["aria-label"]
23650
- });
23651
- };
23652
- return withNativeProps(props, React__default.default.createElement("div", {
23653
- className: classNames(classPrefix$f, {
23654
- [`${classPrefix$f}-disabled`]: disabled
23655
- })
23656
- }, React__default.default.createElement("div", {
23657
- className: `${classPrefix$f}-track-container`,
23658
- onClick: onTrackClick
23659
- }, React__default.default.createElement("div", {
23660
- className: `${classPrefix$f}-track`,
23661
- onClick: onTrackClick,
23662
- ref: trackRef
23663
- }, React__default.default.createElement("div", {
23664
- className: `${classPrefix$f}-fill`,
23665
- style: {
23666
- width: fillSize,
23667
- left: fillStart
23668
- }
23669
- }), props.ticks && React__default.default.createElement(Ticks, {
23670
- points: pointList,
23671
- min: min2,
23672
- max: max2,
23673
- lowerBound: sliderValue[0],
23674
- upperBound: sliderValue[1]
23675
- }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.default.createElement(Marks, {
23676
- min: min2,
23677
- max: max2,
23678
- marks,
23679
- lowerBound: sliderValue[0],
23680
- upperBound: sliderValue[1]
23681
- })));
23682
- };
23683
- const stepper = "";
23684
23567
  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;
23685
23568
  function _Big_() {
23686
23569
  function Big2(n) {
@@ -24189,6 +24072,182 @@ Please add \`${key}Action\` when creating your handler.`);
24189
24072
  return stringify(x, x.e <= Big2.NE || x.e >= Big2.PE, true);
24190
24073
  };
24191
24074
  var Big = _Big_();
24075
+ const classPrefix$f = `adm-slider`;
24076
+ const defaultProps$e = {
24077
+ min: 0,
24078
+ max: 100,
24079
+ step: 1,
24080
+ ticks: false,
24081
+ range: false,
24082
+ disabled: false,
24083
+ popover: false,
24084
+ residentPopover: false
24085
+ };
24086
+ const Slider = (p) => {
24087
+ var _a;
24088
+ const props = mergeProps(defaultProps$e, p);
24089
+ const {
24090
+ min: min2,
24091
+ max: max2,
24092
+ disabled,
24093
+ marks,
24094
+ ticks,
24095
+ step,
24096
+ icon
24097
+ } = props;
24098
+ function sortValue(val) {
24099
+ return val.sort((a, b) => a - b);
24100
+ }
24101
+ function convertValue(value) {
24102
+ return props.range ? value : [props.min, value];
24103
+ }
24104
+ function reverseValue(value) {
24105
+ const mergedDecimalLen = Math.max(getDecimalLen(step), getDecimalLen(value[0]), getDecimalLen(value[1]));
24106
+ return props.range ? value.map((v) => Big(Big(v).toFixed(mergedDecimalLen)).toNumber()) : Big(Big(value[1]).toFixed(mergedDecimalLen)).toNumber();
24107
+ }
24108
+ function getDecimalLen(n) {
24109
+ return (`${n}`.split(".")[1] || "").length;
24110
+ }
24111
+ function onAfterChange(value) {
24112
+ var _a2;
24113
+ (_a2 = props.onAfterChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, reverseValue(value));
24114
+ }
24115
+ let propsValue = props.value;
24116
+ if (props.range && typeof props.value === "number") {
24117
+ devWarning("Slider", "When `range` prop is enabled, the `value` prop should be an array, like: [0, 0]");
24118
+ propsValue = [0, props.value];
24119
+ }
24120
+ const [rawValue, setRawValue] = usePropsValue({
24121
+ value: propsValue,
24122
+ defaultValue: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : props.range ? [min2, min2] : min2,
24123
+ onChange: props.onChange
24124
+ });
24125
+ const sliderValue = sortValue(convertValue(rawValue));
24126
+ function setSliderValue(value) {
24127
+ const next = sortValue(value);
24128
+ const current = sliderValue;
24129
+ if (next[0] === current[0] && next[1] === current[1])
24130
+ return;
24131
+ setRawValue(reverseValue(next));
24132
+ }
24133
+ const trackRef = React$1.useRef(null);
24134
+ const fillSize = `${100 * (sliderValue[1] - sliderValue[0]) / (max2 - min2)}%`;
24135
+ const fillStart = `${100 * (sliderValue[0] - min2) / (max2 - min2)}%`;
24136
+ const pointList = React$1.useMemo(() => {
24137
+ if (marks) {
24138
+ return Object.keys(marks).map(parseFloat).sort((a, b) => a - b);
24139
+ } else {
24140
+ const points = [];
24141
+ for (let i = Big(min2); i.lte(max2); i = i.plus(step)) {
24142
+ points.push(i.toNumber());
24143
+ }
24144
+ return points;
24145
+ }
24146
+ }, [marks, ticks, step, min2, max2]);
24147
+ function getValueByPosition(position) {
24148
+ const newPosition = position < min2 ? min2 : position > max2 ? max2 : position;
24149
+ let value = min2;
24150
+ if (pointList.length) {
24151
+ value = nearest(pointList, newPosition);
24152
+ } else {
24153
+ const lengthPerStep = 100 / ((max2 - min2) / step);
24154
+ const steps2 = Math.round(newPosition / lengthPerStep);
24155
+ value = steps2 * lengthPerStep * (max2 - min2) * 0.01 + min2;
24156
+ }
24157
+ return value;
24158
+ }
24159
+ const dragLockRef = React$1.useRef(0);
24160
+ const onTrackClick = (event) => {
24161
+ if (dragLockRef.current > 0)
24162
+ return;
24163
+ event.stopPropagation();
24164
+ if (disabled)
24165
+ return;
24166
+ const track = trackRef.current;
24167
+ if (!track)
24168
+ return;
24169
+ const sliderOffsetLeft = track.getBoundingClientRect().left;
24170
+ const position = (event.clientX - sliderOffsetLeft) / Math.ceil(track.offsetWidth) * (max2 - min2) + min2;
24171
+ const targetValue = getValueByPosition(position);
24172
+ let nextSliderValue;
24173
+ if (props.range) {
24174
+ if (Math.abs(targetValue - sliderValue[0]) > Math.abs(targetValue - sliderValue[1])) {
24175
+ nextSliderValue = [sliderValue[0], targetValue];
24176
+ } else {
24177
+ nextSliderValue = [targetValue, sliderValue[1]];
24178
+ }
24179
+ } else {
24180
+ nextSliderValue = [props.min, targetValue];
24181
+ }
24182
+ setSliderValue(nextSliderValue);
24183
+ onAfterChange(nextSliderValue);
24184
+ };
24185
+ const valueBeforeDragRef = React$1.useRef();
24186
+ const renderThumb = (index2) => {
24187
+ return React__default.default.createElement(Thumb, {
24188
+ key: index2,
24189
+ value: sliderValue[index2],
24190
+ min: min2,
24191
+ max: max2,
24192
+ disabled,
24193
+ trackRef,
24194
+ icon,
24195
+ popover: props.popover,
24196
+ residentPopover: props.residentPopover,
24197
+ onDrag: (position, first, last) => {
24198
+ if (first) {
24199
+ dragLockRef.current += 1;
24200
+ valueBeforeDragRef.current = sliderValue;
24201
+ }
24202
+ const val = getValueByPosition(position);
24203
+ const valueBeforeDrag = valueBeforeDragRef.current;
24204
+ if (!valueBeforeDrag)
24205
+ return;
24206
+ const next = [...valueBeforeDrag];
24207
+ next[index2] = val;
24208
+ setSliderValue(next);
24209
+ if (last) {
24210
+ onAfterChange(next);
24211
+ window.setTimeout(() => {
24212
+ dragLockRef.current -= 1;
24213
+ }, 100);
24214
+ }
24215
+ },
24216
+ "aria-label": props["aria-label"]
24217
+ });
24218
+ };
24219
+ return withNativeProps(props, React__default.default.createElement("div", {
24220
+ className: classNames(classPrefix$f, {
24221
+ [`${classPrefix$f}-disabled`]: disabled
24222
+ })
24223
+ }, React__default.default.createElement("div", {
24224
+ className: `${classPrefix$f}-track-container`,
24225
+ onClick: onTrackClick
24226
+ }, React__default.default.createElement("div", {
24227
+ className: `${classPrefix$f}-track`,
24228
+ onClick: onTrackClick,
24229
+ ref: trackRef
24230
+ }, React__default.default.createElement("div", {
24231
+ className: `${classPrefix$f}-fill`,
24232
+ style: {
24233
+ width: fillSize,
24234
+ left: fillStart
24235
+ }
24236
+ }), props.ticks && React__default.default.createElement(Ticks, {
24237
+ points: pointList,
24238
+ min: min2,
24239
+ max: max2,
24240
+ lowerBound: sliderValue[0],
24241
+ upperBound: sliderValue[1]
24242
+ }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.default.createElement(Marks, {
24243
+ min: min2,
24244
+ max: max2,
24245
+ marks,
24246
+ lowerBound: sliderValue[0],
24247
+ upperBound: sliderValue[1]
24248
+ })));
24249
+ };
24250
+ const stepper = "";
24192
24251
  const classPrefix$e = `adm-stepper`;
24193
24252
  const defaultProps$d = {
24194
24253
  defaultValue: 0,
@@ -24789,7 +24848,7 @@ Please add \`${key}Action\` when creating your handler.`);
24789
24848
  swipeNext,
24790
24849
  swipePrev
24791
24850
  }));
24792
- useIsomorphicLayoutEffect$1(() => {
24851
+ useIsomorphicLayoutEffect$2(() => {
24793
24852
  const maxIndex = validChildren.length - 1;
24794
24853
  if (current > maxIndex) {
24795
24854
  swipeTo(maxIndex, true);
@@ -25112,7 +25171,7 @@ Please add \`${key}Action\` when creating your handler.`);
25112
25171
  return nativeTextAreaRef.current;
25113
25172
  }
25114
25173
  }));
25115
- useIsomorphicLayoutEffect$1(() => {
25174
+ useIsomorphicLayoutEffect$2(() => {
25116
25175
  if (!autoSize)
25117
25176
  return;
25118
25177
  const textArea2 = nativeTextAreaRef.current;
@@ -25672,7 +25731,7 @@ Please add \`${key}Action\` when creating your handler.`);
25672
25731
  return;
25673
25732
  content.scrollLeft = content.clientWidth;
25674
25733
  }
25675
- useIsomorphicLayoutEffect$1(() => {
25734
+ useIsomorphicLayoutEffect$2(() => {
25676
25735
  scrollToEnd();
25677
25736
  }, [value]);
25678
25737
  React$1.useEffect(() => {