@unicom-cloud/ui 0.8.112 → 0.8.113

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 (413) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +1 -1
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/ColorPicker.js +1 -1
  14. package/Comment.js +1 -1
  15. package/ConfigProvider.js +1 -1
  16. package/Copy.js +3 -47
  17. package/Countdown.js +16 -50
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Details.js +14 -50
  21. package/Development.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Dropdown.js +1 -1
  25. package/Empty.js +1 -1
  26. package/Flex.js +15 -51
  27. package/Form.js +1 -1
  28. package/Icon.js +1 -1
  29. package/IconHover.js +1 -1
  30. package/Image.js +1 -1
  31. package/InputNumber.js +1 -1
  32. package/Layout.js +1 -1
  33. package/Link.js +1 -1
  34. package/LiquidFill.js +16 -51
  35. package/List.js +1 -1
  36. package/Loading.js +14 -50
  37. package/Marquee.js +23 -46
  38. package/Mentions.js +1 -1
  39. package/Menu.js +1 -1
  40. package/Message.js +1 -1
  41. package/Modal.js +1 -1
  42. package/Notice.js +13 -49
  43. package/Notification.js +1 -1
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Popconfirm.js +1 -1
  47. package/Popover.js +1 -1
  48. package/Progress.js +1 -1
  49. package/QrCode.js +14 -51
  50. package/Radio.js +1 -1
  51. package/Rate.js +1 -1
  52. package/ResizeBox.js +1 -1
  53. package/Result.js +1 -1
  54. package/RichText.js +12 -13
  55. package/Segmented.js +15 -50
  56. package/Skeleton.js +1 -1
  57. package/Slider.js +1 -1
  58. package/Space.js +15 -51
  59. package/Spin.js +1 -1
  60. package/Statistic.js +1 -1
  61. package/Steps.js +1 -1
  62. package/Switch.js +1 -1
  63. package/Table.js +1 -1
  64. package/Tabs.js +1 -1
  65. package/Tag.js +1 -1
  66. package/Tooltip.js +1 -1
  67. package/Tour.js +17 -53
  68. package/Transfer.js +1 -1
  69. package/Tree.js +1 -1
  70. package/TreeSelect.js +1 -1
  71. package/Trigger.js +1 -1
  72. package/affix/index.js +1 -1
  73. package/alert/index.js +1 -1
  74. package/anchor/Anchor.js +2 -2
  75. package/anchor/Link.js +1 -1
  76. package/app/App.js +2 -2
  77. package/auto-complete/index.js +1 -1
  78. package/avatar/Avatar.js +1 -1
  79. package/avatar/Group.js +1 -1
  80. package/back-top/index.js +1 -1
  81. package/badge/index.js +1 -1
  82. package/breadcrumb/index.js +2 -2
  83. package/button/Group.js +1 -1
  84. package/button/index.js +1 -1
  85. package/calendar/index.js +2 -2
  86. package/card/Grid.js +1 -1
  87. package/card/Meta.js +1 -1
  88. package/card/index.js +1 -1
  89. package/carousel/Arrow.js +1 -1
  90. package/carousel/Indicator.js +1 -1
  91. package/carousel/index.js +1 -1
  92. package/cascader/Cascader.js +3 -3
  93. package/cascader/index.js +1 -1
  94. package/cascader/util.js +1 -1
  95. package/checkbox/Checkbox.js +2 -2
  96. package/checkbox/Group.js +2 -2
  97. package/checkbox/GroupBlock.js +2 -2
  98. package/checkbox/index.js +2 -2
  99. package/chunk/{0BhDjhcd.js → 3t4FwEoB.js} +1 -1
  100. package/chunk/{KPBMJlOB.js → BHAu6wbC.js} +1 -1
  101. package/chunk/{DhAvt6tJ.js → Bcl7dWlJ.js} +2 -2
  102. package/chunk/{CrOzsnI0.js → Bl3hZtxi.js} +1 -1
  103. package/chunk/{BfVlSL8A.js → Bzx5BueA.js} +3 -3
  104. package/chunk/CVMFAeSw.js +39 -0
  105. package/chunk/{C1vY8016.js → CYDaUML7.js} +77 -108
  106. package/chunk/{CYssV-zz.js → CbXCgtzv.js} +65 -99
  107. package/chunk/ClNkxEcR.js +154 -0
  108. package/chunk/{DfUcAhyT.js → CwLSam2p.js} +2 -2
  109. package/chunk/Cy26_CKq.js +33 -0
  110. package/chunk/{BiZSULcr.js → D0dVE1v1.js} +317 -350
  111. package/chunk/{CtCFA4ht.js → DA5AMZwY.js} +3 -3
  112. package/chunk/{DfbO4QTS.js → DB0hUIM1.js} +1 -1
  113. package/chunk/{DMv8Hn4u.js → De8RLlOK.js} +1 -1
  114. package/chunk/{C3kH2ES3.js → DrYaod6k.js} +1 -1
  115. package/chunk/{CylbdYce.js → DzlfiVe2.js} +1 -1
  116. package/chunk/gJsdBcpG.js +10 -0
  117. package/chunk/{Cx92e1S8.js → yWKJUe_w.js} +3 -3
  118. package/collapse/Collapse.js +1 -1
  119. package/collapse/Item.js +1 -1
  120. package/color-picker/ControlBar.js +1 -1
  121. package/color-picker/InputAlpha.js +1 -1
  122. package/color-picker/InputHex.js +1 -1
  123. package/color-picker/InputRgb.js +1 -1
  124. package/color-picker/Palette.js +1 -1
  125. package/color-picker/Panel.js +2 -2
  126. package/color-picker/index.js +1 -1
  127. package/comment/index.js +1 -1
  128. package/config-provider/ConfigProvider.js +1 -1
  129. package/config-provider/context.js +1 -1
  130. package/config-provider/index.js +2 -2
  131. package/copy/index.js +22 -66
  132. package/countdown/index.js +41 -75
  133. package/date-picker/Picker.js +1 -1
  134. package/date-picker/RangePicker.js +2 -2
  135. package/date-picker/index.js +1 -1
  136. package/descriptions/index.js +1 -1
  137. package/details/index.js +46 -82
  138. package/development/index.js +1 -1
  139. package/divider/index.js +1 -1
  140. package/draggable/index.js +1 -1
  141. package/drawer/Drawer.js +1 -1
  142. package/dropdown/Button.js +1 -1
  143. package/dropdown/index.js +1 -1
  144. package/empty/index.js +1 -1
  145. package/flex/index.js +37 -71
  146. package/form/Form.js +2 -2
  147. package/form/FormItem.js +1 -1
  148. package/form/index.js +1 -1
  149. package/grid/Grid.js +1 -1
  150. package/grid/Item.js +1 -1
  151. package/hooks/index.js +6 -6
  152. package/hooks/useId.js +1 -1
  153. package/hooks/useResizeObserver.js +7 -50
  154. package/hooks/useStateWithPromise.js +1 -1
  155. package/hooks/useWindowSize.js +1 -1
  156. package/icon/index.js +1 -1
  157. package/icon-hover/index.js +1 -1
  158. package/icons/file.js +1 -1
  159. package/image/Image.js +2 -2
  160. package/image/ImagePreview.js +17 -52
  161. package/image/ImagePreviewArrow.js +1 -1
  162. package/image/ImagePreviewGroup.js +1 -1
  163. package/image/index.js +1 -1
  164. package/index.js +379 -378
  165. package/input/Button.js +1 -1
  166. package/input/Group.js +1 -1
  167. package/input/Input.js +1 -1
  168. package/input/InputElement.js +1 -1
  169. package/input/Password.js +1 -1
  170. package/input/Search.js +1 -1
  171. package/input/Textarea.js +1 -1
  172. package/input-number/index.js +1 -1
  173. package/input-tag/InputTag.js +1 -1
  174. package/layout/Content.js +1 -1
  175. package/layout/Footer.js +1 -1
  176. package/layout/Header.js +1 -1
  177. package/layout/Sider.js +1 -1
  178. package/layout/index.js +1 -1
  179. package/link/index.js +1 -1
  180. package/liquid-fill/index.js +56 -91
  181. package/list/Item.js +1 -1
  182. package/list/Meta.js +1 -1
  183. package/list/index.js +1 -1
  184. package/loading/index.js +26 -62
  185. package/marquee/index.js +70 -93
  186. package/marquee-/index.js +73 -96
  187. package/mentions/index.js +1 -1
  188. package/menu/Menu.js +3 -3
  189. package/menu/OverflowWrap.js +1 -1
  190. package/menu/index.js +2 -2
  191. package/message/index.js +1 -1
  192. package/message/useMessage.js +1 -1
  193. package/modal/Confirm.js +2 -2
  194. package/modal/Modal.js +2 -2
  195. package/modal/index.js +2 -2
  196. package/notice/index.js +13 -49
  197. package/notification/index.js +1 -1
  198. package/notification/useNotification.js +1 -1
  199. package/overflow-ellipsis/OverflowItem.js +1 -1
  200. package/overflow-ellipsis/index.js +1 -1
  201. package/package.json +1 -1
  202. package/page-header/index.js +1 -1
  203. package/pagination/PageItem.js +1 -1
  204. package/pagination/PageJumper.js +1 -1
  205. package/pagination/PageOption.js +1 -1
  206. package/pagination/Pagination.js +1 -1
  207. package/picker/Input.js +1 -1
  208. package/picker/InputRange.js +1 -1
  209. package/popconfirm/index.js +1 -1
  210. package/popover/index.js +1 -1
  211. package/progress/CircleProgress.js +1 -1
  212. package/progress/index.js +1 -1
  213. package/qr-code/index.js +26 -63
  214. package/radio/Group.js +2 -2
  215. package/radio/GroupBlock.js +2 -2
  216. package/radio/Radio.js +2 -2
  217. package/radio/index.js +2 -2
  218. package/rate/index.js +1 -1
  219. package/resize-box/ResizeTrigger.js +1 -1
  220. package/resize-box/Split.js +1 -1
  221. package/resize-box/SplitGroup.js +1 -1
  222. package/resize-box/index.js +1 -1
  223. package/result/index.js +1 -1
  224. package/rich-text/index.js +6332 -77
  225. package/rich-text/lib/diff/index.d.ts +21 -0
  226. package/row-col/Col-.js +1 -1
  227. package/row-col/Col.js +1 -1
  228. package/row-col/Row.js +1 -1
  229. package/segmented/index.js +118 -153
  230. package/select/Option.js +44 -41
  231. package/select/Select.js +10 -12
  232. package/select-view/Core.js +1 -1
  233. package/skeleton/index.js +1 -1
  234. package/slider/Button.js +1 -1
  235. package/slider/index.js +1 -1
  236. package/space/index.js +23 -59
  237. package/spin/DotLoading.js +1 -1
  238. package/spin/index.js +1 -1
  239. package/splitter/Panel.js +1 -1
  240. package/splitter/SplitBar.js +2 -2
  241. package/splitter/Splitter.js +2 -2
  242. package/statistic/index.js +1 -1
  243. package/steps/index.js +1 -1
  244. package/style.css +1 -1
  245. package/switch/index.js +1 -1
  246. package/table/Table.js +14 -53
  247. package/table/index.js +77 -120
  248. package/tabs/Tab.js +3 -3
  249. package/tabs/TabContent.js +2 -2
  250. package/tabs/TabPane.js +1 -1
  251. package/tabs/index.js +2 -2
  252. package/tag/index.js +1 -1
  253. package/time-picker/Picker.js +1 -1
  254. package/time-picker/TimePicker.js +1 -1
  255. package/timeline/Item.js +1 -1
  256. package/timeline/Timeline.js +1 -1
  257. package/tooltip/index.js +1 -1
  258. package/tour/index.js +80 -116
  259. package/transfer/Item.js +2 -2
  260. package/transfer/List.js +2 -2
  261. package/transfer/index.js +1 -1
  262. package/tree/Animation.js +2 -2
  263. package/tree/Node.js +3 -3
  264. package/tree/NodeList.js +1 -1
  265. package/tree/Tree.js +2 -2
  266. package/tree/index.js +1 -1
  267. package/tree-select/Select.js +3 -3
  268. package/tree-select/index.js +1 -1
  269. package/trigger/index.js +1 -1
  270. package/types/common/hooks/src/use-theme/index.d.ts +2 -2
  271. package/types/common/hooks/useStateWithPromise.d.ts +1 -1
  272. package/types/common/utils/dom.d.ts +12 -0
  273. package/types/pc/carousel/interface.d.ts +2 -2
  274. package/types/pc/color-picker/Panel.d.ts +1 -1
  275. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  276. package/types/pc/index.d.ts +1 -1
  277. package/types/pc/list/interface.d.ts +2 -2
  278. package/types/pc/menu/context.d.ts +1 -1
  279. package/types/pc/rich-text/index.d.ts +7 -4
  280. package/types/pc/rich-text/interface.d.ts +3 -2
  281. package/types/pc/rich-text/{core → lib/core}/editor.d.ts +1 -1
  282. package/types/pc/rich-text/{core → lib/core}/rich.d.ts +3 -7
  283. package/types/pc/rich-text/{core → lib/core}/selection.d.ts +1 -0
  284. package/types/pc/rich-text/{core.d.ts → lib/core.d.ts} +1 -1
  285. package/types/pc/rich-text/lib/delta/AttributeMap.d.ts +15 -0
  286. package/types/pc/rich-text/lib/delta/Op.d.ts +13 -0
  287. package/types/pc/rich-text/lib/delta/OpIterator.d.ts +14 -0
  288. package/types/pc/rich-text/lib/delta/index.d.ts +53 -0
  289. package/types/pc/rich-text/lib/diff/index.d.ts +40 -0
  290. package/types/pc/rich-text/{formats → lib/formats}/bold.d.ts +1 -1
  291. package/types/pc/rich-text/{formats → lib/formats}/font.d.ts +1 -1
  292. package/types/pc/rich-text/lib/formats/hr.d.ts +5 -0
  293. package/types/pc/rich-text/lib/formats/image-resize/index.d.ts +27 -0
  294. package/types/pc/rich-text/lib/formats/image-resize/modules/BaseModule.d.ts +10 -0
  295. package/types/pc/rich-text/lib/formats/image-resize/modules/DisplaySize.d.ts +5 -0
  296. package/types/pc/rich-text/lib/formats/image-resize/modules/Resize.d.ts +13 -0
  297. package/types/pc/rich-text/lib/formats/image-resize/options.d.ts +7 -0
  298. package/types/pc/rich-text/lib/formats/liOl.d.ts +10 -0
  299. package/types/pc/rich-text/lib/formats/liUl.d.ts +10 -0
  300. package/types/pc/rich-text/lib/formats/lineHeight.d.ts +3 -0
  301. package/types/pc/rich-text/{formats → lib/formats}/list.d.ts +1 -0
  302. package/types/pc/rich-text/{formats → lib/formats}/table.d.ts +3 -3
  303. package/types/pc/rich-text/{modules → lib/modules}/clipboard.d.ts +2 -2
  304. package/types/pc/rich-text/{modules → lib/modules}/history.d.ts +1 -1
  305. package/types/pc/rich-text/{modules → lib/modules}/keyboard.d.ts +1 -1
  306. package/types/pc/rich-text/{modules → lib/modules}/syntax.d.ts +2 -2
  307. package/types/pc/rich-text/{modules → lib/modules}/tableEmbed.d.ts +3 -3
  308. package/types/pc/rich-text/{modules → lib/modules}/toolbar.d.ts +1 -1
  309. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/attributor.d.ts +3 -3
  310. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/style.d.ts +2 -2
  311. package/types/pc/rich-text/{ui → lib/ui}/icons.d.ts +5 -1
  312. package/types/pc/rich-text/{ui → lib/ui}/picker.d.ts +1 -0
  313. package/types/pc/tabs/hook/useDomSize.d.ts +2 -2
  314. package/types/pc/tabs/hook/useHeaderScroll.d.ts +2 -2
  315. package/types/pc/tree-select/hook/useStateValue.d.ts +2 -2
  316. package/types/pc/utils/date.d.ts +1 -0
  317. package/types/pc/utils/index.d.ts +2 -2
  318. package/typography/Base.js +1 -1
  319. package/typography/Ellipsis.js +70 -114
  320. package/typography/Operations.js +29 -74
  321. package/typography/Paragraph.js +1 -1
  322. package/typography/Typography.js +1 -1
  323. package/upload/TriggerNode.js +1 -1
  324. package/upload/Upload.js +1 -1
  325. package/utils/contextHolder.js +1 -1
  326. package/utils/date.js +1 -0
  327. package/utils/index.js +70 -70
  328. package/verification-code/VerificationCode.js +1 -1
  329. package/version/index.js +1 -1
  330. package/virtual-list/VirtualList.js +218 -217
  331. package/watermark/Watermark.js +1 -1
  332. package/chunk/BCmfDFV4.js +0 -4237
  333. package/chunk/BG6j6Ct7.js +0 -30
  334. package/chunk/C5CbL5ku.js +0 -56
  335. package/chunk/DsuIQH0F.js +0 -200
  336. package/chunk/vP3qfmKM.js +0 -84
  337. package/rich-text/core.js +0 -11
  338. package/rich-text/rich.js +0 -1347
  339. package/types/common/utils/index.d.ts +0 -47
  340. package/types/common/utils/keyboardCode.d.ts +0 -4
  341. package/types/common/utils/math.d.ts +0 -1
  342. package/types/common/utils/reactTransitionGroup.d.ts +0 -1
  343. package/types/common/utils/uuid.d.ts +0 -1
  344. package/types/common/utils/validate.d.ts +0 -1
  345. package/types/pc/rich-text/delta/AttributeMap.d.ts +0 -10
  346. package/types/pc/rich-text/delta/Op.d.ts +0 -11
  347. package/types/pc/rich-text/delta/OpIterator.d.ts +0 -13
  348. package/types/pc/rich-text/delta/index.d.ts +0 -45
  349. package/types/common/hooks/src/utils/{index.d.ts → is.d.ts} +0 -0
  350. package/types/pc/rich-text/{blots → lib/blots}/block.d.ts +0 -0
  351. package/types/pc/rich-text/{blots → lib/blots}/break.d.ts +0 -0
  352. package/types/pc/rich-text/{blots → lib/blots}/container.d.ts +0 -0
  353. package/types/pc/rich-text/{blots → lib/blots}/cursor.d.ts +0 -0
  354. package/types/pc/rich-text/{blots → lib/blots}/embed.d.ts +0 -0
  355. package/types/pc/rich-text/{blots → lib/blots}/inline.d.ts +0 -0
  356. package/types/pc/rich-text/{blots → lib/blots}/scroll.d.ts +0 -0
  357. package/types/pc/rich-text/{blots → lib/blots}/text.d.ts +0 -0
  358. package/types/pc/rich-text/{core → lib/core}/composition.d.ts +0 -0
  359. package/types/pc/rich-text/{core → lib/core}/emitter.d.ts +0 -0
  360. package/types/pc/rich-text/{core → lib/core}/instances.d.ts +0 -0
  361. package/types/pc/rich-text/{core → lib/core}/logger.d.ts +0 -0
  362. package/types/pc/rich-text/{core → lib/core}/module.d.ts +0 -0
  363. package/types/pc/rich-text/{core → lib/core}/theme.d.ts +0 -0
  364. package/types/pc/rich-text/{core → lib/core}/utils/createRegistryWithFormats.d.ts +0 -0
  365. package/types/pc/rich-text/{core → lib/core}/utils/scrollRectIntoView.d.ts +0 -0
  366. package/types/pc/rich-text/{formats → lib/formats}/align.d.ts +0 -0
  367. package/types/pc/rich-text/{formats → lib/formats}/background.d.ts +0 -0
  368. package/types/pc/rich-text/{formats → lib/formats}/blockquote.d.ts +0 -0
  369. package/types/pc/rich-text/{formats → lib/formats}/code.d.ts +0 -0
  370. package/types/pc/rich-text/{formats → lib/formats}/color.d.ts +0 -0
  371. package/types/pc/rich-text/{formats → lib/formats}/direction.d.ts +0 -0
  372. package/types/pc/rich-text/{formats → lib/formats}/formula.d.ts +0 -0
  373. package/types/pc/rich-text/{formats → lib/formats}/header.d.ts +0 -0
  374. package/types/pc/rich-text/{formats → lib/formats}/image.d.ts +0 -0
  375. package/types/pc/rich-text/{formats → lib/formats}/indent.d.ts +0 -0
  376. package/types/pc/rich-text/{formats → lib/formats}/italic.d.ts +0 -0
  377. package/types/pc/rich-text/{formats → lib/formats}/link.d.ts +0 -0
  378. package/types/pc/rich-text/{formats → lib/formats}/script.d.ts +0 -0
  379. package/types/pc/rich-text/{formats → lib/formats}/size.d.ts +0 -0
  380. package/types/pc/rich-text/{formats → lib/formats}/strike.d.ts +0 -0
  381. package/types/pc/rich-text/{formats → lib/formats}/underline.d.ts +0 -0
  382. package/types/pc/rich-text/{formats → lib/formats}/video.d.ts +0 -0
  383. package/types/pc/rich-text/{rich.d.ts → lib/index.d.ts} +0 -0
  384. package/types/pc/rich-text/{modules → lib/modules}/input.d.ts +0 -0
  385. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/index.d.ts +0 -0
  386. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
  387. package/types/pc/rich-text/{modules → lib/modules}/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
  388. package/types/pc/rich-text/{modules → lib/modules}/table.d.ts +0 -0
  389. package/types/pc/rich-text/{modules → lib/modules}/uiNode.d.ts +0 -0
  390. package/types/pc/rich-text/{modules → lib/modules}/uploader.d.ts +0 -0
  391. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/class.d.ts +0 -0
  392. package/types/pc/rich-text/{parchment → lib/parchment}/attributor/store.d.ts +0 -0
  393. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/blot.d.ts +0 -0
  394. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/container.d.ts +0 -0
  395. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/leaf.d.ts +0 -0
  396. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/parent.d.ts +0 -0
  397. package/types/pc/rich-text/{parchment → lib/parchment}/blot/abstract/shadow.d.ts +0 -0
  398. package/types/pc/rich-text/{parchment → lib/parchment}/blot/block.d.ts +0 -0
  399. package/types/pc/rich-text/{parchment → lib/parchment}/blot/embed.d.ts +0 -0
  400. package/types/pc/rich-text/{parchment → lib/parchment}/blot/inline.d.ts +0 -0
  401. package/types/pc/rich-text/{parchment → lib/parchment}/blot/scroll.d.ts +0 -0
  402. package/types/pc/rich-text/{parchment → lib/parchment}/blot/text.d.ts +0 -0
  403. package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-list.d.ts +0 -0
  404. package/types/pc/rich-text/{parchment → lib/parchment}/collection/linked-node.d.ts +0 -0
  405. package/types/pc/rich-text/{parchment → lib/parchment}/error.d.ts +0 -0
  406. package/types/pc/rich-text/{parchment → lib/parchment}/index.d.ts +1 -1
  407. /package/types/pc/rich-text/{parchment → lib/parchment}/registry.d.ts +0 -0
  408. /package/types/pc/rich-text/{parchment → lib/parchment}/scope.d.ts +0 -0
  409. /package/types/pc/rich-text/{themes → lib/themes}/base.d.ts +0 -0
  410. /package/types/pc/rich-text/{themes → lib/themes}/pqb.d.ts +0 -0
  411. /package/types/pc/rich-text/{ui → lib/ui}/color-picker.d.ts +0 -0
  412. /package/types/pc/rich-text/{ui → lib/ui}/icon-picker.d.ts +0 -0
  413. /package/types/pc/rich-text/{ui → lib/ui}/tooltip.d.ts +0 -0
