@unicom-cloud/ui 0.8.73 → 0.8.75

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 (306) 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/{oHDWCJnz.js → 0mWCmQHr.js} +3 -3
  93. package/chunk/{UDX9U6M7.js → B8hkFIar.js} +3 -3
  94. package/chunk/BFmckYou.js +25 -0
  95. package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
  96. package/chunk/{Dg0M2OmF.js → BViFMHr-.js} +5 -5
  97. package/chunk/BbqvFW5R.js +927 -0
  98. package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
  99. package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
  100. package/chunk/{B7hulkj9.js → BxZ39GzB.js} +2 -2
  101. package/chunk/C9XYyypq.js +713 -0
  102. package/chunk/CIkPwQlq.js +6 -0
  103. package/chunk/{uH6uxyao.js → CPlPBkN7.js} +2 -2
  104. package/chunk/CUFsOxJ2.js +10 -0
  105. package/chunk/CWlklVfi.js +257 -0
  106. package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
  107. package/chunk/{DejjIa3N.js → DFcz9ZPP.js} +35 -35
  108. package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
  109. package/chunk/{D2LLXZQX.js → DeCsZrXb.js} +4 -4
  110. package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
  111. package/chunk/DskaI8QL.js +25 -0
  112. package/chunk/{7HDzVe32.js → Dv6USvVF.js} +4 -4
  113. package/chunk/{DJDOFlqC.js → EL5Jmjgr.js} +2 -2
  114. package/chunk/{CiY7w1ZO.js → WVoGhvMI.js} +3 -3
  115. package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
  116. package/collapse/Collapse.js +3 -3
  117. package/collapse/Item.js +4 -4
  118. package/collapse/index.js +1 -1
  119. package/color-picker/ControlBar.js +2 -2
  120. package/color-picker/InputAlpha.js +1 -1
  121. package/color-picker/InputHex.js +7 -7
  122. package/color-picker/InputRgb.js +6 -6
  123. package/color-picker/Palette.js +5 -5
  124. package/color-picker/Panel.js +4 -4
  125. package/color-picker/colors.js +7 -12
  126. package/color-picker/index.js +20 -20
  127. package/color-picker/utils.js +1 -1
  128. package/comment/index.js +6 -6
  129. package/config-provider/ConfigProvider.js +2 -2
  130. package/config-provider/context.js +1 -1
  131. package/config-provider/index.js +2 -2
  132. package/copy/index.js +16 -16
  133. package/date-picker/Picker.js +2 -2
  134. package/date-picker/PickerRange.js +3 -3
  135. package/date-picker/index.js +1 -1
  136. package/descriptions/index.js +2 -2
  137. package/divider/index.js +5 -5
  138. package/draggable/Item.js +1 -1
  139. package/draggable/index.js +9 -9
  140. package/drawer/Drawer.js +3 -3
  141. package/dropdown/Button.js +1 -1
  142. package/dropdown/index.js +2 -2
  143. package/empty/index.js +2 -2
  144. package/form/Control.js +1 -1
  145. package/form/Form.js +2 -2
  146. package/form/FormItem.js +3 -3
  147. package/form/FormLabel.js +9 -9
  148. package/form/context.js +1 -1
  149. package/grid/Col.js +2 -2
  150. package/grid/Row.js +2 -2
  151. package/grid/grid-item.js +2 -2
  152. package/grid/grid.js +8 -8
  153. package/icon/index.js +11 -11
  154. package/icon-hover/index.js +2 -2
  155. package/image/Image.js +4 -4
  156. package/image/ImageFooter.js +2 -2
  157. package/image/ImagePreview.js +5 -5
  158. package/image/ImagePreviewArrow.js +4 -4
  159. package/image/ImagePreviewGroup.js +1 -1
  160. package/image/ImagePreviewToolbar.js +1 -1
  161. package/image/TriggerForToolbar.js +4 -4
  162. package/image/index.js +1 -1
  163. package/index.js +586 -592
  164. package/input/Group.js +4 -4
  165. package/input/Input.js +45 -45
  166. package/input/InputElement.js +2 -2
  167. package/input/Password.js +2 -2
  168. package/input/Search.js +2 -2
  169. package/input/Textarea.js +2 -2
  170. package/input-number/index.js +2 -2
  171. package/input-tag/InputTag.js +4 -4
  172. package/layout/Content.js +2 -2
  173. package/layout/Footer.js +5 -5
  174. package/layout/Header.js +4 -4
  175. package/layout/Sider.js +2 -2
  176. package/layout/index.js +2 -2
  177. package/link/index.js +5 -5
  178. package/list/Item.js +2 -2
  179. package/list/Meta.js +4 -4
  180. package/list/index.js +2 -2
  181. package/mentions/index.js +2 -2
  182. package/menu/Item.js +5 -5
  183. package/menu/ItemGroup.js +1 -1
  184. package/menu/Menu.js +3 -3
  185. package/menu/OverflowWrap.js +2 -2
  186. package/menu/index.js +2 -2
  187. package/message/index.js +4 -4
  188. package/message/useMessage.js +1 -1
  189. package/modal/Confirm.js +2 -2
  190. package/modal/Modal.js +4 -4
  191. package/modal/index.js +1 -1
  192. package/notice/index.js +2 -2
  193. package/notification/index.js +4 -4
  194. package/notification/useNotification.js +1 -1
  195. package/overflow-ellipsis/OverflowItem.js +6 -6
  196. package/overflow-ellipsis/index.js +8 -8
  197. package/package.json +1 -1
  198. package/page-header/index.js +2 -2
  199. package/pagination/PageItem.js +2 -2
  200. package/pagination/PageJumper.js +1 -1
  201. package/pagination/PageOption.js +1 -1
  202. package/pagination/Pagination.js +23 -23
  203. package/picker/Input.js +7 -7
  204. package/picker/InputRange.js +9 -9
  205. package/popconfirm/index.js +2 -2
  206. package/popover/index.js +2 -2
  207. package/progress/CircleProgress.js +7 -7
  208. package/progress/LineProgess.js +1 -1
  209. package/progress/StepProgress.js +7 -7
  210. package/progress/index.js +8 -8
  211. package/radio/Group.js +3 -3
  212. package/radio/Radio.js +3 -3
  213. package/radio/index.js +2 -2
  214. package/rate/index.js +2 -2
  215. package/resize-box/ResizeTrigger.js +10 -10
  216. package/resize-box/Split.js +12 -12
  217. package/resize-box/SplitGroup.js +2 -2
  218. package/resize-box/index.js +2 -2
  219. package/result/index.js +9 -9
  220. package/select/Option.js +2 -2
  221. package/select/Select.js +3 -3
  222. package/select-view/Core.js +27 -27
  223. package/select-view/index.js +1 -1
  224. package/skeleton/Image.js +4 -4
  225. package/skeleton/Text.js +7 -7
  226. package/skeleton/index.js +2 -2
  227. package/slider/Button.js +2 -2
  228. package/slider/Dot.js +5 -5
  229. package/slider/Input.js +12 -12
  230. package/slider/Tick.js +6 -6
  231. package/slider/index.js +2 -2
  232. package/space/index.js +12 -12
  233. package/speech-synthesis/index.js +4 -4
  234. package/spin/DotLoading.js +1 -1
  235. package/spin/index.js +2 -2
  236. package/statistic/Countdown.js +7 -7
  237. package/statistic/index.js +20 -20
  238. package/steps/Step.js +1 -1
  239. package/steps/index.js +2 -2
  240. package/style/variables.less +375 -710
  241. package/style.css +1 -1
  242. package/switch/index.js +4 -4
  243. package/table/Table.js +4 -4
  244. package/table/index.js +4 -4
  245. package/tabs/Tab.js +3 -3
  246. package/tabs/TabContent.js +3 -3
  247. package/tabs/TabPane.js +2 -2
  248. package/tabs/index.js +2 -2
  249. package/tag/index.js +6 -6
  250. package/time-picker/Picker.js +2 -2
  251. package/time-picker/TimeColumn.js +7 -7
  252. package/time-picker/TimePicker.js +23 -23
  253. package/time-picker/util.js +5 -5
  254. package/timeline/Item.js +2 -2
  255. package/timeline/Timeline.js +2 -2
  256. package/tooltip/index.js +3 -3
  257. package/transfer/Item.js +3 -3
  258. package/transfer/List.js +3 -3
  259. package/transfer/index.js +2 -2
  260. package/tree/Animation.js +3 -3
  261. package/tree/Node.js +4 -4
  262. package/tree/NodeList.js +1 -1
  263. package/tree/Tree.js +3 -3
  264. package/tree/index.js +1 -1
  265. package/tree-select/Select.js +2 -2
  266. package/trigger/index.js +3 -3
  267. package/types/color-picker/colors.d.ts +1 -1
  268. package/types/config-provider/interface.d.ts +0 -1
  269. package/types/utils/color.d.ts +1 -1
  270. package/types/utils/constant.d.ts +1 -1
  271. package/types/utils/index.d.ts +1 -0
  272. package/types/utils/setDarkTheme.d.ts +4 -0
  273. package/typography/Base.js +2 -2
  274. package/typography/EditContent.js +1 -1
  275. package/typography/Ellipsis.js +14 -15
  276. package/typography/Paragraph.js +6 -6
  277. package/typography/Typography.js +5 -5
  278. package/typography/index.js +12 -13
  279. package/upload/TriggerNode.js +2 -2
  280. package/upload/Upload.js +5 -5
  281. package/upload/Uploader.js +2 -2
  282. package/upload/request.js +1 -1
  283. package/upload/request_.js +1 -1
  284. package/utils/PqbCSSTransition.js +1 -1
  285. package/utils/className.js +3 -3
  286. package/utils/color.js +2 -116
  287. package/utils/constant.js +3 -2
  288. package/utils/contextHolder.js +1 -1
  289. package/utils/copy.js +4 -4
  290. package/utils/dom.js +1 -1
  291. package/utils/fileToURL.js +1 -1
  292. package/utils/index.js +303 -309
  293. package/utils/reactTransitionGroup.js +1 -1
  294. package/utils/saveAs.js +1 -1
  295. package/utils/setDarkTheme.js +7 -0
  296. package/utils/tinycolor.js +13 -13
  297. package/utils/tween.js +1 -1
  298. package/verification-code/VerificationCode.js +7 -7
  299. package/version/index.js +1 -1
  300. package/watermark/Watermark.js +6 -6
  301. package/chunk/B0UZ1Ee2.js +0 -257
  302. package/chunk/Byd0ztYY.js +0 -724
  303. package/chunk/CCVU-Kst.js +0 -770
  304. package/chunk/CTxjmYmx.js +0 -19
  305. package/chunk/D0ZWT7db.js +0 -5
  306. package/chunk/JPPo5nY_.js +0 -9
