@unicom-cloud/ui 0.8.171 → 0.8.173

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 (1610) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/affix/Affix.js +1 -1
  3. package/affix/constants.js +1 -1
  4. package/affix/context.js +1 -1
  5. package/affix/index.js +1 -1
  6. package/affix/style/index.js +1 -1
  7. package/alert/Alert.js +23 -33
  8. package/alert/constants.d.ts +7 -0
  9. package/alert/constants.js +16 -1
  10. package/alert/context.js +1 -1
  11. package/alert/index.js +1 -1
  12. package/alert/style/index.js +1 -1
  13. package/anchor/Anchor.js +1 -1
  14. package/anchor/Link.js +1 -1
  15. package/anchor/constants.js +1 -1
  16. package/anchor/context.js +1 -1
  17. package/anchor/index.js +1 -1
  18. package/anchor/style/index.js +1 -1
  19. package/anchor/utils.js +1 -1
  20. package/animation/Animation.js +1 -1
  21. package/animation/constants.d.ts +1 -0
  22. package/animation/constants.js +2 -1
  23. package/animation/context.js +1 -1
  24. package/animation/index.js +1 -1
  25. package/animation/style/index.js +1 -1
  26. package/app/App.js +1 -1
  27. package/app/constants.js +1 -1
  28. package/app/context.js +1 -1
  29. package/app/index.js +1 -1
  30. package/app/style/index.js +1 -1
  31. package/app/useApp.js +1 -1
  32. package/auto-complete/AutoComplete.js +40 -40
  33. package/auto-complete/constants.d.ts +1 -0
  34. package/auto-complete/constants.js +5 -1
  35. package/auto-complete/context.js +1 -1
  36. package/auto-complete/index.js +1 -1
  37. package/auto-complete/style/index.js +1 -1
  38. package/avatar/Avatar.js +1 -1
  39. package/avatar/Group.js +1 -1
  40. package/avatar/constants.js +1 -1
  41. package/avatar/context.js +1 -1
  42. package/avatar/index.js +1 -1
  43. package/avatar/style/index.js +1 -1
  44. package/back-top/BackTop.js +1 -1
  45. package/back-top/constants.js +1 -1
  46. package/back-top/context.js +1 -1
  47. package/back-top/index.js +1 -1
  48. package/back-top/style/index.js +1 -1
  49. package/badge/Badge.js +9 -9
  50. package/badge/Count.js +1 -1
  51. package/badge/constants.d.ts +5 -0
  52. package/badge/constants.js +23 -1
  53. package/badge/context.js +1 -1
  54. package/badge/index.d.ts +1 -1
  55. package/badge/index.js +7 -7
  56. package/badge/style/index.js +1 -1
  57. package/badge/utils.d.ts +0 -5
  58. package/badge/utils.js +1 -23
  59. package/border-beam/BorderBeam.js +1 -1
  60. package/border-beam/constants.js +1 -1
  61. package/border-beam/context.js +1 -1
  62. package/border-beam/index.js +1 -1
  63. package/border-beam/style/index.js +1 -1
  64. package/breadcrumb/Breadcrumb.js +1 -1
  65. package/breadcrumb/Item.js +1 -1
  66. package/breadcrumb/constants.js +1 -1
  67. package/breadcrumb/context.js +1 -1
  68. package/breadcrumb/index.js +1 -1
  69. package/breadcrumb/style/index.js +1 -1
  70. package/button/Button.js +1 -1
  71. package/button/Group.js +1 -1
  72. package/button/Toggle.js +1 -1
  73. package/button/constants.js +1 -1
  74. package/button/context.js +1 -1
  75. package/button/index.js +1 -1
  76. package/button/style/index.js +1 -1
  77. package/calendar/Calendar.js +101 -90
  78. package/calendar/Month.js +1 -1
  79. package/calendar/WeekList.js +1 -1
  80. package/calendar/Year.js +1 -1
  81. package/calendar/constants.js +1 -1
  82. package/calendar/context.js +1 -1
  83. package/calendar/header/Panel.js +37 -31
  84. package/calendar/header/index.js +90 -79
  85. package/calendar/hooks/useCellClassName.js +1 -1
  86. package/calendar/index.js +1 -1
  87. package/calendar/style/index.css +1 -1
  88. package/calendar/style/index.js +1 -1
  89. package/card/Card.js +1 -1
  90. package/card/Grid.js +1 -1
  91. package/card/Meta.js +1 -1
  92. package/card/constants.js +1 -1
  93. package/card/context.js +1 -1
  94. package/card/index.js +1 -1
  95. package/card/style/index.js +1 -1
  96. package/carousel/Arrow.js +1 -1
  97. package/carousel/Carousel.js +1 -1
  98. package/carousel/Indicator.js +1 -1
  99. package/carousel/constants.js +1 -1
  100. package/carousel/context.js +1 -1
  101. package/carousel/index.js +1 -1
  102. package/carousel/style/index.js +1 -1
  103. package/cascader/Cascader.js +1 -1
  104. package/cascader/base/node.js +1 -1
  105. package/cascader/base/store.js +1 -1
  106. package/cascader/constants.js +1 -1
  107. package/cascader/context.js +1 -1
  108. package/cascader/hooks/useRefCurrent.js +1 -1
  109. package/cascader/index.js +1 -1
  110. package/cascader/panel/List.js +1 -1
  111. package/cascader/panel/Option.js +1 -1
  112. package/cascader/panel/Search.js +1 -1
  113. package/cascader/style/index.css +1 -1
  114. package/cascader/style/index.js +1 -1
  115. package/cascader/utils.js +1 -1
  116. package/checkbox/Checkbox.js +1 -1
  117. package/checkbox/Group.js +1 -1
  118. package/checkbox/GroupBlock.js +1 -1
  119. package/checkbox/constants.js +1 -1
  120. package/checkbox/context.js +1 -1
  121. package/checkbox/index.js +1 -1
  122. package/checkbox/style/index.js +1 -1
  123. package/checkbox/useCheckbox.js +1 -1
  124. package/collapse/Collapse.js +1 -1
  125. package/collapse/Item.js +1 -1
  126. package/collapse/constants.js +1 -1
  127. package/collapse/context.js +1 -1
  128. package/collapse/index.js +1 -1
  129. package/collapse/style/index.js +1 -1
  130. package/collapse/utils.js +1 -1
  131. package/color-picker/ColorPicker.js +1 -1
  132. package/color-picker/ControlBar.js +1 -1
  133. package/color-picker/InputAlpha.js +1 -1
  134. package/color-picker/InputHex.js +1 -1
  135. package/color-picker/InputRgb.js +1 -1
  136. package/color-picker/Mode.js +1 -1
  137. package/color-picker/Palette.js +1 -1
  138. package/color-picker/Panel.js +1 -1
  139. package/color-picker/colors.js +1 -1
  140. package/color-picker/constants.js +1 -1
  141. package/color-picker/context.js +1 -1
  142. package/color-picker/hooks/useColorPicker.js +1 -1
  143. package/color-picker/hooks/useControlBlock.js +1 -1
  144. package/color-picker/index.js +1 -1
  145. package/color-picker/interface.js +1 -1
  146. package/color-picker/style/index.js +1 -1
  147. package/color-picker/utils.js +1 -1
  148. package/comment/Comment.js +1 -1
  149. package/comment/constants.js +1 -1
  150. package/comment/context.js +1 -1
  151. package/comment/index.js +1 -1
  152. package/comment/style/index.js +1 -1
  153. package/config-provider/ConfigProvider.js +1 -1
  154. package/config-provider/constants.js +1 -1
  155. package/config-provider/context.js +1 -1
  156. package/config-provider/index.js +1 -1
  157. package/config-provider/initUI.js +1 -1
  158. package/config-provider/style/index.js +1 -1
  159. package/config-provider/useConfigProvider.js +1 -1
  160. package/config-provider/utils.js +1 -1
  161. package/constants/index.js +1 -1
  162. package/copy/Copy.js +1 -1
  163. package/copy/constants.js +1 -1
  164. package/copy/context.js +1 -1
  165. package/copy/index.js +1 -1
  166. package/copy/style/index.js +1 -1
  167. package/countdown/Countdown.js +1 -1
  168. package/countdown/constants.js +1 -1
  169. package/countdown/context.js +1 -1
  170. package/countdown/index.js +1 -1
  171. package/countdown/style/index.css +1 -1
  172. package/countdown/style/index.js +1 -1
  173. package/countdown/utils.js +1 -1
  174. package/date-picker/DatePicker.js +1 -1
  175. package/date-picker/Picker.js +202 -202
  176. package/date-picker/Range.js +281 -281
  177. package/date-picker/constants.js +1 -1
  178. package/date-picker/context.js +1 -1
  179. package/date-picker/hooks/useCellClassName.js +1 -1
  180. package/date-picker/index.js +1 -1
  181. package/date-picker/panel/Body.js +1 -1
  182. package/date-picker/panel/Footer.js +1 -1
  183. package/date-picker/panel/Header.js +1 -1
  184. package/date-picker/panel/Shortcut.js +1 -1
  185. package/date-picker/panel/WeekList.js +1 -1
  186. package/date-picker/panel/date/index.js +1 -1
  187. package/date-picker/panel/month/index.js +1 -1
  188. package/date-picker/panel/quarter/index.js +1 -1
  189. package/date-picker/panel/range/index.js +1 -1
  190. package/date-picker/panel/week/index.js +1 -1
  191. package/date-picker/panel/year/index.js +1 -1
  192. package/date-picker/style/index.js +1 -1
  193. package/date-picker/utils.js +1 -1
  194. package/descriptions/Descriptions.js +1 -1
  195. package/descriptions/constants.js +1 -1
  196. package/descriptions/context.js +1 -1
  197. package/descriptions/index.js +1 -1
  198. package/descriptions/style/index.js +1 -1
  199. package/details/Details.js +1 -1
  200. package/details/constants.js +1 -1
  201. package/details/context.js +1 -1
  202. package/details/index.js +1 -1
  203. package/details/style/index.js +1 -1
  204. package/development/Development.js +1 -1
  205. package/development/constants.js +1 -1
  206. package/development/context.js +1 -1
  207. package/development/index.js +1 -1
  208. package/development/style/index.js +1 -1
  209. package/divider/Divider.js +1 -1
  210. package/divider/constants.js +1 -1
  211. package/divider/context.js +1 -1
  212. package/divider/index.js +1 -1
  213. package/divider/style/index.js +1 -1
  214. package/draggable/Draggable.js +1 -1
  215. package/draggable/Item.js +1 -1
  216. package/draggable/constants.js +1 -1
  217. package/draggable/context.js +1 -1
  218. package/draggable/index.js +1 -1
  219. package/draggable/style/index.js +1 -1
  220. package/draw/Draw.d.ts +1 -1
  221. package/draw/Draw.js +24 -24
  222. package/draw/{core/actions → actions}/actionAddToLibrary.d.ts +109 -109
  223. package/draw/{core/actions → actions}/actionAddToLibrary.js +8 -8
  224. package/draw/{core/actions → actions}/actionAlign.d.ts +14 -14
  225. package/draw/{core/actions → actions}/actionAlign.js +13 -13
  226. package/draw/{core/actions → actions}/actionBoundText.d.ts +72 -72
  227. package/draw/{core/actions → actions}/actionBoundText.js +13 -13
  228. package/draw/{core/actions → actions}/actionCanvas.d.ts +420 -420
  229. package/draw/{core/actions → actions}/actionCanvas.js +32 -32
  230. package/draw/{core/actions → actions}/actionClipboard.d.ts +81 -81
  231. package/draw/{core/actions → actions}/actionClipboard.js +9 -9
  232. package/draw/{core/actions → actions}/actionCropEditor.d.ts +37 -37
  233. package/draw/{core/actions → actions}/actionCropEditor.js +6 -6
  234. package/draw/{core/actions → actions}/actionDeleteSelected.d.ts +97 -97
  235. package/draw/{core/actions → actions}/actionDeleteSelected.js +16 -16
  236. package/draw/{core/actions → actions}/actionDistribute.d.ts +4 -4
  237. package/draw/{core/actions → actions}/actionDistribute.js +13 -13
  238. package/draw/{core/actions → actions}/actionDuplicateSelection.d.ts +3 -3
  239. package/draw/{core/actions → actions}/actionDuplicateSelection.js +12 -12
  240. package/draw/{core/actions → actions}/actionElementLink.d.ts +45 -45
  241. package/draw/{core/actions → actions}/actionElementLink.js +11 -11
  242. package/draw/{core/actions → actions}/actionElementLock.d.ts +73 -73
  243. package/draw/{core/actions → actions}/actionElementLock.js +11 -11
  244. package/draw/{core/actions → actions}/actionEmbeddable.d.ts +38 -38
  245. package/draw/{core/actions → actions}/actionEmbeddable.js +5 -5
  246. package/draw/{core/actions → actions}/actionExport.d.ts +85 -85
  247. package/draw/{core/actions → actions}/actionExport.js +13 -13
  248. package/draw/{core/actions → actions}/actionFinalize.d.ts +3 -3
  249. package/draw/{core/actions → actions}/actionFinalize.js +16 -16
  250. package/draw/{core/actions → actions}/actionFlip.d.ts +4 -4
  251. package/draw/{core/actions → actions}/actionFlip.js +15 -15
  252. package/draw/{core/actions → actions}/actionFrame.d.ts +250 -250
  253. package/draw/{core/actions → actions}/actionFrame.js +14 -14
  254. package/draw/{core/actions → actions}/actionGroup.d.ts +65 -65
  255. package/draw/{core/actions → actions}/actionGroup.js +15 -15
  256. package/draw/{core/actions → actions}/actionHistory.d.ts +2 -2
  257. package/draw/{core/actions → actions}/actionHistory.js +9 -9
  258. package/draw/{core/actions → actions}/actionLinearEditor.d.ts +159 -159
  259. package/draw/{core/actions → actions}/actionLinearEditor.js +10 -10
  260. package/draw/{core/actions → actions}/actionMenu.d.ts +36 -36
  261. package/draw/{core/actions → actions}/actionMenu.js +6 -6
  262. package/draw/{core/actions → actions}/actionProperties.d.ts +62 -62
  263. package/draw/{core/actions → actions}/actionProperties.js +194 -194
  264. package/draw/{core/actions → actions}/actionSelectAll.d.ts +35 -35
  265. package/draw/{core/actions → actions}/actionSelectAll.js +10 -10
  266. package/draw/{core/actions → actions}/actionStyles.d.ts +40 -40
  267. package/draw/{core/actions → actions}/actionStyles.js +12 -12
  268. package/draw/actions/actionTextAutoResize.d.ts +17 -0
  269. package/draw/{core/actions → actions}/actionTextAutoResize.js +10 -10
  270. package/draw/{core/actions → actions}/actionToggleGridMode.d.ts +39 -39
  271. package/draw/{core/actions → actions}/actionToggleGridMode.js +6 -6
  272. package/draw/{core/actions → actions}/actionToggleObjectsSnapMode.d.ts +40 -40
  273. package/draw/{core/actions → actions}/actionToggleObjectsSnapMode.js +6 -6
  274. package/draw/{core/actions → actions}/actionToggleSearchMenu.d.ts +36 -36
  275. package/draw/{core/actions → actions}/actionToggleSearchMenu.js +6 -6
  276. package/draw/actions/actionToggleShapeSwitch.d.ts +19 -0
  277. package/draw/{core/actions → actions}/actionToggleStats.d.ts +38 -38
  278. package/draw/{core/actions → actions}/actionToggleStats.js +6 -6
  279. package/draw/{core/actions → actions}/actionToggleViewMode.d.ts +40 -40
  280. package/draw/{core/actions → actions}/actionToggleViewMode.js +6 -6
  281. package/draw/{core/actions → actions}/actionToggleZenMode.d.ts +40 -40
  282. package/draw/{core/actions → actions}/actionToggleZenMode.js +6 -6
  283. package/draw/{core/actions → actions}/actionZindex.d.ts +12 -12
  284. package/draw/{core/actions → actions}/actionZindex.js +9 -9
  285. package/draw/{core/actions → actions}/index.js +1 -1
  286. package/draw/{core/actions → actions}/manager.d.ts +2 -2
  287. package/draw/{core/actions → actions}/manager.js +4 -4
  288. package/draw/actions/register.js +6 -0
  289. package/draw/{core/actions → actions}/shortcuts.d.ts +1 -1
  290. package/draw/{core/actions → actions}/shortcuts.js +4 -4
  291. package/draw/{core/actions → actions}/types.d.ts +3 -3
  292. package/draw/{core/analytics.js → analytics.js} +4 -4
  293. package/draw/{core/animated-trail.d.ts → animated-trail.d.ts} +2 -2
  294. package/draw/{core/animated-trail.js → animated-trail.js} +7 -7
  295. package/draw/{core/animation-frame-handler.js → animation-frame-handler.js} +2 -2
  296. package/draw/{core/appState.d.ts → appState.d.ts} +15 -15
  297. package/draw/{core/appState.js → appState.js} +8 -8
  298. package/draw/{core/charts.d.ts → charts.d.ts} +1 -1
  299. package/draw/{core/charts.js → charts.js} +12 -12
  300. package/draw/{core/clients.d.ts → clients.d.ts} +1 -1
  301. package/draw/{core/clients.js → clients.js} +9 -6
  302. package/draw/{core/clipboard.d.ts → clipboard.d.ts} +5 -5
  303. package/draw/{core/clipboard.js → clipboard.js} +45 -45
  304. package/draw/common/binary-heap.js +1 -1
  305. package/draw/common/bounds.js +1 -1
  306. package/draw/common/colors.js +1 -1
  307. package/draw/common/constants.d.ts +1 -1
  308. package/draw/common/constants.js +4 -4
  309. package/draw/common/editorInterface.js +1 -1
  310. package/draw/common/emitter.js +1 -1
  311. package/draw/common/font-metadata.js +1 -1
  312. package/draw/common/index.js +1 -1
  313. package/draw/common/keys.js +1 -1
  314. package/draw/common/points.js +1 -1
  315. package/draw/common/promise-pool.js +1 -1
  316. package/draw/common/queue.js +1 -1
  317. package/draw/common/random.js +1 -1
  318. package/draw/common/url.js +2 -2
  319. package/draw/common/utils.js +1 -1
  320. package/draw/{core/components → components}/Actions.d.ts +2 -2
  321. package/draw/components/Actions.js +493 -0
  322. package/draw/{core/components → components}/ActiveConfirmDialog.js +4 -4
  323. package/draw/{core/components → components}/App.d.ts +18 -18
  324. package/draw/{core/components → components}/App.js +676 -676
  325. package/draw/{core/components → components}/BraveMeasureTextError.js +2 -2
  326. package/draw/{core/components → components}/ContextMenu.js +2 -2
  327. package/draw/{core/components → components}/ConvertElementTypePopup.d.ts +2 -2
  328. package/draw/{core/components → components}/ConvertElementTypePopup.js +37 -37
  329. package/draw/{core/components → components}/DarkModeToggle.d.ts +1 -1
  330. package/draw/{core/components → components}/DarkModeToggle.js +5 -5
  331. package/draw/{core/components → components}/ElementCanvasButtons.d.ts +1 -1
  332. package/draw/{core/components → components}/ElementCanvasButtons.js +6 -6
  333. package/draw/{core/components → components}/ElementLinkDialog.d.ts +3 -3
  334. package/draw/{core/components → components}/ElementLinkDialog.js +12 -12
  335. package/draw/{core/components → components}/Ellipsify.js +2 -2
  336. package/draw/{core/components → components}/ErrorDialog.js +3 -3
  337. package/draw/{core/components → components}/ExportDialog.d.ts +2 -2
  338. package/draw/{core/components → components}/ExportDialog.js +4 -4
  339. package/draw/{core/components → components}/EyeDropper.d.ts +1 -1
  340. package/draw/{core/components → components}/EyeDropper.js +7 -7
  341. package/draw/{core/components → components}/FixedSideContainer.js +2 -2
  342. package/draw/{core/components → components}/Footer.d.ts +2 -2
  343. package/draw/{core/components → components}/Footer.js +8 -8
  344. package/draw/{core/components → components}/HandButton.js +5 -5
  345. package/draw/{core/components → components}/HelpDialog.js +6 -6
  346. package/draw/{core/components → components}/HintViewer.d.ts +2 -2
  347. package/draw/{core/components → components}/HintViewer.js +17 -17
  348. package/draw/{core/components → components}/ImageExportDialog.d.ts +2 -2
  349. package/draw/{core/components → components}/ImageExportDialog.js +14 -14
  350. package/draw/{core/components → components}/InitializeApp.d.ts +1 -1
  351. package/draw/{core/components → components}/InitializeApp.js +2 -2
  352. package/draw/{core/components → components}/InlineIcon.js +2 -2
  353. package/draw/{core/components → components}/Island.js +2 -2
  354. package/draw/{core/components → components}/LaserPointerButton.js +2 -2
  355. package/draw/{core/components → components}/LayerUI.d.ts +2 -2
  356. package/draw/{core/components → components}/LayerUI.js +21 -21
  357. package/draw/{core/components → components}/LibraryMenu.js +14 -14
  358. package/draw/{core/components → components}/LibraryMenuItems.d.ts +1 -1
  359. package/draw/{core/components → components}/LibraryMenuItems.js +15 -15
  360. package/draw/{core/components → components}/LibraryMenuSection.d.ts +2 -2
  361. package/draw/{core/components → components}/LibraryMenuSection.js +3 -3
  362. package/draw/{core/components → components}/LibraryUnit.d.ts +1 -1
  363. package/draw/{core/components → components}/LibraryUnit.js +3 -3
  364. package/draw/{core/components → components}/LoadingMessage.d.ts +1 -1
  365. package/draw/{core/components → components}/LoadingMessage.js +3 -3
  366. package/draw/{core/components → components}/LockButton.js +4 -4
  367. package/draw/{core/components → components}/MagicButton.js +2 -2
  368. package/draw/{core/components → components}/PasteChartDialog.d.ts +1 -1
  369. package/draw/{core/components → components}/PasteChartDialog.js +3 -3
  370. package/draw/{core/components → components}/PenModeButton.js +2 -2
  371. package/draw/{core/components → components}/Popover.js +5 -5
  372. package/draw/{core/components → components}/ProjectName.js +5 -5
  373. package/draw/{core/components → components}/Range.d.ts +1 -1
  374. package/draw/{core/components → components}/Range.js +4 -4
  375. package/draw/{core/components → components}/SVGLayer.js +2 -2
  376. package/draw/{core/components → components}/SearchMenu.js +21 -21
  377. package/draw/{core/components → components}/Stack.js +1 -1
  378. package/draw/{core/components → components}/Toast.js +3 -3
  379. package/draw/{core/components → components}/Trans.js +2 -2
  380. package/draw/{core/components → components}/UnlockPopup.d.ts +1 -1
  381. package/draw/{core/components → components}/UnlockPopup.js +7 -7
  382. package/draw/{core/components → components}/canvases/InteractiveCanvas.d.ts +3 -3
  383. package/draw/{core/components → components}/canvases/InteractiveCanvas.js +5 -5
  384. package/draw/{core/components → components}/canvases/NewElementCanvas.d.ts +3 -3
  385. package/draw/{core/components → components}/canvases/NewElementCanvas.js +2 -2
  386. package/draw/{core/components → components}/canvases/StaticCanvas.d.ts +3 -3
  387. package/draw/{core/components → components}/canvases/StaticCanvas.js +4 -4
  388. package/draw/components/canvases/index.js +4 -0
  389. package/draw/{core/components → components}/context.d.ts +3 -3
  390. package/draw/{core/components → components}/context.js +4 -4
  391. package/draw/{core/components → components}/diagram-to-code-plugin/index.d.ts +1 -1
  392. package/draw/{core/components → components}/diagram-to-code-plugin/index.js +2 -2
  393. package/draw/{core/components → components}/hooks.d.ts +6 -6
  394. package/draw/{core/components → components}/hooks.js +4 -4
  395. package/draw/{core/components → components}/icons.d.ts +1 -1
  396. package/draw/{core/components → components}/icons.js +4 -4
  397. package/draw/{core/components → components}/main-menu/DefaultItems.d.ts +1 -1
  398. package/draw/{core/components → components}/main-menu/DefaultItems.js +4 -4
  399. package/draw/{core/components → components}/main-menu/MenuItem.js +4 -4
  400. package/draw/{core/components → components}/main-menu/common.js +5 -5
  401. package/draw/{core/components → components}/overwrite-confirm/State.js +3 -3
  402. package/draw/{core/components → components}/overwrite-confirm/index.js +7 -7
  403. package/draw/{core/components → components}/shapes.d.ts +1 -1
  404. package/draw/{core/components → components}/shapes.js +4 -4
  405. package/draw/{core/components → components}/stats/Angle.d.ts +3 -3
  406. package/draw/{core/components → components}/stats/Angle.js +8 -8
  407. package/draw/{core/components → components}/stats/CanvasGrid.d.ts +2 -2
  408. package/draw/{core/components → components}/stats/CanvasGrid.js +2 -2
  409. package/draw/{core/components → components}/stats/Collapsible.js +2 -2
  410. package/draw/{core/components → components}/stats/Dimension.d.ts +3 -3
  411. package/draw/{core/components → components}/stats/Dimension.js +10 -10
  412. package/draw/{core/components → components}/stats/DragInput.d.ts +3 -3
  413. package/draw/{core/components → components}/stats/DragInput.js +9 -9
  414. package/draw/{core/components → components}/stats/FontSize.d.ts +3 -3
  415. package/draw/{core/components → components}/stats/FontSize.js +5 -5
  416. package/draw/{core/components → components}/stats/MultiAngle.d.ts +3 -3
  417. package/draw/{core/components → components}/stats/MultiAngle.js +8 -8
  418. package/draw/{core/components → components}/stats/MultiDimension.d.ts +3 -3
  419. package/draw/{core/components → components}/stats/MultiDimension.js +13 -13
  420. package/draw/{core/components → components}/stats/MultiFontSize.d.ts +3 -3
  421. package/draw/{core/components → components}/stats/MultiFontSize.js +6 -6
  422. package/draw/{core/components → components}/stats/MultiPosition.d.ts +3 -3
  423. package/draw/{core/components → components}/stats/MultiPosition.js +7 -7
  424. package/draw/{core/components → components}/stats/Position.d.ts +3 -3
  425. package/draw/{core/components → components}/stats/Position.js +8 -8
  426. package/draw/{core/components → components}/stats/index.d.ts +2 -2
  427. package/draw/{core/components → components}/stats/index.js +12 -12
  428. package/draw/{core/components → components}/stats/utils.d.ts +3 -3
  429. package/draw/{core/components → components}/stats/utils.js +11 -11
  430. package/draw/constants.js +1 -1
  431. package/draw/{core/context → context}/tunnels.d.ts +9 -9
  432. package/draw/{core/context → context}/tunnels.js +6 -6
  433. package/draw/{core/context → context}/ui-appState.d.ts +1 -1
  434. package/draw/context/ui-appState.js +7 -0
  435. package/draw/context.js +1 -1
  436. package/draw/{core/cursor.d.ts → cursor.d.ts} +1 -1
  437. package/draw/{core/cursor.js → cursor.js} +4 -4
  438. package/draw/{core/data → data}/EditorLocalStorage.d.ts +2 -2
  439. package/draw/{core/data → data}/blob.d.ts +69 -69
  440. package/draw/{core/data → data}/blob.js +25 -25
  441. package/draw/{core/data → data}/encode.js +3 -3
  442. package/draw/data/encryption.js +4 -0
  443. package/draw/{core/data → data}/filesystem.d.ts +3 -3
  444. package/draw/{core/data → data}/filesystem.js +9 -9
  445. package/draw/{core/data → data}/image.js +7 -7
  446. package/draw/data/index.js +5 -0
  447. package/draw/{core/data → data}/json.d.ts +33 -33
  448. package/draw/{core/data → data}/json.js +4 -4
  449. package/draw/{core/data → data}/library.d.ts +3 -3
  450. package/draw/{core/data → data}/library.js +32 -32
  451. package/draw/{core/data → data}/reconcile.d.ts +3 -3
  452. package/draw/{core/data → data}/reconcile.js +6 -6
  453. package/draw/{core/data → data}/resave.d.ts +2 -2
  454. package/draw/{core/data → data}/resave.js +2 -2
  455. package/draw/{core/data → data}/restore.d.ts +3 -3
  456. package/draw/{core/data → data}/restore.js +49 -49
  457. package/draw/{core/data → data}/types.d.ts +3 -3
  458. package/draw/{core/data → data}/utils.d.ts +2 -2
  459. package/draw/{core/data → data}/utils.js +10 -10
  460. package/draw/{core/deburr.js → deburr.js} +2 -2
  461. package/draw/editor-jotai.d.ts +7 -0
  462. package/draw/editor-jotai.js +11 -0
  463. package/draw/element/Scene.js +1 -1
  464. package/draw/element/align.js +1 -1
  465. package/draw/element/arrows/focus.js +1 -1
  466. package/draw/element/arrows/helpers.js +1 -1
  467. package/draw/element/binding.js +1 -1
  468. package/draw/element/bounds.js +1 -1
  469. package/draw/element/collision.js +1 -1
  470. package/draw/element/comparisons.js +1 -1
  471. package/draw/element/containerCache.js +1 -1
  472. package/draw/element/cropElement.js +1 -1
  473. package/draw/element/delta.js +1 -1
  474. package/draw/element/distance.js +1 -1
  475. package/draw/element/distribute.js +1 -1
  476. package/draw/element/dragElements.js +1 -1
  477. package/draw/element/duplicate.js +1 -1
  478. package/draw/element/elbowArrow.js +1 -1
  479. package/draw/element/elementLink.js +1 -1
  480. package/draw/element/embeddable.js +1 -1
  481. package/draw/element/flowchart.js +1 -1
  482. package/draw/element/fractionalIndex.js +1 -1
  483. package/draw/element/frame.js +1 -1
  484. package/draw/element/groups.js +1 -1
  485. package/draw/element/heading.js +1 -1
  486. package/draw/element/image.js +1 -1
  487. package/draw/element/index.js +1 -1
  488. package/draw/element/is.js +1 -1
  489. package/draw/element/linearElementEditor.js +1 -1
  490. package/draw/element/mutateElement.js +1 -1
  491. package/draw/element/newElement.js +1 -1
  492. package/draw/element/positionElementsOnGrid.js +1 -1
  493. package/draw/element/renderElement.d.ts +1 -1
  494. package/draw/element/renderElement.js +1 -1
  495. package/draw/element/resizeElements.js +1 -1
  496. package/draw/element/resizeTest.js +1 -1
  497. package/draw/element/selection.js +1 -1
  498. package/draw/element/shape.d.ts +1 -1
  499. package/draw/element/shape.js +1 -1
  500. package/draw/element/showSelectedShapeActions.js +1 -1
  501. package/draw/element/sizeHelpers.js +1 -1
  502. package/draw/element/sortElements.js +1 -1
  503. package/draw/element/store.d.ts +1 -1
  504. package/draw/element/store.js +1 -1
  505. package/draw/element/textElement.js +1 -1
  506. package/draw/element/textMeasurements.js +1 -1
  507. package/draw/element/textWrapping.js +1 -1
  508. package/draw/element/transform.js +1 -1
  509. package/draw/element/transformHandles.js +1 -1
  510. package/draw/element/typeChecks.js +1 -1
  511. package/draw/element/utils.js +1 -1
  512. package/draw/element/zindex.js +1 -1
  513. package/draw/{core/eraser → eraser}/index.js +17 -17
  514. package/draw/errors.js +41 -0
  515. package/draw/{core/fonts → fonts}/DrawFontFace.js +2 -2
  516. package/draw/{core/fonts → fonts}/Fonts.d.ts +3 -3
  517. package/draw/{core/fonts → fonts}/Fonts.js +12 -12
  518. package/draw/fonts/index.js +3 -0
  519. package/draw/{core/gesture.d.ts → gesture.d.ts} +1 -1
  520. package/draw/{core/gesture.js → gesture.js} +2 -2
  521. package/draw/{core/history.d.ts → history.d.ts} +5 -5
  522. package/draw/{core/history.js → history.js} +7 -7
  523. package/draw/{core/hooks → hooks}/useCopiedIndicator.js +2 -2
  524. package/draw/{core/hooks → hooks}/useCreatePortalContainer.js +4 -4
  525. package/draw/{core/hooks → hooks}/useEmitter.d.ts +1 -1
  526. package/draw/{core/hooks → hooks}/useEmitter.js +2 -2
  527. package/draw/{core/hooks → hooks}/useLibraryItemSvg.d.ts +1 -1
  528. package/draw/{core/hooks → hooks}/useLibraryItemSvg.js +6 -6
  529. package/draw/{core/hooks → hooks}/useOutsideClick.js +4 -4
  530. package/draw/{core/hooks → hooks}/useScrollPosition.js +3 -3
  531. package/draw/{core/hooks → hooks}/useStable.js +2 -2
  532. package/draw/{core/hooks → hooks}/useTextEditorFocus.js +2 -2
  533. package/draw/{core/hooks → hooks}/useTransition.js +2 -2
  534. package/draw/{core/i18n.d.ts → i18n.d.ts} +1 -1
  535. package/draw/{core/i18n.js → i18n.js} +3 -3
  536. package/draw/index.d.ts +14 -14
  537. package/draw/index.js +48 -48
  538. package/draw/interface.d.ts +11 -11
  539. package/draw/{core/laser-trails.js → laser-trails.js} +5 -5
  540. package/draw/{core/lasso → lasso}/index.js +13 -13
  541. package/draw/{core/lasso → lasso}/utils.d.ts +2 -2
  542. package/draw/{core/lasso → lasso}/utils.js +10 -10
  543. package/draw/libs/browser-fs-access/directory-open.js +1 -1
  544. package/draw/libs/browser-fs-access/file-open.js +1 -1
  545. package/draw/libs/browser-fs-access/file-save.js +1 -1
  546. package/draw/libs/browser-fs-access/fs-access/directory-open.js +1 -1
  547. package/draw/libs/browser-fs-access/fs-access/file-open.js +1 -1
  548. package/draw/libs/browser-fs-access/fs-access/file-save.js +1 -1
  549. package/draw/libs/browser-fs-access/index.js +1 -1
  550. package/draw/libs/browser-fs-access/legacy/directory-open.js +1 -1
  551. package/draw/libs/browser-fs-access/legacy/file-open.js +1 -1
  552. package/draw/libs/browser-fs-access/legacy/file-save.js +1 -1
  553. package/draw/libs/browser-fs-access/supported.js +1 -1
  554. package/draw/libs/fractional-indexing/index.js +1 -1
  555. package/draw/libs/fuzzy/index.js +1 -1
  556. package/draw/libs/glur/index.js +1 -1
  557. package/draw/libs/glur/mono16.js +1 -1
  558. package/draw/libs/hachure-fill/index.js +1 -1
  559. package/draw/libs/image-blob-reduce/index.js +1 -1
  560. package/draw/libs/image-blob-reduce/lib/image_traverse.js +1 -1
  561. package/draw/libs/image-blob-reduce/lib/jpeg_plugins.js +1 -1
  562. package/draw/libs/image-blob-reduce/lib/utils.js +1 -1
  563. package/draw/libs/jotai/index.js +1 -1
  564. package/draw/libs/jotai/react/Provider.js +1 -1
  565. package/draw/libs/jotai/react/useAtom.js +1 -1
  566. package/draw/libs/jotai/react/useAtomValue.js +1 -1
  567. package/draw/libs/jotai/react/useSetAtom.js +1 -1
  568. package/draw/libs/jotai/react/utils/useAtomCallback.js +1 -1
  569. package/draw/libs/jotai/react/utils/useHydrateAtoms.js +1 -1
  570. package/draw/libs/jotai/react/utils/useReducerAtom.js +1 -1
  571. package/draw/libs/jotai/react/utils/useResetAtom.js +1 -1
  572. package/draw/libs/jotai/react/utils.js +1 -1
  573. package/draw/libs/jotai/react.js +1 -1
  574. package/draw/libs/jotai/utils.js +1 -1
  575. package/draw/libs/jotai/vanilla/atom.js +1 -1
  576. package/draw/libs/jotai/vanilla/internals.js +1 -1
  577. package/draw/libs/jotai/vanilla/store.js +1 -1
  578. package/draw/libs/jotai/vanilla/utils/atomFamily.js +1 -1
  579. package/draw/libs/jotai/vanilla/utils/atomWithStorage.js +1 -1
  580. package/draw/libs/jotai/vanilla/utils.js +1 -1
  581. package/draw/libs/jotai-scope/createIsolation.js +1 -1
  582. package/draw/libs/jotai-scope/index.js +1 -1
  583. package/draw/libs/jotai-scope/scope-provider/index.js +1 -1
  584. package/draw/libs/jotai-scope/scope-provider/scope.js +1 -1
  585. package/draw/libs/jotai-scope/utils.js +1 -1
  586. package/draw/libs/laser-pointer/index.js +1 -1
  587. package/draw/libs/laser-pointer/math.js +1 -1
  588. package/draw/libs/laser-pointer/simplify.js +1 -1
  589. package/draw/libs/laser-pointer/state.js +1 -1
  590. package/draw/libs/markdown-to-text/index.js +1 -1
  591. package/draw/libs/math/angle.js +1 -1
  592. package/draw/libs/math/constants.js +1 -1
  593. package/draw/libs/math/curve.js +1 -1
  594. package/draw/libs/math/ellipse.js +1 -1
  595. package/draw/libs/math/index.js +1 -1
  596. package/draw/libs/math/line.js +1 -1
  597. package/draw/libs/math/point.js +1 -1
  598. package/draw/libs/math/polygon.js +1 -1
  599. package/draw/libs/math/range.js +1 -1
  600. package/draw/libs/math/rectangle.js +1 -1
  601. package/draw/libs/math/segment.js +1 -1
  602. package/draw/libs/math/triangle.js +1 -1
  603. package/draw/libs/math/utils.js +1 -1
  604. package/draw/libs/math/vector.js +1 -1
  605. package/draw/libs/multimath/index.js +1 -1
  606. package/draw/libs/multimath/lib/wa_detect.js +1 -1
  607. package/draw/libs/nanoid/index.js +1 -1
  608. package/draw/libs/nanoid/url-alphabet/index.js +1 -1
  609. package/draw/libs/pako/index.js +1 -1
  610. package/draw/libs/path-data-parser/absolutize.js +1 -1
  611. package/draw/libs/path-data-parser/index.js +1 -1
  612. package/draw/libs/path-data-parser/normalize.js +1 -1
  613. package/draw/libs/path-data-parser/parser.js +1 -1
  614. package/draw/libs/perfect-freehand/getStroke.js +1 -1
  615. package/draw/libs/perfect-freehand/getStrokeOutlinePoints.js +1 -1
  616. package/draw/libs/perfect-freehand/getStrokePoints.js +1 -1
  617. package/draw/libs/perfect-freehand/getStrokeRadius.js +1 -1
  618. package/draw/libs/perfect-freehand/index.js +1 -1
  619. package/draw/libs/perfect-freehand/vec.js +1 -1
  620. package/draw/libs/pica/index.js +1 -1
  621. package/draw/libs/pica/lib/mathlib.js +1 -1
  622. package/draw/libs/pica/lib/mm_resize/convolve.js +1 -1
  623. package/draw/libs/pica/lib/mm_resize/convolve_wasm_base64.js +1 -1
  624. package/draw/libs/pica/lib/mm_resize/index.js +1 -1
  625. package/draw/libs/pica/lib/mm_resize/resize.js +1 -1
  626. package/draw/libs/pica/lib/mm_resize/resize_filter_gen.js +1 -1
  627. package/draw/libs/pica/lib/mm_resize/resize_wasm.js +1 -1
  628. package/draw/libs/pica/lib/mm_unsharp_mask/index.js +1 -1
  629. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask.js +1 -1
  630. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm.js +1 -1
  631. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm_base64.js +1 -1
  632. package/draw/libs/pica/lib/pool.js +1 -1
  633. package/draw/libs/pica/lib/tiler.js +1 -1
  634. package/draw/libs/pica/lib/utils.js +1 -1
  635. package/draw/libs/pica/lib/worker.js +1 -1
  636. package/draw/libs/png-chunk-text/decode.js +1 -1
  637. package/draw/libs/png-chunk-text/encode.js +1 -1
  638. package/draw/libs/png-chunk-text/index.js +1 -1
  639. package/draw/libs/png-chunks-encode/index.js +1 -1
  640. package/draw/libs/png-chunks-extract/index.js +1 -1
  641. package/draw/libs/points-on-curve/curve-to-bezier.js +1 -1
  642. package/draw/libs/points-on-curve/index.js +1 -1
  643. package/draw/libs/points-on-path/index.js +1 -1
  644. package/draw/libs/promise-pool/index.js +1 -1
  645. package/draw/libs/roughjs/canvas.js +1 -1
  646. package/draw/libs/roughjs/core.js +1 -1
  647. package/draw/libs/roughjs/fillers/dashed-filler.js +1 -1
  648. package/draw/libs/roughjs/fillers/dot-filler.js +1 -1
  649. package/draw/libs/roughjs/fillers/filler.js +1 -1
  650. package/draw/libs/roughjs/fillers/hachure-filler.js +1 -1
  651. package/draw/libs/roughjs/fillers/hatch-filler.js +1 -1
  652. package/draw/libs/roughjs/fillers/scan-line-hachure.js +1 -1
  653. package/draw/libs/roughjs/fillers/zigzag-filler.js +1 -1
  654. package/draw/libs/roughjs/fillers/zigzag-line-filler.js +1 -1
  655. package/draw/libs/roughjs/generator.js +1 -1
  656. package/draw/libs/roughjs/geometry.js +1 -1
  657. package/draw/libs/roughjs/index.js +1 -1
  658. package/draw/libs/roughjs/math.js +1 -1
  659. package/draw/libs/roughjs/renderer.js +1 -1
  660. package/draw/libs/roughjs/rough.js +1 -1
  661. package/draw/libs/roughjs/svg.js +1 -1
  662. package/draw/libs/sliced/index.js +1 -1
  663. package/draw/libs/webworkify/index.js +1 -1
  664. package/draw/mermaid.js +27 -0
  665. package/draw/polyfill.js +6 -0
  666. package/draw/{core/reactUtils.js → reactUtils.js} +4 -4
  667. package/draw/{core/renderer → renderer}/animation.js +2 -2
  668. package/draw/{core/renderer → renderer}/helpers.d.ts +1 -1
  669. package/draw/{core/renderer → renderer}/helpers.js +5 -5
  670. package/draw/{core/renderer → renderer}/interactiveScene.js +18 -18
  671. package/draw/{core/renderer → renderer}/renderNewElementScene.js +8 -8
  672. package/draw/{core/renderer → renderer}/renderSnaps.d.ts +1 -1
  673. package/draw/{core/renderer → renderer}/renderSnaps.js +6 -6
  674. package/draw/{core/renderer → renderer}/roundRect.js +2 -2
  675. package/draw/{core/renderer → renderer}/staticScene.d.ts +2 -2
  676. package/draw/{core/renderer → renderer}/staticScene.js +12 -12
  677. package/draw/{core/renderer → renderer}/staticSvgScene.d.ts +3 -3
  678. package/draw/{core/renderer → renderer}/staticSvgScene.js +19 -19
  679. package/draw/{core/scene → scene}/Renderer.d.ts +4 -4
  680. package/draw/{core/scene → scene}/Renderer.js +6 -6
  681. package/draw/{core/scene → scene}/export.d.ts +2 -2
  682. package/draw/{core/scene → scene}/export.js +52 -52
  683. package/draw/{core/scene → scene}/index.d.ts +1 -1
  684. package/draw/scene/index.js +7 -0
  685. package/draw/{core/scene → scene}/normalize.d.ts +1 -1
  686. package/draw/scene/normalize.js +10 -0
  687. package/draw/{core/scene → scene}/scroll.d.ts +2 -2
  688. package/draw/{core/scene → scene}/scroll.js +6 -6
  689. package/draw/{core/scene → scene}/scrollbars.d.ts +1 -1
  690. package/draw/{core/scene → scene}/scrollbars.js +5 -5
  691. package/draw/{core/scene → scene}/types.d.ts +7 -7
  692. package/draw/{core/scene → scene}/zoom.d.ts +1 -1
  693. package/draw/{core/scene → scene}/zoom.js +2 -2
  694. package/draw/{core/shortcut.js → shortcut.js} +4 -4
  695. package/draw/{core/snapping.d.ts → snapping.d.ts} +5 -5
  696. package/draw/{core/snapping.js → snapping.js} +14 -14
  697. package/draw/style/index.js +1 -1
  698. package/draw/utils/bbox.js +1 -1
  699. package/draw/utils/export.d.ts +1 -1
  700. package/draw/utils/export.js +7 -7
  701. package/draw/utils/index.js +2 -2
  702. package/draw/utils/shape.js +1 -1
  703. package/draw/utils/withinBounds.js +1 -1
  704. package/draw/workers.js +51 -0
  705. package/draw/{core/wysiwyg → wysiwyg}/textWysiwyg.d.ts +1 -1
  706. package/draw/{core/wysiwyg → wysiwyg}/textWysiwyg.js +16 -16
  707. package/drawer/Drawer.js +1 -1
  708. package/drawer/constants.js +1 -1
  709. package/drawer/context.js +1 -1
  710. package/drawer/index.js +1 -1
  711. package/drawer/style/index.js +1 -1
  712. package/drawer/use-drawer/Hook.js +1 -1
  713. package/drawer/use-drawer/index.js +1 -1
  714. package/dropdown/Button.js +1 -1
  715. package/dropdown/Dropdown.js +1 -1
  716. package/dropdown/constants.js +1 -1
  717. package/dropdown/context.js +1 -1
  718. package/dropdown/index.js +1 -1
  719. package/dropdown/style/index.js +1 -1
  720. package/empty/Empty.js +1 -1
  721. package/empty/constants.js +1 -1
  722. package/empty/context.js +1 -1
  723. package/empty/index.js +1 -1
  724. package/empty/style/index.css +1 -1
  725. package/empty/style/index.js +1 -1
  726. package/flex/Flex.js +1 -1
  727. package/flex/constants.js +1 -1
  728. package/flex/context.js +1 -1
  729. package/flex/index.js +1 -1
  730. package/flex/style/index.js +1 -1
  731. package/form/Control.js +1 -1
  732. package/form/Form.js +1 -1
  733. package/form/Item.js +1 -1
  734. package/form/ItemLabel.js +1 -1
  735. package/form/ItemTip.js +1 -1
  736. package/form/LabelSymbol.js +1 -1
  737. package/form/List.js +1 -1
  738. package/form/Provider.js +1 -1
  739. package/form/constants.js +1 -1
  740. package/form/context.js +1 -1
  741. package/form/hooks/useForm.js +1 -1
  742. package/form/hooks/useFormContext.js +1 -1
  743. package/form/hooks/useFormState.js +1 -1
  744. package/form/hooks/useWatch.js +1 -1
  745. package/form/index.js +1 -1
  746. package/form/interface.js +1 -1
  747. package/form/promisify.js +1 -1
  748. package/form/store.js +1 -1
  749. package/form/style/index.js +1 -1
  750. package/form/utils.js +1 -1
  751. package/global-provider/GlobalProvider.js +1 -1
  752. package/global-provider/constants.js +1 -1
  753. package/global-provider/context.js +1 -1
  754. package/global-provider/index.js +1 -1
  755. package/global-provider/style/index.js +1 -1
  756. package/grid/Grid.js +1 -1
  757. package/grid/Item.js +1 -1
  758. package/grid/constants.js +1 -1
  759. package/grid/context.js +1 -1
  760. package/grid/index.js +1 -1
  761. package/grid/style/index.js +1 -1
  762. package/grid/utils.js +1 -1
  763. package/hooks/index.js +1 -1
  764. package/hooks/use-breakpoint/index.js +1 -1
  765. package/hooks/use-computed-state/index.js +1 -1
  766. package/hooks/use-controllable-value/index.js +1 -1
  767. package/hooks/use-create/index.js +1 -1
  768. package/hooks/use-creation/index.js +1 -1
  769. package/hooks/use-effect-event/index.js +1 -1
  770. package/hooks/use-event/index.js +1 -1
  771. package/hooks/use-event-listener/index.js +1 -1
  772. package/hooks/use-force-update/index.js +1 -1
  773. package/hooks/use-fullscreen/index.js +1 -1
  774. package/hooks/use-id/index.js +1 -1
  775. package/hooks/use-intersection-observer/index.js +1 -1
  776. package/hooks/use-intersection-observers/index.js +1 -1
  777. package/hooks/use-interval/index.js +1 -1
  778. package/hooks/use-is-first-render/index.js +1 -1
  779. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  780. package/hooks/use-keyboard-event/index.js +1 -1
  781. package/hooks/use-latest/index.js +1 -1
  782. package/hooks/use-listen-window-resize/index.js +1 -1
  783. package/hooks/use-media/index.js +1 -1
  784. package/hooks/use-memoized-fn/index.js +1 -1
  785. package/hooks/use-merge-props/index.js +1 -1
  786. package/hooks/use-move/index.js +1 -1
  787. package/hooks/use-mutation-observers/index.js +1 -1
  788. package/hooks/use-online-status/index.js +1 -1
  789. package/hooks/use-overflow-hidden/index.js +1 -1
  790. package/hooks/use-override-ref/index.js +1 -1
  791. package/hooks/use-persist-callback/index.js +1 -1
  792. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  793. package/hooks/use-previous/index.js +1 -1
  794. package/hooks/use-refs/index.js +1 -1
  795. package/hooks/use-resize-observer/index.js +1 -1
  796. package/hooks/use-resize-observers/index.js +1 -1
  797. package/hooks/use-responsive-state/index.js +1 -1
  798. package/hooks/use-set-state/index.js +1 -1
  799. package/hooks/use-state-callback/index.js +1 -1
  800. package/hooks/use-state-with-promise/index.js +1 -1
  801. package/hooks/use-throttle-fn-with-raf/index.js +1 -1
  802. package/hooks/use-update-effect/index.js +1 -1
  803. package/hooks/use-update-layout-effect/index.js +1 -1
  804. package/hooks/use-verification-code/index.js +1 -1
  805. package/hooks/use-watch/index.js +1 -1
  806. package/hooks/use-watermark/index.js +1 -1
  807. package/hooks/use-watermark/utils.js +1 -1
  808. package/hooks/use-window-size/index.js +1 -1
  809. package/hooks/useMountLifecycle.js +1 -1
  810. package/icon/Icon.js +1 -1
  811. package/icon/addIconFromCdn.js +1 -1
  812. package/icon/constants.js +1 -1
  813. package/icon/context.js +1 -1
  814. package/icon/index.js +1 -1
  815. package/icon/style/index.js +1 -1
  816. package/icon-hover/IconHover.js +1 -1
  817. package/icon-hover/constants.js +1 -1
  818. package/icon-hover/context.js +1 -1
  819. package/icon-hover/index.js +1 -1
  820. package/icon-hover/style/index.js +1 -1
  821. package/icons/file/File.js +1 -1
  822. package/icons/file/context.js +1 -1
  823. package/icons/file/index.js +1 -1
  824. package/icons/file/style/index.js +1 -1
  825. package/icons.js +1 -1
  826. package/image/Footer.js +1 -1
  827. package/image/Image.js +1 -1
  828. package/image/Preview.js +1 -1
  829. package/image/PreviewArrow.js +1 -1
  830. package/image/PreviewGroup.js +1 -1
  831. package/image/PreviewToolbar.js +1 -1
  832. package/image/TriggerForToolbar.js +1 -1
  833. package/image/constants.js +1 -1
  834. package/image/context.js +1 -1
  835. package/image/hooks/useImageStatus.js +1 -1
  836. package/image/hooks/useShowFooter.js +1 -1
  837. package/image/index.js +1 -1
  838. package/image/style/index.js +1 -1
  839. package/image/utils/getFixTranslate.js +1 -1
  840. package/image/utils/getScale.js +1 -1
  841. package/index.d.ts +1 -1
  842. package/index.js +162 -158
  843. package/input/Button.js +1 -1
  844. package/input/Core.js +1 -1
  845. package/input/Group.js +1 -1
  846. package/input/Input.js +1 -1
  847. package/input/Password.js +1 -1
  848. package/input/Search.js +1 -1
  849. package/input/Textarea.js +1 -1
  850. package/input/autoSizeTextareaHeight.js +1 -1
  851. package/input/constants.js +1 -1
  852. package/input/context.js +1 -1
  853. package/input/index.js +1 -1
  854. package/input/style/index.js +1 -1
  855. package/input/useComposition.js +1 -1
  856. package/input/utils.js +1 -1
  857. package/input-number/InputNumber.js +1 -1
  858. package/input-number/constants.js +1 -1
  859. package/input-number/context.js +1 -1
  860. package/input-number/decimal.js +1 -1
  861. package/input-number/hooks/useSelectionRange.js +1 -1
  862. package/input-number/index.js +1 -1
  863. package/input-number/style/index.js +1 -1
  864. package/input-number/utils.js +1 -1
  865. package/input-tag/InputTag.js +1 -1
  866. package/input-tag/constants.js +1 -1
  867. package/input-tag/context.js +1 -1
  868. package/input-tag/hooks/useComputeAutoWidthDelay.js +1 -1
  869. package/input-tag/index.js +1 -1
  870. package/input-tag/style/index.js +1 -1
  871. package/layout/Content.js +1 -1
  872. package/layout/Footer.js +1 -1
  873. package/layout/Header.js +1 -1
  874. package/layout/Layout.js +1 -1
  875. package/layout/Sider.js +1 -1
  876. package/layout/constants.js +1 -1
  877. package/layout/context.js +1 -1
  878. package/layout/index.js +1 -1
  879. package/layout/style/index.js +1 -1
  880. package/link/Link.js +1 -1
  881. package/link/constants.js +1 -1
  882. package/link/context.js +1 -1
  883. package/link/index.js +1 -1
  884. package/link/style/index.js +1 -1
  885. package/liquid-fill/LiquidFill.js +1 -1
  886. package/liquid-fill/constants.js +1 -1
  887. package/liquid-fill/context.js +1 -1
  888. package/liquid-fill/index.js +1 -1
  889. package/liquid-fill/style/index.js +1 -1
  890. package/list/Item.js +1 -1
  891. package/list/List.js +53 -56
  892. package/list/Meta.js +1 -1
  893. package/list/constants.d.ts +1 -0
  894. package/list/constants.js +9 -1
  895. package/list/context.js +1 -1
  896. package/list/index.js +1 -1
  897. package/list/style/index.js +1 -1
  898. package/loading/Loading.js +1 -1
  899. package/loading/constants.js +1 -1
  900. package/loading/context.js +1 -1
  901. package/loading/index.js +1 -1
  902. package/loading/style/index.js +1 -1
  903. package/locale/ar-EG.js +1 -1
  904. package/locale/de-DE.js +1 -1
  905. package/locale/default.js +1 -1
  906. package/locale/en-US.js +1 -1
  907. package/locale/es-ES.js +1 -1
  908. package/locale/fr-FR.js +1 -1
  909. package/locale/id-ID.js +1 -1
  910. package/locale/it-IT.js +1 -1
  911. package/locale/ja-JP.js +1 -1
  912. package/locale/ko-KR.js +1 -1
  913. package/locale/ms-MY.js +1 -1
  914. package/locale/pt-BR.js +1 -1
  915. package/locale/pt-PT.js +1 -1
  916. package/locale/ru-RU.js +1 -1
  917. package/locale/th-TH.js +1 -1
  918. package/locale/tr-TR.js +1 -1
  919. package/locale/vi-VN.js +1 -1
  920. package/locale/zh-CN.js +1 -1
  921. package/locale/zh-HK.js +1 -1
  922. package/locale/zh-TW.js +1 -1
  923. package/marquee/Marquee.js +1 -1
  924. package/marquee/constants.js +1 -1
  925. package/marquee/context.js +1 -1
  926. package/marquee/index.js +1 -1
  927. package/marquee/style/index.js +1 -1
  928. package/mask/Mask.js +1 -1
  929. package/mask/constants.js +1 -1
  930. package/mask/context.js +1 -1
  931. package/mask/index.js +1 -1
  932. package/mask/style/index.js +1 -1
  933. package/masonry/Item.js +1 -1
  934. package/masonry/Masonry.js +1 -1
  935. package/masonry/constants.js +1 -1
  936. package/masonry/context.js +1 -1
  937. package/masonry/hooks/useDelay.js +1 -1
  938. package/masonry/hooks/useGutter.js +1 -1
  939. package/masonry/hooks/usePositions.js +1 -1
  940. package/masonry/hooks/useRefs.js +1 -1
  941. package/masonry/index.js +1 -1
  942. package/masonry/style/index.js +1 -1
  943. package/mentions/Mentions.js +1 -1
  944. package/mentions/constants.js +1 -1
  945. package/mentions/context.js +1 -1
  946. package/mentions/index.js +1 -1
  947. package/mentions/style/index.js +1 -1
  948. package/mentions/utils.js +1 -1
  949. package/menu/Indent.js +1 -1
  950. package/menu/Item.js +1 -1
  951. package/menu/ItemGroup.js +1 -1
  952. package/menu/Menu.js +1 -1
  953. package/menu/OverflowWrap.js +1 -1
  954. package/menu/constants.js +1 -1
  955. package/menu/context.js +1 -1
  956. package/menu/index.js +1 -1
  957. package/menu/style/index.js +1 -1
  958. package/menu/sub-menu/Inline.js +1 -1
  959. package/menu/sub-menu/Pop.js +1 -1
  960. package/menu/sub-menu/index.js +1 -1
  961. package/menu/utils.js +1 -1
  962. package/message/Message.js +1 -1
  963. package/message/config.js +1 -1
  964. package/message/constants.js +1 -1
  965. package/message/context.js +1 -1
  966. package/message/hooks/useMessage.js +1 -1
  967. package/message/index.js +1 -1
  968. package/message/style/index.js +1 -1
  969. package/message/utils.js +1 -1
  970. package/modal/Modal.js +1 -1
  971. package/modal/config.js +1 -1
  972. package/modal/confirm.js +1 -1
  973. package/modal/constants.js +1 -1
  974. package/modal/context.js +1 -1
  975. package/modal/index.js +1 -1
  976. package/modal/style/index.js +1 -1
  977. package/modal/use-modal/Hook.js +1 -1
  978. package/modal/use-modal/index.js +1 -1
  979. package/modal/utils.js +1 -1
  980. package/notice/Notice.js +5 -5
  981. package/notice/config.js +1 -1
  982. package/notice/constants.js +1 -1
  983. package/notice/context.js +1 -1
  984. package/notice/index.js +1 -1
  985. package/notice/style/index.js +1 -1
  986. package/notice/utils.js +1 -1
  987. package/notice/withNotice.js +1 -1
  988. package/notification/Notification.js +1 -1
  989. package/notification/config.js +1 -1
  990. package/notification/constants.js +1 -1
  991. package/notification/context.js +1 -1
  992. package/notification/hooks/useNotification.js +1 -1
  993. package/notification/index.js +1 -1
  994. package/notification/style/index.js +1 -1
  995. package/notification/utils.js +1 -1
  996. package/overflow-ellipsis/Item.js +1 -1
  997. package/overflow-ellipsis/OverflowEllipsis.js +1 -1
  998. package/overflow-ellipsis/constants.js +1 -1
  999. package/overflow-ellipsis/context.js +1 -1
  1000. package/overflow-ellipsis/index.js +1 -1
  1001. package/overflow-ellipsis/style/index.js +1 -1
  1002. package/package.json +1 -1
  1003. package/page-header/PageHeader.js +1 -1
  1004. package/page-header/constants.js +1 -1
  1005. package/page-header/context.js +1 -1
  1006. package/page-header/index.js +1 -1
  1007. package/page-header/style/index.js +1 -1
  1008. package/pagination/Item.js +1 -1
  1009. package/pagination/Jumper.js +1 -1
  1010. package/pagination/Pagination.js +46 -46
  1011. package/pagination/PreNextButton.js +1 -1
  1012. package/pagination/PreNextJump.js +1 -1
  1013. package/pagination/SizeOption.d.ts +2 -2
  1014. package/pagination/SizeOption.js +13 -19
  1015. package/pagination/constants.d.ts +3 -0
  1016. package/pagination/constants.js +11 -1
  1017. package/pagination/context.js +1 -1
  1018. package/pagination/index.d.ts +2 -3
  1019. package/pagination/index.js +5 -5
  1020. package/pagination/interface.js +1 -1
  1021. package/pagination/style/index.js +1 -1
  1022. package/pagination/utils.js +1 -1
  1023. package/picker/Input.js +1 -1
  1024. package/picker/InputRange.js +1 -1
  1025. package/picker/constants.js +1 -1
  1026. package/picker/context.js +1 -1
  1027. package/picker/index.js +1 -1
  1028. package/picker/style/index.js +1 -1
  1029. package/popconfirm/Popconfirm.js +6 -5
  1030. package/popconfirm/constants.js +1 -1
  1031. package/popconfirm/context.js +1 -1
  1032. package/popconfirm/index.js +1 -1
  1033. package/popconfirm/style/index.js +1 -1
  1034. package/popover/Popover.js +35 -35
  1035. package/popover/constants.js +1 -1
  1036. package/popover/context.js +1 -1
  1037. package/popover/index.js +1 -1
  1038. package/popover/style/index.js +1 -1
  1039. package/portal/Portal.js +1 -1
  1040. package/portal/constants.js +1 -1
  1041. package/portal/context.js +1 -1
  1042. package/portal/index.js +1 -1
  1043. package/portal/style/index.js +1 -1
  1044. package/progress/Circle.js +1 -1
  1045. package/progress/Line.js +1 -1
  1046. package/progress/Progress.js +1 -1
  1047. package/progress/Step.js +1 -1
  1048. package/progress/constants.js +1 -1
  1049. package/progress/context.js +1 -1
  1050. package/progress/index.js +1 -1
  1051. package/progress/style/index.js +1 -1
  1052. package/qr-code/QRCode.js +1 -1
  1053. package/qr-code/constants.js +1 -1
  1054. package/qr-code/context.js +1 -1
  1055. package/qr-code/index.js +1 -1
  1056. package/qr-code/src/index.js +1 -1
  1057. package/qr-code/src/qrcodegen.js +1 -1
  1058. package/qr-code/style/index.js +1 -1
  1059. package/radio/Group.js +1 -1
  1060. package/radio/GroupBlock.js +1 -1
  1061. package/radio/Radio.js +1 -1
  1062. package/radio/constants.js +1 -1
  1063. package/radio/context.js +1 -1
  1064. package/radio/index.js +1 -1
  1065. package/radio/style/index.js +1 -1
  1066. package/rate/Rate.js +1 -1
  1067. package/rate/constants.js +1 -1
  1068. package/rate/context.js +1 -1
  1069. package/rate/index.js +1 -1
  1070. package/rate/style/index.js +1 -1
  1071. package/resize-box/ResizeBox.js +1 -1
  1072. package/resize-box/ResizeTrigger.js +1 -1
  1073. package/resize-box/Split.js +1 -1
  1074. package/resize-box/SplitGroup.js +1 -1
  1075. package/resize-box/constants.js +1 -1
  1076. package/resize-box/context.js +1 -1
  1077. package/resize-box/index.js +1 -1
  1078. package/resize-box/style/index.js +1 -1
  1079. package/result/403.js +1 -1
  1080. package/result/404.js +1 -1
  1081. package/result/500.js +1 -1
  1082. package/result/Result.js +1 -1
  1083. package/result/constants.js +1 -1
  1084. package/result/context.js +1 -1
  1085. package/result/index.js +1 -1
  1086. package/result/style/index.js +1 -1
  1087. package/rich-text/RichText.js +1 -1
  1088. package/rich-text/Toolbar.js +1 -1
  1089. package/rich-text/constants.js +1 -1
  1090. package/rich-text/context.js +1 -1
  1091. package/rich-text/index.js +1 -1
  1092. package/rich-text/libs/blots/block.js +1 -1
  1093. package/rich-text/libs/blots/break.js +1 -1
  1094. package/rich-text/libs/blots/container.js +1 -1
  1095. package/rich-text/libs/blots/cursor.js +1 -1
  1096. package/rich-text/libs/blots/embed.js +1 -1
  1097. package/rich-text/libs/blots/inline.js +1 -1
  1098. package/rich-text/libs/blots/scroll.js +1 -1
  1099. package/rich-text/libs/blots/text.js +1 -1
  1100. package/rich-text/libs/core/composition.js +1 -1
  1101. package/rich-text/libs/core/editor.js +1 -1
  1102. package/rich-text/libs/core/emitter.js +1 -1
  1103. package/rich-text/libs/core/logger.js +1 -1
  1104. package/rich-text/libs/core/module.js +1 -1
  1105. package/rich-text/libs/core/rich.js +1 -1
  1106. package/rich-text/libs/core/selection.js +1 -1
  1107. package/rich-text/libs/core/theme.js +1 -1
  1108. package/rich-text/libs/core/utils/createRegistryWithFormats.js +1 -1
  1109. package/rich-text/libs/core/utils/scrollRectIntoView.js +1 -1
  1110. package/rich-text/libs/delta/AttributeMap.js +1 -1
  1111. package/rich-text/libs/delta/Op.js +1 -1
  1112. package/rich-text/libs/delta/OpIterator.js +1 -1
  1113. package/rich-text/libs/delta/index.js +1 -1
  1114. package/rich-text/libs/diff/index.js +1 -1
  1115. package/rich-text/libs/formats/align.js +1 -1
  1116. package/rich-text/libs/formats/background.js +1 -1
  1117. package/rich-text/libs/formats/blockquote.js +1 -1
  1118. package/rich-text/libs/formats/bold.js +1 -1
  1119. package/rich-text/libs/formats/code.js +1 -1
  1120. package/rich-text/libs/formats/color.js +1 -1
  1121. package/rich-text/libs/formats/direction.js +1 -1
  1122. package/rich-text/libs/formats/emoji.js +1 -1
  1123. package/rich-text/libs/formats/font.js +1 -1
  1124. package/rich-text/libs/formats/formula.js +1 -1
  1125. package/rich-text/libs/formats/header.js +1 -1
  1126. package/rich-text/libs/formats/hr.js +1 -1
  1127. package/rich-text/libs/formats/image.js +1 -1
  1128. package/rich-text/libs/formats/indent.js +1 -1
  1129. package/rich-text/libs/formats/italic.js +1 -1
  1130. package/rich-text/libs/formats/lineHeight.js +1 -1
  1131. package/rich-text/libs/formats/link.js +1 -1
  1132. package/rich-text/libs/formats/list.js +1 -1
  1133. package/rich-text/libs/formats/script.js +1 -1
  1134. package/rich-text/libs/formats/size.js +1 -1
  1135. package/rich-text/libs/formats/strike.js +1 -1
  1136. package/rich-text/libs/formats/table.js +1 -1
  1137. package/rich-text/libs/formats/underline.js +1 -1
  1138. package/rich-text/libs/formats/video.js +1 -1
  1139. package/rich-text/libs/index.js +1 -1
  1140. package/rich-text/libs/modules/clipboard.js +1 -1
  1141. package/rich-text/libs/modules/history.js +1 -1
  1142. package/rich-text/libs/modules/image-resize/index.js +1 -1
  1143. package/rich-text/libs/modules/image-resize/modules/Base.js +1 -1
  1144. package/rich-text/libs/modules/image-resize/modules/DisplaySize.js +1 -1
  1145. package/rich-text/libs/modules/image-resize/modules/Resize.js +1 -1
  1146. package/rich-text/libs/modules/image-resize/options.js +1 -1
  1147. package/rich-text/libs/modules/input.js +1 -1
  1148. package/rich-text/libs/modules/keyboard.js +1 -1
  1149. package/rich-text/libs/modules/normalize-external-html/index.js +1 -1
  1150. package/rich-text/libs/modules/normalize-external-html/normalizers/googleDocs.js +1 -1
  1151. package/rich-text/libs/modules/normalize-external-html/normalizers/msWord.js +1 -1
  1152. package/rich-text/libs/modules/table.js +1 -1
  1153. package/rich-text/libs/modules/toolbar.js +1 -1
  1154. package/rich-text/libs/modules/uiNode.js +1 -1
  1155. package/rich-text/libs/modules/uploader.js +1 -1
  1156. package/rich-text/libs/parchment/attributor/attributor.js +1 -1
  1157. package/rich-text/libs/parchment/attributor/class.js +1 -1
  1158. package/rich-text/libs/parchment/attributor/store.js +1 -1
  1159. package/rich-text/libs/parchment/attributor/style.js +1 -1
  1160. package/rich-text/libs/parchment/blot/abstract/container.js +1 -1
  1161. package/rich-text/libs/parchment/blot/abstract/leaf.js +1 -1
  1162. package/rich-text/libs/parchment/blot/abstract/parent.js +1 -1
  1163. package/rich-text/libs/parchment/blot/abstract/shadow.js +1 -1
  1164. package/rich-text/libs/parchment/blot/block.js +1 -1
  1165. package/rich-text/libs/parchment/blot/embed.js +1 -1
  1166. package/rich-text/libs/parchment/blot/inline.js +1 -1
  1167. package/rich-text/libs/parchment/blot/scroll.js +1 -1
  1168. package/rich-text/libs/parchment/blot/text.js +1 -1
  1169. package/rich-text/libs/parchment/collection/linked-list.js +1 -1
  1170. package/rich-text/libs/parchment/error.js +1 -1
  1171. package/rich-text/libs/parchment/index.js +1 -1
  1172. package/rich-text/libs/parchment/registry.js +1 -1
  1173. package/rich-text/libs/parchment/scope.js +1 -1
  1174. package/rich-text/style/index.js +1 -1
  1175. package/router-error/RouterError.js +1 -1
  1176. package/router-error/constants.js +1 -1
  1177. package/router-error/context.js +1 -1
  1178. package/router-error/index.js +1 -1
  1179. package/router-error/style/index.js +1 -1
  1180. package/row-col/Col.js +1 -1
  1181. package/row-col/Row.js +1 -1
  1182. package/row-col/constants.js +1 -1
  1183. package/row-col/context.js +1 -1
  1184. package/row-col/index.js +1 -1
  1185. package/row-col/style/index.js +1 -1
  1186. package/segmented/Segmented.js +1 -1
  1187. package/segmented/constants.js +1 -1
  1188. package/segmented/context.js +1 -1
  1189. package/segmented/index.js +1 -1
  1190. package/segmented/style/index.js +1 -1
  1191. package/select/Option.js +1 -1
  1192. package/select/OptionGroup.js +1 -1
  1193. package/select/Select.js +1 -1
  1194. package/select/constants.js +1 -1
  1195. package/select/context.js +1 -1
  1196. package/select/index.js +1 -1
  1197. package/select/style/index.css +1 -1
  1198. package/select/style/index.js +1 -1
  1199. package/select/utils.js +1 -1
  1200. package/select-view/Core.js +1 -1
  1201. package/select-view/SelectView.js +1 -1
  1202. package/select-view/constants.js +1 -1
  1203. package/select-view/context.js +1 -1
  1204. package/select-view/index.js +1 -1
  1205. package/select-view/style/index.js +1 -1
  1206. package/skeleton/Image.js +1 -1
  1207. package/skeleton/Skeleton.js +1 -1
  1208. package/skeleton/Text.js +1 -1
  1209. package/skeleton/constants.js +1 -1
  1210. package/skeleton/context.js +1 -1
  1211. package/skeleton/index.js +1 -1
  1212. package/skeleton/style/index.js +1 -1
  1213. package/slider/Button.d.ts +1 -1
  1214. package/slider/Button.js +24 -16
  1215. package/slider/Dot.js +1 -1
  1216. package/slider/Input.js +1 -1
  1217. package/slider/Mark.js +1 -1
  1218. package/slider/Slider.js +1 -1
  1219. package/slider/Tick.js +1 -1
  1220. package/slider/constants.js +1 -1
  1221. package/slider/context.js +1 -1
  1222. package/slider/hooks/useInterval.js +1 -1
  1223. package/slider/hooks/useLegalValue.js +1 -1
  1224. package/slider/index.d.ts +1 -1
  1225. package/slider/index.js +1 -1
  1226. package/slider/style/index.js +1 -1
  1227. package/slider/utils.js +1 -1
  1228. package/space/Space.js +1 -1
  1229. package/space/constants.js +1 -1
  1230. package/space/context.js +1 -1
  1231. package/space/index.js +1 -1
  1232. package/space/style/index.js +1 -1
  1233. package/speech-synthesis/SpeechSynthesis.js +1 -1
  1234. package/speech-synthesis/constants.js +1 -1
  1235. package/speech-synthesis/context.js +1 -1
  1236. package/speech-synthesis/index.js +1 -1
  1237. package/speech-synthesis/style/index.js +1 -1
  1238. package/spin/DotLoading.js +1 -1
  1239. package/spin/Spin.js +1 -1
  1240. package/spin/constants.js +1 -1
  1241. package/spin/context.js +1 -1
  1242. package/spin/index.js +1 -1
  1243. package/spin/style/index.js +1 -1
  1244. package/splitter/Bar.js +1 -1
  1245. package/splitter/Panel.js +1 -1
  1246. package/splitter/Splitter.js +1 -1
  1247. package/splitter/constants.js +1 -1
  1248. package/splitter/context.js +1 -1
  1249. package/splitter/hooks/useItems.js +1 -1
  1250. package/splitter/hooks/useResizable.js +1 -1
  1251. package/splitter/hooks/useResize.js +1 -1
  1252. package/splitter/hooks/useSizes.js +1 -1
  1253. package/splitter/index.js +1 -1
  1254. package/splitter/style/index.js +1 -1
  1255. package/statistic/Statistic.js +1 -1
  1256. package/statistic/constants.js +1 -1
  1257. package/statistic/context.js +1 -1
  1258. package/statistic/index.js +1 -1
  1259. package/statistic/interface.js +1 -1
  1260. package/statistic/style/index.js +1 -1
  1261. package/steps/Item.js +1 -1
  1262. package/steps/Steps.js +1 -1
  1263. package/steps/constants.js +1 -1
  1264. package/steps/context.js +1 -1
  1265. package/steps/index.js +1 -1
  1266. package/steps/style/index.js +1 -1
  1267. package/style/constants.js +1 -1
  1268. package/style.css +1 -1
  1269. package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
  1270. package/suspense-fallback-test/constants.js +1 -1
  1271. package/suspense-fallback-test/context.js +1 -1
  1272. package/suspense-fallback-test/index.js +1 -1
  1273. package/suspense-fallback-test/style/index.js +1 -1
  1274. package/switch/Switch.js +1 -1
  1275. package/switch/constants.js +1 -1
  1276. package/switch/context.js +1 -1
  1277. package/switch/index.js +1 -1
  1278. package/switch/style/index.js +1 -1
  1279. package/table/ColGroup.js +1 -1
  1280. package/table/Table.js +194 -192
  1281. package/table/constants.js +1 -1
  1282. package/table/context.js +1 -1
  1283. package/table/hooks/useColumns.js +1 -1
  1284. package/table/hooks/useComponent.js +1 -1
  1285. package/table/hooks/useExpand.js +1 -1
  1286. package/table/hooks/useRowSelection.js +1 -1
  1287. package/table/hooks/useSorter.js +1 -1
  1288. package/table/hooks/useStickyClassNames.js +1 -1
  1289. package/table/hooks/useStickyOffsets.js +1 -1
  1290. package/table/hooks/useThResizable.js +1 -1
  1291. package/table/index.js +1 -1
  1292. package/table/style/index.js +1 -1
  1293. package/table/summary/Cell.js +1 -1
  1294. package/table/summary/Row.js +1 -1
  1295. package/table/summary/context.js +1 -1
  1296. package/table/summary/index.js +1 -1
  1297. package/table/tbody/DataRecordRenderer.js +1 -1
  1298. package/table/tbody/Td.js +1 -1
  1299. package/table/tbody/Tr.js +7 -2
  1300. package/table/tbody/index.js +1 -1
  1301. package/table/tfoot/index.js +1 -1
  1302. package/table/th-resizable/index.js +1 -1
  1303. package/table/th-resizable/style/index.js +1 -1
  1304. package/table/thead/Column.js +1 -1
  1305. package/table/thead/index.js +1 -1
  1306. package/table/utils.js +1 -1
  1307. package/tabs/TabContent.js +1 -1
  1308. package/tabs/TabPane.js +1 -1
  1309. package/tabs/Tabs.js +1 -1
  1310. package/tabs/constants.js +1 -1
  1311. package/tabs/context.js +1 -1
  1312. package/tabs/hooks/useDomSize.js +1 -1
  1313. package/tabs/hooks/useHeaderScroll.js +1 -1
  1314. package/tabs/index.js +1 -1
  1315. package/tabs/style/index.js +1 -1
  1316. package/tabs/tab-header/DropdownIcon.js +1 -1
  1317. package/tabs/tab-header/TabInk.js +1 -1
  1318. package/tabs/tab-header/TabNavIcon.js +1 -1
  1319. package/tabs/tab-header/TabTitle.js +1 -1
  1320. package/tabs/tab-header/index.js +1 -1
  1321. package/tabs/utils.js +1 -1
  1322. package/tag/Tag.js +1 -1
  1323. package/tag/constants.js +1 -1
  1324. package/tag/context.js +1 -1
  1325. package/tag/index.js +1 -1
  1326. package/tag/style/index.js +1 -1
  1327. package/tag/utils.js +1 -1
  1328. package/time-picker/Picker.js +115 -115
  1329. package/time-picker/TimeColumn.js +1 -1
  1330. package/time-picker/TimePicker.js +1 -1
  1331. package/time-picker/TimePickerRange.js +1 -1
  1332. package/time-picker/constants.js +1 -1
  1333. package/time-picker/context.js +1 -1
  1334. package/time-picker/index.js +1 -1
  1335. package/time-picker/style/index.js +1 -1
  1336. package/time-picker/utils.js +1 -1
  1337. package/time-picker/withTimePicker.js +1 -1
  1338. package/timeline/Item.js +1 -1
  1339. package/timeline/Timeline.js +1 -1
  1340. package/timeline/constants.js +1 -1
  1341. package/timeline/context.js +1 -1
  1342. package/timeline/index.js +1 -1
  1343. package/timeline/style/index.js +1 -1
  1344. package/timer/Timer.js +1 -1
  1345. package/timer/constants.js +1 -1
  1346. package/timer/context.js +1 -1
  1347. package/timer/index.js +1 -1
  1348. package/timer/style/index.js +1 -1
  1349. package/toast/Toast.js +1 -1
  1350. package/toast/constants.js +1 -1
  1351. package/toast/context.js +1 -1
  1352. package/toast/index.js +1 -1
  1353. package/toast/style/index.js +1 -1
  1354. package/tooltip/Tooltip.js +23 -28
  1355. package/tooltip/constants.js +1 -1
  1356. package/tooltip/context.js +1 -1
  1357. package/tooltip/index.js +1 -1
  1358. package/tooltip/style/index.js +1 -1
  1359. package/tour/Tour.js +151 -108
  1360. package/tour/constants.js +1 -1
  1361. package/tour/context.js +1 -2
  1362. package/tour/index.js +1 -1
  1363. package/tour/interface.d.ts +0 -2
  1364. package/tour/style/index.css +1 -1
  1365. package/tour/style/index.js +1 -1
  1366. package/tour/utils.d.ts +9 -0
  1367. package/tour/utils.js +20 -0
  1368. package/transfer/Item.js +1 -1
  1369. package/transfer/List.js +1 -1
  1370. package/transfer/Transfer.js +1 -1
  1371. package/transfer/constants.js +1 -1
  1372. package/transfer/context.js +1 -1
  1373. package/transfer/index.js +1 -1
  1374. package/transfer/style/index.js +1 -1
  1375. package/transition/constants.js +1 -1
  1376. package/transition/context.js +1 -1
  1377. package/transition/index.js +1 -1
  1378. package/transition/style/index.js +1 -1
  1379. package/tree/Animation.js +1 -1
  1380. package/tree/Node.js +1 -1
  1381. package/tree/NodeList.js +1 -1
  1382. package/tree/Tree.js +1 -1
  1383. package/tree/constants.js +1 -1
  1384. package/tree/context.js +1 -1
  1385. package/tree/index.js +1 -1
  1386. package/tree/style/index.js +1 -1
  1387. package/tree/utils.js +1 -1
  1388. package/tree-select/List.js +1 -1
  1389. package/tree-select/TreeSelect.js +1 -1
  1390. package/tree-select/constants.js +1 -1
  1391. package/tree-select/context.js +1 -1
  1392. package/tree-select/hooks/useKeyCache.js +1 -1
  1393. package/tree-select/hooks/useStateValue.js +1 -1
  1394. package/tree-select/hooks/useTreeData.js +1 -1
  1395. package/tree-select/index.js +1 -1
  1396. package/tree-select/style/index.css +1 -1
  1397. package/tree-select/style/index.js +1 -1
  1398. package/tree-select/utils.js +1 -1
  1399. package/trigger/Trigger.js +293 -289
  1400. package/trigger/constants.js +1 -1
  1401. package/trigger/context.js +11 -12
  1402. package/trigger/getPopupStyle.d.ts +2 -2
  1403. package/trigger/getPopupStyle.js +57 -56
  1404. package/trigger/index.js +1 -1
  1405. package/trigger/interface.d.ts +1 -1
  1406. package/trigger/style/index.js +1 -1
  1407. package/trigger/utils.js +1 -1
  1408. package/typewriter/Typewriter.js +1 -1
  1409. package/typewriter/constants.js +1 -1
  1410. package/typewriter/context.js +1 -1
  1411. package/typewriter/index.js +1 -1
  1412. package/typewriter/style/index.js +1 -1
  1413. package/typography/Base.js +1 -1
  1414. package/typography/EditContent.js +1 -1
  1415. package/typography/Ellipsis.js +1 -1
  1416. package/typography/Operations.js +1 -1
  1417. package/typography/Paragraph.js +1 -1
  1418. package/typography/Text.js +1 -1
  1419. package/typography/Title.js +1 -1
  1420. package/typography/Typography.js +1 -1
  1421. package/typography/constants.js +1 -1
  1422. package/typography/context.js +1 -1
  1423. package/typography/hooks/useCssEllipsis.js +1 -1
  1424. package/typography/hooks/useEllipsis.js +1 -1
  1425. package/typography/index.js +1 -1
  1426. package/typography/style/index.js +1 -1
  1427. package/upload/TriggerNode.js +1 -1
  1428. package/upload/Upload.js +1 -1
  1429. package/upload/Uploader.js +1 -1
  1430. package/upload/constants.js +1 -1
  1431. package/upload/context.js +1 -1
  1432. package/upload/index.js +1 -1
  1433. package/upload/list/PictureItem.js +1 -1
  1434. package/upload/list/TextItem.js +1 -1
  1435. package/upload/list/UploadProgress.js +1 -1
  1436. package/upload/list/index.js +1 -1
  1437. package/upload/list/utils.js +1 -1
  1438. package/upload/request.js +1 -1
  1439. package/upload/style/index.js +1 -1
  1440. package/upload/utils.js +1 -1
  1441. package/utils/callOrReturn.js +1 -1
  1442. package/utils/callbackOriginRef.js +1 -1
  1443. package/utils/caseName.js +1 -1
  1444. package/utils/className.js +1 -1
  1445. package/utils/constants.js +1 -1
  1446. package/utils/contextHolder.js +1 -1
  1447. package/utils/copy.js +1 -1
  1448. package/utils/createGlobalConfigFunction.js +1 -1
  1449. package/utils/css.js +1 -1
  1450. package/utils/date.js +1 -1
  1451. package/utils/dayjs.js +1 -1
  1452. package/utils/document.js +1 -1
  1453. package/utils/dom.js +1 -1
  1454. package/utils/emitter.js +1 -1
  1455. package/utils/file.js +1 -1
  1456. package/utils/fileRead.js +1 -1
  1457. package/utils/fileToDataURL.js +1 -1
  1458. package/utils/fillNBSP.js +1 -1
  1459. package/utils/findRootElement.js +1 -1
  1460. package/utils/findScrollParent.js +1 -1
  1461. package/utils/getHighlightText.js +1 -1
  1462. package/utils/getHotkeyHandler.js +1 -1
  1463. package/utils/getScrollBarHeight.js +1 -1
  1464. package/utils/getScrollBarSize.js +1 -1
  1465. package/utils/getScrollBarWidth.js +1 -1
  1466. package/utils/getStringLength.js +1 -1
  1467. package/utils/include.js +1 -1
  1468. package/utils/index.js +1 -1
  1469. package/utils/intersectionObserver.js +1 -1
  1470. package/utils/is.js +1 -1
  1471. package/utils/keyboardCode.js +1 -1
  1472. package/utils/lodash.js +1 -1
  1473. package/utils/math.js +1 -1
  1474. package/utils/mergeProps.js +1 -1
  1475. package/utils/mergedToString.js +1 -1
  1476. package/utils/mutationObserver.js +1 -1
  1477. package/utils/names.js +1 -1
  1478. package/utils/object.js +1 -1
  1479. package/utils/omit.js +1 -1
  1480. package/utils/pad.js +1 -1
  1481. package/utils/pick.js +1 -1
  1482. package/utils/pinyin.js +1 -1
  1483. package/utils/react19Adapter.js +1 -1
  1484. package/utils/ref.js +1 -1
  1485. package/utils/resizeObserver.js +1 -1
  1486. package/utils/responsiveObserve.js +1 -1
  1487. package/utils/saveAs.js +1 -1
  1488. package/utils/screenfull.js +1 -1
  1489. package/utils/scrollIntoViewIfNeeded.js +1 -1
  1490. package/utils/setCreateRoot.js +1 -1
  1491. package/utils/setDarkTheme.js +1 -1
  1492. package/utils/setPrimaryColor.js +1 -1
  1493. package/utils/setTheme.js +1 -1
  1494. package/utils/string.js +1 -1
  1495. package/utils/style.js +1 -1
  1496. package/utils/tinycolor.js +1 -1
  1497. package/utils/toArray.js +1 -1
  1498. package/utils/tree.js +1 -1
  1499. package/utils/tunnel.js +1 -1
  1500. package/utils/tween.js +1 -1
  1501. package/utils/uuid.js +1 -1
  1502. package/utils/validate.js +1 -1
  1503. package/utils/warning.js +1 -1
  1504. package/verification-code/VerificationCode.js +1 -1
  1505. package/verification-code/constants.js +1 -1
  1506. package/verification-code/context.js +1 -1
  1507. package/verification-code/index.js +1 -1
  1508. package/verification-code/style/index.js +1 -1
  1509. package/version/index.js +6 -6
  1510. package/virtual-list/Filler.js +1 -1
  1511. package/virtual-list/VirtualList.js +34 -34
  1512. package/virtual-list/constants.js +1 -1
  1513. package/virtual-list/context.js +1 -1
  1514. package/virtual-list/hooks/useCacheChildrenNodes.js +1 -1
  1515. package/virtual-list/hooks/useComputeVirtualItemHeight.js +1 -1
  1516. package/virtual-list/index.js +1 -1
  1517. package/virtual-list/style/index.js +1 -1
  1518. package/virtual-list/utils/algorithm.js +1 -1
  1519. package/virtual-list/utils/item.js +1 -1
  1520. package/watermark/Watermark.js +1 -1
  1521. package/watermark/constants.js +1 -1
  1522. package/watermark/context.js +1 -1
  1523. package/watermark/index.js +1 -1
  1524. package/watermark/style/index.js +1 -1
  1525. package/draw/core/actions/actionTextAutoResize.d.ts +0 -17
  1526. package/draw/core/actions/actionToggleShapeSwitch.d.ts +0 -19
  1527. package/draw/core/actions/register.js +0 -6
  1528. package/draw/core/components/Actions.js +0 -493
  1529. package/draw/core/components/canvases/index.js +0 -4
  1530. package/draw/core/context/ui-appState.js +0 -7
  1531. package/draw/core/data/ai/types.d.ts +0 -242
  1532. package/draw/core/data/encryption.js +0 -4
  1533. package/draw/core/data/index.js +0 -5
  1534. package/draw/core/editor-jotai.d.ts +0 -7
  1535. package/draw/core/editor-jotai.js +0 -11
  1536. package/draw/core/errors.js +0 -22
  1537. package/draw/core/fonts/index.js +0 -3
  1538. package/draw/core/polyfill.js +0 -6
  1539. package/draw/core/scene/index.js +0 -7
  1540. package/draw/core/scene/normalize.js +0 -10
  1541. /package/{app → animation}/style/index.css +0 -0
  1542. /package/draw/{core/actions → actions}/index.d.ts +0 -0
  1543. /package/draw/{core/actions → actions}/register.d.ts +0 -0
  1544. /package/draw/{core/analytics.d.ts → analytics.d.ts} +0 -0
  1545. /package/draw/{core/animation-frame-handler.d.ts → animation-frame-handler.d.ts} +0 -0
  1546. /package/draw/{core/components → components}/ActiveConfirmDialog.d.ts +0 -0
  1547. /package/draw/{core/components → components}/BraveMeasureTextError.d.ts +0 -0
  1548. /package/draw/{core/components → components}/ButtonIconCycle.d.ts +0 -0
  1549. /package/draw/{core/components → components}/ButtonSeparator.d.ts +0 -0
  1550. /package/draw/{core/components → components}/ContextMenu.d.ts +0 -0
  1551. /package/draw/{core/components → components}/Ellipsify.d.ts +0 -0
  1552. /package/draw/{core/components → components}/ErrorDialog.d.ts +0 -0
  1553. /package/draw/{core/components → components}/FixedSideContainer.d.ts +0 -0
  1554. /package/draw/{core/components → components}/HandButton.d.ts +0 -0
  1555. /package/draw/{core/components → components}/HelpDialog.d.ts +0 -0
  1556. /package/draw/{core/components → components}/InlineIcon.d.ts +0 -0
  1557. /package/draw/{core/components → components}/Island.d.ts +0 -0
  1558. /package/draw/{core/components → components}/LaserPointerButton.d.ts +0 -0
  1559. /package/draw/{core/components → components}/LibraryMenu.d.ts +0 -0
  1560. /package/draw/{core/components → components}/LinkButton.d.ts +0 -0
  1561. /package/draw/{core/components → components}/LockButton.d.ts +0 -0
  1562. /package/draw/{core/components → components}/MagicButton.d.ts +0 -0
  1563. /package/draw/{core/components → components}/PenModeButton.d.ts +0 -0
  1564. /package/draw/{core/components → components}/Popover.d.ts +0 -0
  1565. /package/draw/{core/components → components}/ProjectName.d.ts +0 -0
  1566. /package/draw/{core/components → components}/SVGLayer.d.ts +0 -0
  1567. /package/draw/{core/components → components}/ScrollableList.d.ts +0 -0
  1568. /package/draw/{core/components → components}/SearchMenu.d.ts +0 -0
  1569. /package/draw/{core/components → components}/Stack.d.ts +0 -0
  1570. /package/draw/{core/components → components}/Toast.d.ts +0 -0
  1571. /package/draw/{core/components → components}/Tooltip.d.ts +0 -0
  1572. /package/draw/{core/components → components}/Trans.d.ts +0 -0
  1573. /package/draw/{core/components → components}/canvases/index.d.ts +0 -0
  1574. /package/draw/{core/components → components}/hoc/withInternalFallback.d.ts +0 -0
  1575. /package/draw/{core/components → components}/main-menu/MenuItem.d.ts +0 -0
  1576. /package/draw/{core/components → components}/main-menu/common.d.ts +0 -0
  1577. /package/draw/{core/components → components}/overwrite-confirm/State.d.ts +0 -0
  1578. /package/draw/{core/components → components}/overwrite-confirm/index.d.ts +0 -0
  1579. /package/draw/{core/components → components}/stats/Collapsible.d.ts +0 -0
  1580. /package/draw/{core/data → data}/encode.d.ts +0 -0
  1581. /package/draw/{core/data → data}/encryption.d.ts +0 -0
  1582. /package/draw/{core/data → data}/image.d.ts +0 -0
  1583. /package/draw/{core/data → data}/index.d.ts +0 -0
  1584. /package/draw/{core/deburr.d.ts → deburr.d.ts} +0 -0
  1585. /package/draw/{core/eraser → eraser}/index.d.ts +0 -0
  1586. /package/draw/{core/errors.d.ts → errors.d.ts} +0 -0
  1587. /package/draw/{core/fonts → fonts}/DrawFontFace.d.ts +0 -0
  1588. /package/draw/{core/fonts → fonts}/index.d.ts +0 -0
  1589. /package/draw/{core/hooks → hooks}/useCallbackRefState.d.ts +0 -0
  1590. /package/draw/{core/hooks → hooks}/useCopiedIndicator.d.ts +0 -0
  1591. /package/draw/{core/hooks → hooks}/useCreatePortalContainer.d.ts +0 -0
  1592. /package/draw/{core/hooks → hooks}/useOutsideClick.d.ts +0 -0
  1593. /package/draw/{core/hooks → hooks}/useScrollPosition.d.ts +0 -0
  1594. /package/draw/{core/hooks → hooks}/useStable.d.ts +0 -0
  1595. /package/draw/{core/hooks → hooks}/useStableCallback.d.ts +0 -0
  1596. /package/draw/{core/hooks → hooks}/useTextEditorFocus.d.ts +0 -0
  1597. /package/draw/{core/hooks → hooks}/useTransition.d.ts +0 -0
  1598. /package/draw/{core/laser-trails.d.ts → laser-trails.d.ts} +0 -0
  1599. /package/draw/{core/lasso → lasso}/index.d.ts +0 -0
  1600. /package/draw/{core/locales → locales}/percentages.json.js +0 -0
  1601. /package/draw/{core/locales → locales}/zh-CN.json.js +0 -0
  1602. /package/draw/{core/mermaid.d.ts → mermaid.d.ts} +0 -0
  1603. /package/draw/{core/polyfill.d.ts → polyfill.d.ts} +0 -0
  1604. /package/draw/{core/reactUtils.d.ts → reactUtils.d.ts} +0 -0
  1605. /package/draw/{core/renderer → renderer}/animation.d.ts +0 -0
  1606. /package/draw/{core/renderer → renderer}/interactiveScene.d.ts +0 -0
  1607. /package/draw/{core/renderer → renderer}/renderNewElementScene.d.ts +0 -0
  1608. /package/draw/{core/renderer → renderer}/roundRect.d.ts +0 -0
  1609. /package/draw/{core/shortcut.d.ts → shortcut.d.ts} +0 -0
  1610. /package/draw/{core/workers.d.ts → workers.d.ts} +0 -0
