@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/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/C5S_amaH.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/Dpzgtdt-.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/C6Zb_-OE.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/BoDdbbF_.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/C5S_amaH.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/C5S_amaH.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/B9w_puFP.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/Bn2-vqTg.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/CfTcP6nF.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/CvlD3aiv.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
@@ -7,7 +7,7 @@ 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/C5S_amaH.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/BnLshM9R.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
  };
package/Upload.js CHANGED
@@ -1,7 +1,8 @@
1
- import { U as o } from "./chunk/Dk6hL04k.js";
2
- import { S as s, F as t } from "./chunk/Dk6hL04k.js";
1
+ import { U as o } from "./chunk/DQ561AmR.js";
2
+ import { S, F as U, S as r } from "./chunk/DQ561AmR.js";
3
3
  export {
4
- s as STATUS,
5
- t as UploadList,
4
+ S as STATUS,
5
+ U as UploadList,
6
+ r as UploadSTATUS,
6
7
  o as default
7
8
  };
@@ -1,4 +1,4 @@
1
- import { V as a } from "./chunk/QFkhCtUr.js";
1
+ import { V as a } from "./chunk/CxpFYX4B.js";
2
2
  export {
3
3
  a as default
4
4
  };
package/Watermark.js CHANGED
@@ -1,4 +1,4 @@
1
- import { W as r } from "./chunk/CgDayZDE.js";
1
+ import { W as r } from "./chunk/tW_FgNSv.js";
2
2
  export {
3
3
  r as default
4
4
  };
@@ -5,7 +5,7 @@ import _ from "lodash/isNumber";
5
5
  import Pt from "lodash/throttle";
6
6
  import Rt, { createContext as Tt, forwardRef as ct, useContext as q, useRef as N, useImperativeHandle as st, useEffect as O, isValidElement as $t, useState as Et, useCallback as D } from "react";
7
7
  import bt from "../Affix.js";
8
- import { d as lt } from "./C5S_amaH.js";
8
+ import { d as lt } from "./B5GDq8NJ.js";
9
9
  import { useIsFirstRender as Mt } from "../hooks/useIsFirstRender.js";
10
10
  import { useMergeProps as at } from "../hooks/useMergeProps.js";
11
11
  import { useStateWithPromise as Ot } from "../hooks/useStateWithPromise.js";
@@ -1486,11 +1486,13 @@ export {
1486
1486
  R as e,
1487
1487
  C as f,
1488
1488
  q as g,
1489
- Xe as h,
1490
- Je as i,
1491
- Qe as j,
1492
- Ye as k,
1493
- J as l,
1489
+ xe as h,
1490
+ Xe as i,
1491
+ Je as j,
1492
+ Qe as k,
1493
+ Ye as l,
1494
+ J as m,
1494
1495
  Ke as s,
1496
+ me as u,
1495
1497
  X as y
1496
1498
  };
@@ -19,7 +19,7 @@ import Dt from "@unicom-cloud/icons/IconUiRotateLeft";
19
19
  import Ot from "@unicom-cloud/icons/IconUiRotateRight";
20
20
  import Vt from "@unicom-cloud/icons/IconUiZoomIn";
21
21
  import Yt from "@unicom-cloud/icons/IconUiZoomOut";
22
- import { d as qe, a as Ft } from "./C5S_amaH.js";
22
+ import { d as qe, a as Ft } from "./B5GDq8NJ.js";
23
23
  import "lodash/isEqualWith";
24
24
  import "../utils/is.js";
25
25
  import { A as Xt, c as Bt, a as Gt, b as Wt, d as Zt } from "./C2lIz2F9.js";
@@ -1,8 +1,8 @@
1
- import { jsx as s, jsxs as z, Fragment as O } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as z, Fragment as O } from "react/jsx-runtime";
2
2
  import j from "lodash/isFunction";
3
3
  import w from "lodash/isNil";
4
4
  import B, { createContext as H, useContext as G, useRef as L } from "react";
5
- import { d as A, I as Q } from "./C5S_amaH.js";
5
+ import { d as A, I as Q } from "./B5GDq8NJ.js";
6
6
  import { useMergeProps as D } from "../hooks/useMergeProps.js";
7
7
  import { useMergeValue as F } from "../hooks/useMergeValue.js";
8
8
  import { y as I } from "./BzPkh4Zv.js";
