aptechka 0.13.1 → 0.14.0
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.
- package/lib/attribute/index.js +12 -12
- package/lib/canvas/index.cjs +7 -1
- package/lib/canvas/index.js +54 -58
- package/lib/controls/index.js +1 -1
- package/lib/{createStylesheet-COAZH1Mw.js → createStylesheet-C68ja-RS.js} +3 -3
- package/lib/css-property/index.js +4 -4
- package/lib/{dom-P5QbAASX.js → dom-0S_WDL4g.js} +2 -2
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +133 -122
- package/lib/element-resizer/index.js +8 -8
- package/lib/en3/helpers/index.js +2 -2
- package/lib/en3/index.js +1 -1
- package/lib/en3/loaders/index.js +1 -1
- package/lib/en3/utils/index.js +2 -2
- package/lib/{en3-x-Ki30MY.js → en3-sK9Z-fp2.js} +1 -1
- package/lib/file-BEr-o55N.js +31 -0
- package/lib/file-C9BbxzVU.cjs +1 -0
- package/lib/intersector/index.js +7 -7
- package/lib/layout-box/index.js +14 -14
- package/lib/need_redo_tweaker/index.cjs +18 -0
- package/lib/need_redo_tweaker/index.js +1343 -0
- package/lib/pointer/index.js +1 -1
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +60 -62
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +104 -105
- package/lib/scroll-entries/index.js +15 -15
- package/lib/slicer/index.cjs +5 -5
- package/lib/slicer/index.js +55 -86
- package/lib/{tags-BL3kQp9o.js → tags-zft1DGBz.js} +92 -92
- package/lib/ticker/index.js +1 -1
- package/lib/{traverseMaterials-mGC2_FkG.js → traverseMaterials-BlZbRhgW.js} +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.js +56 -57
- package/package.json +7 -47
- package/lib/accordion/index.cjs +0 -1
- package/lib/accordion/index.js +0 -167
- package/lib/checkbox/index.cjs +0 -1
- package/lib/checkbox/index.js +0 -112
- package/lib/createTheme-CHnsCgAr.js +0 -15
- package/lib/createTheme-Cfaw9UmV.cjs +0 -1
- package/lib/events-BGwqaxVW.cjs +0 -1
- package/lib/events-CJTUMSLU.js +0 -20
- package/lib/file-EevnUtRj.cjs +0 -1
- package/lib/file-lxi_oXJf.js +0 -13
- package/lib/index-BuAuBz2_.cjs +0 -9
- package/lib/index-CenF0JbH.js +0 -261
- package/lib/modal/index.cjs +0 -1
- package/lib/modal/index.js +0 -133
- package/lib/select/index.cjs +0 -1
- package/lib/select/index.js +0 -7
- package/lib/theme/index.cjs +0 -1
- package/lib/theme/index.js +0 -25
- package/lib/tweaker/index.cjs +0 -10
- package/lib/tweaker/index.js +0 -989
package/lib/attribute/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var m = (t, e, s) => e.has(t) ||
|
|
5
|
-
var r = (t, e, s) => (m(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ?
|
|
4
|
+
var m = (t, e, s) => e.has(t) || g("Cannot " + s);
|
|
5
|
+
var r = (t, e, s) => (m(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ? g("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), c = (t, e, s, o) => (m(t, e, "write to private field"), o ? o.call(t, s) : e.set(t, s), s), v = (t, e, s) => (m(t, e, "access private method"), s);
|
|
6
6
|
import { S as y } from "../Store-C46i0nvr.js";
|
|
7
7
|
import { p as S } from "../attributes-69we3byR.js";
|
|
8
8
|
import { i as w } from "../browser-0zX67oeU.js";
|
|
9
|
-
import {
|
|
10
|
-
var i, u,
|
|
9
|
+
import { g as x } from "../dom-0S_WDL4g.js";
|
|
10
|
+
var i, u, a, b, n, p;
|
|
11
11
|
class N extends y {
|
|
12
|
-
constructor(s, o,
|
|
13
|
-
super(
|
|
12
|
+
constructor(s, o, A, f) {
|
|
13
|
+
super(A, f);
|
|
14
14
|
h(this, n);
|
|
15
15
|
h(this, i, null);
|
|
16
16
|
h(this, u);
|
|
17
|
-
h(this,
|
|
17
|
+
h(this, a, null);
|
|
18
18
|
h(this, b, !1);
|
|
19
|
-
|
|
19
|
+
c(this, u, o), w && (c(this, i, x(s)), c(this, a, new MutationObserver((l) => {
|
|
20
20
|
l.forEach((d) => {
|
|
21
21
|
d.type === "attributes" && d.attributeName === r(this, u) && v(this, n, p).call(this);
|
|
22
22
|
});
|
|
@@ -31,18 +31,18 @@ class N extends y {
|
|
|
31
31
|
super.unsubscribe(s), this.subscribers.size || this.unobserve();
|
|
32
32
|
}
|
|
33
33
|
observe() {
|
|
34
|
-
r(this, b) || (
|
|
34
|
+
r(this, b) || (c(this, b, !0), r(this, a).observe(r(this, i), {
|
|
35
35
|
attributes: !0
|
|
36
36
|
}), v(this, n, p).call(this));
|
|
37
37
|
}
|
|
38
38
|
unobserve() {
|
|
39
|
-
r(this, b) && (
|
|
39
|
+
r(this, b) && (c(this, b, !1), r(this, a).disconnect());
|
|
40
40
|
}
|
|
41
41
|
close() {
|
|
42
42
|
super.close(), this.unobserve();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
i = new WeakMap(), u = new WeakMap(),
|
|
45
|
+
i = new WeakMap(), u = new WeakMap(), a = new WeakMap(), b = new WeakMap(), n = new WeakSet(), p = function() {
|
|
46
46
|
const s = r(this, i).getAttribute(r(this, u));
|
|
47
47
|
s != null && (this.current = S(s));
|
|
48
48
|
};
|
package/lib/canvas/index.cjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var C=i=>{throw TypeError(i)};var w=(i,s,e)=>s.has(i)||C("Cannot "+e);var t=(i,s,e)=>(w(i,s,"read from private field"),e?e.call(i):s.get(i)),n=(i,s,e)=>s.has(i)?C("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,e),c=(i,s,e,v)=>(w(i,s,"write to private field"),v?v.call(i,e):s.set(i,e),e),o=(i,s,e)=>(w(i,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../css-property/index.cjs"),f=require("../element-resizer/index.cjs"),R=require("../ticker/index.cjs"),B=require("../browser-CpzFX2xg.cjs"),F=require("../math-GDWEqu7y.cjs");var a,r,d,l,u,m,b,g,h,E,P,x,p,y,z;class k extends HTMLElement{constructor(){super();n(this,h);n(this,a,new q.CSSProperty(this,"--fps",0));n(this,r,null);n(this,d,null);n(this,l,0);n(this,u,0);n(this,m,1);n(this,b,0);n(this,g,1);n(this,x,e=>{c(this,m,F.clamp(devicePixelRatio,1,2)),c(this,l,e.contentRect.width),c(this,u,e.contentRect.height),t(this,r).width=t(this,l)*this.pixelRatio,t(this,r).height=t(this,u)*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),o(this,h,z).call(this),o(this,h,y).call(this)});n(this,p,e=>{c(this,b,e.timestamp),c(this,g,e.timeBetweenFrames),o(this,h,y).call(this)});if(B.isBrowser){const e=new CSSStyleSheet;e.replaceSync(`
|
|
2
|
+
:host, canvas {
|
|
3
|
+
display: block;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
`);const v=this.attachShadow({mode:"open"});v.adoptedStyleSheets.push(e),c(this,r,document.createElement("canvas")),c(this,d,t(this,r).getContext("2d")),v.appendChild(t(this,r)),t(this,a).subscribe(S=>{typeof S.previous!="undefined"&&S.current!==S.previous&&o(this,h,E).call(this)})}}get fpsCSSProperty(){return t(this,a)}get canvasElement(){return t(this,r)}get context(){return t(this,d)}get pixelRatio(){return t(this,m)}get width(){return t(this,l)}get height(){return t(this,u)}get detail(){return{width:t(this,l),height:t(this,u),element:this,canvasElement:t(this,r),pixelRatio:t(this,m),context:t(this,d),timestamp:t(this,b),timeBetweenFrames:t(this,g)}}connectedCallback(){t(this,a).observe(),f.elementResizer.subscribe(this,t(this,x)),o(this,h,E).call(this)}disconnectedCallback(){t(this,a).unobserve(),f.elementResizer.unsubscribe(t(this,x)),o(this,h,P).call(this)}}a=new WeakMap,r=new WeakMap,d=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,h=new WeakSet,E=function(){R.ticker.unsubscribe(t(this,p)),this.hasAttribute("static")||R.ticker.subscribe(t(this,p),{culling:this,maxFPS:t(this,a).current})},P=function(){R.ticker.unsubscribe(t(this,p))},x=new WeakMap,p=new WeakMap,y=function(){this.dispatchEvent(new CustomEvent("canvasRender",{composed:!0,detail:this.detail}))},z=function(){this.dispatchEvent(new CustomEvent("canvasResize",{composed:!0,detail:this.detail}))};customElements.get("e-canvas")||customElements.define("e-canvas",k);exports.CanvasElement=k;
|
package/lib/canvas/index.js
CHANGED
|
@@ -1,103 +1,99 @@
|
|
|
1
|
-
var
|
|
1
|
+
var C = (i) => {
|
|
2
2
|
throw TypeError(i);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var t = (i, s, e) => (
|
|
6
|
-
import { CSSProperty as
|
|
7
|
-
import "../
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const q = L({
|
|
14
|
-
":host, canvas": {
|
|
15
|
-
display: "block",
|
|
16
|
-
width: "100%",
|
|
17
|
-
height: "100%"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
var o, c, d, l, p, u, b, f, n, R, y, g, v, E, k;
|
|
21
|
-
class A extends HTMLElement {
|
|
4
|
+
var S = (i, s, e) => s.has(i) || C("Cannot " + e);
|
|
5
|
+
var t = (i, s, e) => (S(i, s, "read from private field"), e ? e.call(i) : s.get(i)), h = (i, s, e) => s.has(i) ? C("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, e), a = (i, s, e, v) => (S(i, s, "write to private field"), v ? v.call(i, e) : s.set(i, e), e), o = (i, s, e) => (S(i, s, "access private method"), e);
|
|
6
|
+
import { CSSProperty as z } from "../css-property/index.js";
|
|
7
|
+
import { elementResizer as y } from "../element-resizer/index.js";
|
|
8
|
+
import { ticker as f } from "../ticker/index.js";
|
|
9
|
+
import { i as B } from "../browser-0zX67oeU.js";
|
|
10
|
+
import { c as F } from "../math-BOBiC4TN.js";
|
|
11
|
+
var c, r, p, l, m, d, b, g, n, R, k, w, u, E, P;
|
|
12
|
+
class L extends HTMLElement {
|
|
22
13
|
constructor() {
|
|
23
14
|
super();
|
|
24
15
|
h(this, n);
|
|
25
|
-
h(this,
|
|
26
|
-
h(this,
|
|
27
|
-
h(this,
|
|
16
|
+
h(this, c, new z(this, "--fps", 0));
|
|
17
|
+
h(this, r, null);
|
|
18
|
+
h(this, p, null);
|
|
28
19
|
h(this, l, 0);
|
|
29
|
-
h(this,
|
|
30
|
-
h(this,
|
|
20
|
+
h(this, m, 0);
|
|
21
|
+
h(this, d, 1);
|
|
31
22
|
h(this, b, 0);
|
|
32
|
-
h(this,
|
|
33
|
-
h(this,
|
|
34
|
-
a(this,
|
|
23
|
+
h(this, g, 1);
|
|
24
|
+
h(this, w, (e) => {
|
|
25
|
+
a(this, d, F(devicePixelRatio, 1, 2)), a(this, l, e.contentRect.width), a(this, m, e.contentRect.height), t(this, r).width = t(this, l) * this.pixelRatio, t(this, r).height = t(this, m) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), o(this, n, P).call(this), o(this, n, E).call(this);
|
|
35
26
|
});
|
|
36
|
-
h(this,
|
|
37
|
-
a(this, b, e.timestamp), a(this,
|
|
27
|
+
h(this, u, (e) => {
|
|
28
|
+
a(this, b, e.timestamp), a(this, g, e.timeBetweenFrames), o(this, n, E).call(this);
|
|
38
29
|
});
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
if (B) {
|
|
31
|
+
const e = new CSSStyleSheet();
|
|
32
|
+
e.replaceSync(`
|
|
33
|
+
:host, canvas {
|
|
34
|
+
display: block;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
43
37
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
`);
|
|
39
|
+
const v = this.attachShadow({ mode: "open" });
|
|
40
|
+
v.adoptedStyleSheets.push(e), a(this, r, document.createElement("canvas")), a(this, p, t(this, r).getContext("2d")), v.appendChild(t(this, r)), t(this, c).subscribe((x) => {
|
|
41
|
+
typeof x.previous != "undefined" && x.current !== x.previous && o(this, n, R).call(this);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
48
44
|
}
|
|
49
45
|
get fpsCSSProperty() {
|
|
50
|
-
return t(this,
|
|
46
|
+
return t(this, c);
|
|
51
47
|
}
|
|
52
48
|
get canvasElement() {
|
|
53
|
-
return t(this,
|
|
49
|
+
return t(this, r);
|
|
54
50
|
}
|
|
55
51
|
get context() {
|
|
56
|
-
return t(this,
|
|
52
|
+
return t(this, p);
|
|
57
53
|
}
|
|
58
54
|
get pixelRatio() {
|
|
59
|
-
return t(this,
|
|
55
|
+
return t(this, d);
|
|
60
56
|
}
|
|
61
57
|
get width() {
|
|
62
58
|
return t(this, l);
|
|
63
59
|
}
|
|
64
60
|
get height() {
|
|
65
|
-
return t(this,
|
|
61
|
+
return t(this, m);
|
|
66
62
|
}
|
|
67
63
|
get detail() {
|
|
68
64
|
return {
|
|
69
65
|
width: t(this, l),
|
|
70
|
-
height: t(this,
|
|
66
|
+
height: t(this, m),
|
|
71
67
|
element: this,
|
|
72
|
-
canvasElement: t(this,
|
|
73
|
-
pixelRatio: t(this,
|
|
74
|
-
context: t(this,
|
|
68
|
+
canvasElement: t(this, r),
|
|
69
|
+
pixelRatio: t(this, d),
|
|
70
|
+
context: t(this, p),
|
|
75
71
|
timestamp: t(this, b),
|
|
76
|
-
timeBetweenFrames: t(this,
|
|
72
|
+
timeBetweenFrames: t(this, g)
|
|
77
73
|
};
|
|
78
74
|
}
|
|
79
75
|
connectedCallback() {
|
|
80
|
-
t(this,
|
|
76
|
+
t(this, c).observe(), y.subscribe(this, t(this, w)), o(this, n, R).call(this);
|
|
81
77
|
}
|
|
82
78
|
disconnectedCallback() {
|
|
83
|
-
t(this,
|
|
79
|
+
t(this, c).unobserve(), y.unsubscribe(t(this, w)), o(this, n, k).call(this);
|
|
84
80
|
}
|
|
85
81
|
}
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
c = new WeakMap(), r = new WeakMap(), p = new WeakMap(), l = new WeakMap(), m = new WeakMap(), d = new WeakMap(), b = new WeakMap(), g = new WeakMap(), n = new WeakSet(), R = function() {
|
|
83
|
+
f.unsubscribe(t(this, u)), this.hasAttribute("static") || f.subscribe(t(this, u), {
|
|
88
84
|
culling: this,
|
|
89
|
-
maxFPS: t(this,
|
|
85
|
+
maxFPS: t(this, c).current
|
|
90
86
|
});
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
},
|
|
87
|
+
}, k = function() {
|
|
88
|
+
f.unsubscribe(t(this, u));
|
|
89
|
+
}, w = new WeakMap(), u = new WeakMap(), E = function() {
|
|
94
90
|
this.dispatchEvent(
|
|
95
91
|
new CustomEvent("canvasRender", {
|
|
96
92
|
composed: !0,
|
|
97
93
|
detail: this.detail
|
|
98
94
|
})
|
|
99
95
|
);
|
|
100
|
-
},
|
|
96
|
+
}, P = function() {
|
|
101
97
|
this.dispatchEvent(
|
|
102
98
|
new CustomEvent("canvasResize", {
|
|
103
99
|
composed: !0,
|
|
@@ -105,7 +101,7 @@ o = new WeakMap(), c = new WeakMap(), d = new WeakMap(), l = new WeakMap(), p =
|
|
|
105
101
|
})
|
|
106
102
|
);
|
|
107
103
|
};
|
|
108
|
-
customElements.get("e-canvas") || customElements.define("e-canvas",
|
|
104
|
+
customElements.get("e-canvas") || customElements.define("e-canvas", L);
|
|
109
105
|
export {
|
|
110
|
-
|
|
106
|
+
L as CanvasElement
|
|
111
107
|
};
|
package/lib/controls/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var O = (h, n, e) => n.has(h) || Q("Cannot " + e);
|
|
|
5
5
|
var t = (h, n, e) => (O(h, n, "read from private field"), e ? e.call(h) : n.get(h)), s = (h, n, e) => n.has(h) ? Q("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(h) : n.set(h, e), i = (h, n, e, r) => (O(h, n, "write to private field"), r ? r.call(h, e) : n.set(h, e), e), M = (h, n, e) => (O(h, n, "access private method"), e);
|
|
6
6
|
import { Notifier as j } from "../notifier/index.js";
|
|
7
7
|
import { i as m } from "../browser-0zX67oeU.js";
|
|
8
|
-
import {
|
|
8
|
+
import { g as U } from "../dom-0S_WDL4g.js";
|
|
9
9
|
import { ticker as I } from "../ticker/index.js";
|
|
10
10
|
import "../Store-C46i0nvr.js";
|
|
11
11
|
import { e as G } from "../easings-BKi40vHz.js";
|
|
@@ -5,11 +5,11 @@ var S = (s, r, e) => r.has(s) || p("Cannot " + e);
|
|
|
5
5
|
var t = (s, r, e) => (S(s, r, "read from private field"), e ? e.call(s) : r.get(s)), h = (s, r, e) => r.has(s) ? p("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(s) : r.set(s, e), i = (s, r, e, a) => (S(s, r, "write to private field"), a ? a.call(s, e) : r.set(s, e), e);
|
|
6
6
|
import { cssValueParser as R } from "../css-value-parser/index.js";
|
|
7
7
|
import { RESIZE_ORDER as V } from "../order/index.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import {
|
|
8
|
+
import { S as g } from "../Store-C46i0nvr.js";
|
|
9
|
+
import { g as v } from "../dom-0S_WDL4g.js";
|
|
10
10
|
import { windowResizer as w } from "../window-resizer/index.js";
|
|
11
11
|
var b, o, u, l, c, n;
|
|
12
|
-
class d extends
|
|
12
|
+
class d extends g {
|
|
13
13
|
constructor(e, a, m, f) {
|
|
14
14
|
super(m, f);
|
|
15
15
|
h(this, b);
|
|
@@ -20,7 +20,7 @@ class d extends v {
|
|
|
20
20
|
h(this, n, () => {
|
|
21
21
|
this.check();
|
|
22
22
|
});
|
|
23
|
-
i(this, b,
|
|
23
|
+
i(this, b, v(e)), i(this, o, a), i(this, u, m.toString()), i(this, l, (f == null ? void 0 : f.rawValueCheck) !== !1);
|
|
24
24
|
}
|
|
25
25
|
get currentRawValue() {
|
|
26
26
|
return t(this, u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-6_ETuR75.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-6_ETuR75.cjs"),i=require("../createStylesheet-Csfmh-MH.cjs"),s=require("../string-DhgS_iFl.cjs");function d(r,a){const l=(a==null?void 0:a.prefix)||"",o={style:{}};for(const t in r)o[t]={var:`var(--${l}${s.camelToKebab(t)})`,value:r[t]},o.style[`--${l}${s.camelToKebab(t)}`]=r[t];return o}exports.ElementConstructor=e.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=i.createStylesheet;exports.createTheme=d;
|
|
@@ -1,124 +1,135 @@
|
|
|
1
|
-
import { E as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
1
|
+
import { E as c, f as n, g as p, h as u, j as b, k as h, m as f, n as g, o as y, p as v, q as k, r as x, t as $, u as q, v as T, b as w, w as C, x as E, y as K, z as S, A as V, B as z, a_ as A, C as B, D, F, G, H, I, J, d as L, K as M, L as N, e as O, M as P, N as Q, aZ as R, O as U, P as W, Q as X, R as Y, S as Z, aY as _, T as j, U as aa, V as sa, W as ea, X as ta, Y as ra, Z as oa, _ as la, $ as ia, a0 as da, a1 as ma, aV as ca, a2 as na, a3 as pa, a4 as ua, i as ba, a5 as ha, a6 as fa, l as ga, a7 as ya, a8 as va, a9 as ka, aa as xa, ab as $a, ac as qa, ad as Ta, ae as wa, af as Ca, ag as Ea, ah as Ka, ai as Sa, aj as Va, ak as za, al as Aa, am as Ba, an as Da, ao as Fa, ap as Ga, aq as Ha, ar as Ia, as as Ja, at as La, au as Ma, av as Na, aw as Oa, ax as Pa, ay as Qa, az as Ra, aA as Ua, a as Wa, aB as Xa, aC as Ya, c as Za, aD as _a, s as ja, aE as as, aF as ss, aG as es, aH as ts, aI as rs, aJ as os, aK as ls, aL as is, aM as ds, aN as ms, aO as cs, aP as ns, aQ as ps, aR as us, aS as bs, aT as hs, aU as fs, aW as gs, aX as ys } from "../tags-zft1DGBz.js";
|
|
2
|
+
import { c as ks } from "../createStylesheet-C68ja-RS.js";
|
|
3
|
+
import { c as o } from "../string-f0Dnk0L1.js";
|
|
4
|
+
function i(s, e) {
|
|
5
|
+
const r = (e == null ? void 0 : e.prefix) || "", t = {
|
|
6
|
+
style: {}
|
|
7
|
+
};
|
|
8
|
+
for (const a in s)
|
|
9
|
+
t[a] = {
|
|
10
|
+
var: `var(--${r}${o(a)})`,
|
|
11
|
+
value: s[a]
|
|
12
|
+
}, t.style[`--${r}${o(a)}`] = s[a];
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
4
15
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
16
|
+
c as ElementConstructor,
|
|
17
|
+
n as a,
|
|
18
|
+
p as abbr,
|
|
19
|
+
u as address,
|
|
20
|
+
b as area,
|
|
21
|
+
h as article,
|
|
22
|
+
f as aside,
|
|
23
|
+
g as audio,
|
|
24
|
+
y as b,
|
|
25
|
+
v as base,
|
|
26
|
+
k as bdi,
|
|
27
|
+
x as bdo,
|
|
28
|
+
$ as blockquote,
|
|
29
|
+
q as body,
|
|
30
|
+
T as br,
|
|
31
|
+
w as button,
|
|
32
|
+
C as canvas,
|
|
33
|
+
E as caption,
|
|
34
|
+
K as cite,
|
|
35
|
+
S as code,
|
|
36
|
+
V as col,
|
|
37
|
+
z as colgroup,
|
|
38
|
+
A as contents,
|
|
39
|
+
ks as createStylesheet,
|
|
40
|
+
i as createTheme,
|
|
41
|
+
B as data,
|
|
42
|
+
D as datalist,
|
|
43
|
+
F as dd,
|
|
44
|
+
G as del,
|
|
45
|
+
H as details,
|
|
46
|
+
I as dfn,
|
|
47
|
+
J as dialog,
|
|
48
|
+
L as div,
|
|
49
|
+
M as dl,
|
|
50
|
+
N as dt,
|
|
51
|
+
O as element,
|
|
52
|
+
P as em,
|
|
53
|
+
Q as embed,
|
|
54
|
+
R as empty,
|
|
55
|
+
U as fieldset,
|
|
56
|
+
W as figcaption,
|
|
57
|
+
X as figure,
|
|
58
|
+
Y as footer,
|
|
59
|
+
Z as form,
|
|
60
|
+
_ as fragment,
|
|
61
|
+
j as h1,
|
|
62
|
+
aa as h2,
|
|
63
|
+
sa as h3,
|
|
64
|
+
ea as h4,
|
|
65
|
+
ta as h5,
|
|
66
|
+
ra as h6,
|
|
67
|
+
oa as head,
|
|
68
|
+
la as header,
|
|
69
|
+
ia as hgroup,
|
|
70
|
+
da as hr,
|
|
71
|
+
ma as html,
|
|
72
|
+
ca as htmlVar,
|
|
73
|
+
na as i,
|
|
74
|
+
pa as iframe,
|
|
75
|
+
ua as img,
|
|
76
|
+
ba as input,
|
|
77
|
+
ha as ins,
|
|
78
|
+
fa as kbd,
|
|
79
|
+
ga as label,
|
|
80
|
+
ya as legend,
|
|
81
|
+
va as li,
|
|
82
|
+
ka as link,
|
|
83
|
+
xa as main,
|
|
84
|
+
$a as map,
|
|
85
|
+
qa as mark,
|
|
86
|
+
Ta as menu,
|
|
87
|
+
wa as meta,
|
|
88
|
+
Ca as meter,
|
|
89
|
+
Ea as nav,
|
|
90
|
+
Ka as noscript,
|
|
91
|
+
Sa as object,
|
|
92
|
+
Va as ol,
|
|
93
|
+
za as optgroup,
|
|
94
|
+
Aa as option,
|
|
95
|
+
Ba as output,
|
|
96
|
+
Da as p,
|
|
97
|
+
Fa as picture,
|
|
98
|
+
Ga as pre,
|
|
99
|
+
Ha as progress,
|
|
100
|
+
Ia as q,
|
|
101
|
+
Ja as rp,
|
|
102
|
+
La as rt,
|
|
103
|
+
Ma as ruby,
|
|
104
|
+
Na as s,
|
|
105
|
+
Oa as samp,
|
|
106
|
+
Pa as script,
|
|
107
|
+
Qa as search,
|
|
108
|
+
Ra as section,
|
|
109
|
+
Ua as select,
|
|
110
|
+
Wa as slot,
|
|
111
|
+
Xa as small,
|
|
112
|
+
Ya as source,
|
|
113
|
+
Za as span,
|
|
114
|
+
_a as strong,
|
|
115
|
+
ja as style,
|
|
116
|
+
as as sub,
|
|
117
|
+
ss as summary,
|
|
118
|
+
es as sup,
|
|
119
|
+
ts as table,
|
|
120
|
+
rs as tbody,
|
|
121
|
+
os as td,
|
|
122
|
+
ls as template,
|
|
123
|
+
is as textarea,
|
|
124
|
+
ds as tfoot,
|
|
125
|
+
ms as th,
|
|
126
|
+
cs as thead,
|
|
127
|
+
ns as time,
|
|
128
|
+
ps as title,
|
|
129
|
+
us as tr,
|
|
130
|
+
bs as track,
|
|
131
|
+
hs as u,
|
|
132
|
+
fs as ul,
|
|
133
|
+
gs as video,
|
|
134
|
+
ys as wbr
|
|
124
135
|
};
|
|
@@ -3,10 +3,10 @@ var h = (n) => {
|
|
|
3
3
|
};
|
|
4
4
|
var y = (n, t, s) => t.has(n) || h("Cannot " + s);
|
|
5
5
|
var r = (n, t, s) => (y(n, t, "read from private field"), s ? s.call(n) : t.get(n)), b = (n, t, s) => t.has(n) ? h("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), u = (n, t, s, e) => (y(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s);
|
|
6
|
-
import { i as
|
|
7
|
-
import {
|
|
6
|
+
import { i as p } from "../browser-0zX67oeU.js";
|
|
7
|
+
import { g as w } from "../dom-0S_WDL4g.js";
|
|
8
8
|
var i, o, f;
|
|
9
|
-
class
|
|
9
|
+
class z {
|
|
10
10
|
constructor() {
|
|
11
11
|
b(this, i, []);
|
|
12
12
|
b(this, o, null);
|
|
@@ -18,10 +18,10 @@ class w {
|
|
|
18
18
|
e.entry && (e.subscriber.entry = e.entry, e.subscriber.callback(e.entry));
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
p && window.ResizeObserver && u(this, o, new ResizeObserver(r(this, f)));
|
|
22
22
|
}
|
|
23
23
|
subscribe(t, s) {
|
|
24
|
-
const e =
|
|
24
|
+
const e = w(t);
|
|
25
25
|
if (!e)
|
|
26
26
|
return () => {
|
|
27
27
|
};
|
|
@@ -54,8 +54,8 @@ class w {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
i = new WeakMap(), o = new WeakMap(), f = new WeakMap();
|
|
57
|
-
const
|
|
57
|
+
const g = new z();
|
|
58
58
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
z as ElementResizer,
|
|
60
|
+
g as elementResizer
|
|
61
61
|
};
|
package/lib/en3/helpers/index.js
CHANGED
|
@@ -14,14 +14,14 @@ var on = (m, t, o) => t in m ? Kn(m, t, { enumerable: !0, configurable: !0, writ
|
|
|
14
14
|
};
|
|
15
15
|
var Ot = (m, t, o) => t.has(m) || an("Cannot " + o);
|
|
16
16
|
var s = (m, t, o) => (Ot(m, t, "read from private field"), o ? o.call(m) : t.get(m)), f = (m, t, o) => t.has(m) ? an("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(m) : t.set(m, o), v = (m, t, o, e) => (Ot(m, t, "write to private field"), e ? e.call(m, o) : t.set(m, o), o), M = (m, t, o) => (Ot(m, t, "access private method"), o);
|
|
17
|
-
import { e as b } from "../../en3-
|
|
17
|
+
import { e as b } from "../../en3-sK9Z-fp2.js";
|
|
18
18
|
import { S as F } from "../../Store-C46i0nvr.js";
|
|
19
19
|
import * as Ee from "three";
|
|
20
20
|
import { Light as rn, PointLight as $n, PointLightHelper as Jn, DirectionalLight as ei, DirectionalLightHelper as ti, SpotLight as ni, SpotLightHelper as ii, HemisphereLight as si, HemisphereLightHelper as oi, Camera as ln, CameraHelper as ai, Mesh as p, Material as ri, Ray as li, Plane as ci, MathUtils as hi, EventDispatcher as pi, Vector3 as y, MOUSE as Re, TOUCH as Ye, Quaternion as B, Spherical as cn, Vector2 as $, Raycaster as mi, Object3D as Yt, Euler as di, Matrix4 as Sn, MeshBasicMaterial as xn, LineBasicMaterial as ui, CylinderGeometry as Q, BoxGeometry as Z, BufferGeometry as hn, Float32BufferAttribute as pn, OctahedronGeometry as Mt, Line as pe, SphereGeometry as fi, TorusGeometry as Ve, PlaneGeometry as yi, DoubleSide as bi, GridHelper as wi } from "three";
|
|
21
21
|
import { a as gi } from "../../object-D6MVWB4l.js";
|
|
22
22
|
import { ticker as mn } from "../../ticker/index.js";
|
|
23
23
|
import { C as Ei } from "../../Composed-CfWa-69I.js";
|
|
24
|
-
import { t as Pi } from "../../traverseMaterials-
|
|
24
|
+
import { t as Pi } from "../../traverseMaterials-BlZbRhgW.js";
|
|
25
25
|
const Mi = [
|
|
26
26
|
"AddEquation",
|
|
27
27
|
"SubtractEquation",
|