aptechka 0.5.42 → 0.5.44

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 (100) hide show
  1. package/lib/DRACOLoader-C2CFpMGS.cjs +2 -0
  2. package/lib/DRACOLoader-D2KY2dku.js +241 -0
  3. package/lib/KTX2Loader-DdUl1XiY.cjs +2 -0
  4. package/lib/KTX2Loader-DqpAffDj.js +536 -0
  5. package/lib/MeshoptDecoder-6XfTpOG2.js +201 -0
  6. package/lib/MeshoptDecoder-CMeN3oU0.cjs +1 -0
  7. package/lib/accordion/AccordionElement.d.ts +2 -2
  8. package/lib/accordion/index.cjs +1 -1
  9. package/lib/accordion/index.js +26 -26
  10. package/lib/animation/Animation.d.ts +2 -2
  11. package/lib/animation/AnimationLink.d.ts +1 -1
  12. package/lib/animation/Damped.d.ts +1 -1
  13. package/lib/animation/Tweened.d.ts +2 -2
  14. package/lib/attribute/index.d.ts +1 -1
  15. package/lib/canvas/index.cjs +1 -1
  16. package/lib/canvas/index.d.ts +1 -1
  17. package/lib/canvas/index.js +26 -26
  18. package/lib/checkbox/index.cjs +1 -1
  19. package/lib/checkbox/index.js +17 -17
  20. package/lib/controls/AutoplayControls.d.ts +1 -1
  21. package/lib/controls/DragControls.d.ts +1 -1
  22. package/lib/controls/WheelControls.d.ts +1 -1
  23. package/lib/css-property/index.d.ts +1 -1
  24. package/lib/custom-element/index.d.ts +1 -4
  25. package/lib/element-constructor/ElementConstructor.d.ts +2 -2
  26. package/lib/en3/attachments/En3SourceManager.d.ts +2 -2
  27. package/lib/en3/core/En3View.d.ts +2 -2
  28. package/lib/en3/core/en3.d.ts +2 -2
  29. package/lib/en3/index.cjs +22 -24
  30. package/lib/en3/index.js +1811 -2733
  31. package/lib/en3/loaders/en3GLTFLoader.d.ts +5 -5
  32. package/lib/en3/objects/En3Clip.d.ts +2 -2
  33. package/lib/en3/objects/En3ClipHelpers.d.ts +1 -1
  34. package/lib/en3/objects/En3GLTF.d.ts +3 -3
  35. package/lib/en3/objects/En3Image.d.ts +1 -1
  36. package/lib/en3/objects/En3ImageLike.d.ts +2 -2
  37. package/lib/en3/objects/En3Video.d.ts +1 -1
  38. package/lib/en3/objects/fluid/Advection.d.ts +1 -1
  39. package/lib/en3/objects/fluid/Divergence.d.ts +1 -1
  40. package/lib/en3/objects/fluid/En3Fluid.d.ts +1 -1
  41. package/lib/en3/objects/fluid/En3FluidElement.d.ts +1 -1
  42. package/lib/en3/objects/fluid/ExternalForce.d.ts +1 -1
  43. package/lib/en3/objects/fluid/Poisson.d.ts +1 -1
  44. package/lib/en3/objects/fluid/Pressure.d.ts +1 -1
  45. package/lib/en3/objects/fluid/Simulation.d.ts +1 -1
  46. package/lib/en3/objects/fluid/Viscous.d.ts +1 -1
  47. package/lib/en3/utils/coverTexture.d.ts +1 -1
  48. package/lib/{index-BtsOv9u0.js → index-BN9X-l9M.js} +63 -63
  49. package/lib/index-BbgmbQ-5.cjs +9 -0
  50. package/lib/layout-box/index.d.ts +2 -2
  51. package/lib/modal/index.cjs +1 -1
  52. package/lib/modal/index.js +9 -9
  53. package/lib/pointer/Pointer.d.ts +1 -1
  54. package/lib/pointer/PointerElement.d.ts +1 -1
  55. package/lib/pointer/index.cjs +1 -1
  56. package/lib/pointer/index.js +1 -1
  57. package/lib/popover/PopoverButtonElement.d.ts +1 -1
  58. package/lib/popover/PopoverElement.d.ts +2 -2
  59. package/lib/popover/index.cjs +1 -1
  60. package/lib/popover/index.js +48 -48
  61. package/lib/scroll/ScrollElement.d.ts +6 -6
  62. package/lib/scroll/ScrollSegmentElement.d.ts +3 -3
  63. package/lib/scroll/ScrollUserElement.d.ts +1 -1
  64. package/lib/scroll/index.cjs +1 -1
  65. package/lib/scroll/index.js +10 -10
  66. package/lib/scroll-entries/index.d.ts +1 -1
  67. package/lib/select/SelectUserElement.d.ts +1 -1
  68. package/lib/select/index.cjs +1 -1
  69. package/lib/select/index.js +1 -1
  70. package/lib/sequence/index.cjs +1 -1
  71. package/lib/sequence/index.d.ts +1 -1
  72. package/lib/sequence/index.js +7 -7
  73. package/lib/slicer/SlicerElement.d.ts +2 -2
  74. package/lib/slicer/index.cjs +4 -4
  75. package/lib/slicer/index.js +31 -31
  76. package/lib/source/SourceElement.d.ts +2 -2
  77. package/lib/source/SourceManager.d.ts +1 -1
  78. package/lib/tweaker/TweakerBooleanManagerElement.d.ts +1 -1
  79. package/lib/tweaker/TweakerColorManagerElement.d.ts +1 -1
  80. package/lib/tweaker/TweakerElement.d.ts +1 -1
  81. package/lib/tweaker/TweakerFieldElement.d.ts +2 -2
  82. package/lib/tweaker/TweakerFolderElement.d.ts +3 -3
  83. package/lib/tweaker/TweakerLinkManagerElement.d.ts +1 -1
  84. package/lib/tweaker/TweakerNumberManagerElement.d.ts +1 -1
  85. package/lib/tweaker/TweakerRangeManagerElement.d.ts +1 -1
  86. package/lib/tweaker/TweakerSelectManagerElement.d.ts +1 -1
  87. package/lib/tweaker/TweakerStoreManagerElement.d.ts +1 -1
  88. package/lib/tweaker/TweakerStringManagerElement.d.ts +1 -1
  89. package/lib/tweaker/index.cjs +2 -2
  90. package/lib/tweaker/index.js +125 -125
  91. package/lib/tweaker/tweakerManagerConstructors.d.ts +1 -1
  92. package/lib/utils/function.d.ts +2 -2
  93. package/lib/utils/layout.d.ts +1 -1
  94. package/lib/video/index.cjs +1 -1
  95. package/lib/video/index.js +13 -13
  96. package/package.json +4 -12
  97. package/lib/index-Buf76Qoq.cjs +0 -9
  98. package/lib/resized/index.cjs +0 -1
  99. package/lib/resized/index.d.ts +0 -12
  100. package/lib/resized/index.js +0 -30