package/table/Table.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-26 17:15:01 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 09:38:37 星期二 山东省济南市 */
2
2
  import { isArray as e, isArrayAndNotEmpty as t, isBoolean as n, isFunction as r, isNaN as i, isNil as a, isNumber as o, isObjectLike as s, isPlainObject as c, isString as l, isUndefined as ee } from "../utils/is.js";
3
3
  import te from "../utils/className.js";
4
4
  import { pickDataAttributes as ne } from "../utils/pick.js";
@@ -10,52 +10,54 @@ import "../utils/tween.js";
10
10
  import se from "../hooks/use-isomorphic-layout-effect/index.js";
11
11
  import ce from "../hooks/use-resize-observers/index.js";
12
12
  import le from "../hooks/use-update-effect/index.js";
13
- import ue from "../spin/index.js";
14
- import de from "../pagination/index.js";
15
- import { PropsContext as fe, TableContext as pe, defaultProps as me } from "./context.js";
16
- import he from "./hooks/useComponent.js";
17
- import ge from "./hooks/useColumns.js";
18
- import { deepCloneData as _e, getOriginData as u, getSorterFn as ve, getSorterPriority as ye } from "./utils.js";
19
- import be from "./hooks/useExpand.js";
20
- import xe from "./hooks/useRowSelection.js";
21
- import Se from "./hooks/useSorter.js";
22
- import Ce from "./hooks/useStickyClassNames.js";
23
- import we from "./hooks/useStickyOffsets.js";
24
- import Te from "../hooks/use-window-size/index.js";
13
+ import { TRIGGER_POSITION_BOTTOM as ue } from "../trigger/constants.js";
14
+ import de from "../spin/index.js";
15
+ import "../pagination/constants.js";
16
+ import fe from "../pagination/index.js";
17
+ import { PropsContext as pe, TableContext as me, defaultProps as he } from "./context.js";
18
+ import ge from "./hooks/useComponent.js";
19
+ import _e from "./hooks/useColumns.js";
20
+ import { deepCloneData as ve, getOriginData as u, getSorterFn as ye, getSorterPriority as be } from "./utils.js";
21
+ import xe from "./hooks/useExpand.js";
22
+ import Se from "./hooks/useRowSelection.js";
23
+ import Ce from "./hooks/useSorter.js";
24
+ import we from "./hooks/useStickyClassNames.js";
25
+ import Te from "./hooks/useStickyOffsets.js";
26
+ import Ee from "../hooks/use-window-size/index.js";
25
27
  import d from "./ColGroup.js";
