@unicom-cloud/ui 0.8.63 → 0.8.64

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 (191) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +3 -3
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +1 -1
  7. package/Badge.js +1 -1
  8. package/Breadcrumb.js +2 -2
  9. package/Button.js +1 -1
  10. package/Calendar.js +3 -3
  11. package/Card.js +1 -1
  12. package/Carousel.js +1 -1
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +4 -4
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +1 -1
  20. package/DatePicker.js +3 -3
  21. package/Descriptions.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +26 -25
  26. package/Empty.js +1 -1
  27. package/Form.js +1 -1
  28. package/Grid.js +2 -2
  29. package/Icon.js +2 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +4 -1
  32. package/Input.js +11 -2
  33. package/InputNumber.js +2 -2
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -20
  36. package/Link.js +1 -1
  37. package/List.js +4 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +7 -2
  40. package/Message.js +3 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +1 -1
  43. package/Notification.js +3 -2
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +1 -1
  49. package/Popover.js +1 -1
  50. package/Progress.js +1 -1
  51. package/Radio.js +4 -2
  52. package/Rate.js +1 -1
  53. package/ResizeBox.js +66 -64
  54. package/Result.js +1 -1
  55. package/Select.js +4 -1
  56. package/SelectView.js +3 -3
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +2 -2
  59. package/Space.js +54 -50
  60. package/Spin.js +1 -1
  61. package/Statistic.js +28 -27
  62. package/Steps.js +40 -38
  63. package/Switch.js +1 -1
  64. package/Table.js +7 -4
  65. package/Tabs.js +6 -2
  66. package/Tag.js +1 -1
  67. package/TimePicker.js +37 -36
  68. package/Timeline.js +4 -2
  69. package/Tooltip.js +1 -1
  70. package/Transfer.js +3 -3
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +3 -1
  73. package/Trigger.js +1 -1
  74. package/Typography.js +6 -2
  75. package/Upload.js +5 -4
  76. package/VerificationCode.js +1 -1
  77. package/Watermark.js +1 -1
  78. package/chunk/{DDDuw0Zi.js → -IELMT_x.js} +1 -1
  79. package/chunk/{C5S_amaH.js → B5GDq8NJ.js} +7 -5
  80. package/chunk/{DbLgopUR.js → B68hRpYG.js} +1 -1
  81. package/chunk/{BLLKKgZJ.js → BCxoi4Kf.js} +22 -20
  82. package/chunk/{B5gIo-hD.js → BHnRi7Xh.js} +3 -3
  83. package/chunk/{CfZWOhnc.js → BJSjbYSN.js} +1 -1
  84. package/chunk/{CfTcP6nF.js → BSBJlVZH.js} +2 -2
  85. package/chunk/{rlfmXePI.js → BfHNSLva.js} +2 -2
  86. package/chunk/{JpKOcIfl.js → BtIG250j.js} +6 -3
  87. package/chunk/{DXZ8-ha7.js → BwSpYGK-.js} +1 -1
  88. package/chunk/{Dpzgtdt-.js → CA69nxbj.js} +1 -1
  89. package/chunk/{BoDdbbF_.js → CAhODOfT.js} +3 -2
  90. package/chunk/{DbPYtS7-.js → CAiaqaWc.js} +1 -1
  91. package/chunk/{CvlD3aiv.js → CBgwLBAC.js} +40 -38
  92. package/chunk/{aqSmxUbY.js → CTF5o0OX.js} +1 -1
  93. package/chunk/{BEB_A9eY.js → CYQ1EE4h.js} +1 -1
  94. package/chunk/{C6Zb_-OE.js → CZfGDXaB.js} +1 -1
  95. package/chunk/{BcwdVUDs.js → CtUTlwlQ.js} +1 -1
  96. package/chunk/{QFkhCtUr.js → CxpFYX4B.js} +2 -2
  97. package/chunk/{BnLshM9R.js → D-oHJail.js} +58 -54
  98. package/chunk/{Bn2-vqTg.js → D01b7bWX.js} +50 -45
  99. package/chunk/{CD7dGcUa.js → DPJEIBKZ.js} +2 -2
  100. package/chunk/{Dk6hL04k.js → DQ561AmR.js} +2 -2
  101. package/chunk/{B9w_puFP.js → QlYCEvCX.js} +1 -1
  102. package/chunk/{D3dcFbex.js → Yvz-hPQB.js} +2 -2
  103. package/chunk/{Co3idurS.js → _m8hLSsx.js} +4 -2
  104. package/chunk/{CZ1wrD_H.js → oR9TkA35.js} +1 -1
  105. package/chunk/{CAxIyiy6.js → pq-36BDW.js} +5 -3
  106. package/chunk/{CgDayZDE.js → tW_FgNSv.js} +1 -1
  107. package/index.js +536 -486
  108. package/package.json +1 -1
  109. package/types/calendar/hook/useCellClassName.d.ts +2 -1
  110. package/types/checkbox/IconCheck.d.ts +2 -1
  111. package/types/date-picker/hook/useCellClassName.d.ts +2 -1
  112. package/types/date-picker/panel/Footer.d.ts +2 -1
  113. package/types/dropdown/index.d.ts +1 -0
  114. package/types/form/IconSymbol.d.ts +2 -1
  115. package/types/form/useForm.d.ts +2 -1
  116. package/types/icon/addFromIconFontCn.d.ts +2 -1
  117. package/types/icon/index.d.ts +2 -0
  118. package/types/image/Image.d.ts +1 -0
  119. package/types/image/index.d.ts +2 -1
  120. package/types/image/util/getFixTranslate.d.ts +2 -1
  121. package/types/image/util/hook/useImageStatus.d.ts +2 -2
  122. package/types/image/util/hook/useShowFooter.d.ts +2 -2
  123. package/types/index.d.ts +23 -23
  124. package/types/input/Input.d.ts +1 -0
  125. package/types/input/index.d.ts +1 -0
  126. package/types/input/useComposition.d.ts +2 -1
  127. package/types/input-number/useSelectionRange.d.ts +2 -1
  128. package/types/layout/index.d.ts +1 -0
  129. package/types/list/index.d.ts +1 -0
  130. package/types/menu/Indent.d.ts +2 -1
  131. package/types/menu/Menu.d.ts +1 -0
  132. package/types/menu/index.d.ts +1 -0
  133. package/types/message/index.d.ts +2 -0
  134. package/types/notification/index.d.ts +2 -0
  135. package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
  136. package/types/overflow-ellipsis/index.d.ts +2 -2
  137. package/types/radio/Radio.d.ts +2 -0
  138. package/types/radio/index.d.ts +2 -1
  139. package/types/resize-box/ResizeTrigger.d.ts +2 -1
  140. package/types/resize-box/index.d.ts +1 -0
  141. package/types/result/403.d.ts +2 -1
  142. package/types/result/404.d.ts +2 -1
  143. package/types/result/500.d.ts +2 -1
  144. package/types/select/Select.d.ts +1 -1
  145. package/types/select/index.d.ts +1 -0
  146. package/types/skeleton/Image.d.ts +2 -1
  147. package/types/skeleton/Text.d.ts +2 -1
  148. package/types/slider/hook/useLegalValue.d.ts +2 -1
  149. package/types/space/index.d.ts +2 -0
  150. package/types/space/toArray.d.ts +2 -1
  151. package/types/speech-synthesis/index.d.ts +2 -1
  152. package/types/spin/DotLoading.d.ts +2 -1
  153. package/types/statistic/index.d.ts +1 -0
  154. package/types/steps/index.d.ts +1 -0
  155. package/types/table/hook/useComponent.d.ts +2 -1
  156. package/types/table/hook/useExpand.d.ts +2 -1
  157. package/types/table/hook/useRowSelection.d.ts +2 -1
  158. package/types/table/hook/useSorter.d.ts +2 -1
  159. package/types/table/index.d.ts +2 -1
  160. package/types/table/summary/index.d.ts +3 -0
  161. package/types/tabs/Tab.d.ts +1 -0
  162. package/types/tabs/TabContent.d.ts +2 -2
  163. package/types/tabs/hook/useDomSize.d.ts +2 -1
  164. package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
  165. package/types/tabs/index.d.ts +1 -0
  166. package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
  167. package/types/time-picker/TimeColumn.d.ts +2 -2
  168. package/types/time-picker/index.d.ts +5 -0
  169. package/types/timeline/Timeline.d.ts +1 -0
  170. package/types/timeline/index.d.ts +1 -0
  171. package/types/tree-select/Select.d.ts +5 -0
  172. package/types/tree-select/hook/useTreeData.d.ts +2 -1
  173. package/types/tree-select/index.d.ts +2 -1
  174. package/types/typography/Operations.d.ts +2 -1
  175. package/types/typography/index.d.ts +1 -0
  176. package/types/upload/Upload.d.ts +2 -1
  177. package/types/upload/index.d.ts +2 -3
  178. package/types/utils/fillNBSP.d.ts +2 -1
  179. package/types/utils/getHighlightText.d.ts +2 -1
  180. package/types/utils/getHotkeyHandler.d.ts +2 -1
  181. package/types/utils/getStringLength.d.ts +2 -1
  182. package/types/utils/include.d.ts +2 -1
  183. package/types/utils/mergeProps.d.ts +2 -1
  184. package/types/utils/mergedToString.d.ts +2 -1
  185. package/types/utils/omit.d.ts +2 -1
  186. package/types/utils/pick.d.ts +2 -1
  187. package/types/utils/throttleByRaf.d.ts +2 -1
  188. package/types/utils/throttleByRafV2.d.ts +2 -1
  189. package/types/utils/warning.d.ts +2 -1
  190. package/utils/contextHolder.js +1 -1
  191. package/utils/index.js +2 -2
