st-comp 0.0.69 → 0.0.71

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/lib/ChartLayout.cjs.js +1 -0
  2. package/lib/ChartLayout.es.js +71 -0
  3. package/lib/Dialog.cjs.js +1 -0
  4. package/lib/Dialog.es.js +89 -0
  5. package/lib/HeatMap.cjs.js +1 -0
  6. package/lib/HeatMap.es.js +117 -0
  7. package/lib/Kline.cjs.js +1 -0
  8. package/lib/Kline.es.js +2631 -0
  9. package/lib/KlineNew.cjs.js +1 -0
  10. package/lib/KlineNew.es.js +614 -0
  11. package/lib/LinearLegend.cjs.js +1 -0
  12. package/lib/LinearLegend.es.js +62 -0
  13. package/lib/Map.cjs.js +1 -0
  14. package/lib/{bundle.js → Map.es.js} +43 -41504
  15. package/lib/Pagination.cjs.js +1 -0
  16. package/lib/Pagination.es.js +624 -0
  17. package/lib/Pie.cjs.js +2 -0
  18. package/lib/Pie.es.js +159 -0
  19. package/lib/Table.cjs.js +20 -0
  20. package/lib/Table.es.js +4006 -0
  21. package/lib/TreeMap.cjs.js +2 -0
  22. package/lib/TreeMap.es.js +162 -0
  23. package/lib/VarietySearch.cjs.js +12 -0
  24. package/lib/VarietySearch.es.js +3335 -0
  25. package/lib/VirtualTable.cjs.js +13 -0
  26. package/lib/VirtualTable.es.js +2679 -0
  27. package/lib/_commonjsHelpers-10dfc225.js +8 -0
  28. package/lib/_commonjsHelpers-87b0abe8.cjs +1 -0
  29. package/lib/_plugin-vue_export-helper-dad06003.js +9 -0
  30. package/lib/_plugin-vue_export-helper-f246444f.cjs +1 -0
  31. package/lib/base-4865d432.cjs +9 -0
  32. package/lib/base-a240bf62.js +762 -0
  33. package/lib/bundle.cjs.js +1 -0
  34. package/lib/bundle.es.js +46 -0
  35. package/lib/bundle.umd-4967d574.js +16091 -0
  36. package/lib/bundle.umd-c5698c50.cjs +71 -0
  37. package/lib/castArray-3341cbb4.cjs +1 -0
  38. package/lib/castArray-a723a736.js +10 -0
  39. package/lib/config-provider-3db4dac6.js +148 -0
  40. package/lib/config-provider-cf4edc1e.cjs +1 -0
  41. package/lib/el-button-c24606d0.cjs +1 -0
  42. package/lib/el-button-fa6a5742.js +231 -0
  43. package/lib/el-empty-282e5e93.js +204 -0
  44. package/lib/el-empty-608948d9.cjs +1 -0
  45. package/lib/el-icon-7718f55e.cjs +1 -0
  46. package/lib/el-icon-d9ef9ccc.js +592 -0
  47. package/lib/el-overlay-7fceb816.cjs +5 -0
  48. package/lib/el-overlay-9b7bdd18.js +678 -0
  49. package/lib/el-scrollbar-7dc53299.js +248 -0
  50. package/lib/el-scrollbar-bc381e35.cjs +1 -0
  51. package/lib/el-select-85ed2643.js +1894 -0
  52. package/lib/el-select-a50741c1.cjs +9 -0
  53. package/lib/el-tag-308f715a.js +2416 -0
  54. package/lib/el-tag-87fd3960.cjs +1 -0
  55. package/lib/el-tooltip-0ea8fbf8.cjs +1 -0
  56. package/lib/el-tooltip-4ed993c7.js +1 -0
  57. package/lib/focus-trap-2a734f35.cjs +3 -0
  58. package/lib/focus-trap-6922b96b.js +376 -0
  59. package/lib/index-1508a06b.js +556 -0
  60. package/lib/index-48a9f60d.cjs +1 -0
  61. package/lib/index-657047bb.js +513 -0
  62. package/lib/index-eea0bcb3.cjs +1 -0
  63. package/lib/index.esm-8d9a2abe.js +2432 -0
  64. package/lib/index.esm-94a95a2a.cjs +3 -0
  65. package/lib/raf-5e5c53db.cjs +1 -0
  66. package/lib/raf-fc8a56cf.js +6 -0
  67. package/lib/scroll-bb8039ba.cjs +1 -0
  68. package/lib/scroll-cfdae01b.js +35 -0
  69. package/lib/style.css +1 -1
  70. package/lib/typescript-7ae59c4c.js +4 -0
  71. package/lib/typescript-b63f8e83.cjs +1 -0
  72. package/lib/vnode-a9714179.js +14 -0
  73. package/lib/vnode-abafec9e.cjs +1 -0
  74. package/lib/zh-cn-92978806.js +134 -0
  75. package/lib/zh-cn-d4df7172.cjs +1 -0
  76. package/package.json +3 -3
  77. package/packages/ChartLayout/index.ts +5 -5
  78. package/packages/Dialog/index.ts +5 -5
  79. package/packages/HeatMap/index.ts +5 -5
  80. package/packages/Kline/componentsNew/KlineUtils/index.vue +2 -3
  81. package/packages/LinearLegend/index.ts +5 -5
  82. package/packages/Map/index.ts +5 -5
  83. package/packages/Pagination/index.ts +5 -5
  84. package/packages/Pie/index.ts +5 -5
  85. package/packages/Table/index.ts +5 -5
  86. package/packages/TreeMap/index.ts +5 -5
  87. package/packages/VarietySearch/index.ts +5 -5
  88. package/packages/VirtualTable/index.ts +5 -5
  89. package/vitePlugins/createExportFile.ts +5 -5
  90. package/lib/bundle.umd.cjs +0 -139
