useblocks 1.1.85-dev.9 → 1.1.102

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 (516) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/README.md +74 -41
  3. package/compat-globals.js +1 -1
  4. package/iframe/.vite/manifest.json +4 -4
  5. package/iframe/css/sandbox.css +35 -1
  6. package/iframe/{iframe.bb6d921f.html → iframe-eblock.1c4e77a0.html} +2 -2
  7. package/iframe/{iframe-eblock.bb6d921f.html → iframe.1c4e77a0.html} +2 -2
  8. package/iframe/js/discussHandlers.Xh4-JUcT.js +88 -0
  9. package/iframe/js/{iframe-eblock.body.js → iframe-eblock.body.1c4e77a0.js} +1 -1
  10. package/iframe/js/iframe-eblock.js +2 -2
  11. package/iframe/js/iframe.body.1c4e77a0.js +319 -0
  12. package/iframe/js/iframe.js +2 -2
  13. package/package.json +8 -1
  14. package/runtime/THIRD_PARTY_LICENSES.txt +49 -42
  15. package/runtime/package.json +4 -1
  16. package/runtime/react/index.js +1 -1
  17. package/runtime/uuid/index.js +21 -0
  18. package/static/core/11b821ed.js +1 -0
  19. package/static/core/160bf060.js +104 -0
  20. package/static/core/1b68c0f0.js +1 -0
  21. package/static/core/1ed86ed3.js +1 -0
  22. package/static/core/26cc947d.js +1 -0
  23. package/static/core/{67f78cad.js → 3ec42945.js} +7 -7
  24. package/static/core/3fb172c7.js +1 -0
  25. package/static/core/448f03f8.js +1 -0
  26. package/static/core/44d2c046.js +1 -0
  27. package/static/core/{79749848.js → 4c8d0155.js} +5 -5
  28. package/static/core/53103851.js +4 -0
  29. package/static/core/{a767f327.js → 5d849eef.js} +1 -1
  30. package/static/core/5e7c221f.js +28 -0
  31. package/static/core/64be048b.js +27 -0
  32. package/static/core/{de07cade.js → 6a671446.js} +3 -3
  33. package/static/core/{db82c42b.js → 756874c6.js} +1 -1
  34. package/static/core/{4c3f5897.js → 847338a8.js} +2 -2
  35. package/static/core/91e07171.js +2 -0
  36. package/static/core/a2e57e5f.js +1 -0
  37. package/static/core/{a5996860.js → a6303cb2.js} +1 -1
  38. package/static/core/{9f137764.js → a98b6879.js} +1 -1
  39. package/static/core/ae22b7f6.js +93 -0
  40. package/static/core/{44a83e21.js → b653f9c5.js} +1 -1
  41. package/static/core/{cb46784e.js → b7aa9fec.js} +1 -1
  42. package/static/core/{d8bbcfbd.js → ca4dad9b.js} +2 -2
  43. package/static/core/{6faa23a1.js → cc180859.js} +1 -1
  44. package/static/core/d7666ad0.js +291 -0
  45. package/static/core/dcc37768.js +1 -0
  46. package/static/core/edf450a1.js +7 -0
  47. package/static/core/f1ee2bef.js +1 -0
  48. package/static/core/{1e3078da.js → f323e60e.js} +1 -1
  49. package/static/core/{175b5b0f.js → ff7d14e8.js} +1 -1
  50. package/static/esm/2490dab8.js +1 -0
  51. package/static/esm/668ee399.js +1 -0
  52. package/static/esm/971f1b2c.js +1 -0
  53. package/static/esm/f76c9d9d.js +1 -0
  54. package/static/umd/6639d610.js +1 -0
  55. package/static/umd-runtime/B7h7P1Np.js +1 -0
  56. package/static/umd-runtime/{DHIkHsbq.js → BAqQTgiL.js} +1 -1
  57. package/static/umd-runtime/{DiNHpyis.js → BB6AXfHj.js} +1 -1
  58. package/static/umd-runtime/{CnUGCoaH.js → BauvM4c_.js} +1 -1
  59. package/static/umd-runtime/{cL_ha9ef.js → CgVJ4rE0.js} +1 -1
  60. package/static/umd-runtime/Cvm7BS4_.js +341 -0
  61. package/static/umd-runtime/{BnE05QKl.js → D7DggGzi.js} +1 -1
  62. package/static/umd-runtime/{2iAslXEF.js → DBbch1O-.js} +1 -1
  63. package/static/umd-runtime/{Bcqtk2f7.js → Dqoi-pC_.js} +2 -2
  64. package/static/umd-runtime/{CDTBLHGd.js → G2k8ELiO.js} +3 -3
  65. package/static/umd-runtime/{CVtPwspX.js → SFp4nbvq.js} +1 -1
  66. package/static/umd-runtime/{DVB_-O4B.js → UsRzAWs2.js} +1 -1
  67. package/static/umd-runtime/runtime.2paN090q.js +1 -0
  68. package/static/umd-runtime/{ui-kit-icons.js → ui-kit-icons.DqlZwgBU.js} +1 -1
  69. package/static/umd-runtime/{ui-kit.js → ui-kit.CoVNet0I.js} +2 -2
  70. package/static/umd-runtime/{DP3QTW77.js → uk9LyZos.js} +1 -1
  71. package/ui-kit/icons.js +2 -0
  72. package/useblocks-core.1c4e77a0.js +859 -0
  73. package/useblocks-esm.js +11 -10
  74. package/{useblocks-po.bb6d921f.js → useblocks-po.1c4e77a0.js} +1 -1
  75. package/useblocks.d.ts +162 -28
  76. package/useblocks.js +39 -15
  77. package/vendor/@rc-component/cascader/package.json +1 -1
  78. package/vendor/@rc-component/dialog/es/Dialog/Content/Panel.js +3 -2
  79. package/vendor/@rc-component/dialog/package.json +1 -1
  80. package/vendor/@rc-component/image/es/Preview/index.js +3 -3
  81. package/vendor/@rc-component/image/package.json +1 -1
  82. package/vendor/@rc-component/input/es/BaseInput.js +3 -3
  83. package/vendor/@rc-component/input/es/Input.js +20 -27
  84. package/vendor/@rc-component/{textarea → input}/es/ResizableTextArea.js +5 -4
  85. package/vendor/@rc-component/{textarea → input}/es/TextArea.js +30 -40
  86. package/vendor/@rc-component/{textarea → input}/es/calculateNodeHeight.js +4 -4
  87. package/vendor/@rc-component/input/es/hooks/useCountDisplay.js +25 -0
  88. package/vendor/@rc-component/input/es/hooks/useCountExceed.js +25 -0
  89. package/vendor/@rc-component/input/es/hooks/useMergedValue.js +13 -0
  90. package/vendor/@rc-component/input/es/index.js +3 -1
  91. package/vendor/@rc-component/input/package.json +1 -1
  92. package/vendor/@rc-component/mentions/es/DropdownMenu.js +1 -1
  93. package/vendor/@rc-component/mentions/es/Mentions.js +35 -8
  94. package/vendor/@rc-component/mentions/package.json +1 -1
  95. package/vendor/@rc-component/menu/es/Menu.js +1 -0
  96. package/vendor/@rc-component/menu/es/MenuItem.js +1 -0
  97. package/vendor/@rc-component/menu/es/MenuItemGroup.js +1 -0
  98. package/vendor/@rc-component/menu/es/SubMenu/PopupTrigger.js +1 -0
  99. package/vendor/@rc-component/menu/es/SubMenu/index.js +1 -0
  100. package/vendor/@rc-component/menu/es/context/MenuContext.js +1 -0
  101. package/vendor/@rc-component/menu/es/hooks/useAccessibility.js +1 -0
  102. package/vendor/@rc-component/menu/es/hooks/useKeyRecords.js +1 -0
  103. package/vendor/@rc-component/menu/es/utils/commonUtil.js +1 -0
  104. package/vendor/@rc-component/menu/es/utils/nodeUtil.js +2 -1
  105. package/vendor/@rc-component/menu/es/utils/warnUtil.js +1 -0
  106. package/vendor/@rc-component/menu/package.json +1 -1
  107. package/vendor/@rc-component/notification/LICENSE +21 -0
  108. package/vendor/@rc-component/notification/_/@rc-component/util/LICENSE +22 -0
  109. package/vendor/@rc-component/notification/_/@rc-component/util/es/Children/toArray.js +15 -0
  110. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/canUseDom.js +6 -0
  111. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/contains.js +13 -0
  112. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/dynamicCSS.js +94 -0
  113. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/findDOMNode.js +14 -0
  114. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/focus.js +99 -0
  115. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/isVisible.js +18 -0
  116. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/shadow.js +12 -0
  117. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/styleChecker.js +2 -0
  118. package/vendor/@rc-component/notification/_/@rc-component/util/es/KeyCode.js +499 -0
  119. package/vendor/@rc-component/notification/_/@rc-component/util/es/Portal.js +28 -0
  120. package/vendor/@rc-component/notification/_/@rc-component/util/es/React/isFragment.js +12 -0
  121. package/vendor/@rc-component/notification/_/@rc-component/util/es/React/render.js +2 -0
  122. package/vendor/@rc-component/notification/_/@rc-component/util/es/getScrollBarSize.js +2 -0
  123. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useControlledState.js +3 -0
  124. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useDelayState.js +4 -0
  125. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useEvent.js +9 -0
  126. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useId.js +23 -0
  127. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useLayoutEffect.js +26 -0
  128. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMemo.js +12 -0
  129. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMergedState.js +4 -0
  130. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useState.js +24 -0
  131. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useSyncState.js +20 -0
  132. package/vendor/@rc-component/notification/_/@rc-component/util/es/index.js +36 -0
  133. package/vendor/@rc-component/notification/_/@rc-component/util/es/is.js +21 -0
  134. package/vendor/@rc-component/notification/_/@rc-component/util/es/isEqual.js +35 -0
  135. package/vendor/@rc-component/notification/_/@rc-component/util/es/isMobile.js +11 -0
  136. package/vendor/@rc-component/notification/_/@rc-component/util/es/mergeProps.js +14 -0
  137. package/vendor/@rc-component/notification/_/@rc-component/util/es/omit.js +1 -0
  138. package/vendor/@rc-component/notification/_/@rc-component/util/es/pickAttrs.js +50 -0
  139. package/vendor/@rc-component/notification/_/@rc-component/util/es/proxyObject.js +1 -0
  140. package/vendor/@rc-component/notification/_/@rc-component/util/es/raf.js +36 -0
  141. package/vendor/@rc-component/notification/_/@rc-component/util/es/ref.js +38 -0
  142. package/vendor/@rc-component/notification/_/@rc-component/util/es/test/domHook.js +36 -0
  143. package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/get.js +11 -0
  144. package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/set.js +58 -0
  145. package/vendor/@rc-component/notification/_/@rc-component/util/es/warning.js +46 -0
  146. package/vendor/@rc-component/notification/_/@rc-component/util/package.json +6 -0
  147. package/vendor/@rc-component/notification/es/Notification.js +129 -0
  148. package/vendor/@rc-component/notification/es/NotificationList/Content.js +33 -0
  149. package/vendor/@rc-component/notification/es/NotificationList/index.js +174 -0
  150. package/vendor/@rc-component/notification/es/NotificationProvider.js +4 -3
  151. package/vendor/@rc-component/notification/es/Notifications.js +28 -31
  152. package/vendor/@rc-component/notification/es/Progress.js +10 -0
  153. package/vendor/@rc-component/notification/es/hooks/useClosable.js +30 -0
  154. package/vendor/@rc-component/notification/es/hooks/useListPosition/index.js +50 -0
  155. package/vendor/@rc-component/notification/es/hooks/useListPosition/useSizes.js +33 -0
  156. package/vendor/@rc-component/notification/es/hooks/useNoticeTimer.js +58 -0
  157. package/vendor/@rc-component/notification/es/hooks/useNotification.js +27 -18
  158. package/vendor/@rc-component/notification/es/hooks/useStack.js +4 -4
  159. package/vendor/@rc-component/notification/es/index.js +4 -2
  160. package/vendor/@rc-component/notification/package.json +1 -1
  161. package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/MultipleDates.js +13 -3
  162. package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/index.js +3 -1
  163. package/vendor/@rc-component/picker/es/PickerInput/SinglePicker.js +2 -1
  164. package/vendor/@rc-component/picker/package.json +1 -1
  165. package/vendor/@rc-component/table/LICENSE +21 -0
  166. package/vendor/@rc-component/table/es/Body/MeasureCell.js +1 -0
  167. package/vendor/@rc-component/table/es/Body/MeasureRow.js +1 -0
  168. package/vendor/@rc-component/table/es/Cell/useCellRender.js +1 -0
  169. package/vendor/@rc-component/table/es/FixedHolder/index.js +1 -0
  170. package/vendor/@rc-component/table/es/Table.js +17 -9
  171. package/vendor/@rc-component/table/es/VirtualTable/BodyGrid.js +10 -4
  172. package/vendor/@rc-component/table/es/VirtualTable/BodyLine.js +13 -5
  173. package/vendor/@rc-component/table/es/hooks/useColumns/index.js +1 -0
  174. package/vendor/@rc-component/table/es/hooks/useExpand.js +1 -0
  175. package/vendor/@rc-component/table/es/hooks/useFixedInfo.js +1 -0
  176. package/vendor/@rc-component/table/es/hooks/useSticky.js +1 -0
  177. package/vendor/@rc-component/table/es/index.js +2 -1
  178. package/vendor/@rc-component/table/es/stickyScrollBar.js +1 -0
  179. package/vendor/@rc-component/table/es/utils/legacyUtil.js +1 -0
  180. package/vendor/@rc-component/table/es/utils/offsetUtil.js +1 -0
  181. package/vendor/@rc-component/table/package.json +1 -1
  182. package/vendor/@rc-component/tabs/es/TabNavList/OperationNode.js +4 -2
  183. package/vendor/@rc-component/tabs/es/TabNavList/TabNode.js +5 -4
  184. package/vendor/@rc-component/tabs/es/TabNavList/index.js +11 -4
  185. package/vendor/@rc-component/tabs/es/Tabs.js +1 -0
  186. package/vendor/@rc-component/tabs/es/hooks/useAnimateConfig.js +1 -0
  187. package/vendor/@rc-component/tabs/es/hooks/useIndicator.js +1 -0
  188. package/vendor/@rc-component/tabs/es/hooks/useUpdate.js +1 -0
  189. package/vendor/@rc-component/tabs/package.json +1 -1
  190. package/vendor/@rc-component/tour/es/TourStep/DefaultPanel.js +4 -1
  191. package/vendor/@rc-component/tour/package.json +1 -1
  192. package/vendor/@rc-component/tree/es/MotionTreeNode.js +1 -0
  193. package/vendor/@rc-component/tree/es/NodeList.js +2 -2
  194. package/vendor/@rc-component/tree/es/Tree.js +4 -5
  195. package/vendor/@rc-component/tree/es/TreeNode.js +7 -2
  196. package/vendor/@rc-component/tree/es/index.js +3 -0
  197. package/vendor/@rc-component/tree/es/useUnmount.js +1 -0
  198. package/vendor/@rc-component/tree/es/util.js +1 -0
  199. package/vendor/@rc-component/tree/es/utils/conductUtil.js +1 -0
  200. package/vendor/@rc-component/tree/es/utils/treeUtil.js +1 -0
  201. package/vendor/@rc-component/tree/package.json +1 -1
  202. package/vendor/@rc-component/tree-select/package.json +1 -1
  203. package/vendor/@rc-component/util/es/index.js +10 -10
  204. package/vendor/antd/es/_util/ActionButton.js +2 -3
  205. package/vendor/antd/es/_util/ContextIsolator.js +1 -1
  206. package/vendor/antd/es/_util/PurePanel.js +7 -4
  207. package/vendor/antd/es/_util/convertToTooltipProps.js +2 -2
  208. package/vendor/antd/es/_util/fallbackProp.js +15 -0
  209. package/vendor/antd/es/_util/gapSize.js +2 -1
  210. package/vendor/antd/es/_util/getRenderPropValue.js +2 -1
  211. package/vendor/antd/es/_util/getScroll.js +4 -4
  212. package/vendor/antd/es/_util/hooks/index.js +2 -2
  213. package/vendor/antd/es/_util/hooks/useAllowClear.js +25 -0
  214. package/vendor/antd/es/_util/hooks/useClosable.js +6 -5
  215. package/vendor/antd/es/_util/hooks/{useMergeSemantic.js → useMergeSemantic/index.js} +14 -24
  216. package/vendor/antd/es/_util/hooks/useMergeSemantic/utils.js +14 -0
  217. package/vendor/antd/es/_util/hooks/useMergedMask.js +2 -1
  218. package/vendor/antd/es/_util/is.js +27 -0
  219. package/vendor/antd/es/_util/motion.js +8 -8
  220. package/vendor/antd/es/_util/normalizeIcon.js +9 -0
  221. package/vendor/antd/es/_util/placements.js +2 -1
  222. package/vendor/antd/es/_util/reactNode.js +2 -1
  223. package/vendor/antd/es/_util/responsiveObserver.js +3 -2
  224. package/vendor/antd/es/_util/scrollTo.js +3 -1
  225. package/vendor/antd/es/_util/styleChecker.js +1 -0
  226. package/vendor/antd/es/_util/throttleByAnimationFrame.js +1 -0
  227. package/vendor/antd/es/_util/toList.js +1 -1
  228. package/vendor/antd/es/_util/wave/WaveEffect.js +3 -1
  229. package/vendor/antd/es/_util/wave/index.js +14 -4
  230. package/vendor/antd/es/_util/wave/util.js +5 -3
  231. package/vendor/antd/es/alert/Alert.js +12 -10
  232. package/vendor/antd/es/alert/ErrorBoundary.js +1 -1
  233. package/vendor/antd/es/alert/style/index.js +16 -10
  234. package/vendor/antd/es/anchor/Anchor.js +23 -16
  235. package/vendor/antd/es/anchor/AnchorLink.js +4 -4
  236. package/vendor/antd/es/app/App.js +7 -3
  237. package/vendor/antd/es/auto-complete/AutoComplete.js +7 -8
  238. package/vendor/antd/es/avatar/Avatar.js +5 -3
  239. package/vendor/antd/es/back-top/index.js +1 -0
  240. package/vendor/antd/es/badge/Badge.js +5 -6
  241. package/vendor/antd/es/badge/Ribbon.js +1 -2
  242. package/vendor/antd/es/badge/style/index.js +4 -3
  243. package/vendor/antd/es/border-beam/BorderBeam.js +42 -0
  244. package/vendor/antd/es/border-beam/BorderBeamEffect.js +24 -0
  245. package/vendor/antd/es/border-beam/hooks/useBorderSize.js +37 -0
  246. package/vendor/antd/es/border-beam/hooks/useChildDom.js +24 -0
  247. package/vendor/antd/es/border-beam/index.js +7 -0
  248. package/vendor/antd/es/border-beam/style/index.js +60 -0
  249. package/vendor/antd/es/border-beam/util.js +26 -0
  250. package/vendor/antd/es/breadcrumb/Breadcrumb.js +1 -2
  251. package/vendor/antd/es/breadcrumb/BreadcrumbItem.js +1 -1
  252. package/vendor/antd/es/breadcrumb/useItemRender.js +3 -2
  253. package/vendor/antd/es/button/Button.js +7 -6
  254. package/vendor/antd/es/button/buttonHelpers.js +4 -8
  255. package/vendor/antd/es/button/index.js +2 -2
  256. package/vendor/antd/es/button/style/index.js +5 -0
  257. package/vendor/antd/es/calendar/generateCalendar.js +20 -8
  258. package/vendor/antd/es/card/Card.js +5 -7
  259. package/vendor/antd/es/card/CardMeta.js +1 -2
  260. package/vendor/antd/es/carousel/index.js +2 -1
  261. package/vendor/antd/es/cascader/Panel.js +1 -1
  262. package/vendor/antd/es/cascader/index.js +23 -16
  263. package/vendor/antd/es/cascader/style/columns.js +6 -2
  264. package/vendor/antd/es/checkbox/Checkbox.js +2 -3
  265. package/vendor/antd/es/checkbox/Group.js +2 -1
  266. package/vendor/antd/es/checkbox/style/index.js +1 -5
  267. package/vendor/antd/es/checkbox/useBubbleLock.js +1 -0
  268. package/vendor/antd/es/collapse/Collapse.js +3 -3
  269. package/vendor/antd/es/collapse/style/index.js +1 -4
  270. package/vendor/antd/es/color-picker/ColorPicker.js +1 -2
  271. package/vendor/antd/es/color-picker/ColorPickerPanel.js +2 -1
  272. package/vendor/antd/es/color-picker/components/ColorTrigger.js +3 -1
  273. package/vendor/antd/es/color-picker/components/PanelPicker/index.js +1 -0
  274. package/vendor/antd/es/config-provider/hooks/useSize.js +3 -2
  275. package/vendor/antd/es/config-provider/hooks/useTheme.js +2 -0
  276. package/vendor/antd/es/config-provider/index.js +11 -3
  277. package/vendor/antd/es/date-picker/generatePicker/generateRangePicker.js +20 -10
  278. package/vendor/antd/es/date-picker/generatePicker/generateSinglePicker.js +17 -8
  279. package/vendor/antd/es/date-picker/generatePicker/useSuffixIcon.js +1 -1
  280. package/vendor/antd/es/date-picker/hooks/useMergedPickerSemantic.js +1 -2
  281. package/vendor/antd/es/date-picker/style/index.js +13 -3
  282. package/vendor/antd/es/date-picker/style/multiple.js +3 -4
  283. package/vendor/antd/es/date-picker/style/panel.js +5 -20
  284. package/vendor/antd/es/date-picker/util.js +14 -13
  285. package/vendor/antd/es/descriptions/Cell.js +2 -3
  286. package/vendor/antd/es/descriptions/hooks/useItems.js +2 -1
  287. package/vendor/antd/es/descriptions/index.js +3 -3
  288. package/vendor/antd/es/divider/index.js +3 -2
  289. package/vendor/antd/es/drawer/Drawer.js +10 -5
  290. package/vendor/antd/es/drawer/DrawerPanel.js +3 -2
  291. package/vendor/antd/es/dropdown/dropdown.js +11 -8
  292. package/vendor/antd/es/dropdown/style/index.js +2 -6
  293. package/vendor/antd/es/empty/index.js +1 -2
  294. package/vendor/antd/es/flex/index.js +2 -2
  295. package/vendor/antd/es/float-button/BackTop.js +1 -0
  296. package/vendor/antd/es/float-button/FloatButton.js +3 -3
  297. package/vendor/antd/es/float-button/FloatButtonGroup.js +2 -2
  298. package/vendor/antd/es/form/ErrorList.js +13 -6
  299. package/vendor/antd/es/form/Form.js +7 -6
  300. package/vendor/antd/es/form/FormItem/ItemHolder.js +1 -1
  301. package/vendor/antd/es/form/FormItem/index.js +6 -6
  302. package/vendor/antd/es/form/FormItemInput.js +5 -3
  303. package/vendor/antd/es/form/FormItemLabel.js +2 -1
  304. package/vendor/antd/es/form/FormList.js +1 -0
  305. package/vendor/antd/es/form/hooks/useChildren.js +4 -3
  306. package/vendor/antd/es/form/hooks/useForm.js +3 -1
  307. package/vendor/antd/es/form/hooks/useFrameState.js +1 -0
  308. package/vendor/antd/es/form/hooks/useItemRef.js +7 -5
  309. package/vendor/antd/es/form/style/index.js +1 -3
  310. package/vendor/antd/es/grid/col.js +5 -7
  311. package/vendor/antd/es/grid/hooks/useBreakpoint.js +1 -0
  312. package/vendor/antd/es/grid/hooks/useGutter.js +2 -1
  313. package/vendor/antd/es/grid/row.js +7 -6
  314. package/vendor/antd/es/image/PreviewGroup.js +1 -2
  315. package/vendor/antd/es/image/Progress.js +58 -0
  316. package/vendor/antd/es/image/hooks/useMergedPreviewConfig.js +3 -1
  317. package/vendor/antd/es/image/hooks/usePlaceholderConfig.js +15 -0
  318. package/vendor/antd/es/image/hooks/usePreviewConfig.js +3 -2
  319. package/vendor/antd/es/image/index.js +36 -5
  320. package/vendor/antd/es/image/style/index.js +114 -4
  321. package/vendor/antd/es/image/style/progressAnimation.js +26 -0
  322. package/vendor/antd/es/index.js +2 -1
  323. package/vendor/antd/es/input/Input.js +9 -4
  324. package/vendor/antd/es/input/OTP/OTPInput.js +1 -0
  325. package/vendor/antd/es/input/OTP/index.js +3 -3
  326. package/vendor/antd/es/input/Password.js +45 -26
  327. package/vendor/antd/es/input/Search.js +6 -5
  328. package/vendor/antd/es/input/TextArea.js +13 -7
  329. package/vendor/antd/es/input/style/index.js +17 -11
  330. package/vendor/antd/es/input/style/otp.js +2 -1
  331. package/vendor/antd/es/input/style/variants.js +16 -10
  332. package/vendor/antd/es/input-number/index.js +3 -3
  333. package/vendor/antd/es/input-number/style/index.js +9 -9
  334. package/vendor/antd/es/layout/Sider.js +3 -2
  335. package/vendor/antd/es/list/index.js +5 -3
  336. package/vendor/antd/es/locale/en_US.js +3 -1
  337. package/vendor/antd/es/locale/ru_RU.js +3 -1
  338. package/vendor/antd/es/locale/useLocale.js +2 -1
  339. package/vendor/antd/es/masonry/Masonry.js +4 -3
  340. package/vendor/antd/es/mentions/index.js +28 -14
  341. package/vendor/antd/es/menu/MenuItem.js +2 -1
  342. package/vendor/antd/es/menu/OverrideContext.js +1 -0
  343. package/vendor/antd/es/menu/SubMenu.js +1 -1
  344. package/vendor/antd/es/menu/menu.js +5 -5
  345. package/vendor/antd/es/menu/style/index.js +21 -36
  346. package/vendor/antd/es/menu/style/vertical.js +2 -1
  347. package/vendor/antd/es/message/PureList.js +49 -0
  348. package/vendor/antd/es/message/PurePanel.js +28 -36
  349. package/vendor/antd/es/message/index.js +6 -3
  350. package/vendor/antd/es/message/style/index.js +102 -99
  351. package/vendor/antd/es/message/useMessage.js +29 -33
  352. package/vendor/antd/es/message/util.js +1 -1
  353. package/vendor/antd/es/modal/ConfirmDialog.js +11 -9
  354. package/vendor/antd/es/modal/Modal.js +12 -7
  355. package/vendor/antd/es/modal/PurePanel.js +1 -2
  356. package/vendor/antd/es/modal/confirm.js +4 -3
  357. package/vendor/antd/es/modal/shared.js +3 -2
  358. package/vendor/antd/es/modal/useModal/HookModal.js +2 -1
  359. package/vendor/antd/es/notification/PureList.js +46 -0
  360. package/vendor/antd/es/notification/PurePanel.js +37 -56
  361. package/vendor/antd/es/notification/hooks/useStackConfig.js +13 -0
  362. package/vendor/antd/es/notification/index.js +3 -1
  363. package/vendor/antd/es/notification/style/index.js +103 -170
  364. package/vendor/antd/es/notification/style/notification.js +191 -0
  365. package/vendor/antd/es/notification/style/placement.js +117 -60
  366. package/vendor/antd/es/notification/useNotification.js +37 -40
  367. package/vendor/antd/es/notification/util.js +9 -50
  368. package/vendor/antd/es/pagination/Pagination.js +1 -2
  369. package/vendor/antd/es/pagination/useShowSizeChanger.js +2 -1
  370. package/vendor/antd/es/popconfirm/PurePanel.js +4 -1
  371. package/vendor/antd/es/popconfirm/index.js +1 -2
  372. package/vendor/antd/es/popover/PurePanel.js +1 -2
  373. package/vendor/antd/es/popover/index.js +1 -2
  374. package/vendor/antd/es/progress/Circle.js +2 -1
  375. package/vendor/antd/es/progress/progress.js +3 -3
  376. package/vendor/antd/es/progress/utils.js +4 -3
  377. package/vendor/antd/es/qr-code/index.js +4 -4
  378. package/vendor/antd/es/radio/group.js +4 -3
  379. package/vendor/antd/es/radio/radio.js +2 -2
  380. package/vendor/antd/es/radio/style/index.js +1 -1
  381. package/vendor/antd/es/rate/index.js +2 -4
  382. package/vendor/antd/es/result/index.js +6 -5
  383. package/vendor/antd/es/result/style/index.js +10 -6
  384. package/vendor/antd/es/segmented/index.js +5 -3
  385. package/vendor/antd/es/select/index.js +23 -12
  386. package/vendor/antd/es/select/style/dropdown.js +1 -1
  387. package/vendor/antd/es/select/style/select-input.js +23 -15
  388. package/vendor/antd/es/select/useIcons.js +43 -26
  389. package/vendor/antd/es/skeleton/Element.js +2 -1
  390. package/vendor/antd/es/skeleton/Skeleton.js +3 -3
  391. package/vendor/antd/es/slider/SliderTooltip.js +1 -0
  392. package/vendor/antd/es/slider/index.js +5 -3
  393. package/vendor/antd/es/slider/useRafLock.js +1 -0
  394. package/vendor/antd/es/space/Compact.js +1 -1
  395. package/vendor/antd/es/space/Item.js +1 -1
  396. package/vendor/antd/es/space/index.js +2 -2
  397. package/vendor/antd/es/space/style/addon.js +5 -2
  398. package/vendor/antd/es/spin/Indicator/Progress.js +2 -1
  399. package/vendor/antd/es/spin/index.js +1 -2
  400. package/vendor/antd/es/splitter/Panel.js +7 -3
  401. package/vendor/antd/es/splitter/SplitBar.js +5 -4
  402. package/vendor/antd/es/splitter/Splitter.js +9 -6
  403. package/vendor/antd/es/splitter/hooks/useItems.js +2 -1
  404. package/vendor/antd/es/splitter/hooks/useSizes.js +1 -1
  405. package/vendor/antd/es/splitter/style/index.js +8 -6
  406. package/vendor/antd/es/statistic/Number.js +8 -4
  407. package/vendor/antd/es/statistic/Statistic.js +14 -10
  408. package/vendor/antd/es/steps/index.js +4 -4
  409. package/vendor/antd/es/style/compact-item-vertical.js +2 -1
  410. package/vendor/antd/es/style/compact-item.js +6 -6
  411. package/vendor/antd/es/switch/index.js +1 -2
  412. package/vendor/antd/es/table/InternalTable.js +23 -14
  413. package/vendor/antd/es/table/hooks/useFilledColumns.js +23 -0
  414. package/vendor/antd/es/table/hooks/useFilter/FilterDropdown.js +22 -16
  415. package/vendor/antd/es/table/hooks/useFilter/FilterWrapper.js +1 -0
  416. package/vendor/antd/es/table/hooks/useFilter/index.js +34 -18
  417. package/vendor/antd/es/table/hooks/useLazyKVMap.js +2 -1
  418. package/vendor/antd/es/table/hooks/usePagination.js +7 -4
  419. package/vendor/antd/es/table/hooks/useSelection.js +32 -21
  420. package/vendor/antd/es/table/hooks/useSorter.js +10 -5
  421. package/vendor/antd/es/table/style/bordered.js +5 -27
  422. package/vendor/antd/es/table/style/empty.js +1 -4
  423. package/vendor/antd/es/table/style/index.js +1 -4
  424. package/vendor/antd/es/table/util.js +6 -6
  425. package/vendor/antd/es/tabs/hooks/useAnimateConfig.js +2 -1
  426. package/vendor/antd/es/tabs/index.js +1 -2
  427. package/vendor/antd/es/tag/CheckableTagGroup.js +8 -5
  428. package/vendor/antd/es/tag/hooks/useColor.js +4 -3
  429. package/vendor/antd/es/tag/index.js +13 -7
  430. package/vendor/antd/es/theme/themes/dark/colors.js +2 -1
  431. package/vendor/antd/es/theme/themes/default/colors.js +2 -1
  432. package/vendor/antd/es/theme/useToken.js +2 -2
  433. package/vendor/antd/es/theme/util/alias.js +34 -29
  434. package/vendor/antd/es/timeline/Timeline.js +3 -4
  435. package/vendor/antd/es/tooltip/PurePanel.js +1 -2
  436. package/vendor/antd/es/tooltip/UniqueProvider/index.js +2 -1
  437. package/vendor/antd/es/tooltip/index.js +9 -7
  438. package/vendor/antd/es/tour/PurePanel.js +2 -2
  439. package/vendor/antd/es/tour/index.js +1 -1
  440. package/vendor/antd/es/tour/panelRender.js +4 -2
  441. package/vendor/antd/es/transfer/ListBody.js +3 -1
  442. package/vendor/antd/es/transfer/ListItem.js +2 -1
  443. package/vendor/antd/es/transfer/Section.js +17 -8
  444. package/vendor/antd/es/transfer/index.js +51 -16
  445. package/vendor/antd/es/transfer/style/index.js +5 -1
  446. package/vendor/antd/es/tree/Tree.js +1 -2
  447. package/vendor/antd/es/tree/style/index.js +5 -1
  448. package/vendor/antd/es/tree/utils/iconUtil.js +5 -4
  449. package/vendor/antd/es/tree-select/index.js +3 -3
  450. package/vendor/antd/es/typography/Base/CopyBtn.js +3 -2
  451. package/vendor/antd/es/typography/Base/Ellipsis.js +3 -3
  452. package/vendor/antd/es/typography/Base/index.js +38 -31
  453. package/vendor/antd/es/typography/Editable.js +10 -4
  454. package/vendor/antd/es/typography/Link.js +1 -0
  455. package/vendor/antd/es/typography/Text.js +2 -1
  456. package/vendor/antd/es/typography/Typography.js +20 -10
  457. package/vendor/antd/es/typography/hooks/useCopyClick.js +2 -1
  458. package/vendor/antd/es/typography/hooks/useMergedConfig.js +13 -7
  459. package/vendor/antd/es/typography/hooks/useTooltipProps.js +2 -1
  460. package/vendor/antd/es/typography/hooks/useTypographySemantic.js +33 -0
  461. package/vendor/antd/es/typography/style/index.js +12 -27
  462. package/vendor/antd/es/typography/style/mixins.js +46 -13
  463. package/vendor/antd/es/upload/Upload.js +13 -7
  464. package/vendor/antd/es/upload/UploadList/ListItem.js +6 -5
  465. package/vendor/antd/es/upload/UploadList/index.js +4 -3
  466. package/vendor/antd/es/upload/utils.js +18 -1
  467. package/vendor/antd/es/version/version.js +1 -1
  468. package/vendor/antd/es/watermark/index.js +6 -4
  469. package/vendor/antd/es/watermark/useSingletonCache.js +1 -0
  470. package/vendor/antd/es/watermark/useWatermark.js +3 -3
  471. package/vendor/antd/package.json +1 -1
  472. package/vendor/useblocks-ui-kit/es/components/DataEntry/Input/index.js +1 -1
  473. package/vendor/useblocks-ui-kit/es/components/General/EmIcons/deprecationNotice.js +1 -1
  474. package/vendor/useblocks-ui-kit/package.json +1 -1
  475. package/vite/index.cjs +2 -2
  476. package/vite/index.js +2 -2
  477. package/iframe/js/discussHandlers.ozU2Hn_l.js +0 -87
  478. package/iframe/js/iframe.body.js +0 -319
  479. package/static/core/1c535081.js +0 -1
  480. package/static/core/1cee0d36.js +0 -1
  481. package/static/core/4fbdd8b6.js +0 -2
  482. package/static/core/55a38638.js +0 -93
  483. package/static/core/605c665e.js +0 -28
  484. package/static/core/68cbe23d.js +0 -1
  485. package/static/core/89431649.js +0 -7
  486. package/static/core/8b821a61.js +0 -1
  487. package/static/core/9718977a.js +0 -1
  488. package/static/core/b7e9202e.js +0 -27
  489. package/static/core/b877f7b4.js +0 -1
  490. package/static/core/baded0c1.js +0 -1
  491. package/static/core/c6cc104d.js +0 -4
  492. package/static/core/d70aac44.js +0 -291
  493. package/static/core/e0d71533.js +0 -100
  494. package/static/core/fb57f60b.js +0 -1
  495. package/static/core/fe756e4d.js +0 -1
  496. package/static/esm/349f9e2c.js +0 -1
  497. package/static/esm/50fbfdf6.js +0 -1
  498. package/static/media/icon-sets/lucide.json +0 -6275
  499. package/static/media/icon-sets/tabler.json +0 -19336
  500. package/static/umd-runtime/Cl8heeC3.js +0 -1
  501. package/static/umd-runtime/D0xo8o9c.js +0 -335
  502. package/static/umd-runtime/runtime.js +0 -1
  503. package/useblocks-core.bb6d921f.js +0 -859
  504. package/vendor/@rc-component/notification/es/Notice.js +0 -106
  505. package/vendor/@rc-component/notification/es/NoticeList.js +0 -98
  506. package/vendor/@rc-component/textarea/LICENSE.md +0 -9
  507. package/vendor/@rc-component/textarea/es/index.js +0 -6
  508. package/vendor/@rc-component/textarea/package.json +0 -6
  509. package/vendor/antd/es/_util/extendsObject.js +0 -12
  510. package/vendor/antd/es/_util/getAllowClear.js +0 -12
  511. package/vendor/antd/es/_util/isNonNullable.js +0 -6
  512. package/vendor/antd/es/_util/isPrimitive.js +0 -4
  513. package/vendor/antd/es/notification/style/pure-panel.js +0 -18
  514. package/vendor/antd/es/notification/style/stack.js +0 -85
  515. /package/static/monaco/{index.js → index.CO7s5UdA.js} +0 -0
  516. /package/static/umd-runtime/{delivery-libs.js → delivery-libs.3Svr0avG.js} +0 -0
