@unicom-cloud/ui 0.8.63 → 0.8.65

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 (214) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +2 -2
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +4 -4
  5. package/Avatar.js +2 -2
  6. package/BackTop.js +2 -2
  7. package/Badge.js +37 -31
  8. package/Breadcrumb.js +3 -3
  9. package/Button.js +82 -71
  10. package/Calendar.js +4 -4
  11. package/Card.js +2 -2
  12. package/Carousel.js +2 -2
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +5 -5
  17. package/Comment.js +2 -2
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +3 -3
  20. package/DatePicker.js +92 -92
  21. package/Descriptions.js +2 -2
  22. package/Divider.js +2 -2
  23. package/Draggable.js +2 -2
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +27 -26
  26. package/Empty.js +2 -2
  27. package/Form.js +4 -4
  28. package/Grid.js +3 -3
  29. package/Icon.js +3 -2
  30. package/IconHover.js +2 -2
  31. package/Image.js +4 -1
  32. package/Input.js +11 -2
  33. package/InputNumber.js +3 -3
  34. package/InputTag.js +1 -1
  35. package/Layout.js +25 -21
  36. package/Link.js +2 -2
  37. package/List.js +31 -30
  38. package/Mentions.js +4 -4
  39. package/Menu.js +7 -2
  40. package/Message.js +4 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +2 -2
  43. package/Notification.js +4 -3
  44. package/OverflowEllipsis.js +2 -2
  45. package/PageHeader.js +2 -2
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +2 -2
  49. package/Popover.js +2 -2
  50. package/Progress.js +2 -2
  51. package/Radio.js +4 -2
  52. package/Rate.js +2 -2
  53. package/ResizeBox.js +140 -137
  54. package/Result.js +2 -2
  55. package/Select.js +4 -1
  56. package/SelectView.js +7 -7
  57. package/Skeleton.js +2 -2
  58. package/Slider.js +5 -5
  59. package/Space.js +54 -50
  60. package/Spin.js +2 -2
  61. package/Statistic.js +29 -28
  62. package/Steps.js +41 -39
  63. package/Switch.js +3 -3
  64. package/Table.js +8 -5
  65. package/Tabs.js +6 -2
  66. package/Tag.js +2 -2
  67. package/TimePicker.js +38 -37
  68. package/Timeline.js +4 -2
  69. package/Tooltip.js +2 -2
  70. package/Transfer.js +4 -4
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +3 -1
  73. package/Trigger.js +43 -42
  74. package/Typography.js +6 -2
  75. package/Upload.js +3 -3
  76. package/VerificationCode.js +1 -1
  77. package/Version.js +5 -3
  78. package/Watermark.js +1 -1
  79. package/chunk/{DDDuw0Zi.js → 1GQdnTJp.js} +2 -2
  80. package/chunk/BAWsPQBM.js +11 -0
  81. package/chunk/{CfZWOhnc.js → BS09tn7B.js} +2 -2
  82. package/chunk/{CZ1wrD_H.js → BUCEs557.js} +2 -2
  83. package/chunk/BqGtwxTi.js +777 -0
  84. package/chunk/{BcwdVUDs.js → Bqk6yh16.js} +2 -2
  85. package/chunk/{CD7dGcUa.js → BqufsN8i.js} +4 -4
  86. package/chunk/{Dpzgtdt-.js → BtlvlGQN.js} +2 -2
  87. package/chunk/{BoDdbbF_.js → CF6p9R93.js} +4 -3
  88. package/chunk/{BnLshM9R.js → CGZ0In1p.js} +189 -182
  89. package/chunk/{B5gIo-hD.js → CH1UUxsg.js} +4 -4
  90. package/chunk/{D3dcFbex.js → CIlGCedk.js} +3 -3
  91. package/chunk/{CgDayZDE.js → CPcm9Cm5.js} +2 -2
  92. package/chunk/{Cqyp4qni.js → CSC_V_25.js} +45 -45
  93. package/chunk/{JpKOcIfl.js → CWgltRVL.js} +44 -41
  94. package/chunk/{BLLKKgZJ.js → CsbCHnFk.js} +23 -21
  95. package/chunk/{Cb_oWoGj.js → CwhPMMWy.js} +14 -14
  96. package/chunk/{B9w_puFP.js → DG-epQqF.js} +2 -2
  97. package/chunk/{QFkhCtUr.js → DIx0qmCq.js} +3 -3
  98. package/chunk/{Bn2-vqTg.js → DK4KcodH.js} +201 -195
  99. package/chunk/{BEB_A9eY.js → DLvMA1OW.js} +2 -2
  100. package/chunk/{DbPYtS7-.js → DQDkV47j.js} +2 -2
  101. package/chunk/{rlfmXePI.js → DTjcKyDN.js} +135 -134
  102. package/chunk/{BmO1y0vr.js → DUeHQKtx.js} +12 -12
  103. package/chunk/{C6Zb_-OE.js → DXZEpA3t.js} +2 -2
  104. package/chunk/{aqSmxUbY.js → DjtWv6Wn.js} +1 -1
  105. package/chunk/{C5S_amaH.js → DlLL5JQo.js} +106 -101
  106. package/chunk/{CvlD3aiv.js → Dnycc1qJ.js} +133 -130
  107. package/chunk/{DbLgopUR.js → DqFhzTWC.js} +3 -3
  108. package/chunk/{DXZ8-ha7.js → Dv_xRzvR.js} +3 -3
  109. package/chunk/{Dk6hL04k.js → Ek8U5CTN.js} +222 -221
  110. package/chunk/{CfTcP6nF.js → ewRDIDUz.js} +4 -4
  111. package/chunk/{CAxIyiy6.js → tYXLFPVI.js} +6 -4
  112. package/hooks/useIntersectionObserver.js +1 -1
  113. package/hooks/useMergeValue.js +2 -2
  114. package/index.js +530 -476
  115. package/locale/en-US.js +1 -1
  116. package/locale/tr-TR.js +1 -1
  117. package/package.json +1 -1
  118. package/style/variable.less +820 -0
  119. package/style.css +1 -1
  120. package/types/badge/index.d.ts +2 -2
  121. package/types/button/index.d.ts +3 -1
  122. package/types/calendar/hook/useCellClassName.d.ts +2 -1
  123. package/types/checkbox/IconCheck.d.ts +2 -1
  124. package/types/config-provider/interface.d.ts +1 -1
  125. package/types/date-picker/hook/useCellClassName.d.ts +2 -1
  126. package/types/date-picker/panel/Footer.d.ts +2 -1
  127. package/types/dropdown/index.d.ts +1 -0
  128. package/types/form/IconSymbol.d.ts +2 -1
  129. package/types/form/useForm.d.ts +2 -1
  130. package/types/icon/addFromIconFontCn.d.ts +2 -1
  131. package/types/icon/index.d.ts +2 -0
  132. package/types/image/Image.d.ts +1 -0
  133. package/types/image/index.d.ts +2 -1
  134. package/types/image/util/getFixTranslate.d.ts +2 -1
  135. package/types/image/util/hook/useImageStatus.d.ts +2 -2
  136. package/types/image/util/hook/useShowFooter.d.ts +2 -2
  137. package/types/index.d.ts +26 -26
  138. package/types/input/Input.d.ts +1 -0
  139. package/types/input/index.d.ts +1 -0
  140. package/types/input/useComposition.d.ts +2 -1
  141. package/types/input-number/useSelectionRange.d.ts +2 -1
  142. package/types/layout/index.d.ts +1 -0
  143. package/types/list/index.d.ts +1 -0
  144. package/types/menu/Indent.d.ts +2 -1
  145. package/types/menu/Menu.d.ts +1 -0
  146. package/types/menu/index.d.ts +1 -0
  147. package/types/message/index.d.ts +2 -0
  148. package/types/notification/index.d.ts +2 -0
  149. package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
  150. package/types/overflow-ellipsis/index.d.ts +2 -2
  151. package/types/radio/Radio.d.ts +2 -0
  152. package/types/radio/index.d.ts +2 -1
  153. package/types/resize-box/ResizeTrigger.d.ts +2 -1
  154. package/types/resize-box/index.d.ts +1 -0
  155. package/types/result/403.d.ts +2 -1
  156. package/types/result/404.d.ts +2 -1
  157. package/types/result/500.d.ts +2 -1
  158. package/types/select/Select.d.ts +1 -1
  159. package/types/select/index.d.ts +1 -0
  160. package/types/select/interface.d.ts +1 -1
  161. package/types/skeleton/Image.d.ts +2 -1
  162. package/types/skeleton/Text.d.ts +2 -1
  163. package/types/slider/hook/useLegalValue.d.ts +2 -1
  164. package/types/space/index.d.ts +2 -0
  165. package/types/space/toArray.d.ts +2 -1
  166. package/types/speech-synthesis/index.d.ts +2 -1
  167. package/types/spin/DotLoading.d.ts +2 -1
  168. package/types/statistic/index.d.ts +1 -0
  169. package/types/steps/index.d.ts +1 -0
  170. package/types/table/hook/useComponent.d.ts +2 -1
  171. package/types/table/hook/useExpand.d.ts +2 -1
  172. package/types/table/hook/useRowSelection.d.ts +2 -1
  173. package/types/table/hook/useSorter.d.ts +2 -1
  174. package/types/table/index.d.ts +2 -1
  175. package/types/table/summary/index.d.ts +3 -0
  176. package/types/tabs/Tab.d.ts +1 -0
  177. package/types/tabs/TabContent.d.ts +2 -2
  178. package/types/tabs/hook/useDomSize.d.ts +2 -1
  179. package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
  180. package/types/tabs/index.d.ts +1 -0
  181. package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
  182. package/types/time-picker/TimeColumn.d.ts +2 -2
  183. package/types/time-picker/index.d.ts +5 -0
  184. package/types/timeline/Timeline.d.ts +1 -0
  185. package/types/timeline/index.d.ts +1 -0
  186. package/types/tree-select/Select.d.ts +5 -0
  187. package/types/tree-select/hook/useTreeData.d.ts +2 -1
  188. package/types/tree-select/index.d.ts +2 -1
  189. package/types/typography/Operations.d.ts +2 -1
  190. package/types/typography/index.d.ts +1 -0
  191. package/types/upload/Upload.d.ts +2 -1
  192. package/types/upload/index.d.ts +2 -3
  193. package/types/utils/fillNBSP.d.ts +2 -1
  194. package/types/utils/getHighlightText.d.ts +2 -1
  195. package/types/utils/getHotkeyHandler.d.ts +2 -1
  196. package/types/utils/getStringLength.d.ts +2 -1
  197. package/types/utils/include.d.ts +2 -1
  198. package/types/utils/mergeProps.d.ts +2 -1
  199. package/types/utils/mergedToString.d.ts +2 -1
  200. package/types/utils/omit.d.ts +2 -1
  201. package/types/utils/pick.d.ts +2 -1
  202. package/types/utils/throttleByRaf.d.ts +2 -1
  203. package/types/utils/throttleByRafV2.d.ts +2 -1
  204. package/types/utils/warning.d.ts +2 -1
  205. package/types/version/index.d.ts +2 -0
  206. package/utils/className.js +1 -1
  207. package/utils/contextHolder.js +1 -1
  208. package/utils/copy.js +1 -1
  209. package/utils/index.js +41 -41
  210. package/utils/is.js +37 -37
  211. package/utils/reactDOM.js +3 -3
  212. package/utils/scrollIntoView.js +1 -1
  213. package/chunk/BzPkh4Zv.js +0 -11
  214. package/chunk/Co3idurS.js +0 -774
