@unicom-cloud/ui 0.8.57 → 0.8.59

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 (260) hide show
  1. package/Affix.js +15 -15
  2. package/Alert.js +5 -5
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +28 -28
  5. package/Avatar.js +11 -11
  6. package/BackTop.js +28 -28
  7. package/Badge.js +10 -10
  8. package/Breadcrumb.js +6 -6
  9. package/Button.js +11 -10
  10. package/Calendar.js +8 -8
  11. package/Card.js +3 -3
  12. package/Carousel.js +7 -7
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +582 -11
  17. package/Comment.js +7 -7
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +6 -6
  20. package/DatePicker.js +14 -12
  21. package/Descriptions.js +3 -3
  22. package/Divider.js +3 -3
  23. package/Draggable.js +12 -12
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +5 -5
  26. package/Empty.js +3 -3
  27. package/Form.js +1410 -10
  28. package/Grid.js +14 -14
  29. package/Icon.js +2 -2
  30. package/IconHover.js +2 -2
  31. package/Image.js +1 -1
  32. package/Input.js +2 -2
  33. package/InputNumber.js +8 -8
  34. package/InputTag.js +1 -1
  35. package/Layout.js +8 -8
  36. package/Link.js +13 -13
  37. package/List.js +21 -21
  38. package/Mentions.js +30 -30
  39. package/Menu.js +1 -1
  40. package/Message.js +3 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +3 -3
  43. package/Notification.js +4 -4
  44. package/OverflowEllipsis.js +9 -9
  45. package/PageHeader.js +10 -10
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +5 -5
  49. package/Popover.js +7 -7
  50. package/Portal.js +1 -1
  51. package/Progress.js +15 -15
  52. package/Radio.js +2 -2
  53. package/Rate.js +10 -10
  54. package/ResizeBox.js +10 -11
  55. package/Result.js +11 -11
  56. package/Select.js +1 -1
  57. package/SelectView.js +40 -41
  58. package/Skeleton.js +4 -4
  59. package/Slider.js +9 -9
  60. package/Space.js +12 -12
  61. package/SpeechSynthesis.js +1 -1
  62. package/Spin.js +11 -11
  63. package/Statistic.js +43 -43
  64. package/Steps.js +5 -5
  65. package/Switch.js +15 -16
  66. package/Table.js +17 -17
  67. package/Tabs.js +1 -1
  68. package/Tag.js +5 -5
  69. package/TimePicker.js +38 -38
  70. package/Timeline.js +1 -1
  71. package/Tooltip.js +9 -9
  72. package/Transfer.js +26 -26
  73. package/Tree.js +1 -1
  74. package/TreeSelect.js +1 -1
  75. package/Trigger.js +11 -11
  76. package/Typography.js +1 -1
  77. package/Upload.js +4 -1
  78. package/VerificationCode.js +1 -1
  79. package/Version.js +1 -1
  80. package/VirtualList.js +1 -1
  81. package/Watermark.js +1 -1
  82. package/chunk/{m_kOQCiU.js → -LZOUh53.js} +1 -1
  83. package/chunk/{CXNW5Y2a.js → -jdfq71f.js} +1 -1
  84. package/chunk/{CkAOsst1.js → 4-gvEY5y.js} +30 -30
  85. package/chunk/{DQXq1QT0.js → B0GOLsj_.js} +1 -1
  86. package/chunk/{BMvZCjSU.js → B16KHtX-.js} +16 -16
  87. package/chunk/{CggcswbO.js → B2vORJQ8.js} +19 -15
  88. package/chunk/{BCk8e9fj.js → B7Zsp3gO.js} +1 -1
  89. package/chunk/B8QV6E2b.js +34 -0
  90. package/chunk/{BeM2hfks.js → BBVjSFnw.js} +27 -23
  91. package/chunk/{1mEO29GP.js → BDjXkzNj.js} +1 -1
  92. package/chunk/{BuEC_zcc.js → BEDYCG-I.js} +31 -31
  93. package/chunk/{B45v5S9k.js → BHn4xgbv.js} +1 -1
  94. package/chunk/{CF3Telny.js → BJ_7JTqC.js} +3 -3
  95. package/chunk/{BM6dpkeM.js → BLSiP_gg.js} +1 -1
  96. package/chunk/{9Gh1afjL.js → BMJfSSLX.js} +1 -1
  97. package/chunk/{DBJ8d0o0.js → BNHrEI0Y.js} +31 -31
  98. package/chunk/{BP7xX86Q.js → BPZ-6HKJ.js} +131 -134
  99. package/chunk/{DxNRWF67.js → BVLwPZis.js} +11 -11
  100. package/chunk/{BpwDupra.js → BYhtrDV3.js} +9 -9
  101. package/chunk/{D6mVoX-C.js → B_nfMl0e.js} +1 -1
  102. package/chunk/{BWx1cVT_.js → BcS17Pzy.js} +1 -1
  103. package/chunk/Bdh4XVuf.js +1487 -0
  104. package/chunk/{BkHxm4sv.js → BdiEwtQO.js} +1 -1
  105. package/chunk/{DDda6s72.js → BjSHZA0m.js} +6 -6
  106. package/chunk/{C7Okdv4u.js → Bpug_KxP.js} +1 -1
  107. package/chunk/BzPkh4Zv.js +11 -0
  108. package/chunk/{CwXmtKib.js → C1D7T29r.js} +35 -35
  109. package/chunk/{DYZzQ2uT.js → C1u_ckwU.js} +1 -1
  110. package/chunk/C1xMmQIZ.js +468 -0
  111. package/chunk/C2lIz2F9.js +60 -0
  112. package/chunk/{Be7oeWU8.js → C43Hv2Bl.js} +1 -1
  113. package/chunk/{CR4u270n.js → C5AQWbC4.js} +79 -79
  114. package/chunk/{fqgc8r6C.js → C9vsih_D.js} +1 -1
  115. package/chunk/CANaGbGR.js +154 -0
  116. package/chunk/{BA02BFUV.js → CAfR2wLq.js} +1 -1
  117. package/chunk/{CcX2pBUh.js → CAfecMDF.js} +1 -1
  118. package/chunk/{BHK9zpXn.js → CKp4rZnD.js} +1 -1
  119. package/chunk/CTxjmYmx.js +19 -0
  120. package/chunk/{BqxwlITu.js → CV2Aqv9q.js} +1 -1
  121. package/chunk/{bsawGxt8.js → CYdarMv9.js} +1 -1
  122. package/chunk/{DafaH1Qt.js → C_S5Mdvd.js} +43 -44
  123. package/chunk/{DkIjpuBZ.js → Cbd50gx8.js} +11 -11
  124. package/chunk/{D5p8q9Pa.js → CbiWdbr_.js} +12 -12
  125. package/chunk/{cUuQh7L_.js → CmB-TL7C.js} +1 -1
  126. package/chunk/{BbYzi8M0.js → CuOl4X0X.js} +4 -4
  127. package/chunk/{BHLTzWzi.js → D-ER56Sf.js} +1 -1
  128. package/chunk/{BK1FKNAX.js → D-aYnb6u.js} +1 -1
  129. package/chunk/{DalIRWr7.js → D2HkyI6A.js} +9 -9
  130. package/chunk/D3NFxdmG.js +518 -0
  131. package/chunk/{C2fspJbE.js → D3xQFJcO.js} +1 -1
  132. package/chunk/{Lk60-jkf.js → DApXtulb.js} +4 -0
  133. package/chunk/{sl8s35SK.js → DJcEys80.js} +1 -1
  134. package/chunk/{B1S1OEw6.js → DLIm6rRJ.js} +1 -1
  135. package/chunk/{C95ipQ6b.js → DOWEHtqM.js} +1 -1
  136. package/chunk/{aM2ePYrq.js → DSGRHf-1.js} +132 -132
  137. package/chunk/{D9TqtOhq.js → DT37l12z.js} +1 -1
  138. package/chunk/{B6fn5y_s.js → DW-B7npC.js} +1 -1
  139. package/chunk/D_-UD4vO.js +119 -0
  140. package/chunk/{Dtnux4qL.js → D_MTFBb0.js} +1 -1
  141. package/chunk/{WkB0MERB.js → DhBo0pPJ.js} +27 -27
  142. package/chunk/DmUhn9ib.js +961 -0
  143. package/chunk/{Bny52uiG.js → DpfUGhi4.js} +10 -10
  144. package/chunk/{DhLbnw3R.js → Dx_5J4fO.js} +1 -1
  145. package/chunk/{B9PsJar0.js → Dy487FZ1.js} +1 -1
  146. package/chunk/{D6RTBH4C.js → IooeSKJJ.js} +10 -10
  147. package/chunk/Kbr6FzOG.js +745 -0
  148. package/chunk/{CwjaGytU.js → RMBPs_Ry.js} +32 -32
  149. package/chunk/Uz-rNulO.js +98 -0
  150. package/chunk/V6euPXVB.js +1025 -0
  151. package/chunk/{Bv8ZRDFt.js → YIlBPVAs.js} +14 -14
  152. package/chunk/{DPvnQJ-H.js → cDZI_t6o.js} +1 -1
  153. package/chunk/{C-w9pFY-.js → cZiP8FvM.js} +3 -3
  154. package/chunk/{DJmWXheU.js → eK7lxdak.js} +8 -8
  155. package/chunk/{Dg2DmtzA.js → gIbzjQ-X.js} +5 -6
  156. package/chunk/{CPl52AZh.js → sScV-J56.js} +1 -1
  157. package/chunk/{BbI3gqVr.js → wI2I1qb0.js} +1 -1
  158. package/hooks/index.js +32 -32
  159. package/hooks/use-verification-code.js +23 -22
  160. package/hooks/use-watermark.js +2 -1
  161. package/hooks/useComputedState.js +2 -1
  162. package/hooks/useCreate.js +2 -1
  163. package/hooks/useForceUpdate.js +2 -1
  164. package/hooks/useId.js +2 -1
  165. package/hooks/useInView.js +5 -4
  166. package/hooks/useIntersectionObserver.js +11 -11
  167. package/hooks/useIsFirstRender.js +2 -1
  168. package/hooks/useIsomorphicLayoutEffect.js +2 -1
  169. package/hooks/useKeyboardEvent.js +3 -2
  170. package/hooks/useMedia.js +2 -1
  171. package/hooks/useMergeProps.js +2 -1
  172. package/hooks/useMergeValue.js +4 -3
  173. package/hooks/useOverflowHidden.js +2 -1
  174. package/hooks/useOverrideRef.js +2 -1
  175. package/hooks/usePersistCallback.js +2 -1
  176. package/hooks/usePrevious.js +2 -1
  177. package/hooks/useRefs.js +2 -1
  178. package/hooks/useResizeObserver.js +2 -1
  179. package/hooks/useStateCallback.js +2 -1
  180. package/hooks/useStateWithPromise.js +2 -1
  181. package/hooks/useUpdateEffect.js +2 -1
  182. package/hooks/useWatch.js +3 -2
  183. package/hooks/useWindowSize.js +2 -1
  184. package/icons.js +35 -35
  185. package/index.js +484 -376
  186. package/locale/en-US.js +3 -11
  187. package/locale/tr-TR.js +3 -11
  188. package/package.json +1 -1
  189. package/style.css +1 -1
  190. package/types/anchor/Anchor.d.ts +1 -1
  191. package/types/button/index.d.ts +3 -2
  192. package/types/color-picker/hooks/useColorPicker.d.ts +1 -1
  193. package/types/color-picker/hooks/useControlBlock.d.ts +1 -1
  194. package/types/config-provider/interface.d.ts +1 -0
  195. package/types/date-picker/PickerRange.d.ts +1 -1
  196. package/types/hooks/use-verification-code/index.d.ts +2 -1
  197. package/types/hooks/use-watermark/index.d.ts +2 -1
  198. package/types/hooks/useComputedState.d.ts +2 -2
  199. package/types/hooks/useCreate.d.ts +2 -1
  200. package/types/hooks/useForceUpdate.d.ts +2 -1
  201. package/types/hooks/useId.d.ts +2 -1
  202. package/types/hooks/useInView.d.ts +1 -1
  203. package/types/hooks/useIntersectionObserver.d.ts +1 -1
  204. package/types/hooks/useIsFirstRender.d.ts +2 -1
  205. package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
  206. package/types/hooks/useKeyboardEvent.d.ts +2 -2
  207. package/types/hooks/useMedia.d.ts +1 -1
  208. package/types/hooks/useMergeProps.d.ts +2 -1
  209. package/types/hooks/useMergeValue.d.ts +2 -1
  210. package/types/hooks/useOverflowHidden.d.ts +2 -2
  211. package/types/hooks/useOverrideRef.d.ts +2 -1
  212. package/types/hooks/usePersistCallback.d.ts +2 -1
  213. package/types/hooks/usePrevious.d.ts +2 -1
  214. package/types/hooks/useRefs.d.ts +2 -1
  215. package/types/hooks/useResizeObserver.d.ts +2 -1
  216. package/types/hooks/useStateCallback.d.ts +1 -1
  217. package/types/hooks/useStateWithPromise.d.ts +1 -1
  218. package/types/hooks/useUpdateEffect.d.ts +2 -1
  219. package/types/hooks/useWatch.d.ts +2 -1
  220. package/types/hooks/useWindowSize.d.ts +1 -1
  221. package/types/image/interface.d.ts +1 -1
  222. package/types/index.d.ts +13 -22
  223. package/types/table/interface.d.ts +3 -1
  224. package/types/upload/Upload.d.ts +2 -1
  225. package/types/upload/index.d.ts +3 -1
  226. package/types/upload/request_.d.ts +3 -0
  227. package/types/utils/caseName.d.ts +2 -0
  228. package/types/utils/fileToURL.d.ts +2 -0
  229. package/types/utils/fillNBSP.d.ts +1 -1
  230. package/types/utils/index.d.ts +37 -0
  231. package/types/utils/is.d.ts +2 -2
  232. package/types/utils/lodash.d.ts +4 -0
  233. package/types/utils/scrollIntoView.d.ts +2 -1
  234. package/types/version/index.d.ts +1 -1
  235. package/utils/CSSTransition.js +1 -1
  236. package/utils/caseName.js +20 -0
  237. package/utils/className.js +1 -1
  238. package/utils/contextHolder.js +1 -1
  239. package/utils/fileToURL.js +4 -0
  240. package/utils/index.js +219 -0
  241. package/utils/is.js +95 -93
  242. package/utils/keyCode.js +10 -46
  243. package/utils/lodash.js +8 -0
  244. package/utils/mergedToString.js +11 -10
  245. package/utils/reactDOM.js +1 -1
  246. package/utils/saveAs.js +1 -1
  247. package/utils/scrollIntoView.js +8 -7
  248. package/chunk/5pZ3ayqs.js +0 -29
  249. package/chunk/Bl-ODC57.js +0 -945
  250. package/chunk/BlKc_pDZ.js +0 -678
  251. package/chunk/CiEln_Q1.js +0 -517
  252. package/chunk/CiZVOdJ3.js +0 -122
  253. package/chunk/DMWMrXg1.js +0 -964
  254. package/chunk/DUxWiN2U.js +0 -1465
  255. package/chunk/Dbk4DVhB.js +0 -855
  256. package/chunk/Do1aMgY3.js +0 -12
  257. package/chunk/HlP8inLK.js +0 -1796
  258. package/chunk/V_IcWDFx.js +0 -49
  259. /package/types/utils/{mergeProp.d.ts → mergeProps.d.ts} +0 -0
  260. /package/utils/{mergeProp.js → mergeProps.js} +0 -0
