@unicom-cloud/ui 0.8.112 → 0.8.113

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 (413) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +1 -1
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/ColorPicker.js +1 -1
  14. package/Comment.js +1 -1
  15. package/ConfigProvider.js +1 -1
  16. package/Copy.js +3 -47
  17. package/Countdown.js +16 -50
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Details.js +14 -50
  21. package/Development.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Dropdown.js +1 -1
  25. package/Empty.js +1 -1
  26. package/Flex.js +15 -51
  27. package/Form.js +1 -1
  28. package/Icon.js +1 -1
  29. package/IconHover.js +1 -1
  30. package/Image.js +1 -1
  31. package/InputNumber.js +1 -1
  32. package/Layout.js +1 -1
  33. package/Link.js +1 -1
  34. package/LiquidFill.js +16 -51
  35. package/List.js +1 -1
  36. package/Loading.js +14 -50
  37. package/Marquee.js +23 -46
  38. package/Mentions.js +1 -1
  39. package/Menu.js +1 -1
  40. package/Message.js +1 -1
  41. package/Modal.js +1 -1
  42. package/Notice.js +13 -49
  43. package/Notification.js +1 -1
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Popconfirm.js +1 -1
  47. package/Popover.js +1 -1
  48. package/Progress.js +1 -1
  49. package/QrCode.js +14 -51
  50. package/Radio.js +1 -1
  51. package/Rate.js +1 -1
  52. package/ResizeBox.js +1 -1
  53. package/Result.js +1 -1
  54. package/RichText.js +12 -13
  55. package/Segmented.js +15 -50
  56. package/Skeleton.js +1 -1
  57. package/Slider.js +1 -1
  58. package/Space.js +15 -51
  59. package/Spin.js +1 -1
  60. package/Statistic.js +1 -1
  61. package/Steps.js +1 -1
  62. package/Switch.js +1 -1
  63. package/Table.js +1 -1
  64. package/Tabs.js +1 -1
  65. package/Tag.js +1 -1
  66. package/Tooltip.js +1 -1
  67. package/Tour.js +17 -53
  68. package/Transfer.js +1 -1
  69. package/Tree.js +1 -1
  70. package/TreeSelect.js +1 -1
  71. package/Trigger.js +1 -1
  72. package/affix/index.js +1 -1
  73. package/alert/index.js +1 -1
  74. package/anchor/Anchor.js +2 -2
  75. package/anchor/Link.js +1 -1
  76. package/app/App.js +2 -2
  77. package/auto-complete/index.js +1 -1
  78. package/avatar/Avatar.js +1 -1
  79. package/avatar/Group.js +1 -1
  80. package/back-top/index.js +1 -1
  81. package/badge/index.js +1 -1
  82. package/breadcrumb/index.js +2 -2
  83. package/button/Group.js +1 -1
  84. package/button/index.js +1 -1
  85. package/calendar/index.js +2 -2
  86. package/card/Grid.js +1 -1
  87. package/card/Meta.js +1 -1
  88. package/card/index.js +1 -1
  89. package/carousel/Arrow.js +1 -1
  90. package/carousel/Indicator.js +1 -1
  91. package/carousel/index.js +1 -1
  92. package/cascader/Cascader.js +3 -3
  93. package/cascader/index.js +1 -1
  94. package/cascader/util.js +1 -1
  95. package/checkbox/Checkbox.js +2 -2
  96. package/checkbox/Group.js +2 -2
  97. package/checkbox/GroupBlock.js +2 -2
  98. package/checkbox/index.js +2 -2
  99. package/chunk/{0BhDjhcd.js → 3t4FwEoB.js} +1 -1
  100. package/chunk/{KPBMJlOB.js → BHAu6wbC.js} +1 -1
  101. package/chunk/{DhAvt6tJ.js → Bcl7dWlJ.js} +2 -2
  102. package/chunk/{CrOzsnI0.js → Bl3hZtxi.js} +1 -1
  103. package/chunk/{BfVlSL8A.js → Bzx5BueA.js} +3 -3
  104. package/chunk/CVMFAeSw.js +39 -0
  105. package/chunk/{C1vY8016.js → CYDaUML7.js} +77 -108
  106. package/chunk/{CYssV-zz.js → CbXCgtzv.js} +65 -99
  107. package/chunk/ClNkxEcR.js +154 -0
  108. package/chunk/{DfUcAhyT.js → CwLSam2p.js} +2 -2
  109. package/chunk/Cy26_CKq.js +33 -0
  110. package/chunk/{BiZSULcr.js → D0dVE1v1.js} +317 -350
  111. package/chunk/{CtCFA4ht.js → DA5AMZwY.js} +3 -3
  112. package/chunk/{DfbO4QTS.js → DB0hUIM1.js} +1 -1
  113. package/chunk/{DMv8Hn4u.js → De8RLlOK.js} +1 -1
  114. package/chunk/{C3kH2ES3.js → DrYaod6k.js} +1 -1
  115. package/chunk/{CylbdYce.js → DzlfiVe2.js} +1 -1
  116. package/chunk/gJsdBcpG.js +10 -0
  117. package/chunk/{Cx92e1S8.js → yWKJUe_w.js} +3 -3
  118. package/collapse/Collapse.js +1 -1
  119. package/collapse/Item.js +1 -1
  120. package/color-picker/ControlBar.js +1 -1
  121. package/color-picker/InputAlpha.js +1 -1
  122. package/color-picker/InputHex.js +1 -1
  123. package/color-picker/InputRgb.js +1 -1
  124. package/color-picker/Palette.js +1 -1
  125. package/color-picker/Panel.js +2 -2
  126. package/color-picker/index.js +1 -1
  127. package/comment/index.js +1 -1
  128. package/config-provider/ConfigProvider.js +1 -1
  129. package/config-provider/context.js +1 -1
  130. package/config-provider/index.js +2 -2
  131. package/copy/index.js +22 -66
  132. package/countdown/index.js +41 -75
  133. package/date-picker/Picker.js +1 -1
  134. package/date-picker/RangePicker.js +2 -2
  135. package/date-picker/index.js +1 -1
  136. package/descriptions/index.js +1 -1
  137. package/details/index.js +46 -82
  138. package/development/index.js +1 -1
  139. package/divider/index.js +1 -1
  140. package/draggable/index.js +1 -1
  141. package/drawer/Drawer.js +1 -1
  142. package/dropdown/Button.js +1 -1
  143. package/dropdown/index.js +1 -1
  144. package/empty/index.js +1 -1
  145. package/flex/index.js +37 -71
  146. package/form/Form.js +2 -2
  147. package/form/FormItem.js +1 -1
  148. package/form/index.js +1 -1
  149. package/grid/Grid.js +1 -1
  150. package/grid/Item.js +1 -1
  151. package/hooks/index.js +6 -6
  152. package/hooks/useId.js +1 -1
  153. package/hooks/useResizeObserver.js +7 -50
  154. package/hooks/useStateWithPromise.js +1 -1
  155. package/hooks/useWindowSize.js +1 -1
  156. package/icon/index.js +1 -1
  157. package/icon-hover/index.js +1 -1
  158. package/icons/file.js +1 -1
  159. package/image/Image.js +2 -2
  160. package/image/ImagePreview.js +17 -52
  161. package/image/ImagePreviewArrow.js +1 -1
  162. package/image/ImagePreviewGroup.js +1 -1
  163. package/image/index.js +1 -1
  164. package/index.js +379 -378
  165. package/input/Button.js +1 -1
  166. package/input/Group.js +1 -1
  167. package/input/Input.js +1 -1
  168. package/input/InputElement.js +1 -1
  169. package/input/Password.js +1 -1
  170. package/input/Search.js +1 -1
  171. package/input/Textarea.js +1 -1
  172. package/input-number/index.js +1 -1
  173. package/input-tag/InputTag.js +1 -1
  174. package/layout/Content.js +1 -1
  175. package/layout/Footer.js +1 -1
  176. package/layout/Header.js +1 -1
  177. package/layout/Sider.js +1 -1
  178. package/layout/index.js +1 -1
  179. package/link/index.js +1 -1
  180. package/liquid-fill/index.js +56 -91
  181. package/list/Item.js +1 -1
  182. package/list/Meta.js +1 -1
  183. package/list/index.js +1 -1
  184. package/loading/index.js +26 -62
  185. package/marquee/index.js +70 -93
  186. package/marquee-/index.js +73 -96
  187. package/mentions/index.js +1 -1
  188. package/menu/Menu.js +3 -3
  189. package/menu/OverflowWrap.js +1 -1
  190. package/menu/index.js +2 -2
  191. package/message/index.js +1 -1
  192. package/message/useMessage.js +1 -1
  193. package/modal/Confirm.js +2 -2
  194. package/modal/Modal.js +2 -2
  195. package/modal/index.js +2 -2
  196. package/notice/index.js +13 -49
  197. package/notification/index.js +1 -1
  198. package/notification/useNotification.js +1 -1
  199. package/overflow-ellipsis/OverflowItem.js +1 -1
  200. package/overflow-ellipsis/index.js +1 -1
  201. package/package.json +1 -1
  202. package/page-header/index.js +1 -1
  203. package/pagination/PageItem.js +1 -1
  204. package/pagination/PageJumper.js +1 -1
  205. package/pagination/PageOption.js +1 -1
  206. package/pagination/Pagination.js +1 -1
  207. package/picker/Input.js +1 -1
  208. package/picker/InputRange.js +1 -1
  209. package/popconfirm/index.js +1 -1
  210. package/popover/index.js +1 -1
  211. package/progress/CircleProgress.js +1 -1
  212. package/progress/index.js +1 -1
  213. package/qr-code/index.js +26 -63
  214. package/radio/Group.js +2 -2
  215. package/radio/GroupBlock.js +2 -2
  216. package/radio/Radio.js +2 -2
  217. package/radio/index.js +2 -2
  218. package/rate/index.js +1 -1
  219. package/resize-box/ResizeTrigger.js +1 -1
  220. package/resize-box/Split.js +1 -1
  221. package/resize-box/SplitGroup.js +1 -1
  222. package/resize-box/index.js +1 -1
  223. package/result/index.js +1 -1
  224. package/rich-text/index.js +6332 -77
  225. package/rich-text/lib/diff/index.d.ts +21 -0
  226. package/row-col/Col-.js +1 -1
  227. package/row-col/Col.js +1 -1
  228. package/row-col/Row.js +1 -1
  229. package/segmented/index.js +118 -153
  230. package/select/Option.js +44 -41
  231. package/select/Select.js +10 -12
  232. package/select-view/Core.js +1 -1
  233. package/skeleton/index.js +1 -1
  234. package/slider/Button.js +1 -1
  235. package/slider/index.js +1 -1
  236. package/space/index.js +23 -59
  237. package/spin/DotLoading.js +1 -1
  238. package/spin/index.js +1 -1
  239. package/splitter/Panel.js +1 -1
  240. package/splitter/SplitBar.js +2 -2
  241. package/splitter/Splitter.js +2 -2
  242. package/statistic/index.js +1 -1
  243. package/steps/index.js +1 -1
  244. package/style.css +1 -1
  245. package/switch/index.js +1 -1
  246. package/table/Table.js +14 -53
  247. package/table/index.js +77 -120
  248. package/tabs/Tab.js +3 -3
  249. package/tabs/TabContent.js +2 -2
  250. package/tabs/TabPane.js +1 -1
  251. package/tabs/index.js +2 -2
  252. package/tag/index.js +1 -1
  253. package/time-picker/Picker.js +1 -1
  254. package/time-picker/TimePicker.js +1 -1
  255. package/timeline/Item.js +1 -1
  256. package/timeline/Timeline.js +1 -1
  257. package/tooltip/index.js +1 -1
  258. package/tour/index.js +80 -116
  259. package/transfer/Item.js +2 -2
  260. package/transfer/List.js +2 -2
  261. package/transfer/index.js +1 -1
  262. package/tree/Animation.js +2 -2
  263. package/tree/Node.js +3 -3
  264. package/tree/NodeList.js +1 -1
  265. package/tree/Tree.js +2 -2
  266. package/tree/index.js +1 -1
  267. package/tree-select/Select.js +3 -3
  268. package/tree-select/index.js +1 -1
  269. package/trigger/index.js +1 -1
  270. package/types/common/hooks/src/use-theme/index.d.ts +2 -2
  271. package/types/common/hooks/useStateWithPromise.d.ts +1 -1
  272. package/types/common/utils/dom.d.ts +12 -0
  273. package/types/pc/carousel/interface.d.ts +2 -2
  274. package/types/pc/color-picker/Panel.d.ts +1 -1
  275. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  276. package/types/pc/index.d.ts +1 -1
  277. package/types/pc/list/interface.d.ts +2 -2
  278. package/types/pc/menu/context.d.ts +1 -1
  279. package/types/pc/rich-text/index.d.ts +7 -4
  280. package/types/pc/rich-text/interface.d.ts +3 -2
  281. package/types/pc/rich-text/{core → lib/core}/editor.d.ts +1 -1
  282. package/types/pc/rich-text/{core → lib/core}/rich.d.ts +3 -7
  283. package/types/pc/rich-text/{core → lib/core}/selection.d.ts +1 -0
  284. package/types/pc/rich-text/{core.d.ts → lib/core.d.ts} +1 -1
  285. package/types/pc/rich-text/lib/delta/AttributeMap.d.ts +15 -0
  286. package/types/pc/rich-text/lib/delta/Op.d.ts +13 -0
  287. package/types/pc/rich-text/lib/delta/OpIterator.d.ts +14 -0
  288. package/types/pc/rich-text/lib/delta/index.d.ts +53 -0
  289. package/types/pc/rich-text/lib/diff/index.d.ts +40 -0
  290. package/types/pc/rich-text/{formats → lib/formats}/bold.d.ts +1 -1
  291. package/types/pc/rich-text/{formats → lib/formats}/font.d.ts +1 -1
  292. package/types/pc/rich-text/lib/formats/hr.d.ts +5 -0
  293. package/types/pc/rich-text/lib/formats/image-resize/index.d.ts +27 -0
  294. package/types/pc/rich-text/lib/formats/image-resize/modules/BaseModule.d.ts +10 -0
  295. package/types/pc/rich-text/lib/formats/image-resize/modules/DisplaySize.d.ts +5 -0
  296. package/types/pc/rich-text/lib/formats/image-resize/modules/Resize.d.ts +13 -0
  297. package/types/pc/rich-text/lib/formats/image-resize/options.d.ts +7 -0
  298. package/types/pc/rich-text/lib/formats/liOl.d.ts +10 -0
  299. package/types/pc/rich-text/lib/formats/liUl.d.ts +10 -0
  300. package/types/pc/rich-text/lib/formats/lineHeight.d.ts +3 -0
  301. package/types/pc/rich-text/{formats → lib/formats}/list.d.ts +1 -0
  302. package/types/pc/rich-text/{formats → lib/formats}/table.d.ts +3 -3
  303. package/types/pc/rich-text/{modules → lib/modules}/clipboard.d.ts +2 -2
  304. package/types/pc/rich-text/{modules → lib/modules}/history.d.ts +1 -1
  305. package/types/pc/rich-text/{modules → lib/modules}/keyboard.d.ts +1 -1
  306. package/types/pc/rich-text/{modules → lib/modules}/syntax.d.ts +2 -2
  307. package/types/pc/rich-text/{modules → lib/modules}/tableEmbed.d.ts +3 -3
  308. package/types/pc/rich-text/{modules → lib/modules}/toolbar.d.ts +1 -1
  309. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/attributor.d.ts +3 -3
  310. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/style.d.ts +2 -2
  311. package/types/pc/rich-text/{ui → lib/ui}/icons.d.ts +5 -1
  312. package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -0
  313. package/types/pc/tabs/hook/useDomSize.d.ts +2 -2
  314. package/types/pc/tabs/hook/useHeaderScroll.d.ts +2 -2
  315. package/types/pc/tree-select/hook/useStateValue.d.ts +2 -2
  316. package/types/pc/utils/date.d.ts +1 -0
  317. package/types/pc/utils/index.d.ts +2 -2
  318. package/typography/Base.js +1 -1
  319. package/typography/Ellipsis.js +70 -114
  320. package/typography/Operations.js +29 -74
  321. package/typography/Paragraph.js +1 -1
  322. package/typography/Typography.js +1 -1
  323. package/upload/TriggerNode.js +1 -1
  324. package/upload/Upload.js +1 -1
  325. package/utils/contextHolder.js +1 -1
  326. package/utils/date.js +1 -0
  327. package/utils/index.js +70 -70
  328. package/verification-code/VerificationCode.js +1 -1
  329. package/version/index.js +1 -1
  330. package/virtual-list/VirtualList.js +218 -217
  331. package/watermark/Watermark.js +1 -1
  332. package/chunk/BCmfDFV4.js +0 -4237
  333. package/chunk/BG6j6Ct7.js +0 -30
  334. package/chunk/C5CbL5ku.js +0 -56
  335. package/chunk/DsuIQH0F.js +0 -200
  336. package/chunk/vP3qfmKM.js +0 -84
  337. package/rich-text/core.js +0 -11
  338. package/rich-text/rich.js +0 -1347
  339. package/types/common/utils/index.d.ts +0 -47
  340. package/types/common/utils/keyboardCode.d.ts +0 -4
  341. package/types/common/utils/math.d.ts +0 -1
  342. package/types/common/utils/reactTransitionGroup.d.ts +0 -1
  343. package/types/common/utils/uuid.d.ts +0 -1
  344. package/types/common/utils/validate.d.ts +0 -1
  345. package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
  346. package/types/pc/rich-text/delta/Op.d.ts +0 -11
  347. package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
  348. package/types/pc/rich-text/delta/index.d.ts +0 -45
  349. package/types/common/hooks/src/utils/{index.d.ts → is.d.ts} +0 -0
  350. package/types/pc/rich-text/{blots → lib/blots}/block.d.ts +0 -0
  351. package/types/pc/rich-text/{blots → lib/blots}/break.d.ts +0 -0
  352. package/types/pc/rich-text/{blots → lib/blots}/container.d.ts +0 -0
  353. package/types/pc/rich-text/{blots → lib/blots}/cursor.d.ts +0 -0
  354. package/types/pc/rich-text/{blots → lib/blots}/embed.d.ts +0 -0
  355. package/types/pc/rich-text/{blots → lib/blots}/inline.d.ts +0 -0
  356. package/types/pc/rich-text/{blots → lib/blots}/scroll.d.ts +0 -0
  357. package/types/pc/rich-text/{blots → lib/blots}/text.d.ts +0 -0
  358. package/types/pc/rich-text/{core → lib/core}/composition.d.ts +0 -0
  359. package/types/pc/rich-text/{core → lib/core}/emitter.d.ts +0 -0
  360. package/types/pc/rich-text/{core → lib/core}/instances.d.ts +0 -0
  361. package/types/pc/rich-text/{core → lib/core}/logger.d.ts +0 -0
  362. package/types/pc/rich-text/{core → lib/core}/module.d.ts +0 -0
  363. package/types/pc/rich-text/{core → lib/core}/theme.d.ts +0 -0
  364. package/types/pc/rich-text/{core → lib/core}/utils/createRegistryWithFormats.d.ts +0 -0
  365. package/types/pc/rich-text/{core → lib/core}/utils/scrollRectIntoView.d.ts +0 -0
  366. package/types/pc/rich-text/{formats → lib/formats}/align.d.ts +0 -0
  367. package/types/pc/rich-text/{formats → lib/formats}/background.d.ts +0 -0
  368. package/types/pc/rich-text/{formats → lib/formats}/blockquote.d.ts +0 -0
  369. package/types/pc/rich-text/{formats → lib/formats}/code.d.ts +0 -0
  370. package/types/pc/rich-text/{formats → lib/formats}/color.d.ts +0 -0
  371. package/types/pc/rich-text/{formats → lib/formats}/direction.d.ts +0 -0
  372. package/types/pc/rich-text/{formats → lib/formats}/formula.d.ts +0 -0
  373. package/types/pc/rich-text/{formats → lib/formats}/header.d.ts +0 -0
  374. package/types/pc/rich-text/{formats → lib/formats}/image.d.ts +0 -0
  375. package/types/pc/rich-text/{formats → lib/formats}/indent.d.ts +0 -0
  376. package/types/pc/rich-text/{formats → lib/formats}/italic.d.ts +0 -0
  377. package/types/pc/rich-text/{formats → lib/formats}/link.d.ts +0 -0
  378. package/types/pc/rich-text/{formats → lib/formats}/script.d.ts +0 -0
  379. package/types/pc/rich-text/{formats → lib/formats}/size.d.ts +0 -0
  380. package/types/pc/rich-text/{formats → lib/formats}/strike.d.ts +0 -0
  381. package/types/pc/rich-text/{formats → lib/formats}/underline.d.ts +0 -0
  382. package/types/pc/rich-text/{formats → lib/formats}/video.d.ts +0 -0
  383. package/types/pc/rich-text/{rich.d.ts → lib/index.d.ts} +0 -0
  384. package/types/pc/rich-text/{modules → lib/modules}/input.d.ts +0 -0
  385. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/index.d.ts +0 -0
  386. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
  387. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
  388. package/types/pc/rich-text/{modules → lib/modules}/table.d.ts +0 -0
  389. package/types/pc/rich-text/{modules → lib/modules}/uiNode.d.ts +0 -0
  390. package/types/pc/rich-text/{modules → lib/modules}/uploader.d.ts +0 -0
  391. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/class.d.ts +0 -0
  392. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/store.d.ts +0 -0
  393. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/blot.d.ts +0 -0
  394. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/container.d.ts +0 -0
  395. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/leaf.d.ts +0 -0
  396. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/parent.d.ts +0 -0
  397. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/shadow.d.ts +0 -0
  398. package/types/pc/rich-text/{parchment → lib/parchment}/blot/block.d.ts +0 -0
  399. package/types/pc/rich-text/{parchment → lib/parchment}/blot/embed.d.ts +0 -0
  400. package/types/pc/rich-text/{parchment → lib/parchment}/blot/inline.d.ts +0 -0
  401. package/types/pc/rich-text/{parchment → lib/parchment}/blot/scroll.d.ts +0 -0
  402. package/types/pc/rich-text/{parchment → lib/parchment}/blot/text.d.ts +0 -0
  403. package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-list.d.ts +0 -0
  404. package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-node.d.ts +0 -0
  405. package/types/pc/rich-text/{parchment → lib/parchment}/error.d.ts +0 -0
  406. package/types/pc/rich-text/{parchment → lib/parchment}/index.d.ts +1 -1
  407. /package/types/pc/rich-text/{parchment → lib/parchment}/registry.d.ts +0 -0
  408. /package/types/pc/rich-text/{parchment → lib/parchment}/scope.d.ts +0 -0
  409. /package/types/pc/rich-text/{themes → lib/themes}/base.d.ts +0 -0
  410. /package/types/pc/rich-text/{themes → lib/themes}/pqb.d.ts +0 -0
  411. /package/types/pc/rich-text/{ui → lib/ui}/color-picker.d.ts +0 -0
  412. /package/types/pc/rich-text/{ui → lib/ui}/icon-picker.d.ts +0 -0
  413. /package/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +0 -0