package/menu/Menu.js CHANGED
@@ -3,19 +3,19 @@ import "@unicom-cloud/icons/IconUiMenuFold";
3
3
  import "@unicom-cloud/icons/IconUiMenuUnfold";
4
4
  import "lodash/isPlainObject";
5
5
  import "react";
6
- import "../chunk/Byd0ztYY.js";
6
+ import "../chunk/C9XYyypq.js";
7
7
  import "../chunk/CQ_WOOmf.js";
8
8
  import "../chunk/B4YRLi8r.js";
9
9
  import "../chunk/XTEsYGuF.js";
10
10
  import "../chunk/BFTV6myl.js";
11
11
  import "../chunk/DeV0v__J.js";
12
12
  import "../layout/Sider.js";
13
- import "../chunk/JPPo5nY_.js";
13
+ import "../chunk/CUFsOxJ2.js";
14
14
  import "../chunk/BKKEev13.js";
15
15
  import "./context.js";
16
16
  import { default as I } from "./Item.js";
17
17
  import { default as c } from "./ItemGroup.js";
18
- import { S as h, S as j, M as k } from "../chunk/UDX9U6M7.js";
18
+ import { S as h, S as j, M as k } from "../chunk/B8hkFIar.js";
19
19
  import "./util.js";
20
20
  export {
21
21
  I as MenuItem,
@@ -1,10 +1,10 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../chunk/JPPo5nY_.js";
3
+ import "../chunk/CUFsOxJ2.js";
4
4
  import "../chunk/CIRG541s.js";
5
5
  import "../utils/style.js";
6
6
  import "./context.js";
7
- import { O as f } from "../chunk/UDX9U6M7.js";
7
+ import { O as f } from "../chunk/B8hkFIar.js";
8
8
  export {
9
9
  f as default
10
10
  };
package/menu/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as o } from "../chunk/UDX9U6M7.js";
2
- import { S as r, S as a } from "../chunk/UDX9U6M7.js";
1
+ import { M as o } from "../chunk/B8hkFIar.js";
2
+ import { S as r, S as a } from "../chunk/B8hkFIar.js";
3
3
  import { default as n } from "./Item.js";
