@unicom-cloud/ui 0.8.61 → 0.8.62

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 (179) 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 +165 -162
  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 +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 +1 -1
  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/{V6euPXVB.js → -Z968QpN.js} +257 -251
  81. package/chunk/{IooeSKJJ.js → AqH9yP_J.js} +19 -19
  82. package/chunk/{cZiP8FvM.js → B0oDiPqE.js} +1 -1
  83. package/chunk/{B16KHtX-.js → B4-WpgY2.js} +191 -185
  84. package/chunk/{CuOl4X0X.js → B8SZFOjt.js} +1 -1
  85. package/chunk/{CbiWdbr_.js → BXWxA-tS.js} +35 -34
  86. package/chunk/{DpfUGhi4.js → BlNFmhNa.js} +288 -283
  87. package/chunk/{C1xMmQIZ.js → BmO1y0vr.js} +34 -34
  88. package/chunk/{Kbr6FzOG.js → BnqeQYIZ.js} +210 -186
  89. package/chunk/{BPZ-6HKJ.js → Bp3XomF8.js} +1 -2
  90. package/chunk/BsWphzcT.js +20 -0
  91. package/chunk/{RMBPs_Ry.js → C4eJ9vCf.js} +4 -3
  92. package/chunk/{BNHrEI0Y.js → C6fEFlPt.js} +52 -48
  93. package/chunk/C8o-VGyc.js +376 -0
  94. package/chunk/{eK7lxdak.js → CDJ1EnJ2.js} +8 -8
  95. package/chunk/{C5AQWbC4.js → CHyuuVxl.js} +1 -1
  96. package/chunk/{B2vORJQ8.js → CJnshq6A.js} +13 -13
  97. package/chunk/CT1lZ7ss.js +116 -0
  98. package/chunk/{Bdh4XVuf.js → CV1kLw5Z.js} +290 -281
  99. package/chunk/{DmUhn9ib.js → CazXy0r4.js} +54 -53
  100. package/chunk/{BBVjSFnw.js → Cqyp4qni.js} +23 -19
  101. package/chunk/{BJ_7JTqC.js → D3VMG9V1.js} +1 -1
  102. package/chunk/{D2HkyI6A.js → DGasAUHE.js} +2 -2
  103. package/chunk/{YIlBPVAs.js → DRQ1v6Ux.js} +1 -1
  104. package/chunk/{DhBo0pPJ.js → DRp7voqz.js} +119 -118
  105. package/chunk/{gIbzjQ-X.js → Dtm4BmKB.js} +2 -2
  106. package/chunk/{BEDYCG-I.js → KchYsivk.js} +18 -18
  107. package/chunk/{Cbd50gx8.js → Wum88vrW.js} +33 -33
  108. package/chunk/{BjSHZA0m.js → mfn4EgmQ.js} +1 -1
  109. package/chunk/{BYhtrDV3.js → nbEvdwT0.js} +152 -148
  110. package/chunk/{C1D7T29r.js → qpd2axxs.js} +83 -76
  111. package/chunk/{BVLwPZis.js → tOFzwzpT.js} +31 -30
  112. package/chunk/{DSGRHf-1.js → yESVS-qX.js} +157 -156
  113. package/hooks/useMergeValue.js +1 -1
  114. package/icons.js +4 -6001
  115. package/index.js +420 -392
  116. package/locale/en-US.js +1 -1
  117. package/locale/tr-TR.js +1 -1
  118. package/package.json +1 -1
  119. package/style.css +1 -1
  120. package/types/cascader/panel/Search.d.ts +1 -1
  121. package/types/config-provider/interface.d.ts +1 -1
  122. package/types/form/interface.d.ts +1 -1
  123. package/types/index.d.ts +1 -1
  124. package/types/message/index.d.ts +2 -2
  125. package/types/notification/index.d.ts +2 -2
  126. package/types/notification-base/index.d.ts +2 -2
  127. package/types/select/interface.d.ts +1 -0
  128. package/types/select-view/interface.d.ts +1 -0
  129. package/types/tree/Context.d.ts +1 -0
  130. package/types/tree/Tree.d.ts +1 -1
  131. package/types/tree/index.d.ts +5 -4
  132. package/types/tree/interface.d.ts +1 -0
  133. package/types/utils/index.d.ts +1 -0
  134. package/types/utils/lodash.d.ts +14 -1
  135. package/types/version/index.d.ts +1 -1
  136. package/utils/CSSTransition.js +1 -1
  137. package/utils/caseName.js +2 -18
  138. package/utils/contextHolder.js +1 -1
  139. package/utils/index.js +220 -191
  140. package/utils/is.js +68 -67
  141. package/utils/lodash.js +32 -6
  142. package/utils/reactDOM.js +1 -1
  143. package/chunk/-LZOUh53.js +0 -29
  144. package/chunk/-jdfq71f.js +0 -23
  145. package/chunk/B0GOLsj_.js +0 -58
  146. package/chunk/B7Zsp3gO.js +0 -29
  147. package/chunk/BDjXkzNj.js +0 -23
  148. package/chunk/BHn4xgbv.js +0 -209
  149. package/chunk/BLSiP_gg.js +0 -32
  150. package/chunk/BMJfSSLX.js +0 -23
  151. package/chunk/B_nfMl0e.js +0 -116
  152. package/chunk/BcS17Pzy.js +0 -66
  153. package/chunk/BdiEwtQO.js +0 -41
  154. package/chunk/Bpug_KxP.js +0 -34
  155. package/chunk/C1u_ckwU.js +0 -29
  156. package/chunk/C43Hv2Bl.js +0 -34
  157. package/chunk/C9vsih_D.js +0 -29
  158. package/chunk/CAfR2wLq.js +0 -41
  159. package/chunk/CAfecMDF.js +0 -46
  160. package/chunk/CKp4rZnD.js +0 -207
  161. package/chunk/CV2Aqv9q.js +0 -52
  162. package/chunk/CYdarMv9.js +0 -32
  163. package/chunk/C_S5Mdvd.js +0 -379
  164. package/chunk/CmB-TL7C.js +0 -46
  165. package/chunk/D-ER56Sf.js +0 -29
  166. package/chunk/D-aYnb6u.js +0 -41
  167. package/chunk/D3xQFJcO.js +0 -23
  168. package/chunk/DJcEys80.js +0 -29
  169. package/chunk/DLIm6rRJ.js +0 -29
  170. package/chunk/DOWEHtqM.js +0 -41
  171. package/chunk/DT37l12z.js +0 -40
  172. package/chunk/DW-B7npC.js +0 -23
  173. package/chunk/D_MTFBb0.js +0 -38
  174. package/chunk/Dx_5J4fO.js +0 -29
  175. package/chunk/Dy487FZ1.js +0 -118
  176. package/chunk/Uz-rNulO.js +0 -98
  177. package/chunk/cDZI_t6o.js +0 -52
  178. package/chunk/sScV-J56.js +0 -206
  179. package/chunk/wI2I1qb0.js +0 -23