26
- import Ee from "./tbody/index.js";
27
- import De from "./tfoot/index.js";
28
- import Oe from "./thead/index.js";
29
- import ke, { forwardRef as Ae, useContext as je, useEffect as Me, useImperativeHandle as Ne, useMemo as f, useRef as p, useState as m } from "react";
30
- import Pe from "lodash/merge";
31
- import { Fragment as Fe, jsx as h, jsxs as g } from "react/jsx-runtime";
28
+ import De from "./tbody/index.js";
29
+ import Oe from "./tfoot/index.js";
30
+ import ke from "./thead/index.js";
31
+ import Ae, { forwardRef as je, useContext as Me, useEffect as Ne, useImperativeHandle as Pe, useMemo as f, useRef as p, useState as m } from "react";
32
+ import Fe from "lodash/merge";
33
+ import { Fragment as Ie, jsx as h, jsxs as g } from "react/jsx-runtime";
32
34
  //#region components/pc/table/Table.tsx
33
- var Ie = [], Le = [];
34
- function Re(Ae, Re) {
35
- let { prefixCls: ze, getPrefixCls: Be, loadingElement: Ve, size: He, renderEmpty: Ue, componentConfig: We, rtl: _ } = je(ie), Ge = je(fe), v = Pe({}, me, We?.Table, Ge, Ae), { style: Ke, className: qe, component: Je, border: y, borderCell: Ye, columns: Xe = Le, data: b = Ie, scroll: x, noDataElement: Ze, showHeader: Qe, stripe: $e, hover: et, pagination: S, onChange: C, pagePosition: w, childrenColumnName: T, indentSize: tt, rowSelection: E, tableLayoutFixed: nt, caption: rt, header: it, footer: at, virtualized: D, renderPagination: ot, summary: st, rowKey: O, triggerProps: ct, size: lt = He, expandProps: ut, loading: dt, consoleTable: ft } = v, k = dt;
35
+ var Le = [], Re = [];
36
+ function ze(je, ze) {
37
+ let { prefixCls: Be, getPrefixCls: Ve, loadingElement: He, size: Ue, renderEmpty: We, componentConfig: Ge, rtl: _ } = Me(ie), Ke = Me(pe), v = Fe({}, he, Ge?.Table, Ke, je), { style: qe, className: Je, component: Ye, border: y, borderCell: Xe, columns: Ze = Re, data: b = Le, scroll: x, noDataElement: Qe, showHeader: $e, stripe: et, hover: tt, pagination: S, onChange: C, pagePosition: w, childrenColumnName: T, indentSize: nt, rowSelection: E, tableLayoutFixed: rt, caption: it, header: at, footer: ot, virtualized: D, renderPagination: st, summary: ct, rowKey: O, triggerProps: lt, size: ut = Ue, expandProps: dt, loading: ft, consoleTable: pt } = v, k = ft;
36
38
  n(k) && (k = { loading: k });
37
- let pt = f(() => {
38
- let e = tt;
39
- return l(e) && (e = Number.parseFloat(e), i(e) && (e = me.indentSize)), e;
40
- }, [tt]), A = c(S) ? S : {}, j = c(x) && x.x, mt = f(() => _e(b, T), [b, T]), M = Be?.("table"), ht = [
39
+ let mt = f(() => {
40
+ let e = nt;
41
+ return l(e) && (e = Number.parseFloat(e), i(e) && (e = he.indentSize)), e;
42
+ }, [nt]), A = c(S) ? S : {}, j = c(x) && x.x, ht = f(() => ve(b, T), [b, T]), M = Ve?.("table"), gt = [
41
43
  "default",
42
44
  "mini",
43
45
  "small",
44
46
  "large"
45
- ].includes(lt) ? lt : "default", N = p(null), gt = p(null), P = p(null), F = p(null), _t = p(null), vt = p(null), yt = p(null), I = p(null), L = p(null), bt = p(null), xt = p(null), St = p(null), R = p(0), z = p([]), Ct = p(!1), [wt, B] = ge(v), { currentFilters: Tt, defaultSorters: Et } = Wt(), [V, Dt] = m(1), [Ot, kt] = m(A.pageSize || A.defaultPageSize || 10), [At, jt] = m(Tt), [Mt, Nt] = m(0), [Pt, Ft] = m([]), It = we(B), [Lt, Rt] = Ce(wt, B, M), { currentSorter: H, activeSorters: U, getNextActiveSorters: zt, updateStateSorters: Bt } = Se(B, Et), { ComponentTable: W, ComponentBodyWrapper: Vt, ComponentHeaderWrapper: Ht } = he(Je), Ut = f(() => r(O) ? (e) => O(u(e)) : (e) => e[O], [O]);
46
- function Wt() {
47
+ ].includes(ut) ? ut : "default", N = p(null), _t = p(null), P = p(null), F = p(null), vt = p(null), yt = p(null), bt = p(null), I = p(null), L = p(null), xt = p(null), St = p(null), Ct = p(null), R = p(0), z = p([]), wt = p(!1), [Tt, B] = _e(v), { currentFilters: Et, defaultSorters: Dt } = Gt(), [V, Ot] = m(1), [kt, At] = m(A.pageSize || A.defaultPageSize || 10), [jt, Mt] = m(Et), [Nt, Pt] = m(0), [Ft, It] = m([]), Lt = Te(B), [Rt, zt] = we(Tt, B, M), { currentSorter: H, activeSorters: U, getNextActiveSorters: Bt, updateStateSorters: Vt } = Ce(B, Dt), { ComponentTable: W, ComponentBodyWrapper: Ht, ComponentHeaderWrapper: Ut } = ge(Ye), Wt = f(() => r(O) ? (e) => O(u(e)) : (e) => e[O], [O]);
48
+ function Gt() {
47
49
  let e = {}, t = [];
48
50
  return B.forEach((n) => {
49
51
  let r = n.dataIndex || n.key;
50
52
  n.defaultFilters && (e[r] = n.defaultFilters), n.filteredValue && (e[r] = n.filteredValue);
51
53
  let i = "defaultSortOrder" in n && !a(n.defaultSortOrder), s = "sortOrder" in n && !a(n.sortOrder);
52
54
  if (i || s) {
53
- let e = ye(n.sorter), i = s ? n.sortOrder : n.defaultSortOrder;
55
+ let e = be(n.sorter), i = s ? n.sortOrder : n.defaultSortOrder;
54
56
  if (i) {
55
57
  let a = {
56
58
  field: r,
57
59
  direction: i,
58
- sorterFn: ve(n.sorter),
60
+ sorterFn: ye(n.sorter),
59
61
  priority: e
60
62
  };
61
63
  o(e) ? t.every((e) => o(e.priority) || !e.direction) && t.push(a) : t.every((e) => !e.direction) ? t.push(a) : t = [a];
@@ -72,25 +74,25 @@ function Re(Ae, Re) {
72
74
  let r = e.key || e.dataIndex || n;
73
75
  ee(r) || (t[r] = e.filteredValue);
74
76
  }), t;
75
- }, [B]), K = f(() => Object.keys(G).length ? G : At, [At, G]);
76
- function Gt(e, t) {
77
- let n = yn(t);
77
+ }, [B]), K = f(() => Object.keys(G).length ? G : jt, [jt, G]);
78
+ function Kt(e, t) {
79
+ let n = bn(t);
78
80
  if (!n) return;
79
81
  let r = {
80
82
  direction: e,
81
83
  field: t,
82
- sorterFn: ve(n.sorter),
83
- priority: ye(n.sorter)
84
- }, i = zt(r);
85
- Bt(r, i);
86
- let a = Qt(r, i, K), o = X(a);
84
+ sorterFn: ye(n.sorter),
85
+ priority: be(n.sorter)
86
+ }, i = Bt(r);
87
+ Vt(r, i);
88
+ let a = $t(r, i, K), o = X(a);
87
89
  C?.(J(a), r, K, {
88
90
  currentData: u(o),
89
91
  currentAllData: u(a),
90
92
  action: "sort"
91
93
  });
92
94
  }
93
- function Kt(e) {
95
+ function qt(e) {
94
96
  let t = function(e, t) {
95
97
  return (n, r) => {
96
98
  let i = e(n, r);
@@ -107,7 +109,7 @@ function Re(Ae, Re) {
107
109
  return 0;
108
110
  };
109
111
  }
110
- function qt(n, r) {
112
+ function Jt(n, r) {
111
113
  let i = {
112
114
  ...K,
113
115
  [n.dataIndex]: r
@@ -116,53 +118,53 @@ function Re(Ae, Re) {
116
118
  ...G
117
119
  };
118
120
  if (t(r)) {
119
- jt(a);
120
- let e = Qt(H, U, i), t = X(e);
121
+ Mt(a);
122
+ let e = $t(H, U, i), t = X(e);
121
123
  C?.(J(e), U.length === 1 ? U[0] : U, i, {
122
124
  currentData: u(t),
123
125
  currentAllData: u(e),
124
126
  action: "filter"
125
127
  });
126
- } else e(r) && !r.length && Jt(n);
128
+ } else e(r) && !r.length && Yt(n);
127
129
  }
128
- function Jt({ dataIndex: e }) {
130
+ function Yt({ dataIndex: e }) {
129
131
  let t = { ...K };
130
- delete t[e], jt(t);
131
- let n = Qt(H, U, t), r = X(n);
132
+ delete t[e], Mt(t);
133
+ let n = $t(H, U, t), r = X(n);
132
134
  C?.(J(n), U.length === 1 ? U[0] : U, t, {
133
135
  currentData: u(r),
134
136
  currentAllData: u(n),
135
137
  action: "filter"
136
138
  });
137
139
  }
138
- let Yt = !!B.find((e) => e.fixed === "left"), Xt = !!B.find((e) => e.fixed === "right"), Zt = Yt || Xt;
139
- function Qt(t, n, i) {
140
- let a = (mt || []).slice();
140
+ let Xt = !!B.find((e) => e.fixed === "left"), Zt = !!B.find((e) => e.fixed === "right"), Qt = Xt || Zt;
141
+ function $t(t, n, i) {
142
+ let a = (ht || []).slice();
141
143
  Object.keys(i).forEach((e) => {
142
144
  if (i[e]?.length) {
143
- let t = yn(e);
145
+ let t = bn(e);
144
146
  t && r(t.onFilter) && (a = a.filter((n) => i[e].reduce((e, r) => e || t.onFilter(r, n), !1)));
145
147
  }
146
148
  });
147
- let o = (t) => t.slice().sort(Kt(n)).map((t) => e(t[T]) ? {
149
+ let o = (t) => t.slice().sort(qt(n)).map((t) => e(t[T]) ? {
148
150
  ...t,
149
151
  [T]: o(t[T])
150
152
  } : t);
151
153
  return t.direction && r(t.sorterFn) || n.length ? o(a) : a;
152
154
  }
153
- let q = Qt(H, U, K);
155
+ let q = $t(H, U, K);
154
156
  function J(t = q) {
155
- let n = A.pageSize || Ot || 10, r = ht, i = "top";
156
- i = w === "tl" || w === "bl" ? "bottom" : "top";
157
+ let n = A.pageSize || kt || 10, r = gt, i = "top";
158
+ i = w === "tl" || w === "bl" ? ue : "top";
157
159
  let a = e(t) ? t.length : 0, o = Math.ceil(a / n) < V ? 1 : V;
158
- o !== V && Dt(o);
160
+ o !== V && Ot(o);
159
161
  let c = {
160
162
  size: r,
161
163
  total: a,
162
164
  pageSize: n,
163
165
  current: o,
164
166
  selectProps: { triggerProps: {
165
- ...ct,
167
+ ...lt,
166
168
  position: i
167
169
  } }
168
170
  };
@@ -172,16 +174,16 @@ function Re(Ae, Re) {
172
174
  }), c = {
173
175
  ...c,
174
176
  ...A
175
- }, c.onChange = bn, c;
177
+ }, c.onChange = xn, c;
176
178
  }
177
- let $t = J(), Y = X();
178
- function X(e = q, t = $t) {
179
+ let en = J(), Y = X();
180
+ function X(e = q, t = en) {
179
181
  let { current: n = 0, pageSize: r = 10 } = t;
180
182
  return S === !1 || c(S) && b.length <= r ? e : e.slice((n - 1) * r, n * r);
181
183
  }
182
- let Z = !!x?.y, Q = st?.(u(q)), en = st && ke.isValidElement(Q) && Q.props.fixed, tn = Z && en;
184
+ let Z = !!x?.y, Q = ct?.(u(q)), tn = ct && Ae.isValidElement(Q) && Q.props.fixed, nn = Z && tn;
183
185
  se(() => {
184
- rn(), I.current;
186
+ an(), I.current;
185
187
  let e = L.current;
186
188
  return N.current, P.current, e?.parentNode, () => {};
187
189
  }, [
@@ -189,8 +191,8 @@ function Re(Ae, Re) {
189
191
  L.current,
190
192
  N.current,
191
193
  P.current,
192
- Yt,
193
194
  Xt,
195
+ Zt,
194
196
  x?.x,
195
197
  x?.y,
196
198
  B.length,
@@ -199,80 +201,80 @@ function Re(Ae, Re) {
199
201
  Y.length === 0
200
202
  ]), le(() => {
201
203
  let { total: e, pageSize: t } = J(b);
202
- Math.ceil(e / t) < V && Dt(1);
204
+ Math.ceil(e / t) < V && Ot(1);
203
205
  }, [b?.length]), le(() => {
204
- sn();
206
+ cn();
205
207
  }, [
206
208
  b,
207
- Yt,
208
209
  Xt,
210
+ Zt,
209
211
  _
210
- ]), Ne(Re, () => ({
212
+ ]), Pe(ze, () => ({
211
213
  getRootElement() {
212
- return nn();
214
+ return rn();
213
215
  },
214
216
  scrollIntoView(e) {
215
- let t = gt.current?.getVirtualList?.();
217
+ let t = _t.current?.getVirtualList?.();
216
218
  t && t.scrollTo({ key: e });
217
219
  }
218
220
  }));
219
- function nn() {
221
+ function rn() {
220
222
  return F.current;
221
223
  }
222
- le(() => (Dn(), () => {}), [Qe]), ce((e) => {
223
- rn();
224
- }, [an()], { immediate: !0 }), Te(rn);
225
- function rn() {
226
- if (Zt || j) {
227
- sn();
228
- let e = an();
224
+ le(() => (On(), () => {}), [$e]), ce((e) => {
225
+ an();
226
+ }, [on()], { immediate: !0 }), Ee(an);
227
+ function an() {
228
+ if (Qt || j) {
229
+ cn();
230
+ let e = on();
229
231
  if (e) {
230
232
  let t = e.clientWidth ?? e.getBoundingClientRect().width;
231
- pt && (t -= pt - 16), Nt(t);
233
+ mt && (t -= mt - 16), Pt(t);
232
234
  }
233
235
  }
234
- Dn();
235
- }
236
- function an() {
237
- return N.current || yt.current || vt.current || _t.current || F.current;
236
+ On();
238
237
  }
239
238
  function on() {
239
+ return N.current || bt.current || yt.current || vt.current || F.current;
240
+ }
241
+ function sn() {
240
242
  I.current, L.current;
241
243
  let e = N.current;
242
244
  P.current;
243
- let t = F.current, n = Z ? e : xt.current?.parentNode;
245
+ let t = F.current, n = Z ? e : St.current?.parentNode;
244
246
  if (!t) return;
245
247
  let r = t.classList;
246
248
  if (n) {
247
249
  let e = _ ? -n.scrollLeft : n.scrollLeft, t = e === 0, i = e + 1 >= n.children[0].getBoundingClientRect().width - n.getBoundingClientRect().width;
248
- t && i ? un(r, `${M}-scroll-position-both`) : t ? un(r, `${M}-scroll-position-${_ ? "right" : "left"}`) : i ? un(r, `${M}-scroll-position-${_ ? "left" : "right"}`) : un(r, `${M}-scroll-position-middle`);
249
- } else ln(r);
250
+ t && i ? dn(r, `${M}-scroll-position-both`) : t ? dn(r, `${M}-scroll-position-${_ ? "right" : "left"}`) : i ? dn(r, `${M}-scroll-position-${_ ? "left" : "right"}`) : dn(r, `${M}-scroll-position-middle`);
251
+ } else un(r);
250
252
  }
251
- function sn() {
252
- if (Zt || j) {
253
+ function cn() {
254
+ if (Qt || j) {
253
255
  let e = F.current;
254
256
  if (e) {
255
257
  let t = e.classList;
256
- Yt && cn(t, `${M}-has-fixed-col-left`), Xt && cn(t, `${M}-has-fixed-col-right`);
258
+ Xt && ln(t, `${M}-has-fixed-col-left`), Zt && ln(t, `${M}-has-fixed-col-right`);
257
259
  }
258
- on();
260
+ sn();
259
261
  }
260
262
  }
261
- function cn(e, t) {
263
+ function ln(e, t) {
262
264
  e instanceof DOMTokenList && (e.contains(t) || e.add(t));
263
265
  }
264
- function ln(e) {
266
+ function un(e) {
265
267
  e instanceof DOMTokenList && (e.remove(`${M}-scroll-position-both`), e.remove(`${M}-scroll-position-left`), e.remove(`${M}-scroll-position-right`), e.remove(`${M}-scroll-position-middle`));
266
268
  }
267
- function un(e, t) {
268
- e.contains(t) || (ln(e), e.add(t));
269
+ function dn(e, t) {
270
+ e.contains(t) || (un(e), e.add(t));
269
271
  }
270
- let { selectedRowKeys: dn, indeterminateKeys: fn, onCheckAll: pn, onCheck: mn, onCheckRadio: hn, setSelectedRowKeys: gn, allSelectedRowKeys: _n, flattenData: vn } = xe(v, Y, mt, Ut);
271
- function yn(e) {
272
+ let { selectedRowKeys: fn, indeterminateKeys: pn, onCheckAll: mn, onCheck: hn, onCheckRadio: gn, setSelectedRowKeys: _n, allSelectedRowKeys: vn, flattenData: yn } = Se(v, Y, ht, Wt);
273
+ function bn(e) {
272
274
  return B.find((t, n) => ee(t.key) ? ee(t.dataIndex) ? o(e) ? n === e : !1 : t.dataIndex === e : o(t.key) && l(e) ? t.key.toString() === e : t.key === e);
273
275
  }
274
- function bn(e, t) {
275
- Dt(e), kt(t), e !== V && xn(), E && !E.checkCrossPage && dn.length && (gn([]), E.onChange?.([], []));
276
+ function xn(e, t) {
277
+ Ot(e), At(t), e !== V && Sn(), E && !E.checkCrossPage && fn.length && (_n([]), E.onChange?.([], []));
276
278
  let n = {
277
279
  ...J(),
278
280
  current: e,
@@ -284,7 +286,7 @@ function Re(Ae, Re) {
284
286
  action: "paginate"
285
287
  }), A.onChange?.(e, t);
286
288
  }
287
- function xn() {
289
+ function Sn() {
288
290
  let e = N.current;
289
291
  e && e.scrollTo({
290
292
  top: 0,
@@ -292,7 +294,7 @@ function Re(Ae, Re) {
292
294
  });
293
295
  }
294
296
  function $(e) {
295
- let { target: t } = e ?? {}, { scrollLeft: n } = t ?? {}, r = I.current, i = L.current, a = gt.current, o = N.current, s = P.current, c = i?.parentNode || r;
297
+ let { target: t } = e ?? {}, { scrollLeft: n } = t ?? {}, r = I.current, i = L.current, a = _t.current, o = N.current, s = P.current, c = i?.parentNode || r;
296
298
  if (z.current.includes(t)) {
297
299
  z.current = z.current.filter((e, n, r) => e !== t), R.current = n;
298
300
  return;
@@ -306,17 +308,17 @@ function Re(Ae, Re) {
306
308
  ].filter((e, n, r) => !!e && e !== t);
307
309
  z.current = e, e.forEach((e, t, r) => {
308
310
  e.scrollLeft = n;
309
- }), sn();
311
+ }), cn();
310
312
  }
311
313
  R.current = n;
312
314
  }
313
- function Sn(e) {
314
- let { target: t } = e, { scrollLeft: n } = t ?? {}, r = xt.current;
315
- n === R.current || (r.scrollLeft = n, sn()), R.current = n;
315
+ function Cn(e) {
316
+ let { target: t } = e, { scrollLeft: n } = t ?? {}, r = St.current;
317
+ n === R.current || (r.scrollLeft = n, cn()), R.current = n;
316
318
  }
317
- let [Cn, wn] = be(v, vn, Ut), Tn = {}, En = {};
318
- x && ((o(x.x) || l(x.x)) && (Tn = { width: x.x }), (o(x.y) || l(x.y)) && (En = { maxHeight: x.y }));
319
- function Dn() {
319
+ let [wn, Tn] = xe(v, yn, Wt), En = {}, Dn = {};
320
+ x && ((o(x.x) || l(x.x)) && (En = { width: x.x }), (o(x.y) || l(x.y)) && (Dn = { maxHeight: x.y }));
321
+ function On() {
320
322
  let e = I.current, t = L.current, n = N.current, r = P.current, i = t?.parentNode || e, a = ae(i);
321
323
  if (a) {
322
324
  let e = `-${a}px`;
@@ -324,101 +326,101 @@ function Re(Ae, Re) {
324
326
  }
325
327
  setTimeout(() => {
326
328
  let e = oe(n);
327
- e ? (`${e}`, i && (Ct.current = !0, i.style.overflowY = "scroll"), r && (r.style.overflowY = "scroll")) : Ct.current && (Ct.current = !1, i && (i.style.overflowY = "auto"), r && (r.style.overflowY = "auto"));
329
+ e ? (`${e}`, i && (wt.current = !0, i.style.overflowY = "scroll"), r && (r.style.overflowY = "scroll")) : wt.current && (wt.current = !1, i && (i.style.overflowY = "auto"), r && (r.style.overflowY = "auto"));
328
330
  }, 7);
329
331
  }
330
- let On = /* @__PURE__ */ h(Oe, {
332
+ let kn = /* @__PURE__ */ h(ke, {
331
333
  ...v,
332
334
  activeSorters: U,
333
335
  currentSorter: H,
334
- selectedRowKeys: dn,
336
+ selectedRowKeys: fn,
335
337
  currentFilters: K,
336
- onCheckAll: pn,
337
- onSort: Gt,
338
+ onCheckAll: mn,
339
+ onSort: Kt,
338
340
  data: Y,
339
- onHandleFilter: qt,
340
- onHandleFilterReset: Jt,
341
+ onHandleFilter: Jt,
342
+ onHandleFilterReset: Yt,
341
343
  prefixCls: M,
342
- allSelectedRowKeys: _n,
343
- groupColumns: wt,
344
- stickyOffsets: It,
345
- groupStickyClassNames: Lt
344
+ allSelectedRowKeys: vn,
345
+ groupColumns: Tt,
346
+ stickyOffsets: Lt,
347
+ groupStickyClassNames: Rt
346
348
  });
347
- function kn() {
349
+ function An() {
348
350
  let e = j && x.x === "max-content";
349
- return Z || D ? /* @__PURE__ */ h(Ht, {
351
+ return Z || D ? /* @__PURE__ */ h(Ut, {
350
352
  ref: I,
351
353
  className: `${M}-header`,
352
354
  onScroll: $,
353
355
  children: /* @__PURE__ */ g(W, {
354
356
  ref: L,
355
- style: e ? {} : Tn,
357
+ style: e ? {} : En,
356
358
  className: `${M}-header-table`,
357
359
  children: [/* @__PURE__ */ h(d, {
358
360
  columns: B,
359
361
  prefixCls: M,
360
362
  producer: !1,
361
- columnWidths: e && x.y ? Pt : null
362
- }), On]
363
+ columnWidths: e && x.y ? Ft : null
364
+ }), kn]
363
365
  })
364
- }) : On;
366
+ }) : kn;
365
367
  }
366
- let An = Q && /* @__PURE__ */ h(De, {
368
+ let jn = Q && /* @__PURE__ */ h(Oe, {
367
369
  prefixCls: M,
368
- summary: st,
370
+ summary: ct,
369
371
  data: Y,
370
372
  columns: B,
371
- stickyOffsets: It,
372
- stickyClassNames: Rt
373
- }), jn = /* @__PURE__ */ h(Ee, {
373
+ stickyOffsets: Lt,
374
+ stickyClassNames: zt
375
+ }), Mn = /* @__PURE__ */ h(De, {
374
376
  ...v,
375
377
  ref: (e) => {
376
- gt.current = e, D && (Y.length, N.current = e?.getRootElement?.());
378
+ _t.current = e, D && (Y.length, N.current = e?.getRootElement?.());
377
379
  },
378
- selectedRowKeys: dn,
379
- indeterminateKeys: fn,
380
- expandedRowKeys: Cn,
381
- onCheck: mn,
382
- onCheckRadio: hn,
383
- onClickExpandBtn: wn,
380
+ selectedRowKeys: fn,
381
+ indeterminateKeys: pn,
382
+ expandedRowKeys: wn,
383
+ onCheck: hn,
384
+ onCheckRadio: gn,
385
+ onClickExpandBtn: Tn,
384
386
  columns: B,
385
387
  data: Y,
386
388
  prefixCls: M,
387
- hasFixedColumn: Zt,
388
- tableViewWidth: Mt,
389
- indentSize: pt,
390
- noDataElement: Ze || Ue?.(re),
389
+ hasFixedColumn: Qt,
390
+ tableViewWidth: Nt,
391
+ indentSize: mt,
392
+ noDataElement: Qe || We?.(re),
391
393
  activeSorters: U,
392
394
  currentSorter: H,
393
- stickyOffsets: It,
394
- stickyClassNames: Rt,
395
- getRowKey: Ut,
395
+ stickyOffsets: Lt,
396
+ stickyClassNames: zt,
397
+ getRowKey: Wt,
396
398
  onScroll: $
397
- }), Mn = !D && !tn ? /* @__PURE__ */ g(Fe, { children: [jn, An] }) : jn;
398
- if (Me(() => (ft && console.table(b), () => {}), [b, ft]), !t(Xe)) return null;
399
- function Nn() {
399
+ }), Nn = !D && !nn ? /* @__PURE__ */ g(Ie, { children: [Mn, jn] }) : Mn;
400
+ if (Ne(() => (pt && console.table(b), () => {}), [b, pt]), !t(Ze)) return null;
401
+ function Pn() {
400
402
  let e = c(x) && x.x === "max-content" && !!x.y && t(b);
401
- return Z && !D ? /* @__PURE__ */ h(Vt, {
403
+ return Z && !D ? /* @__PURE__ */ h(Ht, {
402
404
  ref: N,
403
- style: En,
405
+ style: Dn,
404
406
  className: te(`${M}-content-body`, `${M}-body`),
405
407
  onScroll: $,
406
408
  children: /* @__PURE__ */ g(W, {
407
- ref: bt,
408
- style: Tn,
409
+ ref: xt,
410
+ style: En,
409
411
  className: `${M}-body-table`,
410
412
  children: [/* @__PURE__ */ h(d, {
411
413
  columns: B,
412
414
  prefixCls: M,
413
415
  producer: e,
414
- onSetColumnWidths: Ft,
415
- expandedRowKeys: Cn,
416
+ onSetColumnWidths: It,
417
+ expandedRowKeys: wn,
416
418
  data: b
417
- }), Mn]
419
+ }), Nn]
418
420
  })
419
- }) : Mn;
421
+ }) : Nn;
420
422
  }
421
- function Pn() {
423
+ function Fn() {
422
424
  let e = {};
423
425
  j && (e = { width: x.x });
424
426
  let t = /* @__PURE__ */ h("div", {
@@ -426,37 +428,37 @@ function Re(Ae, Re) {
426
428
  ref: P,
427
429
  onScroll: $,
428
430
  children: /* @__PURE__ */ g(W, {
429
- ref: St,
431
+ ref: Ct,
430
432
  style: e,
431
433
  className: `${M}-tfoot-table`,
432
434
  children: [/* @__PURE__ */ h(d, {
433
435
  columns: B,
434
436
  prefixCls: M
435
- }), An]
437
+ }), jn]
436
438
  })
437
- }), n = Q && Z && en === "top", i = Q && (Z && en === "bottom" || D), a = /* @__PURE__ */ g(Fe, { children: [
438
- Qe ? kn() : null,
439
+ }), n = Q && Z && tn === "top", i = Q && (Z && tn === "bottom" || D), a = /* @__PURE__ */ g(Ie, { children: [
440
+ $e ? An() : null,
439
441
  n && t,
440
- Nn(),
442
+ Pn(),
441
443
  i && t
442
- ] }), o = r(rt) ? rt(Y) : rt, s = r(it) ? it(Y) : it, c = r(at) ? at(Y) : at;
443
- return /* @__PURE__ */ g(Fe, { children: [
444
+ ] }), o = r(it) ? it(Y) : it, s = r(at) ? at(Y) : at, c = r(ot) ? ot(Y) : ot;
445
+ return /* @__PURE__ */ g(Ie, { children: [
444
446
  !!s && /* @__PURE__ */ h("div", {
445
447
  className: `${M}-header-`,
446
448
  children: s
447
449
  }),
448
450
  /* @__PURE__ */ h("div", {
449
- ref: _t,
451
+ ref: vt,
450
452
  className: `${M}-container`,
451
453
  children: /* @__PURE__ */ h("div", {
452
- ref: vt,
454
+ ref: yt,
453
455
  className: `${M}-content-scroll`,
454
456
  children: /* @__PURE__ */ h("div", {
455
- ref: yt,
457
+ ref: bt,
456
458
  className: `${M}-content-inner`,
457
- onScroll: Z ? void 0 : Sn,
459
+ onScroll: Z ? void 0 : Cn,
458
460
  children: Z || D ? a : /* @__PURE__ */ g(W, {
459
- ref: xt,
461
+ ref: St,
460
462
  style: e,
461
463
  className: `${M}-content-inner-table`,
462
464
  children: [
@@ -480,52 +482,52 @@ function Re(Ae, Re) {
480
482
  })
481
483
  ] });
482
484
  }
483
- let Fn = c(y) ? y.wrapper : y, In = c(y) ? y.cell : Ye, Ln = c(y) ? y.cell || y.headerCell : Ye, Rn = c(y) ? y.cell || y.bodyCell : Ye, zn = te(M, Qe ? `${M}-has-header` : `${M}-no-header`, `${M}-size-${ht}`, {
484
- [`${M}-border`]: Fn,
485
- [`${M}-border-cell`]: In,
486
- [`${M}-border-header-cell`]: !In && Ln,
487
- [`${M}-border-body-cell`]: !In && Rn,
488
- [`${M}-stripe`]: $e,
489
- [`${M}-hover`]: et,
485
+ let In = c(y) ? y.wrapper : y, Ln = c(y) ? y.cell : Xe, Rn = c(y) ? y.cell || y.headerCell : Xe, zn = c(y) ? y.cell || y.bodyCell : Xe, Bn = te(M, $e ? `${M}-has-header` : `${M}-no-header`, `${M}-size-${gt}`, {
486
+ [`${M}-border`]: In,
487
+ [`${M}-border-cell`]: Ln,
488
+ [`${M}-border-header-cell`]: !Ln && Rn,
489
+ [`${M}-border-body-cell`]: !Ln && zn,
490
+ [`${M}-stripe`]: et,
491
+ [`${M}-hover`]: tt,
490
492
  [`${M}-type-radio`]: E?.type === "radio",
491
- [`${M}-layout-fixed`]: nt || x && (x.x || x.y) || Xe.find((e) => e.ellipsis),
492
- [`${M}-fixed-column`]: Zt,
493
+ [`${M}-layout-fixed`]: rt || x && (x.x || x.y) || Ze.find((e) => e.ellipsis),
494
+ [`${M}-fixed-column`]: Qt,
493
495
  [`${M}-virtualized`]: D,
494
496
  [`${M}-rtl`]: _
495
- }, qe), Bn = w === "tl" || w === "tr" || w === "topCenter", Vn = te(`${M}-pagination`, {
497
+ }, Je), Vn = w === "tl" || w === "tr" || w === "topCenter", Hn = te(`${M}-pagination`, {
496
498
  [`${M}-pagination-left`]: w === "tl" || w === "bl",
497
499
  [`${M}-pagination-center`]: w === "topCenter" || w === "bottomCenter",
498
- [`${M}-pagination-top`]: Bn
499
- }), Hn = S !== !1 && (q.length !== 0 || $t?.total > 0), Un;
500
- if (Hn) {
501
- let e = /* @__PURE__ */ h(de, { ...$t });
502
- Un = r(ot) ? ot(e) : /* @__PURE__ */ h("div", {
503
- className: Vn,
500
+ [`${M}-pagination-top`]: Vn
501
+ }), Un = S !== !1 && (q.length !== 0 || en?.total > 0), Wn;
502
+ if (Un) {
503
+ let e = /* @__PURE__ */ h(fe, { ...en });
504
+ Wn = r(st) ? st(e) : /* @__PURE__ */ h("div", {
505
+ className: Hn,
504
506
  children: e
505
507
  });
506
508
  }
507
- return /* @__PURE__ */ h(pe.Provider, {
509
+ return /* @__PURE__ */ h(me.Provider, {
508
510
  value: v,
509
511
  children: /* @__PURE__ */ h("div", {
510
512
  ref: F,
511
- style: Ke,
512
- className: zn,
513
+ style: qe,
514
+ className: Bn,
513
515
  ...ne(v),
514
- children: /* @__PURE__ */ g(ue, {
516
+ children: /* @__PURE__ */ g(de, {
515
517
  className: `${M}-spin`,
516
- element: Ve,
518
+ element: He,
517
519
  ...k,
518
520
  children: [
519
- Bn && Un,
520
- Pn(),
521
- !Bn && Un
521
+ Vn && Wn,
522
+ Fn(),
523
+ !Vn && Wn
522
524
  ]
523
525
  })
524
526
  })
525
527
  });
526
528
  }
527
- var ze = Ae(Re);
528
- Object.assign(ze, { ...re });
529
+ var Be = je(ze);
530
+ Object.assign(Be, { ...re });
529
531
  //#endregion
530
- export { ze as default };
532
+ export { Be as default };
531
533
  /* 独立思考,明辨是非 */