@unicom-cloud/ui 0.8.68 → 0.8.70

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 (256) 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/Collapse.js +1 -1
  14. package/ColorPicker.js +1 -1
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Divider.js +1 -1
  21. package/Draggable.js +1 -1
  22. package/Dropdown.js +1 -1
  23. package/Empty.js +1 -1
  24. package/Icon.js +1 -1
  25. package/IconHover.js +1 -1
  26. package/Image.js +1 -1
  27. package/InputNumber.js +1 -1
  28. package/Layout.js +1 -1
  29. package/Link.js +1 -1
  30. package/List.js +1 -1
  31. package/Mentions.js +1 -1
  32. package/Menu.js +1 -1
  33. package/Message.js +1 -1
  34. package/Modal.js +1 -1
  35. package/Notice.js +1 -1
  36. package/Notification.js +1 -1
  37. package/OverflowEllipsis.js +1 -1
  38. package/PageHeader.js +1 -1
  39. package/Popconfirm.js +1 -1
  40. package/Popover.js +1 -1
  41. package/Progress.js +1 -1
  42. package/Radio.js +1 -1
  43. package/Rate.js +1 -1
  44. package/ResizeBox.js +1 -1
  45. package/Result.js +1 -1
  46. package/Skeleton.js +1 -1
  47. package/Slider.js +2 -2
  48. package/Space.js +1 -1
  49. package/Spin.js +1 -1
  50. package/Statistic.js +1 -1
  51. package/Steps.js +1 -1
  52. package/Switch.js +1 -1
  53. package/Table.js +1 -1
  54. package/Tabs.js +1 -1
  55. package/Tag.js +1 -1
  56. package/Tooltip.js +1 -1
  57. package/Transfer.js +1 -1
  58. package/Tree.js +1 -1
  59. package/Trigger.js +1 -1
  60. package/affix/index.js +1 -1
  61. package/alert/index.js +1 -1
  62. package/anchor/Anchor.js +1 -1
  63. package/anchor/Link.js +1 -1
  64. package/auto-complete/index.js +1 -1
  65. package/avatar/Avatar.js +1 -1
  66. package/avatar/Group.js +1 -1
  67. package/back-top/index.js +1 -1
  68. package/badge/index.js +1 -1
  69. package/breadcrumb/index.js +2 -2
  70. package/button/Group.js +1 -1
  71. package/button/index.js +1 -1
  72. package/calendar/index.js +2 -2
  73. package/card/Grid.js +1 -1
  74. package/card/Meta.js +1 -1
  75. package/card/index.js +1 -1
  76. package/carousel/Arrow.js +1 -1
  77. package/carousel/Indicator.js +1 -1
  78. package/carousel/index.js +1 -1
  79. package/cascader/Cascader.js +3 -3
  80. package/cascader/index.js +1 -1
  81. package/cascader/util.js +1 -1
  82. package/checkbox/Checkbox.js +2 -2
  83. package/checkbox/Group.js +2 -2
  84. package/checkbox/index.js +1 -1
  85. package/chunk/{CpGBWmuz.js → -C2QiGwq.js} +2 -2
  86. package/chunk/B80D01PB.js +257 -0
  87. package/chunk/BL9DMeor.js +9 -0
  88. package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
  89. package/chunk/{SSK90wgo.js → Bh8AO6R8.js} +1 -1
  90. package/chunk/CASwN1hB.js +710 -0
  91. package/chunk/{BDB0LByj.js → CSk3yQDO.js} +1 -1
  92. package/chunk/{CKyu68pu.js → Cm9BS47C.js} +2 -2
  93. package/chunk/{CzQObzKd.js → DC-pxreh.js} +4 -4
  94. package/chunk/{C98ks5S8.js → DFf75sXd.js} +1 -1
  95. package/chunk/{CD3AUpzo.js → DcYqcuGl.js} +1 -1
  96. package/chunk/{BjpUSKM3.js → YUHbzjGj.js} +1 -1
  97. package/chunk/a3hR6zLw.js +12 -0
  98. package/chunk/{vmgkWLYf.js → bgmEVbGy.js} +2 -2
  99. package/chunk/{Bi4UkwOR.js → iOWILwNv.js} +3 -3
  100. package/chunk/{CgurXnoy.js → tIRvN_q7.js} +2 -2
  101. package/collapse/Collapse.js +2 -2
  102. package/collapse/Item.js +2 -2
  103. package/collapse/index.js +1 -1
  104. package/color-picker/ControlBar.js +1 -1
  105. package/color-picker/InputAlpha.js +1 -1
  106. package/color-picker/InputHex.js +1 -1
  107. package/color-picker/InputRgb.js +1 -1
  108. package/color-picker/Palette.js +1 -1
  109. package/color-picker/Panel.js +2 -2
  110. package/color-picker/index.js +1 -1
  111. package/comment/index.js +1 -1
  112. package/config-provider/ConfigProvider.js +1 -1
  113. package/config-provider/context.js +1 -1
  114. package/config-provider/index.js +2 -2
  115. package/copy/index.js +1 -1
  116. package/date-picker/Picker.js +2 -2
  117. package/date-picker/PickerRange.js +3 -3
  118. package/date-picker/index.js +1 -1
  119. package/descriptions/index.js +80 -75
  120. package/divider/index.js +1 -1
  121. package/draggable/index.js +1 -1
  122. package/drawer/Drawer.js +1 -1
  123. package/dropdown/Button.js +1 -1
  124. package/dropdown/index.js +1 -1
  125. package/empty/index.js +1 -1
  126. package/form/Control.js +84 -81
  127. package/form/Form.js +1 -1
  128. package/form/FormItem.js +1 -1
  129. package/grid/Col.js +1 -1
  130. package/grid/Row.js +1 -1
  131. package/grid/grid-item.js +1 -1
  132. package/grid/grid.js +1 -1
  133. package/hooks/index.js +36 -34
  134. package/hooks/useListenResize.js +4 -0
  135. package/hooks/useUpdateEffect.js +1 -1
  136. package/hooks/useWindowSize.js +1 -1
  137. package/icon/index.js +1 -1
  138. package/icon-hover/index.js +1 -1
  139. package/image/Image.js +2 -2
  140. package/image/ImagePreview.js +3 -3
  141. package/image/ImagePreviewArrow.js +1 -1
  142. package/image/ImagePreviewGroup.js +1 -1
  143. package/image/index.js +1 -1
  144. package/index.js +567 -565
  145. package/input/Group.js +1 -1
  146. package/input/Input.js +1 -1
  147. package/input/InputElement.js +1 -1
  148. package/input/Password.js +1 -1
  149. package/input/Search.js +1 -1
  150. package/input/Textarea.js +1 -1
  151. package/input-number/index.js +1 -1
  152. package/input-tag/InputTag.js +1 -1
  153. package/layout/Content.js +1 -1
  154. package/layout/Footer.js +1 -1
  155. package/layout/Header.js +1 -1
  156. package/layout/Sider.js +1 -1
  157. package/layout/index.js +1 -1
  158. package/link/index.js +1 -1
  159. package/list/Item.js +1 -1
  160. package/list/Meta.js +1 -1
  161. package/list/index.js +1 -1
  162. package/mentions/index.js +1 -1
  163. package/menu/Menu.js +2 -2
  164. package/menu/OverflowWrap.js +1 -1
  165. package/menu/index.js +2 -2
  166. package/message/index.js +1 -1
  167. package/message/useMessage.js +1 -1
  168. package/modal/Confirm.js +2 -2
  169. package/modal/Modal.js +2 -2
  170. package/modal/index.js +1 -1
  171. package/notice/index.js +1 -1
  172. package/notification/index.js +1 -1
  173. package/notification/useNotification.js +1 -1
  174. package/notification/withNotification.js +43 -35
  175. package/overflow-ellipsis/OverflowItem.js +1 -1
  176. package/overflow-ellipsis/index.js +1 -1
  177. package/package.json +1 -1
  178. package/page-header/index.js +1 -1
  179. package/pagination/PageItem.js +1 -1
  180. package/pagination/PageJumper.js +1 -1
  181. package/pagination/PageOption.js +1 -1
  182. package/pagination/Pagination.js +1 -1
  183. package/picker/Input.js +1 -1
  184. package/picker/InputRange.js +1 -1
  185. package/popconfirm/index.js +1 -1
  186. package/popover/index.js +1 -1
  187. package/progress/index.js +1 -1
  188. package/radio/Group.js +2 -2
  189. package/radio/Radio.js +2 -2
  190. package/radio/index.js +2 -2
  191. package/rate/index.js +1 -1
  192. package/resize-box/ResizeTrigger.js +1 -1
  193. package/resize-box/Split.js +1 -1
  194. package/resize-box/SplitGroup.js +1 -1
  195. package/resize-box/index.js +1 -1
  196. package/result/index.js +1 -1
  197. package/select/Option.js +1 -1
  198. package/select/Select.js +2 -2
  199. package/select-view/Core.js +1 -1
  200. package/skeleton/index.js +1 -1
  201. package/slider/Button.js +1 -1
  202. package/slider/index.js +2 -2
  203. package/space/index.js +20 -20
  204. package/spin/DotLoading.js +1 -1
  205. package/spin/index.js +1 -1
  206. package/statistic/Countdown.js +1 -1
  207. package/statistic/index.js +1 -1
  208. package/steps/index.js +1 -1
  209. package/switch/index.js +1 -1
  210. package/table/Table.js +3 -3
  211. package/table/index.js +89 -81
  212. package/tabs/Tab.js +2 -2
  213. package/tabs/TabContent.js +2 -2
  214. package/tabs/TabPane.js +1 -1
  215. package/tabs/index.js +2 -2
  216. package/tag/index.js +1 -1
  217. package/time-picker/Picker.js +2 -2
  218. package/time-picker/TimePicker.js +1 -1
  219. package/timeline/Item.js +1 -1
  220. package/timeline/Timeline.js +1 -1
  221. package/tooltip/index.js +1 -1
  222. package/transfer/Item.js +2 -2
  223. package/transfer/List.js +2 -2
  224. package/transfer/index.js +1 -1
  225. package/tree/Animation.js +2 -2
  226. package/tree/Node.js +3 -3
  227. package/tree/NodeList.js +1 -1
  228. package/tree/Tree.js +2 -2
  229. package/tree/index.js +1 -1
  230. package/tree-select/Select.js +2 -2
  231. package/trigger/index.js +1 -1
  232. package/types/hooks/index.d.ts +1 -0
  233. package/types/hooks/useListenResize.d.ts +1 -0
  234. package/types/index.d.ts +1 -1
  235. package/types/message/interface.d.ts +0 -1
  236. package/types/notification/interface.d.ts +0 -1
  237. package/types/space/index.d.ts +3 -4
  238. package/types/table/hook/useThResizable.d.ts +1 -1
  239. package/types/version/index.d.ts +4 -4
  240. package/typography/Base.js +2 -2
  241. package/typography/Ellipsis.js +8 -8
  242. package/typography/Paragraph.js +1 -1
  243. package/typography/Typography.js +1 -1
  244. package/typography/index.js +8 -8
  245. package/typography/useEllipsis.js +1 -1
  246. package/upload/TriggerNode.js +1 -1
  247. package/upload/Upload.js +1 -1
  248. package/upload/Uploader.js +1 -1
  249. package/utils/contextHolder.js +1 -1
  250. package/utils/index.js +2 -2
  251. package/verification-code/VerificationCode.js +1 -1
  252. package/version/index.js +5 -5
  253. package/watermark/Watermark.js +1 -1
  254. package/chunk/BSCrLtfQ.js +0 -10
  255. package/chunk/BSaQv6mx.js +0 -251
  256. package/chunk/ll867Bf3.js +0 -730