@@ -6,25 +6,26 @@ import Z from "lodash/isPlainObject";
6
6
  import et from "lodash/isString";
7
7
  import tt from "lodash/isUndefined";
8
8
  import ce, { useContext as de, useRef as ee, useState as le, useMemo as he, useImperativeHandle as Ae, useCallback as nt, useEffect as we } from "react";
9
- import { d as fe, I as rt } from "./Bdh4XVuf.js";
9
+ import { d as fe, I as rt } from "./CV1kLw5Z.js";
10
10
  import { useMergeProps as Le } from "../hooks/useMergeProps.js";
11
11
  import { useMergeValue as ye } from "../hooks/useMergeValue.js";
12
12
  import { y as F } from "./BzPkh4Zv.js";
13
13
  import { contains as Te } from "../utils/dom.js";
14
- import { u as it, I as st } from "./gIbzjQ-X.js";
15
- import { I as ot } from "./BDjXkzNj.js";
16
- import { I as at } from "./BMJfSSLX.js";
17
- import { I as lt } from "./DW-B7npC.js";
18
- import { I as ut } from "./D3xQFJcO.js";
14
+ import { u as it, I as st } from "./Dtm4BmKB.js";
15
+ import ot from "@unicom-cloud/icons/IconUiDown";
16
+ import at from "@unicom-cloud/icons/IconUiMinus";
17
+ import lt from "@unicom-cloud/icons/IconUiPlus";
18
+ import ut from "@unicom-cloud/icons/IconUiUp";
19
19
  import oe from "lodash/isNumber";
