@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/marquee/index.js CHANGED
@@ -1,30 +1,34 @@
1
- import { jsx as s, Fragment as rt, jsxs as H } from "react/jsx-runtime";
2
- import { forwardRef as it, useContext as ot, useState as C, useRef as j, useCallback as A, useEffect as O, useMemo as h, Fragment as nt, Children as B } from "react";
3
- import { a as at } from "../chunk/C1vY8016.js";
1
+ import { jsx as s, Fragment as re, jsxs as H } from "react/jsx-runtime";
2
+ import { forwardRef as ie, useContext as oe, useState as C, useRef as j, useCallback as A, useEffect as O, useMemo as h, Fragment as ne, Children as B } from "react";
3
+ import { a as ae } from "../chunk/CYDaUML7.js";
4
4
  import "../chunk/DsaQZE4X.js";
5
- import "@unicom-cloud/utils/date";
6
- import "@unicom-cloud/utils/case-name";
7
- import st from "@unicom-cloud/utils/class-name";
8
- import "@unicom-cloud/utils/constant/ui";
9
- import "@unicom-cloud/utils/clipboard-copy";
10
- import "../chunk/DS_deHpN.js";
11
- import "../chunk/d1c9z8T1.js";
12
- import "@unicom-cloud/utils/emitter";
13
- import "@unicom-cloud/utils/file/fileToURL";
14
- import "lodash/escapeRegExp";
15
- import "lodash/isArray";
16
- import "lodash/isNumber";
17
- import "lodash/isString";
18
- import "lodash/isFunction";
5
+ import "@unicom-cloud/utils/constant/platform";
6
+ import "../chunk/CdXR6dj7.js";
7
+ import "@unicom-cloud/utils/js-cookie";
8
+ import "dayjs";
9
+ import "lodash/debounce";
10
+ import "@unicom-cloud/utils/screenfull";
11
+ import "../chunk/ClNkxEcR.js";
19
12
  import "lodash/throttle";
13
+ import "lodash/isPlainObject";
14
+ import "@unicom-cloud/utils/query-string";
15
+ import "react-router";
16
+ import "lodash/isEqualWith";
17
+ import "@unicom-cloud/utils/constant/keyboardCode";
18
+ import "lodash/isNumber";
19
+ import se from "lodash/merge";
20
+ import "../chunk/d1c9z8T1.js";
21
+ import "../chunk/RjJoagzL.js";
22
+ import { u as le } from "../chunk/FgWHhRFz.js";
23
+ import "../chunk/CXrVhA6-.js";
24
+ import "@unicom-cloud/utils/constant";
25
+ import me from "@unicom-cloud/utils/class-name";
20
26
  import "lodash/camelCase";
21
27
  import "lodash/capitalize";
22
28
  import "lodash/cloneDeep";
23
- import "lodash/debounce";
24
29
  import "lodash/get";
25
30
  import "lodash/has";
26
31
  import "lodash/kebabCase";
27
- import mt from "lodash/merge";
28
32
  import "lodash/mergeWith";
29
33
  import "lodash/set";
30
34
  import "lodash/setWith";
@@ -32,35 +36,8 @@ import "lodash/snakeCase";
32
36
  import "lodash/startCase";
33
37
  import "lodash/uniq";
34
38
  import "lodash/upperFirst";