package/result/index.js CHANGED
@@ -4,7 +4,7 @@ import v from "@unicom-cloud/icons/IconUiClose";
4
4
  import C from "@unicom-cloud/icons/IconUiExclamation";
5
5
  import R from "@unicom-cloud/icons/IconUiInfo";
6
6
  import { forwardRef as U, useContext as P } from "react";
7
- import { a as b } from "../chunk/ll867Bf3.js";
7
+ import { a as b } from "../chunk/CASwN1hB.js";
8
8
  import { u as j } from "../chunk/BFTV6myl.js";
9
9
  import { m as l } from "../chunk/JPPo5nY_.js";
10
10
  import w from "./403.js";
package/select/Option.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as j, jsx as C } from "react/jsx-runtime";
2
2
  import y from "react";
3
- import { C as E } from "../chunk/SSK90wgo.js";
3
+ import { C as E } from "../chunk/Bh8AO6R8.js";
4
4
  import { m as v } from "../chunk/JPPo5nY_.js";
5
5
  import { o as L } from "../chunk/BKKEev13.js";
6
6
  function P(l, _) {
package/select/Select.js CHANGED
@@ -2,8 +2,8 @@ import { jsx as _, jsxs as gt } from "react/jsx-runtime";
2
2
  import U from "lodash/isArray";
3
3
  import Ot from "lodash/isFunction";
4
4
  import ht, { useContext as Ct, useState as W, useMemo as De, useRef as b, useCallback as pe, useEffect as V, useImperativeHandle as vt } from "react";
5
- import { C as yt } from "../chunk/SSK90wgo.js";
6
- import { a as bt } from "../chunk/ll867Bf3.js";
5
+ import { C as yt } from "../chunk/Bh8AO6R8.js";
6
+ import { a as bt } from "../chunk/CASwN1hB.js";
7
7
  import { u as Vt } from "../chunk/B4YRLi8r.js";
8
8
  import { u as kt } from "../chunk/BFTV6myl.js";
9
9
  import { u as Re } from "../chunk/CdaT1b_F.js";
@@ -6,7 +6,7 @@ import oo from "@unicom-cloud/icons/IconUiLoading";
6
6
  import ro from "@unicom-cloud/icons/IconUiSearch";
7
7
  import no from "lodash/isFunction";
8
8
  import fe from "lodash/isUndefined";
9
- import { a as to, I as so } from "../chunk/ll867Bf3.js";
9
+ import { a as to, I as so } from "../chunk/CASwN1hB.js";
10
10
  import { u as ao } from "../chunk/CQ_WOOmf.js";
11
11
  import { u as lo } from "../chunk/BsY85n3_.js";
12
12
  import co from "../input-tag/InputTag.js";
package/skeleton/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as N } from "react/jsx-runtime";
2
2
  import $ from "lodash/isPlainObject";
