@unicom-cloud/ui 0.8.62 → 0.8.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +2 -2
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +3 -3
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +2 -2
  7. package/Badge.js +2 -2
  8. package/Breadcrumb.js +2 -2
  9. package/Button.js +1 -1
  10. package/Calendar.js +3 -3
  11. package/Card.js +1 -1
  12. package/Carousel.js +1 -1
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +4 -4
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +1 -1
  20. package/DatePicker.js +1026 -1016
  21. package/Descriptions.js +10 -10
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +26 -25
  26. package/Empty.js +1 -1
  27. package/Form.js +2 -2
  28. package/Grid.js +2 -2
  29. package/Icon.js +2 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +4 -1
  32. package/Input.js +11 -2
  33. package/InputNumber.js +2 -2
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -20
  36. package/Link.js +1 -1
  37. package/List.js +4 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +7 -2
  40. package/Message.js +4 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +1 -1
  43. package/Notification.js +4 -3
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +1 -1
  49. package/Popover.js +1 -1
  50. package/Progress.js +1 -1
  51. package/Radio.js +4 -2
  52. package/Rate.js +1 -1
  53. package/ResizeBox.js +66 -64
  54. package/Result.js +1 -1
  55. package/Select.js +4 -1
  56. package/SelectView.js +3 -3
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +2 -2
  59. package/Space.js +50 -46
  60. package/Spin.js +1 -1
  61. package/Statistic.js +28 -27
  62. package/Steps.js +40 -38
  63. package/Switch.js +2 -2
  64. package/Table.js +7 -4
  65. package/Tabs.js +6 -2
  66. package/Tag.js +1 -1
  67. package/TimePicker.js +37 -36
  68. package/Timeline.js +4 -2
  69. package/Tooltip.js +1 -1
  70. package/Transfer.js +3 -3
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +3 -1
  73. package/Trigger.js +2 -2
  74. package/Typography.js +6 -2
  75. package/Upload.js +5 -4
  76. package/VerificationCode.js +1 -1
  77. package/Watermark.js +1 -1
  78. package/chunk/{CHyuuVxl.js → -IELMT_x.js} +1 -1
  79. package/chunk/{CV1kLw5Z.js → B5GDq8NJ.js} +8 -6
  80. package/chunk/{qpd2axxs.js → B68hRpYG.js} +2 -2
  81. package/chunk/{B8SZFOjt.js → BCxoi4Kf.js} +22 -20
  82. package/chunk/{DRp7voqz.js → BHnRi7Xh.js} +3 -3
  83. package/chunk/{C6fEFlPt.js → BJSjbYSN.js} +2 -2
  84. package/chunk/{BlNFmhNa.js → BSBJlVZH.js} +3 -3
  85. package/chunk/{yESVS-qX.js → BfHNSLva.js} +3 -3
  86. package/chunk/{B4-WpgY2.js → BtIG250j.js} +7 -4
  87. package/chunk/{Dtm4BmKB.js → BwSpYGK-.js} +1 -1
  88. package/chunk/{KchYsivk.js → CA69nxbj.js} +1 -1
  89. package/chunk/{D3VMG9V1.js → CAhODOfT.js} +3 -2
  90. package/chunk/{tOFzwzpT.js → CAiaqaWc.js} +1 -1
  91. package/chunk/{Wum88vrW.js → CBgwLBAC.js} +40 -38
  92. package/chunk/{Bp3XomF8.js → CLBavO5c.js} +23 -20
  93. package/chunk/{CT1lZ7ss.js → CTF5o0OX.js} +1 -1
  94. package/chunk/{C4eJ9vCf.js → CYQ1EE4h.js} +2 -2
  95. package/chunk/{DRQ1v6Ux.js → CZfGDXaB.js} +1 -1
  96. package/chunk/{B0oDiPqE.js → CtUTlwlQ.js} +1 -1
  97. package/chunk/{DGasAUHE.js → CxpFYX4B.js} +11 -11
  98. package/chunk/{BnqeQYIZ.js → D-oHJail.js} +59 -55
  99. package/chunk/{CazXy0r4.js → D01b7bWX.js} +50 -45
  100. package/chunk/{C8o-VGyc.js → DPJEIBKZ.js} +3 -3
  101. package/chunk/{-Z968QpN.js → DQ561AmR.js} +3 -3
  102. package/chunk/{CDJ1EnJ2.js → QlYCEvCX.js} +1 -1
  103. package/chunk/{AqH9yP_J.js → Yvz-hPQB.js} +2 -2
  104. package/chunk/{nbEvdwT0.js → _m8hLSsx.js} +4 -2
  105. package/chunk/{CJnshq6A.js → oR9TkA35.js} +2 -2
  106. package/chunk/{BXWxA-tS.js → pq-36BDW.js} +5 -3
  107. package/chunk/{mfn4EgmQ.js → tW_FgNSv.js} +1 -1
  108. package/index.js +540 -472
  109. package/locale/zh-CN.js +8 -0
  110. package/package.json +1 -1
  111. package/types/calendar/hook/useCellClassName.d.ts +2 -1
  112. package/types/checkbox/IconCheck.d.ts +2 -1
  113. package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
  114. package/types/date-picker/hook/useCellClassName.d.ts +2 -1
  115. package/types/date-picker/index.d.ts +7 -0
  116. package/types/date-picker/panel/Footer.d.ts +2 -1
  117. package/types/dropdown/index.d.ts +1 -0
  118. package/types/form/IconSymbol.d.ts +2 -1
  119. package/types/form/useForm.d.ts +2 -1
  120. package/types/icon/addFromIconFontCn.d.ts +2 -1
  121. package/types/icon/index.d.ts +2 -0
  122. package/types/image/Image.d.ts +1 -0
  123. package/types/image/index.d.ts +2 -1
  124. package/types/image/util/getFixTranslate.d.ts +2 -1
  125. package/types/image/util/hook/useImageStatus.d.ts +2 -2
  126. package/types/image/util/hook/useShowFooter.d.ts +2 -2
  127. package/types/index.d.ts +25 -25
  128. package/types/input/Input.d.ts +1 -0
  129. package/types/input/index.d.ts +1 -0
  130. package/types/input/useComposition.d.ts +2 -1
  131. package/types/input-number/useSelectionRange.d.ts +2 -1
  132. package/types/layout/index.d.ts +1 -0
  133. package/types/list/index.d.ts +1 -0
  134. package/types/locale/interface.d.ts +1 -0
  135. package/types/locale/zh-CN.d.ts +14 -0
  136. package/types/menu/Indent.d.ts +2 -1
  137. package/types/menu/Menu.d.ts +1 -0
  138. package/types/menu/index.d.ts +1 -0
  139. package/types/message/index.d.ts +2 -0
  140. package/types/notification/index.d.ts +2 -0
  141. package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
  142. package/types/overflow-ellipsis/index.d.ts +2 -2
  143. package/types/radio/Radio.d.ts +2 -0
  144. package/types/radio/index.d.ts +2 -1
  145. package/types/resize-box/ResizeTrigger.d.ts +2 -1
  146. package/types/resize-box/index.d.ts +1 -0
  147. package/types/result/403.d.ts +2 -1
  148. package/types/result/404.d.ts +2 -1
  149. package/types/result/500.d.ts +2 -1
  150. package/types/select/Select.d.ts +1 -1
  151. package/types/select/index.d.ts +1 -0
  152. package/types/skeleton/Image.d.ts +2 -1
  153. package/types/skeleton/Text.d.ts +2 -1
  154. package/types/slider/hook/useLegalValue.d.ts +2 -1
  155. package/types/space/index.d.ts +4 -1
  156. package/types/space/toArray.d.ts +2 -1
  157. package/types/speech-synthesis/index.d.ts +2 -1
  158. package/types/spin/DotLoading.d.ts +2 -1
  159. package/types/statistic/index.d.ts +1 -0
  160. package/types/steps/index.d.ts +1 -0
  161. package/types/table/hook/useComponent.d.ts +2 -1
  162. package/types/table/hook/useExpand.d.ts +2 -1
  163. package/types/table/hook/useRowSelection.d.ts +2 -1
  164. package/types/table/hook/useSorter.d.ts +2 -1
  165. package/types/table/index.d.ts +2 -1
  166. package/types/table/summary/index.d.ts +3 -0
  167. package/types/tabs/Tab.d.ts +1 -0
  168. package/types/tabs/TabContent.d.ts +2 -2
  169. package/types/tabs/hook/useDomSize.d.ts +2 -1
  170. package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
  171. package/types/tabs/index.d.ts +1 -0
  172. package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
  173. package/types/time-picker/TimeColumn.d.ts +2 -2
  174. package/types/time-picker/index.d.ts +5 -0
  175. package/types/timeline/Timeline.d.ts +1 -0
  176. package/types/timeline/index.d.ts +1 -0
  177. package/types/tree-select/Select.d.ts +5 -0
  178. package/types/tree-select/hook/useTreeData.d.ts +2 -1
  179. package/types/tree-select/index.d.ts +2 -1
  180. package/types/typography/Operations.d.ts +2 -1
  181. package/types/typography/index.d.ts +1 -0
  182. package/types/upload/Upload.d.ts +2 -1
  183. package/types/upload/index.d.ts +2 -3
  184. package/types/utils/fillNBSP.d.ts +2 -1
  185. package/types/utils/getHighlightText.d.ts +2 -1
  186. package/types/utils/getHotkeyHandler.d.ts +2 -1
  187. package/types/utils/getStringLength.d.ts +2 -1
  188. package/types/utils/include.d.ts +2 -1
  189. package/types/utils/is.d.ts +2 -0
  190. package/types/utils/mergeProps.d.ts +2 -1
  191. package/types/utils/mergedToString.d.ts +2 -1
  192. package/types/utils/omit.d.ts +2 -1
  193. package/types/utils/pick.d.ts +2 -1
  194. package/types/utils/throttleByRaf.d.ts +2 -1
  195. package/types/utils/throttleByRafV2.d.ts +2 -1
  196. package/types/utils/warning.d.ts +2 -1
  197. package/types/verification-code/VerificationCode.d.ts +2 -1
  198. package/utils/CSSTransition.js +1 -1
  199. package/utils/contextHolder.js +1 -1
  200. package/utils/dayjs.js +50 -49
  201. package/utils/index.js +161 -148
  202. package/utils/is.js +125 -112
