aptechka 0.56.6 → 0.56.8
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.
|
@@ -5,6 +5,7 @@ export interface BillboardEvents {
|
|
|
5
5
|
}
|
|
6
6
|
export declare class BillboardElement extends HTMLElement {
|
|
7
7
|
#private;
|
|
8
|
+
handleSet: ((number: number) => boolean) | undefined;
|
|
8
9
|
get counter(): number;
|
|
9
10
|
get itemElements(): HTMLElement[];
|
|
10
11
|
addItem(element: HTMLElement): void;
|
package/lib/billboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var F=s=>{throw TypeError(s)};var _=(s,r,
|
|
1
|
+
"use strict";var F=s=>{throw TypeError(s)};var _=(s,r,e)=>r.has(s)||F("Cannot "+e);var t=(s,r,e)=>(_(s,r,"read from private field"),e?e.call(s):r.get(s)),i=(s,r,e)=>r.has(s)?F("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(s):r.set(s,e),a=(s,r,e,n)=>(_(s,r,"write to private field"),n?n.call(s,e):r.set(s,e),e),d=(s,r,e)=>(_(s,r,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../index-Cqw2NKev.cjs"),z=require("../dom-JBOkFLTh.cjs"),T=require("../css-property/index.cjs"),G=require("../events-KVanG9sR.cjs"),J=require("../gestures-C7gbKx11.cjs"),K=require("../number-DyefJ5a1.cjs");var v,p,g,C,c,b,l,j,M,k,q,P,A,H;class I extends HTMLElement{constructor(){super(...arguments);i(this,l);i(this,v,new T.CSSProperty(this,"--autoplay",!1));i(this,p,new T.CSSProperty(this,"--swipe","x"));i(this,g);i(this,C,!1);i(this,c,[]);i(this,b,0);i(this,k,e=>{a(this,C,e.isIntersecting),t(this,C)?d(this,l,M).call(this):clearInterval(t(this,g))});i(this,q,()=>{clearInterval(t(this,g)),t(this,C)&&a(this,g,setInterval(t(this,A),parseFloat(t(this,v).current||"0")*1e3))});i(this,A,()=>{d(this,l,P).call(this,t(this,b)+1)});i(this,H,e=>{if(!t(this,p).current)return;let n=0;J.setupDrag(h=>{const E=e.x-h.x,D=e.y-h.y;t(this,p).current==="x"?Math.abs(E)>Math.abs(D)&&(n=Math.sign(E)):t(this,p).current==="y"&&Math.abs(D)>Math.abs(E)&&(n=Math.sign(D))},()=>{this.shift(n)})})}get counter(){return t(this,b)}get itemElements(){return t(this,c)}addItem(e){t(this,c).push(e),d(this,l,j).call(this)}set(e){(!this.handleSet||this.handleSet(e))&&(d(this,l,P).call(this,e),d(this,l,M).call(this))}shift(e){this.set(t(this,b)+e)}connectedCallback(){var e;a(this,c,[...this.querySelectorAll(`[data-billboard-item="${this.id||""}"]`)]),(e=t(this,c)[0])==null||e.classList.add("current"),d(this,l,j).call(this),t(this,v).subscribe(n=>{n.current?(x.intersector.subscribe(this,t(this,k)),d(this,l,M).call(this)):(a(this,C,!0),x.intersector.unsubscribe(t(this,k)),clearInterval(t(this,g)),d(this,l,P).call(this,0))}),t(this,v).observe(),t(this,p).observe(),this.addEventListener("pointerdown",t(this,H))}disconnectedCallback(){t(this,v).unobserve(),t(this,p).unobserve(),x.intersector.unsubscribe(t(this,k)),clearInterval(t(this,g))}}v=new WeakMap,p=new WeakMap,g=new WeakMap,C=new WeakMap,c=new WeakMap,b=new WeakMap,l=new WeakSet,j=function(){t(this,c).length>1?this.classList.add("has-length"):this.classList.remove("has-length")},M=function(){t(this,v).current!==!1&&t(this,q).call(this)},k=new WeakMap,q=new WeakMap,P=function(e){a(this,b,K.loopNumber(e,t(this,c).length)),t(this,c).forEach((n,h)=>{h===t(this,b)?n.classList.add("current"):n.classList.remove("current")}),G.dispatchEvent(this,"billboardChange",{detail:{counter:t(this,b)}}),setTimeout(()=>{window.dispatchEvent(new Event("resize"))},0)},A=new WeakMap,H=new WeakMap;customElements.get("e-billboard")||customElements.define("e-billboard",I);var o,u,y,S;class N extends HTMLElement{constructor(){super(...arguments);i(this,o,null);i(this,u,[]);i(this,y,e=>{const n=e.currentTarget,h=t(this,u).findIndex(E=>E===n);h>=0&&t(this,o).set(h)});i(this,S,()=>{t(this,u).forEach((e,n)=>{n===t(this,o).counter?e.classList.add("current"):e.classList.remove("current")})})}connectedCallback(){a(this,o,z.findParentElement(this,I)),t(this,o)&&customElements.whenDefined("e-billboard").then(()=>{var e;if(this.isConnected){const n=t(this,o).itemElements.length;for(let h=0;h<n;h++){const E=document.createElement("button");t(this,u).push(E),this.appendChild(E)}t(this,u).forEach(h=>{h.addEventListener("click",t(this,y))}),(e=t(this,o))==null||e.addEventListener("billboardChange",t(this,S)),t(this,S).call(this)}})}disconnectedCallback(){var e;t(this,u).forEach(n=>{n.removeEventListener("click",t(this,y))}),(e=t(this,o))==null||e.removeEventListener("billboardChange",t(this,S)),this.innerHTML="",a(this,u,[])}}o=new WeakMap,u=new WeakMap,y=new WeakMap,S=new WeakMap;x.isBrowser&&!customElements.get("e-billboard-bullets")&&customElements.define("e-billboard-bullets",N);var m,f,L;class O extends HTMLElement{constructor(){super();i(this,m,new T.CSSProperty(this,"--index",0));i(this,f,null);i(this,L,()=>{var e;t(this,m).current===((e=t(this,f))==null?void 0:e.counter)?this.classList.add("current"):this.classList.remove("current")});this.addEventListener("click",e=>{t(this,f)&&(!this.handleClick||this.handleClick(e))&&t(this,f).set(t(this,m).current)})}connectedCallback(){var e;this.tabIndex=0,a(this,f,z.findParentElement(this,I)),(e=t(this,f))==null||e.addEventListener("billboardChange",t(this,L)),customElements.whenDefined("e-billboard").then(()=>{this.isConnected&&t(this,L).call(this)}),t(this,m).subscribe(t(this,L)),t(this,m).observe()}disconnectedCallback(){var e;this.removeAttribute("tabindex"),t(this,m).unsubscribe(t(this,L)),t(this,m).unobserve(),(e=t(this,f))==null||e.removeEventListener("billboardChange",t(this,L))}}m=new WeakMap,f=new WeakMap,L=new WeakMap;x.isBrowser&&!customElements.get("e-billboard-set-button")&&customElements.define("e-billboard-set-button",O);var w,B;class $ extends HTMLElement{constructor(){super();i(this,w,new T.CSSProperty(this,"--step",1));i(this,B,null);this.addEventListener("click",e=>{t(this,B)&&(!this.handleClick||this.handleClick(e))&&t(this,B).shift(t(this,w).current)})}connectedCallback(){this.tabIndex=0,a(this,B,z.findParentElement(this,I)),t(this,w).observe()}disconnectedCallback(){this.removeAttribute("tabindex"),t(this,w).unobserve()}}w=new WeakMap,B=new WeakMap;x.isBrowser&&!customElements.get("e-billboard-step-button")&&customElements.define("e-billboard-step-button",$);exports.BillboardBulletsElement=N;exports.BillboardElement=I;exports.BillboardSetButtonElement=O;exports.BillboardStepButtonElement=$;
|
package/lib/billboard/index.js
CHANGED
|
@@ -5,17 +5,17 @@ var q = (s, l, e) => l.has(s) || j("Cannot " + e);
|
|
|
5
5
|
var t = (s, l, e) => (q(s, l, "read from private field"), e ? e.call(s) : l.get(s)), i = (s, l, e) => l.has(s) ? j("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(s) : l.set(s, e), a = (s, l, e, n) => (q(s, l, "write to private field"), n ? n.call(s, e) : l.set(s, e), e), d = (s, l, e) => (q(s, l, "access private method"), e);
|
|
6
6
|
import { a as z, i as N } from "../index-euf5anj6.js";
|
|
7
7
|
import { b as $ } from "../dom-CVWzyXPH.js";
|
|
8
|
-
import { CSSProperty as
|
|
8
|
+
import { CSSProperty as S } from "../css-property/index.js";
|
|
9
9
|
import { d as G } from "../events-CsVF98U6.js";
|
|
10
10
|
import { s as J } from "../gestures-CcXV6fCp.js";
|
|
11
11
|
import { l as K } from "../number-CbdpfO3u.js";
|
|
12
|
-
var
|
|
12
|
+
var p, v, L, C, c, b, r, F, y, k, T, B, A, H;
|
|
13
13
|
class D extends HTMLElement {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
i(this, r);
|
|
17
|
-
i(this,
|
|
18
|
-
i(this,
|
|
17
|
+
i(this, p, new S(this, "--autoplay", !1));
|
|
18
|
+
i(this, v, new S(this, "--swipe", "x"));
|
|
19
19
|
i(this, L);
|
|
20
20
|
i(this, C, !1);
|
|
21
21
|
i(this, c, []);
|
|
@@ -23,23 +23,23 @@ class D extends HTMLElement {
|
|
|
23
23
|
i(this, k, (e) => {
|
|
24
24
|
a(this, C, e.isIntersecting), t(this, C) ? d(this, r, y).call(this) : clearInterval(t(this, L));
|
|
25
25
|
});
|
|
26
|
-
i(this,
|
|
26
|
+
i(this, T, () => {
|
|
27
27
|
clearInterval(t(this, L)), t(this, C) && a(this, L, setInterval(
|
|
28
28
|
t(this, A),
|
|
29
|
-
parseFloat(t(this,
|
|
29
|
+
parseFloat(t(this, p).current || "0") * 1e3
|
|
30
30
|
));
|
|
31
31
|
});
|
|
32
32
|
i(this, A, () => {
|
|
33
33
|
d(this, r, B).call(this, t(this, b) + 1);
|
|
34
34
|
});
|
|
35
35
|
i(this, H, (e) => {
|
|
36
|
-
if (!t(this,
|
|
36
|
+
if (!t(this, v).current)
|
|
37
37
|
return;
|
|
38
38
|
let n = 0;
|
|
39
39
|
J(
|
|
40
40
|
(h) => {
|
|
41
41
|
const E = e.x - h.x, P = e.y - h.y;
|
|
42
|
-
t(this,
|
|
42
|
+
t(this, v).current === "x" ? Math.abs(E) > Math.abs(P) && (n = Math.sign(E)) : t(this, v).current === "y" && Math.abs(P) > Math.abs(E) && (n = Math.sign(P));
|
|
43
43
|
},
|
|
44
44
|
() => {
|
|
45
45
|
this.shift(n);
|
|
@@ -57,7 +57,7 @@ class D extends HTMLElement {
|
|
|
57
57
|
t(this, c).push(e), d(this, r, F).call(this);
|
|
58
58
|
}
|
|
59
59
|
set(e) {
|
|
60
|
-
d(this, r, B).call(this, e), d(this, r, y).call(this);
|
|
60
|
+
(!this.handleSet || this.handleSet(e)) && (d(this, r, B).call(this, e), d(this, r, y).call(this));
|
|
61
61
|
}
|
|
62
62
|
shift(e) {
|
|
63
63
|
this.set(t(this, b) + e);
|
|
@@ -68,19 +68,19 @@ class D extends HTMLElement {
|
|
|
68
68
|
...this.querySelectorAll(
|
|
69
69
|
`[data-billboard-item="${this.id || ""}"]`
|
|
70
70
|
)
|
|
71
|
-
]), (e = t(this, c)[0]) == null || e.classList.add("current"), d(this, r, F).call(this), t(this,
|
|
71
|
+
]), (e = t(this, c)[0]) == null || e.classList.add("current"), d(this, r, F).call(this), t(this, p).subscribe((n) => {
|
|
72
72
|
n.current ? (z.subscribe(this, t(this, k)), d(this, r, y).call(this)) : (a(this, C, !0), z.unsubscribe(t(this, k)), clearInterval(t(this, L)), d(this, r, B).call(this, 0));
|
|
73
|
-
}), t(this,
|
|
73
|
+
}), t(this, p).observe(), t(this, v).observe(), this.addEventListener("pointerdown", t(this, H));
|
|
74
74
|
}
|
|
75
75
|
disconnectedCallback() {
|
|
76
|
-
t(this,
|
|
76
|
+
t(this, p).unobserve(), t(this, v).unobserve(), z.unsubscribe(t(this, k)), clearInterval(t(this, L));
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
p = new WeakMap(), v = new WeakMap(), L = new WeakMap(), C = new WeakMap(), c = new WeakMap(), b = new WeakMap(), r = new WeakSet(), F = function() {
|
|
80
80
|
t(this, c).length > 1 ? this.classList.add("has-length") : this.classList.remove("has-length");
|
|
81
81
|
}, y = function() {
|
|
82
|
-
t(this,
|
|
83
|
-
}, k = new WeakMap(),
|
|
82
|
+
t(this, p).current !== !1 && t(this, T).call(this);
|
|
83
|
+
}, k = new WeakMap(), T = new WeakMap(), B = function(e) {
|
|
84
84
|
a(this, b, K(e, t(this, c).length)), t(this, c).forEach((n, h) => {
|
|
85
85
|
h === t(this, b) ? n.classList.add("current") : n.classList.remove("current");
|
|
86
86
|
}), G(this, "billboardChange", {
|
|
@@ -142,14 +142,14 @@ var m, f, g;
|
|
|
142
142
|
class Q extends HTMLElement {
|
|
143
143
|
constructor() {
|
|
144
144
|
super();
|
|
145
|
-
i(this, m, new
|
|
145
|
+
i(this, m, new S(this, "--index", 0));
|
|
146
146
|
i(this, f, null);
|
|
147
147
|
i(this, g, () => {
|
|
148
148
|
var e;
|
|
149
149
|
t(this, m).current === ((e = t(this, f)) == null ? void 0 : e.counter) ? this.classList.add("current") : this.classList.remove("current");
|
|
150
150
|
});
|
|
151
151
|
this.addEventListener("click", (e) => {
|
|
152
|
-
t(this, f) && (!this.handleClick || this.handleClick
|
|
152
|
+
t(this, f) && (!this.handleClick || this.handleClick(e)) && t(this, f).set(t(this, m).current);
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
connectedCallback() {
|
|
@@ -175,10 +175,10 @@ var w, I;
|
|
|
175
175
|
class R extends HTMLElement {
|
|
176
176
|
constructor() {
|
|
177
177
|
super();
|
|
178
|
-
i(this, w, new
|
|
178
|
+
i(this, w, new S(this, "--step", 1));
|
|
179
179
|
i(this, I, null);
|
|
180
180
|
this.addEventListener("click", (e) => {
|
|
181
|
-
t(this, I) && (!this.handleClick || this.handleClick
|
|
181
|
+
t(this, I) && (!this.handleClick || this.handleClick(e)) && t(this, I).shift(t(this, w).current);
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
connectedCallback() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var f=s=>{throw TypeError(s)};var p=(s,l,t)=>l.has(s)||f("Cannot "+t);var e=(s,l,t)=>(p(s,l,"read from private field"),t?t.call(s):l.get(s)),n=(s,l,t)=>l.has(s)?f("Cannot add the same private member more than once"):l instanceof WeakSet?l.add(s):l.set(s,t),u=(s,l,t,i)=>(p(s,l,"write to private field"),i?i.call(s,t):l.set(s,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../element-resizer/index.cjs"),L=require("../window-resizer/index.cjs"),q=require("../index-Cqw2NKev.cjs"),T=require("../dom-JBOkFLTh.cjs"),k=require("../gestures-C7gbKx11.cjs"),S=require("../ticker/index.cjs");var r,o,a,h,m,d,c,b,g;class x extends HTMLElement{constructor(){super(...arguments);n(this,r,null);n(this,o,null);n(this,a,0);n(this,h,0);n(this,m);n(this,d,()=>{this.classList.add("active"),clearTimeout(e(this,m));const t=e(this,r).scrollTop/e(this,h)*e(this,a);e(this,o).style.transform=`translate3d(0px, ${t}px, 0px)`,u(this,m,setTimeout(()=>{this.classList.remove("active")},1e3))});n(this,c,()=>{const t=this.offsetHeight;u(this,h,e(this,r).scrollHeight-e(this,r).offsetHeight);let i=t/(e(this,h)/t);i=Math.max(i,30),e(this,o).style.width="100%",e(this,o).style.height=i+"px",u(this,a,t-i),e(this,r).scrollHeight>e(this,r).offsetHeight||(this.style.display="none")});n(this,b,t=>{document.documentElement.classList.add("grabbing"),k.setupDrag(y=>{const w=e(this,h)/e(this,a),z=(y.y-E)*w;e(this,r).scroll({top:i+z,behavior:"instant"})},()=>{document.documentElement.classList.remove("grabbing")});const i=e(this,r).scrollTop,E=t.y});n(this,g,()=>{e(this,c).call(this)})}connectedCallback(){const t=this.getAttribute("data-scroll");let i=null;t&&(i=document.querySelector(t)),i||(i=T.findScrollParentElement(this));const E=this.querySelector("[data-thumb]");i&&E&&(u(this,r,i),u(this,o,E),v.elementResizer.subscribe(e(this,r),e(this,c)),L.windowResizer.subscribe(e(this,c)),e(this,r).addEventListener("scroll",e(this,d)),e(this,o).addEventListener("pointerdown",e(this,b)),S.ticker.subscribe(e(this,g),{maxFPS:5}))}disconnectedCallback(){v.elementResizer.unsubscribe(e(this,c)),L.windowResizer.unsubscribe(e(this,c)),e(this,r).removeEventListener("scroll",e(this,d)),e(this,o).removeEventListener("pointerdown",e(this,b)),clearTimeout(e(this,m)),S.ticker.unsubscribe(e(this,g))}}r=new WeakMap,o=new WeakMap,a=new WeakMap,h=new WeakMap,m=new WeakMap,d=new WeakMap,c=new WeakMap,b=new WeakMap,g=new WeakMap;q.isBrowser&&!customElements.get("e-custom-scrollbar")&&customElements.define("e-custom-scrollbar",x);exports.CustomScrollbarElement=x;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = (e) => {
|
|
2
2
|
throw TypeError(e);
|
|
3
3
|
};
|
|
4
|
-
var E = (e,
|
|
5
|
-
var t = (e,
|
|
6
|
-
import { elementResizer as
|
|
7
|
-
import { windowResizer as
|
|
4
|
+
var E = (e, o, s) => o.has(e) || g("Cannot " + s);
|
|
5
|
+
var t = (e, o, s) => (E(e, o, "read from private field"), s ? s.call(e) : o.get(e)), l = (e, o, s) => o.has(e) ? g("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(e) : o.set(e, s), m = (e, o, s, i) => (E(e, o, "write to private field"), i ? i.call(e, s) : o.set(e, s), s);
|
|
6
|
+
import { elementResizer as L } from "../element-resizer/index.js";
|
|
7
|
+
import { windowResizer as v } from "../window-resizer/index.js";
|
|
8
8
|
import { i as w } from "../index-euf5anj6.js";
|
|
9
9
|
import { f as z } from "../dom-CVWzyXPH.js";
|
|
10
10
|
import { s as H } from "../gestures-CcXV6fCp.js";
|
|
11
|
-
import { ticker as
|
|
12
|
-
var
|
|
11
|
+
import { ticker as S } from "../ticker/index.js";
|
|
12
|
+
var r, n, a, h, u, b, c, d, f;
|
|
13
13
|
class k extends HTMLElement {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
|
-
l(this,
|
|
16
|
+
l(this, r, null);
|
|
17
17
|
l(this, n, null);
|
|
18
18
|
l(this, a, 0);
|
|
19
|
-
l(this,
|
|
19
|
+
l(this, h, 0);
|
|
20
20
|
l(this, u);
|
|
21
21
|
l(this, b, () => {
|
|
22
22
|
this.classList.add("active"), clearTimeout(t(this, u));
|
|
23
|
-
const s = t(this,
|
|
23
|
+
const s = t(this, r).scrollTop / t(this, h) * t(this, a);
|
|
24
24
|
t(this, n).style.transform = `translate3d(0px, ${s}px, 0px)`, m(this, u, setTimeout(() => {
|
|
25
25
|
this.classList.remove("active");
|
|
26
26
|
}, 1e3));
|
|
27
27
|
});
|
|
28
|
-
l(this,
|
|
28
|
+
l(this, c, () => {
|
|
29
29
|
const s = this.offsetHeight;
|
|
30
|
-
m(this,
|
|
31
|
-
let
|
|
32
|
-
|
|
30
|
+
m(this, h, t(this, r).scrollHeight - t(this, r).offsetHeight);
|
|
31
|
+
let i = s / (t(this, h) / s);
|
|
32
|
+
i = Math.max(i, 30), t(this, n).style.width = "100%", t(this, n).style.height = i + "px", m(this, a, s - i), t(this, r).scrollHeight > t(this, r).offsetHeight || (this.style.display = "none");
|
|
33
33
|
});
|
|
34
34
|
l(this, d, (s) => {
|
|
35
35
|
document.documentElement.classList.add("grabbing"), H(
|
|
36
36
|
(y) => {
|
|
37
|
-
const
|
|
38
|
-
t(this,
|
|
39
|
-
top:
|
|
37
|
+
const x = t(this, h) / t(this, a), T = (y.y - p) * x;
|
|
38
|
+
t(this, r).scroll({
|
|
39
|
+
top: i + T,
|
|
40
40
|
behavior: "instant"
|
|
41
41
|
});
|
|
42
42
|
},
|
|
@@ -44,21 +44,24 @@ class k extends HTMLElement {
|
|
|
44
44
|
document.documentElement.classList.remove("grabbing");
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
|
-
const
|
|
47
|
+
const i = t(this, r).scrollTop, p = s.y;
|
|
48
48
|
});
|
|
49
49
|
l(this, f, () => {
|
|
50
|
-
t(this,
|
|
50
|
+
t(this, c).call(this);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
connectedCallback() {
|
|
54
|
-
const s =
|
|
55
|
-
|
|
54
|
+
const s = this.getAttribute("data-scroll");
|
|
55
|
+
let i = null;
|
|
56
|
+
s && (i = document.querySelector(s)), i || (i = z(this));
|
|
57
|
+
const p = this.querySelector("[data-thumb]");
|
|
58
|
+
i && p && (m(this, r, i), m(this, n, p), L.subscribe(t(this, r), t(this, c)), v.subscribe(t(this, c)), t(this, r).addEventListener("scroll", t(this, b)), t(this, n).addEventListener("pointerdown", t(this, d)), S.subscribe(t(this, f), { maxFPS: 5 }));
|
|
56
59
|
}
|
|
57
60
|
disconnectedCallback() {
|
|
58
|
-
|
|
61
|
+
L.unsubscribe(t(this, c)), v.unsubscribe(t(this, c)), t(this, r).removeEventListener("scroll", t(this, b)), t(this, n).removeEventListener("pointerdown", t(this, d)), clearTimeout(t(this, u)), S.unsubscribe(t(this, f));
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
|
-
|
|
64
|
+
r = new WeakMap(), n = new WeakMap(), a = new WeakMap(), h = new WeakMap(), u = new WeakMap(), b = new WeakMap(), c = new WeakMap(), d = new WeakMap(), f = new WeakMap();
|
|
62
65
|
w && !customElements.get("e-custom-scrollbar") && customElements.define("e-custom-scrollbar", k);
|
|
63
66
|
export {
|
|
64
67
|
k as CustomScrollbarElement
|