antd-mobile 5.13.0 → 5.14.1

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 (481) hide show
  1. package/2x/bundle/antd-mobile.cjs.js +18967 -0
  2. package/2x/bundle/antd-mobile.es.js +18876 -0
  3. package/2x/bundle/css-vars-patch.css +399 -0
  4. package/2x/bundle/style.css +4712 -0
  5. package/2x/cjs/components/action-sheet/action-sheet.css +8 -8
  6. package/2x/cjs/components/badge/badge.css +2 -2
  7. package/2x/cjs/components/button/button.css +6 -6
  8. package/2x/cjs/components/button/button.patch.css +106 -0
  9. package/2x/cjs/components/calendar/calendar.css +5 -5
  10. package/2x/cjs/components/capsule-tabs/capsule-tabs.css +4 -24
  11. package/2x/cjs/components/card/card.css +3 -3
  12. package/2x/cjs/components/cascader/cascader.css +2 -2
  13. package/2x/cjs/components/cascader/cascader.d.ts +1 -0
  14. package/2x/cjs/components/cascader-view/cascader-view.css +2 -2
  15. package/2x/cjs/components/cascader-view/cascader-view.d.ts +1 -0
  16. package/2x/cjs/components/cascader-view/cascader-view.js +14 -8
  17. package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
  18. package/2x/cjs/components/center-popup/center-popup.css +29 -0
  19. package/2x/cjs/components/center-popup/center-popup.d.ts +23 -0
  20. package/2x/cjs/components/center-popup/center-popup.js +116 -0
  21. package/2x/cjs/components/center-popup/center-popup.patch.css +13 -0
  22. package/2x/cjs/components/center-popup/index.d.ts +4 -0
  23. package/2x/cjs/components/center-popup/index.js +13 -0
  24. package/2x/cjs/components/check-list/check-list.css +1 -1
  25. package/2x/cjs/components/checkbox/checkbox.css +3 -3
  26. package/2x/cjs/components/dialog/dialog.css +21 -34
  27. package/2x/cjs/components/dialog/dialog.d.ts +4 -18
  28. package/2x/cjs/components/dialog/dialog.js +26 -84
  29. package/2x/cjs/components/divider/divider.css +2 -2
  30. package/2x/cjs/components/dropdown/dropdown.css +2 -2
  31. package/2x/cjs/components/ellipsis/ellipsis.js +0 -1
  32. package/2x/cjs/components/empty/empty.css +1 -1
  33. package/2x/cjs/components/error-block/error-block.css +4 -4
  34. package/2x/cjs/components/error-block/error-block.patch.css +29 -0
  35. package/2x/cjs/components/form/form-item.css +2 -2
  36. package/2x/cjs/components/form/form.css +3 -3
  37. package/2x/cjs/components/form/index.css +5 -5
  38. package/2x/cjs/components/image/image.css +1 -1
  39. package/2x/cjs/components/image/image.js +2 -0
  40. package/2x/cjs/components/image/image.patch.css +12 -0
  41. package/2x/cjs/components/image-uploader/image-uploader.css +4 -4
  42. package/2x/cjs/components/image-viewer/image-viewer.css +1 -1
  43. package/2x/cjs/components/index-bar/index-bar.css +4 -4
  44. package/2x/cjs/components/infinite-scroll/infinite-scroll.css +6 -1
  45. package/2x/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  46. package/2x/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
  47. package/2x/cjs/components/input/input.css +2 -2
  48. package/2x/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -24
  49. package/2x/cjs/components/list/list.css +10 -11
  50. package/2x/cjs/components/mask/mask.patch.css +3 -0
  51. package/2x/cjs/components/modal/modal.css +14 -29
  52. package/2x/cjs/components/modal/modal.d.ts +4 -18
  53. package/2x/cjs/components/modal/modal.js +25 -86
  54. package/2x/cjs/components/modal/modal.patch.css +29 -0
  55. package/2x/cjs/components/nav-bar/nav-bar.css +2 -2
  56. package/2x/cjs/components/notice-bar/notice-bar.css +4 -4
  57. package/2x/cjs/components/number-keyboard/number-keyboard.css +4 -4
  58. package/2x/cjs/components/page-indicator/page-indicator.patch.css +31 -0
  59. package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
  60. package/2x/cjs/components/picker/picker.css +6 -7
  61. package/2x/cjs/components/picker-view/picker-view.css +3 -3
  62. package/2x/cjs/components/popover/popover-menu.css +1 -1
  63. package/2x/cjs/components/popover/popover-menu.patch.css +31 -0
  64. package/2x/cjs/components/popover/popover.css +3 -2
  65. package/2x/cjs/components/popover/popover.js +3 -1
  66. package/2x/cjs/components/popover/popover.patch.css +24 -0
  67. package/2x/cjs/components/popup/popup.css +1 -1
  68. package/2x/cjs/components/popup/popup.d.ts +11 -12
  69. package/2x/cjs/components/radio/radio.css +2 -2
  70. package/2x/cjs/components/result/result.css +2 -2
  71. package/2x/cjs/components/scroll-mask/scroll-mask.css +2 -2
  72. package/2x/cjs/components/scroll-mask/scroll-mask.patch.css +7 -0
  73. package/2x/cjs/components/search-bar/search-bar.css +4 -4
  74. package/2x/cjs/components/selector/selector.css +3 -3
  75. package/2x/cjs/components/side-bar/corner.js +1 -1
  76. package/2x/cjs/components/side-bar/side-bar.css +3 -3
  77. package/2x/cjs/components/slider/slider.css +26 -24
  78. package/2x/cjs/components/slider/slider.d.ts +3 -2
  79. package/2x/cjs/components/slider/slider.js +4 -2
  80. package/2x/cjs/components/slider/thumb-icon.js +20 -18
  81. package/2x/cjs/components/slider/thumb.d.ts +2 -1
  82. package/2x/cjs/components/slider/thumb.js +19 -5
  83. package/2x/cjs/components/space/space.patch.css +16 -0
  84. package/2x/cjs/components/spin-loading/spin-loading.css +0 -3
  85. package/2x/cjs/components/spin-loading/spin-loading.patch.css +14 -0
  86. package/2x/cjs/components/stepper/stepper.css +3 -3
  87. package/2x/cjs/components/steps/steps.css +2 -2
  88. package/2x/cjs/components/swipe-action/swipe-action.css +1 -1
  89. package/2x/cjs/components/swipe-action/swipe-action.js +7 -6
  90. package/2x/cjs/components/swiper/swiper.js +9 -8
  91. package/2x/cjs/components/swiper/swiper.patch.css +26 -0
  92. package/2x/cjs/components/switch/switch.css +4 -4
  93. package/2x/cjs/components/tab-bar/tab-bar.css +8 -5
  94. package/2x/cjs/components/tab-bar/tab-bar.js +1 -1
  95. package/2x/cjs/components/tabs/tabs.css +4 -4
  96. package/2x/cjs/components/tabs/tabs.patch.css +29 -0
  97. package/2x/cjs/components/tag/tag.css +1 -1
  98. package/2x/cjs/components/text-area/text-area.css +2 -2
  99. package/2x/cjs/components/toast/toast.css +1 -1
  100. package/2x/cjs/components/toast/toast.patch.css +13 -0
  101. package/2x/cjs/components/tree-select/tree-select.css +1 -1
  102. package/2x/cjs/components/virtual-input/virtual-input.css +2 -2
  103. package/2x/cjs/global/css-vars-patch.css +399 -0
  104. package/2x/cjs/global/global.css +36 -4
  105. package/2x/cjs/global/index.js +2 -1
  106. package/2x/cjs/global/theme-dark.css +14 -0
  107. package/2x/cjs/global/theme-default.css +33 -0
  108. package/2x/cjs/index.d.ts +1 -0
  109. package/2x/cjs/index.js +8 -0
  110. package/2x/cjs/locales/base.d.ts +2 -0
  111. package/2x/cjs/locales/base.js +3 -1
  112. package/2x/cjs/locales/en-US.d.ts +2 -0
  113. package/2x/cjs/locales/es-ES.d.ts +2 -0
  114. package/2x/cjs/locales/fa-IR.d.ts +2 -0
  115. package/2x/cjs/locales/fr-FR.d.ts +2 -0
  116. package/2x/cjs/locales/ko-KR.d.ts +2 -0
  117. package/2x/cjs/locales/zh-CN.d.ts +2 -0
  118. package/2x/cjs/locales/zh-CN.js +3 -1
  119. package/2x/cjs/locales/zh-HK.d.ts +2 -0
  120. package/2x/cjs/locales/zh-TW.d.ts +2 -0
  121. package/2x/es/components/action-sheet/action-sheet.css +8 -8
  122. package/2x/es/components/badge/badge.css +2 -2
  123. package/2x/es/components/button/button.css +6 -6
  124. package/2x/es/components/button/button.patch.css +106 -0
  125. package/2x/es/components/calendar/calendar.css +5 -5
  126. package/2x/es/components/capsule-tabs/capsule-tabs.css +4 -24
  127. package/2x/es/components/card/card.css +3 -3
  128. package/2x/es/components/cascader/cascader.css +2 -2
  129. package/2x/es/components/cascader/cascader.d.ts +1 -0
  130. package/2x/es/components/cascader-view/cascader-view.css +2 -2
  131. package/2x/es/components/cascader-view/cascader-view.d.ts +1 -0
  132. package/2x/es/components/cascader-view/cascader-view.js +14 -8
  133. package/2x/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  134. package/2x/es/components/center-popup/center-popup.css +29 -0
  135. package/2x/es/components/center-popup/center-popup.d.ts +23 -0
  136. package/2x/es/components/center-popup/center-popup.js +86 -0
  137. package/2x/es/components/center-popup/center-popup.patch.css +13 -0
  138. package/2x/es/components/center-popup/index.d.ts +4 -0
  139. package/2x/es/components/center-popup/index.js +3 -0
  140. package/2x/es/components/check-list/check-list.css +1 -1
  141. package/2x/es/components/checkbox/checkbox.css +3 -3
  142. package/2x/es/components/dialog/dialog.css +21 -34
  143. package/2x/es/components/dialog/dialog.d.ts +4 -18
  144. package/2x/es/components/dialog/dialog.js +25 -72
  145. package/2x/es/components/divider/divider.css +2 -2
  146. package/2x/es/components/dropdown/dropdown.css +2 -2
  147. package/2x/es/components/ellipsis/ellipsis.js +0 -1
  148. package/2x/es/components/empty/empty.css +1 -1
  149. package/2x/es/components/error-block/error-block.css +4 -4
  150. package/2x/es/components/error-block/error-block.patch.css +29 -0
  151. package/2x/es/components/form/form-item.css +2 -2
  152. package/2x/es/components/form/form.css +3 -3
  153. package/2x/es/components/form/index.css +5 -5
  154. package/2x/es/components/image/image.css +1 -1
  155. package/2x/es/components/image/image.js +2 -0
  156. package/2x/es/components/image/image.patch.css +12 -0
  157. package/2x/es/components/image-uploader/image-uploader.css +4 -4
  158. package/2x/es/components/image-viewer/image-viewer.css +1 -1
  159. package/2x/es/components/index-bar/index-bar.css +4 -4
  160. package/2x/es/components/infinite-scroll/infinite-scroll.css +6 -1
  161. package/2x/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  162. package/2x/es/components/infinite-scroll/infinite-scroll.js +47 -17
  163. package/2x/es/components/input/input.css +2 -2
  164. package/2x/es/components/jumbo-tabs/jumbo-tabs.css +4 -24
  165. package/2x/es/components/list/list.css +10 -11
  166. package/2x/es/components/mask/mask.patch.css +3 -0
  167. package/2x/es/components/modal/modal.css +14 -29
  168. package/2x/es/components/modal/modal.d.ts +4 -18
  169. package/2x/es/components/modal/modal.js +24 -74
  170. package/2x/es/components/modal/modal.patch.css +29 -0
  171. package/2x/es/components/nav-bar/nav-bar.css +2 -2
  172. package/2x/es/components/notice-bar/notice-bar.css +4 -4
  173. package/2x/es/components/number-keyboard/number-keyboard.css +4 -4
  174. package/2x/es/components/page-indicator/page-indicator.patch.css +31 -0
  175. package/2x/es/components/passcode-input/passcode-input.css +1 -1
  176. package/2x/es/components/picker/picker.css +6 -7
  177. package/2x/es/components/picker-view/picker-view.css +3 -3
  178. package/2x/es/components/popover/popover-menu.css +1 -1
  179. package/2x/es/components/popover/popover-menu.patch.css +31 -0
  180. package/2x/es/components/popover/popover.css +3 -2
  181. package/2x/es/components/popover/popover.js +3 -1
  182. package/2x/es/components/popover/popover.patch.css +24 -0
  183. package/2x/es/components/popup/popup.css +1 -1
  184. package/2x/es/components/popup/popup.d.ts +11 -12
  185. package/2x/es/components/radio/radio.css +2 -2
  186. package/2x/es/components/result/result.css +2 -2
  187. package/2x/es/components/scroll-mask/scroll-mask.css +2 -2
  188. package/2x/es/components/scroll-mask/scroll-mask.patch.css +7 -0
  189. package/2x/es/components/search-bar/search-bar.css +4 -4
  190. package/2x/es/components/selector/selector.css +3 -3
  191. package/2x/es/components/side-bar/corner.js +1 -1
  192. package/2x/es/components/side-bar/side-bar.css +3 -3
  193. package/2x/es/components/slider/slider.css +26 -24
  194. package/2x/es/components/slider/slider.d.ts +3 -2
  195. package/2x/es/components/slider/slider.js +4 -2
  196. package/2x/es/components/slider/thumb-icon.js +20 -18
  197. package/2x/es/components/slider/thumb.d.ts +2 -1
  198. package/2x/es/components/slider/thumb.js +17 -6
  199. package/2x/es/components/space/space.patch.css +16 -0
  200. package/2x/es/components/spin-loading/spin-loading.css +0 -3
  201. package/2x/es/components/spin-loading/spin-loading.patch.css +14 -0
  202. package/2x/es/components/stepper/stepper.css +3 -3
  203. package/2x/es/components/steps/steps.css +2 -2
  204. package/2x/es/components/swipe-action/swipe-action.css +1 -1
  205. package/2x/es/components/swipe-action/swipe-action.js +7 -6
  206. package/2x/es/components/swiper/swiper.js +9 -8
  207. package/2x/es/components/swiper/swiper.patch.css +26 -0
  208. package/2x/es/components/switch/switch.css +4 -4
  209. package/2x/es/components/tab-bar/tab-bar.css +8 -5
  210. package/2x/es/components/tab-bar/tab-bar.js +1 -1
  211. package/2x/es/components/tabs/tabs.css +4 -4
  212. package/2x/es/components/tabs/tabs.patch.css +29 -0
  213. package/2x/es/components/tag/tag.css +1 -1
  214. package/2x/es/components/text-area/text-area.css +2 -2
  215. package/2x/es/components/toast/toast.css +1 -1
  216. package/2x/es/components/toast/toast.patch.css +13 -0
  217. package/2x/es/components/tree-select/tree-select.css +1 -1
  218. package/2x/es/components/virtual-input/virtual-input.css +2 -2
  219. package/2x/es/global/css-vars-patch.css +399 -0
  220. package/2x/es/global/global.css +36 -4
  221. package/2x/es/global/index.js +2 -1
  222. package/2x/es/global/theme-dark.css +14 -0
  223. package/2x/es/global/theme-default.css +33 -0
  224. package/2x/es/index.d.ts +1 -0
  225. package/2x/es/index.js +1 -0
  226. package/2x/es/locales/base.d.ts +2 -0
  227. package/2x/es/locales/base.js +3 -1
  228. package/2x/es/locales/en-US.d.ts +2 -0
  229. package/2x/es/locales/es-ES.d.ts +2 -0
  230. package/2x/es/locales/fa-IR.d.ts +2 -0
  231. package/2x/es/locales/fr-FR.d.ts +2 -0
  232. package/2x/es/locales/ko-KR.d.ts +2 -0
  233. package/2x/es/locales/zh-CN.d.ts +2 -0
  234. package/2x/es/locales/zh-CN.js +3 -1
  235. package/2x/es/locales/zh-HK.d.ts +2 -0
  236. package/2x/es/locales/zh-TW.d.ts +2 -0
  237. package/2x/package.json +1 -1
  238. package/2x/umd/antd-mobile.js +2 -0
  239. package/2x/umd/antd-mobile.js.LICENSE.txt +35 -0
  240. package/bundle/antd-mobile.cjs.js +778 -737
  241. package/bundle/antd-mobile.es.js +778 -738
  242. package/bundle/css-vars-patch.css +312 -0
  243. package/bundle/style.css +272 -271
  244. package/cjs/components/action-sheet/action-sheet.css +8 -8
  245. package/cjs/components/badge/badge.css +2 -2
  246. package/cjs/components/button/button.css +6 -6
  247. package/cjs/components/button/button.patch.css +86 -0
  248. package/cjs/components/calendar/calendar.css +5 -5
  249. package/cjs/components/capsule-tabs/capsule-tabs.css +4 -21
  250. package/cjs/components/card/card.css +3 -3
  251. package/cjs/components/cascader/cascader.css +2 -2
  252. package/cjs/components/cascader/cascader.d.ts +1 -0
  253. package/cjs/components/cascader-view/cascader-view.css +2 -2
  254. package/cjs/components/cascader-view/cascader-view.d.ts +1 -0
  255. package/cjs/components/cascader-view/cascader-view.js +14 -8
  256. package/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
  257. package/cjs/components/center-popup/center-popup.css +26 -0
  258. package/cjs/components/center-popup/center-popup.d.ts +23 -0
  259. package/cjs/components/center-popup/center-popup.js +116 -0
  260. package/cjs/components/center-popup/center-popup.patch.css +11 -0
  261. package/cjs/components/center-popup/index.d.ts +4 -0
  262. package/cjs/components/center-popup/index.js +13 -0
  263. package/cjs/components/check-list/check-list.css +1 -1
  264. package/cjs/components/checkbox/checkbox.css +3 -3
  265. package/cjs/components/dialog/dialog.css +21 -33
  266. package/cjs/components/dialog/dialog.d.ts +4 -18
  267. package/cjs/components/dialog/dialog.js +26 -84
  268. package/cjs/components/divider/divider.css +2 -2
  269. package/cjs/components/dropdown/dropdown.css +2 -2
  270. package/cjs/components/ellipsis/ellipsis.js +0 -1
  271. package/cjs/components/empty/empty.css +1 -1
  272. package/cjs/components/error-block/error-block.css +4 -4
  273. package/cjs/components/error-block/error-block.patch.css +23 -0
  274. package/cjs/components/form/form-item.css +2 -2
  275. package/cjs/components/form/form.css +3 -3
  276. package/cjs/components/form/index.css +5 -5
  277. package/cjs/components/image/image.css +1 -1
  278. package/cjs/components/image/image.js +2 -0
  279. package/cjs/components/image/image.patch.css +10 -0
  280. package/cjs/components/image-uploader/image-uploader.css +4 -4
  281. package/cjs/components/image-viewer/image-viewer.css +1 -1
  282. package/cjs/components/index-bar/index-bar.css +4 -4
  283. package/cjs/components/infinite-scroll/infinite-scroll.css +5 -1
  284. package/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  285. package/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
  286. package/cjs/components/input/input.css +2 -2
  287. package/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -21
  288. package/cjs/components/list/list.css +10 -11
  289. package/cjs/components/mask/mask.patch.css +3 -0
  290. package/cjs/components/modal/modal.css +15 -29
  291. package/cjs/components/modal/modal.d.ts +4 -18
  292. package/cjs/components/modal/modal.js +25 -86
  293. package/cjs/components/modal/modal.patch.css +23 -0
  294. package/cjs/components/nav-bar/nav-bar.css +2 -2
  295. package/cjs/components/notice-bar/notice-bar.css +4 -4
  296. package/cjs/components/number-keyboard/number-keyboard.css +4 -4
  297. package/cjs/components/page-indicator/page-indicator.patch.css +25 -0
  298. package/cjs/components/passcode-input/passcode-input.css +1 -1
  299. package/cjs/components/picker/picker.css +6 -7
  300. package/cjs/components/picker-view/picker-view.css +3 -3
  301. package/cjs/components/popover/popover-menu.css +1 -1
  302. package/cjs/components/popover/popover-menu.patch.css +24 -0
  303. package/cjs/components/popover/popover.css +3 -2
  304. package/cjs/components/popover/popover.js +3 -1
  305. package/cjs/components/popover/popover.patch.css +19 -0
  306. package/cjs/components/popup/popup.css +1 -1
  307. package/cjs/components/popup/popup.d.ts +11 -12
  308. package/cjs/components/radio/radio.css +2 -2
  309. package/cjs/components/result/result.css +2 -2
  310. package/cjs/components/scroll-mask/scroll-mask.css +2 -2
  311. package/cjs/components/scroll-mask/scroll-mask.patch.css +6 -0
  312. package/cjs/components/search-bar/search-bar.css +4 -4
  313. package/cjs/components/selector/selector.css +3 -3
  314. package/cjs/components/side-bar/corner.js +1 -1
  315. package/cjs/components/side-bar/side-bar.css +3 -3
  316. package/cjs/components/slider/slider.css +26 -24
  317. package/cjs/components/slider/slider.d.ts +3 -2
  318. package/cjs/components/slider/slider.js +4 -2
  319. package/cjs/components/slider/thumb-icon.js +20 -18
  320. package/cjs/components/slider/thumb.d.ts +2 -1
  321. package/cjs/components/slider/thumb.js +19 -5
  322. package/cjs/components/space/space.patch.css +13 -0
  323. package/cjs/components/spin-loading/spin-loading.css +0 -3
  324. package/cjs/components/spin-loading/spin-loading.patch.css +12 -0
  325. package/cjs/components/stepper/stepper.css +3 -3
  326. package/cjs/components/steps/steps.css +2 -2
  327. package/cjs/components/swipe-action/swipe-action.css +1 -1
  328. package/cjs/components/swipe-action/swipe-action.js +7 -6
  329. package/cjs/components/swiper/swiper.js +9 -8
  330. package/cjs/components/swiper/swiper.patch.css +21 -0
  331. package/cjs/components/switch/switch.css +4 -4
  332. package/cjs/components/tab-bar/tab-bar.css +7 -5
  333. package/cjs/components/tab-bar/tab-bar.js +1 -1
  334. package/cjs/components/tabs/tabs.css +4 -4
  335. package/cjs/components/tabs/tabs.patch.css +23 -0
  336. package/cjs/components/tag/tag.css +1 -1
  337. package/cjs/components/text-area/text-area.css +2 -2
  338. package/cjs/components/toast/toast.css +1 -1
  339. package/cjs/components/toast/toast.patch.css +11 -0
  340. package/cjs/components/tree-select/tree-select.css +1 -1
  341. package/cjs/components/virtual-input/virtual-input.css +2 -2
  342. package/cjs/global/css-vars-patch.css +312 -0
  343. package/cjs/global/global.css +35 -4
  344. package/cjs/global/index.js +2 -1
  345. package/cjs/global/theme-dark.css +14 -0
  346. package/cjs/global/theme-default.css +33 -0
  347. package/cjs/index.d.ts +1 -0
  348. package/cjs/index.js +8 -0
  349. package/cjs/locales/base.d.ts +2 -0
  350. package/cjs/locales/base.js +3 -1
  351. package/cjs/locales/en-US.d.ts +2 -0
  352. package/cjs/locales/es-ES.d.ts +2 -0
  353. package/cjs/locales/fa-IR.d.ts +2 -0
  354. package/cjs/locales/fr-FR.d.ts +2 -0
  355. package/cjs/locales/ko-KR.d.ts +2 -0
  356. package/cjs/locales/zh-CN.d.ts +2 -0
  357. package/cjs/locales/zh-CN.js +3 -1
  358. package/cjs/locales/zh-HK.d.ts +2 -0
  359. package/cjs/locales/zh-TW.d.ts +2 -0
  360. package/es/components/action-sheet/action-sheet.css +8 -8
  361. package/es/components/badge/badge.css +2 -2
  362. package/es/components/button/button.css +6 -6
  363. package/es/components/button/button.patch.css +86 -0
  364. package/es/components/calendar/calendar.css +5 -5
  365. package/es/components/capsule-tabs/capsule-tabs.css +4 -21
  366. package/es/components/card/card.css +3 -3
  367. package/es/components/cascader/cascader.css +2 -2
  368. package/es/components/cascader/cascader.d.ts +1 -0
  369. package/es/components/cascader-view/cascader-view.css +2 -2
  370. package/es/components/cascader-view/cascader-view.d.ts +1 -0
  371. package/es/components/cascader-view/cascader-view.js +14 -8
  372. package/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  373. package/es/components/center-popup/center-popup.css +26 -0
  374. package/es/components/center-popup/center-popup.d.ts +23 -0
  375. package/es/components/center-popup/center-popup.js +86 -0
  376. package/es/components/center-popup/center-popup.patch.css +11 -0
  377. package/es/components/center-popup/index.d.ts +4 -0
  378. package/es/components/center-popup/index.js +3 -0
  379. package/es/components/check-list/check-list.css +1 -1
  380. package/es/components/checkbox/checkbox.css +3 -3
  381. package/es/components/dialog/dialog.css +21 -33
  382. package/es/components/dialog/dialog.d.ts +4 -18
  383. package/es/components/dialog/dialog.js +25 -72
  384. package/es/components/divider/divider.css +2 -2
  385. package/es/components/dropdown/dropdown.css +2 -2
  386. package/es/components/ellipsis/ellipsis.js +0 -1
  387. package/es/components/empty/empty.css +1 -1
  388. package/es/components/error-block/error-block.css +4 -4
  389. package/es/components/error-block/error-block.patch.css +23 -0
  390. package/es/components/form/form-item.css +2 -2
  391. package/es/components/form/form.css +3 -3
  392. package/es/components/form/index.css +5 -5
  393. package/es/components/image/image.css +1 -1
  394. package/es/components/image/image.js +2 -0
  395. package/es/components/image/image.patch.css +10 -0
  396. package/es/components/image-uploader/image-uploader.css +4 -4
  397. package/es/components/image-viewer/image-viewer.css +1 -1
  398. package/es/components/index-bar/index-bar.css +4 -4
  399. package/es/components/infinite-scroll/infinite-scroll.css +5 -1
  400. package/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  401. package/es/components/infinite-scroll/infinite-scroll.js +47 -17
  402. package/es/components/input/input.css +2 -2
  403. package/es/components/jumbo-tabs/jumbo-tabs.css +4 -21
  404. package/es/components/list/list.css +10 -11
  405. package/es/components/mask/mask.patch.css +3 -0
  406. package/es/components/modal/modal.css +15 -29
  407. package/es/components/modal/modal.d.ts +4 -18
  408. package/es/components/modal/modal.js +24 -74
  409. package/es/components/modal/modal.patch.css +23 -0
  410. package/es/components/nav-bar/nav-bar.css +2 -2
  411. package/es/components/notice-bar/notice-bar.css +4 -4
  412. package/es/components/number-keyboard/number-keyboard.css +4 -4
  413. package/es/components/page-indicator/page-indicator.patch.css +25 -0
  414. package/es/components/passcode-input/passcode-input.css +1 -1
  415. package/es/components/picker/picker.css +6 -7
  416. package/es/components/picker-view/picker-view.css +3 -3
  417. package/es/components/popover/popover-menu.css +1 -1
  418. package/es/components/popover/popover-menu.patch.css +24 -0
  419. package/es/components/popover/popover.css +3 -2
  420. package/es/components/popover/popover.js +3 -1
  421. package/es/components/popover/popover.patch.css +19 -0
  422. package/es/components/popup/popup.css +1 -1
  423. package/es/components/popup/popup.d.ts +11 -12
  424. package/es/components/radio/radio.css +2 -2
  425. package/es/components/result/result.css +2 -2
  426. package/es/components/scroll-mask/scroll-mask.css +2 -2
  427. package/es/components/scroll-mask/scroll-mask.patch.css +6 -0
  428. package/es/components/search-bar/search-bar.css +4 -4
  429. package/es/components/selector/selector.css +3 -3
  430. package/es/components/side-bar/corner.js +1 -1
  431. package/es/components/side-bar/side-bar.css +3 -3
  432. package/es/components/slider/slider.css +26 -24
  433. package/es/components/slider/slider.d.ts +3 -2
  434. package/es/components/slider/slider.js +4 -2
  435. package/es/components/slider/thumb-icon.js +20 -18
  436. package/es/components/slider/thumb.d.ts +2 -1
  437. package/es/components/slider/thumb.js +17 -6
  438. package/es/components/space/space.patch.css +13 -0
  439. package/es/components/spin-loading/spin-loading.css +0 -3
  440. package/es/components/spin-loading/spin-loading.patch.css +12 -0
  441. package/es/components/stepper/stepper.css +3 -3
  442. package/es/components/steps/steps.css +2 -2
  443. package/es/components/swipe-action/swipe-action.css +1 -1
  444. package/es/components/swipe-action/swipe-action.js +7 -6
  445. package/es/components/swiper/swiper.js +9 -8
  446. package/es/components/swiper/swiper.patch.css +21 -0
  447. package/es/components/switch/switch.css +4 -4
  448. package/es/components/tab-bar/tab-bar.css +7 -5
  449. package/es/components/tab-bar/tab-bar.js +1 -1
  450. package/es/components/tabs/tabs.css +4 -4
  451. package/es/components/tabs/tabs.patch.css +23 -0
  452. package/es/components/tag/tag.css +1 -1
  453. package/es/components/text-area/text-area.css +2 -2
  454. package/es/components/toast/toast.css +1 -1
  455. package/es/components/toast/toast.patch.css +11 -0
  456. package/es/components/tree-select/tree-select.css +1 -1
  457. package/es/components/virtual-input/virtual-input.css +2 -2
  458. package/es/global/css-vars-patch.css +312 -0
  459. package/es/global/global.css +35 -4
  460. package/es/global/index.js +2 -1
  461. package/es/global/theme-dark.css +14 -0
  462. package/es/global/theme-default.css +33 -0
  463. package/es/index.d.ts +1 -0
  464. package/es/index.js +1 -0
  465. package/es/locales/base.d.ts +2 -0
  466. package/es/locales/base.js +3 -1
  467. package/es/locales/en-US.d.ts +2 -0
  468. package/es/locales/es-ES.d.ts +2 -0
  469. package/es/locales/fa-IR.d.ts +2 -0
  470. package/es/locales/fr-FR.d.ts +2 -0
  471. package/es/locales/ko-KR.d.ts +2 -0
  472. package/es/locales/zh-CN.d.ts +2 -0
  473. package/es/locales/zh-CN.js +3 -1
  474. package/es/locales/zh-HK.d.ts +2 -0
  475. package/es/locales/zh-TW.d.ts +2 -0
  476. package/package.json +1 -1
  477. package/umd/antd-mobile.js +1 -1
  478. package/2x/cjs/global/theme.css +0 -16
  479. package/2x/es/global/theme.css +0 -16
  480. package/cjs/global/theme.css +0 -16
  481. package/es/global/theme.css +0 -16
