@unicom-cloud/ui 0.8.61 → 0.8.63

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 (188) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +44 -40
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +4 -4
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +7 -7
  7. package/Badge.js +2 -2
  8. package/Breadcrumb.js +22 -22
  9. package/Button.js +2 -2
  10. package/Calendar.js +106 -104
  11. package/Card.js +1 -1
  12. package/Carousel.js +34 -33
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +12 -12
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +16 -16
  20. package/DatePicker.js +1021 -1008
  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 +9 -9
  26. package/Empty.js +2 -2
  27. package/Form.js +60 -54
  28. package/Grid.js +2 -2
  29. package/Icon.js +1 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +6 -6
  34. package/InputTag.js +1 -1
  35. package/Layout.js +2 -2
  36. package/Link.js +14 -14
  37. package/List.js +3 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +1 -1
  40. package/Message.js +2 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +9 -3
  43. package/Notification.js +2 -2
  44. package/OverflowEllipsis.js +32 -32
  45. package/PageHeader.js +23 -22
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +7 -7
  49. package/Popover.js +1 -1
  50. package/Progress.js +14 -14
  51. package/Radio.js +2 -2
  52. package/Rate.js +43 -40
  53. package/ResizeBox.js +97 -96
  54. package/Result.js +15 -15
  55. package/Select.js +1 -1
  56. package/SelectView.js +295 -249
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +25 -25
  59. package/Space.js +32 -32
  60. package/SpeechSynthesis.js +32 -29
  61. package/Spin.js +2 -2
  62. package/Statistic.js +1 -1
  63. package/Steps.js +11 -11
  64. package/Switch.js +3 -3
  65. package/Table.js +9 -9
  66. package/Tabs.js +1 -1
  67. package/Tag.js +68 -67
  68. package/TimePicker.js +17 -17
  69. package/Timeline.js +1 -1
  70. package/Tooltip.js +1 -1
  71. package/Transfer.js +47 -46
  72. package/Tree.js +2 -2
  73. package/TreeSelect.js +1 -1
  74. package/Trigger.js +3 -3
  75. package/Typography.js +1 -1
  76. package/Upload.js +2 -2
  77. package/VerificationCode.js +1 -1
  78. package/Version.js +1 -1
  79. package/Watermark.js +1 -1
  80. package/chunk/{DhBo0pPJ.js → B5gIo-hD.js} +119 -118
  81. package/chunk/{eK7lxdak.js → B9w_puFP.js} +8 -8
  82. package/chunk/{RMBPs_Ry.js → BEB_A9eY.js} +4 -3
  83. package/chunk/{CuOl4X0X.js → BLLKKgZJ.js} +1 -1
  84. package/chunk/{cZiP8FvM.js → BcwdVUDs.js} +1 -1
  85. package/chunk/{C1xMmQIZ.js → BmO1y0vr.js} +34 -34
  86. package/chunk/{DmUhn9ib.js → Bn2-vqTg.js} +54 -53
  87. package/chunk/{Kbr6FzOG.js → BnLshM9R.js} +210 -186
  88. package/chunk/{BJ_7JTqC.js → BoDdbbF_.js} +1 -1
  89. package/chunk/BsWphzcT.js +20 -0
  90. package/chunk/{Bdh4XVuf.js → C5S_amaH.js} +290 -281
  91. package/chunk/{YIlBPVAs.js → C6Zb_-OE.js} +1 -1
  92. package/chunk/{CbiWdbr_.js → CAxIyiy6.js} +35 -34
  93. package/chunk/CD7dGcUa.js +376 -0
  94. package/chunk/{BPZ-6HKJ.js → CLBavO5c.js} +24 -22
  95. package/chunk/{B2vORJQ8.js → CZ1wrD_H.js} +13 -13
  96. package/chunk/{DpfUGhi4.js → CfTcP6nF.js} +288 -283
  97. package/chunk/{BNHrEI0Y.js → CfZWOhnc.js} +52 -48
  98. package/chunk/{BjSHZA0m.js → CgDayZDE.js} +1 -1
  99. package/chunk/{BYhtrDV3.js → Co3idurS.js} +152 -148
  100. package/chunk/{BBVjSFnw.js → Cqyp4qni.js} +23 -19
  101. package/chunk/{Cbd50gx8.js → CvlD3aiv.js} +33 -33
  102. package/chunk/{IooeSKJJ.js → D3dcFbex.js} +19 -19
  103. package/chunk/{C5AQWbC4.js → DDDuw0Zi.js} +1 -1
  104. package/chunk/{gIbzjQ-X.js → DXZ8-ha7.js} +2 -2
  105. package/chunk/{C1D7T29r.js → DbLgopUR.js} +83 -76
  106. package/chunk/{BVLwPZis.js → DbPYtS7-.js} +31 -30
  107. package/chunk/{V6euPXVB.js → Dk6hL04k.js} +257 -251
  108. package/chunk/{BEDYCG-I.js → Dpzgtdt-.js} +18 -18
  109. package/chunk/{B16KHtX-.js → JpKOcIfl.js} +191 -185
  110. package/chunk/{D2HkyI6A.js → QFkhCtUr.js} +11 -11
  111. package/chunk/aqSmxUbY.js +116 -0
  112. package/chunk/{DSGRHf-1.js → rlfmXePI.js} +157 -156
  113. package/hooks/useMergeValue.js +1 -1
  114. package/icons.js +4 -6001
  115. package/index.js +439 -393
  116. package/locale/en-US.js +1 -1
  117. package/locale/tr-TR.js +1 -1
  118. package/locale/zh-CN.js +8 -0
  119. package/package.json +1 -1
  120. package/style.css +1 -1
  121. package/types/cascader/panel/Search.d.ts +1 -1
  122. package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
  123. package/types/config-provider/interface.d.ts +1 -1
  124. package/types/date-picker/index.d.ts +7 -0
  125. package/types/form/interface.d.ts +1 -1
  126. package/types/index.d.ts +3 -3
  127. package/types/locale/interface.d.ts +1 -0
  128. package/types/locale/zh-CN.d.ts +14 -0
  129. package/types/message/index.d.ts +2 -2
  130. package/types/notification/index.d.ts +2 -2
  131. package/types/notification-base/index.d.ts +2 -2
  132. package/types/select/interface.d.ts +1 -0
  133. package/types/select-view/interface.d.ts +1 -0
  134. package/types/space/index.d.ts +2 -1
  135. package/types/tree/Context.d.ts +1 -0
  136. package/types/tree/Tree.d.ts +1 -1
  137. package/types/tree/index.d.ts +5 -4
  138. package/types/tree/interface.d.ts +1 -0
  139. package/types/utils/index.d.ts +1 -0
  140. package/types/utils/is.d.ts +2 -0
  141. package/types/utils/lodash.d.ts +14 -1
  142. package/types/verification-code/VerificationCode.d.ts +2 -1
  143. package/types/version/index.d.ts +1 -1
  144. package/utils/CSSTransition.js +1 -1
  145. package/utils/caseName.js +2 -18
  146. package/utils/contextHolder.js +1 -1
  147. package/utils/dayjs.js +50 -49
  148. package/utils/index.js +227 -185
  149. package/utils/is.js +125 -111
  150. package/utils/lodash.js +32 -6
  151. package/utils/reactDOM.js +1 -1
  152. package/chunk/-LZOUh53.js +0 -29
  153. package/chunk/-jdfq71f.js +0 -23
  154. package/chunk/B0GOLsj_.js +0 -58
  155. package/chunk/B7Zsp3gO.js +0 -29
  156. package/chunk/BDjXkzNj.js +0 -23
  157. package/chunk/BHn4xgbv.js +0 -209
  158. package/chunk/BLSiP_gg.js +0 -32
  159. package/chunk/BMJfSSLX.js +0 -23
  160. package/chunk/B_nfMl0e.js +0 -116
  161. package/chunk/BcS17Pzy.js +0 -66
  162. package/chunk/BdiEwtQO.js +0 -41
  163. package/chunk/Bpug_KxP.js +0 -34
  164. package/chunk/C1u_ckwU.js +0 -29
  165. package/chunk/C43Hv2Bl.js +0 -34
  166. package/chunk/C9vsih_D.js +0 -29
  167. package/chunk/CAfR2wLq.js +0 -41
  168. package/chunk/CAfecMDF.js +0 -46
  169. package/chunk/CKp4rZnD.js +0 -207
  170. package/chunk/CV2Aqv9q.js +0 -52
  171. package/chunk/CYdarMv9.js +0 -32
  172. package/chunk/C_S5Mdvd.js +0 -379
  173. package/chunk/CmB-TL7C.js +0 -46
  174. package/chunk/D-ER56Sf.js +0 -29
  175. package/chunk/D-aYnb6u.js +0 -41
  176. package/chunk/D3xQFJcO.js +0 -23
  177. package/chunk/DJcEys80.js +0 -29
  178. package/chunk/DLIm6rRJ.js +0 -29
  179. package/chunk/DOWEHtqM.js +0 -41
  180. package/chunk/DT37l12z.js +0 -40
  181. package/chunk/DW-B7npC.js +0 -23
  182. package/chunk/D_MTFBb0.js +0 -38
  183. package/chunk/Dx_5J4fO.js +0 -29
  184. package/chunk/Dy487FZ1.js +0 -118
  185. package/chunk/Uz-rNulO.js +0 -98
  186. package/chunk/cDZI_t6o.js +0 -52
  187. package/chunk/sScV-J56.js +0 -206
  188. package/chunk/wI2I1qb0.js +0 -23
