@unicom-cloud/ui 0.8.170 → 0.8.171

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