@unicom-cloud/ui 0.8.62 → 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 (202) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +2 -2
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +3 -3
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +2 -2
  7. package/Badge.js +2 -2
  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 +1026 -1016
  21. package/Descriptions.js +10 -10
  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 +2 -2
  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 +4 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +1 -1
  43. package/Notification.js +4 -3
  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 +50 -46
  60. package/Spin.js +1 -1
  61. package/Statistic.js +28 -27
  62. package/Steps.js +40 -38
  63. package/Switch.js +2 -2
  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 +2 -2
  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/{CHyuuVxl.js → -IELMT_x.js} +1 -1
  79. package/chunk/{CV1kLw5Z.js → B5GDq8NJ.js} +8 -6
  80. package/chunk/{qpd2axxs.js → B68hRpYG.js} +2 -2
  81. package/chunk/{B8SZFOjt.js → BCxoi4Kf.js} +22 -20
  82. package/chunk/{DRp7voqz.js → BHnRi7Xh.js} +3 -3
  83. package/chunk/{C6fEFlPt.js → BJSjbYSN.js} +2 -2
  84. package/chunk/{BlNFmhNa.js → BSBJlVZH.js} +3 -3
  85. package/chunk/{yESVS-qX.js → BfHNSLva.js} +3 -3
  86. package/chunk/{B4-WpgY2.js → BtIG250j.js} +7 -4
  87. package/chunk/{Dtm4BmKB.js → BwSpYGK-.js} +1 -1
  88. package/chunk/{KchYsivk.js → CA69nxbj.js} +1 -1
  89. package/chunk/{D3VMG9V1.js → CAhODOfT.js} +3 -2
  90. package/chunk/{tOFzwzpT.js → CAiaqaWc.js} +1 -1
  91. package/chunk/{Wum88vrW.js → CBgwLBAC.js} +40 -38
  92. package/chunk/{Bp3XomF8.js → CLBavO5c.js} +23 -20
  93. package/chunk/{CT1lZ7ss.js → CTF5o0OX.js} +1 -1
  94. package/chunk/{C4eJ9vCf.js → CYQ1EE4h.js} +2 -2
  95. package/chunk/{DRQ1v6Ux.js → CZfGDXaB.js} +1 -1
  96. package/chunk/{B0oDiPqE.js → CtUTlwlQ.js} +1 -1
  97. package/chunk/{DGasAUHE.js → CxpFYX4B.js} +11 -11
  98. package/chunk/{BnqeQYIZ.js → D-oHJail.js} +59 -55
  99. package/chunk/{CazXy0r4.js → D01b7bWX.js} +50 -45
  100. package/chunk/{C8o-VGyc.js → DPJEIBKZ.js} +3 -3
  101. package/chunk/{-Z968QpN.js → DQ561AmR.js} +3 -3
  102. package/chunk/{CDJ1EnJ2.js → QlYCEvCX.js} +1 -1
  103. package/chunk/{AqH9yP_J.js → Yvz-hPQB.js} +2 -2
  104. package/chunk/{nbEvdwT0.js → _m8hLSsx.js} +4 -2
  105. package/chunk/{CJnshq6A.js → oR9TkA35.js} +2 -2
  106. package/chunk/{BXWxA-tS.js → pq-36BDW.js} +5 -3
  107. package/chunk/{mfn4EgmQ.js → tW_FgNSv.js} +1 -1
  108. package/index.js +540 -472
  109. package/locale/zh-CN.js +8 -0
  110. package/package.json +1 -1
  111. package/types/calendar/hook/useCellClassName.d.ts +2 -1
  112. package/types/checkbox/IconCheck.d.ts +2 -1
  113. package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
  114. package/types/date-picker/hook/useCellClassName.d.ts +2 -1
  115. package/types/date-picker/index.d.ts +7 -0
  116. package/types/date-picker/panel/Footer.d.ts +2 -1
  117. package/types/dropdown/index.d.ts +1 -0
  118. package/types/form/IconSymbol.d.ts +2 -1
  119. package/types/form/useForm.d.ts +2 -1
  120. package/types/icon/addFromIconFontCn.d.ts +2 -1
  121. package/types/icon/index.d.ts +2 -0
  122. package/types/image/Image.d.ts +1 -0
  123. package/types/image/index.d.ts +2 -1
  124. package/types/image/util/getFixTranslate.d.ts +2 -1
  125. package/types/image/util/hook/useImageStatus.d.ts +2 -2
  126. package/types/image/util/hook/useShowFooter.d.ts +2 -2
  127. package/types/index.d.ts +25 -25
  128. package/types/input/Input.d.ts +1 -0
  129. package/types/input/index.d.ts +1 -0
  130. package/types/input/useComposition.d.ts +2 -1
  131. package/types/input-number/useSelectionRange.d.ts +2 -1
  132. package/types/layout/index.d.ts +1 -0
  133. package/types/list/index.d.ts +1 -0
  134. package/types/locale/interface.d.ts +1 -0
  135. package/types/locale/zh-CN.d.ts +14 -0
  136. package/types/menu/Indent.d.ts +2 -1
  137. package/types/menu/Menu.d.ts +1 -0
  138. package/types/menu/index.d.ts +1 -0
  139. package/types/message/index.d.ts +2 -0
  140. package/types/notification/index.d.ts +2 -0
  141. package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
  142. package/types/overflow-ellipsis/index.d.ts +2 -2
  143. package/types/radio/Radio.d.ts +2 -0
  144. package/types/radio/index.d.ts +2 -1
  145. package/types/resize-box/ResizeTrigger.d.ts +2 -1
  146. package/types/resize-box/index.d.ts +1 -0
  147. package/types/result/403.d.ts +2 -1
  148. package/types/result/404.d.ts +2 -1
  149. package/types/result/500.d.ts +2 -1
  150. package/types/select/Select.d.ts +1 -1
  151. package/types/select/index.d.ts +1 -0
  152. package/types/skeleton/Image.d.ts +2 -1
  153. package/types/skeleton/Text.d.ts +2 -1
  154. package/types/slider/hook/useLegalValue.d.ts +2 -1
  155. package/types/space/index.d.ts +4 -1
  156. package/types/space/toArray.d.ts +2 -1
  157. package/types/speech-synthesis/index.d.ts +2 -1
  158. package/types/spin/DotLoading.d.ts +2 -1
  159. package/types/statistic/index.d.ts +1 -0
  160. package/types/steps/index.d.ts +1 -0
  161. package/types/table/hook/useComponent.d.ts +2 -1
  162. package/types/table/hook/useExpand.d.ts +2 -1
  163. package/types/table/hook/useRowSelection.d.ts +2 -1
  164. package/types/table/hook/useSorter.d.ts +2 -1
  165. package/types/table/index.d.ts +2 -1
  166. package/types/table/summary/index.d.ts +3 -0
  167. package/types/tabs/Tab.d.ts +1 -0
  168. package/types/tabs/TabContent.d.ts +2 -2
  169. package/types/tabs/hook/useDomSize.d.ts +2 -1
  170. package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
  171. package/types/tabs/index.d.ts +1 -0
  172. package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
  173. package/types/time-picker/TimeColumn.d.ts +2 -2
  174. package/types/time-picker/index.d.ts +5 -0
  175. package/types/timeline/Timeline.d.ts +1 -0
  176. package/types/timeline/index.d.ts +1 -0
  177. package/types/tree-select/Select.d.ts +5 -0
  178. package/types/tree-select/hook/useTreeData.d.ts +2 -1
  179. package/types/tree-select/index.d.ts +2 -1
  180. package/types/typography/Operations.d.ts +2 -1
  181. package/types/typography/index.d.ts +1 -0
  182. package/types/upload/Upload.d.ts +2 -1
  183. package/types/upload/index.d.ts +2 -3
  184. package/types/utils/fillNBSP.d.ts +2 -1
  185. package/types/utils/getHighlightText.d.ts +2 -1
  186. package/types/utils/getHotkeyHandler.d.ts +2 -1
  187. package/types/utils/getStringLength.d.ts +2 -1
  188. package/types/utils/include.d.ts +2 -1
  189. package/types/utils/is.d.ts +2 -0
  190. package/types/utils/mergeProps.d.ts +2 -1
  191. package/types/utils/mergedToString.d.ts +2 -1
  192. package/types/utils/omit.d.ts +2 -1
  193. package/types/utils/pick.d.ts +2 -1
  194. package/types/utils/throttleByRaf.d.ts +2 -1
  195. package/types/utils/throttleByRafV2.d.ts +2 -1
  196. package/types/utils/warning.d.ts +2 -1
  197. package/types/verification-code/VerificationCode.d.ts +2 -1
  198. package/utils/CSSTransition.js +1 -1
  199. package/utils/contextHolder.js +1 -1
  200. package/utils/dayjs.js +50 -49
  201. package/utils/index.js +161 -148
  202. package/utils/is.js +125 -112
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/CV1kLw5Z.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/CV1kLw5Z.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
@@ -1,9 +1,9 @@
1
1
  import { jsxs as l, jsx as r, Fragment as R } from "react/jsx-runtime";