package/Upload.js CHANGED
@@ -1,7 +1,8 @@
1
- import { U as o } from "./chunk/-Z968QpN.js";
2
- import { S as s, F as t } from "./chunk/-Z968QpN.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/DGasAUHE.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/mfn4EgmQ.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 "./CV1kLw5Z.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";
@@ -6,7 +6,7 @@ import { jsx as d, jsxs as V } from "react/jsx-runtime";
6
6
  import _ from "@unicom-cloud/icons/context";
7
7
  import Dt from "lodash/isPlainObject";
8
8
  import { useMergeProps as Ct } from "../hooks/useMergeProps.js";
9
- import { _ as yt, P as vt } from "./Bp3XomF8.js";
9
+ import { _ as yt, P as vt } from "./CLBavO5c.js";
10
10
  import O from "lodash/isNumber";
11
11
  import F from "lodash/isUndefined";
12
12
  import Ut from "@unicom-cloud/icons/IconUiCheckCircleFill";
@@ -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 "./CV1kLw5Z.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";
@@ -32,7 +32,7 @@ import { useOverflowHidden as _t } from "../hooks/useOverflowHidden.js";
32
32
  import { findDOMNode as qt } from "../utils/reactDOM.js";
33
33
  import { useUpdateEffect as Kt } from "../hooks/useUpdateEffect.js";
