antd-mobile 5.32.0 → 5.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +385 -303
  2. package/2x/bundle/antd-mobile.cjs.js +9 -9
  3. package/2x/bundle/antd-mobile.es.development.js +385 -303
  4. package/2x/bundle/antd-mobile.es.js +5266 -5213
  5. package/2x/bundle/antd-mobile.umd.development.js +385 -303
  6. package/2x/bundle/antd-mobile.umd.js +9 -9
  7. package/2x/bundle/style.css +43 -35
  8. package/2x/cjs/components/action-sheet/action-sheet.css +1 -1
  9. package/2x/cjs/components/badge/badge.css +1 -1
  10. package/2x/cjs/components/button/button.css +2 -2
  11. package/2x/cjs/components/calendar/calendar.js +5 -1
  12. package/2x/cjs/components/cascader/cascader.d.ts +2 -2
  13. package/2x/cjs/components/cascader/index.d.ts +4 -4
  14. package/2x/cjs/components/cascader/prompt.d.ts +1 -1
  15. package/2x/cjs/components/cascader-view/cascader-view.d.ts +2 -1
  16. package/2x/cjs/components/center-popup/center-popup.js +6 -5
  17. package/2x/cjs/components/check-list/check-list-item.d.ts +2 -1
  18. package/2x/cjs/components/check-list/check-list.d.ts +4 -3
  19. package/2x/cjs/components/check-list/context.d.ts +4 -3
  20. package/2x/cjs/components/check-list/index.d.ts +1 -1
  21. package/2x/cjs/components/checkbox/checkbox.css +1 -1
  22. package/2x/cjs/components/collapse/collapse.js +27 -12
  23. package/2x/cjs/components/ellipsis/ellipsis.js +4 -5
  24. package/2x/cjs/components/error-block/create-error-block.js +4 -4
  25. package/2x/cjs/components/error-block/error-block.css +1 -1
  26. package/2x/cjs/components/floating-panel/floating-panel.js +8 -7
  27. package/2x/cjs/components/footer/footer.css +1 -1
  28. package/2x/cjs/components/form/form-item.d.ts +1 -1
  29. package/2x/cjs/components/form/form-item.js +6 -9
  30. package/2x/cjs/components/form/form.css +1 -1
  31. package/2x/cjs/components/form/index.css +1 -1
  32. package/2x/cjs/components/image-uploader/image-uploader.css +1 -1
  33. package/2x/cjs/components/image-viewer/image-viewer.css +1 -1
  34. package/2x/cjs/components/input/input.d.ts +2 -8
  35. package/2x/cjs/components/notice-bar/notice-bar.css +5 -5
  36. package/2x/cjs/components/number-keyboard/number-keyboard.css +2 -2
  37. package/2x/cjs/components/page-indicator/page-indicator.css +1 -1
  38. package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
  39. package/2x/cjs/components/picker-view/wheel.js +61 -14
  40. package/2x/cjs/components/popover/popover-menu.css +2 -2
  41. package/2x/cjs/components/progress-bar/progress-bar.css +2 -2
  42. package/2x/cjs/components/progress-circle/progress-circle.css +1 -1
  43. package/2x/cjs/components/pull-to-refresh/pull-to-refresh.js +1 -1
  44. package/2x/cjs/components/radio/radio.css +1 -1
  45. package/2x/cjs/components/rate/rate.css +3 -3
  46. package/2x/cjs/components/rate/rate.d.ts +1 -1
  47. package/2x/cjs/components/selector/selector.css +1 -1
  48. package/2x/cjs/components/steps/steps.css +3 -3
  49. package/2x/cjs/components/steps/steps.js +5 -5
  50. package/2x/cjs/components/swipe-action/swipe-action.d.ts +4 -3
  51. package/2x/cjs/components/tag/tag.js +1 -1
  52. package/2x/cjs/components/text-area/text-area.js +11 -2
  53. package/2x/cjs/components/toast/toast.css +2 -2
  54. package/2x/cjs/components/tree-select/tree-select.css +1 -1
  55. package/2x/cjs/components/water-mark/water-mark.js +1 -1
  56. package/2x/cjs/global/global.css +8 -0
  57. package/2x/cjs/global/theme-dark.css +3 -0
  58. package/2x/cjs/global/theme-default.css +4 -0
  59. package/2x/cjs/locales/base.d.ts +1 -1
  60. package/2x/cjs/locales/base.js +1 -1
  61. package/2x/cjs/locales/da-DK.d.ts +1 -1
  62. package/2x/cjs/locales/da-DK.js +1 -1
  63. package/2x/cjs/locales/en-US.d.ts +1 -1
  64. package/2x/cjs/locales/es-ES.d.ts +1 -1
  65. package/2x/cjs/locales/es-ES.js +1 -1
  66. package/2x/cjs/locales/fa-IR.d.ts +1 -1
  67. package/2x/cjs/locales/fa-IR.js +1 -1
  68. package/2x/cjs/locales/fr-FR.d.ts +1 -1
  69. package/2x/cjs/locales/fr-FR.js +1 -1
  70. package/2x/cjs/locales/id-ID.d.ts +1 -1
  71. package/2x/cjs/locales/id-ID.js +1 -1
  72. package/2x/cjs/locales/it-IT.d.ts +1 -1
  73. package/2x/cjs/locales/it-IT.js +1 -1
  74. package/2x/cjs/locales/ja-JP.d.ts +1 -1
  75. package/2x/cjs/locales/ja-JP.js +1 -1
  76. package/2x/cjs/locales/kk-KZ.d.ts +1 -1
  77. package/2x/cjs/locales/kk-KZ.js +1 -1
  78. package/2x/cjs/locales/ko-KR.d.ts +1 -1
  79. package/2x/cjs/locales/ko-KR.js +1 -1
  80. package/2x/cjs/locales/nb-NO.d.ts +1 -1
  81. package/2x/cjs/locales/nb-NO.js +1 -1
  82. package/2x/cjs/locales/nl-NL.d.ts +1 -1
  83. package/2x/cjs/locales/nl-NL.js +1 -1
  84. package/2x/cjs/locales/ru-RU.d.ts +1 -1
  85. package/2x/cjs/locales/ru-RU.js +1 -1
  86. package/2x/cjs/locales/zh-CN.d.ts +1 -1
  87. package/2x/cjs/locales/zh-CN.js +1 -1
  88. package/2x/cjs/locales/zh-HK.d.ts +1 -1
  89. package/2x/cjs/locales/zh-HK.js +1 -1
  90. package/2x/cjs/locales/zh-TW.d.ts +1 -1
  91. package/2x/cjs/locales/zh-TW.js +1 -1
  92. package/2x/cjs/utils/replace-message.d.ts +1 -0
  93. package/2x/cjs/utils/replace-message.js +13 -0
  94. package/2x/cjs/utils/use-lock-scroll.js +6 -2
  95. package/2x/es/components/action-sheet/action-sheet.css +1 -1
  96. package/2x/es/components/badge/badge.css +1 -1
  97. package/2x/es/components/button/button.css +2 -2
  98. package/2x/es/components/calendar/calendar.js +5 -1
  99. package/2x/es/components/cascader/cascader.d.ts +2 -2
  100. package/2x/es/components/cascader/index.d.ts +4 -4
  101. package/2x/es/components/cascader/prompt.d.ts +1 -1
  102. package/2x/es/components/cascader-view/cascader-view.d.ts +2 -1
  103. package/2x/es/components/center-popup/center-popup.js +6 -5
  104. package/2x/es/components/check-list/check-list-item.d.ts +2 -1
  105. package/2x/es/components/check-list/check-list.d.ts +4 -3
  106. package/2x/es/components/check-list/context.d.ts +4 -3
  107. package/2x/es/components/check-list/index.d.ts +1 -1
  108. package/2x/es/components/checkbox/checkbox.css +1 -1
  109. package/2x/es/components/collapse/collapse.js +27 -12
  110. package/2x/es/components/ellipsis/ellipsis.js +4 -5
  111. package/2x/es/components/error-block/create-error-block.js +4 -4
  112. package/2x/es/components/error-block/error-block.css +1 -1
  113. package/2x/es/components/floating-panel/floating-panel.js +8 -7
  114. package/2x/es/components/footer/footer.css +1 -1
  115. package/2x/es/components/form/form-item.d.ts +1 -1
  116. package/2x/es/components/form/form-item.js +6 -9
  117. package/2x/es/components/form/form.css +1 -1
  118. package/2x/es/components/form/index.css +1 -1
  119. package/2x/es/components/image-uploader/image-uploader.css +1 -1
  120. package/2x/es/components/image-viewer/image-viewer.css +1 -1
  121. package/2x/es/components/input/input.d.ts +2 -8
  122. package/2x/es/components/notice-bar/notice-bar.css +5 -5
  123. package/2x/es/components/number-keyboard/number-keyboard.css +2 -2
  124. package/2x/es/components/page-indicator/page-indicator.css +1 -1
  125. package/2x/es/components/passcode-input/passcode-input.css +1 -1
  126. package/2x/es/components/picker-view/wheel.js +61 -14
  127. package/2x/es/components/popover/popover-menu.css +2 -2
  128. package/2x/es/components/progress-bar/progress-bar.css +2 -2
  129. package/2x/es/components/progress-circle/progress-circle.css +1 -1
  130. package/2x/es/components/pull-to-refresh/pull-to-refresh.js +1 -1
  131. package/2x/es/components/radio/radio.css +1 -1
  132. package/2x/es/components/rate/rate.css +3 -3
  133. package/2x/es/components/rate/rate.d.ts +1 -1
  134. package/2x/es/components/selector/selector.css +1 -1
  135. package/2x/es/components/steps/steps.css +3 -3
  136. package/2x/es/components/steps/steps.js +5 -5
  137. package/2x/es/components/swipe-action/swipe-action.d.ts +4 -3
  138. package/2x/es/components/tag/tag.js +1 -1
  139. package/2x/es/components/text-area/text-area.js +11 -2
  140. package/2x/es/components/toast/toast.css +2 -2
  141. package/2x/es/components/tree-select/tree-select.css +1 -1
  142. package/2x/es/components/water-mark/water-mark.js +1 -1
  143. package/2x/es/global/global.css +8 -0
  144. package/2x/es/global/theme-dark.css +3 -0
  145. package/2x/es/global/theme-default.css +4 -0
  146. package/2x/es/locales/base.d.ts +1 -1
  147. package/2x/es/locales/base.js +1 -1
  148. package/2x/es/locales/da-DK.d.ts +1 -1
  149. package/2x/es/locales/da-DK.js +1 -1
  150. package/2x/es/locales/en-US.d.ts +1 -1
  151. package/2x/es/locales/es-ES.d.ts +1 -1
  152. package/2x/es/locales/es-ES.js +1 -1
  153. package/2x/es/locales/fa-IR.d.ts +1 -1
  154. package/2x/es/locales/fa-IR.js +1 -1
  155. package/2x/es/locales/fr-FR.d.ts +1 -1
  156. package/2x/es/locales/fr-FR.js +1 -1
  157. package/2x/es/locales/id-ID.d.ts +1 -1
  158. package/2x/es/locales/id-ID.js +1 -1
  159. package/2x/es/locales/it-IT.d.ts +1 -1
  160. package/2x/es/locales/it-IT.js +1 -1
  161. package/2x/es/locales/ja-JP.d.ts +1 -1
  162. package/2x/es/locales/ja-JP.js +1 -1
  163. package/2x/es/locales/kk-KZ.d.ts +1 -1
  164. package/2x/es/locales/kk-KZ.js +1 -1
  165. package/2x/es/locales/ko-KR.d.ts +1 -1
  166. package/2x/es/locales/ko-KR.js +1 -1
  167. package/2x/es/locales/nb-NO.d.ts +1 -1
  168. package/2x/es/locales/nb-NO.js +1 -1
  169. package/2x/es/locales/nl-NL.d.ts +1 -1
  170. package/2x/es/locales/nl-NL.js +1 -1
  171. package/2x/es/locales/ru-RU.d.ts +1 -1
  172. package/2x/es/locales/ru-RU.js +1 -1
  173. package/2x/es/locales/zh-CN.d.ts +1 -1
  174. package/2x/es/locales/zh-CN.js +1 -1
  175. package/2x/es/locales/zh-HK.d.ts +1 -1
  176. package/2x/es/locales/zh-HK.js +1 -1
  177. package/2x/es/locales/zh-TW.d.ts +1 -1
  178. package/2x/es/locales/zh-TW.js +1 -1
  179. package/2x/es/utils/replace-message.d.ts +1 -0
  180. package/2x/es/utils/replace-message.js +7 -0
  181. package/2x/es/utils/use-lock-scroll.js +6 -2
  182. package/2x/package.json +1 -1
  183. package/bundle/antd-mobile.cjs.development.js +385 -303
  184. package/bundle/antd-mobile.cjs.js +9 -9
  185. package/bundle/antd-mobile.compatible.umd.js +1 -1
  186. package/bundle/antd-mobile.es.development.js +385 -303
  187. package/bundle/antd-mobile.es.js +5266 -5213
  188. package/bundle/antd-mobile.umd.development.js +385 -303
  189. package/bundle/antd-mobile.umd.js +9 -9
  190. package/bundle/style.css +1 -1
  191. package/cjs/components/action-sheet/action-sheet.css +1 -1
  192. package/cjs/components/badge/badge.css +1 -1
  193. package/cjs/components/button/button.css +2 -2
  194. package/cjs/components/calendar/calendar.js +5 -1
  195. package/cjs/components/cascader/cascader.d.ts +2 -2
  196. package/cjs/components/cascader/index.d.ts +4 -4
  197. package/cjs/components/cascader/prompt.d.ts +1 -1
  198. package/cjs/components/cascader-view/cascader-view.d.ts +2 -1
  199. package/cjs/components/center-popup/center-popup.js +6 -5
  200. package/cjs/components/check-list/check-list-item.d.ts +2 -1
  201. package/cjs/components/check-list/check-list.d.ts +4 -3
  202. package/cjs/components/check-list/context.d.ts +4 -3
  203. package/cjs/components/check-list/index.d.ts +1 -1
  204. package/cjs/components/checkbox/checkbox.css +1 -1
  205. package/cjs/components/collapse/collapse.js +27 -12
  206. package/cjs/components/ellipsis/ellipsis.js +4 -5
  207. package/cjs/components/error-block/create-error-block.js +4 -4
  208. package/cjs/components/error-block/error-block.css +1 -1
  209. package/cjs/components/floating-panel/floating-panel.js +8 -7
  210. package/cjs/components/footer/footer.css +1 -1
  211. package/cjs/components/form/form-item.d.ts +1 -1
  212. package/cjs/components/form/form-item.js +6 -9
  213. package/cjs/components/form/form.css +1 -1
  214. package/cjs/components/form/index.css +1 -1
  215. package/cjs/components/image-uploader/image-uploader.css +1 -1
  216. package/cjs/components/image-viewer/image-viewer.css +1 -1
  217. package/cjs/components/input/input.d.ts +2 -8
  218. package/cjs/components/notice-bar/notice-bar.css +5 -5
  219. package/cjs/components/number-keyboard/number-keyboard.css +2 -2
  220. package/cjs/components/page-indicator/page-indicator.css +1 -1
  221. package/cjs/components/passcode-input/passcode-input.css +1 -1
  222. package/cjs/components/picker-view/wheel.js +61 -14
  223. package/cjs/components/popover/popover-menu.css +2 -2
  224. package/cjs/components/progress-bar/progress-bar.css +2 -2
  225. package/cjs/components/progress-circle/progress-circle.css +1 -1
  226. package/cjs/components/pull-to-refresh/pull-to-refresh.js +1 -1
  227. package/cjs/components/radio/radio.css +1 -1
  228. package/cjs/components/rate/rate.css +3 -3
  229. package/cjs/components/rate/rate.d.ts +1 -1
  230. package/cjs/components/selector/selector.css +1 -1
  231. package/cjs/components/steps/steps.css +3 -3
  232. package/cjs/components/steps/steps.js +5 -5
  233. package/cjs/components/swipe-action/swipe-action.d.ts +4 -3
  234. package/cjs/components/tag/tag.js +1 -1
  235. package/cjs/components/text-area/text-area.js +11 -2
  236. package/cjs/components/toast/toast.css +2 -2
  237. package/cjs/components/tree-select/tree-select.css +1 -1
  238. package/cjs/components/water-mark/water-mark.js +1 -1
  239. package/cjs/global/global.css +8 -0
  240. package/cjs/global/theme-dark.css +3 -0
  241. package/cjs/global/theme-default.css +4 -0
  242. package/cjs/locales/base.d.ts +1 -1
  243. package/cjs/locales/base.js +1 -1
  244. package/cjs/locales/da-DK.d.ts +1 -1
  245. package/cjs/locales/da-DK.js +1 -1
  246. package/cjs/locales/en-US.d.ts +1 -1
  247. package/cjs/locales/es-ES.d.ts +1 -1
  248. package/cjs/locales/es-ES.js +1 -1
  249. package/cjs/locales/fa-IR.d.ts +1 -1
  250. package/cjs/locales/fa-IR.js +1 -1
  251. package/cjs/locales/fr-FR.d.ts +1 -1
  252. package/cjs/locales/fr-FR.js +1 -1
  253. package/cjs/locales/id-ID.d.ts +1 -1
  254. package/cjs/locales/id-ID.js +1 -1
  255. package/cjs/locales/it-IT.d.ts +1 -1
  256. package/cjs/locales/it-IT.js +1 -1
  257. package/cjs/locales/ja-JP.d.ts +1 -1
  258. package/cjs/locales/ja-JP.js +1 -1
  259. package/cjs/locales/kk-KZ.d.ts +1 -1
  260. package/cjs/locales/kk-KZ.js +1 -1
  261. package/cjs/locales/ko-KR.d.ts +1 -1
  262. package/cjs/locales/ko-KR.js +1 -1
  263. package/cjs/locales/nb-NO.d.ts +1 -1
  264. package/cjs/locales/nb-NO.js +1 -1
  265. package/cjs/locales/nl-NL.d.ts +1 -1
  266. package/cjs/locales/nl-NL.js +1 -1
  267. package/cjs/locales/ru-RU.d.ts +1 -1
  268. package/cjs/locales/ru-RU.js +1 -1
  269. package/cjs/locales/zh-CN.d.ts +1 -1
  270. package/cjs/locales/zh-CN.js +1 -1
  271. package/cjs/locales/zh-HK.d.ts +1 -1
  272. package/cjs/locales/zh-HK.js +1 -1
  273. package/cjs/locales/zh-TW.d.ts +1 -1
  274. package/cjs/locales/zh-TW.js +1 -1
  275. package/cjs/utils/replace-message.d.ts +1 -0
  276. package/cjs/utils/replace-message.js +13 -0
  277. package/cjs/utils/use-lock-scroll.js +6 -2
  278. package/es/components/action-sheet/action-sheet.css +1 -1
  279. package/es/components/badge/badge.css +1 -1
  280. package/es/components/button/button.css +2 -2
  281. package/es/components/calendar/calendar.js +5 -1
  282. package/es/components/cascader/cascader.d.ts +2 -2
  283. package/es/components/cascader/index.d.ts +4 -4
  284. package/es/components/cascader/prompt.d.ts +1 -1
  285. package/es/components/cascader-view/cascader-view.d.ts +2 -1
  286. package/es/components/center-popup/center-popup.js +6 -5
  287. package/es/components/check-list/check-list-item.d.ts +2 -1
  288. package/es/components/check-list/check-list.d.ts +4 -3
  289. package/es/components/check-list/context.d.ts +4 -3
  290. package/es/components/check-list/index.d.ts +1 -1
  291. package/es/components/checkbox/checkbox.css +1 -1
  292. package/es/components/collapse/collapse.js +27 -12
  293. package/es/components/ellipsis/ellipsis.js +4 -5
  294. package/es/components/error-block/create-error-block.js +4 -4
  295. package/es/components/error-block/error-block.css +1 -1
  296. package/es/components/floating-panel/floating-panel.js +8 -7
  297. package/es/components/footer/footer.css +1 -1
  298. package/es/components/form/form-item.d.ts +1 -1
  299. package/es/components/form/form-item.js +6 -9
  300. package/es/components/form/form.css +1 -1
  301. package/es/components/form/index.css +1 -1
  302. package/es/components/image-uploader/image-uploader.css +1 -1
  303. package/es/components/image-viewer/image-viewer.css +1 -1
  304. package/es/components/input/input.d.ts +2 -8
  305. package/es/components/notice-bar/notice-bar.css +5 -5
  306. package/es/components/number-keyboard/number-keyboard.css +2 -2
  307. package/es/components/page-indicator/page-indicator.css +1 -1
  308. package/es/components/passcode-input/passcode-input.css +1 -1
  309. package/es/components/picker-view/wheel.js +61 -14
  310. package/es/components/popover/popover-menu.css +2 -2
  311. package/es/components/progress-bar/progress-bar.css +2 -2
  312. package/es/components/progress-circle/progress-circle.css +1 -1
  313. package/es/components/pull-to-refresh/pull-to-refresh.js +1 -1
  314. package/es/components/radio/radio.css +1 -1
  315. package/es/components/rate/rate.css +3 -3
  316. package/es/components/rate/rate.d.ts +1 -1
  317. package/es/components/selector/selector.css +1 -1
  318. package/es/components/steps/steps.css +3 -3
  319. package/es/components/steps/steps.js +5 -5
  320. package/es/components/swipe-action/swipe-action.d.ts +4 -3
  321. package/es/components/tag/tag.js +1 -1
  322. package/es/components/text-area/text-area.js +11 -2
  323. package/es/components/toast/toast.css +2 -2
  324. package/es/components/tree-select/tree-select.css +1 -1
  325. package/es/components/water-mark/water-mark.js +1 -1
  326. package/es/global/global.css +8 -0
  327. package/es/global/theme-dark.css +3 -0
  328. package/es/global/theme-default.css +4 -0
  329. package/es/locales/base.d.ts +1 -1
  330. package/es/locales/base.js +1 -1
  331. package/es/locales/da-DK.d.ts +1 -1
  332. package/es/locales/da-DK.js +1 -1
  333. package/es/locales/en-US.d.ts +1 -1
  334. package/es/locales/es-ES.d.ts +1 -1
  335. package/es/locales/es-ES.js +1 -1
  336. package/es/locales/fa-IR.d.ts +1 -1
  337. package/es/locales/fa-IR.js +1 -1
  338. package/es/locales/fr-FR.d.ts +1 -1
  339. package/es/locales/fr-FR.js +1 -1
  340. package/es/locales/id-ID.d.ts +1 -1
  341. package/es/locales/id-ID.js +1 -1
  342. package/es/locales/it-IT.d.ts +1 -1
  343. package/es/locales/it-IT.js +1 -1
  344. package/es/locales/ja-JP.d.ts +1 -1
  345. package/es/locales/ja-JP.js +1 -1
  346. package/es/locales/kk-KZ.d.ts +1 -1
  347. package/es/locales/kk-KZ.js +1 -1
  348. package/es/locales/ko-KR.d.ts +1 -1
  349. package/es/locales/ko-KR.js +1 -1
  350. package/es/locales/nb-NO.d.ts +1 -1
  351. package/es/locales/nb-NO.js +1 -1
  352. package/es/locales/nl-NL.d.ts +1 -1
  353. package/es/locales/nl-NL.js +1 -1
  354. package/es/locales/ru-RU.d.ts +1 -1
  355. package/es/locales/ru-RU.js +1 -1
  356. package/es/locales/zh-CN.d.ts +1 -1
  357. package/es/locales/zh-CN.js +1 -1
  358. package/es/locales/zh-HK.d.ts +1 -1
  359. package/es/locales/zh-HK.js +1 -1
  360. package/es/locales/zh-TW.d.ts +1 -1
  361. package/es/locales/zh-TW.js +1 -1
  362. package/es/utils/replace-message.d.ts +1 -0
  363. package/es/utils/replace-message.js +7 -0
  364. package/es/utils/use-lock-scroll.js +6 -2
  365. package/package.json +1 -1
  366. package/umd/antd-mobile.js +1 -1