2
2
  import q from "@unicom-cloud/icons/IconUiLoading";
3
- import { I as A, P as x } from "./chunk/Bp3XomF8.js";
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/CV1kLw5Z.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/CV1kLw5Z.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/DRp7voqz.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/CDJ1EnJ2.js";
26
- import { R as ln } from "./chunk/B8SZFOjt.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/BXWxA-tS.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/CV1kLw5Z.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";
package/TimePicker.js CHANGED
@@ -3,16 +3,16 @@ import Re from "@unicom-cloud/icons/IconUiClockCircle";
3
3
  import { isDayjs as L } from "dayjs";
4
4
  import p from "lodash/isArray";
5
5
  import He, { useContext as pe, useState as z, useRef as ze } from "react";
6
- import { d as Ae } from "./chunk/CV1kLw5Z.js";
6
+ import { d as Ae } from "./chunk/B5GDq8NJ.js";
7
7
  import { useMergeProps as Oe } from "./hooks/useMergeProps.js";
8
8
  import { usePrevious as ce } from "./hooks/usePrevious.js";
9
9
  import { useUpdateEffect as Ee } from "./hooks/useUpdateEffect.js";
10
- import { a as Fe, I as Ne } from "./chunk/KchYsivk.js";
10
+ import { a as Fe, I as Ne } from "./chunk/CA69nxbj.js";
11
11
  import Ue from "./Trigger.js";