@@ -35,29 +35,29 @@ import "lodash/isTypedArray";
35
35
  import "lodash/isUndefined";
36
36
  import "lodash/isWeakMap";
37
37
  import "lodash/isWeakSet";
38
- function q(t) {
38
+ function M(t) {
39
39
  return t instanceof Promise;
40
40
  }
41
- function L(t) {
41
+ function T(t) {
42
42
  return p(t) && e(t);
43
43
  }
44
- function M(t) {
44
+ function U(t) {
45
45
  return a(t) && e(t);
46
46
  }
47
- function T(t) {
47
+ function V(t) {
48
48
  return c(t) || t === "";
49
49
  }
50
- function U(t) {
50
+ function W(t) {
51
51
  return Object.prototype.toString.call(t) === "[object File]";
52
52
  }
53
- function W(t) {
53
+ function tt(t) {
54
54
  return Object.prototype.toString.call(t) === "[object Blob]";
55
55
  }
56
- function tt(t) {
56
+ function rt(t) {
57
57
  return Object.prototype.toString.call(t) === "[object ReadableStream]";
58
58
  }
59
- const s = typeof ReadableStream == "function", rt = typeof ReadableStreamDefaultController == "function", ot = typeof ReadableByteStreamController == "function", et = s && new ReadableStream()[Symbol.asyncIterator];
60
- function it(t) {
59
+ const s = typeof ReadableStream == "function", ot = typeof ReadableStreamDefaultController == "function", et = typeof ReadableByteStreamController == "function", it = s && new ReadableStream()[Symbol.asyncIterator];
60
+ function nt(t) {
61
61
  let r = !0;
62
62
  try {
63
63
  JSON.parse(t);
@@ -67,26 +67,30 @@ function it(t) {
67
67
  return r;
68
68
  }
69
69
  function mt(t) {
70
- const r = /^#(?:[0-9a-fA-F]{3}){1,2}$/, o = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/, i = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(1|0|0?\.\d+)\)$/, m = /^hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)$/, n = /^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(1|0|0?\.\d+)\)$/;
71
- return r.test(t) || o.test(t) || i.test(t) || m.test(t) || n.test(t);
70
+ const r = /^#(?:[0-9a-fA-F]{3}){1,2}$/, o = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/, i = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(1|0|0?\.\d+)\)$/, n = /^hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)$/, m = /^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(1|0|0?\.\d+)\)$/;
71
+ return r.test(t) || o.test(t) || i.test(t) || n.test(t) || m.test(t);
72
72
  }
73
- function nt(t) {
73
+ function l(t) {
74
74
  const r = document.createElement("div");
75
75
  return r.style.color = t, r.style.color !== "";
76
76
  }
77
+ function pt(t) {
78
+ return l(t);
79
+ }
77
80
  export {
78
- T as G,
79
- U as H,
81
+ U as G,
82
+ V as H,
83
+ pt as J,
80
84
  W as K,
81
85
  tt as Q,
82
- L as V,
83
86
  rt as X,
84
87
  ot as Y,
85
88
  et as Z,
86
89
  it as _,
87
90
  s as f,
88
- nt as r,
89
- mt as t,
90
- q as v,
91
- M as z
91
+ l as m,
92
+ mt as r,
93
+ nt as t,
94
+ M as v,
95
+ T as z
92
96
  };
@@ -1,17 +1,17 @@
1
1
  import { jsxs as ye, jsx as E } from "react/jsx-runtime";
2
- import { G as Se, V as Ve, z as ve } from "./BBVjSFnw.js";
2
+ import { H as Se, z as ve, G as Ve } from "./Cqyp4qni.js";
3
3
  import Pe from "lodash/debounce";
4
4
  import B from "lodash/isArray";
5
5
  import W from "lodash/isFunction";
6
6
  import Ke from "lodash/isNil";
7
7
  import { forwardRef as ue, useRef as R, useCallback as K, useMemo as Z, useImperativeHandle as de, useContext as fe, useState as te, useEffect as ie } from "react";
8
- import { d as he } from "./Bdh4XVuf.js";
8
+ import { d as he } from "./C5S_amaH.js";
9
9
  import { useId as Ie } from "../hooks/useId.js";
10
10
  import { useIsFirstRender as _e } from "../hooks/useIsFirstRender.js";
11
11
  import { useMergeProps as Te } from "../hooks/useMergeProps.js";
12
12
  import { useMergeValue as oe } from "../hooks/useMergeValue.js";
13
13
  import Oe from "../SelectView.js";
14
- import { T as w, g as xe, a as Le, b as Re } from "./DpfUGhi4.js";
14
+ import { T as w, g as xe, a as Le, b as Re } from "./CfTcP6nF.js";
15
15
  import we from "../Trigger.js";
16
16
  import { y as ee } from "./BzPkh4Zv.js";
17
17
  import "../utils/is.js";
@@ -33,7 +33,7 @@ function Fe(t, a) {
33
33
  treeData: u,
34
34
  treeProps: p,
35
35
  prefixCls: l,
36
- treeCheckable: v
36
+ treeCheckable: V
37
37
  } = t, C = p && p.renderTitle, m = R(), d = K(
38
38
  (b, { checkedNodes: o, checked: s, node: g }) => {
39
39
  const P = b.map((y) => {
@@ -121,7 +121,7 @@ function Fe(t, a) {
121
121
  blockNode: !0,
122
122
  filterNode: t.filterNode,
123
123
  ...p,
124
- checkable: v,
124
+ checkable: V,
125
125
  multiple: f,
126
126
  loadMore: t.loadMore ? O : void 0,
127
127
  checkedStrategy: i,
@@ -152,8 +152,8 @@ const We = ue(Fe), me = {
152
152
  let h = 0;
153
153
  const i = (e, u) => {
154
154
  const p = e.length;
155
- return e.map((l, v) => {
156
- const C = H(l, n.children) || l[n.children], m = H(l, n.key) || l[n.key] || `${(u == null ? void 0 : u._key) || ""}-${v}`, d = {
155
+ return e.map((l, V) => {
156
+ const C = H(l, n.children) || l[n.children], m = H(l, n.key) || l[n.key] || `${(u == null ? void 0 : u._key) || ""}-${V}`, d = {
157
157
  ...l,
158
158
  title: H(l, n.title) || l[n.title],
159
159
  selectable: H(l, n.selectable) || l[n.selectable],
@@ -169,7 +169,7 @@ const We = ue(Fe), me = {
169
169
  _level: u._level || 0,
170
170
  _index: h++
171
171
  };
172
- return p === v + 1 && (d.className = ee(
172
+ return p === V + 1 && (d.className = ee(
173
173
  `${a}-node-is-tail`,
174
174
  d.className
175
175
  )), f[m] = d, C && C.length && (f[m].children = i(C, {
@@ -225,7 +225,7 @@ const We = ue(Fe), me = {
225
225
  const f = R([]), h = () => {
226
226
  const l = t.value || t.defaultValue || [];
227
227
  if (t.treeCheckable) {
228
- const v = Me(
228
+ const V = Me(
229
229
  j(l),
230
230
  a,
231
231
  n,
@@ -236,7 +236,7 @@ const We = ue(Fe), me = {
236
236
  f.current
237
237
  );
238
238
  return z(
239
- v,
239
+ V,
240
240
  a,
241
241
  C
242
242
  );
@@ -259,11 +259,11 @@ const We = ue(Fe), me = {
259
259
  a
260
260
  ]);
261
261
  const p = K(
262
- (l, v) => {
262
+ (l, V) => {
263
263
  const { onChange: C, labelInValue: m } = t, d = t.multiple || t.treeCheckable;
264
264
  "value" in t || u(l);
265
265
  let _;
266
- d ? _ = l.map((D) => m ? { label: D.label, value: D.value } : D.value) : _ = m ? l[0] : l[0] && l[0].value, C == null || C(_, v);
266
+ d ? _ = l.map((D) => m ? { label: D.label, value: D.value } : D.value) : _ = m ? l[0] : l[0] && l[0].value, C == null || C(_, V);
267
267
  },
268
268
  [
269
269
  t.onChange,
@@ -290,7 +290,7 @@ const je = {
290
290
  t,
291
291
  je,
292
292
  h == null ? void 0 : h.TreeSelect
293
- ), u = _e(), p = R(), l = R(null), v = R(null), C = R([]), [m] = Ue(e), d = Ae(m, e.fieldNames), [_, D] = te(), [O, G] = oe(!1, {
293
+ ), u = _e(), p = R(), l = R(null), V = R(null), C = R([]), [m] = Ue(e), d = Ae(m, e.fieldNames), [_, D] = te(), [O, G] = oe(!1, {
294
294
  value: e.popupVisible
295
295
  }), [S, J] = oe(
296
296
  void 0,
@@ -314,7 +314,7 @@ const je = {
314
314
  return;
315
315
  }
316
316
  if (!k) return m;
317
- const V = /* @__PURE__ */ new Set();
317
+ const v = /* @__PURE__ */ new Set();
318
318
  Object.keys(d).forEach((x) => {
319
319
  const L = d[x];
320
320
  let $ = !1;
@@ -324,8 +324,8 @@ const je = {
324
324
  const U = L.value || L._key;
325
325
  U && U.indexOf(k) > -1 && ($ = !0);
326
326
  }
327
- $ && V.add(L.key);
328
- }), D(V);
327
+ $ && v.add(L.key);
328
+ }), D(v);
329
329
  }, 100)(r),
330
330
  [e.onSearch, m, d, e.filterTreeNode]
331
331
  ), ne = K(() => {
@@ -339,31 +339,31 @@ const je = {
339
339
  ), ge = (r, c, k) => {
340
340
  if (k.stopPropagation(), r.disabled)
341
341
  return;
342
- const V = q(r.value) ? r.value.value : r.value;
343
- if (!e.treeCheckable || e.treeCheckStrictly || !d[V]) {
342
+ const v = q(r.value) ? r.value.value : r.value;
343
+ if (!e.treeCheckable || e.treeCheckStrictly || !d[v]) {
344
344
  const L = s.filter(($, U) => U !== c);
345
345
  M(L, {
346
- trigger: d[V] || r,
346
+ trigger: d[v] || r,
347
347
  checked: !1,
348
348
  selected: !1
349
349
  });
350
350
  return;
351
351
  }
352
352
  const x = Re(
353
- V,
353
+ v,
354
354
  !1,
355
355
  j(s),
356
356
  d,
357
357
  C.current
358
358
  );
359
359
  C.current = x.indeterminateKeys, M(z(x.checkedKeys, d, s), {
360
- trigger: d[V],
360
+ trigger: d[v],
361
361
  checked: !1,
362
362
  selected: !1
363
363
  });
364
364
  };
365
365
  function X(r) {
366
- return Se(r) || Ve(r) || ve(r);
366
+ return Se(r) || ve(r) || Ve(r);
367
367
  }
368
368
  ie(() => {
369
369
  S !== void 0 && be(S), S !== F.current && (F.current = S);
@@ -372,8 +372,8 @@ const je = {
372
372
  let r = [];
373
373
  if (S)
374
374
  for (const c in d) {
375
- const V = [...d[c].pathParentKeys, c];
376
- V.some((x) => _ && _.has(x)) && (r = r.concat(V));
375
+ const v = [...d[c].pathParentKeys, c];
376
+ v.some((x) => _ && _.has(x)) && (r = r.concat(v));
377
377
  }
378
378
  return Array.from(new Set(r));
379
379
  }, [S, d, _]);
@@ -384,14 +384,14 @@ const je = {
384
384
  }) : u || S && Q("", "optionListHide");
385
385
  }, [O]), de(a, () => ({
386
386
  focus() {
387
- v.current && v.current.focus();
387
+ V.current && V.current.focus();
388
388
  },
389
389
  blur() {
390
- v.current && v.current.blur();
390
+ V.current && V.current.blur();
391
391
  },
392
392
  getRootDOMNode: () => {
393
393
  var r, c;
394
- return (c = (r = v.current) == null ? void 0 : r.getRootDOMNode) == null ? void 0 : c.call(r);
394
+ return (c = (r = V.current) == null ? void 0 : r.getRootDOMNode) == null ? void 0 : c.call(r);
395
395
  }
396
396
  }));
397
397
  const pe = K(
@@ -400,11 +400,11 @@ const je = {
400
400
  ), Ce = K(
401
401
  (r) => {
402
402
  const { disabled: c, value: k } = r || {};
403
- let V = r == null ? void 0 : r.label;
404
- return W(e.renderFormat) && (V = e.renderFormat(
403
+ let v = r == null ? void 0 : r.label;
404
+ return W(e.renderFormat) && (v = e.renderFormat(
405
405
  d[k] || null,
406
406
  e.labelInValue ? r : k
407
- )), { text: V || k || "", disabled: c };
407
+ )), { text: v || k || "", disabled: c };
408
408
  },
409
409
  [e.renderFormat, e.labelInValue, d]
410
410
  ), ke = (r) => {
@@ -427,7 +427,7 @@ const je = {
427
427
  e.triggerProps && e.triggerProps.className
428
428
  ),
429
429
  popup: () => {
430
- var V, x, L;
430
+ var v, x, L;
431
431
  const c = e.dropdownRender, k = T && X(Y) || X(m) ? e.notFoundContent || (f == null ? void 0 : f("TreeSelect")) : /* @__PURE__ */ E(
432
432
  We,
433
433
  {
@@ -450,7 +450,7 @@ const je = {
450
450
  [`${y}-rtl-popup`]: i
451
451
  }),
452
452
  style: {
453
- maxHeight: (V = e.treeProps) != null && V.height || (L = (x = e.treeProps) == null ? void 0 : x.virtualListProps) != null && L.height ? "unset" : "",
453
+ maxHeight: (v = e.treeProps) != null && v.height || (L = (x = e.treeProps) == null ? void 0 : x.virtualListProps) != null && L.height ? "unset" : "",
454
454
  ...e.dropdownMenuStyle
455
455
  },
456
456
  children: W(c) ? c(k) : k
@@ -474,7 +474,7 @@ const je = {
474
474
  return Ke(ce) ? /* @__PURE__ */ E(
475
475
  Oe,
476
476
  {
477
- ref: v,
477
+ ref: V,
478
478
  rtl: i,
479
479
  ariaControls: I,
480
480
  ...e,
@@ -1,19 +1,19 @@
1
1
  import { jsxs as g, jsx as e } from "react/jsx-runtime";
2
- import { I as Ce } from "./sScV-J56.js";
3
- import { e as Ie } from "./BHn4xgbv.js";
2
+ import Ce from "@unicom-cloud/icons/IconUiImageClose";
3
+ import Pe from "@unicom-cloud/icons/IconUiLoading";
4
4
  import _ from "lodash/isNumber";
5
5
  import ee from "lodash/isPlainObject";
6
- import Pe from "lodash/isUndefined";
6
+ import Ie from "lodash/isUndefined";
7
7
  import xe, { useContext as re, useMemo as R, useRef as oe, useEffect as G } from "react";
8
- import { d as Ve } from "./Bdh4XVuf.js";
8
+ import { d as Ve } from "./C5S_amaH.js";
9
9
  import { useInView as Le } from "../hooks/useInView.js";
10
10
  import { useKeyboardEvent as ye } from "../hooks/useKeyboardEvent.js";
11
11
  import { useMergeProps as Ee } from "../hooks/useMergeProps.js";
12
12
  import { useMergeValue as Fe } from "../hooks/useMergeValue.js";
13
13
  import { y as h } from "./BzPkh4Zv.js";
14
14
  import Re from "../utils/omit.js";
15
- import { I as Ge } from "./D-aYnb6u.js";
16
- import { T as Ue, P as ie, a as je, b as Me, u as Se } from "./C1D7T29r.js";
15
+ import Ge from "@unicom-cloud/icons/IconUiMore";
16
+ import { T as Ue, P as ie, a as je, b as Me, u as Se } from "./DbLgopUR.js";
17
17
  function te(v) {
18
18
  const { title: w, description: $, actions: t } = v, a = w || $, l = t && t.length;
19
19
  return [a || l, a, l];
@@ -90,12 +90,12 @@ function Oe(v, w) {
90
90
  lazyload: f,
91
91
  ...ae
92
92
  } = l, ce = ye(), {
93
- previewGroup: I,
93
+ previewGroup: P,
94
94
  handleVisibleChange: le,
95
95
  registerPreviewUrl: de,
96
96
  registerPreviewProps: me,
97
97
  setCurrentIndex: ue
98
- } = re(Me), n = R(() => ee(U) ? U : {}, [U]), fe = R(() => ee(f) ? f : {}, [f]), d = R(() => _(S) || _(D) ? (B = _(S) ? S : D, B) : B++, []), O = n.src || s, [T] = te({ title: c, description: L, actions: y }), { isLoading: H, isError: z, isLoaded: p, isBeforeLoad: pe, setStatus: P } = Se("beforeLoad"), F = oe(!1), [J, ge] = Fe(!1, {
98
+ } = re(Me), n = R(() => ee(U) ? U : {}, [U]), fe = R(() => ee(f) ? f : {}, [f]), d = R(() => _(S) || _(D) ? (B = _(S) ? S : D, B) : B++, []), O = n.src || s, [T] = te({ title: c, description: L, actions: y }), { isLoading: H, isError: z, isLoaded: p, isBeforeLoad: pe, setStatus: I } = Se("beforeLoad"), F = oe(!1), [J, ge] = Fe(!1, {
99
99
  defaultValue: n.defaultVisible,
100
100
  value: n.visible
101
101
  }), K = R(() => Re(n, [
@@ -103,7 +103,7 @@ function Oe(v, w) {
103
103
  "defaultVisible",
104
104
  "src",
105
105
  "onVisibleChange"
106
- ]), [n]), r = $("image"), he = !Pe(n.visible), ve = h(
106
+ ]), [n]), r = $("image"), he = !Ie(n.visible), ve = h(
107
107
  r,
108
108
  {
109
109
  [`${r}-rtl`]: a,
@@ -118,13 +118,13 @@ function Oe(v, w) {
118
118
  x
119
119
  ), m = oe();
120
120
  function we(i) {
121
- F.current = !0, P("loaded"), A == null || A(i);
121
+ F.current = !0, I("loaded"), A == null || A(i);
122
122
  }
123
123
  function $e(i) {
124
- F.current = !0, P("error"), k == null || k(i);
124
+ F.current = !0, I("error"), k == null || k(i);
125
125
  }
126
126
  function Q(i) {
127
- u && I ? (ue(d), le(!0)) : u && W(!0), M == null || M(i);
127
+ u && P ? (ue(d), le(!0)) : u && W(!0), M == null || M(i);
128
128
  }
129
129
  function W(i) {
130
130
  var Z;
@@ -136,23 +136,23 @@ function Oe(v, w) {
136
136
  ...fe
137
137
  });
138
138
  G(() => {
139
- F.current = !1, s || P("error");
139
+ F.current = !1, s || I("error");
140
140
  }, [s]), G(() => {
141
- m.current && (X ? ((m.current.src || s) && m.current.src !== s && (m.current.src = s), !F.current && !m.current.complete && P("loading")) : P("lazyload"));
141
+ m.current && (X ? ((m.current.src || s) && m.current.src !== s && (m.current.src = s), !F.current && !m.current.complete && I("loading")) : I("lazyload"));
142
142
  }, [s, X]), G(() => {
143
- if (!I) return;
143
+ if (!P) return;
144
144
  const i = me(d, K);
145
145
  return () => i(d);
146
- }, [d, I, K]), G(() => {
147
- if (!I) return;
146
+ }, [d, P, K]), G(() => {
147
+ if (!P) return;
148
148
  const i = de(d, O, u);
149
149
  return () => i(d);
150
- }, [d, I, O, u]);
150
+ }, [d, P, O, u]);
151
151
  const be = /* @__PURE__ */ g("div", { className: `${r}-error`, children: [
152
152
  /* @__PURE__ */ e("div", { className: `${r}-error-icon`, children: /* @__PURE__ */ e(Ce, {}) }),
153
153
  j && /* @__PURE__ */ e("div", { className: `${r}-error-alt`, children: j })
154
154
  ] }), Y = /* @__PURE__ */ e("div", { className: h(`${r}-loader`, se), children: /* @__PURE__ */ g("div", { className: `${r}-loader-spin`, children: [
155
- /* @__PURE__ */ e(Ie, {}),
155
+ /* @__PURE__ */ e(Pe, {}),
156
156
  /* @__PURE__ */ e("div", { className: `${r}-loader-spin-text`, children: "Loading" })
157
157
  ] }) }), Ne = () => {
158
158
  if (C === !0) return Y;
@@ -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 "./Bdh4XVuf.js";
8
+ import { d as lt } from "./C5S_amaH.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";
@@ -1,9 +1,9 @@
1
1
  import { jsxs as z, Fragment as F, jsx as C } from "react/jsx-runtime";
2
- import { I as O } from "./BHn4xgbv.js";
2
+ 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 "./Bdh4XVuf.js";
6
+ import { I as rt } from "./C5S_amaH.js";
7
7
  import { y as V } from "./BzPkh4Zv.js";
8
8
  import it from "../utils/fillNBSP.js";
9
9
  import "../utils/is.js";