@unicom-cloud/ui 0.8.73 → 0.8.74

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 (290) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +3 -3
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +4 -4
  5. package/Badge.js +3 -3
  6. package/Breadcrumb.js +3 -3
  7. package/Button.js +2 -2
  8. package/Calendar.js +3 -3
  9. package/Card.js +2 -2
  10. package/Carousel.js +2 -2
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +2 -2
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +3 -3
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +2 -2
  20. package/Divider.js +2 -2
  21. package/Draggable.js +2 -2
  22. package/Dropdown.js +2 -2
  23. package/Empty.js +2 -2
  24. package/Icon.js +2 -2
  25. package/IconHover.js +2 -2
  26. package/Image.js +1 -1
  27. package/InputNumber.js +2 -2
  28. package/Layout.js +2 -2
  29. package/Link.js +2 -2
  30. package/List.js +2 -2
  31. package/Mentions.js +2 -2
  32. package/Menu.js +1 -1
  33. package/Message.js +4 -4
  34. package/Modal.js +1 -1
  35. package/Notice.js +2 -2
  36. package/Notification.js +4 -4
  37. package/OverflowEllipsis.js +2 -2
  38. package/PageHeader.js +2 -2
  39. package/Popconfirm.js +2 -2
  40. package/Popover.js +2 -2
  41. package/Progress.js +2 -2
  42. package/Radio.js +1 -1
  43. package/Rate.js +2 -2
  44. package/ResizeBox.js +2 -2
  45. package/Result.js +2 -2
  46. package/SelectView.js +1 -1
  47. package/Skeleton.js +2 -2
  48. package/Slider.js +2 -2
  49. package/Space.js +2 -2
  50. package/SpeechSynthesis.js +4 -4
  51. package/Spin.js +2 -2
  52. package/Statistic.js +3 -3
  53. package/Steps.js +2 -2
  54. package/Switch.js +4 -4
  55. package/Table.js +1 -1
  56. package/Tabs.js +1 -1
  57. package/Tag.js +2 -2
  58. package/Tooltip.js +3 -3
  59. package/Transfer.js +2 -2
  60. package/Tree.js +1 -1
  61. package/Trigger.js +3 -3
  62. package/affix/index.js +2 -2
  63. package/alert/index.js +9 -9
  64. package/anchor/Anchor.js +26 -26
  65. package/anchor/Link.js +2 -2
  66. package/anchor/util.js +1 -1
  67. package/auto-complete/index.js +2 -2
  68. package/avatar/Avatar.js +2 -2
  69. package/avatar/Group.js +2 -2
  70. package/back-top/index.js +11 -11
  71. package/badge/Count.js +7 -7
  72. package/badge/index.js +9 -9
  73. package/breadcrumb/Item.js +6 -6
  74. package/breadcrumb/index.js +3 -3
  75. package/button/Group.js +2 -2
  76. package/button/index.js +2 -2
  77. package/calendar/Month.js +2 -2
  78. package/calendar/Year.js +1 -1
  79. package/calendar/index.js +4 -4
  80. package/card/Grid.js +5 -5
  81. package/card/Meta.js +4 -4
  82. package/card/index.js +2 -2
  83. package/carousel/Arrow.js +2 -2
  84. package/carousel/Indicator.js +6 -6
  85. package/carousel/index.js +2 -2
  86. package/cascader/Cascader.js +3 -3
  87. package/cascader/index.js +1 -1
  88. package/cascader/util.js +1 -1
  89. package/checkbox/Checkbox.js +3 -3
  90. package/checkbox/Group.js +3 -3
  91. package/checkbox/index.js +1 -1
  92. package/chunk/{B0UZ1Ee2.js → 9we0Q8Kh.js} +3 -3
  93. package/chunk/{DJDOFlqC.js → BDZpJpz-.js} +2 -2
  94. package/chunk/BFmckYou.js +25 -0
  95. package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
  96. package/chunk/{7HDzVe32.js → Bd9zhOZS.js} +4 -4
  97. package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
  98. package/chunk/{uH6uxyao.js → BoUHPeG7.js} +2 -2
  99. package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
  100. package/chunk/{oHDWCJnz.js → Bu8A2l60.js} +3 -3
  101. package/chunk/CUFsOxJ2.js +10 -0
  102. package/chunk/CWjvjpyc.js +873 -0
  103. package/chunk/{Byd0ztYY.js → Crs3isAx.js} +4 -4
  104. package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
  105. package/chunk/{Dg0M2OmF.js → D5UfU6-H.js} +5 -5
  106. package/chunk/{UDX9U6M7.js → DJ8rDYjb.js} +3 -3
  107. package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
  108. package/chunk/{D2LLXZQX.js → DdT3C0ih.js} +4 -4
  109. package/chunk/{DejjIa3N.js → Dn7KbmZ7.js} +35 -35
  110. package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
  111. package/chunk/{B7hulkj9.js → NmSLBKjp.js} +2 -2
  112. package/chunk/{CiY7w1ZO.js → _L2dKF58.js} +3 -3
  113. package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
  114. package/collapse/Collapse.js +3 -3
  115. package/collapse/Item.js +4 -4
  116. package/collapse/index.js +1 -1
  117. package/color-picker/ControlBar.js +2 -2
  118. package/color-picker/InputAlpha.js +1 -1
  119. package/color-picker/InputHex.js +2 -2
  120. package/color-picker/InputRgb.js +2 -2
  121. package/color-picker/Palette.js +2 -2
  122. package/color-picker/Panel.js +4 -4
  123. package/color-picker/colors.js +20 -9
  124. package/color-picker/index.js +20 -20
  125. package/color-picker/utils.js +1 -1
  126. package/comment/index.js +6 -6
  127. package/config-provider/ConfigProvider.js +2 -2
  128. package/config-provider/context.js +1 -1
  129. package/config-provider/index.js +2 -2
  130. package/copy/index.js +16 -16
  131. package/date-picker/Picker.js +2 -2
  132. package/date-picker/PickerRange.js +3 -3
  133. package/date-picker/index.js +1 -1
  134. package/descriptions/index.js +2 -2
  135. package/divider/index.js +5 -5
  136. package/draggable/Item.js +1 -1
  137. package/draggable/index.js +9 -9
  138. package/drawer/Drawer.js +3 -3
  139. package/dropdown/Button.js +1 -1
  140. package/dropdown/index.js +2 -2
  141. package/empty/index.js +2 -2
  142. package/form/Control.js +1 -1
  143. package/form/Form.js +2 -2
  144. package/form/FormItem.js +3 -3
  145. package/form/FormLabel.js +9 -9
  146. package/grid/Col.js +2 -2
  147. package/grid/Row.js +2 -2
  148. package/grid/grid-item.js +2 -2
  149. package/grid/grid.js +8 -8
  150. package/icon/index.js +11 -11
  151. package/icon-hover/index.js +2 -2
  152. package/image/Image.js +4 -4
  153. package/image/ImageFooter.js +2 -2
  154. package/image/ImagePreview.js +5 -5
  155. package/image/ImagePreviewArrow.js +4 -4
  156. package/image/ImagePreviewGroup.js +1 -1
  157. package/image/ImagePreviewToolbar.js +1 -1
  158. package/image/TriggerForToolbar.js +4 -4
  159. package/image/index.js +1 -1
  160. package/index.js +565 -575
  161. package/input/Group.js +4 -4
  162. package/input/Input.js +45 -45
  163. package/input/InputElement.js +2 -2
  164. package/input/Password.js +2 -2
  165. package/input/Search.js +2 -2
  166. package/input/Textarea.js +2 -2
  167. package/input-number/index.js +2 -2
  168. package/input-tag/InputTag.js +4 -4
  169. package/layout/Content.js +2 -2
  170. package/layout/Footer.js +5 -5
  171. package/layout/Header.js +4 -4
  172. package/layout/Sider.js +2 -2
  173. package/layout/index.js +2 -2
  174. package/link/index.js +5 -5
  175. package/list/Item.js +2 -2
  176. package/list/Meta.js +4 -4
  177. package/list/index.js +2 -2
  178. package/mentions/index.js +2 -2
  179. package/menu/Item.js +5 -5
  180. package/menu/ItemGroup.js +1 -1
  181. package/menu/Menu.js +3 -3
  182. package/menu/OverflowWrap.js +2 -2
  183. package/menu/index.js +2 -2
  184. package/message/index.js +4 -4
  185. package/message/useMessage.js +1 -1
  186. package/modal/Confirm.js +2 -2
  187. package/modal/Modal.js +4 -4
  188. package/modal/index.js +1 -1
  189. package/notice/index.js +2 -2
  190. package/notification/index.js +4 -4
  191. package/notification/useNotification.js +1 -1
  192. package/overflow-ellipsis/OverflowItem.js +6 -6
  193. package/overflow-ellipsis/index.js +8 -8
  194. package/package.json +1 -1
  195. package/page-header/index.js +2 -2
  196. package/pagination/PageItem.js +2 -2
  197. package/pagination/PageJumper.js +1 -1
  198. package/pagination/PageOption.js +1 -1
  199. package/pagination/Pagination.js +23 -23
  200. package/picker/Input.js +7 -7
  201. package/picker/InputRange.js +9 -9
  202. package/popconfirm/index.js +2 -2
  203. package/popover/index.js +2 -2
  204. package/progress/CircleProgress.js +7 -7
  205. package/progress/LineProgess.js +1 -1
  206. package/progress/StepProgress.js +7 -7
  207. package/progress/index.js +8 -8
  208. package/radio/Group.js +3 -3
  209. package/radio/Radio.js +3 -3
  210. package/radio/index.js +2 -2
  211. package/rate/index.js +2 -2
  212. package/resize-box/ResizeTrigger.js +10 -10
  213. package/resize-box/Split.js +12 -12
  214. package/resize-box/SplitGroup.js +2 -2
  215. package/resize-box/index.js +2 -2
  216. package/result/index.js +9 -9
  217. package/select/Option.js +2 -2
  218. package/select/Select.js +3 -3
  219. package/select-view/Core.js +27 -27
  220. package/select-view/index.js +1 -1
  221. package/skeleton/Image.js +4 -4
  222. package/skeleton/Text.js +7 -7
  223. package/skeleton/index.js +2 -2
  224. package/slider/Button.js +2 -2
  225. package/slider/Dot.js +5 -5
  226. package/slider/Input.js +12 -12
  227. package/slider/Tick.js +6 -6
  228. package/slider/index.js +2 -2
  229. package/space/index.js +12 -12
  230. package/speech-synthesis/index.js +4 -4
  231. package/spin/DotLoading.js +1 -1
  232. package/spin/index.js +2 -2
  233. package/statistic/Countdown.js +7 -7
  234. package/statistic/index.js +20 -20
  235. package/steps/Step.js +1 -1
  236. package/steps/index.js +2 -2
  237. package/style.css +1 -1
  238. package/switch/index.js +4 -4
  239. package/table/Table.js +4 -4
  240. package/table/index.js +4 -4
  241. package/tabs/Tab.js +3 -3
  242. package/tabs/TabContent.js +3 -3
  243. package/tabs/TabPane.js +2 -2
  244. package/tabs/index.js +2 -2
  245. package/tag/index.js +6 -6
  246. package/time-picker/Picker.js +2 -2
  247. package/time-picker/TimeColumn.js +7 -7
  248. package/time-picker/TimePicker.js +23 -23
  249. package/time-picker/util.js +5 -5
  250. package/timeline/Item.js +2 -2
  251. package/timeline/Timeline.js +2 -2
  252. package/tooltip/index.js +3 -3
  253. package/transfer/Item.js +3 -3
  254. package/transfer/List.js +3 -3
  255. package/transfer/index.js +2 -2
  256. package/tree/Animation.js +3 -3
  257. package/tree/Node.js +4 -4
  258. package/tree/NodeList.js +1 -1
  259. package/tree/Tree.js +3 -3
  260. package/tree/index.js +1 -1
  261. package/tree-select/Select.js +2 -2
  262. package/trigger/index.js +3 -3
  263. package/types/color-picker/colors.d.ts +1 -1
  264. package/types/utils/color.d.ts +1 -1
  265. package/typography/Base.js +2 -2
  266. package/typography/EditContent.js +1 -1
  267. package/typography/Ellipsis.js +14 -15
  268. package/typography/Paragraph.js +6 -6
  269. package/typography/Typography.js +5 -5
  270. package/typography/index.js +12 -13
  271. package/upload/TriggerNode.js +2 -2
  272. package/upload/Upload.js +5 -5
  273. package/upload/Uploader.js +2 -2
  274. package/utils/PqbCSSTransition.js +1 -1
  275. package/utils/className.js +3 -3
  276. package/utils/color.js +2 -116
  277. package/utils/contextHolder.js +1 -1
  278. package/utils/copy.js +4 -4
  279. package/utils/fileToURL.js +1 -1
  280. package/utils/index.js +299 -309
  281. package/utils/reactTransitionGroup.js +1 -1
  282. package/utils/saveAs.js +1 -1
  283. package/utils/tinycolor.js +12 -12
  284. package/utils/tween.js +1 -1
  285. package/verification-code/VerificationCode.js +7 -7
  286. package/version/index.js +1 -1
  287. package/watermark/Watermark.js +6 -6
  288. package/chunk/CCVU-Kst.js +0 -770
  289. package/chunk/CTxjmYmx.js +0 -19
  290. package/chunk/JPPo5nY_.js +0 -9