@@ -42,6 +42,7 @@ var _excluded = [
42
42
  "onInputChange",
43
43
  "multiple",
44
44
  "maxTagCount",
45
+ "tagRender",
45
46
  "format",
46
47
  "maskFormat",
47
48
  "preserveInvalidOnBlur",
@@ -195,7 +196,7 @@ function SingleSelector(props, ref) {
195
196
  props.onKeyDown;
196
197
  var locale = props.locale, generateConfig = props.generateConfig, placeholder = props.placeholder, className = props.className, style = props.style, onClick = props.onClick, onClear = props.onClear, internalPicker = props.internalPicker, value = props.value, onChange = props.onChange, onSubmit = props.onSubmit;
197
198
  props.onInputChange;
198
- var multiple = props.multiple, maxTagCount = props.maxTagCount;
199
+ var multiple = props.multiple, maxTagCount = props.maxTagCount, tagRender = props.tagRender;
199
200
  props.format;
200
201
  props.maskFormat;
201
202
  props.preserveInvalidOnBlur;
@@ -248,6 +249,7 @@ function SingleSelector(props, ref) {
248
249
  onRemove: onMultipleRemove,
249
250
  formatDate: getText,
250
251
  maxTagCount,
252
+ tagRender,
251
253
  disabled,
252
254
  removeIcon,
253
255
  placeholder
@@ -147,7 +147,7 @@ function _arrayWithHoles(arr) {
147
147
  /** Internal usage. For cross function get same aligned props */
148
148
  function Picker(props, ref) {
149
149
  var _useFilledProps2 = _slicedToArray(useFilledProps(props), 6), filledProps = _useFilledProps2[0], internalPicker = _useFilledProps2[1], complexPicker = _useFilledProps2[2], formatList = _useFilledProps2[3], maskFormat = _useFilledProps2[4], isInvalidateDate = _useFilledProps2[5];
150
- var _ref = filledProps, prefixCls = _ref.prefixCls, rootClassName = _ref.rootClassName, propStyles = _ref.styles, propClassNames = _ref.classNames, previewValue = _ref.previewValue, order = _ref.order, defaultValue = _ref.defaultValue, value = _ref.value, needConfirm = _ref.needConfirm, onChange = _ref.onChange, onKeyDown = _ref.onKeyDown, disabled = _ref.disabled, disabledDate = _ref.disabledDate, minDate = _ref.minDate, maxDate = _ref.maxDate, defaultOpen = _ref.defaultOpen, open = _ref.open, onOpenChange = _ref.onOpenChange, locale = _ref.locale, generateConfig = _ref.generateConfig, picker = _ref.picker, showNow = _ref.showNow, showToday = _ref.showToday, showTime = _ref.showTime, mode = _ref.mode, onPanelChange = _ref.onPanelChange, onCalendarChange = _ref.onCalendarChange, onOk = _ref.onOk, multiple = _ref.multiple, defaultPickerValue = _ref.defaultPickerValue, pickerValue = _ref.pickerValue, onPickerValueChange = _ref.onPickerValueChange, inputReadOnly = _ref.inputReadOnly, suffixIcon = _ref.suffixIcon, removeIcon = _ref.removeIcon, onFocus = _ref.onFocus, onBlur = _ref.onBlur, presets = _ref.presets, components = _ref.components, cellRender = _ref.cellRender, dateRender = _ref.dateRender, monthCellRender = _ref.monthCellRender, onClick = _ref.onClick;
150
+ var _ref = filledProps, prefixCls = _ref.prefixCls, rootClassName = _ref.rootClassName, propStyles = _ref.styles, propClassNames = _ref.classNames, previewValue = _ref.previewValue, order = _ref.order, defaultValue = _ref.defaultValue, value = _ref.value, needConfirm = _ref.needConfirm, onChange = _ref.onChange, onKeyDown = _ref.onKeyDown, disabled = _ref.disabled, disabledDate = _ref.disabledDate, minDate = _ref.minDate, maxDate = _ref.maxDate, defaultOpen = _ref.defaultOpen, open = _ref.open, onOpenChange = _ref.onOpenChange, locale = _ref.locale, generateConfig = _ref.generateConfig, picker = _ref.picker, showNow = _ref.showNow, showToday = _ref.showToday, showTime = _ref.showTime, mode = _ref.mode, onPanelChange = _ref.onPanelChange, onCalendarChange = _ref.onCalendarChange, onOk = _ref.onOk, multiple = _ref.multiple, defaultPickerValue = _ref.defaultPickerValue, pickerValue = _ref.pickerValue, onPickerValueChange = _ref.onPickerValueChange, inputReadOnly = _ref.inputReadOnly, suffixIcon = _ref.suffixIcon, removeIcon = _ref.removeIcon, tagRender = _ref.tagRender, onFocus = _ref.onFocus, onBlur = _ref.onBlur, presets = _ref.presets, components = _ref.components, cellRender = _ref.cellRender, dateRender = _ref.dateRender, monthCellRender = _ref.monthCellRender, onClick = _ref.onClick;
151
151
  var selectorRef = usePickerRef(ref);
152
152
  function pickerParam(values) {
153
153
  if (values === null) return null;
@@ -382,6 +382,7 @@ function Picker(props, ref) {
382
382
  style: _objectSpread(_objectSpread({}, mergedStyles.root), filledProps.style),
383
383
  suffixIcon,
384
384
  removeIcon,
385
+ tagRender,
385
386
  activeHelp: !!internalHoverValue,
386
387
  allHelp: !!internalHoverValue && hoverSource === "preset",
387
388
  focused,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/picker",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "license": "MIT",
5
5
  "type": "module"
6
6
  }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019-present react-component
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,4 +1,5 @@
1
1
  import useLayoutEffect$1 from "../../../util/es/hooks/useLayoutEffect.js";
2
+ import "../../../util/es/index.js";
2
3
  import RefResizeObserver from "../../../resize-observer/es/index.js";
3
4
  import * as React$1 from "../../../../react/index.js";
4
5
  //#region node_modules/@rc-component/table/es/Body/MeasureCell.js
@@ -1,4 +1,5 @@
1
1
  import isVisible_default from "../../../util/es/Dom/isVisible.js";
2
+ import "../../../util/es/index.js";
2
3
  import RefResizeObserver from "../../../resize-observer/es/index.js";
3
4
  import { useContext as useContext$1 } from "../../../context/es/context.js";
4
5
  import "../../../context/es/index.js";
@@ -2,6 +2,7 @@ import "../../../util/es/warning.js";
2
2
  import useMemo$1 from "../../../util/es/hooks/useMemo.js";
3
3
  import isEqual from "../../../util/es/isEqual.js";
4
4
  import get from "../../../util/es/utils/get.js";
5
+ import "../../../util/es/index.js";
5
6
  import { useImmutableMark } from "../context/TableContext.js";
6
7
  import PerfContext from "../context/PerfContext.js";
7
8
  import { validateValue } from "../utils/valueUtil.js";
@@ -1,4 +1,5 @@
1
1
  import { fillRef } from "../../../util/es/ref.js";
2
+ import "../../../util/es/index.js";
2
3
  import { clsx } from "../../../../clsx/dist/clsx.js";
3
4
  import { useContext as useContext$1 } from "../../../context/es/context.js";
4
5
  import "../../../context/es/index.js";
@@ -6,6 +6,7 @@ import { getTargetScrollBarSize } from "../../util/es/getScrollBarSize.js";
6
6
  import isEqual from "../../util/es/isEqual.js";
7
7
  import pickAttrs from "../../util/es/pickAttrs.js";
8
8
  import get from "../../util/es/utils/get.js";
9
+ import "../../util/es/index.js";
9
10
  import RefResizeObserver from "../../resize-observer/es/index.js";
10
11
  import { clsx } from "../../../clsx/dist/clsx.js";
11
12
  import { EXPAND_COLUMN, INTERNAL_HOOKS } from "./constant.js";
@@ -122,16 +123,16 @@ const Table = (tableProps, ref) => {
122
123
  nativeElement: fullTableRef.current,
123
124
  scrollTo: (config) => {
124
125
  if (scrollBodyRef.current instanceof HTMLElement) {
125
- const { index, top, key, offset } = config;
126
+ const { index, top, key, offset, align = "nearest" } = config;
126
127
  if (validNumberValue(top)) scrollBodyRef.current?.scrollTo({ top });
127
128
  else {
128
129
  const mergedKey = key ?? getRowKey(mergedData[index]);
129
130
  const targetElement = scrollBodyRef.current.querySelector(`[data-row-key="${mergedKey}"]`);
130
131
  if (targetElement) {
131
- if (!offset) targetElement.scrollIntoView();
132
- else {
133
- const elementTop = targetElement.offsetTop;
134
- scrollBodyRef.current.scrollTo({ top: elementTop + offset });
132
+ targetElement.scrollIntoView({ block: align });
133
+ if (offset) {
134
+ const container = scrollBodyRef.current;
135
+ container.scrollTo({ top: container.scrollTop + offset });
135
136
  }
136
137
  }
137
138
  }
@@ -179,14 +180,21 @@ const Table = (tableProps, ref) => {
179
180
  });
180
181
  }, []);
181
182
  const [setScrollTarget, getScrollTarget] = useTimeoutLock(null);
183
+ const [scrollRetryTimeoutMap] = React$1.useState(() => /* @__PURE__ */ new WeakMap());
182
184
  function forceScroll(scrollLeft, target) {
183
185
  if (!target) return;
184
- if (typeof target === "function") target(scrollLeft);
185
- else if (target.scrollLeft !== scrollLeft) {
186
+ if (typeof target === "function") {
187
+ target(scrollLeft);
188
+ return;
189
+ }
190
+ const scrollRetryTimeout = scrollRetryTimeoutMap.get(target);
191
+ if (scrollRetryTimeout) clearTimeout(scrollRetryTimeout);
192
+ if (target.scrollLeft !== scrollLeft) {
186
193
  target.scrollLeft = scrollLeft;
187
- if (target.scrollLeft !== scrollLeft) setTimeout(() => {
188
- target.scrollLeft = scrollLeft;
194
+ const retryTimeout = setTimeout(() => {
195
+ if (target.scrollLeft !== scrollLeft) target.scrollLeft = scrollLeft;
189
196
  }, 0);
197
+ scrollRetryTimeoutMap.set(target, retryTimeout);
190
198
  }
191
199
  }
192
200
  const [scrollInfo, setScrollInfo] = React$1.useState([0, 0]);
@@ -6,6 +6,12 @@ import useFlattenRecords from "../hooks/useFlattenRecords.js";
6
6
  import { GridContext, StaticContext } from "./context.js";
7
7
  import ResponseBodyLine from "./BodyLine.js";
8
8
  import * as React$1 from "../../../../react/index.js";
9
+ //#region node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js
10
+ const ALIGN_MAP = {
11
+ start: "top",
12
+ end: "bottom",
13
+ nearest: "auto"
14
+ };
9
15
  const ResponseGrid = responseImmutable(/* @__PURE__ */ React$1.forwardRef((props, ref) => {
10
16
  const { data, onScroll } = props;
11
17
  const { flattenColumns, onColumnResize, getRowKey, expandedKeys, prefixCls, childrenColumnName, scrollX, direction } = useContext$1(TableContext, [
@@ -42,13 +48,13 @@ const ResponseGrid = responseImmutable(/* @__PURE__ */ React$1.forwardRef((props
42
48
  React$1.useImperativeHandle(ref, () => {
43
49
  const obj = {
44
50
  scrollTo: (config) => {
45
- const { offset, ...restConfig } = config;
46
- if (offset) listRef.current?.scrollTo({
51
+ const { align, offset, ...restConfig } = config;
52
+ const virtualAlign = ALIGN_MAP[align] ?? (offset ? "top" : "auto");
53
+ listRef.current?.scrollTo({
47
54
  ...restConfig,
48
55
  offset,
49
- align: "top"
56
+ align: virtualAlign
50
57
  });
51
- else listRef.current?.scrollTo(config);
52
58
  },
53
59
  nativeElement: listRef.current?.nativeElement
54
60
  };
@@ -22,22 +22,24 @@ function _extends() {
22
22
  const ResponseBodyLine = responseImmutable(/* @__PURE__ */ React$1.forwardRef((props, ref) => {
23
23
  const { data, index, className, rowKey, style, extra, getHeight, ...restProps } = props;
24
24
  const { record, indent, index: renderIndex } = data;
25
- const { scrollX, flattenColumns, prefixCls, fixColumn, componentWidth } = useContext$1(TableContext, [
25
+ const { scrollX, flattenColumns, prefixCls, fixColumn, componentWidth, classNames, styles } = useContext$1(TableContext, [
26
26
  "prefixCls",
27
27
  "flattenColumns",
28
28
  "fixColumn",
29
29
  "componentWidth",
30
- "scrollX"
30
+ "scrollX",
31
+ "classNames",
32
+ "styles"
31
33
  ]);
32
34
  const { getComponent } = useContext$1(StaticContext, ["getComponent"]);
33
35
  const rowInfo = useRowInfo(record, rowKey, index, indent);
34
36
  const RowComponent = getComponent(["body", "row"], "div");
35
37
  const cellComponent = getComponent(["body", "cell"], "div");
36
38
  const { rowSupportExpand, expanded, rowProps, expandedRowRender, expandedRowClassName } = rowInfo;
39
+ const expandedClsName = computedExpandedClassName(expandedRowClassName, record, index, indent);
37
40
  let expandRowNode;
38
41
  if (rowSupportExpand && expanded) {
39
42
  const expandContent = expandedRowRender(record, index, indent + 1, expanded);
40
- const expandedClsName = computedExpandedClassName(expandedRowClassName, record, index, indent);
41
43
  let additionalProps = {};
42
44
  if (fixColumn) additionalProps = { style: { ["--virtual-width"]: `${componentWidth}px` } };
43
45
  const rowCellCls = `${prefixCls}-expanded-row-cell`;
@@ -59,14 +61,20 @@ const ResponseBodyLine = responseImmutable(/* @__PURE__ */ React$1.forwardRef((p
59
61
  const rowNode = /*#__PURE__*/ React$1.createElement(RowComponent, _extends({}, rowProps, restProps, {
60
62
  "data-row-key": rowKey,
61
63
  ref: rowSupportExpand ? null : ref,
62
- className: clsx(className, `${prefixCls}-row`, rowProps?.className, { [`${prefixCls}-row-extra`]: extra }),
64
+ className: clsx(className, `${prefixCls}-row`, rowProps?.className, classNames?.body?.row, {
65
+ [expandedClsName]: indent >= 1,
66
+ [`${prefixCls}-row-extra`]: extra
67
+ }),
63
68
  style: {
64
69
  ...rowStyle,
65
- ...rowProps?.style
70
+ ...rowProps?.style,
71
+ ...styles?.body?.row
66
72
  }
67
73
  }), flattenColumns.map((column, colIndex) => {
68
74
  return /*#__PURE__*/ React$1.createElement(VirtualCell, {
69
75
  key: colIndex,
76
+ className: classNames?.body?.cell,
77
+ style: styles?.body?.cell,
70
78
  component: cellComponent,
71
79
  rowInfo,
72
80
  column,
@@ -1,5 +1,6 @@
1
1
  import toArray from "../../../../util/es/Children/toArray.js";
2
2
  import "../../../../util/es/warning.js";
3
+ import "../../../../util/es/index.js";
3
4
  import { EXPAND_COLUMN } from "../../constant.js";
4
5
  import { INTERNAL_COL_DEFINE } from "../../utils/legacyUtil.js";
5
6
  import useWidthColumns from "./useWidthColumns.js";
@@ -1,4 +1,5 @@
1
1
  import "../../../util/es/warning.js";
2
+ import "../../../util/es/index.js";
2
3
  import "../constant.js";
3
4
  import { findAllChildrenKeys, renderExpandIcon } from "../utils/expandUtil.js";
4
5
  import { getExpandableProps } from "../utils/legacyUtil.js";
@@ -1,5 +1,6 @@
1
1
  import useMemo$1 from "../../../util/es/hooks/useMemo.js";
2
2
  import isEqual from "../../../util/es/isEqual.js";
3
+ import "../../../util/es/index.js";
3
4
  import { getCellFixedInfo } from "../utils/fixUtil.js";
4
5
  import * as React$1 from "../../../../react/index.js";
5
6
  //#region node_modules/@rc-component/table/es/hooks/useFixedInfo.js
@@ -1,4 +1,5 @@
1
1
  import canUseDom from "../../../util/es/Dom/canUseDom.js";
2
+ import "../../../util/es/index.js";
2
3
  import * as React$1 from "../../../../react/index.js";
3
4
  //#region node_modules/@rc-component/table/es/hooks/useSticky.js
4
5
  const defaultContainer = canUseDom() ? window : null;
@@ -3,7 +3,8 @@ import { FooterComponents } from "./Footer/index.js";
3
3
  import Column from "./sugar/Column.js";
4
4
  import ColumnGroup from "./sugar/ColumnGroup.js";
5
5
  import { INTERNAL_COL_DEFINE } from "./utils/legacyUtil.js";
6
+ import { convertChildrenToColumns } from "./hooks/useColumns/index.js";
6
7
  import { genTable } from "./Table.js";
7
8
  import VirtualTable_default, { genVirtualTable } from "./VirtualTable/index.js";
8
9
  //#endregion
9
- export { Column, ColumnGroup, EXPAND_COLUMN, INTERNAL_COL_DEFINE, INTERNAL_HOOKS, FooterComponents as Summary, VirtualTable_default as VirtualTable, genTable, genVirtualTable };
10
+ export { Column, ColumnGroup, EXPAND_COLUMN, INTERNAL_COL_DEFINE, INTERNAL_HOOKS, FooterComponents as Summary, VirtualTable_default as VirtualTable, convertChildrenToColumns, genTable, genVirtualTable };
@@ -1,6 +1,7 @@
1
1
  import { getDOM } from "../../util/es/Dom/findDOMNode.js";
2
2
  import getScrollBarSize from "../../util/es/getScrollBarSize.js";
3
3
  import wrapperRaf from "../../util/es/raf.js";
4
+ import "../../util/es/index.js";
4
5
  import { clsx } from "../../../clsx/dist/clsx.js";
5
6
  import { useContext as useContext$1 } from "../../context/es/context.js";
6
7
  import "../../context/es/index.js";
@@ -1,4 +1,5 @@
1
1
  import "../../../util/es/warning.js";
2
+ import "../../../util/es/index.js";
2
3
  //#region node_modules/@rc-component/table/es/utils/legacyUtil.js
3
4
  const INTERNAL_COL_DEFINE = "RC_TABLE_INTERNAL_COL_DEFINE";
4
5
  function getExpandableProps(props) {
@@ -1,4 +1,5 @@
1
1
  import { getDOM } from "../../../util/es/Dom/findDOMNode.js";
2
+ import "../../../util/es/index.js";
2
3
  //#region node_modules/@rc-component/table/es/utils/offsetUtil.js
3
4
  function getOffset(node) {
4
5
  const box = getDOM(node).getBoundingClientRect();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/table",
3
- "version": "1.9.1",
3
+ "version": "1.10.4",
4
4
  "license": "MIT",
5
5
  "type": "module"
6
6
  }
@@ -1,4 +1,5 @@
1
1
  import KeyCode from "../../../util/es/KeyCode.js";
2
+ import "../../../util/es/index.js";
2
3
  import { clsx } from "../../../../clsx/dist/clsx.js";
3
4
  import es_default from "../../../dropdown/es/index.js";
4
5
  import MenuItem_default from "../../../menu/es/MenuItem.js";
@@ -19,7 +20,7 @@ function _extends() {
19
20
  return _extends.apply(this, arguments);
20
21
  }
21
22
  const OperationNode = /*#__PURE__*/ React$1.forwardRef((props, ref) => {
22
- const { prefixCls, id, tabs, locale, mobile, more: moreProps = {}, style, className, editable, tabBarGutter, rtl, removeAriaLabel, onTabClick, getPopupContainer, popupClassName, popupStyle } = props;
23
+ const { prefixCls, id, tabs, locale, mobile, more: moreProps = {}, style, className, editable, tabBarGutter, rtl, removeAriaLabel, onTabClick, getPopupContainer, popupClassName, popupStyle, classNames, styles } = props;
23
24
  const [open, setOpen] = useState(false);
24
25
  const [selectedKey, setSelectedKey] = useState(null);
25
26
  const { icon: moreIcon = "More" } = moreProps;
@@ -60,7 +61,8 @@ const OperationNode = /*#__PURE__*/ React$1.forwardRef((props, ref) => {
60
61
  type: "button",
61
62
  "aria-label": removeAriaLabel || "remove",
62
63
  tabIndex: 0,
63
- className: `${dropdownPrefix}-menu-item-remove`,
64
+ className: clsx(`${dropdownPrefix}-menu-item-remove`, classNames?.remove),
65
+ style: styles?.remove,
64
66
  onClick: (e) => {
65
67
  e.stopPropagation();
66
68
  onRemoveTab(e, key);
@@ -3,7 +3,7 @@ import { genDataNodeKey, getRemovable } from "../util.js";
3
3
  import * as React$1 from "../../../../react/index.js";
4
4
  //#region node_modules/@rc-component/tabs/es/TabNavList/TabNode.js
5
5
  const TabNode = (props) => {
6
- const { prefixCls, id, active, focus, tab: { key, label, disabled, closeIcon, icon }, closable, renderWrapper, removeAriaLabel, editable, onClick, onFocus, onBlur, onKeyDown, onMouseDown, onMouseUp, style, className, tabCount, currentPosition } = props;
6
+ const { prefixCls, id, active, focus, tab: { key, label, disabled, closeIcon, icon }, closable, renderWrapper, removeAriaLabel, editable, onClick, onFocus, onBlur, onKeyDown, onMouseDown, onMouseUp, styles, classNames: tabNodeClassNames, tabCount, currentPosition } = props;
7
7
  const tabPrefix = `${prefixCls}-tab`;
8
8
  const removable = getRemovable(closable, closeIcon, editable, disabled);
9
9
  function onInternalClick(e) {
@@ -26,13 +26,13 @@ const TabNode = (props) => {
26
26
  const node = /*#__PURE__*/ React$1.createElement("div", {
27
27
  key,
28
28
  "data-node-key": genDataNodeKey(key),
29
- className: clsx(tabPrefix, className, {
29
+ className: clsx(tabPrefix, tabNodeClassNames?.item, {
30
30
  [`${tabPrefix}-with-remove`]: removable,
31
31
  [`${tabPrefix}-active`]: active,
32
32
  [`${tabPrefix}-disabled`]: disabled,
33
33
  [`${tabPrefix}-focus`]: focus
34
34
  }),
35
- style,
35
+ style: styles?.item,
36
36
  onClick: onInternalClick
37
37
  }, /*#__PURE__*/ React$1.createElement("div", {
38
38
  ref: btnRef,
@@ -65,7 +65,8 @@ const TabNode = (props) => {
65
65
  type: "button",
66
66
  "aria-label": removeAriaLabel || "remove",
67
67
  tabIndex: active ? 0 : -1,
68
- className: `${tabPrefix}-remove`,
68
+ className: clsx(`${tabPrefix}-remove`, tabNodeClassNames?.remove),
69
+ style: styles?.remove,
69
70
  onClick: (e) => {
70
71
  e.stopPropagation();
71
72
  onRemoveTab(e);
@@ -1,5 +1,6 @@
1
1
  import { useComposeRef } from "../../../util/es/ref.js";
2
2
  import useEvent from "../../../util/es/hooks/useEvent.js";
3
+ import "../../../util/es/index.js";
3
4
  import RefResizeObserver from "../../../resize-observer/es/index.js";
4
5
  import { clsx } from "../../../../clsx/dist/clsx.js";
5
6
  import TabContext_default from "../TabContext.js";
@@ -236,10 +237,16 @@ const TabNavList = /*#__PURE__*/ React$1.forwardRef((props, ref) => {
236
237
  prefixCls,
237
238
  key,
238
239
  tab,
239
- className: tabsClassNames?.item,
240
- style: i === 0 ? styles?.item : {
241
- ...tabNodeStyle,
242
- ...styles?.item
240
+ classNames: {
241
+ item: tabsClassNames?.item,
242
+ remove: tabsClassNames?.remove
243
+ },
244
+ styles: {
245
+ item: i === 0 ? styles?.item : {
246
+ ...tabNodeStyle,
247
+ ...styles?.item
248
+ },
249
+ remove: styles?.remove
243
250
  },
244
251
  closable: tab.closable,
245
252
  editable,
@@ -1,5 +1,6 @@
1
1
  import useControlledState from "../../util/es/hooks/useControlledState.js";
2
2
  import getIsMobile from "../../util/es/isMobile.js";
3
+ import "../../util/es/index.js";
3
4
  import { clsx } from "../../../clsx/dist/clsx.js";
4
5
  import TabContext_default from "./TabContext.js";
5
6
  import TabNavListWrapper from "./TabNavList/Wrapper.js";
@@ -1,4 +1,5 @@
1
1
  import "../../../util/es/warning.js";
2
+ import "../../../util/es/index.js";
2
3
  //#region node_modules/@rc-component/tabs/es/hooks/useAnimateConfig.js
3
4
  function useAnimateConfig(animated = {
4
5
  inkBar: true,
@@ -1,4 +1,5 @@
1
1
  import wrapperRaf from "../../../util/es/raf.js";
2
+ import "../../../util/es/index.js";
2
3
  import React, { useEffect, useRef, useState } from "../../../../react/index.js";
3
4
  //#region node_modules/@rc-component/tabs/es/hooks/useIndicator.js
4
5
  const useIndicator = (options) => {
@@ -1,4 +1,5 @@
1
1
  import { useLayoutUpdateEffect } from "../../../util/es/hooks/useLayoutEffect.js";
2
+ import "../../../util/es/index.js";
2
3
  import { useRef, useState } from "../../../../react/index.js";
3
4
  //#region node_modules/@rc-component/tabs/es/hooks/useUpdate.js
4
5
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/tabs",
3
- "version": "1.7.0",
3
+ "version": "1.9.1",
4
4
  "license": "MIT",
5
5
  "type": "module"
6
6
  }
@@ -24,7 +24,10 @@ function DefaultPanel(props) {
24
24
  type: "button",
25
25
  onClick: onClose,
26
26
  "aria-label": "Close"
27
- }, ariaProps, { className: `${prefixCls}-close` }), closeIcon), /*#__PURE__*/ React$1.createElement("div", {
27
+ }, ariaProps, {
28
+ className: clsx(`${prefixCls}-close`, tourClassNames?.close),
29
+ style: styles?.close
30
+ }), closeIcon), /*#__PURE__*/ React$1.createElement("div", {
28
31
  className: clsx(`${prefixCls}-header`, tourClassNames?.header),
29
32
  style: styles?.header
30
33
  }, /*#__PURE__*/ React$1.createElement("div", {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-component/tour",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module"
6
6
  }
@@ -1,4 +1,5 @@
1
1
  import useLayoutEffect$1 from "../../util/es/hooks/useLayoutEffect.js";
2
+ import "../../util/es/index.js";
2
3
  import { clsx } from "../../../clsx/dist/clsx.js";
3
4
  import es_default from "../../motion/es/index.js";
4
5
  import { getTreeNodeProps } from "./utils/treeUtil.js";
@@ -1,5 +1,6 @@
1
1
  import useLayoutEffect$1 from "../../util/es/hooks/useLayoutEffect.js";
2
2
  import useId_default, { getId } from "../../util/es/hooks/useId.js";
3
+ import "../../util/es/index.js";
3
4
  import es_default from "../../virtual-list/es/index.js";
4
5
  import { getKey, getTreeNodeProps } from "./utils/treeUtil.js";
5
6
  import MotionTreeNode from "./MotionTreeNode.js";
@@ -52,7 +53,7 @@ function itemKey(item) {
52
53
  return getKey(key, pos);
53
54
  }
54
55
  const NodeList = /*#__PURE__*/ React$1.forwardRef((props, ref) => {
55
- const { prefixCls, data, selectable, checkable, expandedKeys, selectedKeys, checkedKeys, loadedKeys, loadingKeys, halfCheckedKeys, keyEntities, disabled, dragging, dragOverNodeKey, dropPosition, motion, height, itemHeight, virtual, scrollWidth, focusable, activeItem, tabIndex, onKeyDown, onFocus, onBlur, onMouseDown, onMouseUp, onActiveChange, onListChangeStart, onListChangeEnd, ...domProps } = props;
56
+ const { prefixCls, data, selectable, checkable, expandedKeys, selectedKeys, checkedKeys, loadedKeys, loadingKeys, halfCheckedKeys, keyEntities, disabled, dragging, dragOverNodeKey, dropPosition, motion, height, itemHeight, virtual, scrollWidth, focusable, activeItem, tabIndex, onKeyDown, onFocus, onBlur, onMouseDown, onActiveChange, onListChangeStart, onListChangeEnd, ...domProps } = props;
56
57
  const treeId = useId_default();
57
58
  const listRef = React$1.useRef(null);
58
59
  const indentMeasurerRef = React$1.useRef(null);
@@ -150,7 +151,6 @@ const NodeList = /*#__PURE__*/ React$1.forwardRef((props, ref) => {
150
151
  onFocus,
151
152
  onBlur,
152
153
  onMouseDown,
153
- onMouseUp,
154
154
  onVisibleChange: (originList) => {
155
155
  if (originList.every((item) => itemKey(item) !== MOTION_KEY)) onMotionEnd();
156
156
  }
@@ -1,5 +1,6 @@
1
1
  import warningOnce from "../../util/es/warning.js";
2
2
  import pickAttrs from "../../util/es/pickAttrs.js";
3
+ import "../../util/es/index.js";
3
4
  import { clsx } from "../../../clsx/dist/clsx.js";
4
5
  import getEntity from "./utils/keyUtil.js";
5
6
  import { convertDataToEntities, convertNodePropsToEventData, convertTreeToData, fillFieldNames, flattenTreeData, getTreeNodeProps, isLeafNode } from "./utils/treeUtil.js";
@@ -80,6 +81,7 @@ var Tree = class extends React$1.Component {
80
81
  componentDidMount() {
81
82
  this.destroyed = false;
82
83
  this.onUpdated();
84
+ window.addEventListener("mouseup", this.onGlobalMouseUp);
83
85
  }
84
86
  componentDidUpdate() {
85
87
  this.onUpdated();
@@ -96,6 +98,7 @@ var Tree = class extends React$1.Component {
96
98
  }
97
99
  componentWillUnmount() {
98
100
  window.removeEventListener("dragend", this.onWindowDragEnd);
101
+ window.removeEventListener("mouseup", this.onGlobalMouseUp);
99
102
  this.destroyed = true;
100
103
  }
101
104
  static getDerivedStateFromProps(props, prevState) {
@@ -498,10 +501,8 @@ var Tree = class extends React$1.Component {
498
501
  const { onMouseDown } = this.props;
499
502
  onMouseDown?.(event);
500
503
  };
501
- onMouseUp = (event) => {
504
+ onGlobalMouseUp = () => {
502
505
  this.focusedByMouse = false;
503
- const { onMouseUp } = this.props;
504
- onMouseUp?.(event);
505
506
  };
506
507
  onFocus = (...args) => {
507
508
  const { onFocus, disabled } = this.props;
@@ -516,7 +517,6 @@ var Tree = class extends React$1.Component {
516
517
  onFocus?.(...args);
517
518
  };
518
519
  onBlur = (...args) => {
519
- this.focusedByMouse = false;
520
520
  const { onBlur } = this.props;
521
521
  this.onActiveChange(null);
522
522
  onBlur?.(...args);
@@ -777,7 +777,6 @@ var Tree = class extends React$1.Component {
777
777
  activeItem: this.getActiveItem(),
778
778
  onFocus: this.onFocus,
779
779
  onMouseDown: this.onMouseDown,
780
- onMouseUp: this.onMouseUp,
781
780
  onBlur: this.onBlur,
782
781
  onKeyDown: this.onKeyDown,
783
782
  onActiveChange: this.onActiveChange,
@@ -1,5 +1,6 @@
1
1
  import { getId } from "../../util/es/hooks/useId.js";
2
2
  import pickAttrs from "../../util/es/pickAttrs.js";
3
+ import "../../util/es/index.js";
3
4
  import { clsx } from "../../../clsx/dist/clsx.js";
4
5
  import getEntity from "./utils/keyUtil.js";
5
6
  import { convertNodePropsToEventData, isLeafNode } from "./utils/treeUtil.js";
@@ -141,12 +142,16 @@ const TreeNode = (props) => {
141
142
  const renderSwitcher = () => {
142
143
  if (memoizedIsLeaf) {
143
144
  const switcherIconDom = renderSwitcherIconDom(true);
144
- return switcherIconDom !== false ? /*#__PURE__*/ React.createElement("span", { className: clsx(`${context.prefixCls}-switcher`, `${context.prefixCls}-switcher-noop`) }, switcherIconDom) : null;
145
+ return switcherIconDom !== false ? /*#__PURE__*/ React.createElement("span", {
146
+ className: clsx(`${context.prefixCls}-switcher`, `${context.prefixCls}-switcher-noop`, treeClassNames?.itemSwitcher),
147
+ style: styles?.itemSwitcher
148
+ }, switcherIconDom) : null;
145
149
  }
146
150
  const switcherIconDom = renderSwitcherIconDom(false);
147
151
  return switcherIconDom !== false ? /*#__PURE__*/ React.createElement("span", {
148
152
  onClick: onExpand,
149
- className: clsx(`${context.prefixCls}-switcher`, `${context.prefixCls}-switcher_${expanded ? ICON_OPEN : ICON_CLOSE}`)
153
+ className: clsx(`${context.prefixCls}-switcher`, `${context.prefixCls}-switcher_${expanded ? ICON_OPEN : ICON_CLOSE}`, treeClassNames?.itemSwitcher),
154
+ style: styles?.itemSwitcher
150
155
  }, switcherIconDom) : null;
151
156
  };
152
157
  const checkboxNode = React.useMemo(() => {
@@ -1,5 +1,8 @@
1
+ import "./utils/treeUtil.js";
2
+ import "./utils/conductUtil.js";
1
3
  import { UnstableContext } from "./contextTypes.js";
2
4
  import TreeNode from "./TreeNode.js";
5
+ import "./util.js";
3
6
  import Tree from "./Tree.js";
4
7
  //#region node_modules/@rc-component/tree/es/index.js
5
8
  var es_default = Tree;
@@ -1,4 +1,5 @@
1
1
  import useLayoutEffect$1 from "../../util/es/hooks/useLayoutEffect.js";
2
+ import "../../util/es/index.js";
2
3
  import * as React$1 from "../../../react/index.js";
3
4
  //#region node_modules/@rc-component/tree/es/useUnmount.js
4
5
  /**
@@ -1,4 +1,5 @@
1
1
  import warningOnce from "../../util/es/warning.js";
2
+ import "../../util/es/index.js";
2
3
  import getEntity from "./utils/keyUtil.js";
3
4
  import "./utils/treeUtil.js";
4
5
  import TreeNode from "./TreeNode.js";
@@ -1,4 +1,5 @@
1
1
  import warningOnce from "../../../util/es/warning.js";
2
+ import "../../../util/es/index.js";
2
3
  import getEntity from "./keyUtil.js";
3
4
  //#region node_modules/@rc-component/tree/es/utils/conductUtil.js
4
5
  function removeFromCheckedKeys(halfCheckedKeys, checkedKeys) {
@@ -1,6 +1,7 @@
1
1
  import toArray from "../../../util/es/Children/toArray.js";
2
2
  import warningOnce from "../../../util/es/warning.js";
3
3
  import omit from "../../../util/es/omit.js";
4
+ import "../../../util/es/index.js";
4
5
  import getEntity from "./keyUtil.js";
5
6
  //#region node_modules/@rc-component/tree/es/utils/treeUtil.js
6
7
  function getPosition(level, index) {