@unicom-cloud/ui 0.8.55 → 0.8.57

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 (425) hide show
  1. package/Affix.js +36 -36
  2. package/Alert.js +41 -45
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +40 -40
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +26 -26
  7. package/Badge.js +43 -43
  8. package/Breadcrumb.js +17 -17
  9. package/Button.js +42 -42
  10. package/Calendar.js +54 -56
  11. package/Card.js +28 -28
  12. package/Carousel.js +42 -43
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +11 -580
  17. package/Comment.js +14 -14
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +26 -26
  20. package/DatePicker.js +661 -670
  21. package/Descriptions.js +53 -53
  22. package/Divider.js +15 -15
  23. package/Draggable.js +16 -16
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +10 -10
  26. package/Empty.js +3 -3
  27. package/Form.js +10 -1410
  28. package/Grid.js +49 -49
  29. package/Icon.js +10 -10
  30. package/IconHover.js +2 -2
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +7 -7
  34. package/InputTag.js +1 -1
  35. package/Layout.js +34 -34
  36. package/Link.js +26 -26
  37. package/List.js +39 -39
  38. package/Mentions.js +17 -17
  39. package/Menu.js +1 -1
  40. package/Message.js +3 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +4 -10
  43. package/Notification.js +3 -3
  44. package/OverflowEllipsis.js +18 -18
  45. package/PageHeader.js +26 -27
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +15 -15
  49. package/Popover.js +22 -22
  50. package/Progress.js +18 -18
  51. package/Radio.js +2 -2
  52. package/Rate.js +40 -43
  53. package/ResizeBox.js +191 -192
  54. package/Result.js +17 -17
  55. package/Select.js +1 -1
  56. package/SelectView.js +56 -56
  57. package/Skeleton.js +35 -35
  58. package/Slider.js +81 -81
  59. package/Space.js +27 -27
  60. package/SpeechSynthesis.js +29 -32
  61. package/Spin.js +15 -15
  62. package/Statistic.js +54 -54
  63. package/Steps.js +44 -44
  64. package/Switch.js +39 -38
  65. package/Table.js +488 -488
  66. package/Tabs.js +1 -1
  67. package/Tag.js +13 -14
  68. package/TimePicker.js +68 -68
  69. package/Timeline.js +1 -1
  70. package/Tooltip.js +27 -28
  71. package/Transfer.js +29 -30
  72. package/Tree.js +1 -1
  73. package/TreeSelect.js +1 -1
  74. package/Trigger.js +53 -52
  75. package/Typography.js +2 -737
  76. package/Upload.js +1 -1
  77. package/VerificationCode.js +1 -1
  78. package/Version.js +1 -1
  79. package/Watermark.js +1 -1
  80. package/chunk/1mEO29GP.js +23 -0
  81. package/chunk/5pZ3ayqs.js +29 -0
  82. package/chunk/9Gh1afjL.js +23 -0
  83. package/chunk/B1S1OEw6.js +29 -0
  84. package/chunk/B45v5S9k.js +209 -0
  85. package/chunk/B6fn5y_s.js +23 -0
  86. package/chunk/B9PsJar0.js +118 -0
  87. package/chunk/BA02BFUV.js +41 -0
  88. package/chunk/BCk8e9fj.js +29 -0
  89. package/chunk/BHK9zpXn.js +207 -0
  90. package/chunk/BHLTzWzi.js +29 -0
  91. package/chunk/BK1FKNAX.js +41 -0
  92. package/chunk/BM6dpkeM.js +32 -0
  93. package/chunk/{BC0PujUD.js → BMvZCjSU.js} +118 -120
  94. package/chunk/{DQ3uFRJD.js → BP7xX86Q.js} +223 -202
  95. package/chunk/BWx1cVT_.js +66 -0
  96. package/chunk/BbI3gqVr.js +23 -0
  97. package/chunk/{CIc4yo9k.js → BbYzi8M0.js} +46 -46
  98. package/chunk/Be7oeWU8.js +34 -0
  99. package/chunk/BeM2hfks.js +88 -0
  100. package/chunk/BkHxm4sv.js +41 -0
  101. package/chunk/{BUQBof6z.js → Bl-ODC57.js} +206 -207
  102. package/chunk/BlKc_pDZ.js +678 -0
  103. package/chunk/{BzqZZHGK.js → Bny52uiG.js} +48 -48
  104. package/chunk/{PuuHmqnW.js → BpwDupra.js} +238 -238
  105. package/chunk/BqxwlITu.js +52 -0
  106. package/chunk/BuEC_zcc.js +278 -0
  107. package/chunk/{CqcZfQQ4.js → Bv8ZRDFt.js} +80 -80
  108. package/chunk/{DZGcv_9A.js → C-w9pFY-.js} +32 -32
  109. package/chunk/C2fspJbE.js +23 -0
  110. package/chunk/C7Okdv4u.js +34 -0
  111. package/chunk/C95ipQ6b.js +41 -0
  112. package/chunk/{BzMYgxgO.js → CF3Telny.js} +26 -26
  113. package/chunk/CPl52AZh.js +206 -0
  114. package/chunk/CR4u270n.js +284 -0
  115. package/chunk/CXNW5Y2a.js +23 -0
  116. package/chunk/Cb_oWoGj.js +40 -0
  117. package/chunk/CcX2pBUh.js +46 -0
  118. package/chunk/{BdJcAQ0Q.js → CggcswbO.js} +18 -18
  119. package/chunk/CkAOsst1.js +73 -0
  120. package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
  121. package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
  122. package/chunk/{RRWbBHK-.js → D5p8q9Pa.js} +221 -221
  123. package/chunk/{DTgc2wl4.js → D6RTBH4C.js} +36 -36
  124. package/chunk/D6mVoX-C.js +116 -0
  125. package/chunk/D9TqtOhq.js +40 -0
  126. package/chunk/{CZ8iz63Z.js → DBJ8d0o0.js} +210 -217
  127. package/chunk/{RL1SNlng.js → DDda6s72.js} +16 -16
  128. package/chunk/{BH5fVprw.js → DJmWXheU.js} +9 -9
  129. package/chunk/{Niaq_og8.js → DMWMrXg1.js} +220 -226
  130. package/chunk/DPvnQJ-H.js +52 -0
  131. package/chunk/DQXq1QT0.js +58 -0
  132. package/chunk/DUxWiN2U.js +1465 -0
  133. package/chunk/DYZzQ2uT.js +29 -0
  134. package/chunk/{CK0H_Yi4.js → DafaH1Qt.js} +140 -138
  135. package/chunk/{ShWkfsJd.js → DalIRWr7.js} +21 -21
  136. package/chunk/Dbk4DVhB.js +855 -0
  137. package/chunk/{CzTYWtfa.js → Dg2DmtzA.js} +31 -30
  138. package/chunk/DhLbnw3R.js +29 -0
  139. package/chunk/{BmtF7P8U.js → DkIjpuBZ.js} +170 -170
  140. package/chunk/Do1aMgY3.js +12 -0
  141. package/chunk/Dtnux4qL.js +38 -0
  142. package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
  143. package/chunk/HlP8inLK.js +1796 -0
  144. package/chunk/Lk60-jkf.js +1098 -0
  145. package/chunk/V_IcWDFx.js +49 -0
  146. package/chunk/{DG7VgAhL.js → WkB0MERB.js} +107 -108
  147. package/chunk/{Dki1RB5p.js → aM2ePYrq.js} +154 -155
  148. package/chunk/bsawGxt8.js +32 -0
  149. package/chunk/cUuQh7L_.js +46 -0
  150. package/chunk/fqgc8r6C.js +29 -0
  151. package/chunk/m_kOQCiU.js +29 -0
  152. package/chunk/sl8s35SK.js +29 -0
  153. package/hooks/index.js +52 -246
  154. package/hooks/useForceUpdate.js +6 -6
  155. package/hooks/useIntersectionObserver.js +12 -10
  156. package/hooks/useKeyboardEvent.js +7 -7
  157. package/hooks/useMedia.js +9 -12
  158. package/hooks/useMergeValue.js +10 -8
  159. package/hooks/useResizeObserver.js +16 -0
  160. package/hooks/useUpdateEffect.js +7 -9
  161. package/hooks/useWindowSize.js +16 -20
  162. package/icons.js +6003 -0
  163. package/index.js +377 -472
  164. package/locale/en-US.js +20 -6
  165. package/locale/ja-JP.js +4 -2
  166. package/locale/ko-KR.js +2 -2
  167. package/locale/pt-BR.js +3 -3
  168. package/locale/pt-PT.js +3 -3
  169. package/locale/tr-TR.js +11 -3
  170. package/locale/zh-CN.js +6 -0
  171. package/locale/zh-HK.js +2 -0
  172. package/locale/zh-TW.js +2 -0
  173. package/package.json +1 -1
  174. package/style.css +1 -1
  175. package/types/anchor/util.d.ts +1 -0
  176. package/types/button/index.d.ts +2 -2
  177. package/types/color-picker/colors.d.ts +1 -1
  178. package/types/date-picker/util.d.ts +1 -1
  179. package/types/hooks/index.d.ts +3 -101
  180. package/types/hooks/useForceUpdate.d.ts +1 -2
  181. package/types/hooks/useIntersectionObserver.d.ts +1 -1
  182. package/types/hooks/useKeyboardEvent.d.ts +2 -2
  183. package/types/hooks/useMergeProps.d.ts +1 -1
  184. package/types/hooks/useResizeObserver.d.ts +5 -0
  185. package/types/hooks/useUpdateEffect.d.ts +2 -3
  186. package/types/hooks/useWindowSize.d.ts +1 -1
  187. package/types/icons.d.ts +4 -0
  188. package/types/index.d.ts +12 -2
  189. package/types/locale/en-US.d.ts +4 -0
  190. package/types/locale/interface.d.ts +2 -0
  191. package/types/locale/ja-JP.d.ts +4 -0
  192. package/types/locale/zh-CN.d.ts +4 -0
  193. package/types/locale/zh-HK.d.ts +4 -0
  194. package/types/locale/zh-TW.d.ts +4 -0
  195. package/types/version/index.d.ts +1 -1
  196. package/utils/CSSTransition.js +1 -1
  197. package/utils/className.js +2 -3
  198. package/utils/contextHolder.js +2 -2
  199. package/utils/copy.js +2 -3
  200. package/utils/is.js +127 -90
  201. package/utils/reactDOM.js +17 -15
  202. package/utils/responsiveObserve.js +16 -16
  203. package/utils/saveAs.js +2 -3
  204. package/chunk/BdYAMaw9.js +0 -6
  205. package/chunk/DdtfPvgk.js +0 -272
  206. package/chunk/I4RV9SKZ.js +0 -135
  207. package/chunk/TXCrI0jN.js +0 -20
  208. package/chunk/i1A7W8Qt.js +0 -277
  209. package/chunk/xPzFRQJn.js +0 -740
  210. package/hooks/useAsync.js +0 -13
  211. package/hooks/useAsyncFn.js +0 -15
  212. package/hooks/useAsyncRetry.js +0 -17
  213. package/hooks/useAudio.js +0 -5
  214. package/hooks/useBeforeUnload.js +0 -18
  215. package/hooks/useBoolean.js +0 -4
  216. package/hooks/useClickAway.js +0 -22
  217. package/hooks/useCopyToClipboard.js +0 -51
  218. package/hooks/useCounter.js +0 -45
  219. package/hooks/useCreation.js +0 -17
  220. package/hooks/useCustomCompareEffect.js +0 -15
  221. package/hooks/useDebounce.js +0 -9
  222. package/hooks/useDefault.js +0 -10
  223. package/hooks/useDrop.js +0 -44
  224. package/hooks/useDropArea.js +0 -45
  225. package/hooks/useEffectOnce.js +0 -7
  226. package/hooks/useEffectState.js +0 -9
  227. package/hooks/useEnsuredForwardedRef.js +0 -17
  228. package/hooks/useError.js +0 -13
  229. package/hooks/useEvent.js +0 -13
  230. package/hooks/useEventListener.js +0 -39
  231. package/hooks/useFavicon.js +0 -16
  232. package/hooks/useFirstMountState.js +0 -8
  233. package/hooks/useFullscreen.js +0 -39
  234. package/hooks/useGeolocation.js +0 -38
  235. package/hooks/useGetSet.js +0 -18
  236. package/hooks/useGetSetState.js +0 -12
  237. package/hooks/useHash.js +0 -26
  238. package/hooks/useHover.js +0 -16
  239. package/hooks/useHoverDirty.js +0 -17
  240. package/hooks/useIdle.js +0 -34
  241. package/hooks/useIntersection.js +0 -19
  242. package/hooks/useIsomorphicLayoutEffect2.js +0 -6
  243. package/hooks/useKey.js +0 -16
  244. package/hooks/useKeyPress.js +0 -13
  245. package/hooks/useKeyPressEvent.js +0 -11
  246. package/hooks/useLatest.js +0 -8
  247. package/hooks/useLifecycles.js +0 -9
  248. package/hooks/useList.js +0 -67
  249. package/hooks/useLocalStorage.js +0 -42
  250. package/hooks/useLocation.js +0 -51
  251. package/hooks/useLockBodyScroll.js +0 -55
  252. package/hooks/useLogger.js +0 -10
  253. package/hooks/useLongPress.js +0 -24
  254. package/hooks/useMap.js +0 -31
  255. package/hooks/useMeasure.js +0 -34
  256. package/hooks/useMeasureDirty.js +0 -24
  257. package/hooks/useMediaDevices.js +0 -26
  258. package/hooks/useMediatedState.js +0 -14
  259. package/hooks/useMethods.js +0 -14
  260. package/hooks/useMotion.js +0 -56
  261. package/hooks/useMount.js +0 -9
  262. package/hooks/useMountedState.js +0 -10
  263. package/hooks/useMouse.js +0 -44
  264. package/hooks/useMouseHovered.js +0 -9
  265. package/hooks/useMouseWheel.js +0 -14
  266. package/hooks/useMultiStateValidator.js +0 -19
  267. package/hooks/useNetworkState.js +0 -31
  268. package/hooks/useNumber.js +0 -4
  269. package/hooks/useObservable.js +0 -12
  270. package/hooks/useOrientation.js +0 -30
  271. package/hooks/usePageLeave.js +0 -19
  272. package/hooks/usePermission.js +0 -19
  273. package/hooks/usePinchZoom.js +0 -40
  274. package/hooks/usePreviousDistinct.js +0 -10
  275. package/hooks/usePromise.js +0 -19
  276. package/hooks/useQueue.js +0 -25
  277. package/hooks/useRaf.js +0 -24
  278. package/hooks/useRafLoop.js +0 -24
  279. package/hooks/useRafState.js +0 -15
  280. package/hooks/useReactive.js +0 -21
  281. package/hooks/useRendersCount.js +0 -7
  282. package/hooks/useScroll.js +0 -27
  283. package/hooks/useScrolling.js +0 -23
  284. package/hooks/useSearchParam.js +0 -18
  285. package/hooks/useSessionStorage.js +0 -29
  286. package/hooks/useSet.js +0 -15
  287. package/hooks/useSetState.js +0 -16
  288. package/hooks/useSize.js +0 -58
  289. package/hooks/useSlider.js +0 -48
  290. package/hooks/useSpeech.js +0 -45
  291. package/hooks/useStartTyping.js +0 -30
  292. package/hooks/useStateList.js +0 -37
  293. package/hooks/useStateValidator.js +0 -17
  294. package/hooks/useStateWithHistory.js +0 -46
  295. package/hooks/useSyncState.js +0 -14
  296. package/hooks/useThrottle.js +0 -21
  297. package/hooks/useThrottleFn.js +0 -21
  298. package/hooks/useTimeout.js +0 -17
  299. package/hooks/useTimeoutFn.js +0 -16
  300. package/hooks/useTitle.js +0 -18
  301. package/hooks/useToggle.js +0 -5
  302. package/hooks/useTween.js +0 -11
  303. package/hooks/useUnmount.js +0 -9
  304. package/hooks/useUnmountPromise.js +0 -20
  305. package/hooks/useUpdate.js +0 -10
  306. package/hooks/useUpdateTimeout.js +0 -9
  307. package/hooks/useUpsert.js +0 -16
  308. package/hooks/useVibrate.js +0 -21
  309. package/hooks/useVideo.js +0 -5
  310. package/hooks/useWindowScroll.js +0 -29
  311. package/types/hooks/component/UseKey.d.ts +0 -2
  312. package/types/hooks/factory/createBreakpoint.d.ts +0 -4
  313. package/types/hooks/factory/createGlobalState.d.ts +0 -7
  314. package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
  315. package/types/hooks/factory/createMemo.d.ts +0 -2
  316. package/types/hooks/factory/createReducer.d.ts +0 -8
  317. package/types/hooks/factory/createReducerContext.d.ts +0 -5
  318. package/types/hooks/factory/createRenderProp.d.ts +0 -1
  319. package/types/hooks/factory/createRouter.d.ts +0 -7
  320. package/types/hooks/factory/createStateContext.d.ts +0 -5
  321. package/types/hooks/misc/hookState.d.ts +0 -8
  322. package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
  323. package/types/hooks/misc/types.d.ts +0 -2
  324. package/types/hooks/misc/util.d.ts +0 -5
  325. package/types/hooks/useAsync.d.ts +0 -20
  326. package/types/hooks/useAsyncFn.d.ts +0 -23
  327. package/types/hooks/useAsyncRetry.d.ts +0 -27
  328. package/types/hooks/useAudio.d.ts +0 -11
  329. package/types/hooks/useBeforeUnload.d.ts +0 -2
  330. package/types/hooks/useBoolean.d.ts +0 -2
  331. package/types/hooks/useClickAway.d.ts +0 -3
  332. package/types/hooks/useCopyToClipboard.d.ts +0 -7
  333. package/types/hooks/useCounter.d.ts +0 -9
  334. package/types/hooks/useCreation.d.ts +0 -2
  335. package/types/hooks/useCustomCompareEffect.d.ts +0 -4
  336. package/types/hooks/useDebounce.d.ts +0 -3
  337. package/types/hooks/useDefault.d.ts +0 -2
  338. package/types/hooks/useDrop.d.ts +0 -17
  339. package/types/hooks/useDropArea.d.ts +0 -18
  340. package/types/hooks/useEffectOnce.d.ts +0 -3
  341. package/types/hooks/useEffectState.d.ts +0 -2
  342. package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
  343. package/types/hooks/useError.d.ts +0 -2
  344. package/types/hooks/useEvent.d.ts +0 -13
  345. package/types/hooks/useEventListener.d.ts +0 -2
  346. package/types/hooks/useFavicon.d.ts +0 -2
  347. package/types/hooks/useFirstMountState.d.ts +0 -1
  348. package/types/hooks/useFullscreen.d.ts +0 -10
  349. package/types/hooks/useGeolocation.d.ts +0 -21
  350. package/types/hooks/useGetSet.d.ts +0 -3
  351. package/types/hooks/useGetSetState.d.ts +0 -2
  352. package/types/hooks/useHash.d.ts +0 -2
  353. package/types/hooks/useHover.d.ts +0 -4
  354. package/types/hooks/useHoverDirty.d.ts +0 -3
  355. package/types/hooks/useIdle.d.ts +0 -2
  356. package/types/hooks/useIntersection.d.ts +0 -3
  357. package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
  358. package/types/hooks/useKey.d.ts +0 -12
  359. package/types/hooks/useKeyPress.d.ts +0 -3
  360. package/types/hooks/useKeyPressEvent.d.ts +0 -3
  361. package/types/hooks/useLatest.d.ts +0 -4
  362. package/types/hooks/useLifecycles.d.ts +0 -2
  363. package/types/hooks/useList.d.ts +0 -18
  364. package/types/hooks/useLocalStorage.d.ts +0 -10
  365. package/types/hooks/useLocation.d.ts +0 -16
  366. package/types/hooks/useLockBodyScroll.d.ts +0 -8
  367. package/types/hooks/useLogger.d.ts +0 -2
  368. package/types/hooks/useLongPress.d.ts +0 -12
  369. package/types/hooks/useMap.d.ts +0 -11
  370. package/types/hooks/useMeasure.d.ts +0 -9
  371. package/types/hooks/useMeasureDirty.d.ts +0 -11
  372. package/types/hooks/useMediaDevices.d.ts +0 -2
  373. package/types/hooks/useMediatedState.d.ts +0 -9
  374. package/types/hooks/useMethods.d.ts +0 -8
  375. package/types/hooks/useMotion.d.ts +0 -20
  376. package/types/hooks/useMount.d.ts +0 -2
  377. package/types/hooks/useMountedState.d.ts +0 -1
  378. package/types/hooks/useMouse.d.ts +0 -13
  379. package/types/hooks/useMouseHovered.d.ts +0 -8
  380. package/types/hooks/useMouseWheel.d.ts +0 -2
  381. package/types/hooks/useMultiStateValidator.d.ts +0 -9
  382. package/types/hooks/useNetworkState.d.ts +0 -22
  383. package/types/hooks/useNumber.d.ts +0 -2
  384. package/types/hooks/useObservable.d.ts +0 -8
  385. package/types/hooks/useOrientation.d.ts +0 -6
  386. package/types/hooks/usePageLeave.d.ts +0 -2
  387. package/types/hooks/usePermission.d.ts +0 -16
  388. package/types/hooks/usePinchZoom.d.ts +0 -18
  389. package/types/hooks/usePreviousDistinct.d.ts +0 -2
  390. package/types/hooks/usePromise.d.ts +0 -3
  391. package/types/hooks/useQueue.d.ts +0 -9
  392. package/types/hooks/useRaf.d.ts +0 -2
  393. package/types/hooks/useRafLoop.d.ts +0 -2
  394. package/types/hooks/useRafState.d.ts +0 -3
  395. package/types/hooks/useReactive.d.ts +0 -2
  396. package/types/hooks/useRendersCount.d.ts +0 -1
  397. package/types/hooks/useScroll.d.ts +0 -7
  398. package/types/hooks/useScrolling.d.ts +0 -3
  399. package/types/hooks/useSearchParam.d.ts +0 -3
  400. package/types/hooks/useSessionStorage.d.ts +0 -2
  401. package/types/hooks/useSet.d.ts +0 -11
  402. package/types/hooks/useSetState.d.ts +0 -2
  403. package/types/hooks/useSize.d.ts +0 -8
  404. package/types/hooks/useSlider.d.ts +0 -15
  405. package/types/hooks/useSpeech.d.ts +0 -16
  406. package/types/hooks/useStartTyping.d.ts +0 -2
  407. package/types/hooks/useStateList.d.ts +0 -9
  408. package/types/hooks/useStateValidator.d.ts +0 -8
  409. package/types/hooks/useStateWithHistory.d.ts +0 -18
  410. package/types/hooks/useSyncState.d.ts +0 -3
  411. package/types/hooks/useThrottle.d.ts +0 -2
  412. package/types/hooks/useThrottleFn.d.ts +0 -2
  413. package/types/hooks/useTimeout.d.ts +0 -2
  414. package/types/hooks/useTimeoutFn.d.ts +0 -2
  415. package/types/hooks/useTitle.d.ts +0 -6
  416. package/types/hooks/useToggle.d.ts +0 -2
  417. package/types/hooks/useTween.d.ts +0 -3
  418. package/types/hooks/useUnmount.d.ts +0 -2
  419. package/types/hooks/useUnmountPromise.d.ts +0 -3
  420. package/types/hooks/useUpdate.d.ts +0 -2
  421. package/types/hooks/useUpdateTimeout.d.ts +0 -2
  422. package/types/hooks/useUpsert.d.ts +0 -6
  423. package/types/hooks/useVibrate.d.ts +0 -4
  424. package/types/hooks/useVideo.d.ts +0 -11
  425. package/types/hooks/useWindowScroll.d.ts +0 -6