@@ -229,7 +229,7 @@ const base = {
229
229
  },
230
230
  Calendar: {
231
231
  markItems: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
232
- renderYearAndMonth: (year, month) => `${year}/${month}`
232
+ yearAndMonth: "${year}/${month}"
233
233
  },
234
234
  Cascader: {
235
235
  placeholder: "Selecting"
@@ -363,7 +363,7 @@ const zhCN = mergeLocale(base, {
363
363
  },
364
364
  Calendar: {
365
365
  markItems: ["\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u65E5"],
366
- renderYearAndMonth: (year, month) => `${year}\u5E74${month}\u6708`
366
+ yearAndMonth: "${year}\u5E74${month}\u6708"
367
367
  },
368
368
  Cascader: {
369
369
  placeholder: "\u8BF7\u9009\u62E9"
@@ -3549,14 +3549,17 @@ function useLockScroll(rootRef, shouldLock) {
3549
3549
  offsetHeight,
3550
3550
  scrollTop
3551
3551
  } = el;
3552
+ const {
3553
+ height
3554
+ } = el.getBoundingClientRect();
3552
3555
  let status = "11";
3553
3556
  if (scrollTop === 0) {
3554
3557
  status = offsetHeight >= scrollHeight ? "00" : "01";
3555
- } else if (scrollTop + offsetHeight >= scrollHeight) {
3558
+ } else if (scrollHeight <= Math.round(height + scrollTop)) {
3556
3559
  status = "10";
3557
3560
  }
3558
3561
  if (status !== "11" && touch.isVertical() && !(parseInt(status, 2) & parseInt(direction, 2))) {
3559
- if (event.cancelable) {
3562
+ if (event.cancelable && supportsPassive) {
3560
3563
  event.preventDefault();
3561
3564
  }
3562
3565
  }
@@ -6823,7 +6826,7 @@ function withStopPropagation(events, element) {
6823
6826
  }
6824
6827
  return React__default.default.cloneElement(element, props);
6825
6828
  }
6826
- const classPrefix$1l = `adm-mask`;
6829
+ const classPrefix$1n = `adm-mask`;
6827
6830
  const opacityRecord = {
6828
6831
  default: 0.55,
6829
6832
  thin: 0.35,
@@ -6885,7 +6888,7 @@ const Mask$1 = (p) => {
6885
6888
  }
6886
6889
  });
6887
6890
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React__default.default.createElement(animated.div, {
6888
- className: classPrefix$1l,
6891
+ className: classPrefix$1n,
6889
6892
  ref,
6890
6893
  style: Object.assign(Object.assign({}, props.style), {
6891
6894
  background,
@@ -6899,12 +6902,12 @@ const Mask$1 = (p) => {
6899
6902
  }
6900
6903
  }
6901
6904
  }, props.onMaskClick && React__default.default.createElement("div", {
6902
- className: `${classPrefix$1l}-aria-button`,
6905
+ className: `${classPrefix$1n}-aria-button`,
6903
6906
  role: "button",
6904
6907
  "aria-label": locale.Mask.name,
6905
6908
  onClick: props.onMaskClick
6906
6909
  }), React__default.default.createElement("div", {
6907
- className: `${classPrefix$1l}-content`
6910
+ className: `${classPrefix$1n}-content`
6908
6911
  }, props.children))));
6909
6912
  return React__default.default.createElement(ShouldRender, {
6910
6913
  active,
@@ -9316,14 +9319,14 @@ function createUseGesture(actions) {
9316
9319
  return useRecognizers(handlers, config2, void 0, nativeHandlers);
9317
9320
  };
9318
9321
  }
9319
- const classPrefix$1k = `adm-popup`;
9322
+ const classPrefix$1m = `adm-popup`;
9320
9323
  const defaultProps$12 = Object.assign(Object.assign({}, defaultPopupBaseProps), {
9321
9324
  closeOnSwipe: false,
9322
9325
  position: "bottom"
9323
9326
  });
9324
9327
  const Popup$1 = (p) => {
9325
9328
  const props = mergeProps(defaultProps$12, p);
9326
- const bodyCls = classNames(`${classPrefix$1k}-body`, props.bodyClassName, `${classPrefix$1k}-body-position-${props.position}`);
9329
+ const bodyCls = classNames(`${classPrefix$1m}-body`, props.bodyClassName, `${classPrefix$1m}-body-position-${props.position}`);
9327
9330
  const {
9328
9331
  locale
9329
9332
  } = useConfig();
@@ -9373,7 +9376,7 @@ const Popup$1 = (p) => {
9373
9376
  });
9374
9377
  const maskVisible = useInnerVisible(active && props.visible);
9375
9378
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React__default.default.createElement("div", Object.assign({
9376
- className: classPrefix$1k,
9379
+ className: classPrefix$1m,
9377
9380
  onClick: props.onClick,
9378
9381
  style: {
9379
9382
  display: active ? void 0 : "none",
@@ -9415,7 +9418,7 @@ const Popup$1 = (p) => {
9415
9418
  }),
9416
9419
  ref
9417
9420
  }, props.showCloseButton && React__default.default.createElement("a", {
9418
- className: classNames(`${classPrefix$1k}-close-icon`, "adm-plain-anchor"),
9421
+ className: classNames(`${classPrefix$1m}-close-icon`, "adm-plain-anchor"),
9419
9422
  onClick: () => {
9420
9423
  var _a;
9421
9424
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -9431,10 +9434,10 @@ const Popup$1 = (p) => {
9431
9434
  };
9432
9435
  const Popup = Popup$1;
9433
9436
  const safeArea = "";
9434
- const classPrefix$1j = "adm-safe-area";
9437
+ const classPrefix$1l = "adm-safe-area";
9435
9438
  const SafeArea$1 = (props) => {
9436
9439
  return withNativeProps(props, React__default.default.createElement("div", {
9437
- className: classNames(classPrefix$1j, `${classPrefix$1j}-position-${props.position}`)
9440
+ className: classNames(classPrefix$1l, `${classPrefix$1l}-position-${props.position}`)
9438
9441
  }));
9439
9442
  };
9440
9443
  const SafeArea = SafeArea$1;
@@ -9567,7 +9570,7 @@ function renderImperatively(element) {
9567
9570
  }
9568
9571
  };
9569
9572
  }
9570
- const classPrefix$1i = `adm-action-sheet`;
9573
+ const classPrefix$1k = `adm-action-sheet`;
9571
9574
  const defaultProps$11 = {
9572
9575
  visible: false,
9573
9576
  actions: [],
@@ -9590,25 +9593,25 @@ const ActionSheet = (p) => {
9590
9593
  }
9591
9594
  },
9592
9595
  afterClose: props.afterClose,
9593
- className: classNames(`${classPrefix$1i}-popup`, props.popupClassName),
9596
+ className: classNames(`${classPrefix$1k}-popup`, props.popupClassName),
9594
9597
  style: props.popupStyle,
9595
9598
  getContainer: props.getContainer,
9596
9599
  destroyOnClose: props.destroyOnClose,
9597
9600
  forceRender: props.forceRender
9598
9601
  }, withNativeProps(props, React__default.default.createElement("div", {
9599
- className: classPrefix$1i
9602
+ className: classPrefix$1k
9600
9603
  }, props.extra && React__default.default.createElement("div", {
9601
- className: `${classPrefix$1i}-extra`
9604
+ className: `${classPrefix$1k}-extra`
9602
9605
  }, props.extra), React__default.default.createElement("div", {
9603
- className: `${classPrefix$1i}-button-list`
9606
+ className: `${classPrefix$1k}-button-list`
9604
9607
  }, props.actions.map((action, index2) => React__default.default.createElement("div", {
9605
9608
  key: action.key,
9606
- className: `${classPrefix$1i}-button-item-wrapper`
9609
+ className: `${classPrefix$1k}-button-item-wrapper`
9607
9610
  }, React__default.default.createElement("a", {
9608
- className: classNames("adm-plain-anchor", `${classPrefix$1i}-button-item`, {
9609
- [`${classPrefix$1i}-button-item-danger`]: action.danger,
9610
- [`${classPrefix$1i}-button-item-disabled`]: action.disabled,
9611
- [`${classPrefix$1i}-button-item-bold`]: action.bold
9611
+ className: classNames("adm-plain-anchor", `${classPrefix$1k}-button-item`, {
9612
+ [`${classPrefix$1k}-button-item-danger`]: action.danger,
9613
+ [`${classPrefix$1k}-button-item-disabled`]: action.disabled,
9614
+ [`${classPrefix$1k}-button-item-bold`]: action.bold
9612
9615
  }),
9613
9616
  onClick: () => {
9614
9617
  var _a, _b, _c;
@@ -9621,23 +9624,23 @@ const ActionSheet = (p) => {
9621
9624
  role: "option",
9622
9625
  "aria-disabled": action.disabled
9623
9626
  }, React__default.default.createElement("div", {
9624
- className: `${classPrefix$1i}-button-item-name`
9627
+ className: `${classPrefix$1k}-button-item-name`
9625
9628
  }, action.text), action.description && React__default.default.createElement("div", {
9626
- className: `${classPrefix$1i}-button-item-description`
9629
+ className: `${classPrefix$1k}-button-item-description`
9627
9630
  }, action.description))))), props.cancelText && React__default.default.createElement("div", {
9628
- className: `${classPrefix$1i}-cancel`,
9631
+ className: `${classPrefix$1k}-cancel`,
9629
9632
  role: "option",
9630
9633
  "aria-label": props.cancelText
9631
9634
  }, React__default.default.createElement("div", {
9632
- className: `${classPrefix$1i}-button-item-wrapper`
9635
+ className: `${classPrefix$1k}-button-item-wrapper`
9633
9636
  }, React__default.default.createElement("a", {
9634
- className: classNames("adm-plain-anchor", `${classPrefix$1i}-button-item`),
9637
+ className: classNames("adm-plain-anchor", `${classPrefix$1k}-button-item`),
9635
9638
  onClick: () => {
9636
9639
  var _a;
9637
9640
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
9638
9641
  }
9639
9642
  }, React__default.default.createElement("div", {
9640
- className: `${classPrefix$1i}-button-item-name`
9643
+ className: `${classPrefix$1k}-button-item-name`
9641
9644
  }, props.cancelText)))), props.safeArea && React__default.default.createElement(SafeArea, {
9642
9645
  position: "bottom"
9643
9646
  }))));
@@ -9649,12 +9652,12 @@ const index$j = attachPropertiesToComponent(ActionSheet, {
9649
9652
  show: showActionSheet
9650
9653
  });
9651
9654
  const autoCenter = "";
9652
- const classPrefix$1h = "adm-auto-center";
9655
+ const classPrefix$1j = "adm-auto-center";
9653
9656
  const AutoCenter$1 = (props) => {
9654
9657
  return withNativeProps(props, React__default.default.createElement("div", {
9655
- className: classPrefix$1h
9658
+ className: classPrefix$1j
9656
9659
  }, React__default.default.createElement("div", {
9657
- className: `${classPrefix$1h}-content`
9660
+ className: `${classPrefix$1j}-content`
9658
9661
  }, props.children)));
9659
9662
  };
9660
9663
  const AutoCenter = AutoCenter$1;
@@ -9755,14 +9758,14 @@ const BrokenImageIcon = () => React__default.default.createElement("svg", {
9755
9758
  fill: "#DBDBDB",
9756
9759
  fillRule: "nonzero"
9757
9760
  }));
9758
- const classPrefix$1g = `adm-image`;
9761
+ const classPrefix$1i = `adm-image`;
9759
9762
  const defaultProps$10 = {
9760
9763
  fit: "fill",
9761
9764
  placeholder: React__default.default.createElement("div", {
9762
- className: `${classPrefix$1g}-tip`
9765
+ className: `${classPrefix$1i}-tip`
9763
9766
  }, React__default.default.createElement(ImageIcon, null)),
9764
9767
  fallback: React__default.default.createElement("div", {
9765
- className: `${classPrefix$1g}-tip`
9768
+ className: `${classPrefix$1i}-tip`
9766
9769
  }, React__default.default.createElement(BrokenImageIcon, null)),
9767
9770
  lazy: false,
9768
9771
  draggable: false
@@ -9795,7 +9798,7 @@ const Image$2 = staged_1((p) => {
9795
9798
  const img = React__default.default.createElement("img", {
9796
9799
  ref: imgRef,
9797
9800
  id: props.id,
9798
- className: `${classPrefix$1g}-img`,
9801
+ className: `${classPrefix$1i}-img`,
9799
9802
  src,
9800
9803
  alt: props.alt,
9801
9804
  onClick: props.onClick,
@@ -9835,7 +9838,7 @@ const Image$2 = staged_1((p) => {
9835
9838
  }
9836
9839
  return withNativeProps(props, React__default.default.createElement("div", {
9837
9840
  ref,
9838
- className: classPrefix$1g,
9841
+ className: classPrefix$1i,
9839
9842
  style,
9840
9843
  onClick: props.onContainerClick
9841
9844
  }, props.lazy && !initialized && React__default.default.createElement(LazyDetector, {
@@ -9845,7 +9848,7 @@ const Image$2 = staged_1((p) => {
9845
9848
  }), renderInner()));
9846
9849
  });
9847
9850
  const Image$1 = Image$2;
9848
- const classPrefix$1f = "adm-avatar";
9851
+ const classPrefix$1h = "adm-avatar";
9849
9852
  const defaultProps$$ = {
9850
9853
  fallback: React__default.default.createElement(Fallback, null),
9851
9854
  fit: "cover"
@@ -9853,7 +9856,7 @@ const defaultProps$$ = {
9853
9856
  const Avatar$1 = (p) => {
9854
9857
  const props = mergeProps(defaultProps$$, p);
9855
9858
  return withNativeProps(props, React__default.default.createElement(Image$1, {
9856
- className: classPrefix$1f,
9859
+ className: classPrefix$1h,
9857
9860
  src: props.src,
9858
9861
  fallback: props.fallback,
9859
9862
  placeholder: props.fallback,
@@ -9867,7 +9870,7 @@ const Avatar$1 = (p) => {
9867
9870
  };
9868
9871
  const Avatar = Avatar$1;
9869
9872
  const badge = "";
9870
- const classPrefix$1e = `adm-badge`;
9873
+ const classPrefix$1g = `adm-badge`;
9871
9874
  const dot = React__default.default.createElement(React__default.default.Fragment, null);
9872
9875
  const Badge$1 = (props) => {
9873
9876
  const {
@@ -9876,17 +9879,17 @@ const Badge$1 = (props) => {
9876
9879
  children
9877
9880
  } = props;
9878
9881
  const isDot = content === dot;
9879
- const badgeCls = classNames(classPrefix$1e, !!children && `${classPrefix$1e}-fixed`, isDot && `${classPrefix$1e}-dot`, props.bordered && `${classPrefix$1e}-bordered`);
9882
+ const badgeCls = classNames(classPrefix$1g, !!children && `${classPrefix$1g}-fixed`, isDot && `${classPrefix$1g}-dot`, props.bordered && `${classPrefix$1g}-bordered`);
9880
9883
  const element = content || content === 0 ? withNativeProps(props, React__default.default.createElement("div", {
9881
9884
  className: badgeCls,
9882
9885
  style: {
9883
9886
  "--color": color
9884
9887
  }
9885
9888
  }, !isDot && React__default.default.createElement("div", {
9886
- className: `${classPrefix$1e}-content`
9889
+ className: `${classPrefix$1g}-content`
9887
9890
  }, content))) : null;
9888
9891
  return children ? React__default.default.createElement("div", {
9889
- className: classNames(`${classPrefix$1e}-wrapper`, props.wrapperClassName),
9892
+ className: classNames(`${classPrefix$1g}-wrapper`, props.wrapperClassName),
9890
9893
  style: props.wrapperStyle
9891
9894
  }, children, element) : element;
9892
9895
  };
@@ -9895,7 +9898,7 @@ const Badge = attachPropertiesToComponent(Badge$1, {
9895
9898
  });
9896
9899
  const button = "";
9897
9900
  const dotLoading = "";
9898
- const classPrefix$1d = `adm-dot-loading`;
9901
+ const classPrefix$1f = `adm-dot-loading`;
9899
9902
  const colorRecord$3 = {
9900
9903
  default: "var(--adm-color-weak)",
9901
9904
  primary: "var(--adm-color-primary)",
@@ -9911,7 +9914,7 @@ const DotLoading$2 = React$4.memo((p) => {
9911
9914
  style: {
9912
9915
  color: (_a = colorRecord$3[props.color]) !== null && _a !== void 0 ? _a : props.color
9913
9916
  },
9914
- className: classNames("adm-loading", classPrefix$1d)
9917
+ className: classNames("adm-loading", classPrefix$1f)
9915
9918
  }, React__default.default.createElement("svg", {
9916
9919
  height: "1em",
9917
9920
  viewBox: "0 0 100 40",
@@ -9955,7 +9958,7 @@ function isPromise(obj) {
9955
9958
  function isIOS() {
9956
9959
  return canUseDom$2 ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : false;
9957
9960
  }
9958
- const classPrefix$1c = `adm-button`;
9961
+ const classPrefix$1e = `adm-button`;
9959
9962
  const defaultProps$Z = {
9960
9963
  color: "default",
9961
9964
  fill: "solid",
@@ -9998,23 +10001,23 @@ const Button$1 = React$4.forwardRef((p, ref) => {
9998
10001
  ref: nativeButtonRef,
9999
10002
  type: props.type,
10000
10003
  onClick: handleClick,
10001
- className: classNames(classPrefix$1c, props.color ? `${classPrefix$1c}-${props.color}` : null, {
10002
- [`${classPrefix$1c}-block`]: props.block,
10003
- [`${classPrefix$1c}-disabled`]: disabled,
10004
- [`${classPrefix$1c}-fill-outline`]: props.fill === "outline",
10005
- [`${classPrefix$1c}-fill-none`]: props.fill === "none",
10006
- [`${classPrefix$1c}-mini`]: props.size === "mini",
10007
- [`${classPrefix$1c}-small`]: props.size === "small",
10008
- [`${classPrefix$1c}-large`]: props.size === "large",
10009
- [`${classPrefix$1c}-loading`]: loading
10010
- }, `${classPrefix$1c}-shape-${props.shape}`),
10004
+ className: classNames(classPrefix$1e, props.color ? `${classPrefix$1e}-${props.color}` : null, {
10005
+ [`${classPrefix$1e}-block`]: props.block,
10006
+ [`${classPrefix$1e}-disabled`]: disabled,
10007
+ [`${classPrefix$1e}-fill-outline`]: props.fill === "outline",
10008
+ [`${classPrefix$1e}-fill-none`]: props.fill === "none",
10009
+ [`${classPrefix$1e}-mini`]: props.size === "mini",
10010
+ [`${classPrefix$1e}-small`]: props.size === "small",
10011
+ [`${classPrefix$1e}-large`]: props.size === "large",
10012
+ [`${classPrefix$1e}-loading`]: loading
10013
+ }, `${classPrefix$1e}-shape-${props.shape}`),
10011
10014
  disabled,
10012
10015
  onMouseDown: props.onMouseDown,
10013
10016
  onMouseUp: props.onMouseUp,
10014
10017
  onTouchStart: props.onTouchStart,
10015
10018
  onTouchEnd: props.onTouchEnd
10016
10019
  }, loading ? React__default.default.createElement("div", {
10017
- className: `${classPrefix$1c}-loading-wrapper`
10020
+ className: `${classPrefix$1e}-loading-wrapper`
10018
10021
  }, props.loadingIcon, props.loadingText) : React__default.default.createElement("span", null, props.children)));
10019
10022
  });
10020
10023
  const Button = Button$1;
@@ -10123,6 +10126,12 @@ function usePropsValue(options) {
10123
10126
  });
10124
10127
  return [stateRef.current, setState];
10125
10128
  }
10129
+ function replaceMessage$1(template, kv) {
10130
+ return template.replace(/\$\{\w+\}/g, (str) => {
10131
+ const key = str.slice(2, -1);
10132
+ return kv[key];
10133
+ });
10134
+ }
10126
10135
  function convertValueToRange(selectionMode, value) {
10127
10136
  if (selectionMode === void 0 || value === null)
10128
10137
  return null;
@@ -10135,7 +10144,7 @@ function convertPageToDayjs(page) {
10135
10144
  return dayjs().year(page.year).month(page.month - 1).date(1);
10136
10145
  }
10137
10146
  dayjs.extend(isoWeek);
10138
- const classPrefix$1b = "adm-calendar";
10147
+ const classPrefix$1d = "adm-calendar";
10139
10148
  const defaultProps$Y = {
10140
10149
  weekStartsOn: "Sunday",
10141
10150
  defaultValue: null,
@@ -10209,26 +10218,29 @@ const Calendar$1 = React$4.forwardRef((p, ref) => {
10209
10218
  setCurrent(nxtCurrent);
10210
10219
  };
10211
10220
  const header = React__default.default.createElement("div", {
10212
- className: `${classPrefix$1b}-header`
10221
+ className: `${classPrefix$1d}-header`
10213
10222
  }, React__default.default.createElement("a", {
10214
- className: `${classPrefix$1b}-arrow-button ${classPrefix$1b}-arrow-button-year`,
10223
+ className: `${classPrefix$1d}-arrow-button ${classPrefix$1d}-arrow-button-year`,
10215
10224
  onClick: () => {
10216
10225
  handlePageChange("subtract", 1, "year");
10217
10226
  }
10218
10227
  }, props.prevYearButton), React__default.default.createElement("a", {
10219
- className: `${classPrefix$1b}-arrow-button ${classPrefix$1b}-arrow-button-month`,
10228
+ className: `${classPrefix$1d}-arrow-button ${classPrefix$1d}-arrow-button-month`,
10220
10229
  onClick: () => {
10221
10230
  handlePageChange("subtract", 1, "month");
10222
10231
  }
10223
10232
  }, props.prevMonthButton), React__default.default.createElement("div", {
10224
- className: `${classPrefix$1b}-title`
10225
- }, locale.Calendar.renderYearAndMonth(current.year(), current.month() + 1)), React__default.default.createElement("a", {
10226
- className: classNames(`${classPrefix$1b}-arrow-button`, `${classPrefix$1b}-arrow-button-right`, `${classPrefix$1b}-arrow-button-right-month`),
10233
+ className: `${classPrefix$1d}-title`
10234
+ }, replaceMessage$1(locale.Calendar.yearAndMonth, {
10235
+ year: current.year().toString(),
10236
+ month: (current.month() + 1).toString()
10237
+ })), React__default.default.createElement("a", {
10238
+ className: classNames(`${classPrefix$1d}-arrow-button`, `${classPrefix$1d}-arrow-button-right`, `${classPrefix$1d}-arrow-button-right-month`),
10227
10239
  onClick: () => {
10228
10240
  handlePageChange("add", 1, "month");
10229
10241
  }
10230
10242
  }, props.nextMonthButton), React__default.default.createElement("a", {
10231
- className: classNames(`${classPrefix$1b}-arrow-button`, `${classPrefix$1b}-arrow-button-right`, `${classPrefix$1b}-arrow-button-right-year`),
10243
+ className: classNames(`${classPrefix$1d}-arrow-button`, `${classPrefix$1d}-arrow-button-right`, `${classPrefix$1d}-arrow-button-right-year`),
10232
10244
  onClick: () => {
10233
10245
  handlePageChange("add", 1, "year");
10234
10246
  }
@@ -10263,13 +10275,13 @@ const Calendar$1 = React$4.forwardRef((p, ref) => {
10263
10275
  const disabled = props.shouldDisableDate ? props.shouldDisableDate(d.toDate()) : maxDay && d.isAfter(maxDay, "day") || minDay && d.isBefore(minDay, "day");
10264
10276
  cells.push(React__default.default.createElement("div", {
10265
10277
  key: d.valueOf(),
10266
- className: classNames(`${classPrefix$1b}-cell`, (disabled || !inThisMonth) && `${classPrefix$1b}-cell-disabled`, inThisMonth && {
10267
- [`${classPrefix$1b}-cell-today`]: d.isSame(today, "day"),
10268
- [`${classPrefix$1b}-cell-selected`]: isSelect,
10269
- [`${classPrefix$1b}-cell-selected-begin`]: isBegin,
10270
- [`${classPrefix$1b}-cell-selected-end`]: isEnd,
10271
- [`${classPrefix$1b}-cell-selected-row-begin`]: isSelectRowBegin,
10272
- [`${classPrefix$1b}-cell-selected-row-end`]: isSelectRowEnd
10278
+ className: classNames(`${classPrefix$1d}-cell`, (disabled || !inThisMonth) && `${classPrefix$1d}-cell-disabled`, inThisMonth && {
10279
+ [`${classPrefix$1d}-cell-today`]: d.isSame(today, "day"),
10280
+ [`${classPrefix$1d}-cell-selected`]: isSelect,
10281
+ [`${classPrefix$1d}-cell-selected-begin`]: isBegin,
10282
+ [`${classPrefix$1d}-cell-selected-end`]: isEnd,
10283
+ [`${classPrefix$1d}-cell-selected-row-begin`]: isSelectRowBegin,
10284
+ [`${classPrefix$1d}-cell-selected-row-end`]: isSelectRowEnd
10273
10285
  }),
10274
10286
  onClick: () => {
10275
10287
  if (!props.selectionMode)
@@ -10316,25 +10328,25 @@ const Calendar$1 = React$4.forwardRef((p, ref) => {
10316
10328
  }
10317
10329
  }
10318
10330
  }, React__default.default.createElement("div", {
10319
- className: `${classPrefix$1b}-cell-top`
10331
+ className: `${classPrefix$1d}-cell-top`
10320
10332
  }, props.renderDate ? props.renderDate(d.toDate()) : d.date()), React__default.default.createElement("div", {
10321
- className: `${classPrefix$1b}-cell-bottom`
10333
+ className: `${classPrefix$1d}-cell-bottom`
10322
10334
  }, (_a = props.renderLabel) === null || _a === void 0 ? void 0 : _a.call(props, d.toDate()))));
10323
10335
  iterator = iterator.add(1, "day");
10324
10336
  }
10325
10337
  return cells;
10326
10338
  }
10327
10339
  const body = React__default.default.createElement("div", {
10328
- className: `${classPrefix$1b}-cells`
10340
+ className: `${classPrefix$1d}-cells`
10329
10341
  }, renderCells());
10330
10342
  const mark = React__default.default.createElement("div", {
10331
- className: `${classPrefix$1b}-mark`
10343
+ className: `${classPrefix$1d}-mark`
10332
10344
  }, markItems.map((item, index2) => React__default.default.createElement("div", {
10333
10345
  key: index2,
10334
- className: `${classPrefix$1b}-mark-cell`
10346
+ className: `${classPrefix$1d}-mark-cell`
10335
10347
  }, item)));
10336
10348
  return withNativeProps(props, React__default.default.createElement("div", {
10337
- className: classPrefix$1b
10349
+ className: classPrefix$1d
10338
10350
  }, header, mark, body));
10339
10351
  });
10340
10352
  const Calendar = Calendar$1;
@@ -10438,7 +10450,7 @@ const useTabListScroll = (targetRef, activeIndex) => {
10438
10450
  };
10439
10451
  };
10440
10452
  const scrollMask = "";
10441
- const classPrefix$1a = `adm-scroll-mask`;
10453
+ const classPrefix$1c = `adm-scroll-mask`;
10442
10454
  const ScrollMask$1 = (props) => {
10443
10455
  const maskRef = React$4.useRef(null);
10444
10456
  const [{
@@ -10485,12 +10497,12 @@ const ScrollMask$1 = (props) => {
10485
10497
  }, []);
10486
10498
  return React__default.default.createElement(React__default.default.Fragment, null, React__default.default.createElement(animated.div, {
10487
10499
  ref: maskRef,
10488
- className: classNames(classPrefix$1a, `${classPrefix$1a}-left`),
10500
+ className: classNames(classPrefix$1c, `${classPrefix$1c}-left`),
10489
10501
  style: {
10490
10502
  opacity: leftMaskOpacity
10491
10503
  }
10492
10504
  }), React__default.default.createElement(animated.div, {
10493
- className: classNames(classPrefix$1a, `${classPrefix$1a}-right`),
10505
+ className: classNames(classPrefix$1c, `${classPrefix$1c}-right`),
10494
10506
  style: {
10495
10507
  opacity: rightMaskOpacity
10496
10508
  }
@@ -10697,7 +10709,7 @@ function traverseReactNode(children, fn) {
10697
10709
  }
10698
10710
  handle(children);
10699
10711
  }
10700
- const classPrefix$19 = `adm-capsule-tabs`;
10712
+ const classPrefix$1b = `adm-capsule-tabs`;
10701
10713
  const CapsuleTab = () => null;
10702
10714
  const CapsuleTabs = (props) => {
10703
10715
  var _a;
@@ -10736,19 +10748,19 @@ const CapsuleTabs = (props) => {
10736
10748
  animate(true);
10737
10749
  }, rootRef);
10738
10750
  return withNativeProps(props, React__default.default.createElement("div", {
10739
- className: classPrefix$19,
10751
+ className: classPrefix$1b,
10740
10752
  ref: rootRef
10741
10753
  }, React__default.default.createElement("div", {
10742
- className: `${classPrefix$19}-header`
10754
+ className: `${classPrefix$1b}-header`
10743
10755
  }, React__default.default.createElement(ScrollMask, {
10744
10756
  scrollTrackRef: tabListContainerRef
10745
10757
  }), React__default.default.createElement(animated.div, {
10746
- className: `${classPrefix$19}-tab-list`,
10758
+ className: `${classPrefix$1b}-tab-list`,
10747
10759
  ref: tabListContainerRef,
10748
10760
  scrollLeft
10749
10761
  }, panes.map((pane) => withNativeProps(pane.props, React__default.default.createElement("div", {
10750
10762
  key: pane.key,
10751
- className: `${classPrefix$19}-tab-wrapper`
10763
+ className: `${classPrefix$1b}-tab-wrapper`
10752
10764
  }, React__default.default.createElement("div", {
10753
10765
  onClick: () => {
10754
10766
  const {
@@ -10761,9 +10773,9 @@ const CapsuleTabs = (props) => {
10761
10773
  }
10762
10774
  setActiveKey(key.toString());
10763
10775
  },
10764
- className: classNames(`${classPrefix$19}-tab`, {
10765
- [`${classPrefix$19}-tab-active`]: pane.key === activeKey,
10766
- [`${classPrefix$19}-tab-disabled`]: pane.props.disabled
10776
+ className: classNames(`${classPrefix$1b}-tab`, {
10777
+ [`${classPrefix$1b}-tab-active`]: pane.key === activeKey,
10778
+ [`${classPrefix$1b}-tab-disabled`]: pane.props.disabled
10767
10779
  })
10768
10780
  }, pane.props.title)))))), panes.map((pane) => {
10769
10781
  if (pane.props.children === void 0) {
@@ -10776,7 +10788,7 @@ const CapsuleTabs = (props) => {
10776
10788
  forceRender: pane.props.forceRender,
10777
10789
  destroyOnClose: pane.props.destroyOnClose
10778
10790
  }, React__default.default.createElement("div", {
10779
- className: `${classPrefix$19}-content`,
10791
+ className: `${classPrefix$1b}-content`,
10780
10792
  style: {
10781
10793
  display: active ? "block" : "none"
10782
10794
  }
@@ -10787,18 +10799,18 @@ const index$i = attachPropertiesToComponent(CapsuleTabs, {
10787
10799
  Tab: CapsuleTab
10788
10800
  });
10789
10801
  const card = "";
10790
- const classPrefix$18 = `adm-card`;
10802
+ const classPrefix$1a = `adm-card`;
10791
10803
  const Card$1 = (props) => {
10792
10804
  const renderHeader = () => {
10793
10805
  if (!(props.title || props.extra)) {
10794
10806
  return null;
10795
10807
  }
10796
10808
  return React__default.default.createElement("div", {
10797
- className: classNames(`${classPrefix$18}-header`, props.headerClassName),
10809
+ className: classNames(`${classPrefix$1a}-header`, props.headerClassName),
10798
10810
  style: props.headerStyle,
10799
10811
  onClick: props.onHeaderClick
10800
10812
  }, React__default.default.createElement("div", {
10801
- className: `${classPrefix$18}-header-title`
10813
+ className: `${classPrefix$1a}-header-title`
10802
10814
  }, props.title), props.extra);
10803
10815
  };
10804
10816
  const renderBody = () => {
@@ -10806,13 +10818,13 @@ const Card$1 = (props) => {
10806
10818
  return null;
10807
10819
  }
10808
10820
  return React__default.default.createElement("div", {
10809
- className: classNames(`${classPrefix$18}-body`, props.bodyClassName),
10821
+ className: classNames(`${classPrefix$1a}-body`, props.bodyClassName),
10810
10822
  style: props.bodyStyle,
10811
10823
  onClick: props.onBodyClick
10812
10824
  }, props.children);
10813
10825
  };
10814
10826
  return withNativeProps(props, React__default.default.createElement("div", {
10815
- className: classPrefix$18,
10827
+ className: classPrefix$1a,
10816
10828
  onClick: props.onClick
10817
10829
  }, renderHeader(), renderBody()));
10818
10830
  };
@@ -10862,7 +10874,7 @@ function measureCSSLength(raw) {
10862
10874
  return 0;
10863
10875
  }
10864
10876
  }
10865
- const classPrefix$17 = `adm-picker-view`;
10877
+ const classPrefix$19 = `adm-picker-view`;
10866
10878
  const Wheel = React$4.memo((props) => {
10867
10879
  const {
10868
10880
  value,
@@ -10929,17 +10941,66 @@ const Wheel = React$4.memo((props) => {
10929
10941
  return;
10930
10942
  onSelect(item.value);
10931
10943
  }
10944
+ const handleGestureState = (state) => {
10945
+ const {
10946
+ direction: [, direction],
10947
+ distance: [, distance],
10948
+ velocity: [, velocity],
10949
+ offset: [, offset2],
10950
+ last
10951
+ } = state;
10952
+ return {
10953
+ direction,
10954
+ distance,
10955
+ velocity,
10956
+ offset: offset2,
10957
+ last
10958
+ };
10959
+ };
10932
10960
  const handleDrag = (state) => {
10933
10961
  draggingRef.current = true;
10934
10962
  const min2 = -((column.length - 1) * itemHeight.current);
10935
10963
  const max2 = 0;
10936
- if (state.last) {
10964
+ const {
10965
+ direction,
10966
+ last,
10967
+ velocity,
10968
+ offset: offset2
10969
+ } = handleGestureState(state);
10970
+ if (last) {
10971
+ draggingRef.current = false;
10972
+ const position = offset2 + velocity * direction * 50;
10973
+ const boundNum = bound(position, min2, max2);
10974
+ const targetIndex = -Math.round(boundNum / itemHeight.current);
10975
+ scrollSelect(targetIndex);
10976
+ } else {
10977
+ const position = offset2;
10978
+ api.start({
10979
+ y: rubberbandIfOutOfBounds(position, min2, max2, itemHeight.current * 50, 0.2)
10980
+ });
10981
+ }
10982
+ };
10983
+ const handleWheel = (state) => {
10984
+ draggingRef.current = true;
10985
+ const min2 = -((column.length - 1) * itemHeight.current);
10986
+ const max2 = 0;
10987
+ const {
10988
+ direction,
10989
+ last,
10990
+ velocity,
10991
+ distance
10992
+ } = handleGestureState(state);
10993
+ const whellDir = -direction;
10994
+ const scrollY = y.get();
10995
+ if (last) {
10937
10996
  draggingRef.current = false;
10938
- const position = state.offset[1] + state.velocity[1] * state.direction[1] * 50;
10939
- const targetIndex = min2 < max2 ? -Math.round(bound(position, min2, max2) / itemHeight.current) : 0;
10997
+ const speed = velocity * whellDir * 50;
10998
+ const position = scrollY + distance * whellDir + speed;
10999
+ const boundNum = bound(position, min2, max2);
11000
+ const targetIndex = -Math.round(boundNum / itemHeight.current);
10940
11001
  scrollSelect(targetIndex);
10941
11002
  } else {
10942
- const position = state.offset[1];
11003
+ const position = scrollY + distance * whellDir;
10943
11004
  api.start({
10944
11005
  y: rubberbandIfOutOfBounds(position, min2, max2, itemHeight.current * 50, 0.2)
10945
11006
  });
@@ -10959,15 +11020,15 @@ const Wheel = React$4.memo((props) => {
10959
11020
  });
10960
11021
  useWheel((state) => {
10961
11022
  state.event.stopPropagation();
10962
- handleDrag(state);
11023
+ handleWheel(state);
10963
11024
  }, {
11025
+ target: props.mouseWheel ? rootRef : void 0,
10964
11026
  axis: "y",
10965
11027
  from: () => [0, y.get()],
10966
11028
  preventDefault: true,
10967
- target: props.mouseWheel ? rootRef : void 0,
10968
11029
  eventOptions: supportsPassive ? {
10969
11030
  passive: false
10970
- } : false
11031
+ } : void 0
10971
11032
  });
10972
11033
  let selectedIndex = null;
10973
11034
  function renderAccessible() {
@@ -10980,13 +11041,13 @@ const Wheel = React$4.memo((props) => {
10980
11041
  const previous = column[previousIndex];
10981
11042
  const next = column[nextIndex];
10982
11043
  return React__default.default.createElement("div", {
10983
- className: "adm-picker-view-column-accessible"
11044
+ className: `${classPrefix$19}-column-accessible`
10984
11045
  }, React__default.default.createElement("div", {
10985
- className: "adm-picker-view-column-accessible-current",
11046
+ className: `${classPrefix$19}-column-accessible-current`,
10986
11047
  role: "button",
10987
11048
  "aria-label": current ? `\u5F53\u524D\u9009\u62E9\u7684\u662F\uFF1A${current.label}` : "\u5F53\u524D\u672A\u9009\u62E9"
10988
11049
  }, "-"), React__default.default.createElement("div", {
10989
- className: "adm-picker-view-column-accessible-button",
11050
+ className: `${classPrefix$19}-column-accessible-button`,
10990
11051
  onClick: () => {
10991
11052
  if (!previous)
10992
11053
  return;
@@ -10995,7 +11056,7 @@ const Wheel = React$4.memo((props) => {
10995
11056
  role: previous ? "button" : "text",
10996
11057
  "aria-label": !previous ? "\u6CA1\u6709\u4E0A\u4E00\u9879" : `\u9009\u62E9\u4E0A\u4E00\u9879\uFF1A${previous.label}`
10997
11058
  }, "-"), React__default.default.createElement("div", {
10998
- className: "adm-picker-view-column-accessible-button",
11059
+ className: `${classPrefix$19}-column-accessible-button`,
10999
11060
  onClick: () => {
11000
11061
  if (!next)
11001
11062
  return;
@@ -11006,16 +11067,16 @@ const Wheel = React$4.memo((props) => {
11006
11067
  }, "-"));
11007
11068
  }
11008
11069
  return React__default.default.createElement("div", {
11009
- className: `${classPrefix$17}-column`
11070
+ className: `${classPrefix$19}-column`
11010
11071
  }, React__default.default.createElement("div", {
11011
- className: `${classPrefix$17}-item-height-measure`,
11072
+ className: `${classPrefix$19}-item-height-measure`,
11012
11073
  ref: itemHeightMeasureRef
11013
11074
  }), React__default.default.createElement(animated.div, {
11014
11075
  ref: rootRef,
11015
11076
  style: {
11016
11077
  translateY: y
11017
11078
  },
11018
- className: `${classPrefix$17}-column-wheel`,
11079
+ className: `${classPrefix$19}-column-wheel`,
11019
11080
  "aria-hidden": true
11020
11081
  }, column.map((item, index2) => {
11021
11082
  var _a;
@@ -11029,12 +11090,12 @@ const Wheel = React$4.memo((props) => {
11029
11090
  return React__default.default.createElement("div", {
11030
11091
  key: (_a = item.key) !== null && _a !== void 0 ? _a : item.value,
11031
11092
  "data-selected": item.value === value,
11032
- className: `${classPrefix$17}-column-item`,
11093
+ className: `${classPrefix$19}-column-item`,
11033
11094
  onClick: handleClick,
11034
11095
  "aria-hidden": !selected,
11035
11096
  "aria-label": selected ? "active" : ""
11036
11097
  }, React__default.default.createElement("div", {
11037
- className: `${classPrefix$17}-column-item-label`
11098
+ className: `${classPrefix$19}-column-item-label`
11038
11099
  }, renderLabel(item)));
11039
11100
  })), renderAccessible());
11040
11101
  }, (prev, next) => {
@@ -11048,9 +11109,8 @@ const Wheel = React$4.memo((props) => {
11048
11109
  return false;
11049
11110
  if (prev.mouseWheel !== next.mouseWheel)
11050
11111
  return false;
11051
- if (!isEqual_1(prev.column, next.column)) {
11112
+ if (!isEqual_1(prev.column, next.column))
11052
11113
  return false;
11053
- }
11054
11114
  return true;
11055
11115
  });
11056
11116
  Wheel.displayName = "Wheel";
@@ -11258,7 +11318,7 @@ function subscribe(onStoreChange) {
11258
11318
  function useMotionReduced() {
11259
11319
  return shim.exports.useSyncExternalStore(subscribe, isMotionReduced, isMotionReduced);
11260
11320
  }
11261
- const classPrefix$16 = "adm-spin-loading";
11321
+ const classPrefix$18 = "adm-spin-loading";
11262
11322
  const colorRecord$2 = {
11263
11323
  default: "var(--adm-color-weak)",
11264
11324
  primary: "var(--adm-color-primary)",
@@ -11290,16 +11350,16 @@ const SpinLoading$1 = React$4.memo((p) => {
11290
11350
  }
11291
11351
  });
11292
11352
  return withNativeProps(props, React__default.default.createElement(animated.div, {
11293
- className: classPrefix$16,
11353
+ className: classPrefix$18,
11294
11354
  style: {
11295
11355
  "--color": (_a = colorRecord$2[props.color]) !== null && _a !== void 0 ? _a : props.color,
11296
11356
  "--percent": percent
11297
11357
  }
11298
11358
  }, React__default.default.createElement("svg", {
11299
- className: `${classPrefix$16}-svg`,
11359
+ className: `${classPrefix$18}-svg`,
11300
11360
  viewBox: "0 0 32 32"
11301
11361
  }, React__default.default.createElement(animated.circle, {
11302
- className: `${classPrefix$16}-fill`,
11362
+ className: `${classPrefix$18}-fill`,
11303
11363
  fill: "transparent",
11304
11364
  strokeWidth: "2",
11305
11365
  strokeDasharray: circumference,
@@ -11311,13 +11371,13 @@ const SpinLoading$1 = React$4.memo((p) => {
11311
11371
  }))));
11312
11372
  });
11313
11373
  const SpinLoading = SpinLoading$1;
11314
- const classPrefix$15 = `adm-picker-view`;
11374
+ const classPrefix$17 = `adm-picker-view`;
11315
11375
  const defaultProps$W = {
11316
11376
  defaultValue: [],
11317
11377
  renderLabel: defaultRenderLabel,
11318
11378
  mouseWheel: false,
11319
11379
  loadingContent: React__default.default.createElement("div", {
11320
- className: `${classPrefix$15}-loading-content`
11380
+ className: `${classPrefix$17}-loading-content`
11321
11381
  }, React__default.default.createElement(SpinLoading, null))
11322
11382
  };
11323
11383
  const PickerView$1 = React$4.memo((p) => {
@@ -11362,7 +11422,7 @@ const PickerView$1 = React$4.memo((p) => {
11362
11422
  });
11363
11423
  }, []);
11364
11424
  return withNativeProps(props, React__default.default.createElement("div", {
11365
- className: `${classPrefix$15}`
11425
+ className: `${classPrefix$17}`
11366
11426
  }, props.loading ? props.loadingContent : React__default.default.createElement(React__default.default.Fragment, null, columns.map((column, index2) => React__default.default.createElement(Wheel, {
11367
11427
  key: index2,
11368
11428
  index: index2,
@@ -11372,19 +11432,19 @@ const PickerView$1 = React$4.memo((p) => {
11372
11432
  renderLabel: props.renderLabel,
11373
11433
  mouseWheel: props.mouseWheel
11374
11434
  })), React__default.default.createElement("div", {
11375
- className: `${classPrefix$15}-mask`
11435
+ className: `${classPrefix$17}-mask`
11376
11436
  }, React__default.default.createElement("div", {
11377
- className: `${classPrefix$15}-mask-top`
11437
+ className: `${classPrefix$17}-mask-top`
11378
11438
  }), React__default.default.createElement("div", {
11379
- className: `${classPrefix$15}-mask-middle`
11439
+ className: `${classPrefix$17}-mask-middle`
11380
11440
  }), React__default.default.createElement("div", {
11381
- className: `${classPrefix$15}-mask-bottom`
11441
+ className: `${classPrefix$17}-mask-bottom`
11382
11442
  })))));
11383
11443
  });
11384
11444
  PickerView$1.displayName = "PickerView";
11385
11445
  const pickerView = "";
11386
11446
  const PickerView = PickerView$1;
11387
- const classPrefix$14 = `adm-picker`;
11447
+ const classPrefix$16 = `adm-picker`;
11388
11448
  const defaultProps$V = {
11389
11449
  defaultValue: [],
11390
11450
  closeOnMaskClick: true,
@@ -11450,22 +11510,22 @@ const Picker$1 = React$4.memo(React$4.forwardRef((p, ref) => {
11450
11510
  }
11451
11511
  });
11452
11512
  const pickerElement = withNativeProps(props, React__default.default.createElement("div", {
11453
- className: classPrefix$14
11513
+ className: classPrefix$16
11454
11514
  }, React__default.default.createElement("div", {
11455
- className: `${classPrefix$14}-header`
11515
+ className: `${classPrefix$16}-header`
11456
11516
  }, React__default.default.createElement("a", {
11457
11517
  role: "button",
11458
- className: `${classPrefix$14}-header-button`,
11518
+ className: `${classPrefix$16}-header-button`,
11459
11519
  onClick: () => {
11460
11520
  var _a2;
11461
11521
  (_a2 = props.onCancel) === null || _a2 === void 0 ? void 0 : _a2.call(props);
11462
11522
  setVisible(false);
11463
11523
  }
11464
11524
  }, props.cancelText), React__default.default.createElement("div", {
11465
- className: `${classPrefix$14}-header-title`
11525
+ className: `${classPrefix$16}-header-title`
11466
11526
  }, props.title), React__default.default.createElement("a", {
11467
11527
  role: "button",
11468
- className: classNames(`${classPrefix$14}-header-button`, props.loading && `${classPrefix$14}-header-button-disabled`),
11528
+ className: classNames(`${classPrefix$16}-header-button`, props.loading && `${classPrefix$16}-header-button-disabled`),
11469
11529
  onClick: () => {
11470
11530
  if (props.loading)
11471
11531
  return;
@@ -11474,7 +11534,7 @@ const Picker$1 = React$4.memo(React$4.forwardRef((p, ref) => {
11474
11534
  },
11475
11535
  "aria-disabled": props.loading
11476
11536
  }, props.confirmText)), React__default.default.createElement("div", {
11477
- className: `${classPrefix$14}-body`
11537
+ className: `${classPrefix$16}-body`
11478
11538
  }, React__default.default.createElement(PickerView, {
11479
11539
  loading: props.loading,
11480
11540
  loadingContent: props.loadingContent,
@@ -11486,7 +11546,7 @@ const Picker$1 = React$4.memo(React$4.forwardRef((p, ref) => {
11486
11546
  }))));
11487
11547
  const popupElement = React__default.default.createElement(Popup, {
11488
11548
  style: props.popupStyle,
11489
- className: classNames(`${classPrefix$14}-popup`, props.popupClassName),
11549
+ className: classNames(`${classPrefix$16}-popup`, props.popupClassName),
11490
11550
  visible,
11491
11551
  position: "bottom",
11492
11552
  onMaskClick: () => {
@@ -11636,7 +11696,7 @@ const CascadePickerView$1 = (props) => {
11636
11696
  const CascadePickerView = CascadePickerView$1;
11637
11697
  const cascaderView = "";
11638
11698
  const tabs = "";
11639
- const classPrefix$13 = `adm-tabs`;
11699
+ const classPrefix$15 = `adm-tabs`;
11640
11700
  const Tab = () => {
11641
11701
  return null;
11642
11702
  };
@@ -11797,36 +11857,36 @@ const Tabs$1 = (p) => {
11797
11857
  updateMask(true);
11798
11858
  }, []);
11799
11859
  return withNativeProps(props, React__default.default.createElement("div", {
11800
- className: classPrefix$13
11860
+ className: classPrefix$15
11801
11861
  }, React__default.default.createElement("div", {
11802
- className: `${classPrefix$13}-header`
11862
+ className: `${classPrefix$15}-header`
11803
11863
  }, React__default.default.createElement(animated.div, {
11804
- className: classNames(`${classPrefix$13}-header-mask`, `${classPrefix$13}-header-mask-left`),
11864
+ className: classNames(`${classPrefix$15}-header-mask`, `${classPrefix$15}-header-mask-left`),
11805
11865
  style: {
11806
11866
  opacity: leftMaskOpacity
11807
11867
  }
11808
11868
  }), React__default.default.createElement(animated.div, {
11809
- className: classNames(`${classPrefix$13}-header-mask`, `${classPrefix$13}-header-mask-right`),
11869
+ className: classNames(`${classPrefix$15}-header-mask`, `${classPrefix$15}-header-mask-right`),
11810
11870
  style: {
11811
11871
  opacity: rightMaskOpacity
11812
11872
  }
11813
11873
  }), React__default.default.createElement(animated.div, {
11814
- className: `${classPrefix$13}-tab-list`,
11874
+ className: `${classPrefix$15}-tab-list`,
11815
11875
  ref: tabListContainerRef,
11816
11876
  scrollLeft,
11817
11877
  onScroll: updateMask,
11818
11878
  role: "tablist"
11819
11879
  }, React__default.default.createElement(animated.div, {
11820
11880
  ref: activeLineRef,
11821
- className: `${classPrefix$13}-tab-line`,
11881
+ className: `${classPrefix$15}-tab-line`,
11822
11882
  style: {
11823
11883
  width: props.activeLineMode === "fixed" ? "var(--fixed-active-line-width, 30px)" : width,
11824
11884
  x
11825
11885
  }
11826
11886
  }), panes.map((pane) => withNativeProps(pane.props, React__default.default.createElement("div", {
11827
11887
  key: pane.key,
11828
- className: classNames(`${classPrefix$13}-tab-wrapper`, {
11829
- [`${classPrefix$13}-tab-wrapper-stretch`]: props.stretch
11888
+ className: classNames(`${classPrefix$15}-tab-wrapper`, {
11889
+ [`${classPrefix$15}-tab-wrapper-stretch`]: props.stretch
11830
11890
  })
11831
11891
  }, React__default.default.createElement("div", {
11832
11892
  onClick: () => {
@@ -11840,9 +11900,9 @@ const Tabs$1 = (p) => {
11840
11900
  }
11841
11901
  setActiveKey(key.toString());
11842
11902
  },
11843
- className: classNames(`${classPrefix$13}-tab`, {
11844
- [`${classPrefix$13}-tab-active`]: pane.key === activeKey,
11845
- [`${classPrefix$13}-tab-disabled`]: pane.props.disabled
11903
+ className: classNames(`${classPrefix$15}-tab`, {
11904
+ [`${classPrefix$15}-tab-active`]: pane.key === activeKey,
11905
+ [`${classPrefix$15}-tab-disabled`]: pane.props.disabled
11846
11906
  }),
11847
11907
  role: "tab",
11848
11908
  "aria-selected": pane.key === activeKey
@@ -11857,7 +11917,7 @@ const Tabs$1 = (p) => {
11857
11917
  forceRender: pane.props.forceRender,
11858
11918
  destroyOnClose: pane.props.destroyOnClose
11859
11919
  }, React__default.default.createElement("div", {
11860
- className: `${classPrefix$13}-content`,
11920
+ className: `${classPrefix$15}-content`,
11861
11921
  style: {
11862
11922
  display: active ? "block" : "none"
11863
11923
  }
@@ -11869,7 +11929,7 @@ const Tabs = attachPropertiesToComponent(Tabs$1, {
11869
11929
  });
11870
11930
  const checkList = "";
11871
11931
  const list = "";
11872
- const classPrefix$12 = `adm-list`;
11932
+ const classPrefix$14 = `adm-list`;
11873
11933
  const defaultProps$T = {
11874
11934
  mode: "default"
11875
11935
  };
@@ -11882,41 +11942,41 @@ const List$2 = React$4.forwardRef((p, ref) => {
11882
11942
  }
11883
11943
  }));
11884
11944
  return withNativeProps(props, React__default.default.createElement("div", {
11885
- className: classNames(classPrefix$12, `${classPrefix$12}-${props.mode}`),
11945
+ className: classNames(classPrefix$14, `${classPrefix$14}-${props.mode}`),
11886
11946
  ref: nativeElementRef
11887
11947
  }, props.header && React__default.default.createElement("div", {
11888
- className: `${classPrefix$12}-header`
11948
+ className: `${classPrefix$14}-header`
11889
11949
  }, props.header), React__default.default.createElement("div", {
11890
- className: `${classPrefix$12}-body`
11950
+ className: `${classPrefix$14}-body`
11891
11951
  }, React__default.default.createElement("div", {
11892
- className: `${classPrefix$12}-body-inner`
11952
+ className: `${classPrefix$14}-body-inner`
11893
11953
  }, props.children))));
11894
11954
  });
11895
11955
  function isNodeWithContent(node) {
11896
11956
  return node !== void 0 && node !== null && node !== false;
11897
11957
  }
11898
- const classPrefix$11 = `adm-list-item`;
11958
+ const classPrefix$13 = `adm-list-item`;
11899
11959
  const ListItem = (props) => {
11900
11960
  var _a;
11901
11961
  const clickable = (_a = props.clickable) !== null && _a !== void 0 ? _a : !!props.onClick;
11902
11962
  const arrow2 = props.arrow === void 0 ? clickable : props.arrow;
11903
11963
  const content = React__default.default.createElement("div", {
11904
- className: `${classPrefix$11}-content`
11964
+ className: `${classPrefix$13}-content`
11905
11965
  }, isNodeWithContent(props.prefix) && React__default.default.createElement("div", {
11906
- className: `${classPrefix$11}-content-prefix`
11966
+ className: `${classPrefix$13}-content-prefix`
11907
11967
  }, props.prefix), React__default.default.createElement("div", {
11908
- className: `${classPrefix$11}-content-main`
11968
+ className: `${classPrefix$13}-content-main`
11909
11969
  }, isNodeWithContent(props.title) && React__default.default.createElement("div", {
11910
- className: `${classPrefix$11}-title`
11970
+ className: `${classPrefix$13}-title`
11911
11971
  }, props.title), props.children, isNodeWithContent(props.description) && React__default.default.createElement("div", {
11912
- className: `${classPrefix$11}-description`
11972
+ className: `${classPrefix$13}-description`
11913
11973
  }, props.description)), isNodeWithContent(props.extra) && React__default.default.createElement("div", {
11914
- className: `${classPrefix$11}-content-extra`
11974
+ className: `${classPrefix$13}-content-extra`
11915
11975
  }, props.extra), isNodeWithContent(arrow2) && React__default.default.createElement("div", {
11916
- className: `${classPrefix$11}-content-arrow`
11976
+ className: `${classPrefix$13}-content-arrow`
11917
11977
  }, arrow2 === true ? React__default.default.createElement(RightOutline, null) : arrow2));
11918
11978
  return withNativeProps(props, React__default.default.createElement(clickable ? "a" : "div", {
11919
- className: classNames(`${classPrefix$11}`, clickable ? ["adm-plain-anchor"] : [], props.disabled && `${classPrefix$11}-disabled`),
11979
+ className: classNames(`${classPrefix$13}`, clickable ? ["adm-plain-anchor"] : [], props.disabled && `${classPrefix$13}-disabled`),
11920
11980
  onClick: props.disabled ? void 0 : props.onClick
11921
11981
  }, content));
11922
11982
  };
@@ -11924,7 +11984,7 @@ const List$1 = attachPropertiesToComponent(List$2, {
11924
11984
  Item: ListItem
11925
11985
  });
11926
11986
  const CheckListContext = React$4.createContext(null);
11927
- const classPrefix$10 = "adm-check-list";
11987
+ const classPrefix$12 = "adm-check-list";
11928
11988
  const defaultProps$S = {
11929
11989
  multiple: false,
11930
11990
  defaultValue: [],
@@ -11961,10 +12021,10 @@ const CheckList$1 = (p) => {
11961
12021
  }
11962
12022
  }, withNativeProps(props, React__default.default.createElement(List$1, {
11963
12023
  mode: props.mode,
11964
- className: classPrefix$10
12024
+ className: classPrefix$12
11965
12025
  }, props.children)));
11966
12026
  };
11967
- const classPrefix$$ = `adm-check-list-item`;
12027
+ const classPrefix$11 = `adm-check-list-item`;
11968
12028
  const CheckListItem = (props) => {
11969
12029
  const context = React$4.useContext(CheckListContext);
11970
12030
  if (context === null) {
@@ -11976,11 +12036,11 @@ const CheckListItem = (props) => {
11976
12036
  const defaultExtra = active ? context.activeIcon : null;
11977
12037
  const renderExtra = context.extra ? context.extra(active) : defaultExtra;
11978
12038
  const extra = React__default.default.createElement("div", {
11979
- className: `${classPrefix$$}-extra`
12039
+ className: `${classPrefix$11}-extra`
11980
12040
  }, renderExtra);
11981
12041
  return withNativeProps(props, React__default.default.createElement(List$1.Item, {
11982
12042
  title: props.title,
11983
- className: classNames(classPrefix$$, readOnly && `${classPrefix$$}-readonly`, active && `${classPrefix$$}-active`),
12043
+ className: classNames(classPrefix$11, readOnly && `${classPrefix$11}-readonly`, active && `${classPrefix$11}-active`),
11984
12044
  description: props.description,
11985
12045
  prefix: props.prefix,
11986
12046
  onClick: (e2) => {
@@ -12071,18 +12131,18 @@ function generateIntArray(from, to2) {
12071
12131
  }
12072
12132
  return array4;
12073
12133
  }
12074
- const classPrefix$_ = "adm-skeleton";
12134
+ const classPrefix$10 = "adm-skeleton";
12075
12135
  const Skeleton$1 = (props) => {
12076
12136
  return withNativeProps(props, React__default.default.createElement("div", {
12077
- className: classNames(classPrefix$_, {
12078
- [`${classPrefix$_}-animated`]: props.animated
12137
+ className: classNames(classPrefix$10, {
12138
+ [`${classPrefix$10}-animated`]: props.animated
12079
12139
  })
12080
12140
  }));
12081
12141
  };
12082
12142
  const SkeletonTitle = (props) => {
12083
12143
  return withNativeProps(props, React__default.default.createElement(Skeleton$1, {
12084
12144
  animated: props.animated,
12085
- className: `${classPrefix$_}-title`
12145
+ className: `${classPrefix$10}-title`
12086
12146
  }));
12087
12147
  };
12088
12148
  const defaultSkeletonParagraphProps = {
@@ -12092,11 +12152,11 @@ const SkeletonParagraph = (p) => {
12092
12152
  const props = mergeProps(defaultSkeletonParagraphProps, p);
12093
12153
  const keys2 = generateIntArray(1, props.lineCount);
12094
12154
  const node = React__default.default.createElement("div", {
12095
- className: `${classPrefix$_}-paragraph`
12155
+ className: `${classPrefix$10}-paragraph`
12096
12156
  }, keys2.map((key) => React__default.default.createElement(Skeleton$1, {
12097
12157
  key,
12098
12158
  animated: props.animated,
12099
- className: `${classPrefix$_}-paragraph-line`
12159
+ className: `${classPrefix$10}-paragraph-line`
12100
12160
  })));
12101
12161
  return withNativeProps(props, node);
12102
12162
  };
@@ -12104,7 +12164,7 @@ const Skeleton = attachPropertiesToComponent(Skeleton$1, {
12104
12164
  Title: SkeletonTitle,
12105
12165
  Paragraph: SkeletonParagraph
12106
12166
  });
12107
- const classPrefix$Z = `adm-cascader-view`;
12167
+ const classPrefix$$ = `adm-cascader-view`;
12108
12168
  const defaultProps$R = {
12109
12169
  defaultValue: []
12110
12170
  };
@@ -12168,7 +12228,7 @@ const CascaderView$1 = (p) => {
12168
12228
  };
12169
12229
  const whetherLoading = (options) => props.loading || options === optionSkeleton;
12170
12230
  return withNativeProps(props, React__default.default.createElement("div", {
12171
- className: classPrefix$Z
12231
+ className: classPrefix$$
12172
12232
  }, React__default.default.createElement(Tabs, {
12173
12233
  activeKey: tabActiveIndex.toString(),
12174
12234
  onChange: (key) => {
@@ -12176,30 +12236,30 @@ const CascaderView$1 = (p) => {
12176
12236
  setTabActiveIndex(activeIndex);
12177
12237
  },
12178
12238
  stretch: false,
12179
- className: `${classPrefix$Z}-tabs`
12239
+ className: `${classPrefix$$}-tabs`
12180
12240
  }, levels.map((level, index2) => {
12181
12241
  const selected = level.selected;
12182
12242
  return React__default.default.createElement(Tabs.Tab, {
12183
12243
  key: index2.toString(),
12184
12244
  title: React__default.default.createElement("div", {
12185
- className: `${classPrefix$Z}-header-title`
12245
+ className: `${classPrefix$$}-header-title`
12186
12246
  }, selected ? selected.label : typeof placeholder === "function" ? placeholder(index2) : placeholder),
12187
12247
  forceRender: true
12188
12248
  }, React__default.default.createElement("div", {
12189
- className: `${classPrefix$Z}-content`
12249
+ className: `${classPrefix$$}-content`
12190
12250
  }, whetherLoading(level.options) ? React__default.default.createElement("div", {
12191
- className: `${classPrefix$Z}-skeleton`
12251
+ className: `${classPrefix$$}-skeleton`
12192
12252
  }, React__default.default.createElement(Skeleton, {
12193
- className: `${classPrefix$Z}-skeleton-line-1`,
12253
+ className: `${classPrefix$$}-skeleton-line-1`,
12194
12254
  animated: true
12195
12255
  }), React__default.default.createElement(Skeleton, {
12196
- className: `${classPrefix$Z}-skeleton-line-2`,
12256
+ className: `${classPrefix$$}-skeleton-line-2`,
12197
12257
  animated: true
12198
12258
  }), React__default.default.createElement(Skeleton, {
12199
- className: `${classPrefix$Z}-skeleton-line-3`,
12259
+ className: `${classPrefix$$}-skeleton-line-3`,
12200
12260
  animated: true
12201
12261
  }), React__default.default.createElement(Skeleton, {
12202
- className: `${classPrefix$Z}-skeleton-line-4`,
12262
+ className: `${classPrefix$$}-skeleton-line-4`,
12203
12263
  animated: true
12204
12264
  })) : React__default.default.createElement(CheckList, {
12205
12265
  value: [value[index2]],
@@ -12211,8 +12271,8 @@ const CascaderView$1 = (p) => {
12211
12271
  value: option.value,
12212
12272
  key: option.value,
12213
12273
  disabled: option.disabled,
12214
- className: classNames(`${classPrefix$Z}-item`, {
12215
- [`${classPrefix$Z}-item-active`]: active
12274
+ className: classNames(`${classPrefix$$}-item`, {
12275
+ [`${classPrefix$$}-item-active`]: active
12216
12276
  })
12217
12277
  }, option.label);
12218
12278
  }))));
@@ -12221,7 +12281,7 @@ const CascaderView$1 = (p) => {
12221
12281
  const CascaderView = attachPropertiesToComponent(CascaderView$1, {
12222
12282
  optionSkeleton
12223
12283
  });
12224
- const classPrefix$Y = `adm-cascader`;
12284
+ const classPrefix$_ = `adm-cascader`;
12225
12285
  const defaultProps$Q = {
12226
12286
  defaultValue: [],
12227
12287
  destroyOnClose: true,
@@ -12273,26 +12333,26 @@ const Cascader = React$4.forwardRef((p, ref) => {
12273
12333
  }
12274
12334
  }, [visible, value]);
12275
12335
  const cascaderElement = withNativeProps(props, React__default.default.createElement("div", {
12276
- className: classPrefix$Y
12336
+ className: classPrefix$_
12277
12337
  }, React__default.default.createElement("div", {
12278
- className: `${classPrefix$Y}-header`
12338
+ className: `${classPrefix$_}-header`
12279
12339
  }, React__default.default.createElement("a", {
12280
- className: `${classPrefix$Y}-header-button`,
12340
+ className: `${classPrefix$_}-header-button`,
12281
12341
  onClick: () => {
12282
12342
  var _a2;
12283
12343
  (_a2 = props.onCancel) === null || _a2 === void 0 ? void 0 : _a2.call(props);
12284
12344
  setVisible(false);
12285
12345
  }
12286
12346
  }, props.cancelText), React__default.default.createElement("div", {
12287
- className: `${classPrefix$Y}-header-title`
12347
+ className: `${classPrefix$_}-header-title`
12288
12348
  }, props.title), React__default.default.createElement("a", {
12289
- className: `${classPrefix$Y}-header-button`,
12349
+ className: `${classPrefix$_}-header-button`,
12290
12350
  onClick: () => {
12291
12351
  setValue2(innerValue, true);
12292
12352
  setVisible(false);
12293
12353
  }
12294
12354
  }, props.confirmText)), React__default.default.createElement("div", {
12295
- className: `${classPrefix$Y}-body`
12355
+ className: `${classPrefix$_}-body`
12296
12356
  }, React__default.default.createElement(CascaderView, Object.assign({}, props, {
12297
12357
  value: innerValue,
12298
12358
  onChange: (val, ext) => {
@@ -12357,6 +12417,7 @@ const index$g = attachPropertiesToComponent(Cascader, {
12357
12417
  optionSkeleton
12358
12418
  });
12359
12419
  const centerPopup = "";
12420
+ const classPrefix$Z = "adm-center-popup";
12360
12421
  const defaultProps$P = Object.assign(Object.assign({}, defaultPopupBaseProps), {
12361
12422
  getContainer: null
12362
12423
  });
@@ -12394,11 +12455,11 @@ const CenterPopup$1 = (p) => {
12394
12455
  useLockScroll(ref, props.disableBodyScroll && active);
12395
12456
  const maskVisible = useInnerVisible(active && props.visible);
12396
12457
  const body = React__default.default.createElement("div", {
12397
- className: classNames("adm-center-popup-body", props.bodyClassName),
12458
+ className: classNames(`${classPrefix$Z}-body`, props.bodyClassName),
12398
12459
  style: props.bodyStyle
12399
12460
  }, props.children);
12400
12461
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React__default.default.createElement("div", {
12401
- className: "adm-center-popup",
12462
+ className: classPrefix$Z,
12402
12463
  style: {
12403
12464
  display: active ? void 0 : "none",
12404
12465
  pointerEvents: active ? void 0 : "none"
@@ -12415,18 +12476,18 @@ const CenterPopup$1 = (p) => {
12415
12476
  }
12416
12477
  },
12417
12478
  style: props.maskStyle,
12418
- className: classNames("adm-center-popup-mask", props.maskClassName),
12479
+ className: classNames(`${classPrefix$Z}-mask`, props.maskClassName),
12419
12480
  disableBodyScroll: false,
12420
12481
  stopPropagation: props.stopPropagation
12421
12482
  }), React__default.default.createElement("div", {
12422
- className: "adm-center-popup-wrap",
12483
+ className: `${classPrefix$Z}-wrap`,
12423
12484
  role: props.role,
12424
12485
  "aria-label": props["aria-label"]
12425
12486
  }, React__default.default.createElement(animated.div, {
12426
12487
  style,
12427
12488
  ref
12428
12489
  }, props.showCloseButton && React__default.default.createElement("a", {
12429
- className: classNames("adm-center-popup-close", "adm-plain-anchor"),
12490
+ className: classNames(`${classPrefix$Z}-close`, "adm-plain-anchor"),
12430
12491
  onClick: () => {
12431
12492
  var _a;
12432
12493
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -12512,7 +12573,7 @@ const NativeInput = (props) => {
12512
12573
  id: props.id
12513
12574
  });
12514
12575
  };
12515
- const classPrefix$X = `adm-checkbox`;
12576
+ const classPrefix$Y = `adm-checkbox`;
12516
12577
  const defaultProps$N = {
12517
12578
  defaultChecked: false,
12518
12579
  indeterminate: false
@@ -12564,20 +12625,20 @@ const Checkbox$1 = React$4.forwardRef((p, ref) => {
12564
12625
  const renderIcon = () => {
12565
12626
  if (props.icon) {
12566
12627
  return React__default.default.createElement("div", {
12567
- className: `${classPrefix$X}-custom-icon`
12628
+ className: `${classPrefix$Y}-custom-icon`
12568
12629
  }, props.icon(checked, props.indeterminate));
12569
12630
  }
12570
12631
  return React__default.default.createElement("div", {
12571
- className: `${classPrefix$X}-icon`
12632
+ className: `${classPrefix$Y}-icon`
12572
12633
  }, props.indeterminate ? React__default.default.createElement(IndeterminateIcon, null) : checked && React__default.default.createElement(CheckIcon, null));
12573
12634
  };
12574
12635
  return withNativeProps(props, React__default.default.createElement("label", {
12575
12636
  onClick: props.onClick,
12576
- className: classNames(classPrefix$X, {
12577
- [`${classPrefix$X}-checked`]: checked && !props.indeterminate,
12578
- [`${classPrefix$X}-indeterminate`]: props.indeterminate,
12579
- [`${classPrefix$X}-disabled`]: disabled,
12580
- [`${classPrefix$X}-block`]: props.block
12637
+ className: classNames(classPrefix$Y, {
12638
+ [`${classPrefix$Y}-checked`]: checked && !props.indeterminate,
12639
+ [`${classPrefix$Y}-indeterminate`]: props.indeterminate,
12640
+ [`${classPrefix$Y}-disabled`]: disabled,
12641
+ [`${classPrefix$Y}-block`]: props.block
12581
12642
  })
12582
12643
  }, React__default.default.createElement(NativeInput, {
12583
12644
  type: "checkbox",
@@ -12586,14 +12647,14 @@ const Checkbox$1 = React$4.forwardRef((p, ref) => {
12586
12647
  disabled,
12587
12648
  id: props.id
12588
12649
  }), renderIcon(), props.children && React__default.default.createElement("div", {
12589
- className: `${classPrefix$X}-content`
12650
+ className: `${classPrefix$Y}-content`
12590
12651
  }, props.children)));
12591
12652
  });
12592
12653
  const Checkbox = attachPropertiesToComponent(Checkbox$1, {
12593
12654
  Group: Group$1
12594
12655
  });
12595
12656
  const collapse = "";
12596
- const classPrefix$W = `adm-collapse`;
12657
+ const classPrefix$X = `adm-collapse`;
12597
12658
  const CollapsePanel = () => {
12598
12659
  return null;
12599
12660
  };
@@ -12647,8 +12708,8 @@ const CollapsePanelContent = (props) => {
12647
12708
  }
12648
12709
  }, [visible]);
12649
12710
  return React__default.default.createElement(animated.div, {
12650
- className: classNames(`${classPrefix$W}-panel-content`, {
12651
- [`${classPrefix$W}-panel-content-active`]: visible
12711
+ className: classNames(`${classPrefix$X}-panel-content`, {
12712
+ [`${classPrefix$X}-panel-content-active`]: visible
12652
12713
  }),
12653
12714
  style: {
12654
12715
  height: height.to((v) => {
@@ -12660,12 +12721,11 @@ const CollapsePanelContent = (props) => {
12660
12721
  })
12661
12722
  }
12662
12723
  }, React__default.default.createElement("div", {
12663
- className: `${classPrefix$W}-panel-content-inner`,
12724
+ className: `${classPrefix$X}-panel-content-inner`,
12664
12725
  ref: innerRef
12665
12726
  }, React__default.default.createElement(List$1.Item, null, shouldRender && props.children)));
12666
12727
  };
12667
12728
  const Collapse = (props) => {
12668
- var _a;
12669
12729
  const panels = [];
12670
12730
  traverseReactNode(props.children, (child) => {
12671
12731
  if (!React$4.isValidElement(child))
@@ -12675,26 +12735,42 @@ const Collapse = (props) => {
12675
12735
  return;
12676
12736
  panels.push(child);
12677
12737
  });
12678
- const [activeKey, setActiveKey] = usePropsValue(props.accordion ? {
12679
- value: props.activeKey === void 0 ? void 0 : props.activeKey === null ? [] : [props.activeKey],
12680
- defaultValue: props.defaultActiveKey === void 0 || props.defaultActiveKey === null ? [] : [props.defaultActiveKey],
12681
- onChange: (v) => {
12682
- var _a2, _b;
12683
- (_a2 = props.onChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, (_b = v[0]) !== null && _b !== void 0 ? _b : null);
12738
+ const handlePropsValue = () => {
12739
+ var _a;
12740
+ if (!props.accordion) {
12741
+ return {
12742
+ value: props.activeKey,
12743
+ defaultValue: (_a = props.defaultActiveKey) !== null && _a !== void 0 ? _a : [],
12744
+ onChange: props.onChange
12745
+ };
12684
12746
  }
12685
- } : {
12686
- value: props.activeKey,
12687
- defaultValue: (_a = props.defaultActiveKey) !== null && _a !== void 0 ? _a : [],
12688
- onChange: props.onChange
12689
- });
12747
+ const initValue = {
12748
+ value: [],
12749
+ defaultValue: [],
12750
+ onChange: (v) => {
12751
+ var _a2, _b;
12752
+ (_a2 = props.onChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, (_b = v[0]) !== null && _b !== void 0 ? _b : null);
12753
+ }
12754
+ };
12755
+ if (props.activeKey === void 0) {
12756
+ initValue.value = void 0;
12757
+ } else if (props.activeKey !== null) {
12758
+ initValue.value = [props.activeKey];
12759
+ }
12760
+ if (![null, void 0].includes(props.defaultActiveKey)) {
12761
+ initValue.defaultValue = [props.defaultActiveKey];
12762
+ }
12763
+ return initValue;
12764
+ };
12765
+ const [activeKey, setActiveKey] = usePropsValue(handlePropsValue());
12690
12766
  const activeKeyList = activeKey === null ? [] : Array.isArray(activeKey) ? activeKey : [activeKey];
12691
12767
  return withNativeProps(props, React__default.default.createElement("div", {
12692
- className: classPrefix$W
12768
+ className: classPrefix$X
12693
12769
  }, React__default.default.createElement(List$1, null, panels.map((panel) => {
12694
12770
  const key = panel.key;
12695
12771
  const active = activeKeyList.includes(key);
12696
12772
  function handleClick(event) {
12697
- var _a2, _b;
12773
+ var _a, _b;
12698
12774
  if (props.accordion) {
12699
12775
  if (active) {
12700
12776
  setActiveKey([]);
@@ -12708,7 +12784,7 @@ const Collapse = (props) => {
12708
12784
  setActiveKey([...activeKeyList, key]);
12709
12785
  }
12710
12786
  }
12711
- (_b = (_a2 = panel.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a2, event);
12787
+ (_b = (_a = panel.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event);
12712
12788
  }
12713
12789
  const renderArrow = () => {
12714
12790
  let arrow2 = React__default.default.createElement(DownOutline, null);
@@ -12719,15 +12795,15 @@ const Collapse = (props) => {
12719
12795
  arrow2 = panel.props.arrow;
12720
12796
  }
12721
12797
  return typeof arrow2 === "function" ? arrow2(active) : React__default.default.createElement("div", {
12722
- className: classNames(`${classPrefix$W}-arrow`, {
12723
- [`${classPrefix$W}-arrow-active`]: active
12798
+ className: classNames(`${classPrefix$X}-arrow`, {
12799
+ [`${classPrefix$X}-arrow-active`]: active
12724
12800
  })
12725
12801
  }, arrow2);
12726
12802
  };
12727
12803
  return React__default.default.createElement(React__default.default.Fragment, {
12728
12804
  key
12729
12805
  }, withNativeProps(panel.props, React__default.default.createElement(List$1.Item, {
12730
- className: `${classPrefix$W}-panel-header`,
12806
+ className: `${classPrefix$X}-panel-header`,
12731
12807
  onClick: handleClick,
12732
12808
  disabled: panel.props.disabled,
12733
12809
  arrow: renderArrow()
@@ -13368,7 +13444,7 @@ const index$d = attachPropertiesToComponent(Dialog, {
13368
13444
  clear: clear$2
13369
13445
  });
13370
13446
  const divider = "";
13371
- const classPrefix$V = `adm-divider`;
13447
+ const classPrefix$W = `adm-divider`;
13372
13448
  const defaultProps$I = {
13373
13449
  contentPosition: "center",
13374
13450
  direction: "horizontal"
@@ -13376,30 +13452,30 @@ const defaultProps$I = {
13376
13452
  const Divider$1 = (p) => {
13377
13453
  const props = mergeProps(defaultProps$I, p);
13378
13454
  return withNativeProps(props, React__default.default.createElement("div", {
13379
- className: classNames(classPrefix$V, `${classPrefix$V}-${props.direction}`, `${classPrefix$V}-${props.contentPosition}`)
13455
+ className: classNames(classPrefix$W, `${classPrefix$W}-${props.direction}`, `${classPrefix$W}-${props.contentPosition}`)
13380
13456
  }, props.children && React__default.default.createElement("div", {
13381
- className: `${classPrefix$V}-content`
13457
+ className: `${classPrefix$W}-content`
13382
13458
  }, props.children)));
13383
13459
  };
13384
13460
  const Divider = Divider$1;
13385
13461
  const dropdown = "";
13386
- const classPrefix$U = `adm-dropdown-item`;
13462
+ const classPrefix$V = `adm-dropdown-item`;
13387
13463
  const Item = (props) => {
13388
13464
  var _a;
13389
- const cls2 = classNames(classPrefix$U, {
13390
- [`${classPrefix$U}-active`]: props.active,
13391
- [`${classPrefix$U}-highlight`]: (_a = props.highlight) !== null && _a !== void 0 ? _a : props.active
13465
+ const cls2 = classNames(classPrefix$V, {
13466
+ [`${classPrefix$V}-active`]: props.active,
13467
+ [`${classPrefix$V}-highlight`]: (_a = props.highlight) !== null && _a !== void 0 ? _a : props.active
13392
13468
  });
13393
13469
  return withNativeProps(props, React__default.default.createElement("div", {
13394
13470
  className: cls2,
13395
13471
  onClick: props.onClick
13396
13472
  }, React__default.default.createElement("div", {
13397
- className: `${classPrefix$U}-title`
13473
+ className: `${classPrefix$V}-title`
13398
13474
  }, React__default.default.createElement("span", {
13399
- className: `${classPrefix$U}-title-text`
13475
+ className: `${classPrefix$V}-title-text`
13400
13476
  }, props.title), React__default.default.createElement("span", {
13401
- className: classNames(`${classPrefix$U}-title-arrow`, {
13402
- [`${classPrefix$U}-title-arrow-active`]: props.active
13477
+ className: classNames(`${classPrefix$V}-title-arrow`, {
13478
+ [`${classPrefix$V}-title-arrow-active`]: props.active
13403
13479
  })
13404
13480
  }, props.arrow === void 0 ? React__default.default.createElement(DownFill, null) : props.arrow))));
13405
13481
  };
@@ -13409,15 +13485,15 @@ const ItemChildrenWrap = (props) => {
13409
13485
  active = false
13410
13486
  } = props;
13411
13487
  const shouldRender = useShouldRender(active, props.forceRender, props.destroyOnClose);
13412
- const cls2 = classNames(`${classPrefix$U}-content`, {
13413
- [`${classPrefix$U}-content-hidden`]: !active
13488
+ const cls2 = classNames(`${classPrefix$V}-content`, {
13489
+ [`${classPrefix$V}-content-hidden`]: !active
13414
13490
  });
13415
13491
  return shouldRender ? React__default.default.createElement("div", {
13416
13492
  className: cls2,
13417
13493
  onClick: props.onClick
13418
13494
  }, props.children) : null;
13419
13495
  };
13420
- const classPrefix$T = `adm-dropdown`;
13496
+ const classPrefix$U = `adm-dropdown`;
13421
13497
  const defaultProps$H = {
13422
13498
  defaultActiveKey: null,
13423
13499
  closeOnMaskClick: true,
@@ -13481,20 +13557,20 @@ const Dropdown = React$4.forwardRef((p, ref) => {
13481
13557
  }
13482
13558
  }), [setValue2]);
13483
13559
  return withNativeProps(props, React__default.default.createElement("div", {
13484
- className: classNames(classPrefix$T, {
13485
- [`${classPrefix$T}-open`]: !!value
13560
+ className: classNames(classPrefix$U, {
13561
+ [`${classPrefix$U}-open`]: !!value
13486
13562
  }),
13487
13563
  ref: containerRef
13488
13564
  }, React__default.default.createElement("div", {
13489
- className: `${classPrefix$T}-nav`,
13565
+ className: `${classPrefix$U}-nav`,
13490
13566
  ref: navRef
13491
13567
  }, navs), React__default.default.createElement(Popup, {
13492
13568
  visible: !!value,
13493
13569
  position: "top",
13494
13570
  getContainer: props.getContainer,
13495
- className: `${classPrefix$T}-popup`,
13496
- maskClassName: `${classPrefix$T}-popup-mask`,
13497
- bodyClassName: `${classPrefix$T}-popup-body`,
13571
+ className: `${classPrefix$U}-popup`,
13572
+ maskClassName: `${classPrefix$U}-popup-mask`,
13573
+ bodyClassName: `${classPrefix$U}-popup-body`,
13498
13574
  style: {
13499
13575
  top
13500
13576
  },
@@ -13579,7 +13655,7 @@ function betweenInclusive(i2, e2, n2) {
13579
13655
  !function(i2) {
13580
13656
  i2[i2.unit_1 = 1] = "unit_1", i2[i2.unit_2 = 2] = "unit_2", i2[i2.unit_4 = 4] = "unit_4";
13581
13657
  }(n || (n = {}));
13582
- const classPrefix$S = `adm-ellipsis`;
13658
+ const classPrefix$T = `adm-ellipsis`;
13583
13659
  const defaultProps$G = {
13584
13660
  direction: "end",
13585
13661
  rows: 1,
@@ -13621,7 +13697,6 @@ const Ellipsis$1 = (p) => {
13621
13697
  container.style.minHeight = "auto";
13622
13698
  container.style.maxHeight = "auto";
13623
13699
  container.style.textOverflow = "clip";
13624
- container.style.whiteSpace = "normal";
13625
13700
  container.style.webkitLineClamp = "unset";
13626
13701
  container.style.display = "block";
13627
13702
  const lineHeight = pxToNumber(originStyle.lineHeight);
@@ -13693,18 +13768,18 @@ const Ellipsis$1 = (p) => {
13693
13768
  useIsomorphicLayoutEffect$2(() => {
13694
13769
  calcEllipsised();
13695
13770
  }, [props.content, props.direction, props.rows, props.expandText, props.collapseText]);
13696
- const expandActionElement = exceeded && props.expandText ? withStopPropagation(props.stopPropagationForActionButtons, React__default.default.createElement("a", {
13771
+ const expandActionElement = !!props.expandText && withStopPropagation(props.stopPropagationForActionButtons, React__default.default.createElement("a", {
13697
13772
  ref: expandElRef,
13698
13773
  onClick: () => {
13699
13774
  setExpanded(true);
13700
13775
  }
13701
- }, props.expandText)) : null;
13702
- const collapseActionElement = exceeded && props.collapseText ? withStopPropagation(props.stopPropagationForActionButtons, React__default.default.createElement("a", {
13776
+ }, props.expandText));
13777
+ const collapseActionElement = !!props.collapseText && withStopPropagation(props.stopPropagationForActionButtons, React__default.default.createElement("a", {
13703
13778
  ref: collapseElRef,
13704
13779
  onClick: () => {
13705
13780
  setExpanded(false);
13706
13781
  }
13707
- }, props.collapseText)) : null;
13782
+ }, props.collapseText));
13708
13783
  const renderContent = () => {
13709
13784
  if (!exceeded)
13710
13785
  return props.content;
@@ -13714,7 +13789,7 @@ const Ellipsis$1 = (p) => {
13714
13789
  };
13715
13790
  return withNativeProps(props, React__default.default.createElement("div", {
13716
13791
  ref: rootRef,
13717
- className: classPrefix$S,
13792
+ className: classPrefix$T,
13718
13793
  onClick: (e2) => {
13719
13794
  if (e2.target === e2.currentTarget) {
13720
13795
  props.onContentClick(e2);
@@ -13752,7 +13827,7 @@ const EmptyIcon = (props) => {
13752
13827
  fill: "#fafafa"
13753
13828
  })))));
13754
13829
  };
13755
- const classPrefix$R = `adm-empty`;
13830
+ const classPrefix$S = `adm-empty`;
13756
13831
  const Empty$1 = (props) => {
13757
13832
  function renderImageNode() {
13758
13833
  const {
@@ -13760,13 +13835,13 @@ const Empty$1 = (props) => {
13760
13835
  } = props;
13761
13836
  if (image2 === void 0) {
13762
13837
  return React__default.default.createElement(EmptyIcon, {
13763
- className: `${classPrefix$R}-image`,
13838
+ className: `${classPrefix$S}-image`,
13764
13839
  style: props.imageStyle
13765
13840
  });
13766
13841
  }
13767
13842
  if (typeof image2 === "string") {
13768
13843
  return React__default.default.createElement("img", {
13769
- className: `${classPrefix$R}-image`,
13844
+ className: `${classPrefix$S}-image`,
13770
13845
  style: props.imageStyle,
13771
13846
  src: image2,
13772
13847
  alt: "empty"
@@ -13775,16 +13850,16 @@ const Empty$1 = (props) => {
13775
13850
  return image2;
13776
13851
  }
13777
13852
  return withNativeProps(props, React__default.default.createElement("div", {
13778
- className: classPrefix$R
13853
+ className: classPrefix$S
13779
13854
  }, React__default.default.createElement("div", {
13780
- className: `${classPrefix$R}-image-container`
13855
+ className: `${classPrefix$S}-image-container`
13781
13856
  }, renderImageNode()), props.description && React__default.default.createElement("div", {
13782
- className: classNames(`${classPrefix$R}-description`)
13857
+ className: classNames(`${classPrefix$S}-description`)
13783
13858
  }, props.description)));
13784
13859
  };
13785
13860
  const Empty = Empty$1;
13786
13861
  const errorBlock = "";
13787
- const classPrefix$Q = `adm-error-block`;
13862
+ const classPrefix$R = `adm-error-block`;
13788
13863
  const defaultProps$F = {
13789
13864
  status: "default"
13790
13865
  };
@@ -13796,7 +13871,7 @@ function createErrorBlock(imageRecord2) {
13796
13871
  locale
13797
13872
  } = useConfig();
13798
13873
  const contentPack = locale.ErrorBlock[props.status];
13799
- const des = "description" in props ? props.description : contentPack.description;
13874
+ const desc = "description" in props ? props.description : contentPack.description;
13800
13875
  const title = "title" in props ? props.title : contentPack.title;
13801
13876
  const image2 = (_a = props.image) !== null && _a !== void 0 ? _a : imageRecord2[props.status];
13802
13877
  const imageNode = typeof image2 === "string" ? React__default.default.createElement("img", {
@@ -13804,19 +13879,19 @@ function createErrorBlock(imageRecord2) {
13804
13879
  alt: "error block image"
13805
13880
  }) : image2;
13806
13881
  return withNativeProps(props, React__default.default.createElement("div", {
13807
- className: classNames(classPrefix$Q, {
13808
- [`${classPrefix$Q}-full-page`]: props.fullPage
13882
+ className: classNames(classPrefix$R, {
13883
+ [`${classPrefix$R}-full-page`]: props.fullPage
13809
13884
  })
13810
13885
  }, React__default.default.createElement("div", {
13811
- className: `${classPrefix$Q}-image`
13886
+ className: `${classPrefix$R}-image`
13812
13887
  }, imageNode), React__default.default.createElement("div", {
13813
- className: `${classPrefix$Q}-description`
13814
- }, title && React__default.default.createElement("div", {
13815
- className: `${classPrefix$Q}-description-title`
13816
- }, title), des && React__default.default.createElement("div", {
13817
- className: `${classPrefix$Q}-description-subtitle`
13818
- }, des)), props.children && React__default.default.createElement("div", {
13819
- className: `${classPrefix$Q}-content`
13888
+ className: `${classPrefix$R}-description`
13889
+ }, ![void 0, null].includes(title) && React__default.default.createElement("div", {
13890
+ className: `${classPrefix$R}-description-title`
13891
+ }, title), ![void 0, null].includes(desc) && React__default.default.createElement("div", {
13892
+ className: `${classPrefix$R}-description-subtitle`
13893
+ }, desc)), props.children && React__default.default.createElement("div", {
13894
+ className: `${classPrefix$R}-content`
13820
13895
  }, props.children)));
13821
13896
  };
13822
13897
  return ErrorBlock2;
@@ -14324,7 +14399,7 @@ const imageRecord = {
14324
14399
  const ErrorBlock$1 = createErrorBlock(imageRecord);
14325
14400
  const ErrorBlock = ErrorBlock$1;
14326
14401
  const floatingBubble = "";
14327
- const classPrefix$P = `adm-floating-bubble`;
14402
+ const classPrefix$Q = `adm-floating-bubble`;
14328
14403
  const defaultProps$E = {
14329
14404
  axis: "y",
14330
14405
  defaultOffset: {
@@ -14408,11 +14483,11 @@ const FloatingBubble$1 = (p) => {
14408
14483
  from: () => [x.get(), y.get()]
14409
14484
  });
14410
14485
  return withNativeProps(props, React__default.default.createElement("div", {
14411
- className: classPrefix$P
14486
+ className: classPrefix$Q
14412
14487
  }, React__default.default.createElement("div", {
14413
- className: `${classPrefix$P}-boundary-outer`
14488
+ className: `${classPrefix$Q}-boundary-outer`
14414
14489
  }, React__default.default.createElement("div", {
14415
- className: `${classPrefix$P}-boundary`,
14490
+ className: `${classPrefix$Q}-boundary`,
14416
14491
  ref: boundaryRef
14417
14492
  })), React__default.default.createElement(animated.div, Object.assign({}, bind(), {
14418
14493
  style: {
@@ -14420,7 +14495,7 @@ const FloatingBubble$1 = (p) => {
14420
14495
  transform: to([x, y], (x2, y2) => `translate(${x2}px, ${y2}px)`)
14421
14496
  },
14422
14497
  onClick: props.onClick,
14423
- className: `${classPrefix$P}-button`,
14498
+ className: `${classPrefix$Q}-button`,
14424
14499
  ref: buttonRef
14425
14500
  }), props.children)));
14426
14501
  };
@@ -14431,6 +14506,7 @@ function nearest(arr, target) {
14431
14506
  return Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur;
14432
14507
  });
14433
14508
  }
14509
+ const classPrefix$P = "adm-floating-panel";
14434
14510
  const defaultProps$D = {
14435
14511
  handleDraggingOfContent: true
14436
14512
  };
@@ -14493,7 +14569,7 @@ const FloatingPanel$1 = React$4.forwardRef((p, ref) => {
14493
14569
  const {
14494
14570
  event
14495
14571
  } = state;
14496
- if (event.cancelable) {
14572
+ if (event.cancelable && supportsPassive) {
14497
14573
  event.preventDefault();
14498
14574
  }
14499
14575
  event.stopPropagation();
@@ -14517,7 +14593,7 @@ const FloatingPanel$1 = React$4.forwardRef((p, ref) => {
14517
14593
  target: elementRef,
14518
14594
  eventOptions: supportsPassive ? {
14519
14595
  passive: false
14520
- } : false
14596
+ } : void 0
14521
14597
  });
14522
14598
  React$4.useImperativeHandle(ref, () => ({
14523
14599
  setHeight: (height, options) => {
@@ -14530,23 +14606,23 @@ const FloatingPanel$1 = React$4.forwardRef((p, ref) => {
14530
14606
  useLockScroll(elementRef, true);
14531
14607
  return withNativeProps(props, React__default.default.createElement(animated.div, {
14532
14608
  ref: elementRef,
14533
- className: "adm-floating-panel",
14609
+ className: classPrefix$P,
14534
14610
  style: {
14535
14611
  height: Math.round(maxHeight),
14536
14612
  translateY: y.to((y2) => `calc(100% + (${Math.round(y2)}px))`)
14537
14613
  }
14538
14614
  }, React__default.default.createElement("div", {
14539
- className: "adm-floating-panel-mask",
14615
+ className: `${classPrefix$P}-mask`,
14540
14616
  style: {
14541
14617
  display: pulling ? "block" : "none"
14542
14618
  }
14543
14619
  }), React__default.default.createElement("div", {
14544
- className: "adm-floating-panel-header",
14620
+ className: `${classPrefix$P}-header`,
14545
14621
  ref: headerRef
14546
14622
  }, React__default.default.createElement("div", {
14547
- className: "adm-floating-panel-bar"
14623
+ className: `${classPrefix$P}-bar`
14548
14624
  })), React__default.default.createElement("div", {
14549
- className: "adm-floating-panel-content",
14625
+ className: `${classPrefix$P}-content`,
14550
14626
  ref: contentRef
14551
14627
  }, props.children)));
14552
14628
  });
@@ -20604,7 +20680,6 @@ const MemoInput = React__default.default.memo(({
20604
20680
  const FormItemLayout = (props) => {
20605
20681
  var _a;
20606
20682
  const {
20607
- className,
20608
20683
  style,
20609
20684
  extra,
20610
20685
  label,
@@ -20646,7 +20721,7 @@ const FormItemLayout = (props) => {
20646
20721
  return null;
20647
20722
  }
20648
20723
  })();
20649
- const labelElement = label ? React__default.default.createElement("label", {
20724
+ const labelElement = !!label && React__default.default.createElement("label", {
20650
20725
  className: `${classPrefix$L}-label`,
20651
20726
  htmlFor
20652
20727
  }, label, requiredMark, help && React__default.default.createElement(Popover, {
@@ -20658,21 +20733,21 @@ const FormItemLayout = (props) => {
20658
20733
  onClick: (e2) => {
20659
20734
  e2.preventDefault();
20660
20735
  }
20661
- }, React__default.default.createElement(QuestionCircleOutline, null)))) : null;
20662
- const description = props.description || hasFeedback ? React__default.default.createElement(React__default.default.Fragment, null, props.description, hasFeedback && React__default.default.createElement(React__default.default.Fragment, null, props.errors.map((error, index2) => React__default.default.createElement("div", {
20736
+ }, React__default.default.createElement(QuestionCircleOutline, null))));
20737
+ const description = (!!props.description || hasFeedback) && React__default.default.createElement(React__default.default.Fragment, null, props.description, hasFeedback && React__default.default.createElement(React__default.default.Fragment, null, props.errors.map((error, index2) => React__default.default.createElement("div", {
20663
20738
  key: `error-${index2}`,
20664
20739
  className: `${classPrefix$L}-feedback-error`
20665
20740
  }, error)), props.warnings.map((warning3, index2) => React__default.default.createElement("div", {
20666
20741
  key: `warning-${index2}`,
20667
20742
  className: `${classPrefix$L}-feedback-warning`
20668
- }, warning3)))) : null;
20743
+ }, warning3))));
20669
20744
  return withNativeProps(props, React__default.default.createElement(List$1.Item, {
20670
20745
  style,
20671
20746
  title: layout === "vertical" && labelElement,
20672
20747
  prefix: layout === "horizontal" && labelElement,
20673
20748
  extra,
20674
20749
  description,
20675
- className: classNames(classPrefix$L, className, `${classPrefix$L}-${layout}`, {
20750
+ className: classNames(classPrefix$L, `${classPrefix$L}-${layout}`, {
20676
20751
  [`${classPrefix$L}-hidden`]: hidden,
20677
20752
  [`${classPrefix$L}-has-error`]: props.errors.length
20678
20753
  }),
@@ -20688,7 +20763,6 @@ const FormItemLayout = (props) => {
20688
20763
  };
20689
20764
  const FormItem = (props) => {
20690
20765
  const {
20691
- className,
20692
20766
  style,
20693
20767
  label,
20694
20768
  help,
@@ -20712,7 +20786,7 @@ const FormItem = (props) => {
20712
20786
  dependencies,
20713
20787
  clickable,
20714
20788
  arrow: arrow2
20715
- } = props, fieldProps = __rest(props, ["className", "style", "label", "help", "extra", "hasFeedback", "name", "required", "noStyle", "hidden", "layout", "childElementPosition", "description", "disabled", "rules", "children", "messageVariables", "trigger", "validateTrigger", "onClick", "shouldUpdate", "dependencies", "clickable", "arrow"]);
20789
+ } = props, fieldProps = __rest(props, ["style", "label", "help", "extra", "hasFeedback", "name", "required", "noStyle", "hidden", "layout", "childElementPosition", "description", "disabled", "rules", "children", "messageVariables", "trigger", "validateTrigger", "onClick", "shouldUpdate", "dependencies", "clickable", "arrow"]);
20716
20790
  const {
20717
20791
  name: formName
20718
20792
  } = React$4.useContext(FormContext);
@@ -20760,7 +20834,6 @@ const FormItem = (props) => {
20760
20834
  return subWarnings;
20761
20835
  }, curWarnings);
20762
20836
  return withNativeProps(props, React__default.default.createElement(FormItemLayout, {
20763
- className,
20764
20837
  style,
20765
20838
  label,
20766
20839
  extra,
@@ -22962,7 +23035,7 @@ const PullToRefresh$1 = (p) => {
22962
23035
  enabled: !props.disabled,
22963
23036
  eventOptions: supportsPassive ? {
22964
23037
  passive: false
22965
- } : false
23038
+ } : void 0
22966
23039
  });
22967
23040
  const renderStatusText = () => {
22968
23041
  var _a2;
@@ -24747,14 +24820,14 @@ const Steps = (p) => {
24747
24820
  if (!React__default.default.isValidElement(child)) {
24748
24821
  return child;
24749
24822
  }
24750
- const props2 = child.props;
24751
- let status = props2.status || "wait";
24823
+ const childProps = child.props;
24824
+ let status = childProps.status || "wait";
24752
24825
  if (index2 < current) {
24753
- status = props2.status || "finish";
24826
+ status = childProps.status || "finish";
24754
24827
  } else if (index2 === current) {
24755
- status = props2.status || "process";
24828
+ status = childProps.status || "process";
24756
24829
  }
24757
- const icon = (_a = props2.icon) !== null && _a !== void 0 ? _a : defaultIcon;
24830
+ const icon = (_a = childProps.icon) !== null && _a !== void 0 ? _a : defaultIcon;
24758
24831
  return React__default.default.cloneElement(child, {
24759
24832
  status,
24760
24833
  icon
@@ -25463,7 +25536,7 @@ const index$1 = attachPropertiesToComponent(TabBar, {
25463
25536
  const tag = "";
25464
25537
  const classPrefix$7 = `adm-tag`;
25465
25538
  const colorRecord = {
25466
- default: "#666666",
25539
+ default: "var(--adm-color-text-secondary, #666666)",
25467
25540
  primary: "var(--adm-color-primary, #1677ff)",
25468
25541
  success: "var(--adm-color-success, #00b578)",
25469
25542
  warning: "var(--adm-color-warning, #ff8f1f)",
@@ -25566,12 +25639,21 @@ const TextArea$1 = React$4.forwardRef((p, ref) => {
25566
25639
  className: `${classPrefix$6}-count`
25567
25640
  }, maxLength === void 0 ? valueLength : valueLength + "/" + maxLength);
25568
25641
  }
25642
+ let rows = props.rows;
25643
+ if (typeof autoSize === "object") {
25644
+ if (autoSize.maxRows && rows > autoSize.maxRows) {
25645
+ rows = autoSize.maxRows;
25646
+ }
25647
+ if (autoSize.minRows && rows < autoSize.minRows) {
25648
+ rows = autoSize.minRows;
25649
+ }
25650
+ }
25569
25651
  return withNativeProps(props, React__default.default.createElement("div", {
25570
25652
  className: classPrefix$6
25571
25653
  }, React__default.default.createElement("textarea", {
25572
25654
  ref: nativeTextAreaRef,
25573
25655
  className: `${classPrefix$6}-element`,
25574
- rows: props.rows,
25656
+ rows,
25575
25657
  value,
25576
25658
  placeholder: props.placeholder,
25577
25659
  onChange: (e2) => {
@@ -25608,7 +25690,7 @@ const TextArea$1 = React$4.forwardRef((p, ref) => {
25608
25690
  ref: hiddenTextAreaRef,
25609
25691
  className: `${classPrefix$6}-element ${classPrefix$6}-element-hidden`,
25610
25692
  value,
25611
- rows: props.rows,
25693
+ rows,
25612
25694
  "aria-hidden": true,
25613
25695
  readOnly: true
25614
25696
  })));
@@ -26194,7 +26276,7 @@ const defaultProps$1 = {
26194
26276
  const WaterMark$1 = (p) => {
26195
26277
  const props = mergeProps(defaultProps$1, p);
26196
26278
  const {
26197
- zIndex = 2e3,
26279
+ zIndex,
26198
26280
  gapX = 24,
26199
26281
  gapY = 48,
26200
26282
  width = 120,