package/Space.js CHANGED
@@ -1,48 +1,48 @@
1
- import { jsx as d, jsxs as A } from "react/jsx-runtime";
2
- import M from "lodash/isArray";
3
- import P from "lodash/isNumber";
4
- import v, { forwardRef as b, useContext as j } from "react";
5
- import { d as k } from "./chunk/C5S_amaH.js";
6
- import { useMergeProps as F } from "./hooks/useMergeProps.js";
7
- import { y as D } from "./chunk/BzPkh4Zv.js";
8
- import { isFragment as E } from "react-is";
1
+ import { jsx as l, jsxs as M } from "react/jsx-runtime";
2
+ import P from "lodash/isArray";
3
+ import b from "lodash/isNumber";
4
+ import v, { forwardRef as j, useContext as k } from "react";
5
+ import { d as F } from "./chunk/B5GDq8NJ.js";
6
+ import { useMergeProps as D } from "./hooks/useMergeProps.js";
7
+ import { y as E } from "./chunk/BzPkh4Zv.js";
8
+ import { isFragment as H } from "react-is";
9
9
  function N(c) {
10
- let i = [];
11
- return v.Children.forEach(c, (e) => {
12
- E(e) && e.props ? i = i.concat(N(e.props.children)) : e != null && i.push(e);
13
- }), i;
10
+ let e = [];
11
+ return v.Children.forEach(c, (n) => {
12
+ H(n) && n.props ? e = e.concat(N(n.props.children)) : n != null && e.push(n);
13
+ }), e;
14
14
  }