3
3
  import S, { forwardRef as j, useContext as v } from "react";
4
- import { a as b } from "../chunk/ll867Bf3.js";
4
+ import { a as b } from "../chunk/CASwN1hB.js";
5
5
  import { u as y } from "../chunk/BFTV6myl.js";
6
6
  import { m as R } from "../chunk/JPPo5nY_.js";
7
7
  import { a as w } from "../chunk/ClqoGc3r.js";
package/slider/Button.js CHANGED
@@ -3,7 +3,7 @@ import w from "lodash/isFunction";
3
3
  import W from "lodash/isNumber";
4
4
  import q from "lodash/isString";
5
5
  import G, { useState as H, useContext as J, useMemo as B, useRef as g, useEffect as Q } from "react";
6
- import { a as Z } from "../chunk/ll867Bf3.js";
6
+ import { a as Z } from "../chunk/CASwN1hB.js";
7
7
  import { u as _ } from "../chunk/XTEsYGuF.js";
8
8
  import { u as tt } from "../chunk/CdaT1b_F.js";
9
9
  import et from "../trigger/index.js";
package/slider/index.js CHANGED
@@ -4,10 +4,10 @@ import _ from "lodash/isArray";
4
4
  import ee from "lodash/isFunction";
5
5
  import te from "lodash/isPlainObject";
6
6
  import ze, { useMemo as ne, useCallback as T, forwardRef as He, useContext as Qe, useRef as B } from "react";
7
- import { a as Ze } from "../chunk/ll867Bf3.js";
7
+ import { a as Ze } from "../chunk/CASwN1hB.js";
8
8
  import { u as _e } from "../chunk/BFTV6myl.js";
9
9
  import { u as et } from "../chunk/CdaT1b_F.js";
10
- import { u as tt } from "../chunk/BSCrLtfQ.js";
10
+ import { u as tt } from "../chunk/a3hR6zLw.js";
11
11
  import { m as ve } from "../chunk/JPPo5nY_.js";
12
12
  import { on as we, off as be } from "../utils/dom.js";
13
13
  import { o as nt } from "../chunk/BKKEev13.js";
package/space/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { jsx as s, jsxs as A } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as A } from "react/jsx-runtime";
2
2
  import L from "lodash/isArray";
3
3
  import M from "lodash/isNumber";
4
4
  import P, { forwardRef as b, useContext as j } from "react";
5
- import { a as k } from "../chunk/ll867Bf3.js";
5
+ import { a as k } from "../chunk/CASwN1hB.js";
6
6
  import { u as D } from "../chunk/BFTV6myl.js";
