@unicom-cloud/ui 0.8.169 → 0.8.171

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