@@ -1,91 +1,58 @@
1
1
  import { jsx as o, jsxs as le, Fragment as gt } from "react/jsx-runtime";
2
2
  import Hn from "lodash/throttle";
3
3
  import Xe, { useMemo as ie, useCallback as Ze, useState as he, useRef as se, useContext as He, useEffect as et, forwardRef as Kt, createElement as tt, createContext as Ln, useImperativeHandle as An } from "react";
4
- import { a as nt } from "./C1vY8016.js";
4
+ import { a as nt } from "./CYDaUML7.js";
5
5
  import { u as Wn } from "./CAA93JLq.js";
6
6
  import { u as Gt } from "./FgWHhRFz.js";
7
7
  import "./DsaQZE4X.js";
8
- import "@unicom-cloud/utils/date";
9
- import "@unicom-cloud/utils/case-name";
10
- import Z from "@unicom-cloud/utils/class-name";
11
- import "@unicom-cloud/utils/constant/ui";
12
- import "@unicom-cloud/utils/clipboard-copy";
13
- import "./DS_deHpN.js";
14
- import { b as Tt, o as Et } from "./d1c9z8T1.js";
15
- import "@unicom-cloud/utils/emitter";
16
- import "@unicom-cloud/utils/file/fileToURL";
17
- import "lodash/escapeRegExp";
18
- import Ee from "lodash/isArray";
19
- import ht from "lodash/isNumber";
20
- import Ye from "lodash/isString";
21
- import Qe from "lodash/isFunction";
22
- import "lodash/camelCase";
23
- import "lodash/capitalize";
24
- import "lodash/cloneDeep";
25
- import "lodash/debounce";
26
- import Jt from "lodash/get";
27
- import "lodash/has";
28
- import "lodash/kebabCase";
29
- import Mn from "lodash/merge";
30
- import "lodash/mergeWith";
31
- import "lodash/set";
32
- import "lodash/setWith";
33
- import "lodash/snakeCase";
34
- import "lodash/startCase";
35
- import "lodash/uniq";
36
- import "lodash/upperFirst";
37
- import "@unicom-cloud/utils/math";
38
- import Te from "lodash/isPlainObject";
39
- import { p as zn, a as Vn } from "./ClqoGc3r.js";
40
- import "@unicom-cloud/utils/pinyin";
41
- import "./BJ9_azwQ.js";
42
- import "./CXrVhA6-.js";
43
- import { r as jn } from "./CHQ8c547.js";
44
- import "@unicom-cloud/utils/file/saveAs";
45
- import "@unicom-cloud/utils/screenfull";
46
- import "@unicom-cloud/utils/constant/ui.js";
47
- import "@unicom-cloud/utils/tinycolor";
48
- import "@unicom-cloud/utils/ui-color";
49
- import "react-is";
50
- import "@unicom-cloud/utils/tree";
51
- import { isArray as Ue, isPlainObject as we, isFunction as Be, isNumber as Qt } from "@unicom-cloud/utils/is";
52
- import "uuid";
53
- import "./hc_ufgVf.js";
54
- import "@unicom-cloud/utils/constant/keyboardCode";
55
8
  import "@unicom-cloud/utils/constant/platform";
56
9
  import "./CdXR6dj7.js";
57
10
  import "@unicom-cloud/utils/js-cookie";
58
11
  import "dayjs";
12
+ import "lodash/debounce";
59
13
  import { u as Ft } from "./DfChiMIE.js";
60
- import "./DsuIQH0F.js";
61
- import { u as Un } from "./CrOzsnI0.js";
14
+ import "@unicom-cloud/utils/screenfull";
15
+ import "./ClNkxEcR.js";
16
+ import Te from "lodash/isPlainObject";
17
+ import { u as Mn } from "./Bl3hZtxi.js";
62
18
  import "@unicom-cloud/utils/query-string";
63
19
  import "react-router";
64
- import { u as Yn } from "./vP3qfmKM.js";
65
- import Zt from "../pagination/Pagination.js";
66
- import Xn from "../spin/index.js";
67
- import yt from "../table/ColGroup.js";
20
+ import { u as zn } from "./CVMFAeSw.js";
21
+ import Jt from "../pagination/Pagination.js";
22
+ import Vn from "../spin/index.js";
23
+ import G from "@unicom-cloud/utils/class-name";
24
+ import { b as Tt, o as Et } from "./d1c9z8T1.js";
25
+ import { p as jn, a as Un } from "./ClqoGc3r.js";
26
+ import { r as Yn } from "./CHQ8c547.js";
27
+ import ht from "../table/ColGroup.js";
68
28
  import { TableContext as _t } from "../table/context.js";
