aptechka 0.13.1 → 0.15.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.
Files changed (113) hide show
  1. package/lib/{Animation-De9aUv3b.cjs → Animation-DI864E0i.cjs} +1 -1
  2. package/lib/{Animation-NAGXiFv5.js → Animation-w6BLTCum.js} +1 -1
  3. package/lib/{Damped-DbJKrUIf.js → Damped-DEHDEq-b.js} +1 -1
  4. package/lib/{Damped-DYJ6Z0xo.cjs → Damped-ipnDc0iX.cjs} +1 -1
  5. package/lib/Store-CDb6RMce.cjs +1 -0
  6. package/lib/Store-OTdcl6SX.js +134 -0
  7. package/lib/{Tweened-BkkD9s4n.cjs → Tweened-B1TfANfR.cjs} +1 -1
  8. package/lib/{Tweened-DOSHLCZa.js → Tweened-C52xXDLY.js} +1 -1
  9. package/lib/{Viewport-Cv4TRGiv.cjs → Viewport-BDPsnAF4.cjs} +1 -1
  10. package/lib/{Viewport-B55BvLsV.js → Viewport-taEXS8Uv.js} +1 -1
  11. package/lib/animation/index.cjs +1 -1
  12. package/lib/animation/index.js +3 -3
  13. package/lib/attribute/index.cjs +1 -1
  14. package/lib/attribute/index.js +13 -13
  15. package/lib/canvas/index.cjs +1 -1
  16. package/lib/canvas/index.js +36 -39
  17. package/lib/class-linked-status/index.cjs +1 -1
  18. package/lib/class-linked-status/index.js +1 -1
  19. package/lib/controls/index.cjs +1 -1
  20. package/lib/controls/index.js +3 -3
  21. package/lib/css-property/index.cjs +1 -1
  22. package/lib/css-property/index.js +4 -4
  23. package/lib/dev/index.cjs +1 -1
  24. package/lib/dev/index.js +1 -1
  25. package/lib/device/index.cjs +1 -1
  26. package/lib/device/index.js +1 -1
  27. package/lib/{dom-P5QbAASX.js → dom-0S_WDL4g.js} +2 -2
  28. package/lib/element-constructor/index.cjs +1 -1
  29. package/lib/element-constructor/index.js +848 -122
  30. package/lib/element-resizer/index.js +8 -8
  31. package/lib/en3/index.cjs +8 -1
  32. package/lib/en3/index.js +372 -4
  33. package/lib/file-BEr-o55N.js +31 -0
  34. package/lib/file-C9BbxzVU.cjs +1 -0
  35. package/lib/image/index.cjs +1 -1
  36. package/lib/image/index.js +1 -1
  37. package/lib/intersector/index.js +7 -7
  38. package/lib/jss-CjccJC-K.js +21 -0
  39. package/lib/jss-GJLvaNfT.cjs +1 -0
  40. package/lib/ladder/index.cjs +1 -1
  41. package/lib/ladder/index.js +1 -1
  42. package/lib/layout-box/index.js +14 -14
  43. package/lib/media/index.cjs +1 -1
  44. package/lib/media/index.js +1 -1
  45. package/lib/need_redo_tweaker/index.cjs +18 -0
  46. package/lib/need_redo_tweaker/index.js +1337 -0
  47. package/lib/pointer/index.cjs +1 -1
  48. package/lib/pointer/index.js +3 -3
  49. package/lib/popover/index.cjs +1 -1
  50. package/lib/popover/index.js +68 -76
  51. package/lib/scroll/index.cjs +1 -1
  52. package/lib/scroll/index.js +577 -610
  53. package/lib/scroll-entries/index.js +15 -15
  54. package/lib/sequence/index.cjs +1 -1
  55. package/lib/sequence/index.js +1 -1
  56. package/lib/slicer/index.cjs +5 -5
  57. package/lib/slicer/index.js +55 -86
  58. package/lib/source/index.cjs +2 -2
  59. package/lib/source/index.js +154 -62
  60. package/lib/store/index.cjs +1 -1
  61. package/lib/store/index.js +71 -37
  62. package/lib/ticker/index.js +1 -1
  63. package/lib/utils/index.cjs +1 -1
  64. package/lib/utils/index.js +67 -65
  65. package/lib/video/index.cjs +1 -1
  66. package/lib/video/index.js +1 -1
  67. package/package.json +7 -72
  68. package/lib/Composed-C_4slJQ6.cjs +0 -1
  69. package/lib/Composed-CfWa-69I.js +0 -31
  70. package/lib/Derived-BIBU-y7Z.cjs +0 -1
  71. package/lib/Derived-Vo_RsJfi.js +0 -23
  72. package/lib/SourceManager-B6wZpXUZ.js +0 -104
  73. package/lib/SourceManager-CfHcGLUa.cjs +0 -1
  74. package/lib/Store-C46i0nvr.js +0 -137
  75. package/lib/Store-npaZHvX4.cjs +0 -1
  76. package/lib/accordion/index.cjs +0 -1
  77. package/lib/accordion/index.js +0 -167
  78. package/lib/checkbox/index.cjs +0 -1
  79. package/lib/checkbox/index.js +0 -112
  80. package/lib/createStylesheet-COAZH1Mw.js +0 -8
  81. package/lib/createStylesheet-Csfmh-MH.cjs +0 -1
  82. package/lib/createTheme-CHnsCgAr.js +0 -15
  83. package/lib/createTheme-Cfaw9UmV.cjs +0 -1
  84. package/lib/en3/helpers/index.cjs +0 -1
  85. package/lib/en3/helpers/index.js +0 -1870
  86. package/lib/en3/libs/index.cjs +0 -1
  87. package/lib/en3/libs/index.js +0 -200
  88. package/lib/en3/loaders/index.cjs +0 -1
  89. package/lib/en3/loaders/index.js +0 -1742
  90. package/lib/en3/misc/index.cjs +0 -10
  91. package/lib/en3/misc/index.js +0 -110
  92. package/lib/en3/utils/index.cjs +0 -1
  93. package/lib/en3/utils/index.js +0 -20
  94. package/lib/en3-C1fLmsjs.cjs +0 -8
  95. package/lib/en3-x-Ki30MY.js +0 -344
  96. package/lib/events-BGwqaxVW.cjs +0 -1
  97. package/lib/events-CJTUMSLU.js +0 -20
  98. package/lib/file-EevnUtRj.cjs +0 -1
  99. package/lib/file-lxi_oXJf.js +0 -13
  100. package/lib/index-BuAuBz2_.cjs +0 -9
  101. package/lib/index-CenF0JbH.js +0 -261
  102. package/lib/modal/index.cjs +0 -1
  103. package/lib/modal/index.js +0 -133
  104. package/lib/select/index.cjs +0 -1
  105. package/lib/select/index.js +0 -7
  106. package/lib/tags-6_ETuR75.cjs +0 -1
  107. package/lib/tags-BL3kQp9o.js +0 -833
  108. package/lib/theme/index.cjs +0 -1
  109. package/lib/theme/index.js +0 -25
  110. package/lib/traverseMaterials-CD_3_56D.cjs +0 -1
  111. package/lib/traverseMaterials-mGC2_FkG.js +0 -29
  112. package/lib/tweaker/index.cjs +0 -10
  113. package/lib/tweaker/index.js +0 -989