4
4
  import { default as p } from "./ItemGroup.js";
5
5
  export {
package/message/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
- import "../chunk/Cj2SQJiO.js";
2
+ import "../chunk/BJ9_azwQ.js";
3
3
  import "lodash/isNumber";
4
4
  import "lodash/isUndefined";
5
5
  import "react";
6
6
  import "react-dom/client";
7
- import { M as g, m as M, u as d } from "../chunk/Byd0ztYY.js";
7
+ import { M as g, m as M, u as d } from "../chunk/C9XYyypq.js";
8
8
  import "../notification/withNotification.js";
9
- import "../chunk/Bj4EV0eG.js";
10
- import "../chunk/JPPo5nY_.js";
9
+ import "../chunk/BpYX5PN4.js";
10
+ import "../chunk/CUFsOxJ2.js";
11
11
  export {
12
12
  g as default,
13
13
  M as messageTypes,
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "lodash/isString";
3
3
  import "react";
4
- import { u as i } from "../chunk/Byd0ztYY.js";
4
+ import { u as i } from "../chunk/C9XYyypq.js";
5
5
  export {
6
6
  i as default
7
7
  };
package/modal/Confirm.js CHANGED
@@ -4,8 +4,8 @@ import "@unicom-cloud/icons/IconUiCloseCircleFill";
4
4
  import "@unicom-cloud/icons/IconUiExclamationCircleFill";
5
5
  import "@unicom-cloud/icons/IconUiInfoCircleFill";
6
6
  import "react-dom/client";
7
- import "../chunk/Byd0ztYY.js";
8
- import { c as l, n as s } from "../chunk/CiY7w1ZO.js";
7
+ import "../chunk/C9XYyypq.js";
8
+ import { c as l, n as s } from "../chunk/WVoGhvMI.js";
9
9
  import "./config.js";
10
10
  export {
11
11
  l as default,
package/modal/Modal.js CHANGED
@@ -3,19 +3,19 @@ import "@unicom-cloud/icons/IconUiClose";
3
3
  import "lodash/isFunction";
4
4
  import "react";
5
5
  import "../button/index.js";
6
- import "../chunk/Byd0ztYY.js";
6
+ import "../chunk/C9XYyypq.js";
7
7
  import "../chunk/oopARUrq.js";
8
8
  import "../chunk/BFTV6myl.js";
9
9
  import "../chunk/DeV0v__J.js";
10
10
  import "../chunk/DU1RCDfh.js";
11
11
  import "../portal/index.js";
12
- import "../chunk/Bj4EV0eG.js";
13
- import "../chunk/JPPo5nY_.js";
12
+ import "../chunk/BpYX5PN4.js";
13
+ import "../chunk/CUFsOxJ2.js";
14
14
  import "../utils/dom.js";
15
15
  import "../chunk/BrOW642m.js";
16
16
  import "../chunk/BKKEev13.js";
17
17
  import "../chunk/Cc_-i0o_.js";
18
- import { E as k } from "../chunk/CiY7w1ZO.js";
18
+ import { E as k } from "../chunk/WVoGhvMI.js";
19
19
  import "./config.js";
20
20
  export {
21
21
  k as default
package/modal/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as t } from "../chunk/CiY7w1ZO.js";
1
+ import { E as t } from "../chunk/WVoGhvMI.js";
2
2
  export {
3
3
  t as default
4
4
  };
package/notice/index.js CHANGED
@@ -7,7 +7,7 @@ import "@unicom-cloud/icons/IconUiInfoCircleFill";
7
7
  import "@unicom-cloud/icons/IconUiLoading";
8
8
  import "@unicom-cloud/icons/context";
9
9
  import "react";
10
- import { f as v } from "../chunk/Byd0ztYY.js";
10
+ import { f as v } from "../chunk/C9XYyypq.js";
11
11
  import "lodash/isEqualWith";
12
12
  import "../chunk/DAAff-FT.js";
13
13
  import "lodash/isNumber";
@@ -18,7 +18,7 @@ import "../chunk/BFTV6myl.js";
18
18
  import "../chunk/Cc_-i0o_.js";
19
19
  import "../chunk/Ce1j9KTi.js";
20
20
  import "lodash/debounce";
21
- import "../chunk/JPPo5nY_.js";
21
+ import "../chunk/CUFsOxJ2.js";
22
22
  export {
23
23
  v as default
24
24
  };
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
- import "../chunk/Cj2SQJiO.js";
2
+ import "../chunk/BJ9_azwQ.js";
3
3
  import "lodash/isNumber";
4
4
  import "lodash/isUndefined";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  import "react-dom/client";
8
- import { N as g, g as u, n as N, c as d } from "../chunk/Byd0ztYY.js";
9
- import "../chunk/Bj4EV0eG.js";
10
- import "../chunk/JPPo5nY_.js";
8
+ import { N as g, g as u, n as N, c as d } from "../chunk/C9XYyypq.js";
9
+ import "../chunk/BpYX5PN4.js";
10
+ import "../chunk/CUFsOxJ2.js";
11
11
  import "./withNotification.js";
12
12
  export {
13
13
  g as default,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { c as p } from "../chunk/Byd0ztYY.js";
3
+ import { c as p } from "../chunk/C9XYyypq.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1,30 +1,30 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import u from "lodash/isFunction";
3
3
  import { useContext as a, useRef as d, useEffect as i } from "react";
4
- import { a as l } from "../chunk/Byd0ztYY.js";
5
- import { m as x } from "../chunk/JPPo5nY_.js";
4
+ import { a as l } from "../chunk/C9XYyypq.js";
5
+ import { p as x } from "../chunk/CUFsOxJ2.js";
6
6
  import { r as h } from "../chunk/CIRG541s.js";
7
7
  function E(e) {
8
8
  const { getPrefixCls: f } = a(l), n = f("overflow-item"), r = d();
9
9
  i(() => {
10
10
  if (!u(e.onResize)) return;
11
- const c = h([r.current], (t) => {
11
+ const m = h([r.current], (t) => {
12
12
  var o;
13
13
  e.onResize((o = t == null ? void 0 : t[0]) == null ? void 0 : o.target);
14
14
  });
15
15
  return () => {
16
- c();
16
+ m();
17
17
  };
18
18
  }, [r.current, e.onResize]), i(() => (e.onResize(r.current), () => {
19
19
  e.unregister(r.current);
20
20
  }), []);
21
- const m = e.hidden;
21
+ const c = e.hidden;
22
22
  return /* @__PURE__ */ s(
23
23
  "div",
24
24
  {
25
25
  ref: r,
26
26
  className: x(n, e.className, {
27
- [`${n}-hidden`]: m
27
+ [`${n}-hidden`]: c
28
28
  }),
29
29
  children: e.children
30
30
  }
@@ -1,11 +1,11 @@
1
1
  import { jsxs as j, jsx as C } from "react/jsx-runtime";
2
2
  import { useContext as k, useState as i, useLayoutEffect as N, useRef as b, useEffect as E } from "react";
3
- import { a as z } from "../chunk/Byd0ztYY.js";
4
- import { m as I } from "../chunk/JPPo5nY_.js";
3
+ import { a as z } from "../chunk/C9XYyypq.js";
4
+ import { p as I } from "../chunk/CUFsOxJ2.js";
5
5
  import { r as M } from "../chunk/CIRG541s.js";
6
6
  import v from "./OverflowItem.js";
7
7
  function q(u) {
8
- const { getPrefixCls: O } = k(z), f = O("overflow"), { items: a, suffixItems: g } = u, y = u.ellipsisNode || (({ ellipsisCount: e }) => `+${e}`), [d, W] = i(), [m, _] = i(), [l, h] = i({}), [x, w] = i({}), p = a.length - m, $ = p > 0 ? y({ ellipsisCount: p }) : null;
8
+ const { getPrefixCls: O } = k(z), f = O("overflow"), { items: a, suffixItems: g } = u, y = u.ellipsisNode || (({ ellipsisCount: e }) => `+${e}`), [d, W] = i(), [h, _] = i(), [l, m] = i({}), [x, p] = i({}), w = a.length - h, $ = w > 0 ? y({ ellipsisCount: w }) : null;
9
9
  N(() => {
10
10
  const e = Object.values(l).length;
11
11
  let s = Object.values(x).reduce((t, o) => t + ((o == null ? void 0 : o.width) || 0), 0), r = e;
@@ -32,12 +32,12 @@ function q(u) {
32
32
  v,
33
33
  {
34
34
  onResize: (t) => {
35
- h((o) => (o[r] = { node: t, width: t.clientWidth }, o));
35
+ m((o) => (o[r] = { node: t, width: t.clientWidth }, o));
36
36
  },
37
37
  unregister: () => {
38
- h((t) => (delete t[r], t));
38
+ m((t) => (delete t[r], t));
39
39
  },
40
- hidden: m < s + 1,
40
+ hidden: h < s + 1,
41
41
  children: e
42
42
  },
43
43
  r
@@ -52,13 +52,13 @@ function q(u) {
52
52
  {
53
53
  className: `${f}-suffix-item`,
54
54
  onResize: (t) => {
55
- w((o) => ({
55
+ p((o) => ({
56
56
  ...o,
57
57
  [`${r}`]: { node: t, width: t.clientWidth }
58
58
  }));
59
59
  },
60
60
  unregister: () => {
61
- w((t) => (delete t[r], {
61
+ p((t) => (delete t[r], {
62
62
  ...t
63
63
  }));
64
64
  },
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui","version":"0.8.73","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
1
+ {"name":"@unicom-cloud/ui","version":"0.8.75","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
@@ -3,10 +3,10 @@ import B from "@unicom-cloud/icons/IconUiLeft";
3
3
  import _ from "@unicom-cloud/icons/IconUiRight";
4
4
  import T, { useContext as W, useState as j, useRef as z, useImperativeHandle as K, useEffect as U } from "react";
5
5
  import D from "../breadcrumb/index.js";
6
- import { a as F, I as L } from "../chunk/Byd0ztYY.js";
6
+ import { a as F, I as L } from "../chunk/C9XYyypq.js";
7
7
  import { u as M } from "../chunk/XTEsYGuF.js";
8
8
  import { u as O } from "../chunk/BFTV6myl.js";
9
- import { m as p } from "../chunk/JPPo5nY_.js";
9
+ import { p } from "../chunk/CUFsOxJ2.js";
10
10
  import { o as S } from "../chunk/BKKEev13.js";
11
11
  import { r as q } from "../chunk/CIRG541s.js";
12
12
  function $(b, g) {
@@ -3,9 +3,9 @@ import S from "@unicom-cloud/icons/IconUiLeft";
3
3
  import j from "@unicom-cloud/icons/IconUiMore";
4
4
  import K from "@unicom-cloud/icons/IconUiRight";
5
5
  import U, { useContext as E } from "react";
6
- import { a as N } from "../chunk/Byd0ztYY.js";
6
+ import { a as N } from "../chunk/C9XYyypq.js";
7
7
  import { u as R } from "../chunk/XTEsYGuF.js";
8
- import { m as k } from "../chunk/JPPo5nY_.js";
8
+ import { p as k } from "../chunk/CUFsOxJ2.js";
9
9
  var _ = /* @__PURE__ */ ((t) => (t[t.previous = 0] = "previous", t[t.next = 1] = "next", t))(_ || {});
10
10
  function L(t) {
11
11
  var m, n, s;
@@ -3,7 +3,7 @@ import I from "lodash/isFunction";
3
3
  import J from "lodash/isPlainObject";
4
4
  import N from "lodash/isUndefined";
5
5
  import { useContext as E, useState as R, useRef as T, useEffect as w } from "react";
6
- import { a as z } from "../chunk/Byd0ztYY.js";
6
+ import { a as z } from "../chunk/C9XYyypq.js";
7
7
  import B from "../input/Input.js";
8
8
  function A(n) {
9
9
  var d, g;
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import P, { useRef as d, useContext as C } from "react";
3
- import { a as O } from "../chunk/Byd0ztYY.js";
3
+ import { a as O } from "../chunk/C9XYyypq.js";
4
4
  import p from "../select/Select.js";
5
5
  const x = () => {
6
6
  }, z = p.Option, h = [10, 20, 30, 40, 50];
@@ -1,9 +1,9 @@
1
- import { jsxs as O, jsx as c } from "react/jsx-runtime";
1
+ import { jsxs as O, jsx as p } from "react/jsx-runtime";
2
2
  import H, { forwardRef as $e, useContext as be, useEffect as K, createElement as P } from "react";
3
- import { a as Me } from "../chunk/Byd0ztYY.js";
3
+ import { a as Me } from "../chunk/C9XYyypq.js";
4
4
  import { u as je } from "../chunk/BFTV6myl.js";
5
5
  import { u as Q } from "../chunk/DeV0v__J.js";
6
- import { m as ke } from "../chunk/JPPo5nY_.js";
6
+ import { p as ke } from "../chunk/CUFsOxJ2.js";
7
7
  import { a as Je } from "../chunk/ClqoGc3r.js";
8
8
  import $, { StepPager as b, StepType as m, JumpPager as F } from "./PageItem.js";
9
9
  import U from "./PageJumper.js";
@@ -85,8 +85,8 @@ function Fe(f, d) {
85
85
  "current" in s || k(t), _(t);
86
86
  }, {
87
87
  className: ue,
88
- style: ce,
89
- pageItemStyle: pe,
88
+ style: pe,
89
+ pageItemStyle: ce,
90
90
  activePageItemStyle: fe,
91
91
  showTotal: S,
92
92
  sizeCanChange: ge,
@@ -110,7 +110,7 @@ function Fe(f, d) {
110
110
  ue
111
111
  );
112
112
  let E;
113
- const i = [], l = I(g, h), p = Re(s.bufferSize, l);
113
+ const i = [], l = I(g, h), c = Re(s.bufferSize, l);
114
114
  if (ze && l <= 1)
115
115
  return null;
116
116
  const u = {
@@ -121,15 +121,15 @@ function Fe(f, d) {
121
121
  allPages: l,
122
122
  icons: de,
123
123
  disabled: x,
124
- pageItemStyle: pe,
124
+ pageItemStyle: ce,
125
125
  activePageItemStyle: fe,
126
126
  itemRender: Ce
127
127
  };
128
128
  if (y) {
129
129
  const t = `${r}-item-simple`;
130
130
  E = /* @__PURE__ */ O("ul", { className: `${r}-list`, children: [
131
- /* @__PURE__ */ c(b, { ...u, type: m.previous }, "previous"),
132
- /* @__PURE__ */ c("li", { className: `${t}-pager`, children: /* @__PURE__ */ c(
131
+ /* @__PURE__ */ p(b, { ...u, type: m.previous }, "previous"),
132
+ /* @__PURE__ */ p("li", { className: `${t}-pager`, children: /* @__PURE__ */ p(
133
133
  U,
134
134
  {
135
135
  disabled: x,
@@ -143,28 +143,28 @@ function Fe(f, d) {
143
143
  size: w
144
144
  }
145
145
  ) }),
146
- /* @__PURE__ */ c(b, { ...u, type: m.next }, "next")
146
+ /* @__PURE__ */ p(b, { ...u, type: m.next }, "next")
147
147
  ] });
148
148
  } else {
149
- const t = 3 + p, a = l - 2 - p;
149
+ const t = 3 + c, a = l - 2 - c;
150
150
  if (
151
151
  // beginPage(1 page) + bufferSize * 2 + endPage(1 page) + ...(2 pages)
152
- l <= 4 + p * 2 || e === t && e === a
152
+ l <= 4 + c * 2 || e === t && e === a
153
153
  )
154
154
  for (let n = 1; n <= l; n++)
155
155
  i.push(/* @__PURE__ */ P($, { ...u, key: n, pageNum: n }));
156
156
  else {
157
157
  let n = 1, o = l, q = !0, G = !0;
158
- e > t && e < a ? (o = e + p, n = e - p) : e <= t ? (q = !1, n = 1, o = Math.max(t, p + e)) : e >= a && (G = !1, o = l, n = Math.min(a, e - p));
158
+ e > t && e < a ? (o = e + c, n = e - c) : e <= t ? (q = !1, n = 1, o = Math.max(t, c + e)) : e >= a && (G = !1, o = l, n = Math.min(a, e - c));
159
159
  for (let v = n; v <= o; v++)
160
- i.push(/* @__PURE__ */ c($, { pageNum: v, ...u }, v));
160
+ i.push(/* @__PURE__ */ p($, { pageNum: v, ...u }, v));
161
161
  const ye = /* @__PURE__ */ P(
162
162
  F,
163
163
  {
164
164
  ...u,
165
165
  key: n - 1,
166
166
  type: m.previous,
167
- jumpPage: -(p * 2 + 1)
167
+ jumpPage: -(c * 2 + 1)
168
168
  }
169
169
  ), we = /* @__PURE__ */ P(
170
170
  F,
@@ -172,9 +172,9 @@ function Fe(f, d) {
172
172
  ...u,
173
173
  key: o + 1,
174
174
  type: m.next,
175
- jumpPage: p * 2 + 1
175
+ jumpPage: c * 2 + 1
176
176
  }
177
- ), Ne = /* @__PURE__ */ c($, { pageNum: 1, ...u }, 1), ve = /* @__PURE__ */ P($, { ...u, key: l, pageNum: l });
177
+ ), Ne = /* @__PURE__ */ p($, { pageNum: 1, ...u }, 1), ve = /* @__PURE__ */ P($, { ...u, key: l, pageNum: l });
178
178
  q && (i[0] = H.cloneElement(i[0], {
179
179
  className: `${r}-item-after-pre`
180
180
  }), i.unshift(ye), i.unshift(Ne)), G && (i[i.length - 1] = H.cloneElement(
@@ -193,24 +193,24 @@ function Fe(f, d) {
193
193
  ...u,
194
194
  key: l + 1,
195
195
  type: m.next,
196
- jumpPage: p * 2 + 1
196
+ jumpPage: c * 2 + 1
197
197
  }
198
198
  ),
199
- /* @__PURE__ */ c(b, { ...u, type: m.next }, "next")
199
+ /* @__PURE__ */ p(b, { ...u, type: m.next }, "next")
200
200
  ] });
201
201
  }
202
202
  let R = null;
203
- return typeof S == "boolean" && S && (R = /* @__PURE__ */ c("div", { className: `${r}-total-text`, children: (W = (N = (D = C == null ? void 0 : C.Pagination) == null ? void 0 : D.total) == null ? void 0 : N.replace) == null ? void 0 : W.call(N, "{0}", h) })), typeof S == "function" && (R = /* @__PURE__ */ c("div", { className: `${r}-total-text`, children: S(h, [(e - 1) * g + 1, e * g]) })), /* @__PURE__ */ O(
203
+ return typeof S == "boolean" && S && (R = /* @__PURE__ */ p("div", { className: `${r}-total-text`, children: (W = (N = (D = C == null ? void 0 : C.Pagination) == null ? void 0 : D.total) == null ? void 0 : N.replace) == null ? void 0 : W.call(N, "{0}", h) })), typeof S == "function" && (R = /* @__PURE__ */ p("div", { className: `${r}-total-text`, children: S(h, [(e - 1) * g + 1, e * g]) })), /* @__PURE__ */ O(
204
204
  "div",
205
205
  {
206
206
  ...Je(s),
207
207
  className: Se,
208
- style: ce,
208
+ style: pe,
209
209
  ref: d,
210
210
  children: [
211
211
  R,
212
212
  E,
213
- !!oe && /* @__PURE__ */ c(
213
+ !!oe && /* @__PURE__ */ p(
214
214
  Ae,
215
215
  {
216
216
  disabled: x,
@@ -223,7 +223,7 @@ function Fe(f, d) {
223
223
  selectProps: Pe
224
224
  }
225
225
  ),
226
- !y && A && /* @__PURE__ */ c(
226
+ !y && A && /* @__PURE__ */ p(
227
227
  U,
228
228
  {
229
229
  disabled: x,
package/picker/Input.js CHANGED
@@ -2,8 +2,8 @@ import { jsxs as C, jsx as f } from "react/jsx-runtime";
2
2
  import X from "@unicom-cloud/icons/IconUiClose";
3
3
  import Y from "lodash/isArray";
4
4
  import { forwardRef as Z, useContext as _, useRef as I, useState as E, useImperativeHandle as P } from "react";
5
- import { a as p, I as ee } from "../chunk/Byd0ztYY.js";
6
- import { m as k } from "../chunk/JPPo5nY_.js";
5
+ import { a as p, I as ee } from "../chunk/C9XYyypq.js";
6
+ import { p as k } from "../chunk/CUFsOxJ2.js";
7
7
  import { e as ce } from "../chunk/BrOW642m.js";
8
8
  import { o as le } from "../chunk/BKKEev13.js";
9
9
  function ae({
@@ -15,7 +15,7 @@ function ae({
15
15
  error: F,
16
16
  disabled: i,
17
17
  placeholder: R,
18
- format: s,
18
+ format: m,
19
19
  size: j,
20
20
  onClear: O,
21
21
  editable: S,
@@ -55,8 +55,8 @@ function ae({
55
55
  var a;
56
56
  (a = e == null ? void 0 : e.onChange) == null || a.call(e, c), r == null || r(c);
57
57
  }
58
- let m = "";
59
- $ !== void 0 ? m = $ : o && !Y(o) && (m = typeof s == "function" ? s(o) : o.locale(M.dayjsLocale).format(s));
58
+ let s = "";
59
+ $ !== void 0 ? s = $ : o && !Y(o) && (s = typeof m == "function" ? m(o) : o.locale(M.dayjsLocale).format(m));
60
60
  const Q = S ? {} : { readOnly: !0 }, l = g || A("picker"), h = D || (F ? "error" : void 0), T = W || u, V = k(
61
61
  l,
62
62
  `${l}-size-${q}`,
@@ -92,7 +92,7 @@ function ae({
92
92
  disabled: i,
93
93
  placeholder: R,
94
94
  className: `${l}-start-time`,
95
- value: m,
95
+ value: s,
96
96
  onKeyDown: G,
97
97
  onChange: J,
98
98
  ...Q,
@@ -109,7 +109,7 @@ function ae({
109
109
  }
110
110
  ),
111
111
  /* @__PURE__ */ C("div", { className: `${l}-suffix`, children: [
112
- w && m && /* @__PURE__ */ f(
112
+ w && s && /* @__PURE__ */ f(
113
113
  ee,
114
114
  {
115
115
  prefix: l,
@@ -1,9 +1,9 @@
1
1
  import { jsxs as q, jsx as n } from "react/jsx-runtime";
2
2
  import fc from "@unicom-cloud/icons/IconUiClose";
3
3
  import F from "lodash/isArray";
4
- import { forwardRef as nc, useContext as sc, useRef as D, useState as mc, useImperativeHandle as ic } from "react";
5
- import { a as uc, I as $c } from "../chunk/Byd0ztYY.js";
6
- import { m as B } from "../chunk/JPPo5nY_.js";
4
+ import { forwardRef as nc, useContext as sc, useRef as D, useState as ic, useImperativeHandle as mc } from "react";
5
+ import { a as uc, I as $c } from "../chunk/C9XYyypq.js";
6
+ import { p as B } from "../chunk/CUFsOxJ2.js";
7
7
  import { e as hc, c as yc } from "../chunk/BrOW642m.js";
8
8
  import { o as Cc } from "../chunk/BKKEev13.js";
9
9
  function gc({
@@ -14,9 +14,9 @@ function gc({
14
14
  className: X,
15
15
  disabled: s,
16
16
  placeholder: w = [],
17
- value: m = [],
17
+ value: i = [],
18
18
  popupVisible: Y,
19
- format: i,
19
+ format: m,
20
20
  size: Z,
21
21
  onClear: _,
22
22
  editable: E,
@@ -39,8 +39,8 @@ function gc({
39
39
  size: ec,
40
40
  locale: oc,
41
41
  rtl: lc
42
- } = sc(uc), g = D(null), N = D(null), K = D(null), [j, O] = mc([!1, !1]), k = F(s) ? s[0] : s, v = F(s) ? s[1] : s;
43
- ic(P, () => ({
42
+ } = sc(uc), g = D(null), N = D(null), K = D(null), [j, O] = ic([!1, !1]), k = F(s) ? s[0] : s, v = F(s) ? s[1] : s;
43
+ mc(P, () => ({
44
44
  focus(c) {
45
45
  var l, r;
46
46
  (f === 0 && !k || f === 1 && !v) && ((r = (l = ((typeof c == "number" ? c : f) === 0 ? g : N).current) == null ? void 0 : l.focus) == null || r.call(l));
@@ -85,7 +85,7 @@ function gc({
85
85
  },
86
86
  X
87
87
  ), W = (c) => {
88
- const o = m[c] ? m[c].locale(oc.dayjsLocale).format(F(i) ? i[c] : i) : "";
88
+ const o = i[c] ? i[c].locale(oc.dayjsLocale).format(F(m) ? m[c] : m) : "";
89
89
  return z && c === f ? z : o;
90
90
  }, b = E ? {} : { readOnly: !0 };
91
91
  function d(c) {
@@ -137,7 +137,7 @@ function gc({
137
137
  }
138
138
  ) }),
139
139
  /* @__PURE__ */ q("div", { className: `${a}-suffix`, children: [
140
- G && m.length === 2 && /* @__PURE__ */ n(
140
+ G && i.length === 2 && /* @__PURE__ */ n(
141
141
  $c,
142
142
  {
143
143
  prefix: a,
@@ -4,11 +4,11 @@ import N from "lodash/isFunction";
4
4
  import K from "lodash/isNil";
5
5
  import { forwardRef as Q, useContext as X, useState as Y, useImperativeHandle as Z, useEffect as _ } from "react";
6
6
  import V from "../button/index.js";
7
- import { a as ee } from "../chunk/Byd0ztYY.js";
7
+ import { a as ee } from "../chunk/C9XYyypq.js";
8
8
  import { u as oe } from "../chunk/BFTV6myl.js";
9
9
  import { u as ne } from "../chunk/DeV0v__J.js";
10
10
  import te from "../tooltip/index.js";
11
- import { m as ie } from "../chunk/JPPo5nY_.js";
11
+ import { p as ie } from "../chunk/CUFsOxJ2.js";
12
12
  const re = {
13
13
  position: "top",
14
14
  okType: "primary",
package/popover/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs as j, jsx as e } from "react/jsx-runtime";
2
2
  import m from "lodash/isFunction";
3
3
  import { forwardRef as O, useContext as R } from "react";
4
- import { a as T } from "../chunk/Byd0ztYY.js";
4
+ import { a as T } from "../chunk/C9XYyypq.js";
5
5
  import { u as w } from "../chunk/BFTV6myl.js";
6
6
  import F from "../tooltip/index.js";
7
- import { m as H } from "../chunk/JPPo5nY_.js";
7
+ import { p as H } from "../chunk/CUFsOxJ2.js";
8
8
  import { c as u } from "../chunk/DAAff-FT.js";
9
9
  const M = {
10
10
  position: "top",
@@ -1,4 +1,4 @@
1
- import { jsx as e, jsxs as p } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as y } from "react/jsx-runtime";
2
2
  import w from "@unicom-cloud/icons/IconUiCheck";
3
3
  import W from "@unicom-cloud/icons/IconUiExclamation";
4
4
  import I from "lodash/isFunction";
@@ -6,7 +6,7 @@ import T from "lodash/isPlainObject";
6
6
  import { useCallback as b } from "react";
7
7
  import { u as j } from "../chunk/B4YRLi8r.js";
8
8
  import S from "../tooltip/index.js";
9
- import { m as C } from "../chunk/JPPo5nY_.js";
9
+ import { p as C } from "../chunk/CUFsOxJ2.js";
10
10
  const G = {
11
11
  mini: 4,
12
12
  small: 3,
@@ -40,8 +40,8 @@ const G = {
40
40
  }
41
41
  },
42
42
  [c, o]
43
- ), v = j(`${h}-linear-gradient-`), y = $ ? `url(#${v})` : t.color;
44
- let d = /* @__PURE__ */ p(
43
+ ), v = j(`${h}-linear-gradient-`), p = $ ? `url(#${v})` : t.color;
44
+ let d = /* @__PURE__ */ y(
45
45
  "div",
46
46
  {
47
47
  className: `${i}-wrapper`,
@@ -51,7 +51,7 @@ const G = {
51
51
  "aria-valuenow": o,
52
52
  style: { width: r, height: r },
53
53
  children: [
54
- /* @__PURE__ */ p("svg", { viewBox: `0 0 ${r} ${r}`, className: `${N}`, children: [
54
+ /* @__PURE__ */ y("svg", { viewBox: `0 0 ${r} ${r}`, className: `${N}`, children: [
55
55
  $ && /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("linearGradient", { id: v, x1: "0", y1: "1", x2: "0", y2: "0", children: Object.keys(t.color).sort().map((a) => /* @__PURE__ */ e("stop", { offset: a, stopColor: t.color[a] }, a)) }) }),
56
56
  /* @__PURE__ */ e(
57
57
  "circle",
@@ -77,7 +77,7 @@ const G = {
77
77
  r: m,
78
78
  strokeWidth: n,
79
79
  style: {
80
- stroke: y,
80
+ stroke: p,
81
81
  strokeDasharray: k,
82
82
  strokeDashoffset: (o > 100 ? 100 : 1 - o / 100) * k
83
83
  }
@@ -96,7 +96,7 @@ const G = {
96
96
  ]
97
97
  }
98
98
  );
99
- return s === "mini" && x === "success" && t.type === "circle" && (d = /* @__PURE__ */ e("div", { className: `${i}-wrapper`, style: { width: r, height: r }, children: /* @__PURE__ */ e(w, { style: { fontSize: r - 2, color: y } }) })), s === "mini" && f ? /* @__PURE__ */ e(
99
+ return s === "mini" && x === "success" && t.type === "circle" && (d = /* @__PURE__ */ e("div", { className: `${i}-wrapper`, style: { width: r, height: r }, children: /* @__PURE__ */ e(w, { style: { fontSize: r - 2, color: p } }) })), s === "mini" && f ? /* @__PURE__ */ e(
100
100
  S,
101
101
  {
102
102
  content: /* @__PURE__ */ e(
@@ -3,7 +3,7 @@ import C from "@unicom-cloud/icons/IconUiExclamationCircleFill";
3
3
  import j from "lodash/isFunction";
4
4
  import N from "lodash/isPlainObject";
5
5
  import { useCallback as y } from "react";
6
- import { m as u } from "../chunk/JPPo5nY_.js";
6
+ import { p as u } from "../chunk/CUFsOxJ2.js";
7
7
  const m = (t, a) => {
8
8
  if (N(t)) {
9
9
  const s = Object.keys(t).map((e) => `${t[e]} ${e}`).join(","), o = a ? { backgroundSize: `${100 * 100 / a}%` } : {};