69
- import { defaultComponent as en, INTERNAL_EXPAND_KEY as xt, INTERNAL_SELECTION_KEY as Ct } from "../table/constant.js";
70
- import { getOriginData as Q, isChildrenNotEmpty as It, getSelectedKeysByData as qn, getSelectedKeys as Gn, getSorterPriority as Ot, getSorterFn as Dt, px2Number as Pt, deepCloneData as Jn, getScrollBarHeight as Qn, getScrollBarWidth as Zn } from "../table/util.js";
29
+ import Ee from "lodash/isArray";
30
+ import { defaultComponent as Qt, INTERNAL_EXPAND_KEY as xt, INTERNAL_SELECTION_KEY as Ct } from "../table/constant.js";
31
+ import Xn from "lodash/merge";
32
+ import { getOriginData as Z, isChildrenNotEmpty as It, getSelectedKeysByData as qn, getSelectedKeys as Gn, getSorterPriority as Ot, getSorterFn as Dt, px2Number as Pt, deepCloneData as Jn, getScrollBarHeight as Qn, getScrollBarWidth as Zn } from "../table/util.js";
33
+ import yt from "lodash/isNumber";
71
34
  import eo from "../virtual-list/VirtualList.js";
72
35
  import to from "@unicom-cloud/icons/IconUiMinus";
73
36
  import no from "@unicom-cloud/icons/IconUiPlus";
74
- import { C as Bt } from "./C3kH2ES3.js";
75
- import { R as sn } from "./DMv8Hn4u.js";
37
+ import Ye from "lodash/isString";
38
+ import { C as Bt } from "./DrYaod6k.js";
39
+ import { R as sn } from "./De8RLlOK.js";
40
+ import Zt from "lodash/get";
41
+ import Qe from "lodash/isFunction";
76
42
  import { u as oo } from "./BJeTDXdz.js";
77
43
  import ln from "../tooltip/index.js";
78
44
  import { m as ro } from "./B5RFT17G.js";
79
45
  import so from "@unicom-cloud/icons/IconUiCaretDown";
80
46
  import io from "@unicom-cloud/icons/IconUiCaretUp";
81
47
  import lo from "@unicom-cloud/icons/IconUiFilter";
82
- import tn from "../button/index.js";
48
+ import en from "../button/index.js";
83
49
  import { u as ao } from "./2vdCeheu.js";
84
50
  import co from "../space/index.js";
85
51
  import fo from "../trigger/index.js";
52
+ import { isArray as Ue, isPlainObject as we, isFunction as Be, isNumber as tn } from "@unicom-cloud/utils/is";
86
53
  function Le(i) {
87
54
  const a = ie(
88
- () => Te(i) ? Mn({}, en, i) : en,
55
+ () => Te(i) ? Xn({}, Qt, i) : Qt,
89
56
  [i]
90
57
  );
91
58
  return {
@@ -105,25 +72,25 @@ function Le(i) {
105
72
  };
106
73
  }
107
74
  function nn(i, a) {
108
- const d = [];
75
+ const f = [];
109
76
  function w(t) {
110
77
  t && t.length > 0 && t.forEach((T) => {
111
- T[a] ? w(T[a]) : d.push({ ...T, key: T.dataIndex || T.key });
78
+ T[a] ? w(T[a]) : f.push({ ...T, key: T.dataIndex || T.key });
112
79
  });
113
80
  }
114
- return w(i), d;
81
+ return w(i), f;
115
82
  }
116
83
  function an(i, a) {
117
- let d = 0;
84
+ let f = 0;
118
85
  return i && i.length > 0 && i.forEach((w) => {
119
86
  const t = an(w[a], a) + 1;
120
- d = Math.max(t, d);
121
- }), d;
87
+ f = Math.max(t, f);
88
+ }), f;
122
89
  }