package/Space.js CHANGED
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
2
2
  import "lodash/isArray";
3
3
  import "lodash/isNumber";
4
4
  import "react";
5
- import "./chunk/Byd0ztYY.js";
5
+ import "./chunk/Crs3isAx.js";
6
6
  import "./chunk/BFTV6myl.js";
7
- import "./chunk/JPPo5nY_.js";
7
+ import "./chunk/CUFsOxJ2.js";
8
8
  import "./space/toArray.js";
9
9
  import { SpaceVertical as l, default as d } from "./space/index.js";
10
10
  export {
@@ -13,9 +13,10 @@ import "lodash/kebabCase.js";
13
13
  import "lodash/snakeCase.js";
14
14
  import "lodash/startCase.js";
15
15
  import "lodash/upperFirst.js";
16
- import "lodash/isPlainObject.js";
17
16
  import "lodash/uniq.js";
18
- import "./utils/color.js";
17
+ import "./chunk/C0pRaDCf.js";
18
+ import "lodash/isPlainObject.js";
19
+ import "./chunk/CWjvjpyc.js";
19
20
  import "lodash/isString.js";
20
21
  import "./chunk/tamGhTJp.js";
21
22
  import "lodash/escapeRegExp";
@@ -39,9 +40,8 @@ import "lodash/uniq";
39
40
  import "lodash/upperFirst";
40
41
  import "./chunk/yl4BU7Sd.js";
41
42
  import "lodash/isPlainObject";
42
- import "./chunk/Cj2SQJiO.js";
43
+ import "./chunk/BJ9_azwQ.js";
43
44
  import "./chunk/Bl7BnD1R.js";
44
- import "lodash/isFunction";
45
45
  import "uuid";
46
46
  import "./chunk/CplLA01W.js";
47
47
  import "./button/index.js";
package/Spin.js CHANGED
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
2
2
  import "@unicom-cloud/icons/IconUiLoading";
3
3
  import "lodash/debounce";
4
4
  import "react";
5
- import "./chunk/Byd0ztYY.js";
5
+ import "./chunk/Crs3isAx.js";
6
6
  import "./chunk/BFTV6myl.js";
7
- import "./chunk/JPPo5nY_.js";
7
+ import "./chunk/CUFsOxJ2.js";
8
8
  import "./chunk/DAAff-FT.js";
9
9
  import "./spin/DotLoading.js";
10
10
  import { default as u } from "./spin/index.js";
package/Statistic.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunk/uKZyjtff.js";
2
+ import "./chunk/BhBEMwvI.js";
3
3
  import "dayjs";
4
4
  import "lodash/isFunction";
5
5
  import "lodash/isNumber";
6
6
  import "react";
7
- import "./chunk/Byd0ztYY.js";
7
+ import "./chunk/Crs3isAx.js";
8
8
  import "./chunk/BFTV6myl.js";
9
9
  import "./skeleton/index.js";
10
- import "./chunk/JPPo5nY_.js";
10
+ import "./chunk/CUFsOxJ2.js";
11
11
  import "./chunk/BKKEev13.js";
12
12
  import { default as s } from "./statistic/Countdown.js";
13
13
  import { default as c } from "./statistic/index.js";
package/Steps.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "./chunk/Byd0ztYY.js";
3
+ import "./chunk/Crs3isAx.js";
4
4
  import "./chunk/BFTV6myl.js";
5
- import "./chunk/JPPo5nY_.js";
5
+ import "./chunk/CUFsOxJ2.js";
6
6
  import "./chunk/ClqoGc3r.js";
7
7
  import { default as f, default as s } from "./steps/Step.js";
8
8
  import { default as l } from "./steps/index.js";
package/Switch.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import "react/jsx-runtime";
2
2
  import "@unicom-cloud/icons/IconUiLoading";
3
- import "./chunk/Cj2SQJiO.js";
3
+ import "./chunk/BJ9_azwQ.js";
4
4
  import "lodash/isArray";
5
5
  import "react";
6
- import "./chunk/Byd0ztYY.js";
6
+ import "./chunk/Crs3isAx.js";
7
7
  import "./chunk/BFTV6myl.js";
8
- import "./chunk/Bj4EV0eG.js";
9
- import "./chunk/JPPo5nY_.js";
8
+ import "./chunk/BpYX5PN4.js";
9
+ import "./chunk/CUFsOxJ2.js";
10
10
  import "./chunk/DAAff-FT.js";
11
11
  import "./chunk/BKKEev13.js";
12
12
  import "./chunk/C0pRaDCf.js";
package/Table.js CHANGED
@@ -1,4 +1,4 @@
1
- import { u as s, a as l, b as o, c as u, d as t, e as b, f as m } from "./chunk/Dg0M2OmF.js";
1
+ import { u as s, a as l, b as o, c as u, d as t, e as b, f as m } from "./chunk/D5UfU6-H.js";
2
2
  import { defaultComponent as r } from "./table/constant.js";
3
3
  import { TableSummary as n, TableSummaryCell as p, TableSummaryRow as S, default as C, useTableThResizable as y } from "./table/index.js";
4
4
  export {
package/Tabs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as t, T as s } from "./chunk/oHDWCJnz.js";
1
+ import { a as t, T as s } from "./chunk/Bu8A2l60.js";
2
2
  import { default as o, default as T } from "./tabs/TabPane.js";
3
3
  export {
4
4
  o as TabPane,
package/Tag.js CHANGED
@@ -3,11 +3,11 @@ import "@unicom-cloud/icons/IconUiClose";
3
3
  import "@unicom-cloud/icons/IconUiLoading";
4
4
  import "lodash/isPlainObject";
5
5
  import "react";
6
- import "./chunk/Byd0ztYY.js";
6
+ import "./chunk/Crs3isAx.js";
7
7
  import "./chunk/XTEsYGuF.js";
8
8
  import "./chunk/BFTV6myl.js";
9
9
  import "./popconfirm/index.js";
10
- import "./chunk/JPPo5nY_.js";
10
+ import "./chunk/CUFsOxJ2.js";
11
11
  import "./chunk/BKKEev13.js";
12
12
  import { default as b } from "./tag/index.js";
13
13
  export {
package/Tooltip.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunk/CCVU-Kst.js";
2
+ import "./chunk/CWjvjpyc.js";
3
3
  import "lodash/isFunction";
4
4
  import "react";
5
- import "./chunk/Byd0ztYY.js";
5
+ import "./chunk/Crs3isAx.js";
6
6
  import "./chunk/BFTV6myl.js";
7
7
  import "./trigger/index.js";
8
- import "./chunk/JPPo5nY_.js";
8
+ import "./chunk/CUFsOxJ2.js";
9
9
  import "./chunk/DAAff-FT.js";
10
10
  import "./chunk/ClqoGc3r.js";
11
11
  import { default as x } from "./tooltip/index.js";
package/Transfer.js CHANGED
@@ -4,10 +4,10 @@ import "@unicom-cloud/icons/IconUiRight";
4
4
  import "lodash/isPlainObject";
5
5
  import "react";
6
6
  import "./button/index.js";
7
- import "./chunk/Byd0ztYY.js";
7
+ import "./chunk/Crs3isAx.js";
8
8
  import "./chunk/BFTV6myl.js";
9
9
  import "./chunk/DeV0v__J.js";
10
- import "./chunk/JPPo5nY_.js";
10
+ import "./chunk/CUFsOxJ2.js";
11
11
  import "./chunk/ClqoGc3r.js";
12
12
  import "./transfer/List.js";
13
13
  import { default as c } from "./transfer/index.js";
package/Tree.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { default as r } from "./tree/Tree.js";
2
- import { N as t } from "./chunk/D2LLXZQX.js";
2
+ import { N as t } from "./chunk/DdT3C0ih.js";
3
3
  export {
4
4
  t as TreeNode,
5
5
  r as default
package/Trigger.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunk/Cj2SQJiO.js";
2
+ import "./chunk/BJ9_azwQ.js";
3
3
  import "lodash/isArray";
4
4
  import "lodash/isFunction";
5
5
  import "react";
6
6
  import "react-dom";
7
- import "./chunk/Byd0ztYY.js";
8
- import "./chunk/JPPo5nY_.js";
7
+ import "./chunk/Crs3isAx.js";
8
+ import "./chunk/CUFsOxJ2.js";
9
9
  import "./utils/dom.js";
10
10
  import "./chunk/DAAff-FT.js";
11
11
  import "./chunk/BrOW642m.js";
package/affix/index.js CHANGED
@@ -3,10 +3,10 @@ import y from "lodash/isFunction";
3
3
  import P from "lodash/isPlainObject";
4
4
  import $ from "lodash/isUndefined";
5
5
  import { forwardRef as q, useContext as G, useState as J, useRef as R, useCallback as K, useEffect as u, useImperativeHandle as Q } from "react";
6
- import { a as V } from "../chunk/Byd0ztYY.js";
6
+ import { a as V } from "../chunk/Crs3isAx.js";
7
7
  import { u as X } from "../chunk/B2yFlXke.js";
8
8
  import { u as Y } from "../chunk/BFTV6myl.js";
9
- import { m as F } from "../chunk/JPPo5nY_.js";
9
+ import { p as F } from "../chunk/CUFsOxJ2.js";
10
10
  import { on as w, off as h } from "../utils/dom.js";
11
11
  import { l as Z } from "../chunk/DAAff-FT.js";
12
12
  import { r as tt } from "../chunk/CIRG541s.js";
package/alert/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { jsx as t, jsxs as p } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
2
  import S from "@unicom-cloud/icons/IconUiCheckCircleFill";
3
3
  import j from "@unicom-cloud/icons/IconUiClose";
4
4
  import k from "@unicom-cloud/icons/IconUiCloseCircleFill";
5
5
  import R from "@unicom-cloud/icons/IconUiExclamationCircleFill";
6
6
  import T from "@unicom-cloud/icons/IconUiInfoCircleFill";
7
7
  import { forwardRef as q, useRef as z, useContext as H, useState as M } from "react";
8
- import { a as O } from "../chunk/Byd0ztYY.js";
8
+ import { a as O } from "../chunk/Crs3isAx.js";
9
9
  import { u as V } from "../chunk/BFTV6myl.js";
10
- import { m as _ } from "../chunk/JPPo5nY_.js";
11
- import { P as B } from "../chunk/Bj4EV0eG.js";
10
+ import { p as _ } from "../chunk/CUFsOxJ2.js";
11
+ import { P as B } from "../chunk/BpYX5PN4.js";
12
12
  const D = {
13
13
  showIcon: !0,
14
14
  type: "info"
@@ -26,7 +26,7 @@ function G(d, l) {
26
26
  type: m = "info",
27
27
  title: r,
28
28
  content: u,
29
- icon: f,
29
+ icon: p,
30
30
  showIcon: $,
31
31
  closable: x,
32
32
  closeable: I,
@@ -37,8 +37,8 @@ function G(d, l) {
37
37
  ...y
38
38
  } = c, e = h("alert"), [P, U] = M(!0);
39
39
  function A(i) {
40
- if (f)
41
- return f;
40
+ if (p)
41
+ return p;
42
42
  switch (i) {
43
43
  case "info":
44
44
  return /* @__PURE__ */ t(T, {});
@@ -75,7 +75,7 @@ function G(d, l) {
75
75
  onExited: () => {
76
76
  n == null || n();
77
77
  },
78
- children: /* @__PURE__ */ p(
78
+ children: /* @__PURE__ */ f(
79
79
  "div",
80
80
  {
81
81
  ref: l,
@@ -85,7 +85,7 @@ function G(d, l) {
85
85
  ...y,
86
86
  children: [
87
87
  $ && /* @__PURE__ */ t("div", { className: `${e}-icon-wrapper`, children: A(m) }),
88
- /* @__PURE__ */ p("div", { className: `${e}-content-wrapper`, children: [
88
+ /* @__PURE__ */ f("div", { className: `${e}-content-wrapper`, children: [
89
89
  r && /* @__PURE__ */ t("div", { className: `${e}-title`, children: r }),
90
90
  u && /* @__PURE__ */ t("div", { className: `${e}-content`, children: u })
91
91
  ] }),
package/anchor/Anchor.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { jsxs as mt, jsx as w } from "react/jsx-runtime";
2
- import { compute as dt } from "../utils/computeScrollIntoView.js";
3
- import { p as pt } from "../chunk/Coz3rCng.js";
2
+ import { compute as pt } from "../utils/computeScrollIntoView.js";
3
+ import { p as dt } from "../chunk/Coz3rCng.js";
4
4
  import D from "lodash/isFunction";
5
5
  import P from "lodash/isNumber";
6
6
  import gt from "lodash/throttle";
7
- import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as A, useImperativeHandle as kt } from "react";
7
+ import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as $, useImperativeHandle as kt } from "react";
8
8
  import yt from "../affix/index.js";
9
- import { a as Lt } from "../chunk/Byd0ztYY.js";
9
+ import { a as Lt } from "../chunk/Crs3isAx.js";
10
10
  import { u as Rt } from "../chunk/oopARUrq.js";
11
11
  import { u as wt } from "../chunk/BFTV6myl.js";
12
12
  import { u as St } from "../chunk/Duezix3m.js";
13
- import { m as At } from "../chunk/JPPo5nY_.js";
14
- import { on as Tt, off as $t } from "../utils/dom.js";
13
+ import { p as $t } from "../chunk/CUFsOxJ2.js";
14
+ import { on as At, off as Tt } from "../utils/dom.js";
15
15
  import { l as vt } from "../chunk/DAAff-FT.js";
16
16
  import Nt from "./context.js";
17
17
  import bt from "./Link.js";
@@ -23,10 +23,10 @@ const It = {
23
23
  boundary: "start"
24
24
  };
25
25
  function Ht(q, G) {
26
- const { getPrefixCls: J, componentConfig: T, rtl: E } = Ct(Lt), K = wt(
26
+ const { getPrefixCls: J, componentConfig: A, rtl: E } = Ct(Lt), K = wt(
27
27
  q,
28
28
  It,
29
- T == null ? void 0 : T.Anchor
29
+ A == null ? void 0 : A.Anchor
30
30
  ), {
31
31
  className: Q,
32
32
  style: X,
@@ -39,26 +39,26 @@ function Ht(q, G) {
39
39
  offsetTop: nt,
40
40
  hash: F = !0,
41
41
  boundary: i = "start",
42
- targetOffset: $,
42
+ targetOffset: T,
43
43
  children: rt,
44
44
  direction: y = "vertical",
45
45
  onSelect: I,
46
46
  onChange: v,
47
47
  ...ot
48
- } = K, f = J("anchor"), it = At(f, Q, {
48
+ } = K, f = J("anchor"), it = $t(f, Q, {
49
49
  [`${f}-lineless`]: k,
50
50
  [`${f}-rtl`]: E,
51
51
  [`${f}-horizontal`]: y === "horizontal"
52
- }), s = x(null), d = x(null), a = x(/* @__PURE__ */ new Map()), N = x(!1), p = x(null), [st, H] = xt(0), [o, ct] = St(""), lt = Rt();
52
+ }), s = x(null), p = x(null), a = x(/* @__PURE__ */ new Map()), N = x(!1), d = x(null), [st, H] = xt(0), [o, ct] = St(""), lt = Rt();
53
53
  function O() {
54
54
  let t = Mt(m);
55
55
  return m || (t = Et(s.current)), t;
56
56
  }
57
57
  S(() => {
58
58
  const t = O();
59
- p.current = t;
59
+ d.current = t;
60
60
  }, [m]);
61
- const ft = A(() => O(), [m]);
61
+ const ft = $(() => O(), [m]);
62
62
  kt(
63
63
  G,
64
64
  () => ({
@@ -73,7 +73,7 @@ function Ht(q, G) {
73
73
  function at(t) {
74
74
  a.current.delete(t), H(Math.random());
75
75
  }
76
- const L = A(
76
+ const L = $(
77
77
  (t) => {
78
78
  if (!t || !s.current)
79
79
  return;
@@ -82,7 +82,7 @@ function Ht(q, G) {
82
82
  n && z(t, n);
83
83
  }
84
84
  const e = a.current.get(t);
85
- e && t !== o && (pt(e, {
85
+ e && t !== o && (dt(e, {
86
86
  behavior: "auto",
87
87
  block: "nearest",
88
88
  scrollMode: "if-needed",
@@ -92,26 +92,26 @@ function Ht(q, G) {
92
92
  }));
93
93
  },
94
94
  [o, v]
95
- ), B = A(() => {
95
+ ), B = $(() => {
96
96
  let t;
97
- const e = P(i) ? i : 0, n = p.current, h = Pt(n).getBoundingClientRect(), R = document.documentElement.clientHeight;
97
+ const e = P(i) ? i : 0, n = d.current, h = Pt(n).getBoundingClientRect(), R = document.documentElement.clientHeight;
98
98
  return [...a.current.keys()].some((b) => {
99
99
  const c = M(document, b);
100
100
  let u = !1;
101
101
  if (c) {
102
102
  const { top: r, height: C } = c.getBoundingClientRect();
103
103
  if (vt(n)) {
104
- const l = $ ?? R / 2;
104
+ const l = T ?? R / 2;
105
105
  u = r >= e && r <= l || r <= e && r + C >= l;
106
106
  } else {
107
- const l = r - h.top - e, j = $ ?? h.height / 2;
107
+ const l = r - h.top - e, j = T ?? h.height / 2;
108
108
  u = l >= 0 && l <= j || l <= 0 && l + C >= j;
109
109
  }
110
110
  u && (t = c);
111
111
  }
112
112
  return u;
113
113
  }), t;
114
- }, [i, $]), g = A(
114
+ }, [i, T]), g = $(
115
115
  gt(
116
116
  (t) => {
117
117
  if (N.current)
@@ -133,13 +133,13 @@ function Ht(q, G) {
133
133
  const e = M(document, t);
134
134
  if (!e)
135
135
  return;
136
- const n = P(i) ? "start" : i, W = P(i) ? i : 0, h = dt(e, { block: n });
136
+ const n = P(i) ? "start" : i, W = P(i) ? i : 0, h = pt(e, { block: n });
137
137
  if (!h.length)
138
138
  return;
139
139
  let R = !1;
140
140
  const b = h.map(({ el: c, top: u }) => new Promise((r) => {
141
141
  if (!R) {
142
- c === p.current && (R = !0);
142
+ c === d.current && (R = !0);
143
143
  const C = u - W;
144
144
  return Y ? Ft(c, C, r) : (F || (c.scrollTop = C), r(null));
145
145
  }
@@ -160,14 +160,14 @@ function Ht(q, G) {
160
160
  S(() => {
161
161
  const t = decodeURIComponent(location.hash);
162
162
  t ? (L(t), U(t)) : g(null);
163
- }, []), S(() => (lt || g(null), Tt(p.current, "scroll", g), () => {
164
- $t(p.current, "scroll", g);
163
+ }, []), S(() => (lt || g(null), At(d.current, "scroll", g), () => {
164
+ Tt(d.current, "scroll", g);
165
165
  }), [m, g]), S(() => {
166
166
  const t = a.current.get(o);
167
- t && !k && d.current && (y === "horizontal" ? (d.current.style.left = `${t.offsetLeft}px`, d.current.style.width = `${t.clientWidth}px`) : d.current.style.top = `${t.offsetTop}px`);
167
+ t && !k && p.current && (y === "horizontal" ? (p.current.style.left = `${t.offsetLeft}px`, p.current.style.width = `${t.clientWidth}px`) : p.current.style.top = `${t.offsetTop}px`);
168
168
  }, [o, k, y, E, st]);
169
169
  const V = /* @__PURE__ */ mt("div", { className: it, style: X, ref: s, ...ot, children: [
170
- !k && o && /* @__PURE__ */ w("div", { className: `${f}-line-slider`, ref: d }),
170
+ !k && o && /* @__PURE__ */ w("div", { className: `${f}-line-slider`, ref: p }),
171
171
  /* @__PURE__ */ w(
172
172
  Nt.Provider,
173
173
  {
package/anchor/Link.js CHANGED
@@ -4,9 +4,9 @@ import g from "lodash/isPlainObject";
4
4
  import E from "lodash/isString";
5
5
  import L from "lodash/isUndefined";
6
6
  import O, { forwardRef as b, useContext as f, useRef as v, useImperativeHandle as w, useEffect as I, isValidElement as M } from "react";
7
- import { a as S } from "../chunk/Byd0ztYY.js";
7
+ import { a as S } from "../chunk/Crs3isAx.js";
8
8
  import { u as $ } from "../chunk/BFTV6myl.js";
9
- import { m as z } from "../chunk/JPPo5nY_.js";
9
+ import { p as z } from "../chunk/CUFsOxJ2.js";
10
10
  import D from "./context.js";
11
11
  const p = "AnchorLink", H = {
12
12
  href: "#"
package/anchor/util.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as l, q as u } from "../chunk/uKZyjtff.js";
1
+ import { y as l, q as u } from "../chunk/BhBEMwvI.js";
2
2
  import i from "lodash/isString";
3
3
  import { l as c } from "../chunk/DAAff-FT.js";
4
4
  function d(o, n) {
@@ -1,13 +1,13 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import le from "@unicom-cloud/icons/IconUiLoading";
3
3
  import p, { useContext as ne, useState as se, useRef as B, isValidElement as ae, useImperativeHandle as ce } from "react";
4
- import { a as ie } from "../chunk/Byd0ztYY.js";
4
+ import { a as ie } from "../chunk/Crs3isAx.js";
5
5
  import { u as ue } from "../chunk/BFTV6myl.js";
6
6
  import { u as fe } from "../chunk/DeV0v__J.js";
7
7
  import me from "../input/Input.js";
8
8
  import d from "../select/Select.js";
9
9
  import { isSelectOption as pe, isSelectOptGroup as de } from "../select/util.js";
10
- import { m as ge } from "../chunk/JPPo5nY_.js";
10
+ import { p as ge } from "../chunk/CUFsOxJ2.js";
11
11
  import { e as Ce, o as Oe } from "../chunk/BrOW642m.js";
12
12
  import { o as ye } from "../chunk/BKKEev13.js";
13
13
  import { a as he } from "../chunk/ClqoGc3r.js";
package/avatar/Avatar.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs as W, jsx as m } from "react/jsx-runtime";
2
2
  import j from "lodash/isNumber";
3
3
  import y, { forwardRef as E, useContext as v, useRef as C, useImperativeHandle as H, useEffect as T } from "react";
4
- import { a as D } from "../chunk/Byd0ztYY.js";
5
- import { m as L } from "../chunk/JPPo5nY_.js";
4
+ import { a as D } from "../chunk/Crs3isAx.js";
5
+ import { p as L } from "../chunk/CUFsOxJ2.js";
6
6
  import M from "./context.js";
7
7
  const O = {
8
8
  shape: "circle",
package/avatar/Group.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as o, jsxs as _ } from "react/jsx-runtime";
2
2
  import I from "lodash/isNumber";
3
3
  import R, { forwardRef as $, useContext as b } from "react";
4
- import { a as j } from "../chunk/Byd0ztYY.js";
4
+ import { a as j } from "../chunk/Crs3isAx.js";
5
5
  import { u as T } from "../chunk/BFTV6myl.js";
6
6
  import k from "../popover/index.js";
7
- import { m as q } from "../chunk/JPPo5nY_.js";
7
+ import { p as q } from "../chunk/CUFsOxJ2.js";
8
8
  import w from "./Avatar.js";
9
9
  import v from "./context.js";
10
10
  const L = {
package/back-top/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import x from "@unicom-cloud/icons/IconUiToTop";
3
- import { q as C, I as y } from "../chunk/uKZyjtff.js";
3
+ import { q as y, y as C } from "../chunk/BhBEMwvI.js";
4
4
  import B, { forwardRef as E, useRef as P, useContext as N, useState as R, useEffect as S } from "react";
5
- import { a as H } from "../chunk/Byd0ztYY.js";
6
- import { u as I } from "../chunk/XTEsYGuF.js";
7
- import { u as $ } from "../chunk/BFTV6myl.js";
8
- import { P as q } from "../chunk/Bj4EV0eG.js";
9
- import { m as D } from "../chunk/JPPo5nY_.js";
5
+ import { a as H } from "../chunk/Crs3isAx.js";
6
+ import { u as $ } from "../chunk/XTEsYGuF.js";
7
+ import { u as q } from "../chunk/BFTV6myl.js";
8
+ import { P as D } from "../chunk/BpYX5PN4.js";
9
+ import { p as I } from "../chunk/CUFsOxJ2.js";
10
10
  import { on as K, off as U } from "../utils/dom.js";
11
11
  import { a as j } from "../chunk/ClqoGc3r.js";
12
12
  import A from "../utils/throttleByRaf.js";
@@ -15,10 +15,10 @@ function M(d, c) {
15
15
  const g = {
16
16
  visibleHeight: 400,
17
17
  tween: !0,
18
- easing: C,
18
+ easing: y,
19
19
  duration: 400,
20
20
  target: () => window
21
- }, { getPrefixCls: T, componentConfig: l, rtl: b } = N(H), w = I(), t = $(
21
+ }, { getPrefixCls: T, componentConfig: l, rtl: b } = N(H), w = $(), t = q(
22
22
  d,
23
23
  g,
24
24
  l == null ? void 0 : l.BackTop
@@ -37,7 +37,7 @@ function M(d, c) {
37
37
  const f = () => {
38
38
  var s, n, u;
39
39
  const e = (s = t.target) == null ? void 0 : s.call(t), o = m(e), r = o.scrollTop;
40
- ((n = window.getComputedStyle(o)) == null ? void 0 : n.scrollBehavior) === "smooth" || t.tween === !1 ? o.scrollTo(0, 0) : new y({
40
+ ((n = window.getComputedStyle(o)) == null ? void 0 : n.scrollBehavior) === "smooth" || t.tween === !1 ? o.scrollTo(0, 0) : new C({
41
41
  from: { scrollTop: r },
42
42
  to: { scrollTop: 0 },
43
43
  easing: t.easing,
@@ -52,7 +52,7 @@ function M(d, c) {
52
52
  {
53
53
  ...j(t),
54
54
  ref: c,
55
- className: D(
55
+ className: I(
56
56
  `${a}`,
57
57
  { [`${a}-rtl`]: b },
58
58
  t.className
@@ -63,7 +63,7 @@ function M(d, c) {
63
63
  onPressEnter: f
64
64
  }),
65
65
  children: /* @__PURE__ */ i(
66
- q,
66
+ D,
67
67
  {
68
68
  in: h,
69
69
  timeout: 100,
package/badge/Count.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { useState as d } from "react";
3
- import { u as p } from "../chunk/VSe_Wq1g.js";
4
- import { P as f } from "../chunk/Bj4EV0eG.js";
5
- import { m as l } from "../chunk/JPPo5nY_.js";
2
+ import { useState as u } from "react";
3
+ import { u as d } from "../chunk/VSe_Wq1g.js";
4
+ import { P as f } from "../chunk/BpYX5PN4.js";
5
+ import { p as l } from "../chunk/CUFsOxJ2.js";
6
6
  function S({ prefixCls: s, maxCount: r, count: e, className: n, style: o }) {
7
- const [i, m] = d(!1), a = p(e), u = e !== a;
7
+ const [i, a] = u(!1), m = d(e), p = e !== m;
8
8
  return /* @__PURE__ */ t(
9
9
  f,
10
10
  {
@@ -15,13 +15,13 @@ function S({ prefixCls: s, maxCount: r, count: e, className: n, style: o }) {
15
15
  mountOnEnter: !0,
16
16
  unmountOnExit: !0,
17
17
  onEntered: () => {
18
- m(!0);
18
+ a(!0);
19
19
  },
20
20
  children: /* @__PURE__ */ t("span", { className: n, style: o, children: /* @__PURE__ */ t(
21
21
  "span",
22
22
  {
23
23
  className: l({
24
- [`${s}-number-text`]: i && u
24
+ [`${s}-number-text`]: i && p
25
25
  }),
26
26
  children: r && e > r ? `${r}+` : e
27
27
  },
package/badge/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs as x, jsx as s } from "react/jsx-runtime";
2
2
  import j from "lodash/isPlainObject";
3
3
  import { forwardRef as w, useContext as R } from "react";
4
- import { a as q } from "../chunk/Byd0ztYY.js";
4
+ import { a as q } from "../chunk/Crs3isAx.js";
5
5
  import { u as G } from "../chunk/BFTV6myl.js";
6
- import { P as _ } from "../chunk/Bj4EV0eG.js";
7
- import { m as a } from "../chunk/JPPo5nY_.js";
6
+ import { P as _ } from "../chunk/BpYX5PN4.js";
7
+ import { p as a } from "../chunk/CUFsOxJ2.js";
8
8
  import k from "./Count.js";
9
9
  const $ = [
10
10
  "red",
@@ -23,10 +23,10 @@ const $ = [
23
23
  maxCount: 99
24
24
  };
25
25
  function I(y, C) {
26
- const { getPrefixCls: N, componentConfig: m, rtl: b } = R(q), h = G(
26
+ const { getPrefixCls: N, componentConfig: c, rtl: b } = R(q), h = G(
27
27
  y,
28
28
  z,
29
- m == null ? void 0 : m.Badge
29
+ c == null ? void 0 : c.Badge
30
30
  ), {
31
31
  count: o,
32
32
  prefixText: u,
@@ -55,7 +55,7 @@ function I(y, C) {
55
55
  children: o
56
56
  }
57
57
  );
58
- const c = !e || $.indexOf(e) > -1 ? {} : { backgroundColor: e };
58
+ const m = !e || $.indexOf(e) > -1 ? {} : { backgroundColor: e };
59
59
  return i && !e && !l ? /* @__PURE__ */ s(
60
60
  "span",
61
61
  {
@@ -77,7 +77,7 @@ function I(y, C) {
77
77
  },
78
78
  n
79
79
  ),
80
- style: { ...c, ...r }
80
+ style: { ...m, ...r }
81
81
  }
82
82
  ),
83
83
  !!i && /* @__PURE__ */ s("span", { className: `${t}-status-text`, children: i })
@@ -100,7 +100,7 @@ function I(y, C) {
100
100
  },
101
101
  n
102
102
  ),
103
- style: { ...c, ...r }
103
+ style: { ...m, ...r }
104
104
  }
105
105
  )
106
106
  }
@@ -109,7 +109,7 @@ function I(y, C) {
109
109
  {
110
110
  prefixCls: t,
111
111
  className: a(`${t}-number`, n),
112
- style: { ...c, ...r },
112
+ style: { ...m, ...r },
113
113
  maxCount: P,
114
114
  count: o
115
115
  }