@@ -1,104 +0,0 @@
1
- var $ = (a) => {
2
- throw TypeError(a);
3
- };
4
- var k = (a, e, t) => e.has(a) || $("Cannot " + t);
5
- var r = (a, e, t) => (k(a, e, "read from private field"), t ? t.call(a) : e.get(a)), o = (a, e, t) => e.has(a) ? $("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(a) : e.set(a, t), i = (a, e, t, n) => (k(a, e, "write to private field"), n ? n.call(a, t) : e.set(a, t), t);
6
- import { RESIZE_ORDER as B } from "./order/index.js";
7
- import { windowResizer as A } from "./window-resizer/index.js";
8
- import { S as T } from "./Store-C46i0nvr.js";
9
- var y, g, q, u, c, d, w;
10
- class O {
11
- constructor(e) {
12
- o(this, y);
13
- o(this, g);
14
- o(this, q);
15
- o(this, u);
16
- o(this, c);
17
- o(this, d);
18
- o(this, w);
19
- i(this, y, e);
20
- const t = e.indexOf("?");
21
- t >= 0 && (e = e.slice(0, t));
22
- const n = e.split(".");
23
- i(this, g, n[0]);
24
- const f = /\d+x/g, h = n.find((m) => m.match(f));
25
- i(this, q, h ? parseInt(h) : 1);
26
- const x = /\d+max/g, M = /\d+min/g, s = /\d+mar/g, p = /\d+mir/g, I = n.find((m) => m.match(x)), V = n.find((m) => m.match(M)), b = n.find((m) => m.match(s)), S = n.find((m) => m.match(p));
27
- b ? (i(this, c, parseInt(b)), i(this, d, "max"), i(this, u, `(max-aspect-ratio: ${r(this, c)})`)) : S ? (i(this, c, parseInt(S)), i(this, d, "max"), i(this, u, `(min-aspect-ratio: ${r(this, c)})`)) : I ? (i(this, c, parseInt(I)), i(this, d, "max"), i(this, u, `(max-width: ${r(this, c)}px)`)) : V ? (i(this, c, parseInt(V)), i(this, u, `(min-width: ${r(this, c)}px)`), i(this, d, "min")) : (i(this, c, 0), i(this, u, `(min-width: ${r(this, c)}px)`), i(this, d, "min")), i(this, w, "." + n[n.length - 1]);
28
- }
29
- get url() {
30
- return r(this, y);
31
- }
32
- get name() {
33
- return r(this, g);
34
- }
35
- get density() {
36
- return r(this, q);
37
- }
38
- get query() {
39
- return r(this, u);
40
- }
41
- get extension() {
42
- return r(this, w);
43
- }
44
- get queryType() {
45
- return r(this, d);
46
- }
47
- get queryValue() {
48
- return r(this, c);
49
- }
50
- }
51
- y = new WeakMap(), g = new WeakMap(), q = new WeakMap(), u = new WeakMap(), c = new WeakMap(), d = new WeakMap(), w = new WeakMap();
52
- var l;
53
- class P {
54
- constructor(e) {
55
- o(this, l);
56
- i(this, l, /* @__PURE__ */ new Map());
57
- const t = typeof e == "string" ? e.trim().split(",").map((s) => s.trim()).filter((s) => !!s) : e, n = [];
58
- t.forEach((s) => {
59
- const p = new O(s);
60
- n.push([p.query, p]);
61
- });
62
- const f = n.filter((s) => s[1].queryType.includes("max")).sort((s, p) => p[1].queryValue - s[1].queryValue), h = n.filter((s) => s[1].queryType.includes("min") && s[1].queryValue !== 0).sort((s, p) => s[1].queryValue - p[1].queryValue), x = n.filter((s) => s[0] === "(min-width: 0px)");
63
- (x ? [...x, ...f, ...h] : [...f, ...h]).forEach((s) => {
64
- r(this, l).has(s[0]) || r(this, l).set(s[0], []), r(this, l).get(s[0]).push(s[1]);
65
- });
66
- }
67
- get mediaBuckets() {
68
- return r(this, l);
69
- }
70
- }
71
- l = new WeakMap();
72
- var E, R;
73
- class G extends T {
74
- constructor(t) {
75
- super(void 0);
76
- o(this, E);
77
- o(this, R, () => {
78
- let t;
79
- r(this, E).mediaBuckets.forEach((h, x) => {
80
- matchMedia(x).matches && (t = h);
81
- });
82
- let n, f = 0;
83
- t == null || t.forEach((h) => {
84
- h.density > f && h.density <= Math.max(devicePixelRatio, 1) && (f = h.density, n = h);
85
- }), t != null && t.length && !n && (n = t[0]), this.current = n;
86
- });
87
- i(this, E, new P(t.srcset));
88
- }
89
- close() {
90
- super.close(), this.disconnect();
91
- }
92
- connect() {
93
- A.subscribe(r(this, R), B.SOURCE_MANAGER);
94
- }
95
- disconnect() {
96
- A.unsubscribe(r(this, R));
97
- }
98
- }
99
- E = new WeakMap(), R = new WeakMap();
100
- export {
101
- G as S,
102
- O as a,
103
- P as b
104
- };
@@ -1 +0,0 @@
1
- "use strict";var b=c=>{throw TypeError(c)};var k=(c,e,t)=>e.has(c)||b("Cannot "+t);var r=(c,e,t)=>(k(c,e,"read from private field"),t?t.call(c):e.get(c)),o=(c,e,t)=>e.has(c)?b("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(c):e.set(c,t),i=(c,e,t,n)=>(k(c,e,"write to private field"),n?n.call(c,t):e.set(c,t),t);const T=require("./order/index.cjs"),z=require("./window-resizer/index.cjs"),_=require("./Store-npaZHvX4.cjs");var y,g,q,m,a,d,w;class A{constructor(e){o(this,y);o(this,g);o(this,q);o(this,m);o(this,a);o(this,d);o(this,w);i(this,y,e);const t=e.indexOf("?");t>=0&&(e=e.slice(0,t));const n=e.split(".");i(this,g,n[0]);const x=/\d+x/g,h=n.find(u=>u.match(x));i(this,q,h?parseInt(h):1);const f=/\d+max/g,M=/\d+min/g,s=/\d+mar/g,l=/\d+mir/g,S=n.find(u=>u.match(f)),I=n.find(u=>u.match(M)),V=n.find(u=>u.match(s)),$=n.find(u=>u.match(l));V?(i(this,a,parseInt(V)),i(this,d,"max"),i(this,m,`(max-aspect-ratio: ${r(this,a)})`)):$?(i(this,a,parseInt($)),i(this,d,"max"),i(this,m,`(min-aspect-ratio: ${r(this,a)})`)):S?(i(this,a,parseInt(S)),i(this,d,"max"),i(this,m,`(max-width: ${r(this,a)}px)`)):I?(i(this,a,parseInt(I)),i(this,m,`(min-width: ${r(this,a)}px)`),i(this,d,"min")):(i(this,a,0),i(this,m,`(min-width: ${r(this,a)}px)`),i(this,d,"min")),i(this,w,"."+n[n.length-1])}get url(){return r(this,y)}get name(){return r(this,g)}get density(){return r(this,q)}get query(){return r(this,m)}get extension(){return r(this,w)}get queryType(){return r(this,d)}get queryValue(){return r(this,a)}}y=new WeakMap,g=new WeakMap,q=new WeakMap,m=new WeakMap,a=new WeakMap,d=new WeakMap,w=new WeakMap;var p;class B{constructor(e){o(this,p);i(this,p,new Map);const t=typeof e=="string"?e.trim().split(",").map(s=>s.trim()).filter(s=>!!s):e,n=[];t.forEach(s=>{const l=new A(s);n.push([l.query,l])});const x=n.filter(s=>s[1].queryType.includes("max")).sort((s,l)=>l[1].queryValue-s[1].queryValue),h=n.filter(s=>s[1].queryType.includes("min")&&s[1].queryValue!==0).sort((s,l)=>s[1].queryValue-l[1].queryValue),f=n.filter(s=>s[0]==="(min-width: 0px)");(f?[...f,...x,...h]:[...x,...h]).forEach(s=>{r(this,p).has(s[0])||r(this,p).set(s[0],[]),r(this,p).get(s[0]).push(s[1])})}get mediaBuckets(){return r(this,p)}}p=new WeakMap;var R,E;class O extends _.Store{constructor(t){super(void 0);o(this,R);o(this,E,()=>{let t;r(this,R).mediaBuckets.forEach((h,f)=>{matchMedia(f).matches&&(t=h)});let n,x=0;t==null||t.forEach(h=>{h.density>x&&h.density<=Math.max(devicePixelRatio,1)&&(x=h.density,n=h)}),t!=null&&t.length&&!n&&(n=t[0]),this.current=n});i(this,R,new B(t.srcset))}close(){super.close(),this.disconnect()}connect(){z.windowResizer.subscribe(r(this,E),T.RESIZE_ORDER.SOURCE_MANAGER)}disconnect(){z.windowResizer.unsubscribe(r(this,E))}}R=new WeakMap,E=new WeakMap;exports.Source=A;exports.SourceManager=O;exports.SourceSet=B;
@@ -1,137 +0,0 @@
1
- var A = (r) => {
2
- throw TypeError(r);
3
- };
4
- var o = (r, t, e) => t.has(r) || A("Cannot " + e);
5
- var i = (r, t, e) => (o(r, t, "read from private field"), e ? e.call(r) : t.get(r)), c = (r, t, e) => t.has(r) ? A("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), h = (r, t, e, a) => (o(r, t, "write to private field"), a ? a.call(r, e) : t.set(r, e), e), k = (r, t, e) => (o(r, t, "access private method"), e);
6
- import { i as z } from "./browser-0zX67oeU.js";
7
- var l;
8
- class E {
9
- constructor() {
10
- c(this, l);
11
- this.storage = null, this.name = "store-registry", h(this, l, null), z && (this.storage = localStorage);
12
- }
13
- get loadedState() {
14
- return i(this, l);
15
- }
16
- saveState() {
17
- const t = this.getState(), e = JSON.stringify(t);
18
- localStorage.setItem(this.name, e);
19
- }
20
- loadState(t = localStorage.getItem(this.name)) {
21
- t && (typeof t == "string" ? h(this, l, JSON.parse(t)) : h(this, l, t), f.current.forEach((e) => {
22
- e.passport && this.updateStore(e);
23
- }));
24
- }
25
- resetState() {
26
- f.current.forEach((t) => {
27
- t.passport && t.reset();
28
- }), this.saveState();
29
- }
30
- updateStore(t) {
31
- var a, y;
32
- if (!Array.isArray((a = i(this, l)) == null ? void 0 : a.stores))
33
- return t;
34
- const e = t.passport;
35
- if (e) {
36
- const w = (y = i(this, l)) == null ? void 0 : y.stores.find(
37
- (N) => N.name === e.name
38
- );
39
- w && (t.current = w.value);
40
- }
41
- return t;
42
- }
43
- getState() {
44
- const t = {
45
- stores: []
46
- };
47
- return f.current.forEach((e) => {
48
- e.passport && (t.stores.find((a) => a.name === e.passport.name) || t.stores.push({
49
- value: e.current,
50
- name: e.passport.name
51
- }));
52
- }), t;
53
- }
54
- }
55
- l = new WeakMap();
56
- const M = new E();
57
- var d, s, S, n, g, u, m, b, v, C;
58
- class q {
59
- constructor(t, e) {
60
- c(this, v);
61
- c(this, d);
62
- c(this, s);
63
- c(this, S);
64
- c(this, n, /* @__PURE__ */ new Set());
65
- c(this, g);
66
- c(this, u);
67
- c(this, m);
68
- c(this, b);
69
- h(this, d, e == null ? void 0 : e.passport), h(this, s, {
70
- initial: t,
71
- previous: void 0,
72
- current: t
73
- }), h(this, S, (e == null ? void 0 : e.equalityCheck) || ((a, y) => a === y)), e != null && e.validate && this.addMiddleware(e.validate), h(this, m, (e == null ? void 0 : e.notifyAndClose) || !1), h(this, b, (e == null ? void 0 : e.invisible) || !1), h(this, g, (e == null ? void 0 : e.skipSubscribeNotification) || !1), i(this, d) && M.updateStore(this);
74
- }
75
- get passport() {
76
- return i(this, d);
77
- }
78
- get initial() {
79
- return i(this, s).initial;
80
- }
81
- get previous() {
82
- return i(this, s).previous;
83
- }
84
- get current() {
85
- return i(this, s).current;
86
- }
87
- set current(t) {
88
- if (!i(this, S).call(this, i(this, s).current, t)) {
89
- if (i(this, s).previous = i(this, s).current, i(this, u))
90
- for (const e of i(this, u))
91
- t = e(t);
92
- i(this, s).current = t, k(this, v, C).call(this), i(this, m) && this.close();
93
- }
94
- }
95
- get subscribers() {
96
- return i(this, n);
97
- }
98
- addMiddleware(t) {
99
- i(this, u) || h(this, u, /* @__PURE__ */ new Set()), i(this, u).add(t);
100
- }
101
- removeMiddleware(t) {
102
- var e, a;
103
- (e = i(this, u)) == null || e.delete(t), (a = i(this, u)) != null && a.size || h(this, u, void 0);
104
- }
105
- subscribe(t) {
106
- return !i(this, b) && !i(this, n).size && I(this), i(this, n).add(t), i(this, g) || t(i(this, s)), () => {
107
- this.unsubscribe(t);
108
- };
109
- }
110
- unsubscribe(t) {
111
- i(this, n).delete(t), i(this, n).size || p(this);
112
- }
113
- reset() {
114
- this.current = Array.isArray(this.initial) ? [...this.initial] : this.initial;
115
- }
116
- close() {
117
- i(this, n).clear(), p(this);
118
- }
119
- }
120
- d = new WeakMap(), s = new WeakMap(), S = new WeakMap(), n = new WeakMap(), g = new WeakMap(), u = new WeakMap(), m = new WeakMap(), b = new WeakMap(), v = new WeakSet(), C = function() {
121
- for (const t of i(this, n))
122
- t(i(this, s));
123
- };
124
- const f = new q([], {
125
- invisible: !0
126
- });
127
- function I(r) {
128
- f.current.includes(r) || (f.current = [...f.current, r]);
129
- }
130
- function p(r) {
131
- f.current.includes(r) && (f.current = f.current.filter((t) => t !== r));
132
- }
133
- export {
134
- q as S,
135
- f as a,
136
- M as s
137
- };
@@ -1 +0,0 @@
1
- "use strict";var A=i=>{throw TypeError(i)};var o=(i,t,e)=>t.has(i)||A("Cannot "+e);var r=(i,t,e)=>(o(i,t,"read from private field"),e?e.call(i):t.get(i)),c=(i,t,e)=>t.has(i)?A("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(i):t.set(i,e),h=(i,t,e,a)=>(o(i,t,"write to private field"),a?a.call(i,e):t.set(i,e),e),k=(i,t,e)=>(o(i,t,"access private method"),e);const M=require("./browser-CpzFX2xg.cjs");var f;class R{constructor(){c(this,f);this.storage=null,this.name="store-registry",h(this,f,null),M.isBrowser&&(this.storage=localStorage)}get loadedState(){return r(this,f)}saveState(){const t=this.getState(),e=JSON.stringify(t);localStorage.setItem(this.name,e)}loadState(t=localStorage.getItem(this.name)){t&&(typeof t=="string"?h(this,f,JSON.parse(t)):h(this,f,t),l.current.forEach(e=>{e.passport&&this.updateStore(e)}))}resetState(){l.current.forEach(t=>{t.passport&&t.reset()}),this.saveState()}updateStore(t){var a,y;if(!Array.isArray((a=r(this,f))==null?void 0:a.stores))return t;const e=t.passport;if(e){const w=(y=r(this,f))==null?void 0:y.stores.find(E=>E.name===e.name);w&&(t.current=w.value)}return t}getState(){const t={stores:[]};return l.current.forEach(e=>{e.passport&&(t.stores.find(a=>a.name===e.passport.name)||t.stores.push({value:e.current,name:e.passport.name}))}),t}}f=new WeakMap;const N=new R;var d,s,S,n,g,u,b,m,v,z;class q{constructor(t,e){c(this,v);c(this,d);c(this,s);c(this,S);c(this,n,new Set);c(this,g);c(this,u);c(this,b);c(this,m);h(this,d,e==null?void 0:e.passport),h(this,s,{initial:t,previous:void 0,current:t}),h(this,S,(e==null?void 0:e.equalityCheck)||((a,y)=>a===y)),e!=null&&e.validate&&this.addMiddleware(e.validate),h(this,b,(e==null?void 0:e.notifyAndClose)||!1),h(this,m,(e==null?void 0:e.invisible)||!1),h(this,g,(e==null?void 0:e.skipSubscribeNotification)||!1),r(this,d)&&N.updateStore(this)}get passport(){return r(this,d)}get initial(){return r(this,s).initial}get previous(){return r(this,s).previous}get current(){return r(this,s).current}set current(t){if(!r(this,S).call(this,r(this,s).current,t)){if(r(this,s).previous=r(this,s).current,r(this,u))for(const e of r(this,u))t=e(t);r(this,s).current=t,k(this,v,z).call(this),r(this,b)&&this.close()}}get subscribers(){return r(this,n)}addMiddleware(t){r(this,u)||h(this,u,new Set),r(this,u).add(t)}removeMiddleware(t){var e,a;(e=r(this,u))==null||e.delete(t),(a=r(this,u))!=null&&a.size||h(this,u,void 0)}subscribe(t){return!r(this,m)&&!r(this,n).size&&p(this),r(this,n).add(t),r(this,g)||t(r(this,s)),()=>{this.unsubscribe(t)}}unsubscribe(t){r(this,n).delete(t),r(this,n).size||C(this)}reset(){this.current=Array.isArray(this.initial)?[...this.initial]:this.initial}close(){r(this,n).clear(),C(this)}}d=new WeakMap,s=new WeakMap,S=new WeakMap,n=new WeakMap,g=new WeakMap,u=new WeakMap,b=new WeakMap,m=new WeakMap,v=new WeakSet,z=function(){for(const t of r(this,n))t(r(this,s))};const l=new q([],{invisible:!0});function p(i){l.current.includes(i)||(l.current=[...l.current,i])}function C(i){l.current.includes(i)&&(l.current=l.current.filter(t=>t!==i))}exports.Store=q;exports.activeStores=l;exports.storeRegistry=N;
@@ -1 +0,0 @@
1
- "use strict";var O=l=>{throw TypeError(l)};var H=(l,i,t)=>i.has(l)||O("Cannot "+t);var e=(l,i,t)=>(H(l,i,"read from private field"),t?t.call(l):i.get(l)),h=(l,i,t)=>i.has(l)?O("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(l):i.set(l,t),a=(l,i,t,n)=>(H(l,i,"write to private field"),n?n.call(l,t):i.set(l,t),t),c=(l,i,t)=>(H(l,i,"access private method"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../attribute/index.cjs"),D=require("../browser-CpzFX2xg.cjs"),_=require("../dom-JBOkFLTh.cjs"),B=require("../events-BGwqaxVW.cjs"),$=require("../style-At6aDoqG.cjs");var d,r,f,o,E,S,v,m,T,s,W,w,A,x,k,z,g,b,R,p;class P{constructor(i,t){h(this,s);h(this,d,null);h(this,r,null);h(this,f,null);h(this,o,null);h(this,E,null);h(this,S,!1);h(this,v);h(this,m,!1);h(this,T,[]);h(this,A,()=>{e(this,m)?this.close():this.open()});h(this,x,()=>{e(this,m)&&(c(this,s,g).call(this,0,!0),c(this,s,g).call(this,e(this,s,w)))});h(this,k,()=>{c(this,s,b).call(this,"size-change")});h(this,z,i=>{e(this,m)&&(c(this,s,g).call(this,0,!0),c(this,s,g).call(this,e(this,s,w)),e(this,T).forEach(t=>{t.element.scroll({left:e(this,d).axisAttribute.current==="x"?t.scroll:0,top:e(this,d).axisAttribute.current==="y"?t.scroll:0})}))});h(this,p,()=>{const i=_.getAllParentElements(e(this,r));a(this,T,i.map(t=>({element:t,scroll:e(this,d).axisAttribute.current==="y"?t.scrollTop:t.scrollLeft})))});t.firstElementChild instanceof HTMLElement&&t.lastElementChild instanceof HTMLElement?(a(this,d,i),a(this,r,t),a(this,f,t.firstElementChild),a(this,o,t.lastElementChild),e(this,f).style.cursor="default",e(this,o).style.overflow="hidden",e(this,d).axisAttribute.current==="y"?e(this,o).style.height="0px":e(this,o).style.width="0px",a(this,E,new ResizeObserver(e(this,k))),addEventListener("resize",e(this,x)),e(this,f).addEventListener("click",e(this,A)),e(this,r).addEventListener("beforeSizeChange",e(this,p)),e(this,r).addEventListener("sizeChange",e(this,z)),e(this,r).hasAttribute("data-opened")&&this.open({skipTransition:!0})):i.removeItem(e(this,r))}get element(){return e(this,r)}destroy(){e(this,f)&&(e(this,r).classList.remove("opened","triggered"),e(this,f).style.cursor="",c(this,s,g).call(this,void 0),e(this,E).disconnect(),removeEventListener("resize",e(this,x)),e(this,f).removeEventListener("click",e(this,A)),e(this,r).removeEventListener("beforeSizeChange",e(this,p)),e(this,r).removeEventListener("sizeChange",e(this,z)),clearTimeout(e(this,v)))}open(i){c(this,s,b).call(this,"before-toggle"),i!=null&&i.skipTransition&&c(this,s,R).call(this),e(this,d).multipleAttribute.current||e(this,d).closeAll({exclude:e(this,r)}),e(this,S)||e(this,E).observe(e(this,o)),a(this,m,!0),clearTimeout(e(this,v)),e(this,r).classList.add("triggered"),c(this,s,g).call(this,e(this,s,w)),setTimeout(()=>{e(this,r).classList.add("opened")},0),c(this,s,b).call(this,"toggle")}close(i){c(this,s,b).call(this,"before-toggle"),i!=null&&i.skipTransition&&c(this,s,R).call(this),a(this,m,!1),e(this,r).classList.remove("opened"),c(this,s,g).call(this,0),a(this,v,setTimeout(()=>{e(this,r).classList.remove("triggered")},$.getElementTransitionDurationMS(e(this,o)))),c(this,s,b).call(this,"toggle")}}d=new WeakMap,r=new WeakMap,f=new WeakMap,o=new WeakMap,E=new WeakMap,S=new WeakMap,v=new WeakMap,m=new WeakMap,T=new WeakMap,s=new WeakSet,W=function(){return e(this,r).parentElement||e(this,r).getRootNode()},w=function(){return e(this,d).axisAttribute.current==="x"?e(this,o).scrollWidth:e(this,o).scrollHeight},A=new WeakMap,x=new WeakMap,k=new WeakMap,z=new WeakMap,g=function(i,t=!1){t&&(e(this,o).style.transition="all 0s",setTimeout(()=>{e(this,o).style.transition=""}));const n=e(this,d).axisAttribute.current==="x"?"width":"height";i!=null?e(this,o).style[n]=`${i}px`:e(this,o).style[n]=""},b=function(i){i==="before-toggle"?B.dispatchBeforeSizeChangeEvent(e(this,r)):i==="toggle"?e(this,r).dispatchEvent(new CustomEvent("accordionItemToggle",{bubbles:!0,composed:!0,detail:{opened:e(this,m)}})):i==="size-change"&&B.dispatchSizeChangeEvent(e(this,s,W))},R=function(){e(this,o).style.transition="all 0s",setTimeout(()=>{e(this,o).style.transition=""},50)},p=new WeakMap;var M,I,u,L,C,q;class j extends HTMLElement{constructor(){super();h(this,C);h(this,M,new N.Attribute(this,"axis","y"));h(this,I,new N.Attribute(this,"multiple",!1));h(this,u,[]);h(this,L,null);D.isBrowser&&a(this,L,new MutationObserver(t=>{t.forEach(n=>{n.removedNodes.forEach(y=>{y instanceof HTMLElement&&this.removeItem(y)}),n.addedNodes.forEach(y=>{y instanceof HTMLElement&&this.createItem(y)})})}))}get axisAttribute(){return e(this,M)}get multipleAttribute(){return e(this,I)}createItem(t){e(this,u).find(n=>n.element===t)||e(this,u).push(new P(this,t))}removeItem(t){a(this,u,e(this,u).filter(n=>{if(n.element!==t)return!0;n.destroy()}))}closeAll(t){e(this,u).forEach(n=>{(t==null?void 0:t.exclude)!==n.element&&n.close(t)})}openAll(t){e(this,u).forEach(n=>{(t==null?void 0:t.exclude)!==n.element&&n.open(t)})}connectedCallback(){e(this,L).observe(e(this,C,q),{childList:!0}),a(this,u,[...e(this,C,q).children].map(t=>{if(t instanceof HTMLElement)return new P(this,t)}).filter(t=>!!t))}disconnectedCallback(){e(this,L).disconnect()}}M=new WeakMap,I=new WeakMap,u=new WeakMap,L=new WeakMap,C=new WeakSet,q=function(){return this.shadowRoot?this.shadowRoot:this};customElements.get("e-accordion")||customElements.define("e-accordion",j);exports.AccordionElement=j;
@@ -1,167 +0,0 @@
1
- var N = (l) => {
2
- throw TypeError(l);
3
- };
4
- var H = (l, i, t) => i.has(l) || N("Cannot " + t);
5
- var e = (l, i, t) => (H(l, i, "read from private field"), t ? t.call(l) : i.get(l)), h = (l, i, t) => i.has(l) ? N("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(l) : i.set(l, t), c = (l, i, t, n) => (H(l, i, "write to private field"), n ? n.call(l, t) : i.set(l, t), t), a = (l, i, t) => (H(l, i, "access private method"), t);
6
- import { Attribute as B } from "../attribute/index.js";
7
- import { i as P } from "../browser-0zX67oeU.js";
8
- import { g as $ } from "../dom-P5QbAASX.js";
9
- import { d as j, a as q } from "../events-CJTUMSLU.js";
10
- import { g as F } from "../style-j2TwriJ_.js";
11
- var d, r, f, o, b, k, v, m, p, s, D, w, x, y, S, A, g, E, R, z;
12
- class W {
13
- constructor(i, t) {
14
- h(this, s);
15
- h(this, d, null);
16
- h(this, r, null);
17
- h(this, f, null);
18
- h(this, o, null);
19
- h(this, b, null);
20
- h(this, k, !1);
21
- h(this, v);
22
- h(this, m, !1);
23
- h(this, p, []);
24
- h(this, x, () => {
25
- e(this, m) ? this.close() : this.open();
26
- });
27
- h(this, y, () => {
28
- e(this, m) && (a(this, s, g).call(this, 0, !0), a(this, s, g).call(this, e(this, s, w)));
29
- });
30
- h(this, S, () => {
31
- a(this, s, E).call(this, "size-change");
32
- });
33
- h(this, A, (i) => {
34
- e(this, m) && (a(this, s, g).call(this, 0, !0), a(this, s, g).call(this, e(this, s, w)), e(this, p).forEach((t) => {
35
- t.element.scroll({
36
- left: e(this, d).axisAttribute.current === "x" ? t.scroll : 0,
37
- top: e(this, d).axisAttribute.current === "y" ? t.scroll : 0
38
- });
39
- }));
40
- });
41
- h(this, z, () => {
42
- const i = $(e(this, r));
43
- c(this, p, i.map((t) => ({
44
- element: t,
45
- scroll: e(this, d).axisAttribute.current === "y" ? t.scrollTop : t.scrollLeft
46
- })));
47
- });
48
- t.firstElementChild instanceof HTMLElement && t.lastElementChild instanceof HTMLElement ? (c(this, d, i), c(this, r, t), c(this, f, t.firstElementChild), c(this, o, t.lastElementChild), e(this, f).style.cursor = "default", e(this, o).style.overflow = "hidden", e(this, d).axisAttribute.current === "y" ? e(this, o).style.height = "0px" : e(this, o).style.width = "0px", c(this, b, new ResizeObserver(e(this, S))), addEventListener("resize", e(this, y)), e(this, f).addEventListener("click", e(this, x)), e(this, r).addEventListener(
49
- "beforeSizeChange",
50
- e(this, z)
51
- ), e(this, r).addEventListener(
52
- "sizeChange",
53
- e(this, A)
54
- ), e(this, r).hasAttribute("data-opened") && this.open({ skipTransition: !0 })) : i.removeItem(e(this, r));
55
- }
56
- get element() {
57
- return e(this, r);
58
- }
59
- destroy() {
60
- e(this, f) && (e(this, r).classList.remove("opened", "triggered"), e(this, f).style.cursor = "", a(this, s, g).call(this, void 0), e(this, b).disconnect(), removeEventListener("resize", e(this, y)), e(this, f).removeEventListener("click", e(this, x)), e(this, r).removeEventListener(
61
- "beforeSizeChange",
62
- e(this, z)
63
- ), e(this, r).removeEventListener(
64
- "sizeChange",
65
- e(this, A)
66
- ), clearTimeout(e(this, v)));
67
- }
68
- open(i) {
69
- a(this, s, E).call(this, "before-toggle"), i != null && i.skipTransition && a(this, s, R).call(this), e(this, d).multipleAttribute.current || e(this, d).closeAll({ exclude: e(this, r) }), e(this, k) || e(this, b).observe(e(this, o)), c(this, m, !0), clearTimeout(e(this, v)), e(this, r).classList.add("triggered"), a(this, s, g).call(this, e(this, s, w)), setTimeout(() => {
70
- e(this, r).classList.add("opened");
71
- }, 0), a(this, s, E).call(this, "toggle");
72
- }
73
- close(i) {
74
- a(this, s, E).call(this, "before-toggle"), i != null && i.skipTransition && a(this, s, R).call(this), c(this, m, !1), e(this, r).classList.remove("opened"), a(this, s, g).call(this, 0), c(this, v, setTimeout(() => {
75
- e(this, r).classList.remove("triggered");
76
- }, F(e(this, o)))), a(this, s, E).call(this, "toggle");
77
- }
78
- }
79
- d = new WeakMap(), r = new WeakMap(), f = new WeakMap(), o = new WeakMap(), b = new WeakMap(), k = new WeakMap(), v = new WeakMap(), m = new WeakMap(), p = new WeakMap(), s = new WeakSet(), D = function() {
80
- return e(this, r).parentElement || e(this, r).getRootNode();
81
- }, w = function() {
82
- return e(this, d).axisAttribute.current === "x" ? e(this, o).scrollWidth : e(this, o).scrollHeight;
83
- }, x = new WeakMap(), y = new WeakMap(), S = new WeakMap(), A = new WeakMap(), g = function(i, t = !1) {
84
- t && (e(this, o).style.transition = "all 0s", setTimeout(() => {
85
- e(this, o).style.transition = "";
86
- }));
87
- const n = e(this, d).axisAttribute.current === "x" ? "width" : "height";
88
- i != null ? e(this, o).style[n] = `${i}px` : e(this, o).style[n] = "";
89
- }, E = function(i) {
90
- i === "before-toggle" ? j(e(this, r)) : i === "toggle" ? e(this, r).dispatchEvent(
91
- new CustomEvent("accordionItemToggle", {
92
- bubbles: !0,
93
- composed: !0,
94
- detail: {
95
- opened: e(this, m)
96
- }
97
- })
98
- ) : i === "size-change" && q(e(this, s, D));
99
- }, R = function() {
100
- e(this, o).style.transition = "all 0s", setTimeout(() => {
101
- e(this, o).style.transition = "";
102
- }, 50);
103
- }, z = new WeakMap();
104
- var I, M, u, L, C, O;
105
- class G extends HTMLElement {
106
- constructor() {
107
- super();
108
- h(this, C);
109
- h(this, I, new B(this, "axis", "y"));
110
- h(this, M, new B(this, "multiple", !1));
111
- h(this, u, []);
112
- h(this, L, null);
113
- P && c(this, L, new MutationObserver((t) => {
114
- t.forEach((n) => {
115
- n.removedNodes.forEach((T) => {
116
- T instanceof HTMLElement && this.removeItem(T);
117
- }), n.addedNodes.forEach((T) => {
118
- T instanceof HTMLElement && this.createItem(T);
119
- });
120
- });
121
- }));
122
- }
123
- get axisAttribute() {
124
- return e(this, I);
125
- }
126
- get multipleAttribute() {
127
- return e(this, M);
128
- }
129
- createItem(t) {
130
- e(this, u).find((n) => n.element === t) || e(this, u).push(new W(this, t));
131
- }
132
- removeItem(t) {
133
- c(this, u, e(this, u).filter((n) => {
134
- if (n.element !== t)
135
- return !0;
136
- n.destroy();
137
- }));
138
- }
139
- closeAll(t) {
140
- e(this, u).forEach((n) => {
141
- (t == null ? void 0 : t.exclude) !== n.element && n.close(t);
142
- });
143
- }
144
- openAll(t) {
145
- e(this, u).forEach((n) => {
146
- (t == null ? void 0 : t.exclude) !== n.element && n.open(t);
147
- });
148
- }
149
- connectedCallback() {
150
- e(this, L).observe(e(this, C, O), {
151
- childList: !0
152
- }), c(this, u, [...e(this, C, O).children].map((t) => {
153
- if (t instanceof HTMLElement)
154
- return new W(this, t);
155
- }).filter((t) => !!t));
156
- }
157
- disconnectedCallback() {
158
- e(this, L).disconnect();
159
- }
160
- }
161
- I = new WeakMap(), M = new WeakMap(), u = new WeakMap(), L = new WeakMap(), C = new WeakSet(), O = function() {
162
- return this.shadowRoot ? this.shadowRoot : this;
163
- };
164
- customElements.get("e-accordion") || customElements.define("e-accordion", G);
165
- export {
166
- G as AccordionElement
167
- };
@@ -1 +0,0 @@
1
- "use strict";var k=e=>{throw TypeError(e)};var p=(e,s,t)=>s.has(e)||k("Cannot "+t);var a=(e,s,t)=>(p(e,s,"read from private field"),t?t.call(e):s.get(e)),d=(e,s,t)=>s.has(e)?k("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(e):s.set(e,t),g=(e,s,t,i)=>(p(e,s,"write to private field"),i?i.call(e,t):s.set(e,t),t),o=(e,s,t)=>(p(e,s,"access private method"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../Store-npaZHvX4.cjs");require("../ticker/index.cjs");const c=require("../tags-6_ETuR75.cjs"),f=require("../createStylesheet-Csfmh-MH.cjs"),m=require("../theme/index.cjs"),b='<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>',w=f.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:m.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:m.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:m.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});var h,r,l,n;const v=class v extends HTMLElement{constructor(){super();d(this,l);d(this,h,null);d(this,r);this.attachShadow({mode:"open"}).adoptedStyleSheets.push(w),g(this,r,this.attachInternals()),c.element(this,{children:c.label({children:[c.span({class:"fake",children:c.slot({children:[c.span({class:"default",children:[b]})]})}),c.input({ref:i=>{g(this,h,i),i.required=this.hasAttribute("required"),i.value=this.getAttribute("value")||"",i.checked=this.hasAttribute("checked"),i.name=this.getAttribute("name")||"",o(this,l,n).call(this)},class:"real",type:"checkbox",onChange:()=>{o(this,l,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return a(this,h).checked}set checked(t){a(this,h).checked=t,o(this,l,n).call(this)}get value(){return a(this,h).value}set value(t){a(this,h).value=t,o(this,l,n).call(this)}};h=new WeakMap,r=new WeakMap,l=new WeakSet,n=function(){this.checked?a(this,r).setFormValue(this.value):a(this,r).setFormValue(null),this.classList.toggle("checked",this.checked)},v.formAssociated=!0;let u=v;customElements.get("e-checkbox")||customElements.define("e-checkbox",u);exports.CheckboxElement=u;
@@ -1,112 +0,0 @@
1
- var v = (e) => {
2
- throw TypeError(e);
3
- };
4
- var d = (e, s, t) => s.has(e) || v("Cannot " + t);
5
- var h = (e, s, t) => (d(e, s, "read from private field"), t ? t.call(e) : s.get(e)), n = (e, s, t) => s.has(e) ? v("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, t), u = (e, s, t, i) => (d(e, s, "write to private field"), i ? i.call(e, t) : s.set(e, t), t), c = (e, s, t) => (d(e, s, "access private method"), t);
6
- import "../Store-C46i0nvr.js";
7
- import "../ticker/index.js";
8
- import { e as k, a3 as b, aB as f, ay as w, a0 as y } from "../tags-BL3kQp9o.js";
9
- import { c as x } from "../createStylesheet-COAZH1Mw.js";
10
- import { aptechkaTheme as p } from "../theme/index.js";
11
- const A = '<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>', S = x({
12
- ":host": {
13
- position: "relative",
14
- display: "inline-block",
15
- width: "30px",
16
- height: "30px",
17
- borderRadius: p.borderRadiusSmall.var,
18
- overflow: "hidden"
19
- },
20
- "label, .fake": {
21
- display: "block"
22
- },
23
- "label, .fake, .default": {
24
- width: "100%",
25
- height: "100%"
26
- },
27
- ".real": {
28
- position: "absolute",
29
- top: "0",
30
- left: "0",
31
- width: "0px",
32
- height: "0px",
33
- visibility: "hidden",
34
- margin: "0"
35
- },
36
- ".default": {
37
- display: "flex",
38
- alignItems: "center",
39
- justifyContent: "center",
40
- backgroundColor: p.colorMainAux.var
41
- },
42
- ".default svg": {
43
- width: "60%",
44
- height: "60%",
45
- fill: p.colorFont.var,
46
- opacity: 0,
47
- transition: "var(--duration-short)"
48
- },
49
- ":host(.checked) .default svg": {
50
- opacity: 1
51
- }
52
- });
53
- var a, o, l, r;
54
- const g = class g extends HTMLElement {
55
- constructor() {
56
- super();
57
- n(this, l);
58
- n(this, a, null);
59
- n(this, o);
60
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(S), u(this, o, this.attachInternals()), k(this, {
61
- children: b({
62
- children: [
63
- f({
64
- class: "fake",
65
- children: w({
66
- children: [
67
- f({
68
- class: "default",
69
- children: [A]
70
- })
71
- ]
72
- })
73
- }),
74
- y({
75
- ref: (i) => {
76
- u(this, a, i), i.required = this.hasAttribute("required"), i.value = this.getAttribute("value") || "", i.checked = this.hasAttribute("checked"), i.name = this.getAttribute("name") || "", c(this, l, r).call(this);
77
- },
78
- class: "real",
79
- type: "checkbox",
80
- onChange: () => {
81
- c(this, l, r).call(this), this.dispatchEvent(
82
- new Event("change", {
83
- composed: !0
84
- })
85
- );
86
- }
87
- })
88
- ]
89
- })
90
- });
91
- }
92
- get checked() {
93
- return h(this, a).checked;
94
- }
95
- set checked(t) {
96
- h(this, a).checked = t, c(this, l, r).call(this);
97
- }
98
- get value() {
99
- return h(this, a).value;
100
- }
101
- set value(t) {
102
- h(this, a).value = t, c(this, l, r).call(this);
103
- }
104
- };
105
- a = new WeakMap(), o = new WeakMap(), l = new WeakSet(), r = function() {
106
- this.checked ? h(this, o).setFormValue(this.value) : h(this, o).setFormValue(null), this.classList.toggle("checked", this.checked);
107
- }, g.formAssociated = !0;
108
- let m = g;
109
- customElements.get("e-checkbox") || customElements.define("e-checkbox", m);
110
- export {
111
- m as CheckboxElement
112
- };
@@ -1,8 +0,0 @@
1
- import { aD as n } from "./tags-BL3kQp9o.js";
2
- function c(t) {
3
- const e = new CSSStyleSheet();
4
- return e.replaceSync(n(t).node.innerHTML), e;
5
- }
6
- export {
7
- c
8
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./tags-6_ETuR75.cjs");function r(t){const e=new CSSStyleSheet;return e.replaceSync(n.style(t).node.innerHTML),e}exports.createStylesheet=r;
@@ -1,15 +0,0 @@
1
- import { c as l } from "./string-f0Dnk0L1.js";
2
- function m(r, a) {
3
- const f = (a == null ? void 0 : a.prefix) || "", c = {
4
- style: {}
5
- };
6
- for (const e in r)
7
- c[e] = {
8
- var: `var(--${f}${l(e)})`,
9
- value: r[e]
10
- }, c.style[`--${f}${l(e)}`] = r[e];
11
- return c;
12
- }
13
- export {
14
- m as c
15
- };
@@ -1 +0,0 @@
1
- "use strict";const l=require("./string-DhgS_iFl.cjs");function s(r,a){const t=(a==null?void 0:a.prefix)||"",c={style:{}};for(const e in r)c[e]={var:`var(--${t}${l.camelToKebab(e)})`,value:r[e]},c.style[`--${t}${l.camelToKebab(e)}`]=r[e];return c}exports.createTheme=s;