@unicom-cloud/ui 0.8.64 → 0.8.66

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 (136) 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 +2 -2
  26. package/Empty.js +2 -2
  27. package/Form.js +4 -4
  28. package/Grid.js +3 -3
  29. package/Icon.js +2 -2
  30. package/IconHover.js +2 -2
  31. package/Image.js +2 -2
  32. package/Input.js +3 -3
  33. package/InputNumber.js +3 -3
  34. package/InputTag.js +1 -1
  35. package/Layout.js +3 -3
  36. package/Link.js +2 -2
  37. package/List.js +30 -30
  38. package/Mentions.js +4 -4
  39. package/Menu.js +2 -2
  40. package/Message.js +2 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +2 -2
  43. package/Notification.js +2 -2
  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 +2 -2
  52. package/Rate.js +2 -2
  53. package/ResizeBox.js +155 -154
  54. package/Result.js +2 -2
  55. package/Select.js +2 -2
  56. package/SelectView.js +9 -8
  57. package/Skeleton.js +2 -2
  58. package/Slider.js +5 -5
  59. package/Space.js +2 -2
  60. package/Spin.js +2 -2
  61. package/Statistic.js +2 -2
  62. package/Steps.js +2 -2
  63. package/Switch.js +3 -3
  64. package/Table.js +771 -768
  65. package/Tabs.js +4 -4
  66. package/Tag.js +2 -2
  67. package/TimePicker.js +4 -4
  68. package/Timeline.js +2 -2
  69. package/Tooltip.js +2 -2
  70. package/Transfer.js +4 -4
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +2 -2
  73. package/Trigger.js +43 -42
  74. package/Typography.js +1 -1
  75. package/Upload.js +4 -5
  76. package/VerificationCode.js +1 -1
  77. package/Version.js +5 -3
  78. package/Watermark.js +1 -1
  79. package/chunk/{B5GDq8NJ.js → -zpSUpGE.js} +100 -97
  80. package/chunk/BAWsPQBM.js +11 -0
  81. package/chunk/{oR9TkA35.js → BFipyA67.js} +2 -2
  82. package/chunk/{CxpFYX4B.js → BHgJ5Y3T.js} +3 -3
  83. package/chunk/{BwSpYGK-.js → BIT0j3HT.js} +3 -3
  84. package/chunk/{pq-36BDW.js → BbLKnaNO.js} +3 -3
  85. package/chunk/{tW_FgNSv.js → Bc7t9jkb.js} +2 -2
  86. package/chunk/{BJSjbYSN.js → Bfhv56O2.js} +2 -2
  87. package/chunk/{CAhODOfT.js → Bh23P4l7.js} +2 -2
  88. package/chunk/{CTF5o0OX.js → BnSVm1YC.js} +1 -1
  89. package/chunk/{DPJEIBKZ.js → C6QWSzsM.js} +4 -4
  90. package/chunk/{BHnRi7Xh.js → CHnFKgbk.js} +4 -4
  91. package/chunk/{CYQ1EE4h.js → CPvvjMwZ.js} +2 -2
  92. package/chunk/{Cqyp4qni.js → CSC_V_25.js} +45 -45
  93. package/chunk/{BSBJlVZH.js → CVkHTbic.js} +4 -4
  94. package/chunk/{BCxoi4Kf.js → CZOP_ZHJ.js} +2 -2
  95. package/chunk/{D01b7bWX.js → CcV4wQB1.js} +176 -175
  96. package/chunk/{CA69nxbj.js → CeGEvXby.js} +2 -2
  97. package/chunk/{CAiaqaWc.js → CssIjN1g.js} +2 -2
  98. package/chunk/{Cb_oWoGj.js → CwhPMMWy.js} +14 -14
  99. package/chunk/{CtUTlwlQ.js → DNAigumg.js} +2 -2
  100. package/chunk/{BtIG250j.js → DPByB1ab.js} +40 -40
  101. package/chunk/{B68hRpYG.js → DQAot004.js} +3 -3
  102. package/chunk/{CZfGDXaB.js → DTBtQQ2H.js} +2 -2
  103. package/chunk/{BmO1y0vr.js → DUeHQKtx.js} +12 -12
  104. package/chunk/{-IELMT_x.js → DV1Ab_cG.js} +2 -2
  105. package/chunk/{CBgwLBAC.js → DnvO8A0Z.js} +104 -103
  106. package/chunk/{Yvz-hPQB.js → Du-bw6qA.js} +3 -3
  107. package/chunk/dBnNCOIU.js +778 -0
  108. package/chunk/{DQ561AmR.js → it8qlDZ3.js} +222 -221
  109. package/chunk/{BfHNSLva.js → jhQQCFMn.js} +135 -134
  110. package/chunk/{D-oHJail.js → te_43YrB.js} +178 -175
  111. package/chunk/{QlYCEvCX.js → znkyQ-HR.js} +2 -2
  112. package/hooks/useIntersectionObserver.js +1 -1
  113. package/hooks/useMergeValue.js +2 -2
  114. package/index.js +378 -374
  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/variables.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/config-provider/interface.d.ts +1 -1
  123. package/types/index.d.ts +5 -5
  124. package/types/select/interface.d.ts +1 -1
  125. package/types/tabs/Tab.d.ts +1 -1
  126. package/types/upload/Upload.d.ts +1 -1
  127. package/types/version/index.d.ts +2 -0
  128. package/utils/className.js +1 -1
  129. package/utils/contextHolder.js +1 -1
  130. package/utils/copy.js +1 -1
  131. package/utils/index.js +41 -41
  132. package/utils/is.js +37 -37
  133. package/utils/reactDOM.js +3 -3
  134. package/utils/scrollIntoView.js +1 -1
  135. package/chunk/BzPkh4Zv.js +0 -11
  136. package/chunk/_m8hLSsx.js +0 -776