@@ -17,7 +17,7 @@ const _ = {
17
17
  type: "radio",
18
18
  mode: "outline",
19
19
  direction: "horizontal"
20
- }, x = H(_), ne = ({ children: C }) => /* @__PURE__ */ s(x.Provider, { value: _, children: C });
20
+ }, x = H(_), ne = ({ children: C }) => /* @__PURE__ */ i(x.Provider, { value: _, children: C });
21
21
  function M(C) {
22
22
  const {
23
23
  getPrefixCls: b,
@@ -37,7 +37,7 @@ function M(C) {
37
37
  type: v,
38
38
  mode: k,
39
39
  options: g,
40
- disabled: i
40
+ disabled: s
41
41
  } = e, [l, R] = F(void 0, {
42
42
  defaultValue: e.defaultValue,
43
43
  value: e.value
@@ -47,7 +47,7 @@ function M(C) {
47
47
  [`${n}-group-type-button`]: v !== "radio",
48
48
  [`${n}-size-${$}`]: !!$,
49
49
  [`${n}-mode-${k}`]: !!k,
50
- [`${n}-group-disabled`]: i,
50
+ [`${n}-group-disabled`]: s,
51
51
  [`${n}-group-direction-vertical`]: p === "vertical",
52
52
  [`${n}-group-rtl`]: N
53
53
  },
@@ -59,11 +59,11 @@ function M(C) {
59
59
  },
60
60
  type: v,
61
61
  value: l,
62
- disabled: i,
62
+ disabled: s,
63
63
  group: !0,
64
64
  name: c
65
65
  };
66
- return /* @__PURE__ */ s(x.Provider, { value: u, children: /* @__PURE__ */ s(
66
+ return /* @__PURE__ */ i(x.Provider, { value: u, children: /* @__PURE__ */ i(
67
67
  "div",
68
68
  {
69
69
  className: P,
@@ -71,15 +71,15 @@ function M(C) {
71
71
  style: r,
72
72
  ...E(e),
73
73
  ...J(e),
74
- children: g && T(g) ? g.map((a, f) => q(a) ? /* @__PURE__ */ s(
74
+ children: g && T(g) ? g.map((a, f) => q(a) ? /* @__PURE__ */ i(
75
75
  h,
76
76
  {
77
- disabled: i || a.disabled,
77
+ disabled: s || a.disabled,
78
78
  value: a.value,
79
79
  children: a.label
80
80
  },
81
81
  a.value
82
- ) : /* @__PURE__ */ s(h, { value: a, disabled: i, children: a }, f)) : m
82
+ ) : /* @__PURE__ */ i(h, { value: a, disabled: s, children: a }, f)) : m
83
83
  }
84
84
  ) });
85
85
  }
@@ -91,7 +91,7 @@ function h(C) {
91
91
  d == null ? void 0 : d.Radio
92
92
  ), r = G(x), o = y("radio"), c = { ...e };
93
93
  r.group && (c.checked = r.value === e.value, c.disabled = "disabled" in e ? e.disabled : r.disabled);
94
- const { disabled: m, children: p, value: v, style: k, className: g, ...i } = c, [l, R] = F(!1, {
94
+ const { disabled: m, children: p, value: v, style: k, className: g, ...s } = c, [l, R] = F(!1, {
95
95
  value: c.checked,
96
96
  defaultValue: c.defaultChecked
97
97
  }), $ = I(
@@ -109,19 +109,19 @@ function h(C) {
109
109
  }, P = B.useCallback(
110
110
  (t) => {
111
111
  var u;
112
- j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u = i.onClick) == null || u.call(i, t);
112
+ j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u = s.onClick) == null || u.call(s, t);
113
113
  },
114
- [e.children, i.onClick]
114
+ [e.children, s.onClick]
115
115
  );
116
116
  return /* @__PURE__ */ z(
117
117
  "label",
118
118
  {
119
- ...S(i, ["checked", "onChange"]),
119
+ ...S(s, ["checked", "onChange"]),
120
120
  onClick: P,
121
121
  style: k,
122
122
  className: $,
123
123
  children: [
124
- /* @__PURE__ */ s(
124
+ /* @__PURE__ */ i(
125
125
  "input",
126
126
  {
127
127
  ref: b,
@@ -139,17 +139,17 @@ function h(C) {
139
139
  }
140
140
  ),
141
141
  j(p) ? p({ checked: l }) : r.type === "radio" ? /* @__PURE__ */ z(O, { children: [
142
- /* @__PURE__ */ s(
142
+ /* @__PURE__ */ i(
143
143
  Q,
144
144
  {
145
145
  prefix: o,
146
146
  className: `${o}-mask-wrapper`,
147
147
  disabled: l || m,
148
- children: /* @__PURE__ */ s("div", { className: `${o}-mask` })
148
+ children: /* @__PURE__ */ i("div", { className: `${o}-mask` })
149
149
  }
150
150
  ),
151
- !w(p) && /* @__PURE__ */ s("span", { className: `${o}-text`, children: p })
152
- ] }) : r.type === "button" && /* @__PURE__ */ s("span", { className: `${o}-button-inner`, children: p })
151
+ !w(p) && /* @__PURE__ */ i("span", { className: `${o}-text`, children: p })
152
+ ] }) : r.type === "button" && /* @__PURE__ */ i("span", { className: `${o}-button-inner`, children: p })
153
153
  ]
154
154
  }
155
155
  );
@@ -160,5 +160,7 @@ h.Group = M;
160
160
  h.GroupContext = x;
161
161
  export {
162
162
  ne as C,
163
- h as R
163
+ M as G,
164
+ h as R,
165
+ x as a
164
166
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as i, jsxs as _, Fragment as Je } from "react/jsx-runtime";
2
2
  import W, { useContext as O, useState as Oe, useRef as ge, useEffect as te, forwardRef as Ae, createElement as J } from "react";
3
- import { d as A } from "./C5S_amaH.js";
3
+ import { d as A } from "./B5GDq8NJ.js";
4
4
  import { useMergeProps as Fe } from "../hooks/useMergeProps.js";
5
5
  import { useMergeValue as le } from "../hooks/useMergeValue.js";
6
6
  import { y as q } from "./BzPkh4Zv.js";
@@ -12,8 +12,8 @@ import { useKeyboardEvent as pe } from "../hooks/useKeyboardEvent.js";
12
12
  import Be from "lodash/isFunction";
13
13
  import Ke from "lodash/isPlainObject";
14
14
  import ce from "lodash/isUndefined";
15
- import { I as Ve } from "./Bn2-vqTg.js";
16
- import { S as fe } from "./Co3idurS.js";
15
+ import { I as Ve } from "./D01b7bWX.js";
16
+ import { S as fe } from "./_m8hLSsx.js";
17
17
  var R = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(R || {});
18
18
  function De(e) {
19
19
  var M, h, t;
@@ -3,7 +3,7 @@ import tn from "@unicom-cloud/icons/IconUiClose";
3
3
  import we from "lodash/isFunction";
4
4
  import on, { forwardRef as Ie, useState as I, useImperativeHandle as rn, useRef as g, useContext as ln, useCallback as S, useEffect as oe } from "react";
5
5
  import ye from "../Button.js";
6
- import { h as T, a as $e, i as sn, j as an, C as cn, s as un, d as dn, k as y, I as mn } from "./C5S_amaH.js";
6
+ import { i as T, a as $e, j as sn, k as an, C as cn, s as un, d as dn, l as y, I as mn } from "./B5GDq8NJ.js";
7
7
  import "lodash/isEqualWith";
8
8
  import { useMergeValue as fn } from "../hooks/useMergeValue.js";
9
9
  import "../utils/is.js";
@@ -10,14 +10,14 @@ import me from "lodash/isArray";
10
10
  import I from "lodash/isEqualWith";
11
11
  import $ from "lodash/isFunction";
12
12
  import te from "lodash/isUndefined";
13
- import { d as z, I as xe } from "./C5S_amaH.js";
13
+ import { d as z, I as xe } from "./B5GDq8NJ.js";
14
14
  import { y as M } from "./BzPkh4Zv.js";
15
15
  import { pickDataAttributes as Ne } from "../utils/pick.js";
16
16
  import be from "@unicom-cloud/icons/IconUiCaretDown";
17
17
  import De from "@unicom-cloud/icons/IconUiDragDotVertical";
18
18
  import Ce from "@unicom-cloud/icons/IconUiFile";
19
19
  import Pe from "@unicom-cloud/icons/IconUiLoading";
20
- import { C as Ee } from "./B9w_puFP.js";
20
+ import { C as Ee } from "./QlYCEvCX.js";
21
21
  import we from "../utils/throttleByRaf.js";
22
22
  import Se from "lodash/isNumber";
23
23
  import { P as _e } from "./CLBavO5c.js";
@@ -12,7 +12,7 @@ import W from "lodash/isFunction";
12
12
  import ne from "lodash/isPlainObject";
13
13
  import Y from "lodash/isString";
14
14
  import qe, { useRef as K, useState as ae, useCallback as se, useEffect as Z, forwardRef as Je, useContext as Ge, useImperativeHandle as Qe } from "react";
15
- import { d as Xe } from "./C5S_amaH.js";
15
+ import { d as Xe } from "./B5GDq8NJ.js";
16
16
  import { useForceUpdate as ue } from "../hooks/useForceUpdate.js";
17
17
  import { useId as Ye } from "../hooks/useId.js";
18
18
  import { useMergeProps as Ze } from "../hooks/useMergeProps.js";
@@ -26,7 +26,7 @@ import { _ as at, P as st } from "./CLBavO5c.js";
26
26
  import me from "lodash/isEqualWith";
27
27
  import ee from "lodash/get";
28
28
  import { p as it } from "./CANaGbGR.js";
29
- import { C as Oe } from "./B9w_puFP.js";
29
+ import { C as Oe } from "./QlYCEvCX.js";
30
30
  import { useIsFirstRender as ct } from "../hooks/useIsFirstRender.js";
31
31
  import { on as Le, off as de } from "../utils/dom.js";
32
32
  import "../utils/is.js";
@@ -3,13 +3,13 @@ import Ae from "@unicom-cloud/icons/IconUiMenuFold";
3
3
  import Ue from "@unicom-cloud/icons/IconUiMenuUnfold";
4
4
  import He from "lodash/isPlainObject";
5
5
  import L, { createContext as Be, useContext as K, forwardRef as X, useRef as J, useEffect as Z, useState as Ce, useMemo as Fe } from "react";
6
- import { d as Ie } from "./C5S_amaH.js";
6
+ import { d as Ie } from "./B5GDq8NJ.js";
7
7
  import { useForceUpdate as Ve } from "../hooks/useForceUpdate.js";
8
8
  import { useId as le } from "../hooks/useId.js";
9
9
  import { useKeyboardEvent as We } from "../hooks/useKeyboardEvent.js";
10
10
  import { useMergeProps as Ge } from "../hooks/useMergeProps.js";
11
11
  import { useMergeValue as re } from "../hooks/useMergeValue.js";
12
- import { a as ze } from "./DbPYtS7-.js";
12
+ import { a as ze } from "./CAiaqaWc.js";
13
13
  import { y as H } from "./BzPkh4Zv.js";
14
14
  import z from "../utils/omit.js";
15
15
  import { p as je } from "./CANaGbGR.js";
@@ -691,5 +691,8 @@ j.SubMenu = te;
691
691
  j.ItemGroup = ae;
692
692
  j.__PQB_MENU__ = !0;
693
693
  export {
694
- j as M
694
+ ce as I,
695
+ j as M,
696
+ te as S,
697
+ ae as a
695
698
  };
@@ -3,7 +3,7 @@ import O from "@unicom-cloud/icons/IconUiClose";
3
3
  import tt from "lodash/isFunction";
4
4
  import ot, { useRef as N, useState as A, useImperativeHandle as et, useEffect as T } from "react";
5
5
  import { useKeyboardEvent as nt } from "../hooks/useKeyboardEvent.js";
6
- import { I as rt } from "./C5S_amaH.js";
6
+ import { I as rt } from "./B5GDq8NJ.js";
7
7
  import { y as V } from "./BzPkh4Zv.js";
8
8
  import it from "../utils/fillNBSP.js";
9
9
  import "../utils/is.js";
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as m } from "react/jsx-runtime";
2
2
  import oe from "@unicom-cloud/icons/IconUiClose";
3
3
  import U from "lodash/isArray";
4
4
  import { forwardRef as fe, useContext as te, useRef as b, useState as se, useImperativeHandle as ne } from "react";
5
- import { d as re, I as me } from "./C5S_amaH.js";
5
+ import { d as re, I as me } from "./B5GDq8NJ.js";
6
6
  import { y as G } from "./BzPkh4Zv.js";
7
7
  import { E as ie, T as Ne } from "./C2lIz2F9.js";
8
8
  import $e from "../utils/omit.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as I, jsx as l } from "react/jsx-runtime";
2
2
  import v, { useContext as D, useRef as j, useEffect as k } from "react";
3
- import { d as S } from "./C5S_amaH.js";
3
+ import { d as S } from "./B5GDq8NJ.js";
4
4
  import { useMergeProps as F } from "../hooks/useMergeProps.js";
5
5
  import E from "../Spin.js";
6
6
  import { y as b } from "./BzPkh4Zv.js";
@@ -157,5 +157,6 @@ const q = v.forwardRef(Y), W = q;
157
157
  W.displayName = "Timeline";
158
158
  W.Item = C;
159
159
  export {
160
- W as T
160
+ W as T,
161
+ C as a
161
162
  };
@@ -4,7 +4,7 @@ import q from "@unicom-cloud/icons/IconUiRight";
4
4
  import X from "lodash/isArray";
5
5
  import y from "lodash/isNumber";
6
6
  import { createContext as Y, forwardRef as Z, useContext as ee, useState as re, useRef as A, useEffect as F, useMemo as te } from "react";
7
- import { d as ie } from "./C5S_amaH.js";
7
+ import { d as ie } from "./B5GDq8NJ.js";
8
8
  import { useMergeValue as se } from "../hooks/useMergeValue.js";
9
9
  import oe from "../ResizeBox.js";
10
10
  import { y as H } from "./BzPkh4Zv.js";