antd-mobile 5.13.1 → 5.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/2x/bundle/antd-mobile.cjs.js +18963 -0
  2. package/2x/bundle/antd-mobile.es.js +18872 -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 +24 -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 +23 -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.patch.css +24 -0
  66. package/2x/cjs/components/popup/popup.css +1 -1
  67. package/2x/cjs/components/popup/popup.d.ts +11 -12
  68. package/2x/cjs/components/radio/radio.css +2 -2
  69. package/2x/cjs/components/result/result.css +2 -2
  70. package/2x/cjs/components/scroll-mask/scroll-mask.css +2 -2
  71. package/2x/cjs/components/scroll-mask/scroll-mask.patch.css +7 -0
  72. package/2x/cjs/components/search-bar/search-bar.css +4 -4
  73. package/2x/cjs/components/selector/selector.css +3 -3
  74. package/2x/cjs/components/side-bar/corner.js +1 -1
  75. package/2x/cjs/components/side-bar/side-bar.css +3 -3
  76. package/2x/cjs/components/slider/slider.css +26 -24
  77. package/2x/cjs/components/slider/slider.d.ts +3 -2
  78. package/2x/cjs/components/slider/slider.js +4 -2
  79. package/2x/cjs/components/slider/thumb-icon.js +20 -18
  80. package/2x/cjs/components/slider/thumb.d.ts +2 -1
  81. package/2x/cjs/components/slider/thumb.js +19 -5
  82. package/2x/cjs/components/space/space.patch.css +16 -0
  83. package/2x/cjs/components/spin-loading/spin-loading.css +0 -3
  84. package/2x/cjs/components/spin-loading/spin-loading.patch.css +14 -0
  85. package/2x/cjs/components/stepper/stepper.css +3 -3
  86. package/2x/cjs/components/steps/steps.css +2 -2
  87. package/2x/cjs/components/swipe-action/swipe-action.css +1 -1
  88. package/2x/cjs/components/swipe-action/swipe-action.js +7 -6
  89. package/2x/cjs/components/swiper/swiper.js +9 -8
  90. package/2x/cjs/components/swiper/swiper.patch.css +26 -0
  91. package/2x/cjs/components/switch/switch.css +4 -4
  92. package/2x/cjs/components/tab-bar/tab-bar.css +8 -5
  93. package/2x/cjs/components/tab-bar/tab-bar.js +1 -1
  94. package/2x/cjs/components/tabs/tabs.css +4 -4
  95. package/2x/cjs/components/tabs/tabs.patch.css +29 -0
  96. package/2x/cjs/components/tag/tag.css +1 -1
  97. package/2x/cjs/components/text-area/text-area.css +2 -2
  98. package/2x/cjs/components/toast/toast.css +1 -1
  99. package/2x/cjs/components/toast/toast.patch.css +13 -0
  100. package/2x/cjs/components/tree-select/tree-select.css +1 -1
  101. package/2x/cjs/components/virtual-input/virtual-input.css +2 -2
  102. package/2x/cjs/global/css-vars-patch.css +399 -0
  103. package/2x/cjs/global/global.css +36 -4
  104. package/2x/cjs/global/index.js +2 -1
  105. package/2x/cjs/global/theme-dark.css +14 -0
  106. package/2x/cjs/global/theme-default.css +33 -0
  107. package/2x/cjs/index.d.ts +1 -0
  108. package/2x/cjs/index.js +8 -0
  109. package/2x/cjs/locales/base.d.ts +2 -0
  110. package/2x/cjs/locales/base.js +3 -1
  111. package/2x/cjs/locales/en-US.d.ts +2 -0
  112. package/2x/cjs/locales/es-ES.d.ts +2 -0
  113. package/2x/cjs/locales/fa-IR.d.ts +2 -0
  114. package/2x/cjs/locales/fr-FR.d.ts +2 -0
  115. package/2x/cjs/locales/ko-KR.d.ts +2 -0
  116. package/2x/cjs/locales/zh-CN.d.ts +2 -0
  117. package/2x/cjs/locales/zh-CN.js +3 -1
  118. package/2x/cjs/locales/zh-HK.d.ts +2 -0
  119. package/2x/cjs/locales/zh-TW.d.ts +2 -0
  120. package/2x/es/components/action-sheet/action-sheet.css +8 -8
  121. package/2x/es/components/badge/badge.css +2 -2
  122. package/2x/es/components/button/button.css +6 -6
  123. package/2x/es/components/button/button.patch.css +106 -0
  124. package/2x/es/components/calendar/calendar.css +5 -5
  125. package/2x/es/components/capsule-tabs/capsule-tabs.css +4 -24
  126. package/2x/es/components/card/card.css +3 -3
  127. package/2x/es/components/cascader/cascader.css +2 -2
  128. package/2x/es/components/cascader/cascader.d.ts +1 -0
  129. package/2x/es/components/cascader-view/cascader-view.css +2 -2
  130. package/2x/es/components/cascader-view/cascader-view.d.ts +1 -0
  131. package/2x/es/components/cascader-view/cascader-view.js +14 -8
  132. package/2x/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  133. package/2x/es/components/center-popup/center-popup.css +29 -0
  134. package/2x/es/components/center-popup/center-popup.d.ts +23 -0
  135. package/2x/es/components/center-popup/center-popup.js +86 -0
  136. package/2x/es/components/center-popup/center-popup.patch.css +13 -0
  137. package/2x/es/components/center-popup/index.d.ts +4 -0
  138. package/2x/es/components/center-popup/index.js +3 -0
  139. package/2x/es/components/check-list/check-list.css +1 -1
  140. package/2x/es/components/checkbox/checkbox.css +3 -3
  141. package/2x/es/components/dialog/dialog.css +21 -34
  142. package/2x/es/components/dialog/dialog.d.ts +4 -18
  143. package/2x/es/components/dialog/dialog.js +23 -72
  144. package/2x/es/components/divider/divider.css +2 -2
  145. package/2x/es/components/dropdown/dropdown.css +2 -2
  146. package/2x/es/components/ellipsis/ellipsis.js +0 -1
  147. package/2x/es/components/empty/empty.css +1 -1
  148. package/2x/es/components/error-block/error-block.css +4 -4
  149. package/2x/es/components/error-block/error-block.patch.css +29 -0
  150. package/2x/es/components/form/form-item.css +2 -2
  151. package/2x/es/components/form/form.css +3 -3
  152. package/2x/es/components/form/index.css +5 -5
  153. package/2x/es/components/image/image.css +1 -1
  154. package/2x/es/components/image/image.js +2 -0
  155. package/2x/es/components/image/image.patch.css +12 -0
  156. package/2x/es/components/image-uploader/image-uploader.css +4 -4
  157. package/2x/es/components/image-viewer/image-viewer.css +1 -1
  158. package/2x/es/components/index-bar/index-bar.css +4 -4
  159. package/2x/es/components/infinite-scroll/infinite-scroll.css +6 -1
  160. package/2x/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  161. package/2x/es/components/infinite-scroll/infinite-scroll.js +47 -17
  162. package/2x/es/components/input/input.css +2 -2
  163. package/2x/es/components/jumbo-tabs/jumbo-tabs.css +4 -24
  164. package/2x/es/components/list/list.css +10 -11
  165. package/2x/es/components/mask/mask.patch.css +3 -0
  166. package/2x/es/components/modal/modal.css +14 -29
  167. package/2x/es/components/modal/modal.d.ts +4 -18
  168. package/2x/es/components/modal/modal.js +22 -74
  169. package/2x/es/components/modal/modal.patch.css +29 -0
  170. package/2x/es/components/nav-bar/nav-bar.css +2 -2
  171. package/2x/es/components/notice-bar/notice-bar.css +4 -4
  172. package/2x/es/components/number-keyboard/number-keyboard.css +4 -4
  173. package/2x/es/components/page-indicator/page-indicator.patch.css +31 -0
  174. package/2x/es/components/passcode-input/passcode-input.css +1 -1
  175. package/2x/es/components/picker/picker.css +6 -7
  176. package/2x/es/components/picker-view/picker-view.css +3 -3
  177. package/2x/es/components/popover/popover-menu.css +1 -1
  178. package/2x/es/components/popover/popover-menu.patch.css +31 -0
  179. package/2x/es/components/popover/popover.css +3 -2
  180. package/2x/es/components/popover/popover.patch.css +24 -0
  181. package/2x/es/components/popup/popup.css +1 -1
  182. package/2x/es/components/popup/popup.d.ts +11 -12
  183. package/2x/es/components/radio/radio.css +2 -2
  184. package/2x/es/components/result/result.css +2 -2
  185. package/2x/es/components/scroll-mask/scroll-mask.css +2 -2
  186. package/2x/es/components/scroll-mask/scroll-mask.patch.css +7 -0
  187. package/2x/es/components/search-bar/search-bar.css +4 -4
  188. package/2x/es/components/selector/selector.css +3 -3
  189. package/2x/es/components/side-bar/corner.js +1 -1
  190. package/2x/es/components/side-bar/side-bar.css +3 -3
  191. package/2x/es/components/slider/slider.css +26 -24
  192. package/2x/es/components/slider/slider.d.ts +3 -2
  193. package/2x/es/components/slider/slider.js +4 -2
  194. package/2x/es/components/slider/thumb-icon.js +20 -18
  195. package/2x/es/components/slider/thumb.d.ts +2 -1
  196. package/2x/es/components/slider/thumb.js +17 -6
  197. package/2x/es/components/space/space.patch.css +16 -0
  198. package/2x/es/components/spin-loading/spin-loading.css +0 -3
  199. package/2x/es/components/spin-loading/spin-loading.patch.css +14 -0
  200. package/2x/es/components/stepper/stepper.css +3 -3
  201. package/2x/es/components/steps/steps.css +2 -2
  202. package/2x/es/components/swipe-action/swipe-action.css +1 -1
  203. package/2x/es/components/swipe-action/swipe-action.js +7 -6
  204. package/2x/es/components/swiper/swiper.js +9 -8
  205. package/2x/es/components/swiper/swiper.patch.css +26 -0
  206. package/2x/es/components/switch/switch.css +4 -4
  207. package/2x/es/components/tab-bar/tab-bar.css +8 -5
  208. package/2x/es/components/tab-bar/tab-bar.js +1 -1
  209. package/2x/es/components/tabs/tabs.css +4 -4
  210. package/2x/es/components/tabs/tabs.patch.css +29 -0
  211. package/2x/es/components/tag/tag.css +1 -1
  212. package/2x/es/components/text-area/text-area.css +2 -2
  213. package/2x/es/components/toast/toast.css +1 -1
  214. package/2x/es/components/toast/toast.patch.css +13 -0
  215. package/2x/es/components/tree-select/tree-select.css +1 -1
  216. package/2x/es/components/virtual-input/virtual-input.css +2 -2
  217. package/2x/es/global/css-vars-patch.css +399 -0
  218. package/2x/es/global/global.css +36 -4
  219. package/2x/es/global/index.js +2 -1
  220. package/2x/es/global/theme-dark.css +14 -0
  221. package/2x/es/global/theme-default.css +33 -0
  222. package/2x/es/index.d.ts +1 -0
  223. package/2x/es/index.js +1 -0
  224. package/2x/es/locales/base.d.ts +2 -0
  225. package/2x/es/locales/base.js +3 -1
  226. package/2x/es/locales/en-US.d.ts +2 -0
  227. package/2x/es/locales/es-ES.d.ts +2 -0
  228. package/2x/es/locales/fa-IR.d.ts +2 -0
  229. package/2x/es/locales/fr-FR.d.ts +2 -0
  230. package/2x/es/locales/ko-KR.d.ts +2 -0
  231. package/2x/es/locales/zh-CN.d.ts +2 -0
  232. package/2x/es/locales/zh-CN.js +3 -1
  233. package/2x/es/locales/zh-HK.d.ts +2 -0
  234. package/2x/es/locales/zh-TW.d.ts +2 -0
  235. package/2x/package.json +1 -1
  236. package/2x/umd/antd-mobile.js +2 -0
  237. package/2x/umd/antd-mobile.js.LICENSE.txt +35 -0
  238. package/bundle/antd-mobile.cjs.js +771 -736
  239. package/bundle/antd-mobile.es.js +771 -737
  240. package/bundle/css-vars-patch.css +312 -0
  241. package/bundle/style.css +272 -271
  242. package/cjs/components/action-sheet/action-sheet.css +8 -8
  243. package/cjs/components/badge/badge.css +2 -2
  244. package/cjs/components/button/button.css +6 -6
  245. package/cjs/components/button/button.patch.css +86 -0
  246. package/cjs/components/calendar/calendar.css +5 -5
  247. package/cjs/components/capsule-tabs/capsule-tabs.css +4 -21
  248. package/cjs/components/card/card.css +3 -3
  249. package/cjs/components/cascader/cascader.css +2 -2
  250. package/cjs/components/cascader/cascader.d.ts +1 -0
  251. package/cjs/components/cascader-view/cascader-view.css +2 -2
  252. package/cjs/components/cascader-view/cascader-view.d.ts +1 -0
  253. package/cjs/components/cascader-view/cascader-view.js +14 -8
  254. package/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
  255. package/cjs/components/center-popup/center-popup.css +26 -0
  256. package/cjs/components/center-popup/center-popup.d.ts +23 -0
  257. package/cjs/components/center-popup/center-popup.js +116 -0
  258. package/cjs/components/center-popup/center-popup.patch.css +11 -0
  259. package/cjs/components/center-popup/index.d.ts +4 -0
  260. package/cjs/components/center-popup/index.js +13 -0
  261. package/cjs/components/check-list/check-list.css +1 -1
  262. package/cjs/components/checkbox/checkbox.css +3 -3
  263. package/cjs/components/dialog/dialog.css +21 -33
  264. package/cjs/components/dialog/dialog.d.ts +4 -18
  265. package/cjs/components/dialog/dialog.js +24 -84
  266. package/cjs/components/divider/divider.css +2 -2
  267. package/cjs/components/dropdown/dropdown.css +2 -2
  268. package/cjs/components/ellipsis/ellipsis.js +0 -1
  269. package/cjs/components/empty/empty.css +1 -1
  270. package/cjs/components/error-block/error-block.css +4 -4
  271. package/cjs/components/error-block/error-block.patch.css +23 -0
  272. package/cjs/components/form/form-item.css +2 -2
  273. package/cjs/components/form/form.css +3 -3
  274. package/cjs/components/form/index.css +5 -5
  275. package/cjs/components/image/image.css +1 -1
  276. package/cjs/components/image/image.js +2 -0
  277. package/cjs/components/image/image.patch.css +10 -0
  278. package/cjs/components/image-uploader/image-uploader.css +4 -4
  279. package/cjs/components/image-viewer/image-viewer.css +1 -1
  280. package/cjs/components/index-bar/index-bar.css +4 -4
  281. package/cjs/components/infinite-scroll/infinite-scroll.css +5 -1
  282. package/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  283. package/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
  284. package/cjs/components/input/input.css +2 -2
  285. package/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -21
  286. package/cjs/components/list/list.css +10 -11
  287. package/cjs/components/mask/mask.patch.css +3 -0
  288. package/cjs/components/modal/modal.css +15 -29
  289. package/cjs/components/modal/modal.d.ts +4 -18
  290. package/cjs/components/modal/modal.js +23 -86
  291. package/cjs/components/modal/modal.patch.css +23 -0
  292. package/cjs/components/nav-bar/nav-bar.css +2 -2
  293. package/cjs/components/notice-bar/notice-bar.css +4 -4
  294. package/cjs/components/number-keyboard/number-keyboard.css +4 -4
  295. package/cjs/components/page-indicator/page-indicator.patch.css +25 -0
  296. package/cjs/components/passcode-input/passcode-input.css +1 -1
  297. package/cjs/components/picker/picker.css +6 -7
  298. package/cjs/components/picker-view/picker-view.css +3 -3
  299. package/cjs/components/popover/popover-menu.css +1 -1
  300. package/cjs/components/popover/popover-menu.patch.css +24 -0
  301. package/cjs/components/popover/popover.css +3 -2
  302. package/cjs/components/popover/popover.patch.css +19 -0
  303. package/cjs/components/popup/popup.css +1 -1
  304. package/cjs/components/popup/popup.d.ts +11 -12
  305. package/cjs/components/radio/radio.css +2 -2
  306. package/cjs/components/result/result.css +2 -2
  307. package/cjs/components/scroll-mask/scroll-mask.css +2 -2
  308. package/cjs/components/scroll-mask/scroll-mask.patch.css +6 -0
  309. package/cjs/components/search-bar/search-bar.css +4 -4
  310. package/cjs/components/selector/selector.css +3 -3
  311. package/cjs/components/side-bar/corner.js +1 -1
  312. package/cjs/components/side-bar/side-bar.css +3 -3
  313. package/cjs/components/slider/slider.css +26 -24
  314. package/cjs/components/slider/slider.d.ts +3 -2
  315. package/cjs/components/slider/slider.js +4 -2
  316. package/cjs/components/slider/thumb-icon.js +20 -18
  317. package/cjs/components/slider/thumb.d.ts +2 -1
  318. package/cjs/components/slider/thumb.js +19 -5
  319. package/cjs/components/space/space.patch.css +13 -0
  320. package/cjs/components/spin-loading/spin-loading.css +0 -3
  321. package/cjs/components/spin-loading/spin-loading.patch.css +12 -0
  322. package/cjs/components/stepper/stepper.css +3 -3
  323. package/cjs/components/steps/steps.css +2 -2
  324. package/cjs/components/swipe-action/swipe-action.css +1 -1
  325. package/cjs/components/swipe-action/swipe-action.js +7 -6
  326. package/cjs/components/swiper/swiper.js +9 -8
  327. package/cjs/components/swiper/swiper.patch.css +21 -0
  328. package/cjs/components/switch/switch.css +4 -4
  329. package/cjs/components/tab-bar/tab-bar.css +7 -5
  330. package/cjs/components/tab-bar/tab-bar.js +1 -1
  331. package/cjs/components/tabs/tabs.css +4 -4
  332. package/cjs/components/tabs/tabs.patch.css +23 -0
  333. package/cjs/components/tag/tag.css +1 -1
  334. package/cjs/components/text-area/text-area.css +2 -2
  335. package/cjs/components/toast/toast.css +1 -1
  336. package/cjs/components/toast/toast.patch.css +11 -0
  337. package/cjs/components/tree-select/tree-select.css +1 -1
  338. package/cjs/components/virtual-input/virtual-input.css +2 -2
  339. package/cjs/global/css-vars-patch.css +312 -0
  340. package/cjs/global/global.css +35 -4
  341. package/cjs/global/index.js +2 -1
  342. package/cjs/global/theme-dark.css +14 -0
  343. package/cjs/global/theme-default.css +33 -0
  344. package/cjs/index.d.ts +1 -0
  345. package/cjs/index.js +8 -0
  346. package/cjs/locales/base.d.ts +2 -0
  347. package/cjs/locales/base.js +3 -1
  348. package/cjs/locales/en-US.d.ts +2 -0
  349. package/cjs/locales/es-ES.d.ts +2 -0
  350. package/cjs/locales/fa-IR.d.ts +2 -0
  351. package/cjs/locales/fr-FR.d.ts +2 -0
  352. package/cjs/locales/ko-KR.d.ts +2 -0
  353. package/cjs/locales/zh-CN.d.ts +2 -0
  354. package/cjs/locales/zh-CN.js +3 -1
  355. package/cjs/locales/zh-HK.d.ts +2 -0
  356. package/cjs/locales/zh-TW.d.ts +2 -0
  357. package/es/components/action-sheet/action-sheet.css +8 -8
  358. package/es/components/badge/badge.css +2 -2
  359. package/es/components/button/button.css +6 -6
  360. package/es/components/button/button.patch.css +86 -0
  361. package/es/components/calendar/calendar.css +5 -5
  362. package/es/components/capsule-tabs/capsule-tabs.css +4 -21
  363. package/es/components/card/card.css +3 -3
  364. package/es/components/cascader/cascader.css +2 -2
  365. package/es/components/cascader/cascader.d.ts +1 -0
  366. package/es/components/cascader-view/cascader-view.css +2 -2
  367. package/es/components/cascader-view/cascader-view.d.ts +1 -0
  368. package/es/components/cascader-view/cascader-view.js +14 -8
  369. package/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  370. package/es/components/center-popup/center-popup.css +26 -0
  371. package/es/components/center-popup/center-popup.d.ts +23 -0
  372. package/es/components/center-popup/center-popup.js +86 -0
  373. package/es/components/center-popup/center-popup.patch.css +11 -0
  374. package/es/components/center-popup/index.d.ts +4 -0
  375. package/es/components/center-popup/index.js +3 -0
  376. package/es/components/check-list/check-list.css +1 -1
  377. package/es/components/checkbox/checkbox.css +3 -3
  378. package/es/components/dialog/dialog.css +21 -33
  379. package/es/components/dialog/dialog.d.ts +4 -18
  380. package/es/components/dialog/dialog.js +23 -72
  381. package/es/components/divider/divider.css +2 -2
  382. package/es/components/dropdown/dropdown.css +2 -2
  383. package/es/components/ellipsis/ellipsis.js +0 -1
  384. package/es/components/empty/empty.css +1 -1
  385. package/es/components/error-block/error-block.css +4 -4
  386. package/es/components/error-block/error-block.patch.css +23 -0
  387. package/es/components/form/form-item.css +2 -2
  388. package/es/components/form/form.css +3 -3
  389. package/es/components/form/index.css +5 -5
  390. package/es/components/image/image.css +1 -1
  391. package/es/components/image/image.js +2 -0
  392. package/es/components/image/image.patch.css +10 -0
  393. package/es/components/image-uploader/image-uploader.css +4 -4
  394. package/es/components/image-viewer/image-viewer.css +1 -1
  395. package/es/components/index-bar/index-bar.css +4 -4
  396. package/es/components/infinite-scroll/infinite-scroll.css +5 -1
  397. package/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  398. package/es/components/infinite-scroll/infinite-scroll.js +47 -17
  399. package/es/components/input/input.css +2 -2
  400. package/es/components/jumbo-tabs/jumbo-tabs.css +4 -21
  401. package/es/components/list/list.css +10 -11
  402. package/es/components/mask/mask.patch.css +3 -0
  403. package/es/components/modal/modal.css +15 -29
  404. package/es/components/modal/modal.d.ts +4 -18
  405. package/es/components/modal/modal.js +22 -74
  406. package/es/components/modal/modal.patch.css +23 -0
  407. package/es/components/nav-bar/nav-bar.css +2 -2
  408. package/es/components/notice-bar/notice-bar.css +4 -4
  409. package/es/components/number-keyboard/number-keyboard.css +4 -4
  410. package/es/components/page-indicator/page-indicator.patch.css +25 -0
  411. package/es/components/passcode-input/passcode-input.css +1 -1
  412. package/es/components/picker/picker.css +6 -7
  413. package/es/components/picker-view/picker-view.css +3 -3
  414. package/es/components/popover/popover-menu.css +1 -1
  415. package/es/components/popover/popover-menu.patch.css +24 -0
  416. package/es/components/popover/popover.css +3 -2
  417. package/es/components/popover/popover.patch.css +19 -0
  418. package/es/components/popup/popup.css +1 -1
  419. package/es/components/popup/popup.d.ts +11 -12
  420. package/es/components/radio/radio.css +2 -2
  421. package/es/components/result/result.css +2 -2
  422. package/es/components/scroll-mask/scroll-mask.css +2 -2
  423. package/es/components/scroll-mask/scroll-mask.patch.css +6 -0
  424. package/es/components/search-bar/search-bar.css +4 -4
  425. package/es/components/selector/selector.css +3 -3
  426. package/es/components/side-bar/corner.js +1 -1
  427. package/es/components/side-bar/side-bar.css +3 -3
  428. package/es/components/slider/slider.css +26 -24
  429. package/es/components/slider/slider.d.ts +3 -2
  430. package/es/components/slider/slider.js +4 -2
  431. package/es/components/slider/thumb-icon.js +20 -18
  432. package/es/components/slider/thumb.d.ts +2 -1
  433. package/es/components/slider/thumb.js +17 -6
  434. package/es/components/space/space.patch.css +13 -0
  435. package/es/components/spin-loading/spin-loading.css +0 -3
  436. package/es/components/spin-loading/spin-loading.patch.css +12 -0
  437. package/es/components/stepper/stepper.css +3 -3
  438. package/es/components/steps/steps.css +2 -2
  439. package/es/components/swipe-action/swipe-action.css +1 -1
  440. package/es/components/swipe-action/swipe-action.js +7 -6
  441. package/es/components/swiper/swiper.js +9 -8
  442. package/es/components/swiper/swiper.patch.css +21 -0
  443. package/es/components/switch/switch.css +4 -4
  444. package/es/components/tab-bar/tab-bar.css +7 -5
  445. package/es/components/tab-bar/tab-bar.js +1 -1
  446. package/es/components/tabs/tabs.css +4 -4
  447. package/es/components/tabs/tabs.patch.css +23 -0
  448. package/es/components/tag/tag.css +1 -1
  449. package/es/components/text-area/text-area.css +2 -2
  450. package/es/components/toast/toast.css +1 -1
  451. package/es/components/toast/toast.patch.css +11 -0
  452. package/es/components/tree-select/tree-select.css +1 -1
  453. package/es/components/virtual-input/virtual-input.css +2 -2
  454. package/es/global/css-vars-patch.css +312 -0
  455. package/es/global/global.css +35 -4
  456. package/es/global/index.js +2 -1
  457. package/es/global/theme-dark.css +14 -0
  458. package/es/global/theme-default.css +33 -0
  459. package/es/index.d.ts +1 -0
  460. package/es/index.js +1 -0
  461. package/es/locales/base.d.ts +2 -0
  462. package/es/locales/base.js +3 -1
  463. package/es/locales/en-US.d.ts +2 -0
  464. package/es/locales/es-ES.d.ts +2 -0
  465. package/es/locales/fa-IR.d.ts +2 -0
  466. package/es/locales/fr-FR.d.ts +2 -0
  467. package/es/locales/ko-KR.d.ts +2 -0
  468. package/es/locales/zh-CN.d.ts +2 -0
  469. package/es/locales/zh-CN.js +3 -1
  470. package/es/locales/zh-HK.d.ts +2 -0
  471. package/es/locales/zh-TW.d.ts +2 -0
  472. package/package.json +1 -1
  473. package/umd/antd-mobile.js +1 -1
  474. package/2x/cjs/global/theme.css +0 -16
  475. package/2x/es/global/theme.css +0 -16
  476. package/cjs/global/theme.css +0 -16
  477. 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,24 @@ 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