20
- import { I as ct } from "./Bpug_KxP.js";
21
- import { I as dt } from "./D_MTFBb0.js";
20
+ import ct from "@unicom-cloud/icons/IconUiEye";
21
+ import dt from "@unicom-cloud/icons/IconUiEyeInvisible";
22
22
  import { useKeyboardEvent as ft } from "../hooks/useKeyboardEvent.js";
23
- import Ie from "../utils/omit.js";
24
- import { e as mt, I as gt } from "./BHn4xgbv.js";
25
- import { I as De } from "./Dx_5J4fO.js";
26
- import ht from "../Button.js";
27
- import { I as pt } from "./C_S5Mdvd.js";
23
+ import $e from "../utils/omit.js";
24
+ import mt from "@unicom-cloud/icons/IconUiLoading";
25
+ import De from "@unicom-cloud/icons/IconUiSearch";
26
+ import gt from "../Button.js";
27
+ import { I as ht } from "./C8o-VGyc.js";
28
+ import pt from "@unicom-cloud/icons/IconUiClose";
28
29
  import { useIsomorphicLayoutEffect as ze } from "../hooks/useIsomorphicLayoutEffect.js";
29
30
  import "../utils/is.js";
30
31
  import { A as Nt, c as xt } from "./C2lIz2F9.js";
@@ -261,7 +262,7 @@ const vt = 200, bt = 1e3, yt = {
261
262
  mode: "embed",
262
263
  parser: (e) => (e == null ? void 0 : e.replace(/[^\w.-]+/g, "")) || ""
263
264
  };
