@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
@@ -2,8 +2,8 @@ import { jsx as f, jsxs as K } from "react/jsx-runtime";
2
2
  import se from "lodash/isFunction";
3
3
  import ye from "lodash/isPlainObject";
4
4
  import q, { useContext as te, useRef as U, useState as ve, useEffect as B, useMemo as ne, useCallback as at, useImperativeHandle as st } from "react";
5
- import { a as Te, I as de } from "./C1vY8016.js";
6
- import { u as ct } from "./C5CbL5ku.js";
5
+ import { a as Te, I as de } from "./CYDaUML7.js";
6
+ import { u as ct } from "./gJsdBcpG.js";
7
7
  import { u as lt } from "./FgWHhRFz.js";
8
8
  import { u as dt } from "./2vdCeheu.js";
9
9
  import L from "@unicom-cloud/utils/class-name";
@@ -19,7 +19,7 @@ import { setTransformStyle as mt } from "../utils/style.js";
19
19
  import Ye from "@unicom-cloud/icons/IconUiDown";
20
20
  import je from "lodash/isNull";
21
21
  import bt from "../dropdown/index.js";
22
- import { M as We } from "./BfVlSL8A.js";
22
+ import { M as We } from "./Bzx5BueA.js";
23
23
  import gt from "lodash/isEqualWith";
24
24
  import vt from "../utils/throttleByRaf.js";
25
25
  import Ee from "@unicom-cloud/icons/IconUiLeft";
@@ -3,7 +3,7 @@ import ln from "@unicom-cloud/icons/IconUiClose";
3
3
  import sn from "lodash/isFunction";
4
4
  import { forwardRef as Me, useState as w, useImperativeHandle as an, useRef as h, useContext as cn, useCallback as un, useEffect as ee } from "react";
5
5
  import ve from "../button/index.js";
6
- import { b as we, e as dn, a as fn, I as mn } from "./C1vY8016.js";
6
+ import { b as we, e as dn, a as fn, I as mn } from "./CYDaUML7.js";
7
7
  import { u as pn } from "./oopARUrq.js";
8
8
  import { u as Cn } from "./FgWHhRFz.js";
9
9
  import { u as gn } from "./2vdCeheu.js";
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as x, Fragment as H } from "react/jsx-runtime";
2
2
  import T from "lodash/isFunction";
3
3
  import L from "lodash/isNil";
4
4
  import Q, { createContext as S, useContext as y, useRef as q } from "react";
5
- import { a as B, I as J } from "./C1vY8016.js";
5
+ import { a as B, I as J } from "./CYDaUML7.js";
6
6
  import { u as E } from "./FgWHhRFz.js";
7
7
  import { u as j } from "./2vdCeheu.js";
8
8
  import R from "@unicom-cloud/utils/class-name";
@@ -4,7 +4,7 @@ import W from "@unicom-cloud/icons/IconUiMinus";
4
4
  import B from "lodash/isFunction";
5
5
  import q from "lodash/isNil";
6
6
  import V, { createContext as J, useState as K, useContext as P, useCallback as M, useRef as Q, useEffect as X } from "react";
7
- import { a as I, I as Y } from "./C1vY8016.js";
7
+ import { a as I, I as Y } from "./CYDaUML7.js";
8
8
  import { u as Z } from "./FgWHhRFz.js";
9
9
  import { u as S } from "./2vdCeheu.js";
10
10
  import w from "@unicom-cloud/utils/class-name";
@@ -4,7 +4,7 @@ import K from "@unicom-cloud/icons/IconUiLeft";
4
4
  import Q from "@unicom-cloud/icons/IconUiRight";
5
5
  import W from "@unicom-cloud/icons/IconUiUp";
6
6
  import Y, { useContext as Z, useState as I, useEffect as _ } from "react";
7
- import { a as ee } from "./C1vY8016.js";
7
+ import { a as ee } from "./CYDaUML7.js";
8
8
  import d from "@unicom-cloud/utils/class-name";