35
- import "@unicom-cloud/utils/math";
36
- import "lodash/isPlainObject";
37
- import "@unicom-cloud/utils/pinyin";
38
- import "../chunk/BJ9_azwQ.js";
39
- import "../chunk/CXrVhA6-.js";
40
- import { r as lt } from "../chunk/CHQ8c547.js";
41
- import "@unicom-cloud/utils/file/saveAs";
42
- import "@unicom-cloud/utils/screenfull";
43
- import "@unicom-cloud/utils/constant/ui.js";
44
- import "@unicom-cloud/utils/tinycolor";
45
- import "@unicom-cloud/utils/ui-color";
46
- import "react-is";
47
- import "@unicom-cloud/utils/tree";
48
- import { isPlainObject as pt } from "@unicom-cloud/utils/is";
49
- import "uuid";
50
- import "../chunk/hc_ufgVf.js";
51
- import "@unicom-cloud/utils/constant/keyboardCode";
52
- import "@unicom-cloud/utils/constant/platform";
53
- import "../chunk/CdXR6dj7.js";
54
- import "@unicom-cloud/utils/js-cookie";
55
- import "dayjs";
56
- import "../chunk/DsuIQH0F.js";
57
- import "@unicom-cloud/utils/query-string";
58
- import "react-router";
59
- import "lodash/isEqualWith";
60
- import "../chunk/RjJoagzL.js";
61
- import { u as ct } from "../chunk/FgWHhRFz.js";
62
- import "@unicom-cloud/utils/constant";
63
- import "../utils/responsiveObserve.js";
39
+ import { r as ce } from "../chunk/CHQ8c547.js";
40
+ import { isPlainObject as pe } from "@unicom-cloud/utils/is";
64
41
  const o = {
65
42
  autoFill: !1,
66
43
  play: !0,
@@ -71,20 +48,20 @@ const o = {
71
48
  delay: 0.0227,
72
49
  // 设置非 0 为了解决 onAnimationEnd={onFinish} 立即被调用的问题
73
50
  loop: 0
74
- }, qe = it(
51
+ }, Ze = ie(
75
52
  function(E, I) {
76
- const { getPrefixCls: z, componentConfig: V } = ot(at), i = z?.("marquee"), t = z?.("marquee-var"), _ = ct(
53
+ const { getPrefixCls: z, componentConfig: V } = oe(ae), i = z?.("marquee"), e = z?.("marquee-var"), _ = le(
77
54
  E,
78
55
  o,
79
56
  V?.Marquee
80
57
  ), {
81
58
  style: F,
82
59
  className: D,
83
- autoFill: m = o.autoFill,
84
- play: c = o.play,
60
+ autoFill: l = o.autoFill,
61
+ play: p = o.play,
85
62
  pauseOnHover: v = o.pauseOnHover,
86
63
  pauseOnClick: M = o.pauseOnClick,
87
- direction: e = o.direction,
64
+ direction: t = o.direction,
88
65
  speed: q = o.speed,
89
66
  delay: W = o.delay,
90
67
  loop: x = o.loop,
@@ -93,84 +70,84 @@ const o = {
93
70
  onCycleComplete: K,
94
71
  onMount: w,
95
72
  children: g
96
- } = _, L = e === "left" || e === "right";
73
+ } = _, L = t === "left" || t === "right";
97
74
  let r = G;
98
- r === !0 && (r = {}), pt(r) && (r = mt(
75
+ r === !0 && (r = {}), pe(r) && (r = se(
99
76
  { size: L ? 50 : 20, color: "#fff" },
100
77
  r
101
78
  ));
102
- const [k, Q] = C(0), [$, T] = C(0), [y, U] = C(1), [N, X] = C(!1), Y = j(null), l = I || Y, u = j(null), d = A(() => {
103
- if (u.current && l.current) {
104
- const n = l.current.getBoundingClientRect(), f = u.current.getBoundingClientRect();
105
- let a = n.width, p = f.width;
106
- (e === "up" || e === "down") && (a = n.height, p = f.height), U(
107
- m && a && p ? Math.max(2, Math.ceil(a / p)) : 1
108
- ), Q(a), T(p);
79
+ const [k, Q] = C(0), [$, T] = C(0), [y, U] = C(1), [N, X] = C(!1), Y = j(null), m = I || Y, u = j(null), d = A(() => {
80
+ if (u.current && m.current) {
81
+ const n = m.current.getBoundingClientRect(), f = u.current.getBoundingClientRect();
82
+ let a = n.width, c = f.width;
83
+ (t === "up" || t === "down") && (a = n.height, c = f.height), U(
84
+ l && a && c ? Math.max(2, Math.ceil(a / c)) : 1
85
+ ), Q(a), T(c);
109
86
  }
110
- }, [m, l, e]);
87
+ }, [l, m, t]);
111
88
  O(() => {
112
89
  if (!N) return;
113
90
  d();
114
- const n = lt(
115
- [l.current, u.current],
91
+ const n = ce(
92
+ [m.current, u.current],
116
93
  d
117
94
  );
118
95
  return () => {
119
96
  n();
120
97
  };
121
- }, [d, l, u, N]), O(() => (d(), () => {
98
+ }, [d, m, u, N]), O(() => (d(), () => {
122
99
  }), [d, g]), O(() => (X(!0), w && w(), () => {
123
100
  }), [w]);
124
- const P = h(() => $ ? m ? $ * y / q : Math.max(k, $) / q : 0, [m, k, $, y, q]), Z = h(
101
+ const P = h(() => $ ? l ? $ * y / q : Math.max(k, $) / q : 0, [l, k, $, y, q]), Z = h(
125
102
  () => ({
126
103
  ...F,
127
- [`--${t}-pause-on-hover`]: !c || v ? "paused" : "running",
128
- [`--${t}-pause-on-click`]: !c || v && !M || M ? "paused" : "running",
129
- [`--${t}-width`]: e === "up" || e === "down" ? "100vh" : "100%",
130
- [`--${t}-transform`]: e === "up" ? "rotate(-90deg)" : e === "down" ? "rotate(90deg)" : "none"
104
+ [`--${e}-pause-on-hover`]: !p || v ? "paused" : "running",
105
+ [`--${e}-pause-on-click`]: !p || v && !M || M ? "paused" : "running",
106
+ [`--${e}-width`]: t === "up" || t === "down" ? "100vh" : "100%",
107
+ [`--${e}-transform`]: t === "up" ? "rotate(-90deg)" : t === "down" ? "rotate(90deg)" : "none"
131
108
  }),
132
- [F, t, c, v, M, e]
133
- ), tt = h(
109
+ [F, e, p, v, M, t]
110
+ ), ee = h(
134
111
  () => ({
135
- [`--${t}-gradient-color`]: r?.color,
136
- [`--${t}-gradient-width`]: typeof r?.size == "number" ? `${r?.size}px` : r?.size
112
+ [`--${e}-gradient-color`]: r?.color,
113
+ [`--${e}-gradient-width`]: typeof r?.size == "number" ? `${r?.size}px` : r?.size
137
114
  }),
138
- [r?.color, r?.size, t]
115
+ [r?.color, r?.size, e]
139
116
  ), S = h(
140
117
  () => ({
141
- [`--${t}-play`]: c ? "running" : "paused",
142
- [`--${t}-direction`]: e === "left" ? "normal" : "reverse",
143
- [`--${t}-duration`]: `${P}s`,
144
- [`--${t}-delay`]: `${W}s`,
145
- [`--${t}-iteration-count`]: x ? `${x}` : "infinite",
146
- [`--${t}-min-width`]: m ? "auto" : "100%"
118
+ [`--${e}-play`]: p ? "running" : "paused",
119
+ [`--${e}-direction`]: t === "left" ? "normal" : "reverse",
120
+ [`--${e}-duration`]: `${P}s`,
121
+ [`--${e}-delay`]: `${W}s`,
122
+ [`--${e}-iteration-count`]: x ? `${x}` : "infinite",
123
+ [`--${e}-min-width`]: l ? "auto" : "100%"
147
124
  }),
148
- [t, c, e, P, W, x, m]
125
+ [e, p, t, P, W, x, l]
149
126
  ), R = h(
150
127
  () => ({
151
- [`--${t}-transform`]: e === "up" ? "rotate(90deg)" : e === "down" ? "rotate(-90deg)" : "none"
128
+ [`--${e}-transform`]: t === "up" ? "rotate(90deg)" : t === "down" ? "rotate(-90deg)" : "none"
152
129
  }),
153
- [e, t]
130
+ [t, e]
154
131
  ), b = A(
155
- (n) => Array.from({ length: n }).map((f, a) => /* @__PURE__ */ s(nt, { children: B.map(g, (p, et) => /* @__PURE__ */ s(
132
+ (n) => Array.from({ length: n }).map((f, a) => /* @__PURE__ */ s(ne, { children: B.map(g, (c, te) => /* @__PURE__ */ s(
156
133
  "div",
157
134
  {
158
135
  style: R,
159
136
  className: `${i}-child`,
160
- children: p
137
+ children: c
161
138
  },
162
- `child-${a}-${et}`
139
+ `child-${a}-${te}`
163
140
  )) }, a)),
164
141
  [g, R, i]
165
142
  );
166
- return N ? /* @__PURE__ */ s(rt, { children: /* @__PURE__ */ H(
143
+ return N ? /* @__PURE__ */ s(re, { children: /* @__PURE__ */ H(
167
144
  "div",
168
145
  {
169
- ref: l,
146
+ ref: m,
170
147
  style: Z,
171
- className: st(i, `${i}-${e}`, D),
148
+ className: me(i, `${i}-${t}`, D),
172
149
  children: [
173
- !!r && /* @__PURE__ */ s("div", { style: tt, className: `${i}-overlay` }),
150
+ !!r && /* @__PURE__ */ s("div", { style: ee, className: `${i}-overlay` }),
174
151
  /* @__PURE__ */ H(
175
152
  "div",
176
153
  {
@@ -206,5 +183,5 @@ const o = {
206
183
  }
207
184
  );
208
185
  export {
209
- qe as default
186
+ Ze as default
210
187
  };
package/marquee-/index.js CHANGED
@@ -1,30 +1,34 @@
1
- import { jsxs as z, jsx as l, Fragment as x } from "react/jsx-runtime";
1
+ import { jsxs as z, jsx as m, Fragment as x } from "react/jsx-runtime";
2
2
  import { useContext as V, useRef as C, useState as u, useEffect as F } from "react";
3
- import { a as Z } from "../chunk/C1vY8016.js";
3
+ import { a as Z } from "../chunk/CYDaUML7.js";
4
4
  import "../chunk/DsaQZE4X.js";
5
- import "@unicom-cloud/utils/date";
6
- import "@unicom-cloud/utils/case-name";
7
- import _ from "@unicom-cloud/utils/class-name";
8
- import "@unicom-cloud/utils/constant/ui";
9
- import "@unicom-cloud/utils/clipboard-copy";
10
- import "../chunk/DS_deHpN.js";
11
- import "../chunk/d1c9z8T1.js";
12
- import "@unicom-cloud/utils/emitter";
13
- import "@unicom-cloud/utils/file/fileToURL";
14
- import "lodash/escapeRegExp";
15
- import "lodash/isArray";
16
- import "lodash/isNumber";
17
- import "lodash/isString";
18
- import "lodash/isFunction";
5
+ import "@unicom-cloud/utils/constant/platform";
6
+ import "../chunk/CdXR6dj7.js";
7
+ import "@unicom-cloud/utils/js-cookie";
8
+ import "dayjs";
9
+ import "lodash/debounce";
10
+ import "@unicom-cloud/utils/screenfull";
11
+ import "../chunk/ClNkxEcR.js";
19
12
  import "lodash/throttle";
13
+ import "lodash/isPlainObject";
14
+ import "@unicom-cloud/utils/query-string";
15
+ import "react-router";
16
+ import "lodash/isEqualWith";
17
+ import "@unicom-cloud/utils/constant/keyboardCode";
18
+ import "lodash/isNumber";
19
+ import _ from "lodash/merge";
20
+ import "../chunk/d1c9z8T1.js";
21
+ import "../chunk/RjJoagzL.js";
22
+ import { u as tt } from "../chunk/FgWHhRFz.js";
23
+ import "../chunk/CXrVhA6-.js";
24
+ import "@unicom-cloud/utils/constant";
25
+ import et from "@unicom-cloud/utils/class-name";
20
26
  import "lodash/camelCase";
21
27
  import "lodash/capitalize";
22
28
  import "lodash/cloneDeep";
23
- import "lodash/debounce";
24
29
  import "lodash/get";
25
30
  import "lodash/has";
26
31
  import "lodash/kebabCase";
27
- import tt from "lodash/merge";
28
32
  import "lodash/mergeWith";
29
33
  import "lodash/set";
30
34
  import "lodash/setWith";
@@ -32,68 +36,41 @@ import "lodash/snakeCase";
32
36
  import "lodash/startCase";
33
37
  import "lodash/uniq";
34
38
  import "lodash/upperFirst";
35
- import "@unicom-cloud/utils/math";
36
- import "lodash/isPlainObject";
37
- import "@unicom-cloud/utils/pinyin";
38
- import "../chunk/BJ9_azwQ.js";
39
- import "../chunk/CXrVhA6-.js";
40
- import { r as et } from "../chunk/CHQ8c547.js";
41
- import "@unicom-cloud/utils/file/saveAs";
42
- import "@unicom-cloud/utils/screenfull";
43
- import "@unicom-cloud/utils/constant/ui.js";
44
- import "@unicom-cloud/utils/tinycolor";
45
- import "@unicom-cloud/utils/ui-color";
46
- import "react-is";
47
- import "@unicom-cloud/utils/tree";
39
+ import { r as rt } from "../chunk/CHQ8c547.js";
48
40
  import { isPlainObject as q } from "@unicom-cloud/utils/is";
49
- import "uuid";
50
- import "../chunk/hc_ufgVf.js";
51
- import "@unicom-cloud/utils/constant/keyboardCode";
52
- import "@unicom-cloud/utils/constant/platform";
53
- import "../chunk/CdXR6dj7.js";
54
- import "@unicom-cloud/utils/js-cookie";
55
- import "dayjs";
56
- import "../chunk/DsuIQH0F.js";
57
- import "@unicom-cloud/utils/query-string";
58
- import "react-router";
59
- import "lodash/isEqualWith";
60
- import "../chunk/RjJoagzL.js";
61
- import { u as rt } from "../chunk/FgWHhRFz.js";
62
- import "@unicom-cloud/utils/constant";
63
- import "../utils/responsiveObserve.js";
64
- const ot = {
41
+ const nt = {
65
42
  speed: 50,
66
43
  direction: "left",
67
44
  pauseOnHover: !1,
68
45
  loop: 0
69
- }, ue = (R) => {
70
- const { getPrefixCls: L, componentConfig: D } = V(Z), s = L?.("marquee"), E = rt(
46
+ }, Yt = (R) => {
47
+ const { getPrefixCls: L, componentConfig: D } = V(Z), s = L?.("marquee"), E = tt(
71
48
  R,
72
- ot,
49
+ nt,
73
50
  D?.Marquee
74
51
  ), {
75
52
  children: N,
76
53
  style: W,
77
54
  className: j,
78
55
  speed: A = 50,
79
- direction: m = "left",
56
+ direction: l = "left",
80
57
  pauseOnHover: P = !1,
81
58
  loop: a = 0,
82
59
  gradient: T = { color: "#fff" },
83
60
  onComplete: h
84
- } = E, g = C(void 0), B = C(void 0), $ = C(void 0), c = C(void 0), [S, I] = u({ width: 0, height: 0 }), [it, X] = u({ width: 0, height: 0 }), [y, Y] = u(!1), [H, p] = u(!0), [k, f] = u(0), [M, v] = u(0), i = m === "left" || m === "right";
85
- let o = T;
86
- q(o) && (o = tt(
87
- { size: i ? 50 : 20, color: "#fff" },
88
- o
61
+ } = E, g = C(void 0), B = C(void 0), $ = C(void 0), c = C(void 0), [S, I] = u({ width: 0, height: 0 }), [ot, X] = u({ width: 0, height: 0 }), [y, Y] = u(!1), [H, p] = u(!0), [k, f] = u(0), [M, v] = u(0), o = l === "left" || l === "right";
62
+ let n = T;
63
+ q(n) && (n = _(
64
+ { size: o ? 50 : 20, color: "#fff" },
65
+ n
89
66
  ));
90
67
  const O = () => {
91
68
  if ($.current && g.current) {
92
- const r = $.current.scrollWidth, t = $.current.scrollHeight, n = g.current.offsetWidth, e = g.current.offsetHeight;
93
- I({ width: r, height: t }), X({ width: n, height: e });
94
- const d = i ? r > n : t > e;
69
+ const r = $.current.scrollWidth, t = $.current.scrollHeight, i = g.current.offsetWidth, e = g.current.offsetHeight;
70
+ I({ width: r, height: t }), X({ width: i, height: e });
71
+ const d = o ? r > i : t > e;
95
72
  if (Y(d), d) {
96
- const b = m === "right" ? -r : m === "down" ? -t : 0;
73
+ const b = l === "right" ? -r : l === "down" ? -t : 0;
97
74
  f(b);
98
75
  }
99
76
  }
@@ -101,7 +78,7 @@ const ot = {
101
78
  F(() => {
102
79
  const r = g.current;
103
80
  if (!r) return;
104
- const t = et([r], O);
81
+ const t = rt([r], O);
105
82
  return () => t();
106
83
  }, []), F(() => {
107
84
  O(), v(0);
@@ -109,7 +86,7 @@ const ot = {
109
86
  if (!H || !y)
110
87
  return;
111
88
  let r = null, t = k;
112
- const n = i ? S.width : S.height;
89
+ const i = o ? S.width : S.height;
113
90
  let e = M;
114
91
  const d = (b) => {
115
92
  if (!r) {
@@ -119,28 +96,28 @@ const ot = {
119
96
  const U = (b - r) / 1e3;
120
97
  r = b;
121
98
  const w = A * U;
122
- switch (m) {
99
+ switch (l) {
123
100
  case "left":
124
- if (t -= w, t <= -n && (t += n, e += 1, v(e), a > 0 && e >= a)) {
101
+ if (t -= w, t <= -i && (t += i, e += 1, v(e), a > 0 && e >= a)) {
125
102
  cancelAnimationFrame(c.current), p(!1), f(0), h?.();
126
103
  return;
127
104
  }
128
105
  break;
129
106
  case "right":
130
- if (t += w, t >= 0 && (t -= n, e += 1, v(e), a > 0 && e >= a)) {
131
- cancelAnimationFrame(c.current), p(!1), f(-n), h?.();
107
+ if (t += w, t >= 0 && (t -= i, e += 1, v(e), a > 0 && e >= a)) {
108
+ cancelAnimationFrame(c.current), p(!1), f(-i), h?.();
132
109
  return;
133
110
  }
134
111
  break;
135
112
  case "up":
136
- if (t -= w, t <= -n && (t += n, e += 1, v(e), a > 0 && e >= a)) {
113
+ if (t -= w, t <= -i && (t += i, e += 1, v(e), a > 0 && e >= a)) {
137
114
  cancelAnimationFrame(c.current), p(!1), f(0), h?.();
138
115
  return;
139
116
  }
140
117
  break;
141
118
  case "down":
142
- if (t += w, t >= 0 && (t -= n, e += 1, v(e), a > 0 && e >= a)) {
143
- cancelAnimationFrame(c.current), p(!1), f(-n), h?.();
119
+ if (t += w, t >= 0 && (t -= i, e += 1, v(e), a > 0 && e >= a)) {
120
+ cancelAnimationFrame(c.current), p(!1), f(-i), h?.();
144
121
  return;
145
122
  }
146
123
  break;
@@ -153,26 +130,26 @@ const ot = {
153
130
  }, [
154
131
  H,
155
132
  A,
156
- m,
133
+ l,
157
134
  S,
158
135
  y,
159
136
  a,
160
137
  M,
161
138
  k,
162
- i,
139
+ o,
163
140
  h
164
141
  ]);
165
142
  const G = () => {
166
143
  P && p(!1);
167
144
  }, J = () => {
168
145
  P && p(!0);
169
- }, K = () => i ? `translateX(${k}px)` : `translateY(${k}px)`, Q = () => {
146
+ }, K = () => o ? `translateX(${k}px)` : `translateY(${k}px)`, Q = () => {
170
147
  const r = {
171
- display: i ? "inline-block" : "block",
172
- whiteSpace: i ? "nowrap" : "normal",
173
- marginRight: i ? 0 : void 0,
174
- marginBottom: i ? void 0 : 0
175
- }, t = /* @__PURE__ */ l(
148
+ display: o ? "inline-block" : "block",
149
+ whiteSpace: o ? "nowrap" : "normal",
150
+ marginRight: o ? 0 : void 0,
151
+ marginBottom: o ? void 0 : 0
152
+ }, t = /* @__PURE__ */ m(
176
153
  "div",
177
154
  {
178
155
  ref: $,
@@ -183,7 +160,7 @@ const ot = {
183
160
  );
184
161
  return y ? /* @__PURE__ */ z(x, { children: [
185
162
  t,
186
- /* @__PURE__ */ l("div", { style: r, className: `${s}-children`, children: N })
163
+ /* @__PURE__ */ m("div", { style: r, className: `${s}-children`, children: N })
187
164
  ] }) : t;
188
165
  };
189
166
  return /* @__PURE__ */ z(
@@ -191,64 +168,64 @@ const ot = {
191
168
  {
192
169
  ref: g,
193
170
  style: W,
194
- className: _(
171
+ className: et(
195
172
  s,
196
- `${s}-${m}`,
173
+ `${s}-${l}`,
197
174
  j
198
175
  ),
199
176
  onMouseEnter: G,
200
177
  onMouseLeave: J,
201
178
  children: [
202
- /* @__PURE__ */ l(
179
+ /* @__PURE__ */ m(
203
180
  "div",
204
181
  {
205
182
  ref: B,
206
183
  style: {
207
- display: i ? "inline-block" : "block",
184
+ display: o ? "inline-block" : "block",
208
185
  transform: K()
209
186
  },
210
187
  className: `${s}-content`,
211
188
  children: Q()
212
189
  }
213
190
  ),
214
- q(o) && y && (i ? /* @__PURE__ */ z(x, { children: [
215
- /* @__PURE__ */ l(
191
+ q(n) && y && (o ? /* @__PURE__ */ z(x, { children: [
192
+ /* @__PURE__ */ m(
216
193
  "div",
217
194
  {
218
195
  style: {
219
- width: o.size,
220
- background: `linear-gradient(to right, ${o.color}, transparent)`
196
+ width: n.size,
197
+ background: `linear-gradient(to right, ${n.color}, transparent)`
221
198
  },
222
199
  className: `${s}-linear-gradient-to-right`
223
200
  }
224
201
  ),
225
- /* @__PURE__ */ l(
202
+ /* @__PURE__ */ m(
226
203
  "div",
227
204
  {
228
205
  style: {
229
- width: o.size,
230
- background: `linear-gradient(to left, ${o.color}, transparent)`
206
+ width: n.size,
207
+ background: `linear-gradient(to left, ${n.color}, transparent)`
231
208
  },
232
209
  className: `${s}-linear-gradient-to-left`
233
210
  }
234
211
  )
235
212
  ] }) : /* @__PURE__ */ z(x, { children: [
236
- /* @__PURE__ */ l(
213
+ /* @__PURE__ */ m(
237
214
  "div",
238
215
  {
239
216
  style: {
240
- height: o.size,
241
- background: `linear-gradient(to top, ${o.color}, transparent)`
217
+ height: n.size,
218
+ background: `linear-gradient(to top, ${n.color}, transparent)`
242
219
  },
243
220
  className: `${s}-linear-gradient-to-bottom`
244
221
  }
245
222
  ),
246
- /* @__PURE__ */ l(
223
+ /* @__PURE__ */ m(
247
224
  "div",
248
225
  {
249
226
  style: {
250
- height: o.size,
251
- background: `linear-gradient(to bottom, ${o.color}, transparent)`
227
+ height: n.size,
228
+ background: `linear-gradient(to bottom, ${n.color}, transparent)`
252
229
  },
253
230
  className: `${s}-linear-gradient-to-top`
254
231
  }
@@ -259,5 +236,5 @@ const ot = {
259
236
  );
260
237
  };
261
238
  export {
262
- ue as default
239
+ Yt as default
263
240
  };
package/mentions/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as M, jsx as d } from "react/jsx-runtime";
2
2
  import q, { useContext as z, useRef as h, useState as G, useEffect as J } from "react";
3
- import { a as Q } from "../chunk/C1vY8016.js";
3
+ import { a as Q } from "../chunk/CYDaUML7.js";
4
4
  import { u as X } from "../chunk/FgWHhRFz.js";
5
5
  import { u as Y } from "../chunk/2vdCeheu.js";
6
6
  import Z from "../input/Input.js";
package/menu/Menu.js CHANGED
@@ -3,9 +3,9 @@ import "@unicom-cloud/icons/IconUiMenuFold";
3
3
  import "@unicom-cloud/icons/IconUiMenuUnfold";
4
4
  import "lodash/isPlainObject";
5
5
  import "react";
6
- import "../chunk/C1vY8016.js";
6
+ import "../chunk/CYDaUML7.js";
7
7
  import "../chunk/BJeTDXdz.js";
8
- import "../chunk/C5CbL5ku.js";
8
+ import "../chunk/gJsdBcpG.js";
9
9
  import "../chunk/Bvxzb1wd.js";
10
10
  import "../chunk/FgWHhRFz.js";
11
11
  import "../chunk/2vdCeheu.js";
@@ -15,7 +15,7 @@ import "../chunk/BKKEev13.js";
15
15
  import "./context.js";
16
16
  import { default as I } from "./Item.js";
17
17
  import { default as c } from "./ItemGroup.js";
18
- import { S as h, S as j, M as k } from "../chunk/BfVlSL8A.js";
18
+ import { S as h, S as j, M as k } from "../chunk/Bzx5BueA.js";
19
19
  import "./util.js";
20
20
  export {
21
21
  I as MenuItem,
@@ -4,7 +4,7 @@ import "@unicom-cloud/utils/class-name";
4
4
  import "../chunk/CHQ8c547.js";
5
5
  import "../utils/style.js";
6
6
  import "./context.js";
7
- import { O as f } from "../chunk/BfVlSL8A.js";
7
+ import { O as f } from "../chunk/Bzx5BueA.js";
8
8
  export {
9
9
  f as default
10
10
  };
package/menu/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "../chunk/BfVlSL8A.js";
2
- import { S as r, S as a } from "../chunk/BfVlSL8A.js";
1
+ import { M as o } from "../chunk/Bzx5BueA.js";
2
+ import { S as r, S as a } from "../chunk/Bzx5BueA.js";
3
3
  import { default as n } from "./Item.js";
4
4
  import { default as p } from "./ItemGroup.js";
5
5
  export {
package/message/index.js CHANGED
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../chunk/BJ9_azwQ.js";
3
3
  import "react";
4
4
  import "react-dom/client";
5
- import { M as g, m as M, u as d } from "../chunk/C1vY8016.js";
5
+ import { M as g, m as M, u as d } from "../chunk/CYDaUML7.js";
6
6
  import "../notification/withNotification.js";
7
7
  import "../chunk/B--6x-RL.js";
8
8
  import "@unicom-cloud/utils/class-name";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { u as a } from "../chunk/C1vY8016.js";
3
+ import { u as a } from "../chunk/CYDaUML7.js";
4
4
  import "../chunk/DsaQZE4X.js";
5
5
  import "@unicom-cloud/utils/is";
6
6
  export {
package/modal/Confirm.js CHANGED
@@ -4,8 +4,8 @@ import "@unicom-cloud/icons/IconUiCloseCircleFill";
4
4
  import "@unicom-cloud/icons/IconUiExclamationCircleFill";
5
5
  import "@unicom-cloud/icons/IconUiInfoCircleFill";
6
6
  import "react-dom/client";
7
- import "../chunk/C1vY8016.js";
8
- import { c as l, n as s } from "../chunk/DfbO4QTS.js";
7
+ import "../chunk/CYDaUML7.js";
8
+ import { c as l, n as s } from "../chunk/DB0hUIM1.js";
9
9
  import "./config.js";
10
10
  export {
11
11
  l as default,