@@ -1,29 +1,30 @@
1
- import { jsxs as ye, jsx as E } from "react/jsx-runtime";
2
- import { H as Se, z as ve, G as Ve } from "./Cqyp4qni.js";
3
- import Pe from "lodash/debounce";
1
+ import { jsxs as Se, jsx as E } from "react/jsx-runtime";
2
+ import { H as ve, z as Ve, G as Pe } from "./CSC_V_25.js";
3
+ import Ke from "lodash/debounce";
4
4
  import B from "lodash/isArray";
5
5
  import W from "lodash/isFunction";
6
- import Ke from "lodash/isNil";
7
- import { forwardRef as ue, useRef as w, 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 "./B5GDq8NJ.js";
9
- import { useId as Ie } from "../hooks/useId.js";
10
- import { useIsFirstRender as _e } from "../hooks/useIsFirstRender.js";
11
- import { useMergeProps as Te } from "../hooks/useMergeProps.js";
12
- import { useMergeValue as oe } from "../hooks/useMergeValue.js";
13
- import Oe from "../SelectView.js";
14
- import { T as O, g as xe, a as Le, b as Re } from "./BSBJlVZH.js";
15
- import we from "../Trigger.js";
16
- import { y as ee } from "./BzPkh4Zv.js";
6
+ import Ie from "lodash/isNil";
7
+ import { forwardRef as ue, useRef as w, useCallback as K, useMemo as Y, useImperativeHandle as de, useContext as fe, useState as ee, useEffect as ce } from "react";
8
+ import { d as he } from "./-zpSUpGE.js";
9
+ import { useId as _e } from "../hooks/useId.js";
10
+ import { useIsFirstRender as Te } from "../hooks/useIsFirstRender.js";
11
+ import { useMergeProps as Oe } from "../hooks/useMergeProps.js";
12
+ import { useMergeValue as ie } from "../hooks/useMergeValue.js";
13
+ import xe from "../SelectView.js";
14
+ import { T as O, g as Le, a as Re, b as we } from "./CVkHTbic.js";
15
+ import De from "../Trigger.js";
16
+ import { y as Z } from "./BAWsPQBM.js";
17
17
  import "../utils/is.js";
18
- import De from "lodash/isString";
18
+ import He from "lodash/isString";
19
19
  import H from "lodash/get";
20
- import { useForceUpdate as He } from "../hooks/useForceUpdate.js";
21
- import { useUpdateEffect as re } from "../hooks/useUpdateEffect.js";
22
- import se from "lodash/isEqualWith";
23
- import q from "lodash/isPlainObject";
24
- import Ne from "lodash/isUndefined";
25
- import { usePrevious as Ee } from "../hooks/usePrevious.js";
26
- function Fe(t, a) {
20
+ import { useForceUpdate as Ne } from "../hooks/useForceUpdate.js";
21
+ import { useUpdateEffect as te } from "../hooks/useUpdateEffect.js";
22
+ import oe from "lodash/isEqualWith";
23
+ import me from "lodash/isPlainObject";
24
+ import Ee from "lodash/isUndefined";
25
+ import { usePrevious as Fe } from "../hooks/usePrevious.js";
26
+ import se from "lodash/isPlainObject.js";
27
+ function We(t, a) {
27
28
  const {
28
29
  value: n,
29
30
  multiple: f,
@@ -85,17 +86,17 @@ function Fe(t, a) {
85
86
  return [];
86
87
  },
87
88
  [h]
88
- ), G = K(
89
+ ), q = K(
89
90
  (b) => {
90
91
  if (C)
91
92
  return C(b);
92
93
  const o = t.inputValue, { title: s } = b;
93
- if (o && De(s)) {
94
+ if (o && He(s)) {
94
95
  const g = s.toLowerCase().indexOf(o.toLowerCase());
95
96
  if (g === -1)
96
97
  return s;
97
98
  const P = s.substring(0, g + 1), y = s.substring(g + o.length);
98
- return /* @__PURE__ */ ye("span", { children: [
99
+ return /* @__PURE__ */ Se("span", { children: [
99
100
  P,
100
101
  /* @__PURE__ */ E("span", { className: `${l}-highlight`, children: s.substring(g, o.length + 1) }),
101
102
  y
@@ -104,10 +105,10 @@ function Fe(t, a) {
104
105
  return s;
105
106
  },
106
107
  [l, t.inputValue, C]
107
- ), S = Z(() => t.treeCheckable ? {
108
+ ), S = Y(() => t.treeCheckable ? {
108
109
  onCheck: d,
109
110
  checkedKeys: n.map((b) => b.value)
110
- } : {}, [d, n, t.treeCheckable]), J = Z(() => t.treeCheckable ? [] : n.map((b) => b.value), [t.treeCheckable, n]), F = K(
111
+ } : {}, [d, n, t.treeCheckable]), G = Y(() => t.treeCheckable ? [] : n.map((b) => b.value), [t.treeCheckable, n]), F = K(
111
112
  (b, o) => {
112
113
  t.treeCheckable ? D(b, o) : _(b, o);
113
114
  },
@@ -132,13 +133,13 @@ function Fe(t, a) {
132
133
  ...S,
133
134
  treeData: u,
134
135
  fieldNames: t.fieldNames,
135
- renderTitle: G,
136
+ renderTitle: q,
136
137
  onSelect: F,
137
- selectedKeys: J
138
+ selectedKeys: G
138
139
  }
139
140
  );
140
141
  }
141
- const We = ue(Fe), me = {
142
+ const Ae = ue(We), be = {
142
143
  key: "key",
143
144
  title: "title",
144
145
  children: "children",
@@ -169,7 +170,7 @@ const We = ue(Fe), me = {
169
170
  _level: u._level || 0,
170
171
  _index: h++
171
172
  };
172
- return p === V + 1 && (d.className = ee(
173
+ return p === V + 1 && (d.className = Z(
173
174
  `${a}-node-is-tail`,
174
175
  d.className
175
176
  )), f[m] = d, C && C.length && (f[m].children = i(C, {
@@ -180,21 +181,21 @@ const We = ue(Fe), me = {
180
181
  });
181
182
  };
182
183
  return i(t || [], {}), f;
183
- }, Ae = (t, a) => {
184
+ }, Me = (t, a) => {
184
185
  const { getPrefixCls: n } = fe(he), f = {
185
- ...me,
186
+ ...be,
186
187
  ...a
187
- }, h = He(), i = n("tree"), e = w(
188
+ }, h = Ne(), i = n("tree"), e = w(
188
189
  ae(t, i, f)
189
190
  );
190
- return re(() => {
191
+ return te(() => {
191
192
  e.current = ae(t, i, f), h();
192
193
  }, [t]), e.current;
193
194
  }, j = (t) => {
194
195
  let a = t;
195
- return B(t) || (a = t == null ? [] : [t]), a.map((n) => q(n) ? n.value : n);
196
+ return B(t) || (a = t == null ? [] : [t]), a.map((n) => me(n) ? n.value : n);
196
197
  }, z = (t, a, n) => t == null ? [] : (B(t) ? t : [t]).map((h) => {
197
- let i = q(h) ? { ...h } : { value: h, label: void 0 };
198
+ let i = me(h) ? { ...h } : { value: h, label: void 0 };
198
199
  const e = a[i.value];
199
200
  if (e)
200
201
  i.label = i.label || e.title, i.disabled = e.disabled;
@@ -205,10 +206,10 @@ const We = ue(Fe), me = {
205
206
  ...u
206
207
  };
207
208
  }
208
- return Ne(i.label) && (i.label = i.value), i;
209
- }), Me = (t, a, n, f) => {
209
+ return Ee(i.label) && (i.label = i.value), i;
210
+ }), $e = (t, a, n, f) => {
210
211
  if (!f.treeCheckStrictly) {
211
- const { checkedKeys: h, indeterminateKeys: i } = xe(t, a);
212
+ const { checkedKeys: h, indeterminateKeys: i } = Le(t, a);
212
213
  let e = h;
213
214
  return n.current = i, f.treeCheckedStrategy === O.SHOW_PARENT ? e = e.filter((u) => {
214
215
  const p = a[u];
@@ -221,11 +222,11 @@ const We = ue(Fe), me = {
221
222
  })), e;
222
223
  }
223
224
  return n.current = [], t;
224
- }, $e = (t, a, n) => {
225
+ }, Ue = (t, a, n) => {
225
226
  const f = w([]), h = () => {
226
227
  const l = t.value || t.defaultValue || [];
227
228
  if (t.treeCheckable) {
228
- const V = Me(
229
+ const V = $e(
229
230
  j(l),
230
231
  a,
231
232
  n,
@@ -242,15 +243,15 @@ const We = ue(Fe), me = {
242
243
  );
243
244
  }
244
245
  return z(l, a);
245
- }, [i, e] = te(h), u = (l) => {
246
+ }, [i, e] = ee(h), u = (l) => {
246
247
  f.current = l, e(l);
247
248
  };
248
- re(() => {
249
+ te(() => {
249
250
  const l = h();
250
- "value" in t && (t.labelInValue ? se(
251
+ "value" in t && (t.labelInValue ? oe(
251
252
  j(i),
252
253
  j(l)
253
- ) || u(l) : se(i, l) || u(l));
254
+ ) || u(l) : oe(i, l) || u(l));
254
255
  }, [
255
256
  t.treeCheckedStrategy,
256
257
  t.treeCheckStrictly,
@@ -275,40 +276,40 @@ const We = ue(Fe), me = {
275
276
  );
276
277
  return [i, p];
277
278
  };
278
- function Ue(t) {
279
- const a = Ee(t) || {}, n = () => t.treeData || Le(t.children), [f, h] = te(n());
280
- return re(() => {
279
+ function je(t) {
280
+ const a = Fe(t) || {}, n = () => t.treeData || Re(t.children), [f, h] = ee(n());
281
+ return te(() => {
281
282
  (t.treeData !== a.treeData || t.children !== a.children) && h(n());
282
283
  }, [t]), [f];
283
284
  }
284
- const je = {
285
+ const ze = {
285
286
  bordered: !0,
286
287
  treeCheckedStrategy: O.SHOW_CHILD,
287
- fieldNames: me
288
- }, ze = { bottom: 4 }, Be = (t, a) => {
289
- const { getPrefixCls: n, renderEmpty: f, componentConfig: h, rtl: i } = fe(he), e = Te(
288
+ fieldNames: be
289
+ }, Be = { bottom: 4 }, qe = (t, a) => {
290
+ const { getPrefixCls: n, renderEmpty: f, componentConfig: h, rtl: i } = fe(he), e = Oe(
290
291
  t,
291
- je,
292
+ ze,
292
293
  h == null ? void 0 : h.TreeSelect
293
- ), u = _e(), p = w(), l = w(null), V = w(null), C = w([]), [m] = Ue(e), d = Ae(m, e.fieldNames), [_, D] = te(), [x, G] = oe(!1, {
294
+ ), u = Te(), p = w(), l = w(null), V = w(null), C = w([]), [m] = je(e), d = Me(m, e.fieldNames), [_, D] = ee(), [x, q] = ie(!1, {
294
295
  value: e.popupVisible
295
- }), [S, J] = oe(
296
+ }), [S, G] = ie(
296
297
  void 0,
297
298
  // Compatible with previous behavior 'undefined as default'
298
299
  {
299
300
  value: "inputValue" in e ? e.inputValue || "" : void 0
300
301
  }
301
- ), F = w(S), b = w(null), { onInputValueChange: o } = e, [s, g] = $e(
302
+ ), F = w(S), b = w(null), { onInputValueChange: o } = e, [s, g] = Ue(
302
303
  e,
303
304
  d,
304
305
  C
305
- ), P = e.multiple || e.treeCheckable, y = n("tree-select"), T = S && !W(e.onSearch), I = Ie(`${y}-popup-`), N = (r) => {
306
+ ), P = e.multiple || e.treeCheckable, y = n("tree-select"), T = S && !W(e.onSearch), I = _e(`${y}-popup-`), N = (r) => {
306
307
  var c;
307
- r !== x && (G(r), (c = e.onVisibleChange) == null || c.call(e, r));
308
- }, Q = (r, c) => {
309
- (r !== F.current || c !== b.current) && (J(r), F.current = r, b.current = c, o == null || o(r, c));
310
- }, be = K(
311
- (r) => Pe(async (k) => {
308
+ r !== x && (q(r), (c = e.onVisibleChange) == null || c.call(e, r));
309
+ }, J = (r, c) => {
310
+ (r !== F.current || c !== b.current) && (G(r), F.current = r, b.current = c, o == null || o(r, c));
311
+ }, ge = K(
312
+ (r) => Ke(async (k) => {
312
313
  if (W(e.onSearch)) {
313
314
  await e.onSearch(k);
314
315
  return;
@@ -328,18 +329,18 @@ const je = {
328
329
  }), D(v);
329
330
  }, 100)(r),
330
331
  [e.onSearch, m, d, e.filterTreeNode]
331
- ), ne = K(() => {
332
+ ), re = K(() => {
332
333
  let r = !0;
333
- q(e.showSearch) && (r = e.showSearch.retainInputValueWhileSelect !== !1), e.multiple && !r && S !== void 0 && Q("", "optionChecked");
334
+ se(e.showSearch) && (r = e.showSearch.retainInputValueWhileSelect !== !1), e.multiple && !r && S !== void 0 && J("", "optionChecked");
334
335
  }, [S, e.multiple, JSON.stringify(e.showSearch)]), M = K(
335
336
  (r, c) => {
336
- g(r, c), ne(), P || N(!1);
337
+ g(r, c), re(), P || N(!1);
337
338
  },
338
- [g, ne, x]
339
- ), ge = (r, c, k) => {
339
+ [g, re, x]
340
+ ), pe = (r, c, k) => {
340
341
  if (k.stopPropagation(), r.disabled)
341
342
  return;
342
- const v = q(r.value) ? r.value.value : r.value;
343
+ const v = se(r.value) ? r.value.value : r.value;
343
344
  if (!e.treeCheckable || e.treeCheckStrictly || !d[v]) {
344
345
  const R = s.filter(($, U) => U !== c);
345
346
  M(R, {
@@ -349,7 +350,7 @@ const je = {
349
350
  });
350
351
  return;
351
352
  }
352
- const L = Re(
353
+ const L = we(
353
354
  v,
354
355
  !1,
355
356
  j(s),
@@ -362,13 +363,13 @@ const je = {
362
363
  selected: !1
363
364
  });
364
365
  };
365
- function X(r) {
366
- return Se(r) || ve(r) || Ve(r);
366
+ function Q(r) {
367
+ return ve(r) || Ve(r) || Pe(r);
367
368
  }
368
- ie(() => {
369
- S !== void 0 && be(S), S !== F.current && (F.current = S);
369
+ ce(() => {
370
+ S !== void 0 && ge(S), S !== F.current && (F.current = S);
370
371
  }, [S]);
371
- const Y = Z(() => {
372
+ const X = Y(() => {
372
373
  let r = [];
373
374
  if (S)
374
375
  for (const c in d) {
@@ -377,11 +378,11 @@ const je = {
377
378
  }
378
379
  return Array.from(new Set(r));
379
380
  }, [S, d, _]);
380
- ie(() => {
381
+ ce(() => {
381
382
  x ? setTimeout(() => {
382
383
  const r = s[0];
383
384
  l.current && r && l.current.scrollIntoView(r.value);
384
- }) : u || S && Q("", "optionListHide");
385
+ }) : u || S && J("", "optionListHide");
385
386
  }, [x]), de(a, () => ({
386
387
  focus() {
387
388
  V.current && V.current.focus();
@@ -394,10 +395,10 @@ const je = {
394
395
  return (c = (r = V.current) == null ? void 0 : r.getRootDOMNode) == null ? void 0 : c.call(r);
395
396
  }
396
397
  }));
397
- const pe = K(
398
- (r) => T ? Y.indexOf(r._key) > -1 : !0,
399
- [T, Y]
400
- ), Ce = K(
398
+ const Ce = K(
399
+ (r) => T ? X.indexOf(r._key) > -1 : !0,
400
+ [T, X]
401
+ ), ke = K(
401
402
  (r) => {
402
403
  const { disabled: c, value: k } = r || {};
403
404
  let v = r == null ? void 0 : r.label;
@@ -407,10 +408,10 @@ const je = {
407
408
  )), { text: v || k || "", disabled: c };
408
409
  },
409
410
  [e.renderFormat, e.labelInValue, d]
410
- ), ke = (r) => {
411
+ ), ye = (r) => {
411
412
  g(r, {});
412
- }, le = (r) => /* @__PURE__ */ E(
413
- we,
413
+ }, ne = (r) => /* @__PURE__ */ E(
414
+ De,
414
415
  {
415
416
  autoAlignPopupWidth: !1,
416
417
  autoAlignPopupMinWidth: !0,
@@ -419,23 +420,23 @@ const je = {
419
420
  trigger: "click",
420
421
  position: "bl",
421
422
  getPopupContainer: e.getPopupContainer,
422
- popupAlign: ze,
423
+ popupAlign: Be,
423
424
  unmountOnExit: e.unmountOnExit,
424
425
  ...e.triggerProps,
425
- className: ee(
426
+ className: Z(
426
427
  `${y}-trigger`,
427
428
  e.triggerProps && e.triggerProps.className
428
429
  ),
429
430
  popup: () => {
430
431
  var v, L, R;
431
- const c = e.dropdownRender, k = T && X(Y) || X(m) ? e.notFoundContent || (f == null ? void 0 : f("TreeSelect")) : /* @__PURE__ */ E(
432
- We,
432
+ const c = e.dropdownRender, k = T && Q(X) || Q(m) ? e.notFoundContent || (f == null ? void 0 : f("TreeSelect")) : /* @__PURE__ */ E(
433
+ Ae,
433
434
  {
434
435
  prefixCls: y,
435
436
  ref: l,
436
437
  ...e,
437
438
  inputValue: S,
438
- filterNode: pe,
439
+ filterNode: Ce,
439
440
  value: s,
440
441
  onChange: M,
441
442
  multiple: P,
@@ -446,7 +447,7 @@ const je = {
446
447
  "div",
447
448
  {
448
449
  id: I,
449
- className: ee(`${y}-popup`, {
450
+ className: Z(`${y}-popup`, {
450
451
  [`${y}-rtl-popup`]: i
451
452
  }),
452
453
  style: {
@@ -464,15 +465,15 @@ const je = {
464
465
  popupVisible: x,
465
466
  children: r
466
467
  }
467
- ), ce = typeof e.triggerElement == "function" ? (() => {
468
+ ), le = typeof e.triggerElement == "function" ? (() => {
468
469
  var c;
469
470
  let r;
470
471
  return P ? r = s.map(
471
472
  (k) => e.labelInValue ? { label: k.label, value: k.value } : k.value
472
473
  ) : r = e.labelInValue ? s[0] : (c = s[0]) == null ? void 0 : c.value, e.triggerElement({ value: r });
473
474
  })() : e.triggerElement;
474
- return Ke(ce) ? /* @__PURE__ */ E(
475
- Oe,
475
+ return Ie(le) ? /* @__PURE__ */ E(
476
+ xe,
476
477
  {
477
478
  ref: V,
478
479
  rtl: i,
@@ -481,12 +482,12 @@ const je = {
481
482
  popupVisible: x,
482
483
  value: !P && B(s) ? s[0] : s,
483
484
  inputValue: S,
484
- isEmptyValue: X(s),
485
+ isEmptyValue: Q(s),
485
486
  prefixCls: y,
486
487
  isMultiple: P,
487
- renderText: Ce,
488
- onSort: ke,
489
- onRemoveCheckedItem: ge,
488
+ renderText: ke,
489
+ onSort: ye,
490
+ onRemoveCheckedItem: pe,
490
491
  onClear: (r) => {
491
492
  var c;
492
493
  r.stopPropagation(), M([], {}), (c = e.onClear) == null || c.call(e, !!x);
@@ -499,19 +500,19 @@ const je = {
499
500
  r && r.stopPropagation();
500
501
  },
501
502
  onChangeInputValue: (r) => {
502
- Q(r, "manual");
503
+ J(r, "manual");
503
504
  },
504
- renderView: le
505
+ renderView: ne
505
506
  }
506
- ) : le(ce);
507
- }, qe = ue(Be), A = qe;
507
+ ) : ne(le);
508
+ }, Ge = ue(qe), A = Ge;
508
509
  A.displayName = "TreeSelect";
509
510
  A.Node = O.Node;
510
511
  A.SHOW_ALL = O.SHOW_ALL;
511
512
  A.SHOW_PARENT = O.SHOW_PARENT;
512
513
  A.SHOW_CHILD = O.SHOW_CHILD;
513
- const kt = O.Node;
514
+ const St = O.Node;
514
515
  export {
515
516
  A as T,
516
- kt as a
517
+ St as a
517
518
  };
@@ -5,15 +5,15 @@ import _ from "lodash/isNumber";
5
5
  import ee from "lodash/isPlainObject";
6
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 "./B5GDq8NJ.js";
8
+ import { d as Ve } from "./-zpSUpGE.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
- import { y as h } from "./BzPkh4Zv.js";
13
+ import { y as h } from "./BAWsPQBM.js";
14
14
  import Re from "../utils/omit.js";
15
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 "./B68hRpYG.js";
16
+ import { T as Ue, P as ie, a as je, b as Me, u as Se } from "./DQAot004.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];