34
34
  import Jt from "../Portal.js";
35
- import { P as Ge } from "./Bp3XomF8.js";
35
+ import { P as Ge } from "./CLBavO5c.js";
36
36
  import { y as Y } from "./BzPkh4Zv.js";
37
37
  import { s as Qt } from "./Cb_oWoGj.js";
38
38
  import en from "@unicom-cloud/icons/IconUiMore";
@@ -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 "./CV1kLw5Z.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 "./CV1kLw5Z.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 "./CazXy0r4.js";
16
- import { S as fe } from "./nbEvdwT0.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 "./CV1kLw5Z.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";
@@ -17,7 +17,7 @@ import { useOverflowHidden as gn } from "../hooks/useOverflowHidden.js";
17
17
  import { render as vn, findDOMNode as xn } from "../utils/reactDOM.js";
18
18
  import { useUpdateEffect as kn } from "../hooks/useUpdateEffect.js";
19
19
  import En from "../Portal.js";
20
- import { P as Te } from "./Bp3XomF8.js";
20
+ import { P as Te } from "./CLBavO5c.js";
21
21
  import { y as Pe } from "./BzPkh4Zv.js";
22
22
  import Mn from "../utils/omit.js";
23
23
  import wn from "@unicom-cloud/icons/IconUiCheckCircleFill";