264
- function It(e, t) {
265
+ function $t(e, t) {
265
266
  var Pe;
266
267
  const {
267
268
  getPrefixCls: r,
@@ -277,7 +278,7 @@ function It(e, t) {
277
278
  style: l,
278
279
  defaultValue: h,
279
280
  disabled: g,
280
- error: $,
281
+ error: I,
281
282
  readOnly: v,
282
283
  strictMode: E,
283
284
  placeholder: P,
@@ -289,7 +290,7 @@ function It(e, t) {
289
290
  size: p,
290
291
  step: b,
291
292
  precision: H,
292
- min: I,
293
+ min: $,
293
294
  max: U,
294
295
  parser: j,
295
296
  formatter: O,
@@ -306,7 +307,7 @@ function It(e, t) {
306
307
  return null;
307
308
  })(), [q, X] = le(() => re(
308
309
  "value" in n ? n.value : "defaultValue" in n ? h : void 0
309
- )), [D, te] = le(""), [ae, Y] = le(!1), [J, _] = le(!1), f = ee(null), c = ee(null), w = ee(!1), d = he(() => "value" in n ? re(n.value) : q, [n.value, q]), [G, ne] = he(() => [re(U), re(I)], [U, I]);
310
+ )), [D, te] = le(""), [ae, Y] = le(!1), [J, _] = le(!1), f = ee(null), c = ee(null), w = ee(!1), d = he(() => "value" in n ? re(n.value) : q, [n.value, q]), [G, ne] = he(() => [re(U), re($)], [U, $]);
310
311
  Ae(t, () => c.current, []);
311
312
  const xe = (o, S) => {
312
313
  if (X(o), !o.equals(d) && W) {
@@ -334,10 +335,10 @@ function It(e, t) {
334
335
  const o = d.less(ne) || G.less(d);
335
336
  o && w.current && xe(ge(d), "outOfRange"), Y(o);
336
337
  }, [ne, G, d, ge]);
337
- const $e = (o, S, A = !1) => {
338
+ const Ie = (o, S, A = !1) => {
338
339
  if (o.persist(), o.preventDefault(), _(!1), g || v)
339
340
  return;
340
- const qe = d.isInvalid ? re(I === -1 / 0 || I <= 0 && U >= 0 ? 0 : I) : d.add(S === "plus" ? b : -b);
341
+ const qe = d.isInvalid ? re($ === -1 / 0 || $ <= 0 && U >= 0 ? 0 : $) : d.add(S === "plus" ? b : -b);
341
342
  if (xe(
342
343
  ge(qe),
343
344
  S === "plus" ? "increase" : "decrease"
@@ -362,7 +363,7 @@ function It(e, t) {
362
363
  },
363
364
  onKeyDown: (o) => {
364
365
  const S = o.key;
365
- S === Nt.key ? (o.stopPropagation(), $e(o, "minus")) : S === xt.key && (o.stopPropagation(), $e(o, "plus")), Se(), B == null || B(o);
366
+ S === Nt.key ? (o.stopPropagation(), Ie(o, "minus")) : S === xt.key && (o.stopPropagation(), Ie(o, "plus")), Se(), B == null || B(o);
366
367
  },
367
368
  onFocus: (o) => {
368
369
  var S, A;
@@ -372,7 +373,7 @@ function It(e, t) {
372
373
  xe(ge(d), "outOfRange"), _(!1), M == null || M(o);
373
374
  }
374
375
  }, Ke = (o) => v ? {} : {
375
- onMouseDown: (S) => $e(S, o, !0)
376
+ onMouseDown: (S) => Ie(S, o, !0)
376
377
  }, Me = !R && y === "button", Xe = !R && !v && y === "embed", ve = (o, S) => {
377
378
  const A = !g && (d.isInvalid || (o === "plus" ? G.isInvalid || d.less(G) : ne.isInvalid || ne.less(d)));
378
379
  return /* @__PURE__ */ N(
@@ -394,9 +395,9 @@ function It(e, t) {
394
395
  _ignorePropsFromGlobal: !0,
395
396
  role: "spinbutton",
396
397
  "aria-valuemax": U,
397
- "aria-valuemin": I,
398
+ "aria-valuemin": $,
398
399
  "aria-valuenow": d.isEmpty ? void 0 : d.toNumber(),
399
- ...Ie(me, ["allowClear"]),
400
+ ...$e(me, ["allowClear"]),
400
401
  ...je,
401
402
  style: l,
402
403
  className: F(
@@ -412,7 +413,7 @@ function It(e, t) {
412
413
  ),
413
414
  ref: c,
414
415
  size: a,
415
- error: $,
416
+ error: I,
416
417
  disabled: g,
417
418
  readOnly: v,
418
419
  value: Ve,
@@ -443,7 +444,7 @@ function It(e, t) {
443
444
  );
444
445
  }
445
446
  const Oe = ce.forwardRef(
446
- It
447
+ $t
447
448
  );
448
449
  Oe.displayName = "InputNumber";
449
450
  const We = ce.forwardRef(
@@ -456,7 +457,7 @@ const We = ce.forwardRef(
456
457
  visibilityToggle: m = !0,
457
458
  onVisibilityChange: l,
458
459
  ...h
459
- } = e, g = s("input-password"), $ = F(
460
+ } = e, g = s("input-password"), I = F(
460
461
  g,
461
462
  {
462
463
  [`${g}-visibility`]: m
@@ -493,9 +494,9 @@ const We = ce.forwardRef(
493
494
  return /* @__PURE__ */ N(
494
495
  k,
495
496
  {
496
- ...Ie(h, ["visibility", "defaultVisibility"]),
497
+ ...$e(h, ["visibility", "defaultVisibility"]),
497
498
  type: r ? "text" : "password",
498
- className: $,
499
+ className: I,
499
500
  ref: t,
500
501
  suffix: E
501
502
  }
@@ -514,7 +515,7 @@ const Be = ce.forwardRef(
514
515
  loading: l,
515
516
  defaultValue: h,
516
517
  addAfter: g,
517
- suffix: $,
518
+ suffix: I,
518
519
  ...v
519
520
  } = e, E = Z(e.maxLength) ? e.maxLength.length : e.maxLength, P = Z(e.maxLength) && e.maxLength.errorOnly ? void 0 : E, [R, V] = ye("", {
520
521
  defaultValue: "defaultValue" in e ? ue(e.defaultValue, P) : void 0,
@@ -532,14 +533,14 @@ const Be = ce.forwardRef(
532
533
  return /* @__PURE__ */ N(
533
534
  k,
534
535
  {
535
- ...Ie(v, ["onSearch"]),
536
+ ...$e(v, ["onSearch"]),
536
537
  disabled: n,
537
538
  className: x,
538
539
  style: s,
539
540
  ref: t,
540
541
  placeholder: u,
541
542
  addAfter: g !== void 0 ? g : m ? /* @__PURE__ */ N(
542
- ht,
543
+ gt,
543
544
  {
544
545
  disabled: n,
545
546
  size: v.size,
@@ -553,7 +554,7 @@ const Be = ce.forwardRef(
553
554
  children: m !== !0 && m
554
555
  }
555
556
  ) : null,
556
- suffix: $ !== void 0 ? $ : !m && (l ? /* @__PURE__ */ N(mt, {}) : /* @__PURE__ */ N(De, { onClick: y })),
557
+ suffix: I !== void 0 ? I : !m && (l ? /* @__PURE__ */ N(mt, {}) : /* @__PURE__ */ N(De, { onClick: y })),
557
558
  onChange: (p, b) => {
558
559
  var H;
559
560
  V(p), (H = e.onChange) == null || H.call(e, p, b);
@@ -568,7 +569,7 @@ const Be = ce.forwardRef(
568
569
  }
569
570
  );
570
571
  Be.displayName = "Search";
571
- const $t = [
572
+ const It = [
572
573
  "position: absolute",
573
574
  "min-height: 0 !important",
574
575
  "max-height: none",
@@ -599,7 +600,7 @@ let Q;
599
600
  function Et(e) {
600
601
  Q || (Q = document.createElement("textarea"), document.body.appendChild(Q));
601
602
  const t = window.getComputedStyle(e), r = wt.map((n) => `${n}:${t.getPropertyValue(n)}`).join(";");
602
- Q.setAttribute("style", $t + r);
603
+ Q.setAttribute("style", It + r);
603
604
  const i = parseFloat(t.getPropertyValue("padding-top")) + parseFloat(t.getPropertyValue("padding-bottom")), s = t.getPropertyValue("box-sizing"), u = parseFloat(t.getPropertyValue("border-top-width")) + parseFloat(t.getPropertyValue("border-bottom-width"));
604
605
  return {
605
606
  paddingSize: i,
@@ -618,14 +619,14 @@ function Ct(e, t) {
618
619
  if (e) {
619
620
  const { minRows: i, maxRows: s } = r(), u = t, { paddingSize: n, boxSizing: m, borderSize: l } = Et(u);
620
621
  Q.value = u.value || u.placeholder || "";
621
- let h = Q.scrollHeight + l, g, $, v;
622
+ let h = Q.scrollHeight + l, g, I, v;
622
623
  if (i || s) {
623
624
  Q.value = "";
624
625
  const P = Q.scrollHeight - n;
625
- oe(i) && (g = P * i, m === "border-box" && (g += n, g += l), h = Math.max(h, g)), oe(s) && ($ = P * s, m === "border-box" && ($ += n, $ += l), v = h > $ ? "auto" : "", $ = Math.min(h, $));
626
+ oe(i) && (g = P * i, m === "border-box" && (g += n, g += l), h = Math.max(h, g)), oe(s) && (I = P * s, m === "border-box" && (I += n, I += l), v = h > I ? "auto" : "", I = Math.min(h, I));
626
627
  }
627
628
  const E = {};
628
- return E.height = h, g && (E.minHeight = g), $ && (E.maxHeight = $), v && (E.overflowY = v), E;
629
+ return E.height = h, g && (E.minHeight = g), I && (E.maxHeight = I), v && (E.overflowY = v), E;
629
630
  }
630
631
  }
631
632
  const At = (e, t) => {
@@ -639,14 +640,14 @@ const At = (e, t) => {
639
640
  maxLength: l,
640
641
  showWordLimit: h,
641
642
  allowClear: g,
642
- onChange: $,
643
+ onChange: I,
643
644
  onClear: v,
644
645
  onKeyDown: E,
645
646
  onPressEnter: P,
646
647
  status: R,
647
648
  clearIcon: V,
648
649
  ...T
649
- } = e, x = Z(l) ? l.length : l, y = Z(l) ? l.errorOnly ? void 0 : l.length : l, p = ee(), [b, H] = le({}), [I, U] = ye("", {
650
+ } = e, x = Z(l) ? l.length : l, y = Z(l) ? l.errorOnly ? void 0 : l.length : l, p = ee(), [b, H] = le({}), [$, U] = ye("", {
650
651
  defaultValue: "defaultValue" in e ? ue(e.defaultValue, y) : void 0,
651
652
  value: "value" in e ? ue(e.value, y) : void 0
652
653
  }), {
@@ -656,15 +657,15 @@ const At = (e, t) => {
656
657
  keyDownHandler: K,
657
658
  triggerValueChangeCallback: W
658
659
  } = it({
659
- value: I,
660
+ value: $,
660
661
  maxLength: y,
661
- onChange: $,
662
+ onChange: I,
662
663
  onKeyDown: E,
663
664
  onPressEnter: P,
664
665
  beforeTriggerValueChangeCallback: (f) => {
665
666
  !("value" in e) && (y === void 0 || f.length <= y) && U(f);
666
667
  }
667
- }), B = j || I || "", { getPrefixCls: me, rtl: C } = de(fe), a = me("textarea");
668
+ }), B = j || $ || "", { getPrefixCls: me, rtl: C } = de(fe), a = me("textarea");
668
669
  n && (b.resize = "none");
669
670
  const L = () => {
670
671
  if (p.current && p.current.focus) {
@@ -700,7 +701,7 @@ const At = (e, t) => {
700
701
  }),
701
702
  []
702
703
  );
703
- const D = I ? I.length : 0, te = x && h || g, ae = he(() => !y && x ? D > x : !1, [D, x, y]), Y = R || (m || ae ? "error" : void 0), J = F(
704
+ const D = $ ? $.length : 0, te = x && h || g, ae = he(() => !y && x ? D > x : !1, [D, x, y]), Y = R || (m || ae ? "error" : void 0), J = F(
704
705
  a,
705
706
  {
706
707
  [`${a}-${Y}`]: Y,
@@ -712,7 +713,7 @@ const At = (e, t) => {
712
713
  ), _ = /* @__PURE__ */ N(
713
714
  "textarea",
714
715
  {
715
- ...Ie(T, ["autoSize", "defaultValue"]),
716
+ ...$e(T, ["autoSize", "defaultValue"]),
716
717
  maxLength: y,
717
718
  ref: p,
718
719
  style: { ...i, ...b },
@@ -728,7 +729,7 @@ const At = (e, t) => {
728
729
  }
729
730
  );
730
731
  if (te) {
731
- const f = !n && g && I, [c, w] = C ? [x, D] : [D, x];
732
+ const f = !n && g && $, [c, w] = C ? [x, D] : [D, x];
732
733
  return /* @__PURE__ */ se(
733
734
  "div",
734
735
  {
@@ -750,7 +751,7 @@ const At = (e, t) => {
750
751
  children: V
751
752
  }
752
753
  ) : /* @__PURE__ */ N(rt, { className: `${a}-clear-icon`, children: /* @__PURE__ */ N(
753
- gt,
754
+ pt,
754
755
  {
755
756
  onClick: X,
756
757
  onMouseDown: (d) => {
@@ -800,7 +801,7 @@ function Vt(e, t) {
800
801
  style: l,
801
802
  addBefore: h,
802
803
  addAfter: g,
803
- suffix: $,
804
+ suffix: I,
804
805
  prefix: v,
805
806
  beforeStyle: E,
806
807
  afterStyle: P,
@@ -819,7 +820,7 @@ function Vt(e, t) {
819
820
  maxWidth: b == null ? void 0 : b.maxWidth,
820
821
  width: b && "auto",
821
822
  ...l
822
- }, I = Z(T) ? T.length : T, U = Z(T) && T.errorOnly ? void 0 : I, [j, O] = le(!1), M = ee(), K = ee(), W = ee(), [B, me] = ye("", {
823
+ }, $ = Z(T) ? T.length : T, U = Z(T) && T.errorOnly ? void 0 : $, [j, O] = le(!1), M = ee(), K = ee(), W = ee(), [B, me] = ye("", {
823
824
  defaultValue: "defaultValue" in n ? ue(n.defaultValue, U) : void 0,
824
825
  value: "value" in n ? ue(n.value, U) : void 0
825
826
  });
@@ -844,10 +845,10 @@ function Vt(e, t) {
844
845
  var d;
845
846
  "value" in n || me(c), (d = n.onChange) == null || d.call(n, c, w);
846
847
  }, a = r("input"), L = n.size || i, q = "height" in n;
847
- let X = $;
848
- const D = B ? B.length : 0, te = he(() => !U && I ? D > I : !1, [D, I, U]);
849
- if (I && x) {
850
- const [c, w] = u ? [I, D] : [D, I];
848
+ let X = I;
849
+ const D = B ? B.length : 0, te = he(() => !U && $ ? D > $ : !1, [D, $, U]);
850
+ if ($ && x) {
851
+ const [c, w] = u ? [$, D] : [D, $];
851
852
  X = /* @__PURE__ */ se(
852
853
  "span",
853
854
  {
@@ -953,7 +954,7 @@ k.Search = Be;
953
954
  k.TextArea = _e;
954
955
  k.Password = We;
955
956
  k.Number = k.InputNumber = Oe;
956
- k.Tag = k.InputTag = pt;
957
+ k.Tag = k.InputTag = ht;
957
958
  k.Group = Fe;
958
959
  export {
959
960
  k as I,
@@ -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,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 "./Bdh4XVuf.js";
3
+ import { d as S } from "./CV1kLw5Z.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";
@@ -1,8 +1,8 @@
1
1
  import { jsx as b, jsxs as w } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useContext as R, useRef as F, Fragment as j, createElement as z } from "react";
3
- import { d as D } from "./Bdh4XVuf.js";
3
+ import { d as D } from "./CV1kLw5Z.js";
4
4
  import { useMergeProps as E } from "../hooks/useMergeProps.js";
5
- import { I as K } from "./gIbzjQ-X.js";
5
+ import { I as K } from "./Dtm4BmKB.js";
6
6
  import { y as u } from "./BzPkh4Zv.js";
7
7
  import { useVerificationCode as L } from "../hooks/use-verification-code.js";
8
8
  const M = {
@@ -1,7 +1,7 @@
1
1
  import { jsx as $, jsxs as Q, Fragment as Te } from "react/jsx-runtime";
2
2
  import { useRef as j, useEffect as X, useCallback as V, createContext as Ce, useContext as ie } from "react";
3
3
  import se from "../Button.js";
4
- import { d as He } from "./Bdh4XVuf.js";
4
+ import { d as He } from "./CV1kLw5Z.js";
5
5
  import { y as ee } from "./BzPkh4Zv.js";
6
6
  import { dayjs as g, methods as Y, getDayjsValue as Oe, getNow as re, toLocal as ce } from "../utils/dayjs.js";
7
7
  import { padStart as C } from "../utils/pad.js";