@unicom-cloud/ui 0.8.109 → 0.8.110

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 (451) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +2 -2
  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 +6 -4
  17. package/Countdown.js +42 -8
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Details.js +42 -6
  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 +43 -7
  27. package/Form.js +21 -16
  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 +2 -2
  34. package/LiquidFill.js +12 -10
  35. package/List.js +1 -1
  36. package/Loading.js +42 -6
  37. package/Marquee.js +12 -10
  38. package/Mentions.js +1 -1
  39. package/Menu.js +1 -1
  40. package/Message.js +3 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +41 -5
  43. package/Notification.js +1 -1
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +2 -2
  46. package/Popconfirm.js +1 -1
  47. package/Popover.js +1 -1
  48. package/Progress.js +1 -1
  49. package/QrCode.js +12 -10
  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 +76 -0
  55. package/Segmented.js +42 -7
  56. package/Skeleton.js +1 -1
  57. package/Slider.js +1 -1
  58. package/Space.js +43 -7
  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 +2 -2
  66. package/Tooltip.js +1 -1
  67. package/Tour.js +13 -11
  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 +2 -2
  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 +2 -2
  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 +3 -3
  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 +2 -2
  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/BDMqvmVH.js +4239 -0
  100. package/chunk/BDgzrqDN.js +154 -0
  101. package/chunk/BG6j6Ct7.js +30 -0
  102. package/chunk/BGJspFG9.js +56 -0
  103. package/chunk/BO_5qdS_.js +13 -0
  104. package/chunk/{DblEjsQ8.js → BUNoUPLs.js} +1 -1
  105. package/chunk/B_c0gPsX.js +83 -0
  106. package/chunk/BcEZk8pT.js +837 -0
  107. package/chunk/{DGSfSsAY.js → BeHcDey_.js} +1 -1
  108. package/chunk/{Bm3gJPkz.js → BnUWOu3_.js} +5 -5
  109. package/chunk/Bvxzb1wd.js +16 -0
  110. package/chunk/{DryCfcSV.js → CFyN9Eio.js} +4 -4
  111. package/chunk/CN7NKv_2.js +11 -0
  112. package/chunk/COc48wzV.js +64 -0
  113. package/chunk/{BDKb_-wj.js → COsRZOz1.js} +4 -4
  114. package/chunk/CT7ury1Z.js +13 -0
  115. package/chunk/Ca6eMq_Y.js +8 -0
  116. package/chunk/{p9jiLDTk.js → CgN4U7Ou.js} +2 -2
  117. package/chunk/{Bg3uJGPu.js → CsqGBZv1.js} +1 -1
  118. package/chunk/CylJZkp8.js +6 -0
  119. package/chunk/{9WWq1a0I.js → DSqW_efI.js} +1 -1
  120. package/chunk/{Bz3KT4sO.js → Dbw0YUY1.js} +81 -47
  121. package/chunk/Dh-zFF65.js +15 -0
  122. package/chunk/Di5KBCVQ.js +4 -0
  123. package/chunk/{DjPTURUf.js → Lyh0cz3R.js} +3 -3
  124. package/chunk/{DgWzb7M5.js → Y_GQsZUt.js} +1 -1
  125. package/chunk/{BfBHo0RR.js → n1tirBXA.js} +7 -7
  126. package/chunk/{DYc9a7tm.js → qsVvkBLU.js} +1 -1
  127. package/chunk/zFFM4RBT.js +2100 -0
  128. package/collapse/Collapse.js +2 -2
  129. package/collapse/Item.js +2 -2
  130. package/color-picker/ControlBar.js +1 -1
  131. package/color-picker/InputAlpha.js +1 -1
  132. package/color-picker/InputHex.js +1 -1
  133. package/color-picker/InputRgb.js +1 -1
  134. package/color-picker/Palette.js +1 -1
  135. package/color-picker/Panel.js +2 -2
  136. package/color-picker/index.js +1 -1
  137. package/comment/index.js +1 -1
  138. package/config-provider/ConfigProvider.js +1 -1
  139. package/config-provider/context.js +1 -1
  140. package/config-provider/index.js +2 -2
  141. package/copy/index.js +10 -8
  142. package/countdown/index.js +67 -33
  143. package/date-picker/Picker.js +1 -1
  144. package/date-picker/RangePicker.js +2 -2
  145. package/date-picker/index.js +1 -1
  146. package/descriptions/index.js +1 -1
  147. package/details/index.js +74 -38
  148. package/development/index.js +1 -1
  149. package/divider/index.js +1 -1
  150. package/draggable/index.js +1 -1
  151. package/drawer/Drawer.js +1 -1
  152. package/dropdown/Button.js +1 -1
  153. package/dropdown/index.js +1 -1
  154. package/empty/index.js +1 -1
  155. package/flex/index.js +63 -29
  156. package/form/Form.js +3 -3
  157. package/form/FormItem.js +1 -1
  158. package/form/index.js +85 -77
  159. package/grid/Grid.js +1 -1
  160. package/grid/Item.js +1 -1
  161. package/hooks/index.js +128 -133
  162. package/hooks/useCreation.js +4 -0
  163. package/hooks/useId.js +1 -1
  164. package/hooks/useIsomorphicLayoutEffect.js +1 -1
  165. package/hooks/useKeyboardEvent.js +1 -1
  166. package/hooks/useMedia.js +1 -1
  167. package/hooks/usePersistCallback.js +1 -1
  168. package/hooks/useRefs.js +1 -1
  169. package/hooks/useStateWithPromise.js +1 -1
  170. package/hooks/useWatch.js +1 -1
  171. package/hooks/useWindowSize.js +1 -1
  172. package/icon/index.js +1 -1
  173. package/icon-hover/index.js +1 -1
  174. package/icons/file.js +1 -1
  175. package/image/Image.js +3 -3
  176. package/image/ImagePreview.js +44 -9
  177. package/image/ImagePreviewArrow.js +1 -1
  178. package/image/ImagePreviewGroup.js +1 -1
  179. package/image/index.js +1 -1
  180. package/index.js +718 -717
  181. package/input/Button.js +1 -1
  182. package/input/Group.js +1 -1
  183. package/input/Input.js +3 -3
  184. package/input/InputElement.js +2 -2
  185. package/input/Password.js +2 -2
  186. package/input/Search.js +1 -1
  187. package/input/Textarea.js +2 -2
  188. package/input-number/index.js +1 -1
  189. package/input-number/useSelectionRange.js +1 -1
  190. package/input-tag/InputTag.js +1 -1
  191. package/layout/Content.js +1 -1
  192. package/layout/Footer.js +1 -1
  193. package/layout/Header.js +1 -1
  194. package/layout/Sider.js +1 -1
  195. package/layout/index.js +1 -1
  196. package/link/index.js +2 -2
  197. package/liquid-fill/index.js +17 -15
  198. package/list/Item.js +1 -1
  199. package/list/Meta.js +1 -1
  200. package/list/index.js +1 -1
  201. package/loading/index.js +54 -18
  202. package/marquee/index.js +19 -17
  203. package/marquee-/index.js +17 -15
  204. package/mentions/index.js +1 -1
  205. package/menu/Menu.js +4 -4
  206. package/menu/OverflowWrap.js +1 -1
  207. package/menu/index.js +2 -2
  208. package/message/index.js +3 -3
  209. package/message/useMessage.js +4 -3
  210. package/modal/Confirm.js +2 -2
  211. package/modal/Modal.js +2 -2
  212. package/modal/index.js +2 -2
  213. package/notice/index.js +41 -5
  214. package/notification/index.js +1 -1
  215. package/notification/useNotification.js +1 -1
  216. package/overflow-ellipsis/OverflowItem.js +1 -1
  217. package/overflow-ellipsis/index.js +1 -1
  218. package/package.json +1 -1
  219. package/page-header/index.js +120 -81
  220. package/pagination/PageItem.js +2 -2
  221. package/pagination/PageJumper.js +1 -1
  222. package/pagination/PageOption.js +1 -1
  223. package/pagination/Pagination.js +1 -1
  224. package/picker/Input.js +1 -1
  225. package/picker/InputRange.js +1 -1
  226. package/popconfirm/index.js +1 -1
  227. package/popover/index.js +1 -1
  228. package/progress/CircleProgress.js +2 -2
  229. package/progress/index.js +1 -1
  230. package/qr-code/index.js +15 -13
  231. package/radio/Group.js +2 -2
  232. package/radio/GroupBlock.js +2 -2
  233. package/radio/Radio.js +2 -2
  234. package/radio/index.js +2 -2
  235. package/rate/index.js +1 -1
  236. package/resize-box/ResizeTrigger.js +1 -1
  237. package/resize-box/Split.js +2 -2
  238. package/resize-box/SplitGroup.js +1 -1
  239. package/resize-box/index.js +1 -1
  240. package/result/index.js +1 -1
  241. package/rich-text/constant.js +5 -0
  242. package/rich-text/core.js +11 -0
  243. package/rich-text/eventemitter/index.d.ts +135 -0
  244. package/rich-text/index.js +182 -0
  245. package/rich-text/interface.js +1 -0
  246. package/rich-text/rich.js +1877 -0
  247. package/row-col/Col-.js +1 -1
  248. package/row-col/Col.js +1 -1
  249. package/row-col/Row.js +1 -1
  250. package/segmented/index.js +145 -110
  251. package/select/Option.js +1 -1
  252. package/select/Select.js +235 -227
  253. package/select-view/Core.js +2 -2
  254. package/skeleton/index.js +1 -1
  255. package/slider/Button.js +2 -2
  256. package/slider/index.js +1 -1
  257. package/space/index.js +51 -15
  258. package/spin/DotLoading.js +1 -1
  259. package/spin/index.js +1 -1
  260. package/splitter/Panel.js +1 -1
  261. package/splitter/SplitBar.js +2 -2
  262. package/splitter/Splitter.js +2 -2
  263. package/statistic/index.js +1 -1
  264. package/steps/index.js +1 -1
  265. package/style.css +1 -1
  266. package/switch/index.js +1 -1
  267. package/table/Table.js +3 -3
  268. package/table/index.js +41 -39
  269. package/tabs/Tab.js +3 -3
  270. package/tabs/TabContent.js +2 -2
  271. package/tabs/TabPane.js +1 -1
  272. package/tabs/index.js +2 -2
  273. package/tag/index.js +2 -2
  274. package/time-picker/Picker.js +1 -1
  275. package/time-picker/TimePicker.js +1 -1
  276. package/timeline/Item.js +1 -1
  277. package/timeline/Timeline.js +1 -1
  278. package/tooltip/index.js +1 -1
  279. package/tour/index.js +20 -18
  280. package/transfer/Item.js +3 -3
  281. package/transfer/List.js +3 -3
  282. package/transfer/index.js +1 -1
  283. package/tree/Animation.js +2 -2
  284. package/tree/Node.js +3 -3
  285. package/tree/NodeList.js +1 -1
  286. package/tree/Tree.js +2 -2
  287. package/tree/index.js +1 -1
  288. package/tree-select/Select.js +4 -4
  289. package/tree-select/index.js +1 -1
  290. package/trigger/index.js +1 -1
  291. package/types/common/hooks/src/index.d.ts +1 -5
  292. package/types/common/hooks/src/use-url-state/index.d.ts +1 -1
  293. package/types/common/hooks/useId.d.ts +1 -1
  294. package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
  295. package/types/common/hooks/useKeyboardEvent.d.ts +1 -1
  296. package/types/common/hooks/{useListenResize.d.ts → useListenWindowResize.d.ts} +4 -6
  297. package/types/common/hooks/useWatch.d.ts +1 -1
  298. package/types/common/hooks/useWindowSize.d.ts +2 -2
  299. package/types/common/utils/index.d.ts +47 -0
  300. package/types/common/utils/keyboardCode.d.ts +4 -0
  301. package/types/common/utils/math.d.ts +1 -0
  302. package/types/common/utils/mitt.d.ts +1 -0
  303. package/types/common/utils/pinyin.d.ts +1 -0
  304. package/types/common/utils/reactTransitionGroup.d.ts +1 -0
  305. package/types/common/utils/uuid.d.ts +1 -0
  306. package/types/common/utils/validate.d.ts +1 -0
  307. package/types/pc/config-provider/interface.d.ts +2 -0
  308. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  309. package/types/pc/form/index.d.ts +6 -1
  310. package/types/pc/hooks/index.d.ts +2 -2
  311. package/types/pc/hooks/useCreation.d.ts +1 -0
  312. package/types/pc/hooks/useListenWindowResize.d.ts +1 -0
  313. package/types/pc/index.d.ts +2 -0
  314. package/types/pc/message/index.d.ts +1 -0
  315. package/types/pc/message/interface.d.ts +2 -2
  316. package/types/pc/page-header/interface.d.ts +3 -0
  317. package/types/pc/rich-text/blots/block.d.ts +34 -0
  318. package/types/pc/rich-text/blots/break.d.ts +8 -0
  319. package/types/pc/rich-text/blots/container.d.ts +4 -0
  320. package/types/pc/rich-text/blots/cursor.d.ts +26 -0
  321. package/types/pc/rich-text/blots/embed.d.ts +18 -0
  322. package/types/pc/rich-text/blots/inline.d.ts +12 -0
  323. package/types/pc/rich-text/blots/scroll.d.ts +49 -0
  324. package/types/pc/rich-text/blots/text.d.ts +5 -0
  325. package/types/pc/rich-text/constant.d.ts +1 -0
  326. package/types/pc/rich-text/core/composition.d.ts +12 -0
  327. package/types/pc/rich-text/core/editor.d.ts +28 -0
  328. package/types/pc/rich-text/core/emitter.d.ts +37 -0
  329. package/types/pc/rich-text/core/instances.d.ts +3 -0
  330. package/types/pc/rich-text/core/logger.d.ts +7 -0
  331. package/types/pc/rich-text/core/module.d.ts +8 -0
  332. package/types/pc/rich-text/core/rich.d.ts +217 -0
  333. package/types/pc/rich-text/core/selection.d.ts +74 -0
  334. package/types/pc/rich-text/core/theme.d.ts +32 -0
  335. package/types/pc/rich-text/core/utils/createRegistryWithFormats.d.ts +5 -0
  336. package/types/pc/rich-text/core/utils/scrollRectIntoView.d.ts +11 -0
  337. package/types/pc/rich-text/core.d.ts +7 -0
  338. package/types/pc/rich-text/delta/AttributeMap.d.ts +10 -0
  339. package/types/pc/rich-text/delta/Op.d.ts +11 -0
  340. package/types/pc/rich-text/delta/OpIterator.d.ts +13 -0
  341. package/types/pc/rich-text/delta/index.d.ts +45 -0
  342. package/types/pc/rich-text/eventemitter/index.d.ts +101 -0
  343. package/types/pc/rich-text/formats/align.d.ts +5 -0
  344. package/types/pc/rich-text/formats/background.d.ts +5 -0
  345. package/types/pc/rich-text/formats/blockquote.d.ts +6 -0
  346. package/types/pc/rich-text/formats/bold.d.ts +11 -0
  347. package/types/pc/rich-text/formats/code.d.ts +15 -0
  348. package/types/pc/rich-text/formats/color.d.ts +7 -0
  349. package/types/pc/rich-text/formats/direction.d.ts +5 -0
  350. package/types/pc/rich-text/formats/font.d.ts +7 -0
  351. package/types/pc/rich-text/formats/formula.d.ts +10 -0
  352. package/types/pc/rich-text/formats/header.d.ts +7 -0
  353. package/types/pc/rich-text/formats/image.d.ts +13 -0
  354. package/types/pc/rich-text/formats/indent.d.ts +8 -0
  355. package/types/pc/rich-text/formats/italic.d.ts +6 -0
  356. package/types/pc/rich-text/formats/link.d.ts +13 -0
  357. package/types/pc/rich-text/formats/list.d.ts +13 -0
  358. package/types/pc/rich-text/formats/script.d.ts +8 -0
  359. package/types/pc/rich-text/formats/size.d.ts +4 -0
  360. package/types/pc/rich-text/formats/strike.d.ts +6 -0
  361. package/types/pc/rich-text/formats/table.d.ts +45 -0
  362. package/types/pc/rich-text/formats/underline.d.ts +6 -0
  363. package/types/pc/rich-text/formats/video.d.ts +14 -0
  364. package/types/pc/rich-text/index.d.ts +6 -0
  365. package/types/pc/rich-text/interface.d.ts +17 -0
  366. package/types/pc/rich-text/modules/clipboard.d.ts +43 -0
  367. package/types/pc/rich-text/modules/history.d.ts +36 -0
  368. package/types/pc/rich-text/modules/input.d.ts +10 -0
  369. package/types/pc/rich-text/modules/keyboard.d.ts +58 -0
  370. package/types/pc/rich-text/modules/normalizeExternalHTML/index.d.ts +2 -0
  371. package/types/pc/rich-text/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +1 -0
  372. package/types/pc/rich-text/modules/normalizeExternalHTML/normalizers/msWord.d.ts +1 -0
  373. package/types/pc/rich-text/modules/syntax.d.ts +50 -0
  374. package/types/pc/rich-text/modules/table.d.ts +20 -0
  375. package/types/pc/rich-text/modules/tableEmbed.d.ts +27 -0
  376. package/types/pc/rich-text/modules/toolbar.d.ts +24 -0
  377. package/types/pc/rich-text/modules/uiNode.d.ts +19 -0
  378. package/types/pc/rich-text/modules/uploader.d.ts +15 -0
  379. package/types/pc/rich-text/parchment/attributor/attributor.d.ts +17 -0
  380. package/types/pc/rich-text/parchment/attributor/class.d.ts +8 -0
  381. package/types/pc/rich-text/parchment/attributor/store.d.ts +15 -0
  382. package/types/pc/rich-text/parchment/attributor/style.d.ts +8 -0
  383. package/types/pc/rich-text/parchment/blot/abstract/blot.d.ts +115 -0
  384. package/types/pc/rich-text/parchment/blot/abstract/container.d.ts +18 -0
  385. package/types/pc/rich-text/parchment/blot/abstract/leaf.d.ts +29 -0
  386. package/types/pc/rich-text/parchment/blot/abstract/parent.d.ts +50 -0
  387. package/types/pc/rich-text/parchment/blot/abstract/shadow.d.ts +37 -0
  388. package/types/pc/rich-text/parchment/blot/block.d.ts +25 -0
  389. package/types/pc/rich-text/parchment/blot/embed.d.ts +11 -0
  390. package/types/pc/rich-text/parchment/blot/inline.d.ts +28 -0
  391. package/types/pc/rich-text/parchment/blot/scroll.d.ts +34 -0
  392. package/types/pc/rich-text/parchment/blot/text.d.ts +26 -0
  393. package/types/pc/rich-text/parchment/collection/linked-list.d.ts +21 -0
  394. package/types/pc/rich-text/parchment/collection/linked-node.d.ts +6 -0
  395. package/types/pc/rich-text/parchment/error.d.ts +6 -0
  396. package/types/pc/rich-text/parchment/index.d.ts +21 -0
  397. package/types/pc/rich-text/parchment/registry.d.ts +21 -0
  398. package/types/pc/rich-text/parchment/scope.d.ts +14 -0
  399. package/types/pc/rich-text/rich.d.ts +5 -0
  400. package/types/pc/rich-text/themes/base.d.ts +35 -0
  401. package/types/pc/rich-text/themes/bubble.d.ts +18 -0
  402. package/types/pc/rich-text/themes/snow.d.ts +9 -0
  403. package/types/pc/rich-text/ui/color-picker.d.ts +7 -0
  404. package/types/pc/rich-text/ui/icon-picker.d.ts +7 -0
  405. package/types/pc/rich-text/ui/icons.d.ts +51 -0
  406. package/types/pc/rich-text/ui/picker.d.ts +16 -0
  407. package/types/pc/rich-text/ui/tooltip.d.ts +12 -0
  408. package/types/pc/select/interface.d.ts +4 -0
  409. package/types/pc/utils/index.d.ts +2 -0
  410. package/types/pc/utils/mitt.d.ts +1 -0
  411. package/types/pc/utils/names.d.ts +107 -91
  412. package/types/pc/utils/pinyin.d.ts +1 -0
  413. package/types/pc/version/index.d.ts +1 -1
  414. package/typography/Base.js +1 -1
  415. package/typography/Ellipsis.js +5 -3
  416. package/typography/Operations.js +6 -4
  417. package/typography/Paragraph.js +1 -1
  418. package/typography/Typography.js +1 -1
  419. package/typography/useEllipsis.js +1 -1
  420. package/upload/TriggerNode.js +2 -2
  421. package/upload/Upload.js +2 -2
  422. package/utils/contextHolder.js +1 -1
  423. package/utils/index.js +167 -163
  424. package/utils/mitt.js +5 -0
  425. package/utils/names.js +12 -2
  426. package/utils/pinyin.js +5 -0
  427. package/verification-code/VerificationCode.js +1 -1
  428. package/version/index.js +1 -1
  429. package/virtual-list/VirtualList.js +2 -2
  430. package/watermark/Watermark.js +1 -1
  431. package/chunk/5_U1CBIu.js +0 -8
  432. package/chunk/B9YvSTvI.js +0 -2321
  433. package/chunk/BLOlsa0k.js +0 -11
  434. package/chunk/BTLlOOe9.js +0 -189
  435. package/chunk/C6Aw3qIJ.js +0 -16
  436. package/chunk/CMl7m9nA.js +0 -6
  437. package/chunk/COqvRD0G.js +0 -11
  438. package/chunk/DXlwLh0Y.js +0 -806
  439. package/chunk/DlSv5Vu0.js +0 -16
  440. package/chunk/DmDh7NRL.js +0 -14
  441. package/chunk/Duezix3m.js +0 -25
  442. package/chunk/siEVY1s5.js +0 -33
  443. package/hooks/useCreate.js +0 -4
  444. package/types/common/hooks/src/use-dynamic-list/index.d.ts +0 -18
  445. package/types/common/hooks/src/use-event-emitter/index.d.ts +0 -11
  446. package/types/common/hooks/src/use-map/index.d.ts +0 -8
  447. package/types/common/hooks/src/use-set/index.d.ts +0 -6
  448. package/types/common/hooks/useCreate.d.ts +0 -2
  449. package/types/pc/hooks/useCreate.d.ts +0 -1
  450. package/types/pc/hooks/useListenResize.d.ts +0 -1
  451. /package/hooks/{useListenResize.js → useListenWindowResize.js} +0 -0
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
3
3
  import "react";