@@ -10,17 +10,17 @@ 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 "./CV1kLw5Z.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 "./CDJ1EnJ2.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
- import { P as _e } from "./Bp3XomF8.js";
23
+ import { P as _e } from "./CLBavO5c.js";
24
24
  import { V as ie } from "./D3NFxdmG.js";
25
25
  import Le from "../utils/scrollIntoView.js";
26
26
  const G = ye({});
@@ -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 "./CV1kLw5Z.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";
@@ -22,11 +22,11 @@ import et from "../SelectView.js";
22
22
  import tt from "../Trigger.js";
23
23
  import { y as q } from "./BzPkh4Zv.js";
24
24
  import { E as he, a as nt, b as rt, c as _e, A as ie, d as fe, T as lt } from "./C2lIz2F9.js";
25
- import { _ as at, P as st } from "./Bp3XomF8.js";
25
+ 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 "./CDJ1EnJ2.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 "./CV1kLw5Z.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 "./tOFzwzpT.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";
@@ -19,7 +19,7 @@ import { E as ie, a as Ye, b as Je } from "./C2lIz2F9.js";
19
19
  import { getStyle as ge } from "../utils/style.js";
20
20
  import ve from "@unicom-cloud/icons/IconUiDown";
21
21
  import { useStateWithPromise as Xe } from "../hooks/useStateWithPromise.js";
22
- import { P as Ze } from "./Bp3XomF8.js";
22
+ import { P as Ze } from "./CLBavO5c.js";
23
23
  import en from "../utils/pick.js";
24
24
  import nn from "@unicom-cloud/icons/IconUiLeft";
25
25
  import tn from "@unicom-cloud/icons/IconUiRight";
@@ -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 "./CV1kLw5Z.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 "./CV1kLw5Z.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 "./CV1kLw5Z.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 "./CV1kLw5Z.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";
@@ -4,14 +4,14 @@ 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
- 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 "./CV1kLw5Z.js";
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
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 "./BlNFmhNa.js";
14
+ import { T as O, g as xe, a as Le, b as Re } from "./BSBJlVZH.js";
15
15
  import we from "../Trigger.js";
16
16
  import { y as ee } from "./BzPkh4Zv.js";
17
17
  import "../utils/is.js";
