bj-web-components 0.2.28 → 0.2.29

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 (90) hide show
  1. package/dist/index.js +1 -51
  2. package/dist/index.mjs +49 -49
  3. package/dist/style.css +1 -3744
  4. package/dist/web/BasicInput/BInput.js +1 -208
  5. package/dist/web/BasicInput/BInput.mjs +132 -164
  6. package/dist/web/BasicInput/utils.js +1 -47
  7. package/dist/web/BasicInput/utils.mjs +28 -38
  8. package/dist/web/CategoryDropdown/CategoryDropdown.js +1 -307
  9. package/dist/web/CategoryDropdown/CategoryDropdown.mjs +170 -218
  10. package/dist/web/CheckBox/BCheckBox.js +1 -116
  11. package/dist/web/CheckBox/BCheckBox.mjs +70 -86
  12. package/dist/web/CheckBox/Group.js +1 -73
  13. package/dist/web/CheckBox/Group.mjs +56 -63
  14. package/dist/web/CheckBox/context.js +1 -5
  15. package/dist/web/CheckBox/context.mjs +3 -3
  16. package/dist/web/CheckBox/index.js +1 -8
  17. package/dist/web/CheckBox/index.mjs +6 -6
  18. package/dist/web/Dropdown/BDropdown.js +1 -186
  19. package/dist/web/Dropdown/BDropdown.mjs +106 -132
  20. package/dist/web/EmptyInputBox/EmptyInputBox.js +1 -77
  21. package/dist/web/EmptyInputBox/EmptyInputBox.mjs +48 -52
  22. package/dist/web/FileCard/FileCard.js +1 -157
  23. package/dist/web/FileCard/FileCard.mjs +82 -112
  24. package/dist/web/Icon/Icon.js +1 -9
  25. package/dist/web/Icon/Icon.mjs +6 -6
  26. package/dist/web/Input/Input.js +1 -181
  27. package/dist/web/Input/Input.mjs +113 -122
  28. package/dist/web/InputNumber/BInputNumber.js +1 -311
  29. package/dist/web/InputNumber/BInputNumber.mjs +167 -275
  30. package/dist/web/InputNumber/StepHandler.js +1 -69
  31. package/dist/web/InputNumber/StepHandler.mjs +32 -38
  32. package/dist/web/InputNumber/hooks/useCursor.js +1 -40
  33. package/dist/web/InputNumber/hooks/useCursor.mjs +33 -35
  34. package/dist/web/InputNumber/hooks/useFrame.js +1 -12
  35. package/dist/web/InputNumber/hooks/useFrame.mjs +6 -9
  36. package/dist/web/InputNumber/utils/decimal.js +1 -147
  37. package/dist/web/InputNumber/utils/decimal.mjs +81 -109
  38. package/dist/web/Modal/Modal.js +1 -84
  39. package/dist/web/Modal/Modal.mjs +49 -52
  40. package/dist/web/OverlayScrollbar/BOverlayScrollbar.js +1 -232
  41. package/dist/web/OverlayScrollbar/BOverlayScrollbar.mjs +125 -206
  42. package/dist/web/Pagination/Pagination.js +1 -328
  43. package/dist/web/Pagination/Pagination.mjs +178 -254
  44. package/dist/web/ProductField/ProductField.js +1 -272
  45. package/dist/web/ProductField/ProductField.mjs +143 -190
  46. package/dist/web/ProductField/arrow-up.svg.js +1 -3
  47. package/dist/web/ProductField/arrow-up.svg.mjs +2 -2
  48. package/dist/web/ProductField/checkbox-no.svg.js +1 -3
  49. package/dist/web/ProductField/checkbox-no.svg.mjs +2 -2
  50. package/dist/web/ProductField/checkbox-ok.svg.js +1 -3
  51. package/dist/web/ProductField/checkbox-ok.svg.mjs +2 -2
  52. package/dist/web/ProductField/no_data_light.svg.js +1 -3
  53. package/dist/web/ProductField/no_data_light.svg.mjs +2 -2
  54. package/dist/web/ProductField/search.svg.js +1 -3
  55. package/dist/web/ProductField/search.svg.mjs +2 -2
  56. package/dist/web/ProductField/sort.svg.js +1 -3
  57. package/dist/web/ProductField/sort.svg.mjs +2 -2
  58. package/dist/web/SkuInputCard/SkuInputCard.js +1 -276
  59. package/dist/web/SkuInputCard/SkuInputCard.mjs +149 -188
  60. package/dist/web/SkuInputCard/spin_loading_red.gif.js +1 -3
  61. package/dist/web/SkuInputCard/spin_loading_red.gif.mjs +2 -2
  62. package/dist/web/Switch/Switch.js +1 -70
  63. package/dist/web/Switch/Switch.mjs +37 -47
  64. package/dist/web/Table/BTable.js +1 -950
  65. package/dist/web/Table/BTable.mjs +521 -767
  66. package/dist/web/Table/Column.js +1 -5
  67. package/dist/web/Table/Column.mjs +2 -2
  68. package/dist/web/Table/ColumnGroup.js +1 -5
  69. package/dist/web/Table/ColumnGroup.mjs +2 -2
  70. package/dist/web/Table/utils/columns.js +1 -48
  71. package/dist/web/Table/utils/columns.mjs +30 -35
  72. package/dist/web/Table/utils/sortFilter.js +1 -84
  73. package/dist/web/Table/utils/sortFilter.mjs +52 -73
  74. package/dist/web/Tabs/BTabs.js +1 -150
  75. package/dist/web/Tabs/BTabs.mjs +98 -118
  76. package/dist/web/Tabs/TabPane.js +1 -8
  77. package/dist/web/Tabs/TabPane.mjs +4 -4
  78. package/dist/web/Tooltip/ConfirmTooltip.js +1 -26
  79. package/dist/web/Tooltip/ConfirmTooltip.mjs +19 -20
  80. package/dist/web/Tooltip/ContentTooltip.js +1 -94
  81. package/dist/web/Tooltip/ContentTooltip.mjs +62 -72
  82. package/dist/web/Tooltip/ProgressTooltip.js +1 -36
  83. package/dist/web/Tooltip/ProgressTooltip.mjs +20 -22
  84. package/dist/web/Tooltip/TooltipWrapper.js +1 -12
  85. package/dist/web/Tooltip/TooltipWrapper.mjs +8 -8
  86. package/dist/web/Tooltip/useAutoPlacement.js +1 -41
  87. package/dist/web/Tooltip/useAutoPlacement.mjs +25 -34
  88. package/dist/web.js +1 -51
  89. package/dist/web.mjs +49 -49
  90. package/package.json +1 -1