package/tour/index.js CHANGED
@@ -1,71 +1,35 @@
1
- import { jsxs as d, Fragment as pt, jsx as s } from "react/jsx-runtime";
2
- import lt from "@unicom-cloud/icons/IconUiClose";
3
- import { useContext as ct, useState as C, useRef as F, useEffect as h } from "react";
4
- import { createPortal as mt } from "react-dom";
1
+ import { jsxs as d, Fragment as lt, jsx as i } from "react/jsx-runtime";
2
+ import ct from "@unicom-cloud/icons/IconUiClose";
3
+ import { useContext as at, useState as C, useRef as F, useEffect as h } from "react";
4
+ import { createPortal as pt } from "react-dom";
5
5
  import D from "../button/index.js";
6
- import { a as at, I as ft } from "../chunk/C1vY8016.js";
6
+ import { a as mt, I as ft } from "../chunk/CYDaUML7.js";
7
7
  import "../chunk/DsaQZE4X.js";
8
- import "@unicom-cloud/utils/date";
9
- import "@unicom-cloud/utils/case-name";
10
- import u from "@unicom-cloud/utils/class-name";
11
- import "@unicom-cloud/utils/constant/ui";
12
- import "@unicom-cloud/utils/clipboard-copy";
13
- import "../chunk/DS_deHpN.js";
14
- import { b as dt, o as ht } from "../chunk/d1c9z8T1.js";
15
- import "@unicom-cloud/utils/emitter";
16
- import "@unicom-cloud/utils/file/fileToURL";
17
- import "lodash/escapeRegExp";
18
- import "lodash/isArray";
19
- import "lodash/isNumber";
20
- import "lodash/isString";
21
- import { i as ut } from "../chunk/DEpQcf8m.js";
22
- import "lodash/camelCase";
23
- import "lodash/capitalize";
24
- import "lodash/cloneDeep";
25
- import "lodash/debounce";
26
- import "lodash/get";
27
- import "lodash/has";
28
- import "lodash/kebabCase";
29
- import "lodash/merge";
30
- import "lodash/mergeWith";
31
- import "lodash/set";
32
- import "lodash/setWith";
33
- import "lodash/snakeCase";
34
- import "lodash/startCase";
35
- import "lodash/throttle";
36
- import "lodash/uniq";
37
- import "lodash/upperFirst";
38
- import "@unicom-cloud/utils/math";
39
- import "lodash/isPlainObject";
40
- import { m as gt } from "../chunk/C0pqKVwu.js";
41
- import "@unicom-cloud/utils/pinyin";
42
- import "../chunk/BJ9_azwQ.js";
43
- import "../chunk/CXrVhA6-.js";
44
- import { r as wt } from "../chunk/CHQ8c547.js";
45
- import "@unicom-cloud/utils/file/saveAs";
46
- import "@unicom-cloud/utils/screenfull";
47
- import "@unicom-cloud/utils/constant/ui.js";
48
- import "@unicom-cloud/utils/tinycolor";
49
- import "@unicom-cloud/utils/ui-color";
50
- import "react-is";
51
- import "@unicom-cloud/utils/tree";
52
- import "@unicom-cloud/utils/is";
53
- import "uuid";
54
- import "../chunk/hc_ufgVf.js";
55
- import { Escape as bt, ArrowRight as vt, ArrowLeft as yt } from "@unicom-cloud/utils/constant/keyboardCode";
56
8
  import "@unicom-cloud/utils/constant/platform";