@@ -0,0 +1,248 @@
1
+ import { a7 as z, ab as B, C as U, ac as G, ad as Q, ae as X, af as Y, T as q, ag as D, l as E, U as K } from "./base-a240bf62.js";
2
+ import { watch as M, ref as V } from "vue";
3
+ function h(e) {
4
+ var t;
5
+ const n = B(e);
6
+ return (t = n == null ? void 0 : n.$el) != null ? t : n;
7
+ }
8
+ const T = U ? window : void 0;
9
+ function b(...e) {
10
+ let t, n, r, l;
11
+ if (G(e[0]) || Array.isArray(e[0]) ? ([n, r, l] = e, t = T) : [t, n, r, l] = e, !t)
12
+ return Q;
13
+ Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
14
+ const p = [], u = () => {
15
+ p.forEach((f) => f()), p.length = 0;
16
+ }, s = (f, d, i, a) => (f.addEventListener(d, i, a), () => f.removeEventListener(d, i, a)), c = M(() => [h(t), B(l)], ([f, d]) => {
17
+ u(), f && p.push(...n.flatMap((i) => r.map((a) => s(f, i, a, d))));
18
+ }, { immediate: !0, flush: "post" }), m = () => {
19
+ c(), u();
20
+ };
21
+ return z(m), m;
22
+ }
23
+ let x = !1;
24
+ function be(e, t, n = {}) {
25
+ const { window: r = T, ignore: l = [], capture: p = !0, detectIframe: u = !1 } = n;
26
+ if (!r)
27
+ return;
28
+ q && !x && (x = !0, Array.from(r.document.body.children).forEach((i) => i.addEventListener("click", Q)));
29
+ let s = !0;
30
+ const c = (i) => l.some((a) => {
31
+ if (typeof a == "string")
32
+ return Array.from(r.document.querySelectorAll(a)).some((O) => O === i.target || i.composedPath().includes(O));
33
+ {
34
+ const O = h(a);
35
+ return O && (i.target === O || i.composedPath().includes(O));
36
+ }
37
+ }), f = [
38
+ b(r, "click", (i) => {
39
+ const a = h(e);
40
+ if (!(!a || a === i.target || i.composedPath().includes(a))) {
41
+ if (i.detail === 0 && (s = !c(i)), !s) {
42
+ s = !0;
43
+ return;
44
+ }
45
+ t(i);
46
+ }
47
+ }, { passive: !0, capture: p }),
48
+ b(r, "pointerdown", (i) => {
49
+ const a = h(e);
50
+ a && (s = !i.composedPath().includes(a) && !c(i));
51
+ }, { passive: !0 }),
52
+ u && b(r, "blur", (i) => {
53
+ var a;
54
+ const O = h(e);
55
+ ((a = r.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(O != null && O.contains(r.document.activeElement)) && t(i);
56
+ })
57
+ ].filter(Boolean);
58
+ return () => f.forEach((i) => i());
59
+ }
60
+ function J(e, t = !1) {
61
+ const n = V(), r = () => n.value = !!e();
62
+ return r(), X(r, t), n;
63
+ }
64
+ const A = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__";
65
+ A[W] = A[W] || {};
66
+ var k = Object.getOwnPropertySymbols, Z = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable, te = (e, t) => {
67
+ var n = {};
68
+ for (var r in e)
69
+ Z.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
70
+ if (e != null && k)
71
+ for (var r of k(e))
72
+ t.indexOf(r) < 0 && ee.call(e, r) && (n[r] = e[r]);
73
+ return n;
74
+ };
75
+ function _e(e, t, n = {}) {
76
+ const r = n, { window: l = T } = r, p = te(r, ["window"]);
77
+ let u;
78
+ const s = J(() => l && "ResizeObserver" in l), c = () => {
79
+ u && (u.disconnect(), u = void 0);
80
+ }, m = M(() => h(e), (d) => {
81
+ c(), s.value && l && d && (u = new ResizeObserver(t), u.observe(d, p));
82
+ }, { immediate: !0, flush: "post" }), f = () => {
83
+ c(), m();
84
+ };
85
+ return z(f), {
86
+ isSupported: s,
87
+ stop: f
88
+ };
89
+ }
90
+ var C;
91
+ (function(e) {
92
+ e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
93
+ })(C || (C = {}));
94
+ var ne = Object.defineProperty, L = Object.getOwnPropertySymbols, re = Object.prototype.hasOwnProperty, ie = Object.prototype.propertyIsEnumerable, N = (e, t, n) => t in e ? ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, se = (e, t) => {
95
+ for (var n in t || (t = {}))
96
+ re.call(t, n) && N(e, n, t[n]);
97
+ if (L)
98
+ for (var n of L(t))
99
+ ie.call(t, n) && N(e, n, t[n]);
100
+ return e;
101
+ };
102
+ const ae = {
103
+ easeInSine: [0.12, 0, 0.39, 0],
104
+ easeOutSine: [0.61, 1, 0.88, 1],
105
+ easeInOutSine: [0.37, 0, 0.63, 1],
106
+ easeInQuad: [0.11, 0, 0.5, 0],
107
+ easeOutQuad: [0.5, 1, 0.89, 1],
108
+ easeInOutQuad: [0.45, 0, 0.55, 1],
109
+ easeInCubic: [0.32, 0, 0.67, 0],
110
+ easeOutCubic: [0.33, 1, 0.68, 1],
111
+ easeInOutCubic: [0.65, 0, 0.35, 1],
112
+ easeInQuart: [0.5, 0, 0.75, 0],
113
+ easeOutQuart: [0.25, 1, 0.5, 1],
114
+ easeInOutQuart: [0.76, 0, 0.24, 1],
115
+ easeInQuint: [0.64, 0, 0.78, 0],
116
+ easeOutQuint: [0.22, 1, 0.36, 1],
117
+ easeInOutQuint: [0.83, 0, 0.17, 1],
118
+ easeInExpo: [0.7, 0, 0.84, 0],
119
+ easeOutExpo: [0.16, 1, 0.3, 1],
120
+ easeInOutExpo: [0.87, 0, 0.13, 1],
121
+ easeInCirc: [0.55, 0, 1, 0.45],
122
+ easeOutCirc: [0, 0.55, 0.45, 1],
123
+ easeInOutCirc: [0.85, 0, 0.15, 1],
124
+ easeInBack: [0.36, 0, 0.66, -0.56],
125
+ easeOutBack: [0.34, 1.56, 0.64, 1],
126
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
127
+ };
128
+ se({
129
+ linear: Y
130
+ }, ae);
131
+ var oe = /\s/;
132
+ function ue(e) {
133
+ for (var t = e.length; t-- && oe.test(e.charAt(t)); )
134
+ ;
135
+ return t;
136
+ }
137
+ var le = /^\s+/;
138
+ function ce(e) {
139
+ return e && e.slice(0, ue(e) + 1).replace(le, "");
140
+ }
141
+ var R = 0 / 0, fe = /^[-+]0x[0-9a-f]+$/i, de = /^0b[01]+$/i, pe = /^0o[0-7]+$/i, me = parseInt;
142
+ function $(e) {
143
+ if (typeof e == "number")
144
+ return e;
145
+ if (D(e))
146
+ return R;
147
+ if (E(e)) {
148
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
149
+ e = E(t) ? t + "" : t;
150
+ }
151
+ if (typeof e != "string")
152
+ return e === 0 ? e : +e;
153
+ e = ce(e);
154
+ var n = de.test(e);
155
+ return n || pe.test(e) ? me(e.slice(2), n ? 2 : 8) : fe.test(e) ? R : +e;
156
+ }
157
+ var Oe = function() {
158
+ return K.Date.now();
159
+ };
160
+ const _ = Oe;
161
+ var ve = "Expected a function", he = Math.max, ye = Math.min;
162
+ function Ee(e, t, n) {
163
+ var r, l, p, u, s, c, m = 0, f = !1, d = !1, i = !0;
164
+ if (typeof e != "function")
165
+ throw new TypeError(ve);
166
+ t = $(t) || 0, E(n) && (f = !!n.leading, d = "maxWait" in n, p = d ? he($(n.maxWait) || 0, t) : p, i = "trailing" in n ? !!n.trailing : i);
167
+ function a(o) {
168
+ var v = r, y = l;
169
+ return r = l = void 0, m = o, u = e.apply(y, v), u;
170
+ }
171
+ function O(o) {
172
+ return m = o, s = setTimeout(g, t), f ? a(o) : u;
173
+ }
174
+ function j(o) {
175
+ var v = o - c, y = o - m, P = t - v;
176
+ return d ? ye(P, p - y) : P;
177
+ }
178
+ function w(o) {
179
+ var v = o - c, y = o - m;
180
+ return c === void 0 || v >= t || v < 0 || d && y >= p;
181
+ }
182
+ function g() {
183
+ var o = _();
184
+ if (w(o))
185
+ return S(o);
186
+ s = setTimeout(g, j(o));
187
+ }
188
+ function S(o) {
189
+ return s = void 0, i && r ? a(o) : (r = l = void 0, u);
190
+ }
191
+ function F() {
192
+ s !== void 0 && clearTimeout(s), m = 0, r = c = l = s = void 0;
193
+ }
194
+ function H() {
195
+ return s === void 0 ? u : S(_());
196
+ }
197
+ function I() {
198
+ var o = _(), v = w(o);
199
+ if (r = arguments, l = this, c = o, v) {
200
+ if (s === void 0)
201
+ return O(c);
202
+ if (d)
203
+ return clearTimeout(s), s = setTimeout(g, t), a(c);
204
+ }
205
+ return s === void 0 && (s = setTimeout(g, t)), u;
206
+ }
207
+ return I.cancel = F, I.flush = H, I;
208
+ }
209
+ const Te = 4, we = {
210
+ vertical: {
211
+ offset: "offsetHeight",
212
+ scroll: "scrollTop",
213
+ scrollSize: "scrollHeight",
214
+ size: "height",
215
+ key: "vertical",
216
+ axis: "Y",
217
+ client: "clientY",
218
+ direction: "top"
219
+ },
220
+ horizontal: {
221
+ offset: "offsetWidth",
222
+ scroll: "scrollLeft",
223
+ scrollSize: "scrollWidth",
224
+ size: "width",
225
+ key: "horizontal",
226
+ axis: "X",
227
+ client: "clientX",
228
+ direction: "left"
229
+ }
230
+ }, Se = ({
231
+ move: e,
232
+ size: t,
233
+ bar: n
234
+ }) => ({
235
+ [n.size]: t,
236
+ transform: `translate${n.axis}(${e}%)`
237
+ });
238
+ export {
239
+ we as B,
240
+ Te as G,
241
+ b as a,
242
+ h as b,
243
+ Ee as d,
244
+ be as o,
245
+ Se as r,
246
+ $ as t,
247
+ _e as u
248
+ };
@@ -0,0 +1 @@
1
+ "use strict";const c=require("./base-4865d432.cjs"),T=require("vue");function y(e){var t;const n=c.resolveUnref(e);return(t=n==null?void 0:n.$el)!=null?t:n}const w=c.isClient?window:void 0;function g(...e){let t,n,r,l;if(c.isString$1(e[0])||Array.isArray(e[0])?([n,r,l]=e,t=w):[t,n,r,l]=e,!t)return c.noop;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const m=[],u=()=>{m.forEach(d=>d()),m.length=0},s=(d,p,i,o)=>(d.addEventListener(p,i,o),()=>d.removeEventListener(p,i,o)),f=T.watch(()=>[y(t),c.resolveUnref(l)],([d,p])=>{u(),d&&m.push(...n.flatMap(i=>r.map(o=>s(d,i,o,p))))},{immediate:!0,flush:"post"}),O=()=>{f(),u()};return c.tryOnScopeDispose(O),O}let $=!1;function Q(e,t,n={}){const{window:r=w,ignore:l=[],capture:m=!0,detectIframe:u=!1}=n;if(!r)return;c.isIOS&&!$&&($=!0,Array.from(r.document.body.children).forEach(i=>i.addEventListener("click",c.noop)));let s=!0;const f=i=>l.some(o=>{if(typeof o=="string")return Array.from(r.document.querySelectorAll(o)).some(v=>v===i.target||i.composedPath().includes(v));{const v=y(o);return v&&(i.target===v||i.composedPath().includes(v))}}),d=[g(r,"click",i=>{const o=y(e);if(!(!o||o===i.target||i.composedPath().includes(o))){if(i.detail===0&&(s=!f(i)),!s){s=!0;return}t(i)}},{passive:!0,capture:m}),g(r,"pointerdown",i=>{const o=y(e);o&&(s=!i.composedPath().includes(o)&&!f(i))},{passive:!0}),u&&g(r,"blur",i=>{var o;const v=y(e);((o=r.document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&!(v!=null&&v.contains(r.document.activeElement))&&t(i)})].filter(Boolean);return()=>d.forEach(i=>i())}function F(e,t=!1){const n=T.ref(),r=()=>n.value=!!e();return r(),c.tryOnMounted(r,t),n}const k=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W="__vueuse_ssr_handlers__";k[W]=k[W]||{};var C=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,G=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&C)for(var r of C(e))t.indexOf(r)<0&&U.call(e,r)&&(n[r]=e[r]);return n};function q(e,t,n={}){const r=n,{window:l=w}=r,m=G(r,["window"]);let u;const s=F(()=>l&&"ResizeObserver"in l),f=()=>{u&&(u.disconnect(),u=void 0)},O=T.watch(()=>y(e),p=>{f(),s.value&&l&&p&&(u=new ResizeObserver(t),u.observe(p,m))},{immediate:!0,flush:"post"}),d=()=>{f(),O()};return c.tryOnScopeDispose(d),{isSupported:s,stop:d}}var L;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(L||(L={}));var X=Object.defineProperty,N=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,R=(e,t,n)=>t in e?X(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&R(e,n,t[n]);if(N)for(var n of N(t))Y.call(t,n)&&R(e,n,t[n]);return e};const V={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};K({linear:c.identity},V);var J=/\s/;function Z(e){for(var t=e.length;t--&&J.test(e.charAt(t)););return t}var ee=/^\s+/;function te(e){return e&&e.slice(0,Z(e)+1).replace(ee,"")}var z=0/0,ne=/^[-+]0x[0-9a-f]+$/i,re=/^0b[01]+$/i,ie=/^0o[0-7]+$/i,se=parseInt;function S(e){if(typeof e=="number")return e;if(c.isSymbol$1(e))return z;if(c.isObject$1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=c.isObject$1(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=te(e);var n=re.test(e);return n||ie.test(e)?se(e.slice(2),n?2:8):ne.test(e)?z:+e}var oe=function(){return c.root.Date.now()};const E=oe;var ae="Expected a function",ue=Math.max,ce=Math.min;function le(e,t,n){var r,l,m,u,s,f,O=0,d=!1,p=!1,i=!0;if(typeof e!="function")throw new TypeError(ae);t=S(t)||0,c.isObject$1(n)&&(d=!!n.leading,p="maxWait"in n,m=p?ue(S(n.maxWait)||0,t):m,i="trailing"in n?!!n.trailing:i);function o(a){var h=r,b=l;return r=l=void 0,O=a,u=e.apply(b,h),u}function v(a){return O=a,s=setTimeout(I,t),d?o(a):u}function B(a){var h=a-f,b=a-O,x=t-h;return p?ce(x,m-b):x}function P(a){var h=a-f,b=a-O;return f===void 0||h>=t||h<0||p&&b>=m}function I(){var a=E();if(P(a))return A(a);s=setTimeout(I,B(a))}function A(a){return s=void 0,i&&r?o(a):(r=l=void 0,u)}function j(){s!==void 0&&clearTimeout(s),O=0,r=f=l=s=void 0}function M(){return s===void 0?u:A(E())}function _(){var a=E(),h=P(a);if(r=arguments,l=this,f=a,h){if(s===void 0)return v(f);if(p)return clearTimeout(s),s=setTimeout(I,t),o(f)}return s===void 0&&(s=setTimeout(I,t)),u}return _.cancel=j,_.flush=M,_}const fe=4,de={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},pe=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`});exports.BAR_MAP=de;exports.GAP=fe;exports.debounce=le;exports.onClickOutside=Q;exports.renderThumbStyle=pe;exports.toNumber=S;exports.unrefElement=y;exports.useEventListener=g;exports.useResizeObserver=q;