123
90
  function po(i) {
124
91
  const {
125
92
  component: a,
126
- rowSelection: d,
93
+ rowSelection: f,
127
94
  expandedRowRender: w,
128
95
  expandProps: t = {},
129
96
  columns: T = [],
@@ -131,7 +98,7 @@ function po(i) {
131
98
  } = i, S = ie(() => T || [], [T]), c = ie(
132
99
  () => nn(S, r),
133
100
  [S, r]
134
- ), N = d && d.type === "checkbox" || d && !("type" in d), E = d && d.type === "radio", { width: f } = t, y = !!w, h = N || E, { getHeaderComponentOperations: v, getBodyComponentOperations: O } = Le(a), g = ie(
101
+ ), N = f && f.type === "checkbox" || f && !("type" in f), E = f && f.type === "radio", { width: p } = t, y = !!w, h = N || E, { getHeaderComponentOperations: v, getBodyComponentOperations: O } = Le(a), g = ie(
135
102
  () => v({
136
103
  selectionNode: h ? "holder_node" : "",
137
104
  expandNode: y ? "holder_node" : ""
@@ -151,7 +118,7 @@ function po(i) {
151
118
  y,
152
119
  O
153
120
  ]
154
- ), m = d && d.fixed, _ = d && d.columnWidth, A = Ze(
121
+ ), m = f && f.fixed, _ = f && f.columnWidth, A = Ze(
155
122
  (U, I, R) => {
156
123
  const K = {}, W = [];
157
124
  U.forEach((l, x) => {
@@ -161,7 +128,7 @@ function po(i) {
161
128
  const H = y && {
162
129
  key: xt,
163
130
  title: xt,
164
- width: f,
131
+ width: p,
165
132
  $$isOperation: !0
166
133
  }, Y = h && {
167
134
  key: Ct,
@@ -193,7 +160,7 @@ function po(i) {
193
160
  }), W;
194
161
  },
195
162
  [
196
- f,
163
+ p,
197
164
  y,
198
165
  h,
199
166
  _,
@@ -239,7 +206,7 @@ function po(i) {
239
206
  g
240
207
  ]), F];
241
208
  }
242
- function uo(i, a, d) {
209
+ function uo(i, a, f) {
243
210
  const {
244
211
  defaultExpandedRowKeys: w,
245
212
  defaultExpandAllRows: t,
@@ -248,23 +215,23 @@ function uo(i, a, d) {
248
215
  onExpandedRowsChange: S,
249
216
  childrenColumnName: c = "children",
250
217
  expandProps: N
251
- } = i, [E, f] = he(
218
+ } = i, [E, p] = he(
252
219
  h()
253
220
  ), y = i.expandedRowKeys || E;
254
221
  function h() {
255
222
  let g = [];
256
223
  return i.expandedRowKeys ? g = i.expandedRowKeys : w ? g = w : t && (g = a.map((u, m) => {
257
- const _ = Q(u);
258
- return N && "rowExpandable" in N && typeof N.rowExpandable == "function" ? N.rowExpandable(_) && d(u) : typeof T == "function" ? T(_, m) && d(u) : It(u, c) && d(u);
224
+ const _ = Z(u);
225
+ return N && "rowExpandable" in N && typeof N.rowExpandable == "function" ? N.rowExpandable(_) && f(u) : typeof T == "function" ? T(_, m) && f(u) : It(u, c) && f(u);
259
226
  }).filter((u) => u)), g;
260
227
  }
261
228
  function v(g) {
262
- const u = y.indexOf(g) === -1, m = u ? y.concat(g) : y.filter((A) => g !== A), _ = a.filter((A) => m.indexOf(d(A)) !== -1).map((A) => d(A));
263
- f(_), O(g, u), S?.(_);
229
+ const u = y.indexOf(g) === -1, m = u ? y.concat(g) : y.filter((A) => g !== A), _ = a.filter((A) => m.indexOf(f(A)) !== -1).map((A) => f(A));
230
+ p(_), O(g, u), S?.(_);
264
231
  }
265
232
  function O(g, u) {
266
233
  r?.(
267
- Q(a.find((m) => d(m) === g)),
234
+ Z(a.find((m) => f(m) === g)),
268
235
  u
269
236
  );
270
237
  }
@@ -273,25 +240,25 @@ function uo(i, a, d) {
273
240
  function on(i) {
274
241
  return [...new Set(i)];
275
242
  }
276
- function mo(i, a, d, w) {
277
- const { rowSelection: t, childrenColumnName: T } = i, r = t?.selectedRowKeys, S = t?.onSelectAll, c = t?.onSelect, N = t?.onChange, E = t?.pureKeys, f = typeof t?.checkStrictly == "boolean" ? !t.checkStrictly : !1, y = t?.preserveSelectedRowKeys;
243
+ function mo(i, a, f, w) {
244
+ const { rowSelection: t, childrenColumnName: T } = i, r = t?.selectedRowKeys, S = t?.onSelectAll, c = t?.onSelect, N = t?.onChange, E = t?.pureKeys, p = typeof t?.checkStrictly == "boolean" ? !t.checkStrictly : !1, y = t?.preserveSelectedRowKeys;
278
245
  function h() {
279
246
  const l = [], x = [], b = (D) => {
280
247
  Ee(D) && D.length && D.forEach((C) => {
281
248
  const $ = w(C);
282
- (t && typeof t.checkboxProps == "function" ? t.checkboxProps(Q(C)) : {}).disabled || l.push($), It(C, i.childrenColumnName) && b(C[i.childrenColumnName]);
249
+ (t && typeof t.checkboxProps == "function" ? t.checkboxProps(Z(C)) : {}).disabled || l.push($), It(C, i.childrenColumnName) && b(C[i.childrenColumnName]);
283
250
  });
284
251
  };
285
252
  b(a);
286
253
  const L = (D, C) => {
287
254
  Ee(D) && D.length && D.forEach(($) => {
288
- if (C && f && ($.__INTERNAL_PARENT = C), x.push($), It($, i.childrenColumnName)) {
289
- const G = { ...$ };
290
- L($[i.childrenColumnName], G);
255
+ if (C && p && ($.__INTERNAL_PARENT = C), x.push($), It($, i.childrenColumnName)) {
256
+ const J = { ...$ };
257
+ L($[i.childrenColumnName], J);
291
258
  }
292
259
  });
293
260
  };
294
- return L(d, void 0), {
261
+ return L(f, void 0), {
295
262
  allSelectedRowKeys: l,
296
263
  flattenData: x
297
264
  };
@@ -301,8 +268,8 @@ function mo(i, a, d, w) {
301
268
  on(r || g),
302
269
  w,
303
270
  T,
304
- f
305
- ), F = f && !r ? g : A.selectedRowKeys, ee = f && !r ? m : A.indeterminateKeys, [X, U] = he(
271
+ p
272
+ ), F = p && !r ? g : A.selectedRowKeys, ee = p && !r ? m : A.indeterminateKeys, [X, U] = he(
306
273
  E ? [] : I(F)
307
274
  );
308
275
  function I(l, x) {
@@ -328,7 +295,7 @@ function mo(i, a, d, w) {
328
295
  );
329
296
  }
330
297
  E || (b = I(x, !0));
331
- const L = Q(b);
298
+ const L = Z(b);
332
299
  u(x), U(b), _([]), N?.(x, L), S?.(l, L);
333
300
  }
334
301
  function H(l, x) {
@@ -339,13 +306,13 @@ function mo(i, a, d, w) {
339
306
  m,
340
307
  w,
341
308
  T,
342
- f
343
- ), D = K(b), C = I(D, !0), $ = Q(C);
344
- u(D), U(C), _(L), c?.(l, Q(x), $), N?.(D, $);
309
+ p
310
+ ), D = K(b), C = I(D, !0), $ = Z(C);
311
+ u(D), U(C), _(L), c?.(l, Z(x), $), N?.(D, $);
345
312
  }
346
313
  function Y(l, x) {
347
- const b = [O.find((D) => w(D) === l)], L = Q(b);
348
- u([l]), c?.(!0, Q(x), L), N?.([l], L);
314
+ const b = [O.find((D) => w(D) === l)], L = Z(b);
315
+ u([l]), c?.(!0, Z(x), L), N?.([l], L);
349
316
  }
350
317
  return {
351
318
  selectedRowKeys: F,
@@ -359,36 +326,36 @@ function mo(i, a, d, w) {
359
326
  };
360
327
  }
361
328
  function ho(i, a) {
362
- const [d, w] = he(a), [t, T] = he({}), r = se(i), S = Ze(
329
+ const [f, w] = he(a), [t, T] = he({}), r = se(i), S = Ze(
363
330
  (E) => {
364
- const { field: f, direction: y } = E;
365
- return d.find((h) => h.field === f) ? y ? d.map(
366
- (h) => h.field === f ? E : h
367
- ) : d.filter((h) => h.field !== f) : y ? !ht(E.priority) || d.find((h) => !ht(h.priority)) ? [E] : [...d, E] : [...d];
331
+ const { field: p, direction: y } = E;
332
+ return f.find((h) => h.field === p) ? y ? f.map(
333
+ (h) => h.field === p ? E : h
334
+ ) : f.filter((h) => h.field !== p) : y ? !yt(E.priority) || f.find((h) => !yt(h.priority)) ? [E] : [...f, E] : [...f];
368
335
  },
369
- [d]
336
+ [f]
370
337
  ), c = Ze((E) => {
371
- const f = E.filter((h) => "sortOrder" in h);
338
+ const p = E.filter((h) => "sortOrder" in h);
372
339
  let y = [];
373
- return f.forEach((h) => {
340
+ return p.forEach((h) => {
374
341
  const v = Ot(h.sorter), O = h.sortOrder, g = {
375
342
  field: h.dataIndex || h.key,
376
343
  direction: O,
377
344
  sorterFn: Dt(h.sorter),
378
345
  priority: v
379
346
  };
380
- O ? ht(v) ? y.every((u) => ht(u.priority) || !u.direction) && y.push(g) : y.every((u) => !u.direction) ? y.push(g) : y = [g] : y.push(g);
347
+ O ? yt(v) ? y.every((u) => yt(u.priority) || !u.direction) && y.push(g) : y.every((u) => !u.direction) ? y.push(g) : y = [g] : y.push(g);
381
348
  }), y;
382
349
  }, []), N = Ze(
383
- (E, f) => {
384
- c(i).length || (w(f), T(E));
350
+ (E, p) => {
351
+ c(i).length || (w(p), T(E));
385
352
  },
386
353
  [i, c, w, T]
387
354
  );
388
355
  return Ft(() => {
389
- const E = r.current, f = c(E), y = c(i), h = f.map(
356
+ const E = r.current, p = c(E), y = c(i), h = p.map(
390
357
  (O) => O.field
391
- ), v = y.filter((O) => f.find(
358
+ ), v = y.filter((O) => p.find(
392
359
  ({ field: u, direction: m }) => O.field === u && O.direction !== m
393
360
  ) ? !0 : !h.includes(O.field));
394
361
  v && v.length && (w(y), T({})), r.current = i;
@@ -400,19 +367,19 @@ function ho(i, a) {
400
367
  w
401
368
  ]), {
402
369
  currentSorter: t,
403
- activeSorters: d,
370
+ activeSorters: f,
404
371
  getNextActiveSorters: S,
405
372
  updateStateSorters: N
406
373
  };
407
374
  }
408
- function yo(i, a, d) {
375
+ function yo(i, a, f) {
409
376
  const w = a.map((S) => S.fixed);
410
377
  function t(S, c) {
411
- return Z({
412
- [`${d}-col-fixed-left`]: S.fixed === "left",
413
- [`${d}-col-fixed-right`]: S.fixed === "right",
414
- [`${d}-col-fixed-left-last`]: S.fixed === "left" && (Te(a[c + 1]) ? a[c + 1].fixed !== "left" : !0),
415
- [`${d}-col-fixed-right-first`]: S.fixed === "right" && (Te(a[c - 1]) ? a[c - 1].fixed !== "right" : !0)
378
+ return G({
379
+ [`${f}-col-fixed-left`]: S.fixed === "left",
380
+ [`${f}-col-fixed-right`]: S.fixed === "right",
381
+ [`${f}-col-fixed-left-last`]: S.fixed === "left" && (Te(a[c + 1]) ? a[c + 1].fixed !== "left" : !0),
382
+ [`${f}-col-fixed-right-first`]: S.fixed === "right" && (Te(a[c - 1]) ? a[c - 1].fixed !== "right" : !0)
416
383
  });
417
384
  }
418
385
  const T = ie(() => a.map(
@@ -421,8 +388,8 @@ function yo(i, a, d) {
421
388
  return [ie(
422
389
  () => i.map((S) => S.map((c, N) => {
423
390
  let E = N;
424
- const f = c.$$columnIndex;
425
- return Ee(f) && f.length === 2 ? E = c.fixed === "right" ? f[0] : f[1] : typeof f == "number" && (E = f), t(c, E);
391
+ const p = c.$$columnIndex;
392
+ return Ee(p) && p.length === 2 ? E = c.fixed === "right" ? p[0] : p[1] : typeof p == "number" && (E = p), t(c, E);
426
393
  })),
427
394
  [
428
395
  i.map((S) => `|${S.map((c) => c.fixed || "undefined").join("-")}|`).join("_")
@@ -430,7 +397,7 @@ function yo(i, a, d) {
430
397
  ), T];
431
398
  }
432
399
  function go(i) {
433
- const a = i.map((t) => Pt(t.width)), d = i.map((t) => t.fixed);
400
+ const a = i.map((t) => Pt(t.width)), f = i.map((t) => t.fixed);
434
401
  return ie(() => i.map((t) => {
435
402
  let T = 0;
436
403
  return t.fixed === "left" && i.some((r) => {
@@ -450,14 +417,14 @@ function go(i) {
450
417
  }
451
418
  return !1;
452
419
  }), T;
453
- }), [a.join("-"), d.join("-")]);
420
+ }), [a.join("-"), f.join("-")]);
454
421
  }
455
422
  function xo(i) {
456
423
  return i && !Xe.isValidElement(i) && Te(i);
457
424
  }
458
425
  function Co(i) {
459
426
  const a = oo(), {
460
- component: d,
427
+ component: f,
461
428
  InnerComponentTd: w,
462
429
  column: t,
463
430
  columnIndex: T,
@@ -466,7 +433,7 @@ function Co(i) {
466
433
  stickyOffset: c,
467
434
  currentSorter: N,
468
435
  virtualized: E,
469
- record: f,
436
+ record: p,
470
437
  trIndex: y,
471
438
  level: h,
472
439
  placeholder: v = "-",
@@ -475,14 +442,14 @@ function Co(i) {
475
442
  rowKey: u,
476
443
  recordHaveChildren: m,
477
444
  haveTreeData: _
478
- } = i, { rtl: A } = He(nt), F = He(_t), { ComponentBodyCell: ee } = Le(d), X = se(null), U = se(null), I = se(null), R = se(null), K = t?.tooltip?.show !== !1 && t?.ellipsis, W = Z(
445
+ } = i, { rtl: A } = He(nt), F = He(_t), { ComponentBodyCell: ee } = Le(f), X = se(null), U = se(null), I = se(null), R = se(null), K = t?.tooltip?.show !== !1 && t?.ellipsis, W = G(
479
446
  `${r}-td`,
480
447
  S,
481
448
  {
482
449
  [`${r}-col-sorted`]: N && N.direction && N.field === t?.dataIndex
483
450
  },
484
451
  t?.className,
485
- Qe(t?.bodyClassName) ? t.bodyClassName(f, y) : t?.bodyClassName
452
+ Qe(t?.bodyClassName) ? t.bodyClassName(p, y) : t?.bodyClassName
486
453
  );
487
454
  let H = {}, Y, l, x = {};
488
455
  t?.fixed === "left" && (x[A ? "right" : "left"] = c), t?.fixed === "right" && (x[A ? "left" : "right"] = c), Te(t?.cellStyle) && (x = {
@@ -493,10 +460,10 @@ function Co(i) {
493
460
  ...t?.bodyCellStyle
494
461
  }), Qe(t?.bodyCellStyle) && (x = {
495
462
  ...x,
496
- ...t?.bodyCellStyle?.(f, y) ?? {}
463
+ ...t?.bodyCellStyle?.(p, y) ?? {}
497
464
  }), t?.align && (x.textAlign = t?.align), E && t.width && (x.width = t.width, x.minWidth = t.width, x.maxWidth = t.width);
498
465
  const { onHandleSave: b, ...L } = t?.onCell ? t?.onCell(
499
- f,
466
+ p,
500
467
  y,
501
468
  t,
502
469
  { rowKey: u }
@@ -504,31 +471,31 @@ function Co(i) {
504
471
  ) ?? {} : { onHandleSave: () => {
505
472
  } }, D = t?.render;
506
473
  let C = ie(() => D?.(
507
- Jt(f, t?.dataIndex ?? ""),
508
- Q(f),
474
+ Zt(p, t?.dataIndex ?? ""),
475
+ Z(p),
509
476
  y,
510
477
  t,
511
478
  // 潘启宝添加
512
479
  { rowKey: u }
513
480
  // 潘启宝添加
514
- ), [f, t, y]);
515
- if (Qe(D) || (C = Jt(f, t?.dataIndex ?? "")), xo(C) && (H = C?.props, Y = H?.rowSpan, l = H?.colSpan, C = C?.children), et(() => (a(), () => {
481
+ ), [p, t, y]);
482
+ if (Qe(D) || (C = Zt(p, t?.dataIndex ?? "")), xo(C) && (H = C?.props, Y = H?.rowSpan, l = H?.colSpan, C = C?.children), et(() => (a(), () => {
516
483
  }), [X.current, U.current]), Y === 0 || l === 0)
517
484
  return null;
518
485
  Ye(C) && (C = C.trim()), !C && C !== 0 && (C = t?.placeholder ?? v ?? "-");
519
486
  const $ = t?.ellipsis && Ye(C) && !K ? {
520
487
  title: C
521
- } : {}, G = _ && t?.$$isFirstColumn, p = G && m;
522
- let te = G && h > 0 ? O * h : 0;
523
- G && !m && (te += 20);
488
+ } : {}, J = _ && t?.$$isFirstColumn, d = J && m;
489
+ let te = J && h > 0 ? O * h : 0;
490
+ J && !m && (te += 20);
524
491
  function re(q) {
525
492
  a();
526
493
  }
527
- const J = `${T}-${y}-${te}-${p}`, pe = /* @__PURE__ */ o(
494
+ const Q = `${T}-${y}-${te}-${d}`, ue = /* @__PURE__ */ o(
528
495
  "div",
529
496
  {
530
497
  ref: X,
531
- className: Z(`${r}-cell`, {
498
+ className: G(`${r}-cell`, {
532
499
  [`${r}-cell-text-ellipsis`]: t?.ellipsis
533
500
  }),
534
501
  ...$,
@@ -539,7 +506,7 @@ function Co(i) {
539
506
  ref: U,
540
507
  className: `${r}-cell-wrap-value`,
541
508
  ...Ye(ee) ? {} : {
542
- rowData: Q(f),
509
+ rowData: Z(p),
543
510
  column: t,
544
511
  onHandleSave: b,
545
512
  ...L
@@ -553,12 +520,12 @@ function Co(i) {
553
520
  style: { paddingLeft: te }
554
521
  }
555
522
  ),
556
- !!p && /* @__PURE__ */ o(
523
+ !!d && /* @__PURE__ */ o(
557
524
  "span",
558
525
  {
559
526
  ref: R,
560
527
  className: `${r}-cell-expand-icon`,
561
- children: g(f, u)
528
+ children: g(p, u)
562
529
  }
563
530
  ),
564
531
  i.___dangerouslySetInnerHTML___ && Ye(C) ? /* @__PURE__ */ o(
@@ -571,17 +538,17 @@ function Co(i) {
571
538
  ) : C
572
539
  ]
573
540
  },
574
- J
541
+ Q
575
542
  )
576
543
  },
577
- J
544
+ Q
578
545
  );
579
546
  let V = /* @__PURE__ */ o(
580
547
  w,
581
548
  {
582
549
  className: W,
583
550
  style: x,
584
- ...zn(L, [
551
+ ...jn(L, [
585
552
  "onClick",
586
553
  "onDoubleClick",
587
554
  "onContextMenu",
@@ -593,19 +560,19 @@ function Co(i) {
593
560
  "onMouseUp"
594
561
  ]),
595
562
  ...H,
596
- children: pe
563
+ children: ue
597
564
  },
598
565
  t?.key || t?.dataIndex || T
599
566
  );
600
567
  if (K) {
601
- let q = 0, ue = 0, de = 0, me = 0;
602
- if (X.current instanceof Element && (q = X.current.getBoundingClientRect().width), U.current instanceof Element && (ue = U.current.getBoundingClientRect().width), I.current instanceof Element && (de = I.current.getBoundingClientRect().width), R.current instanceof Element && (me = R.current.getBoundingClientRect().width), q < ue + de + me) {
603
- const xe = t?.tooltip?.render, Ce = Qe(xe) ? xe(f, y, t) : t?.tooltip?.content ?? ro(V);
568
+ let q = 0, fe = 0, ae = 0, me = 0;
569
+ if (X.current instanceof Element && (q = X.current.getBoundingClientRect().width), U.current instanceof Element && (fe = U.current.getBoundingClientRect().width), I.current instanceof Element && (ae = I.current.getBoundingClientRect().width), R.current instanceof Element && (me = R.current.getBoundingClientRect().width), q < fe + ae + me) {
570
+ const xe = t?.tooltip?.render, Ce = Qe(xe) ? xe(p, y, t) : t?.tooltip?.content ?? ro(V);
604
571
  V = /* @__PURE__ */ o(
605
572
  ln,
606
573
  {
607
574
  ...t?.tooltip,
608
- className: Z(
575
+ className: G(
609
576
  `${r}-cell-tooltip`,
610
577
  t?.tooltip?.className
611
578
  ),
@@ -621,7 +588,7 @@ function Co(i) {
621
588
  const wo = Xe.memo(Co);
622
589
  function So(i, a) {
623
590
  const {
624
- expandedRowRender: d,
591
+ expandedRowRender: f,
625
592
  onClickExpandBtn: w,
626
593
  columns: t,
627
594
  component: T,
@@ -630,7 +597,7 @@ function So(i, a) {
630
597
  prefixCls: c,
631
598
  selectedRowKeys: N,
632
599
  indeterminateKeys: E,
633
- rowClassName: f,
600
+ rowClassName: p,
634
601
  onRow: y,
635
602
  rowSelection: h,
636
603
  indentSize: v = 16,
@@ -649,42 +616,42 @@ function So(i, a) {
649
616
  type: K,
650
617
  shouldRowExpand: W,
651
618
  level: H
652
- } = i, { rtl: Y } = He(nt), l = Q(I), { ...x } = y?.(l, R) || {}, b = _(I), L = K === "radio" ? N.slice(0, 1) : N, D = b || R, C = L.indexOf(b) > -1, $ = X.indexOf(b) > -1, G = E.indexOf(b) > -1, p = Z(
619
+ } = i, { rtl: Y } = He(nt), l = Z(I), { ...x } = y?.(l, R) || {}, b = _(I), L = K === "radio" ? N.slice(0, 1) : N, D = b || R, C = L.indexOf(b) > -1, $ = X.indexOf(b) > -1, J = E.indexOf(b) > -1, d = G(
653
620
  `${c}-tr`,
654
621
  {
655
622
  [`${c}-row-checked`]: C,
656
623
  [`${c}-row-expanded`]: $
657
624
  },
658
- f?.(l, R)
659
- ), te = h && typeof h.checkboxProps == "function" ? h.checkboxProps(l) : {}, re = Z(`${c}-td`, `${c}-operation`), J = (P) => Z(re, `${c}-${P}`, {
625
+ p?.(l, R)
626
+ ), te = h && typeof h.checkboxProps == "function" ? h.checkboxProps(l) : {}, re = G(`${c}-td`, `${c}-operation`), Q = (P) => G(re, `${c}-${P}`, {
660
627
  [`${c}-selection-col`]: g && K === "checkbox" || K === "radio",
661
- [`${c}-expand-icon-col`]: g && d
628
+ [`${c}-expand-icon-col`]: g && f
662
629
  });
663
- function pe(P) {
630
+ function ue(P) {
664
631
  return F.strictTreeData ? Ee(P[U]) && P[U].length : P[U] !== void 0;
665
632
  }
666
633
  function V() {
667
- return ee.find((P) => pe(P));
634
+ return ee.find((P) => ue(P));
668
635
  }
669
- const q = W(I, R), ue = pe(I), de = V() && !d, me = de && ue, Ce = F.expandRowByClick && (q || me) ? {
636
+ const q = W(I, R), fe = ue(I), ae = V() && !f, me = ae && fe, Ce = F.expandRowByClick && (q || me) ? {
670
637
  onClick: (P) => {
671
638
  w(b), x?.onClick?.(P);
672
639
  }
673
- } : {}, { ComponentBodyRow: be, ComponentTd: Ie, getBodyComponentOperations: Oe } = Le(T), ne = g ? "div" : be, ae = g ? "div" : Ie, $e = {
674
- className: p,
640
+ } : {}, { ComponentBodyRow: be, ComponentTd: Ie, getBodyComponentOperations: Oe } = Le(T), ne = g ? "div" : be, ce = g ? "div" : Ie, $e = {
641
+ className: d,
675
642
  key: D,
676
643
  ...x,
677
644
  ...Ce
678
645
  }, Se = Ye(be) ? $e : { ...$e, record: I, index: R };
679
646
  function Ne(P, ye) {
680
647
  const { icon: ke } = F, Ke = !!~X.indexOf(ye), Fe = {
681
- onClick: (ce) => {
682
- ce.stopPropagation(), w(ye);
648
+ onClick: (de) => {
649
+ de.stopPropagation(), w(ye);
683
650
  }
684
651
  };
685
652
  return typeof ke == "function" ? ke({ expanded: Ke, record: P, ...Fe }) : /* @__PURE__ */ o("button", { ...Fe, type: "button", children: Ke ? /* @__PURE__ */ o(to, {}) : /* @__PURE__ */ o(no, {}) });
686
653
  }
687
- const Ae = d && /* @__PURE__ */ o(ae, { className: J("expand-icon-cell"), children: q && Ne(I, b) }), Re = h && h.renderCell;
654
+ const Ae = f && /* @__PURE__ */ o(ce, { className: Q("expand-icon-cell"), children: q && Ne(I, b) }), Re = h && h.renderCell;
688
655
  let Pe;
689
656
  const De = /* @__PURE__ */ o(
690
657
  Bt,
@@ -692,7 +659,7 @@ function So(i, a) {
692
659
  value: b,
693
660
  onChange: (P) => r(P, I),
694
661
  checked: C,
695
- indeterminate: G,
662
+ indeterminate: J,
696
663
  ...te
697
664
  }
698
665
  ), z = /* @__PURE__ */ o(
@@ -704,21 +671,21 @@ function So(i, a) {
704
671
  ...te
705
672
  }
706
673
  );
707
- K === "checkbox" && (Pe = /* @__PURE__ */ o(ae, { className: J("checkbox"), children: Re ? Re(De, C, l) : De })), K === "radio" && (Pe = /* @__PURE__ */ o(ae, { className: J("radio"), children: Re ? Re(z, C, l) : z }));
708
- const fe = Oe({
674
+ K === "checkbox" && (Pe = /* @__PURE__ */ o(ce, { className: Q("checkbox"), children: Re ? Re(De, C, l) : De })), K === "radio" && (Pe = /* @__PURE__ */ o(ce, { className: Q("radio"), children: Re ? Re(z, C, l) : z }));
675
+ const pe = Oe({
709
676
  selectionNode: Pe,
710
677
  expandNode: Ae
711
678
  });
712
679
  return /* @__PURE__ */ tt(ne, { ...Se, key: Se.key, ref: a }, t.map((P, ye) => {
713
680
  const ke = `${P.key}-${P.dataIndex}-${P.title}-${ye}`, Ke = u[ye], Fe = m[ye];
714
681
  if (P.$$isOperation) {
715
- let ce = P.node, oe = !0;
716
- P.title === Ct && (ce = fe.find((qe) => qe.name === "selectionNode")?.node, oe = !1), P.title === xt && (ce = fe.find((qe) => qe.name === "expandNode")?.node, oe = !1);
717
- const We = typeof ce == "function" ? ce(I) : ce;
682
+ let de = P.node, oe = !0;
683
+ P.title === Ct && (de = pe.find((qe) => qe.name === "selectionNode")?.node, oe = !1), P.title === xt && (de = pe.find((qe) => qe.name === "expandNode")?.node, oe = !1);
684
+ const We = typeof de == "function" ? de(I) : de;
718
685
  return Xe.cloneElement(We, {
719
686
  key: ke || ye,
720
687
  ...We.props,
721
- className: Z(
688
+ className: G(
722
689
  oe ? re : "",
723
690
  We?.props?.className,
724
691
  Fe
@@ -740,20 +707,20 @@ function So(i, a) {
740
707
  virtualized: g,
741
708
  component: T,
742
709
  currentSorter: O.find(
743
- (ce) => ce.field === (P.dataIndex || P.key)
710
+ (de) => de.field === (P.dataIndex || P.key)
744
711
  ),
745
712
  placeholder: A,
746
713
  indentSize: v,
747
714
  stickyClassName: Fe,
748
715
  stickyOffset: Ke,
749
- InnerComponentTd: ae,
716
+ InnerComponentTd: ce,
750
717
  column: P,
751
718
  columnIndex: ye,
752
719
  record: I,
753
720
  trIndex: R,
754
721
  level: H,
755
- haveTreeData: de,
756
- recordHaveChildren: ue,
722
+ haveTreeData: ae,
723
+ recordHaveChildren: fe,
757
724
  rowKey: b,
758
725
  renderExpandIcon: Ne,
759
726
  ___dangerouslySetInnerHTML___: i.___dangerouslySetInnerHTML___
@@ -764,7 +731,7 @@ function So(i, a) {
764
731
  }
765
732
  const rn = Kt(So), bo = Kt(function({
766
733
  record: a,
767
- index: d,
734
+ index: f,
768
735
  virtualized: w,
769
736
  tbodyProps: t
770
737
  }, T) {
@@ -774,7 +741,7 @@ const rn = Kt(So), bo = Kt(function({
774
741
  indentSize: c = 16,
775
742
  childrenColumnName: N = "children",
776
743
  expandProps: E = {},
777
- rowSelection: f,
744
+ rowSelection: p,
778
745
  hasFixedColumn: y,
779
746
  tableViewWidth: h,
780
747
  getRowKey: v,
@@ -782,8 +749,8 @@ const rn = Kt(So), bo = Kt(function({
782
749
  expandedRowRender: g
783
750
  } = t;
784
751
  let u;
785
- f && "type" in f ? u = f.type : f && !("type" in f) && (u = "checkbox");
786
- const m = g && ((R, K) => g(Q(R), K)), _ = (R) => Ee(R[N]) && R[N].length, A = (R, K) => "rowExpandable" in E && typeof E.rowExpandable == "function" ? E.rowExpandable(R) : m?.(R, K) !== null, F = (R, K) => {
752
+ p && "type" in p ? u = p.type : p && !("type" in p) && (u = "checkbox");
753
+ const m = g && ((R, K) => g(Z(R), K)), _ = (R) => Ee(R[N]) && R[N].length, A = (R, K) => "rowExpandable" in E && typeof E.rowExpandable == "function" ? E.rowExpandable(R) : m?.(R, K) !== null, F = (R, K) => {
787
754
  const W = [], H = {
788
755
  ...t,
789
756
  type: u,
@@ -819,17 +786,17 @@ const rn = Kt(So), bo = Kt(function({
819
786
  });
820
787
  };
821
788
  return m || Y(R[N], v(R)), W;
822
- }, ee = v(a), X = A(a, d) && O.indexOf(ee) !== -1, U = w ? "div" : "tr", I = w ? "div" : "td";
789
+ }, ee = v(a), X = A(a, f) && O.indexOf(ee) !== -1, U = w ? "div" : "tr", I = w ? "div" : "td";
823
790
  return /* @__PURE__ */ le(Xe.Fragment, { children: [
824
- F(a, d),
791
+ F(a, f),
825
792
  X && /* @__PURE__ */ o(
826
793
  U,
827
794
  {
828
- className: Z(`${r}-tr`, `${r}-expand-content`),
795
+ className: G(`${r}-tr`, `${r}-expand-content`),
829
796
  children: /* @__PURE__ */ o(
830
797
  I,
831
798
  {
832
- className: Z(`${r}-td`),
799
+ className: G(`${r}-td`),
833
800
  style: { paddingLeft: c },
834
801
  colSpan: S.length,
835
802
  children: y ? /* @__PURE__ */ o(
@@ -837,9 +804,9 @@ const rn = Kt(So), bo = Kt(function({
837
804
  {
838
805
  className: `${r}-expand-fixed-row`,
839
806
  style: { width: h },
840
- children: m?.(a, d)
807
+ children: m?.(a, f)
841
808
  }
842
- ) : m?.(a, d)
809
+ ) : m?.(a, f)
843
810
  }
844
811
  )
845
812
  },
@@ -850,7 +817,7 @@ const rn = Kt(So), bo = Kt(function({
850
817
  function $o(i) {
851
818
  const {
852
819
  data: a,
853
- columns: d,
820
+ columns: f,
854
821
  prefixCls: w,
855
822
  component: t,
856
823
  noDataElement: T,
@@ -859,7 +826,7 @@ function $o(i) {
859
826
  virtualized: c,
860
827
  virtualListProps: N,
861
828
  getRowKey: E,
862
- saveVirtualListRef: f
829
+ saveVirtualListRef: p
863
830
  } = i, y = (_) => {
864
831
  i.saveRef?.(_);
865
832
  }, { ComponentTbody: h } = Le(t);
@@ -873,7 +840,7 @@ function $o(i) {
873
840
  className: `${w}-no-data`
874
841
  };
875
842
  S && (g.className = `${w}-no-data ${w}-expand-fixed-row`, g.style = { width: S });
876
- const u = /* @__PURE__ */ o("tr", { className: Z(`${w}-tr`, `${w}-empty-row`), children: /* @__PURE__ */ o("td", { className: `${w}-td`, colSpan: d.length, children: /* @__PURE__ */ o("div", { ...g, children: T }) }) }), m = (_, A) => {
843
+ const u = /* @__PURE__ */ o("tr", { className: G(`${w}-tr`, `${w}-empty-row`), children: /* @__PURE__ */ o("td", { className: `${w}-td`, colSpan: f.length, children: /* @__PURE__ */ o("div", { ...g, children: T }) }) }), m = (_, A) => {
877
844
  const F = E(_) ?? A;
878
845
  return /* @__PURE__ */ o(
879
846
  bo,
@@ -896,7 +863,7 @@ function $o(i) {
896
863
  innerStyle: { right: "auto", minWidth: "100%" },
897
864
  className: `${w}-body`,
898
865
  ref: (_) => {
899
- f(_), y(_?.dom);
866
+ p(_), y(_?.dom);
900
867
  },
901
868
  itemKey: E,
902
869
  ...N,
@@ -906,12 +873,12 @@ function $o(i) {
906
873
  }
907
874
  const No = Ln({});
908
875
  function Ro(i) {
909
- const { summary: a, data: d, prefixCls: w, columns: t, stickyOffsets: T, stickyClassNames: r } = i;
876
+ const { summary: a, data: f, prefixCls: w, columns: t, stickyOffsets: T, stickyClassNames: r } = i;
910
877
  return /* @__PURE__ */ o("tfoot", { className: `${w}-tfoot`, children: /* @__PURE__ */ o(
911
878
  No.Provider,
912
879
  {
913
880
  value: { columns: t, stickyOffsets: T, stickyClassNames: r, prefixCls: w },
914
- children: a(Q(d))
881
+ children: a(Z(f))
915
882
  }
916
883
  ) });
917
884
  }
@@ -922,7 +889,7 @@ const vo = { bottom: 0 };
922
889
  function To(i) {
923
890
  const {
924
891
  onSort: a,
925
- onFilter: d,
892
+ onFilter: f,
926
893
  onHandleFilter: w,
927
894
  onHandleFilterReset: t,
928
895
  currentFilters: T = {},
@@ -931,7 +898,7 @@ function To(i) {
931
898
  dataIndex: c,
932
899
  title: N,
933
900
  sorter: E,
934
- sortDirections: f = ["ascend", "descend"],
901
+ sortDirections: p = ["ascend", "descend"],
935
902
  filters: y = [],
936
903
  columnFixedStyle: h,
937
904
  className: v,
@@ -953,26 +920,26 @@ function To(i) {
953
920
  column: Y,
954
921
  showSorterTooltip: l,
955
922
  index: x
956
- } = i, { locale: b, rtl: L } = He(nt), D = He(_t), C = S || c || x, [$, G, p] = ao([], {
923
+ } = i, { locale: b, rtl: L } = He(nt), D = He(_t), C = S || c || x, [$, J, d] = ao([], {
957
924
  value: T[C] || []
958
- }), [te, re] = he(!1), [J, pe] = he(!1), V = E && Ee(f) && f.length, q = V ? ue() : void 0;
925
+ }), [te, re] = he(!1), [Q, ue] = he(!1), V = E && Ee(p) && p.length, q = V ? fe() : void 0;
959
926
  et(() => {
960
- G(T[C] || []);
927
+ J(T[C] || []);
961
928
  }, [T, C]), et(() => {
962
- $ && $ !== p && G($);
929
+ $ && $ !== d && J($);
963
930
  }, [te]);
964
- function ue() {
931
+ function fe() {
965
932
  const z = r && r.direction;
966
933
  if (!z || r && r.field !== C)
967
- return f[0];
968
- const fe = f.indexOf(z);
969
- if (fe < f.length)
970
- return f[fe + 1];
934
+ return p[0];
935
+ const pe = p.indexOf(z);
936
+ if (pe < p.length)
937
+ return p[pe + 1];
971
938
  }
972
- function de() {
939
+ function ae() {
973
940
  $ && (w?.(
974
- { onFilter: d, filters: y, dataIndex: C },
975
- p
941
+ { onFilter: f, filters: y, dataIndex: C },
942
+ d
976
943
  ), xe(!1));
977
944
  }
978
945
  function me() {
@@ -981,10 +948,10 @@ function To(i) {
981
948
  function xe(z) {
982
949
  re(z), H?.(z);
983
950
  }
984
- function Ce(z, fe) {
985
- let P = [...p];
951
+ function Ce(z, pe) {
952
+ let P = [...d];
986
953
  if (R)
987
- fe ? P = P.concat(z) : P.splice(
954
+ pe ? P = P.concat(z) : P.splice(
988
955
  P.findIndex((ye) => ye === z),
989
956
  1
990
957
  );
@@ -995,67 +962,67 @@ function To(i) {
995
962
  return;
996
963
  else
997
964
  P = [z];
998
- G(P);
965
+ J(P);
999
966
  }
1000
967
  function be(z) {
1001
- G(z || p), re(!1), w?.(
1002
- { filters: y, onFilter: d, dataIndex: C },
1003
- z || p
968
+ J(z || d), re(!1), w?.(
969
+ { filters: y, onFilter: f, dataIndex: C },
970
+ z || d
1004
971
  );
1005
972
  }
1006
973
  function Ie() {
1007
974
  return typeof I == "function" ? I({
1008
- filterKeys: p,
1009
- setFilterKeys: (z, fe) => {
1010
- G(z), fe?.();
975
+ filterKeys: d,
976
+ setFilterKeys: (z, pe) => {
977
+ J(z), pe?.();
1011
978
  },
1012
979
  confirm: be
1013
980
  }) : /* @__PURE__ */ le("div", { className: `${F}-filters-popup`, children: [
1014
981
  /* @__PURE__ */ o("div", { className: `${F}-filters-list`, children: y.map((z) => {
1015
- const fe = p.findIndex((P) => P === z.value) !== -1;
982
+ const pe = d.findIndex((P) => P === z.value) !== -1;
1016
983
  return /* @__PURE__ */ o("div", { className: `${F}-filters-item`, children: R ? /* @__PURE__ */ o(
1017
984
  Bt,
1018
985
  {
1019
- checked: fe,
986
+ checked: pe,
1020
987
  onChange: (P) => Ce(z.value, P),
1021
988
  children: z.text
1022
989
  }
1023
990
  ) : /* @__PURE__ */ o(
1024
991
  sn,
1025
992
  {
1026
- checked: fe,
993
+ checked: pe,
1027
994
  onChange: (P) => Ce(z.value, P),
1028
995
  children: z.text
1029
996
  }
1030
997
  ) }, z.value);
1031
998
  }) }),
1032
999
  /* @__PURE__ */ le(co, { className: `${F}-filters-btn`, children: [
1033
- /* @__PURE__ */ o(tn, { onClick: me, size: "mini", children: b?.Table.resetText }),
1034
- /* @__PURE__ */ o(tn, { onClick: de, type: "primary", size: "mini", children: b?.Table.okText })
1000
+ /* @__PURE__ */ o(en, { onClick: me, size: "mini", children: b?.Table.resetText }),
1001
+ /* @__PURE__ */ o(en, { onClick: ae, type: "primary", size: "mini", children: b?.Table.okText })
1035
1002
  ] })
1036
1003
  ] });
1037
1004
  }
1038
- const Oe = (z) => Z(`${F}-sorter-icon`, {
1005
+ const Oe = (z) => G(`${F}-sorter-icon`, {
1039
1006
  [`${F}-sorter-icon-active`]: r && r.direction === z && r.field === C
1040
- }), ne = Z(`${F}-filters`, {
1007
+ }), ne = G(`${F}-filters`, {
1041
1008
  [`${F}-filters-open`]: te,
1042
1009
  [`${F}-filters-active`]: $ && $.length
1043
1010
  });
1044
- let ae = {
1011
+ let ce = {
1045
1012
  ...h
1046
1013
  };
1047
- Te(g) && (ae = {
1048
- ...ae,
1014
+ Te(g) && (ce = {
1015
+ ...ce,
1049
1016
  ...g
1050
- }), Te(u) && (ae = {
1051
- ...ae,
1017
+ }), Te(u) && (ce = {
1018
+ ...ce,
1052
1019
  ...u
1053
- }), Qe(u) && (ae = {
1054
- ...ae,
1020
+ }), Qe(u) && (ce = {
1021
+ ...ce,
1055
1022
  ...u()
1056
- }), ee && ee !== "left" && (ae.textAlign = ee);
1023
+ }), ee && ee !== "left" && (ce.textAlign = ee);
1057
1024
  const $e = {
1058
- style: ae,
1025
+ style: ce,
1059
1026
  key: S || C
1060
1027
  };
1061
1028
  _ && _ > 1 && ($e.colSpan = _), m && m > 1 && ($e.rowSpan = m);
@@ -1072,10 +1039,10 @@ function To(i) {
1072
1039
  {
1073
1040
  className: `${F}-cell-with-sorter`,
1074
1041
  onMouseEnter: () => {
1075
- pe(!0);
1042
+ ue(!0);
1076
1043
  },
1077
1044
  onMouseLeave: () => {
1078
- pe(!1);
1045
+ ue(!1);
1079
1046
  },
1080
1047
  onClick: () => a(q, C),
1081
1048
  children: [
@@ -1083,12 +1050,12 @@ function To(i) {
1083
1050
  V && /* @__PURE__ */ le(
1084
1051
  "div",
1085
1052
  {
1086
- className: Z(`${F}-sorter`, {
1087
- [`${F}-sorter-direction-one`]: f.length === 1
1053
+ className: G(`${F}-sorter`, {
1054
+ [`${F}-sorter-direction-one`]: p.length === 1
1088
1055
  }),
1089
1056
  children: [
1090
- f.indexOf("ascend") !== -1 && /* @__PURE__ */ o("div", { className: Oe("ascend"), children: /* @__PURE__ */ o(io, {}) }),
1091
- f.indexOf("descend") !== -1 && /* @__PURE__ */ o("div", { className: Oe("descend"), children: /* @__PURE__ */ o(so, {}) })
1057
+ p.indexOf("ascend") !== -1 && /* @__PURE__ */ o("div", { className: Oe("ascend"), children: /* @__PURE__ */ o(io, {}) }),
1058
+ p.indexOf("descend") !== -1 && /* @__PURE__ */ o("div", { className: Oe("descend"), children: /* @__PURE__ */ o(so, {}) })
1092
1059
  ]
1093
1060
  }
1094
1061
  )
@@ -1112,17 +1079,17 @@ function To(i) {
1112
1079
  children: /* @__PURE__ */ o("div", { className: ne, children: U || /* @__PURE__ */ o(lo, {}) })
1113
1080
  }
1114
1081
  )
1115
- ] }), De = Z(`${F}-th-item`, {
1082
+ ] }), De = G(`${F}-th-item`, {
1116
1083
  [`${F}-cell-text-ellipsis`]: K,
1117
- [`${F}-cell-mouseenter`]: J,
1118
- [`${F}-cell-next-${q}`]: J && q,
1084
+ [`${F}-cell-mouseenter`]: Q,
1085
+ [`${F}-cell-next-${q}`]: Q && q,
1119
1086
  [`${F}-col-has-sorter`]: V,
1120
1087
  [`${F}-col-has-filter`]: Ae
1121
1088
  });
1122
1089
  return _ !== 0 && /* @__PURE__ */ tt(
1123
1090
  Se,
1124
1091
  {
1125
- className: Z(
1092
+ className: G(
1126
1093
  `${F}-th`,
1127
1094
  {
1128
1095
  [`${F}-col-sorted`]: r?.direction && r.field === C
@@ -1148,7 +1115,7 @@ function To(i) {
1148
1115
  function Eo(i) {
1149
1116
  const {
1150
1117
  activeSorters: a,
1151
- expandedRowRender: d,
1118
+ expandedRowRender: f,
1152
1119
  expandProps: w = {},
1153
1120
  onSort: t,
1154
1121
  onHandleFilter: T,
@@ -1157,7 +1124,7 @@ function Eo(i) {
1157
1124
  prefixCls: c,
1158
1125
  currentFilters: N,
1159
1126
  component: E,
1160
- data: f,
1127
+ data: p,
1161
1128
  selectedRowKeys: y,
1162
1129
  rowSelection: h,
1163
1130
  allSelectedRowKeys: v = [],
@@ -1168,12 +1135,12 @@ function Eo(i) {
1168
1135
  } = i, { rtl: _ } = He(nt), { ComponentThead: A, ComponentHeaderRow: F, getHeaderComponentOperations: ee } = Le(E), X = h && (h.type === "checkbox" || !("type" in h)), U = h && "checkAll" in h ? h.checkAll : !0, I = h && h.type === "radio", { columnTitle: R } = w, K = ie(() => {
1169
1136
  const Y = new Set(v);
1170
1137
  return y.filter((l, x, b) => Y.has(l));
1171
- }, [y, v]), W = O.length > 1 ? { rowSpan: O.length } : {}, H = Z(`${c}-th`, `${c}-operation`);
1138
+ }, [y, v]), W = O.length > 1 ? { rowSpan: O.length } : {}, H = G(`${c}-th`, `${c}-operation`);
1172
1139
  return /* @__PURE__ */ o(A, { children: O.map((Y, l) => {
1173
1140
  const x = S?.(Y, l), b = (X || I) && l === 0 && /* @__PURE__ */ o(
1174
1141
  "th",
1175
1142
  {
1176
- className: Z(
1143
+ className: G(
1177
1144
  H,
1178
1145
  `${c}-${I ? "radio" : "checkbox"}`
1179
1146
  ),
@@ -1181,8 +1148,8 @@ function Eo(i) {
1181
1148
  U && !I ? /* @__PURE__ */ o(
1182
1149
  Bt,
1183
1150
  {
1184
- indeterminate: f && K.length > 0 && K.length !== v.length,
1185
- checked: f && K.length !== 0 && K.length === v.length,
1151
+ indeterminate: p && K.length > 0 && K.length !== v.length,
1152
+ checked: p && K.length !== 0 && K.length === v.length,
1186
1153
  disabled: !v.length,
1187
1154
  onChange: i.onCheckAll
1188
1155
  }
@@ -1190,7 +1157,7 @@ function Eo(i) {
1190
1157
  h && h.columnTitle
1191
1158
  ] })
1192
1159
  }
1193
- ), L = d && /* @__PURE__ */ o("th", { className: Z(H, `${c}-expand`), children: R && /* @__PURE__ */ o("div", { className: `${c}-th-item`, children: R }) }), D = u[l], C = ee({
1160
+ ), L = f && /* @__PURE__ */ o("th", { className: G(H, `${c}-expand`), children: R && /* @__PURE__ */ o("div", { className: `${c}-th-item`, children: R }) }), D = u[l], C = ee({
1194
1161
  selectionNode: b,
1195
1162
  expandNode: L
1196
1163
  });
@@ -1201,30 +1168,30 @@ function Eo(i) {
1201
1168
  key: l,
1202
1169
  className: `${c}-tr`
1203
1170
  },
1204
- Y.map(($, G) => {
1205
- const p = $.$$columnIndex;
1171
+ Y.map(($, J) => {
1172
+ const d = $.$$columnIndex;
1206
1173
  let te = 0;
1207
- Ue(p) && p.length === 2 ? te = $.fixed === "right" ? g[p[1]] : g[p[0]] : typeof p == "number" && (te = g[p] || 0);
1208
- const re = D[G];
1174
+ Ue(d) && d.length === 2 ? te = $.fixed === "right" ? g[d[1]] : g[d[0]] : typeof d == "number" && (te = g[d] || 0);
1175
+ const re = D[J];
1209
1176
  if ($.$$isOperation) {
1210
- let q = $.node, ue = !0;
1177
+ let q = $.node, fe = !0;
1211
1178
  $.title === Ct && (q = C.find(
1212
1179
  (me) => me.name === "selectionNode"
1213
- )?.node, ue = !1), $.title === xt && (q = C.find(
1180
+ )?.node, fe = !1), $.title === xt && (q = C.find(
1214
1181
  (me) => me.name === "expandNode"
1215
- )?.node, ue = !1);
1216
- const de = q;
1217
- return Xe.cloneElement(de, {
1218
- key: $.key || G,
1219
- ...de.props,
1182
+ )?.node, fe = !1);
1183
+ const ae = q;
1184
+ return Xe.cloneElement(ae, {
1185
+ key: $.key || J,
1186
+ ...ae.props,
1220
1187
  ...W,
1221
- className: Z(
1222
- ue ? H : "",
1223
- de?.props?.className,
1188
+ className: G(
1189
+ fe ? H : "",
1190
+ ae?.props?.className,
1224
1191
  re
1225
1192
  ),
1226
1193
  style: {
1227
- ...de?.props?.style,
1194
+ ...ae?.props?.style,
1228
1195
  ...$.fixed === "left" ? {
1229
1196
  [_ ? "right" : "left"]: te
1230
1197
  } : {},
@@ -1233,11 +1200,11 @@ function Eo(i) {
1233
1200
  }
1234
1201
  });
1235
1202
  }
1236
- const J = $?.onHeaderCell?.($, G), pe = Z(re, $.className), V = {};
1203
+ const Q = $?.onHeaderCell?.($, J), ue = G(re, $.className), V = {};
1237
1204
  return $.fixed === "left" && (V[_ ? "right" : "left"] = te), $.fixed === "right" && (V[_ ? "left" : "right"] = te), /* @__PURE__ */ tt(
1238
1205
  To,
1239
1206
  {
1240
- index: G,
1207
+ index: J,
1241
1208
  onSort: t,
1242
1209
  onHandleFilter: T,
1243
1210
  onHandleFilterReset: r,
@@ -1245,14 +1212,14 @@ function Eo(i) {
1245
1212
  (q) => q.field === ($.dataIndex || $.key)
1246
1213
  ),
1247
1214
  currentFilters: N,
1248
- _key: $.key || $.dataIndex || G,
1215
+ _key: $.key || $.dataIndex || J,
1249
1216
  ...$,
1250
1217
  key: $.key,
1251
1218
  column: $,
1252
- headerCellProps: J,
1219
+ headerCellProps: Q,
1253
1220
  prefixCls: c,
1254
1221
  component: E,
1255
- className: pe,
1222
+ className: ue,
1256
1223
  columnFixedStyle: V,
1257
1224
  showSorterTooltip: m
1258
1225
  }
@@ -1273,7 +1240,7 @@ const Po = [], Fo = [], Io = {
1273
1240
  };
1274
1241
  function Oo(i, a) {
1275
1242
  const {
1276
- getPrefixCls: d,
1243
+ getPrefixCls: f,
1277
1244
  loadingElement: w,
1278
1245
  size: t,
1279
1246
  tablePagination: T,
@@ -1289,7 +1256,7 @@ function Oo(i, a) {
1289
1256
  we(S?.Table?.pagination) ? S?.Table?.pagination : {},
1290
1257
  T || {}
1291
1258
  ), {
1292
- style: f,
1259
+ style: p,
1293
1260
  className: y,
1294
1261
  component: h,
1295
1262
  border: v,
@@ -1316,21 +1283,21 @@ function Oo(i, a) {
1316
1283
  summary: L,
1317
1284
  rowKey: D,
1318
1285
  triggerProps: C
1319
- } = N, $ = m && we(m) && m.x, G = ie(
1286
+ } = N, $ = m && we(m) && m.x, J = ie(
1320
1287
  () => Jn(u, R),
1321
1288
  [u, R]
1322
- ), p = d?.("table"), te = N.size || (["default", "middle", "small", "mini"].indexOf(t) > -1 ? t : "default"), re = se(null), J = se(null), pe = se(null), V = se(null), q = se(null), ue = se(null), de = se(null), me = se(null), xe = se(null), Ce = se(null), be = se(0), Ie = se(!1), [Oe, ne] = po(N), { currentFilters: ae, defaultSorters: $e } = fn(), [Se, Ne] = he(1), [Ae, Re] = he(
1289
+ ), d = f?.("table"), te = N.size || (["default", "middle", "small", "mini"].indexOf(t) > -1 ? t : "default"), re = se(null), Q = se(null), ue = se(null), V = se(null), q = se(null), fe = se(null), ae = se(null), me = se(null), xe = se(null), Ce = se(null), be = se(0), Ie = se(!1), [Oe, ne] = po(N), { currentFilters: ce, defaultSorters: $e } = fn(), [Se, Ne] = he(1), [Ae, Re] = he(
1323
1290
  E.pageSize || E.defaultPageSize || 10
1324
- ), [Pe, De] = he(ae), [z, fe] = he(0), [P, ye] = he([]), ke = go(ne), [Ke, Fe] = yo(
1291
+ ), [Pe, De] = he(ce), [z, pe] = he(0), [P, ye] = he([]), ke = go(ne), [Ke, Fe] = yo(
1325
1292
  Oe,
1326
1293
  ne,
1327
- p
1294
+ d
1328
1295
  ), {
1329
- currentSorter: ce,
1296
+ currentSorter: de,
1330
1297
  activeSorters: oe,
1331
1298
  getNextActiveSorters: We,
1332
1299
  updateStateSorters: qe
1333
- } = ho(ne, $e), { ComponentTable: ot, ComponentBodyWrapper: cn, ComponentHeaderWrapper: dn } = Le(h), wt = ie(() => Be(D) ? (e) => D(Q(e)) : (e) => e[D], [D]);
1300
+ } = ho(ne, $e), { ComponentTable: ot, ComponentBodyWrapper: cn, ComponentHeaderWrapper: dn } = Le(h), wt = ie(() => Be(D) ? (e) => D(Z(e)) : (e) => e[D], [D]);
1334
1301
  function fn() {
1335
1302
  const e = {};
1336
1303
  let n = [];
@@ -1343,8 +1310,8 @@ function Oo(i, a) {
1343
1310
  sorterFn: Dt(s.sorter),
1344
1311
  priority: B
1345
1312
  };
1346
- j ? Qt(B) ? n.every(
1347
- (ge) => Qt(ge.priority) || !ge.direction
1313
+ j ? tn(B) ? n.every(
1314
+ (ge) => tn(ge.priority) || !ge.direction
1348
1315
  ) && n.push(M) : n.every((ge) => !ge.direction) ? n.push(M) : n = [M] : n.push(M);
1349
1316
  }
1350
1317
  }), { currentFilters: e, defaultSorters: n };
@@ -1374,8 +1341,8 @@ function Oo(i, a) {
1374
1341
  _e
1375
1342
  ), M = Ge(j);
1376
1343
  U?.(ze(j), k, _e, {
1377
- currentData: Q(M),
1378
- currentAllData: Q(j),
1344
+ currentData: Z(M),
1345
+ currentAllData: Z(j),
1379
1346
  action: "sort"
1380
1347
  });
1381
1348
  }
@@ -1408,7 +1375,7 @@ function Oo(i, a) {
1408
1375
  if (Ue(n) && n.length) {
1409
1376
  De(k);
1410
1377
  const B = at(
1411
- ce,
1378
+ de,
1412
1379
  oe,
1413
1380
  s
1414
1381
  ), j = Ge(B);
@@ -1417,8 +1384,8 @@ function Oo(i, a) {
1417
1384
  oe.length === 1 ? oe[0] : oe,
1418
1385
  s,
1419
1386
  {
1420
- currentData: Q(j),
1421
- currentAllData: Q(B),
1387
+ currentData: Z(j),
1388
+ currentAllData: Z(B),
1422
1389
  action: "filter"
1423
1390
  }
1424
1391
  );
@@ -1430,7 +1397,7 @@ function Oo(i, a) {
1430
1397
  };
1431
1398
  delete n[e], De(n);
1432
1399
  const s = at(
1433
- ce,
1400
+ de,
1434
1401
  oe,
1435
1402
  n
1436
1403
  ), k = Ge(s);
@@ -1439,15 +1406,15 @@ function Oo(i, a) {
1439
1406
  oe.length === 1 ? oe[0] : oe,
1440
1407
  n,
1441
1408
  {
1442
- currentData: Q(k),
1443
- currentAllData: Q(s),
1409
+ currentData: Z(k),
1410
+ currentAllData: Z(s),
1444
1411
  action: "filter"
1445
1412
  }
1446
1413
  );
1447
1414
  }
1448
1415
  const st = !!ne.find((e) => e.fixed === "left"), it = !!ne.find((e) => e.fixed === "right"), lt = st || it;
1449
1416
  function at(e, n, s) {
1450
- let k = (G || []).slice();
1417
+ let k = (J || []).slice();
1451
1418
  Object.keys(s).forEach((j) => {
1452
1419
  if (s[j] && s[j].length) {
1453
1420
  const M = zt(j);
@@ -1464,7 +1431,7 @@ function Oo(i, a) {
1464
1431
  return e.direction && Be(e.sorterFn) || n.length ? B(k) : k;
1465
1432
  }
1466
1433
  const Me = at(
1467
- ce,
1434
+ de,
1468
1435
  oe,
1469
1436
  _e
1470
1437
  );
@@ -1502,10 +1469,10 @@ function Oo(i, a) {
1502
1469
  const { current: s = 0, pageSize: k = 10 } = n;
1503
1470
  return X === !1 || we(X) && u.length <= k ? e : e.slice((s - 1) * k, s * k);
1504
1471
  }
1505
- const ve = !!(m && m.y), Je = L?.(Q(Me)), St = L && Xe.isValidElement(Je) && Je.props.fixed, hn = ve && St;
1472
+ const ve = !!(m && m.y), Je = L?.(Z(Me)), St = L && Xe.isValidElement(Je) && Je.props.fixed, hn = ve && St;
1506
1473
  Wn(() => {
1507
1474
  bt();
1508
- const e = re.current, n = J.current, s = V.current;
1475
+ const e = re.current, n = Q.current, s = V.current;
1509
1476
  n && Tt(n, "scroll", je);
1510
1477
  const k = e && e.parentNode;
1511
1478
  return e && k && Tt(k, "scroll", je), s && Tt(s, "scroll", je), () => {
@@ -1533,54 +1500,54 @@ function Oo(i, a) {
1533
1500
  function Lt() {
1534
1501
  return q.current;
1535
1502
  }
1536
- Un(At(), (e) => {
1503
+ Mn(At(), (e) => {
1537
1504
  bt();
1538
- }), Yn(!0, bt);
1505
+ }), zn(!0, bt);
1539
1506
  function bt() {
1540
1507
  if (lt || $) {
1541
1508
  dt();
1542
1509
  const e = At();
1543
1510
  if (e) {
1544
1511
  const n = e?.clientWidth ?? e?.getBoundingClientRect?.()?.width;
1545
- fe(n);
1512
+ pe(n);
1546
1513
  }
1547
1514
  }
1548
1515
  }
1549
1516
  function At() {
1550
- return J.current || me.current || q.current;
1517
+ return Q.current || me.current || ae.current || fe.current || q.current;
1551
1518
  }
1552
1519
  const yn = Ze(
1553
1520
  Hn(() => {
1554
- const e = q.current, n = ve ? J.current : Ce.current && Ce.current.parentNode;
1521
+ const e = q.current, n = ve ? Q.current : Ce.current && Ce.current.parentNode;
1555
1522
  if (n) {
1556
1523
  const s = c ? -n.scrollLeft : n.scrollLeft, k = s === 0, B = s + 1 >= n.children[0].getBoundingClientRect().width - n.getBoundingClientRect().width;
1557
1524
  k && B ? ft(
1558
1525
  e.classList,
1559
- `${p}-scroll-position-both`
1526
+ `${d}-scroll-position-both`
1560
1527
  ) : k ? ft(
1561
1528
  e.classList,
1562
- `${p}-scroll-position-${c ? "right" : "left"}`
1529
+ `${d}-scroll-position-${c ? "right" : "left"}`
1563
1530
  ) : B ? ft(
1564
1531
  e.classList,
1565
- `${p}-scroll-position-${c ? "left" : "right"}`
1532
+ `${d}-scroll-position-${c ? "left" : "right"}`
1566
1533
  ) : ft(
1567
1534
  e.classList,
1568
- `${p}-scroll-position-middle`
1535
+ `${d}-scroll-position-middle`
1569
1536
  );
1570
1537
  } else
1571
1538
  e && Mt(e.classList);
1572
1539
  }, 100),
1573
- [q.current, J.current, ve, c]
1540
+ [q.current, Q.current, ve, c]
1574
1541
  );
1575
1542
  function dt() {
1576
1543
  if (lt || $) {
1577
1544
  const e = q.current;
1578
1545
  e && (st && Wt(
1579
1546
  e.classList,
1580
- `${p}-has-fixed-col-left`
1547
+ `${d}-has-fixed-col-left`
1581
1548
  ), it && Wt(
1582
1549
  e.classList,
1583
- `${p}-has-fixed-col-right`
1550
+ `${d}-has-fixed-col-right`
1584
1551
  )), yn();
1585
1552
  }
1586
1553
  }
@@ -1588,7 +1555,7 @@ function Oo(i, a) {
1588
1555
  e.contains(n) || e.add(n);
1589
1556
  }
1590
1557
  function Mt(e) {
1591
- e.remove(`${p}-scroll-position-both`), e.remove(`${p}-scroll-position-left`), e.remove(`${p}-scroll-position-right`), e.remove(`${p}-scroll-position-middle`);
1558
+ e.remove(`${d}-scroll-position-both`), e.remove(`${d}-scroll-position-left`), e.remove(`${d}-scroll-position-right`), e.remove(`${d}-scroll-position-middle`);
1592
1559
  }
1593
1560
  function ft(e, n) {
1594
1561
  e.contains(n) || (Mt(e), e.add(n));
@@ -1602,7 +1569,7 @@ function Oo(i, a) {
1602
1569
  setSelectedRowKeys: Sn,
1603
1570
  allSelectedRowKeys: bn,
1604
1571
  flattenData: $n
1605
- } = mo(N, Ve, G, wt);
1572
+ } = mo(N, Ve, J, wt);
1606
1573
  function zt(e) {
1607
1574
  return ne.find((n, s) => typeof n.key < "u" ? typeof n.key == "number" && typeof e == "string" ? n.key.toString() === e : n.key === e : typeof n.dataIndex < "u" ? n.dataIndex === e : typeof e == "number" ? s === e : !1);
1608
1575
  }
@@ -1614,20 +1581,20 @@ function Oo(i, a) {
1614
1581
  oe.length === 1 ? oe[0] : oe,
1615
1582
  _e,
1616
1583
  {
1617
- currentData: Q(
1584
+ currentData: Z(
1618
1585
  Ge(Me, s)
1619
1586
  ),
1620
- currentAllData: Q(Me),
1587
+ currentAllData: Z(Me),
1621
1588
  action: "paginate"
1622
1589
  }
1623
1590
  ), E.onChange?.(e, n);
1624
1591
  }
1625
1592
  function Rn() {
1626
- const e = J.current;
1593
+ const e = Q.current;
1627
1594
  e && e.scrollTo({ top: 0, behavior: "smooth" });
1628
1595
  }
1629
1596
  function je(e) {
1630
- const { target: n } = e, s = J.current, k = re.current && re.current.parentNode, B = V.current;
1597
+ const { target: n } = e, s = Q.current, k = re.current && re.current.parentNode, B = V.current;
1631
1598
  n.scrollLeft !== be.current && (k && (k.scrollLeft = n.scrollLeft), s && (s.scrollLeft = n.scrollLeft), B && (B.scrollLeft = n.scrollLeft), dt()), be.current = e.target.scrollLeft;
1632
1599
  }
1633
1600
  function kn(e) {
@@ -1649,7 +1616,7 @@ function Oo(i, a) {
1649
1616
  requestAnimationFrame((e) => {
1650
1617
  const n = re.current && re.current.parentNode, s = Qn(n);
1651
1618
  s && s > 0 && (n.style.marginBottom = `-${s}px`, n.style.paddingBottom = "0px", V.current && (V.current.style.marginBottom = `-${s}px`, V.current.style.paddingBottom = "0px")), setTimeout(() => {
1652
- const k = J.current;
1619
+ const k = Q.current;
1653
1620
  Zn(k) ? (Ie.current = !0, n && (n.style.overflowY = "scroll", n.style.scrollSnapType = "y mandatory"), V.current && (V.current.style.overflowY = "scroll", V.current.style.overflowY = "y mandatory")) : n && Ie.current && (Ie.current = !1, n.style.overflowY = "auto", n.style.overflowY = "y mandatory", V.current && (V.current.style.overflowY = "auto", V.current.style.overflowY = "y mandatory"));
1654
1621
  }, 0);
1655
1622
  });
@@ -1659,7 +1626,7 @@ function Oo(i, a) {
1659
1626
  {
1660
1627
  ...N,
1661
1628
  activeSorters: oe,
1662
- currentSorter: ce,
1629
+ currentSorter: de,
1663
1630
  selectedRowKeys: $t,
1664
1631
  currentFilters: _e,
1665
1632
  onCheckAll: xn,
@@ -1667,7 +1634,7 @@ function Oo(i, a) {
1667
1634
  data: Ve,
1668
1635
  onHandleFilter: mn,
1669
1636
  onHandleFilterReset: Ht,
1670
- prefixCls: p,
1637
+ prefixCls: d,
1671
1638
  allSelectedRowKeys: bn,
1672
1639
  groupColumns: Oe,
1673
1640
  stickyOffsets: ke,
@@ -1676,17 +1643,17 @@ function Oo(i, a) {
1676
1643
  );
1677
1644
  function En() {
1678
1645
  const e = $ && m.x === "max-content";
1679
- return ve || x ? /* @__PURE__ */ o(dn, { className: `${p}-header`, children: /* @__PURE__ */ le(
1646
+ return ve || x ? /* @__PURE__ */ o(dn, { className: `${d}-header`, children: /* @__PURE__ */ le(
1680
1647
  ot,
1681
1648
  {
1682
1649
  ref: re,
1683
1650
  style: e ? {} : Nt,
1684
1651
  children: [
1685
1652
  /* @__PURE__ */ o(
1686
- yt,
1653
+ ht,
1687
1654
  {
1688
1655
  columns: ne,
1689
- prefixCls: p,
1656
+ prefixCls: d,
1690
1657
  producer: !1,
1691
1658
  columnWidths: e && m.y ? P : null
1692
1659
  }
@@ -1699,7 +1666,7 @@ function Oo(i, a) {
1699
1666
  const Yt = Je && /* @__PURE__ */ o(
1700
1667
  Ro,
1701
1668
  {
1702
- prefixCls: p,
1669
+ prefixCls: d,
1703
1670
  summary: L,
1704
1671
  data: Ve,
1705
1672
  columns: ne,
@@ -1710,7 +1677,7 @@ function Oo(i, a) {
1710
1677
  $o,
1711
1678
  {
1712
1679
  ...N,
1713
- saveRef: (e) => pe.current = e,
1680
+ saveRef: (e) => ue.current = e,
1714
1681
  selectedRowKeys: $t,
1715
1682
  indeterminateKeys: gn,
1716
1683
  expandedRowKeys: Vt,
@@ -1719,18 +1686,18 @@ function Oo(i, a) {
1719
1686
  onClickExpandBtn: vn,
1720
1687
  columns: ne,
1721
1688
  data: Ve,
1722
- prefixCls: p,
1689
+ prefixCls: d,
1723
1690
  hasFixedColumn: lt,
1724
1691
  tableViewWidth: z,
1725
1692
  indentSize: K,
1726
1693
  noDataElement: _ || r("Table"),
1727
1694
  activeSorters: oe,
1728
- currentSorter: ce,
1695
+ currentSorter: de,
1729
1696
  stickyOffsets: ke,
1730
1697
  stickyClassNames: Fe,
1731
1698
  getRowKey: wt,
1732
1699
  saveVirtualListRef: (e) => {
1733
- x && (xe.current = e, J.current = e?.dom);
1700
+ x && (xe.current = e, Q.current = e?.dom);
1734
1701
  },
1735
1702
  ___dangerouslySetInnerHTML___: N.___dangerouslySetInnerHTML___
1736
1703
  }
@@ -1739,26 +1706,26 @@ function Oo(i, a) {
1739
1706
  Yt
1740
1707
  ] }) : Xt;
1741
1708
  if (et(() => {
1742
- const e = J.current || pe.current, n = jn([e], Tn);
1709
+ const e = Q.current || ue.current, n = Yn([e], Tn);
1743
1710
  return () => {
1744
1711
  n();
1745
1712
  };
1746
- }, [J.current, pe.current]), et(() => (N.consoleTable && console.table(u), () => {
1713
+ }, [Q.current, ue.current]), et(() => (N.consoleTable && console.table(u), () => {
1747
1714
  }), [u, N.consoleTable]), !g.length) return null;
1748
1715
  function Pn() {
1749
1716
  const e = we(m) && m.x === "max-content" && !!m.y && Ue(u) && u.length > 0;
1750
1717
  return ve && !x ? /* @__PURE__ */ o(
1751
1718
  cn,
1752
1719
  {
1753
- ref: J,
1754
- className: `${p}-body`,
1720
+ ref: Q,
1721
+ className: G(`${d}-content-body`, `${d}-body`),
1755
1722
  style: jt,
1756
1723
  children: /* @__PURE__ */ le(ot, { style: Nt, children: [
1757
1724
  /* @__PURE__ */ o(
1758
- yt,
1725
+ ht,
1759
1726
  {
1760
1727
  columns: ne,
1761
- prefixCls: p,
1728
+ prefixCls: d,
1762
1729
  producer: e,
1763
1730
  onSetColumnWidths: ye,
1764
1731
  expandedRowKeys: Vt,
@@ -1775,8 +1742,8 @@ function Oo(i, a) {
1775
1742
  $ && (e = {
1776
1743
  width: m.x
1777
1744
  });
1778
- const n = /* @__PURE__ */ o("div", { className: `${p}-tfoot`, ref: V, children: /* @__PURE__ */ le(ot, { style: e, children: [
1779
- /* @__PURE__ */ o(yt, { columns: ne, prefixCls: p }),
1745
+ const n = /* @__PURE__ */ o("div", { className: `${d}-tfoot`, ref: V, children: /* @__PURE__ */ le(ot, { style: e, children: [
1746
+ /* @__PURE__ */ o(ht, { columns: ne, prefixCls: d }),
1780
1747
  Yt
1781
1748
  ] }) }), s = Je && ve && St === "top", k = Je && ve && St === "bottom", B = /* @__PURE__ */ le(gt, { children: [
1782
1749
  A ? En() : null,
@@ -1785,66 +1752,66 @@ function Oo(i, a) {
1785
1752
  k && n
1786
1753
  ] }), j = Be(Y) && Y(Ve), M = Be(l) && l(Ve);
1787
1754
  return /* @__PURE__ */ le(gt, { children: [
1788
- !!j && /* @__PURE__ */ o("div", { className: `${p}-header-`, children: j }),
1789
- /* @__PURE__ */ o("div", { ref: ue, className: `${p}-container`, children: /* @__PURE__ */ o(
1755
+ !!j && /* @__PURE__ */ o("div", { className: `${d}-header-`, children: j }),
1756
+ /* @__PURE__ */ o("div", { ref: fe, className: `${d}-container`, children: /* @__PURE__ */ o(
1790
1757
  "div",
1791
1758
  {
1792
- ref: de,
1793
- className: `${p}-content-scroll`,
1759
+ ref: ae,
1760
+ className: `${d}-content-scroll`,
1794
1761
  children: /* @__PURE__ */ o(
1795
1762
  "div",
1796
1763
  {
1797
1764
  ref: me,
1798
- className: `${p}-content-inner`,
1765
+ className: `${d}-content-inner`,
1799
1766
  onScroll: ve ? void 0 : kn,
1800
1767
  children: ve || x ? B : /* @__PURE__ */ le(ot, { ref: Ce, style: e, children: [
1801
- /* @__PURE__ */ o(yt, { prefixCls: p, columns: ne }),
1768
+ /* @__PURE__ */ o(ht, { prefixCls: d, columns: ne }),
1802
1769
  B
1803
1770
  ] })
1804
1771
  }
1805
1772
  )
1806
1773
  }
1807
1774
  ) }),
1808
- !!M && /* @__PURE__ */ o("div", { className: `${p}-footer`, children: M })
1775
+ !!M && /* @__PURE__ */ o("div", { className: `${d}-footer`, children: M })
1809
1776
  ] });
1810
1777
  }
1811
- const In = we(v) ? v.wrapper : v, Rt = we(v) ? v.cell : O, On = we(v) ? v.cell || v.headerCell : O, Dn = we(v) ? v.cell || v.bodyCell : O, Kn = Z(
1812
- p,
1813
- `${p}-size-${te}`,
1778
+ const In = we(v) ? v.wrapper : v, Rt = we(v) ? v.cell : O, On = we(v) ? v.cell || v.headerCell : O, Dn = we(v) ? v.cell || v.bodyCell : O, Kn = G(
1779
+ d,
1780
+ `${d}-size-${te}`,
1814
1781
  {
1815
- [`${p}-border`]: In,
1816
- [`${p}-border-cell`]: Rt,
1817
- [`${p}-border-header-cell`]: !Rt && On,
1818
- [`${p}-border-body-cell`]: !Rt && Dn,
1819
- [`${p}-stripe`]: F,
1820
- [`${p}-hover`]: ee,
1821
- [`${p}-type-radio`]: W && W.type === "radio",
1822
- [`${p}-layout-fixed`]: H || m && (m.x || m.y) || g.find((e) => e.ellipsis),
1823
- [`${p}-fixed-column`]: lt,
1824
- [`${p}-virtualized`]: x,
1825
- [`${p}-rtl`]: c
1782
+ [`${d}-border`]: In,
1783
+ [`${d}-border-cell`]: Rt,
1784
+ [`${d}-border-header-cell`]: !Rt && On,
1785
+ [`${d}-border-body-cell`]: !Rt && Dn,
1786
+ [`${d}-stripe`]: F,
1787
+ [`${d}-hover`]: ee,
1788
+ [`${d}-type-radio`]: W && W.type === "radio",
1789
+ [`${d}-layout-fixed`]: H || m && (m.x || m.y) || g.find((e) => e.ellipsis),
1790
+ [`${d}-fixed-column`]: lt,
1791
+ [`${d}-virtualized`]: x,
1792
+ [`${d}-rtl`]: c
1826
1793
  },
1827
1794
  y
1828
- ), kt = I === "tl" || I === "tr" || I === "topCenter", _n = Z(`${p}-pagination`, {
1829
- [`${p}-pagination-left`]: I === "tl" || I === "bl",
1830
- [`${p}-pagination-center`]: I === "topCenter" || I === "bottomCenter",
1831
- [`${p}-pagination-top`]: kt
1795
+ ), kt = I === "tl" || I === "tr" || I === "topCenter", _n = G(`${d}-pagination`, {
1796
+ [`${d}-pagination-left`]: I === "tl" || I === "bl",
1797
+ [`${d}-pagination-center`]: I === "topCenter" || I === "bottomCenter",
1798
+ [`${d}-pagination-top`]: kt
1832
1799
  });
1833
1800
  let pt = N.loading;
1834
1801
  typeof pt == "boolean" && (pt = { loading: pt });
1835
1802
  const Bn = X !== !1 && (Me.length !== 0 || ct?.total > 0);
1836
1803
  let ut;
1837
- return Bn && (Be(b) ? ut = b(/* @__PURE__ */ o(Zt, { ...ct })) : ut = /* @__PURE__ */ o("div", { className: _n, children: /* @__PURE__ */ o(Zt, { ...ct }) })), /* @__PURE__ */ o(_t.Provider, { value: N, children: /* @__PURE__ */ o(
1804
+ return Bn && (Be(b) ? ut = b(/* @__PURE__ */ o(Jt, { ...ct })) : ut = /* @__PURE__ */ o("div", { className: _n, children: /* @__PURE__ */ o(Jt, { ...ct }) })), /* @__PURE__ */ o(_t.Provider, { value: N, children: /* @__PURE__ */ o(
1838
1805
  "div",
1839
1806
  {
1840
1807
  ref: q,
1841
- style: f,
1808
+ style: p,
1842
1809
  className: Kn,
1843
- ...Vn(N),
1810
+ ...Un(N),
1844
1811
  children: /* @__PURE__ */ le(
1845
- Xn,
1812
+ Vn,
1846
1813
  {
1847
- className: `${p}-spin`,
1814
+ className: `${d}-spin`,
1848
1815
  element: w,
1849
1816
  ...pt,
1850
1817
  children: [