@@ -4,20 +4,20 @@ import "../Store-BQXXikps.js";
4
4
  import { c as z } from "../math-BOBiC4TN.js";
5
5
  import { e as A, q as D } from "../tags-CMPg9ETZ.js";
6
6
  import { c as L } from "../createStylesheet-DBCEbDjI.js";
7
- import { elementResizer as b } from "../element-resizer/index.js";
7
+ import { elementResizer as M } from "../element-resizer/index.js";
8
8
  import { ticker as S } from "../ticker/index.js";
9
- var T = Object.defineProperty, q = Object.getOwnPropertyDescriptor, G = (t, i, s, h) => {
10
- for (var r = h > 1 ? void 0 : h ? q(i, s) : i, k = t.length - 1, R; k >= 0; k--)
11
- (R = t[k]) && (r = (h ? R(i, s, r) : R(r)) || r);
12
- return h && r && T(i, s, r), r;
13
- }, M = (t, i, s) => {
9
+ var T = Object.defineProperty, q = Object.getOwnPropertyDescriptor, G = (t, i, s, l) => {
10
+ for (var r = l > 1 ? void 0 : l ? q(i, s) : i, k = t.length - 1, R; k >= 0; k--)
11
+ (R = t[k]) && (r = (l ? R(i, s, r) : R(r)) || r);
12
+ return l && r && T(i, s, r), r;
13
+ }, E = (t, i, s) => {
14
14
  if (!i.has(t))
15
15
  throw TypeError("Cannot " + s);
16
- }, e = (t, i, s) => (M(t, i, "read from private field"), s ? s.call(t) : i.get(t)), a = (t, i, s) => {
16
+ }, e = (t, i, s) => (E(t, i, "read from private field"), s ? s.call(t) : i.get(t)), a = (t, i, s) => {
17
17
  if (i.has(t))
18
18
  throw TypeError("Cannot add the same private member more than once");
19
19
  i instanceof WeakSet ? i.add(t) : i.set(t, s);
20
- }, n = (t, i, s, h) => (M(t, i, "write to private field"), h ? h.call(t, s) : i.set(t, s), s), u = (t, i, s) => (M(t, i, "access private method"), s), o, c, d, p, l, m, f, _, w, W, C, P, x, v, g, E;
20
+ }, h = (t, i, s, l) => (E(t, i, "write to private field"), i.set(t, s), s), u = (t, i, s) => (E(t, i, "access private method"), s), c, n, d, o, p, m, f, _, w, W, C, P, x, v, g, b;
21
21
  const H = L({
22
22
  ":host, canvas": {
23
23
  display: "block",
@@ -27,25 +27,25 @@ const H = L({
27
27
  });
28
28
  let y = class extends O {
29
29
  constructor() {
30
- super(), a(this, w), a(this, C), a(this, g), a(this, o, new F(this, "--fps", 0)), a(this, c, null), a(this, d, null), a(this, p, 0), a(this, l, 0), a(this, m, 1), a(this, f, 0), a(this, _, 1), a(this, x, (t) => {
31
- n(this, m, z(devicePixelRatio, 1, 2)), n(this, p, t.contentRect.width), n(this, l, t.contentRect.height), e(this, c).width = e(this, p) * this.pixelRatio, e(this, c).height = e(this, l) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), u(this, g, E).call(this);
30
+ super(), a(this, w), a(this, C), a(this, g), a(this, c, new F(this, "--fps", 0)), a(this, n, null), a(this, d, null), a(this, o, 0), a(this, p, 0), a(this, m, 1), a(this, f, 0), a(this, _, 1), a(this, x, (t) => {
31
+ h(this, m, z(devicePixelRatio, 1, 2)), h(this, o, t.contentRect.width), h(this, p, t.contentRect.height), e(this, n).width = e(this, o) * this.pixelRatio, e(this, n).height = e(this, p) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), u(this, g, b).call(this);
32
32
  }), a(this, v, (t) => {
33
- n(this, f, t.timestamp), n(this, _, t.timeBetweenFrames), u(this, g, E).call(this);
33
+ h(this, f, t.timestamp), h(this, _, t.timeBetweenFrames), u(this, g, b).call(this);
34
34
  }), this.openShadow(H), A(this, {
35
35
  children: D({
36
36
  ref: (t) => {
37
- n(this, c, t), n(this, d, t.getContext("2d"));
37
+ h(this, n, t), h(this, d, t.getContext("2d"));
38
38
  }
39
39
  })
40
- }), e(this, o).subscribe((t) => {
40
+ }), e(this, c).subscribe((t) => {
41
41
  typeof t.previous != "undefined" && t.current !== t.previous && u(this, w, W).call(this);
42
42
  });
43
43
  }
44
44
  get fpsCSSProperty() {
45
- return e(this, o);
45
+ return e(this, c);
46
46
  }
47
47
  get canvasElement() {
48
- return e(this, c);
48
+ return e(this, n);
49
49
  }
50
50
  get context() {
51
51
  return e(this, d);
@@ -54,17 +54,17 @@ let y = class extends O {
54
54
  return e(this, m);
55
55
  }
56
56
  get width() {
57
- return e(this, p);
57
+ return e(this, o);
58
58
  }
59
59
  get height() {
60
- return e(this, l);
60
+ return e(this, p);
61
61
  }
62
62
  get detail() {
63
63
  return {
64
- width: e(this, p),
65
- height: e(this, l),
64
+ width: e(this, o),
65
+ height: e(this, p),
66
66
  element: this,
67
- canvasElement: e(this, c),
67
+ canvasElement: e(this, n),
68
68
  pixelRatio: e(this, m),
69
69
  context: e(this, d),
70
70
  timestamp: e(this, f),
@@ -72,17 +72,17 @@ let y = class extends O {
72
72
  };
73
73
  }
74
74
  connectedCallback() {
75
- e(this, o).observe(), b.subscribe(this, e(this, x)), u(this, w, W).call(this);
75
+ e(this, c).observe(), M.subscribe(this, e(this, x)), u(this, w, W).call(this);
76
76
  }
77
77
  disconnectedCallback() {
78
- e(this, o).unobserve(), b.unsubscribe(e(this, x)), u(this, C, P).call(this);
78
+ e(this, c).unobserve(), M.unsubscribe(e(this, x)), u(this, C, P).call(this);
79
79
  }
80
80
  };
81
- o = /* @__PURE__ */ new WeakMap();
82
81
  c = /* @__PURE__ */ new WeakMap();
82
+ n = /* @__PURE__ */ new WeakMap();
83
83
  d = /* @__PURE__ */ new WeakMap();
84
+ o = /* @__PURE__ */ new WeakMap();
84
85
  p = /* @__PURE__ */ new WeakMap();
85
- l = /* @__PURE__ */ new WeakMap();
86
86
  m = /* @__PURE__ */ new WeakMap();
87
87
  f = /* @__PURE__ */ new WeakMap();
88
88
  _ = /* @__PURE__ */ new WeakMap();
@@ -90,7 +90,7 @@ w = /* @__PURE__ */ new WeakSet();
90
90
  W = function() {
91
91
  S.unsubscribe(e(this, v)), this.hasAttribute("static") || S.subscribe(e(this, v), {
92
92
  culling: this,
93
- maxFPS: e(this, o).current
93
+ maxFPS: e(this, c).current
94
94
  });
95
95
  };
96
96
  C = /* @__PURE__ */ new WeakSet();
@@ -100,7 +100,7 @@ P = function() {
100
100
  x = /* @__PURE__ */ new WeakMap();
101
101
  v = /* @__PURE__ */ new WeakMap();
102
102
  g = /* @__PURE__ */ new WeakSet();
103
- E = function() {
103
+ b = function() {
104
104
  this.dispatchEvent(
105
105
  new CustomEvent("canvasRender", {
106
106
  composed: !0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../custom-element/index.cjs");require("../Store-C-1ruEIm.cjs");const h=require("../tags-Djb6mb1o.cjs"),_=require("../createStylesheet-CqHU9_qv.cjs"),v=require("../theme/index.cjs"),w='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';var x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=(t,e,a,i)=>{for(var s=i>1?void 0:i?b(e,a):e,u=t.length-1,p;u>=0;u--)(p=t[u])&&(s=(i?p(e,a,s):p(s))||s);return i&&s&&x(e,a,s),s},k=(t,e,a)=>{if(!e.has(t))throw TypeError("Cannot "+a)},c=(t,e,a)=>(k(t,e,"read from private field"),a?a.call(t):e.get(t)),f=(t,e,a)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,a)},g=(t,e,a,i)=>(k(t,e,"write to private field"),i?i.call(t,a):e.set(t,a),a),d=(t,e,a)=>(k(t,e,"access private method"),a),r,o,l,n;const C=_.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:v.aptechkaTheme.borderRadiusSmall.var,overflow:"hidden"},"label, .fake":{display:"block"},"label, .fake, .default":{width:"100%",height:"100%"},".real":{position:"absolute",top:"0",left:"0",width:"0px",height:"0px",visibility:"hidden",margin:"0"},".default":{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:v.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:v.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});exports.CheckboxElement=class extends m.CustomElement{constructor(){super(),f(this,l),f(this,r,null),f(this,o,void 0),this.openShadow(C),g(this,o,this.attachInternals()),h.element(this,{children:h.label({children:[h.span({class:"fake",children:h.slot({children:[h.span({class:"default",children:[w]})]})}),h.input({ref:e=>{g(this,r,e),e.required=this.hasAttribute("required"),e.value=this.getAttribute("value")||"",e.checked=this.hasAttribute("checked"),e.name=this.getAttribute("name")||"",d(this,l,n).call(this)},class:"real",type:"checkbox",onChange:()=>{d(this,l,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return c(this,r).checked}set checked(e){c(this,r).checked=e,d(this,l,n).call(this)}get value(){return c(this,r).value}set value(e){c(this,r).value=e,d(this,l,n).call(this)}};r=new WeakMap;o=new WeakMap;l=new WeakSet;n=function(){this.checked?c(this,o).setFormValue(this.value):c(this,o).setFormValue(null),this.classList.toggle("checked",this.checked)};exports.CheckboxElement.formAssociated=!0;exports.CheckboxElement=y([m.define("e-checkbox")],exports.CheckboxElement);
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../custom-element/index.cjs");require("../Store-C-1ruEIm.cjs");const r=require("../tags-Djb6mb1o.cjs"),_=require("../createStylesheet-CqHU9_qv.cjs"),v=require("../theme/index.cjs"),w='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';var x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=(t,e,a,c)=>{for(var i=c>1?void 0:c?b(e,a):e,u=t.length-1,p;u>=0;u--)(p=t[u])&&(i=(c?p(e,a,i):p(i))||i);return c&&i&&x(e,a,i),i},k=(t,e,a)=>{if(!e.has(t))throw TypeError("Cannot "+a)},l=(t,e,a)=>(k(t,e,"read from private field"),a?a.call(t):e.get(t)),f=(t,e,a)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,a)},g=(t,e,a,c)=>(k(t,e,"write to private field"),e.set(t,a),a),d=(t,e,a)=>(k(t,e,"access private method"),a),s,o,h,n;const C=_.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:v.aptechkaTheme.borderRadiusSmall.var,overflow:"hidden"},"label, .fake":{display:"block"},"label, .fake, .default":{width:"100%",height:"100%"},".real":{position:"absolute",top:"0",left:"0",width:"0px",height:"0px",visibility:"hidden",margin:"0"},".default":{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:v.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:v.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});exports.CheckboxElement=class extends m.CustomElement{constructor(){super(),f(this,h),f(this,s,null),f(this,o,void 0),this.openShadow(C),g(this,o,this.attachInternals()),r.element(this,{children:r.label({children:[r.span({class:"fake",children:r.slot({children:[r.span({class:"default",children:[w]})]})}),r.input({ref:e=>{g(this,s,e),e.required=this.hasAttribute("required"),e.value=this.getAttribute("value")||"",e.checked=this.hasAttribute("checked"),e.name=this.getAttribute("name")||"",d(this,h,n).call(this)},class:"real",type:"checkbox",onChange:()=>{d(this,h,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return l(this,s).checked}set checked(e){l(this,s).checked=e,d(this,h,n).call(this)}get value(){return l(this,s).value}set value(e){l(this,s).value=e,d(this,h,n).call(this)}};s=new WeakMap;o=new WeakMap;h=new WeakSet;n=function(){this.checked?l(this,o).setFormValue(this.value):l(this,o).setFormValue(null),this.classList.toggle("checked",this.checked)};exports.CheckboxElement.formAssociated=!0;exports.CheckboxElement=y([m.define("e-checkbox")],exports.CheckboxElement);
@@ -4,18 +4,18 @@ import { e as x, a3 as y, aB as g, ay as b, a0 as C } from "../tags-CMPg9ETZ.js"
4
4
  import { c as A } from "../createStylesheet-DBCEbDjI.js";
5
5
  import { aptechkaTheme as u } from "../theme/index.js";
6
6
  const E = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';
7
- var S = Object.defineProperty, F = Object.getOwnPropertyDescriptor, M = (e, t, a, i) => {
8
- for (var s = i > 1 ? void 0 : i ? F(t, a) : t, d = e.length - 1, p; d >= 0; d--)
9
- (p = e[d]) && (s = (i ? p(t, a, s) : p(s)) || s);
10
- return i && s && S(t, a, s), s;
7
+ var S = Object.defineProperty, F = Object.getOwnPropertyDescriptor, M = (e, t, a, l) => {
8
+ for (var i = l > 1 ? void 0 : l ? F(t, a) : t, d = e.length - 1, p; d >= 0; d--)
9
+ (p = e[d]) && (i = (l ? p(t, a, i) : p(i)) || i);
10
+ return l && i && S(t, a, i), i;
11
11
  }, m = (e, t, a) => {
12
12
  if (!t.has(e))
13
13
  throw TypeError("Cannot " + a);
14
- }, l = (e, t, a) => (m(e, t, "read from private field"), a ? a.call(e) : t.get(e)), v = (e, t, a) => {
14
+ }, h = (e, t, a) => (m(e, t, "read from private field"), a ? a.call(e) : t.get(e)), v = (e, t, a) => {
15
15
  if (t.has(e))
16
16
  throw TypeError("Cannot add the same private member more than once");
17
17
  t instanceof WeakSet ? t.add(e) : t.set(e, a);
18
- }, k = (e, t, a, i) => (m(e, t, "write to private field"), i ? i.call(e, a) : t.set(e, a), a), o = (e, t, a) => (m(e, t, "access private method"), a), r, n, h, c;
18
+ }, k = (e, t, a, l) => (m(e, t, "write to private field"), t.set(e, a), a), n = (e, t, a) => (m(e, t, "access private method"), a), s, o, r, c;
19
19
  const O = A({
20
20
  ":host": {
21
21
  position: "relative",
@@ -60,7 +60,7 @@ const O = A({
60
60
  });
61
61
  let f = class extends w {
62
62
  constructor() {
63
- super(), v(this, h), v(this, r, null), v(this, n, void 0), this.openShadow(O), k(this, n, this.attachInternals()), x(this, {
63
+ super(), v(this, r), v(this, s, null), v(this, o, void 0), this.openShadow(O), k(this, o, this.attachInternals()), x(this, {
64
64
  children: y({
65
65
  children: [
66
66
  g({
@@ -76,12 +76,12 @@ let f = class extends w {
76
76
  }),
77
77
  C({
78
78
  ref: (e) => {
79
- k(this, r, e), e.required = this.hasAttribute("required"), e.value = this.getAttribute("value") || "", e.checked = this.hasAttribute("checked"), e.name = this.getAttribute("name") || "", o(this, h, c).call(this);
79
+ k(this, s, e), e.required = this.hasAttribute("required"), e.value = this.getAttribute("value") || "", e.checked = this.hasAttribute("checked"), e.name = this.getAttribute("name") || "", n(this, r, c).call(this);
80
80
  },
81
81
  class: "real",
82
82
  type: "checkbox",
83
83
  onChange: () => {
84
- o(this, h, c).call(this), this.dispatchEvent(
84
+ n(this, r, c).call(this), this.dispatchEvent(
85
85
  new Event("change", {
86
86
  composed: !0
87
87
  })
@@ -93,23 +93,23 @@ let f = class extends w {
93
93
  });
94
94
  }
95
95
  get checked() {
96
- return l(this, r).checked;
96
+ return h(this, s).checked;
97
97
  }
98
98
  set checked(e) {
99
- l(this, r).checked = e, o(this, h, c).call(this);
99
+ h(this, s).checked = e, n(this, r, c).call(this);
100
100
  }
101
101
  get value() {
102
- return l(this, r).value;
102
+ return h(this, s).value;
103
103
  }
104
104
  set value(e) {
105
- l(this, r).value = e, o(this, h, c).call(this);
105
+ h(this, s).value = e, n(this, r, c).call(this);
106
106
  }
107
107
  };
108
- r = /* @__PURE__ */ new WeakMap();
109
- n = /* @__PURE__ */ new WeakMap();
110
- h = /* @__PURE__ */ new WeakSet();
108
+ s = /* @__PURE__ */ new WeakMap();
109
+ o = /* @__PURE__ */ new WeakMap();
110
+ r = /* @__PURE__ */ new WeakSet();
111
111
  c = function() {
112
- this.checked ? l(this, n).setFormValue(this.value) : l(this, n).setFormValue(null), this.classList.toggle("checked", this.checked);
112
+ this.checked ? h(this, o).setFormValue(this.value) : h(this, o).setFormValue(null), this.classList.toggle("checked", this.checked);
113
113
  };
114
114
  f.formAssociated = !0;
115
115
  f = M([
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { TickerAddOptions } from '../ticker';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export interface AutoplayControlsOptions extends TickerAddOptions {
5
5
  speed?: number;
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { Axes2D } from '../utils';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export interface DragControlsOptions {
5
5
  element?: HTMLElement;
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { Axes2D } from '../utils';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export type WheelControlsAxis = Axes2D | 'max';
5
5
  export interface WheelControlsOptions {
@@ -1,5 +1,5 @@
1
- import { ElementOrSelector } from '../utils';
2
1
  import { Store, StoreCallback, StoreEntry, StoreManagerType, StoreOptions } from '../store';
2
+ import { ElementOrSelector } from '../utils';
3
3
 
4
4
  export interface CSSPropertyOptions<StoreType extends number | boolean | string, StoreManager extends StoreManagerType = StoreManagerType> extends StoreOptions<StoreType, StoreManager> {
5
5
  rawValueCheck?: boolean;
@@ -1,9 +1,6 @@
1
1
  export declare function define(name: string, extend?: keyof HTMLElementTagNameMap): (Constructor: CustomElementConstructor) => void;
2
2
  export declare function defineElement(name: string, Constructor: CustomElementConstructor, extend?: keyof HTMLElementTagNameMap): void;
3
- declare const HTMLElement: {
4
- new (): HTMLElement;
5
- prototype: HTMLElement;
6
- };
3
+ declare const HTMLElement: typeof window.HTMLElement;
7
4
  export declare class CustomElement extends HTMLElement {
8
5
  openShadow(...stylesheets: Array<CSSStyleSheet>): ShadowRoot;
9
6
  addStylesheet(...stylesheets: Array<CSSStyleSheet>): void;
@@ -1,6 +1,6 @@
1
- import { ConnectorConnectCallback, ConnectorDisconnectCallback } from '../connector';
2
- import { SplitFirst } from '../utils';
3
1
  import { Store } from '../store';
2
+ import { SplitFirst } from '../utils';
3
+ import { ConnectorConnectCallback, ConnectorDisconnectCallback } from '../connector';
4
4
 
5
5
  export type StoreOr<T> = T | Store<T>;
6
6
  export type ElementConstructorTagNameMap = HTMLElementTagNameMap & SVGElementTagNameMap;
@@ -1,6 +1,6 @@
1
- import { EventDispatcher, Loader } from 'three';
2
- import { Store } from '../../store';
3
1
  import { SourceManagerParameters, SourceManager } from '../../source';
2
+ import { Store } from '../../store';
3
+ import { EventDispatcher, Loader } from 'three';
4
4
 
5
5
  export interface En3SourceManagerLoader<T> {
6
6
  load: Loader<T>['load'];
@@ -1,6 +1,6 @@
1
- import { ElementOrSelector } from '../../utils';
2
- import { Object3D, OrthographicCamera, PerspectiveCamera, Scene } from 'three';
3
1
  import { LayoutBox, LayoutBoxOptions } from '../../layout-box';
2
+ import { Object3D, OrthographicCamera, PerspectiveCamera, Scene } from 'three';
3
+ import { ElementOrSelector } from '../../utils';
4
4
 
5
5
  export interface En3ViewOptions {
6
6
  cameraType?: 'perspective' | 'orthographic';
@@ -1,6 +1,6 @@
1
- import { En3View, En3ViewOptions } from './En3View';
2
- import { WebGLRenderer, WebGLRendererParameters } from 'three';
3
1
  import { ElementOrSelector } from '../../utils';
2
+ import { WebGLRenderer, WebGLRendererParameters } from 'three';
3
+ import { En3View, En3ViewOptions } from './En3View';
4
4
 
5
5
  export interface En3Options {
6
6
  webGLRendererParameters?: WebGLRendererParameters;