package/Table.js CHANGED
@@ -1,43 +1,43 @@
1
- import { jsx as u, jsxs as de, Fragment as xt } from "react/jsx-runtime";
2
- import { Tween as Ln, quintInOut as On } from "@unicom-cloud/utils/tween";
1
+ import { jsx as u, jsxs as ce, Fragment as xt } from "react/jsx-runtime";
2
+ import { I as Ln, f as On } from "./chunk/CkAOsst1.js";
3
3
  import Bn from "lodash/debounce";
4
- import se from "lodash/isArray";
5
- import Oe from "lodash/isNumber";
4
+ import re from "lodash/isArray";
5
+ import Le from "lodash/isNumber";
6
6
  import q from "lodash/isPlainObject";
7
7
  import Kn from "lodash/throttle";
8
- import _e, { useRef as me, useEffect as nt, useMemo as le, useCallback as tt, useState as Ne, useContext as Be, forwardRef as At, createElement as ot, createContext as Dn, useImperativeHandle as Hn } from "react";
9
- import { a as Ge } from "./chunk/xPzFRQJn.js";
8
+ import Ee, { useRef as he, useEffect as nt, useMemo as ie, useCallback as tt, useState as ge, useContext as Oe, forwardRef as At, createElement as ot, createContext as Dn, useImperativeHandle as Hn } from "react";
9
+ import { b as qe } from "./chunk/DUxWiN2U.js";
10
10
  import Mn from "./hooks/useIsomorphicLayoutEffect.js";
11
11
  import Zt from "./hooks/useMergeProps.js";
12
- import _t from "./hooks/useUpdateEffect.js";
13
- import { P as en } from "./chunk/DG7VgAhL.js";
12
+ import Et from "./hooks/useUpdateEffect.js";
13
+ import { P as en } from "./chunk/WkB0MERB.js";
14
14
  import Wn from "./Spin.js";
15
- import Z from "@unicom-cloud/utils/class-name";
15
+ import { y as J } from "./chunk/Do1aMgY3.js";
16
16
  import { on as ht, off as yt } from "./utils/dom.js";
17
17
  import zn, { pickDataAttributes as Un } from "./utils/pick.js";
18
18
  import Vn from "lodash/merge";
19
19
  import jn from "lodash/isNull";
20
- import je from "lodash/isString";
20
+ import Ve from "lodash/isString";
21
21
  import Yn from "lodash/isUndefined";
22
22
  import { V as qn } from "./chunk/CiEln_Q1.js";
23
- import Gn from "@unicom-cloud/icons/IconUiMinus";
24
- import Xn from "@unicom-cloud/icons/IconUiPlus";
25
- import { C as Ft } from "./chunk/BH5fVprw.js";
26
- import { R as ln } from "./chunk/CIc4yo9k.js";
23
+ import { I as Gn } from "./chunk/9Gh1afjL.js";
24
+ import { I as Xn } from "./chunk/B6fn5y_s.js";
25
+ import { C as Ft } from "./chunk/DJmWXheU.js";
26
+ import { R as ln } from "./chunk/BbYzi8M0.js";
27
27
  import Ct from "lodash/get";
28
28
  import gt from "lodash/isFunction";
29
29
  import Qn from "./hooks/useForceUpdate.js";
30
30
  import an from "./Tooltip.js";
31
31
  import Jn from "./utils/mergedToString.js";
32
- import Zn from "@unicom-cloud/icons/IconUiCaretDown";
33
- import eo from "@unicom-cloud/icons/IconUiCaretUp";
34
- import to from "@unicom-cloud/icons/IconUiFilter";
32
+ import { I as Zn } from "./chunk/BM6dpkeM.js";
33
+ import { I as eo } from "./chunk/bsawGxt8.js";
34
+ import { I as to } from "./chunk/fqgc8r6C.js";
35
35
  import tn from "./Button.js";
36
36
  import no from "./hooks/useMergeValue.js";
37
37
  import oo from "./Space.js";
38
38
  import ro from "./Trigger.js";
39
39
  import so from "./utils/omit.js";
