@unicom-cloud/ui 0.8.170 → 0.8.172

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