@@ -34,7 +34,7 @@ function Fe(t, a) {
34
34
  treeProps: p,
35
35
  prefixCls: l,
36
36
  treeCheckable: V
37
- } = t, C = p && p.renderTitle, m = R(), d = K(
37
+ } = t, C = p && p.renderTitle, m = w(), d = K(
38
38
  (b, { checkedNodes: o, checked: s, node: g }) => {
39
39
  const P = b.map((y) => {
40
40
  const T = o.find((I) => I && I.props._key === y);
@@ -76,7 +76,7 @@ function Fe(t, a) {
76
76
  var I, N;
77
77
  const { checked: g, checkable: P, disabled: y, disableCheckbox: T } = o.props;
78
78
  m.current && !T && !y && P !== !1 && ((N = (I = m.current) == null ? void 0 : I.handleCheck) == null || N.call(I, !g, o.props._key, s));
79
- }, []), O = K(
79
+ }, []), x = K(
80
80
  (b) => {
81
81
  if (W(h)) {
82
82
  const o = b.props.dataRef;
@@ -114,7 +114,7 @@ function Fe(t, a) {
114
114
  [t.treeCheckable, D, _]
115
115
  );
116
116
  return de(a, () => m.current, []), /* @__PURE__ */ E(
117
- w,
117
+ O,
118
118
  {
119
119
  ref: m,
120
120
  size: t.size,
@@ -123,7 +123,7 @@ function Fe(t, a) {
123
123
  ...p,
124
124
  checkable: V,
125
125
  multiple: f,
126
- loadMore: t.loadMore ? O : void 0,
126
+ loadMore: t.loadMore ? x : void 0,
127
127
  checkedStrategy: i,
128
128
  checkStrictly: e,
129
129
  onMouseDown: (b) => {
@@ -184,7 +184,7 @@ const We = ue(Fe), me = {
184
184
  const { getPrefixCls: n } = fe(he), f = {
185
185
  ...me,
186
186
  ...a
187
- }, h = He(), i = n("tree"), e = R(
187
+ }, h = He(), i = n("tree"), e = w(
188
188
  ae(t, i, f)
189
189
  );
190
190
  return re(() => {
@@ -210,11 +210,11 @@ const We = ue(Fe), me = {
210
210
  if (!f.treeCheckStrictly) {
211
211
  const { checkedKeys: h, indeterminateKeys: i } = xe(t, a);
212
212
  let e = h;
213
- return n.current = i, f.treeCheckedStrategy === w.SHOW_PARENT ? e = e.filter((u) => {
213
+ return n.current = i, f.treeCheckedStrategy === O.SHOW_PARENT ? e = e.filter((u) => {
214
214
  const p = a[u];
215
215
  if (!p || e.indexOf(p.parentKey) === -1)
216
216
  return !0;
217
- }) : f.treeCheckedStrategy === w.SHOW_CHILD && (e = e.filter((u) => {
217
+ }) : f.treeCheckedStrategy === O.SHOW_CHILD && (e = e.filter((u) => {
218
218
  const p = a[u];
219
219
  if (!p || !p.children || !p.children.length)
220
220
  return !0;
@@ -222,7 +222,7 @@ const We = ue(Fe), me = {
222
222
  }
223
223
  return n.current = [], t;
224
224
  }, $e = (t, a, n) => {
225
- const f = R([]), h = () => {
225
+ const f = w([]), h = () => {
226
226
  const l = t.value || t.defaultValue || [];
227
227
  if (t.treeCheckable) {
228
228
  const V = Me(
@@ -283,14 +283,14 @@ function Ue(t) {
283
283
  }
284
284
  const je = {
285
285
  bordered: !0,
286
- treeCheckedStrategy: w.SHOW_CHILD,
286
+ treeCheckedStrategy: O.SHOW_CHILD,
287
287
  fieldNames: me
288
288
  }, ze = { bottom: 4 }, Be = (t, a) => {
289
289
  const { getPrefixCls: n, renderEmpty: f, componentConfig: h, rtl: i } = fe(he), e = Te(
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 = w(), l = w(null), V = w(null), C = w([]), [m] = Ue(e), d = Ae(m, e.fieldNames), [_, D] = te(), [x, G] = oe(!1, {
294
294
  value: e.popupVisible
295
295
  }), [S, J] = oe(
296
296
  void 0,
@@ -298,13 +298,13 @@ const je = {
298
298
  {
299
299
  value: "inputValue" in e ? e.inputValue || "" : void 0
300
300
  }
301
- ), F = R(S), b = R(null), { onInputValueChange: o } = e, [s, g] = $e(
301
+ ), F = w(S), b = w(null), { onInputValueChange: o } = e, [s, g] = $e(
302
302
  e,
303
303
  d,
304
304
  C
305
305
  ), P = e.multiple || e.treeCheckable, y = n("tree-select"), T = S && !W(e.onSearch), I = Ie(`${y}-popup-`), N = (r) => {
306
306
  var c;
307
- r !== O && (G(r), (c = e.onVisibleChange) == null || c.call(e, r));
307
+ r !== x && (G(r), (c = e.onVisibleChange) == null || c.call(e, r));
308
308
  }, Q = (r, c) => {
309
309
  (r !== F.current || c !== b.current) && (J(r), F.current = r, b.current = c, o == null || o(r, c));
310
310
  }, be = K(
@@ -315,16 +315,16 @@ const je = {
315
315
  }
316
316
  if (!k) return m;
317
317
  const v = /* @__PURE__ */ new Set();
318
- Object.keys(d).forEach((x) => {
319
- const L = d[x];
318
+ Object.keys(d).forEach((L) => {
319
+ const R = d[L];
320
320
  let $ = !1;
321
321
  if (W(e.filterTreeNode))
322
- e.filterTreeNode(k, /* @__PURE__ */ E(w.Node, { ...L })) && ($ = !0);
322
+ e.filterTreeNode(k, /* @__PURE__ */ E(O.Node, { ...R })) && ($ = !0);
323
323
  else {
324
- const U = L.value || L._key;
324
+ const U = R.value || R._key;
325
325
  U && U.indexOf(k) > -1 && ($ = !0);
326
326
  }
327
- $ && v.add(L.key);
327
+ $ && v.add(R.key);
328
328
  }), D(v);
329
329
  }, 100)(r),
330
330
  [e.onSearch, m, d, e.filterTreeNode]
@@ -335,28 +335,28 @@ const je = {
335
335
  (r, c) => {
336
336
  g(r, c), ne(), P || N(!1);
337
337
  },
338
- [g, ne, O]
338
+ [g, ne, x]
339
339
  ), ge = (r, c, k) => {
340
340
  if (k.stopPropagation(), r.disabled)
341
341
  return;
342
342
  const v = q(r.value) ? r.value.value : r.value;
343
343
  if (!e.treeCheckable || e.treeCheckStrictly || !d[v]) {
344
- const L = s.filter(($, U) => U !== c);
345
- M(L, {
344
+ const R = s.filter(($, U) => U !== c);
345
+ M(R, {
346
346
  trigger: d[v] || r,
347
347
  checked: !1,
348
348
  selected: !1
349
349
  });
350
350
  return;
351
351
  }
352
- const x = Re(
352
+ const L = Re(
353
353
  v,
354
354
  !1,
355
355
  j(s),
356
356
  d,
357
357
  C.current
358
358
  );
359
- C.current = x.indeterminateKeys, M(z(x.checkedKeys, d, s), {
359
+ C.current = L.indeterminateKeys, M(z(L.checkedKeys, d, s), {
360
360
  trigger: d[v],
361
361
  checked: !1,
362
362
  selected: !1
@@ -373,16 +373,16 @@ const je = {
373
373
  if (S)
374
374
  for (const c in d) {
375
375
  const v = [...d[c].pathParentKeys, c];
376
- v.some((x) => _ && _.has(x)) && (r = r.concat(v));
376
+ v.some((L) => _ && _.has(L)) && (r = r.concat(v));
377
377
  }
378
378
  return Array.from(new Set(r));
379
379
  }, [S, d, _]);
380
380
  ie(() => {
381
- O ? setTimeout(() => {
381
+ x ? setTimeout(() => {
382
382
  const r = s[0];
383
383
  l.current && r && l.current.scrollIntoView(r.value);
384
384
  }) : u || S && Q("", "optionListHide");
385
- }, [O]), de(a, () => ({
385
+ }, [x]), de(a, () => ({
386
386
  focus() {
387
387
  V.current && V.current.focus();
388
388
  },
@@ -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, L, R;
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 || (R = (L = e.treeProps) == null ? void 0 : L.virtualListProps) != null && R.height ? "unset" : "",
454
454
  ...e.dropdownMenuStyle
455
455
  },
456
456
  children: W(c) ? c(k) : k
@@ -461,7 +461,7 @@ const je = {
461
461
  onVisibleChange: (c) => {
462
462
  N(c);
463
463
  },
464
- popupVisible: O,
464
+ popupVisible: x,
465
465
  children: r
466
466
  }
467
467
  ), ce = typeof e.triggerElement == "function" ? (() => {
@@ -478,7 +478,7 @@ const je = {
478
478
  rtl: i,
479
479
  ariaControls: I,
480
480
  ...e,
481
- popupVisible: O,
481
+ popupVisible: x,
482
482
  value: !P && B(s) ? s[0] : s,
483
483
  inputValue: S,
484
484
  isEmptyValue: X(s),
@@ -489,7 +489,7 @@ const je = {
489
489
  onRemoveCheckedItem: ge,
490
490
  onClear: (r) => {
491
491
  var c;
492
- r.stopPropagation(), M([], {}), (c = e.onClear) == null || c.call(e, !!O);
492
+ r.stopPropagation(), M([], {}), (c = e.onClear) == null || c.call(e, !!x);
493
493
  },
494
494
  onKeyDown: (r) => {
495
495
  var c;
@@ -506,10 +506,12 @@ const je = {
506
506
  ) : le(ce);
507
507
  }, qe = ue(Be), A = qe;
508
508
  A.displayName = "TreeSelect";
509
- A.Node = w.Node;
510
- A.SHOW_ALL = w.SHOW_ALL;
511
- A.SHOW_PARENT = w.SHOW_PARENT;
512
- A.SHOW_CHILD = w.SHOW_CHILD;
509
+ A.Node = O.Node;
510
+ A.SHOW_ALL = O.SHOW_ALL;
511
+ A.SHOW_PARENT = O.SHOW_PARENT;
512
+ A.SHOW_CHILD = O.SHOW_CHILD;
513
+ const kt = O.Node;
513
514
  export {
514
- A as T
515
+ A as T,
516
+ kt as a
515
517
  };