40
- const Ye = "table_internal_selection_key", qe = "table_internal_expand_key";
40
+ const je = "table_internal_selection_key", Ye = "table_internal_expand_key";
41
41
  function kt(t) {
42
42
  return typeof t == "number" || typeof t == "string" ? {
43
43
  width: t
@@ -45,7 +45,7 @@ function kt(t) {
45
45
  }
46
46
  function mt(t) {
47
47
  var x;
48
- const o = me(), {
48
+ const o = he(), {
49
49
  prefixCls: r,
50
50
  columns: h,
51
51
  columnWidths: e,
@@ -69,23 +69,23 @@ function mt(t) {
69
69
  }, [d, s, r, l, a, h]);
70
70
  let w = 0;
71
71
  return /* @__PURE__ */ u("colgroup", { ref: o, children: (x = h == null ? void 0 : h.map) == null ? void 0 : x.call(h, (y, N) => {
72
- if (y.title === qe)
72
+ if (y.title === Ye)
73
73
  return /* @__PURE__ */ u(
74
74
  "col",
75
75
  {
76
76
  className: `${r}-expand-icon-col`,
77
77
  style: kt(y.width)
78
78
  },
79
- qe
79
+ Ye
80
80
  );
81
- if (y.title === Ye)
81
+ if (y.title === je)
82
82
  return /* @__PURE__ */ u(
83
83
  "col",
84
84
  {
85
85
  className: `${r}-selection-col`,
86
86
  style: kt(y.width)
87
87
  },
88
- Ye
88
+ je
89
89
  );
90
90
  let g;
91
91
  return y.width ? g = y.width : !d && e && (g = e[w]), w++, /* @__PURE__ */ u("col", { style: kt(g) }, y.key ?? N);
@@ -128,8 +128,8 @@ const nn = {
128
128
  cell: "span"
129
129
  }
130
130
  };
131
- function Ke(t) {
132
- const o = le(
131
+ function Be(t) {
132
+ const o = ie(
133
133
  () => q(t) ? Vn({}, nn, t) : nn,
134
134
  [t]
135
135
  );
@@ -173,10 +173,10 @@ function io(t) {
173
173
  expandProps: e = {},
174
174
  columns: d = [],
175
175
  childrenColumnName: l
176
- } = t, a = le(() => d || [], [d]), s = le(
176
+ } = t, a = ie(() => d || [], [d]), s = ie(
177
177
  () => on(a, l),
178
178
  [a, l]
179
- ), w = r && r.type === "checkbox" || r && !("type" in r), x = r && r.type === "radio", { width: y } = e, N = !!h, g = w || x, { getHeaderComponentOperations: k, getBodyComponentOperations: E } = Ke(o), R = le(
179
+ ), w = r && r.type === "checkbox" || r && !("type" in r), x = r && r.type === "radio", { width: y } = e, N = !!h, g = w || x, { getHeaderComponentOperations: k, getBodyComponentOperations: _ } = Be(o), R = ie(
180
180
  () => k({
181
181
  selectionNode: g ? "holder_node" : "",
182
182
  expandNode: N ? "holder_node" : ""
@@ -186,35 +186,35 @@ function io(t) {
186
186
  N,
187
187
  k
188
188
  ]
189
- ), C = le(
190
- () => E({
189
+ ), C = ie(
190
+ () => _({
191
191
  selectionNode: g ? "holder_node" : "",
192
192
  expandNode: N ? "holder_node" : ""
193
193
  }),
194
194
  [
195
195
  g,
196
196
  N,
197
- E
197
+ _
198
198
  ]
199
199
  ), m = r && r.fixed, b = r && r.columnWidth, O = tt(
200
- (D, I, _) => {
200
+ (D, I, E) => {
201
201
  const K = {}, F = [];
202
202
  D.forEach((c, L) => {
203
203
  const $ = { ...c };
204
204
  (!("key" in c) || typeof c.key > "u") && ($.key = $.dataIndex || L), L === 0 ? ($.$$isFirstColumn = !0, $.fixed === "left" && (K.fixed = $.fixed)) : $.$$isFirstColumn = !1, F.push($);
205
205
  });
206
206
  const H = N && {
207
- key: qe,
208
- title: qe,
209
- width: y,
210
- $$isOperation: !0
211
- }, Y = g && {
212
207
  key: Ye,
213
208
  title: Ye,
209
+ width: y,
210
+ $$isOperation: !0
211
+ }, j = g && {
212
+ key: je,
213
+ title: je,
214
214
  width: b,
215
215
  $$isOperation: !0
216
216
  };
217
- return m && (K.fixed = "left"), (typeof _ != "number" || _ === 0) && [...I].reverse().forEach((c, L) => {
217
+ return m && (K.fixed = "left"), (typeof E != "number" || E === 0) && [...I].reverse().forEach((c, L) => {
218
218
  if (c.node) {
219
219
  const $ = R.filter((A) => A.node).length - L - 1;
220
220
  c.name === "expandNode" ? F.unshift({
@@ -222,7 +222,7 @@ function io(t) {
222
222
  ...K,
223
223
  $$columnIndex: $
224
224
  }) : c.name === "selectionNode" ? F.unshift({
225
- ...Y,
225
+ ...j,
226
226
  ...K,
227
227
  $$columnIndex: $
228
228
  }) : F.unshift({
@@ -245,47 +245,47 @@ function io(t) {
245
245
  m,
246
246
  R
247
247
  ]
248
- ), j = le(
248
+ ), V = ie(
249
249
  () => O(s, C),
250
250
  [s, O, C]
251
- ), Q = le(
251
+ ), X = ie(
252
252
  () => cn(a, l),
253
253
  [a, l]
254
254
  );
255
- return [le(() => {
255
+ return [ie(() => {
256
256
  const D = Array.isArray(R) ? R.filter((F) => F.node).length : 0;
257
- if (Q === 1) {
258
- const F = a.map((H, Y) => ({
257
+ if (X === 1) {
258
+ const F = a.map((H, j) => ({
259
259
  ...H,
260
- $$columnIndex: Y + D
260
+ $$columnIndex: j + D
261
261
  }));
262
262
  return [O(F, R, 0)];
263
263
  }
264
264
  let I = D;
265
- const _ = [], K = (F, H = 0) => {
266
- _[H] = _[H] || [], F.forEach((Y) => {
267
- const c = { ...Y };
265
+ const E = [], K = (F, H = 0) => {
266
+ E[H] = E[H] || [], F.forEach((j) => {
267
+ const c = { ...j };
268
268
  c[l] ? (c.colSpan = on(
269
- Y[l],
269
+ j[l],
270
270
  l
271
- ).length, c.$$columnIndex = [I], _[H].push(c), K(c[l], H + 1), c.$$columnIndex.push(I - 1)) : (c.rowSpan = Q - H, c.$$columnIndex = I++, _[H].push(c));
272
- }), _[H] = O(
273
- _[H],
271
+ ).length, c.$$columnIndex = [I], E[H].push(c), K(c[l], H + 1), c.$$columnIndex.push(I - 1)) : (c.rowSpan = X - H, c.$$columnIndex = I++, E[H].push(c));
272
+ }), E[H] = O(
273
+ E[H],
274
274
  R,
275
275
  H
276
276
  );
277
277
  };
278
- return K(a), _;
278
+ return K(a), E;
279
279
  }, [
280
280
  a,
281
281
  l,
282
- Q,
282
+ X,
283
283
  O,
284
284
  R
285
- ]), j];
285
+ ]), V];
286
286
  }
287
287
  function vt(t) {
288
- return Oe(t) ? t : je(t) && t.includes("px") ? +t.replace("px", "") : t;
288
+ return Le(t) ? t : Ve(t) && t.includes("px") ? +t.replace("px", "") : t;
289
289
  }
290
290
  function lo(t) {
291
291
  return t ? t.offsetHeight - t.clientHeight : 0;
@@ -293,8 +293,8 @@ function lo(t) {
293
293
  function ao(t) {
294
294
  return t ? t.offsetWidth - t.clientWidth : 0;
295
295
  }
296
- function Et(t, o) {
297
- return se(t[o]) && t[o].length;
296
+ function _t(t, o) {
297
+ return re(t[o]) && t[o].length;
298
298
  }
299
299
  function co(t, o) {
300
300
  function r(h) {
@@ -308,19 +308,19 @@ function co(t, o) {
308
308
  const l = { ...d };
309
309
  l.__ORIGIN_DATA = d;
310
310
  const a = l[o];
311
- q(l) && a && se(a) && (l[o] = r(a)), e.push(l);
311
+ q(l) && a && re(a) && (l[o] = r(a)), e.push(l);
312
312
  }
313
313
  }), e;
314
314
  }
315
315
  return r(t);
316
316
  }
317
317
  function te(t) {
318
- return q(t) ? t.__ORIGIN_DATA : !t || !se(t) ? t : t.map((o) => !q(o) || !("__ORIGIN_DATA" in o) ? o : o.__ORIGIN_DATA);
318
+ return q(t) ? t.__ORIGIN_DATA : !t || !re(t) ? t : t.map((o) => !q(o) || !("__ORIGIN_DATA" in o) ? o : o.__ORIGIN_DATA);
319
319
  }
320
320
  function fo(t, o, r = [], h = [], e, d, l) {
321
321
  const a = new Set(r), s = new Set(h);
322
322
  function w(x) {
323
- o ? (a.add(e(x)), s.delete(e(x))) : a.delete(e(x)), se(x[d]) && x[d].forEach((y) => {
323
+ o ? (a.add(e(x)), s.delete(e(x))) : a.delete(e(x)), re(x[d]) && x[d].forEach((y) => {
324
324
  w(y);
325
325
  });
326
326
  }
@@ -343,7 +343,7 @@ function uo(t, o = [], r, h, e) {
343
343
  };
344
344
  const d = new Set(o), l = /* @__PURE__ */ new Set([]);
345
345
  function a(s) {
346
- d.add(r(s)), l.delete(r(s)), se(s[h]) && s[h].forEach((w) => {
346
+ d.add(r(s)), l.delete(r(s)), re(s[h]) && s[h].forEach((w) => {
347
347
  a(w);
348
348
  });
349
349
  }
@@ -364,7 +364,7 @@ function uo(t, o = [], r, h, e) {
364
364
  function Lt(t, o, r, h, e) {
365
365
  if (t.__INTERNAL_PARENT) {
366
366
  const d = h(t.__INTERNAL_PARENT);
367
- if (se(t.__INTERNAL_PARENT[e])) {
367
+ if (re(t.__INTERNAL_PARENT[e])) {
368
368
  const l = t.__INTERNAL_PARENT[e].length;
369
369
  let a = 0, s = !1;
370
370
  t.__INTERNAL_PARENT[e].forEach((w) => {
@@ -396,21 +396,21 @@ function po(t, o, r) {
396
396
  onExpandedRowsChange: a,
397
397
  childrenColumnName: s = "children",
398
398
  expandProps: w
399
- } = t, [x, y] = Ne(
399
+ } = t, [x, y] = ge(
400
400
  g()
401
401
  ), N = t.expandedRowKeys || x;
402
402
  function g() {
403
403
  let R = [];
404
404
  return t.expandedRowKeys ? R = t.expandedRowKeys : h ? R = h : e && (R = o.map((C, m) => {
405
405
  const b = te(C);
406
- return w && "rowExpandable" in w && typeof w.rowExpandable == "function" ? w.rowExpandable(b) && r(C) : typeof d == "function" ? d(b, m) && r(C) : Et(C, s) && r(C);
406
+ return w && "rowExpandable" in w && typeof w.rowExpandable == "function" ? w.rowExpandable(b) && r(C) : typeof d == "function" ? d(b, m) && r(C) : _t(C, s) && r(C);
407
407
  }).filter((C) => C)), R;
408
408
  }
409
409
  function k(R) {
410
410
  const C = N.indexOf(R) === -1, m = C ? N.concat(R) : N.filter((O) => R !== O), b = o.filter((O) => m.indexOf(r(O)) !== -1).map((O) => r(O));
411
- y(b), E(R, C), a == null || a(b);
411
+ y(b), _(R, C), a == null || a(b);
412
412
  }
413
- function E(R, C) {
413
+ function _(R, C) {
414
414
  l == null || l(
415
415
  te(o.find((m) => r(m) === R)),
416
416
  C
@@ -425,17 +425,17 @@ function ho(t, o, r, h) {
425
425
  const { rowSelection: e, childrenColumnName: d } = t, l = e == null ? void 0 : e.selectedRowKeys, a = e == null ? void 0 : e.onSelectAll, s = e == null ? void 0 : e.onSelect, w = e == null ? void 0 : e.onChange, x = e == null ? void 0 : e.pureKeys, y = typeof (e == null ? void 0 : e.checkStrictly) == "boolean" ? !e.checkStrictly : !1, N = e == null ? void 0 : e.preserveSelectedRowKeys;
426
426
  function g() {
427
427
  const c = [], L = [], $ = (T) => {
428
- se(T) && T.length && T.forEach((f) => {
428
+ re(T) && T.length && T.forEach((f) => {
429
429
  const v = h(f);
430
- (e && typeof e.checkboxProps == "function" ? e.checkboxProps(te(f)) : {}).disabled || c.push(v), Et(f, t.childrenColumnName) && $(f[t.childrenColumnName]);
430
+ (e && typeof e.checkboxProps == "function" ? e.checkboxProps(te(f)) : {}).disabled || c.push(v), _t(f, t.childrenColumnName) && $(f[t.childrenColumnName]);
431
431
  });
432
432
  };
433
433
  $(o);
434
434
  const A = (T, f) => {
435
- se(T) && T.length && T.forEach((v) => {
436
- if (f && y && (v.__INTERNAL_PARENT = f), L.push(v), Et(v, t.childrenColumnName)) {
437
- const ee = { ...v };
438
- A(v[t.childrenColumnName], ee);
435
+ re(T) && T.length && T.forEach((v) => {
436
+ if (f && y && (v.__INTERNAL_PARENT = f), L.push(v), _t(v, t.childrenColumnName)) {
437
+ const Z = { ...v };
438
+ A(v[t.childrenColumnName], Z);
439
439
  }
440
440
  });
441
441
  };
@@ -444,33 +444,33 @@ function ho(t, o, r, h) {
444
444
  flattenData: L
445
445
  };
446
446
  }
447
- const { allSelectedRowKeys: k, flattenData: E } = g(), [R, C] = Ne([]), [m, b] = Ne([]), O = uo(
448
- E,
447
+ const { allSelectedRowKeys: k, flattenData: _ } = g(), [R, C] = ge([]), [m, b] = ge([]), O = uo(
448
+ _,
449
449
  rn(l || R),
450
450
  h,
451
451
  d,
452
452
  y
453
- ), j = y && !l ? R : O.selectedRowKeys, Q = y && !l ? m : O.indeterminateKeys, [z, D] = Ne(
454
- x ? [] : I(j)
453
+ ), V = y && !l ? R : O.selectedRowKeys, X = y && !l ? m : O.indeterminateKeys, [z, D] = ge(
454
+ x ? [] : I(V)
455
455
  );
456
456
  function I(c, L) {
457
- const $ = L ? z.concat(E) : E, A = new Map($.map((T) => [h(T), T]));
457
+ const $ = L ? z.concat(_) : _, A = new Map($.map((T) => [h(T), T]));
458
458
  return c.map((T) => A.get(T)).filter((T) => T);
459
459
  }
460
- const _ = new Set(E.map((c) => h(c)));
460
+ const E = new Set(_.map((c) => h(c)));
461
461
  function K(c) {
462
- return N ? c : c.filter((L) => _.has(L));
462
+ return N ? c : c.filter((L) => E.has(L));
463
463
  }
464
464
  function F(c) {
465
465
  let L = [], $ = [];
466
466
  if (c)
467
467
  L = K(
468
- rn(j.concat(k))
468
+ rn(V.concat(k))
469
469
  );
470
470
  else {
471
471
  const T = new Set(k);
472
472
  L = K(
473
- j.filter((f) => !T.has(f))
473
+ V.filter((f) => !T.has(f))
474
474
  );
475
475
  }
476
476
  x || ($ = I(L, !0));
@@ -481,7 +481,7 @@ function ho(t, o, r, h) {
481
481
  const { selectedRowKeys: $, indeterminateKeys: A } = fo(
482
482
  L,
483
483
  c,
484
- j,
484
+ V,
485
485
  m,
486
486
  h,
487
487
  d,
@@ -489,41 +489,41 @@ function ho(t, o, r, h) {
489
489
  ), T = K($), f = I(T, !0), v = te(f);
490
490
  C(T), D(f), b(A), s == null || s(c, te(L), v), w == null || w(T, v);
491
491
  }
492
- function Y(c, L) {
493
- const $ = [E.find((T) => h(T) === c)], A = te($);
492
+ function j(c, L) {
493
+ const $ = [_.find((T) => h(T) === c)], A = te($);
494
494
  C([c]), s == null || s(!0, te(L), A), w == null || w([c], A);
495
495
  }
496
496
  return {
497
- selectedRowKeys: j,
498
- indeterminateKeys: Q,
497
+ selectedRowKeys: V,
498
+ indeterminateKeys: X,
499
499
  onCheckAll: F,
500
500
  onCheck: H,
501
- onCheckRadio: Y,
501
+ onCheckRadio: j,
502
502
  setSelectedRowKeys: C,
503
503
  allSelectedRowKeys: k,
504
- flattenData: E
504
+ flattenData: _
505
505
  };
506
506
  }
507
507
  function yo(t, o) {
508
- const [r, h] = Ne(o), [e, d] = Ne({}), l = me(t), a = tt(
508
+ const [r, h] = ge(o), [e, d] = ge({}), l = he(t), a = tt(
509
509
  (x) => {
510
510
  const { field: y, direction: N } = x;
511
511
  return r.find((g) => g.field === y) ? N ? r.map(
512
512
  (g) => g.field === y ? x : g
513
- ) : r.filter((g) => g.field !== y) : N ? !Oe(x.priority) || r.find((g) => !Oe(g.priority)) ? [x] : [...r, x] : [...r];
513
+ ) : r.filter((g) => g.field !== y) : N ? !Le(x.priority) || r.find((g) => !Le(g.priority)) ? [x] : [...r, x] : [...r];
514
514
  },
515
515
  [r]
516
516
  ), s = tt((x) => {
517
517
  const y = x.filter((g) => "sortOrder" in g);
518
518
  let N = [];
519
519
  return y.forEach((g) => {
520
- const k = Pt(g.sorter), E = g.sortOrder, R = {
520
+ const k = Pt(g.sorter), _ = g.sortOrder, R = {
521
521
  field: g.dataIndex || g.key,
522
- direction: E,
522
+ direction: _,
523
523
  sorterFn: It(g.sorter),
524
524
  priority: k
525
525
  };
526
- E ? Oe(k) ? N.every((C) => Oe(C.priority) || !C.direction) && N.push(R) : N.every((C) => !C.direction) ? N.push(R) : N = [R] : N.push(R);
526
+ _ ? Le(k) ? N.every((C) => Le(C.priority) || !C.direction) && N.push(R) : N.every((C) => !C.direction) ? N.push(R) : N = [R] : N.push(R);
527
527
  }), N;
528
528
  }, []), w = tt(
529
529
  (x, y) => {
@@ -531,12 +531,12 @@ function yo(t, o) {
531
531
  },
532
532
  [t, s, h, d]
533
533
  );
534
- return _t(() => {
534
+ return Et(() => {
535
535
  const x = l.current, y = s(x), N = s(t), g = y.map(
536
- (E) => E.field
537
- ), k = N.filter((E) => y.find(
538
- ({ field: C, direction: m }) => E.field === C && E.direction !== m
539
- ) ? !0 : !g.includes(E.field));
536
+ (_) => _.field
537
+ ), k = N.filter((_) => y.find(
538
+ ({ field: C, direction: m }) => _.field === C && _.direction !== m
539
+ ) ? !0 : !g.includes(_.field));
540
540
  k && k.length && (h(N), d({})), l.current = t;
541
541
  }, [
542
542
  t,
@@ -554,17 +554,17 @@ function yo(t, o) {
554
554
  function mo(t, o, r) {
555
555
  const h = o.map((a) => a.fixed);
556
556
  function e(a, s) {
557
- return Z({
557
+ return J({
558
558
  [`${r}-col-fixed-left`]: a.fixed === "left",
559
559
  [`${r}-col-fixed-right`]: a.fixed === "right",
560
560
  [`${r}-col-fixed-left-last`]: a.fixed === "left" && (q(o[s + 1]) ? o[s + 1].fixed !== "left" : !0),
561
561
  [`${r}-col-fixed-right-first`]: a.fixed === "right" && (q(o[s - 1]) ? o[s - 1].fixed !== "right" : !0)
562
562
  });
563
563
  }
564
- const d = le(() => o.map(
564
+ const d = ie(() => o.map(
565
565
  (a, s) => e(a, s)
566
566
  ), [h.join("-")]);
567
- return [le(
567
+ return [ie(
568
568
  () => t.map((a) => a.map((s, w) => {
569
569
  let x = w;
570
570
  const y = s.$$columnIndex;
@@ -577,7 +577,7 @@ function mo(t, o, r) {
577
577
  }
578
578
  function xo(t) {
579
579
  const o = t.map((e) => vt(e.width)), r = t.map((e) => e.fixed);
580
- return le(() => t.map((e) => {
580
+ return ie(() => t.map((e) => {
581
581
  let d = 0;
582
582
  return e.fixed === "left" && t.some((l) => {
583
583
  if (l.fixed === "left") {
@@ -601,10 +601,10 @@ function xo(t) {
601
601
  }), [o.join("-"), r.join("-")]);
602
602
  }
603
603
  function go(t) {
604
- return t && !_e.isValidElement(t) && q(t);
604
+ return t && !Ee.isValidElement(t) && q(t);
605
605
  }
606
606
  function Co(t) {
607
- var pe, ie, ae, xe, U, be, he;
607
+ var ue;
608
608
  const o = Qn(), {
609
609
  component: r,
610
610
  InnerComponentTd: h,
@@ -619,12 +619,12 @@ function Co(t) {
619
619
  trIndex: N,
620
620
  level: g,
621
621
  placeholder: k = "-",
622
- indentSize: E,
622
+ indentSize: _,
623
623
  renderExpandIcon: R,
624
624
  rowKey: C,
625
625
  recordHaveChildren: m,
626
626
  haveTreeData: b
627
- } = t, { rtl: O } = Be(Ge), { ComponentBodyCell: j } = Ke(r), Q = me(null), z = me(null), D = me(null), I = me(null), _ = (e == null ? void 0 : e.showTooltip) !== !1 && (e == null ? void 0 : e.ellipsis), K = Z(
627
+ } = t, { rtl: O } = Oe(qe), { ComponentBodyCell: V } = Be(r), X = he(null), z = he(null), D = he(null), I = he(null), E = (e == null ? void 0 : e.showTooltip) !== !1 && (e == null ? void 0 : e.ellipsis), K = J(
628
628
  `${l}-td`,
629
629
  a,
630
630
  {
@@ -632,7 +632,7 @@ function Co(t) {
632
632
  },
633
633
  e == null ? void 0 : e.className
634
634
  );
635
- let F = {}, H, Y, c = {};
635
+ let F = {}, H, j, c = {};
636
636
  (e == null ? void 0 : e.fixed) === "left" && (c[O ? "right" : "left"] = s), (e == null ? void 0 : e.fixed) === "right" && (c[O ? "left" : "right"] = s), q(e == null ? void 0 : e.cellStyle) && (c = {
637
637
  ...c,
638
638
  ...e == null ? void 0 : e.cellStyle
@@ -641,7 +641,7 @@ function Co(t) {
641
641
  ...e == null ? void 0 : e.bodyCellStyle
642
642
  }), gt(e == null ? void 0 : e.bodyCellStyle) && (c = {
643
643
  ...c,
644
- ...((pe = e == null ? void 0 : e.bodyCellStyle) == null ? void 0 : pe.call(e, y, N)) ?? {}
644
+ ...((ue = e == null ? void 0 : e.bodyCellStyle) == null ? void 0 : ue.call(e, y, N)) ?? {}
645
645
  }), e != null && e.align && (c.textAlign = e == null ? void 0 : e.align), x && e.width && (c.width = e.width, c.minWidth = e.width, c.maxWidth = e.width);
646
646
  const { onHandleSave: L, ...$ } = e != null && e.onCell ? (e == null ? void 0 : e.onCell(
647
647
  y,
@@ -650,7 +650,7 @@ function Co(t) {
650
650
  { rowKey: C }
651
651
  )) ?? {} : { onHandleSave: () => {
652
652
  } }, A = e == null ? void 0 : e.render;
653
- let T = le(() => A == null ? void 0 : A(
653
+ let T = ie(() => A == null ? void 0 : A(
654
654
  Ct(y, e == null ? void 0 : e.dataIndex),
655
655
  te(y),
656
656
  N,
@@ -658,32 +658,32 @@ function Co(t) {
658
658
  // 潘启宝添加
659
659
  { rowKey: C }
660
660
  ), [y, e, N]);
661
- if (gt(A) || (T = Ct(y, (e == null ? void 0 : e.dataIndex) ?? "")), go(T) && (F = T == null ? void 0 : T.props, H = F == null ? void 0 : F.rowSpan, Y = F == null ? void 0 : F.colSpan, T = T == null ? void 0 : T.children), H === 0 || Y === 0)
661
+ if (gt(A) || (T = Ct(y, (e == null ? void 0 : e.dataIndex) ?? "")), go(T) && (F = T == null ? void 0 : T.props, H = F == null ? void 0 : F.rowSpan, j = F == null ? void 0 : F.colSpan, T = T == null ? void 0 : T.children), H === 0 || j === 0)
662
662
  return null;
663
- je(T) && (T = T.trim()), !T && T !== 0 && (T = (e == null ? void 0 : e.placeholder) ?? k ?? "-");
664
- const f = e != null && e.ellipsis && je(T) ? {
663
+ Ve(T) && (T = T.trim()), !T && T !== 0 && (T = (e == null ? void 0 : e.placeholder) ?? k ?? "-");
664
+ const f = e != null && e.ellipsis && Ve(T) ? {
665
665
  // title: cellChildren // 暂时不需要title属性了,因为单独加了tooltip组件,潘启宝2023年4月1日于广东省惠州市
666
- } : {}, v = b && (e == null ? void 0 : e.$$isFirstColumn), ee = v && m;
667
- let M = v && g > 0 ? E * g : 0;
666
+ } : {}, v = b && (e == null ? void 0 : e.$$isFirstColumn), Z = v && m;
667
+ let M = v && g > 0 ? _ * g : 0;
668
668
  v && !m && (M += 20);
669
- function fe(re) {
669
+ function de(se) {
670
670
  o();
671
671
  }
672
- const J = `${d}-${N}-${M}-${ee}`, oe = /* @__PURE__ */ u(
672
+ const Q = `${d}-${N}-${M}-${Z}`, oe = /* @__PURE__ */ u(
673
673
  "div",
674
674
  {
675
- ref: Q,
676
- className: Z(`${l}-cell`, {
675
+ ref: X,
676
+ className: J(`${l}-cell`, {
677
677
  [`${l}-cell-text-ellipsis`]: e == null ? void 0 : e.ellipsis
678
678
  }),
679
679
  ...f,
680
- onMouseEnter: _ ? fe : void 0,
681
- children: /* @__PURE__ */ de(
682
- j,
680
+ onMouseEnter: E ? de : void 0,
681
+ children: /* @__PURE__ */ ce(
682
+ V,
683
683
  {
684
684
  ref: z,
685
685
  className: `${l}-cell-wrap-value`,
686
- ...je(j) ? {} : {
686
+ ...Ve(V) ? {} : {
687
687
  rowData: te(y),
688
688
  column: e,
689
689
  onHandleSave: L,
@@ -698,7 +698,7 @@ function Co(t) {
698
698
  style: { paddingLeft: M }
699
699
  }
700
700
  ),
701
- !!ee && /* @__PURE__ */ u(
701
+ !!Z && /* @__PURE__ */ u(
702
702
  "span",
703
703
  {
704
704
  ref: I,
@@ -716,12 +716,12 @@ function Co(t) {
716
716
  ) : T
717
717
  ]
718
718
  },
719
- J
719
+ Q
720
720
  )
721
721
  },
722
- J
722
+ Q
723
723
  );
724
- let ue = /* @__PURE__ */ u(
724
+ let fe = /* @__PURE__ */ u(
725
725
  h,
726
726
  {
727
727
  className: K,
@@ -742,25 +742,25 @@ function Co(t) {
742
742
  },
743
743
  (e == null ? void 0 : e.key) || (e == null ? void 0 : e.dataIndex) || d
744
744
  );
745
- if (Q.current && z.current && _) {
746
- const re = Q.current.getBoundingClientRect().width, G = z.current.getBoundingClientRect().width, ge = ((xe = (ae = (ie = D.current) == null ? void 0 : ie.getBoundingClientRect) == null ? void 0 : ae.call(ie)) == null ? void 0 : xe.width) ?? 0, Ie = ((he = (be = (U = I.current) == null ? void 0 : U.getBoundingClientRect) == null ? void 0 : be.call(U)) == null ? void 0 : he.width) ?? 0;
747
- if (re < G + ge + Ie) {
748
- const Ce = gt(e == null ? void 0 : e.tooltipContentRender) ? e.tooltipContentRender(y, N, e) : Jn(ue);
749
- ue = /* @__PURE__ */ u(
745
+ if (E) {
746
+ let se = 0, le = 0, ye = 0, Y = 0;
747
+ if (X.current instanceof Element && (se = X.current.getBoundingClientRect().width), z.current instanceof Element && (le = z.current.getBoundingClientRect().width), D.current instanceof Element && (ye = D.current.getBoundingClientRect().width), I.current instanceof Element && (Y = I.current.getBoundingClientRect().width), se < le + ye + Y) {
748
+ const Te = gt(e == null ? void 0 : e.tooltipContentRender) ? e.tooltipContentRender(y, N, e) : Jn(fe);
749
+ fe = /* @__PURE__ */ u(
750
750
  an,
751
751
  {
752
- className: Z(`${l}-cell-tooltip`, e.tooltipClassName),
752
+ className: J(`${l}-cell-tooltip`, e.tooltipClassName),
753
753
  style: e.tooltipStyle,
754
- content: Ce,
755
- children: ue
754
+ content: Te,
755
+ children: fe
756
756
  }
757
757
  );
758
758
  }
759
759
  }
760
760
  return nt(() => (o(), () => {
761
- }), [Q.current, z.current]), ue;
761
+ }), [X.current, z.current]), fe;
762
762
  }
763
- const wo = _e.memo(Co);
763
+ const wo = Ee.memo(Co);
764
764
  function No(t, o) {
765
765
  const {
766
766
  expandedRowRender: r,
@@ -776,67 +776,67 @@ function No(t, o) {
776
776
  onRow: N,
777
777
  rowSelection: g,
778
778
  indentSize: k = 16,
779
- activeSorters: E,
779
+ activeSorters: _,
780
780
  virtualized: R,
781
781
  stickyOffsets: C,
782
782
  stickyClassNames: m,
783
783
  getRowKey: b,
784
784
  placeholder: O,
785
- expandProps: j = { strictTreeData: !0 },
786
- data: Q,
785
+ expandProps: V = { strictTreeData: !0 },
786
+ data: X,
787
787
  expandedRowKeys: z,
788
788
  childrenColumnName: D,
789
789
  record: I,
790
- index: _,
790
+ index: E,
791
791
  type: K,
792
792
  shouldRowExpand: F,
793
793
  level: H
794
- } = t, { rtl: Y } = Be(Ge), c = te(I), { ...L } = (N == null ? void 0 : N(c, _)) || {}, $ = b(I), A = K === "radio" ? w.slice(0, 1) : w, T = $ || _, f = A.indexOf($) > -1, v = z.indexOf($) > -1, ee = x.indexOf($) > -1, M = Z(
794
+ } = t, { rtl: j } = Oe(qe), c = te(I), { ...L } = (N == null ? void 0 : N(c, E)) || {}, $ = b(I), A = K === "radio" ? w.slice(0, 1) : w, T = $ || E, f = A.indexOf($) > -1, v = z.indexOf($) > -1, Z = x.indexOf($) > -1, M = J(
795
795
  `${s}-tr`,
796
796
  {
797
797
  [`${s}-row-checked`]: f,
798
798
  [`${s}-row-expanded`]: v
799
799
  },
800
- y == null ? void 0 : y(c, _)
801
- ), fe = g && typeof g.checkboxProps == "function" ? g.checkboxProps(c) : {}, J = Z(`${s}-td`, `${s}-operation`), oe = (P) => Z(J, `${s}-${P}`, {
800
+ y == null ? void 0 : y(c, E)
801
+ ), de = g && typeof g.checkboxProps == "function" ? g.checkboxProps(c) : {}, Q = J(`${s}-td`, `${s}-operation`), oe = (P) => J(Q, `${s}-${P}`, {
802
802
  [`${s}-selection-col`]: R && K === "checkbox" || K === "radio",
803
803
  [`${s}-expand-icon-col`]: R && r
804
804
  });
805
- function ue(P) {
806
- return j.strictTreeData ? se(P[D]) && P[D].length : P[D] !== void 0;
805
+ function fe(P) {
806
+ return V.strictTreeData ? re(P[D]) && P[D].length : P[D] !== void 0;
807
807
  }
808
- function pe() {
809
- return Q.find((P) => ue(P));
808
+ function ue() {
809
+ return X.find((P) => fe(P));
810
810
  }
811
- const ie = F(I, _), ae = ue(I), xe = pe() && !r, U = xe && ae, he = j.expandRowByClick && (ie || U) ? {
811
+ const se = F(I, E), le = fe(I), ye = ue() && !r, Y = ye && le, Ce = V.expandRowByClick && (se || Y) ? {
812
812
  onClick: (P) => {
813
- var we;
814
- h($), (we = L == null ? void 0 : L.onClick) == null || we.call(L, P);
813
+ var xe;
814
+ h($), (xe = L == null ? void 0 : L.onClick) == null || xe.call(L, P);
815
815
  }
816
- } : {}, { ComponentBodyRow: re, ComponentTd: G, getBodyComponentOperations: ge } = Ke(d), Ie = R ? "div" : re, Ce = R ? "div" : G, Ee = {
816
+ } : {}, { ComponentBodyRow: me, ComponentTd: ee, getBodyComponentOperations: we } = Be(d), Ge = R ? "div" : me, $e = R ? "div" : ee, _e = {
817
817
  className: M,
818
818
  key: T,
819
819
  ...L,
820
- ...he
821
- }, Pe = je(re) ? Ee : { ...Ee, record: I, index: _ };
822
- function De(P, we) {
823
- const { icon: Ae } = j, Re = !!~z.indexOf(we), Fe = {
824
- onClick: (Me) => {
825
- Me.stopPropagation(), h(we);
820
+ ...Ce
821
+ }, Ie = Ve(me) ? _e : { ..._e, record: I, index: E };
822
+ function Ke(P, xe) {
823
+ const { icon: Pe } = V, Se = !!~z.indexOf(xe), Ae = {
824
+ onClick: (He) => {
825
+ He.stopPropagation(), h(xe);
826
826
  }
827
827
  };
828
- return typeof Ae == "function" ? Ae({ expanded: Re, record: P, ...Fe }) : /* @__PURE__ */ u("button", { ...Fe, type: "button", children: Re ? /* @__PURE__ */ u(Gn, {}) : /* @__PURE__ */ u(Xn, {}) });
828
+ return typeof Pe == "function" ? Pe({ expanded: Se, record: P, ...Ae }) : /* @__PURE__ */ u("button", { ...Ae, type: "button", children: Se ? /* @__PURE__ */ u(Gn, {}) : /* @__PURE__ */ u(Xn, {}) });
829
829
  }
830
- const He = r && /* @__PURE__ */ u(Ce, { className: oe("expand-icon-cell"), children: ie && De(I, $) }), ke = g && g.renderCell;
830
+ const De = r && /* @__PURE__ */ u($e, { className: oe("expand-icon-cell"), children: se && Ke(I, $) }), ke = g && g.renderCell;
831
831
  let W;
832
- const ce = /* @__PURE__ */ u(
832
+ const ae = /* @__PURE__ */ u(
833
833
  Ft,
834
834
  {
835
835
  value: $,
836
836
  onChange: (P) => l(P, I),
837
837
  checked: f,
838
- indeterminate: ee,
839
- ...fe
838
+ indeterminate: Z,
839
+ ...de
840
840
  }
841
841
  ), ne = /* @__PURE__ */ u(
842
842
  ln,
@@ -844,33 +844,33 @@ function No(t, o) {
844
844
  onChange: () => a($, I),
845
845
  value: $,
846
846
  checked: f,
847
- ...fe
847
+ ...de
848
848
  }
849
849
  );
850
- K === "checkbox" && (W = /* @__PURE__ */ u(Ce, { className: oe("checkbox"), children: ke ? ke(ce, f, c) : ce })), K === "radio" && (W = /* @__PURE__ */ u(Ce, { className: oe("radio"), children: ke ? ke(ne, f, c) : ne }));
851
- const Se = ge({
850
+ K === "checkbox" && (W = /* @__PURE__ */ u($e, { className: oe("checkbox"), children: ke ? ke(ae, f, c) : ae })), K === "radio" && (W = /* @__PURE__ */ u($e, { className: oe("radio"), children: ke ? ke(ne, f, c) : ne }));
851
+ const be = we({
852
852
  selectionNode: W,
853
- expandNode: He
853
+ expandNode: De
854
854
  });
855
- return /* @__PURE__ */ ot(Ie, { ...Pe, key: Pe.key, ref: o }, e.map((P, we) => {
856
- var Me, We, rt, Le;
857
- const Ae = `${P.key}-${P.dataIndex}-${P.title}-${we}`, Re = C[we], Fe = m[we];
855
+ return /* @__PURE__ */ ot(Ge, { ...Ie, key: Ie.key, ref: o }, e.map((P, xe) => {
856
+ var He, Me, rt, Fe;
857
+ const Pe = `${P.key}-${P.dataIndex}-${P.title}-${xe}`, Se = C[xe], Ae = m[xe];
858
858
  if (P.$$isOperation) {
859
- let ye = P.node, Xe = !0;
860
- P.title === Ye && (ye = (Me = Se.find((Qe) => Qe.name === "selectionNode")) == null ? void 0 : Me.node, Xe = !1), P.title === qe && (ye = (We = Se.find((Qe) => Qe.name === "expandNode")) == null ? void 0 : We.node, Xe = !1);
861
- const Te = typeof ye == "function" ? ye(I) : ye;
862
- return _e.cloneElement(Te, {
863
- key: Ae || we,
864
- ...Te.props,
865
- className: Z(
866
- Xe ? J : "",
867
- (rt = Te == null ? void 0 : Te.props) == null ? void 0 : rt.className,
868
- Fe
859
+ let pe = P.node, Xe = !0;
860
+ P.title === je && (pe = (He = be.find((Qe) => Qe.name === "selectionNode")) == null ? void 0 : He.node, Xe = !1), P.title === Ye && (pe = (Me = be.find((Qe) => Qe.name === "expandNode")) == null ? void 0 : Me.node, Xe = !1);
861
+ const Re = typeof pe == "function" ? pe(I) : pe;
862
+ return Ee.cloneElement(Re, {
863
+ key: Pe || xe,
864
+ ...Re.props,
865
+ className: J(
866
+ Xe ? Q : "",
867
+ (rt = Re == null ? void 0 : Re.props) == null ? void 0 : rt.className,
868
+ Ae
869
869
  ),
870
870
  style: {
871
- ...(Le = Te == null ? void 0 : Te.props) == null ? void 0 : Le.style,
871
+ ...(Fe = Re == null ? void 0 : Re.props) == null ? void 0 : Fe.style,
872
872
  ...P.fixed === "left" ? {
873
- [Y ? "right" : "left"]: Re
873
+ [j ? "right" : "left"]: Se
874
874
  } : {},
875
875
  width: P.width,
876
876
  minWidth: P.width
@@ -883,26 +883,26 @@ function No(t, o) {
883
883
  prefixCls: s,
884
884
  virtualized: R,
885
885
  component: d,
886
- currentSorter: E.find(
887
- (ye) => ye.field === (P.dataIndex || P.key)
886
+ currentSorter: _.find(
887
+ (pe) => pe.field === (P.dataIndex || P.key)
888
888
  ),
889
889
  placeholder: O,
890
890
  indentSize: k,
891
- stickyClassName: Fe,
892
- stickyOffset: Re,
893
- InnerComponentTd: Ce,
891
+ stickyClassName: Ae,
892
+ stickyOffset: Se,
893
+ InnerComponentTd: $e,
894
894
  column: P,
895
- columnIndex: we,
895
+ columnIndex: xe,
896
896
  record: I,
897
- trIndex: _,
897
+ trIndex: E,
898
898
  level: H,
899
- haveTreeData: xe,
900
- recordHaveChildren: ae,
899
+ haveTreeData: ye,
900
+ recordHaveChildren: le,
901
901
  rowKey: $,
902
- renderExpandIcon: De,
902
+ renderExpandIcon: Ke,
903
903
  ___dangerouslySetInnerHTML___: t.___dangerouslySetInnerHTML___
904
904
  },
905
- Ae
905
+ Pe
906
906
  );
907
907
  }));
908
908
  }
@@ -922,12 +922,12 @@ const sn = At(No), $o = At(function({
922
922
  hasFixedColumn: N,
923
923
  tableViewWidth: g,
924
924
  getRowKey: k,
925
- expandedRowKeys: E,
925
+ expandedRowKeys: _,
926
926
  expandedRowRender: R
927
927
  } = e;
928
928
  let C;
929
929
  y && "type" in y ? C = y.type : y && !("type" in y) && (C = "checkbox");
930
- const m = R && ((_, K) => R(te(_), K)), b = (_) => se(_[w]) && _[w].length, O = (_, K) => "rowExpandable" in x && typeof x.rowExpandable == "function" ? x.rowExpandable(_) : (m == null ? void 0 : m(_, K)) !== null, j = (_, K) => {
930
+ const m = R && ((E, K) => R(te(E), K)), b = (E) => re(E[w]) && E[w].length, O = (E, K) => "rowExpandable" in x && typeof x.rowExpandable == "function" ? x.rowExpandable(E) : (m == null ? void 0 : m(E, K)) !== null, V = (E, K) => {
931
931
  const F = [], H = {
932
932
  ...e,
933
933
  type: C,
@@ -939,16 +939,16 @@ const sn = At(No), $o = At(function({
939
939
  {
940
940
  ref: d,
941
941
  ...H,
942
- record: _,
942
+ record: E,
943
943
  level: 0,
944
944
  index: K
945
945
  },
946
- k(_)
946
+ k(E)
947
947
  )
948
948
  );
949
- const Y = (c, L, $ = 0) => {
950
- se(c) && c.length && c.forEach((A, T) => {
951
- E.indexOf(L) !== -1 && (F.push(
949
+ const j = (c, L, $ = 0) => {
950
+ re(c) && c.length && c.forEach((A, T) => {
951
+ _.indexOf(L) !== -1 && (F.push(
952
952
  /* @__PURE__ */ ot(
953
953
  sn,
954
954
  {
@@ -959,21 +959,21 @@ const sn = At(No), $o = At(function({
959
959
  index: T
960
960
  }
961
961
  )
962
- ), b(A) && Y(A[w], k(A), $ + 1));
962
+ ), b(A) && j(A[w], k(A), $ + 1));
963
963
  });
964
964
  };
965
- return m || Y(_[w], k(_)), F;
966
- }, Q = k(o), z = O(o, r) && E.indexOf(Q) !== -1, D = h ? "div" : "tr", I = h ? "div" : "td";
967
- return /* @__PURE__ */ de(_e.Fragment, { children: [
968
- j(o, r),
965
+ return m || j(E[w], k(E)), F;
966
+ }, X = k(o), z = O(o, r) && _.indexOf(X) !== -1, D = h ? "div" : "tr", I = h ? "div" : "td";
967
+ return /* @__PURE__ */ ce(Ee.Fragment, { children: [
968
+ V(o, r),
969
969
  z && /* @__PURE__ */ u(
970
970
  D,
971
971
  {
972
- className: Z(`${l}-tr`, `${l}-expand-content`),
972
+ className: J(`${l}-tr`, `${l}-expand-content`),
973
973
  children: /* @__PURE__ */ u(
974
974
  I,
975
975
  {
976
- className: Z(`${l}-td`),
976
+ className: J(`${l}-td`),
977
977
  style: { paddingLeft: s },
978
978
  colSpan: a.length,
979
979
  children: N ? /* @__PURE__ */ u(
@@ -987,9 +987,9 @@ const sn = At(No), $o = At(function({
987
987
  }
988
988
  )
989
989
  },
990
- `${Q}-expanded`
990
+ `${X}-expanded`
991
991
  )
992
- ] }, Q);
992
+ ] }, X);
993
993
  });
994
994
  function bo(t) {
995
995
  const {
@@ -1007,19 +1007,19 @@ function bo(t) {
1007
1007
  } = t, N = (b) => {
1008
1008
  var O;
1009
1009
  (O = t.saveRef) == null || O.call(t, b);
1010
- }, { ComponentTbody: g } = Ke(e);
1011
- let k = {}, E = {};
1010
+ }, { ComponentTbody: g } = Be(e);
1011
+ let k = {}, _ = {};
1012
1012
  l && (l.x && (typeof l.x == "number" || typeof l.x == "string") && (k = {
1013
1013
  width: l.x
1014
- }), l.y && (typeof l.y == "number" || typeof l.y == "string") && (E = {
1014
+ }), l.y && (typeof l.y == "number" || typeof l.y == "string") && (_ = {
1015
1015
  maxHeight: l.y
1016
1016
  }));
1017
1017
  const R = {
1018
1018
  className: `${h}-no-data`
1019
1019
  };
1020
1020
  a && (R.className = `${h}-no-data ${h}-expand-fixed-row`, R.style = { width: a });
1021
- const C = /* @__PURE__ */ u("tr", { className: Z(`${h}-tr`, `${h}-empty-row`), children: /* @__PURE__ */ u("td", { className: `${h}-td`, colSpan: r.length, children: /* @__PURE__ */ u("div", { ...R, children: d }) }) }), m = (b, O) => {
1022
- const j = x(b) || O;
1021
+ const C = /* @__PURE__ */ u("tr", { className: J(`${h}-tr`, `${h}-empty-row`), children: /* @__PURE__ */ u("td", { className: `${h}-td`, colSpan: r.length, children: /* @__PURE__ */ u("div", { ...R, children: d }) }) }), m = (b, O) => {
1022
+ const V = x(b) || O;
1023
1023
  return /* @__PURE__ */ u(
1024
1024
  $o,
1025
1025
  {
@@ -1028,14 +1028,14 @@ function bo(t) {
1028
1028
  virtualized: s,
1029
1029
  tbodyProps: t
1030
1030
  },
1031
- j
1031
+ V
1032
1032
  );
1033
1033
  };
1034
1034
  return s ? o.length > 0 ? /* @__PURE__ */ u(
1035
1035
  qn,
1036
1036
  {
1037
1037
  data: o,
1038
- height: E.maxHeight,
1038
+ height: _.maxHeight,
1039
1039
  isStaticItemHeight: !1,
1040
1040
  outerStyle: { ...k, minWidth: "100%", overflow: "visible" },
1041
1041
  innerStyle: { right: "auto", minWidth: "100%" },
@@ -1080,56 +1080,56 @@ function ko({
1080
1080
  columnFixedStyle: N,
1081
1081
  className: g,
1082
1082
  cellStyle: k,
1083
- headerCellStyle: E,
1083
+ headerCellStyle: _,
1084
1084
  rowSpan: R,
1085
1085
  colSpan: C,
1086
1086
  headerCellProps: m,
1087
1087
  prefixCls: b,
1088
1088
  align: O = "left",
1089
- component: j,
1090
- filterIcon: Q,
1089
+ component: V,
1090
+ filterIcon: X,
1091
1091
  filterDropdown: z,
1092
1092
  filterMultiple: D = !0,
1093
1093
  ellipsis: I,
1094
- filterDropdownProps: _,
1094
+ filterDropdownProps: E,
1095
1095
  onFilterDropdownVisibleChange: K,
1096
1096
  column: F,
1097
1097
  showSorterTooltip: H,
1098
- index: Y
1098
+ index: j
1099
1099
  }) {
1100
- const { locale: c, rtl: L } = Be(Ge), $ = l || a || Y, [A, T, f] = no([], {
1100
+ const { locale: c, rtl: L } = Oe(qe), $ = l || a || j, [A, T, f] = no([], {
1101
1101
  value: e[$] || []
1102
- }), [v, ee] = Ne(!1), [M, fe] = Ne(!1), J = w && se(x) && x.length, oe = J ? ue() : void 0;
1102
+ }), [v, Z] = ge(!1), [M, de] = ge(!1), Q = w && re(x) && x.length, oe = Q ? fe() : void 0;
1103
1103
  nt(() => {
1104
1104
  T(e[$] || []);
1105
1105
  }, [e, $]), nt(() => {
1106
1106
  A && A !== f && T(A);
1107
1107
  }, [v]);
1108
- function ue() {
1108
+ function fe() {
1109
1109
  const W = d && d.direction;
1110
1110
  if (!W || d && d.field !== $)
1111
1111
  return x[0];
1112
- const ce = x.indexOf(W);
1113
- if (ce < x.length)
1114
- return x[ce + 1];
1112
+ const ae = x.indexOf(W);
1113
+ if (ae < x.length)
1114
+ return x[ae + 1];
1115
1115
  }
1116
- function pe() {
1116
+ function ue() {
1117
1117
  A && (r == null || r(
1118
1118
  { onFilter: o, filters: y, dataIndex: $ },
1119
1119
  f
1120
- ), ae(!1));
1120
+ ), le(!1));
1121
1121
  }
1122
- function ie() {
1123
- h({ dataIndex: $ }), ae(!1);
1122
+ function se() {
1123
+ h({ dataIndex: $ }), le(!1);
1124
1124
  }
1125
- function ae(W) {
1126
- ee(W), K == null || K(W);
1125
+ function le(W) {
1126
+ Z(W), K == null || K(W);
1127
1127
  }
1128
- function xe(W, ce) {
1128
+ function ye(W, ae) {
1129
1129
  let ne = [...f];
1130
1130
  if (D)
1131
- ce ? ne = ne.concat(W) : ne.splice(
1132
- ne.findIndex((Se) => Se === W),
1131
+ ae ? ne = ne.concat(W) : ne.splice(
1132
+ ne.findIndex((be) => be === W),
1133
1133
  1
1134
1134
  );
1135
1135
  else if (ne.length > 0)
@@ -1141,97 +1141,97 @@ function ko({
1141
1141
  ne = [W];
1142
1142
  T(ne);
1143
1143
  }
1144
- function U(W) {
1145
- T(W || f), ee(!1), r == null || r(
1144
+ function Y(W) {
1145
+ T(W || f), Z(!1), r == null || r(
1146
1146
  { filters: y, onFilter: o, dataIndex: $ },
1147
1147
  W || f
1148
1148
  );
1149
1149
  }
1150
- function be() {
1150
+ function Te() {
1151
1151
  return typeof z == "function" ? z({
1152
1152
  filterKeys: f,
1153
- setFilterKeys: (W, ce) => {
1154
- T(W), ce == null || ce();
1153
+ setFilterKeys: (W, ae) => {
1154
+ T(W), ae == null || ae();
1155
1155
  },
1156
- confirm: U
1157
- }) : /* @__PURE__ */ de("div", { className: `${b}-filters-popup`, children: [
1156
+ confirm: Y
1157
+ }) : /* @__PURE__ */ ce("div", { className: `${b}-filters-popup`, children: [
1158
1158
  /* @__PURE__ */ u("div", { className: `${b}-filters-list`, children: y.map((W) => {
1159
- const ce = f.findIndex((ne) => ne === W.value) !== -1;
1159
+ const ae = f.findIndex((ne) => ne === W.value) !== -1;
1160
1160
  return /* @__PURE__ */ u("div", { className: `${b}-filters-item`, children: D ? /* @__PURE__ */ u(
1161
1161
  Ft,
1162
1162
  {
1163
- checked: ce,
1164
- onChange: (ne) => xe(W.value, ne),
1163
+ checked: ae,
1164
+ onChange: (ne) => ye(W.value, ne),
1165
1165
  children: W.text
1166
1166
  }
1167
1167
  ) : /* @__PURE__ */ u(
1168
1168
  ln,
1169
1169
  {
1170
- checked: ce,
1171
- onChange: (ne) => xe(W.value, ne),
1170
+ checked: ae,
1171
+ onChange: (ne) => ye(W.value, ne),
1172
1172
  children: W.text
1173
1173
  }
1174
1174
  ) }, W.value);
1175
1175
  }) }),
1176
- /* @__PURE__ */ de(oo, { className: `${b}-filters-btn`, children: [
1177
- /* @__PURE__ */ u(tn, { onClick: ie, size: "mini", children: c.Table.resetText }),
1178
- /* @__PURE__ */ u(tn, { onClick: pe, type: "primary", size: "mini", children: c.Table.okText })
1176
+ /* @__PURE__ */ ce(oo, { className: `${b}-filters-btn`, children: [
1177
+ /* @__PURE__ */ u(tn, { onClick: se, size: "mini", children: c.Table.resetText }),
1178
+ /* @__PURE__ */ u(tn, { onClick: ue, type: "primary", size: "mini", children: c.Table.okText })
1179
1179
  ] })
1180
1180
  ] });
1181
1181
  }
1182
- const he = (W) => Z(`${b}-sorter-icon`, {
1182
+ const Ce = (W) => J(`${b}-sorter-icon`, {
1183
1183
  [`${b}-sorter-icon-active`]: d && d.direction === W && d.field === $
1184
- }), re = Z(`${b}-filters`, {
1184
+ }), me = J(`${b}-filters`, {
1185
1185
  [`${b}-filters-open`]: v,
1186
1186
  [`${b}-filters-active`]: A && A.length
1187
1187
  });
1188
- let G = {
1188
+ let ee = {
1189
1189
  ...N
1190
1190
  };
1191
- q(k) && (G = {
1192
- ...G,
1191
+ q(k) && (ee = {
1192
+ ...ee,
1193
1193
  ...k
1194
- }), q(E) && (G = {
1195
- ...G,
1196
- ...E
1197
- }), gt(E) && (G = {
1198
- ...G,
1199
- ...E()
1200
- }), O && O !== "left" && (G.textAlign = O);
1201
- const ge = {
1202
- style: G,
1194
+ }), q(_) && (ee = {
1195
+ ...ee,
1196
+ ..._
1197
+ }), gt(_) && (ee = {
1198
+ ...ee,
1199
+ ..._()
1200
+ }), O && O !== "left" && (ee.textAlign = O);
1201
+ const we = {
1202
+ style: ee,
1203
1203
  key: l || $
1204
1204
  };
1205
- C && C > 1 && (ge.colSpan = C), R && R > 1 && (ge.rowSpan = R);
1206
- const { ComponentTh: Ie, ComponentHeaderCell: Ce } = Ke(j), Ee = se(y) && y.length > 0 || typeof z == "function", Pe = I && typeof s == "string" ? { title: s } : {}, De = _ && _.triggerProps, He = /* @__PURE__ */ de(xt, { children: [
1207
- J ? /* @__PURE__ */ u(
1205
+ C && C > 1 && (we.colSpan = C), R && R > 1 && (we.rowSpan = R);
1206
+ const { ComponentTh: Ge, ComponentHeaderCell: $e } = Be(V), _e = re(y) && y.length > 0 || typeof z == "function", Ie = I && typeof s == "string" ? { title: s } : {}, Ke = E && E.triggerProps, De = /* @__PURE__ */ ce(xt, { children: [
1207
+ Q ? /* @__PURE__ */ u(
1208
1208
  an,
1209
1209
  {
1210
1210
  content: Ro(oe, c),
1211
1211
  disabled: !H,
1212
1212
  ...q(H) ? H : {},
1213
- children: /* @__PURE__ */ de(
1213
+ children: /* @__PURE__ */ ce(
1214
1214
  "div",
1215
1215
  {
1216
1216
  className: `${b}-cell-with-sorter`,
1217
1217
  onMouseEnter: () => {
1218
- fe(!0);
1218
+ de(!0);
1219
1219
  },
1220
1220
  onMouseLeave: () => {
1221
- fe(!1);
1221
+ de(!1);
1222
1222
  },
1223
1223
  onClick: () => t(oe, $),
1224
1224
  children: [
1225
- /* @__PURE__ */ u("span", { className: `${b}-th-item-title`, ...Pe, children: s }),
1226
- J && /* @__PURE__ */ de(
1225
+ /* @__PURE__ */ u("span", { className: `${b}-th-item-title`, ...Ie, children: s }),
1226
+ Q && /* @__PURE__ */ ce(
1227
1227
  "div",
1228
1228
  {
1229
- className: Z(`${b}-sorter`, {
1229
+ className: J(`${b}-sorter`, {
1230
1230
  [`${b}-sorter-direction-one`]: x.length === 1
1231
1231
  }),
1232
1232
  children: [
1233
- x.indexOf("ascend") !== -1 && /* @__PURE__ */ u("div", { className: he("ascend"), children: /* @__PURE__ */ u(eo, {}) }),
1234
- x.indexOf("descend") !== -1 && /* @__PURE__ */ u("div", { className: he("descend"), children: /* @__PURE__ */ u(Zn, {}) })
1233
+ x.indexOf("ascend") !== -1 && /* @__PURE__ */ u("div", { className: Ce("ascend"), children: /* @__PURE__ */ u(eo, {}) }),
1234
+ x.indexOf("descend") !== -1 && /* @__PURE__ */ u("div", { className: Ce("descend"), children: /* @__PURE__ */ u(Zn, {}) })
1235
1235
  ]
1236
1236
  }
1237
1237
  )
@@ -1239,48 +1239,48 @@ function ko({
1239
1239
  }
1240
1240
  )
1241
1241
  }
1242
- ) : /* @__PURE__ */ u("span", { className: `${b}-th-item-title`, ...Pe, children: s }),
1243
- Ee && /* @__PURE__ */ u(
1242
+ ) : /* @__PURE__ */ u("span", { className: `${b}-th-item-title`, ...Ie, children: s }),
1243
+ _e && /* @__PURE__ */ u(
1244
1244
  ro,
1245
1245
  {
1246
- popup: be,
1246
+ popup: Te,
1247
1247
  trigger: "click",
1248
1248
  classNames: "slideDynamicOrigin",
1249
1249
  position: L ? "bl" : "br",
1250
1250
  popupAlign: To,
1251
1251
  popupVisible: v,
1252
- onVisibleChange: ae,
1253
- ...De,
1254
- children: /* @__PURE__ */ u("div", { className: re, children: Q || /* @__PURE__ */ u(to, {}) })
1252
+ onVisibleChange: le,
1253
+ ...Ke,
1254
+ children: /* @__PURE__ */ u("div", { className: me, children: X || /* @__PURE__ */ u(to, {}) })
1255
1255
  }
1256
1256
  )
1257
- ] }), ke = Z(`${b}-th-item`, {
1257
+ ] }), ke = J(`${b}-th-item`, {
1258
1258
  [`${b}-cell-text-ellipsis`]: I,
1259
1259
  [`${b}-cell-mouseenter`]: M,
1260
1260
  [`${b}-cell-next-${oe}`]: M && oe,
1261
- [`${b}-col-has-sorter`]: J,
1262
- [`${b}-col-has-filter`]: Ee
1261
+ [`${b}-col-has-sorter`]: Q,
1262
+ [`${b}-col-has-filter`]: _e
1263
1263
  });
1264
1264
  return C !== 0 && /* @__PURE__ */ ot(
1265
- Ie,
1265
+ Ge,
1266
1266
  {
1267
- className: Z(
1267
+ className: J(
1268
1268
  `${b}-th`,
1269
1269
  {
1270
1270
  [`${b}-col-sorted`]: d && d.direction && d.field === $
1271
1271
  },
1272
1272
  g
1273
1273
  ),
1274
- ...ge,
1275
- key: ge.key,
1274
+ ...we,
1275
+ key: we.key,
1276
1276
  ...m
1277
1277
  },
1278
- je(Ce) ? /* @__PURE__ */ u(Ce, { className: ke, children: He }) : /* @__PURE__ */ u(
1279
- Ce,
1278
+ Ve($e) ? /* @__PURE__ */ u($e, { className: ke, children: De }) : /* @__PURE__ */ u(
1279
+ $e,
1280
1280
  {
1281
1281
  className: ke,
1282
1282
  column: F,
1283
- children: He
1283
+ children: De
1284
1284
  }
1285
1285
  )
1286
1286
  );
@@ -1301,23 +1301,23 @@ function vo(t) {
1301
1301
  selectedRowKeys: N,
1302
1302
  rowSelection: g,
1303
1303
  allSelectedRowKeys: k = [],
1304
- groupColumns: E,
1304
+ groupColumns: _,
1305
1305
  stickyOffsets: R,
1306
1306
  groupStickyClassNames: C,
1307
1307
  showSorterTooltip: m
1308
- } = t, { rtl: b } = Be(Ge), { ComponentThead: O, ComponentHeaderRow: j, getHeaderComponentOperations: Q } = Ke(x), z = g && (g.type === "checkbox" || !("type" in g)), D = g && "checkAll" in g ? g.checkAll : !0, I = g && g.type === "radio", { columnTitle: _ } = h, K = le(() => {
1309
- const Y = new Set(k);
1310
- return N.filter((c) => Y.has(c));
1311
- }, [N, k]), F = E.length > 1 ? { rowSpan: E.length } : {}, H = Z(`${s}-th`, `${s}-operation`);
1312
- return /* @__PURE__ */ u(O, { children: E.map((Y, c) => {
1313
- const L = a == null ? void 0 : a(Y, c), $ = (z || I) && c === 0 && /* @__PURE__ */ u(
1308
+ } = t, { rtl: b } = Oe(qe), { ComponentThead: O, ComponentHeaderRow: V, getHeaderComponentOperations: X } = Be(x), z = g && (g.type === "checkbox" || !("type" in g)), D = g && "checkAll" in g ? g.checkAll : !0, I = g && g.type === "radio", { columnTitle: E } = h, K = ie(() => {
1309
+ const j = new Set(k);
1310
+ return N.filter((c) => j.has(c));
1311
+ }, [N, k]), F = _.length > 1 ? { rowSpan: _.length } : {}, H = J(`${s}-th`, `${s}-operation`);
1312
+ return /* @__PURE__ */ u(O, { children: _.map((j, c) => {
1313
+ const L = a == null ? void 0 : a(j, c), $ = (z || I) && c === 0 && /* @__PURE__ */ u(
1314
1314
  "th",
1315
1315
  {
1316
- className: Z(
1316
+ className: J(
1317
1317
  H,
1318
1318
  `${s}-${I ? "radio" : "checkbox"}`
1319
1319
  ),
1320
- children: /* @__PURE__ */ de("div", { className: `${s}-th-item`, children: [
1320
+ children: /* @__PURE__ */ ce("div", { className: `${s}-th-item`, children: [
1321
1321
  D && !I ? /* @__PURE__ */ u(
1322
1322
  Ft,
1323
1323
  {
@@ -1330,71 +1330,71 @@ function vo(t) {
1330
1330
  g && g.columnTitle
1331
1331
  ] })
1332
1332
  }
1333
- ), A = r && /* @__PURE__ */ u("th", { className: Z(H, `${s}-expand`), children: _ && /* @__PURE__ */ u("div", { className: `${s}-th-item`, children: _ }) }), T = C[c], f = Q({
1333
+ ), A = r && /* @__PURE__ */ u("th", { className: J(H, `${s}-expand`), children: E && /* @__PURE__ */ u("div", { className: `${s}-th-item`, children: E }) }), T = C[c], f = X({
1334
1334
  selectionNode: $,
1335
1335
  expandNode: A
1336
1336
  });
1337
1337
  return /* @__PURE__ */ ot(
1338
- j,
1338
+ V,
1339
1339
  {
1340
1340
  ...L,
1341
1341
  key: c,
1342
1342
  className: `${s}-tr`
1343
1343
  },
1344
- Y.map((v, ee) => {
1345
- var ie, ae, xe, U, be;
1344
+ j.map((v, Z) => {
1345
+ var se, le, ye, Y, Te;
1346
1346
  const M = v.$$columnIndex;
1347
- let fe = 0;
1348
- Array.isArray(M) && M.length === 2 ? fe = v.fixed === "right" ? R[M[1]] : R[M[0]] : typeof M == "number" && (fe = R[M] || 0);
1349
- const J = T[ee];
1347
+ let de = 0;
1348
+ Array.isArray(M) && M.length === 2 ? de = v.fixed === "right" ? R[M[1]] : R[M[0]] : typeof M == "number" && (de = R[M] || 0);
1349
+ const Q = T[Z];
1350
1350
  if (v.$$isOperation) {
1351
- let he = v.node, re = !0;
1352
- v.title === Ye && (he = (ie = f.find(
1353
- (ge) => ge.name === "selectionNode"
1354
- )) == null ? void 0 : ie.node, re = !1), v.title === qe && (he = (ae = f.find(
1355
- (ge) => ge.name === "expandNode"
1356
- )) == null ? void 0 : ae.node, re = !1);
1357
- const G = he;
1358
- return _e.cloneElement(G, {
1359
- key: v.key || ee,
1360
- ...G.props,
1351
+ let Ce = v.node, me = !0;
1352
+ v.title === je && (Ce = (se = f.find(
1353
+ (we) => we.name === "selectionNode"
1354
+ )) == null ? void 0 : se.node, me = !1), v.title === Ye && (Ce = (le = f.find(
1355
+ (we) => we.name === "expandNode"
1356
+ )) == null ? void 0 : le.node, me = !1);
1357
+ const ee = Ce;
1358
+ return Ee.cloneElement(ee, {
1359
+ key: v.key || Z,
1360
+ ...ee.props,
1361
1361
  ...F,
1362
- className: Z(
1363
- re ? H : "",
1364
- (xe = G == null ? void 0 : G.props) == null ? void 0 : xe.className,
1365
- J
1362
+ className: J(
1363
+ me ? H : "",
1364
+ (ye = ee == null ? void 0 : ee.props) == null ? void 0 : ye.className,
1365
+ Q
1366
1366
  ),
1367
1367
  style: {
1368
- ...(U = G == null ? void 0 : G.props) == null ? void 0 : U.style,
1368
+ ...(Y = ee == null ? void 0 : ee.props) == null ? void 0 : Y.style,
1369
1369
  ...v.fixed === "left" ? {
1370
- [b ? "right" : "left"]: fe
1370
+ [b ? "right" : "left"]: de
1371
1371
  } : {},
1372
1372
  width: v.width,
1373
1373
  minWidth: v.width
1374
1374
  }
1375
1375
  });
1376
1376
  }
1377
- const oe = (be = v == null ? void 0 : v.onHeaderCell) == null ? void 0 : be.call(v, v, ee), ue = Z(J, v.className), pe = {};
1378
- return v.fixed === "left" && (pe[b ? "right" : "left"] = fe), v.fixed === "right" && (pe[b ? "left" : "right"] = fe), /* @__PURE__ */ ot(
1377
+ const oe = (Te = v == null ? void 0 : v.onHeaderCell) == null ? void 0 : Te.call(v, v, Z), fe = J(Q, v.className), ue = {};
1378
+ return v.fixed === "left" && (ue[b ? "right" : "left"] = de), v.fixed === "right" && (ue[b ? "left" : "right"] = de), /* @__PURE__ */ ot(
1379
1379
  ko,
1380
1380
  {
1381
- index: ee,
1381
+ index: Z,
1382
1382
  onSort: e,
1383
1383
  onHandleFilter: d,
1384
1384
  onHandleFilterReset: l,
1385
1385
  currentSorter: o.find(
1386
- (he) => he.field === (v.dataIndex || v.key)
1386
+ (Ce) => Ce.field === (v.dataIndex || v.key)
1387
1387
  ),
1388
1388
  currentFilters: w,
1389
- _key: v.key || v.dataIndex || ee,
1389
+ _key: v.key || v.dataIndex || Z,
1390
1390
  ...v,
1391
1391
  key: v.key,
1392
1392
  column: v,
1393
1393
  headerCellProps: oe,
1394
1394
  prefixCls: s,
1395
1395
  component: x,
1396
- className: ue,
1397
- columnFixedStyle: pe,
1396
+ className: fe,
1397
+ columnFixedStyle: ue,
1398
1398
  showSorterTooltip: m
1399
1399
  }
1400
1400
  );
@@ -1402,7 +1402,7 @@ function vo(t) {
1402
1402
  );
1403
1403
  }) });
1404
1404
  }
1405
- const _o = [], Eo = [], Io = {
1405
+ const Eo = [], _o = [], Io = {
1406
1406
  showHeader: !0,
1407
1407
  border: !0,
1408
1408
  hover: !0,
@@ -1422,7 +1422,7 @@ function Po(t, o) {
1422
1422
  renderEmpty: l,
1423
1423
  componentConfig: a,
1424
1424
  rtl: s
1425
- } = Be(Ge), w = Zt(
1425
+ } = Oe(qe), w = Zt(
1426
1426
  t,
1427
1427
  Io,
1428
1428
  a == null ? void 0 : a.Table
@@ -1435,68 +1435,68 @@ function Po(t, o) {
1435
1435
  className: N,
1436
1436
  component: g,
1437
1437
  border: k,
1438
- borderCell: E,
1439
- columns: R = Eo,
1440
- data: C = _o,
1438
+ borderCell: _,
1439
+ columns: R = _o,
1440
+ data: C = Eo,
1441
1441
  scroll: m,
1442
1442
  noDataElement: b,
1443
1443
  showHeader: O,
1444
- stripe: j,
1445
- hover: Q,
1444
+ stripe: V,
1445
+ hover: X,
1446
1446
  pagination: z,
1447
1447
  onChange: D,
1448
1448
  pagePosition: I,
1449
- childrenColumnName: _,
1449
+ childrenColumnName: E,
1450
1450
  indentSize: K,
1451
1451
  rowSelection: F,
1452
1452
  tableLayoutFixed: H,
1453
- footer: Y,
1453
+ footer: j,
1454
1454
  virtualized: c,
1455
1455
  renderPagination: L,
1456
1456
  summary: $,
1457
1457
  rowKey: A
1458
- } = w, T = le(
1459
- () => co(C, _),
1460
- [C, _]
1461
- ), f = r("table"), v = w.size || (["default", "middle", "small"].indexOf(e) > -1 ? e : "default"), ee = me(null), M = me(null), fe = me(null), J = me(null), oe = me(null), ue = me(null), pe = me(null), ie = me(0), ae = me(!1), [xe, U] = io(w), { currentFilters: be, defaultSorters: he } = rt(), [re, G] = Ne(1), [ge, Ie] = Ne(
1458
+ } = w, T = ie(
1459
+ () => co(C, E),
1460
+ [C, E]
1461
+ ), f = r("table"), v = w.size || (["default", "middle", "small"].indexOf(e) > -1 ? e : "default"), Z = he(null), M = he(null), de = he(null), Q = he(null), oe = he(null), fe = he(null), ue = he(null), se = he(0), le = he(!1), [ye, Y] = io(w), { currentFilters: Te, defaultSorters: Ce } = rt(), [me, ee] = ge(1), [we, Ge] = ge(
1462
1462
  x.pageSize || x.defaultPageSize || 10
1463
- ), [Ce, Ee] = Ne(be), [Pe, De] = Ne(0), [He, ke] = Ne([]), W = xo(U), [ce, ne] = mo(
1464
- xe,
1465
- U,
1463
+ ), [$e, _e] = ge(Te), [Ie, Ke] = ge(0), [De, ke] = ge([]), W = xo(Y), [ae, ne] = mo(
1464
+ ye,
1465
+ Y,
1466
1466
  f
1467
1467
  ), {
1468
- currentSorter: Se,
1468
+ currentSorter: be,
1469
1469
  activeSorters: P,
1470
- getNextActiveSorters: we,
1471
- updateStateSorters: Ae
1472
- } = yo(U, he), { ComponentTable: Re, ComponentBodyWrapper: Fe, ComponentHeaderWrapper: Me } = Ke(g), We = le(() => typeof A == "function" ? (n) => A(te(n)) : (n) => n[A], [A]);
1470
+ getNextActiveSorters: xe,
1471
+ updateStateSorters: Pe
1472
+ } = yo(Y, Ce), { ComponentTable: Se, ComponentBodyWrapper: Ae, ComponentHeaderWrapper: He } = Be(g), Me = ie(() => typeof A == "function" ? (n) => A(te(n)) : (n) => n[A], [A]);
1473
1473
  function rt() {
1474
1474
  const n = {};
1475
1475
  let i = [];
1476
- return U.forEach((p) => {
1476
+ return Y.forEach((p) => {
1477
1477
  const S = p.dataIndex || p.key;
1478
1478
  if (p.defaultFilters && (n[S] = p.defaultFilters), p.filteredValue && (n[S] = p.filteredValue), "defaultSortOrder" in p || "sortOrder" in p) {
1479
- const B = Pt(p.sorter), X = "sortOrder" in p ? p.sortOrder : p.defaultSortOrder, V = {
1479
+ const B = Pt(p.sorter), G = "sortOrder" in p ? p.sortOrder : p.defaultSortOrder, U = {
1480
1480
  field: S,
1481
- direction: X,
1481
+ direction: G,
1482
1482
  sorterFn: It(p.sorter),
1483
1483
  priority: B
1484
1484
  };
1485
- X ? Oe(B) ? i.every(
1486
- ($e) => Oe($e.priority) || !$e.direction
1487
- ) && i.push(V) : i.every(($e) => !$e.direction) ? i.push(V) : i = [V] : i.push(V);
1485
+ G ? Le(B) ? i.every(
1486
+ (Ne) => Le(Ne.priority) || !Ne.direction
1487
+ ) && i.push(U) : i.every((Ne) => !Ne.direction) ? i.push(U) : i = [U] : i.push(U);
1488
1488
  }
1489
1489
  }), { currentFilters: n, defaultSorters: i };
1490
1490
  }
1491
- const Le = le(() => {
1492
- const n = U.filter(
1491
+ const Fe = ie(() => {
1492
+ const n = Y.filter(
1493
1493
  (p) => "filteredValue" in p
1494
1494
  ), i = {};
1495
1495
  return n.length && n.forEach((p, S) => {
1496
1496
  const B = p.key || p.dataIndex || S;
1497
1497
  B !== void 0 && (i[B] = p.filteredValue);
1498
1498
  }), i;
1499
- }, [U]), ye = le(() => Object.keys(Le).length ? Le : Ce, [Ce, Le]);
1499
+ }, [Y]), pe = ie(() => Object.keys(Fe).length ? Fe : $e, [$e, Fe]);
1500
1500
  function Xe(n, i) {
1501
1501
  const p = Wt(i);
1502
1502
  if (!p)
@@ -1506,32 +1506,32 @@ function Po(t, o) {
1506
1506
  field: i,
1507
1507
  sorterFn: It(p.sorter),
1508
1508
  priority: Pt(p.sorter)
1509
- }, B = we(S);
1510
- Ae(S, B);
1511
- const X = at(
1509
+ }, B = xe(S);
1510
+ Pe(S, B);
1511
+ const G = at(
1512
1512
  S,
1513
1513
  B,
1514
- ye
1515
- ), V = Ze(X);
1516
- D == null || D(Ue(X), S, ye, {
1517
- currentData: te(V),
1518
- currentAllData: te(X),
1514
+ pe
1515
+ ), U = Ze(G);
1516
+ D == null || D(ze(G), S, pe, {
1517
+ currentData: te(U),
1518
+ currentAllData: te(G),
1519
1519
  action: "sort"
1520
1520
  });
1521
1521
  }
1522
- function Te(n) {
1522
+ function Re(n) {
1523
1523
  const i = function(S, B) {
1524
- return (X, V) => {
1525
- const $e = S(X, V);
1526
- return B === "descend" ? -$e : $e;
1524
+ return (G, U) => {
1525
+ const Ne = S(G, U);
1526
+ return B === "descend" ? -Ne : Ne;
1527
1527
  };
1528
1528
  }, p = [...n];
1529
1529
  return p.sort((S, B) => B.priority - S.priority), (S, B) => {
1530
- for (let X = 0, V = p.length; X < V; X++) {
1531
- const { sorterFn: $e, direction: Tt } = p[X];
1532
- if (typeof $e != "function")
1530
+ for (let G = 0, U = p.length; G < U; G++) {
1531
+ const { sorterFn: Ne, direction: Tt } = p[G];
1532
+ if (typeof Ne != "function")
1533
1533
  continue;
1534
- const pt = i($e, Tt)(S, B);
1534
+ const pt = i(Ne, Tt)(S, B);
1535
1535
  if (pt !== 0)
1536
1536
  return pt;
1537
1537
  }
@@ -1540,43 +1540,43 @@ function Po(t, o) {
1540
1540
  }
1541
1541
  function Qe(n, i) {
1542
1542
  const p = {
1543
- ...ye,
1543
+ ...pe,
1544
1544
  [n.dataIndex]: i
1545
1545
  }, S = {
1546
1546
  ...p,
1547
- ...Le
1547
+ ...Fe
1548
1548
  };
1549
- if (se(i) && i.length) {
1550
- Ee(S);
1549
+ if (re(i) && i.length) {
1550
+ _e(S);
1551
1551
  const B = at(
1552
- Se,
1552
+ be,
1553
1553
  P,
1554
1554
  p
1555
- ), X = Ze(B);
1555
+ ), G = Ze(B);
1556
1556
  D == null || D(
1557
- Ue(B),
1557
+ ze(B),
1558
1558
  P.length === 1 ? P[0] : P,
1559
1559
  p,
1560
1560
  {
1561
- currentData: te(X),
1561
+ currentData: te(G),
1562
1562
  currentAllData: te(B),
1563
1563
  action: "filter"
1564
1564
  }
1565
1565
  );
1566
- } else se(i) && !i.length && Bt(n);
1566
+ } else re(i) && !i.length && Bt(n);
1567
1567
  }
1568
1568
  function Bt({ dataIndex: n }) {
1569
1569
  const i = {
1570
- ...ye
1570
+ ...pe
1571
1571
  };
1572
- delete i[n], Ee(i);
1572
+ delete i[n], _e(i);
1573
1573
  const p = at(
1574
- Se,
1574
+ be,
1575
1575
  P,
1576
1576
  i
1577
1577
  ), S = Ze(p);
1578
1578
  D == null || D(
1579
- Ue(p),
1579
+ ze(p),
1580
1580
  P.length === 1 ? P[0] : P,
1581
1581
  i,
1582
1582
  {
@@ -1586,87 +1586,87 @@ function Po(t, o) {
1586
1586
  }
1587
1587
  );
1588
1588
  }
1589
- const st = !!U.find((n) => n.fixed === "left"), it = !!U.find((n) => n.fixed === "right"), lt = st || it;
1589
+ const st = !!Y.find((n) => n.fixed === "left"), it = !!Y.find((n) => n.fixed === "right"), lt = st || it;
1590
1590
  function at(n, i, p) {
1591
1591
  let S = (T || []).slice();
1592
- Object.keys(p).forEach((X) => {
1593
- if (p[X] && p[X].length) {
1594
- const V = Wt(X);
1595
- V && typeof V.onFilter == "function" && (S = S.filter(($e) => p[X].reduce(
1596
- (Tt, pt) => Tt || V.onFilter(pt, $e),
1592
+ Object.keys(p).forEach((G) => {
1593
+ if (p[G] && p[G].length) {
1594
+ const U = Wt(G);
1595
+ U && typeof U.onFilter == "function" && (S = S.filter((Ne) => p[G].reduce(
1596
+ (Tt, pt) => Tt || U.onFilter(pt, Ne),
1597
1597
  !1
1598
1598
  )));
1599
1599
  }
1600
1600
  });
1601
- const B = (X) => X.slice().sort(Te(i)).map((V) => se(V[_]) ? {
1602
- ...V,
1603
- [_]: B(V[_])
1604
- } : V);
1601
+ const B = (G) => G.slice().sort(Re(i)).map((U) => re(U[E]) ? {
1602
+ ...U,
1603
+ [E]: B(U[E])
1604
+ } : U);
1605
1605
  return n.direction && typeof n.sorterFn == "function" || i.length ? B(S) : S;
1606
1606
  }
1607
- const ze = at(
1608
- Se,
1607
+ const We = at(
1608
+ be,
1609
1609
  P,
1610
- ye
1610
+ pe
1611
1611
  );
1612
- function Ue(n = ze) {
1613
- const i = x.pageSize || ge || 10, p = v === "middle" ? "default" : v;
1612
+ function ze(n = We) {
1613
+ const i = x.pageSize || we || 10, p = v === "middle" ? "default" : v;
1614
1614
  let S = "top";
1615
1615
  I === "tl" || I === "bl" ? S = "bottom" : S = "top";
1616
- const B = se(n) ? n.length : 0, X = Math.ceil(B / i) < re ? 1 : re;
1617
- X !== re && G(X);
1618
- let V = {
1616
+ const B = re(n) ? n.length : 0, G = Math.ceil(B / i) < me ? 1 : me;
1617
+ G !== me && ee(G);
1618
+ let U = {
1619
1619
  size: p,
1620
1620
  total: B,
1621
1621
  pageSize: i,
1622
- current: X,
1622
+ current: G,
1623
1623
  selectProps: {
1624
1624
  triggerProps: {
1625
1625
  position: S
1626
1626
  }
1627
1627
  }
1628
1628
  };
1629
- return typeof z == "object" && z.selectProps && (V.selectProps = {
1630
- ...V.selectProps,
1629
+ return typeof z == "object" && z.selectProps && (U.selectProps = {
1630
+ ...U.selectProps,
1631
1631
  ...z.selectProps
1632
- }), q(z) && (V = {
1633
- ...V,
1632
+ }), q(z) && (U = {
1633
+ ...U,
1634
1634
  ...z
1635
- }), q(x) && (V = {
1636
- ...V,
1635
+ }), q(x) && (U = {
1636
+ ...U,
1637
1637
  ...x
1638
- }), V.onChange = $n, V;
1638
+ }), U.onChange = $n, U;
1639
1639
  }
1640
- const ct = Ue(), Je = Ze();
1641
- function Ze(n = ze, i = ct) {
1640
+ const ct = ze(), Je = Ze();
1641
+ function Ze(n = We, i = ct) {
1642
1642
  const { current: p = 0, pageSize: S = 10 } = i;
1643
1643
  return z === !1 || q(z) && C.length <= S ? n : n.slice((p - 1) * S, p * S);
1644
1644
  }
1645
- const Kt = Bn(Dt, 100), ve = !!(m && m.y), et = $ == null ? void 0 : $(te(ze)), wt = $ && _e.isValidElement(et) && et.props.fixed, pn = ve && wt;
1645
+ const Kt = Bn(Dt, 100), ve = !!(m && m.y), et = $ == null ? void 0 : $(te(We)), wt = $ && Ee.isValidElement(et) && et.props.fixed, pn = ve && wt;
1646
1646
  Mn(() => {
1647
1647
  Dt(), ht(window, "resize", Kt);
1648
- const n = ee.current, i = M.current, p = J.current;
1649
- i && ht(i, "scroll", Ve);
1648
+ const n = Z.current, i = M.current, p = Q.current;
1649
+ i && ht(i, "scroll", Ue);
1650
1650
  const S = n && n.parentNode;
1651
- return n && S && ht(S, "scroll", Ve), p && ht(p, "scroll", Ve), () => {
1652
- yt(window, "resize", Kt), i && yt(i, "scroll", Ve), S && yt(S, "scroll", Ve), p && yt(p, "scroll", Ve);
1651
+ return n && S && ht(S, "scroll", Ue), p && ht(p, "scroll", Ue), () => {
1652
+ yt(window, "resize", Kt), i && yt(i, "scroll", Ue), S && yt(S, "scroll", Ue), p && yt(p, "scroll", Ue);
1653
1653
  };
1654
1654
  }, [
1655
1655
  st,
1656
1656
  it,
1657
1657
  m == null ? void 0 : m.x,
1658
1658
  m == null ? void 0 : m.y,
1659
- U.length,
1659
+ Y.length,
1660
1660
  C
1661
- ]), _t(() => {
1662
- const { total: n, pageSize: i } = Ue(C);
1663
- Math.ceil(n / i) < re && G(1);
1664
- }, [C == null ? void 0 : C.length]), _t(() => {
1661
+ ]), Et(() => {
1662
+ const { total: n, pageSize: i } = ze(C);
1663
+ Math.ceil(n / i) < me && ee(1);
1664
+ }, [C == null ? void 0 : C.length]), Et(() => {
1665
1665
  dt();
1666
1666
  }, [C, st, it, s]), Hn(o, () => ({
1667
1667
  getRootDomElement: Nt,
1668
1668
  scrollIntoView: (n) => {
1669
- ue.current && ue.current.scrollTo({ key: n });
1669
+ fe.current && fe.current.scrollTo({ key: n });
1670
1670
  },
1671
1671
  getRootDOMNode: Nt
1672
1672
  }));
@@ -1679,12 +1679,12 @@ function Po(t, o) {
1679
1679
  const n = Nt();
1680
1680
  if (n && (lt || m && m.x)) {
1681
1681
  const S = n.querySelector(`.${f}-body`) || n.querySelector(`.${f}-content-inner`), B = (p = (i = S == null ? void 0 : S.getBoundingClientRect) == null ? void 0 : i.call(S)) == null ? void 0 : p.width;
1682
- De(B);
1682
+ Ke(B);
1683
1683
  }
1684
1684
  }
1685
1685
  const hn = tt(
1686
1686
  Kn(() => {
1687
- const n = oe.current, i = ve ? M.current : pe.current && pe.current.parentNode;
1687
+ const n = oe.current, i = ve ? M.current : ue.current && ue.current.parentNode;
1688
1688
  if (i) {
1689
1689
  const p = s ? -i.scrollLeft : i.scrollLeft, S = p === 0, B = p + 1 >= i.children[0].getBoundingClientRect().width - i.getBoundingClientRect().width;
1690
1690
  S && B ? ft(
@@ -1735,23 +1735,23 @@ function Po(t, o) {
1735
1735
  setSelectedRowKeys: Cn,
1736
1736
  allSelectedRowKeys: wn,
1737
1737
  flattenData: Nn
1738
- } = ho(w, Je, T, We);
1738
+ } = ho(w, Je, T, Me);
1739
1739
  function Wt(n) {
1740
- return U.find((i, p) => typeof i.key < "u" ? typeof i.key == "number" && typeof n == "string" ? i.key.toString() === n : i.key === n : typeof i.dataIndex < "u" ? i.dataIndex === n : typeof n == "number" ? p === n : !1);
1740
+ return Y.find((i, p) => typeof i.key < "u" ? typeof i.key == "number" && typeof n == "string" ? i.key.toString() === n : i.key === n : typeof i.dataIndex < "u" ? i.dataIndex === n : typeof n == "number" ? p === n : !1);
1741
1741
  }
1742
1742
  function $n(n, i) {
1743
1743
  var S, B;
1744
- G(n), Ie(i), n !== re && bn(), F && !F.checkCrossPage && $t.length && (Cn([]), (S = F.onChange) == null || S.call(F, [], []));
1745
- const p = { ...Ue(), current: n, pageSize: i };
1744
+ ee(n), Ge(i), n !== me && bn(), F && !F.checkCrossPage && $t.length && (Cn([]), (S = F.onChange) == null || S.call(F, [], []));
1745
+ const p = { ...ze(), current: n, pageSize: i };
1746
1746
  D == null || D(
1747
1747
  p,
1748
1748
  P.length === 1 ? P[0] : P,
1749
- ye,
1749
+ pe,
1750
1750
  {
1751
1751
  currentData: te(
1752
- Ze(ze, p)
1752
+ Ze(We, p)
1753
1753
  ),
1754
- currentAllData: te(ze),
1754
+ currentAllData: te(We),
1755
1755
  action: "paginate"
1756
1756
  }
1757
1757
  ), (B = x.onChange) == null || B.call(x, n, i);
@@ -1770,18 +1770,18 @@ function Po(t, o) {
1770
1770
  }
1771
1771
  }).start();
1772
1772
  }
1773
- function Ve(n) {
1774
- const { target: i } = n, p = M.current, S = ee.current && ee.current.parentNode, B = J.current;
1775
- i.scrollLeft !== ie.current && (S && (S.scrollLeft = i.scrollLeft), p && (p.scrollLeft = i.scrollLeft), B && (B.scrollLeft = i.scrollLeft), dt()), ie.current = n.target.scrollLeft;
1773
+ function Ue(n) {
1774
+ const { target: i } = n, p = M.current, S = Z.current && Z.current.parentNode, B = Q.current;
1775
+ i.scrollLeft !== se.current && (S && (S.scrollLeft = i.scrollLeft), p && (p.scrollLeft = i.scrollLeft), B && (B.scrollLeft = i.scrollLeft), dt()), se.current = n.target.scrollLeft;
1776
1776
  }
1777
1777
  function Sn(n) {
1778
- const { target: i } = n, p = pe.current;
1779
- i.scrollLeft !== ie.current && (p.scrollLeft = i.scrollLeft, dt()), ie.current = n.target.scrollLeft;
1778
+ const { target: i } = n, p = ue.current;
1779
+ i.scrollLeft !== se.current && (p.scrollLeft = i.scrollLeft, dt()), se.current = n.target.scrollLeft;
1780
1780
  }
1781
1781
  const [zt, Rn] = po(
1782
1782
  w,
1783
1783
  Nn,
1784
- We
1784
+ Me
1785
1785
  );
1786
1786
  let Ut = {}, bt = {};
1787
1787
  m && (m.x && (typeof m.x == "number" || typeof m.x == "string") && (bt = {
@@ -1790,10 +1790,10 @@ function Po(t, o) {
1790
1790
  maxHeight: m.y
1791
1791
  }));
1792
1792
  function Tn() {
1793
- const n = ee.current && ee.current.parentNode, i = lo(n);
1794
- i && i > 0 && (n.style.marginBottom = `-${i}px`, n.style.paddingBottom = "0px", J.current && (J.current.style.marginBottom = `-${i}px`, J.current.style.paddingBottom = "0px")), setTimeout(() => {
1793
+ const n = Z.current && Z.current.parentNode, i = lo(n);
1794
+ i && i > 0 && (n.style.marginBottom = `-${i}px`, n.style.paddingBottom = "0px", Q.current && (Q.current.style.marginBottom = `-${i}px`, Q.current.style.paddingBottom = "0px")), setTimeout(() => {
1795
1795
  const p = M.current;
1796
- ao(p) ? (ae.current = !0, n && (n.style.overflowY = "scroll"), J.current && (J.current.style.overflowY = "scroll")) : n && ae.current && (ae.current = !1, n.style.overflowY = "auto", J.current && (J.current.style.overflowY = "auto"));
1796
+ ao(p) ? (le.current = !0, n && (n.style.overflowY = "scroll"), Q.current && (Q.current.style.overflowY = "scroll")) : n && le.current && (le.current = !1, n.style.overflowY = "auto", Q.current && (Q.current.style.overflowY = "auto"));
1797
1797
  });
1798
1798
  }
1799
1799
  const Vt = /* @__PURE__ */ u(
@@ -1801,9 +1801,9 @@ function Po(t, o) {
1801
1801
  {
1802
1802
  ...w,
1803
1803
  activeSorters: P,
1804
- currentSorter: Se,
1804
+ currentSorter: be,
1805
1805
  selectedRowKeys: $t,
1806
- currentFilters: ye,
1806
+ currentFilters: pe,
1807
1807
  onCheckAll: mn,
1808
1808
  onSort: Xe,
1809
1809
  data: Je,
@@ -1811,26 +1811,26 @@ function Po(t, o) {
1811
1811
  onHandleFilterReset: Bt,
1812
1812
  prefixCls: f,
1813
1813
  allSelectedRowKeys: wn,
1814
- groupColumns: xe,
1814
+ groupColumns: ye,
1815
1815
  stickyOffsets: W,
1816
- groupStickyClassNames: ce
1816
+ groupStickyClassNames: ae
1817
1817
  }
1818
1818
  );
1819
1819
  function kn() {
1820
1820
  const n = q(m) && m.x === "max-content";
1821
- return ve || c ? /* @__PURE__ */ u(Me, { className: `${f}-header`, children: /* @__PURE__ */ de(
1822
- Re,
1821
+ return ve || c ? /* @__PURE__ */ u(He, { className: `${f}-header`, children: /* @__PURE__ */ ce(
1822
+ Se,
1823
1823
  {
1824
- ref: ee,
1824
+ ref: Z,
1825
1825
  style: n ? {} : bt,
1826
1826
  children: [
1827
1827
  /* @__PURE__ */ u(
1828
1828
  mt,
1829
1829
  {
1830
- columns: U,
1830
+ columns: Y,
1831
1831
  prefixCls: f,
1832
1832
  producer: !1,
1833
- columnWidths: n && m.y ? He : null
1833
+ columnWidths: n && m.y ? De : null
1834
1834
  }
1835
1835
  ),
1836
1836
  Vt
@@ -1844,7 +1844,7 @@ function Po(t, o) {
1844
1844
  prefixCls: f,
1845
1845
  summary: $,
1846
1846
  data: Je,
1847
- columns: U,
1847
+ columns: Y,
1848
1848
  stickyOffsets: W,
1849
1849
  stickyClassNames: ne
1850
1850
  }
@@ -1852,31 +1852,31 @@ function Po(t, o) {
1852
1852
  bo,
1853
1853
  {
1854
1854
  ...w,
1855
- saveRef: (n) => fe.current = n,
1855
+ saveRef: (n) => de.current = n,
1856
1856
  selectedRowKeys: $t,
1857
1857
  indeterminateKeys: yn,
1858
1858
  expandedRowKeys: zt,
1859
1859
  onCheck: xn,
1860
1860
  onCheckRadio: gn,
1861
1861
  onClickExpandBtn: Rn,
1862
- columns: U,
1862
+ columns: Y,
1863
1863
  data: Je,
1864
1864
  prefixCls: f,
1865
1865
  hasFixedColumn: lt,
1866
- tableViewWidth: Pe,
1866
+ tableViewWidth: Ie,
1867
1867
  indentSize: K,
1868
1868
  noDataElement: b || l("Table"),
1869
1869
  activeSorters: P,
1870
- currentSorter: Se,
1870
+ currentSorter: be,
1871
1871
  stickyOffsets: W,
1872
1872
  stickyClassNames: ne,
1873
- getRowKey: We,
1873
+ getRowKey: Me,
1874
1874
  saveVirtualListRef: (n) => {
1875
- c && (ue.current = n, M.current = n == null ? void 0 : n.dom);
1875
+ c && (fe.current = n, M.current = n == null ? void 0 : n.dom);
1876
1876
  },
1877
1877
  ___dangerouslySetInnerHTML___: w.___dangerouslySetInnerHTML___
1878
1878
  }
1879
- ), qt = !c && !pn ? /* @__PURE__ */ de(xt, { children: [
1879
+ ), qt = !c && !pn ? /* @__PURE__ */ ce(xt, { children: [
1880
1880
  Yt,
1881
1881
  jt
1882
1882
  ] }) : Yt;
@@ -1888,18 +1888,18 @@ function Po(t, o) {
1888
1888
  };
1889
1889
  }, [M.current]);
1890
1890
  function vn() {
1891
- const n = q(m) && m.x === "max-content" && !!m.y && se(C) && C.length > 0;
1891
+ const n = q(m) && m.x === "max-content" && !!m.y && re(C) && C.length > 0;
1892
1892
  return ve && !c ? /* @__PURE__ */ u(
1893
- Fe,
1893
+ Ae,
1894
1894
  {
1895
1895
  ref: M,
1896
1896
  className: `${f}-body`,
1897
1897
  style: Ut,
1898
- children: /* @__PURE__ */ de(Re, { style: bt, children: [
1898
+ children: /* @__PURE__ */ ce(Se, { style: bt, children: [
1899
1899
  /* @__PURE__ */ u(
1900
1900
  mt,
1901
1901
  {
1902
- columns: U,
1902
+ columns: Y,
1903
1903
  prefixCls: f,
1904
1904
  producer: n,
1905
1905
  onSetColumnWidths: ke,
@@ -1912,47 +1912,47 @@ function Po(t, o) {
1912
1912
  }
1913
1913
  ) : qt;
1914
1914
  }
1915
- function _n() {
1915
+ function En() {
1916
1916
  let n = {};
1917
1917
  m && q(m) && m.x && (n = {
1918
1918
  width: m.x
1919
1919
  });
1920
- const i = /* @__PURE__ */ u("div", { className: `${f}-tfoot`, ref: J, children: /* @__PURE__ */ de(Re, { style: n, children: [
1921
- /* @__PURE__ */ u(mt, { columns: U, prefixCls: f }),
1920
+ const i = /* @__PURE__ */ u("div", { className: `${f}-tfoot`, ref: Q, children: /* @__PURE__ */ ce(Se, { style: n, children: [
1921
+ /* @__PURE__ */ u(mt, { columns: Y, prefixCls: f }),
1922
1922
  jt
1923
- ] }) }), p = et && ve && wt === "top", S = et && ve && wt === "bottom", B = /* @__PURE__ */ de(xt, { children: [
1923
+ ] }) }), p = et && ve && wt === "top", S = et && ve && wt === "bottom", B = /* @__PURE__ */ ce(xt, { children: [
1924
1924
  O ? kn() : null,
1925
1925
  p && i,
1926
1926
  vn(),
1927
1927
  S && i
1928
1928
  ] });
1929
- return /* @__PURE__ */ de(xt, { children: [
1929
+ return /* @__PURE__ */ ce(xt, { children: [
1930
1930
  /* @__PURE__ */ u("div", { className: `${f}-container`, children: /* @__PURE__ */ u("div", { className: `${f}-content-scroll`, children: /* @__PURE__ */ u(
1931
1931
  "div",
1932
1932
  {
1933
1933
  className: `${f}-content-inner`,
1934
1934
  onScroll: ve ? void 0 : Sn,
1935
- children: ve || c ? B : /* @__PURE__ */ de(Re, { ref: pe, style: n, children: [
1936
- /* @__PURE__ */ u(mt, { prefixCls: f, columns: U }),
1935
+ children: ve || c ? B : /* @__PURE__ */ ce(Se, { ref: ue, style: n, children: [
1936
+ /* @__PURE__ */ u(mt, { prefixCls: f, columns: Y }),
1937
1937
  B
1938
1938
  ] })
1939
1939
  }
1940
1940
  ) }) }),
1941
- typeof Y == "function" && /* @__PURE__ */ u("div", { className: `${f}-footer`, children: Y(Je) })
1941
+ typeof j == "function" && /* @__PURE__ */ u("div", { className: `${f}-footer`, children: j(Je) })
1942
1942
  ] });
1943
1943
  }
1944
1944
  if (!R.length)
1945
1945
  return null;
1946
- const En = q(k) ? k.wrapper : k, St = q(k) ? k.cell : E, In = q(k) ? k.cell || k.headerCell : E, Pn = q(k) ? k.cell || k.bodyCell : E, An = Z(
1946
+ const _n = q(k) ? k.wrapper : k, St = q(k) ? k.cell : _, In = q(k) ? k.cell || k.headerCell : _, Pn = q(k) ? k.cell || k.bodyCell : _, An = J(
1947
1947
  f,
1948
1948
  `${f}-size-${v}`,
1949
1949
  {
1950
- [`${f}-border`]: En,
1950
+ [`${f}-border`]: _n,
1951
1951
  [`${f}-border-cell`]: St,
1952
1952
  [`${f}-border-header-cell`]: !St && In,
1953
1953
  [`${f}-border-body-cell`]: !St && Pn,
1954
- [`${f}-stripe`]: j,
1955
- [`${f}-hover`]: Q,
1954
+ [`${f}-stripe`]: V,
1955
+ [`${f}-hover`]: X,
1956
1956
  [`${f}-type-radio`]: F && F.type === "radio",
1957
1957
  [`${f}-layout-fixed`]: H || m && (m.x || m.y) || R.find((n) => n.ellipsis),
1958
1958
  [`${f}-fixed-column`]: lt,
@@ -1960,14 +1960,14 @@ function Po(t, o) {
1960
1960
  [`${f}-rtl`]: s
1961
1961
  },
1962
1962
  N
1963
- ), Rt = I === "tl" || I === "tr" || I === "topCenter", Fn = Z(`${f}-pagination`, {
1963
+ ), Rt = I === "tl" || I === "tr" || I === "topCenter", Fn = J(`${f}-pagination`, {
1964
1964
  [`${f}-pagination-left`]: I === "tl" || I === "bl",
1965
1965
  [`${f}-pagination-center`]: I === "topCenter" || I === "bottomCenter",
1966
1966
  [`${f}-pagination-top`]: Rt
1967
1967
  });
1968
1968
  let ut = w.loading;
1969
1969
  typeof ut == "boolean" && (ut = { loading: ut });
1970
- const Gt = typeof L == "function" ? L(/* @__PURE__ */ u(en, { ...ct })) : /* @__PURE__ */ u("div", { className: Fn, children: /* @__PURE__ */ u(en, { ...ct }) }), Xt = z !== !1 && (ze.length !== 0 || ct.total > 0);
1970
+ const Gt = typeof L == "function" ? L(/* @__PURE__ */ u(en, { ...ct })) : /* @__PURE__ */ u("div", { className: Fn, children: /* @__PURE__ */ u(en, { ...ct }) }), Xt = z !== !1 && (We.length !== 0 || ct.total > 0);
1971
1971
  return /* @__PURE__ */ u(
1972
1972
  "div",
1973
1973
  {
@@ -1975,7 +1975,7 @@ function Po(t, o) {
1975
1975
  style: y,
1976
1976
  className: An,
1977
1977
  ...Un(w),
1978
- children: /* @__PURE__ */ de(
1978
+ children: /* @__PURE__ */ ce(
1979
1979
  Wn,
1980
1980
  {
1981
1981
  className: `${f}-spin`,
@@ -1983,7 +1983,7 @@ function Po(t, o) {
1983
1983
  ...ut,
1984
1984
  children: [
1985
1985
  Xt && Rt && Gt,
1986
- _n(),
1986
+ En(),
1987
1987
  Xt && !Rt && Gt
1988
1988
  ]
1989
1989
  }
@@ -1999,15 +1999,15 @@ function un(t) {
1999
1999
  }
2000
2000
  un.__PQB_TABLE_SUMMARY_CELL__ = !0;
2001
2001
  function Ao(t) {
2002
- const { rtl: o } = Be(Ge), { columns: r, stickyOffsets: h, stickyClassNames: e, prefixCls: d } = Be(dn), { children: l, ...a } = t, s = _e.Children.map(
2002
+ const { rtl: o } = Oe(qe), { columns: r, stickyOffsets: h, stickyClassNames: e, prefixCls: d } = Oe(dn), { children: l, ...a } = t, s = Ee.Children.map(
2003
2003
  l,
2004
2004
  (x) => x.props.colSpan || 1
2005
- ), w = _e.Children.map(l, (x, y) => {
2006
- var O, j;
2007
- const N = x, g = Ct(N, "type.__PQB_TABLE_SUMMARY_CELL__") || Ct(N, "props.$$PqbTableSummaryCell"), k = (O = N == null ? void 0 : N.props) == null ? void 0 : O.style, E = (j = N == null ? void 0 : N.props) == null ? void 0 : j.className, C = s.slice(0, y).reduce((Q, z) => Q + z, 0), m = r[C].fixed === "left" ? { [o ? "right" : "left"]: h[C] } : r[C].fixed === "right" ? { [o ? "left" : "right"]: h[C] } : {}, b = r[C].fixed === "left" || r[C].fixed === "right" ? e[C] : "";
2008
- return g ? _e.cloneElement(N, {
2005
+ ), w = Ee.Children.map(l, (x, y) => {
2006
+ var O, V;
2007
+ const N = x, g = Ct(N, "type.__PQB_TABLE_SUMMARY_CELL__") || Ct(N, "props.$$PqbTableSummaryCell"), k = (O = N == null ? void 0 : N.props) == null ? void 0 : O.style, _ = (V = N == null ? void 0 : N.props) == null ? void 0 : V.className, C = s.slice(0, y).reduce((X, z) => X + z, 0), m = r[C].fixed === "left" ? { [o ? "right" : "left"]: h[C] } : r[C].fixed === "right" ? { [o ? "left" : "right"]: h[C] } : {}, b = r[C].fixed === "left" || r[C].fixed === "right" ? e[C] : "";
2008
+ return g ? Ee.cloneElement(N, {
2009
2009
  ...N.props,
2010
- className: Z(`${d}-td`, b, E),
2010
+ className: J(`${d}-td`, b, _),
2011
2011
  style: { ...k, ...m }
2012
2012
  }) : x;
2013
2013
  });