7
7
  import { m as F } from "../chunk/JPPo5nY_.js";
8
8
  import H from "./toArray.js";
@@ -20,22 +20,22 @@ function V(c, m) {
20
20
  style: x,
21
21
  children: C,
22
22
  size: i,
23
- direction: a,
23
+ direction: s,
24
24
  align: w,
25
- wrap: p,
26
- split: u,
25
+ wrap: u,
26
+ split: f,
27
27
  ...B
28
- } = N, e = v("space"), $ = w || (a === "horizontal" ? "center" : ""), R = F(
28
+ } = N, e = v("space"), $ = w || (s === "horizontal" ? "center" : ""), R = F(
29
29
  e,
30
30
  {
31
- [`${e}-${a}`]: a,
31
+ [`${e}-${s}`]: s,
32
32
  [`${e}-align-${$}`]: $,
33
- [`${e}-wrap`]: p,
33
+ [`${e}-wrap`]: u,
34
34
  [`${e}-rtl`]: d
35
35
  },
36
36
  S
37
37
  );
38
- function f(r) {
38
+ function p(r) {
39
39
  if (M(r))
40
40
  return r;
41
41
  switch (r) {
@@ -55,34 +55,34 @@ function V(c, m) {
55
55
  function z(r) {
56
56
  const n = y.length === r + 1, o = d ? "marginLeft" : "marginRight";
57
57
  if (typeof i == "string" || typeof i == "number") {
58
- const t = f(i);
59
- return p ? n ? { marginBottom: t } : {
58
+ const t = p(i);
59
+ return u ? n ? { marginBottom: t } : {
60
60
  [`${o}`]: t,
61
61
  marginBottom: t
62
62
  } : n ? {} : {
63
- [a === "vertical" ? "marginBottom" : o]: t
63
+ [s === "vertical" ? "marginBottom" : o]: t
64
64
  };
65
65
  }
66
66
  if (L(i)) {
67
- const t = f(i[0]), g = f(i[1]);
68
- return p ? n ? { marginBottom: g } : {
67
+ const t = p(i[0]), g = p(i[1]);
68
+ return u ? n ? { marginBottom: g } : {
69
69
  [`${o}`]: t,
70
70
  marginBottom: g
71
- } : a === "vertical" ? { marginBottom: g } : { [`${o}`]: t };
71
+ } : s === "vertical" ? { marginBottom: g } : { [`${o}`]: t };
72
72
  }
73
73
  }
74
- return /* @__PURE__ */ s("div", { ref: m, className: R, style: x, ...B, children: y.map((r, n) => {
75
- const o = (r == null ? void 0 : r.key) || n, t = u != null && n > 0;
74
+ return /* @__PURE__ */ a("div", { ref: m, className: R, style: x, ...B, children: y.map((r, n) => {
75
+ const o = (r == null ? void 0 : r.key) || n, t = f != null && n > 0;
76
76
  return /* @__PURE__ */ A(P.Fragment, { children: [
77
- t && /* @__PURE__ */ s("div", { className: `${e}-item-split`, children: u }),
78
- /* @__PURE__ */ s("div", { className: `${e}-item`, style: z(n), children: r })
77
+ t && /* @__PURE__ */ a("div", { className: `${e}-item-split`, children: f }),
78
+ /* @__PURE__ */ a("div", { className: `${e}-item`, style: z(n), children: r })
79
79
  ] }, o);
80
80
  }) });
81
81
  }
82
82
  const h = b(V);
83
83
  h.displayName = "Space";
84
84
  function U(c, m) {
85
- return /* @__PURE__ */ s(h, { ref: m, direction: "vertical", children: c.children });
85
+ return /* @__PURE__ */ a(h, { ref: m, direction: "vertical", children: c.children });
86
86
  }
87
87
  export {
88
88
  U as SpaceVertical,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import m from "lodash/isNumber";
3
3
  import { useContext as a } from "react";
4
- import { a as l } from "../chunk/ll867Bf3.js";
4
+ import { a as l } from "../chunk/CASwN1hB.js";
5
5
  function g(t) {
6
6
  const { getPrefixCls: r } = a(l), i = `${r("spin")}-dot`, n = {
7
7
  width: t.size,
package/spin/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as n, jsxs as c, Fragment as h } from "react/jsx-runtime";
2
2
  import E from "@unicom-cloud/icons/IconUiLoading";
3
3
  import I from "lodash/debounce";
4
4
  import $, { useContext as j, useState as w, useCallback as P, useRef as D, useImperativeHandle as F, useEffect as H } from "react";
5
- import { a as M } from "../chunk/ll867Bf3.js";
5
+ import { a as M } from "../chunk/CASwN1hB.js";
6
6
  import { u as U } from "../chunk/BFTV6myl.js";
7
7
  import { m as N } from "../chunk/JPPo5nY_.js";
8
8
  import { a as _ } from "../chunk/D-TPB2Do.js";
@@ -2,7 +2,7 @@ import { jsxs as M, jsx as r } from "react/jsx-runtime";
2
2
  import T from "dayjs";
3
3
  import _ from "lodash/isFunction";
4
4
  import { forwardRef as E, useContext as F, useState as d, useRef as O, useEffect as P } from "react";
5
- import { a as b } from "../chunk/ll867Bf3.js";
5
+ import { a as b } from "../chunk/CASwN1hB.js";
6
6
  import { m as k } from "../chunk/JPPo5nY_.js";
7
7
  import { g as v, a as w } from "../chunk/tamGhTJp.js";
8
8
  import { getDateString as h } from "./util.js";
@@ -4,7 +4,7 @@ import A from "dayjs";
4
4
  import B from "lodash/isFunction";
5
5
  import c from "lodash/isNumber";
6
6
  import { forwardRef as G, useContext as J, useRef as b, useState as K, useEffect as Q, useImperativeHandle as T, useMemo as X } from "react";
7
- import { a as Y } from "../chunk/ll867Bf3.js";
7
+ import { a as Y } from "../chunk/CASwN1hB.js";
8
8
  import { u as Z } from "../chunk/BFTV6myl.js";
9
9
  import tt from "../skeleton/index.js";
10
10
  import { m as et } from "../chunk/JPPo5nY_.js";
package/steps/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as w } from "react/jsx-runtime";
2
2
  import d, { forwardRef as D, useContext as R } from "react";
3
- import { a as k } from "../chunk/ll867Bf3.js";
3
+ import { a as k } from "../chunk/CASwN1hB.js";
4
4
  import { u as A } from "../chunk/BFTV6myl.js";
5
5
  import { m as E } from "../chunk/JPPo5nY_.js";
6
6
  import { a as j } from "../chunk/ClqoGc3r.js";
package/switch/index.js CHANGED
@@ -3,7 +3,7 @@ import q from "@unicom-cloud/icons/IconUiLoading";
3
3
  import { h as A, P as x } from "../chunk/DzVH9IBy.js";
4
4
  import B from "lodash/isArray";
5
5
  import { forwardRef as L, useContext as M, useState as O } from "react";
6
- import { a as Q } from "../chunk/ll867Bf3.js";
6
+ import { a as Q } from "../chunk/CASwN1hB.js";
7
7
  import { u as U } from "../chunk/BFTV6myl.js";
8
8
  import { m as W } from "../chunk/JPPo5nY_.js";
9
9
  import "../chunk/D-TPB2Do.js";
package/table/Table.js CHANGED
@@ -6,10 +6,10 @@ import "lodash/isNumber";
6
6
  import "lodash/isPlainObject";
7
7
  import "lodash/throttle";
8
8
  import "react";
9
- import "../chunk/ll867Bf3.js";
9
+ import "../chunk/CASwN1hB.js";
10
10
  import "../chunk/B2yFlXke.js";
11
11
  import "../chunk/BFTV6myl.js";
12
- import "../chunk/BSCrLtfQ.js";
12
+ import "../chunk/a3hR6zLw.js";
13
13
  import "../pagination/Pagination.js";
14
14
  import "../spin/index.js";
15
15
  import "../chunk/JPPo5nY_.js";
@@ -17,7 +17,7 @@ import "../utils/dom.js";
17
17
  import "../chunk/ClqoGc3r.js";
18
18
  import "../chunk/CIRG541s.js";
19
19
  import "./ColGroup.js";
20
- import { T as q } from "../chunk/CzQObzKd.js";
20
+ import { T as q } from "../chunk/DC-pxreh.js";
21
21
  import "./util.js";
22
22
  export {
23
23
  q as default
package/table/index.js CHANGED
@@ -1,103 +1,111 @@
1
- import { S as X, T as D } from "../chunk/CzQObzKd.js";
2
- import { u as re, a as le, b as ae, c as ce, d as ue, e as ie, f as me } from "../chunk/CzQObzKd.js";
1
+ import { S as X, T as D } from "../chunk/DC-pxreh.js";
2
+ import { u as le, a as ae, b as ue, c as ce, d as ie, e as me, f as fe } from "../chunk/DC-pxreh.js";
3
3
  import { defaultComponent as I } from "./constant.js";
4
- import y, { useContext as g, useRef as k, useCallback as m, useEffect as $, useState as O } from "react";
5
- import { jsxs as U, Fragment as j, jsx as x } from "react/jsx-runtime";
6
- import { a as A } from "../chunk/ll867Bf3.js";
7
- import { m as E } from "../chunk/JPPo5nY_.js";
8
- import { on as L, off as M } from "../utils/dom.js";
4
+ import y, { useRef as g, useContext as w, useCallback as f, useEffect as A, useState as O } from "react";
5
+ import { jsx as T, jsxs as U } from "react/jsx-runtime";
6
+ import j from "lodash/isFunction";
7
+ import { a as E } from "../chunk/CASwN1hB.js";
8
+ import { m as P } from "../chunk/JPPo5nY_.js";
9
+ import { on as M, off as N } from "../utils/dom.js";
9
10
  import { o as q } from "../chunk/BKKEev13.js";
10
- import N from "lodash/get";
11
- function H(a) {
12
- let { className: r, children: t, column: l, onResize: f, ...C } = a;
13
- const { getPrefixCls: s } = g(A), c = s("table-th-resizable"), p = k(null), o = k({}), n = m((d) => {
14
- o.current.boundingClientRect = p.current.getBoundingClientRect(), o.current.pageX = d.pageX, h();
15
- }, []), b = m((d) => {
16
- u();
17
- }, []), e = m((d) => {
18
- let S = o.current.boundingClientRect.width + (d.pageX - o.current.pageX);
19
- S < 0 || (l.width = S, f == null || f({
20
- column: l,
21
- width: S,
22
- widthOrigin: o.current.boundingClientRect.width
11
+ import $ from "lodash/get";
12
+ function H(u) {
13
+ let { className: r, children: o, column: p, onResize: i, ...d } = u;
14
+ const n = I.header.th, a = g(null), C = g(null), l = g({}), { getPrefixCls: s } = w(E), b = s("table-th-resizable");
15
+ if (!j(i)) return /* @__PURE__ */ T(n, { ref: a, ...d, className: r, children: o });
16
+ const t = f((e) => {
17
+ l.current.boundingClientRect = a.current.getBoundingClientRect(), l.current.pageX = (e == null ? void 0 : e.pageX) ?? 0, S();
18
+ }, []), m = f((e) => {
19
+ x();
20
+ }, []), c = f((e) => {
21
+ let h = l.current.boundingClientRect.width + (((e == null ? void 0 : e.pageX) ?? 0) - l.current.pageX);
22
+ h < 0 || (p.width = h, i == null || i({
23
+ column: p,
24
+ width: h,
25
+ widthOrigin: l.current.boundingClientRect.width
23
26
  }));
24
- }, []), h = m((d) => {
25
- L(document, "mousemove", e), L(document, "mouseup", b);
26
- }, []), u = m((d) => {
27
- M(document, "mousemove", e), M(document, "mouseup", b);
28
- }, []), T = I.header.th;
29
- return l != null && l.width && (r = E(r, c), t = /* @__PURE__ */ U(j, { children: [
30
- t,
31
- /* @__PURE__ */ x("div", { className: `${c}-cursor`, onMouseDown: n })
32
- ] })), $(() => () => {
33
- u();
34
- }, []), /* @__PURE__ */ x(T, { ref: p, ...C, className: r, children: t });
27
+ }, []), S = f((e) => {
28
+ M(document, "mousemove", c), M(document, "mouseup", m);
29
+ }, []), x = f((e) => {
30
+ N(document, "mousemove", c), N(document, "mouseup", m);
31
+ }, []);
32
+ return r = P(r, b), A(() => (t(), c(), m(), () => {
33
+ x();
34
+ }), []), /* @__PURE__ */ U(n, { ref: a, ...d, className: r, children: [
35
+ o,
36
+ /* @__PURE__ */ T(
37
+ "div",
38
+ {
39
+ ref: C,
40
+ className: `${b}-cursor`,
41
+ onMouseDown: t
42
+ }
43
+ )
44
+ ] });
35
45
  }
36
- function ne(a = {}) {
37
- const r = m((s, c) => ({
38
- column: s,
39
- onResize(o) {
40
- const { column: n = {}, width: b } = o ?? {};
41
- C((e) => {
42
- const h = e.find((u) => u === n || u.dataIndex === n.dataIndex && u.title == n.title);
43
- return h ? (h.width = b ?? n.width, t(e)) : e;
46
+ function se(u = {}) {
47
+ const r = f((n, a) => ({
48
+ column: n,
49
+ onResize(l) {
50
+ const { column: s = {}, width: b } = l ?? {};
51
+ d((t) => {
52
+ const m = t.find((c) => c === s || c.dataIndex === s.dataIndex && c.title == s.title);
53
+ return m ? (m.width = b ?? s.width, o(t)) : t;
44
54
  });
45
55
  }
46
- }), []), t = m((s) => s.map((c, p, o) => {
47
- const n = c;
48
- return p < o.length - 1 && c.resizable !== !1 && !c.fixed && (n.onHeaderCell = r), n;
49
- }), []), l = m((s) => {
50
- C(t(s));
51
- }, []), [f, C] = O(() => {
52
- const s = a.columns;
53
- return s ? t(s) : [];
56
+ }), []), o = f((n) => n.map((a, C, l) => {
57
+ const s = a;
58
+ return C < l.length - 1 && a.resizable !== !1 && !a.fixed && (s.onHeaderCell = r), s;
59
+ }), []), p = f((n) => d(o(n)), []), [i, d] = O(() => {
60
+ const n = u.columns;
61
+ return n ? o(n) : [];
54
62
  });
55
- return $(() => () => {
63
+ return A(() => () => {
56
64
  }, []), {
57
- columns: f,
58
- setColumns: l,
65
+ columns: i,
66
+ setColumns: p,
59
67
  ThResizable: H
60
68
  };
61
69
  }
62
- function P(a) {
63
- const { children: r, ...t } = a;
64
- return /* @__PURE__ */ x("td", { ...q(t, ["$$PqbTableSummaryCell"]), children: r });
70
+ function v(u) {
71
+ const { children: r, ...o } = u;
72
+ return /* @__PURE__ */ T("td", { ...q(o, ["$$PqbTableSummaryCell"]), children: r });
65
73
  }
66
- P.__PQB_TABLE_SUMMARY_CELL__ = !0;
67
- function Q(a) {
68
- const { rtl: r } = g(A), { columns: t, stickyOffsets: l, stickyClassNames: f, prefixCls: C } = g(X), { children: s, ...c } = a, p = y.Children.map(
69
- s,
70
- (n) => n.props.colSpan || 1
71
- ), o = y.Children.map(s, (n, b) => {
72
- var _, R;
73
- const e = n, h = N(e, "type.__PQB_TABLE_SUMMARY_CELL__") || N(e, "props.$$PqbTableSummaryCell"), u = (_ = e == null ? void 0 : e.props) == null ? void 0 : _.style, T = (R = e == null ? void 0 : e.props) == null ? void 0 : R.className, i = p.slice(0, b).reduce((z, B) => z + B, 0), S = t[i].fixed === "left" ? { [r ? "right" : "left"]: l[i] } : t[i].fixed === "right" ? { [r ? "left" : "right"]: l[i] } : {}, v = t[i].fixed === "left" || t[i].fixed === "right" ? f[i] : "";
74
- return h ? y.cloneElement(e, {
75
- ...e.props,
76
- className: E(`${C}-td`, v, T),
77
- style: { ...u, ...S }
78
- }) : n;
74
+ v.__PQB_TABLE_SUMMARY_CELL__ = !0;
75
+ function Q(u) {
76
+ const { rtl: r } = w(E), { columns: o, stickyOffsets: p, stickyClassNames: i, prefixCls: d } = w(X), { children: n, ...a } = u, C = y.Children.map(
77
+ n,
78
+ (s) => s.props.colSpan || 1
79
+ ), l = y.Children.map(n, (s, b) => {
80
+ var k, L;
81
+ const t = s, m = $(t, "type.__PQB_TABLE_SUMMARY_CELL__") || $(t, "props.$$PqbTableSummaryCell"), c = (k = t == null ? void 0 : t.props) == null ? void 0 : k.style, S = (L = t == null ? void 0 : t.props) == null ? void 0 : L.className, e = C.slice(0, b).reduce((z, B) => z + B, 0), R = o[e].fixed === "left" ? { [r ? "right" : "left"]: p[e] } : o[e].fixed === "right" ? { [r ? "left" : "right"]: p[e] } : {}, h = o[e].fixed === "left" || o[e].fixed === "right" ? i[e] : "";
82
+ return m ? y.cloneElement(t, {
83
+ ...t.props,
84
+ className: P(`${d}-td`, h, S),
85
+ style: { ...c, ...R }
86
+ }) : s;
79
87
  });
80
- return /* @__PURE__ */ x("tr", { ...c, children: o });
88
+ return /* @__PURE__ */ T("tr", { ...a, children: l });
81
89
  }
82
- function w(a) {
83
- return a.children;
90
+ function _(u) {
91
+ return u.children;
84
92
  }
85
- w.Row = Q;
86
- w.Cell = P;
93
+ _.Row = Q;
94
+ _.Cell = v;
87
95
  const Y = D;
88
- Y.Summary = w;
96
+ Y.Summary = _;
89
97
  export {
90
- w as TableSummary,
91
- P as TableSummaryCell,
98
+ _ as TableSummary,
99
+ v as TableSummaryCell,
92
100
  Q as TableSummaryRow,
93
101
  Y as default,
94
102
  I as tableDefaultComponent,
95
- re as useTableColumns,
96
- le as useTableComponent,
97
- ae as useTableExpand,
103
+ le as useTableColumns,
104
+ ae as useTableComponent,
105
+ ue as useTableExpand,
98
106
  ce as useTableRowSelection,
99
- ue as useTableSorter,
100
- ie as useTableStickyClassNames,
101
- me as useTableStickyOffsets,
102
- ne as useTableThResizable
107
+ ie as useTableSorter,
108
+ me as useTableStickyClassNames,
109
+ fe as useTableStickyOffsets,
110
+ se as useTableThResizable
103
111
  };
package/tabs/Tab.js CHANGED
@@ -2,13 +2,13 @@ import "react/jsx-runtime";
2
2
  import "lodash/isFunction";
3
3
  import "lodash/isPlainObject";
4
4
  import "react";
5
- import "../chunk/ll867Bf3.js";
5
+ import "../chunk/CASwN1hB.js";
6
6
  import "../chunk/B4YRLi8r.js";
7
7
  import "../chunk/BFTV6myl.js";
8
8
  import "../chunk/CdaT1b_F.js";
9
9
  import "../chunk/JPPo5nY_.js";
10
10
  import "../chunk/BKKEev13.js";
11
- import { a as d, T as l } from "../chunk/vmgkWLYf.js";
11
+ import { a as d, T as l } from "../chunk/bgmEVbGy.js";
12
12
  import { default as u, default as x } from "./TabPane.js";
13
13
  export {
14
14
  u as TabPane,
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../chunk/ll867Bf3.js";
3
+ import "../chunk/CASwN1hB.js";
4
4
  import "../chunk/JPPo5nY_.js";
5
- import { b as a } from "../chunk/vmgkWLYf.js";
5
+ import { b as a } from "../chunk/bgmEVbGy.js";
6
6
  export {
7
7
  a as default
8
8
  };
package/tabs/TabPane.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import d, { useRef as p, useContext as b } from "react";
3
- import { a as x } from "../chunk/ll867Bf3.js";
3
+ import { a as x } from "../chunk/CASwN1hB.js";
4
4
  import { m as C } from "../chunk/JPPo5nY_.js";
5
5
  import { o as P } from "../chunk/BKKEev13.js";
6
6
  function R(r, a) {
package/tabs/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { T as e } from "../chunk/vmgkWLYf.js";
2
- import { a as s } from "../chunk/vmgkWLYf.js";
1
+ import { T as e } from "../chunk/bgmEVbGy.js";
2
+ import { a as s } from "../chunk/bgmEVbGy.js";
3
3
  import { default as f, default as T } from "./TabPane.js";
4
4
  export {
5
5
  f as TabPane,
package/tag/index.js CHANGED
@@ -3,7 +3,7 @@ import Q from "@unicom-cloud/icons/IconUiClose";
3
3
  import W from "@unicom-cloud/icons/IconUiLoading";
4
4
  import b from "lodash/isPlainObject";
5
5
  import { forwardRef as X, useContext as Y, useState as v } from "react";
6
- import { a as Z, I as S } from "../chunk/ll867Bf3.js";
6
+ import { a as Z, I as S } from "../chunk/CASwN1hB.js";
7
7
  import { u as ee } from "../chunk/XTEsYGuF.js";
8
8
  import { u as oe } from "../chunk/BFTV6myl.js";
9
9
  import ne from "../popconfirm/index.js";
@@ -3,10 +3,10 @@ import De from "@unicom-cloud/icons/IconUiClockCircle";
3
3
  import { isDayjs as Se } from "dayjs";
4
4
  import l from "lodash/isArray";
5
5
  import Te, { useContext as je, useState as I, useRef as we } from "react";
6
- import { a as Ae } from "../chunk/ll867Bf3.js";
6
+ import { a as Ae } from "../chunk/CASwN1hB.js";
7
7
  import { u as Ee } from "../chunk/BFTV6myl.js";
8
8
  import { u as Y } from "../chunk/VSe_Wq1g.js";
9
- import { u as He } from "../chunk/BSCrLtfQ.js";
9
+ import { u as He } from "../chunk/a3hR6zLw.js";
10
10
  import ze from "../picker/Input.js";
11
11
  import Oe from "../picker/InputRange.js";
12
12
  import Fe from "../trigger/index.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as I, Fragment as pe, jsx as a } from "react/jsx-runtime";
2
2
  import { useContext as Q, useCallback as W } from "react";
3
3
  import X from "../button/index.js";
4
- import { a as he } from "../chunk/ll867Bf3.js";
4
+ import { a as he } from "../chunk/CASwN1hB.js";
5
5
  import { m as xe } from "../chunk/JPPo5nY_.js";
6
6
  import { g as $e, a as Y, d as $, j as Z } from "../chunk/tamGhTJp.js";
7
7
  import { padStart as d } from "../utils/pad.js";
package/timeline/Item.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
2
  import S, { useContext as g, useRef as z, useEffect as F } from "react";
3
- import { a as W } from "../chunk/ll867Bf3.js";
3
+ import { a as W } from "../chunk/CASwN1hB.js";
4
4
  import { u as j } from "../chunk/BFTV6myl.js";
5
5
  import { m as h } from "../chunk/JPPo5nY_.js";
6
6
  const D = {
@@ -1,6 +1,6 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import d, { useContext as R } from "react";
3
- import { a as w } from "../chunk/ll867Bf3.js";
3
+ import { a as w } from "../chunk/CASwN1hB.js";
4
4
  import { u as z } from "../chunk/BFTV6myl.js";
5
5
  import j from "../spin/index.js";
6
6
  import { m as y } from "../chunk/JPPo5nY_.js";
package/tooltip/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import { n as I } from "../chunk/B4JiMp8I.js";
3
3
  import S from "lodash/isFunction";
4
4
  import { forwardRef as j, useContext as z, useRef as B, useImperativeHandle as W, useMemo as q } from "react";
5
- import { a as G } from "../chunk/ll867Bf3.js";
5
+ import { a as G } from "../chunk/CASwN1hB.js";
6
6
  import { u as J } from "../chunk/BFTV6myl.js";
7
7
  import K, { EventsByTriggerNeed as Q } from "../trigger/index.js";
8
8
  import { m as b } from "../chunk/JPPo5nY_.js";
package/transfer/Item.js CHANGED
@@ -2,9 +2,9 @@ import { jsxs as P, jsx as r, Fragment as F } from "react/jsx-runtime";
2
2
  import H from "@unicom-cloud/icons/IconUiClose";
3
3
  import V from "@unicom-cloud/icons/IconUiDragDotVertical";
4
4
  import { useRef as N, useState as h, useEffect as T } from "react";
5
- import { C as q } from "../chunk/SSK90wgo.js";
5
+ import { C as q } from "../chunk/Bh8AO6R8.js";
6
6
  import { u as z } from "../chunk/XTEsYGuF.js";
7
- import { I as A } from "../chunk/ll867Bf3.js";
7
+ import { I as A } from "../chunk/CASwN1hB.js";
8
8
  import { m as G } from "../chunk/JPPo5nY_.js";
9
9
  function te(w) {
10
10
  const {
package/transfer/List.js CHANGED
@@ -4,8 +4,8 @@ import ce from "@unicom-cloud/icons/IconUiSearch";
4
4
  import B from "lodash/isPlainObject";
5
5
  import ie, { useContext as de, useState as L, useEffect as me } from "react";
6
6
  import fe from "../button/index.js";
7
- import { C as A } from "../chunk/SSK90wgo.js";
8
- import { a as he, I as pe } from "../chunk/ll867Bf3.js";
7
+ import { C as A } from "../chunk/Bh8AO6R8.js";
8
+ import { a as he, I as pe } from "../chunk/CASwN1hB.js";
9
9
  import { u as ue } from "../chunk/XTEsYGuF.js";
10
10
  import Ce from "../input/Input.js";
11
11
  import Ie from "../list/index.js";
package/transfer/index.js CHANGED
@@ -4,7 +4,7 @@ import Y from "@unicom-cloud/icons/IconUiRight";
4
4
  import Z from "lodash/isPlainObject";
5
5
  import ee, { useContext as te, useMemo as w } from "react";
6
6
  import se from "../button/index.js";
7
- import { a as re } from "../chunk/ll867Bf3.js";
7
+ import { a as re } from "../chunk/CASwN1hB.js";
8
8
  import { u as ae } from "../chunk/BFTV6myl.js";
9
9
  import { u as L } from "../chunk/CdaT1b_F.js";
10
10
  import { m as R } from "../chunk/JPPo5nY_.js";
package/tree/Animation.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "lodash/isNumber";
3
3
  import "react";
4
- import "../chunk/ll867Bf3.js";
4
+ import "../chunk/CASwN1hB.js";
5
5
  import "../chunk/DzVH9IBy.js";
6
6
  import "../virtual-list/VirtualList.js";
7
7
  import "./Context.js";
8
- import { T as d } from "../chunk/CKyu68pu.js";
8
+ import { T as d } from "../chunk/Cm9BS47C.js";
9
9
  export {
10
10
  d as default
11
11
  };
package/tree/Node.js CHANGED
@@ -5,11 +5,11 @@ import "@unicom-cloud/icons/IconUiFile";
5
5
  import "@unicom-cloud/icons/IconUiLoading";
6
6
  import "lodash/isFunction";
7
7
  import "react";
8
- import "../chunk/SSK90wgo.js";
9
- import "../chunk/ll867Bf3.js";
8
+ import "../chunk/Bh8AO6R8.js";
9
+ import "../chunk/CASwN1hB.js";
10
10
  import "../chunk/JPPo5nY_.js";
11
11
  import "../utils/throttleByRaf.js";
12
- import { N } from "../chunk/CKyu68pu.js";
12
+ import { N } from "../chunk/Cm9BS47C.js";
13
13
  import "./Context.js";
14
14
  export {
15
15
  N as default