package/Slider.js CHANGED
@@ -4,19 +4,19 @@ import he from "lodash/isArray";
4
4
  import E from "lodash/isFunction";
5
5
  import re from "lodash/isPlainObject";
6
6
  import _, { useState as Se, useContext as Le, useMemo as Z, useRef as S, useEffect as Ee, createElement as De, useCallback as H, forwardRef as st } from "react";
7
- import { d as Be } from "./chunk/C5S_amaH.js";
7
+ import { d as Be } from "./chunk/DlLL5JQo.js";
8
8
  import { useMergeProps as at } from "./hooks/useMergeProps.js";
9
9
  import { useMergeValue as Fe } from "./hooks/useMergeValue.js";
10
10
  import { useUpdateEffect as ut } from "./hooks/useUpdateEffect.js";
11
- import { y as Y } from "./chunk/BzPkh4Zv.js";
11
+ import { y as Y } from "./chunk/BAWsPQBM.js";
12
12
  import { on as U, off as W } from "./utils/dom.js";
13
13
  import lt from "./utils/omit.js";
14
14
  import ne from "lodash/isNumber";
15
15
  import ct from "lodash/isString";
16
16
  import { useKeyboardEvent as ft } from "./hooks/useKeyboardEvent.js";
17
17
  import mt from "./Trigger.js";