12
12
  import { y as $e } from "./chunk/BzPkh4Zv.js";
13
13
  import { getDayjsValue as B, toLocal as d, toTimezone as X, isValidTimeString as Q, getSortedDayjsArray as Be, isDayjsArrayChange as Le, isDayjsChange as Me } from "./utils/dayjs.js";
14
14
  import { pickDataAttributes as We } from "./utils/pick.js";
15
- import { P as me, g as _e, T as de } from "./chunk/DRQ1v6Ux.js";
15
+ import { P as me, g as _e, T as de } from "./chunk/CZfGDXaB.js";
16
16
  import qe from "./utils/omit.js";
17
17
  function Ge(h) {
18
18
  return h.format || "HH:mm:ss";
@@ -26,8 +26,8 @@ const fe = {
26
26
  scrollSticky: !0
27
27
  }, Je = { bottom: 4 }, Ke = (h) => {
28
28
  var se, ae;
29
- const { locale: u, getPrefixCls: v, componentConfig: l, rtl: x } = pe(Ae);
30
- x && (fe.position = "br");
29
+ const { locale: u, getPrefixCls: v, componentConfig: l, rtl: T } = pe(Ae);
30
+ T && (fe.position = "br");
31
31
  const t = Oe(
32
32
  h,
33
33
  fe,
@@ -36,8 +36,8 @@ const fe = {
36
36
  allowClear: A = !0,
37
37
  className: f,
38
38
  disableConfirm: M,
39
- style: y,
40
- placeholder: T,
39
+ style: x,
40
+ placeholder: y,
41
41
  getPopupContainer: O,
42
42
  disabled: b,
43
43
  position: W,
@@ -56,15 +56,15 @@ const fe = {
56
56
  order: ve,
57
57
  utcOffset: n,
58
58
  timezone: r
59
- } = t, a = Ge(t), Ce = v("timepicker");
60
- function ke() {
59
+ } = t, a = Ge(t), ke = v("timepicker");
60
+ function Ce() {
61
61
  let e;
62
62
  return t.value ? e = B(t.value, a, n, r) : t.defaultValue && (e = B(t.defaultValue, a, n, r)), e;
63
63
  }
64
- const [ee, oe] = z(!1), [C, te] = z(ke()), [i, j] = z(), [R, k] = z(), [E, Ie] = z(0), V = "value" in t ? B(P, a, n, r) : C, q = "popupVisible" in t ? t.popupVisible : ee, F = ce(n), N = ce(r);
64
+ const [ee, oe] = z(!1), [k, te] = z(Ce()), [i, j] = z(), [R, C] = z(), [E, Ie] = z(0), V = "value" in t ? B(P, a, n, r) : k, q = "popupVisible" in t ? t.popupVisible : ee, F = ce(n), N = ce(r);
65
65
  Ee(() => {
66
- if (C && (F !== n || r !== N)) {
67
- const e = p(C) ? C.map((c) => d(c, F, N)) : d(C, F, N), o = p(e) ? e.map((c) => X(c, n, r)) : X(e, n, r);
66
+ if (k && (F !== n || r !== N)) {
67
+ const e = p(k) ? k.map((c) => d(c, F, N)) : d(k, F, N), o = p(e) ? e.map((c) => X(c, n, r)) : X(e, n, r);
68
68
  te(o);
69
69
  }
70
70
  }, [n, F, r, N]);
@@ -76,19 +76,19 @@ const fe = {
76
76
  function K(e) {
77
77
  Ie(e), setTimeout(() => J(e));
78
78
  }
79
- function xe(e) {
79
+ function Te(e) {
80
80
  e ? H(e, () => {
81
81
  setTimeout(() => J());
82
82
  }) : H(!1);
83
83
  }
84
84
  function H(e, o) {
85
- oe(e), k(void 0), o == null || o(), e || j(void 0);
85
+ oe(e), C(void 0), o == null || o(), e || j(void 0);
86
86
  }
87
87
  function U(e) {
88
88
  const o = g && ve && p(e) ? Be(e.map((c) => _e(c))) : e;
89
- te(o), j(void 0), k(void 0), ye(o), M || H(!1);
89
+ te(o), j(void 0), C(void 0), xe(o), M || H(!1);
90
90
  }
91
- function ye(e) {
91
+ function xe(e) {
92
92
  p(e) && Le(V, e) && (s == null || s(
93
93
  e.map((o) => d(o, n, r).format(a)),
94
94
  e.map((o) => d(o, n, r))
@@ -102,14 +102,14 @@ const fe = {
102
102
  return /* @__PURE__ */ m(
103
103
  "div",
104
104
  {
105
- className: $e(`${Ce}-container`, e ? f : ""),
106
- style: e ? y : {},
105
+ className: $e(`${ke}-container`, e ? f : ""),
106
+ style: e ? x : {},
107
107
  onClick: () => J(),
108
108
  children: He.cloneElement(_, {
109
109
  ...t,
110
110
  format: a,
111
111
  inputValue: R,
112
- setInputValue: k,
112
+ setInputValue: C,
113
113
  onConfirmValue: U,
114
114
  setValueShow: j,
115
115
  valueShow: o,
@@ -123,14 +123,14 @@ const fe = {
123
123
  }
124
124
  function ne(e) {
125
125
  const o = e.target.value;
126
- ee || oe(!0), k(o), Te(o);
126
+ ee || oe(!0), C(o), ye(o);
127
127
  }
128
- function Te(e) {
128
+ function ye(e) {
129
129
  var c, ue;
130
130
  const o = B(e, a);
131
131
  if (g) {
132
132
  const I = [
133
- ...p(i) ? i : C || []
133
+ ...p(i) ? i : k || []
134
134
  ];
135
135
  if (Q(e, a)) {
136
136
  I[E] = o;
@@ -141,11 +141,11 @@ const fe = {
141
141
  t,
142
142
  le.map(($) => $ && $.format(a)),
143
143
  le
144
- ), j(I), k(void 0);
144
+ ), j(I), C(void 0);
145
145
  }
146
146
  } else if (Q(e, a)) {
147
147
  const I = d(o, n, r);
148
- (ue = t.onSelect) == null || ue.call(t, I.format(a), I), j(o), k(void 0);
148
+ (ue = t.onSelect) == null || ue.call(t, I.format(a), I), j(o), C(void 0);
149
149
  }
150
150
  }
151
151
  function be() {
@@ -155,8 +155,8 @@ const fe = {
155
155
  var o;
156
156
  e.stopPropagation(), U(void 0), s == null || s(void 0, void 0), (o = t.onClear) == null || o.call(t);
157
157
  }
158
- const we = g && p(T) ? T : (se = u == null ? void 0 : u.TimePicker) == null ? void 0 : se.placeholders, De = T || ((ae = u == null ? void 0 : u.TimePicker) == null ? void 0 : ae.placeholder), je = Z && Z.inputSuffix || /* @__PURE__ */ m(Re, {}), re = {
159
- style: y,
158
+ const we = g && p(y) ? y : (se = u == null ? void 0 : u.TimePicker) == null ? void 0 : se.placeholders, De = y || ((ae = u == null ? void 0 : u.TimePicker) == null ? void 0 : ae.placeholder), je = Z && Z.inputSuffix || /* @__PURE__ */ m(Re, {}), re = {
159
+ style: x,
160
160
  className: f,
161
161
  popupVisible: q,
162
162
  format: a,
@@ -182,7 +182,7 @@ const fe = {
182
182
  disabled: b,
183
183
  popupAlign: Je,
184
184
  getPopupContainer: O,
185
- onVisibleChange: xe,
185
+ onVisibleChange: Te,
186
186
  popupVisible: q,
187
187
  classNames: "slideDynamicOrigin",
188
188
  unmountOnExit: !!he,
@@ -218,25 +218,25 @@ function Qe(h) {
218
218
  format: u = "HH:mm:ss",
219
219
  onSelect: v,
220
220
  focusedInputIndex: l,
221
- changeFocusedInputIndex: x,
221
+ changeFocusedInputIndex: T,
222
222
  popupVisible: t,
223
223
  onConfirmValue: A,
224
224
  valueShow: f = [],
225
225
  setValueShow: M,
226
- disableConfirm: y,
227
- ...T
226
+ disableConfirm: x,
227
+ ...y
228
228
  } = h, { utcOffset: O, timezone: b } = pe(me);
229
229
  function W(Y, w) {
230
230
  const D = f.slice(), P = f.map((s) => d(s, O, b));
231
231
  D[l] = X(w, O, b), P[l] = w, v == null || v(
232
232
  P.map((s) => s.format(u)),
233
233
  P
234
- ), M(D), y && p(P) && L(P[0]) && L(P[1]) && A(D);
234
+ ), M(D), x && p(P) && L(P[0]) && L(P[1]) && A(D);
235
235
  }
236
236
  function g() {
237
- f.length && (f[0] === void 0 || f[1] === void 0) ? x(l === 0 ? 1 : 0) : A(f);
237
+ f.length && (f[0] === void 0 || f[1] === void 0) ? T(l === 0 ? 1 : 0) : A(f);
238
238
  }
239
- const _ = qe(T, [
239
+ const _ = qe(y, [
240
240
  "defaultValue",
241
241
  "placeholder",
242
242
  "value",
@@ -253,14 +253,14 @@ function Qe(h) {
253
253
  confirmBtnDisabled: !L(S),
254
254
  valueShow: S,
255
255
  popupVisible: t,
256
- disableConfirm: y,
256
+ disableConfirm: x,
257
257
  ..._
258
258
  }
259
259
  );
260
260
  }
261
261
  function ge(h, u, v) {
262
- function l(x) {
263
- return /* @__PURE__ */ m(Ke, { ...x, picker: h, isRangePicker: v === "range" });
262
+ function l(T) {
263
+ return /* @__PURE__ */ m(Ke, { ...T, picker: h, isRangePicker: v === "range" });
264
264
  }
265
265
  return l.displayName = u, l;
266
266
  }
@@ -271,5 +271,6 @@ const Xe = ge(/* @__PURE__ */ m(de, {}), "TimePicker"), Ye = ge(
271
271
  );
272
272
  Object.assign(Xe, { RangePicker: Ye });
273
273
  export {
274
+ Ye as TimeRangePicker,
274
275
  Xe as default
275
276
  };
package/Timeline.js CHANGED
@@ -1,4 +1,6 @@
1
- import { T as o } from "./chunk/D3VMG9V1.js";
1
+ import { T as m } from "./chunk/CAhODOfT.js";
2
+ import { a } from "./chunk/CAhODOfT.js";
2
3
  export {
3
- o as default
4
+ a as TimelineItem,
5
+ m as default
4
6
  };
package/Tooltip.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import { d as F, f as I } from "./chunk/CV1kLw5Z.js";
2
+ import { d as F, f as I } from "./chunk/B5GDq8NJ.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
5
  import { useMergeProps as G } from "./hooks/useMergeProps.js";
package/Transfer.js CHANGED
@@ -4,16 +4,16 @@ import Ie from "@unicom-cloud/icons/IconUiRight";
4
4
  import ne from "lodash/isPlainObject";
5
5
  import de, { useRef as le, useState as G, useEffect as oe, useContext as fe, useMemo as ce } from "react";
6
6
  import ue from "./Button.js";
7
- import { I as pe, d as me } from "./chunk/CV1kLw5Z.js";
7
+ import { I as pe, d as me } from "./chunk/B5GDq8NJ.js";
8
8
  import { useMergeProps as Ke } from "./hooks/useMergeProps.js";
9
9
  import { useMergeValue as ie } from "./hooks/useMergeValue.js";
10
10
  import { y as se } from "./chunk/BzPkh4Zv.js";
11
11
  import { pickDataAttributes as xe } from "./utils/pick.js";
12
12
  import Ce from "@unicom-cloud/icons/IconUiDelete";
13
13
  import $e from "@unicom-cloud/icons/IconUiSearch";
14
- import { C as ae } from "./chunk/CDJ1EnJ2.js";
14
+ import { C as ae } from "./chunk/QlYCEvCX.js";
15
15
  import { useKeyboardEvent as ge } from "./hooks/useKeyboardEvent.js";
16
- import { I as ve } from "./chunk/CazXy0r4.js";
16
+ import { I as ve } from "./chunk/D01b7bWX.js";
17
17
  import Se from "./List.js";
18
18
  import Te from "@unicom-cloud/icons/IconUiClose";
19
19
  import Ne from "@unicom-cloud/icons/IconUiDragDotVertical";
package/Tree.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as f } from "./chunk/BlNFmhNa.js";
1
+ import { T as f } from "./chunk/BSBJlVZH.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/TreeSelect.js CHANGED
@@ -1,4 +1,6 @@
1
- import { T as o } from "./chunk/Wum88vrW.js";
1
+ import { T as o } from "./chunk/CBgwLBAC.js";
2
+ import { a } from "./chunk/CBgwLBAC.js";
2
3
  export {
4
+ a as TreeSelectTreeNode,
3
5
  o as default
4
6
  };
package/Trigger.js CHANGED
@@ -2,12 +2,12 @@ var st = Object.defineProperty;
2
2
  var nt = (h, l, t) => l in h ? st(h, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[l] = t;
3
3
  var s = (h, l, t) => nt(h, typeof l != "symbol" ? l + "" : l, t);
4
4
  import { jsx as N, jsxs as X } from "react/jsx-runtime";
5
- import { $ as rt } from "./chunk/Bp3XomF8.js";
5
+ import { $ as rt } from "./chunk/CLBavO5c.js";
6
6
  import et from "lodash/isArray";
7
7
  import lt from "lodash/isEqual";
8
8
  import W from "lodash/isFunction";
9
9
  import A, { useRef as pt, useEffect as ht, PureComponent as ut, createRef as Q } from "react";
10
- import { d as at } from "./chunk/CV1kLw5Z.js";
10
+ import { d as at } from "./chunk/B5GDq8NJ.js";
11
11
  import { y as _ } from "./chunk/BzPkh4Zv.js";
12
12
  import { isServerRendering as it, on as U, off as Y, getScrollElements as ct, isScrollElement as ft, contains as q } from "./utils/dom.js";
13
13
  import { supportRef as dt } from "./utils/is.js";
package/Typography.js CHANGED
@@ -1,4 +1,8 @@
1
- import { T as f } from "./chunk/BnqeQYIZ.js";
1
+ import { E as r, P as y, a as s, b as T, T as o } from "./chunk/D-oHJail.js";
2
2
  export {
3
- f as default
3
+ r as TypographyEllipsis,
4
+ y as TypographyParagraph,
5
+ s as TypographyText,
6
+ T as TypographyTitle,
7
+ o as default
4
8
  };