4
4
  import { DropdownButton as f } from "./index.js";
5
5
  import "../button/index.js";
6
- import "../chunk/DXlwLh0Y.js";
6
+ import "../chunk/BcEZk8pT.js";
7
7
  import "../chunk/FgWHhRFz.js";
8
8
  import "../chunk/ClqoGc3r.js";
9
9
  export {
package/dropdown/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as q } from "react/jsx-runtime";
2
2
  import v from "lodash/get";
3
3
  import s, { forwardRef as H, useContext as $, useRef as I } from "react";
4
- import { a as A } from "../chunk/DXlwLh0Y.js";
4
+ import { a as A } from "../chunk/BcEZk8pT.js";
5
5
  import { u as j } from "../chunk/FgWHhRFz.js";
6
6
  import { u as J } from "../chunk/2vdCeheu.js";
7
7
  import K, { EventsByTriggerNeed as S } from "../trigger/index.js";
package/empty/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { E as i } from "../chunk/DXlwLh0Y.js";
3
+ import { E as i } from "../chunk/BcEZk8pT.js";
4
4
  import "../chunk/FgWHhRFz.js";
5
5
  export {
6
6
  i as default
package/flex/index.js CHANGED
@@ -4,14 +4,14 @@ import { UI_COMMON_PREFIX as M } from "@unicom-cloud/utils/constant/ui";
4
4
  import { u as j } from "../chunk/FgWHhRFz.js";
5
5
  import w from "@unicom-cloud/utils/class-name";
6
6
  import "../chunk/DsaQZE4X.js";
7
- import { G as N, a as S } from "../chunk/DXlwLh0Y.js";
7
+ import { G as N, a as S } from "../chunk/BcEZk8pT.js";
8
8
  import { isBoolean as _, isArray as A, isString as h } from "@unicom-cloud/utils/is";
9
9
  import "../chunk/CdXR6dj7.js";
10
10
  import "@unicom-cloud/utils/js-cookie";
11
11
  import "dayjs";
12
12
  import "lodash/debounce";
13
- import "../chunk/BTLlOOe9.js";
14
13
  import "@unicom-cloud/utils/screenfull";
14
+ import "../chunk/BDgzrqDN.js";
15
15
  import "lodash/throttle";
16
16
  import "@unicom-cloud/utils/constant/platform";
17
17
  import "lodash/isPlainObject";
@@ -22,8 +22,42 @@ import "@unicom-cloud/utils/constant/keyboardCode";
22
22
  import "lodash/isNumber";
23
23
  import "lodash/merge";
24
24
  import "../chunk/d1c9z8T1.js";
25
- import "../chunk/RjJoagzL.js";
25
+ import "@unicom-cloud/utils/date";
26
+ import "@unicom-cloud/utils/case-name";
27
+ import "@unicom-cloud/utils/clipboard-copy";
28
+ import "../chunk/DS_deHpN.js";
29
+ import "@unicom-cloud/utils/file/fileToURL";
30
+ import "lodash/escapeRegExp";
31
+ import "lodash/isArray";
32
+ import "lodash/isString";
33
+ import "lodash/isFunction";
34
+ import "lodash/camelCase";
35
+ import "lodash/capitalize";
36
+ import "lodash/cloneDeep";
37
+ import "lodash/get";
38
+ import "lodash/has";
39
+ import "lodash/kebabCase";
40
+ import "lodash/mergeWith";
41
+ import "lodash/set";
42
+ import "lodash/setWith";
43
+ import "lodash/snakeCase";
44
+ import "lodash/startCase";
45
+ import "lodash/uniq";
46
+ import "lodash/upperFirst";
47
+ import "@unicom-cloud/utils/math";
48
+ import "@unicom-cloud/utils/mitt";
49
+ import "@unicom-cloud/utils/pinyin";
50
+ import "../chunk/BJ9_azwQ.js";
26
51
  import "../chunk/CXrVhA6-.js";
52
+ import "@unicom-cloud/utils/file/saveAs";
53
+ import "@unicom-cloud/utils/constant/ui.js";
54
+ import "@unicom-cloud/utils/tinycolor";
55
+ import "@unicom-cloud/utils/ui-color";
56
+ import "react-is";
57
+ import "@unicom-cloud/utils/tree";
58
+ import "uuid";
59
+ import "../chunk/hc_ufgVf.js";
60
+ import "../chunk/RjJoagzL.js";
27
61
  import "@unicom-cloud/utils/constant";
28
62
  function g(o, t, i) {
29
63
  if (i === void 0)
@@ -38,41 +72,41 @@ const E = {
38
72
  gap: "small"
39
73
  }, u = c((o, t) => {
40
74
  const i = j(o, E, {}), {
41
- className: e,
75
+ className: r,
42
76
  style: f,
43
77
  flex: x,
44
78
  gap: d,
45
79
  children: $,
46
- direction: n,
47
- justify: p,
48
- align: m,
80
+ direction: m,
81
+ justify: s,
82
+ align: l,
49
83
  component: O = "div",
50
84
  wrap: C,
51
85
  rtl: P,
52
86
  inline: F,
53
87
  ...b
54
- } = i, s = `${M}-flex`, r = {
88
+ } = i, e = `${M}-flex`, p = {
55
89
  display: F ? "inline-flex" : "flex"
56
90
  };
57
91
  if ("wrap" in i) {
58
- let l = C;
59
- _(l) ? l = l ? "wrap" : "nowrap" : l = C, r.flexWrap = l;
92
+ let n = C;
93
+ _(n) ? n = n ? "wrap" : "nowrap" : n = C, p.flexWrap = n;
60
94
  }
61
- return "flex" in i && (r.flex = x), m && (r.alignItems = m), p && (r.justifyContent = p), n && (r.flexDirection = n), Object.assign(r, z({}, d), f), /* @__PURE__ */ a(
95
+ return "flex" in i && (p.flex = x), l && (p.alignItems = l), s && (p.justifyContent = s), m && (p.flexDirection = m), Object.assign(p, z({}, d), f), /* @__PURE__ */ a(
62
96
  O,
63
97
  {
64
98
  ref: t,
65
- style: r,
99
+ style: p,
66
100
  className: w(
67
- s,
101
+ e,
68
102
  {
69
- [`${s}-rtl`]: P,
70
- [`${s}-inline`]: F
103
+ [`${e}-rtl`]: P,
104
+ [`${e}-inline`]: F
71
105
  },
72
- !!n && `${s}-flex-direction-${n}`,
73
- !!p && `${s}-justify-content-${p}`,
74
- !!m && `${s}-align-items-${m}`,
75
- e
106
+ !!m && `${e}-flex-direction-${m}`,
107
+ !!s && `${e}-justify-content-${s}`,
108
+ !!l && `${e}-align-items-${l}`,
109
+ r
76
110
  ),
77
111
  ...b,
78
112
  children: $
@@ -82,8 +116,8 @@ const E = {
82
116
  u.displayName = "Flex";
83
117
  const V = c(
84
118
  (o, t) => {
85
- const { direction: i = "column", ...e } = o;
86
- return /* @__PURE__ */ a(u, { ...e, ref: t, direction: i });
119
+ const { direction: i = "column", ...r } = o;
120
+ return /* @__PURE__ */ a(u, { ...r, ref: t, direction: i });
87
121
  }
88
122
  );
89
123
  V.displayName = "FlexVertical";
@@ -92,16 +126,16 @@ const R = Object.assign(u, {
92
126
  }), B = {
93
127
  children: void 0
94
128
  }, y = c((o, t) => {
95
- const { getPrefixCls: i, componentConfig: e, rtl: f } = I(S), x = j(
129
+ const { getPrefixCls: i, componentConfig: r, rtl: f } = I(S), x = j(
96
130
  o,
97
131
  B,
98
- e?.Flex
99
- ), { className: d, ...$ } = x, n = i?.("flex");
132
+ r?.Flex
133
+ ), { className: d, ...$ } = x, m = i?.("flex");
100
134
  return /* @__PURE__ */ a(
101
135
  R,
102
136
  {
103
137
  ref: t,
104
- className: w(n, d),
138
+ className: w(m, d),
105
139
  rtl: f,
106
140
  ...$
107
141
  }
@@ -109,14 +143,14 @@ const R = Object.assign(u, {
109
143
  });
110
144
  y.displayName = "Flex";
111
145
  const G = c((o, t) => {
112
- const { direction: i = "column", ...e } = o;
113
- return /* @__PURE__ */ a(y, { ...e, ref: t, direction: i });
146
+ const { direction: i = "column", ...r } = o;
147
+ return /* @__PURE__ */ a(y, { ...r, ref: t, direction: i });
114
148
  });
115
149
  G.displayName = "FlexVertical";
116
- const ft = Object.assign(y, {
150
+ const Ht = Object.assign(y, {
117
151
  Vertical: G
118
152
  });
119
153
  export {
120
154
  G as FlexVertical,
121
- ft as default
155
+ Ht as default
122
156
  };
package/form/Form.js CHANGED
@@ -3,13 +3,13 @@ import "../chunk/-PX9OR3r.js";
3
3
  import "lodash/isPlainObject";
4
4
  import "lodash/merge";
5
5
  import "react";
6
- import "../chunk/DXlwLh0Y.js";
7
- import "../chunk/5_U1CBIu.js";
6
+ import "../chunk/BcEZk8pT.js";
7
+ import "../chunk/BO_5qdS_.js";
8
8
  import "../chunk/FgWHhRFz.js";
9
9
  import "@unicom-cloud/utils/class-name";
10
10
  import "../chunk/BKKEev13.js";
11
11
  import "./context.js";
12
- import { F } from "../chunk/DjPTURUf.js";
12
+ import { F } from "../chunk/Lyh0cz3R.js";
13
13
  import "./util.js";
14
14
  export {
15
15
  F as default
package/form/FormItem.js CHANGED
@@ -4,7 +4,7 @@ import pe from "lodash/isArray";
4
4
  import ue from "lodash/isFunction";
5
5
  import C from "lodash/isPlainObject";
6
6
  import x from "lodash/isUndefined";
7
- import { a as fe } from "../chunk/DXlwLh0Y.js";
7
+ import { a as fe } from "../chunk/BcEZk8pT.js";
8
8
  import { u as be } from "../chunk/FgWHhRFz.js";
9
9
  import he from "../row-col/index.js";
10
10
  import { P as ge } from "../chunk/B--6x-RL.js";
package/form/index.js CHANGED
@@ -1,104 +1,112 @@
1
- import { F as x, g as v, u as R } from "../chunk/DjPTURUf.js";
2
- import w from "./Control.js";
3
- import M from "./FormItem.js";
4
- import y from "./FormList.js";
5
- import E from "./FormProvider.js";
6
- import { useContext as p, useRef as g, useCallback as W, useEffect as d, useState as V } from "react";
7
- import { FormContext as I } from "./context.js";
8
- import { u as J } from "../chunk/BJeTDXdz.js";
9
- import h from "../utils/warning.js";
10
- import { SubmitStatus as L } from "./interface.js";
11
- import N from "lodash/isEqualWith";
12
- import b from "lodash/get";
13
- import O from "lodash/isArray";
14
- import P from "lodash/isString";
15
- const U = () => {
16
- const t = p(I), n = t.store, a = g(!1), r = J(), c = W(() => {
17
- const { submitStatus: s } = n?.getInnerMethods?.(!0)?.innerGetStoreStatus?.() ?? {}, e = s === L.submitting;
18
- e !== a.current && (a.current = e, r());
1
+ import { F as v, g as V, u as R } from "../chunk/Lyh0cz3R.js";
2
+ import { FormContext as g, FormItemContext as w, FormProviderContext as L, FormListContext as M } from "./context.js";
3
+ import P from "./Control.js";
4
+ import y from "./FormItem.js";
5
+ import E from "./FormList.js";
6
+ import J from "./FormProvider.js";
7
+ import { useContext as d, useRef as S, useCallback as b, useEffect as C, useState as W } from "react";
8
+ import { u as N } from "../chunk/BJeTDXdz.js";
9
+ import I from "../utils/warning.js";
10
+ import { SubmitStatus as O } from "./interface.js";
11
+ import U from "lodash/isEqualWith";
12
+ import h from "lodash/get";
13
+ import k from "lodash/isArray";
14
+ import q from "lodash/isString";
15
+ const A = () => {
16
+ const e = d(g), n = e.store, m = S(!1), o = N(), a = b(() => {
17
+ const { submitStatus: s } = n?.getInnerMethods?.(!0)?.innerGetStoreStatus?.() ?? {}, r = s === O.submitting;
18
+ r !== m.current && (m.current = r, o());
19
19
  }, []);
20
- return d(() => {
20
+ return C(() => {
21
21
  if (!n) {
22
- h(!0, "formInstance is not available");
22
+ I(!0, "formInstance is not available");
23
23
  return;
24
24
  }
25
- const { registerFormWatcher: s } = n?.getInnerMethods?.(!0) ?? {}, e = () => c();
26
- e();
27
- const i = s?.(e) ?? {};
25
+ const { registerFormWatcher: s } = n?.getInnerMethods?.(!0) ?? {}, r = () => a();
26
+ r();
27
+ const i = s?.(r) ?? {};
28
28
  return () => {
29
29
  i?.();
30
30
  };
31
31
  }, []), {
32
32
  form: n,
33
- disabled: t.disabled,
34
- isSubmitting: a.current
33
+ disabled: e.disabled,
34
+ isSubmitting: m.current
35
35
  };
36
- }, k = (t, n) => {
37
- const a = p(I), r = n || a.store, c = g(t);
38
- c.current = t;
39
- const s = W(() => {
40
- const u = c.current;
41
- return r.getFieldsState([u])?.[u];
42
- }, []), [e, i] = V(s), m = g(e);
43
- return d(() => {
44
- if (!r) {
45
- h(!0, "formInstance is not available");
36
+ }, G = (e, n) => {
37
+ const m = d(g), o = n || m.store, a = S(e);
38
+ a.current = e;
39
+ const s = b(() => {
40
+ const u = a.current;
41
+ return o.getFieldsState([u])?.[u];
42
+ }, []), [r, i] = W(s), c = S(r);
43
+ return C(() => {
44
+ if (!o) {
45
+ I(!0, "formInstance is not available");
46
46
  return;
47
47
  }
48
- const { registerStateWatcher: u } = r?.getInnerMethods?.(!0) ?? {}, l = () => {
48
+ const { registerStateWatcher: u } = o?.getInnerMethods?.(!0) ?? {}, l = () => {
49
49
  const f = s();
50
- N(m.current, f) || (i(f), m.current = f);
50
+ U(c.current, f) || (i(f), c.current = f);
51
51
  };
52
52
  l();
53
- const S = u?.(l);
53
+ const F = u?.(l);
54
54
  return () => {
55
- S?.();
55
+ F?.();
56
56
  };
57
- }, []), e;
58
- }, q = (t, n) => {
59
- const a = p(I), r = n || a.store, [c, s] = V(() => {
60
- const m = r?.getFieldsValue([].concat(t));
61
- return P(t) ? b(m, t) : m;
62
- }), e = g(t);
63
- e.current = t;
64
- const i = g(JSON.stringify(c));
65
- return d(() => {
66
- if (!r) {
67
- h(!0, "formInstance is not available");
57
+ }, []), r;
58
+ }, j = (e, n) => {
59
+ const m = d(g), o = n || m.store, [a, s] = W(() => {
60
+ const c = o?.getFieldsValue([].concat(e));
61
+ return q(e) ? h(c, e) : c;
62
+ }), r = S(e);
63
+ r.current = e;
64
+ const i = S(JSON.stringify(a));
65
+ return C(() => {
66
+ if (!o) {
67
+ I(!0, "formInstance is not available");
68
68
  return;
69
69
  }
70
- const { registerWatcher: m } = r?.getInnerMethods?.(!0) ?? {}, u = () => {
71
- const S = e.current, f = r.getFieldsValue([].concat(S));
72
- let F = f;
73
- O(S) || (F = b(f, S));
74
- const C = JSON.stringify(F);
75
- i.current !== C && (s(F), i.current = C);
70
+ const { registerWatcher: c } = o?.getInnerMethods?.(!0) ?? {}, u = () => {
71
+ const F = r.current, f = o.getFieldsValue([].concat(F));
72
+ let p = f;
73
+ k(F) || (p = h(f, F));
74
+ const x = JSON.stringify(p);
75
+ i.current !== x && (s(p), i.current = x);
76
76
  };
77
77
  u();
78
- const l = m?.(u);
78
+ const l = c?.(u);
79
79
  return () => {
80
80
  l?.();
81
81
  };
82
- }, []), c;
83
- }, o = x;
84
- o.Provider = E;
85
- o.Item = M;
86
- o.List = y;
87
- o.Control = w;
88
- o.getFormInstance = v;
89
- o.useForm = R;
90
- o.useFormContext = U;
91
- o.useWatch = q;
92
- o.useFormState = k;
82
+ }, []), a;
83
+ }, t = v;
84
+ t.Provider = J;
85
+ t.Item = y;
86
+ t.List = E;
87
+ t.Control = P;
88
+ t.getFormInstance = V;
89
+ t.useForm = R;
90
+ t.useFormContext = A;
91
+ t.useWatch = j;
92
+ t.useFormState = G;
93
+ t.FormContext = g;
94
+ t.FormItemContext = w;
95
+ t.FormProviderContext = L;
96
+ t.FormListContext = M;
93
97
  export {
94
- w as FormControl,
95
- M as FormItem,
96
- y as FormList,
97
- E as FormProvider,
98
- o as default,
99
- v as getFormInstance,
98
+ g as FormContext,
99
+ P as FormControl,
100
+ y as FormItem,
101
+ w as FormItemContext,
102
+ E as FormList,
103
+ M as FormListContext,
104
+ J as FormProvider,
105
+ L as FormProviderContext,
106
+ t as default,
107
+ V as getFormInstance,
100
108
  R as useForm,
101
- U as useFormContext,
102
- k as useFormState,
103
- q as useFormWatch
109
+ A as useFormContext,
110
+ G as useFormState,
111
+ j as useFormWatch
104
112
  };
package/grid/Grid.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as x } from "react/jsx-runtime";
2
2
  import O from "lodash/isArray";
3
3
  import f from "lodash/isNil";
4
4
  import { forwardRef as _, useContext as A } from "react";
5
- import { a as L } from "../chunk/DXlwLh0Y.js";
5
+ import { a as L } from "../chunk/BcEZk8pT.js";
6
6
  import { COLS as u } from "../constant/index.js";
7
7
  import { u as M } from "../chunk/FgWHhRFz.js";
8
8
  import { useResponsiveState as c } from "../hooks/useResponsiveState.js";
package/grid/Item.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as S } from "react/jsx-runtime";
2
2
  import { forwardRef as v, useContext as a } from "react";
3
- import { a as R } from "../chunk/DXlwLh0Y.js";
3
+ import { a as R } from "../chunk/BcEZk8pT.js";
4
4
  import { u as b } from "../chunk/FgWHhRFz.js";
5
5
  import { useResponsiveState as i } from "../hooks/useResponsiveState.js";
6
6
  import h from "@unicom-cloud/utils/class-name";