9
9
  function z(a) {
10
10
  const u = Y.useRef();
@@ -0,0 +1,10 @@
1
+ import o from "react";
2
+ import "./DsaQZE4X.js";
3
+ import { isString as i } from "@unicom-cloud/utils/is";
4
+ function m(r) {
5
+ const t = o.useId();
6
+ return i(r) ? `${r}-${t}` : t;
7
+ }
8
+ export {
9
+ m as u
10
+ };
@@ -9,9 +9,9 @@ import j from "lodash/isFunction";
9
9
  import ae from "lodash/isPlainObject";
10
10
  import G from "lodash/isString";
11
11
  import ze, { useRef as U, useState as ne, useCallback as se, useEffect as Q, forwardRef as Ke, useContext as qe, useImperativeHandle as Je } from "react";
12
- import { a as Ge } from "./C1vY8016.js";
12
+ import { a as Ge } from "./CYDaUML7.js";
13
13
  import { u as de } from "./BJeTDXdz.js";
14
- import { u as Qe } from "./C5CbL5ku.js";
14
+ import { u as Qe } from "./gJsdBcpG.js";
15
15
  import { u as Xe } from "./FgWHhRFz.js";
16
16
  import { u as ke } from "./2vdCeheu.js";
17
17
  import { u as te } from "./DfChiMIE.js";
@@ -24,7 +24,7 @@ import fe from "lodash/isEqualWith";
24
24
  import "./DsaQZE4X.js";
25
25
  import Y from "lodash/get";
26
26
  import { b as rt } from "./-PX9OR3r.js";
27
- import { C as we } from "./C3kH2ES3.js";
27
+ import { C as we } from "./DrYaod6k.js";
28
28
  import { u as it } from "./oopARUrq.js";
29
29
  import { b as _e, o as oe } from "./d1c9z8T1.js";
30
30
  import Oe from "../virtual-list/VirtualList.js";
@@ -3,7 +3,7 @@ import j from "@unicom-cloud/icons/IconUiCaretLeft";
3
3
  import A from "@unicom-cloud/icons/IconUiCaretRight";
4
4
  import F from "lodash/isFunction";
5
5
  import L, { useContext as R, useRef as k, createContext as U } from "react";
6
- import { a as M, I as V } from "../chunk/C1vY8016.js";
6
+ import { a as M, I as V } from "../chunk/CYDaUML7.js";
7
7
  import { u as S } from "../chunk/FgWHhRFz.js";
8
8
  import { u as q } from "../chunk/2vdCeheu.js";
9
9
  import p from "@unicom-cloud/utils/class-name";
package/collapse/Item.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../chunk/BJ9_azwQ.js";
3
3
  import "react";
4
- import "../chunk/C1vY8016.js";
4
+ import "../chunk/CYDaUML7.js";
5
5
  import "../chunk/Bvxzb1wd.js";
6
6
  import "@unicom-cloud/utils/class-name";
7
7
  import "../chunk/d1c9z8T1.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { useContext as v } from "react";
3
- import { a as $ } from "../chunk/C1vY8016.js";
3
+ import { a as $ } from "../chunk/CYDaUML7.js";
4
4
  import g from "@unicom-cloud/utils/class-name";
5
5
  import { u as y } from "../chunk/CQPG8hFg.js";
6
6
  const A = ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { useContext as i } from "react";
3
- import { a as p } from "../chunk/C1vY8016.js";
3
+ import { a as p } from "../chunk/CYDaUML7.js";
4
4
  import { InputNumber as s } from "../input/Input.js";
5
5
  const l = ({ value: o, onChange: t }) => {
6
6
  const { getPrefixCls: n } = i(p), r = n?.("color-picker");
@@ -1,7 +1,7 @@
1
1
  import { jsxs as C, jsx as p } from "react/jsx-runtime";
2
2
  import c from "@unicom-cloud/utils/tinycolor";
3
3
  import { useContext as v, useState as I, useEffect as j } from "react";
4
- import { a as D } from "../chunk/C1vY8016.js";
4
+ import { a as D } from "../chunk/CYDaUML7.js";
5
5
  import m from "../input/Input.js";
6
6
  import { InputAlpha as H } from "./InputAlpha.js";
7
7
  const E = ({
@@ -1,7 +1,7 @@
1
1
  import { jsxs as h, jsx as n } from "react/jsx-runtime";
2
2
  import x from "@unicom-cloud/utils/tinycolor";
3
3
  import { useContext as f } from "react";
4
- import { a as b } from "../chunk/C1vY8016.js";
4
+ import { a as b } from "../chunk/CYDaUML7.js";
5
5
  import I, { InputNumber as m } from "../input/Input.js";
6
6
  import { InputAlpha as d } from "./InputAlpha.js";
7
7
  const A = ({
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import C from "@unicom-cloud/utils/tinycolor";
3
3
  import { useContext as d, useMemo as h } from "react";
4
- import { a as g } from "../chunk/C1vY8016.js";
4
+ import { a as g } from "../chunk/CYDaUML7.js";
5
5
  import { u as x } from "../chunk/CQPG8hFg.js";
6
6
  const R = ({ color: l, onChange: c }) => {
7
7
  const { getPrefixCls: a } = d(g), e = a?.("color-picker"), { h: r, s: t, v: n } = l.hsv, { blockRef: i, handlerRef: f, onMouseDown: m } = x({
@@ -1,8 +1,8 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import d from "@unicom-cloud/utils/tinycolor";
3
3
  import { useContext as ir, useState as ar, useMemo as sr } from "react";
4
- import { a as dr } from "../chunk/C1vY8016.js";
5
- import { R as C } from "../chunk/DMv8Hn4u.js";
4
+ import { a as dr } from "../chunk/CYDaUML7.js";
5
+ import { R as C } from "../chunk/De8RLlOK.js";
6
6
  import mr from "../select/Select.js";
7
7
  import E from "../tooltip/index.js";
8
8
  import ur from "@unicom-cloud/utils/class-name";
@@ -3,7 +3,7 @@ import J from "lodash/isArray";
3
3
  import re from "lodash/isFunction";
4
4
  import te from "lodash/isNil";
5
5
  import ne, { useState as A, useRef as L, useMemo as j, useCallback as Q, useEffect as q, useContext as ie } from "react";
6
- import { a as se } from "../chunk/C1vY8016.js";
6
+ import { a as se } from "../chunk/CYDaUML7.js";
7
7
  import ae from "../copy/index.js";
8
8
  import { u as le } from "../chunk/FgWHhRFz.js";
9
9
  import ce from "../trigger/index.js";
package/comment/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
2
  import h from "lodash/isPlainObject";
3
3
  import N from "lodash/isString";
4
4
  import { forwardRef as u, useContext as v } from "react";
5
- import { a as C } from "../chunk/C1vY8016.js";
5
+ import { a as C } from "../chunk/CYDaUML7.js";
6
6
  import { u as x } from "../chunk/FgWHhRFz.js";
7
7
  import c from "@unicom-cloud/utils/class-name";
8
8
  import { a as P } from "../chunk/ClqoGc3r.js";
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/context";
3
3
  import "@unicom-cloud/utils/constant/ui";
4
4
  import "lodash/merge";
5
5
  import "react";
6
- import { C, a as n, c as g, b as u } from "../chunk/C1vY8016.js";
6
+ import { C, a as n, c as g, b as u } from "../chunk/CYDaUML7.js";
7
7
  import "../chunk/BE7UY3my.js";
8
8
  import "../chunk/FgWHhRFz.js";
9
9
  import "../modal/config.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "@unicom-cloud/utils/constant/ui";
3
3
  import "react";
4
- import { c as m, a as e } from "../chunk/C1vY8016.js";
4
+ import { c as m, a as e } from "../chunk/CYDaUML7.js";
5
5
  import "../locale/zh-CN.js";
6
6
  export {
7
7
  m as ConfigProviderDefaultProps,
@@ -1,5 +1,5 @@
1
- import { b as r } from "../chunk/C1vY8016.js";
2
- import { C as f, a as i, c as s } from "../chunk/C1vY8016.js";
1
+ import { b as r } from "../chunk/CYDaUML7.js";
2
+ import { C as f, a as i, c as s } from "../chunk/CYDaUML7.js";
3
3
  export {
4
4
  f as ConfigConsumer,
5
5
  i as ConfigContext,
package/copy/index.js CHANGED
@@ -1,101 +1,57 @@
1
- import { jsx as e, jsxs as x } from "react/jsx-runtime";
1
+ import { jsx as c, jsxs as x } from "react/jsx-runtime";
2
2
  import g from "@unicom-cloud/icons/IconUiCheckCircleFill";
3
3
  import T from "@unicom-cloud/icons/IconUiCopy";
4
4
  import { useContext as h, useState as b, useRef as P, useEffect as w } from "react";
5
- import { a as E } from "../chunk/C1vY8016.js";
5
+ import { a as E } from "../chunk/CYDaUML7.js";
6
6
  import { u as N } from "../chunk/Bvxzb1wd.js";
7
7
  import k from "../tooltip/index.js";
8
- import "@unicom-cloud/utils/date";
9
- import "@unicom-cloud/utils/case-name";
10
8
  import I from "@unicom-cloud/utils/class-name";
11
- import "@unicom-cloud/utils/constant/ui";
12
9
  import j from "@unicom-cloud/utils/clipboard-copy";
13
- import "../chunk/DS_deHpN.js";
14
- import "../chunk/d1c9z8T1.js";
15
- import "@unicom-cloud/utils/file/fileToURL";
16
- import "lodash/escapeRegExp";
17
- import "lodash/isArray";
18
- import "lodash/isNumber";
19
- import "lodash/isString";
20
- import "lodash/isFunction";
21
- import "lodash/throttle";
22
10
  import "../chunk/DsaQZE4X.js";
23
- import "lodash/camelCase";
24
- import "lodash/capitalize";
25
- import "lodash/cloneDeep";
26
- import "lodash/debounce";
27
- import "lodash/get";
28
- import "lodash/has";
29
- import "lodash/kebabCase";
30
- import "lodash/merge";
31
- import "lodash/mergeWith";
32
- import "lodash/set";
33
- import "lodash/setWith";
34
- import "lodash/snakeCase";
35
- import "lodash/startCase";
36
- import "lodash/uniq";
37
- import "lodash/upperFirst";
38
- import "@unicom-cloud/utils/math";
39
11
  import { m as v } from "../chunk/B5RFT17G.js";
40
- import "@unicom-cloud/utils/emitter";
41
- import "@unicom-cloud/utils/pinyin";
42
- import "../chunk/BJ9_azwQ.js";
43
- import "../chunk/CXrVhA6-.js";
44
- import "../utils/responsiveObserve.js";
45
- import "@unicom-cloud/utils/file/saveAs";
46
- import "@unicom-cloud/utils/screenfull";
47
- import "@unicom-cloud/utils/tinycolor";
48
- import "@unicom-cloud/utils/ui-color";
49
- import "@unicom-cloud/utils/constant/ui.js";
50
- import "lodash/isPlainObject";
51
- import "react-is";
52
- import "@unicom-cloud/utils/tree";
53
12
  import { isFunction as F } from "@unicom-cloud/utils/is";
54
- import "uuid";
55
- import "../chunk/hc_ufgVf.js";
56
- import "@unicom-cloud/utils/constant/keyboardCode";
57
13
  function S(o) {
58
- const { children: n } = o, u = N(), C = h(E), { getPrefixCls: d, locale: c, rtl: y } = C, r = d?.("copy"), [i, s] = b(!1), m = P(-1), p = o.tooltips || [
59
- c?.Typography?.copy,
60
- c?.Typography?.copied
14
+ const { children: s } = o, u = N(), C = h(E), { getPrefixCls: d, locale: l, rtl: y } = C, n = d?.("copy"), [e, m] = b(!1), i = P(-1), r = o.tooltips || [
15
+ l?.Typography?.copy,
16
+ l?.Typography?.copied
61
17
  ];
62
- let l = null;
63
- o.icon !== null && o.icon !== !1 && (l = i ? /* @__PURE__ */ e(g, {}) : o.icon || /* @__PURE__ */ e(T, {}));
64
- function a(f) {
65
- if (f.stopPropagation(), i)
18
+ let a = null;
19
+ o.icon !== null && o.icon !== !1 && (a = e ? /* @__PURE__ */ c(g, {}) : o.icon || /* @__PURE__ */ c(T, {}));
20
+ function f(p) {
21
+ if (p.stopPropagation(), e)
66
22
  return;
67
23
  let t = o.text;
68
- F(t) && (t = t()), t || (t = v(n)), j(t), s(!0), o.onCopy?.(t, f), m.current = window.setTimeout(() => {
69
- s(!1);
24
+ F(t) && (t = t()), t || (t = v(s)), j(t), m(!0), o.onCopy?.(t, p), i.current = window.setTimeout(() => {
25
+ m(!1);
70
26
  }, 3e3);
71
27
  }
72
28
  return w(() => () => {
73
- clearTimeout(m.current), m.current = -1;
74
- }, []), /* @__PURE__ */ e(
29
+ clearTimeout(i.current), i.current = -1;
30
+ }, []), /* @__PURE__ */ c(
75
31
  k,
76
32
  {
77
- content: i ? p[1] : p[0],
33
+ content: e ? r[1] : r[0],
78
34
  getPopupContainer: () => window.document.body,
79
35
  ...o.tooltipProps,
80
36
  children: /* @__PURE__ */ x(
81
37
  "span",
82
38
  {
83
39
  className: I(
84
- r,
85
- !!y && `${r}-rtl`,
86
- !!i && `${r}-copied`,
40
+ n,
41
+ !!y && `${n}-rtl`,
42
+ !!e && `${n}-copied`,
87
43
  o.className
88
44
  ),
89
45
  role: "button",
90
- "aria-label": p[0],
46
+ "aria-label": r[0],
91
47
  tabIndex: 0,
92
- onClick: a,
48
+ onClick: f,
93
49
  ...u({
94
- onPressEnter: a
50
+ onPressEnter: f
95
51
  }),
96
52
  children: [
97
- n,
98
- l
53
+ s,
54
+ a
99
55
  ]
100
56
  }
101
57
  )
@@ -1,68 +1,34 @@
1
- import { jsxs as _, jsx as s } from "react/jsx-runtime";
2
- import l from "dayjs";
1
+ import { jsxs as _, jsx as l } from "react/jsx-runtime";
2
+ import a from "dayjs";
3
3
  import { forwardRef as A, useContext as E, useRef as H, useState as M, useEffect as x } from "react";
4
- import { a as O } from "../chunk/C1vY8016.js";
4
+ import { a as O } from "../chunk/CYDaUML7.js";
5
5
  import "../chunk/DsaQZE4X.js";
6
- import "@unicom-cloud/utils/date";
7
- import "@unicom-cloud/utils/case-name";
8
- import p from "@unicom-cloud/utils/class-name";
9
- import "@unicom-cloud/utils/constant/ui";
10
- import "@unicom-cloud/utils/clipboard-copy";
11
- import { h as b, g as k } from "../chunk/DS_deHpN.js";
12
- import "../chunk/d1c9z8T1.js";
13
- import "@unicom-cloud/utils/emitter";
14
- import "@unicom-cloud/utils/file/fileToURL";
15
- import "lodash/escapeRegExp";
16
- import "lodash/isArray";
17
- import "lodash/isNumber";
18
- import "lodash/isString";
19
- import "lodash/isFunction";
20
- import "lodash/throttle";
21
- import "lodash/camelCase";
22
- import "lodash/capitalize";
23
- import "lodash/cloneDeep";
24
- import "lodash/debounce";
25
- import "lodash/get";
26
- import "lodash/has";
27
- import "lodash/kebabCase";
28
- import "lodash/merge";
29
- import "lodash/mergeWith";
30
- import "lodash/set";
31
- import "lodash/setWith";
32
- import "lodash/snakeCase";
33
- import "lodash/startCase";
34
- import "lodash/uniq";
35
- import "lodash/upperFirst";
36
- import "@unicom-cloud/utils/math";
37
- import "lodash/isPlainObject";
38
- import "@unicom-cloud/utils/pinyin";
39
- import "../chunk/BJ9_azwQ.js";
40
- import "../chunk/CXrVhA6-.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 { isFunction as y } from "@unicom-cloud/utils/is";
49
- import "uuid";
50
- import "../chunk/hc_ufgVf.js";
51
- import "@unicom-cloud/utils/constant/keyboardCode";
52
6
  import "@unicom-cloud/utils/constant/platform";
53
7
  import "../chunk/CdXR6dj7.js";
54
8
  import "@unicom-cloud/utils/js-cookie";
55
- import "../chunk/DsuIQH0F.js";
9
+ import "lodash/debounce";
10
+ import "@unicom-cloud/utils/screenfull";
11
+ import "../chunk/ClNkxEcR.js";
12
+ import "lodash/throttle";
13
+ import "lodash/isPlainObject";
56
14
  import "@unicom-cloud/utils/query-string";
57
15
  import "react-router";
58
16
  import "lodash/isEqualWith";
17
+ import "@unicom-cloud/utils/constant/keyboardCode";
18
+ import "lodash/isNumber";
19
+ import "lodash/merge";
20
+ import "../chunk/d1c9z8T1.js";
59
21
  import "../chunk/RjJoagzL.js";
60
- import { u as L } from "../chunk/FgWHhRFz.js";
22
+ import { u as b } from "../chunk/FgWHhRFz.js";
23
+ import "../chunk/CXrVhA6-.js";
61
24
  import "@unicom-cloud/utils/constant";
62
- import { PREFIX_CLASS_STATISTIC as X } from "../statistic/interface.js";
25
+ import { PREFIX_CLASS_STATISTIC as k } from "../statistic/interface.js";
26
+ import m from "@unicom-cloud/utils/class-name";
27
+ import { h as L, g as X } from "../chunk/DS_deHpN.js";
63
28
  import { getDateString as q } from "./util.js";
29
+ import { isFunction as y } from "@unicom-cloud/utils/is";
64
30
  function z(N, S) {
65
- const { getPrefixCls: a, componentConfig: $, rtl: f } = E(O), h = L(
31
+ const { getPrefixCls: f, componentConfig: $, rtl: u } = E(O), h = b(
66
32
  N,
67
33
  {
68
34
  noStyle: !1,
@@ -72,7 +38,7 @@ function z(N, S) {
72
38
  ), {
73
39
  style: D,
74
40
  className: P,
75
- title: u,
41
+ title: p,
76
42
  styleValue: T,
77
43
  value: j,
78
44
  format: c = "HH:mm:ss",
@@ -81,61 +47,61 @@ function z(N, S) {
81
47
  loop: I,
82
48
  renderFormat: C,
83
49
  onFinish: v
84
- } = h, t = !F && a?.(X), o = a?.("countdown"), r = H(null), [w, R] = M(i()());
85
- function i() {
86
- const m = l().valueOf() + l(j).valueOf(), n = b(m, c) || l();
87
- return () => n.diff(k());
88
- }
50
+ } = h, t = !F && f?.(k), o = f?.("countdown"), r = H(null), [w, R] = M(e()());
89
51
  function e() {
52
+ const i = a().valueOf() + a(j).valueOf(), s = L(i, c) || a();
53
+ return () => s.diff(X());
54
+ }
55
+ function n() {
90
56
  r.current === null || (window.clearInterval(r.current), r.current = null);
91
57
  }
92
58
  function V() {
93
- let m = i();
59
+ let i = e();
94
60
  r.current = window.setInterval(() => {
95
- const n = m();
96
- n <= 0 && (I ? m = i() : e(), y(v) && v()), R(n);
61
+ const s = i();
62
+ s <= 0 && (I ? i = e() : n(), y(v) && v()), R(s);
97
63
  }, 1e3 / 30);
98
64
  }
99
65
  const g = q(Math.max(w, 0), c);
100
- return x(() => (d && r.current === null && i()() > 0 ? V() : e(), () => {
101
- e();
66
+ return x(() => (d && r.current === null && e()() > 0 ? V() : n(), () => {
67
+ n();
102
68
  }), [d]), x(() => () => {
103
- e();
69
+ n();
104
70
  }, []), /* @__PURE__ */ _(
105
71
  "div",
106
72
  {
107
73
  ref: S,
108
74
  style: D,
109
- className: p(
75
+ className: m(
110
76
  !!t && t,
111
- { [`${t}-rtl`]: !!t && f },
77
+ { [`${t}-rtl`]: !!t && u },
112
78
  o,
113
- { [`${o}-rtl`]: f },
79
+ { [`${o}-rtl`]: u },
114
80
  P
115
81
  ),
116
82
  children: [
117
- u && /* @__PURE__ */ s(
83
+ p && /* @__PURE__ */ l(
118
84
  "div",
119
85
  {
120
- className: p(
86
+ className: m(
121
87
  !!t && `${t}-title`,
122
88
  `${o}-title`
123
89
  ),
124
- children: u
90
+ children: p
125
91
  }
126
92
  ),
127
- /* @__PURE__ */ s(
93
+ /* @__PURE__ */ l(
128
94
  "div",
129
95
  {
130
- className: p(
96
+ className: m(
131
97
  !!t && `${t}-content`,
132
98
  `${o}-content`
133
99
  ),
134
- children: /* @__PURE__ */ s(
100
+ children: /* @__PURE__ */ l(
135
101
  "div",
136
102
  {
137
103
  style: T,
138
- className: p(
104
+ className: m(
139
105
  !!t && `${t}-value`,
140
106
  `${o}-value`
141
107
  ),
@@ -6,7 +6,7 @@ import xe from "lodash/isArray";
6
6
  import Yo from "lodash/isPlainObject";
7
7
  import ko from "lodash/isUndefined";
8
8
  import Do, { forwardRef as xo, useContext as No, useRef as oe, useImperativeHandle as To, useState as p, useEffect as jo } from "react";
9
- import { a as Lo } from "../chunk/C1vY8016.js";
9
+ import { a as Lo } from "../chunk/CYDaUML7.js";
10
10
  import { u as Ho } from "../chunk/FgWHhRFz.js";
11
11
  import { u as Ne } from "../chunk/8w-ItYb1.js";
12
12
  import { u as Mo } from "../chunk/DfChiMIE.js";
@@ -6,7 +6,7 @@ import "lodash/isArray";
6
6
  import "lodash/isPlainObject";
7
7
  import "lodash/isUndefined";
8
8
  import "react";
9
- import "../chunk/C1vY8016.js";
9
+ import "../chunk/CYDaUML7.js";
10
10
  import "../chunk/FgWHhRFz.js";
11
11
  import "../chunk/8w-ItYb1.js";
12
12
  import "../chunk/DfChiMIE.js";
@@ -17,7 +17,7 @@ import "../chunk/DS_deHpN.js";
17
17
  import "../chunk/ClqoGc3r.js";
18
18
  import "./context.js";
19
19
  import "../chunk/yXI2bb8U.js";
20
- import { P as q } from "../chunk/0BhDjhcd.js";
20
+ import { P as q } from "../chunk/3t4FwEoB.js";
21
21
  import "./util.js";
22
22
  export {
23
23
  q as default
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as s, useRef as m, useImperativeHandle as n } from "react";
3
3
  import d from "./Picker.js";
4
- import { P as u, M as p, D as f, Q as l, W as D, Y as y } from "../chunk/0BhDjhcd.js";
4
+ import { P as u, M as p, D as f, Q as l, W as D, Y as y } from "../chunk/3t4FwEoB.js";
5
5
  function r(o, c) {
6
6
  function t(k, P) {
7
7
  const i = m(void 0);
@@ -3,7 +3,7 @@ import C from "lodash/isArray";
3
3
  import V from "lodash/isNumber";
4
4
  import q from "lodash/isPlainObject";
5
5
  import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
6
- import { a as Q } from "../chunk/C1vY8016.js";
6
+ import { a as Q } from "../chunk/CYDaUML7.js";
7
7
  import { u as U } from "../chunk/FgWHhRFz.js";
8
8
  import W from "@unicom-cloud/utils/class-name";
9
9
  import { responsiveObserve as P, responsiveArray as k } from "../utils/responsiveObserve.js";