+ afterClose: props.afterClose,
12479
+ afterShow: props.afterShow,
12480
+ onMaskClick: props.closeOnMaskClick ? () => {
12481
+ var _a;
12482
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
12483
+ } : void 0,
12484
+ visible: props.visible,
12485
+ getContainer: props.getContainer,
12486
+ bodyStyle: props.bodyStyle,
12487
+ bodyClassName: classNames(cls$1("body"), props.image && cls$1("with-image"), props.bodyClassName),
12488
+ maskStyle: props.maskStyle,
12489
+ maskClassName: props.maskClassName,
12490
+ stopPropagation: props.stopPropagation,
12491
+ disableBodyScroll: props.disableBodyScroll,
12492
+ destroyOnClose: props.destroyOnClose,
12493
+ forceRender: props.forceRender
12494
+ }, element);
12457
12495
  };
12458
12496
  function cls$1(name = "") {
12459
12497
  return "adm-dialog" + (name && "-") + name;
@@ -12491,7 +12529,7 @@ function alert$1(p2) {
12491
12529
  }));
12492
12530
  });
12493
12531
  }
12494
- const defaultProps$F = {
12532
+ const defaultProps$G = {
12495
12533
  confirmText: "\u786E\u8BA4",
12496
12534
  cancelText: "\u53D6\u6D88"
12497
12535
  };
@@ -12499,7 +12537,7 @@ function confirm$1(p2) {
12499
12537
  const {
12500
12538
  locale
12501
12539
  } = getDefaultConfig();
12502
- const props = mergeProps(defaultProps$F, {
12540
+ const props = mergeProps(defaultProps$G, {
12503
12541
  confirmText: locale.common.confirm,
12504
12542
  cancelText: locale.common.cancel
12505
12543
  }, p2);
@@ -12544,37 +12582,37 @@ var index$b = attachPropertiesToComponent(Dialog, {
12544
12582
  clear: clear$2
12545
12583
  });
12546
12584
  var divider = "";
12547
- const classPrefix$R = `adm-divider`;
12548
- const defaultProps$E = {
12585
+ const classPrefix$T = `adm-divider`;
12586
+ const defaultProps$F = {
12549
12587
  contentPosition: "center",
12550
12588
  direction: "horizontal"
12551
12589
  };
12552
12590
  const Divider = (p2) => {
12553
- const props = mergeProps(defaultProps$E, p2);
12591
+ const props = mergeProps(defaultProps$F, p2);
12554
12592
  return withNativeProps(props, React$1.createElement("div", {
12555
- className: classNames(classPrefix$R, `${classPrefix$R}-${props.direction}`, `${classPrefix$R}-${props.contentPosition}`)
12593
+ className: classNames(classPrefix$T, `${classPrefix$T}-${props.direction}`, `${classPrefix$T}-${props.contentPosition}`)
12556
12594
  }, props.children && React$1.createElement("div", {
12557
- className: `${classPrefix$R}-content`
12595
+ className: `${classPrefix$T}-content`
12558
12596
  }, props.children)));
12559
12597
  };
12560
12598
  var dropdown = "";
12561
- const classPrefix$Q = `adm-dropdown-item`;
12599
+ const classPrefix$S = `adm-dropdown-item`;
12562
12600
  const Item = (props) => {
12563
12601
  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
12602
+ const cls2 = classNames(classPrefix$S, {
12603
+ [`${classPrefix$S}-active`]: props.active,
12604
+ [`${classPrefix$S}-highlight`]: (_a = props.highlight) !== null && _a !== void 0 ? _a : props.active
12567
12605
  });
12568
12606
  return withNativeProps(props, React$1.createElement("div", {
12569
12607
  className: cls2,
12570
12608
  onClick: props.onClick
12571
12609
  }, React$1.createElement("div", {
12572
- className: `${classPrefix$Q}-title`
12610
+ className: `${classPrefix$S}-title`
12573
12611
  }, React$1.createElement("span", {
12574
- className: `${classPrefix$Q}-title-text`
12612
+ className: `${classPrefix$S}-title-text`
12575
12613
  }, props.title), React$1.createElement("span", {
12576
- className: classNames(`${classPrefix$Q}-title-arrow`, {
12577
- [`${classPrefix$Q}-title-arrow-active`]: props.active
12614
+ className: classNames(`${classPrefix$S}-title-arrow`, {
12615
+ [`${classPrefix$S}-title-arrow-active`]: props.active
12578
12616
  })
12579
12617
  }, props.arrow === void 0 ? React$1.createElement(DownFill, null) : props.arrow))));
12580
12618
  };
@@ -12583,22 +12621,22 @@ const ItemChildrenWrap = (props) => {
12583
12621
  active = false
12584
12622
  } = props;
12585
12623
  const shouldRender = useShouldRender(active, props.forceRender, props.destroyOnClose);
12586
- const cls2 = classNames(`${classPrefix$Q}-content`, {
12587
- [`${classPrefix$Q}-content-hidden`]: !active
12624
+ const cls2 = classNames(`${classPrefix$S}-content`, {
12625
+ [`${classPrefix$S}-content-hidden`]: !active
12588
12626
  });
12589
12627
  return shouldRender ? React$1.createElement("div", {
12590
12628
  className: cls2,
12591
12629
  onClick: props.onClick
12592
12630
  }, props.children) : null;
12593
12631
  };
12594
- const classPrefix$P = `adm-dropdown`;
12595
- const defaultProps$D = {
12632
+ const classPrefix$R = `adm-dropdown`;
12633
+ const defaultProps$E = {
12596
12634
  defaultActiveKey: null,
12597
12635
  closeOnMaskClick: true,
12598
12636
  closeOnClickAway: false
12599
12637
  };
12600
12638
  const Dropdown = forwardRef((p2, ref) => {
12601
- const props = mergeProps(defaultProps$D, p2);
12639
+ const props = mergeProps(defaultProps$E, p2);
12602
12640
  const [value, setValue] = usePropsValue({
12603
12641
  value: props.activeKey,
12604
12642
  defaultValue: props.defaultActiveKey,
@@ -12654,19 +12692,19 @@ const Dropdown = forwardRef((p2, ref) => {
12654
12692
  }
12655
12693
  }), [setValue]);
12656
12694
  return withNativeProps(props, React$1.createElement("div", {
12657
- className: classNames(classPrefix$P, {
12658
- [`${classPrefix$P}-open`]: !!value
12695
+ className: classNames(classPrefix$R, {
12696
+ [`${classPrefix$R}-open`]: !!value
12659
12697
  }),
12660
12698
  ref: containerRef
12661
12699
  }, React$1.createElement("div", {
12662
- className: `${classPrefix$P}-nav`,
12700
+ className: `${classPrefix$R}-nav`,
12663
12701
  ref: navRef
12664
12702
  }, navs), React$1.createElement(Popup, {
12665
12703
  visible: !!value,
12666
12704
  position: "top",
12667
- className: `${classPrefix$P}-popup`,
12668
- maskClassName: `${classPrefix$P}-popup-mask`,
12669
- bodyClassName: `${classPrefix$P}-popup-body`,
12705
+ className: `${classPrefix$R}-popup`,
12706
+ maskClassName: `${classPrefix$R}-popup-mask`,
12707
+ bodyClassName: `${classPrefix$R}-popup-body`,
12670
12708
  style: {
12671
12709
  top
12672
12710
  },
@@ -12690,8 +12728,8 @@ var index$a = attachPropertiesToComponent(Dropdown, {
12690
12728
  Item
12691
12729
  });
12692
12730
  var ellipsis = "";
12693
- const classPrefix$O = `adm-ellipsis`;
12694
- const defaultProps$C = {
12731
+ const classPrefix$Q = `adm-ellipsis`;
12732
+ const defaultProps$D = {
12695
12733
  direction: "end",
12696
12734
  rows: 1,
12697
12735
  expandText: "",
@@ -12701,7 +12739,7 @@ const defaultProps$C = {
12701
12739
  }
12702
12740
  };
12703
12741
  const Ellipsis = (p2) => {
12704
- const props = mergeProps(defaultProps$C, p2);
12742
+ const props = mergeProps(defaultProps$D, p2);
12705
12743
  const rootRef = useRef(null);
12706
12744
  const [ellipsised, setEllipsised] = useState({});
12707
12745
  const [expanded, setExpanded] = useState(false);
@@ -12726,7 +12764,6 @@ const Ellipsis = (p2) => {
12726
12764
  container.style.textOverflow = "clip";
12727
12765
  container.style.whiteSpace = "normal";
12728
12766
  container.style.webkitLineClamp = "unset";
12729
- container.style.webkitBoxOrient = "unset";
12730
12767
  container.style.display = "block";
12731
12768
  const lineHeight = pxToNumber(originStyle.lineHeight);
12732
12769
  const maxHeight = Math.floor(lineHeight * (props.rows + 0.5) + pxToNumber(originStyle.paddingTop) + pxToNumber(originStyle.paddingBottom));
@@ -12817,7 +12854,7 @@ const Ellipsis = (p2) => {
12817
12854
  };
12818
12855
  return withNativeProps(props, React$1.createElement("div", {
12819
12856
  ref: rootRef,
12820
- className: classPrefix$O,
12857
+ className: classPrefix$Q,
12821
12858
  onClick: (e2) => {
12822
12859
  if (e2.target === e2.currentTarget) {
12823
12860
  props.onContentClick(e2);
@@ -12854,7 +12891,7 @@ const EmptyIcon = (props) => {
12854
12891
  fill: "#fafafa"
12855
12892
  })))));
12856
12893
  };
12857
- const classPrefix$N = `adm-empty`;
12894
+ const classPrefix$P = `adm-empty`;
12858
12895
  const Empty = (props) => {
12859
12896
  function renderImageNode() {
12860
12897
  const {
@@ -12862,13 +12899,13 @@ const Empty = (props) => {
12862
12899
  } = props;
12863
12900
  if (image2 === void 0) {
12864
12901
  return React$1.createElement(EmptyIcon, {
12865
- className: `${classPrefix$N}-image`,
12902
+ className: `${classPrefix$P}-image`,
12866
12903
  style: props.imageStyle
12867
12904
  });
12868
12905
  }
12869
12906
  if (typeof image2 === "string") {
12870
12907
  return React$1.createElement("img", {
12871
- className: `${classPrefix$N}-image`,
12908
+ className: `${classPrefix$P}-image`,
12872
12909
  style: props.imageStyle,
12873
12910
  src: image2,
12874
12911
  alt: "empty"
@@ -12877,22 +12914,22 @@ const Empty = (props) => {
12877
12914
  return image2;
12878
12915
  }
12879
12916
  return withNativeProps(props, React$1.createElement("div", {
12880
- className: classPrefix$N
12917
+ className: classPrefix$P
12881
12918
  }, React$1.createElement("div", {
12882
- className: `${classPrefix$N}-image-container`
12919
+ className: `${classPrefix$P}-image-container`
12883
12920
  }, renderImageNode()), props.description && React$1.createElement("div", {
12884
- className: classNames(`${classPrefix$N}-description`)
12921
+ className: classNames(`${classPrefix$P}-description`)
12885
12922
  }, props.description)));
12886
12923
  };
12887
12924
  var errorBlock = "";
12888
- const classPrefix$M = `adm-error-block`;
12889
- const defaultProps$B = {
12925
+ const classPrefix$O = `adm-error-block`;
12926
+ const defaultProps$C = {
12890
12927
  status: "default"
12891
12928
  };
12892
12929
  function createErrorBlock(imageRecord2) {
12893
12930
  const ErrorBlock2 = (p2) => {
12894
12931
  var _a;
12895
- const props = mergeProps(defaultProps$B, p2);
12932
+ const props = mergeProps(defaultProps$C, p2);
12896
12933
  const {
12897
12934
  locale
12898
12935
  } = useConfig();
@@ -12905,19 +12942,19 @@ function createErrorBlock(imageRecord2) {
12905
12942
  alt: "error block image"
12906
12943
  }) : image2;
12907
12944
  return withNativeProps(props, React$1.createElement("div", {
12908
- className: classNames(classPrefix$M, {
12909
- [`${classPrefix$M}-full-page`]: props.fullPage
12945
+ className: classNames(classPrefix$O, {
12946
+ [`${classPrefix$O}-full-page`]: props.fullPage
12910
12947
  })
12911
12948
  }, React$1.createElement("div", {
12912
- className: `${classPrefix$M}-image`
12949
+ className: `${classPrefix$O}-image`
12913
12950
  }, imageNode), React$1.createElement("div", {
12914
- className: `${classPrefix$M}-description`
12951
+ className: `${classPrefix$O}-description`
12915
12952
  }, title && React$1.createElement("div", {
12916
- className: `${classPrefix$M}-description-title`
12953
+ className: `${classPrefix$O}-description-title`
12917
12954
  }, title), des && React$1.createElement("div", {
12918
- className: `${classPrefix$M}-description-subtitle`
12955
+ className: `${classPrefix$O}-description-subtitle`
12919
12956
  }, des)), props.children && React$1.createElement("div", {
12920
- className: `${classPrefix$M}-content`
12957
+ className: `${classPrefix$O}-content`
12921
12958
  }, props.children)));
12922
12959
  };
12923
12960
  return ErrorBlock2;
@@ -13424,12 +13461,12 @@ const imageRecord = {
13424
13461
  };
13425
13462
  const ErrorBlock = createErrorBlock(imageRecord);
13426
13463
  var floatingBubble = "";
13427
- const classPrefix$L = `adm-floating-bubble`;
13428
- const defaultProps$A = {
13464
+ const classPrefix$N = `adm-floating-bubble`;
13465
+ const defaultProps$B = {
13429
13466
  axis: "y"
13430
13467
  };
13431
13468
  const FloatingBubble = (p2) => {
13432
- const props = mergeProps(defaultProps$A, p2);
13469
+ const props = mergeProps(defaultProps$B, p2);
13433
13470
  const boundaryRef = useRef(null);
13434
13471
  const buttonRef = useRef(null);
13435
13472
  const [{
@@ -13488,11 +13525,11 @@ const FloatingBubble = (p2) => {
13488
13525
  from: () => [x.get(), y.get()]
13489
13526
  });
13490
13527
  return withNativeProps(props, React$1.createElement("div", {
13491
- className: classPrefix$L
13528
+ className: classPrefix$N
13492
13529
  }, React$1.createElement("div", {
13493
- className: `${classPrefix$L}-boundary-outer`
13530
+ className: `${classPrefix$N}-boundary-outer`
13494
13531
  }, React$1.createElement("div", {
13495
- className: `${classPrefix$L}-boundary`,
13532
+ className: `${classPrefix$N}-boundary`,
13496
13533
  ref: boundaryRef
13497
13534
  })), React$1.createElement(animated.div, Object.assign({}, bind(), {
13498
13535
  style: {
@@ -13500,7 +13537,7 @@ const FloatingBubble = (p2) => {
13500
13537
  transform: to([x, y], (x2, y2) => `translate(${x2}px, ${y2}px)`)
13501
13538
  },
13502
13539
  onClick: props.onClick,
13503
- className: `${classPrefix$L}-button`,
13540
+ className: `${classPrefix$N}-button`,
13504
13541
  ref: buttonRef
13505
13542
  }), props.children)));
13506
13543
  };
@@ -13510,12 +13547,12 @@ function nearest(arr, target) {
13510
13547
  return Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur;
13511
13548
  });
13512
13549
  }
13513
- const defaultProps$z = {
13550
+ const defaultProps$A = {
13514
13551
  handleDraggingOfContent: true
13515
13552
  };
13516
13553
  const FloatingPanel = forwardRef((p2, ref) => {
13517
13554
  var _a, _b;
13518
- const props = mergeProps(defaultProps$z, p2);
13555
+ const props = mergeProps(defaultProps$A, p2);
13519
13556
  const {
13520
13557
  anchors
13521
13558
  } = props;
@@ -13672,10 +13709,10 @@ const FormArray = (props) => {
13672
13709
  return React$1.createElement(React$1.Fragment, null, children);
13673
13710
  });
13674
13711
  };
13675
- const classPrefix$K = "adm-form";
13676
- const defaultProps$y = defaultFormContext;
13712
+ const classPrefix$M = "adm-form";
13713
+ const defaultProps$z = defaultFormContext;
13677
13714
  const Form$1 = forwardRef((p2, ref) => {
13678
- const props = mergeProps(defaultProps$y, p2);
13715
+ const props = mergeProps(defaultProps$z, p2);
13679
13716
  const {
13680
13717
  className,
13681
13718
  style,
@@ -13723,7 +13760,7 @@ const Form$1 = forwardRef((p2, ref) => {
13723
13760
  });
13724
13761
  collect();
13725
13762
  return React$1.createElement(RcForm, Object.assign({
13726
- className: classNames(classPrefix$K, className),
13763
+ className: classNames(classPrefix$M, className),
13727
13764
  style,
13728
13765
  ref
13729
13766
  }, formProps, {
@@ -13737,7 +13774,7 @@ const Form$1 = forwardRef((p2, ref) => {
13737
13774
  disabled
13738
13775
  }
13739
13776
  }, lists), footer && React$1.createElement("div", {
13740
- className: `${classPrefix$K}-footer`
13777
+ className: `${classPrefix$M}-footer`
13741
13778
  }, footer));
13742
13779
  });
13743
13780
  var FieldContext = {};
@@ -13972,15 +14009,15 @@ function convertPx(px) {
13972
14009
  tester.style.setProperty("--size", px.toString());
13973
14010
  return tester.getBoundingClientRect().height;
13974
14011
  }
13975
- const classPrefix$J = `adm-popover`;
13976
- const defaultProps$x = {
14012
+ const classPrefix$L = `adm-popover`;
14013
+ const defaultProps$y = {
13977
14014
  placement: "top",
13978
14015
  defaultVisible: false,
13979
14016
  stopPropagation: ["click"],
13980
14017
  getContainer: () => document.body
13981
14018
  };
13982
14019
  const Popover$1 = forwardRef((p2, ref) => {
13983
- const props = mergeProps(defaultProps$x, p2);
14020
+ const props = mergeProps(defaultProps$y, p2);
13984
14021
  const {
13985
14022
  mode = "light"
13986
14023
  } = props;
@@ -14001,17 +14038,17 @@ const Popover$1 = forwardRef((p2, ref) => {
14001
14038
  const floatingRef = useRef(null);
14002
14039
  const arrowRef = useRef(null);
14003
14040
  const floating = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
14004
- className: classNames(classPrefix$J, `${classPrefix$J}-${mode}`, !visible && `${classPrefix$J}-hidden`),
14041
+ className: classNames(classPrefix$L, `${classPrefix$L}-${mode}`, !visible && `${classPrefix$L}-hidden`),
14005
14042
  ref: floatingRef
14006
14043
  }, React$1.createElement("div", {
14007
- className: `${classPrefix$J}-arrow`,
14044
+ className: `${classPrefix$L}-arrow`,
14008
14045
  ref: arrowRef
14009
14046
  }, React$1.createElement(Arrow, {
14010
- className: `${classPrefix$J}-arrow-icon`
14047
+ className: `${classPrefix$L}-arrow-icon`
14011
14048
  })), React$1.createElement("div", {
14012
- className: `${classPrefix$J}-inner`
14049
+ className: `${classPrefix$L}-inner`
14013
14050
  }, React$1.createElement("div", {
14014
- className: `${classPrefix$J}-inner-content`
14051
+ className: `${classPrefix$L}-inner-content`
14015
14052
  }, props.content)))));
14016
14053
  const [targetElement, setTargetElement] = useState(null);
14017
14054
  function update() {
@@ -14107,7 +14144,7 @@ const Popover$1 = forwardRef((p2, ref) => {
14107
14144
  ref: targetRef
14108
14145
  }, props.children), shouldRender && renderToContainer(props.getContainer, floating));
14109
14146
  });
14110
- const classPrefix$I = `adm-popover-menu`;
14147
+ const classPrefix$K = `adm-popover-menu`;
14111
14148
  const PopoverMenu = forwardRef((props, ref) => {
14112
14149
  const innerRef = useRef(null);
14113
14150
  useImperativeHandle(ref, () => innerRef.current, []);
@@ -14123,14 +14160,14 @@ const PopoverMenu = forwardRef((props, ref) => {
14123
14160
  }, [props.onAction]);
14124
14161
  const overlay = useMemo(() => {
14125
14162
  return React$1.createElement("div", {
14126
- className: `${classPrefix$I}-list`
14163
+ className: `${classPrefix$K}-list`
14127
14164
  }, React$1.createElement("div", {
14128
- className: `${classPrefix$I}-list-inner`
14165
+ className: `${classPrefix$K}-list-inner`
14129
14166
  }, props.actions.map((action, index2) => {
14130
14167
  var _a;
14131
14168
  return React$1.createElement("a", {
14132
14169
  key: (_a = action.key) !== null && _a !== void 0 ? _a : index2,
14133
- className: classNames(`${classPrefix$I}-item`, "adm-plain-anchor", action.disabled && `${classPrefix$I}-item-disabled`),
14170
+ className: classNames(`${classPrefix$K}-item`, "adm-plain-anchor", action.disabled && `${classPrefix$K}-item-disabled`),
14134
14171
  onClick: () => {
14135
14172
  var _a2;
14136
14173
  if (action.disabled)
@@ -14139,16 +14176,16 @@ const PopoverMenu = forwardRef((props, ref) => {
14139
14176
  (_a2 = action.onClick) === null || _a2 === void 0 ? void 0 : _a2.call(action);
14140
14177
  }
14141
14178
  }, action.icon && React$1.createElement("div", {
14142
- className: `${classPrefix$I}-item-icon`
14179
+ className: `${classPrefix$K}-item-icon`
14143
14180
  }, action.icon), React$1.createElement("div", {
14144
- className: `${classPrefix$I}-item-text`
14181
+ className: `${classPrefix$K}-item-text`
14145
14182
  }, action.text));
14146
14183
  })));
14147
14184
  }, [props.actions, onClick]);
14148
14185
  return React$1.createElement(Popover$1, Object.assign({
14149
14186
  ref: innerRef
14150
14187
  }, props, {
14151
- className: classNames(classPrefix$I, props.className),
14188
+ className: classNames(classPrefix$K, props.className),
14152
14189
  content: overlay
14153
14190
  }), props.children);
14154
14191
  });
@@ -14164,7 +14201,7 @@ function undefinedFallback(...items) {
14164
14201
  return items[i];
14165
14202
  }
14166
14203
  const NAME_SPLIT = "__SPLIT__";
14167
- const classPrefix$H = `adm-form-item`;
14204
+ const classPrefix$J = `adm-form-item`;
14168
14205
  const MemoInput = React$1.memo(({
14169
14206
  children
14170
14207
  }) => children, (prev, next) => prev.value === next.value && prev.update === next.update);
@@ -14197,39 +14234,39 @@ const FormItemLayout = (props) => {
14197
14234
  switch (requiredMarkStyle) {
14198
14235
  case "asterisk":
14199
14236
  return required && React$1.createElement("span", {
14200
- className: `${classPrefix$H}-required-asterisk`
14237
+ className: `${classPrefix$J}-required-asterisk`
14201
14238
  }, "*");
14202
14239
  case "text-required":
14203
14240
  return required && React$1.createElement("span", {
14204
- className: `${classPrefix$H}-required-text`
14241
+ className: `${classPrefix$J}-required-text`
14205
14242
  }, "(", locale.Form.required, ")");
14206
14243
  case "text-optional":
14207
14244
  return !required && React$1.createElement("span", {
14208
- className: `${classPrefix$H}-required-text`
14245
+ className: `${classPrefix$J}-required-text`
14209
14246
  }, "(", locale.Form.optional, ")");
14210
14247
  default:
14211
14248
  return null;
14212
14249
  }
14213
14250
  })();
14214
14251
  const labelElement = label ? React$1.createElement("label", {
14215
- className: `${classPrefix$H}-label`,
14252
+ className: `${classPrefix$J}-label`,
14216
14253
  htmlFor
14217
14254
  }, label, requiredMark, help && React$1.createElement(Popover, {
14218
14255
  content: help,
14219
14256
  mode: "dark",
14220
14257
  trigger: "click"
14221
14258
  }, React$1.createElement("span", {
14222
- className: `${classPrefix$H}-label-help`,
14259
+ className: `${classPrefix$J}-label-help`,
14223
14260
  onClick: (e2) => {
14224
14261
  e2.preventDefault();
14225
14262
  }
14226
14263
  }, React$1.createElement(QuestionCircleOutline, null)))) : null;
14227
14264
  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", {
14228
14265
  key: `error-${index2}`,
14229
- className: `${classPrefix$H}-feedback-error`
14266
+ className: `${classPrefix$J}-feedback-error`
14230
14267
  }, error)), props.warnings.map((warning2, index2) => React$1.createElement("div", {
14231
14268
  key: `warning-${index2}`,
14232
- className: `${classPrefix$H}-feedback-warning`
14269
+ className: `${classPrefix$J}-feedback-warning`
14233
14270
  }, warning2))));
14234
14271
  return React$1.createElement(List.Item, {
14235
14272
  style,
@@ -14237,18 +14274,18 @@ const FormItemLayout = (props) => {
14237
14274
  prefix: layout === "horizontal" && labelElement,
14238
14275
  extra,
14239
14276
  description,
14240
- className: classNames(classPrefix$H, className, `${classPrefix$H}-${layout}`, {
14241
- [`${classPrefix$H}-hidden`]: hidden,
14242
- [`${classPrefix$H}-has-error`]: props.errors.length
14277
+ className: classNames(classPrefix$J, className, `${classPrefix$J}-${layout}`, {
14278
+ [`${classPrefix$J}-hidden`]: hidden,
14279
+ [`${classPrefix$J}-has-error`]: props.errors.length
14243
14280
  }),
14244
14281
  disabled,
14245
14282
  onClick: props.onClick,
14246
14283
  clickable: props.clickable,
14247
14284
  arrow: arrow2
14248
14285
  }, React$1.createElement("div", {
14249
- className: classNames(`${classPrefix$H}-child`, `${classPrefix$H}-child-position-${childElementPosition}`)
14286
+ className: classNames(`${classPrefix$J}-child`, `${classPrefix$J}-child-position-${childElementPosition}`)
14250
14287
  }, React$1.createElement("div", {
14251
- className: classNames(`${classPrefix$H}-child-inner`)
14288
+ className: classNames(`${classPrefix$J}-child-inner`)
14252
14289
  }, children)));
14253
14290
  };
14254
14291
  const FormItem = (props) => {
@@ -14443,7 +14480,7 @@ var Form = attachPropertiesToComponent(Form$1, {
14443
14480
  useWatch
14444
14481
  });
14445
14482
  var grid = "";
14446
- const classPrefix$G = `adm-grid`;
14483
+ const classPrefix$I = `adm-grid`;
14447
14484
  const Grid$1 = (props) => {
14448
14485
  const style = {
14449
14486
  "--columns": props.columns.toString()
@@ -14460,7 +14497,7 @@ const Grid$1 = (props) => {
14460
14497
  }
14461
14498
  }
14462
14499
  return withNativeProps(props, React$1.createElement("div", {
14463
- className: classPrefix$G,
14500
+ className: classPrefix$I,
14464
14501
  style
14465
14502
  }, props.children));
14466
14503
  };
@@ -14472,7 +14509,7 @@ const GridItem = (p2) => {
14472
14509
  "--item-span": props.span
14473
14510
  };
14474
14511
  return withNativeProps(props, React$1.createElement("div", {
14475
- className: `${classPrefix$G}-item`,
14512
+ className: `${classPrefix$I}-item`,
14476
14513
  style: itemStyle,
14477
14514
  onClick: props.onClick
14478
14515
  }, props.children));
@@ -14482,7 +14519,7 @@ var Grid = attachPropertiesToComponent(Grid$1, {
14482
14519
  });
14483
14520
  var imageViewer = "";
14484
14521
  const useDragAndPinch = createUseGesture([dragAction, pinchAction]);
14485
- const classPrefix$F = `adm-image-viewer`;
14522
+ const classPrefix$H = `adm-image-viewer`;
14486
14523
  const Slide = (props) => {
14487
14524
  const {
14488
14525
  dragLockRef
@@ -14597,17 +14634,17 @@ const Slide = (props) => {
14597
14634
  }
14598
14635
  });
14599
14636
  return React$1.createElement("div", {
14600
- className: `${classPrefix$F}-slide`,
14637
+ className: `${classPrefix$H}-slide`,
14601
14638
  onPointerMove: (e2) => {
14602
14639
  if (zoom.get() !== 1) {
14603
14640
  e2.stopPropagation();
14604
14641
  }
14605
14642
  }
14606
14643
  }, React$1.createElement("div", {
14607
- className: `${classPrefix$F}-control`,
14644
+ className: `${classPrefix$H}-control`,
14608
14645
  ref: controlRef
14609
14646
  }, React$1.createElement(animated.div, {
14610
- className: `${classPrefix$F}-image-wrapper`,
14647
+ className: `${classPrefix$H}-image-wrapper`,
14611
14648
  style: {
14612
14649
  translateX: x,
14613
14650
  translateY: y,
@@ -14620,7 +14657,7 @@ const Slide = (props) => {
14620
14657
  alt: props.image
14621
14658
  }))));
14622
14659
  };
14623
- const classPrefix$E = `adm-image-viewer`;
14660
+ const classPrefix$G = `adm-image-viewer`;
14624
14661
  const Slides = forwardRef((props, ref) => {
14625
14662
  const slideWidth = window.innerWidth + convertPx(16);
14626
14663
  const [{
@@ -14677,14 +14714,14 @@ const Slides = forwardRef((props, ref) => {
14677
14714
  }
14678
14715
  });
14679
14716
  return React$1.createElement("div", Object.assign({
14680
- className: `${classPrefix$E}-slides`
14717
+ className: `${classPrefix$G}-slides`
14681
14718
  }, bind()), React$1.createElement(animated.div, {
14682
- className: `${classPrefix$E}-indicator`
14719
+ className: `${classPrefix$G}-indicator`
14683
14720
  }, x.to((v) => {
14684
14721
  const index2 = bound(Math.round(v / slideWidth), 0, count - 1);
14685
14722
  return `${index2 + 1} / ${count}`;
14686
14723
  })), React$1.createElement(animated.div, {
14687
- className: `${classPrefix$E}-slides-inner`,
14724
+ className: `${classPrefix$G}-slides-inner`,
14688
14725
  style: {
14689
14726
  x: x.to((x2) => -x2)
14690
14727
  }
@@ -14704,22 +14741,22 @@ const Slides = forwardRef((props, ref) => {
14704
14741
  dragLockRef
14705
14742
  }))));
14706
14743
  });
14707
- const classPrefix$D = `adm-image-viewer`;
14708
- const defaultProps$w = {
14744
+ const classPrefix$F = `adm-image-viewer`;
14745
+ const defaultProps$x = {
14709
14746
  maxZoom: 3,
14710
14747
  getContainer: null,
14711
14748
  visible: false
14712
14749
  };
14713
14750
  const ImageViewer$1 = (p2) => {
14714
14751
  var _a;
14715
- const props = mergeProps(defaultProps$w, p2);
14752
+ const props = mergeProps(defaultProps$x, p2);
14716
14753
  const node = React$1.createElement(Mask, {
14717
14754
  visible: props.visible,
14718
14755
  disableBodyScroll: false,
14719
14756
  opacity: "thick",
14720
14757
  afterClose: props.afterClose
14721
14758
  }, React$1.createElement("div", {
14722
- className: `${classPrefix$D}-content`
14759
+ className: `${classPrefix$F}-content`
14723
14760
  }, props.image && React$1.createElement(Slide, {
14724
14761
  image: props.image,
14725
14762
  onTap: () => {
@@ -14728,13 +14765,13 @@ const ImageViewer$1 = (p2) => {
14728
14765
  },
14729
14766
  maxZoom: props.maxZoom
14730
14767
  })), props.image && React$1.createElement("div", {
14731
- className: `${classPrefix$D}-footer`
14768
+ className: `${classPrefix$F}-footer`
14732
14769
  }, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.image), React$1.createElement(SafeArea, {
14733
14770
  position: "bottom"
14734
14771
  })));
14735
14772
  return renderToContainer(props.getContainer, node);
14736
14773
  };
14737
- const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$w), {
14774
+ const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$x), {
14738
14775
  defaultIndex: 0
14739
14776
  });
14740
14777
  const MultiImageViewer = forwardRef((p2, ref) => {
@@ -14760,7 +14797,7 @@ const MultiImageViewer = forwardRef((p2, ref) => {
14760
14797
  opacity: "thick",
14761
14798
  afterClose: props.afterClose
14762
14799
  }, React$1.createElement("div", {
14763
- className: `${classPrefix$D}-content`
14800
+ className: `${classPrefix$F}-content`
14764
14801
  }, props.images && React$1.createElement(Slides, {
14765
14802
  ref: slidesRef,
14766
14803
  defaultIndex: index2,
@@ -14772,7 +14809,7 @@ const MultiImageViewer = forwardRef((p2, ref) => {
14772
14809
  },
14773
14810
  maxZoom: props.maxZoom
14774
14811
  })), props.images && React$1.createElement("div", {
14775
- className: `${classPrefix$D}-footer`
14812
+ className: `${classPrefix$F}-footer`
14776
14813
  }, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.images[index2], index2), React$1.createElement(SafeArea, {
14777
14814
  position: "bottom"
14778
14815
  })));
@@ -14900,19 +14937,19 @@ function useMotionReduced() {
14900
14937
  };
14901
14938
  }, isMotionReduced);
14902
14939
  }
14903
- const classPrefix$C = "adm-spin-loading";
14940
+ const classPrefix$E = "adm-spin-loading";
14904
14941
  const colorRecord$2 = {
14905
14942
  default: "var(--adm-color-weak)",
14906
14943
  primary: "var(--adm-color-primary)",
14907
14944
  white: "var(--adm-color-white)"
14908
14945
  };
14909
- const defaultProps$v = {
14946
+ const defaultProps$w = {
14910
14947
  color: "default"
14911
14948
  };
14912
14949
  const circumference = 15 * 3.14159265358979 * 2;
14913
14950
  const SpinLoading = memo((p2) => {
14914
14951
  var _a;
14915
- const props = mergeProps(defaultProps$v, p2);
14952
+ const props = mergeProps(defaultProps$w, p2);
14916
14953
  const motionReduced = useMotionReduced();
14917
14954
  const {
14918
14955
  percent
@@ -14932,16 +14969,16 @@ const SpinLoading = memo((p2) => {
14932
14969
  }
14933
14970
  });
14934
14971
  return withNativeProps(props, React$1.createElement(animated.div, {
14935
- className: classPrefix$C,
14972
+ className: classPrefix$E,
14936
14973
  style: {
14937
14974
  "--color": (_a = colorRecord$2[props.color]) !== null && _a !== void 0 ? _a : props.color,
14938
14975
  "--percent": percent
14939
14976
  }
14940
14977
  }, React$1.createElement("svg", {
14941
- className: `${classPrefix$C}-svg`,
14978
+ className: `${classPrefix$E}-svg`,
14942
14979
  viewBox: "0 0 32 32"
14943
14980
  }, React$1.createElement(animated.circle, {
14944
- className: `${classPrefix$C}-fill`,
14981
+ className: `${classPrefix$E}-fill`,
14945
14982
  fill: "transparent",
14946
14983
  strokeWidth: "2",
14947
14984
  strokeDasharray: circumference,
@@ -14952,7 +14989,7 @@ const SpinLoading = memo((p2) => {
14952
14989
  cy: 16
14953
14990
  }))));
14954
14991
  });
14955
- const classPrefix$B = `adm-image-uploader`;
14992
+ const classPrefix$D = `adm-image-uploader`;
14956
14993
  const PreviewItem = (props) => {
14957
14994
  const {
14958
14995
  locale
@@ -14975,60 +15012,60 @@ const PreviewItem = (props) => {
14975
15012
  }, [url, file]);
14976
15013
  function renderLoading() {
14977
15014
  return props.status === "pending" && React$1.createElement("div", {
14978
- className: `${classPrefix$B}-cell-mask`
15015
+ className: `${classPrefix$D}-cell-mask`
14979
15016
  }, React$1.createElement("span", {
14980
- className: `${classPrefix$B}-cell-loading`
15017
+ className: `${classPrefix$D}-cell-loading`
14981
15018
  }, React$1.createElement(SpinLoading, {
14982
15019
  color: "white"
14983
15020
  }), React$1.createElement("span", {
14984
- className: `${classPrefix$B}-cell-mask-message`
15021
+ className: `${classPrefix$D}-cell-mask-message`
14985
15022
  }, locale.ImageUploader.uploading)));
14986
15023
  }
14987
15024
  function renderDelete() {
14988
15025
  return deletable && React$1.createElement("span", {
14989
- className: `${classPrefix$B}-cell-delete`,
15026
+ className: `${classPrefix$D}-cell-delete`,
14990
15027
  onClick: onDelete
14991
15028
  }, React$1.createElement(CloseOutline, {
14992
- className: `${classPrefix$B}-cell-delete-icon`
15029
+ className: `${classPrefix$D}-cell-delete-icon`
14993
15030
  }));
14994
15031
  }
14995
15032
  return React$1.createElement("div", {
14996
- className: classNames(`${classPrefix$B}-cell`, props.status === "fail" && `${classPrefix$B}-cell-fail`)
15033
+ className: classNames(`${classPrefix$D}-cell`, props.status === "fail" && `${classPrefix$D}-cell-fail`)
14997
15034
  }, React$1.createElement(Image$1, {
14998
- className: `${classPrefix$B}-cell-image`,
15035
+ className: `${classPrefix$D}-cell-image`,
14999
15036
  src,
15000
15037
  fit: imageFit,
15001
15038
  onClick: props.onClick
15002
15039
  }), renderLoading(), renderDelete());
15003
15040
  };
15004
15041
  var space = "";
15005
- const classPrefix$A = `adm-space`;
15006
- const defaultProps$u = {
15042
+ const classPrefix$C = `adm-space`;
15043
+ const defaultProps$v = {
15007
15044
  direction: "horizontal"
15008
15045
  };
15009
15046
  const Space = (p2) => {
15010
- const props = mergeProps(defaultProps$u, p2);
15047
+ const props = mergeProps(defaultProps$v, p2);
15011
15048
  const {
15012
15049
  direction,
15013
15050
  onClick
15014
15051
  } = props;
15015
15052
  return withNativeProps(props, React$1.createElement("div", {
15016
- className: classNames(classPrefix$A, {
15017
- [`${classPrefix$A}-wrap`]: props.wrap,
15018
- [`${classPrefix$A}-block`]: props.block,
15019
- [`${classPrefix$A}-${direction}`]: true,
15020
- [`${classPrefix$A}-align-${props.align}`]: !!props.align,
15021
- [`${classPrefix$A}-justify-${props.justify}`]: !!props.justify
15053
+ className: classNames(classPrefix$C, {
15054
+ [`${classPrefix$C}-wrap`]: props.wrap,
15055
+ [`${classPrefix$C}-block`]: props.block,
15056
+ [`${classPrefix$C}-${direction}`]: true,
15057
+ [`${classPrefix$C}-align-${props.align}`]: !!props.align,
15058
+ [`${classPrefix$C}-justify-${props.justify}`]: !!props.justify
15022
15059
  }),
15023
15060
  onClick
15024
15061
  }, React$1.Children.map(props.children, (child) => {
15025
15062
  return child !== null && child !== void 0 && React$1.createElement("div", {
15026
- className: `${classPrefix$A}-item`
15063
+ className: `${classPrefix$C}-item`
15027
15064
  }, child);
15028
15065
  })));
15029
15066
  };
15030
- const classPrefix$z = `adm-image-uploader`;
15031
- const defaultProps$t = {
15067
+ const classPrefix$B = `adm-image-uploader`;
15068
+ const defaultProps$u = {
15032
15069
  disableUpload: false,
15033
15070
  deletable: true,
15034
15071
  showUpload: true,
@@ -15044,7 +15081,7 @@ const ImageUploader = (p2) => {
15044
15081
  const {
15045
15082
  locale
15046
15083
  } = useConfig();
15047
- const props = mergeProps(defaultProps$t, p2);
15084
+ const props = mergeProps(defaultProps$u, p2);
15048
15085
  const [value, setValue] = usePropsValue(props);
15049
15086
  const [tasks, setTasks] = useState([]);
15050
15087
  useIsomorphicLayoutEffect(() => {
@@ -15153,9 +15190,9 @@ const ImageUploader = (p2) => {
15153
15190
  });
15154
15191
  const showUpload = props.showUpload && (maxCount === 0 || value.length + tasks.length < maxCount);
15155
15192
  return withNativeProps(props, React$1.createElement("div", {
15156
- className: classPrefix$z
15193
+ className: classPrefix$B
15157
15194
  }, React$1.createElement(Space, {
15158
- className: `${classPrefix$z}-space`,
15195
+ className: `${classPrefix$B}-space`,
15159
15196
  wrap: true,
15160
15197
  block: true
15161
15198
  }, value.map((fileItem, index2) => {
@@ -15194,19 +15231,19 @@ const ImageUploader = (p2) => {
15194
15231
  }
15195
15232
  });
15196
15233
  }), showUpload && React$1.createElement("div", {
15197
- className: `${classPrefix$z}-upload-button-wrap`
15234
+ className: `${classPrefix$B}-upload-button-wrap`
15198
15235
  }, props.children ? props.children : React$1.createElement("span", {
15199
- className: `${classPrefix$z}-cell ${classPrefix$z}-upload-button`,
15236
+ className: `${classPrefix$B}-cell ${classPrefix$B}-upload-button`,
15200
15237
  role: "button",
15201
15238
  "aria-label": locale.ImageUploader.upload
15202
15239
  }, React$1.createElement("span", {
15203
- className: `${classPrefix$z}-upload-button-icon`
15240
+ className: `${classPrefix$B}-upload-button-icon`
15204
15241
  }, React$1.createElement(AddOutline, null))), !props.disableUpload && React$1.createElement("input", {
15205
15242
  capture: props.capture,
15206
15243
  accept: props.accept,
15207
15244
  multiple: props.multiple,
15208
15245
  type: "file",
15209
- className: `${classPrefix$z}-input`,
15246
+ className: `${classPrefix$B}-input`,
15210
15247
  onChange,
15211
15248
  "aria-hidden": true
15212
15249
  })))));
@@ -15214,12 +15251,12 @@ const ImageUploader = (p2) => {
15214
15251
  var imageUploader = "";
15215
15252
  var indexBar = "";
15216
15253
  const Panel = () => null;
15217
- const classPrefix$y = `adm-index-bar`;
15254
+ const classPrefix$A = `adm-index-bar`;
15218
15255
  const Sidebar = (props) => {
15219
15256
  const [interacting, setInteracting] = useState(false);
15220
15257
  return React$1.createElement("div", {
15221
- className: classNames(`${classPrefix$y}-sidebar`, {
15222
- [`${classPrefix$y}-sidebar-interacting`]: interacting
15258
+ className: classNames(`${classPrefix$A}-sidebar`, {
15259
+ [`${classPrefix$A}-sidebar-interacting`]: interacting
15223
15260
  }),
15224
15261
  onMouseDown: () => {
15225
15262
  setInteracting(true);
@@ -15254,7 +15291,7 @@ const Sidebar = (props) => {
15254
15291
  }) => {
15255
15292
  const active = index2 === props.activeIndex;
15256
15293
  return React$1.createElement("div", {
15257
- className: `${classPrefix$y}-sidebar-row`,
15294
+ className: `${classPrefix$A}-sidebar-row`,
15258
15295
  onMouseDown: () => {
15259
15296
  props.onActive(index2);
15260
15297
  },
@@ -15269,21 +15306,21 @@ const Sidebar = (props) => {
15269
15306
  "data-index": index2,
15270
15307
  key: index2
15271
15308
  }, interacting && active && React$1.createElement("div", {
15272
- className: `${classPrefix$y}-sidebar-bubble`
15309
+ className: `${classPrefix$A}-sidebar-bubble`
15273
15310
  }, brief), React$1.createElement("div", {
15274
- className: classNames(`${classPrefix$y}-sidebar-item`, {
15275
- [`${classPrefix$y}-sidebar-item-active`]: active
15311
+ className: classNames(`${classPrefix$A}-sidebar-item`, {
15312
+ [`${classPrefix$A}-sidebar-item-active`]: active
15276
15313
  }),
15277
15314
  "data-index": index2
15278
15315
  }, React$1.createElement("div", null, brief)));
15279
15316
  }));
15280
15317
  };
15281
- const classPrefix$x = `adm-index-bar`;
15282
- const defaultProps$s = {
15318
+ const classPrefix$z = `adm-index-bar`;
15319
+ const defaultProps$t = {
15283
15320
  sticky: true
15284
15321
  };
15285
15322
  const IndexBar = forwardRef((p2, ref) => {
15286
- const props = mergeProps(defaultProps$s, p2);
15323
+ const props = mergeProps(defaultProps$t, p2);
15287
15324
  const titleHeight = convertPx(35);
15288
15325
  const bodyRef = useRef(null);
15289
15326
  const indexItems = [];
@@ -15302,9 +15339,9 @@ const IndexBar = forwardRef((p2, ref) => {
15302
15339
  panels.push(withNativeProps(child.props, React$1.createElement("div", {
15303
15340
  key: child.props.index,
15304
15341
  "data-index": child.props.index,
15305
- className: `${classPrefix$x}-anchor`
15342
+ className: `${classPrefix$z}-anchor`
15306
15343
  }, React$1.createElement("div", {
15307
- className: `${classPrefix$x}-anchor-title`
15344
+ className: `${classPrefix$z}-anchor-title`
15308
15345
  }, child.props.title || child.props.index), child.props.children)));
15309
15346
  });
15310
15347
  const [activeIndex, setActiveIndex] = useState(() => {
@@ -15341,7 +15378,7 @@ const IndexBar = forwardRef((p2, ref) => {
15341
15378
  if (!body)
15342
15379
  return;
15343
15380
  const scrollTop = body.scrollTop;
15344
- const elements = body.getElementsByClassName(`${classPrefix$x}-anchor`);
15381
+ const elements = body.getElementsByClassName(`${classPrefix$z}-anchor`);
15345
15382
  for (let i = 0; i < elements.length; i++) {
15346
15383
  const panel = elements.item(i);
15347
15384
  if (!panel)
@@ -15361,8 +15398,8 @@ const IndexBar = forwardRef((p2, ref) => {
15361
15398
  leading: true
15362
15399
  });
15363
15400
  return withNativeProps(props, React$1.createElement("div", {
15364
- className: classNames(`${classPrefix$x}`, {
15365
- [`${classPrefix$x}-sticky`]: props.sticky
15401
+ className: classNames(`${classPrefix$z}`, {
15402
+ [`${classPrefix$z}-sticky`]: props.sticky
15366
15403
  })
15367
15404
  }, React$1.createElement(Sidebar, {
15368
15405
  indexItems,
@@ -15371,7 +15408,7 @@ const IndexBar = forwardRef((p2, ref) => {
15371
15408
  scrollTo(index2);
15372
15409
  }
15373
15410
  }), React$1.createElement("div", {
15374
- className: `${classPrefix$x}-body`,
15411
+ className: `${classPrefix$z}-body`,
15375
15412
  ref: bodyRef,
15376
15413
  onScroll: checkActiveIndex
15377
15414
  }, panels)));
@@ -15383,20 +15420,26 @@ var infiniteScroll = "";
15383
15420
  function isWindow(element) {
15384
15421
  return element === window;
15385
15422
  }
15386
- const classPrefix$w = `adm-infinite-scroll`;
15387
- const InfiniteScrollContent = ({
15388
- hasMore
15389
- }) => {
15390
- const {
15391
- locale
15392
- } = useConfig();
15393
- 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));
15423
+ const classPrefix$y = `adm-infinite-scroll`;
15424
+ const defaultProps$s = {
15425
+ threshold: 250,
15426
+ children: (hasMore, failed, retry) => React$1.createElement(InfiniteScrollContent, {
15427
+ hasMore,
15428
+ failed,
15429
+ retry
15430
+ })
15394
15431
  };
15395
15432
  const InfiniteScroll = (p2) => {
15396
- const props = mergeProps({
15397
- threshold: 250
15398
- }, p2);
15399
- const doLoadMore = useLockFn(() => props.loadMore());
15433
+ const props = mergeProps(defaultProps$s, p2);
15434
+ const [failed, setFailed] = useState(false);
15435
+ const doLoadMore = useLockFn((isRetry) => __awaiter(void 0, void 0, void 0, function* () {
15436
+ try {
15437
+ yield props.loadMore(isRetry);
15438
+ } catch (e2) {
15439
+ setFailed(true);
15440
+ throw e2;
15441
+ }
15442
+ }));
15400
15443
  const elementRef = useRef(null);
15401
15444
  const [flag, setFlag] = useState({});
15402
15445
  const nextFlagRef = useRef(flag);
@@ -15421,7 +15464,7 @@ const InfiniteScroll = (p2) => {
15421
15464
  if (current >= elementTop - props.threshold) {
15422
15465
  const nextFlag = {};
15423
15466
  nextFlagRef.current = nextFlag;
15424
- yield doLoadMore();
15467
+ yield doLoadMore(false);
15425
15468
  setFlag(nextFlag);
15426
15469
  }
15427
15470
  }));
@@ -15442,15 +15485,35 @@ const InfiniteScroll = (p2) => {
15442
15485
  scrollParent.removeEventListener("scroll", onScroll);
15443
15486
  };
15444
15487
  }, [scrollParent]);
15488
+ function retry() {
15489
+ setFailed(false);
15490
+ doLoadMore(true);
15491
+ }
15445
15492
  return withNativeProps(props, React$1.createElement("div", {
15446
- className: classPrefix$w,
15493
+ className: classPrefix$y,
15447
15494
  ref: elementRef
15448
- }, props.children && props.children, !props.children && React$1.createElement(InfiniteScrollContent, {
15449
- hasMore: props.hasMore
15450
- })));
15495
+ }, typeof props.children === "function" ? props.children(props.hasMore, failed, retry) : props.children));
15496
+ };
15497
+ const InfiniteScrollContent = (props) => {
15498
+ const {
15499
+ locale
15500
+ } = useConfig();
15501
+ if (!props.hasMore) {
15502
+ return React$1.createElement("span", null, locale.InfiniteScroll.noMore);
15503
+ }
15504
+ if (props.failed) {
15505
+ return React$1.createElement("span", null, React$1.createElement("span", {
15506
+ className: `${classPrefix$y}-failed-text`
15507
+ }, locale.InfiniteScroll.failedToLoad), React$1.createElement("a", {
15508
+ onClick: () => {
15509
+ props.retry();
15510
+ }
15511
+ }, locale.InfiniteScroll.retry));
15512
+ }
15513
+ return React$1.createElement(React$1.Fragment, null, React$1.createElement("span", null, locale.common.loading), React$1.createElement(DotLoading, null));
15451
15514
  };
15452
15515
  var input = "";
15453
- const classPrefix$v = `adm-input`;
15516
+ const classPrefix$x = `adm-input`;
15454
15517
  const defaultProps$r = {
15455
15518
  defaultValue: "",
15456
15519
  onlyShowClearWhenFocus: true
@@ -15513,10 +15576,10 @@ const Input = forwardRef((p2, ref) => {
15513
15576
  }
15514
15577
  })();
15515
15578
  return withNativeProps(props, React$1.createElement("div", {
15516
- className: classNames(`${classPrefix$v}`, props.disabled && `${classPrefix$v}-disabled`)
15579
+ className: classNames(`${classPrefix$x}`, props.disabled && `${classPrefix$x}-disabled`)
15517
15580
  }, React$1.createElement("input", {
15518
15581
  ref: nativeInputRef,
15519
- className: `${classPrefix$v}-element`,
15582
+ className: `${classPrefix$x}-element`,
15520
15583
  value,
15521
15584
  onChange: (e2) => {
15522
15585
  setValue(e2.target.value);
@@ -15562,7 +15625,7 @@ const Input = forwardRef((p2, ref) => {
15562
15625
  },
15563
15626
  onClick: props.onClick
15564
15627
  }), shouldShowClear && React$1.createElement("div", {
15565
- className: `${classPrefix$v}-clear`,
15628
+ className: `${classPrefix$x}-clear`,
15566
15629
  onMouseDown: (e2) => {
15567
15630
  e2.preventDefault();
15568
15631
  },
@@ -15578,7 +15641,7 @@ const Input = forwardRef((p2, ref) => {
15578
15641
  }, React$1.createElement(CloseCircleFill, null))));
15579
15642
  });
15580
15643
  var jumboTabs = "";
15581
- const classPrefix$u = `adm-jumbo-tabs`;
15644
+ const classPrefix$w = `adm-jumbo-tabs`;
15582
15645
  const JumboTab = () => {
15583
15646
  return null;
15584
15647
  };
@@ -15619,19 +15682,19 @@ const JumboTabs = (props) => {
15619
15682
  animate(true);
15620
15683
  }, rootRef);
15621
15684
  return withNativeProps(props, React$1.createElement("div", {
15622
- className: classPrefix$u,
15685
+ className: classPrefix$w,
15623
15686
  ref: rootRef
15624
15687
  }, React$1.createElement("div", {
15625
- className: `${classPrefix$u}-header`
15688
+ className: `${classPrefix$w}-header`
15626
15689
  }, React$1.createElement(ScrollMask, {
15627
15690
  scrollTrackRef: tabListContainerRef
15628
15691
  }), React$1.createElement(animated.div, {
15629
- className: `${classPrefix$u}-tab-list`,
15692
+ className: `${classPrefix$w}-tab-list`,
15630
15693
  ref: tabListContainerRef,
15631
15694
  scrollLeft
15632
15695
  }, panes.map((pane) => withNativeProps(pane.props, React$1.createElement("div", {
15633
15696
  key: pane.key,
15634
- className: `${classPrefix$u}-tab-wrapper`
15697
+ className: `${classPrefix$w}-tab-wrapper`
15635
15698
  }, React$1.createElement("div", {
15636
15699
  onClick: () => {
15637
15700
  const {
@@ -15644,14 +15707,14 @@ const JumboTabs = (props) => {
15644
15707
  }
15645
15708
  setActiveKey(key.toString());
15646
15709
  },
15647
- className: classNames(`${classPrefix$u}-tab`, {
15648
- [`${classPrefix$u}-tab-active`]: pane.key === activeKey,
15649
- [`${classPrefix$u}-tab-disabled`]: pane.props.disabled
15710
+ className: classNames(`${classPrefix$w}-tab`, {
15711
+ [`${classPrefix$w}-tab-active`]: pane.key === activeKey,
15712
+ [`${classPrefix$w}-tab-disabled`]: pane.props.disabled
15650
15713
  })
15651
15714
  }, React$1.createElement("div", {
15652
- className: `${classPrefix$u}-tab-title`
15715
+ className: `${classPrefix$w}-tab-title`
15653
15716
  }, pane.props.title), React$1.createElement("div", {
15654
- className: `${classPrefix$u}-tab-description`
15717
+ className: `${classPrefix$w}-tab-description`
15655
15718
  }, pane.props.description))))))), panes.map((pane) => {
15656
15719
  if (pane.props.children === void 0) {
15657
15720
  return null;
@@ -15663,7 +15726,7 @@ const JumboTabs = (props) => {
15663
15726
  forceRender: pane.props.forceRender,
15664
15727
  destroyOnClose: pane.props.destroyOnClose
15665
15728
  }, React$1.createElement("div", {
15666
- className: `${classPrefix$u}-content`,
15729
+ className: `${classPrefix$w}-content`,
15667
15730
  style: {
15668
15731
  display: active ? "block" : "none"
15669
15732
  }
@@ -15693,52 +15756,13 @@ const ModalActionButton = (props) => {
15693
15756
  }, action.text));
15694
15757
  };
15695
15758
  const defaultProps$q = {
15696
- visible: false,
15697
15759
  actions: [],
15698
15760
  closeOnAction: false,
15699
- closeOnMaskClick: false,
15700
- stopPropagation: ["click"],
15701
- showCloseButton: false,
15702
- getContainer: null,
15703
- disableBodyScroll: true,
15704
- destroyOnClose: false,
15705
- forceRender: false
15761
+ closeOnMaskClick: false
15706
15762
  };
15707
15763
  const Modal = (p2) => {
15708
15764
  const props = mergeProps(defaultProps$q, p2);
15709
- const unmountedRef = useUnmountedRef();
15710
- const style = useSpring({
15711
- scale: props.visible ? 1 : 0.8,
15712
- opacity: props.visible ? 1 : 0,
15713
- config: {
15714
- mass: 1.2,
15715
- tension: 200,
15716
- friction: 25,
15717
- clamp: true
15718
- },
15719
- onRest: () => {
15720
- var _a, _b;
15721
- if (unmountedRef.current)
15722
- return;
15723
- setActive(props.visible);
15724
- if (props.visible) {
15725
- (_a = props.afterShow) === null || _a === void 0 ? void 0 : _a.call(props);
15726
- } else {
15727
- (_b = props.afterClose) === null || _b === void 0 ? void 0 : _b.call(props);
15728
- }
15729
- }
15730
- });
15731
- const [active, setActive] = useState(props.visible);
15732
- useIsomorphicLayoutEffect(() => {
15733
- if (props.visible) {
15734
- setActive(true);
15735
- }
15736
- }, [props.visible]);
15737
- const maskVisible = useInnerVisible(active && props.visible);
15738
- const body = React$1.createElement("div", {
15739
- className: classNames(cls("body"), props.image && cls("with-image"), props.bodyClassName),
15740
- style: props.bodyStyle
15741
- }, props.showCloseButton && React$1.createElement("a", {
15765
+ const element = React$1.createElement(React$1.Fragment, null, props.showCloseButton && React$1.createElement("a", {
15742
15766
  className: classNames(cls("close"), "adm-plain-anchor"),
15743
15767
  onClick: props.onClose
15744
15768
  }, React$1.createElement(CloseOutline, null)), !!props.image && React$1.createElement("div", {
@@ -15770,30 +15794,24 @@ const Modal = (p2) => {
15770
15794
  })
15771
15795
  });
15772
15796
  })));
15773
- const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
15774
- className: cls(),
15775
- style: {
15776
- display: active ? void 0 : "none",
15777
- pointerEvents: active ? void 0 : "none"
15778
- }
15779
- }, React$1.createElement(Mask, {
15780
- visible: maskVisible,
15781
- forceRender: props.forceRender,
15797
+ return React$1.createElement(CenterPopup, {
15798
+ afterClose: props.afterClose,
15799
+ afterShow: props.afterShow,
15800
+ onMaskClick: props.closeOnMaskClick ? () => {
15801
+ var _a;
15802
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
15803
+ } : void 0,
15804
+ visible: props.visible,
15805
+ getContainer: props.getContainer,
15806
+ bodyStyle: props.bodyStyle,
15807
+ bodyClassName: classNames(cls("body"), props.image && cls("with-image"), props.bodyClassName),
15808
+ maskStyle: props.maskStyle,
15809
+ maskClassName: props.maskClassName,
15810
+ stopPropagation: props.stopPropagation,
15811
+ disableBodyScroll: props.disableBodyScroll,
15782
15812
  destroyOnClose: props.destroyOnClose,
15783
- onMaskClick: props.closeOnMaskClick ? props.onClose : void 0,
15784
- style: props.maskStyle,
15785
- className: classNames(cls("mask"), props.maskClassName),
15786
- disableBodyScroll: props.disableBodyScroll
15787
- }), React$1.createElement("div", {
15788
- className: cls("wrap")
15789
- }, React$1.createElement(animated.div, {
15790
- style
15791
- }, body)))));
15792
- return React$1.createElement(ShouldRender, {
15793
- active,
15794
- forceRender: props.forceRender,
15795
- destroyOnClose: props.destroyOnClose
15796
- }, renderToContainer(props.getContainer, node));
15813
+ forceRender: props.forceRender
15814
+ }, element);
15797
15815
  };
15798
15816
  function cls(name = "") {
15799
15817
  return "adm-modal" + (name && "-") + name;
@@ -15885,7 +15903,7 @@ var index$6 = attachPropertiesToComponent(Modal, {
15885
15903
  clear: clear$1
15886
15904
  });
15887
15905
  var navBar = "";
15888
- const classPrefix$t = `adm-nav-bar`;
15906
+ const classPrefix$v = `adm-nav-bar`;
15889
15907
  const defaultProps$o = {
15890
15908
  back: "",
15891
15909
  backArrow: true
@@ -15897,25 +15915,25 @@ const NavBar = (p2) => {
15897
15915
  backArrow
15898
15916
  } = props;
15899
15917
  return withNativeProps(props, React$1.createElement("div", {
15900
- className: classNames(classPrefix$t)
15918
+ className: classNames(classPrefix$v)
15901
15919
  }, React$1.createElement("div", {
15902
- className: `${classPrefix$t}-left`,
15920
+ className: `${classPrefix$v}-left`,
15903
15921
  role: "button"
15904
15922
  }, back !== null && React$1.createElement("div", {
15905
- className: `${classPrefix$t}-back`,
15923
+ className: `${classPrefix$v}-back`,
15906
15924
  onClick: props.onBack
15907
15925
  }, backArrow && React$1.createElement("span", {
15908
- className: `${classPrefix$t}-back-arrow`
15926
+ className: `${classPrefix$v}-back-arrow`
15909
15927
  }, backArrow === true ? React$1.createElement(LeftOutline, null) : backArrow), React$1.createElement("span", {
15910
15928
  "aria-hidden": "true"
15911
15929
  }, back)), props.left), React$1.createElement("div", {
15912
- className: `${classPrefix$t}-title`
15930
+ className: `${classPrefix$v}-title`
15913
15931
  }, props.children), React$1.createElement("div", {
15914
- className: `${classPrefix$t}-right`
15932
+ className: `${classPrefix$v}-right`
15915
15933
  }, props.right)));
15916
15934
  };
15917
15935
  var noticeBar = "";
15918
- const classPrefix$s = `adm-notice-bar`;
15936
+ const classPrefix$u = `adm-notice-bar`;
15919
15937
  const defaultProps$n = {
15920
15938
  color: "default",
15921
15939
  delay: 2e3,
@@ -15974,23 +15992,23 @@ const NoticeBar = memo((p2) => {
15974
15992
  if (!visible)
15975
15993
  return null;
15976
15994
  return withNativeProps(props, React$1.createElement("div", {
15977
- className: classNames(classPrefix$s, `${classPrefix$s}-${props.color}`)
15995
+ className: classNames(classPrefix$u, `${classPrefix$u}-${props.color}`)
15978
15996
  }, props.icon && React$1.createElement("span", {
15979
- className: `${classPrefix$s}-left`
15997
+ className: `${classPrefix$u}-left`
15980
15998
  }, props.icon), React$1.createElement("span", {
15981
15999
  ref: containerRef,
15982
- className: `${classPrefix$s}-content`
16000
+ className: `${classPrefix$u}-content`
15983
16001
  }, React$1.createElement("span", {
15984
16002
  onTransitionEnd: () => {
15985
16003
  animatingRef.current = false;
15986
16004
  start();
15987
16005
  },
15988
16006
  ref: textRef,
15989
- className: `${classPrefix$s}-content-inner`
16007
+ className: `${classPrefix$u}-content-inner`
15990
16008
  }, props.content)), (props.closeable || props.extra) && React$1.createElement("span", {
15991
- className: `${classPrefix$s}-right`
16009
+ className: `${classPrefix$u}-right`
15992
16010
  }, props.extra, props.closeable && React$1.createElement(CloseOutline, {
15993
- className: `${classPrefix$s}-close-icon`,
16011
+ className: `${classPrefix$u}-close-icon`,
15994
16012
  onClick: () => {
15995
16013
  var _a;
15996
16014
  setVisible(false);
@@ -16007,7 +16025,7 @@ function shuffle(array) {
16007
16025
  }
16008
16026
  return result2;
16009
16027
  }
16010
- const classPrefix$r = "adm-number-keyboard";
16028
+ const classPrefix$t = "adm-number-keyboard";
16011
16029
  const defaultProps$m = {
16012
16030
  defaultVisible: false,
16013
16031
  randomOrder: false,
@@ -16080,13 +16098,13 @@ const NumberKeyboard = (p2) => {
16080
16098
  if (!showCloseButton && !title)
16081
16099
  return null;
16082
16100
  return React$1.createElement("div", {
16083
- className: classNames(`${classPrefix$r}-header`, {
16101
+ className: classNames(`${classPrefix$t}-header`, {
16084
16102
  "with-title": !!title
16085
16103
  })
16086
16104
  }, title && React$1.createElement("div", {
16087
- className: `${classPrefix$r}-title`
16105
+ className: `${classPrefix$t}-title`
16088
16106
  }, title), showCloseButton && React$1.createElement("span", {
16089
- className: `${classPrefix$r}-header-close-button`,
16107
+ className: `${classPrefix$t}-header-close-button`,
16090
16108
  onClick: () => {
16091
16109
  var _a;
16092
16110
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -16097,7 +16115,7 @@ const NumberKeyboard = (p2) => {
16097
16115
  };
16098
16116
  const renderKey = (key, index2) => {
16099
16117
  const isNumberKey = /^\d$/.test(key);
16100
- const className = classNames(`${classPrefix$r}-key`, {
16118
+ const className = classNames(`${classPrefix$t}-key`, {
16101
16119
  "number-key": isNumberKey,
16102
16120
  "sign-key": !isNumberKey && key,
16103
16121
  "mid-key": index2 === 9 && !!confirmText
@@ -16126,24 +16144,24 @@ const NumberKeyboard = (p2) => {
16126
16144
  mask: false,
16127
16145
  afterClose: props.afterClose,
16128
16146
  afterShow: props.afterShow,
16129
- className: `${classPrefix$r}-popup`,
16147
+ className: `${classPrefix$t}-popup`,
16130
16148
  stopPropagation: props.stopPropagation
16131
16149
  }, withNativeProps(props, React$1.createElement("div", {
16132
16150
  ref: keyboardRef,
16133
- className: classPrefix$r,
16151
+ className: classPrefix$t,
16134
16152
  onMouseDown: (e2) => {
16135
16153
  e2.preventDefault();
16136
16154
  }
16137
16155
  }, renderHeader(), React$1.createElement("div", {
16138
- className: `${classPrefix$r}-wrapper`
16156
+ className: `${classPrefix$t}-wrapper`
16139
16157
  }, React$1.createElement("div", {
16140
- className: classNames(`${classPrefix$r}-main`, {
16158
+ className: classNames(`${classPrefix$t}-main`, {
16141
16159
  "confirmed-style": !!confirmText
16142
16160
  })
16143
16161
  }, keys2.map(renderKey)), !!confirmText && React$1.createElement("div", {
16144
- className: `${classPrefix$r}-confirm`
16162
+ className: `${classPrefix$t}-confirm`
16145
16163
  }, React$1.createElement("div", {
16146
- className: `${classPrefix$r}-key extra-key bs-key`,
16164
+ className: `${classPrefix$t}-key extra-key bs-key`,
16147
16165
  onTouchStart: () => {
16148
16166
  onBackspacePressStart();
16149
16167
  },
@@ -16154,17 +16172,17 @@ const NumberKeyboard = (p2) => {
16154
16172
  title: "BACKSPACE",
16155
16173
  role: "button"
16156
16174
  }, React$1.createElement(TextDeletionOutline, null)), React$1.createElement("div", {
16157
- className: `${classPrefix$r}-key extra-key ok-key`,
16175
+ className: `${classPrefix$t}-key extra-key ok-key`,
16158
16176
  onTouchEnd: (e2) => onKeyPress(e2, "OK"),
16159
16177
  role: "button"
16160
16178
  }, confirmText))), props.safeArea && React$1.createElement("div", {
16161
- className: `${classPrefix$r}-footer`
16179
+ className: `${classPrefix$t}-footer`
16162
16180
  }, React$1.createElement(SafeArea, {
16163
16181
  position: "bottom"
16164
16182
  })))));
16165
16183
  };
16166
16184
  var pageIndicator = "";
16167
- const classPrefix$q = `adm-page-indicator`;
16185
+ const classPrefix$s = `adm-page-indicator`;
16168
16186
  const defaultProps$l = {
16169
16187
  color: "primary",
16170
16188
  direction: "horizontal"
@@ -16175,17 +16193,17 @@ const PageIndicator = memo((p2) => {
16175
16193
  for (let i = 0; i < props.total; i++) {
16176
16194
  dots.push(React$1.createElement("div", {
16177
16195
  key: i,
16178
- className: classNames(`${classPrefix$q}-dot`, {
16179
- [`${classPrefix$q}-dot-active`]: props.current === i
16196
+ className: classNames(`${classPrefix$s}-dot`, {
16197
+ [`${classPrefix$s}-dot-active`]: props.current === i
16180
16198
  })
16181
16199
  }));
16182
16200
  }
16183
16201
  return withNativeProps(props, React$1.createElement("div", {
16184
- className: classNames(classPrefix$q, `${classPrefix$q}-${props.direction}`, `${classPrefix$q}-color-${props.color}`)
16202
+ className: classNames(classPrefix$s, `${classPrefix$s}-${props.direction}`, `${classPrefix$s}-color-${props.color}`)
16185
16203
  }, dots));
16186
16204
  });
16187
16205
  var passcodeInput = "";
16188
- const classPrefix$p = "adm-passcode-input";
16206
+ const classPrefix$r = "adm-passcode-input";
16189
16207
  const defaultProps$k = {
16190
16208
  defaultValue: "",
16191
16209
  length: 6,
@@ -16253,7 +16271,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16253
16271
  const focusedIndex = bound(chars.length, 0, cellLength - 1);
16254
16272
  for (let i = 0; i < cellLength; i++) {
16255
16273
  cells.push(React$1.createElement("div", {
16256
- className: classNames(`${classPrefix$p}-cell`, {
16274
+ className: classNames(`${classPrefix$r}-cell`, {
16257
16275
  caret: props.caret && caretIndex === i && focused,
16258
16276
  focused: focusedIndex === i && focused,
16259
16277
  dot: !props.plain && chars[i]
@@ -16263,7 +16281,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16263
16281
  }
16264
16282
  return cells;
16265
16283
  };
16266
- const cls2 = classNames(classPrefix$p, {
16284
+ const cls2 = classNames(classPrefix$r, {
16267
16285
  focused,
16268
16286
  error: props.error,
16269
16287
  seperated: props.seperated
@@ -16275,10 +16293,10 @@ const PasscodeInput = forwardRef((p2, ref) => {
16275
16293
  onFocus,
16276
16294
  onBlur
16277
16295
  }, React$1.createElement("div", {
16278
- className: `${classPrefix$p}-cell-container`
16296
+ className: `${classPrefix$r}-cell-container`
16279
16297
  }, renderCells()), React$1.createElement("input", {
16280
16298
  ref: nativeInputRef,
16281
- className: `${classPrefix$p}-native-input`,
16299
+ className: `${classPrefix$r}-native-input`,
16282
16300
  value,
16283
16301
  type: "text",
16284
16302
  pattern: "[0-9]*",
@@ -16303,7 +16321,7 @@ const PasscodeInput = forwardRef((p2, ref) => {
16303
16321
  }));
16304
16322
  });
16305
16323
  var progressBar = "";
16306
- const classPrefix$o = `adm-progress-bar`;
16324
+ const classPrefix$q = `adm-progress-bar`;
16307
16325
  const ProgressBar = (p2) => {
16308
16326
  const props = mergeProps({
16309
16327
  percent: 0
@@ -16312,16 +16330,16 @@ const ProgressBar = (p2) => {
16312
16330
  width: `${props.percent}%`
16313
16331
  };
16314
16332
  return withNativeProps(props, React$1.createElement("div", {
16315
- className: classPrefix$o
16333
+ className: classPrefix$q
16316
16334
  }, React$1.createElement("div", {
16317
- className: `${classPrefix$o}-trail`
16335
+ className: `${classPrefix$q}-trail`
16318
16336
  }, React$1.createElement("div", {
16319
- className: `${classPrefix$o}-fill`,
16337
+ className: `${classPrefix$q}-fill`,
16320
16338
  style: fillStyle
16321
16339
  }))));
16322
16340
  };
16323
16341
  var progressCircle = "";
16324
- const classPrefix$n = `adm-progress-circle`;
16342
+ const classPrefix$p = `adm-progress-circle`;
16325
16343
  const ProgressCircle = (p2) => {
16326
16344
  const props = mergeProps({
16327
16345
  percent: 0
@@ -16330,25 +16348,25 @@ const ProgressCircle = (p2) => {
16330
16348
  "--percent": props.percent.toString()
16331
16349
  };
16332
16350
  return withNativeProps(props, React$1.createElement("div", {
16333
- className: `${classPrefix$n}`,
16351
+ className: `${classPrefix$p}`,
16334
16352
  style
16335
16353
  }, React$1.createElement("div", {
16336
- className: `${classPrefix$n}-content`
16354
+ className: `${classPrefix$p}-content`
16337
16355
  }, React$1.createElement("svg", {
16338
- className: `${classPrefix$n}-svg`
16356
+ className: `${classPrefix$p}-svg`
16339
16357
  }, React$1.createElement("circle", {
16340
- className: `${classPrefix$n}-track`,
16358
+ className: `${classPrefix$p}-track`,
16341
16359
  fill: "transparent"
16342
16360
  }), React$1.createElement("circle", {
16343
- className: `${classPrefix$n}-fill`,
16361
+ className: `${classPrefix$p}-fill`,
16344
16362
  fill: "transparent"
16345
16363
  })), React$1.createElement("div", {
16346
- className: `${classPrefix$n}-info`
16364
+ className: `${classPrefix$p}-info`
16347
16365
  }, props.children))));
16348
16366
  };
16349
16367
  var pullToRefresh = "";
16350
16368
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
16351
- const classPrefix$m = `adm-pull-to-refresh`;
16369
+ const classPrefix$o = `adm-pull-to-refresh`;
16352
16370
  const defaultProps$j = {
16353
16371
  pullingText: "\u4E0B\u62C9\u5237\u65B0",
16354
16372
  canReleaseText: "\u91CA\u653E\u7ACB\u5373\u5237\u65B0",
@@ -16501,17 +16519,17 @@ const PullToRefresh = (p2) => {
16501
16519
  };
16502
16520
  return React$1.createElement(animated.div, {
16503
16521
  ref: elementRef,
16504
- className: classPrefix$m
16522
+ className: classPrefix$o
16505
16523
  }, React$1.createElement(animated.div, {
16506
16524
  style: springStyles,
16507
- className: `${classPrefix$m}-head`
16525
+ className: `${classPrefix$o}-head`
16508
16526
  }, React$1.createElement("div", {
16509
- className: `${classPrefix$m}-head-content`,
16527
+ className: `${classPrefix$o}-head-content`,
16510
16528
  style: {
16511
16529
  height: headHeight
16512
16530
  }
16513
16531
  }, renderStatusText())), React$1.createElement("div", {
16514
- className: `${classPrefix$m}-content`
16532
+ className: `${classPrefix$o}-content`
16515
16533
  }, props.children));
16516
16534
  };
16517
16535
  var radio = "";
@@ -16544,7 +16562,7 @@ const Group = (p2) => {
16544
16562
  }
16545
16563
  }, props.children);
16546
16564
  };
16547
- const classPrefix$l = `adm-radio`;
16565
+ const classPrefix$n = `adm-radio`;
16548
16566
  const defaultProps$h = {
16549
16567
  defaultChecked: false
16550
16568
  };
@@ -16576,18 +16594,18 @@ const Radio = (p2) => {
16576
16594
  const renderIcon = () => {
16577
16595
  if (props.icon) {
16578
16596
  return React$1.createElement("div", {
16579
- className: `${classPrefix$l}-custom-icon`
16597
+ className: `${classPrefix$n}-custom-icon`
16580
16598
  }, props.icon(checked));
16581
16599
  }
16582
16600
  return React$1.createElement("div", {
16583
- className: `${classPrefix$l}-icon`
16601
+ className: `${classPrefix$n}-icon`
16584
16602
  }, checked && React$1.createElement(CheckIcon, null));
16585
16603
  };
16586
16604
  return withNativeProps(props, React$1.createElement("label", {
16587
- className: classNames(classPrefix$l, {
16588
- [`${classPrefix$l}-checked`]: checked,
16589
- [`${classPrefix$l}-disabled`]: disabled,
16590
- [`${classPrefix$l}-block`]: props.block
16605
+ className: classNames(classPrefix$n, {
16606
+ [`${classPrefix$n}-checked`]: checked,
16607
+ [`${classPrefix$n}-disabled`]: disabled,
16608
+ [`${classPrefix$n}-block`]: props.block
16591
16609
  })
16592
16610
  }, React$1.createElement(NativeInput, {
16593
16611
  type: "radio",
@@ -16596,14 +16614,14 @@ const Radio = (p2) => {
16596
16614
  disabled,
16597
16615
  id: props.id
16598
16616
  }), renderIcon(), props.children && React$1.createElement("div", {
16599
- className: `${classPrefix$l}-content`
16617
+ className: `${classPrefix$n}-content`
16600
16618
  }, props.children)));
16601
16619
  };
16602
16620
  var index$5 = attachPropertiesToComponent(Radio, {
16603
16621
  Group
16604
16622
  });
16605
16623
  var rate = "";
16606
- const classPrefix$k = `adm-rate`;
16624
+ const classPrefix$m = `adm-rate`;
16607
16625
  const defaultProps$g = {
16608
16626
  count: 5,
16609
16627
  allowHalf: false,
@@ -16618,10 +16636,10 @@ const Rate = (p2) => {
16618
16636
  const starList = Array(props.count).fill(null);
16619
16637
  function renderStar(v, half) {
16620
16638
  return React$1.createElement("div", {
16621
- className: classNames(`${classPrefix$k}-star`, {
16622
- [`${classPrefix$k}-star-active`]: value >= v,
16623
- [`${classPrefix$k}-star-half`]: half,
16624
- [`${classPrefix$k}-star-readonly`]: props.readOnly
16639
+ className: classNames(`${classPrefix$m}-star`, {
16640
+ [`${classPrefix$m}-star-active`]: value >= v,
16641
+ [`${classPrefix$m}-star-half`]: half,
16642
+ [`${classPrefix$m}-star-readonly`]: props.readOnly
16625
16643
  }),
16626
16644
  onClick: () => {
16627
16645
  if (props.readOnly)
@@ -16635,14 +16653,14 @@ const Rate = (p2) => {
16635
16653
  }, props.character);
16636
16654
  }
16637
16655
  return withNativeProps(props, React$1.createElement("div", {
16638
- className: classPrefix$k
16656
+ className: classPrefix$m
16639
16657
  }, starList.map((_, i) => React$1.createElement("div", {
16640
16658
  key: i,
16641
- className: classNames(`${classPrefix$k}-box`)
16659
+ className: classNames(`${classPrefix$m}-box`)
16642
16660
  }, props.allowHalf && renderStar(i + 0.5, true), renderStar(i + 1, false)))));
16643
16661
  };
16644
16662
  var result = "";
16645
- const classPrefix$j = `adm-result`;
16663
+ const classPrefix$l = `adm-result`;
16646
16664
  const iconRecord = {
16647
16665
  success: CheckCircleFill,
16648
16666
  error: CloseCircleFill,
@@ -16661,17 +16679,17 @@ const Result = (props) => {
16661
16679
  return null;
16662
16680
  const resultIcon = icon || React$1.createElement(iconRecord[status]);
16663
16681
  return withNativeProps(props, React$1.createElement("div", {
16664
- className: classNames(classPrefix$j, `${classPrefix$j}-${status}`)
16682
+ className: classNames(classPrefix$l, `${classPrefix$l}-${status}`)
16665
16683
  }, React$1.createElement("div", {
16666
- className: `${classPrefix$j}-icon`
16684
+ className: `${classPrefix$l}-icon`
16667
16685
  }, resultIcon), React$1.createElement("div", {
16668
- className: `${classPrefix$j}-title`
16686
+ className: `${classPrefix$l}-title`
16669
16687
  }, title), description ? React$1.createElement("div", {
16670
- className: `${classPrefix$j}-description`
16688
+ className: `${classPrefix$l}-description`
16671
16689
  }, description) : null));
16672
16690
  };
16673
16691
  var searchBar = "";
16674
- const classPrefix$i = `adm-search-bar`;
16692
+ const classPrefix$k = `adm-search-bar`;
16675
16693
  const defaultProps$f = {
16676
16694
  clearable: true,
16677
16695
  onlyShowClearWhenFocus: false,
@@ -16716,10 +16734,10 @@ const SearchBar = forwardRef((p2, ref) => {
16716
16734
  isShowCancel = props.showCancelButton && hasFocus;
16717
16735
  }
16718
16736
  return isShowCancel && React$1.createElement("div", {
16719
- className: `${classPrefix$i}-suffix`
16737
+ className: `${classPrefix$k}-suffix`
16720
16738
  }, React$1.createElement(Button, {
16721
16739
  fill: "none",
16722
- className: `${classPrefix$i}-cancel-button`,
16740
+ className: `${classPrefix$k}-cancel-button`,
16723
16741
  onClick: () => {
16724
16742
  var _a, _b, _c;
16725
16743
  if (props.clearOnCancel) {
@@ -16734,17 +16752,17 @@ const SearchBar = forwardRef((p2, ref) => {
16734
16752
  }, props.cancelText));
16735
16753
  };
16736
16754
  return withNativeProps(props, React$1.createElement("div", {
16737
- className: classNames(classPrefix$i, {
16738
- [`${classPrefix$i}-active`]: hasFocus
16755
+ className: classNames(classPrefix$k, {
16756
+ [`${classPrefix$k}-active`]: hasFocus
16739
16757
  })
16740
16758
  }, React$1.createElement("div", {
16741
- className: `${classPrefix$i}-input-box`
16759
+ className: `${classPrefix$k}-input-box`
16742
16760
  }, props.icon && React$1.createElement("div", {
16743
- className: `${classPrefix$i}-input-box-icon`
16761
+ className: `${classPrefix$k}-input-box-icon`
16744
16762
  }, props.icon), React$1.createElement(Input, {
16745
16763
  ref: inputRef,
16746
- className: classNames(`${classPrefix$i}-input`, {
16747
- [`${classPrefix$i}-input-without-icon`]: !props.icon
16764
+ className: classNames(`${classPrefix$k}-input`, {
16765
+ [`${classPrefix$k}-input-without-icon`]: !props.icon
16748
16766
  }),
16749
16767
  value,
16750
16768
  onChange: setValue,
@@ -16801,7 +16819,7 @@ const CheckMark = memo(() => {
16801
16819
  points: "34.2767388 22 24.797043 31.4796958 21 27.6826527"
16802
16820
  })))))));
16803
16821
  });
16804
- const classPrefix$h = `adm-selector`;
16822
+ const classPrefix$j = `adm-selector`;
16805
16823
  const defaultProps$e = {
16806
16824
  multiple: false,
16807
16825
  defaultValue: [],
@@ -16825,10 +16843,10 @@ const Selector = (p2) => {
16825
16843
  const items = props.options.map((option) => {
16826
16844
  const active = (value || []).includes(option.value);
16827
16845
  const disabled = option.disabled || props.disabled;
16828
- const itemCls = classNames(`${classPrefix$h}-item`, {
16829
- [`${classPrefix$h}-item-active`]: active && !props.multiple,
16830
- [`${classPrefix$h}-item-multiple-active`]: active && props.multiple,
16831
- [`${classPrefix$h}-item-disabled`]: disabled
16846
+ const itemCls = classNames(`${classPrefix$j}-item`, {
16847
+ [`${classPrefix$j}-item-active`]: active && !props.multiple,
16848
+ [`${classPrefix$j}-item-multiple-active`]: active && props.multiple,
16849
+ [`${classPrefix$j}-item-disabled`]: disabled
16832
16850
  });
16833
16851
  return React$1.createElement("div", {
16834
16852
  key: option.value,
@@ -16846,13 +16864,13 @@ const Selector = (p2) => {
16846
16864
  }
16847
16865
  }
16848
16866
  }, option.label, option.description && React$1.createElement("div", {
16849
- className: `${classPrefix$h}-item-description`
16867
+ className: `${classPrefix$j}-item-description`
16850
16868
  }, option.description), active && props.showCheckMark && React$1.createElement("div", {
16851
- className: `${classPrefix$h}-check-mark-wrapper`
16869
+ className: `${classPrefix$j}-check-mark-wrapper`
16852
16870
  }, React$1.createElement(CheckMark, null)));
16853
16871
  });
16854
16872
  return withNativeProps(props, React$1.createElement("div", {
16855
- className: classPrefix$h
16873
+ className: classPrefix$j
16856
16874
  }, !props.columns && React$1.createElement(Space, {
16857
16875
  wrap: true
16858
16876
  }, items), props.columns && React$1.createElement(Grid, {
@@ -16870,10 +16888,10 @@ const Corner = memo((props) => withNativeProps(props, React$1.createElement("svg
16870
16888
  fillRule: "evenodd"
16871
16889
  }, React$1.createElement("path", {
16872
16890
  d: "M30,0 C13.4314575,3.04359188e-15 -2.02906125e-15,13.4314575 0,30 L0,30 L0,0 Z",
16873
- fill: "var(--adm-color-white)",
16891
+ fill: "var(--adm-color-background)",
16874
16892
  transform: "translate(15.000000, 15.000000) scale(-1, -1) translate(-15.000000, -15.000000) "
16875
16893
  })))));
16876
- const classPrefix$g = `adm-side-bar`;
16894
+ const classPrefix$i = `adm-side-bar`;
16877
16895
  const SideBarItem = () => {
16878
16896
  return null;
16879
16897
  };
@@ -16905,9 +16923,9 @@ const SideBar = (props) => {
16905
16923
  const lastItem = items[items.length - 1];
16906
16924
  const isLastItemActive = lastItem && lastItem.key === activeKey;
16907
16925
  return withNativeProps(props, React$1.createElement("div", {
16908
- className: classPrefix$g
16926
+ className: classPrefix$i
16909
16927
  }, React$1.createElement("div", {
16910
- className: `${classPrefix$g}-items`
16928
+ className: `${classPrefix$i}-items`
16911
16929
  }, items.map((item, index2) => {
16912
16930
  const active = item.key === activeKey;
16913
16931
  const isActiveNextSibling = items[index2 - 1] && items[index2 - 1].key === activeKey;
@@ -16922,33 +16940,33 @@ const SideBar = (props) => {
16922
16940
  return;
16923
16941
  setActiveKey(key.toString());
16924
16942
  },
16925
- className: classNames(`${classPrefix$g}-item`, {
16926
- [`${classPrefix$g}-item-active`]: active,
16927
- [`${classPrefix$g}-item-disabled`]: item.props.disabled
16943
+ className: classNames(`${classPrefix$i}-item`, {
16944
+ [`${classPrefix$i}-item-active`]: active,
16945
+ [`${classPrefix$i}-item-disabled`]: item.props.disabled
16928
16946
  })
16929
16947
  }, React$1.createElement(React$1.Fragment, null, isActiveNextSibling && React$1.createElement(Corner, {
16930
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-top`
16948
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-top`
16931
16949
  }), isActivePreviousSibling && React$1.createElement(Corner, {
16932
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-bottom`
16950
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-bottom`
16933
16951
  })), React$1.createElement(Badge, {
16934
16952
  content: item.props.badge,
16935
- className: `${classPrefix$g}-badge`
16953
+ className: `${classPrefix$i}-badge`
16936
16954
  }, React$1.createElement("div", {
16937
- className: `${classPrefix$g}-item-title`
16955
+ className: `${classPrefix$i}-item-title`
16938
16956
  }, active && React$1.createElement("div", {
16939
- className: `${classPrefix$g}-item-highlight`
16957
+ className: `${classPrefix$i}-item-highlight`
16940
16958
  }), item.props.title))));
16941
16959
  })), React$1.createElement("div", {
16942
- className: classNames(`${classPrefix$g}-extra-space`, isLastItemActive && `${classPrefix$g}-item-active-next-sibling`)
16960
+ className: classNames(`${classPrefix$i}-extra-space`, isLastItemActive && `${classPrefix$i}-item-active-next-sibling`)
16943
16961
  }, isLastItemActive && React$1.createElement(Corner, {
16944
- className: `${classPrefix$g}-item-corner ${classPrefix$g}-item-corner-top`
16962
+ className: `${classPrefix$i}-item-corner ${classPrefix$i}-item-corner-top`
16945
16963
  }))));
16946
16964
  };
16947
16965
  var index$4 = attachPropertiesToComponent(SideBar, {
16948
16966
  Item: SideBarItem
16949
16967
  });
16950
16968
  var slider = "";
16951
- const classPrefix$f = `adm-slider`;
16969
+ const classPrefix$h = `adm-slider`;
16952
16970
  const Ticks = ({
16953
16971
  points,
16954
16972
  max,
@@ -16964,8 +16982,8 @@ const Ticks = ({
16964
16982
  left: offset2
16965
16983
  };
16966
16984
  const pointClassName = classNames({
16967
- [`${classPrefix$f}-tick`]: true,
16968
- [`${classPrefix$f}-tick-active`]: isActived
16985
+ [`${classPrefix$h}-tick`]: true,
16986
+ [`${classPrefix$h}-tick-active`]: isActived
16969
16987
  });
16970
16988
  return React$1.createElement("span", {
16971
16989
  className: pointClassName,
@@ -16974,10 +16992,10 @@ const Ticks = ({
16974
16992
  });
16975
16993
  });
16976
16994
  return React$1.createElement("div", {
16977
- className: `${classPrefix$f}-ticks`
16995
+ className: `${classPrefix$h}-ticks`
16978
16996
  }, elements);
16979
16997
  };
16980
- const classPrefix$e = `adm-slider-mark`;
16998
+ const classPrefix$g = `adm-slider-mark`;
16981
16999
  const Marks = ({
16982
17000
  marks,
16983
17001
  upperBound,
@@ -16994,8 +17012,8 @@ const Marks = ({
16994
17012
  }
16995
17013
  const isActive = point <= upperBound && point >= lowerBound;
16996
17014
  const markClassName = classNames({
16997
- [`${classPrefix$e}-text`]: true,
16998
- [`${classPrefix$e}-text-active`]: isActive
17015
+ [`${classPrefix$g}-text`]: true,
17016
+ [`${classPrefix$g}-text-active`]: isActive
16999
17017
  });
17000
17018
  const style = {
17001
17019
  left: `${(point - min) / range * 100}%`
@@ -17007,33 +17025,35 @@ const Marks = ({
17007
17025
  }, markPoint);
17008
17026
  });
17009
17027
  return React$1.createElement("div", {
17010
- className: classPrefix$e
17028
+ className: classPrefix$g
17011
17029
  }, elements);
17012
17030
  };
17013
17031
  const ThumbIcon = (props) => {
17014
17032
  return withNativeProps(props, React$1.createElement("svg", {
17015
- viewBox: "0 0 20 20"
17033
+ viewBox: "0 0 24 24",
17034
+ xmlns: "http://www.w3.org/2000/svg"
17016
17035
  }, React$1.createElement("g", {
17017
- stroke: "none",
17018
- strokeWidth: "1",
17019
- fill: "none",
17036
+ fill: "currentColor",
17020
17037
  fillRule: "evenodd"
17021
- }, React$1.createElement("g", {
17022
- transform: "translate(-604.000000, -656.000000)",
17023
- fill: "#999999"
17024
- }, React$1.createElement("g", {
17025
- transform: "translate(592.000000, 644.000000)"
17026
- }, React$1.createElement("g", {
17027
- transform: "translate(12.000000, 12.000000)"
17028
- }, React$1.createElement("polygon", {
17029
- points: "0 3.33333333 2.22222222 3.33333333 2.22222222 17.7777778 0 17.7777778"
17030
- }), React$1.createElement("polygon", {
17031
- points: "17.7777778 3.33333333 20 3.33333333 20 17.7777778 17.7777778 17.7777778"
17032
- }), React$1.createElement("path", {
17033
- 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"
17034
- })))))));
17038
+ }, React$1.createElement("rect", {
17039
+ x: 10,
17040
+ width: 4,
17041
+ height: 24,
17042
+ rx: 2
17043
+ }), React$1.createElement("rect", {
17044
+ y: 4,
17045
+ width: 4,
17046
+ height: 16,
17047
+ rx: 2
17048
+ }), React$1.createElement("rect", {
17049
+ x: 20,
17050
+ y: 4,
17051
+ width: 4,
17052
+ height: 16,
17053
+ rx: 2
17054
+ }))));
17035
17055
  };
17036
- const classPrefix$d = `adm-slider`;
17056
+ const classPrefix$f = `adm-slider`;
17037
17057
  const Thumb = (props) => {
17038
17058
  const {
17039
17059
  value,
@@ -17050,6 +17070,7 @@ const Thumb = (props) => {
17050
17070
  right: "auto"
17051
17071
  };
17052
17072
  };
17073
+ const [dragging, setDragging] = useState(false);
17053
17074
  const bind = useDrag((state) => {
17054
17075
  var _a;
17055
17076
  if (disabled)
@@ -17063,29 +17084,39 @@ const Thumb = (props) => {
17063
17084
  return;
17064
17085
  const diff = x / Math.ceil(sliderOffsetWith) * (max - min);
17065
17086
  onDrag(prevValue.current + diff, state.first, state.last);
17087
+ setDragging(!state.last);
17066
17088
  }, {
17067
17089
  axis: "x",
17068
17090
  pointer: {
17069
17091
  touch: true
17070
17092
  }
17071
17093
  });
17094
+ const renderPopoverContent = typeof props.popover === "function" ? props.popover : props.popover ? (value2) => value2.toString() : null;
17095
+ const thumbElement = React$1.createElement("div", {
17096
+ className: `${classPrefix$f}-thumb`
17097
+ }, icon ? icon : React$1.createElement(ThumbIcon, {
17098
+ className: `${classPrefix$f}-thumb-icon`
17099
+ }));
17072
17100
  return React$1.createElement("div", Object.assign({
17073
- className: `${classPrefix$d}-thumb-container`,
17101
+ className: `${classPrefix$f}-thumb-container`,
17074
17102
  style: currentPosition()
17075
- }, bind()), React$1.createElement("div", {
17076
- className: `${classPrefix$d}-thumb`
17077
- }, icon ? icon : React$1.createElement(ThumbIcon, {
17078
- className: `${classPrefix$d}-thumb-icon`
17079
- })));
17103
+ }, bind()), renderPopoverContent ? React$1.createElement(Popover$1, {
17104
+ content: renderPopoverContent(value),
17105
+ placement: "top",
17106
+ visible: dragging,
17107
+ getContainer: null,
17108
+ mode: "dark"
17109
+ }, thumbElement) : thumbElement);
17080
17110
  };
17081
- const classPrefix$c = `adm-slider`;
17111
+ const classPrefix$e = `adm-slider`;
17082
17112
  const defaultProps$d = {
17083
17113
  min: 0,
17084
17114
  max: 100,
17085
17115
  step: 1,
17086
17116
  ticks: false,
17087
17117
  range: false,
17088
- disabled: false
17118
+ disabled: false,
17119
+ popover: false
17089
17120
  };
17090
17121
  const Slider = (p2) => {
17091
17122
  var _a;
@@ -17180,13 +17211,14 @@ const Slider = (p2) => {
17180
17211
  const valueBeforeDragRef = useRef();
17181
17212
  const renderThumb = (index2) => {
17182
17213
  return React$1.createElement(Thumb, {
17183
- icon,
17184
17214
  key: index2,
17185
17215
  value: sliderValue[index2],
17186
17216
  min,
17187
17217
  max,
17188
17218
  disabled,
17189
17219
  trackRef,
17220
+ icon,
17221
+ popover: props.popover,
17190
17222
  onDrag: (position, first, last) => {
17191
17223
  if (first) {
17192
17224
  dragLockRef.current += 1;
@@ -17209,18 +17241,18 @@ const Slider = (p2) => {
17209
17241
  });
17210
17242
  };
17211
17243
  return withNativeProps(props, React$1.createElement("div", {
17212
- className: classNames(classPrefix$c, {
17213
- [`${classPrefix$c}-disabled`]: disabled
17244
+ className: classNames(classPrefix$e, {
17245
+ [`${classPrefix$e}-disabled`]: disabled
17214
17246
  })
17215
17247
  }, React$1.createElement("div", {
17216
- className: `${classPrefix$c}-track-container`,
17248
+ className: `${classPrefix$e}-track-container`,
17217
17249
  onClick: onTrackClick
17218
17250
  }, React$1.createElement("div", {
17219
- className: `${classPrefix$c}-track`,
17251
+ className: `${classPrefix$e}-track`,
17220
17252
  onClick: onTrackClick,
17221
17253
  ref: trackRef
17222
17254
  }, React$1.createElement("div", {
17223
- className: `${classPrefix$c}-fill`,
17255
+ className: `${classPrefix$e}-fill`,
17224
17256
  style: {
17225
17257
  width: fillSize,
17226
17258
  left: fillStart
@@ -17240,7 +17272,7 @@ const Slider = (p2) => {
17240
17272
  })));
17241
17273
  };
17242
17274
  var stepper = "";
17243
- const classPrefix$b = `adm-stepper`;
17275
+ const classPrefix$d = `adm-stepper`;
17244
17276
  const defaultProps$c = {
17245
17277
  defaultValue: 0,
17246
17278
  step: 1,
@@ -17318,20 +17350,20 @@ const Stepper = (p2) => {
17318
17350
  return false;
17319
17351
  };
17320
17352
  return withNativeProps(props, React$1.createElement("div", {
17321
- className: classNames(classPrefix$b, {
17322
- [`${classPrefix$b}-active`]: hasFocus
17353
+ className: classNames(classPrefix$d, {
17354
+ [`${classPrefix$d}-active`]: hasFocus
17323
17355
  })
17324
17356
  }, React$1.createElement(Button, {
17325
- className: `${classPrefix$b}-minus`,
17357
+ className: `${classPrefix$d}-minus`,
17326
17358
  onClick: handleMinus,
17327
17359
  disabled: minusDisabled(),
17328
17360
  fill: "none",
17329
17361
  shape: "rectangular",
17330
17362
  color: "primary"
17331
17363
  }, React$1.createElement(MinusOutline, null)), React$1.createElement("div", {
17332
- className: `${classPrefix$b}-middle`
17364
+ className: `${classPrefix$d}-middle`
17333
17365
  }, React$1.createElement(Input, {
17334
- className: `${classPrefix$b}-input`,
17366
+ className: `${classPrefix$d}-input`,
17335
17367
  onFocus: (e2) => {
17336
17368
  var _a;
17337
17369
  setHasFocus(true);
@@ -17349,7 +17381,7 @@ const Stepper = (p2) => {
17349
17381
  },
17350
17382
  readOnly: inputReadOnly
17351
17383
  })), React$1.createElement(Button, {
17352
- className: `${classPrefix$b}-plus`,
17384
+ className: `${classPrefix$d}-plus`,
17353
17385
  onClick: handlePlus,
17354
17386
  disabled: plusDisabled(),
17355
17387
  fill: "none",
@@ -17372,7 +17404,7 @@ function convertTextToValue(text) {
17372
17404
  return parseFloat(text);
17373
17405
  }
17374
17406
  var steps = "";
17375
- const classPrefix$a = `adm-step`;
17407
+ const classPrefix$c = `adm-step`;
17376
17408
  const Step = (props) => {
17377
17409
  const {
17378
17410
  title,
@@ -17381,20 +17413,20 @@ const Step = (props) => {
17381
17413
  status = "wait"
17382
17414
  } = props;
17383
17415
  return withNativeProps(props, React$1.createElement("div", {
17384
- className: classNames(`${classPrefix$a}`, `${classPrefix$a}-status-${status}`)
17416
+ className: classNames(`${classPrefix$c}`, `${classPrefix$c}-status-${status}`)
17385
17417
  }, React$1.createElement("div", {
17386
- className: `${classPrefix$a}-indicator`
17418
+ className: `${classPrefix$c}-indicator`
17387
17419
  }, React$1.createElement("div", {
17388
- className: `${classPrefix$a}-icon-container`
17420
+ className: `${classPrefix$c}-icon-container`
17389
17421
  }, icon)), React$1.createElement("div", {
17390
- className: `${classPrefix$a}-content`
17422
+ className: `${classPrefix$c}-content`
17391
17423
  }, React$1.createElement("div", {
17392
- className: `${classPrefix$a}-title`
17424
+ className: `${classPrefix$c}-title`
17393
17425
  }, title), !!description && React$1.createElement("div", {
17394
- className: `${classPrefix$a}-description`
17426
+ className: `${classPrefix$c}-description`
17395
17427
  }, description))));
17396
17428
  };
17397
- const classPrefix$9 = `adm-steps`;
17429
+ const classPrefix$b = `adm-steps`;
17398
17430
  const stepClassPrefix = `adm-step`;
17399
17431
  const defaultIcon = React$1.createElement("span", {
17400
17432
  className: `${stepClassPrefix}-icon-dot`
@@ -17409,7 +17441,7 @@ const Steps = (p2) => {
17409
17441
  direction,
17410
17442
  current
17411
17443
  } = props;
17412
- const classString = classNames(classPrefix$9, `${classPrefix$9}-${direction}`);
17444
+ const classString = classNames(classPrefix$b, `${classPrefix$b}-${direction}`);
17413
17445
  return withNativeProps(props, React$1.createElement("div", {
17414
17446
  className: classString
17415
17447
  }, React$1.Children.map(props.children, (child, index2) => {
@@ -17435,6 +17467,7 @@ var index$3 = attachPropertiesToComponent(Steps, {
17435
17467
  Step
17436
17468
  });
17437
17469
  var swipeAction = "";
17470
+ const classPrefix$a = `adm-swipe-action`;
17438
17471
  const defaultProps$a = {
17439
17472
  rightActions: [],
17440
17473
  leftActions: [],
@@ -17552,7 +17585,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17552
17585
  const color = (_a = action.color) !== null && _a !== void 0 ? _a : "light";
17553
17586
  return React$1.createElement(Button, {
17554
17587
  key: action.key,
17555
- className: "adm-swipe-action-action-button",
17588
+ className: `${classPrefix$a}-action-button`,
17556
17589
  style: {
17557
17590
  "--background-color": (_b = colorRecord$1[color]) !== null && _b !== void 0 ? _b : color
17558
17591
  },
@@ -17567,7 +17600,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17567
17600
  }, action.text);
17568
17601
  }
17569
17602
  return withNativeProps(props, React$1.createElement("div", Object.assign({
17570
- className: "adm-swipe-action"
17603
+ className: classPrefix$a
17571
17604
  }, bind(), {
17572
17605
  ref: rootRef,
17573
17606
  onClickCapture: (e2) => {
@@ -17577,15 +17610,15 @@ const SwipeAction = forwardRef((p2, ref) => {
17577
17610
  }
17578
17611
  }
17579
17612
  }), React$1.createElement(animated.div, {
17580
- className: "adm-swipe-action-track",
17613
+ className: `${classPrefix$a}-track`,
17581
17614
  style: {
17582
17615
  x
17583
17616
  }
17584
17617
  }, withStopPropagation(props.stopPropagation, React$1.createElement("div", {
17585
- className: "adm-swipe-action-actions adm-swipe-action-actions-left",
17618
+ className: `${classPrefix$a}-actions ${classPrefix$a}-actions-left`,
17586
17619
  ref: leftRef
17587
17620
  }, props.leftActions.map(renderAction))), React$1.createElement("div", {
17588
- className: "adm-swipe-action-content",
17621
+ className: `${classPrefix$a}-content`,
17589
17622
  onClickCapture: (e2) => {
17590
17623
  if (x.goal !== 0) {
17591
17624
  e2.preventDefault();
@@ -17600,7 +17633,7 @@ const SwipeAction = forwardRef((p2, ref) => {
17600
17633
  pointerEvents: x.to((v) => v !== 0 && x.goal !== 0 ? "none" : "auto")
17601
17634
  }
17602
17635
  }, props.children)), withStopPropagation(props.stopPropagation, React$1.createElement("div", {
17603
- className: "adm-swipe-action-actions adm-swipe-action-actions-right",
17636
+ className: `${classPrefix$a}-actions ${classPrefix$a}-actions-right`,
17604
17637
  ref: rightRef
17605
17638
  }, props.rightActions.map(renderAction))))));
17606
17639
  });
@@ -17627,6 +17660,7 @@ function useRefState(initialState) {
17627
17660
  }, [state]);
17628
17661
  return [state, setState, ref];
17629
17662
  }
17663
+ const classPrefix$9 = `adm-swiper`;
17630
17664
  const defaultProps$9 = {
17631
17665
  defaultIndex: 0,
17632
17666
  allowTouchMove: true,
@@ -17811,10 +17845,10 @@ const Swiper = forwardRef(staged((p2, ref) => {
17811
17845
  function renderTrackInner() {
17812
17846
  if (loop) {
17813
17847
  return React$1.createElement("div", {
17814
- className: "adm-swiper-track-inner"
17848
+ className: `${classPrefix$9}-track-inner`
17815
17849
  }, React$1.Children.map(validChildren, (child, index2) => {
17816
17850
  return React$1.createElement(animated.div, {
17817
- className: "adm-swiper-slide",
17851
+ className: `${classPrefix$9}-slide`,
17818
17852
  style: {
17819
17853
  [isVertical ? "y" : "x"]: position.to((position2) => {
17820
17854
  let finalPosition = -position2 + index2 * 100;
@@ -17829,13 +17863,13 @@ const Swiper = forwardRef(staged((p2, ref) => {
17829
17863
  }));
17830
17864
  } else {
17831
17865
  return React$1.createElement(animated.div, {
17832
- className: "adm-swiper-track-inner",
17866
+ className: `${classPrefix$9}-track-inner`,
17833
17867
  style: {
17834
17868
  [isVertical ? "y" : "x"]: position.to((position2) => `${-position2}%`)
17835
17869
  }
17836
17870
  }, React$1.Children.map(validChildren, (child) => {
17837
17871
  return React$1.createElement("div", {
17838
- className: "adm-swiper-slide"
17872
+ className: `${classPrefix$9}-slide`
17839
17873
  }, child);
17840
17874
  }));
17841
17875
  }
@@ -17845,12 +17879,12 @@ const Swiper = forwardRef(staged((p2, ref) => {
17845
17879
  "--track-offset": `${props.trackOffset}%`
17846
17880
  };
17847
17881
  return withNativeProps(props, React$1.createElement("div", {
17848
- className: classNames("adm-swiper", `adm-swiper-${props.direction}`),
17882
+ className: classNames(classPrefix$9, `${classPrefix$9}-${props.direction}`),
17849
17883
  style
17850
17884
  }, React$1.createElement("div", Object.assign({
17851
17885
  ref: trackRef,
17852
- className: classNames("adm-swiper-track", {
17853
- "adm-swiper-track-allow-touch-move": props.allowTouchMove
17886
+ className: classNames(`${classPrefix$9}-track`, {
17887
+ [`${classPrefix$9}-track-allow-touch-move`]: props.allowTouchMove
17854
17888
  }),
17855
17889
  onClickCapture: (e2) => {
17856
17890
  if (draggingRef.current) {
@@ -17858,7 +17892,7 @@ const Swiper = forwardRef(staged((p2, ref) => {
17858
17892
  }
17859
17893
  }
17860
17894
  }, props.allowTouchMove ? bind() : {}), renderTrackInner()), props.indicator === void 0 ? React$1.createElement("div", {
17861
- className: "adm-swiper-indicator"
17895
+ className: `${classPrefix$9}-indicator`
17862
17896
  }, React$1.createElement(PageIndicator, Object.assign({}, props.indicatorProps, {
17863
17897
  total: count,
17864
17898
  current,
@@ -17990,7 +18024,7 @@ const TabBar = (p2) => {
17990
18024
  className: `${classPrefix$7}-item-icon`
17991
18025
  }, typeof item.props.icon === "function" ? item.props.icon(active) : item.props.icon);
17992
18026
  const titleElement = item.props.title && React$1.createElement("div", {
17993
- className: `${classPrefix$7}-item-title`
18027
+ className: classNames(`${classPrefix$7}-item-title`, Boolean(iconElement) && `${classPrefix$7}-item-title-with-icon`)
17994
18028
  }, typeof item.props.title === "function" ? item.props.title(active) : item.props.title);
17995
18029
  if (iconElement) {
17996
18030
  return React$1.createElement(React$1.Fragment, null, React$1.createElement(Badge, {
@@ -18835,4 +18869,4 @@ const WaterMark = (p2) => {
18835
18869
  }
18836
18870
  }));
18837
18871
  };
18838
- 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 };
18872
+ 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 };