@@ -1333,7 +1333,9 @@ const base = {
1333
1333
  upload: "Upload"
1334
1334
  },
1335
1335
  InfiniteScroll: {
1336
- noMore: "No more"
1336
+ noMore: "No more",
1337
+ failedToLoad: "Failed to load",
1338
+ retry: "Retry"
1337
1339
  },
1338
1340
  Mask: {
1339
1341
  name: "Mask"
@@ -1439,7 +1441,9 @@ const zhCN = mergeLocale(base, {
1439
1441
  upload: "\u4E0A\u4F20"
1440
1442
  },
1441
1443
  InfiniteScroll: {
1442
- noMore: "\u6CA1\u6709\u66F4\u591A\u4E86"
1444
+ noMore: "\u6CA1\u6709\u66F4\u591A\u4E86",
1445
+ failedToLoad: "\u52A0\u8F7D\u5931\u8D25",
1446
+ retry: "\u91CD\u65B0\u52A0\u8F7D"
1443
1447
  },
1444
1448
  Mask: {
1445
1449
  name: "\u906E\u7F69\u5C42"
@@ -8863,13 +8867,13 @@ function withStopPropagation(events, element) {
8863
8867
  }
8864
8868
  return React$1.cloneElement(element, props);
8865
8869
  }
8866
- const classPrefix$1g = `adm-mask`;
8870
+ const classPrefix$1i = `adm-mask`;
8867
8871
  const opacityRecord = {
8868
8872
  default: 0.55,
8869
8873
  thin: 0.35,
8870
8874
  thick: 0.75
8871
8875
  };
8872
- const defaultProps$Z = {
8876
+ const defaultProps$$ = {
8873
8877
  visible: true,
8874
8878
  destroyOnClose: false,
8875
8879
  forceRender: false,
@@ -8880,7 +8884,7 @@ const defaultProps$Z = {
8880
8884
  stopPropagation: ["click"]
8881
8885
  };
8882
8886
  const Mask = (p2) => {
8883
- const props = mergeProps(defaultProps$Z, p2);
8887
+ const props = mergeProps(defaultProps$$, p2);
8884
8888
  const {
8885
8889
  locale
8886
8890
  } = useConfig();
@@ -8921,7 +8925,7 @@ const Mask = (p2) => {
8921
8925
  }
8922
8926
  });
8923
8927
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement(animated.div, {
8924
- className: classPrefix$1g,
8928
+ className: classPrefix$1i,
8925
8929
  ref,
8926
8930
  style: Object.assign(Object.assign({}, props.style), {
8927
8931
  background,
@@ -8935,12 +8939,12 @@ const Mask = (p2) => {
8935
8939
  }
8936
8940
  }
8937
8941
  }, props.onMaskClick && React$1.createElement("div", {
8938
- className: `${classPrefix$1g}-aria-button`,
8942
+ className: `${classPrefix$1i}-aria-button`,
8939
8943
  role: "button",
8940
8944
  "aria-label": locale.Mask.name,
8941
8945
  onClick: props.onMaskClick
8942
8946
  }), React$1.createElement("div", {
8943
- className: `${classPrefix$1g}-content`
8947
+ className: `${classPrefix$1i}-content`
8944
8948
  }, props.children))));
8945
8949
  return React$1.createElement(ShouldRender, {
8946
8950
  active,
@@ -8948,8 +8952,8 @@ const Mask = (p2) => {
8948
8952
  destroyOnClose: props.destroyOnClose
8949
8953
  }, renderToContainer(props.getContainer, node));
8950
8954
  };
8951
- const classPrefix$1f = `adm-popup`;
8952
- const defaultProps$Y = {
8955
+ const classPrefix$1h = `adm-popup`;
8956
+ const defaultProps$_ = {
8953
8957
  position: "bottom",
8954
8958
  visible: false,
8955
8959
  getContainer: () => document.body,
@@ -8957,8 +8961,8 @@ const defaultProps$Y = {
8957
8961
  stopPropagation: ["click"]
8958
8962
  };
8959
8963
  const Popup = (p2) => {
8960
- const props = mergeProps(defaultProps$Y, p2);
8961
- const bodyCls = classNames(`${classPrefix$1f}-body`, props.bodyClassName, `${classPrefix$1f}-body-position-${props.position}`);
8964
+ const props = mergeProps(defaultProps$_, p2);
8965
+ const bodyCls = classNames(`${classPrefix$1h}-body`, props.bodyClassName, `${classPrefix$1h}-body-position-${props.position}`);
8962
8966
  const ref = useRef(null);
8963
8967
  const [active, setActive] = useState(props.visible);
8964
8968
  useLockScroll(ref, active);
@@ -8990,7 +8994,7 @@ const Popup = (p2) => {
8990
8994
  }
8991
8995
  });
8992
8996
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
8993
- className: classPrefix$1f,
8997
+ className: classPrefix$1h,
8994
8998
  onClick: props.onClick,
8995
8999
  style: {
8996
9000
  display: active ? void 0 : "none"
@@ -9026,10 +9030,10 @@ const Popup = (p2) => {
9026
9030
  return renderToContainer(props.getContainer, node);
9027
9031
  };
9028
9032
  var safeArea = "";
9029
- const classPrefix$1e = "adm-safe-area";
9033
+ const classPrefix$1g = "adm-safe-area";
9030
9034
  const SafeArea = (props) => {
9031
9035
  return withNativeProps(props, React$1.createElement("div", {
9032
- className: classNames(classPrefix$1e, `${classPrefix$1e}-position-${props.position}`)
9036
+ className: classNames(classPrefix$1g, `${classPrefix$1g}-position-${props.position}`)
9033
9037
  }));
9034
9038
  };
9035
9039
  const fullClone = Object.assign({}, ReactDOM);
@@ -9145,8 +9149,8 @@ function renderImperatively(element) {
9145
9149
  close
9146
9150
  };
9147
9151
  }
9148
- const classPrefix$1d = `adm-action-sheet`;
9149
- const defaultProps$X = {
9152
+ const classPrefix$1f = `adm-action-sheet`;
9153
+ const defaultProps$Z = {
9150
9154
  visible: false,
9151
9155
  actions: [],
9152
9156
  cancelText: "",
@@ -9155,7 +9159,7 @@ const defaultProps$X = {
9155
9159
  safeArea: true
9156
9160
  };
9157
9161
  const ActionSheet = (p2) => {
9158
- const props = mergeProps(defaultProps$X, p2);
9162
+ const props = mergeProps(defaultProps$Z, p2);
9159
9163
  return React$1.createElement(Popup, {
9160
9164
  visible: props.visible,
9161
9165
  onMaskClick: () => {
@@ -9166,22 +9170,22 @@ const ActionSheet = (p2) => {
9166
9170
  }
9167
9171
  },
9168
9172
  afterClose: props.afterClose,
9169
- className: classNames(`${classPrefix$1d}-popup`, props.popupClassName),
9173
+ className: classNames(`${classPrefix$1f}-popup`, props.popupClassName),
9170
9174
  style: props.popupStyle,
9171
9175
  getContainer: props.getContainer
9172
9176
  }, withNativeProps(props, React$1.createElement("div", {
9173
- className: classPrefix$1d
9177
+ className: classPrefix$1f
9174
9178
  }, props.extra && React$1.createElement("div", {
9175
- className: `${classPrefix$1d}-extra`
9179
+ className: `${classPrefix$1f}-extra`
9176
9180
  }, props.extra), React$1.createElement("div", {
9177
- className: `${classPrefix$1d}-button-list`
9181
+ className: `${classPrefix$1f}-button-list`
9178
9182
  }, props.actions.map((action, index2) => React$1.createElement("div", {
9179
9183
  key: action.key,
9180
- className: `${classPrefix$1d}-button-item-wrapper`
9184
+ className: `${classPrefix$1f}-button-item-wrapper`
9181
9185
  }, React$1.createElement("a", {
9182
- className: classNames("adm-plain-anchor", `${classPrefix$1d}-button-item`, {
9183
- [`${classPrefix$1d}-button-item-danger`]: action.danger,
9184
- [`${classPrefix$1d}-button-item-disabled`]: action.disabled
9186
+ className: classNames("adm-plain-anchor", `${classPrefix$1f}-button-item`, {
9187
+ [`${classPrefix$1f}-button-item-danger`]: action.danger,
9188
+ [`${classPrefix$1f}-button-item-disabled`]: action.disabled
9185
9189
  }),
9186
9190
  onClick: () => {
9187
9191
  var _a, _b, _c;
@@ -9192,21 +9196,21 @@ const ActionSheet = (p2) => {
9192
9196
  }
9193
9197
  }
9194
9198
  }, React$1.createElement("div", {
9195
- className: `${classPrefix$1d}-button-item-name`
9199
+ className: `${classPrefix$1f}-button-item-name`
9196
9200
  }, action.text), action.description && React$1.createElement("div", {
9197
- className: `${classPrefix$1d}-button-item-description`
9201
+ className: `${classPrefix$1f}-button-item-description`
9198
9202
  }, action.description))))), props.cancelText && React$1.createElement("div", {
9199
- className: `${classPrefix$1d}-cancel`
9203
+ className: `${classPrefix$1f}-cancel`
9200
9204
  }, React$1.createElement("div", {
9201
- className: `${classPrefix$1d}-button-item-wrapper`
9205
+ className: `${classPrefix$1f}-button-item-wrapper`
9202
9206
  }, React$1.createElement("a", {
9203
- className: classNames("adm-plain-anchor", `${classPrefix$1d}-button-item`),
9207
+ className: classNames("adm-plain-anchor", `${classPrefix$1f}-button-item`),
9204
9208
  onClick: () => {
9205
9209
  var _a;
9206
9210
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
9207
9211
  }
9208
9212
  }, React$1.createElement("div", {
9209
- className: `${classPrefix$1d}-button-item-name`
9213
+ className: `${classPrefix$1f}-button-item-name`
9210
9214
  }, props.cancelText)))), props.safeArea && React$1.createElement(SafeArea, {
9211
9215
  position: "bottom"
9212
9216
  }))));
@@ -9218,12 +9222,12 @@ var index$h = attachPropertiesToComponent(ActionSheet, {
9218
9222
  show: showActionSheet
9219
9223
  });
9220
9224
  var autoCenter = "";
9221
- const classPrefix$1c = "adm-auto-center";
9225
+ const classPrefix$1e = "adm-auto-center";
9222
9226
  const AutoCenter = (props) => {
9223
9227
  return withNativeProps(props, React$1.createElement("div", {
9224
- className: classPrefix$1c
9228
+ className: classPrefix$1e
9225
9229
  }, React$1.createElement("div", {
9226
- className: `${classPrefix$1c}-content`
9230
+ className: `${classPrefix$1e}-content`
9227
9231
  }, props.children)));
9228
9232
  };
9229
9233
  var avatar = "";
@@ -9265,15 +9269,15 @@ const Fallback = memo(() => React$1.createElement("svg", {
9265
9269
  fillRule: "nonzero",
9266
9270
  mask: "url(#mask-2)"
9267
9271
  }))))));
9268
- const classPrefix$1b = "adm-avatar";
9269
- const defaultProps$W = {
9272
+ const classPrefix$1d = "adm-avatar";
9273
+ const defaultProps$Y = {
9270
9274
  fallback: React$1.createElement(Fallback, null),
9271
9275
  fit: "cover"
9272
9276
  };
9273
9277
  const Avatar = (p2) => {
9274
- const props = mergeProps(defaultProps$W, p2);
9278
+ const props = mergeProps(defaultProps$Y, p2);
9275
9279
  return withNativeProps(props, React$1.createElement(Image$1, {
9276
- className: classPrefix$1b,
9280
+ className: classPrefix$1d,
9277
9281
  src: props.src,
9278
9282
  fallback: props.fallback,
9279
9283
  placeholder: props.fallback,
@@ -9285,7 +9289,7 @@ const Avatar = (p2) => {
9285
9289
  }));
9286
9290
  };
9287
9291
  var badge = "";
9288
- const classPrefix$1a = `adm-badge`;
9292
+ const classPrefix$1c = `adm-badge`;
9289
9293
  const dot = React$1.createElement(React$1.Fragment, null);
9290
9294
  const Badge$1 = (props) => {
9291
9295
  const {
@@ -9294,17 +9298,17 @@ const Badge$1 = (props) => {
9294
9298
  children
9295
9299
  } = props;
9296
9300
  const isDot = content === dot;
9297
- const badgeCls = classNames(classPrefix$1a, !!children && `${classPrefix$1a}-fixed`, isDot && `${classPrefix$1a}-dot`, props.bordered && `${classPrefix$1a}-bordered`);
9301
+ const badgeCls = classNames(classPrefix$1c, !!children && `${classPrefix$1c}-fixed`, isDot && `${classPrefix$1c}-dot`, props.bordered && `${classPrefix$1c}-bordered`);
9298
9302
  const element = content || content === 0 ? withNativeProps(props, React$1.createElement("div", {
9299
9303
  className: badgeCls,
9300
9304
  style: {
9301
9305
  "--color": color
9302
9306
  }
9303
9307
  }, !isDot && React$1.createElement("div", {
9304
- className: `${classPrefix$1a}-content`
9308
+ className: `${classPrefix$1c}-content`
9305
9309
  }, content))) : null;
9306
9310
  return children ? React$1.createElement("div", {
9307
- className: `${classPrefix$1a}-wrap`
9311
+ className: `${classPrefix$1c}-wrap`
9308
9312
  }, children, element) : element;
9309
9313
  };
9310
9314
  var Badge = attachPropertiesToComponent(Badge$1, {
@@ -9312,23 +9316,23 @@ var Badge = attachPropertiesToComponent(Badge$1, {
9312
9316
  });
9313
9317
  var button = "";
9314
9318
  var dotLoading = "";
9315
- const classPrefix$19 = `adm-dot-loading`;
9319
+ const classPrefix$1b = `adm-dot-loading`;
9316
9320
  const colorRecord$3 = {
9317
9321
  default: "var(--adm-color-weak)",
9318
9322
  primary: "var(--adm-color-primary)",
9319
9323
  white: "var(--adm-color-white)"
9320
9324
  };
9321
- const defaultProps$V = {
9325
+ const defaultProps$X = {
9322
9326
  color: "default"
9323
9327
  };
9324
9328
  const DotLoading = memo((p2) => {
9325
9329
  var _a;
9326
- const props = mergeProps(defaultProps$V, p2);
9330
+ const props = mergeProps(defaultProps$X, p2);
9327
9331
  return withNativeProps(props, React$1.createElement("div", {
9328
9332
  style: {
9329
9333
  color: (_a = colorRecord$3[props.color]) !== null && _a !== void 0 ? _a : props.color
9330
9334
  },
9331
- className: classNames("adm-loading", classPrefix$19)
9335
+ className: classNames("adm-loading", classPrefix$1b)
9332
9336
  }, React$1.createElement("svg", {
9333
9337
  height: "1em",
9334
9338
  viewBox: "0 0 100 40",
@@ -9371,8 +9375,8 @@ function isPromise(obj) {
9371
9375
  function isIOS() {
9372
9376
  return canUseDom ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : false;
9373
9377
  }
9374
- const classPrefix$18 = `adm-button`;
9375
- const defaultProps$U = {
9378
+ const classPrefix$1a = `adm-button`;
9379
+ const defaultProps$W = {
9376
9380
  color: "default",
9377
9381
  fill: "solid",
9378
9382
  block: false,
@@ -9385,7 +9389,7 @@ const defaultProps$U = {
9385
9389
  size: "middle"
9386
9390
  };
9387
9391
  const Button = forwardRef((p2, ref) => {
9388
- const props = mergeProps(defaultProps$U, p2);
9392
+ const props = mergeProps(defaultProps$W, p2);
9389
9393
  const [innerLoading, setInnerLoading] = useState(false);
9390
9394
  const nativeButtonRef = useRef(null);
9391
9395
  const loading = props.loading === "auto" ? innerLoading : props.loading;
@@ -9414,23 +9418,23 @@ const Button = forwardRef((p2, ref) => {
9414
9418
  ref: nativeButtonRef,
9415
9419
  type: props.type,
9416
9420
  onClick: handleClick,
9417
- className: classNames(classPrefix$18, props.color ? `${classPrefix$18}-${props.color}` : null, {
9418
- [`${classPrefix$18}-block`]: props.block,
9419
- [`${classPrefix$18}-disabled`]: disabled,
9420
- [`${classPrefix$18}-fill-outline`]: props.fill === "outline",
9421
- [`${classPrefix$18}-fill-none`]: props.fill === "none",
9422
- [`${classPrefix$18}-mini`]: props.size === "mini",
9423
- [`${classPrefix$18}-small`]: props.size === "small",
9424
- [`${classPrefix$18}-large`]: props.size === "large",
9425
- [`${classPrefix$18}-loading`]: loading
9426
- }, `${classPrefix$18}-shape-${props.shape}`),
9421
+ className: classNames(classPrefix$1a, props.color ? `${classPrefix$1a}-${props.color}` : null, {
9422
+ [`${classPrefix$1a}-block`]: props.block,
9423
+ [`${classPrefix$1a}-disabled`]: disabled,
9424
+ [`${classPrefix$1a}-fill-outline`]: props.fill === "outline",
9425
+ [`${classPrefix$1a}-fill-none`]: props.fill === "none",
9426
+ [`${classPrefix$1a}-mini`]: props.size === "mini",
9427
+ [`${classPrefix$1a}-small`]: props.size === "small",
9428
+ [`${classPrefix$1a}-large`]: props.size === "large",
9429
+ [`${classPrefix$1a}-loading`]: loading
9430
+ }, `${classPrefix$1a}-shape-${props.shape}`),
9427
9431
  disabled,
9428
9432
  onMouseDown: props.onMouseDown,
9429
9433
  onMouseUp: props.onMouseUp,
9430
9434
  onTouchStart: props.onTouchStart,
9431
9435
  onTouchEnd: props.onTouchEnd
9432
9436
  }, loading ? React$1.createElement("div", {
9433
- className: `${classPrefix$18}-loading-wrapper`
9437
+ className: `${classPrefix$1a}-loading-wrapper`
9434
9438
  }, props.loadingIcon, props.loadingText) : props.children));
9435
9439
  });
9436
9440
  var calendar = "";
@@ -9551,8 +9555,8 @@ function convertValueToRange(selectionMode, value) {
9551
9555
  return [value, value];
9552
9556
  }
9553
9557
  dayjs.extend(isoWeek);
9554
- const classPrefix$17 = "adm-calendar";
9555
- const defaultProps$T = {
9558
+ const classPrefix$19 = "adm-calendar";
9559
+ const defaultProps$V = {
9556
9560
  weekStartsOn: "Sunday",
9557
9561
  defaultValue: null,
9558
9562
  allowClear: true,
@@ -9563,7 +9567,7 @@ const defaultProps$T = {
9563
9567
  };
9564
9568
  const Calendar = forwardRef((p2, ref) => {
9565
9569
  const today = dayjs();
9566
- const props = mergeProps(defaultProps$T, p2);
9570
+ const props = mergeProps(defaultProps$V, p2);
9567
9571
  const {
9568
9572
  locale
9569
9573
  } = useConfig();
@@ -9609,26 +9613,26 @@ const Calendar = forwardRef((p2, ref) => {
9609
9613
  }
9610
9614
  }));
9611
9615
  const header = React$1.createElement("div", {
9612
- className: `${classPrefix$17}-header`
9616
+ className: `${classPrefix$19}-header`
9613
9617
  }, React$1.createElement("a", {
9614
- className: `${classPrefix$17}-arrow-button ${classPrefix$17}-arrow-button-year`,
9618
+ className: `${classPrefix$19}-arrow-button ${classPrefix$19}-arrow-button-year`,
9615
9619
  onClick: () => {
9616
9620
  setCurrent(current.subtract(1, "year"));
9617
9621
  }
9618
9622
  }, props.prevYearButton), React$1.createElement("a", {
9619
- className: `${classPrefix$17}-arrow-button ${classPrefix$17}-arrow-button-month`,
9623
+ className: `${classPrefix$19}-arrow-button ${classPrefix$19}-arrow-button-month`,
9620
9624
  onClick: () => {
9621
9625
  setCurrent(current.subtract(1, "month"));
9622
9626
  }
9623
9627
  }, props.prevMonthButton), React$1.createElement("div", {
9624
- className: `${classPrefix$17}-title`
9628
+ className: `${classPrefix$19}-title`
9625
9629
  }, locale.Calendar.renderYearAndMonth(current.year(), current.month() + 1)), React$1.createElement("a", {
9626
- className: classNames(`${classPrefix$17}-arrow-button`, `${classPrefix$17}-arrow-button-right`, `${classPrefix$17}-arrow-button-right-month`),
9630
+ className: classNames(`${classPrefix$19}-arrow-button`, `${classPrefix$19}-arrow-button-right`, `${classPrefix$19}-arrow-button-right-month`),
9627
9631
  onClick: () => {
9628
9632
  setCurrent(current.add(1, "month"));
9629
9633
  }
9630
9634
  }, props.nextMonthButton), React$1.createElement("a", {
9631
- className: classNames(`${classPrefix$17}-arrow-button`, `${classPrefix$17}-arrow-button-right`, `${classPrefix$17}-arrow-button-right-year`),
9635
+ className: classNames(`${classPrefix$19}-arrow-button`, `${classPrefix$19}-arrow-button-right`, `${classPrefix$19}-arrow-button-right-year`),
9632
9636
  onClick: () => {
9633
9637
  setCurrent(current.add(1, "year"));
9634
9638
  }
@@ -9657,11 +9661,11 @@ const Calendar = forwardRef((p2, ref) => {
9657
9661
  const disabled = props.shouldDisableDate ? props.shouldDisableDate(d.toDate()) : maxDay && d.isAfter(maxDay, "day") || minDay && d.isBefore(minDay, "day");
9658
9662
  cells.push(React$1.createElement("div", {
9659
9663
  key: d.valueOf(),
9660
- className: classNames(`${classPrefix$17}-cell`, (disabled || !inThisMonth) && `${classPrefix$17}-cell-disabled`, inThisMonth && {
9661
- [`${classPrefix$17}-cell-today`]: d.isSame(today, "day"),
9662
- [`${classPrefix$17}-cell-selected`]: isSelect,
9663
- [`${classPrefix$17}-cell-selected-begin`]: isBegin,
9664
- [`${classPrefix$17}-cell-selected-end`]: isEnd
9664
+ className: classNames(`${classPrefix$19}-cell`, (disabled || !inThisMonth) && `${classPrefix$19}-cell-disabled`, inThisMonth && {
9665
+ [`${classPrefix$19}-cell-today`]: d.isSame(today, "day"),
9666
+ [`${classPrefix$19}-cell-selected`]: isSelect,
9667
+ [`${classPrefix$19}-cell-selected-begin`]: isBegin,
9668
+ [`${classPrefix$19}-cell-selected-end`]: isEnd
9665
9669
  }),
9666
9670
  onClick: () => {
9667
9671
  if (!props.selectionMode)
@@ -9708,25 +9712,25 @@ const Calendar = forwardRef((p2, ref) => {
9708
9712
  }
9709
9713
  }
9710
9714
  }, React$1.createElement("div", {
9711
- className: `${classPrefix$17}-cell-top`
9715
+ className: `${classPrefix$19}-cell-top`
9712
9716
  }, d.date()), React$1.createElement("div", {
9713
- className: `${classPrefix$17}-cell-bottom`
9717
+ className: `${classPrefix$19}-cell-bottom`
9714
9718
  }, (_a = props.renderLabel) === null || _a === void 0 ? void 0 : _a.call(props, d.toDate()))));
9715
9719
  iterator = iterator.add(1, "day");
9716
9720
  }
9717
9721
  return cells;
9718
9722
  }
9719
9723
  const body = React$1.createElement("div", {
9720
- className: `${classPrefix$17}-cells`
9724
+ className: `${classPrefix$19}-cells`
9721
9725
  }, renderCells());
9722
9726
  const mark = React$1.createElement("div", {
9723
- className: `${classPrefix$17}-mark`
9727
+ className: `${classPrefix$19}-mark`
9724
9728
  }, markItems.map((item) => React$1.createElement("div", {
9725
9729
  key: item,
9726
- className: `${classPrefix$17}-mark-cell`
9730
+ className: `${classPrefix$19}-mark-cell`
9727
9731
  }, item)));
9728
9732
  return withNativeProps(props, React$1.createElement("div", {
9729
- className: classPrefix$17
9733
+ className: classPrefix$19
9730
9734
  }, header, mark, body));
9731
9735
  });
9732
9736
  var capsuleTabs = "";
@@ -9828,7 +9832,7 @@ const useTabListScroll = (targetRef, activeIndex) => {
9828
9832
  };
9829
9833
  };
9830
9834
  var scrollMask = "";
9831
- const classPrefix$16 = `adm-scroll-mask`;
9835
+ const classPrefix$18 = `adm-scroll-mask`;
9832
9836
  const ScrollMask = (props) => {
9833
9837
  const maskRef = useRef(null);
9834
9838
  const [{
@@ -9875,12 +9879,12 @@ const ScrollMask = (props) => {
9875
9879
  }, []);
9876
9880
  return React$1.createElement(React$1.Fragment, null, React$1.createElement(animated.div, {
9877
9881
  ref: maskRef,
9878
- className: classNames(classPrefix$16, `${classPrefix$16}-left`),
9882
+ className: classNames(classPrefix$18, `${classPrefix$18}-left`),
9879
9883
  style: {
9880
9884
  opacity: leftMaskOpacity
9881
9885
  }
9882
9886
  }), React$1.createElement(animated.div, {
9883
- className: classNames(classPrefix$16, `${classPrefix$16}-right`),
9887
+ className: classNames(classPrefix$18, `${classPrefix$18}-right`),
9884
9888
  style: {
9885
9889
  opacity: rightMaskOpacity
9886
9890
  }
@@ -9900,7 +9904,7 @@ function traverseReactNode(children, fn) {
9900
9904
  }
9901
9905
  handle(children);
9902
9906
  }
9903
- const classPrefix$15 = `adm-capsule-tabs`;
9907
+ const classPrefix$17 = `adm-capsule-tabs`;
9904
9908
  const CapsuleTab = () => {
9905
9909
  return null;
9906
9910
  };
@@ -9941,19 +9945,19 @@ const CapsuleTabs = (props) => {
9941
9945
  animate(true);
9942
9946
  }, rootRef);
9943
9947
  return withNativeProps(props, React$1.createElement("div", {
9944
- className: classPrefix$15,
9948
+ className: classPrefix$17,
9945
9949
  ref: rootRef
9946
9950
  }, React$1.createElement("div", {
9947
- className: `${classPrefix$15}-header`
9951
+ className: `${classPrefix$17}-header`
9948
9952
  }, React$1.createElement(ScrollMask, {
9949
9953
  scrollTrackRef: tabListContainerRef
9950
9954
  }), React$1.createElement(animated.div, {
9951
- className: `${classPrefix$15}-tab-list`,
9955
+ className: `${classPrefix$17}-tab-list`,
9952
9956
  ref: tabListContainerRef,
9953
9957
  scrollLeft
9954
9958
  }, panes.map((pane) => withNativeProps(pane.props, React$1.createElement("div", {
9955
9959
  key: pane.key,
9956
- className: `${classPrefix$15}-tab-wrapper`
9960
+ className: `${classPrefix$17}-tab-wrapper`
9957
9961
  }, React$1.createElement("div", {
9958
9962
  onClick: () => {
9959
9963
  const {
@@ -9966,9 +9970,9 @@ const CapsuleTabs = (props) => {
9966
9970
  }
9967
9971
  setActiveKey(key.toString());
9968
9972
  },
9969
- className: classNames(`${classPrefix$15}-tab`, {
9970
- [`${classPrefix$15}-tab-active`]: pane.key === activeKey,
9971
- [`${classPrefix$15}-tab-disabled`]: pane.props.disabled
9973
+ className: classNames(`${classPrefix$17}-tab`, {
9974
+ [`${classPrefix$17}-tab-active`]: pane.key === activeKey,
9975
+ [`${classPrefix$17}-tab-disabled`]: pane.props.disabled
9972
9976
  })
9973
9977
  }, pane.props.title)))))), panes.map((pane) => {
9974
9978
  if (pane.props.children === void 0) {
@@ -9981,7 +9985,7 @@ const CapsuleTabs = (props) => {
9981
9985
  forceRender: pane.props.forceRender,
9982
9986
  destroyOnClose: pane.props.destroyOnClose
9983
9987
  }, React$1.createElement("div", {
9984
- className: `${classPrefix$15}-content`,
9988
+ className: `${classPrefix$17}-content`,
9985
9989
  style: {
9986
9990
  display: active ? "block" : "none"
9987
9991
  }
@@ -9992,18 +9996,18 @@ var index$g = attachPropertiesToComponent(CapsuleTabs, {
9992
9996
  Tab: CapsuleTab
9993
9997
  });
9994
9998
  var card = "";
9995
- const classPrefix$14 = `adm-card`;
9999
+ const classPrefix$16 = `adm-card`;
9996
10000
  const Card = (props) => {
9997
10001
  const renderHeader = () => {
9998
10002
  if (!(props.title || props.extra)) {
9999
10003
  return null;
10000
10004
  }
10001
10005
  return React$1.createElement("div", {
10002
- className: classNames(`${classPrefix$14}-header`, props.headerClassName),
10006
+ className: classNames(`${classPrefix$16}-header`, props.headerClassName),
10003
10007
  style: props.headerStyle,
10004
10008
  onClick: props.onHeaderClick
10005
10009
  }, React$1.createElement("div", {
10006
- className: `${classPrefix$14}-header-title`
10010
+ className: `${classPrefix$16}-header-title`
10007
10011
  }, props.title), props.extra);
10008
10012
  };
10009
10013
  const renderBody = () => {
@@ -10011,13 +10015,13 @@ const Card = (props) => {
10011
10015
  return null;
10012
10016
  }
10013
10017
  return React$1.createElement("div", {
10014
- className: classNames(`${classPrefix$14}-body`, props.bodyClassName),
10018
+ className: classNames(`${classPrefix$16}-body`, props.bodyClassName),
10015
10019
  style: props.bodyStyle,
10016
10020
  onClick: props.onBodyClick
10017
10021
  }, props.children);
10018
10022
  };
10019
10023
  return withNativeProps(props, React$1.createElement("div", {
10020
- className: classPrefix$14,
10024
+ className: classPrefix$16,
10021
10025
  onClick: props.onClick
10022
10026
  }, renderHeader(), renderBody()));
10023
10027
  };
@@ -10298,7 +10302,7 @@ function measureCSSLength(raw) {
10298
10302
  return 0;
10299
10303
  }
10300
10304
  }
10301
- const classPrefix$13 = `adm-picker-view`;
10305
+ const classPrefix$15 = `adm-picker-view`;
10302
10306
  const Wheel = memo((props) => {
10303
10307
  const {
10304
10308
  value,
@@ -10438,12 +10442,12 @@ const Wheel = memo((props) => {
10438
10442
  }
10439
10443
  return React$1.createElement("div", {
10440
10444
  ref: rootRef,
10441
- className: `${classPrefix$13}-column`
10445
+ className: `${classPrefix$15}-column`
10442
10446
  }, React$1.createElement(animated.div, {
10443
10447
  style: {
10444
10448
  translateY: y
10445
10449
  },
10446
- className: `${classPrefix$13}-column-wheel`,
10450
+ className: `${classPrefix$15}-column-wheel`,
10447
10451
  "aria-hidden": true
10448
10452
  }, column.map((item, index2) => {
10449
10453
  var _a;
@@ -10457,12 +10461,12 @@ const Wheel = memo((props) => {
10457
10461
  return React$1.createElement("div", {
10458
10462
  key: (_a = item.key) !== null && _a !== void 0 ? _a : item.value,
10459
10463
  "data-selected": item.value === value,
10460
- className: `${classPrefix$13}-column-item`,
10464
+ className: `${classPrefix$15}-column-item`,
10461
10465
  onClick: handleClick,
10462
10466
  "aria-hidden": !selected,
10463
10467
  "aria-label": selected ? "active" : ""
10464
10468
  }, React$1.createElement("div", {
10465
- className: `${classPrefix$13}-column-item-label`
10469
+ className: `${classPrefix$15}-column-item-label`
10466
10470
  }, renderLabel(item)));
10467
10471
  })), renderAccessible());
10468
10472
  }, (prev, next) => {
@@ -10518,14 +10522,14 @@ function useColumnsExtend(rawColumns, value) {
10518
10522
  return useMemo(() => generateColumnsExtend(rawColumns, value), [rawColumns, value]);
10519
10523
  }
10520
10524
  const defaultRenderLabel$3 = (item) => item.label;
10521
- const classPrefix$12 = `adm-picker-view`;
10522
- const defaultProps$S = {
10525
+ const classPrefix$14 = `adm-picker-view`;
10526
+ const defaultProps$U = {
10523
10527
  defaultValue: [],
10524
10528
  renderLabel: defaultRenderLabel$3,
10525
10529
  mouseWheel: false
10526
10530
  };
10527
10531
  const PickerView = memo((p2) => {
10528
- const props = mergeProps(defaultProps$S, p2);
10532
+ const props = mergeProps(defaultProps$U, p2);
10529
10533
  const [innerValue, setInnerValue] = useState(props.value === void 0 ? props.defaultValue : props.value);
10530
10534
  useEffect(() => {
10531
10535
  if (props.value === void 0)
@@ -10566,7 +10570,7 @@ const PickerView = memo((p2) => {
10566
10570
  });
10567
10571
  }, []);
10568
10572
  return withNativeProps(props, React$1.createElement("div", {
10569
- className: `${classPrefix$12}`
10573
+ className: `${classPrefix$14}`
10570
10574
  }, columns.map((column, index2) => React$1.createElement(Wheel, {
10571
10575
  key: index2,
10572
10576
  index: index2,
@@ -10576,19 +10580,19 @@ const PickerView = memo((p2) => {
10576
10580
  renderLabel: props.renderLabel,
10577
10581
  mouseWheel: props.mouseWheel
10578
10582
  })), React$1.createElement("div", {
10579
- className: `${classPrefix$12}-mask`
10583
+ className: `${classPrefix$14}-mask`
10580
10584
  }, React$1.createElement("div", {
10581
- className: `${classPrefix$12}-mask-top`
10585
+ className: `${classPrefix$14}-mask-top`
10582
10586
  }), React$1.createElement("div", {
10583
- className: `${classPrefix$12}-mask-middle`
10587
+ className: `${classPrefix$14}-mask-middle`
10584
10588
  }), React$1.createElement("div", {
10585
- className: `${classPrefix$12}-mask-bottom`
10589
+ className: `${classPrefix$14}-mask-bottom`
10586
10590
  }))));
10587
10591
  });
10588
10592
  PickerView.displayName = "PickerView";
10589
10593
  var pickerView = "";
10590
- const classPrefix$11 = `adm-picker`;
10591
- const defaultProps$R = {
10594
+ const classPrefix$13 = `adm-picker`;
10595
+ const defaultProps$T = {
10592
10596
  defaultValue: [],
10593
10597
  closeOnMaskClick: true,
10594
10598
  renderLabel: defaultRenderLabel$3
@@ -10598,7 +10602,7 @@ const Picker$1 = memo(forwardRef((p2, ref) => {
10598
10602
  const {
10599
10603
  locale
10600
10604
  } = useConfig();
10601
- const props = mergeProps(defaultProps$R, {
10605
+ const props = mergeProps(defaultProps$T, {
10602
10606
  confirmText: locale.common.confirm,
10603
10607
  cancelText: locale.common.cancel
10604
10608
  }, p2);
@@ -10652,26 +10656,26 @@ const Picker$1 = memo(forwardRef((p2, ref) => {
10652
10656
  });
10653
10657
  const shouldRender = useShouldRender(visible, props.forceRender, props.destroyOnClose);
10654
10658
  const pickerElement = withNativeProps(props, React$1.createElement("div", {
10655
- className: classPrefix$11
10659
+ className: classPrefix$13
10656
10660
  }, React$1.createElement("div", {
10657
- className: `${classPrefix$11}-header`
10661
+ className: `${classPrefix$13}-header`
10658
10662
  }, React$1.createElement("a", {
10659
- className: `${classPrefix$11}-header-button`,
10663
+ className: `${classPrefix$13}-header-button`,
10660
10664
  onClick: () => {
10661
10665
  var _a2;
10662
10666
  (_a2 = props.onCancel) === null || _a2 === void 0 ? void 0 : _a2.call(props);
10663
10667
  setVisible(false);
10664
10668
  }
10665
10669
  }, props.cancelText), React$1.createElement("div", {
10666
- className: `${classPrefix$11}-header-title`
10670
+ className: `${classPrefix$13}-header-title`
10667
10671
  }, props.title), React$1.createElement("a", {
10668
- className: `${classPrefix$11}-header-button`,
10672
+ className: `${classPrefix$13}-header-button`,
10669
10673
  onClick: () => {
10670
10674
  setValue(innerValue);
10671
10675
  setVisible(false);
10672
10676
  }
10673
10677
  }, props.confirmText)), React$1.createElement("div", {
10674
- className: `${classPrefix$11}-body`
10678
+ className: `${classPrefix$13}-body`
10675
10679
  }, React$1.createElement(PickerView, {
10676
10680
  columns: props.columns,
10677
10681
  renderLabel: props.renderLabel,
@@ -10681,7 +10685,7 @@ const Picker$1 = memo(forwardRef((p2, ref) => {
10681
10685
  }))));
10682
10686
  const popupElement = React$1.createElement(Popup, {
10683
10687
  style: props.popupStyle,
10684
- className: classNames(`${classPrefix$11}-popup`, props.popupClassName),
10688
+ className: classNames(`${classPrefix$13}-popup`, props.popupClassName),
10685
10689
  visible,
10686
10690
  position: "bottom",
10687
10691
  onMaskClick: () => {
@@ -10830,17 +10834,17 @@ const CascadePickerView = (props) => {
10830
10834
  };
10831
10835
  var cascaderView = "";
10832
10836
  var tabs = "";
10833
- const classPrefix$10 = `adm-tabs`;
10837
+ const classPrefix$12 = `adm-tabs`;
10834
10838
  const Tab = () => {
10835
10839
  return null;
10836
10840
  };
10837
- const defaultProps$Q = {
10841
+ const defaultProps$S = {
10838
10842
  activeLineMode: "auto",
10839
10843
  stretch: true
10840
10844
  };
10841
10845
  const Tabs$1 = (p2) => {
10842
10846
  var _a;
10843
- const props = mergeProps(defaultProps$Q, p2);
10847
+ const props = mergeProps(defaultProps$S, p2);
10844
10848
  const tabListContainerRef = useRef(null);
10845
10849
  const activeLineRef = useRef(null);
10846
10850
  const keyToIndexRecord = {};
@@ -10991,35 +10995,35 @@ const Tabs$1 = (p2) => {
10991
10995
  updateMask(true);
10992
10996
  }, []);
10993
10997
  return withNativeProps(props, React$1.createElement("div", {
10994
- className: classPrefix$10
10998
+ className: classPrefix$12
10995
10999
  }, React$1.createElement("div", {
10996
- className: `${classPrefix$10}-header`
11000
+ className: `${classPrefix$12}-header`
10997
11001
  }, React$1.createElement(animated.div, {
10998
- className: classNames(`${classPrefix$10}-header-mask`, `${classPrefix$10}-header-mask-left`),
11002
+ className: classNames(`${classPrefix$12}-header-mask`, `${classPrefix$12}-header-mask-left`),
10999
11003
  style: {
11000
11004
  opacity: leftMaskOpacity
11001
11005
  }
11002
11006
  }), React$1.createElement(animated.div, {
11003
- className: classNames(`${classPrefix$10}-header-mask`, `${classPrefix$10}-header-mask-right`),
11007
+ className: classNames(`${classPrefix$12}-header-mask`, `${classPrefix$12}-header-mask-right`),
11004
11008
  style: {
11005
11009
  opacity: rightMaskOpacity
11006
11010
  }
11007
11011
  }), React$1.createElement(animated.div, {
11008
- className: `${classPrefix$10}-tab-list`,
11012
+ className: `${classPrefix$12}-tab-list`,
11009
11013
  ref: tabListContainerRef,
11010
11014
  scrollLeft,
11011
11015
  onScroll: updateMask
11012
11016
  }, React$1.createElement(animated.div, {
11013
11017
  ref: activeLineRef,
11014
- className: `${classPrefix$10}-tab-line`,
11018
+ className: `${classPrefix$12}-tab-line`,
11015
11019
  style: {
11016
11020
  width: props.activeLineMode === "fixed" ? "var(--fixed-active-line-width, 30px)" : width,
11017
11021
  x
11018
11022
  }
11019
11023
  }), panes.map((pane) => withNativeProps(pane.props, React$1.createElement("div", {
11020
11024
  key: pane.key,
11021
- className: classNames(`${classPrefix$10}-tab-wrapper`, {
11022
- [`${classPrefix$10}-tab-wrapper-stretch`]: props.stretch
11025
+ className: classNames(`${classPrefix$12}-tab-wrapper`, {
11026
+ [`${classPrefix$12}-tab-wrapper-stretch`]: props.stretch
11023
11027
  })
11024
11028
  }, React$1.createElement("div", {
11025
11029
  onClick: () => {
@@ -11033,9 +11037,9 @@ const Tabs$1 = (p2) => {
11033
11037
  }
11034
11038
  setActiveKey(key.toString());
11035
11039
  },
11036
- className: classNames(`${classPrefix$10}-tab`, {
11037
- [`${classPrefix$10}-tab-active`]: pane.key === activeKey,
11038
- [`${classPrefix$10}-tab-disabled`]: pane.props.disabled
11040
+ className: classNames(`${classPrefix$12}-tab`, {
11041
+ [`${classPrefix$12}-tab-active`]: pane.key === activeKey,
11042
+ [`${classPrefix$12}-tab-disabled`]: pane.props.disabled
11039
11043
  })
11040
11044
  }, pane.props.title)))))), panes.map((pane) => {
11041
11045
  if (pane.props.children === void 0) {
@@ -11048,7 +11052,7 @@ const Tabs$1 = (p2) => {
11048
11052
  forceRender: pane.props.forceRender,
11049
11053
  destroyOnClose: pane.props.destroyOnClose
11050
11054
  }, React$1.createElement("div", {
11051
- className: `${classPrefix$10}-content`,
11055
+ className: `${classPrefix$12}-content`,
11052
11056
  style: {
11053
11057
  display: active ? "block" : "none"
11054
11058
  }
@@ -11060,47 +11064,47 @@ var Tabs = attachPropertiesToComponent(Tabs$1, {
11060
11064
  });
11061
11065
  var checkList = "";
11062
11066
  var list = "";
11063
- const classPrefix$$ = `adm-list`;
11064
- const defaultProps$P = {
11067
+ const classPrefix$11 = `adm-list`;
11068
+ const defaultProps$R = {
11065
11069
  mode: "default"
11066
11070
  };
11067
11071
  const List$1 = (p2) => {
11068
- const props = mergeProps(defaultProps$P, p2);
11072
+ const props = mergeProps(defaultProps$R, p2);
11069
11073
  return withNativeProps(props, React$1.createElement("div", {
11070
- className: classNames(classPrefix$$, `${classPrefix$$}-${props.mode}`)
11074
+ className: classNames(classPrefix$11, `${classPrefix$11}-${props.mode}`)
11071
11075
  }, props.header && React$1.createElement("div", {
11072
- className: `${classPrefix$$}-header`
11076
+ className: `${classPrefix$11}-header`
11073
11077
  }, props.header), React$1.createElement("div", {
11074
- className: `${classPrefix$$}-body`
11078
+ className: `${classPrefix$11}-body`
11075
11079
  }, React$1.createElement("div", {
11076
- className: `${classPrefix$$}-body-inner`
11080
+ className: `${classPrefix$11}-body-inner`
11077
11081
  }, props.children))));
11078
11082
  };
11079
11083
  function isNodeWithContent(node) {
11080
11084
  return node !== void 0 && node !== null && node !== false;
11081
11085
  }
11082
- const classPrefix$_ = `adm-list-item`;
11086
+ const classPrefix$10 = `adm-list-item`;
11083
11087
  const ListItem = (props) => {
11084
11088
  var _a;
11085
11089
  const clickable = (_a = props.clickable) !== null && _a !== void 0 ? _a : !!props.onClick;
11086
11090
  const arrow2 = props.arrow === void 0 ? clickable : props.arrow;
11087
11091
  const content = React$1.createElement("div", {
11088
- className: `${classPrefix$_}-content`
11092
+ className: `${classPrefix$10}-content`
11089
11093
  }, isNodeWithContent(props.prefix) && React$1.createElement("div", {
11090
- className: `${classPrefix$_}-content-prefix`
11094
+ className: `${classPrefix$10}-content-prefix`
11091
11095
  }, props.prefix), React$1.createElement("div", {
11092
- className: `${classPrefix$_}-content-main`
11096
+ className: `${classPrefix$10}-content-main`
11093
11097
  }, isNodeWithContent(props.title) && React$1.createElement("div", {
11094
- className: `${classPrefix$_}-title`
11098
+ className: `${classPrefix$10}-title`
11095
11099
  }, props.title), props.children, isNodeWithContent(props.description) && React$1.createElement("div", {
11096
- className: `${classPrefix$_}-description`
11100
+ className: `${classPrefix$10}-description`
11097
11101
  }, props.description)), isNodeWithContent(props.extra) && React$1.createElement("div", {
11098
- className: `${classPrefix$_}-content-extra`
11102
+ className: `${classPrefix$10}-content-extra`
11099
11103
  }, props.extra), isNodeWithContent(arrow2) && React$1.createElement("div", {
11100
- className: `${classPrefix$_}-content-arrow`
11104
+ className: `${classPrefix$10}-content-arrow`
11101
11105
  }, arrow2 === true ? React$1.createElement(RightOutline, null) : arrow2));
11102
11106
  return withNativeProps(props, React$1.createElement(clickable ? "a" : "div", {
11103
- className: classNames(`${classPrefix$_}`, clickable ? ["adm-plain-anchor"] : [], props.disabled && `${classPrefix$_}-disabled`),
11107
+ className: classNames(`${classPrefix$10}`, clickable ? ["adm-plain-anchor"] : [], props.disabled && `${classPrefix$10}-disabled`),
11104
11108
  onClick: props.disabled ? void 0 : props.onClick
11105
11109
  }, content));
11106
11110
  };
@@ -11108,14 +11112,14 @@ var List = attachPropertiesToComponent(List$1, {
11108
11112
  Item: ListItem
11109
11113
  });
11110
11114
  const CheckListContext = createContext(null);
11111
- const classPrefix$Z = "adm-check-list";
11112
- const defaultProps$O = {
11115
+ const classPrefix$$ = "adm-check-list";
11116
+ const defaultProps$Q = {
11113
11117
  multiple: false,
11114
11118
  defaultValue: [],
11115
11119
  activeIcon: React$1.createElement(CheckOutline, null)
11116
11120
  };
11117
11121
  const CheckList$1 = (p2) => {
11118
- const props = mergeProps(defaultProps$O, p2);
11122
+ const props = mergeProps(defaultProps$Q, p2);
11119
11123
  const [value, setValue] = usePropsValue(props);
11120
11124
  function check(val) {
11121
11125
  if (props.multiple) {
@@ -11143,10 +11147,10 @@ const CheckList$1 = (p2) => {
11143
11147
  }
11144
11148
  }, withNativeProps(props, React$1.createElement(List, {
11145
11149
  mode: props.mode,
11146
- className: classPrefix$Z
11150
+ className: classPrefix$$
11147
11151
  }, props.children)));
11148
11152
  };
11149
- const classPrefix$Y = `adm-check-list-item`;
11153
+ const classPrefix$_ = `adm-check-list-item`;
11150
11154
  const CheckListItem = (props) => {
11151
11155
  const context = useContext(CheckListContext);
11152
11156
  if (context === null) {
@@ -11155,11 +11159,11 @@ const CheckListItem = (props) => {
11155
11159
  const active = context.value.includes(props.value);
11156
11160
  const readOnly = props.readOnly || context.readOnly;
11157
11161
  const extra = React$1.createElement("div", {
11158
- className: `${classPrefix$Y}-extra`
11162
+ className: `${classPrefix$_}-extra`
11159
11163
  }, active ? context.activeIcon : null);
11160
11164
  return withNativeProps(props, React$1.createElement(List.Item, {
11161
11165
  title: props.title,
11162
- className: classNames(classPrefix$Y, readOnly && `${classPrefix$Y}-readonly`, active && `${classPrefix$Y}-active`),
11166
+ className: classNames(classPrefix$_, readOnly && `${classPrefix$_}-readonly`, active && `${classPrefix$_}-active`),
11163
11167
  description: props.description,
11164
11168
  prefix: props.prefix,
11165
11169
  onClick: (e2) => {
@@ -11222,16 +11226,11 @@ function useCascaderValueExtend(options) {
11222
11226
  }, [options]);
11223
11227
  const generateIsLeaf = useMemo(() => {
11224
11228
  return memoize_1((val) => {
11225
- var _a;
11226
- let isLeaf = false;
11227
- for (const v of val) {
11228
- const target = options.find((option) => option.value === v);
11229
- if (!target) {
11230
- break;
11231
- }
11232
- isLeaf = ((_a = target.children) === null || _a === void 0 ? void 0 : _a.length) === val.length;
11233
- }
11234
- return isLeaf;
11229
+ const children = val.reduce((currentOptions, v) => {
11230
+ var _a;
11231
+ return ((_a = currentOptions.find((option) => option.value === v)) === null || _a === void 0 ? void 0 : _a.children) || [];
11232
+ }, options);
11233
+ return children.length === 0;
11235
11234
  }, (val) => JSON.stringify(val));
11236
11235
  }, [options]);
11237
11236
  function generateValueExtend(val) {
@@ -11255,18 +11254,18 @@ function generateIntArray(from, to2) {
11255
11254
  }
11256
11255
  return array;
11257
11256
  }
11258
- const classPrefix$X = "adm-skeleton";
11257
+ const classPrefix$Z = "adm-skeleton";
11259
11258
  const Skeleton$1 = (props) => {
11260
11259
  return withNativeProps(props, React$1.createElement("div", {
11261
- className: classNames(classPrefix$X, {
11262
- [`${classPrefix$X}-animated`]: props.animated
11260
+ className: classNames(classPrefix$Z, {
11261
+ [`${classPrefix$Z}-animated`]: props.animated
11263
11262
  })
11264
11263
  }));
11265
11264
  };
11266
11265
  const SkeletonTitle = (props) => {
11267
11266
  return withNativeProps(props, React$1.createElement(Skeleton$1, {
11268
11267
  animated: props.animated,
11269
- className: `${classPrefix$X}-title`
11268
+ className: `${classPrefix$Z}-title`
11270
11269
  }));
11271
11270
  };
11272
11271
  const defaultSkeletonParagraphProps = {
@@ -11276,11 +11275,11 @@ const SkeletonParagraph = (p2) => {
11276
11275
  const props = mergeProps(defaultSkeletonParagraphProps, p2);
11277
11276
  const keys2 = generateIntArray(1, props.lineCount);
11278
11277
  const node = React$1.createElement("div", {
11279
- className: `${classPrefix$X}-paragraph`
11278
+ className: `${classPrefix$Z}-paragraph`
11280
11279
  }, keys2.map((key) => React$1.createElement(Skeleton$1, {
11281
11280
  key,
11282
11281
  animated: props.animated,
11283
- className: `${classPrefix$X}-paragraph-line`
11282
+ className: `${classPrefix$Z}-paragraph-line`
11284
11283
  })));
11285
11284
  return withNativeProps(props, node);
11286
11285
  };
@@ -11288,15 +11287,15 @@ var Skeleton = attachPropertiesToComponent(Skeleton$1, {
11288
11287
  Title: SkeletonTitle,
11289
11288
  Paragraph: SkeletonParagraph
11290
11289
  });
11291
- const classPrefix$W = `adm-cascader-view`;
11292
- const defaultProps$N = {
11290
+ const classPrefix$Y = `adm-cascader-view`;
11291
+ const defaultProps$P = {
11293
11292
  defaultValue: []
11294
11293
  };
11295
11294
  const CascaderView$1 = (p2) => {
11296
11295
  const {
11297
11296
  locale
11298
11297
  } = useConfig();
11299
- const props = mergeProps(defaultProps$N, {
11298
+ const props = mergeProps(defaultProps$P, {
11300
11299
  placeholder: locale.Cascader.placeholder
11301
11300
  }, p2);
11302
11301
  const [value, setValue] = usePropsValue(Object.assign(Object.assign({}, props), {
@@ -11305,7 +11304,7 @@ const CascaderView$1 = (p2) => {
11305
11304
  (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, val, generateValueExtend(val));
11306
11305
  }
11307
11306
  }));
11308
- const [tabActiveKey, setTabActiveKey] = useState(0);
11307
+ const [tabActiveIndex, setTabActiveIndex] = useState(0);
11309
11308
  const generateValueExtend = useCascaderValueExtend(props.options);
11310
11309
  const levels = useMemo(() => {
11311
11310
  const ret = [];
@@ -11332,14 +11331,14 @@ const CascaderView$1 = (p2) => {
11332
11331
  return ret;
11333
11332
  }, [value, props.options]);
11334
11333
  useEffect(() => {
11335
- setTabActiveKey(levels.length - 1);
11334
+ setTabActiveIndex(levels.length - 1);
11336
11335
  }, [value]);
11337
11336
  useEffect(() => {
11338
11337
  const max = levels.length - 1;
11339
- if (tabActiveKey > max) {
11340
- setTabActiveKey(max);
11338
+ if (tabActiveIndex > max) {
11339
+ setTabActiveIndex(max);
11341
11340
  }
11342
- }, [tabActiveKey, levels]);
11341
+ }, [tabActiveIndex, levels]);
11343
11342
  const onItemSelect = (selectValue, depth) => {
11344
11343
  const next = value.slice(0, depth);
11345
11344
  if (selectValue !== void 0) {
@@ -11348,35 +11347,40 @@ const CascaderView$1 = (p2) => {
11348
11347
  setValue(next);
11349
11348
  };
11350
11349
  return withNativeProps(props, React$1.createElement("div", {
11351
- className: classPrefix$W
11350
+ className: classPrefix$Y
11352
11351
  }, React$1.createElement(Tabs, {
11353
- activeKey: tabActiveKey.toString(),
11354
- onChange: (key) => setTabActiveKey(parseInt(key)),
11352
+ activeKey: tabActiveIndex.toString(),
11353
+ onChange: (key) => {
11354
+ var _a;
11355
+ const activeIndex = parseInt(key);
11356
+ setTabActiveIndex(activeIndex);
11357
+ (_a = props.onTabsChange) === null || _a === void 0 ? void 0 : _a.call(props, activeIndex);
11358
+ },
11355
11359
  stretch: false,
11356
- className: `${classPrefix$W}-tabs`
11360
+ className: `${classPrefix$Y}-tabs`
11357
11361
  }, levels.map((level, index2) => {
11358
11362
  const selected = level.selected;
11359
11363
  return React$1.createElement(Tabs.Tab, {
11360
- key: index2,
11364
+ key: index2.toString(),
11361
11365
  title: React$1.createElement("div", {
11362
- className: `${classPrefix$W}-header-title`
11366
+ className: `${classPrefix$Y}-header-title`
11363
11367
  }, selected ? selected.label : props.placeholder),
11364
11368
  forceRender: true
11365
11369
  }, React$1.createElement("div", {
11366
- className: `${classPrefix$W}-content`
11370
+ className: `${classPrefix$Y}-content`
11367
11371
  }, level.options === optionSkeleton ? React$1.createElement("div", {
11368
- className: `${classPrefix$W}-skeleton`
11372
+ className: `${classPrefix$Y}-skeleton`
11369
11373
  }, React$1.createElement(Skeleton, {
11370
- className: `${classPrefix$W}-skeleton-line-1`,
11374
+ className: `${classPrefix$Y}-skeleton-line-1`,
11371
11375
  animated: true
11372
11376
  }), React$1.createElement(Skeleton, {
11373
- className: `${classPrefix$W}-skeleton-line-2`,
11377
+ className: `${classPrefix$Y}-skeleton-line-2`,
11374
11378
  animated: true
11375
11379
  }), React$1.createElement(Skeleton, {
11376
- className: `${classPrefix$W}-skeleton-line-3`,
11380
+ className: `${classPrefix$Y}-skeleton-line-3`,
11377
11381
  animated: true
11378
11382
  }), React$1.createElement(Skeleton, {
11379
- className: `${classPrefix$W}-skeleton-line-4`,
11383
+ className: `${classPrefix$Y}-skeleton-line-4`,
11380
11384
  animated: true
11381
11385
  })) : React$1.createElement(CheckList, {
11382
11386
  value: [value[index2]],
@@ -11387,8 +11391,8 @@ const CascaderView$1 = (p2) => {
11387
11391
  value: option.value,
11388
11392
  key: option.value,
11389
11393
  disabled: option.disabled,
11390
- className: classNames(`${classPrefix$W}-item`, {
11391
- [`${classPrefix$W}-item-active`]: active
11394
+ className: classNames(`${classPrefix$Y}-item`, {
11395
+ [`${classPrefix$Y}-item-active`]: active
11392
11396
  })
11393
11397
  }, option.label);
11394
11398
  }))));
@@ -11397,8 +11401,8 @@ const CascaderView$1 = (p2) => {
11397
11401
  var CascaderView = attachPropertiesToComponent(CascaderView$1, {
11398
11402
  optionSkeleton
11399
11403
  });
11400
- const classPrefix$V = `adm-cascader`;
11401
- const defaultProps$M = {
11404
+ const classPrefix$X = `adm-cascader`;
11405
+ const defaultProps$O = {
11402
11406
  defaultValue: []
11403
11407
  };
11404
11408
  const Cascader = (p2) => {
@@ -11406,7 +11410,7 @@ const Cascader = (p2) => {
11406
11410
  const {
11407
11411
  locale
11408
11412
  } = useConfig();
11409
- const props = mergeProps(defaultProps$M, {
11413
+ const props = mergeProps(defaultProps$O, {
11410
11414
  confirmText: locale.common.confirm,
11411
11415
  cancelText: locale.common.cancel,
11412
11416
  placeholder: locale.Cascader.placeholder
@@ -11430,27 +11434,27 @@ const Cascader = (p2) => {
11430
11434
  }
11431
11435
  }, [value]);
11432
11436
  const cascaderElement = withNativeProps(props, React$1.createElement("div", {
11433
- className: classPrefix$V
11437
+ className: classPrefix$X
11434
11438
  }, React$1.createElement("div", {
11435
- className: `${classPrefix$V}-header`
11439
+ className: `${classPrefix$X}-header`
11436
11440
  }, React$1.createElement("a", {
11437
- className: `${classPrefix$V}-header-button`,
11441
+ className: `${classPrefix$X}-header-button`,
11438
11442
  onClick: () => {
11439
11443
  var _a2, _b;
11440
11444
  (_a2 = props.onCancel) === null || _a2 === void 0 ? void 0 : _a2.call(props);
11441
11445
  (_b = props.onClose) === null || _b === void 0 ? void 0 : _b.call(props);
11442
11446
  }
11443
11447
  }, props.cancelText), React$1.createElement("div", {
11444
- className: `${classPrefix$V}-header-title`
11448
+ className: `${classPrefix$X}-header-title`
11445
11449
  }, props.title), React$1.createElement("a", {
11446
- className: `${classPrefix$V}-header-button`,
11450
+ className: `${classPrefix$X}-header-button`,
11447
11451
  onClick: () => {
11448
11452
  var _a2;
11449
11453
  setValue(innerValue);
11450
11454
  (_a2 = props.onClose) === null || _a2 === void 0 ? void 0 : _a2.call(props);
11451
11455
  }
11452
11456
  }, props.confirmText)), React$1.createElement("div", {
11453
- className: `${classPrefix$V}-body`
11457
+ className: `${classPrefix$X}-body`
11454
11458
  }, React$1.createElement(CascaderView, Object.assign({}, props, {
11455
11459
  value: innerValue,
11456
11460
  onChange: (val, ext) => {
@@ -11513,14 +11517,95 @@ var index$e = attachPropertiesToComponent(Cascader, {
11513
11517
  prompt: prompt$1,
11514
11518
  optionSkeleton
11515
11519
  });
11520
+ var centerPopup = "";
11521
+ function useInnerVisible(outerVisible) {
11522
+ const [innerVisible, setInnerVisible] = useState(outerVisible);
11523
+ useIsomorphicLayoutEffect(() => {
11524
+ setInnerVisible(outerVisible);
11525
+ }, [outerVisible]);
11526
+ return innerVisible;
11527
+ }
11528
+ const defaultProps$N = {
11529
+ destroyOnClose: false,
11530
+ disableBodyScroll: true,
11531
+ forceRender: false,
11532
+ getContainer: null,
11533
+ mask: true,
11534
+ showCloseButton: false,
11535
+ stopPropagation: ["click"],
11536
+ visible: false
11537
+ };
11538
+ const CenterPopup = (p2) => {
11539
+ const props = mergeProps(defaultProps$N, p2);
11540
+ const unmountedRef = useUnmountedRef();
11541
+ const style = useSpring({
11542
+ scale: props.visible ? 1 : 0.8,
11543
+ opacity: props.visible ? 1 : 0,
11544
+ config: {
11545
+ mass: 1.2,
11546
+ tension: 200,
11547
+ friction: 25,
11548
+ clamp: true
11549
+ },
11550
+ onRest: () => {
11551
+ var _a, _b;
11552
+ if (unmountedRef.current)
11553
+ return;
11554
+ setActive(props.visible);
11555
+ if (props.visible) {
11556
+ (_a = props.afterShow) === null || _a === void 0 ? void 0 : _a.call(props);
11557
+ } else {
11558
+ (_b = props.afterClose) === null || _b === void 0 ? void 0 : _b.call(props);
11559
+ }
11560
+ }
11561
+ });
11562
+ const [active, setActive] = useState(props.visible);
11563
+ useIsomorphicLayoutEffect(() => {
11564
+ if (props.visible) {
11565
+ setActive(true);
11566
+ }
11567
+ }, [props.visible]);
11568
+ const ref = useRef(null);
11569
+ useLockScroll(ref, props.disableBodyScroll && active);
11570
+ const maskVisible = useInnerVisible(active && props.visible);
11571
+ const body = React$1.createElement("div", {
11572
+ className: classNames("adm-center-popup-body", props.bodyClassName),
11573
+ style: props.bodyStyle
11574
+ }, props.children);
11575
+ const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
11576
+ className: "adm-center-popup",
11577
+ style: {
11578
+ display: active ? void 0 : "none",
11579
+ pointerEvents: active ? void 0 : "none"
11580
+ }
11581
+ }, props.mask && React$1.createElement(Mask, {
11582
+ visible: maskVisible,
11583
+ forceRender: props.forceRender,
11584
+ destroyOnClose: props.destroyOnClose,
11585
+ onMaskClick: props.onMaskClick,
11586
+ style: props.maskStyle,
11587
+ className: classNames("adm-center-popup-mask", props.maskClassName),
11588
+ disableBodyScroll: false
11589
+ }), React$1.createElement("div", {
11590
+ className: "adm-center-popup-wrap"
11591
+ }, React$1.createElement(animated.div, {
11592
+ style,
11593
+ ref
11594
+ }, body)))));
11595
+ return React$1.createElement(ShouldRender, {
11596
+ active,
11597
+ forceRender: props.forceRender,
11598
+ destroyOnClose: props.destroyOnClose
11599
+ }, renderToContainer(props.getContainer, node));
11600
+ };
11516
11601
  var checkbox = "";
11517
11602
  const CheckboxGroupContext = createContext(null);
11518
- const defaultProps$L = {
11603
+ const defaultProps$M = {
11519
11604
  disabled: false,
11520
11605
  defaultValue: []
11521
11606
  };
11522
11607
  const Group$1 = (p2) => {
11523
- const props = mergeProps(defaultProps$L, p2);
11608
+ const props = mergeProps(defaultProps$M, p2);
11524
11609
  const [value, setValue] = usePropsValue(props);
11525
11610
  return React$1.createElement(CheckboxGroupContext.Provider, {
11526
11611
  value: {
@@ -11579,14 +11664,14 @@ const NativeInput = (props) => {
11579
11664
  id: props.id
11580
11665
  });
11581
11666
  };
11582
- const classPrefix$U = `adm-checkbox`;
11583
- const defaultProps$K = {
11667
+ const classPrefix$W = `adm-checkbox`;
11668
+ const defaultProps$L = {
11584
11669
  defaultChecked: false,
11585
11670
  indeterminate: false
11586
11671
  };
11587
11672
  const Checkbox$1 = (p2) => {
11588
11673
  const groupContext = useContext(CheckboxGroupContext);
11589
- const props = mergeProps(defaultProps$K, p2);
11674
+ const props = mergeProps(defaultProps$L, p2);
11590
11675
  let [checked, setChecked] = usePropsValue({
11591
11676
  value: props.checked,
11592
11677
  defaultValue: props.defaultChecked,
@@ -11612,19 +11697,19 @@ const Checkbox$1 = (p2) => {
11612
11697
  const renderIcon = () => {
11613
11698
  if (props.icon) {
11614
11699
  return React$1.createElement("div", {
11615
- className: `${classPrefix$U}-custom-icon`
11700
+ className: `${classPrefix$W}-custom-icon`
11616
11701
  }, props.icon(checked, props.indeterminate));
11617
11702
  }
11618
11703
  return React$1.createElement("div", {
11619
- className: `${classPrefix$U}-icon`
11704
+ className: `${classPrefix$W}-icon`
11620
11705
  }, props.indeterminate ? React$1.createElement(IndeterminateIcon, null) : checked && React$1.createElement(CheckIcon, null));
11621
11706
  };
11622
11707
  return withNativeProps(props, React$1.createElement("label", {
11623
- className: classNames(classPrefix$U, {
11624
- [`${classPrefix$U}-checked`]: checked && !props.indeterminate,
11625
- [`${classPrefix$U}-indeterminate`]: props.indeterminate,
11626
- [`${classPrefix$U}-disabled`]: disabled,
11627
- [`${classPrefix$U}-block`]: props.block
11708
+ className: classNames(classPrefix$W, {
11709
+ [`${classPrefix$W}-checked`]: checked && !props.indeterminate,
11710
+ [`${classPrefix$W}-indeterminate`]: props.indeterminate,
11711
+ [`${classPrefix$W}-disabled`]: disabled,
11712
+ [`${classPrefix$W}-block`]: props.block
11628
11713
  })
11629
11714
  }, React$1.createElement(NativeInput, {
11630
11715
  type: "checkbox",
@@ -11633,14 +11718,14 @@ const Checkbox$1 = (p2) => {
11633
11718
  disabled,
11634
11719
  id: props.id
11635
11720
  }), renderIcon(), props.children && React$1.createElement("div", {
11636
- className: `${classPrefix$U}-content`
11721
+ className: `${classPrefix$W}-content`
11637
11722
  }, props.children)));
11638
11723
  };
11639
11724
  var Checkbox = attachPropertiesToComponent(Checkbox$1, {
11640
11725
  Group: Group$1
11641
11726
  });
11642
11727
  var collapse = "";
11643
- const classPrefix$T = `adm-collapse`;
11728
+ const classPrefix$V = `adm-collapse`;
11644
11729
  const CollapsePanel = () => {
11645
11730
  return null;
11646
11731
  };
@@ -11694,7 +11779,7 @@ const CollapsePanelContent = (props) => {
11694
11779
  }
11695
11780
  }, [visible]);
11696
11781
  return React$1.createElement(animated.div, {
11697
- className: `${classPrefix$T}-panel-content`,
11782
+ className: `${classPrefix$V}-panel-content`,
11698
11783
  style: {
11699
11784
  height: height.to((v) => {
11700
11785
  if (height.idle && visible) {
@@ -11705,7 +11790,7 @@ const CollapsePanelContent = (props) => {
11705
11790
  })
11706
11791
  }
11707
11792
  }, React$1.createElement("div", {
11708
- className: `${classPrefix$T}-panel-content-inner`,
11793
+ className: `${classPrefix$V}-panel-content-inner`,
11709
11794
  ref: innerRef
11710
11795
  }, React$1.createElement(List.Item, null, shouldRender && props.children)));
11711
11796
  };
@@ -11734,7 +11819,7 @@ const Collapse = (props) => {
11734
11819
  });
11735
11820
  const activeKeyList = activeKey === null ? [] : Array.isArray(activeKey) ? activeKey : [activeKey];
11736
11821
  return withNativeProps(props, React$1.createElement("div", {
11737
- className: classPrefix$T
11822
+ className: classPrefix$V
11738
11823
  }, React$1.createElement(List, null, panels.map((panel) => {
11739
11824
  const key = panel.key;
11740
11825
  const active = activeKeyList.includes(key);
@@ -11764,15 +11849,15 @@ const Collapse = (props) => {
11764
11849
  arrow2 = panel.props.arrow;
11765
11850
  }
11766
11851
  return typeof arrow2 === "function" ? arrow2(active) : React$1.createElement("div", {
11767
- className: classNames(`${classPrefix$T}-arrow`, {
11768
- [`${classPrefix$T}-arrow-active`]: active
11852
+ className: classNames(`${classPrefix$V}-arrow`, {
11853
+ [`${classPrefix$V}-arrow-active`]: active
11769
11854
  })
11770
11855
  }, arrow2);
11771
11856
  };
11772
11857
  return React$1.createElement(React$1.Fragment, {
11773
11858
  key
11774
11859
  }, withNativeProps(panel.props, React$1.createElement(List.Item, {
11775
- className: `${classPrefix$T}-panel-header`,
11860
+ className: `${classPrefix$V}-panel-header`,
11776
11861
  onClick: handleClick,
11777
11862
  disabled: panel.props.disabled,
11778
11863
  arrow: renderArrow()
@@ -12100,7 +12185,7 @@ const defaultRenderLabel = (precision, data) => {
12100
12185
  }
12101
12186
  };
12102
12187
  const thisYear$1 = new Date().getFullYear();
12103
- const defaultProps$J = {
12188
+ const defaultProps$K = {
12104
12189
  min: new Date(new Date().setFullYear(thisYear$1 - 10)),
12105
12190
  max: new Date(new Date().setFullYear(thisYear$1 + 10)),
12106
12191
  precision: "day",
@@ -12108,7 +12193,7 @@ const defaultProps$J = {
12108
12193
  defaultValue: null
12109
12194
  };
12110
12195
  const DatePicker = forwardRef((p2, ref) => {
12111
- const props = mergeProps(defaultProps$J, p2);
12196
+ const props = mergeProps(defaultProps$K, p2);
12112
12197
  const [value, setValue] = usePropsValue({
12113
12198
  value: props.value,
12114
12199
  defaultValue: props.defaultValue,
@@ -12192,7 +12277,7 @@ var index$c = attachPropertiesToComponent(DatePicker, {
12192
12277
  prompt
12193
12278
  });
12194
12279
  const thisYear = new Date().getFullYear();
12195
- const defaultProps$I = {
12280
+ const defaultProps$J = {
12196
12281
  min: new Date(new Date().setFullYear(thisYear - 10)),
12197
12282
  max: new Date(new Date().setFullYear(thisYear + 10)),
12198
12283
  precision: "day",
@@ -12200,7 +12285,7 @@ const defaultProps$I = {
12200
12285
  };
12201
12286
  const DatePickerView = (p2) => {
12202
12287
  var _a;
12203
- const props = mergeProps(defaultProps$I, p2);
12288
+ const props = mergeProps(defaultProps$J, p2);
12204
12289
  const [value, setValue] = usePropsValue({
12205
12290
  value: props.value,
12206
12291
  defaultValue: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null
@@ -12272,20 +12357,20 @@ const BrokenImageIcon = () => React$1.createElement("svg", {
12272
12357
  fill: "#DBDBDB",
12273
12358
  fillRule: "nonzero"
12274
12359
  }));
12275
- const classPrefix$S = `adm-image`;
12276
- const defaultProps$H = {
12360
+ const classPrefix$U = `adm-image`;
12361
+ const defaultProps$I = {
12277
12362
  fit: "fill",
12278
12363
  placeholder: React$1.createElement("div", {
12279
- className: `${classPrefix$S}-tip`
12364
+ className: `${classPrefix$U}-tip`
12280
12365
  }, React$1.createElement(ImageIcon, null)),
12281
12366
  fallback: React$1.createElement("div", {
12282
- className: `${classPrefix$S}-tip`
12367
+ className: `${classPrefix$U}-tip`
12283
12368
  }, React$1.createElement(BrokenImageIcon, null)),
12284
12369
  lazy: false,
12285
12370
  draggable: false
12286
12371
  };
12287
12372
  const Image$1 = staged((p2) => {
12288
- const props = mergeProps(defaultProps$H, p2);
12373
+ const props = mergeProps(defaultProps$I, p2);
12289
12374
  const [loaded, setLoaded] = useState(false);
12290
12375
  const [failed, setFailed] = useState(false);
12291
12376
  const ref = useRef(null);
@@ -12303,7 +12388,7 @@ const Image$1 = staged((p2) => {
12303
12388
  return React$1.createElement(React$1.Fragment, null, props.fallback);
12304
12389
  }
12305
12390
  const img = React$1.createElement("img", {
12306
- className: `${classPrefix$S}-img`,
12391
+ className: `${classPrefix$U}-img`,
12307
12392
  src,
12308
12393
  alt: props.alt,
12309
12394
  onClick: props.onClick,
@@ -12335,13 +12420,15 @@ const Image$1 = staged((p2) => {
12335
12420
  const style = {};
12336
12421
  if (props.width) {
12337
12422
  style["--width"] = toCSSLength(props.width);
12423
+ style["width"] = toCSSLength(props.width);
12338
12424
  }
12339
12425
  if (props.height) {
12340
12426
  style["--height"] = toCSSLength(props.height);
12427
+ style["height"] = toCSSLength(props.height);
12341
12428
  }
12342
12429
  return withNativeProps(props, React$1.createElement("div", {
12343
12430
  ref,
12344
- className: classPrefix$S,
12431
+ className: classPrefix$U,
12345
12432
  style
12346
12433
  }, props.lazy && !initialized && React$1.createElement(LazyDetector, {
12347
12434
  onActive: () => {
@@ -12349,59 +12436,14 @@ const Image$1 = staged((p2) => {
12349
12436
  }
12350
12437
  }), renderInner()));
12351
12438
  });
12352
- function useInnerVisible(outerVisible) {
12353
- const [innerVisible, setInnerVisible] = useState(outerVisible);
12354
- useIsomorphicLayoutEffect(() => {
12355
- setInnerVisible(outerVisible);
12356
- }, [outerVisible]);
12357
- return innerVisible;
12358
- }
12359
- const defaultProps$G = {
12360
- visible: false,
12439
+ const defaultProps$H = {
12361
12440
  actions: [],
12362
12441
  closeOnAction: false,
12363
- closeOnMaskClick: false,
12364
- stopPropagation: ["click"],
12365
- getContainer: null,
12366
- disableBodyScroll: true,
12367
- destroyOnClose: false,
12368
- forceRender: false
12442
+ closeOnMaskClick: false
12369
12443
  };
12370
12444
  const Dialog = (p2) => {
12371
- const props = mergeProps(defaultProps$G, p2);
12372
- const unmountedRef = useUnmountedRef();
12373
- const style = useSpring({
12374
- scale: props.visible ? 1 : 0.8,
12375
- opacity: props.visible ? 1 : 0,
12376
- config: {
12377
- mass: 1.2,
12378
- tension: 200,
12379
- friction: 25,
12380
- clamp: true
12381
- },
12382
- onRest: () => {
12383
- var _a, _b;
12384
- if (unmountedRef.current)
12385
- return;
12386
- setActive(props.visible);
12387
- if (props.visible) {
12388
- (_a = props.afterShow) === null || _a === void 0 ? void 0 : _a.call(props);
12389
- } else {
12390
- (_b = props.afterClose) === null || _b === void 0 ? void 0 : _b.call(props);
12391
- }
12392
- }
12393
- });
12394
- const [active, setActive] = useState(props.visible);
12395
- useIsomorphicLayoutEffect(() => {
12396
- if (props.visible) {
12397
- setActive(true);
12398
- }
12399
- }, [props.visible]);
12400
- const maskVisible = useInnerVisible(active && props.visible);
12401
- const body = React$1.createElement("div", {
12402
- className: classNames(cls$1("body"), props.image && cls$1("with-image"), props.bodyClassName),
12403
- style: props.bodyStyle
12404
- }, !!props.image && React$1.createElement("div", {
12445
+ const props = mergeProps(defaultProps$H, p2);
12446
+ const element = React$1.createElement(React$1.Fragment, null, !!props.image && React$1.createElement("div", {
12405
12447
  className: cls$1("image-container")
12406
12448
  }, React$1.createElement(Image$1, {
12407
12449
  src: props.image,
@@ -12432,28 +12474,26 @@ const Dialog = (p2) => {
12432
12474
  })
12433
12475
  })));
12434
12476
  })));
12435
- const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
12436
- className: cls$1(),
12437
- style: {
12438
- display: active ? void 0 : "none",
12439
- pointerEvents: active ? void 0 : "none"
12440
- }
12441
- }, React$1.createElement(Mask, {
12442
- visible: maskVisible,
12443
- onMaskClick: props.closeOnMaskClick ? props.onClose : void 0,
12444
- style: props.maskStyle,
12445
- className: classNames(cls$1("mask"), props.maskClassName),
12446
- disableBodyScroll: props.disableBodyScroll
12447
- }), React$1.createElement("div", {
12448
- className: cls$1("wrap")
12449
- }, React$1.createElement(animated.div, {
12450
- style
12451
- }, body)))));
12452
- return React$1.createElement(ShouldRender, {
12453
- active,
12454
- forceRender: props.forceRender,
12455
- destroyOnClose: props.destroyOnClose
12456
- }, renderToContainer(props.getContainer, node));
12477
+ return React$1.createElement(CenterPopup, {
12478
+ className: classNames(cls$1(), props.className),
12479
+ style: props.style,
12480
+ afterClose: props.afterClose,
12481
+ afterShow: props.afterShow,
12482
+ onMaskClick: props.closeOnMaskClick ? () => {
12483
+ var _a;
12484
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
12485
+ } : void 0,
12486
+ visible: props.visible,
12487
+ getContainer: props.getContainer,
12488
+ bodyStyle: props.bodyStyle,
12489
+ bodyClassName: classNames(cls$1("body"), props.image && cls$1("with-image"), props.bodyClassName),
12490
+ maskStyle: props.maskStyle,
12491
+ maskClassName: props.maskClassName,
12492
+ stopPropagation: props.stopPropagation,
12493
+ disableBodyScroll: props.disableBodyScroll,
12494
+ destroyOnClose: props.destroyOnClose,
12495
+ forceRender: props.forceRender
12496
+ }, element);
12457
12497
  };
12458
12498
  function cls$1(name = "") {
12459
12499
  return "adm-dialog" + (name && "-") + name;
@@ -12491,7 +12531,7 @@ function alert$1(p2) {
12491
12531
  }));
12492
12532
  });
12493
12533
  }
12494
- const defaultProps$F = {
12534
+ const defaultProps$G = {
12495
12535
  confirmText: "\u786E\u8BA4",
12496
12536
  cancelText: "\u53D6\u6D88"
12497
12537
  };
@@ -12499,7 +12539,7 @@ function confirm$1(p2) {
12499
12539
  const {
12500
12540
  locale
12501
12541
  } = getDefaultConfig();
12502
- const props = mergeProps(defaultProps$F, {
12542
+ const props = mergeProps(defaultProps$G, {
12503
12543
  confirmText: locale.common.confirm,
12504
12544
  cancelText: locale.common.cancel
12505
12545
  }, p2);
@@ -12544,37 +12584,37 @@ var index$b = attachPropertiesToComponent(Dialog, {
12544
12584
  clear: clear$2
12545
12585
  });
12546
12586
  var divider = "";
12547
- const classPrefix$R = `adm-divider`;
12548
- const defaultProps$E = {
12587
+ const classPrefix$T = `adm-divider`;
12588
+ const defaultProps$F = {
12549
12589
  contentPosition: "center",
12550
12590
  direction: "horizontal"
12551
12591
  };
12552
12592
  const Divider = (p2) => {
12553
- const props = mergeProps(defaultProps$E, p2);
12593
+ const props = mergeProps(defaultProps$F, p2);
12554
12594
  return withNativeProps(props, React$1.createElement("div", {
12555
- className: classNames(classPrefix$R, `${classPrefix$R}-${props.direction}`, `${classPrefix$R}-${props.contentPosition}`)
12595
+ className: classNames(classPrefix$T, `${classPrefix$T}-${props.direction}`, `${classPrefix$T}-${props.contentPosition}`)
12556
12596
  }, props.children && React$1.createElement("div", {
12557
- className: `${classPrefix$R}-content`
12597
+ className: `${classPrefix$T}-content`
12558
12598
  }, props.children)));
12559
12599
  };
12560
12600
  var dropdown = "";
12561
- const classPrefix$Q = `adm-dropdown-item`;
12601
+ const classPrefix$S = `adm-dropdown-item`;
12562
12602
  const Item = (props) => {
12563
12603
  var _a;
12564
- const cls2 = classNames(classPrefix$Q, {
12565
- [`${classPrefix$Q}-active`]: props.active,
12566
- [`${classPrefix$Q}-highlight`]: (_a = props.highlight) !== null && _a !== void 0 ? _a : props.active
12604
+ const cls2 = classNames(classPrefix$S, {
12605
+ [`${classPrefix$S}-active`]: props.active,
12606
+ [`${classPrefix$S}-highlight`]: (_a = props.highlight) !== null && _a !== void 0 ? _a : props.active
12567
12607
  });
12568
12608
  return withNativeProps(props, React$1.createElement("div", {
12569
12609
  className: cls2,
12570
12610
  onClick: props.onClick
12571
12611
  }, React$1.createElement("div", {
12572
- className: `${classPrefix$Q}-title`
12612
+ className: `${classPrefix$S}-title`
12573
12613
  }, React$1.createElement("span", {
12574
- className: `${classPrefix$Q}-title-text`
12614
+ className: `${classPrefix$S}-title-text`
12575
12615
  }, props.title), React$1.createElement("span", {
12576
- className: classNames(`${classPrefix$Q}-title-arrow`, {
12577
- [`${classPrefix$Q}-title-arrow-active`]: props.active
12616
+ className: classNames(`${classPrefix$S}-title-arrow`, {
12617
+ [`${classPrefix$S}-title-arrow-active`]: props.active
12578
12618
  })
12579
12619
  }, props.arrow === void 0 ? React$1.createElement(DownFill, null) : props.arrow))));
12580
12620
  };
@@ -12583,22 +12623,22 @@ const ItemChildrenWrap = (props) => {
12583
12623
  active = false
12584
12624
  } = props;
12585
12625
  const shouldRender = useShouldRender(active, props.forceRender, props.destroyOnClose);
12586
- const cls2 = classNames(`${classPrefix$Q}-content`, {
12587
- [`${classPrefix$Q}-content-hidden`]: !active
12626
+ const cls2 = classNames(`${classPrefix$S}-content`, {
12627
+ [`${classPrefix$S}-content-hidden`]: !active
12588
12628
  });
12589
12629
  return shouldRender ? React$1.createElement("div", {
12590
12630
  className: cls2,
12591
12631
  onClick: props.onClick
12592
12632
  }, props.children) : null;
12593
12633
  };
12594
- const classPrefix$P = `adm-dropdown`;
12595
- const defaultProps$D = {
12634
+ const classPrefix$R = `adm-dropdown`;
12635
+ const defaultProps$E = {
12596
12636
  defaultActiveKey: null,
12597
12637
  closeOnMaskClick: true,
12598
12638
  closeOnClickAway: false
12599
12639
  };
12600
12640
  const Dropdown = forwardRef((p2, ref) => {
12601
- const props = mergeProps(defaultProps$D, p2);
12641
+ const props = mergeProps(defaultProps$E, p2);
12602
12642
  const [value, setValue] = usePropsValue({
12603
12643
  value: props.activeKey,
12604
12644
  defaultValue: props.defaultActiveKey,
@@ -12654,19 +12694,19 @@ const Dropdown = forwardRef((p2, ref) => {
12654
12694
  }
12655
12695
  }), [setValue]);
12656
12696
  return withNativeProps(props, React$1.createElement("div", {
12657
- className: classNames(classPrefix$P, {
12658
- [`${classPrefix$P}-open`]: !!value
12697
+ className: classNames(classPrefix$R, {
12698
+ [`${classPrefix$R}-open`]: !!value
12659
12699
  }),
12660
12700
  ref: containerRef
12661
12701
  }, React$1.createElement("div", {
12662
- className: `${classPrefix$P}-nav`,
12702
+ className: `${classPrefix$R}-nav`,
12663
12703
  ref: navRef
12664
12704
  }, navs), React$1.createElement(Popup, {
12665
12705
  visible: !!value,
12666
12706
  position: "top",
12667
- className: `${classPrefix$P}-popup`,
12668
- maskClassName: `${classPrefix$P}-popup-mask`,
12669
- bodyClassName: `${classPrefix$P}-popup-body`,
12707
+ className: `${classPrefix$R}-popup`,
12708
+ maskClassName: `${classPrefix$R}-popup-mask`,
12709
+ bodyClassName: `${classPrefix$R}-popup-body`,
12670
12710
  style: {
12671
12711
  top
12672
12712
  },
@@ -12690,8 +12730,8 @@ var index$a = attachPropertiesToComponent(Dropdown, {
12690
12730
  Item
12691
12731
  });
12692
12732
  var ellipsis = "";
12693
- const classPrefix$O = `adm-ellipsis`;
12694
- const defaultProps$C = {
12733
+ const classPrefix$Q = `adm-ellipsis`;
12734
+ const defaultProps$D = {
12695
12735
  direction: "end",
12696
12736
  rows: 1,
12697
12737
  expandText: "",
@@ -12701,7 +12741,7 @@ const defaultProps$C = {
12701
12741
  }
12702
12742
  };
12703
12743
  const Ellipsis = (p2) => {
12704
- const props = mergeProps(defaultProps$C, p2);
12744
+ const props = mergeProps(defaultProps$D, p2);
12705
12745
  const rootRef = useRef(null);
12706
12746
  const [ellipsised, setEllipsised] = useState({});
12707
12747
  const [expanded, setExpanded] = useState(false);
@@ -12726,7 +12766,6 @@ const Ellipsis = (p2) => {
12726
12766
  container.style.textOverflow = "clip";
12727
12767
  container.style.whiteSpace = "normal";
12728
12768
  container.style.webkitLineClamp = "unset";
12729
- container.style.webkitBoxOrient = "unset";
12730
12769
  container.style.display = "block";
12731
12770
  const lineHeight = pxToNumber(originStyle.lineHeight);
12732
12771
  const maxHeight = Math.floor(lineHeight * (props.rows + 0.5) + pxToNumber(originStyle.paddingTop) + pxToNumber(originStyle.paddingBottom));
@@ -12817,7 +12856,7 @@ const Ellipsis = (p2) => {
12817
12856
  };
12818
12857
  return withNativeProps(props, React$1.createElement("div", {
12819
12858
  ref: rootRef,
12820
- className: classPrefix$O,
12859
+ className: classPrefix$Q,
12821
12860
  onClick: (e2) => {
12822
12861
  if (e2.target === e2.currentTarget) {
12823
12862
  props.onContentClick(e2);
@@ -12854,7 +12893,7 @@ const EmptyIcon = (props) => {
12854
12893
  fill: "#fafafa"
12855
12894
  })))));
12856
12895
  };
12857
- const classPrefix$N = `adm-empty`;
12896
+ const classPrefix$P = `adm-empty`;
12858
12897
  const Empty = (props) => {
12859
12898
  function renderImageNode() {
12860
12899
  const {
@@ -12862,13 +12901,13 @@ const Empty = (props) => {
12862
12901
  } = props;
12863
12902
  if (image2 === void 0) {
12864
12903
  return React$1.createElement(EmptyIcon, {
12865
- className: `${classPrefix$N}-image`,
12904
+ className: `${classPrefix$P}-image`,
12866
12905
  style: props.imageStyle
12867
12906
  });
12868
12907
  }
12869
12908
  if (typeof image2 === "string") {
12870
12909
  return React$1.createElement("img", {
12871
- className: `${classPrefix$N}-image`,
12910
+ className: `${classPrefix$P}-image`,
12872
12911
  style: props.imageStyle,
12873
12912
  src: image2,
12874
12913
  alt: "empty"
@@ -12877,22 +12916,22 @@ const Empty = (props) => {
12877
12916
  return image2;
12878
12917
  }
12879
12918
  return withNativeProps(props, React$1.createElement("div", {
12880
- className: classPrefix$N
12919
+ className: classPrefix$P
12881
12920
  }, React$1.createElement("div", {
12882
- className: `${classPrefix$N}-image-container`
12921
+ className: `${classPrefix$P}-image-container`
12883
12922
  }, renderImageNode()), props.description && React$1.createElement("div", {
12884
- className: classNames(`${classPrefix$N}-description`)
12923
+ className: classNames(`${classPrefix$P}-description`)
12885
12924
  }, props.description)));
12886
12925
  };
12887
12926
  var errorBlock = "";
12888
- const classPrefix$M = `adm-error-block`;
12889
- const defaultProps$B = {
12927
+ const classPrefix$O = `adm-error-block`;
12928
+ const defaultProps$C = {
12890
12929
  status: "default"
12891
12930
  };
12892
12931
  function createErrorBlock(imageRecord2) {
12893
12932
  const ErrorBlock2 = (p2) => {
12894
12933
  var _a;
12895
- const props = mergeProps(defaultProps$B, p2);
12934
+ const props = mergeProps(defaultProps$C, p2);
12896
12935
  const {
12897
12936
  locale
12898
12937
  } = useConfig();
@@ -12905,19 +12944,19 @@ function createErrorBlock(imageRecord2) {
12905
12944
  alt: "error block image"
12906
12945
  }) : image2;
12907
12946
  return withNativeProps(props, React$1.createElement("div", {
12908
- className: classNames(classPrefix$M, {
12909
- [`${classPrefix$M}-full-page`]: props.fullPage
12947
+ className: classNames(classPrefix$O, {
12948
+ [`${classPrefix$O}-full-page`]: props.fullPage
12910
12949
  })
12911
12950
  }, React$1.createElement("div", {
12912
- className: `${classPrefix$M}-image`
12951
+ className: `${classPrefix$O}-image`
12913
12952
  }, imageNode), React$1.createElement("div", {
12914
- className: `${classPrefix$M}-description`
12953
+ className: `${classPrefix$O}-description`
12915
12954
  }, title && React$1.createElement("div", {
12916
- className: `${classPrefix$M}-description-title`
12955
+ className: `${classPrefix$O}-description-title`
12917
12956
  }, title), des && React$1.createElement("div", {
12918
- className: `${classPrefix$M}-description-subtitle`
12957
+ className: `${classPrefix$O}-description-subtitle`
12919
12958
  }, des)), props.children && React$1.createElement("div", {
12920
- className: `${classPrefix$M}-content`
12959
+ className: `${classPrefix$O}-content`
12921
12960
  }, props.children)));
12922
12961
  };
12923
12962
  return ErrorBlock2;
@@ -13424,12 +13463,12 @@ const imageRecord = {
13424
13463
  };
13425
13464
  const ErrorBlock = createErrorBlock(imageRecord);
13426
13465
  var floatingBubble = "";
13427
- const classPrefix$L = `adm-floating-bubble`;
13428
- const defaultProps$A = {
13466
+ const classPrefix$N = `adm-floating-bubble`;
13467
+ const defaultProps$B = {
13429
13468
  axis: "y"
13430
13469
  };
13431
13470
  const FloatingBubble = (p2) => {
13432
- const props = mergeProps(defaultProps$A, p2);
13471
+ const props = mergeProps(defaultProps$B, p2);
13433
13472
  const boundaryRef = useRef(null);
13434
13473
  const buttonRef = useRef(null);
13435
13474
  const [{
@@ -13488,11 +13527,11 @@ const FloatingBubble = (p2) => {
13488
13527
  from: () => [x.get(), y.get()]
13489
13528
  });
13490
13529
  return withNativeProps(props, React$1.createElement("div", {
13491
- className: classPrefix$L
13530
+ className: classPrefix$N
13492
13531
  }, React$1.createElement("div", {
13493
- className: `${classPrefix$L}-boundary-outer`
13532
+ className: `${classPrefix$N}-boundary-outer`
13494
13533
  }, React$1.createElement("div", {
13495
- className: `${classPrefix$L}-boundary`,
13534
+ className: `${classPrefix$N}-boundary`,
13496
13535
  ref: boundaryRef
13497
13536
  })), React$1.createElement(animated.div, Object.assign({}, bind(), {
13498
13537
  style: {
@@ -13500,7 +13539,7 @@ const FloatingBubble = (p2) => {
13500
13539
  transform: to([x, y], (x2, y2) => `translate(${x2}px, ${y2}px)`)
13501
13540
  },
13502
13541
  onClick: props.onClick,
13503
- className: `${classPrefix$L}-button`,
13542
+ className: `${classPrefix$N}-button`,
13504
13543
  ref: buttonRef
13505
13544
  }), props.children)));
13506
13545
  };
@@ -13510,12 +13549,12 @@ function nearest(arr, target) {
13510
13549
  return Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur;
13511
13550
  });
13512
13551
  }
13513
- const defaultProps$z = {
13552
+ const defaultProps$A = {
13514
13553
  handleDraggingOfContent: true
13515
13554
  };
13516
13555
  const FloatingPanel = forwardRef((p2, ref) => {
13517
13556
  var _a, _b;
13518
- const props = mergeProps(defaultProps$z, p2);
13557
+ const props = mergeProps(defaultProps$A, p2);
13519
13558
  const {
13520
13559
  anchors
13521
13560
  } = props;
@@ -13672,10 +13711,10 @@ const FormArray = (props) => {
13672
13711
  return React$1.createElement(React$1.Fragment, null, children);
13673
13712
  });
13674
13713
  };
13675
- const classPrefix$K = "adm-form";
13676
- const defaultProps$y = defaultFormContext;
13714
+ const classPrefix$M = "adm-form";
13715
+ const defaultProps$z = defaultFormContext;
13677
13716
  const Form$1 = forwardRef((p2, ref) => {
13678
- const props = mergeProps(defaultProps$y, p2);
13717
+ const props = mergeProps(defaultProps$z, p2);
13679
13718
  const {
13680
13719
  className,
13681
13720
  style,
@@ -13723,7 +13762,7 @@ const Form$1 = forwardRef((p2, ref) => {
13723
13762
  });
13724
13763
  collect();
13725
13764
  return React$1.createElement(RcForm, Object.assign({
13726
- className: classNames(classPrefix$K, className),
13765
+ className: classNames(classPrefix$M, className),
13727
13766
  style,
13728
13767
  ref
13729
13768
  }, formProps, {
@@ -13737,7 +13776,7 @@ const Form$1 = forwardRef((p2, ref) => {
13737
13776
  disabled
13738
13777
  }
13739
13778
  }, lists), footer && React$1.createElement("div", {
13740
- className: `${classPrefix$K}-footer`
13779
+ className: `${classPrefix$M}-footer`
13741
13780
  }, footer));
13742
13781
  });
13743
13782
  var FieldContext = {};
@@ -13972,15 +14011,15 @@ function convertPx(px) {
13972
14011
  tester.style.setProperty("--size", px.toString());
13973
14012
  return tester.getBoundingClientRect().height;
13974
14013
  }
13975
- const classPrefix$J = `adm-popover`;
13976
- const defaultProps$x = {
14014
+ const classPrefix$L = `adm-popover`;
14015
+ const defaultProps$y = {
13977
14016
  placement: "top",
13978
14017
  defaultVisible: false,
13979
14018
  stopPropagation: ["click"],
13980
14019
  getContainer: () => document.body
13981
14020
  };
13982
14021
  const Popover$1 = forwardRef((p2, ref) => {
13983
- const props = mergeProps(defaultProps$x, p2);
14022
+ const props = mergeProps(defaultProps$y, p2);
13984
14023
  const {
13985
14024
  mode = "light"
13986
14025
  } = props;
@@ -14001,17 +14040,17 @@ const Popover$1 = forwardRef((p2, ref) => {
14001
14040
  const floatingRef = useRef(null);
14002
14041
  const arrowRef = useRef(null);
14003
14042
  const floating = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
14004
- className: classNames(classPrefix$J, `${classPrefix$J}-${mode}`, !visible && `${classPrefix$J}-hidden`),
14043
+ className: classNames(classPrefix$L, `${classPrefix$L}-${mode}`, !visible && `${classPrefix$L}-hidden`),
14005
14044
  ref: floatingRef
14006
14045
  }, React$1.createElement("div", {
14007
- className: `${classPrefix$J}-arrow`,
14046
+ className: `${classPrefix$L}-arrow`,
14008
14047
  ref: arrowRef
14009
14048
  }, React$1.createElement(Arrow, {
14010
- className: `${classPrefix$J}-arrow-icon`
14049
+ className: `${classPrefix$L}-arrow-icon`
14011
14050
  })), React$1.createElement("div", {
14012
- className: `${classPrefix$J}-inner`
14051
+ className: `${classPrefix$L}-inner`
14013
14052
  }, React$1.createElement("div", {
14014
- className: `${classPrefix$J}-inner-content`
14053
+ className: `${classPrefix$L}-inner-content`
14015
14054
  }, props.content)))));
14016
14055
  const [targetElement, setTargetElement] = useState(null);
14017
14056
  function update() {
@@ -14090,7 +14129,9 @@ const Popover$1 = forwardRef((p2, ref) => {
14090
14129
  const floatingElement = floatingRef.current;
14091
14130
  if (!targetElement || !floatingElement)
14092
14131
  return;
14093
- return autoUpdate(targetElement, floatingElement, update);
14132
+ return autoUpdate(targetElement, floatingElement, update, {
14133
+ elementResize: typeof ResizeObserver !== "undefined"
14134
+ });
14094
14135
  }, [targetElement]);
14095
14136
  useClickAway(() => {
14096
14137
  if (!props.trigger)
@@ -14105,7 +14146,7 @@ const Popover$1 = forwardRef((p2, ref) => {
14105
14146
  ref: targetRef
14106
14147
  }, props.children), shouldRender && renderToContainer(props.getContainer, floating));
14107
14148
  });
14108
- const classPrefix$I = `adm-popover-menu`;
14149
+ const classPrefix$K = `adm-popover-menu`;
14109
14150
  const PopoverMenu = forwardRef((props, ref) => {
14110
14151
  const innerRef = useRef(null);
14111
14152
  useImperativeHandle(ref, () => innerRef.current, []);
@@ -14121,14 +14162,14 @@ const PopoverMenu = forwardRef((props, ref) => {
14121
14162
  }, [props.onAction]);
14122
14163
  const overlay = useMemo(() => {
14123
14164
  return React$1.createElement("div", {
14124
- className: `${classPrefix$I}-list`
14165
+ className: `${classPrefix$K}-list`
14125
14166
  }, React$1.createElement("div", {
14126
- className: `${classPrefix$I}-list-inner`
14167
+ className: `${classPrefix$K}-list-inner`
14127
14168
  }, props.actions.map((action, index2) => {
14128
14169
  var _a;
14129
14170
  return React$1.createElement("a", {
14130
14171
  key: (_a = action.key) !== null && _a !== void 0 ? _a : index2,
14131
- className: classNames(`${classPrefix$I}-item`, "adm-plain-anchor", action.disabled && `${classPrefix$I}-item-disabled`),
14172
+ className: classNames(`${classPrefix$K}-item`, "adm-plain-anchor", action.disabled && `${classPrefix$K}-item-disabled`),
14132
14173
  onClick: () => {
14133
14174
  var _a2;
14134
14175
  if (action.disabled)
@@ -14137,16 +14178,16 @@ const PopoverMenu = forwardRef((props, ref) => {
14137
14178
  (_a2 = action.onClick) === null || _a2 === void 0 ? void 0 : _a2.call(action);
14138
14179
  }
14139
14180
  }, action.icon && React$1.createElement("div", {
14140
- className: `${classPrefix$I}-item-icon`
14181
+ className: `${classPrefix$K}-item-icon`
14141
14182
  }, action.icon), React$1.createElement("div", {
14142
- className: `${classPrefix$I}-item-text`
14183
+ className: `${classPrefix$K}-item-text`
14143
14184
  }, action.text));
14144
14185
  })));
14145
14186
  }, [props.actions, onClick]);
14146
14187
  return React$1.createElement(Popover$1, Object.assign({
14147
14188
  ref: innerRef
14148
14189
  }, props, {
14149
- className: classNames(classPrefix$I, props.className),
14190
+ className: classNames(classPrefix$K, props.className),
14150
14191
  content: overlay
14151
14192
  }), props.children);
14152
14193
  });
@@ -14162,7 +14203,7 @@ function undefinedFallback(...items) {
14162
14203
  return items[i];
14163
14204
  }
14164
14205
  const NAME_SPLIT = "__SPLIT__";
14165
- const classPrefix$H = `adm-form-item`;
14206
+ const classPrefix$J = `adm-form-item`;
14166
14207
  const MemoInput = React$1.memo(({
14167
14208
  children
14168
14209
  }) => children, (prev, next) => prev.value === next.value && prev.update === next.update);
@@ -14195,39 +14236,39 @@ const FormItemLayout = (props) => {
14195
14236
  switch (requiredMarkStyle) {
14196
14237
  case "asterisk":
14197
14238
  return required && React$1.createElement("span", {
14198
- className: `${classPrefix$H}-required-asterisk`
14239
+ className: `${classPrefix$J}-required-asterisk`
14199
14240
  }, "*");
14200
14241
  case "text-required":
14201
14242
  return required && React$1.createElement("span", {
14202
- className: `${classPrefix$H}-required-text`
14243
+ className: `${classPrefix$J}-required-text`
14203
14244
  }, "(", locale.Form.required, ")");
14204
14245
  case "text-optional":
14205
14246
  return !required && React$1.createElement("span", {
14206
- className: `${classPrefix$H}-required-text`
14247
+ className: `${classPrefix$J}-required-text`
14207
14248
  }, "(", locale.Form.optional, ")");
14208
14249
  default:
14209
14250
  return null;
14210
14251
  }
14211
14252
  })();
14212
14253
  const labelElement = label ? React$1.createElement("label", {
14213
- className: `${classPrefix$H}-label`,
14254
+ className: `${classPrefix$J}-label`,
14214
14255
  htmlFor
14215
14256
  }, label, requiredMark, help && React$1.createElement(Popover, {
14216
14257
  content: help,
14217
14258
  mode: "dark",
14218
14259
  trigger: "click"
14219
14260
  }, React$1.createElement("span", {
14220
- className: `${classPrefix$H}-label-help`,
14261
+ className: `${classPrefix$J}-label-help`,
14221
14262
  onClick: (e2) => {
14222
14263
  e2.preventDefault();
14223
14264
  }
14224
14265
  }, React$1.createElement(QuestionCircleOutline, null)))) : null;
14225
14266
  const description = React$1.createElement(React$1.Fragment, null, props.description, hasFeedback && React$1.createElement(React$1.Fragment, null, props.errors.map((error, index2) => React$1.createElement("div", {
14226
14267
  key: `error-${index2}`,
14227
- className: `${classPrefix$H}-feedback-error`
14268
+ className: `${classPrefix$J}-feedback-error`
14228
14269
  }, error)), props.warnings.map((warning2, index2) => React$1.createElement("div", {
14229
14270
  key: `warning-${index2}`,
14230
- className: `${classPrefix$H}-feedback-warning`
14271
+ className: `${classPrefix$J}-feedback-warning`
14231
14272
  }, warning2))));
14232
14273
  return React$1.createElement(List.Item, {
14233
14274
  style,
@@ -14235,18 +14276,18 @@ const FormItemLayout = (props) => {
14235
14276
  prefix: layout === "horizontal" && labelElement,
14236
14277
  extra,
14237
14278
  description,
14238
- className: classNames(classPrefix$H, className, `${classPrefix$H}-${layout}`, {
14239
- [`${classPrefix$H}-hidden`]: hidden,
14240
- [`${classPrefix$H}-has-error`]: props.errors.length
14279
+ className: classNames(classPrefix$J, className, `${classPrefix$J}-${layout}`, {
14280
+ [`${classPrefix$J}-hidden`]: hidden,
14281
+ [`${classPrefix$J}-has-error`]: props.errors.length
14241
14282
  }),
14242
14283
  disabled,
14243
14284
  onClick: props.onClick,
14244
14285
  clickable: props.clickable,
14245
14286
  arrow: arrow2
14246
14287
  }, React$1.createElement("div", {
14247
- className: classNames(`${classPrefix$H}-child`, `${classPrefix$H}-child-position-${childElementPosition}`)
14288
+ className: classNames(`${classPrefix$J}-child`, `${classPrefix$J}-child-position-${childElementPosition}`)
14248
14289
  }, React$1.createElement("div", {
14249
- className: classNames(`${classPrefix$H}-child-inner`)
14290
+ className: classNames(`${classPrefix$J}-child-inner`)
14250
14291
  }, children)));
14251
14292
  };
14252
14293
  const FormItem = (props) => {
@@ -14441,7 +14482,7 @@ var Form = attachPropertiesToComponent(Form$1, {
14441
14482
  useWatch
14442
14483
  });
14443
14484
  var grid = "";
14444
- const classPrefix$G = `adm-grid`;
14485
+ const classPrefix$I = `adm-grid`;
14445
14486
  const Grid$1 = (props) => {
14446
14487
  const style = {
14447
14488
  "--columns": props.columns.toString()
@@ -14458,7 +14499,7 @@ const Grid$1 = (props) => {
14458
14499
  }
14459
14500
  }
14460
14501
  return withNativeProps(props, React$1.createElement("div", {
14461
- className: classPrefix$G,
14502
+ className: classPrefix$I,
14462
14503
  style
14463
14504
  }, props.children));
14464
14505
  };
@@ -14470,7 +14511,7 @@ const GridItem = (p2) => {
14470
14511
  "--item-span": props.span
14471
14512
  };
14472
14513
  return withNativeProps(props, React$1.createElement("div", {
14473
- className: `${classPrefix$G}-item`,
14514
+ className: `${classPrefix$I}-item`,
14474
14515
  style: itemStyle,
14475
14516
  onClick: props.onClick
14476
14517
  }, props.children));
@@ -14480,7 +14521,7 @@ var Grid = attachPropertiesToComponent(Grid$1, {
14480
14521
  });
14481
14522
  var imageViewer = "";
14482
14523
  const useDragAndPinch = createUseGesture([dragAction, pinchAction]);
14483
- const classPrefix$F = `adm-image-viewer`;
14524
+ const classPrefix$H = `adm-image-viewer`;
14484
14525
  const Slide = (props) => {
14485
14526
  const {
14486
14527
  dragLockRef
@@ -14595,17 +14636,17 @@ const Slide = (props) => {
14595
14636
  }
14596
14637
  });
14597
14638
  return React$1.createElement("div", {
14598
- className: `${classPrefix$F}-slide`,
14639
+ className: `${classPrefix$H}-slide`,
14599
14640
  onPointerMove: (e2) => {
14600
14641
  if (zoom.get() !== 1) {
14601
14642
  e2.stopPropagation();
14602
14643
  }
14603
14644
  }
14604
14645
  }, React$1.createElement("div", {
14605
- className: `${classPrefix$F}-control`,
14646
+ className: `${classPrefix$H}-control`,
14606
14647
  ref: controlRef
14607
14648
  }, React$1.createElement(animated.div, {
14608
- className: `${classPrefix$F}-image-wrapper`,
14649
+ className: `${classPrefix$H}-image-wrapper`,
14609
14650
  style: {
14610
14651
  translateX: x,
14611
14652
  translateY: y,
@@ -14618,7 +14659,7 @@ const Slide = (props) => {
14618
14659
  alt: props.image
14619
14660
  }))));
14620
14661
  };
14621
- const classPrefix$E = `adm-image-viewer`;
14662
+ const classPrefix$G = `adm-image-viewer`;
14622
14663
  const Slides = forwardRef((props, ref) => {
14623
14664
  const slideWidth = window.innerWidth + convertPx(16);
14624
14665
  const [{
@@ -14675,14 +14716,14 @@ const Slides = forwardRef((props, ref) => {
14675
14716
  }
14676
14717
  });
14677
14718
  return React$1.createElement("div", Object.assign({
14678
- className: `${classPrefix$E}-slides`
14719
+ className: `${classPrefix$G}-slides`
14679
14720
  }, bind()), React$1.createElement(animated.div, {
14680
- className: `${classPrefix$E}-indicator`
14721
+ className: `${classPrefix$G}-indicator`
14681
14722
  }, x.to((v) => {
14682
14723
  const index2 = bound(Math.round(v / slideWidth), 0, count - 1);
14683
14724
  return `${index2 + 1} / ${count}`;
14684
14725
  })), React$1.createElement(animated.div, {
14685
- className: `${classPrefix$E}-slides-inner`,
14726
+ className: `${classPrefix$G}-slides-inner`,
14686
14727
  style: {
14687
14728
  x: x.to((x2) => -x2)
14688
14729
  }
@@ -14702,22 +14743,22 @@ const Slides = forwardRef((props, ref) => {
14702
14743
  dragLockRef
14703
14744
  }))));
14704
14745
  });
14705
- const classPrefix$D = `adm-image-viewer`;
14706
- const defaultProps$w = {
14746
+ const classPrefix$F = `adm-image-viewer`;
14747
+ const defaultProps$x = {
14707
14748
  maxZoom: 3,
14708
14749
  getContainer: null,
14709
14750
  visible: false
14710
14751
  };
14711
14752
  const ImageViewer$1 = (p2) => {
14712
14753
  var _a;
14713
- const props = mergeProps(defaultProps$w, p2);
14754
+ const props = mergeProps(defaultProps$x, p2);
14714
14755
  const node = React$1.createElement(Mask, {
14715
14756
  visible: props.visible,
14716
14757
  disableBodyScroll: false,
14717
14758
  opacity: "thick",
14718
14759
  afterClose: props.afterClose
14719
14760
  }, React$1.createElement("div", {
14720
- className: `${classPrefix$D}-content`
14761
+ className: `${classPrefix$F}-content`
14721
14762
  }, props.image && React$1.createElement(Slide, {
14722
14763
  image: props.image,
14723
14764
  onTap: () => {
@@ -14726,13 +14767,13 @@ const ImageViewer$1 = (p2) => {
14726
14767
  },
14727
14768
  maxZoom: props.maxZoom
14728
14769
  })), props.image && React$1.createElement("div", {
14729
- className: `${classPrefix$D}-footer`
14770
+ className: `${classPrefix$F}-footer`
14730
14771
  }, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.image), React$1.createElement(SafeArea, {
14731
14772
  position: "bottom"
14732
14773
  })));
14733
14774
  return renderToContainer(props.getContainer, node);
14734
14775
  };
14735
- const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$w), {
14776
+ const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$x), {
14736
14777
  defaultIndex: 0
14737
14778
  });
14738
14779
  const MultiImageViewer = forwardRef((p2, ref) => {
@@ -14758,7 +14799,7 @@ const MultiImageViewer = forwardRef((p2, ref) => {
14758
14799
  opacity: "thick",
14759
14800
  afterClose: props.afterClose
14760
14801
  }, React$1.createElement("div", {
14761
- className: `${classPrefix$D}-content`
14802
+ className: `${classPrefix$F}-content`
14762
14803
  }, props.images && React$1.createElement(Slides, {
14763
14804
  ref: slidesRef,
14764
14805
  defaultIndex: index2,
@@ -14770,7 +14811,7 @@ const MultiImageViewer = forwardRef((p2, ref) => {
14770
14811
  },
14771
14812
  maxZoom: props.maxZoom
14772
14813
  })), props.images && React$1.createElement("div", {
14773
- className: `${classPrefix$D}-footer`
14814
+ className: `${classPrefix$F}-footer`
14774
14815
  }, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.images[index2], index2), React$1.createElement(SafeArea, {
14775
14816
  position: "bottom"
14776
14817
  })));
@@ -14898,19 +14939,19 @@ function useMotionReduced() {
14898
14939
  };
14899
14940
  }, isMotionReduced);
14900
14941
  }
14901
- const classPrefix$C = "adm-spin-loading";
14942
+ const classPrefix$E = "adm-spin-loading";
14902
14943
  const colorRecord$2 = {
14903
14944
  default: "var(--adm-color-weak)",
14904
14945
  primary: "var(--adm-color-primary)",
14905
14946
  white: "var(--adm-color-white)"
14906
14947
  };
14907
- const defaultProps$v = {
14948
+ const defaultProps$w = {
14908
14949
  color: "default"
14909
14950
  };
14910
14951
  const circumference = 15 * 3.14159265358979 * 2;
14911
14952
  const SpinLoading = memo((p2) => {
14912
14953
  var _a;
14913
- const props = mergeProps(defaultProps$v, p2);
14954
+ const props = mergeProps(defaultProps$w, p2);
14914
14955
  const motionReduced = useMotionReduced();
14915
14956
  const {
14916
14957
  percent
@@ -14930,16 +14971,16 @@ const SpinLoading = memo((p2) => {
14930
14971
  }
14931
14972
  });
14932
14973
  return withNativeProps(props, React$1.createElement(animated.div, {
14933
- className: classPrefix$C,
14974
+ className: classPrefix$E,
14934
14975
  style: {
14935
14976
  "--color": (_a = colorRecord$2[props.color]) !== null && _a !== void 0 ? _a : props.color,
14936
14977
  "--percent": percent
14937
14978
  }
14938
14979
  }, React$1.createElement("svg", {
14939
- className: `${classPrefix$C}-svg`,
14980
+ className: `${classPrefix$E}-svg`,
14940
14981
  viewBox: "0 0 32 32"
14941
14982
  }, React$1.createElement(animated.circle, {
14942
- className: `${classPrefix$C}-fill`,
14983
+ className: `${classPrefix$E}-fill`,
14943
14984
  fill: "transparent",
14944
14985
  strokeWidth: "2",
14945
14986
  strokeDasharray: circumference,
@@ -14950,7 +14991,7 @@ const SpinLoading = memo((p2) => {
14950
14991
  cy: 16
14951
14992
  }))));
14952
14993
  });
14953
- const classPrefix$B = `adm-image-uploader`;
14994
+ const classPrefix$D = `adm-image-uploader`;
14954
14995
  const PreviewItem = (props) => {
14955
14996
  const {
14956
14997
  locale
@@ -14973,60 +15014,60 @@ const PreviewItem = (props) => {
14973
15014
  }, [url, file]);
14974
15015
  function renderLoading() {
14975
15016
  return props.status === "pending" && React$1.createElement("div", {
14976
- className: `${classPrefix$B}-cell-mask`
15017
+ className: `${classPrefix$D}-cell-mask`
14977
15018
  }, React$1.createElement("span", {
14978
- className: `${classPrefix$B}-cell-loading`
15019
+ className: `${classPrefix$D}-cell-loading`
14979
15020
  }, React$1.createElement(SpinLoading, {
14980
15021
  color: "white"
14981
15022
  }), React$1.createElement("span", {
14982
- className: `${classPrefix$B}-cell-mask-message`
15023
+ className: `${classPrefix$D}-cell-mask-message`
14983
15024
  }, locale.ImageUploader.uploading)));
14984
15025
  }
14985
15026
  function renderDelete() {
14986
15027
  return deletable && React$1.createElement("span", {
14987
- className: `${classPrefix$B}-cell-delete`,
15028
+ className: `${classPrefix$D}-cell-delete`,
14988
15029
  onClick: onDelete
14989
15030
  }, React$1.createElement(CloseOutline, {
14990
- className: `${classPrefix$B}-cell-delete-icon`
15031
+ className: `${classPrefix$D}-cell-delete-icon`
14991
15032
  }));
14992
15033
  }
14993
15034
  return React$1.createElement("div", {
14994
- className: classNames(`${classPrefix$B}-cell`, props.status === "fail" && `${classPrefix$B}-cell-fail`)
15035
+ className: classNames(`${classPrefix$D}-cell`, props.status === "fail" && `${classPrefix$D}-cell-fail`)
14995
15036
  }, React$1.createElement(Image$1, {
14996
- className: `${classPrefix$B}-cell-image`,
15037
+ className: `${classPrefix$D}-cell-image`,
14997
15038
  src,
14998
15039
  fit: imageFit,
14999
15040
  onClick: props.onClick
15000
15041
  }), renderLoading(), renderDelete());
15001
15042
  };
15002
15043
  var space = "";
15003
- const classPrefix$A = `adm-space`;
15004
- const defaultProps$u = {
15044
+ const classPrefix$C = `adm-space`;
15045
+ const defaultProps$v = {
15005
15046
  direction: "horizontal"
15006
15047
  };
15007
15048
  const Space = (p2) => {
15008
- const props = mergeProps(defaultProps$u, p2);
15049
+ const props = mergeProps(defaultProps$v, p2);
15009
15050
  const {
15010
15051
  direction,
15011
15052
  onClick
15012
15053
  } = props;
15013
15054
  return withNativeProps(props, React$1.createElement("div", {
15014
- className: classNames(classPrefix$A, {
15015
- [`${classPrefix$A}-wrap`]: props.wrap,
15016
- [`${classPrefix$A}-block`]: props.block,
15017
- [`${classPrefix$A}-${direction}`]: true,
15018
- [`${classPrefix$A}-align-${props.align}`]: !!props.align,
15019
- [`${classPrefix$A}-justify-${props.justify}`]: !!props.justify
15055
+ className: classNames(classPrefix$C, {
15056
+ [`${classPrefix$C}-wrap`]: props.wrap,
15057
+ [`${classPrefix$C}-block`]: props.block,
15058
+ [`${classPrefix$C}-${direction}`]: true,
15059
+ [`${classPrefix$C}-align-${props.align}`]: !!props.align,
15060
+ [`${classPrefix$C}-justify-${props.justify}`]: !!props.justify
15020
15061
  }),
15021
15062
  onClick
15022
15063
  }, React$1.Children.map(props.children, (child) => {
15023
15064
  return child !== null && child !== void 0 && React$1.createElement("div", {
15024
- className: `${classPrefix$A}-item`
15065
+ className: `${classPrefix$C}-item`
15025
15066
  }, child);
15026
15067
  })));
15027
15068
  };
15028
- const classPrefix$z = `adm-image-uploader`;
15029
- const defaultProps$t = {
15069
+ const classPrefix$B = `adm-image-uploader`;
15070
+ const defaultProps$u = {
15030
15071
  disableUpload: false,
15031
15072
  deletable: true,
15032
15073
  showUpload: true,
@@ -15042,7 +15083,7 @@ const ImageUploader = (p2) => {
15042
15083
  const {
15043
15084
  locale
15044
15085
  } = useConfig();
15045
- const props = mergeProps(defaultProps$t, p2);
15086
+ const props = mergeProps(defaultProps$u, p2);
15046
15087
  const [value, setValue] = usePropsValue(props);
15047
15088
  const [tasks, setTasks] = useState([]);
15048
15089
  useIsomorphicLayoutEffect(() => {
@@ -15151,9 +15192,9 @@ const ImageUploader = (p2) => {
15151
15192
  });
15152
15193
  const showUpload = props.showUpload && (maxCount === 0 || value.length + tasks.length < maxCount);
15153
15194
  return withNativeProps(props, React$1.createElement("div", {
15154
- className: classPrefix$z
15195
+ className: classPrefix$B
15155
15196
  }, React$1.createElement(Space, {
15156
- className: `${classPrefix$z}-space`,
15197
+ className: `${classPrefix$B}-space`,
15157
15198
  wrap: true,
15158
15199
  block: true
15159
15200
  }, value.map((fileItem, index2) => {
@@ -15192,19 +15233,19 @@ const ImageUploader = (p2) => {
15192
15233
  }
15193
15234
  });
15194
15235
  }), showUpload && React$1.createElement("div", {
15195
- className: `${classPrefix$z}-upload-button-wrap`
15236
+ className: `${classPrefix$B}-upload-button-wrap`
15196
15237
  }, props.children ? props.children : React$1.createElement("span", {
15197
- className: `${classPrefix$z}-cell ${classPrefix$z}-upload-button`,
15238
+ className: `${classPrefix$B}-cell ${classPrefix$B}-upload-button`,
15198
15239
  role: "button",
15199
15240
  "aria-label": locale.ImageUploader.upload
15200
15241
  }, React$1.createElement("span", {
15201
- className: `${classPrefix$z}-upload-button-icon`
15242
+ className: `${classPrefix$B}-upload-button-icon`
15202
15243
  }, React$1.createElement(AddOutline, null))), !props.disableUpload && React$1.createElement("input", {
15203
15244
  capture: props.capture,
15204
15245
  accept: props.accept,
15205
15246
  multiple: props.multiple,
15206
15247
  type: "file",
15207
- className: `${classPrefix$z}-input`,
15248
+ className: `${classPrefix$B}-input`,
15208
15249
  onChange,
15209
15250
  "aria-hidden": true
15210
15251
  })))));
@@ -15212,12 +15253,12 @@ const ImageUploader = (p2) => {
15212
15253
  var imageUploader = "";
15213
15254
  var indexBar = "";
15214
15255
  const Panel = () => null;
15215
- const classPrefix$y = `adm-index-bar`;
15256
+ const classPrefix$A = `adm-index-bar`;
15216
15257
  const Sidebar = (props) => {
15217
15258
  const [interacting, setInteracting] = useState(false);
15218
15259
  return React$1.createElement("div", {
15219
- className: classNames(`${classPrefix$y}-sidebar`, {
15220
- [`${classPrefix$y}-sidebar-interacting`]: interacting
15260
+ className: classNames(`${classPrefix$A}-sidebar`, {
15261
+ [`${classPrefix$A}-sidebar-interacting`]: interacting
15221
15262
  }),
15222
15263
  onMouseDown: () => {
15223
15264
  setInteracting(true);
@@ -15252,7 +15293,7 @@ const Sidebar = (props) => {
15252
15293
  }) => {
15253
15294
  const active = index2 === props.activeIndex;
15254
15295
  return React$1.createElement("div", {
15255
- className: `${classPrefix$y}-sidebar-row`,
15296
+ className: `${classPrefix$A}-sidebar-row`,
15256
15297
  onMouseDown: () => {
15257
15298
  props.onActive(index2);
15258
15299
  },
@@ -15267,21 +15308,21 @@ const Sidebar = (props) => {
15267
15308
  "data-index": index2,
15268
15309
  key: index2
15269
15310
  }, interacting && active && React$1.createElement("div", {
15270
- className: `${classPrefix$y}-sidebar-bubble`
15311
+ className: `${classPrefix$A}-sidebar-bubble`
15271
15312
  }, brief), React$1.createElement("div", {
15272
- className: classNames(`${classPrefix$y}-sidebar-item`, {
15273
- [`${classPrefix$y}-sidebar-item-active`]: active
15313
+ className: classNames(`${classPrefix$A}-sidebar-item`, {
15314
+ [`${classPrefix$A}-sidebar-item-active`]: active
15274
15315
  }),
15275
15316
  "data-index": index2
15276
15317
  }, React$1.createElement("div", null, brief)));
15277
15318
  }));
15278
15319
  };
15279
- const classPrefix$x = `adm-index-bar`;
15280
- const defaultProps$s = {
15320
+ const classPrefix$z = `adm-index-bar`;
15321
+ const defaultProps$t = {
15281
15322
  sticky: true
15282
15323
  };
15283
15324
  const IndexBar = forwardRef((p2, ref) => {
15284
- const props = mergeProps(defaultProps$s, p2);
15325
+ const props = mergeProps(defaultProps$t, p2);
15285
15326
  const titleHeight = convertPx(35);
15286
15327
  const bodyRef = useRef(null);
15287
15328
  const indexItems = [];
@@ -15300,9 +15341,9 @@ const IndexBar = forwardRef((p2, ref) => {
15300
15341
  panels.push(withNativeProps(child.props, React$1.createElement("div", {
15301
15342
  key: child.props.index,
15302
15343
  "data-index": child.props.index,
15303
- className: `${classPrefix$x}-anchor`
15344
+ className: `${classPrefix$z}-anchor`
15304
15345
  }, React$1.createElement("div", {
15305
- className: `${classPrefix$x}-anchor-title`
15346
+ className: `${classPrefix$z}-anchor-title`
15306
15347
  }, child.props.title || child.props.index), child.props.children)));
15307
15348
  });
15308
15349
  const [activeIndex, setActiveIndex] = useState(() => {
@@ -15339,7 +15380,7 @@ const IndexBar = forwardRef((p2, ref) => {
15339
15380
  if (!body)
15340
15381
  return;
15341
15382
  const scrollTop = body.scrollTop;
15342
- const elements = body.getElementsByClassName(`${classPrefix$x}-anchor`);
15383
+ const elements = body.getElementsByClassName(`${classPrefix$z}-anchor`);
15343
15384
  for (let i = 0; i < elements.length; i++) {
15344
15385
  const panel = elements.item(i);
15345
15386
  if (!panel)
@@ -15359,8 +15400,8 @@ const IndexBar = forwardRef((p2, ref) => {
15359
15400
  leading: true
15360
15401
  });
15361
15402
  return withNativeProps(props, React$1.createElement("div", {
15362
- className: classNames(`${classPrefix$x}`, {
15363
- [`${classPrefix$x}-sticky`]: props.sticky
15403
+ className: classNames(`${classPrefix$z}`, {
15404
+ [`${classPrefix$z}-sticky`]: props.sticky
15364
15405
  })
15365
15406
  }, React$1.createElement(Sidebar, {
15366
15407
  indexItems,
@@ -15369,7 +15410,7 @@ const IndexBar = forwardRef((p2, ref) => {
15369
15410
  scrollTo(index2);
15370
15411
  }
15371
15412
  }), React$1.createElement("div", {
15372
- className: `${classPrefix$x}-body`,
15413
+ className: `${classPrefix$z}-body`,
15373
15414
  ref: bodyRef,
15374
15415
  onScroll: checkActiveIndex
15375
15416
  }, panels)));
@@ -15381,20 +15422,26 @@ var infiniteScroll = "";
15381
15422
  function isWindow(element) {
15382
15423
  return element === window;
15383
15424
  }
15384
- const classPrefix$w = `adm-infinite-scroll`;
15385
- const InfiniteScrollContent = ({
15386
- hasMore
15387
- }) => {
15388
- const {
15389
- locale
15390
- } = useConfig();
15391
- return React$1.createElement(React$1.Fragment, null, hasMore ? React$1.createElement(React$1.Fragment, null, React$1.createElement("span", null, locale.common.loading), React$1.createElement(DotLoading, null)) : React$1.createElement("span", null, locale.InfiniteScroll.noMore));
15425
+ const classPrefix$y = `adm-infinite-scroll`;
15426
+ const defaultProps$s = {
15427
+ threshold: 250,
15428
+ children: (hasMore, failed, retry) => React$1.createElement(InfiniteScrollContent, {
15429
+ hasMore,
15430
+ failed,
15431
+ retry
15432
+ })
15392
15433
  };
15393
15434
  const InfiniteScroll = (p2) => {
15394
- const props = mergeProps({
15395
- threshold: 250
15396
- }, p2);
15397
- const doLoadMore = useLockFn(() => props.loadMore());
15435
+ const props = mergeProps(defaultProps$s, p2);
15436
+ const [failed, setFailed] = useState(false);
15437
+ const doLoadMore = useLockFn((isRetry) => __awaiter(void 0, void 0, void 0, function* () {
15438
+ try {
15439
+ yield props.loadMore(isRetry);
15440
+ } catch (e2) {
15441
+ setFailed(true);
15442
+ throw e2;
15443
+ }
15444
+ }));
15398
15445
  const elementRef = useRef(null);
15399
15446
  const [flag, setFlag] = useState({});
15400
15447
  const nextFlagRef = useRef(flag);
@@ -15419,7 +15466,7 @@ const InfiniteScroll = (p2) => {
15419
15466
  if (current >= elementTop - props.threshold) {
15420
15467
  const nextFlag = {};
15421
15468
  nextFlagRef.current = nextFlag;
15422
- yield doLoadMore();
15469
+ yield doLoadMore(false);
15423
15470
  setFlag(nextFlag);
15424
15471
  }
15425
15472
  }));
@@ -15440,15 +15487,35 @@ const InfiniteScroll = (p2) => {
15440
15487
  scrollParent.removeEventListener("scroll", onScroll);
15441
15488
  };
15442
15489
  }, [scrollParent]);
15490
+ function retry() {
15491
+ setFailed(false);
15492
+ doLoadMore(true);
15493
+ }
15443
15494
  return withNativeProps(props, React$1.createElement("div", {
15444
- className: classPrefix$w,
15495
+ className: classPrefix$y,
15445
15496
  ref: elementRef
15446
- }, props.children && props.children, !props.children && React$1.createElement(InfiniteScrollContent, {
15447
- hasMore: props.hasMore
15448
- })));
15497
+ }, typeof props.children === "function" ? props.children(props.hasMore, failed, retry) : props.children));
15498
+ };
15499
+ const InfiniteScrollContent = (props) => {
15500
+ const {
15501
+ locale
15502
+ } = useConfig();
15503
+ if (!props.hasMore) {
15504
+ return React$1.createElement("span", null, locale.InfiniteScroll.noMore);
15505
+ }
15506
+ if (props.failed) {
15507
+ return React$1.createElement("span", null, React$1.createElement("span", {
15508
+ className: `${classPrefix$y}-failed-text`
15509
+ }, locale.InfiniteScroll.failedToLoad), React$1.createElement("a", {
15510
+ onClick: () => {
15511
+ props.retry();
15512
+ }
15513
+ }, locale.InfiniteScroll.retry));
15514
+ }
15515
+ return React$1.createElement(React$1.Fragment, null, React$1.createElement("span", null, locale.common.loading), React$1.createElement(DotLoading, null));
15449
15516
  };
15450
15517
  var input = "";
15451
- const classPrefix$v = `adm-input`;
15518
+ const classPrefix$x = `adm-input`;
15452
15519
  const defaultProps$r = {
15453
15520
  defaultValue: "",
15454
15521
  onlyShowClearWhenFocus: true
@@ -15511,10 +15578,10 @@ const Input = forwardRef((p2, ref) => {
15511
15578
  }
15512
15579
  })();
15513
15580
  return withNativeProps(props, React$1.createElement("div", {
15514
- className: classNames(`${classPrefix$v}`, props.disabled && `${classPrefix$v}-disabled`)
15581
+ className: classNames(`${classPrefix$x}`, props.disabled && `${classPrefix$x}-disabled`)
15515
15582
  }, React$1.createElement("input", {
15516
15583
  ref: nativeInputRef,
15517
- className: `${classPrefix$v}-element`,
15584
+ className: `${classPrefix$x}-element`,
15518
15585
  value,
15519
15586
  onChange: (e2) => {
15520
15587
  setValue(e2.target.value);
@@ -15560,7 +15627,7 @@ const Input = forwardRef((p2, ref) => {
15560
15627
  },
15561
15628
  onClick: props.onClick
15562
15629
  }), shouldShowClear && React$1.createElement("div", {
15563
- className: `${classPrefix$v}-clear`,
15630
+ className: `${classPrefix$x}-clear`,
15564
15631
  onMouseDown: (e2) => {
15565
15632
  e2.preventDefault();
15566
15633
  },
@@ -15576,7 +15643,7 @@ const Input = forwardRef((p2, ref) => {
15576
15643
  }, React$1.createElement(CloseCircleFill, null))));
15577
15644
  });
15578
15645
  var jumboTabs = "";
15579
- const classPrefix$u = `adm-jumbo-tabs`;
15646
+ const classPrefix$w = `adm-jumbo-tabs`;
15580
15647
  const JumboTab = () => {
15581
15648
  return null;
15582
15649
  };
@@ -15617,19 +15684,19 @@ const JumboTabs = (props) => {
15617
15684
  animate(true);
15618
15685
  }, rootRef);
15619
15686
  return withNativeProps(props, React$1.createElement("div", {
15620
- className: classPrefix$u,
15687
+ className: classPrefix$w,
15621
15688
  ref: rootRef
15622
15689
  }, React$1.createElement("div", {
15623
- className: `${classPrefix$u}-header`
15690
+ className: `${classPrefix$w}-header`
15624
15691
  }, React$1.createElement(ScrollMask, {
15625
15692
  scrollTrackRef: tabListContainerRef
15626
15693
  }), React$1.createElement(animated.div, {
15627
- className: `${classPrefix$u}-tab-list`,
15694
+ className: `${classPrefix$w}-tab-list`,
15628
15695
  ref: tabListContainerRef,
15629
15696
  scrollLeft
15630
15697
  }, panes.map((pane) => withNativeProps(pane.props, React$1.createElement("div", {
15631
15698
  key: pane.key,
15632
- className: `${classPrefix$u}-tab-wrapper`
15699
+ className: `${classPrefix$w}-tab-wrapper`
15633
15700
  }, React$1.createElement("div", {
15634
15701
  onClick: () => {
15635
15702
  const {
@@ -15642,14 +15709,14 @@ const JumboTabs = (props) => {
15642
15709
  }
15643
15710
  setActiveKey(key.toString());
15644
15711
  },
15645
- className: classNames(`${classPrefix$u}-tab`, {
15646
- [`${classPrefix$u}-tab-active`]: pane.key === activeKey,
15647
- [`${classPrefix$u}-tab-disabled`]: pane.props.disabled
15712
+ className: classNames(`${classPrefix$w}-tab`, {
15713
+ [`${classPrefix$w}-tab-active`]: pane.key === activeKey,
15714
+ [`${classPrefix$w}-tab-disabled`]: pane.props.disabled
15648
15715
  })
15649
15716
  }, React$1.createElement("div", {
15650
- className: `${classPrefix$u}-tab-title`
15717
+ className: `${classPrefix$w}-tab-title`
15651
15718
  }, pane.props.title), React$1.createElement("div", {
15652
- className: `${classPrefix$u}-tab-description`
15719
+ className: `${classPrefix$w}-tab-description`
15653
15720
  }, pane.props.description))))))), panes.map((pane) => {
15654
15721
  if (pane.props.children === void 0) {
15655
15722
  return null;
@@ -15661,7 +15728,7 @@ const JumboTabs = (props) => {
15661
15728
  forceRender: pane.props.forceRender,
15662
15729
  destroyOnClose: pane.props.destroyOnClose
15663
15730
  }, React$1.createElement("div", {
15664
- className: `${classPrefix$u}-content`,
15731
+ className: `${classPrefix$w}-content`,
15665
15732
  style: {
15666
15733
  display: active ? "block" : "none"
15667
15734
  }
@@ -15691,52 +15758,13 @@ const ModalActionButton = (props) => {
15691
15758
  }, action.text));
15692
15759
  };
15693
15760
  const defaultProps$q = {
15694
- visible: false,
15695
15761
  actions: [],
15696
15762
  closeOnAction: false,
15697
- closeOnMaskClick: false,
15698
- stopPropagation: ["click"],
15699
- showCloseButton: false,
15700
- getContainer: null,
15701
- disableBodyScroll: true,
15702
- destroyOnClose: false,
15703
- forceRender: false
15763
+ closeOnMaskClick: false
15704
15764
  };
15705
15765
  const Modal = (p2) => {
15706
15766
  const props = mergeProps(defaultProps$q, p2);
15707
- const unmountedRef = useUnmountedRef();
15708
- const style = useSpring({
15709
- scale: props.visible ? 1 : 0.8,
15710
- opacity: props.visible ? 1 : 0,
15711
- config: {
15712
- mass: 1.2,
15713
- tension: 200,
15714
- friction: 25,
15715
- clamp: true
15716
- },
15717
- onRest: () => {
15718
- var _a, _b;
15719
- if (unmountedRef.current)
15720
- return;
15721
- setActive(props.visible);
15722
- if (props.visible) {
15723
- (_a = props.afterShow) === null || _a === void 0 ? void 0 : _a.call(props);
15724
- } else {
15725
- (_b = props.afterClose) === null || _b === void 0 ? void 0 : _b.call(props);
15726
- }
15727
- }
15728
- });
15729
- const [active, setActive] = useState(props.visible);
15730
- useIsomorphicLayoutEffect(() => {
15731
- if (props.visible) {
15732
- setActive(true);
15733
- }
15734
- }, [props.visible]);
15735
- const maskVisible = useInnerVisible(active && props.visible);
15736
- const body = React$1.createElement("div", {
15737
- className: classNames(cls("body"), props.image && cls("with-image"), props.bodyClassName),
15738
- style: props.bodyStyle
15739
- }, props.showCloseButton && React$1.createElement("a", {
15767
+ const element = React$1.createElement(React$1.Fragment, null, props.showCloseButton && React$1.createElement("a", {
15740
15768
  className: classNames(cls("close"), "adm-plain-anchor"),
15741
15769
  onClick: props.onClose
15742
15770
  }, React$1.createElement(CloseOutline, null)), !!props.image && React$1.createElement("div", {
@@ -15768,30 +15796,26 @@ const Modal = (p2) => {
15768
15796
  })
15769
15797
  });
15770
15798
  })));
15771
- const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
15772
- className: cls(),
15773
- style: {
15774
- display: active ? void 0 : "none",
15775
- pointerEvents: active ? void 0 : "none"
15776
- }
15777
- }, React$1.createElement(Mask, {
15778
- visible: maskVisible,
15779
- forceRender: props.forceRender,
15799
+ return React$1.createElement(CenterPopup, {
15800
+ className: classNames(cls(), props.className),
15801
+ style: props.style,
15802
+ afterClose: props.afterClose,
15803
+ afterShow: props.afterShow,
15804
+ onMaskClick: props.closeOnMaskClick ? () => {
15805
+ var _a;
15806
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
15807
+ } : void 0,
15808
+ visible: props.visible,
15809
+ getContainer: props.getContainer,
15810
+ bodyStyle: props.bodyStyle,
15811
+ bodyClassName: classNames(cls("body"), props.image && cls("with-image"), props.bodyClassName),
15812
+ maskStyle: props.maskStyle,
15813
+ maskClassName: props.maskClassName,
15814
+ stopPropagation: props.stopPropagation,
15815
+ disableBodyScroll: props.disableBodyScroll,
15780
15816
  destroyOnClose: props.destroyOnClose,
15781
- onMaskClick: props.closeOnMaskClick ? props.onClose : void 0,
15782
- style: props.maskStyle,
15783
- className: classNames(cls("mask"), props.maskClassName),
15784
- disableBodyScroll: props.disableBodyScroll
15785
- }), React$1.createElement("div", {
15786
- className: cls("wrap")
15787
- }, React$1.createElement(animated.div, {
15788
- style
15789
- }, body)))));
15790
- return React$1.createElement(ShouldRender, {
15791
- active,
15792
- forceRender: props.forceRender,
15793
- destroyOnClose: props.destroyOnClose
15794
- }, renderToContainer(props.getContainer, node));
15817
+ forceRender: props.forceRender
15818
+ }, element);
15795
15819
  };
15796
15820
  function cls(name = "") {
15797
15821
  return "adm-modal" + (name && "-") + name;
@@ -15883,7 +15907,7 @@ var index$6 = attachPropertiesToComponent(Modal, {
15883
15907
  clear: clear$1
15884
15908
  });
15885
15909
  var navBar = "";
15886
- const classPrefix$t = `adm-nav-bar`;
15910
+ const classPrefix$v = `adm-nav-bar`;
15887
15911
  const defaultProps$o = {
15888
15912
  back: "",
15889
15913
  backArrow: true
@@ -15895,25 +15919,25 @@ const NavBar = (p2) => {
15895
15919
  backArrow
15896
15920
  } = props;
15897
15921
  return withNativeProps(props, React$1.createElement("div", {
15898
- className: classNames(classPrefix$t)
15922
+ className: classNames(classPrefix$v)
15899
15923
  }, React$1.createElement("div", {
15900
- className: `${classPrefix$t}-left`,
15924
+ className: `${classPrefix$v}-left`,
15901
15925
  role: "button"
15902
15926
  }, back !== null && React$1.createElement("div", {
15903
- className: `${classPrefix$t}-back`,
15927
+ className: `${classPrefix$v}-back`,
15904
15928
  onClick: props.onBack
15905
15929
  }, backArrow && React$1.createElement("span", {
15906
- className: `${classPrefix$t}-back-arrow`
15930
+ className: `${classPrefix$v}-back-arrow`
15907
15931
  }, backArrow === true ? React$1.createElement(LeftOutline, null) : backArrow), React$1.createElement("span", {
15908
15932
  "aria-hidden": "true"
15909
15933
  }, back)), props.left), React$1.createElement("div", {
15910
- className: `${classPrefix$t}-title`
15934
+ className: `${classPrefix$v}-title`
15911
15935
  }, props.children), React$1.createElement("div", {
15912
- className: `${classPrefix$t}-right`
15936
+ className: `${classPrefix$v}-right`
15913
15937
  }, props.right)));
15914
15938
  };
15915
15939
  var noticeBar = "";
15916
- const classPrefix$s = `adm-notice-bar`;
15940
+ const classPrefix$u = `adm-notice-bar`;
15917
15941
  const defaultProps$n = {
15918
15942
  color: "default",
15919
15943
  delay: 2e3,
@@ -15972,23 +15996,23 @@ const NoticeBar = memo((p2) => {
15972
15996
  if (!visible)
15973
15997
  return null;
15974
15998
  return withNativeProps(props, React$1.createElement("div", {
15975
- className: classNames(classPrefix$s, `${classPrefix$s}-${props.color}`)
15999
+ className: classNames(classPrefix$u, `${classPrefix$u}-${props.color}`)
15976
16000
  }, props.icon && React$1.createElement("span", {
15977
- className: `${classPrefix$s}-left`
16001
+ className: `${classPrefix$u}-left`
15978
16002
  }, props.icon), React$1.createElement("span", {
15979
16003
  ref: containerRef,
15980
- className: `${classPrefix$s}-content`
16004
+ className: `${classPrefix$u}-content`
15981
16005
  }, React$1.createElement("span", {
15982
16006
  onTransitionEnd: () => {
15983
16007
  animatingRef.current = false;
15984
16008
  start();
15985
16009
  },
15986
16010
  ref: textRef,
15987
- className: `${classPrefix$s}-content-inner`
16011
+ className: `${classPrefix$u}-content-inner`
15988
16012
  }, props.content)), (props.closeable || props.extra) && React$1.createElement("span", {
15989
- className: `${classPrefix$s}-right`
16013
+ className: `${classPrefix$u}-right`
15990
16014
  }, props.extra, props.closeable && React$1.createElement(CloseOutline, {
15991
- className: `${classPrefix$s}-close-icon`,
16015
+ className: `${classPrefix$u}-close-icon`,
15992
16016
  onClick: () => {
15993
16017
  var _a;
15994
16018
  setVisible(false);
@@ -16005,7 +16029,7 @@ function shuffle(array) {
16005
16029
  }
16006
16030
  return result2;
16007
16031
  }
16008
- const classPrefix$r = "adm-number-keyboard";
16032
+ const classPrefix$t = "adm-number-keyboard";
16009
16033
  const defaultProps$m = {
16010
16034
  defaultVisible: false,
16011
16035
  randomOrder: false,
@@ -16078,13 +16102,13 @@ const NumberKeyboard = (p2) => {
16078
16102
  if (!showCloseButton && !title)
16079
16103
  return null;
16080
16104
  return React$1.createElement("div", {
16081
- className: classNames(`${classPrefix$r}-header`, {
16105
+ className: classNames(`${classPrefix$t}-header`, {
16082
16106
  "with-title": !!title
16083
16107
  })
16084
16108
  }, title && React$1.createElement("div", {
16085
- className: `${classPrefix$r}-title`
16109
+ className: `${classPrefix$t}-title`
16086
16110
  }, title), showCloseButton && React$1.createElement("span", {
16087
- className: `${classPrefix$r}-header-close-button`,
16111
+ className: `${classPrefix$t}-header-close-button`,
16088
16112
  onClick: () => {
16089
16113
  var _a;
16090
16114
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -16095,7 +16119,7 @@ const NumberKeyboard = (p2) => {
16095
16119
  };
16096
16120
  const renderKey = (key, index2) => {
16097
16121
  const isNumberKey = /^\d$/.test(key);
16098
- const className = classNames(`${classPrefix$r}-key`, {
16122
+ const className = classNames(`${classPrefix$t}-key`, {
16099
16123
  "number-key": isNumberKey,
16100
16124
  "sign-key": !isNumberKey && key,
16101
16125
  "mid-key": index2 === 9 && !!confirmText
@@ -16124,24 +16148,24 @@ const NumberKeyboard = (p2) => {
16124
16148
  mask: false,
16125
16149
  afterClose: props.afterClose,
16126
16150
  afterShow: props.afterShow,
16127
- className: `${classPrefix$r}-popup`,
16151
+ className: `${classPrefix$t}-popup`,
16128
16152
  stopPropagation: props.stopPropagation
16129
16153
  }, withNativeProps(props, React$1.createElement("div", {
16130
16154
  ref: keyboardRef,
16131
- className: classPrefix$r,
16155
+ className: classPrefix$t,
16132
16156
  onMouseDown: (e2) => {
16133
16157
  e2.preventDefault();
16134
16158
  }
16135
16159
  }, renderHeader(), React$1.createElement("div", {
16136
- className: `${classPrefix$r}-wrapper`
16160
+ className: `${classPrefix$t}-wrapper`
16137
16161
  }, React$1.createElement("div", {
16138
- className: classNames(`${classPrefix$r}-main`, {
16162
+ className: classNames(`${classPrefix$t}-main`, {
16139
16163
  "confirmed-style": !!confirmText
16140
16164
  })
16141
16165
  }, keys2.map(renderKey)), !!confirmText && React$1.createElement("div", {
16142
- className: `${classPrefix$r}-confirm`
16166
+ className: `${classPrefix$t}-confirm`
16143
16167
  }, React$1.createElement("div", {
16144
- className: `${classPrefix$r}-key extra-key bs-key`,
16168
+ className: `${classPrefix$t}-key extra-key bs-key`,
16145
16169
  onTouchStart: () => {
16146
16170
  onBackspacePressStart();
16147
16171
  },
@@ -16152,17 +16176,17 @@ const NumberKeyboard = (p2) => {
16152
16176
  title: "BACKSPACE",
16153
16177
  role: "button"
16154
16178
  }, React$1.createElement(TextDeletionOutline, null)), React$1.createElement("div", {
16155
- className: `${classPrefix$r}-key extra-key ok-key`,
16179
+ className: `${classPrefix$t}-key extra-key ok-key`,
16156
16180
  onTouchEnd: (e2) => onKeyPress(e2, "OK"),
16157
16181
  role: "button"
16158
16182
  }, confirmText))), props.safeArea && React$1.createElement("div", {
16159
- className: `${classPrefix$r}-footer`
16183
+ className: `${classPrefix$t}-footer`
16160
16184
  }, React$1.createElement(SafeArea, {
16161
16185
  position: "bottom"
16162
16186
  })))));
16163
16187
  };
16164
16188
  var pageIndicator = "";
16165
- const classPrefix$q = `adm-page-indicator`;
16189
+ const classPrefix$s = `adm-page-indicator`;
16166
16190
  const defaultProps$l = {
16167
16191
  color: "primary",
16168
16192
  direction: "horizontal"
@@ -16173,17 +16197,17 @@ const PageIndicator = memo((p2) => {
16173
16197
  for (let i = 0; i < props.total; i++) {
16174
16198
  dots.push(React$1.createElement("div", {
16175
16199
  key: i,
16176
- className: classNames(`${classPrefix$q}-dot`, {
16177
- [`${classPrefix$q}-dot-active`]: props.current === i
16200
+ className: classNames(`${classPrefix$s}-dot`, {
16201
+ [`${classPrefix$s}-dot-active`]: props.current === i
16178
16202
  })
16179
16203
  }));
16180
16204
  }
16181
16205
  return withNativeProps(props, React$1.createElement("div", {
16182
- className: classNames(classPrefix$q, `${classPrefix$q}-${props.direction}`, `${classPrefix$q}-color-${props.color}`)
16206
+ className: classNames(classPrefix$s, `${classPrefix$s}-${props.direction}`, `${classPrefix$s}-color-${props.color}`)
16183
16207
  }, dots));
16184
16208
  });
16185
16209
  var passcodeInput = "";
16186
- const classPrefix$p = "adm-passcode-input";
16210
+ const classPrefix$r = "adm-passcode-input";
16187
16211
  const defaultProps$k = {
16188
16212
  defaultValue: "",
16189
16213
  length: 6,
@@ -16251,7 +16275,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16251
16275
  const focusedIndex = bound(chars.length, 0, cellLength - 1);
16252
16276
  for (let i = 0; i < cellLength; i++) {
16253
16277
  cells.push(React$1.createElement("div", {
16254
- className: classNames(`${classPrefix$p}-cell`, {
16278
+ className: classNames(`${classPrefix$r}-cell`, {
16255
16279
  caret: props.caret && caretIndex === i && focused,
16256
16280
  focused: focusedIndex === i && focused,
16257
16281
  dot: !props.plain && chars[i]
@@ -16261,7 +16285,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16261
16285
  }
16262
16286
  return cells;
16263
16287
  };
16264
- const cls2 = classNames(classPrefix$p, {
16288
+ const cls2 = classNames(classPrefix$r, {
16265
16289
  focused,
16266
16290
  error: props.error,
16267
16291
  seperated: props.seperated
@@ -16273,10 +16297,10 @@ const PasscodeInput = forwardRef((p2, ref) => {
16273
16297
  onFocus,
16274
16298
  onBlur
16275
16299
  }, React$1.createElement("div", {
16276
- className: `${classPrefix$p}-cell-container`
16300
+ className: `${classPrefix$r}-cell-container`
16277
16301
  }, renderCells()), React$1.createElement("input", {
16278
16302
  ref: nativeInputRef,
16279
- className: `${classPrefix$p}-native-input`,
16303
+ className: `${classPrefix$r}-native-input`,
16280
16304
  value,
16281
16305
  type: "text",
16282
16306
  pattern: "[0-9]*",
@@ -16301,7 +16325,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16301
16325
  }));
16302
16326
  });
16303
16327
  var progressBar = "";
16304
- const classPrefix$o = `adm-progress-bar`;
16328
+ const classPrefix$q = `adm-progress-bar`;
16305
16329
  const ProgressBar = (p2) => {
16306
16330
  const props = mergeProps({
16307
16331
  percent: 0
@@ -16310,16 +16334,16 @@ const ProgressBar = (p2) => {
16310
16334
  width: `${props.percent}%`
16311
16335
  };
16312
16336
  return withNativeProps(props, React$1.createElement("div", {
16313
- className: classPrefix$o
16337
+ className: classPrefix$q
16314
16338
  }, React$1.createElement("div", {
16315
- className: `${classPrefix$o}-trail`
16339
+ className: `${classPrefix$q}-trail`
16316
16340
  }, React$1.createElement("div", {
16317
- className: `${classPrefix$o}-fill`,
16341
+ className: `${classPrefix$q}-fill`,
16318
16342
  style: fillStyle
16319
16343
  }))));
16320
16344
  };
16321
16345
  var progressCircle = "";
16322
- const classPrefix$n = `adm-progress-circle`;
16346
+ const classPrefix$p = `adm-progress-circle`;
16323
16347
  const ProgressCircle = (p2) => {
16324
16348
  const props = mergeProps({
16325
16349
  percent: 0
@@ -16328,25 +16352,25 @@ const ProgressCircle = (p2) => {
16328
16352
  "--percent": props.percent.toString()
16329
16353
  };
16330
16354
  return withNativeProps(props, React$1.createElement("div", {
16331
- className: `${classPrefix$n}`,
16355
+ className: `${classPrefix$p}`,
16332
16356
  style
16333
16357
  }, React$1.createElement("div", {
16334
- className: `${classPrefix$n}-content`
16358
+ className: `${classPrefix$p}-content`
16335
16359
  }, React$1.createElement("svg", {
16336
- className: `${classPrefix$n}-svg`
16360
+ className: `${classPrefix$p}-svg`
16337
16361
  }, React$1.createElement("circle", {
16338
- className: `${classPrefix$n}-track`,
16362
+ className: `${classPrefix$p}-track`,
16339
16363
  fill: "transparent"
16340
16364
  }), React$1.createElement("circle", {
16341
- className: `${classPrefix$n}-fill`,
16365
+ className: `${classPrefix$p}-fill`,
16342
16366
  fill: "transparent"
16343
16367
  })), React$1.createElement("div", {
16344
- className: `${classPrefix$n}-info`
16368
+ className: `${classPrefix$p}-info`
16345
16369
  }, props.children))));
16346
16370
  };
16347
16371
  var pullToRefresh = "";
16348
16372
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
16349
- const classPrefix$m = `adm-pull-to-refresh`;
16373
+ const classPrefix$o = `adm-pull-to-refresh`;
16350
16374
  const defaultProps$j = {
16351
16375
  pullingText: "\u4E0B\u62C9\u5237\u65B0",
16352
16376
  canReleaseText: "\u91CA\u653E\u7ACB\u5373\u5237\u65B0",
@@ -16499,17 +16523,17 @@ const PullToRefresh = (p2) => {
16499
16523
  };
16500
16524
  return React$1.createElement(animated.div, {
16501
16525
  ref: elementRef,
16502
- className: classPrefix$m
16526
+ className: classPrefix$o
16503
16527
  }, React$1.createElement(animated.div, {
16504
16528
  style: springStyles,
16505
- className: `${classPrefix$m}-head`
16529
+ className: `${classPrefix$o}-head`
16506
16530
  }, React$1.createElement("div", {
16507
- className: `${classPrefix$m}-head-content`,
16531
+ className: `${classPrefix$o}-head-content`,
16508
16532
  style: {
16509
16533
  height: headHeight
16510
16534
  }
16511
16535
  }, renderStatusText())), React$1.createElement("div", {
16512
- className: `${classPrefix$m}-content`
16536
+ className: `${classPrefix$o}-content`
16513
16537
  }, props.children));
16514
16538
  };
16515
16539
  var radio = "";
@@ -16542,7 +16566,7 @@ const Group = (p2) => {
16542
16566
  }
16543
16567
  }, props.children);
16544
16568
  };
16545
- const classPrefix$l = `adm-radio`;
16569
+ const classPrefix$n = `adm-radio`;
16546
16570
  const defaultProps$h = {
16547
16571
  defaultChecked: false
16548
16572
  };
@@ -16574,18 +16598,18 @@ const Radio = (p2) => {
16574
16598
  const renderIcon = () => {
16575
16599
  if (props.icon) {
16576
16600
  return React$1.createElement("div", {
16577
- className: `${classPrefix$l}-custom-icon`
16601
+ className: `${classPrefix$n}-custom-icon`
16578
16602
  }, props.icon(checked));
16579
16603
  }
16580
16604
  return React$1.createElement("div", {
16581
- className: `${classPrefix$l}-icon`
16605
+ className: `${classPrefix$n}-icon`
16582
16606
  }, checked && React$1.createElement(CheckIcon, null));
16583
16607
  };
16584
16608
  return withNativeProps(props, React$1.createElement("label", {
16585
- className: classNames(classPrefix$l, {
16586
- [`${classPrefix$l}-checked`]: checked,
16587
- [`${classPrefix$l}-disabled`]: disabled,
16588
- [`${classPrefix$l}-block`]: props.block
16609
+ className: classNames(classPrefix$n, {
16610
+ [`${classPrefix$n}-checked`]: checked,
16611
+ [`${classPrefix$n}-disabled`]: disabled,
16612
+ [`${classPrefix$n}-block`]: props.block
16589
16613
  })
16590
16614
  }, React$1.createElement(NativeInput, {
16591
16615
  type: "radio",
@@ -16594,14 +16618,14 @@ const Radio = (p2) => {
16594
16618
  disabled,
16595
16619
  id: props.id
16596
16620
  }), renderIcon(), props.children && React$1.createElement("div", {
16597
- className: `${classPrefix$l}-content`
16621
+ className: `${classPrefix$n}-content`
16598
16622
  }, props.children)));
16599
16623
  };
16600
16624
  var index$5 = attachPropertiesToComponent(Radio, {
16601
16625
  Group
16602
16626
  });
16603
16627
  var rate = "";
16604
- const classPrefix$k = `adm-rate`;
16628
+ const classPrefix$m = `adm-rate`;
16605
16629
  const defaultProps$g = {
16606
16630
  count: 5,
16607
16631
  allowHalf: false,
@@ -16616,10 +16640,10 @@ const Rate = (p2) => {
16616
16640
  const starList = Array(props.count).fill(null);
16617
16641
  function renderStar(v, half) {
16618
16642
  return React$1.createElement("div", {
16619
- className: classNames(`${classPrefix$k}-star`, {
16620
- [`${classPrefix$k}-star-active`]: value >= v,
16621
- [`${classPrefix$k}-star-half`]: half,
16622
- [`${classPrefix$k}-star-readonly`]: props.readOnly
16643
+ className: classNames(`${classPrefix$m}-star`, {
16644
+ [`${classPrefix$m}-star-active`]: value >= v,
16645
+ [`${classPrefix$m}-star-half`]: half,
16646
+ [`${classPrefix$m}-star-readonly`]: props.readOnly
16623
16647
  }),
16624
16648
  onClick: () => {
16625
16649
  if (props.readOnly)
@@ -16633,14 +16657,14 @@ const Rate = (p2) => {
16633
16657
  }, props.character);
16634
16658
  }
16635
16659
  return withNativeProps(props, React$1.createElement("div", {
16636
- className: classPrefix$k
16660
+ className: classPrefix$m
16637
16661
  }, starList.map((_, i) => React$1.createElement("div", {
16638
16662
  key: i,
16639
- className: classNames(`${classPrefix$k}-box`)
16663
+ className: classNames(`${classPrefix$m}-box`)
16640
16664
  }, props.allowHalf && renderStar(i + 0.5, true), renderStar(i + 1, false)))));
16641
16665
  };
16642
16666
  var result = "";
16643
- const classPrefix$j = `adm-result`;
16667
+ const classPrefix$l = `adm-result`;
16644
16668
  const iconRecord = {
16645
16669
  success: CheckCircleFill,
16646
16670
  error: CloseCircleFill,
@@ -16659,17 +16683,17 @@ const Result = (props) => {
16659
16683
  return null;
16660
16684
  const resultIcon = icon || React$1.createElement(iconRecord[status]);
16661
16685
  return withNativeProps(props, React$1.createElement("div", {
16662
- className: classNames(classPrefix$j, `${classPrefix$j}-${status}`)
16686
+ className: classNames(classPrefix$l, `${classPrefix$l}-${status}`)
16663
16687
  }, React$1.createElement("div", {
16664
- className: `${classPrefix$j}-icon`
16688
+ className: `${classPrefix$l}-icon`
16665
16689
  }, resultIcon), React$1.createElement("div", {
16666
- className: `${classPrefix$j}-title`
16690
+ className: `${classPrefix$l}-title`
16667
16691
  }, title), description ? React$1.createElement("div", {
16668
- className: `${classPrefix$j}-description`
16692
+ className: `${classPrefix$l}-description`
16669
16693
  }, description) : null));
16670
16694
  };
16671
16695
  var searchBar = "";
16672
- const classPrefix$i = `adm-search-bar`;
16696
+ const classPrefix$k = `adm-search-bar`;
16673
16697
  const defaultProps$f = {
16674
16698
  clearable: true,
16675
16699
  onlyShowClearWhenFocus: false,
@@ -16714,10 +16738,10 @@ const SearchBar = forwardRef((p2, ref) => {
16714
16738
  isShowCancel = props.showCancelButton && hasFocus;
16715
16739
  }
16716
16740
  return isShowCancel && React$1.createElement("div", {
16717
- className: `${classPrefix$i}-suffix`
16741
+ className: `${classPrefix$k}-suffix`
16718
16742
  }, React$1.createElement(Button, {
16719
16743
  fill: "none",
16720
- className: `${classPrefix$i}-cancel-button`,
16744
+ className: `${classPrefix$k}-cancel-button`,
16721
16745
  onClick: () => {
16722
16746
  var _a, _b, _c;
16723
16747
  if (props.clearOnCancel) {
@@ -16732,17 +16756,17 @@ const SearchBar = forwardRef((p2, ref) => {
16732
16756
  }, props.cancelText));
16733
16757
  };
16734
16758
  return withNativeProps(props, React$1.createElement("div", {
16735
- className: classNames(classPrefix$i, {
16736
- [`${classPrefix$i}-active`]: hasFocus
16759
+ className: classNames(classPrefix$k, {
16760
+ [`${classPrefix$k}-active`]: hasFocus
16737
16761
  })
16738
16762
  }, React$1.createElement("div", {
16739
- className: `${classPrefix$i}-input-box`
16763
+ className: `${classPrefix$k}-input-box`
16740
16764
  }, props.icon && React$1.createElement("div", {
16741
- className: `${classPrefix$i}-input-box-icon`
16765
+ className: `${classPrefix$k}-input-box-icon`
16742
16766
  }, props.icon), React$1.createElement(Input, {
16743
16767
  ref: inputRef,
16744
- className: classNames(`${classPrefix$i}-input`, {
16745
- [`${classPrefix$i}-input-without-icon`]: !props.icon
16768
+ className: classNames(`${classPrefix$k}-input`, {
16769
+ [`${classPrefix$k}-input-without-icon`]: !props.icon
16746
16770
  }),
16747
16771
  value,
16748
16772
  onChange: setValue,
@@ -16799,7 +16823,7 @@ const CheckMark = memo(() => {
16799
16823
  points: "34.2767388 22 24.797043 31.4796958 21 27.6826527"
16800
16824
  })))))));
16801
16825
  });
16802
- const classPrefix$h = `adm-selector`;
16826
+ const classPrefix$j = `adm-selector`;
16803
16827
  const defaultProps$e = {
16804
16828
  multiple: false,
16805
16829
  defaultValue: [],
@@ -16823,10 +16847,10 @@ const Selector = (p2) => {
16823
16847
  const items = props.options.map((option) => {
16824
16848
  const active = (value || []).includes(option.value);
16825
16849
  const disabled = option.disabled || props.disabled;
16826
- const itemCls = classNames(`${classPrefix$h}-item`, {
16827
- [`${classPrefix$h}-item-active`]: active && !props.multiple,
16828
- [`${classPrefix$h}-item-multiple-active`]: active && props.multiple,
16829
- [`${classPrefix$h}-item-disabled`]: disabled
16850
+ const itemCls = classNames(`${classPrefix$j}-item`, {
16851
+ [`${classPrefix$j}-item-active`]: active && !props.multiple,
16852
+ [`${classPrefix$j}-item-multiple-active`]: active && props.multiple,
16853
+ [`${classPrefix$j}-item-disabled`]: disabled
16830
16854
  });
16831
16855
  return React$1.createElement("div", {
16832
16856
  key: option.value,
@@ -16844,13 +16868,13 @@ const Selector = (p2) => {
16844
16868
  }
16845
16869
  }
16846
16870
  }, option.label, option.description && React$1.createElement("div", {
16847
- className: `${classPrefix$h}-item-description`
16871
+ className: `${classPrefix$j}-item-description`
16848
16872
  }, option.description), active && props.showCheckMark && React$1.createElement("div", {
16849
- className: `${classPrefix$h}-check-mark-wrapper`
16873
+ className: `${classPrefix$j}-check-mark-wrapper`
16850
16874
  }, React$1.createElement(CheckMark, null)));
16851
16875
  });
16852
16876
  return withNativeProps(props, React$1.createElement("div", {
16853
- className: classPrefix$h
16877
+ className: classPrefix$j
16854
16878
  }, !props.columns && React$1.createElement(Space, {
16855
16879
  wrap: true
16856
16880
  }, items), props.columns && React$1.createElement(Grid, {
@@ -16868,10 +16892,10 @@ const Corner = memo((props) => withNativeProps(props, React$1.createElement("svg
16868
16892
  fillRule: "evenodd"
16869
16893
  }, React$1.createElement("path", {
16870
16894
  d: "M30,0 C13.4314575,3.04359188e-15 -2.02906125e-15,13.4314575 0,30 L0,30 L0,0 Z",
16871
- fill: "var(--adm-color-white)",
16895
+ fill: "var(--adm-color-background)",
16872
16896
  transform: "translate(15.000000, 15.000000) scale(-1, -1) translate(-15.000000, -15.000000) "
16873
16897
  })))));
16874
- const classPrefix$g = `adm-side-bar`;
16898
+ const classPrefix$i = `adm-side-bar`;
16875
16899
  const SideBarItem = () => {
16876
16900
  return null;
16877
16901
  };
@@ -16903,9 +16927,9 @@ const SideBar = (props) => {
16903
16927
  const lastItem = items[items.length - 1];
16904
16928
  const isLastItemActive = lastItem && lastItem.key === activeKey;
16905
16929
  return withNativeProps(props, React$1.createElement("div", {
16906
- className: classPrefix$g
16930
+ className: classPrefix$i
16907
16931
  }, React$1.createElement("div", {
16908
- className: `${classPrefix$g}-items`
16932
+ className: `${classPrefix$i}-items`
16909
16933
  }, items.map((item, index2) => {
16910
16934
  const active = item.key === activeKey;
16911
16935
  const isActiveNextSibling = items[index2 - 1] && items[index2 - 1].key === activeKey;
@@ -16920,33 +16944,33 @@ const SideBar = (props) => {
16920
16944
  return;
16921
16945
  setActiveKey(key.toString());
16922
16946
  },
16923
- className: classNames(`${classPrefix$g}-item`, {
16924
- [`${classPrefix$g}-item-active`]: active,
16925
- [`${classPrefix$g}-item-disabled`]: item.props.disabled
16947
+ className: classNames(`${classPrefix$i}-item`, {
16948
+ [`${classPrefix$i}-item-active`]: active,
16949
+ [`${classPrefix$i}-item-disabled`]: item.props.disabled
16926
16950
  })
16927
16951
  }, React$1.createElement(React$1.Fragment, null, isActiveNextSibling && React$1.createElement(Corner, {
16928
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-top`
16952
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-top`
16929
16953
  }), isActivePreviousSibling && React$1.createElement(Corner, {
16930
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-bottom`
16954
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-bottom`
16931
16955
  })), React$1.createElement(Badge, {
16932
16956
  content: item.props.badge,
16933
- className: `${classPrefix$g}-badge`
16957
+ className: `${classPrefix$i}-badge`
16934
16958
  }, React$1.createElement("div", {
16935
- className: `${classPrefix$g}-item-title`
16959
+ className: `${classPrefix$i}-item-title`
16936
16960
  }, active && React$1.createElement("div", {
16937
- className: `${classPrefix$g}-item-highlight`
16961
+ className: `${classPrefix$i}-item-highlight`
16938
16962
  }), item.props.title))));
16939
16963
  })), React$1.createElement("div", {
16940
- className: classNames(`${classPrefix$g}-extra-space`, isLastItemActive && `${classPrefix$g}-item-active-next-sibling`)
16964
+ className: classNames(`${classPrefix$i}-extra-space`, isLastItemActive && `${classPrefix$i}-item-active-next-sibling`)
16941
16965
  }, isLastItemActive && React$1.createElement(Corner, {
16942
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-top`
16966
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-top`
16943
16967
  }))));
16944
16968
  };
16945
16969
  var index$4 = attachPropertiesToComponent(SideBar, {
16946
16970
  Item: SideBarItem
16947
16971
  });
16948
16972
  var slider = "";
16949
- const classPrefix$f = `adm-slider`;
16973
+ const classPrefix$h = `adm-slider`;
16950
16974
  const Ticks = ({
16951
16975
  points,
16952
16976
  max,
@@ -16962,8 +16986,8 @@ const Ticks = ({
16962
16986
  left: offset2
16963
16987
  };
16964
16988
  const pointClassName = classNames({
16965
- [`${classPrefix$f}-tick`]: true,
16966
- [`${classPrefix$f}-tick-active`]: isActived
16989
+ [`${classPrefix$h}-tick`]: true,
16990
+ [`${classPrefix$h}-tick-active`]: isActived
16967
16991
  });
16968
16992
  return React$1.createElement("span", {
16969
16993
  className: pointClassName,
@@ -16972,10 +16996,10 @@ const Ticks = ({
16972
16996
  });
16973
16997
  });
16974
16998
  return React$1.createElement("div", {
16975
- className: `${classPrefix$f}-ticks`
16999
+ className: `${classPrefix$h}-ticks`
16976
17000
  }, elements);
16977
17001
  };
16978
- const classPrefix$e = `adm-slider-mark`;
17002
+ const classPrefix$g = `adm-slider-mark`;
16979
17003
  const Marks = ({
16980
17004
  marks,
16981
17005
  upperBound,
@@ -16992,8 +17016,8 @@ const Marks = ({
16992
17016
  }
16993
17017
  const isActive = point <= upperBound && point >= lowerBound;
16994
17018
  const markClassName = classNames({
16995
- [`${classPrefix$e}-text`]: true,
16996
- [`${classPrefix$e}-text-active`]: isActive
17019
+ [`${classPrefix$g}-text`]: true,
17020
+ [`${classPrefix$g}-text-active`]: isActive
16997
17021
  });
16998
17022
  const style = {
16999
17023
  left: `${(point - min) / range * 100}%`
@@ -17005,33 +17029,35 @@ const Marks = ({
17005
17029
  }, markPoint);
17006
17030
  });
17007
17031
  return React$1.createElement("div", {
17008
- className: classPrefix$e
17032
+ className: classPrefix$g
17009
17033
  }, elements);
17010
17034
  };
17011
17035
  const ThumbIcon = (props) => {
17012
17036
  return withNativeProps(props, React$1.createElement("svg", {
17013
- viewBox: "0 0 20 20"
17037
+ viewBox: "0 0 24 24",
17038
+ xmlns: "http://www.w3.org/2000/svg"
17014
17039
  }, React$1.createElement("g", {
17015
- stroke: "none",
17016
- strokeWidth: "1",
17017
- fill: "none",
17040
+ fill: "currentColor",
17018
17041
  fillRule: "evenodd"
17019
- }, React$1.createElement("g", {
17020
- transform: "translate(-604.000000, -656.000000)",
17021
- fill: "#999999"
17022
- }, React$1.createElement("g", {
17023
- transform: "translate(592.000000, 644.000000)"
17024
- }, React$1.createElement("g", {
17025
- transform: "translate(12.000000, 12.000000)"
17026
- }, React$1.createElement("polygon", {
17027
- points: "0 3.33333333 2.22222222 3.33333333 2.22222222 17.7777778 0 17.7777778"
17028
- }), React$1.createElement("polygon", {
17029
- points: "17.7777778 3.33333333 20 3.33333333 20 17.7777778 17.7777778 17.7777778"
17030
- }), React$1.createElement("path", {
17031
- d: "M10.8888889,0 L9.11111111,0 C8.98888889,0 8.88888889,0.107142857 8.88888889,0.238095238 L8.88888889,19.7619048 C8.88888889,19.8928571 8.98888889,20 9.11111111,20 L10.8888889,20 C11.0111111,20 11.1111111,19.8928571 11.1111111,19.7619048 L11.1111111,0.238095238 C11.1111111,0.107142857 11.0111111,0 10.8888889,0 Z"
17032
- })))))));
17042
+ }, React$1.createElement("rect", {
17043
+ x: 10,
17044
+ width: 4,
17045
+ height: 24,
17046
+ rx: 2
17047
+ }), React$1.createElement("rect", {
17048
+ y: 4,
17049
+ width: 4,
17050
+ height: 16,
17051
+ rx: 2
17052
+ }), React$1.createElement("rect", {
17053
+ x: 20,
17054
+ y: 4,
17055
+ width: 4,
17056
+ height: 16,
17057
+ rx: 2
17058
+ }))));
17033
17059
  };
17034
- const classPrefix$d = `adm-slider`;
17060
+ const classPrefix$f = `adm-slider`;
17035
17061
  const Thumb = (props) => {
17036
17062
  const {
17037
17063
  value,
@@ -17048,6 +17074,7 @@ const Thumb = (props) => {
17048
17074
  right: "auto"
17049
17075
  };
17050
17076
  };
17077
+ const [dragging, setDragging] = useState(false);
17051
17078
  const bind = useDrag((state) => {
17052
17079
  var _a;
17053
17080
  if (disabled)
@@ -17061,29 +17088,39 @@ const Thumb = (props) => {
17061
17088
  return;
17062
17089
  const diff = x / Math.ceil(sliderOffsetWith) * (max - min);
17063
17090
  onDrag(prevValue.current + diff, state.first, state.last);
17091
+ setDragging(!state.last);
17064
17092
  }, {
17065
17093
  axis: "x",
17066
17094
  pointer: {
17067
17095
  touch: true
17068
17096
  }
17069
17097
  });
17098
+ const renderPopoverContent = typeof props.popover === "function" ? props.popover : props.popover ? (value2) => value2.toString() : null;
17099
+ const thumbElement = React$1.createElement("div", {
17100
+ className: `${classPrefix$f}-thumb`
17101
+ }, icon ? icon : React$1.createElement(ThumbIcon, {
17102
+ className: `${classPrefix$f}-thumb-icon`
17103
+ }));
17070
17104
  return React$1.createElement("div", Object.assign({
17071
- className: `${classPrefix$d}-thumb-container`,
17105
+ className: `${classPrefix$f}-thumb-container`,
17072
17106
  style: currentPosition()
17073
- }, bind()), React$1.createElement("div", {
17074
- className: `${classPrefix$d}-thumb`
17075
- }, icon ? icon : React$1.createElement(ThumbIcon, {
17076
- className: `${classPrefix$d}-thumb-icon`
17077
- })));
17107
+ }, bind()), renderPopoverContent ? React$1.createElement(Popover$1, {
17108
+ content: renderPopoverContent(value),
17109
+ placement: "top",
17110
+ visible: dragging,
17111
+ getContainer: null,
17112
+ mode: "dark"
17113
+ }, thumbElement) : thumbElement);
17078
17114
  };
17079
- const classPrefix$c = `adm-slider`;
17115
+ const classPrefix$e = `adm-slider`;
17080
17116
  const defaultProps$d = {
17081
17117
  min: 0,
17082
17118
  max: 100,
17083
17119
  step: 1,
17084
17120
  ticks: false,
17085
17121
  range: false,
17086
- disabled: false
17122
+ disabled: false,
17123
+ popover: false
17087
17124
  };
17088
17125
  const Slider = (p2) => {
17089
17126
  var _a;
@@ -17178,13 +17215,14 @@ const Slider = (p2) => {
17178
17215
  const valueBeforeDragRef = useRef();
17179
17216
  const renderThumb = (index2) => {
17180
17217
  return React$1.createElement(Thumb, {
17181
- icon,
17182
17218
  key: index2,
17183
17219
  value: sliderValue[index2],
17184
17220
  min,
17185
17221
  max,
17186
17222
  disabled,
17187
17223
  trackRef,
17224
+ icon,
17225
+ popover: props.popover,
17188
17226
  onDrag: (position, first, last) => {
17189
17227
  if (first) {
17190
17228
  dragLockRef.current += 1;
@@ -17207,18 +17245,18 @@ const Slider = (p2) => {
17207
17245
  });
17208
17246
  };
17209
17247
  return withNativeProps(props, React$1.createElement("div", {
17210
- className: classNames(classPrefix$c, {
17211
- [`${classPrefix$c}-disabled`]: disabled
17248
+ className: classNames(classPrefix$e, {
17249
+ [`${classPrefix$e}-disabled`]: disabled
17212
17250
  })
17213
17251
  }, React$1.createElement("div", {
17214
- className: `${classPrefix$c}-track-container`,
17252
+ className: `${classPrefix$e}-track-container`,
17215
17253
  onClick: onTrackClick
17216
17254
  }, React$1.createElement("div", {
17217
- className: `${classPrefix$c}-track`,
17255
+ className: `${classPrefix$e}-track`,
17218
17256
  onClick: onTrackClick,
17219
17257
  ref: trackRef
17220
17258
  }, React$1.createElement("div", {
17221
- className: `${classPrefix$c}-fill`,
17259
+ className: `${classPrefix$e}-fill`,
17222
17260
  style: {
17223
17261
  width: fillSize,
17224
17262
  left: fillStart
@@ -17238,7 +17276,7 @@ const Slider = (p2) => {
17238
17276
  })));
17239
17277
  };
17240
17278
  var stepper = "";
17241
- const classPrefix$b = `adm-stepper`;
17279
+ const classPrefix$d = `adm-stepper`;
17242
17280
  const defaultProps$c = {
17243
17281
  defaultValue: 0,
17244
17282
  step: 1,
@@ -17316,20 +17354,20 @@ const Stepper = (p2) => {
17316
17354
  return false;
17317
17355
  };
17318
17356
  return withNativeProps(props, React$1.createElement("div", {
17319
- className: classNames(classPrefix$b, {
17320
- [`${classPrefix$b}-active`]: hasFocus
17357
+ className: classNames(classPrefix$d, {
17358
+ [`${classPrefix$d}-active`]: hasFocus
17321
17359
  })
17322
17360
  }, React$1.createElement(Button, {
17323
- className: `${classPrefix$b}-minus`,
17361
+ className: `${classPrefix$d}-minus`,
17324
17362
  onClick: handleMinus,
17325
17363
  disabled: minusDisabled(),
17326
17364
  fill: "none",
17327
17365
  shape: "rectangular",
17328
17366
  color: "primary"
17329
17367
  }, React$1.createElement(MinusOutline, null)), React$1.createElement("div", {
17330
- className: `${classPrefix$b}-middle`
17368
+ className: `${classPrefix$d}-middle`
17331
17369
  }, React$1.createElement(Input, {
17332
- className: `${classPrefix$b}-input`,
17370
+ className: `${classPrefix$d}-input`,
17333
17371
  onFocus: (e2) => {
17334
17372
  var _a;
17335
17373
  setHasFocus(true);
@@ -17347,7 +17385,7 @@ const Stepper = (p2) => {
17347
17385
  },
17348
17386
  readOnly: inputReadOnly
17349
17387
  })), React$1.createElement(Button, {
17350
- className: `${classPrefix$b}-plus`,
17388
+ className: `${classPrefix$d}-plus`,
17351
17389
  onClick: handlePlus,
17352
17390
  disabled: plusDisabled(),
17353
17391
  fill: "none",
@@ -17370,7 +17408,7 @@ function convertTextToValue(text) {
17370
17408
  return parseFloat(text);
17371
17409
  }
17372
17410
  var steps = "";
17373
- const classPrefix$a = `adm-step`;
17411
+ const classPrefix$c = `adm-step`;
17374
17412
  const Step = (props) => {
17375
17413
  const {
17376
17414
  title,
@@ -17379,20 +17417,20 @@ const Step = (props) => {
17379
17417
  status = "wait"
17380
17418
  } = props;
17381
17419
  return withNativeProps(props, React$1.createElement("div", {
17382
- className: classNames(`${classPrefix$a}`, `${classPrefix$a}-status-${status}`)
17420
+ className: classNames(`${classPrefix$c}`, `${classPrefix$c}-status-${status}`)
17383
17421
  }, React$1.createElement("div", {
17384
- className: `${classPrefix$a}-indicator`
17422
+ className: `${classPrefix$c}-indicator`
17385
17423
  }, React$1.createElement("div", {
17386
- className: `${classPrefix$a}-icon-container`
17424
+ className: `${classPrefix$c}-icon-container`
17387
17425
  }, icon)), React$1.createElement("div", {
17388
- className: `${classPrefix$a}-content`
17426
+ className: `${classPrefix$c}-content`
17389
17427
  }, React$1.createElement("div", {
17390
- className: `${classPrefix$a}-title`
17428
+ className: `${classPrefix$c}-title`
17391
17429
  }, title), !!description && React$1.createElement("div", {
17392
- className: `${classPrefix$a}-description`
17430
+ className: `${classPrefix$c}-description`
17393
17431
  }, description))));
17394
17432
  };
17395
- const classPrefix$9 = `adm-steps`;
17433
+ const classPrefix$b = `adm-steps`;
17396
17434
  const stepClassPrefix = `adm-step`;
17397
17435
  const defaultIcon = React$1.createElement("span", {
17398
17436
  className: `${stepClassPrefix}-icon-dot`
@@ -17407,7 +17445,7 @@ const Steps = (p2) => {
17407
17445
  direction,
17408
17446
  current
17409
17447
  } = props;
17410
- const classString = classNames(classPrefix$9, `${classPrefix$9}-${direction}`);
17448
+ const classString = classNames(classPrefix$b, `${classPrefix$b}-${direction}`);
17411
17449
  return withNativeProps(props, React$1.createElement("div", {
17412
17450
  className: classString
17413
17451
  }, React$1.Children.map(props.children, (child, index2) => {
@@ -17433,6 +17471,7 @@ var index$3 = attachPropertiesToComponent(Steps, {
17433
17471
  Step
17434
17472
  });
17435
17473
  var swipeAction = "";
17474
+ const classPrefix$a = `adm-swipe-action`;
17436
17475
  const defaultProps$a = {
17437
17476
  rightActions: [],
17438
17477
  leftActions: [],
@@ -17550,7 +17589,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17550
17589
  const color = (_a = action.color) !== null && _a !== void 0 ? _a : "light";
17551
17590
  return React$1.createElement(Button, {
17552
17591
  key: action.key,
17553
- className: "adm-swipe-action-action-button",
17592
+ className: `${classPrefix$a}-action-button`,
17554
17593
  style: {
17555
17594
  "--background-color": (_b = colorRecord$1[color]) !== null && _b !== void 0 ? _b : color
17556
17595
  },
@@ -17565,7 +17604,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17565
17604
  }, action.text);
17566
17605
  }
17567
17606
  return withNativeProps(props, React$1.createElement("div", Object.assign({
17568
- className: "adm-swipe-action"
17607
+ className: classPrefix$a
17569
17608
  }, bind(), {
17570
17609
  ref: rootRef,
17571
17610
  onClickCapture: (e2) => {
@@ -17575,15 +17614,15 @@ const SwipeAction = forwardRef((p2, ref) => {
17575
17614
  }
17576
17615
  }
17577
17616
  }), React$1.createElement(animated.div, {
17578
- className: "adm-swipe-action-track",
17617
+ className: `${classPrefix$a}-track`,
17579
17618
  style: {
17580
17619
  x
17581
17620
  }
17582
17621
  }, withStopPropagation(props.stopPropagation, React$1.createElement("div", {
17583
- className: "adm-swipe-action-actions adm-swipe-action-actions-left",
17622
+ className: `${classPrefix$a}-actions ${classPrefix$a}-actions-left`,
17584
17623
  ref: leftRef
17585
17624
  }, props.leftActions.map(renderAction))), React$1.createElement("div", {
17586
- className: "adm-swipe-action-content",
17625
+ className: `${classPrefix$a}-content`,
17587
17626
  onClickCapture: (e2) => {
17588
17627
  if (x.goal !== 0) {
17589
17628
  e2.preventDefault();
@@ -17598,7 +17637,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17598
17637
  pointerEvents: x.to((v) => v !== 0 && x.goal !== 0 ? "none" : "auto")
17599
17638
  }
17600
17639
  }, props.children)), withStopPropagation(props.stopPropagation, React$1.createElement("div", {
17601
- className: "adm-swipe-action-actions adm-swipe-action-actions-right",
17640
+ className: `${classPrefix$a}-actions ${classPrefix$a}-actions-right`,
17602
17641
  ref: rightRef
17603
17642
  }, props.rightActions.map(renderAction))))));
17604
17643
  });
@@ -17625,6 +17664,7 @@ function useRefState(initialState) {
17625
17664
  }, [state]);
17626
17665
  return [state, setState, ref];
17627
17666
  }
17667
+ const classPrefix$9 = `adm-swiper`;
17628
17668
  const defaultProps$9 = {
17629
17669
  defaultIndex: 0,
17630
17670
  allowTouchMove: true,
@@ -17809,10 +17849,10 @@ const Swiper = forwardRef(staged((p2, ref) => {
17809
17849
  function renderTrackInner() {
17810
17850
  if (loop) {
17811
17851
  return React$1.createElement("div", {
17812
- className: "adm-swiper-track-inner"
17852
+ className: `${classPrefix$9}-track-inner`
17813
17853
  }, React$1.Children.map(validChildren, (child, index2) => {
17814
17854
  return React$1.createElement(animated.div, {
17815
- className: "adm-swiper-slide",
17855
+ className: `${classPrefix$9}-slide`,
17816
17856
  style: {
17817
17857
  [isVertical ? "y" : "x"]: position.to((position2) => {
17818
17858
  let finalPosition = -position2 + index2 * 100;
@@ -17827,13 +17867,13 @@ const Swiper = forwardRef(staged((p2, ref) => {
17827
17867
  }));
17828
17868
  } else {
17829
17869
  return React$1.createElement(animated.div, {
17830
- className: "adm-swiper-track-inner",
17870
+ className: `${classPrefix$9}-track-inner`,
17831
17871
  style: {
17832
17872
  [isVertical ? "y" : "x"]: position.to((position2) => `${-position2}%`)
17833
17873
  }
17834
17874
  }, React$1.Children.map(validChildren, (child) => {
17835
17875
  return React$1.createElement("div", {
17836
- className: "adm-swiper-slide"
17876
+ className: `${classPrefix$9}-slide`
17837
17877
  }, child);
17838
17878
  }));
17839
17879
  }
@@ -17843,12 +17883,12 @@ const Swiper = forwardRef(staged((p2, ref) => {
17843
17883
  "--track-offset": `${props.trackOffset}%`
17844
17884
  };
17845
17885
  return withNativeProps(props, React$1.createElement("div", {
17846
- className: classNames("adm-swiper", `adm-swiper-${props.direction}`),
17886
+ className: classNames(classPrefix$9, `${classPrefix$9}-${props.direction}`),
17847
17887
  style
17848
17888
  }, React$1.createElement("div", Object.assign({
17849
17889
  ref: trackRef,
17850
- className: classNames("adm-swiper-track", {
17851
- "adm-swiper-track-allow-touch-move": props.allowTouchMove
17890
+ className: classNames(`${classPrefix$9}-track`, {
17891
+ [`${classPrefix$9}-track-allow-touch-move`]: props.allowTouchMove
17852
17892
  }),
17853
17893
  onClickCapture: (e2) => {
17854
17894
  if (draggingRef.current) {
@@ -17856,7 +17896,7 @@ const Swiper = forwardRef(staged((p2, ref) => {
17856
17896
  }
17857
17897
  }
17858
17898
  }, props.allowTouchMove ? bind() : {}), renderTrackInner()), props.indicator === void 0 ? React$1.createElement("div", {
17859
- className: "adm-swiper-indicator"
17899
+ className: `${classPrefix$9}-indicator`
17860
17900
  }, React$1.createElement(PageIndicator, Object.assign({}, props.indicatorProps, {
17861
17901
  total: count,
17862
17902
  current,
@@ -17988,7 +18028,7 @@ const TabBar = (p2) => {
17988
18028
  className: `${classPrefix$7}-item-icon`
17989
18029
  }, typeof item.props.icon === "function" ? item.props.icon(active) : item.props.icon);
17990
18030
  const titleElement = item.props.title && React$1.createElement("div", {
17991
- className: `${classPrefix$7}-item-title`
18031
+ className: classNames(`${classPrefix$7}-item-title`, Boolean(iconElement) && `${classPrefix$7}-item-title-with-icon`)
17992
18032
  }, typeof item.props.title === "function" ? item.props.title(active) : item.props.title);
17993
18033
  if (iconElement) {
17994
18034
  return React$1.createElement(React$1.Fragment, null, React$1.createElement(Badge, {
@@ -18833,4 +18873,4 @@ const WaterMark = (p2) => {
18833
18873
  }
18834
18874
  }));
18835
18875
  };
18836
- export { index$h as ActionSheet, AutoCenter, Avatar, Badge, Button, Calendar, index$g as CapsuleTabs, Card, index$f as CascadePicker, CascadePickerView, index$e as Cascader, CascaderView, CheckList, Checkbox, index$d as Collapse, ConfigProvider, index$c as DatePicker, DatePickerView, index$b as Dialog, Divider, DotLoading, index$a as Dropdown, Ellipsis, Empty, ErrorBlock, FloatingBubble, FloatingPanel, Form, Grid, Image$1 as Image, ImageUploader, ImageViewer, index$8 as IndexBar, InfiniteScroll, Input, index$7 as JumboTabs, List, DotLoading as Loading, Mask, index$6 as Modal, NavBar, NoticeBar, NumberKeyboard, PageIndicator, PasscodeInput, Picker, PickerView, Popover, Popup, ProgressBar, ProgressCircle, PullToRefresh, index$5 as Radio, Rate, Result, SafeArea, ScrollMask, SearchBar, Selector, index$4 as SideBar, Skeleton, Slider, Space, SpinLoading, Stepper, index$3 as Steps, SwipeAction, index$2 as Swiper, Switch, index$1 as TabBar, Tabs, Tag, TextArea, Toast, index as TreeSelect, VirtualInput, WaterMark, createErrorBlock, reduceMotion, restoreMotion, setDefaultConfig };
18876
+ export { index$h as ActionSheet, AutoCenter, Avatar, Badge, Button, Calendar, index$g as CapsuleTabs, Card, index$f as CascadePicker, CascadePickerView, index$e as Cascader, CascaderView, CenterPopup, CheckList, Checkbox, index$d as Collapse, ConfigProvider, index$c as DatePicker, DatePickerView, index$b as Dialog, Divider, DotLoading, index$a as Dropdown, Ellipsis, Empty, ErrorBlock, FloatingBubble, FloatingPanel, Form, Grid, Image$1 as Image, ImageUploader, ImageViewer, index$8 as IndexBar, InfiniteScroll, Input, index$7 as JumboTabs, List, DotLoading as Loading, Mask, index$6 as Modal, NavBar, NoticeBar, NumberKeyboard, PageIndicator, PasscodeInput, Picker, PickerView, Popover, Popup, ProgressBar, ProgressCircle, PullToRefresh, index$5 as Radio, Rate, Result, SafeArea, ScrollMask, SearchBar, Selector, index$4 as SideBar, Skeleton, Slider, Space, SpinLoading, Stepper, index$3 as Steps, SwipeAction, index$2 as Swiper, Switch, index$1 as TabBar, Tabs, Tag, TextArea, Toast, index as TreeSelect, VirtualInput, WaterMark, createErrorBlock, reduceMotion, restoreMotion, setDefaultConfig };