@@ -1,42 +1,43 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import o from "prop-types";
3
- import c, { Children as I, isValidElement as O, cloneElement as S, useRef as j, useMemo as _ } from "react";
4
- import y from "react-dom";
5
- import { supportRef as G } from "../utils/is.js";
6
- import { findDOMNode as W, callbackOriginRef as X } from "../utils/reactDOM.js";
7
- const w = {
8
- disabled: !1
9
- };
10
- function H(n, e) {
3
+ import c, { Children as F, isValidElement as y, cloneElement as S, useRef as P, useMemo as I } from "react";
4
+ import v from "react-dom";
5
+ import { supportRef as U } from "../utils/is.js";
6
+ import { findDOMNode as _, callbackOriginRef as W } from "../utils/reactDOM.js";
7
+ function X(n, e) {
11
8
  return n.classList ? !!e && n.classList.contains(e) : (" " + (n.className.baseVal || n.className) + " ").indexOf(
12
9
  " " + e + " "
13
10
  ) !== -1;
14
11
  }
15
- function K(n, e) {
16
- n.classList ? n.classList.add(e) : H(n, e) || (typeof n.className == "string" ? n.className = n.className + " " + e : n.setAttribute("class", (n.className && n.className.baseVal || "") + " " + e));
12
+ function G(n, e) {
13
+ n.classList ? n.classList.add(e) : X(n, e) || (typeof n.className == "string" ? n.className = n.className + " " + e : n.setAttribute(
14
+ "class",
15
+ (n.className && n.className.baseVal || "") + " " + e
16
+ ));
17
17
  }
18
- function q(n, e) {
18
+ function V(n, e) {
19
19
  return n.replace(new RegExp("(^|\\s)" + e + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
20
20
  }
21
21
  function z(n, e) {
22
- n.classList ? n.classList.remove(e) : typeof n.className == "string" ? n.className = q(n.className, e) : n.setAttribute(
22
+ n.classList ? n.classList.remove(e) : typeof n.className == "string" ? n.className = V(n.className, e) : n.setAttribute(
23
23
  "class",
24
- q(
24
+ V(
25
25
  n.className && n.className.baseVal || "",
26
26
  e
27
27
  )
28
28
  );
29
29
  }
30
- const R = c.createContext(null);
31
- var B = Object.defineProperty, J = (n, e, t) => e in n ? B(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Q = (n, e, t) => J(n, e + "", t);
32
- const Y = process.env.NODE_ENV !== "production" ? o.oneOfType([
30
+ var B = Object.defineProperty, H = (n, e, t) => e in n ? B(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, d = (n, e, t) => H(n, typeof e != "symbol" ? e + "" : e, t);
31
+ const q = {
32
+ disabled: !1
33
+ }, O = c.createContext(null), J = process.env.NODE_ENV !== "production" ? o.oneOfType([
33
34
  o.number,
34
35
  o.shape({
35
36
  enter: o.number,
36
37
  exit: o.number,
37
38
  appear: o.number
38
39
  }).isRequired
39
- ]) : null, Z = process.env.NODE_ENV !== "production" ? o.oneOfType([
40
+ ]) : null, K = process.env.NODE_ENV !== "production" ? o.oneOfType([
40
41
  o.string,
41
42
  o.shape({
42
43
  enter: o.string,
@@ -51,12 +52,12 @@ const Y = process.env.NODE_ENV !== "production" ? o.oneOfType([
51
52
  exitDone: o.string,
52
53
  exitActive: o.string
53
54
  })
54
- ]) : null, F = (n) => n.scrollTop, N = "unmounted", x = "exited", d = "entering", u = "entered", k = "exiting";
55
- class h extends c.Component {
55
+ ]) : null, j = (n) => n.scrollTop, N = "unmounted", x = "exited", p = "entering", h = "entered", R = "exiting";
56
+ class u extends c.Component {
56
57
  constructor(e, t) {
57
58
  super(e, t);
58
59
  let s = t, i = s && !s.isMounting ? e.enter : e.appear, r;
59
- this.appearStatus = null, e.in ? i ? (r = x, this.appearStatus = d) : r = u : e.unmountOnExit || e.mountOnEnter ? r = N : r = x, this.state = { status: r }, this.nextCallback = null;
60
+ this.appearStatus = null, e.in ? i ? (r = x, this.appearStatus = p) : r = h : e.unmountOnExit || e.mountOnEnter ? r = N : r = x, this.state = { status: r }, this.nextCallback = null;
60
61
  }
61
62
  static getDerivedStateFromProps({ in: e }, t) {
62
63
  return e && t.status === N ? { status: x } : null;
@@ -84,7 +85,7 @@ class h extends c.Component {
84
85
  let t = null;
85
86
  if (e !== this.props) {
86
87
  const { status: s } = this.state;
87
- this.props.in ? s !== d && s !== u && (t = d) : (s === d || s === u) && (t = k);
88
+ this.props.in ? s !== p && s !== h && (t = p) : (s === p || s === h) && (t = R);
88
89
  }
89
90
  this.updateStatus(!1, t);
90
91
  }
@@ -98,10 +99,10 @@ class h extends c.Component {
98
99
  }
99
100
  updateStatus(e = !1, t) {
100
101
  if (t !== null)
101
- if (this.cancelNextCallback(), t === d) {
102
+ if (this.cancelNextCallback(), t === p) {
102
103
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
103
- const s = this.props.nodeRef ? this.props.nodeRef.current : y.findDOMNode(this);
104
- s && F(s);
104
+ const s = this.props.nodeRef ? this.props.nodeRef.current : v.findDOMNode(this);
105
+ s && j(s);
105
106
  }
106
107
  this.performEnter(e);
107
108
  } else
@@ -109,30 +110,30 @@ class h extends c.Component {
109
110
  else this.props.unmountOnExit && this.state.status === x && this.setState({ status: N });
110
111
  }
111
112
  performEnter(e) {
112
- const { enter: t } = this.props, s = this.context ? this.context.isMounting : e, [i, r] = this.props.nodeRef ? [s] : [y.findDOMNode(this), s], a = this.getTimeouts(), l = s ? a.appear : a.enter;
113
- if (!e && !t || w.disabled) {
114
- this.safeSetState({ status: u }, () => {
113
+ const { enter: t } = this.props, s = this.context ? this.context.isMounting : e, [i, r] = this.props.nodeRef ? [s] : [v.findDOMNode(this), s], a = this.getTimeouts(), l = s ? a.appear : a.enter;
114
+ if (!e && !t || q.disabled) {
115
+ this.safeSetState({ status: h }, () => {
115
116
  this.props.onEntered(i);
116
117
  });
117
118
  return;
118
119
  }
119
- this.props.onEnter(i, r), this.safeSetState({ status: d }, () => {
120
+ this.props.onEnter(i, r), this.safeSetState({ status: p }, () => {
120
121
  this.props.onEntering(i, r), this.onTransitionEnd(l, () => {
121
- this.safeSetState({ status: u }, () => {
122
+ this.safeSetState({ status: h }, () => {
122
123
  this.props.onEntered(i, r);
123
124
  });
124
125
  });
125
126
  });
126
127
  }
127
128
  performExit() {
128
- const { exit: e } = this.props, t = this.getTimeouts(), s = this.props.nodeRef ? void 0 : y.findDOMNode(this);
129
- if (!e || w.disabled) {
129
+ const { exit: e } = this.props, t = this.getTimeouts(), s = this.props.nodeRef ? void 0 : v.findDOMNode(this);
130
+ if (!e || q.disabled) {
130
131
  this.safeSetState({ status: x }, () => {
131
132
  this.props.onExited(s);
132
133
  });
133
134
  return;
134
135
  }
135
- this.props.onExit(s), this.safeSetState({ status: k }, () => {
136
+ this.props.onExit(s), this.safeSetState({ status: R }, () => {
136
137
  this.props.onExiting(s), this.onTransitionEnd(t.exit, () => {
137
138
  this.safeSetState({ status: x }, () => {
138
139
  this.props.onExited(s);
@@ -156,7 +157,7 @@ class h extends c.Component {
156
157
  }
157
158
  onTransitionEnd(e, t) {
158
159
  this.setNextCallback(t);
159
- const s = this.props.nodeRef ? this.props.nodeRef.current : y.findDOMNode(this), i = e == null && !this.props.addEndListener;
160
+ const s = this.props.nodeRef ? this.props.nodeRef.current : v.findDOMNode(this), i = e == null && !this.props.addEndListener;
160
161
  if (!s || i) {
161
162
  setTimeout(this.nextCallback, 0);
162
163
  return;
@@ -182,23 +183,23 @@ class h extends c.Component {
182
183
  exit: E,
183
184
  timeout: C,
184
185
  addEndListener: T,
185
- onEnter: fe,
186
- onEntering: xe,
187
- onEntered: ge,
188
- onExit: be,
189
- onExiting: ve,
190
- onExited: Ce,
191
- nodeRef: ye,
192
- ...V
186
+ onEnter: ae,
187
+ onEntering: le,
188
+ onEntered: ce,
189
+ onExit: de,
190
+ onExiting: pe,
191
+ onExited: he,
192
+ nodeRef: ue,
193
+ ...A
193
194
  } = this.props;
194
195
  return (
195
196
  // allows for nested Transitions
196
- /* @__PURE__ */ m(R.Provider, { value: null, children: typeof t == "function" ? t(e, V) : c.cloneElement(c.Children.only(t), V) })
197
+ /* @__PURE__ */ m(O.Provider, { value: null, children: typeof t == "function" ? t(e, A) : c.cloneElement(c.Children.only(t), A) })
197
198
  );
198
199
  }
199
200
  }
200
- Q(h, "contextType", R);
201
- h.propTypes = {
201
+ d(u, "contextType", O);
202
+ u.propTypes = {
202
203
  /**
203
204
  * A React reference to the DOM element that needs to transition:
204
205
  * https://stackoverflow.com/a/51127130/4671932
@@ -302,7 +303,7 @@ h.propTypes = {
302
303
  * @type {number | { enter?: number, exit?: number, appear?: number }}
303
304
  */
304
305
  timeout: (n, ...e) => {
305
- let t = Y;
306
+ let t = J;
306
307
  return n.addEndListener || (t = t.isRequired), t(n, ...e);
307
308
  },
308
309
  /**
@@ -374,7 +375,7 @@ h.propTypes = {
374
375
  };
375
376
  function b() {
376
377
  }
377
- h.defaultProps = {
378
+ u.defaultProps = {
378
379
  in: !1,
379
380
  mountOnEnter: !1,
380
381
  unmountOnExit: !1,
@@ -388,38 +389,37 @@ h.defaultProps = {
388
389
  onExiting: b,
389
390
  onExited: b
390
391
  };
391
- h.UNMOUNTED = N;
392
- h.EXITED = x;
393
- h.ENTERING = d;
394
- h.ENTERED = u;
395
- h.EXITING = k;
396
- var ee = Object.defineProperty, te = (n, e, t) => e in n ? ee(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, p = (n, e, t) => te(n, typeof e != "symbol" ? e + "" : e, t);
397
- const ne = (n, e) => n && e && e.split(" ").forEach((t) => K(n, t)), D = (n, e) => n && e && e.split(" ").forEach((t) => z(n, t));
398
- let M = class extends c.Component {
392
+ u.UNMOUNTED = N;
393
+ u.EXITED = x;
394
+ u.ENTERING = p;
395
+ u.ENTERED = h;
396
+ u.EXITING = R;
397
+ const Q = (n, e) => n && e && e.split(" ").forEach((t) => G(n, t)), D = (n, e) => n && e && e.split(" ").forEach((t) => z(n, t));
398
+ class L extends c.Component {
399
399
  constructor() {
400
- super(...arguments), p(this, "appliedClasses", {
400
+ super(...arguments), d(this, "appliedClasses", {
401
401
  appear: {},
402
402
  enter: {},
403
403
  exit: {}
404
- }), p(this, "onEnter", (e, t) => {
404
+ }), d(this, "onEnter", (e, t) => {
405
405
  const [s, i] = this.resolveArguments(e, t);
406
406
  this.removeClasses(s, "exit"), this.addClass(s, i ? "appear" : "enter", "base"), this.props.onEnter && this.props.onEnter(e, t);
407
- }), p(this, "onEntering", (e, t) => {
407
+ }), d(this, "onEntering", (e, t) => {
408
408
  const [s, i] = this.resolveArguments(e, t), r = i ? "appear" : "enter";
409
409
  this.addClass(s, r, "active"), this.props.onEntering && this.props.onEntering(e, t);
410
- }), p(this, "onEntered", (e, t) => {
410
+ }), d(this, "onEntered", (e, t) => {
411
411
  const [s, i] = this.resolveArguments(e, t), r = i ? "appear" : "enter";
412
412
  this.removeClasses(s, r), this.addClass(s, r, "done"), this.props.onEntered && this.props.onEntered(e, t);
413
- }), p(this, "onExit", (e) => {
413
+ }), d(this, "onExit", (e) => {
414
414
  const [t] = this.resolveArguments(e);
415
415
  this.removeClasses(t, "appear"), this.removeClasses(t, "enter"), this.addClass(t, "exit", "base"), this.props.onExit && this.props.onExit(e);
416
- }), p(this, "onExiting", (e) => {
416
+ }), d(this, "onExiting", (e) => {
417
417
  const [t] = this.resolveArguments(e);
418
418
  this.addClass(t, "exit", "active"), this.props.onExiting && this.props.onExiting(e);
419
- }), p(this, "onExited", (e) => {
419
+ }), d(this, "onExited", (e) => {
420
420
  const [t] = this.resolveArguments(e);
421
421
  this.removeClasses(t, "exit"), this.addClass(t, "exit", "done"), this.props.onExited && this.props.onExited(e);
422
- }), p(this, "resolveArguments", (e, t) => this.props.nodeRef ? [this.props.nodeRef.current, e] : [e, t]), p(this, "getClassNames", (e) => {
422
+ }), d(this, "resolveArguments", (e, t) => this.props.nodeRef ? [this.props.nodeRef.current, e] : [e, t]), d(this, "getClassNames", (e) => {
423
423
  const { classNames: t } = this.props, s = typeof t == "string", i = s && t ? `${t}-` : "";
424
424
  let r = s ? `${i}${e}` : t[e], a = s ? `${r}-active` : t[`${e}Active`], l = s ? `${r}-done` : t[`${e}Done`];
425
425
  return {
@@ -432,7 +432,7 @@ let M = class extends c.Component {
432
432
  addClass(e, t, s) {
433
433
  let i = this.getClassNames(t)[`${s}ClassName`];
434
434
  const { doneClassName: r } = this.getClassNames("enter");
435
- t === "appear" && s === "done" && r && (i += ` ${r}`), s === "active" && e && F(e), i && (this.appliedClasses[t][s] = i, ne(e, i));
435
+ t === "appear" && s === "done" && r && (i += ` ${r}`), s === "active" && e && j(e), i && (this.appliedClasses[t][s] = i, Q(e, i));
436
436
  }
437
437
  removeClasses(e, t) {
438
438
  const {
@@ -445,7 +445,7 @@ let M = class extends c.Component {
445
445
  render() {
446
446
  const { classNames: e, ...t } = this.props;
447
447
  return /* @__PURE__ */ m(
448
- h,
448
+ u,
449
449
  {
450
450
  ...t,
451
451
  onEnter: this.onEnter,
@@ -457,12 +457,12 @@ let M = class extends c.Component {
457
457
  }
458
458
  );
459
459
  }
460
- };
461
- p(M, "defaultProps", {
460
+ }
461
+ d(L, "defaultProps", {
462
462
  classNames: ""
463
463
  });
464
- M.propTypes = {
465
- ...h.propTypes,
464
+ L.propTypes = {
465
+ ...u.propTypes,
466
466
  /**
467
467
  * The animation classNames applied to the component as it appears, enters,
468
468
  * exits or has finished the transition. A single name can be provided, which
@@ -531,7 +531,7 @@ M.propTypes = {
531
531
  * exitDone?: string,
532
532
  * }}
533
533
  */
534
- classNames: Z,
534
+ classNames: K,
535
535
  /**
536
536
  * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
537
537
  * applied.
@@ -586,13 +586,13 @@ M.propTypes = {
586
586
  */
587
587
  onExited: o.func
588
588
  };
589
- function P(n, e) {
590
- let t = (i) => e && O(i) ? e(i) : i, s = /* @__PURE__ */ Object.create(null);
591
- return n && I.map(n, (i) => i).forEach((i) => {
589
+ function M(n, e) {
590
+ let t = (i) => e && y(i) ? e(i) : i, s = /* @__PURE__ */ Object.create(null);
591
+ return n && F.map(n, (i) => i).forEach((i) => {
592
592
  s[i.key] = t(i);
593
593
  }), s;
594
594
  }
595
- function se(n, e) {
595
+ function Y(n, e) {
596
596
  n = n || {}, e = e || {};
597
597
  function t(l) {
598
598
  return l in e ? e[l] : n[l];
@@ -616,8 +616,8 @@ function se(n, e) {
616
616
  function g(n, e, t) {
617
617
  return t[e] != null ? t[e] : n.props[e];
618
618
  }
619
- function ie(n, e) {
620
- return P(n.children, (t) => S(t, {
619
+ function Z(n, e) {
620
+ return M(n.children, (t) => S(t, {
621
621
  onExited: e.bind(null, t),
622
622
  in: !0,
623
623
  appear: g(t, "appear", n),
@@ -625,18 +625,18 @@ function ie(n, e) {
625
625
  exit: g(t, "exit", n)
626
626
  }));
627
627
  }
628
- function re(n, e, t) {
629
- let s = P(n.children), i = se(e, s);
628
+ function ee(n, e, t) {
629
+ let s = M(n.children), i = Y(e, s);
630
630
  return Object.keys(i).forEach((r) => {
631
631
  let a = i[r];
632
- if (!O(a)) return;
633
- const l = r in e, E = r in s, C = e[r], T = O(C) && !C.props.in;
632
+ if (!y(a)) return;
633
+ const l = r in e, E = r in s, C = e[r], T = y(C) && !C.props.in;
634
634
  E && (!l || T) ? i[r] = S(a, {
635
635
  onExited: t.bind(null, a),
636
636
  in: !0,
637
637
  exit: g(a, "exit", n),
638
638
  enter: g(a, "enter", n)
639
- }) : !E && l && !T ? i[r] = S(a, { in: !1 }) : E && l && O(C) && (i[r] = S(a, {
639
+ }) : !E && l && !T ? i[r] = S(a, { in: !1 }) : E && l && y(C) && (i[r] = S(a, {
640
640
  onExited: t.bind(null, a),
641
641
  in: C.props.in,
642
642
  exit: g(a, "exit", n),
@@ -644,11 +644,11 @@ function re(n, e, t) {
644
644
  }));
645
645
  }), i;
646
646
  }
647
- const oe = Object.values || ((n) => Object.keys(n).map((e) => n[e])), ae = {
647
+ const te = Object.values || ((n) => Object.keys(n).map((e) => n[e])), ne = {
648
648
  component: "div",
649
649
  childFactory: (n) => n
650
650
  };
651
- class A extends c.Component {
651
+ class $ extends c.Component {
652
652
  constructor(e, t) {
653
653
  super(e, t);
654
654
  const s = this.handleExited.bind(this);
@@ -668,24 +668,24 @@ class A extends c.Component {
668
668
  }
669
669
  static getDerivedStateFromProps(e, { children: t, handleExited: s, firstRender: i }) {
670
670
  return {
671
- children: i ? ie(e, s) : re(e, t, s),
671
+ children: i ? Z(e, s) : ee(e, t, s),
672
672
  firstRender: !1
673
673
  };
674
674
  }
675
675
  // node is `undefined` when user provided `nodeRef` prop
676
676
  handleExited(e, t) {
677
- let s = P(this.props.children);
677
+ let s = M(this.props.children);
678
678
  e.key in s || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState((i) => {
679
679
  let r = { ...i.children };
680
680
  return delete r[e.key], { children: r };
681
681
  }));
682
682
  }
683
683
  render() {
684
- const { component: e, childFactory: t, ...s } = this.props, { contextValue: i } = this.state, r = oe(this.state.children).map(t);
685
- return delete s.appear, delete s.enter, delete s.exit, e === null ? /* @__PURE__ */ m(R.Provider, { value: i, children: r }) : /* @__PURE__ */ m(R.Provider, { value: i, children: /* @__PURE__ */ m(e, { ...s, children: r }) });
684
+ const { component: e, childFactory: t, ...s } = this.props, { contextValue: i } = this.state, r = te(this.state.children).map(t);
685
+ return delete s.appear, delete s.enter, delete s.exit, e === null ? /* @__PURE__ */ m(O.Provider, { value: i, children: r }) : /* @__PURE__ */ m(O.Provider, { value: i, children: /* @__PURE__ */ m(e, { ...s, children: r }) });
686
686
  }
687
687
  }
688
- A.propTypes = {
688
+ $.propTypes = {
689
689
  /**
690
690
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
691
691
  * behavior by providing a `component` prop.
@@ -738,22 +738,21 @@ A.propTypes = {
738
738
  */
739
739
  childFactory: o.func
740
740
  };
741
- A.defaultProps = ae;
742
- var le = Object.defineProperty, ce = (n, e, t) => e in n ? le(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, v = (n, e, t) => ce(n, typeof e != "symbol" ? e + "" : e, t);
743
- class de extends c.Component {
741
+ $.defaultProps = ne;
742
+ class se extends c.Component {
744
743
  constructor() {
745
- super(...arguments), v(this, "handleEnter", (...e) => this.handleLifecycle("onEnter", 0, e)), v(this, "handleEntering", (...e) => this.handleLifecycle("onEntering", 0, e)), v(this, "handleEntered", (...e) => this.handleLifecycle("onEntered", 0, e)), v(this, "handleExit", (...e) => this.handleLifecycle("onExit", 1, e)), v(this, "handleExiting", (...e) => this.handleLifecycle("onExiting", 1, e)), v(this, "handleExited", (...e) => this.handleLifecycle("onExited", 1, e));
744
+ super(...arguments), d(this, "handleEnter", (...e) => this.handleLifecycle("onEnter", 0, e)), d(this, "handleEntering", (...e) => this.handleLifecycle("onEntering", 0, e)), d(this, "handleEntered", (...e) => this.handleLifecycle("onEntered", 0, e)), d(this, "handleExit", (...e) => this.handleLifecycle("onExit", 1, e)), d(this, "handleExiting", (...e) => this.handleLifecycle("onExiting", 1, e)), d(this, "handleExited", (...e) => this.handleLifecycle("onExited", 1, e));
746
745
  }
747
746
  handleLifecycle(e, t, s) {
748
747
  const { children: i } = this.props, r = c.Children.toArray(i)[t];
749
748
  if (r.props[e] && r.props[e](...s), this.props[e]) {
750
- const a = r.props.nodeRef ? void 0 : y.findDOMNode(this);
749
+ const a = r.props.nodeRef ? void 0 : v.findDOMNode(this);
751
750
  this.props[e](a);
752
751
  }
753
752
  }
754
753
  render() {
755
754
  const { children: e, in: t, ...s } = this.props, [i, r] = c.Children.toArray(e);
756
- return delete s.onEnter, delete s.onEntering, delete s.onEntered, delete s.onExit, delete s.onExiting, delete s.onExited, /* @__PURE__ */ m(A, { ...s, children: t ? c.cloneElement(i, {
755
+ return delete s.onEnter, delete s.onEntering, delete s.onEntered, delete s.onExit, delete s.onExiting, delete s.onExited, /* @__PURE__ */ m($, { ...s, children: t ? c.cloneElement(i, {
757
756
  key: "first",
758
757
  onEnter: this.handleEnter,
759
758
  onEntering: this.handleEntering,
@@ -766,7 +765,7 @@ class de extends c.Component {
766
765
  }) });
767
766
  }
768
767
  }
769
- de.propTypes = {
768
+ se.propTypes = {
770
769
  in: o.bool.isRequired,
771
770
  children(n, e) {
772
771
  return c.Children.count(n[e]) !== 2 ? new Error(
@@ -774,44 +773,43 @@ de.propTypes = {
774
773
  ) : null;
775
774
  }
776
775
  };
777
- var pe = Object.defineProperty, ue = (n, e, t) => e in n ? pe(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, L = (n, e, t) => ue(n, typeof e != "symbol" ? e + "" : e, t);
778
- function he(n, e) {
776
+ function ie(n, e) {
779
777
  return !(n === e || c.isValidElement(n) && c.isValidElement(e) && n.key != null && n.key === e.key);
780
778
  }
781
779
  const f = {
782
780
  out: "out-in",
783
781
  in: "in-out"
784
- }, $ = (n, e, t) => (...s) => {
782
+ }, k = (n, e, t) => (...s) => {
785
783
  var i, r;
786
784
  (r = (i = n.props)[e]) == null || r.call(i, ...s), t();
787
- }, Ee = {
785
+ }, re = {
788
786
  [f.out]: ({ current: n, changeState: e }) => c.cloneElement(n, {
789
787
  in: !1,
790
- onExited: $(n, "onExited", () => {
791
- e(d, null);
788
+ onExited: k(n, "onExited", () => {
789
+ e(p, null);
792
790
  })
793
791
  }),
794
792
  [f.in]: ({ current: n, changeState: e, children: t }) => [
795
793
  n,
796
794
  c.cloneElement(t, {
797
795
  in: !0,
798
- onEntered: $(t, "onEntered", () => {
799
- e(d);
796
+ onEntered: k(t, "onEntered", () => {
797
+ e(p);
800
798
  })
801
799
  })
802
800
  ]
803
- }, me = {
801
+ }, oe = {
804
802
  [f.out]: ({ children: n, changeState: e }) => c.cloneElement(n, {
805
803
  in: !0,
806
- onEntered: $(n, "onEntered", () => {
807
- e(u, c.cloneElement(n, { in: !0 }));
804
+ onEntered: k(n, "onEntered", () => {
805
+ e(h, c.cloneElement(n, { in: !0 }));
808
806
  })
809
807
  }),
810
808
  [f.in]: ({ current: n, children: e, changeState: t }) => [
811
809
  c.cloneElement(n, {
812
810
  in: !1,
813
- onExited: $(n, "onExited", () => {
814
- t(u, c.cloneElement(e, { in: !0 }));
811
+ onExited: k(n, "onExited", () => {
812
+ t(h, c.cloneElement(e, { in: !0 }));
815
813
  })
816
814
  }),
817
815
  c.cloneElement(e, {
@@ -819,12 +817,12 @@ const f = {
819
817
  })
820
818
  ]
821
819
  };
822
- class U extends c.Component {
820
+ class w extends c.Component {
823
821
  constructor() {
824
- super(...arguments), L(this, "state", {
825
- status: u,
822
+ super(...arguments), d(this, "state", {
823
+ status: h,
826
824
  current: null
827
- }), L(this, "appeared", !1), L(this, "changeState", (e, t = this.state.current) => {
825
+ }), d(this, "appeared", !1), d(this, "changeState", (e, t = this.state.current) => {
828
826
  this.setState({
829
827
  status: e,
830
828
  current: t
@@ -837,10 +835,10 @@ class U extends c.Component {
837
835
  static getDerivedStateFromProps(e, t) {
838
836
  return e.children == null ? {
839
837
  current: null
840
- } : t.status === d && e.mode === f.in ? {
841
- status: d
842
- } : t.current && he(t.current, e.children) ? {
843
- status: k
838
+ } : t.status === p && e.mode === f.in ? {
839
+ status: p
840
+ } : t.current && ie(t.current, e.children) ? {
841
+ status: R
844
842
  } : {
845
843
  current: c.cloneElement(e.children, {
846
844
  in: !0
@@ -854,19 +852,19 @@ class U extends c.Component {
854
852
  } = this, r = { children: e, current: i, changeState: this.changeState, status: s };
855
853
  let a;
856
854
  switch (s) {
857
- case d:
858
- a = me[t](r);
855
+ case p:
856
+ a = oe[t](r);
859
857
  break;
860
- case k:
861
- a = Ee[t](r);
858
+ case R:
859
+ a = re[t](r);
862
860
  break;
863
- case u:
861
+ case h:
864
862
  a = i;
865
863
  }
866
- return /* @__PURE__ */ m(R.Provider, { value: { isMounting: !this.appeared }, children: a });
864
+ return /* @__PURE__ */ m(O.Provider, { value: { isMounting: !this.appeared }, children: a });
867
865
  }
868
866
  }
869
- U.propTypes = {
867
+ w.propTypes = {
870
868
  /**
871
869
  * Transition modes.
872
870
  * `out-in`: Current element transitions out first, then when complete, the new element transitions in.
@@ -880,13 +878,13 @@ U.propTypes = {
880
878
  */
881
879
  children: o.oneOfType([o.element.isRequired])
882
880
  };
883
- U.defaultProps = {
881
+ w.defaultProps = {
884
882
  mode: f.out
885
883
  };
886
- function De(n) {
887
- const { children: e, ...t } = n, s = j(), i = j(), r = _(() => n.nodeRef === void 0 && G(e) && O(e) ? (i.current = !0, S(e, {
884
+ function Ce(n) {
885
+ const { children: e, ...t } = n, s = P(), i = P(), r = I(() => n.nodeRef === void 0 && U(e) && y(e) ? (i.current = !0, S(e, {
888
886
  ref: (a) => {
889
- s.current = W(a), X(e, a);
887
+ s.current = _(a), W(e, a);
890
888
  }
891
889
  })) : (i.current = !1, e), [e, n.nodeRef]);
892
890
  return i.current && [
@@ -900,14 +898,13 @@ function De(n) {
900
898
  n[a] && (t[a] = (l, ...E) => {
901
899
  n[a](s.current, ...E);
902
900
  });
903
- }), /* @__PURE__ */ m(M, { ...t, nodeRef: i.current ? s : void 0, children: r });
901
+ }), /* @__PURE__ */ m(L, { ...t, nodeRef: i.current ? s : void 0, children: r });
904
902
  }
905
903
  export {
906
- De as P,
907
- w as a,
908
- A as b,
909
- M as c,
910
- U as h,
911
- de as m,
912
- h as u
904
+ L as $,
905
+ w as I,
906
+ se as J,
907
+ Ce as P,
908
+ $ as _,
909
+ u as h
913
910
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx as n, jsxs as K } from "react/jsx-runtime";
2
- import { a as j, I as q } from "./D9TqtOhq.js";
2
+ import { a as j, I as q } from "./DT37l12z.js";
3
3
  import X from "lodash/isArray";
4
4
  import y from "lodash/isNumber";
5
5
  import { createContext as Y, forwardRef as Z, useContext as ee, useState as re, useRef as A, useEffect as F, useMemo as te } from "react";
6
- import { b as ie } from "./DUxWiN2U.js";
7
- import se from "../hooks/useMergeValue.js";
6
+ import { d as ie } from "./Bdh4XVuf.js";
7
+ import { useMergeValue as se } from "../hooks/useMergeValue.js";
8
8
  import oe from "../ResizeBox.js";
9
- import { y as H } from "./Do1aMgY3.js";
9
+ import { y as H } from "./BzPkh4Zv.js";
10
10
  import L, { responsiveMap as ne } from "../utils/responsiveObserve.js";
11
11
  const le = Y({
12
12
  siderCollapsed: !1,
@@ -37,15 +37,15 @@ function ce(i, f) {
37
37
  } = i, W = ae("pqb-sider-"), { getPrefixCls: P } = ee(ie), s = P("layout-sider"), [e, _] = se(!1, {
38
38
  value: "collapsed" in i ? i.collapsed : void 0,
39
39
  defaultValue: i.defaultCollapsed
40
- }), b = y(m) ? `${m}px` : String(m), Q = y(r) ? `${r}` : String(r), [p, k] = re(
41
- e ? Q : b
42
- ), $ = A(null), M = A(null);
40
+ }), $ = y(m) ? `${m}px` : String(m), Q = y(r) ? `${r}` : String(r), [p, k] = re(
41
+ e ? Q : $
42
+ ), b = A(null), M = A(null);
43
43
  M.current = {
44
44
  breakpoint: R,
45
45
  collapsed: e,
46
46
  onCollapse: d,
47
47
  onBreakpoint: O
48
- }, F(() => (v == null || v(W), h && R in ne && ($.current = L.subscribe(
48
+ }, F(() => (v == null || v(W), h && R in ne && (b.current = L.subscribe(
49
49
  (o, l) => {
50
50
  const { breakpoint: a, collapsed: J, onCollapse: S, onBreakpoint: w } = M.current;
51
51
  if (!l || l === a) {
@@ -54,11 +54,11 @@ function ce(i, f) {
54
54
  }
55
55
  }
56
56
  )), () => {
57
- C == null || C(W), $.current && L.unsubscribe($.current);
57
+ C == null || C(W), b.current && L.unsubscribe(b.current);
58
58
  }), []), F(() => {
59
59
  const o = y(r) ? `${r}px` : String(r);
60
- k(e ? o : b);
61
- }, [e, b, r]);
60
+ k(e ? o : $);
61
+ }, [e, $, r]);
62
62
  const x = c && X(c) || ((T = t.directions) == null ? void 0 : T.length), U = x ? oe : "aside", z = () => {
63
63
  const o = g || (e ? I ? /* @__PURE__ */ n(j, {}) : /* @__PURE__ */ n(q, {}) : I ? /* @__PURE__ */ n(q, {}) : /* @__PURE__ */ n(j, {}));
64
64
  return h && g !== null ? /* @__PURE__ */ n(