57
9
  import "../chunk/CdXR6dj7.js";
58
10
  import "@unicom-cloud/utils/js-cookie";
59
11
  import "dayjs";
60
- import "../chunk/DsuIQH0F.js";
12
+ import "lodash/debounce";
13
+ import "@unicom-cloud/utils/screenfull";
14
+ import "../chunk/ClNkxEcR.js";
15
+ import "lodash/throttle";
16
+ import "lodash/isPlainObject";
61
17
  import "@unicom-cloud/utils/query-string";
62
18
  import "react-router";
63
19
  import "lodash/isEqualWith";
20
+ import { Escape as dt, ArrowRight as ht, ArrowLeft as ut } from "@unicom-cloud/utils/constant/keyboardCode";
21
+ import "lodash/isNumber";
22
+ import "lodash/merge";
23
+ import { b as gt, o as wt } from "../chunk/d1c9z8T1.js";
64
24
  import "../chunk/RjJoagzL.js";
65
- import { u as $t } from "../chunk/FgWHhRFz.js";
25
+ import { u as bt } from "../chunk/FgWHhRFz.js";
26
+ import "../chunk/CXrVhA6-.js";
66
27
  import "@unicom-cloud/utils/constant";
67
28
  import R from "../space/index.js";
68
- import "../utils/responsiveObserve.js";
29
+ import u from "@unicom-cloud/utils/class-name";
30
+ import { i as vt } from "../chunk/DEpQcf8m.js";
31
+ import { m as yt } from "../chunk/C0pqKVwu.js";
32
+ import { r as $t } from "../chunk/CHQ8c547.js";
69
33
  const xt = {
70
34
  steps: [],
71
35
  open: !1,
@@ -78,15 +42,15 @@ const xt = {
78
42
  zIndex: 1e3,
79
43
  current: 0
80
44
  };
81
- function Ae(L) {
82
- const { getPrefixCls: X, componentConfig: Y, rtl: kt } = ct(at), K = $t(
45
+ function re(L) {
46
+ const { getPrefixCls: X, componentConfig: Y, rtl: kt } = at(mt), K = bt(
83
47
  L,
84
48
  xt,
85
49
  Y?.Tour
86
50
  ), {
87
51
  style: U,
88
52
  className: _,
89
- steps: n,
53
+ steps: s,
90
54
  open: N,
91
55
  onClose: G,
92
56
  mask: J,
@@ -100,25 +64,25 @@ function Ae(L) {
100
64
  onFinish: tt,
101
65
  onStepChange: O,
102
66
  ...Ct
103
- } = K, o = X?.("tour"), [r, H] = C(S), [e, j] = C(null), [I, et] = C(w), [f, W] = C(N), M = F(null), c = F(null), E = `0 0 0 ${Math.max(window.innerWidth, window.innerHeight)}px var(--pqb-mask-bg-color),0 0 15px 0 var(--pqb-mask-bg-color)`, p = typeof n[r]?.target == "string" ? document.querySelector(n[r].target) : n[r]?.target, b = () => {
67
+ } = K, o = X?.("tour"), [r, H] = C(S), [e, j] = C(null), [I, et] = C(w), [f, W] = C(N), M = F(null), a = F(null), E = `0 0 0 ${Math.max(window.innerWidth, window.innerHeight)}px var(--pqb-mask-bg-color),0 0 15px 0 var(--pqb-mask-bg-color)`, l = typeof s[r]?.target == "string" ? document.querySelector(s[r].target) : s[r]?.target, b = () => {
104
68
  let t;
105
- if (p ? t = p.getBoundingClientRect() : t = new DOMRect(
106
- window.innerWidth / 2 - (c.current?.offsetWidth ?? 0) / 2,
107
- window.innerHeight / 2 - (c.current?.offsetHeight ?? 0) / 2,
108
- c.current?.offsetWidth,
109
- c.current?.offsetHeight
110
- ), j(t), p) {
111
- const i = c.current;
112
- if (!i) return w;
113
- const m = i.offsetWidth, a = i.offsetHeight, v = 10, y = t.top - a - v > 0, $ = t.bottom + a + v < window.innerHeight, x = t.left - m - v > 0, k = t.right + m + v < window.innerWidth;
114
- let l = n[r]?.placement || w;
115
- return l === "top" && !y ? l = $ ? "bottom" : x ? "left" : k ? "right" : "bottom" : l === "bottom" && !$ ? l = y ? "top" : x ? "left" : k ? "right" : "top" : l === "left" && !x ? l = k ? "right" : y ? "top" : $ ? "bottom" : "right" : l === "right" && !k && (l = x ? "left" : y ? "top" : $ ? "bottom" : "left"), et(l), l;
69
+ if (l ? t = l.getBoundingClientRect() : t = new DOMRect(
70
+ window.innerWidth / 2 - (a.current?.offsetWidth ?? 0) / 2,
71
+ window.innerHeight / 2 - (a.current?.offsetHeight ?? 0) / 2,
72
+ a.current?.offsetWidth,
73
+ a.current?.offsetHeight
74
+ ), j(t), l) {
75
+ const n = a.current;
76
+ if (!n) return w;
77
+ const p = n.offsetWidth, m = n.offsetHeight, v = 10, y = t.top - m - v > 0, $ = t.bottom + m + v < window.innerHeight, x = t.left - p - v > 0, k = t.right + p + v < window.innerWidth;
78
+ let c = s[r]?.placement || w;
79
+ return c === "top" && !y ? c = $ ? "bottom" : x ? "left" : k ? "right" : "bottom" : c === "bottom" && !$ ? c = y ? "top" : x ? "left" : k ? "right" : "top" : c === "left" && !x ? c = k ? "right" : y ? "top" : $ ? "bottom" : "right" : c === "right" && !k && (c = x ? "left" : y ? "top" : $ ? "bottom" : "left"), et(c), c;
116
80
  }
117
81
  return w;
118
82
  }, z = () => {
119
83
  W(!1), G?.();
120
84
  }, T = () => {
121
- if (r < n.length - 1) {
85
+ if (r < s.length - 1) {
122
86
  const t = r + 1;
123
87
  H(t), O?.(t);
124
88
  } else
@@ -132,39 +96,39 @@ function Ae(L) {
132
96
  W(!1), tt?.();
133
97
  }, rt = (t) => {
134
98
  Q && t.target === M.current && z();
135
- }, it = () => {
136
- if (!e || !c.current)
99
+ }, nt = () => {
100
+ if (!e || !a.current)
137
101
  return { top: 0, left: 0 };
138
- if (!p) return {
102
+ if (!l) return {
139
103
  top: e.top,
140
104
  left: e.left
141
105
  };
142
- const t = c.current, i = t.offsetWidth, m = t.offsetHeight, a = 10;
106
+ const t = a.current, n = t.offsetWidth, p = t.offsetHeight, m = 10;
143
107
  switch (I) {
144
108
  case "top":
145
109
  return {
146
- top: e.top - m - a,
147
- left: e.left + e.width / 2 - i / 2
110
+ top: e.top - p - m,
111
+ left: e.left + e.width / 2 - n / 2
148
112
  };
149
113
  case "bottom":
150
114
  return {
151
- top: e.bottom + a,
152
- left: e.left + e.width / 2 - i / 2
115
+ top: e.bottom + m,
116
+ left: e.left + e.width / 2 - n / 2
153
117
  };
154
118
  case "left":
155
119
  return {
156
- top: e.top + e.height / 2 - m / 2,
157
- left: e.left - i - a
120
+ top: e.top + e.height / 2 - p / 2,
121
+ left: e.left - n - m
158
122
  };
159
123
  case "right":
160
124
  return {
161
- top: e.top + e.height / 2 - m / 2,
162
- left: e.right + a
125
+ top: e.top + e.height / 2 - p / 2,
126
+ left: e.right + m
163
127
  };
164
128
  default:
165
129
  return {
166
- top: e.bottom + a,
167
- left: e.left + e.width / 2 - i / 2
130
+ top: e.bottom + m,
131
+ left: e.left + e.width / 2 - n / 2
168
132
  };
169
133
  }
170
134
  };
@@ -173,35 +137,35 @@ function Ae(L) {
173
137
  }, [N]), h(() => {
174
138
  H(S);
175
139
  }, [S]), h(() => {
176
- if (!f || r >= n.length || !n[r]) {
140
+ if (!f || r >= s.length || !s[r]) {
177
141
  j(null);
178
142
  return;
179
143
  }
180
144
  b();
181
- }, [f, r, n.length, p]), h(() => {
182
- function t(i) {
183
- f && (i.key === bt.key ? z() : i.key === vt.key ? T() : i.key === yt.key && q());
145
+ }, [f, r, s.length, l]), h(() => {
146
+ function t(n) {
147
+ f && (n.key === dt.key ? z() : n.key === ht.key ? T() : n.key === ut.key && q());
184
148
  }
185
- return dt(window, "keydown", t), () => {
186
- ht(window, "keydown", t);
149
+ return gt(window, "keydown", t), () => {
150
+ wt(window, "keydown", t);
187
151
  };
188
- }, [f, r, n.length]), h(() => {
189
- const t = wt([document.body, p], () => {
152
+ }, [f, r, s.length]), h(() => {
153
+ const t = $t([document.body, l], () => {
190
154
  b();
191
- }), i = ut([p], () => {
155
+ }), n = vt([l], () => {
192
156
  b();
193
- }), m = gt([p], () => {
157
+ }), p = yt([l], () => {
194
158
  b();
195
159
  });
196
160
  return () => {
197
- t(), i(), m();
161
+ t(), n(), p();
198
162
  };
199
- }, [p]), !f || !n.length || r >= n.length)
163
+ }, [l]), !f || !s.length || r >= s.length)
200
164
  return null;
201
- const A = n[r], nt = r > 0, st = r < n.length - 1, B = it();
202
- return mt(
203
- /* @__PURE__ */ d(pt, { children: [
204
- /* @__PURE__ */ s(
165
+ const A = s[r], st = r > 0, it = r < s.length - 1, B = nt();
166
+ return pt(
167
+ /* @__PURE__ */ d(lt, { children: [
168
+ /* @__PURE__ */ i(
205
169
  "div",
206
170
  {
207
171
  ref: M,
@@ -210,7 +174,7 @@ function Ae(L) {
210
174
  onClick: rt
211
175
  }
212
176
  ),
213
- e && /* @__PURE__ */ s(
177
+ e && /* @__PURE__ */ i(
214
178
  "div",
215
179
  {
216
180
  className: `${o}-highlight`,
@@ -229,7 +193,7 @@ function Ae(L) {
229
193
  /* @__PURE__ */ d(
230
194
  "div",
231
195
  {
232
- ref: c,
196
+ ref: a,
233
197
  className: u(
234
198
  `${o}-popover`,
235
199
  `${o}-popover-${g}`,
@@ -240,10 +204,10 @@ function Ae(L) {
240
204
  top: `${B.top + window.scrollY}px`,
241
205
  left: `${B.left + window.scrollX}px`,
242
206
  zIndex: P + 2,
243
- boxShadow: p ? void 0 : E
207
+ boxShadow: l ? void 0 : E
244
208
  },
245
209
  children: [
246
- V && p && /* @__PURE__ */ s(
210
+ V && l && /* @__PURE__ */ i(
247
211
  "div",
248
212
  {
249
213
  className: u(
@@ -253,9 +217,9 @@ function Ae(L) {
253
217
  }
254
218
  ),
255
219
  /* @__PURE__ */ d("div", { className: `${o}-content`, children: [
256
- Z && /* @__PURE__ */ s(ft, { className: `${o}-close`, onClick: z, children: /* @__PURE__ */ s(lt, {}) }),
257
- /* @__PURE__ */ s("div", { className: `${o}-header`, children: /* @__PURE__ */ s("div", { className: `${o}-title`, children: A.title }) }),
258
- /* @__PURE__ */ s("div", { className: `${o}-body`, children: /* @__PURE__ */ s("div", { className: `${o}-description`, children: A.description }) }),
220
+ Z && /* @__PURE__ */ i(ft, { className: `${o}-close`, onClick: z, children: /* @__PURE__ */ i(ct, {}) }),
221
+ /* @__PURE__ */ i("div", { className: `${o}-header`, children: /* @__PURE__ */ i("div", { className: `${o}-title`, children: A.title }) }),
222
+ /* @__PURE__ */ i("div", { className: `${o}-body`, children: /* @__PURE__ */ i("div", { className: `${o}-description`, children: A.description }) }),
259
223
  /* @__PURE__ */ d(
260
224
  R,
261
225
  {
@@ -263,18 +227,18 @@ function Ae(L) {
263
227
  justifyContent: "space-between",
264
228
  alignItems: "center",
265
229
  children: [
266
- /* @__PURE__ */ s(R, { className: `${o}-indicator`, children: n.map((t, i) => /* @__PURE__ */ s(
230
+ /* @__PURE__ */ i(R, { className: `${o}-indicator`, children: s.map((t, n) => /* @__PURE__ */ i(
267
231
  "div",
268
232
  {
269
233
  className: u(
270
234
  `${o}-dot`,
271
- i === r && `${o}-dot-active`
235
+ n === r && `${o}-dot-active`
272
236
  )
273
237
  },
274
- i
238
+ n
275
239
  )) }),
276
240
  /* @__PURE__ */ d(R, { children: [
277
- nt && /* @__PURE__ */ s(
241
+ st && /* @__PURE__ */ i(
278
242
  D,
279
243
  {
280
244
  className: `${o}-prev-btn`,
@@ -284,7 +248,7 @@ function Ae(L) {
284
248
  children: "上一步"
285
249
  }
286
250
  ),
287
- /* @__PURE__ */ s(
251
+ /* @__PURE__ */ i(
288
252
  D,
289
253
  {
290
254
  className: u(
@@ -294,7 +258,7 @@ function Ae(L) {
294
258
  size: "mini",
295
259
  type: g === "primary" ? "primary" : "secondary",
296
260
  onClick: T,
297
- children: st ? "下一步" : "完成"
261
+ children: it ? "下一步" : "完成"
298
262
  }
299
263
  )
300
264
  ] })
@@ -310,5 +274,5 @@ function Ae(L) {
310
274
  );
311
275
  }
312
276
  export {
313
- Ae as default
277
+ re as default
314
278
  };
package/transfer/Item.js CHANGED
@@ -2,9 +2,9 @@ import { jsxs as C, jsx as a, Fragment as B } from "react/jsx-runtime";
2
2
  import F from "@unicom-cloud/icons/IconUiClose";
3
3
  import H from "@unicom-cloud/icons/IconUiDragDotVertical";
4
4
  import { useRef as y, useState as m, useEffect as I } from "react";
5
- import { C as V } from "../chunk/C3kH2ES3.js";
5
+ import { C as V } from "../chunk/DrYaod6k.js";
6
6
  import { u as q } from "../chunk/Bvxzb1wd.js";
7
- import { I as z } from "../chunk/C1vY8016.js";
7
+ import { I as z } from "../chunk/CYDaUML7.js";
8
8
  import A from "@unicom-cloud/utils/class-name";
9
9
  function te(N) {
10
10
  const {
package/transfer/List.js CHANGED
@@ -4,8 +4,8 @@ import le from "@unicom-cloud/icons/IconUiSearch";
4
4
  import E from "lodash/isPlainObject";
5
5
  import ie, { useContext as de, useState as S, useEffect as me } from "react";
6
6
  import he from "../button/index.js";
7
- import { C as K } from "../chunk/C3kH2ES3.js";
8
- import { a as fe, I as pe } from "../chunk/C1vY8016.js";
7
+ import { C as K } from "../chunk/DrYaod6k.js";
8
+ import { a as fe, I as pe } from "../chunk/CYDaUML7.js";
9
9
  import { u as ue } from "../chunk/Bvxzb1wd.js";
10
10
  import ge from "../input/Input.js";
11
11
  import Ce from "../list/index.js";
package/transfer/index.js CHANGED
@@ -4,7 +4,7 @@ import Z from "@unicom-cloud/icons/IconUiRight";
4
4
  import ee from "lodash/isPlainObject";
5
5
  import te, { useContext as se, useMemo as V } from "react";
6
6
  import re from "../button/index.js";
7
- import { a as ae } from "../chunk/C1vY8016.js";
7
+ import { a as ae } from "../chunk/CYDaUML7.js";
8
8
  import { u as oe } from "../chunk/FgWHhRFz.js";
9
9
  import { u as w } from "../chunk/2vdCeheu.js";
10
10
  import A from "@unicom-cloud/utils/class-name";
package/tree/Animation.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "lodash/isNumber";
3
3
  import "react";
4
- import "../chunk/C1vY8016.js";
4
+ import "../chunk/CYDaUML7.js";
5
5
  import "../chunk/B--6x-RL.js";
6
6
  import "../virtual-list/VirtualList.js";
7
7
  import "./Context.js";
8
- import { a as d } from "../chunk/DhAvt6tJ.js";
8
+ import { a as d } from "../chunk/Bcl7dWlJ.js";
9
9
  export {
10
10
  d as default
11
11
  };
package/tree/Node.js CHANGED
@@ -5,11 +5,11 @@ import "@unicom-cloud/icons/IconUiFile";
5
5
  import "@unicom-cloud/icons/IconUiLoading";
6
6
  import "lodash/isFunction";
7
7
  import "react";
8
- import "../chunk/C3kH2ES3.js";
9
- import "../chunk/C1vY8016.js";
8
+ import "../chunk/DrYaod6k.js";
9
+ import "../chunk/CYDaUML7.js";
10
10
  import "@unicom-cloud/utils/class-name";
11
11
  import "../utils/throttleByRaf.js";
12
- import { T } from "../chunk/DhAvt6tJ.js";
12
+ import { T } from "../chunk/Bcl7dWlJ.js";
13
13
  import "./Context.js";
14
14
  export {
15
15
  T as default
package/tree/NodeList.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as L } from "react/jsx-runtime";
2
2
  import { forwardRef as g, useRef as y, useMemo as p, useImperativeHandle as M, createElement as N } from "react";
3
3
  import { s as R } from "../chunk/DE-83rKc.js";
4
4
  import V from "../virtual-list/VirtualList.js";
5
- import { T as D } from "../chunk/DhAvt6tJ.js";
5
+ import { T as D } from "../chunk/Bcl7dWlJ.js";
6
6
  function b(r) {
7
7
  return r.key || r._key;
8
8
  }
package/tree/Tree.js CHANGED
@@ -5,12 +5,12 @@ import j from "lodash/has";
5
5
  import Te from "lodash/isArray";
6
6
  import Pe from "lodash/isEqualWith";
7
7
  import Ae from "lodash/isFunction";
8
- import { a as Dt } from "../chunk/C1vY8016.js";
8
+ import { a as Dt } from "../chunk/CYDaUML7.js";
9
9
  import { u as Et } from "../chunk/FgWHhRFz.js";
10
10
  import Ie from "@unicom-cloud/utils/class-name";
11
11
  import { a as Lt } from "../chunk/ClqoGc3r.js";
12
12
  import { TreeContext as vt } from "./Context.js";
13
- import { T as Me } from "../chunk/DhAvt6tJ.js";
13
+ import { T as Me } from "../chunk/Bcl7dWlJ.js";
14
14
  import wt from "./NodeList.js";
15
15
  import { getTreeDataFromTreeChildren as Ot, getCheckedKeysByInitKeys as Tt, getAllCheckedKeysByCheck as Pt } from "./util.js";
16
16
  const $e = {
package/tree/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { default as r } from "./Tree.js";
2
- import { T as t } from "../chunk/DhAvt6tJ.js";
2
+ import { T as t } from "../chunk/Bcl7dWlJ.js";
3
3
  export {
4
4
  t as TreeNode,
5
5
  r as default
@@ -5,8 +5,8 @@ import B from "lodash/isArray";
5
5
  import D from "lodash/isFunction";
6
6
  import Ve from "lodash/isNil";
7
7
  import { useContext as se, useRef as S, useState as z, useCallback as O, forwardRef as ve, useEffect as ne, useMemo as Pe, useImperativeHandle as Ie } from "react";
8
- import { a as ce } from "../chunk/C1vY8016.js";
9
- import { u as Ke } from "../chunk/C5CbL5ku.js";
8
+ import { a as ce } from "../chunk/CYDaUML7.js";
9
+ import { u as Ke } from "../chunk/gJsdBcpG.js";
10
10
  import { u as Oe } from "../chunk/oopARUrq.js";
11
11
  import { u as _e } from "../chunk/FgWHhRFz.js";
12
12
  import { u as le } from "../chunk/2vdCeheu.js";
@@ -26,7 +26,7 @@ import xe from "lodash/isPlainObject";
26
26
  import Ae from "lodash/isUndefined";
27
27
  import { normalizeValueToArray as N } from "./util.js";
28
28
  import { u as Ne } from "../chunk/8w-ItYb1.js";
29
- import { T as vt } from "../chunk/DhAvt6tJ.js";
29
+ import { T as vt } from "../chunk/Bcl7dWlJ.js";
30
30
  const ie = (r, c, l) => {
31
31
  const u = {};
32
32
  let f = 0;
@@ -1,5 +1,5 @@
1
1
  import o from "./Select.js";
2
- import { T as m } from "../chunk/DhAvt6tJ.js";
2
+ import { T as m } from "../chunk/Bcl7dWlJ.js";
3
3
  export {
4
4
  m as TreeSelectNode,
5
5
  o as default
package/trigger/index.js CHANGED
@@ -4,7 +4,7 @@ import xe from "lodash/isArray";
4
4
  import D from "lodash/isFunction";
5
5
  import { forwardRef as io, useContext as so, useRef as L, useState as uo, Children as Me, useCallback as Se, cloneElement as Oe, useImperativeHandle as co, useLayoutEffect as lo, useEffect as g, Fragment as ao } from "react";
6
6
  import { createPortal as po } from "react-dom";
7
- import { a as fo } from "../chunk/C1vY8016.js";
7
+ import { a as fo } from "../chunk/CYDaUML7.js";
8
8
  import R from "@unicom-cloud/utils/class-name";
9
9
  import { b as G, o as J, g as mo, i as go, c as ve } from "../chunk/d1c9z8T1.js";
10
10
  import { s as yo } from "../chunk/DsaQZE4X.js";
@@ -10,7 +10,7 @@ type Options = {
10
10
  };
11
11
  export default function useTheme(options?: Options): {
12
12
  theme: ThemeType;
13
- themeMode: "dark" | "light" | "system";
14
- setThemeMode: (this: unknown, mode: "dark" | "light" | "system") => void;
13
+ themeMode: "light" | "dark" | "system";
14
+ setThemeMode: (this: unknown, mode: "light" | "dark" | "system") => void;
15
15
  };
16
16
  export {};
@@ -1,2 +1,2 @@
1
- declare function useStateWithPromise<T>(defaultVal: T): [T, (updater: any) => Promise<T>];
1
+ declare function useStateWithPromise<T>(defaultVal: T, wait?: number): [T, (updater: any) => Promise<T>];
2
2
  export default useStateWithPromise;
@@ -10,3 +10,15 @@ export declare function isScrollElement(element: any): boolean;
10
10
  * @returns
11
11
  */
12
12
  export declare const getScrollElements: (container: HTMLElement, top?: HTMLElement) => HTMLElement[];
13
+ /**
14
+ * 判断父节点是否包含子节点
15
+ * @desc {en} confirm parentNode contains children nodes
16
+ * @param {HTMLElement | null} parentEl 父节点
17
+ * @param {HTMLElement | null} parentEl {en} The parent element
18
+ * @param {HTMLElement | null} childrenEl 子节点
19
+ * @param {HTMLElement | null} childrenEl {en} The child element
20
+ * @returns {boolean} 是否包含子节点
21
+ * @returns {boolean} {en} Whether the parent contains the child
22
+ * @example
23
+ */
24
+ export declare function parentContainsChildren(parentEl: HTMLElement | null, childrenEl: HTMLElement | null): boolean;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, MutableRefObject, ReactNode } from 'react';
1
+ import React, { CSSProperties, ReactNode } from 'react';
2
2
  export type CarouselHandle = {
3
3
  dom: HTMLElement;
4
4
  goto: (options: {
@@ -122,7 +122,7 @@ export interface CarouselProps {
122
122
  * @zh 用于获得带有 API 方法的 Carousel 引用。
123
123
  * @en Carousel reference for imperative API calls.
124
124
  */
125
- carousel?: MutableRefObject<CarouselHandle>;
125
+ carousel?: React.RefObject<CarouselHandle>;
126
126
  }
127
127
  export interface CarouselArrowProps extends Pick<CarouselProps, 'direction' | 'showArrow' | 'icons'> {
128
128
  className?: string | string[];
@@ -6,7 +6,7 @@ interface PanelProps {
6
6
  activeMode: ColorPickerMode;
7
7
  gradientColors: InternalGradientColor[];
8
8
  activeColorId: string;
9
- activeColorIdRef: React.MutableRefObject<string>;
9
+ activeColorIdRef: React.RefObject<string>;
10
10
  color: Color;
11
11
  alpha: number;
12
12
  disabledAlpha: boolean;
@@ -1,3 +1,3 @@
1
1
  import { RangePickerHandle } from './interface';
2
- declare const PickerComponent: import("react").ForwardRefExoticComponent<import("./interface").BaseRangePickerProps & import("components/common/utils").Omit<import("./interface").PickerProps, "onChange" | "onSelect" | "onOk" | "inputProps" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange"> & import("react").RefAttributes<RangePickerHandle>>;
2
+ declare const PickerComponent: import("react").ForwardRefExoticComponent<import("./interface").BaseRangePickerProps & import("components/common/utils/type").Omit<import("./interface").PickerProps, "onChange" | "onSelect" | "onOk" | "inputProps" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange"> & import("react").RefAttributes<RangePickerHandle>>;
3
3
  export default PickerComponent;
@@ -124,7 +124,7 @@ export { default as ResizeBox, ResizeBoxSplit, ResizeBoxSplitGroup, } from './re
124
124
  export type { ResizeBoxProps } from './resize-box/interface';
125
125
  export { default as Result } from './result';
126
126
  export type { ResultProps } from './result/interface';
127
- export { default as RichText } from './rich-text';
127
+ export { Rich, default as RichText } from './rich-text';
128
128
  export type { RichTextProps } from './rich-text/interface';
129
129
  export { Col, default as Row, RowItem } from './row-col';
130
130
  export type { ColProps, RowProps } from './row-col/interface';
@@ -1,4 +1,4 @@
1
- import { CSSProperties, HTMLAttributes, MutableRefObject, ReactNode } from 'react';
1
+ import React, { CSSProperties, HTMLAttributes, ReactNode } from 'react';
2
2
  import { GridResponsiveBreakpoint } from '../grid/interface';
3
3
  import { PaginationProps } from '../pagination/Pagination';
4
4
  import type { ColProps, RowProps } from '../row-col/interface';
@@ -117,7 +117,7 @@ export interface ListProps<T = any> {
117
117
  * @zh 当前列表的引用
118
118
  * @en Reference to the current list
119
119
  */
120
- listRef?: MutableRefObject<ListHandle>;
120
+ listRef?: React.RefObject<ListHandle>;
121
121
  /**
122
122
  * @zh 列表滚动回调函数,参数为列表滚动元素,当onReachBottom无法满足需求,可自定义滚动监听函数。
123
123
  * @en Callback when list is scrolling. When onReachBottom cannot meet your usage, can customize scroll monitor function
@@ -5,7 +5,7 @@ export type HotkeyInfo = {
5
5
  type: 'sibling' | 'generation' | 'enter';
6
6
  };
7
7
  export type ResetHotkeyInfo = (activeKey?: string) => void;
8
- declare const MenuContext: import("react").Context<Pick<MenuProps, "mode" | "theme" | "collapse" | "icons" | "triggerProps" | "inDropdown" | "tooltipProps" | "levelIndent" | "selectedKeys" | "openKeys" | "autoScrollIntoView" | "scrollConfig"> & {
8
+ declare const MenuContext: import("react").Context<Pick<MenuProps, "theme" | "collapse" | "mode" | "icons" | "triggerProps" | "inDropdown" | "tooltipProps" | "levelIndent" | "selectedKeys" | "openKeys" | "autoScrollIntoView" | "scrollConfig"> & {
9
9
  id?: string;
10
10
  prefixCls?: string;
11
11
  onClickMenuItem?: (key: string, e: any) => void;
@@ -1,6 +1,9 @@
1
- import Rich from './rich';
2
- export * from './rich';
3
- export type { Bounds, DebugLevel, EmitterSource, ExpandedRichOptions, RichOptions, } from './rich';
1
+ import Rich, { Delta } from './lib';
2
+ export * from './lib';
3
+ export type { Bounds, DebugLevel, EmitterSource, ExpandedRichOptions, RichOptions, } from './lib';
4
4
  export { Rich };
5
- declare const RichText: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
5
+ declare const RichText: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<{
6
+ rich: Rich;
7
+ contents: Delta;
8
+ }>>;
6
9
  export default RichText;
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties } from 'react';
2
- import type { EmitterSource } from './core/emitter';
3
- import Delta from './delta';
2
+ import type { EmitterSource } from './lib/core';
3
+ import type Delta from './lib/delta';
4
4
  /**
5
5
  * @title RichText
6
6
  */
@@ -10,6 +10,7 @@ export interface RichTextProps {
10
10
  readOnly?: boolean;
11
11
  defaultValue?: object | string;
12
12
  value?: object | string;
13
+ options?: object;
13
14
  onChange?: (value: Delta, delta: Delta, preValue: Delta, source: EmitterSource) => void;
14
15
  onTextChange?: (delta: Delta, preValue: Delta, source: EmitterSource) => void;
15
16
  onSelectionChange?: (...args: any[]) => void;
@@ -1,5 +1,5 @@
1
1
  import type Scroll from '../blots/scroll.js';
2
- import Delta from '../delta';
2
+ import Delta from '../delta/index.js';
3
3
  import { Range } from './selection.js';
4
4
  type SelectionInfo = {
5
5
  newRange: Range;