18
- import { a as Te } from "./chunk/Bn2-vqTg.js";
19
- import { G as dt } from "./chunk/Cqyp4qni.js";
18
+ import { a as Te } from "./chunk/DK4KcodH.js";
19
+ import { G as dt } from "./chunk/CSC_V_25.js";
20
20
  import gt from "lodash/isUndefined";
21
21
  const pt = { maxWidth: 350 }, ht = {
22
22
  enter: 300,
@@ -170,7 +170,7 @@ function X(e) {
170
170
  }
171
171
  function Mt(e, o) {
172
172
  const n = Number(e);
173
- if (o && !isNaN(n)) {
173
+ if (!isNaN(n)) {
174
174
  const [r, s] = o;
175
175
  return Re(pe(n, r), pe(s, r));
176
176
  }
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/DlLL5JQo.js";
6
+ import { useMergeProps as D } from "./hooks/useMergeProps.js";
7
+ import { y as E } from "./chunk/BAWsPQBM.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,9 +2,9 @@ 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/DlLL5JQo.js";
6
6
  import { useMergeProps as H } from "./hooks/useMergeProps.js";
7
- import { y as v } from "./chunk/BzPkh4Zv.js";
7
+ import { y as v } from "./chunk/BAWsPQBM.js";
8
8
  import { isEmptyReactNode as M } from "./utils/is.js";
9
9
  import U from "lodash/isNumber";
10
10
  function q(n) {
package/Statistic.js CHANGED
@@ -1,13 +1,13 @@
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/DlLL5JQo.js";
8
8
  import { useMergeProps as oe } from "./hooks/useMergeProps.js";
9
9
  import ie from "./Skeleton.js";
10
- import { y as B } from "./chunk/BzPkh4Zv.js";
10
+ import { y as B } from "./chunk/BAWsPQBM.js";
11
11
  import ae from "./utils/omit.js";
12
12
  import { getDayjsValue as E, getNow as T } from "./utils/dayjs.js";
13
13
  import { padStart as se } from "./utils/pad.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,8 +1,8 @@
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/DlLL5JQo.js";
4
4
  import { useMergeProps as W } from "./hooks/useMergeProps.js";
5
- import { y as R } from "./chunk/BzPkh4Zv.js";
5
+ import { y as R } from "./chunk/BAWsPQBM.js";
6
6
  import { pickDataAttributes as q } from "./utils/pick.js";
7
7
  import B from "@unicom-cloud/icons/IconUiCheck";
8
8
  import G from "@unicom-cloud/icons/IconUiClose";
@@ -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,12 +3,12 @@ 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/DlLL5JQo.js";
7
7
  import { useMergeProps as U } from "./hooks/useMergeProps.js";
8
- import { y as W } from "./chunk/BzPkh4Zv.js";
8
+ import { y as W } from "./chunk/BAWsPQBM.js";
9
9
  import "./utils/is.js";
10
10
  import D from "./utils/omit.js";
11
- import G from "lodash/isPlainObject";
11
+ import G from "lodash/isPlainObject.js";
12
12
  const J = {
13
13
  type: "circle"
14
14
  };
package/Table.js CHANGED
@@ -6,13 +6,13 @@ 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/DlLL5JQo.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/CH1UUxsg.js";
14
14
  import zn from "./Spin.js";
15
- import { y as Z } from "./chunk/BzPkh4Zv.js";
15
+ import { y as Z } from "./chunk/BAWsPQBM.js";
16
16
  import { on as ht, off as yt } from "./utils/dom.js";
17
17
  import Un, { pickDataAttributes as Vn } from "./utils/pick.js";
18
18
  import jn from "lodash/merge";
@@ -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/DG-epQqF.js";
26
+ import { R as ln } from "./chunk/CsbCHnFk.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 o } from "./chunk/tYXLFPVI.js";
2
+ import { b as e, a as t, b as T } from "./chunk/tYXLFPVI.js";
2
3
  export {
3
- a as default
4
+ e as TabPane,
5
+ t as TabsContext,
6
+ T as TabsTabPane,
7
+ o as default
4
8
  };
package/Tag.js CHANGED
@@ -3,11 +3,11 @@ 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/DlLL5JQo.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";
10
- import { y as ie } from "./chunk/BzPkh4Zv.js";
10
+ import { y as ie } from "./chunk/BAWsPQBM.js";
11
11
  import re from "./utils/omit.js";
12
12
  const te = [
13
13
  "red",