15
- const H = {
15
+ const O = {
16
16
  size: "small",
17
17
  direction: "horizontal"
18
18
  };
19
- function O(c, i) {
20
- const { getPrefixCls: e, componentConfig: l, rtl: y } = j(k), C = F(
19
+ function V(c, e) {
20
+ const { getPrefixCls: n, componentConfig: p, rtl: y } = k(F), C = D(
21
21
  c,
22
- H,
23
- l == null ? void 0 : l.Space
22
+ O,
23
+ p == null ? void 0 : p.Space
24
24
  ), {
25
- className: S,
26
- style: x,
27
- children: w,
25
+ className: x,
26
+ style: w,
27
+ children: B,
28
28
  size: s,
29
29
  direction: m,
30
- align: B,
31
- wrap: p,
32
- split: f,
33
- ...L
34
- } = C, n = e("space"), $ = B || (m === "horizontal" ? "center" : ""), R = D(
35
- n,
30
+ align: L,
31
+ wrap: f,
32
+ split: u,
33
+ ...R
34
+ } = C, i = n("space"), $ = L || (m === "horizontal" ? "center" : ""), z = E(
35
+ i,
36
36
  {
37
- [`${n}-${m}`]: m,
38
- [`${n}-align-${$}`]: $,
39
- [`${n}-wrap`]: p,
40
- [`${n}-rtl`]: y
37
+ [`${i}-${m}`]: m,
38
+ [`${i}-align-${$}`]: $,
39
+ [`${i}-wrap`]: f,
40
+ [`${i}-rtl`]: y
41
41
  },
42
- S
42
+ x
43
43
  );
44
- function u(r) {
45
- if (P(r))
44
+ function g(r) {
45
+ if (b(r))
46
46
  return r;
47
47
  switch (r) {
48
48
  case "mini":
@@ -57,36 +57,40 @@ function O(c, i) {
57
57
  return 8;
58
58
  }
59
59
  }
60
- const h = N(w);
61
- function z(r) {
60
+ const h = N(B);
61
+ function A(r) {
62
62
  const o = h.length === r + 1, a = y ? "marginLeft" : "marginRight";
63
63
  if (typeof s == "string" || typeof s == "number") {
64
- const t = u(s);
65
- return p ? o ? { marginBottom: t } : {
64
+ const t = g(s);
65
+ return f ? o ? { marginBottom: t } : {
66
66
  [`${a}`]: t,
67
67
  marginBottom: t
68
68
  } : o ? {} : {
69
69
  [m === "vertical" ? "marginBottom" : a]: t
70
70
  };
71
71
  }
72
- if (M(s)) {
73
- const t = u(s[0]), g = u(s[1]);
74
- return p ? o ? { marginBottom: g } : {
72
+ if (P(s)) {
73
+ const t = g(s[0]), d = g(s[1]);
74
+ return f ? o ? { marginBottom: d } : {
75
75
  [`${a}`]: t,
76
- marginBottom: g
77
- } : m === "vertical" ? { marginBottom: g } : { [`${a}`]: t };
76
+ marginBottom: d
77
+ } : m === "vertical" ? { marginBottom: d } : { [`${a}`]: t };
78
78
  }
79
79
  }
80
- return /* @__PURE__ */ d("div", { ref: i, className: R, style: x, ...L, children: h.map((r, o) => {
81
- const a = (r == null ? void 0 : r.key) || o, t = f != null && o > 0;
82
- return /* @__PURE__ */ A(v.Fragment, { children: [
83
- t && /* @__PURE__ */ d("div", { className: `${n}-item-split`, children: f }),
84
- /* @__PURE__ */ d("div", { className: `${n}-item`, style: z(o), children: r })
80
+ return /* @__PURE__ */ l("div", { ref: e, className: z, style: w, ...R, children: h.map((r, o) => {
81
+ const a = (r == null ? void 0 : r.key) || o, t = u != null && o > 0;
82
+ return /* @__PURE__ */ M(v.Fragment, { children: [
83
+ t && /* @__PURE__ */ l("div", { className: `${i}-item-split`, children: u }),
84
+ /* @__PURE__ */ l("div", { className: `${i}-item`, style: A(o), children: r })
85
85
  ] }, a);
86
86
  }) });
87
87
  }
88
- const q = b(O);
89
- q.displayName = "Space";
88
+ const S = j(V);
89
+ S.displayName = "Space";
90
+ function W(c, e) {
91
+ return /* @__PURE__ */ l(S, { ref: e, direction: "vertical", children: c.children });
92
+ }
90
93
  export {
91
- q as default
94
+ W as SpaceVertical,
95
+ S as default
92
96
  };
package/Spin.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as u, Fragment as x } from "react/jsx-runtime";
2
2
  import E from "@unicom-cloud/icons/IconUiLoading";
3
3
  import P from "lodash/debounce";
4
4
  import C, { useContext as b, useState as j, useCallback as _, useRef as A, useImperativeHandle as D, useEffect as F } from "react";
5
- import { d as L } from "./chunk/C5S_amaH.js";
5
+ import { d as L } from "./chunk/B5GDq8NJ.js";
6
6
  import { useMergeProps as H } from "./hooks/useMergeProps.js";
7
7
  import { y as v } from "./chunk/BzPkh4Zv.js";
8
8
  import { isEmptyReactNode as M } from "./utils/is.js";
package/Statistic.js CHANGED
@@ -1,10 +1,10 @@
1
- import { jsxs as g, jsx as s, Fragment as Z } from "react/jsx-runtime";
1
+ import { jsxs as w, jsx as s, Fragment as Z } from "react/jsx-runtime";
2
2
  import { C as ee, P as te } from "./chunk/4-gvEY5y.js";
3
3
  import L from "dayjs";
4
4
  import W from "lodash/isFunction";
5
5
  import M from "lodash/isNumber";
6
6
  import { forwardRef as Y, useContext as q, useState as H, useRef as _, useEffect as z, useImperativeHandle as ne, useMemo as re } from "react";
7
- import { d as A } from "./chunk/C5S_amaH.js";
7
+ import { d as A } from "./chunk/B5GDq8NJ.js";
8
8
  import { useMergeProps as oe } from "./hooks/useMergeProps.js";
9
9
  import ie from "./Skeleton.js";
10
10
  import { y as B } from "./chunk/BzPkh4Zv.js";
@@ -27,32 +27,32 @@ const le = [
27
27
  ["S", 1]
28
28
  // million seconds
29
29
  ];
30
- function k(u, w) {
30
+ function k(u, S) {
31
31
  let p = u;
32
32
  return le.reduce((m, [l, d]) => {
33
33
  if (m.indexOf(l) !== -1) {
34
34
  const e = Math.floor(p / d);
35
- return p -= e * d, m.replace(new RegExp(`${l}+`, "g"), (S) => {
36
- const f = S.length;
35
+ return p -= e * d, m.replace(new RegExp(`${l}+`, "g"), (g) => {
36
+ const f = g.length;
37
37
  return se(e.toString(), f, "0");
38
38
  });
39
39
  }
40
40
  return m;
41
- }, w);
41
+ }, S);
42
42
  }
43
- function ce(u, w) {
43
+ function ce(u, S) {
44
44
  const { getPrefixCls: p } = q(A), {
45
45
  className: m,
46
46
  style: l,
47
47
  title: d,
48
48
  styleValue: e,
49
- value: S,
49
+ value: g,
50
50
  onFinish: f,
51
51
  renderFormat: $,
52
52
  format: v = "HH:mm:ss",
53
- start: C = !0
54
- } = u, r = E(S, v) || L(), y = E(u.now, v), o = p("statistic"), [N, D] = H(
55
- r.diff(y, "millisecond")
53
+ start: y = !0
54
+ } = u, r = E(g, v) || L(), C = E(u.now, v), o = p("statistic"), [N, D] = H(
55
+ r.diff(C, "millisecond")
56
56
  ), [F, R] = H(
57
57
  k(Math.max(N, 0), v)
58
58
  ), h = _(null), V = () => {
@@ -65,14 +65,14 @@ function ce(u, w) {
65
65
  R(n), D(t);
66
66
  }, 1e3 / 30);
67
67
  };
68
- z(() => (!h.current && C && r.valueOf() >= Date.now() && i(), () => {
68
+ z(() => (!h.current && y && r.valueOf() >= Date.now() && i(), () => {
69
69
  V();
70
70
  }), [u.start]);
71
71
  const b = W($) ? $(N, F) : F;
72
- return /* @__PURE__ */ g(
72
+ return /* @__PURE__ */ w(
73
73
  "div",
74
74
  {
75
- ref: w,
75
+ ref: S,
76
76
  className: B(`${o}`, `${o}-countdown`, m),
77
77
  style: l,
78
78
  children: [
@@ -84,7 +84,7 @@ function ce(u, w) {
84
84
  }
85
85
  const G = Y(ce);
86
86
  G.displayName = "StatisticCountdown";
87
- function ue(u, w) {
87
+ function ue(u, S) {
88
88
  const p = {
89
89
  countFrom: 0,
90
90
  countDuration: 2e3
@@ -93,13 +93,13 @@ function ue(u, w) {
93
93
  p,
94
94
  l == null ? void 0 : l.Statistic
95
95
  ), {
96
- className: S,
96
+ className: g,
97
97
  style: f,
98
98
  title: $,
99
99
  extra: v,
100
- groupSeparator: C,
100
+ groupSeparator: y,
101
101
  precision: r,
102
- prefix: y,
102
+ prefix: C,
103
103
  suffix: o,
104
104
  format: N,
105
105
  renderFormat: D,
@@ -130,7 +130,7 @@ function ue(u, w) {
130
130
  };
131
131
  z(() => (e.countUp ? (i.current && i.current.stop(), t !== e.value ? P(Number(t), e.value) : P()) : x(e.value), () => {
132
132
  i.current && i.current.stop(), i.current = null;
133
- }), [e.value]), ne(w, () => ({
133
+ }), [e.value]), ne(S, () => ({
134
134
  countUp: P,
135
135
  getRootDOMNode: () => b.current
136
136
  }));
@@ -139,33 +139,33 @@ function ue(u, w) {
139
139
  N && (c = L(t).format(N)), M(r) && r >= 0 && (c = Number(t).toFixed(r));
140
140
  let a = String(c).split(".")[0];
141
141
  const U = String(c).split(".")[1];
142
- return C && M(Number(t)) && (a = Number(a).toLocaleString("en-US")), {
142
+ return y && M(Number(t)) && (a = Number(a).toLocaleString("en-US")), {
143
143
  int: a,
144
144
  decimal: U
145
145
  };
146
- }, [N, C, r, t]), Q = W(D) ? D : (c, a) => a, I = M(Number(t)), O = /* @__PURE__ */ g(Z, { children: [
147
- y != null ? /* @__PURE__ */ s("span", { className: `${n}-value-prefix`, children: y }) : null,
146
+ }, [N, y, r, t]), Q = W(D) ? D : (c, a) => a, I = M(Number(t)), O = /* @__PURE__ */ w(Z, { children: [
147
+ C != null ? /* @__PURE__ */ s("span", { className: `${n}-value-prefix`, children: C }) : null,
148
148
  Q(t, I ? K : t)
149
149
  ] });
150
- return /* @__PURE__ */ g(
150
+ return /* @__PURE__ */ w(
151
151
  "div",
152
152
  {
153
- className: B(`${n}`, { [`${n}-rtl`]: d }, S),
153
+ className: B(`${n}`, { [`${n}-rtl`]: d }, g),
154
154
  style: f,
155
155
  ...ae(V, ["value", "countUp", "countFrom", "countDuration"]),
156
156
  ref: b,
157
157
  children: [
158
158
  $ && /* @__PURE__ */ s("div", { className: `${n}-title`, children: $ }),
159
- /* @__PURE__ */ g("div", { className: `${n}-content`, children: [
159
+ /* @__PURE__ */ w("div", { className: `${n}-content`, children: [
160
160
  /* @__PURE__ */ s(
161
161
  ie,
162
162
  {
163
163
  animation: !0,
164
164
  loading: !!h,
165
165
  text: { rows: 1, width: "100%" },
166
- children: /* @__PURE__ */ g("div", { className: `${n}-value`, style: F, children: [
166
+ children: /* @__PURE__ */ w("div", { className: `${n}-value`, style: F, children: [
167
167
  I ? /* @__PURE__ */ s("span", { className: `${n}-value-int`, children: O }) : O,
168
- j !== void 0 || o ? /* @__PURE__ */ g(
168
+ j !== void 0 || o ? /* @__PURE__ */ w(
169
169
  "span",
170
170
  {
171
171
  className: `${n}-value-decimal`,
@@ -189,5 +189,6 @@ const me = Y(ue), J = me;
189
189
  J.displayName = "Statistic";
190
190
  J.Countdown = G;
191
191
  export {
192
+ G as StatisticCountdown,
192
193
  J as default
193
194
  };
package/Steps.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as k, jsx as n } from "react/jsx-runtime";
2
2
  import E, { forwardRef as I, useContext as L } from "react";
3
- import { d as M } from "./chunk/C5S_amaH.js";
3
+ import { d as M } from "./chunk/B5GDq8NJ.js";
4
4
  import { useMergeProps as W } from "./hooks/useMergeProps.js";
5
5
  import { y as R } from "./chunk/BzPkh4Zv.js";
6
6
  import { pickDataAttributes as q } from "./utils/pick.js";
@@ -18,24 +18,24 @@ function H(P, z) {
18
18
  description: a,
19
19
  icon: m,
20
20
  nextStepError: v,
21
- type: r,
22
- customDot: h,
23
- labelPlacement: y,
24
- disabled: S,
21
+ type: o,
22
+ customDot: S,
23
+ labelPlacement: h,
24
+ disabled: y,
25
25
  onClick: f,
26
26
  onChange: p,
27
- direction: o,
27
+ direction: s,
28
28
  id: c,
29
29
  lineless: u
30
30
  } = P;
31
31
  function w(b) {
32
- if (r === "dot")
32
+ if (o === "dot")
33
33
  return null;
34
34
  let x = t;
35
35
  return m ? x = m : b === "finish" ? x = /* @__PURE__ */ n(B, {}) : b === "error" && (x = /* @__PURE__ */ n(G, {})), /* @__PURE__ */ n("div", { className: `${e}-icon`, children: x });
36
36
  }
37
- function s(b) {
38
- S || (l !== t && (p == null || p(t, c)), f == null || f(t, c, b));
37
+ function r(b) {
38
+ y || (l !== t && (p == null || p(t, c)), f == null || f(t, c, b));
39
39
  }
40
40
  let i;
41
41
  $ ? i = $ : (l < t && (i = "wait"), l === t && (i = "process"), l > t && (i = "finish"));
@@ -45,19 +45,19 @@ function H(P, z) {
45
45
  {
46
46
  [`${e}-item-custom`]: !!m,
47
47
  [`${e}-item-next-error`]: v,
48
- [`${e}-item-disabled`]: S,
48
+ [`${e}-item-disabled`]: y,
49
49
  [`${e}-item-active`]: t === l
50
50
  },
51
51
  d
52
- ), U = w(i), D = /* @__PURE__ */ n("div", { className: `${e}-item-icon`, children: U }), F = h ? h(D, {
52
+ ), U = w(i), D = /* @__PURE__ */ n("div", { className: `${e}-item-icon`, children: U }), F = S ? S(D, {
53
53
  index: t,
54
54
  status: i,
55
55
  title: N,
56
56
  description: a
57
57
  }) : D;
58
- return /* @__PURE__ */ k("div", { ref: z, className: C, style: g, onClick: s, children: [
59
- !u && (y === "vertical" || o === "vertical") && /* @__PURE__ */ n("div", { className: `${e}-item-tail` }),
60
- r !== "arrow" && F,
58
+ return /* @__PURE__ */ k("div", { ref: z, className: C, style: g, onClick: r, children: [
59
+ !u && (h === "vertical" || s === "vertical") && /* @__PURE__ */ n("div", { className: `${e}-item-tail` }),
60
+ o !== "arrow" && F,
61
61
  /* @__PURE__ */ k("div", { className: `${e}-item-content`, children: [
62
62
  /* @__PURE__ */ n("div", { className: `${e}-item-title`, children: N }),
63
63
  a && /* @__PURE__ */ n("div", { className: `${e}-item-description`, children: a })
@@ -85,27 +85,27 @@ function K(P, z) {
85
85
  current: a = 1,
86
86
  status: m,
87
87
  onChange: v,
88
- type: r,
89
- size: h,
90
- direction: y,
91
- labelPlacement: S,
88
+ type: o,
89
+ size: S,
90
+ direction: h,
91
+ labelPlacement: y,
92
92
  customDot: f,
93
93
  lineless: p
94
- } = t, o = g("steps");
95
- let c = S;
96
- r === "dot" && (c = y === "vertical" ? "horizontal" : "vertical"), r === "navigation" && (c = "horizontal");
97
- let u = y;
98
- (r === "navigation" || r === "arrow") && (u = "horizontal");
94
+ } = t, s = g("steps");
95
+ let c = y;
96
+ o === "dot" && (c = h === "vertical" ? "horizontal" : "vertical"), o === "navigation" && (c = "horizontal");
97
+ let u = h;
98
+ (o === "navigation" || o === "arrow") && (u = "horizontal");
99
99
  const w = R(
100
- o,
101
- `${o}-${u}`,
102
- `${o}-label-${c}`,
103
- `${o}-size-${h}`,
100
+ s,
101
+ `${s}-${u}`,
102
+ `${s}-label-${c}`,
103
+ `${s}-size-${S}`,
104
104
  {
105
- [`${o}-change-onclick`]: typeof v == "function",
106
- [`${o}-mode-${r}`]: r !== "default",
107
- [`${o}-lineless`]: p,
108
- [`${o}-rtl`]: e
105
+ [`${s}-change-onclick`]: typeof v == "function",
106
+ [`${s}-mode-${o}`]: o !== "default",
107
+ [`${s}-lineless`]: p,
108
+ [`${s}-rtl`]: e
109
109
  },
110
110
  l
111
111
  );
@@ -117,12 +117,12 @@ function K(P, z) {
117
117
  className: w,
118
118
  ...q(t),
119
119
  children: E.Children.toArray(N).filter(
120
- (s) => s && s.type && s.type.displayName === "Step"
121
- ).map((s, i) => {
122
- if (i += 1, s) {
120
+ (r) => r && r.type && r.type.displayName === "Step"
121
+ ).map((r, i) => {
122
+ if (i += 1, r) {
123
123
  const C = {
124
- prefixCls: o,
125
- type: r,
124
+ prefixCls: s,
125
+ type: o,
126
126
  index: i,
127
127
  current: a,
128
128
  status: a === i ? m : void 0,
@@ -131,9 +131,9 @@ function K(P, z) {
131
131
  direction: u,
132
132
  onChange: v,
133
133
  lineless: p,
134
- ...s.props
134
+ ...r.props
135
135
  };
136
- return m === "error" && a === i + 1 && (C.nextStepError = !0), E.cloneElement(s, C);
136
+ return m === "error" && a === i + 1 && (C.nextStepError = !0), E.cloneElement(r, C);
137
137
  }
138
138
  return null;
139
139
  })
@@ -144,5 +144,7 @@ const O = I(K), A = O;
144
144
  A.displayName = "Steps";
145
145
  A.Step = j;
146
146
  export {
147
+ j as StepsItem,
148
+ j as StepsStep,
147
149
  A as default
148
150
  };
package/Switch.js CHANGED
@@ -3,7 +3,7 @@ import q from "@unicom-cloud/icons/IconUiLoading";
3
3
  import { I as A, P as x } from "./chunk/CLBavO5c.js";
4
4
  import B from "lodash/isArray";
5
5
  import { forwardRef as L, useContext as M, useState as O } from "react";
6
- import { d as Q } from "./chunk/C5S_amaH.js";
6
+ import { d as Q } from "./chunk/B5GDq8NJ.js";
7
7
  import { useMergeProps as U } from "./hooks/useMergeProps.js";
8
8
  import { y as W } from "./chunk/BzPkh4Zv.js";
9
9
  import "./utils/is.js";
package/Table.js CHANGED
@@ -6,11 +6,11 @@ import Le from "lodash/isNumber";
6
6
  import q from "lodash/isPlainObject";
7
7
  import Dn from "lodash/throttle";
8
8
  import Ee, { useRef as he, useEffect as tt, useMemo as de, useCallback as et, useState as xe, useContext as Oe, forwardRef as At, createElement as nt, createContext as Hn, useImperativeHandle as Mn } from "react";
9
- import { d as Ge } from "./chunk/C5S_amaH.js";
9
+ import { d as Ge } from "./chunk/B5GDq8NJ.js";
10
10
  import { useIsomorphicLayoutEffect as Wn } from "./hooks/useIsomorphicLayoutEffect.js";
11
11
  import { useMergeProps as Zt } from "./hooks/useMergeProps.js";
12
12
  import { useUpdateEffect as Et } from "./hooks/useUpdateEffect.js";
13
- import { P as en } from "./chunk/B5gIo-hD.js";
13
+ import { P as en } from "./chunk/BHnRi7Xh.js";
14
14
  import zn from "./Spin.js";
15
15
  import { y as Z } from "./chunk/BzPkh4Zv.js";
16
16
  import { on as ht, off as yt } from "./utils/dom.js";
@@ -22,8 +22,8 @@ import qn from "lodash/isUndefined";
22
22
  import { V as Gn } from "./chunk/D3NFxdmG.js";
23
23
  import Xn from "@unicom-cloud/icons/IconUiMinus";
24
24
  import Qn from "@unicom-cloud/icons/IconUiPlus";
25
- import { C as Ft } from "./chunk/B9w_puFP.js";
26
- import { R as ln } from "./chunk/BLLKKgZJ.js";
25
+ import { C as Ft } from "./chunk/QlYCEvCX.js";
26
+ import { R as ln } from "./chunk/BCxoi4Kf.js";
27
27
  import Ct from "lodash/get";
28
28
  import gt from "lodash/isFunction";
29
29
  import { useForceUpdate as Jn } from "./hooks/useForceUpdate.js";
@@ -2024,5 +2024,8 @@ Ot.Cell = un;
2024
2024
  const Lo = fn;
2025
2025
  Lo.Summary = Ot;
2026
2026
  export {
2027
+ Ot as TableSummary,
2028
+ un as TableSummaryCell,
2029
+ Fo as TableSummaryRow,
2027
2030
  Lo as default
2028
2031
  };
package/Tabs.js CHANGED
@@ -1,4 +1,8 @@
1
- import { T as a } from "./chunk/CAxIyiy6.js";
1
+ import { T as s } from "./chunk/pq-36BDW.js";
2
+ import { a as t, b, b as T } from "./chunk/pq-36BDW.js";
2
3
  export {
3
- a as default
4
+ t as TabsContext,
5
+ b as TabsItemPane,
6
+ T as TabsTabPane,
7
+ s as default
4
8
  };
package/Tag.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 { d as Z, I as S } from "./chunk/C5S_amaH.js";
6
+ import { d as Z, I as S } from "./chunk/B5GDq8NJ.js";
7
7
  import { useKeyboardEvent as ee } from "./hooks/useKeyboardEvent.js";
8
8
  import { useMergeProps as oe } from "./hooks/useMergeProps.js";
9
9
  import ne from "./Popconfirm.js";