@@ -1,233 +1,152 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
- import { useRef, useState, useEffect, useCallback } from "react";
1
+ import { jsxs as se, Fragment as le, jsx as re } from "react/jsx-runtime";
2
+ import { useRef as x, useState as $, useEffect as F, useCallback as D } from "react";
3
3
  /* empty css */
4
- const MIN_THUMB_SIZE = 24;
5
- const HIDE_DELAY = 800;
6
- const EMPTY_THUMB = { visible: false, offset: 0, length: 0, cross: 0 };
7
- function BOverlayScrollbar({
8
- containerRef,
9
- targetRef,
10
- selector,
11
- direction = "vertical",
12
- size = 4,
13
- gap = 0,
14
- background,
15
- showOnHover = true,
16
- showOnScroll = true,
17
- hoverSelector,
18
- horizontalInsetStart = 0,
19
- horizontalInsetEnd = 0,
20
- horizontalThumbLength,
21
- className = ""
4
+ const Z = 24, ie = 800, U = { visible: !1, offset: 0, length: 0, cross: 0 };
5
+ function fe({
6
+ containerRef: j,
7
+ targetRef: C,
8
+ selector: q,
9
+ direction: S = "vertical",
10
+ size: g = 4,
11
+ gap: w = 0,
12
+ background: G,
13
+ showOnHover: s = !0,
14
+ showOnScroll: J = !0,
15
+ hoverSelector: A,
16
+ horizontalInsetStart: p = 0,
17
+ horizontalInsetEnd: B = 0,
18
+ horizontalThumbLength: k,
19
+ className: ce = ""
22
20
  }) {
23
- const showVertical = direction === "vertical" || direction === "both";
24
- const showHorizontal = direction === "horizontal" || direction === "both";
25
- const scrollElementRef = useRef(null);
26
- const dragRef = useRef(null);
27
- const hideTimerRef = useRef(null);
28
- const hoverTargetRef = useRef(false);
29
- const thumbHoverRef = useRef(false);
30
- const [verticalThumb, setVerticalThumb] = useState(EMPTY_THUMB);
31
- const [horizontalThumb, setHorizontalThumb] = useState(EMPTY_THUMB);
32
- const [active, setActive] = useState(!showOnHover);
33
- useEffect(() => {
34
- if (!showOnHover) setActive(true);
35
- }, [showOnHover]);
36
- const sync = useCallback(() => {
37
- const element = scrollElementRef.current;
38
- const container = containerRef.current;
39
- if (!element || !container) return;
40
- const { scrollTop, scrollHeight, clientHeight, scrollLeft, scrollWidth, clientWidth } = element;
41
- const elementRect = element.getBoundingClientRect();
42
- const containerRect = container.getBoundingClientRect();
43
- const offsetTop = elementRect.top - containerRect.top;
44
- const offsetLeft = elementRect.left - containerRect.left;
45
- if (showVertical) {
46
- const maxScroll = scrollHeight - clientHeight;
47
- if (maxScroll <= 1) {
48
- setVerticalThumb((previous) => previous.visible ? EMPTY_THUMB : previous);
49
- } else {
50
- const length = Math.max(clientHeight / scrollHeight * clientHeight, MIN_THUMB_SIZE);
51
- setVerticalThumb({
52
- visible: true,
53
- offset: offsetTop + scrollTop / maxScroll * (clientHeight - length),
54
- length,
55
- cross: offsetLeft + clientWidth - size - gap
21
+ const P = S === "vertical" || S === "both", V = S === "horizontal" || S === "both", m = x(null), a = x(null), y = x(null), h = x(!1), E = x(!1), [N, K] = $(U), [R, Q] = $(U), [oe, f] = $(!s);
22
+ F(() => {
23
+ s || f(!0);
24
+ }, [s]);
25
+ const L = D(() => {
26
+ const e = m.current, n = j.current;
27
+ if (!e || !n) return;
28
+ const { scrollTop: t, scrollHeight: o, clientHeight: c, scrollLeft: b, scrollWidth: l, clientWidth: i } = e, d = e.getBoundingClientRect(), r = n.getBoundingClientRect(), v = d.top - r.top, T = d.left - r.left;
29
+ if (P) {
30
+ const _ = o - c;
31
+ if (_ <= 1)
32
+ K((u) => u.visible ? U : u);
33
+ else {
34
+ const u = Math.max(c / o * c, Z);
35
+ K({
36
+ visible: !0,
37
+ offset: v + t / _ * (c - u),
38
+ length: u,
39
+ cross: T + i - g - w
56
40
  });
57
41
  }
58
42
  }
59
- if (showHorizontal) {
60
- const maxScroll = scrollWidth - clientWidth;
61
- const trackLength = Math.max(clientWidth - horizontalInsetStart - horizontalInsetEnd, 0);
62
- if (maxScroll <= 1 || trackLength <= 0) {
63
- setHorizontalThumb((previous) => previous.visible ? EMPTY_THUMB : previous);
64
- } else {
65
- const proportionalLength = clientWidth / scrollWidth * trackLength;
66
- const length = Math.min(trackLength, Math.max(horizontalThumbLength ?? proportionalLength, MIN_THUMB_SIZE));
67
- setHorizontalThumb({
68
- visible: true,
69
- offset: offsetLeft + horizontalInsetStart + scrollLeft / maxScroll * (trackLength - length),
70
- length,
71
- cross: offsetTop + clientHeight - size - gap
43
+ if (V) {
44
+ const _ = l - i, u = Math.max(i - p - B, 0);
45
+ if (_ <= 1 || u <= 0)
46
+ Q((H) => H.visible ? U : H);
47
+ else {
48
+ const H = i / l * u, ne = Math.min(u, Math.max(k ?? H, Z));
49
+ Q({
50
+ visible: !0,
51
+ offset: T + p + b / _ * (u - ne),
52
+ length: ne,
53
+ cross: v + c - g - w
72
54
  });
73
55
  }
74
56
  }
75
- }, [containerRef, gap, horizontalInsetEnd, horizontalInsetStart, horizontalThumbLength, showHorizontal, showVertical, size]);
76
- const wakeUp = useCallback(() => {
77
- if (!showOnHover) return;
78
- const interacting = hoverTargetRef.current || thumbHoverRef.current || dragRef.current;
79
- if (!showOnScroll && !interacting) {
80
- setActive(false);
57
+ }, [j, w, B, p, k, V, P, g]), W = D(() => {
58
+ if (!s) return;
59
+ const e = h.current || E.current || a.current;
60
+ if (!J && !e) {
61
+ f(!1);
81
62
  return;
82
63
  }
83
- setActive(true);
84
- if (hideTimerRef.current) clearTimeout(hideTimerRef.current);
85
- hideTimerRef.current = setTimeout(() => {
86
- if (!dragRef.current && !hoverTargetRef.current && !thumbHoverRef.current) setActive(false);
87
- }, HIDE_DELAY);
88
- }, [showOnHover, showOnScroll]);
89
- const onScroll = useCallback(() => {
90
- sync();
91
- wakeUp();
92
- }, [sync, wakeUp]);
93
- useEffect(() => {
94
- const container = containerRef.current;
95
- if (!container) return;
96
- if (window.getComputedStyle(container).position === "static") container.style.position = "relative";
97
- let detach;
98
- let hoverElement = null;
99
- const attach = () => {
100
- const element = (targetRef == null ? void 0 : targetRef.current) ?? (selector ? container.querySelector(selector) : container.firstElementChild);
101
- if (!element || element === scrollElementRef.current) return;
102
- detach == null ? void 0 : detach();
103
- scrollElementRef.current = element;
104
- element.addEventListener("scroll", onScroll, { passive: true });
105
- const observer = new ResizeObserver(sync);
106
- observer.observe(element);
107
- if (element.firstElementChild) observer.observe(element.firstElementChild);
108
- detach = () => {
109
- element.removeEventListener("scroll", onScroll);
110
- observer.disconnect();
111
- };
112
- sync();
64
+ f(!0), y.current && clearTimeout(y.current), y.current = setTimeout(() => {
65
+ !a.current && !h.current && !E.current && f(!1);
66
+ }, ie);
67
+ }, [s, J]), X = D(() => {
68
+ L(), W();
69
+ }, [L, W]);
70
+ F(() => {
71
+ const e = j.current;
72
+ if (!e) return;
73
+ window.getComputedStyle(e).position === "static" && (e.style.position = "relative");
74
+ let n, t = null;
75
+ const o = () => {
76
+ const r = (C == null ? void 0 : C.current) ?? (q ? e.querySelector(q) : e.firstElementChild);
77
+ if (!r || r === m.current) return;
78
+ n == null || n(), m.current = r, r.addEventListener("scroll", X, { passive: !0 });
79
+ const v = new ResizeObserver(L);
80
+ v.observe(r), r.firstElementChild && v.observe(r.firstElementChild), n = () => {
81
+ r.removeEventListener("scroll", X), v.disconnect();
82
+ }, L();
83
+ }, c = () => {
84
+ h.current = !0, s && f(!0);
85
+ }, b = () => {
86
+ h.current = !1, s && !E.current && !a.current && f(!1);
87
+ }, l = () => {
88
+ t == null || t.removeEventListener("mouseenter", c), t == null || t.removeEventListener("mouseleave", b), t = null, h.current = !1;
89
+ }, i = () => {
90
+ const r = A ? e.querySelector(A) : e;
91
+ !r || r === t || (l(), t = r, t.addEventListener("mouseenter", c), t.addEventListener("mouseleave", b));
113
92
  };
114
- const onEnter = () => {
115
- hoverTargetRef.current = true;
116
- if (showOnHover) setActive(true);
117
- };
118
- const onLeave = () => {
119
- hoverTargetRef.current = false;
120
- if (showOnHover && !thumbHoverRef.current && !dragRef.current) setActive(false);
121
- };
122
- const detachHover = () => {
123
- hoverElement == null ? void 0 : hoverElement.removeEventListener("mouseenter", onEnter);
124
- hoverElement == null ? void 0 : hoverElement.removeEventListener("mouseleave", onLeave);
125
- hoverElement = null;
126
- hoverTargetRef.current = false;
127
- };
128
- const attachHover = () => {
129
- const next = hoverSelector ? container.querySelector(hoverSelector) : container;
130
- if (!next || next === hoverElement) return;
131
- detachHover();
132
- hoverElement = next;
133
- hoverElement.addEventListener("mouseenter", onEnter);
134
- hoverElement.addEventListener("mouseleave", onLeave);
135
- };
136
- attach();
137
- attachHover();
138
- const mutation = new MutationObserver(() => {
139
- if (!scrollElementRef.current || !container.contains(scrollElementRef.current)) attach();
140
- if (hoverElement && !container.contains(hoverElement)) detachHover();
141
- if (!hoverElement) attachHover();
142
- sync();
93
+ o(), i();
94
+ const d = new MutationObserver(() => {
95
+ (!m.current || !e.contains(m.current)) && o(), t && !e.contains(t) && l(), t || i(), L();
143
96
  });
144
- mutation.observe(container, { childList: true, subtree: true });
145
- return () => {
146
- mutation.disconnect();
147
- detach == null ? void 0 : detach();
148
- detachHover();
149
- scrollElementRef.current = null;
150
- if (hideTimerRef.current) clearTimeout(hideTimerRef.current);
151
- };
152
- }, [containerRef, hoverSelector, onScroll, selector, showOnHover, sync, targetRef]);
153
- const onDragMove = useCallback((event) => {
154
- const element = scrollElementRef.current;
155
- const start = dragRef.current;
156
- if (!element || !start) return;
157
- const vertical = start.axis === "vertical";
158
- const clientSize = vertical ? element.clientHeight : element.clientWidth;
159
- const scrollSize = vertical ? element.scrollHeight : element.scrollWidth;
160
- const trackLength = vertical ? clientSize : Math.max(clientSize - horizontalInsetStart - horizontalInsetEnd, 0);
161
- const proportionalLength = clientSize / scrollSize * trackLength;
162
- const thumbLength = Math.min(trackLength, Math.max(vertical ? proportionalLength : horizontalThumbLength ?? proportionalLength, MIN_THUMB_SIZE));
163
- const trackRange = trackLength - thumbLength;
164
- if (trackRange <= 0) return;
165
- const delta = (vertical ? event.clientY : event.clientX) - start.client;
166
- const moved = start.scroll + delta * ((scrollSize - clientSize) / trackRange);
167
- if (vertical) element.scrollTop = moved;
168
- else element.scrollLeft = moved;
169
- }, [horizontalInsetEnd, horizontalInsetStart, horizontalThumbLength]);
170
- const onDragEnd = useCallback(() => {
171
- const wasDragging = Boolean(dragRef.current);
172
- dragRef.current = null;
173
- document.body.style.userSelect = "";
174
- document.removeEventListener("mousemove", onDragMove);
175
- document.removeEventListener("mouseup", onDragEnd);
176
- if (wasDragging) wakeUp();
177
- }, [onDragMove, wakeUp]);
178
- const startDrag = (axis) => (event) => {
179
- const element = scrollElementRef.current;
180
- if (!element) return;
181
- event.preventDefault();
182
- event.stopPropagation();
183
- dragRef.current = {
184
- axis,
185
- client: axis === "vertical" ? event.clientY : event.clientX,
186
- scroll: axis === "vertical" ? element.scrollTop : element.scrollLeft
97
+ return d.observe(e, { childList: !0, subtree: !0 }), () => {
98
+ d.disconnect(), n == null || n(), l(), m.current = null, y.current && clearTimeout(y.current);
187
99
  };
188
- document.body.style.userSelect = "none";
189
- document.addEventListener("mousemove", onDragMove);
190
- document.addEventListener("mouseup", onDragEnd);
191
- };
192
- useEffect(() => () => {
193
- dragRef.current = null;
194
- document.body.style.userSelect = "";
195
- document.removeEventListener("mousemove", onDragMove);
196
- document.removeEventListener("mouseup", onDragEnd);
197
- }, [onDragEnd, onDragMove]);
198
- const thumbClassName = ["bj-overlay-scrollbar__thumb", active && "bj-overlay-scrollbar__thumb--active", className].filter(Boolean).join(" ");
199
- const colorStyle = background ? { "--bj-overlay-scrollbar-bg": background } : void 0;
200
- const onThumbEnter = () => {
201
- thumbHoverRef.current = true;
202
- if (showOnHover) setActive(true);
100
+ }, [j, A, X, q, s, L, C]);
101
+ const M = D((e) => {
102
+ const n = m.current, t = a.current;
103
+ if (!n || !t) return;
104
+ const o = t.axis === "vertical", c = o ? n.clientHeight : n.clientWidth, b = o ? n.scrollHeight : n.scrollWidth, l = o ? c : Math.max(c - p - B, 0), i = c / b * l, d = Math.min(l, Math.max(o ? i : k ?? i, Z)), r = l - d;
105
+ if (r <= 0) return;
106
+ const v = (o ? e.clientY : e.clientX) - t.client, T = t.scroll + v * ((b - c) / r);
107
+ o ? n.scrollTop = T : n.scrollLeft = T;
108
+ }, [B, p, k]), Y = D(() => {
109
+ const e = !!a.current;
110
+ a.current = null, document.body.style.userSelect = "", document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", Y), e && W();
111
+ }, [M, W]), I = (e) => (n) => {
112
+ const t = m.current;
113
+ t && (n.preventDefault(), n.stopPropagation(), a.current = {
114
+ axis: e,
115
+ client: e === "vertical" ? n.clientY : n.clientX,
116
+ scroll: e === "vertical" ? t.scrollTop : t.scrollLeft
117
+ }, document.body.style.userSelect = "none", document.addEventListener("mousemove", M), document.addEventListener("mouseup", Y));
203
118
  };
204
- const onThumbLeave = () => {
205
- thumbHoverRef.current = false;
206
- if (showOnHover && !hoverTargetRef.current && !dragRef.current) setActive(false);
119
+ F(() => () => {
120
+ a.current = null, document.body.style.userSelect = "", document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", Y);
121
+ }, [Y, M]);
122
+ const z = ["bj-overlay-scrollbar__thumb", oe && "bj-overlay-scrollbar__thumb--active", ce].filter(Boolean).join(" "), O = G ? { "--bj-overlay-scrollbar-bg": G } : void 0, ee = () => {
123
+ E.current = !0, s && f(!0);
124
+ }, te = () => {
125
+ E.current = !1, s && !h.current && !a.current && f(!1);
207
126
  };
208
- return /* @__PURE__ */ jsxs(Fragment, { children: [
209
- showVertical && verticalThumb.visible && /* @__PURE__ */ jsx(
127
+ return /* @__PURE__ */ se(le, { children: [
128
+ P && N.visible && /* @__PURE__ */ re(
210
129
  "div",
211
130
  {
212
- className: `${thumbClassName} bj-overlay-scrollbar__thumb--vertical`,
213
- onMouseDown: startDrag("vertical"),
214
- onMouseEnter: onThumbEnter,
215
- onMouseLeave: onThumbLeave,
216
- style: { ...colorStyle, top: verticalThumb.offset, left: verticalThumb.cross, height: verticalThumb.length, width: size }
131
+ className: `${z} bj-overlay-scrollbar__thumb--vertical`,
132
+ onMouseDown: I("vertical"),
133
+ onMouseEnter: ee,
134
+ onMouseLeave: te,
135
+ style: { ...O, top: N.offset, left: N.cross, height: N.length, width: g }
217
136
  }
218
137
  ),
219
- showHorizontal && horizontalThumb.visible && /* @__PURE__ */ jsx(
138
+ V && R.visible && /* @__PURE__ */ re(
220
139
  "div",
221
140
  {
222
- className: `${thumbClassName} bj-overlay-scrollbar__thumb--horizontal`,
223
- onMouseDown: startDrag("horizontal"),
224
- onMouseEnter: onThumbEnter,
225
- onMouseLeave: onThumbLeave,
226
- style: { ...colorStyle, left: horizontalThumb.offset, top: horizontalThumb.cross, width: horizontalThumb.length, height: size }
141
+ className: `${z} bj-overlay-scrollbar__thumb--horizontal`,
142
+ onMouseDown: I("horizontal"),
143
+ onMouseEnter: ee,
144
+ onMouseLeave: te,
145
+ style: { ...O, left: R.offset, top: R.cross, width: R.length, height: g }
227
146
  }
228
147
  )
229
148
  ] });
230
149
  }
231
150
  export {
232
- BOverlayScrollbar as default
151
+ fe as default
233
152
  };