@reactive-web-components/rwc 2.63.7 → 2.63.9

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 (42) hide show
  1. package/package.json +5 -5
  2. package/reactive-web-component.CVKZou2I.js +1128 -0
  3. package/reactive-web-component.Dkdz2Eax.umd.cjs +2 -0
  4. package/{shared → src/shared}/utils/signal/signal.d.ts +1 -0
  5. package/reactive-web-component.BmjLtNib.js +0 -1118
  6. package/reactive-web-component.Bx_Hbzlr.umd.cjs +0 -2
  7. /package/{main.d.ts → src/main.d.ts} +0 -0
  8. /package/{shared → src/shared}/constants/constants.d.ts +0 -0
  9. /package/{shared → src/shared}/index.d.ts +0 -0
  10. /package/{shared → src/shared}/types/base-element.d.ts +0 -0
  11. /package/{shared → src/shared}/types/element.d.ts +0 -0
  12. /package/{shared → src/shared}/types/index.d.ts +0 -0
  13. /package/{shared → src/shared}/types/list.type.d.ts +0 -0
  14. /package/{shared → src/shared}/utils/helpers.d.ts +0 -0
  15. /package/{shared → src/shared}/utils/html-decorators/html-property.d.ts +0 -0
  16. /package/{shared → src/shared}/utils/html-decorators/index.d.ts +0 -0
  17. /package/{shared → src/shared}/utils/html-elements/base-element.d.ts +0 -0
  18. /package/{shared → src/shared}/utils/html-elements/create-component-config.d.ts +0 -0
  19. /package/{shared → src/shared}/utils/html-elements/custom-element.d.ts +0 -0
  20. /package/{shared → src/shared}/utils/html-elements/dd-list.d.ts +0 -0
  21. /package/{shared → src/shared}/utils/html-elements/element-helper.d.ts +0 -0
  22. /package/{shared → src/shared}/utils/html-elements/element.d.ts +0 -0
  23. /package/{shared → src/shared}/utils/html-elements/get-list.d.ts +0 -0
  24. /package/{shared → src/shared}/utils/html-elements/index.d.ts +0 -0
  25. /package/{shared → src/shared}/utils/html-fabric/custom-fabric.d.ts +0 -0
  26. /package/{shared → src/shared}/utils/html-fabric/fabric.d.ts +0 -0
  27. /package/{shared → src/shared}/utils/html-fabric/fn-component.d.ts +0 -0
  28. /package/{shared → src/shared}/utils/html-fabric/index.d.ts +0 -0
  29. /package/{shared → src/shared}/utils/index.d.ts +0 -0
  30. /package/{shared → src/shared}/utils/routing/router.d.ts +0 -0
  31. /package/{shared → src/shared}/utils/signal/helpers.types.d.ts +0 -0
  32. /package/{shared → src/shared}/utils/signal/index.d.ts +0 -0
  33. /package/{shared → src/shared}/utils/signal/signal.type.d.ts +0 -0
  34. /package/{shared → src/shared}/utils/signal/utils.d.ts +0 -0
  35. /package/{test-components → src/test-components}/examples/button/button.d.ts +0 -0
  36. /package/{test-components → src/test-components}/examples/counter.d.ts +0 -0
  37. /package/{test-components → src/test-components}/examples/test-list/dynamic-items-test.d.ts +0 -0
  38. /package/{test-components → src/test-components}/examples/test-list/example.list.d.ts +0 -0
  39. /package/{test-components → src/test-components}/examples/useCustomComponent.d.ts +0 -0
  40. /package/{test-components → src/test-components}/examples/when.d.ts +0 -0
  41. /package/{test-components → src/test-components}/tab-bar.d.ts +0 -0
  42. /package/{test-components → src/test-components}/test-batching.d.ts +0 -0
@@ -1,1118 +0,0 @@
1
- var lt = Object.defineProperty;
2
- var at = (s, t, e) => t in s ? lt(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var f = (s, t, e) => at(s, typeof t != "symbol" ? t + "" : t, e);
4
- const F = (s) => s && typeof s == "object" && ("classList" in s || "attributes" in s || "customAttributes" in s || "reactiveClassList" in s || "listeners" in s || "customListeners" in s || "children" in s || "effects" in s || "ref" in s || "style" in s || Object.keys(s).some(
5
- (t) => t.startsWith(".") || t.startsWith("@") || t.startsWith("$")
6
- )) && !("hostElement" in s), dt = (s) => s && typeof s == "object" && "hostElement" in s && "append" in s && "set" in s && "addStyle" in s && "setAttribute" in s && "addClass" in s && "addEffect" in s && "addReactiveContent" in s && "setReactiveContent" in s && "clear" in s, G = (s, t, ...e) => {
7
- t && t.apply(s, e);
8
- };
9
- let z = !0;
10
- const C = (...s) => {
11
- z && console.debug(
12
- ["[rwc]", ...s].join(" | "),
13
- ...Array.from(s.join("").matchAll(/%c/gm)).map((t, e) => e % 2 === 0 ? "color:red" : "color:inherit")
14
- );
15
- }, N = (s) => s.replace(/([A-Z])/gm, (t) => `-${t.toLowerCase()}`), ht = (s) => s.replace(/-(\w)/gm, (t, e) => e.toUpperCase()), V = (s, ...t) => {
16
- if (!z) return;
17
- const e = {
18
- r: "color: #ff0000",
19
- // red
20
- g: "color: #00ff00",
21
- // green
22
- b: "color: #0000ff",
23
- // blue
24
- y: "color: #ffff00",
25
- // yellow
26
- p: "color: #800080",
27
- // purple
28
- c: "color: #00ffff",
29
- // cyan
30
- o: "color: #ffa500",
31
- // orange
32
- w: "color: #808080"
33
- // gray (w for white/gray)
34
- }, n = s.match(/@[rgbpycow]/g) || [], o = n.map((i) => {
35
- const c = i.slice(1);
36
- return e[c] || "color: inherit";
37
- });
38
- let r = s;
39
- n.forEach((i) => {
40
- const c = new RegExp(`\\${i}([^\\s,]+)`, "g");
41
- r = r.replace(c, "%c$1");
42
- }), console.log(r, ...o, ...t);
43
- }, kt = () => {
44
- z = !0;
45
- }, ft = () => {
46
- z = !1;
47
- };
48
- ft();
49
- const Pt = (s, t) => {
50
- s.every(Boolean) && t(s);
51
- }, k = /* @__PURE__ */ new Set();
52
- let K = !1;
53
- const ut = (s) => {
54
- s.status === "active" && k.add(s), K || (K = !0, queueMicrotask(() => {
55
- K = !1, C("pendingEffects.size", k.size);
56
- const t = Array.from(k);
57
- k.clear(), t.forEach((e) => {
58
- if (e.status === "active") {
59
- U(e), O.push(e);
60
- try {
61
- e();
62
- } catch (n) {
63
- console.error("Error in effect:", n);
64
- } finally {
65
- O.pop();
66
- }
67
- }
68
- }), C("after ------ pendingEffects.size", k.size);
69
- }));
70
- }, O = [], U = (s) => {
71
- var t, e, n, o;
72
- (t = s.children) == null || t.forEach((r) => {
73
- var i;
74
- return (i = r.destroy) == null ? void 0 : i.call(r);
75
- }), (e = s.children) == null || e.clear(), (n = s.cleanupSet) == null || n.forEach((r) => r()), (o = s.cleanupSet) == null || o.clear();
76
- };
77
- function j(s, t) {
78
- let e = (t == null ? void 0 : t.signalCompareFn) || (() => !0);
79
- const n = /* @__PURE__ */ new Set();
80
- function o() {
81
- var i;
82
- const r = O[O.length - 1];
83
- return r && !r.fake && !n.has(r) && r.status === "active" && (n.add(r), (i = r.cleanupSet) == null || i.add(() => n.delete(r))), !(t != null && t.name) && (r != null && r.effectId) && o.setName(r.effectId), s;
84
- }
85
- return o.signalId = `${(t == null ? void 0 : t.name) || ""}_${Math.random().toString(36).substring(2, 15)}`, o.setName = function(r) {
86
- return o.signalId = `${r}_${Math.random().toString(36).substring(2, 15)}`, o;
87
- }, o.setCompareFn = function(r) {
88
- return e = r, o;
89
- }, o.clearSubscribers = function() {
90
- n.clear();
91
- }, o.getSubscribers = function() {
92
- return n;
93
- }, o.peek = function() {
94
- return Object.freeze(s);
95
- }, o.initValue = Object.freeze(s), o.forceSet = function(r) {
96
- s = r, n.forEach((i) => ut(i));
97
- }, o.set = function(r, i = e) {
98
- s !== r && i(s, r) && o.forceSet(r);
99
- }, o.update = function(r) {
100
- o.set(r(s));
101
- }, o.pipe = (r, i) => {
102
- i != null && i.name && o.setName(i.name);
103
- const c = j(null);
104
- return w(
105
- () => {
106
- const a = o();
107
- w(
108
- () => {
109
- const h = r(a);
110
- h instanceof Promise ? h.then((m) => c.set(m)) : g(h) ? w(() => c.set(h()), {
111
- name: "pipe_effect_inner"
112
- }) : c.set(h);
113
- },
114
- { name: "pipe_effect" }
115
- );
116
- },
117
- { name: (i == null ? void 0 : i.name) || `pipe_${o.signalId}` }
118
- ), c;
119
- }, o;
120
- }
121
- function w(s, t) {
122
- var r;
123
- const e = `${(t == null ? void 0 : t.name) || ""}_${Math.random().toString(36).substring(2, 15)}`;
124
- C("current effect", `%c${e}%c`);
125
- const n = s;
126
- n.status = "active", n.children = /* @__PURE__ */ new Set(), n.effectId = e;
127
- const o = O[O.length - 1];
128
- return o && ((r = o.children) == null || r.add(n), n.parent = new WeakRef(o), n.destroy = () => {
129
- var i;
130
- U(n), (i = o.children) == null || i.delete(n), n.destroy = void 0, n.status = "inactive";
131
- }), n.cleanupSet = /* @__PURE__ */ new Set(), O.push(n), n(), O.pop(), n;
132
- }
133
- const g = (s) => !!s && ["object", "function"].includes(typeof s) && "set" in s && "update" in s && "forceSet" in s && "signalId" in s;
134
- function Ft(s, ...t) {
135
- const e = j("");
136
- return w(() => {
137
- const n = t.map(
138
- (r) => g(r) ? String(r()) : String(r)
139
- ), o = [s[0]];
140
- n.forEach((r, i) => {
141
- o.push(r, s[i + 1]);
142
- }), e.set(o.join(""));
143
- }), e;
144
- }
145
- function Bt(s, t) {
146
- const e = j(t ?? null), n = (o) => e.set(o);
147
- return s instanceof Promise ? s.then(n) : typeof s == "function" && w(() => {
148
- const o = s();
149
- o instanceof Promise ? o.then(n) : g(o) ? w(() => n(o())) : n(o);
150
- }), e;
151
- }
152
- function Vt(s, t) {
153
- let e = s(), n = t();
154
- w(() => {
155
- const o = s(), r = t();
156
- o !== r && (o !== e ? t.set(o) : r !== n && s.set(r)), e = o, n = r;
157
- });
158
- }
159
- function Nt(...s) {
160
- let t = s.map((n) => n());
161
- const e = j(t);
162
- return s.forEach((n, o) => {
163
- w(() => {
164
- const r = () => t.filter((i) => i !== void 0).length;
165
- r() === s.length && (t = Array.from(t).fill(void 0)), t[o] = n(), r() === s.length && e.set([...t]);
166
- });
167
- }), e;
168
- }
169
- const Jt = (...s) => {
170
- const t = j([]);
171
- return w(() => {
172
- t.set(
173
- s.map((e) => e())
174
- );
175
- }), t;
176
- }, qt = (s, t) => {
177
- let e = !0;
178
- const n = w(() => {
179
- var o;
180
- e && (e = !1, t(s()), (o = n.destroy) == null || o.call(n));
181
- });
182
- }, J = "eventProps", q = "EVENT_CONFIG", P = "observedAttributes", zt = () => (s, t) => {
183
- Reflect.get(s, P) || Reflect.defineProperty(s, P, {
184
- value: []
185
- }), Reflect.get(s, P).push(
186
- N(t)
187
- );
188
- }, Dt = (s) => (t, e) => {
189
- Reflect.get(t, J) || Reflect.defineProperty(t, J, {
190
- value: []
191
- }), Reflect.get(t, q) || Reflect.defineProperty(t, q, {
192
- value: {}
193
- }), Reflect.get(t, q)[e] = {
194
- bubbles: (s == null ? void 0 : s.bubbles) ?? !1,
195
- composed: (s == null ? void 0 : s.composed) ?? !1
196
- }, Reflect.get(t, J).push(e);
197
- }, st = (s, t = !1) => (e) => {
198
- C(
199
- s,
200
- "start register static attr",
201
- e.prototype[P]
202
- );
203
- const n = [];
204
- if (e.styles) {
205
- const r = e.styles, i = [];
206
- Array.isArray(r) ? i.push(...r) : i.push(r), i.forEach((c) => {
207
- const a = new CSSStyleSheet();
208
- a.replaceSync(c), n.push(a);
209
- const b = new CSSStyleSheet();
210
- b.replaceSync(c.slice(c.indexOf("@property"))), document.adoptedStyleSheets.push(b);
211
- });
212
- }
213
- class o extends e {
214
- constructor(...i) {
215
- C("constructor", `%c${s}%c`), super(t, ...i), n.length > 0 && this.shadow.adoptedStyleSheets.push(...n);
216
- }
217
- render() {
218
- return C("rwc: render from new class"), e.prototype.render.call(this);
219
- }
220
- attributeChangedCallback(i, c, a) {
221
- C(
222
- "%cAttribute has changed.%c",
223
- `%c${i}%c`,
224
- `oldValue: ${c}, newValue: ${a}`,
225
- `%c${s}%c`
226
- );
227
- try {
228
- a = JSON.parse(a);
229
- } catch {
230
- }
231
- const b = ht(i);
232
- if (b in this && g(this[b])) {
233
- const h = this[b];
234
- h.setName(i), a === null ? (h.set(h.initValue), this.removeAttribute(i)) : h.set(a);
235
- }
236
- G(
237
- this,
238
- e.prototype.attributeChangedCallback,
239
- i,
240
- c,
241
- a
242
- );
243
- }
244
- connectedCallback() {
245
- const i = () => {
246
- var a, b;
247
- C("rwc: connectedCallback"), C("connectedCallback", `%c${s}%c`, this), (a = this.init) == null || a.call(this), this.providers && Object.keys(this.providers).length > 0 && (C("WRAPPER for providers", s), Object.entries(this.providers).forEach(
248
- ([h, d]) => {
249
- C("register provider", h, d()), this.addEventListener(h, (m) => {
250
- var u;
251
- C("send provider", h, d());
252
- const p = m;
253
- ((u = p.detail) == null ? void 0 : u.context) === h && (p.stopPropagation(), p.detail.callback(d));
254
- });
255
- }
256
- )), this.checkInjects(), (b = e.prototype[J]) == null || b.forEach(
257
- (h) => {
258
- this[h] = (d) => {
259
- const m = e.prototype[q][h], { bubbles: p, composed: u } = m;
260
- g(d) ? w(() => {
261
- V("@oemit reactive value", d()), this.dispatchEvent(
262
- new CustomEvent(h, {
263
- detail: d(),
264
- bubbles: p,
265
- composed: u
266
- })
267
- );
268
- }) : (V("@oemit value", d), this.dispatchEvent(
269
- new CustomEvent(h, {
270
- detail: d,
271
- bubbles: p,
272
- composed: u
273
- })
274
- ));
275
- };
276
- }
277
- ), C("start render", `%c${s}%c`, s);
278
- const c = () => {
279
- C("rwc: insertRenderTemplate");
280
- const d = this.render().hostElement;
281
- d && this.shadow.appendChild(d), G(this, e.prototype.connectedCallback), this.appendSlotContent();
282
- };
283
- if (this.rootStyle && !e.styles) {
284
- const h = (p) => p instanceof Promise || Array.isArray(p) && p.every((u) => u instanceof Promise), d = this.rootStyle, m = (p) => {
285
- const u = new CSSStyleSheet();
286
- u.replaceSync(p), this.shadow.adoptedStyleSheets.push(u);
287
- const y = new CSSStyleSheet();
288
- y.replaceSync(p.slice(p.indexOf("@property"))), document.adoptedStyleSheets.push(y);
289
- };
290
- if (h(d)) {
291
- const p = [];
292
- Array.isArray(d) ? p.push(...d) : p.push(d), Promise.all(p).then((u) => u.forEach((y) => m(y.default))).then(() => c());
293
- } else {
294
- const p = [];
295
- Array.isArray(d) ? p.push(...d) : p.push(d), p.forEach((u) => m(u)), c();
296
- }
297
- } else
298
- c();
299
- this.slotContext && Object.keys(this.slotContext).length > 0 && this.shadow.querySelectorAll("slot").forEach((h) => {
300
- C(
301
- this.slotContext,
302
- this.slotContext && this.slotContext[h.name]
303
- ), V(
304
- "@bslot element",
305
- h,
306
- `name:${h.name};`,
307
- h.assignedElements()
308
- ), h.assignedElements().forEach((d) => {
309
- const m = this.slotContext[h.name];
310
- this.slotContext && g(m) && (V(
311
- "@oslot element",
312
- h,
313
- `name:${h.name};`,
314
- h.assignedElements()
315
- ), w(() => {
316
- d.dispatchEvent(
317
- new CustomEvent("handleSlotContext", {
318
- detail: m()
319
- })
320
- );
321
- }));
322
- });
323
- });
324
- };
325
- i.fake = !0, i.component = new WeakRef(this), this.effectSet.add(new WeakRef(i)), w(i, { name: "FAKE_wrapperEffect" });
326
- }
327
- disconnectedCallback() {
328
- this.allSlotContent = [], this.slotContent = {}, this.htmlSlotContent = {}, this.effectSet.forEach((i) => {
329
- var c, a;
330
- return (a = (c = i.deref()) == null ? void 0 : c.destroy) == null ? void 0 : a.call(c);
331
- }), this.effectSet.clear(), this.shadow.replaceChildren(), this.replaceChildren(), G(this, e.prototype.disconnectedCallback);
332
- }
333
- }
334
- return f(o, "observedAttributes", e.prototype[P] ?? []), f(o, "renderTagName", s), o.toString = () => s, customElements.get(s) ? console.error(
335
- `название тега ${s} повторяется, компонент ${e.name} не зарегистрирован`
336
- ) : customElements.define(s, o), e.renderTagName = s, e;
337
- };
338
- class _ extends HTMLElement {
339
- constructor(e = !1) {
340
- super();
341
- f(this, "init");
342
- f(this, "isSlotLazyLoading", !1);
343
- f(this, "slotTemplate");
344
- f(this, "slotContext");
345
- f(this, "rootStyle");
346
- f(this, "modelValue");
347
- f(this, "providers");
348
- f(this, "effectSet", /* @__PURE__ */ new Set());
349
- f(this, "appendAllSlotContent");
350
- f(this, "allSlotContent", []);
351
- f(this, "slotContent", {});
352
- f(this, "htmlSlotContent", {});
353
- f(this, "shadow");
354
- f(this, "injects", {});
355
- this.shadow = this.attachShadow({ mode: e ? "closed" : "open" });
356
- }
357
- // @ts-expect-error - appendChild is not defined in the HTMLElement interface
358
- appendChild(e, n = !0) {
359
- var o;
360
- if (this.isSlotLazyLoading && n) {
361
- if (e instanceof HTMLElement) {
362
- const r = e.slot || "default";
363
- this.htmlSlotContent[r] || (this.htmlSlotContent[r] = []), (o = this.htmlSlotContent[r]) == null || o.push(e);
364
- }
365
- } else return super.appendChild(e);
366
- }
367
- appendSlotContent() {
368
- var e;
369
- (e = this.appendAllSlotContent) == null || e.call(this);
370
- }
371
- inject(e) {
372
- return C("%cinject%c", e), this.injects[e] || (this.injects[e] = j(null)), this.injects[e];
373
- }
374
- checkInjects() {
375
- Object.entries(this.injects).forEach(([e, n]) => {
376
- C(
377
- "%cinject%c",
378
- `%c${e}%c`,
379
- "from BaseElement (dispatch event)"
380
- ), this.shadow.dispatchEvent(
381
- new CustomEvent(e, {
382
- detail: {
383
- context: e,
384
- callback: (o) => w(() => {
385
- n.set(o());
386
- }, { name: e })
387
- },
388
- bubbles: !0,
389
- composed: !0
390
- })
391
- );
392
- });
393
- }
394
- setReactiveValue(e) {
395
- this.modelValue = e;
396
- }
397
- }
398
- f(_, "observedAttributes", []), f(_, "renderTagName", ""), f(_, "styles");
399
- const Gt = (s) => "render" in s && "setReactiveValue" in s, pt = "handleSlotContext", X = "onConnected", nt = (s) => typeof s == "string" ? s : JSON.stringify(s), mt = (s) => {
400
- const t = document.createElement("span");
401
- return t.textContent = nt(s), t;
402
- }, ot = (s, t) => (s.appendChild(mt(t)), s), Et = (s, t) => (s.replaceChildren(), ot(s, t)), Q = (s) => {
403
- const t = document.createElement("span");
404
- return w(() => {
405
- const e = s();
406
- t.textContent = nt(e);
407
- }), t;
408
- };
409
- class rt {
410
- constructor(t) {
411
- f(this, "wrapper");
412
- f(this, "keyedEffects", /* @__PURE__ */ new Map());
413
- f(this, "append", (...t) => (t.forEach((e) => {
414
- var o;
415
- const n = e.hostElement;
416
- n && ((o = this.hostElement) == null || o.appendChild(n), X in n && setTimeout(() => {
417
- var r;
418
- (r = n.onConnected) == null || r.call(
419
- n,
420
- e,
421
- n
422
- );
423
- }));
424
- }), this));
425
- f(this, "set", (...t) => {
426
- var n;
427
- this.clear();
428
- const e = document.createDocumentFragment();
429
- return t.forEach((o) => {
430
- const r = o.hostElement;
431
- r && e.appendChild(r);
432
- }), (n = this.hostElement) == null || n.appendChild(e), this;
433
- });
434
- f(this, "removeChild", (...t) => (t.forEach((e) => {
435
- var n, o;
436
- if (Array.from(((n = this.hostElement) == null ? void 0 : n.childNodes.values()) || []).some(
437
- (r) => r === e.hostElement
438
- )) {
439
- const r = e.hostElement;
440
- r && ((o = this.hostElement) == null || o.removeChild(r));
441
- }
442
- }), this));
443
- f(this, "addHtmlContent", (t) => {
444
- const e = this.hostElement;
445
- return e ? (ot(e, t), this) : this;
446
- });
447
- f(this, "setHtmlContent", (t) => {
448
- const e = this.hostElement;
449
- return e ? (Et(e, t), this) : this;
450
- });
451
- f(this, "setAttribute", (t, e) => {
452
- var r;
453
- C("setAttribute", t, e);
454
- const n = this.hostElement;
455
- if (!n) return this;
456
- let o;
457
- if ((typeof e == "boolean" || e === null) && !(n instanceof _))
458
- if (e)
459
- o = "";
460
- else {
461
- this.removeAttribute(t);
462
- const i = t.toLowerCase();
463
- return i in n && (n[i] = null), this;
464
- }
465
- else typeof e != "string" ? o = JSON.stringify(e) : o = e;
466
- if ((r = this.hostElement) == null || r.setAttribute(N(t), o), !(n instanceof _)) {
467
- const i = t.toLowerCase();
468
- i in n && (n[i] = e);
469
- }
470
- return this;
471
- });
472
- f(this, "setCustomAttribute", (t, e) => {
473
- var o;
474
- let n;
475
- return typeof e != "string" ? n = JSON.stringify(e) : n = e, (o = this.hostElement) == null || o.setAttribute(N(t), n), this;
476
- });
477
- f(this, "setReactiveAttribute", (t, e) => (this.addEffect((n) => {
478
- C("setReactiveAttribute effect", t, e), n.setAttribute(t, e());
479
- }, t), this));
480
- f(this, "setReactiveCustomAttribute", (t, e) => (this.addEffect((n) => {
481
- n.setCustomAttribute(t, e());
482
- }), this));
483
- f(this, "removeAttribute", (t) => {
484
- var e;
485
- return (e = this.hostElement) == null || e.removeAttribute(N(t)), this;
486
- });
487
- f(this, "addStyle", (t) => {
488
- const e = this.hostElement;
489
- return e ? (Object.entries(t).forEach(([n, o]) => {
490
- const r = n.startsWith("--");
491
- typeof o == "function" ? this.addEffect(() => {
492
- if (r) {
493
- const i = String(o() || "");
494
- e.style.setProperty(n, i);
495
- } else
496
- e.style[n] = o();
497
- }) : typeof o == "string" && (r ? e.style.setProperty(n, o) : e.style[n] = o);
498
- }), this) : this;
499
- });
500
- f(this, "onConnected", (t) => this.hostElement ? (Reflect.defineProperty(this.hostElement, X, {
501
- get() {
502
- return t;
503
- }
504
- }), this) : this);
505
- f(this, "addClass", (...t) => (t.forEach((e) => {
506
- var n;
507
- typeof e == "string" ? (n = this.hostElement) == null || n.classList.add(
508
- ...e.split(" ").flatMap((o) => o.split(`
509
- `)).map((o) => o.trim()).filter(Boolean)
510
- ) : (() => {
511
- let o = null;
512
- this.addEffect(() => {
513
- const r = e();
514
- r.length > 0 && (o ? this.replaceClass(o, r) : this.addClass(r), o = r);
515
- });
516
- })();
517
- }), this));
518
- f(this, "setClass", (...t) => {
519
- var e, n, o;
520
- return (n = this.hostElement) == null || n.classList.remove(...((e = this.hostElement) == null ? void 0 : e.classList) || []), (o = this.hostElement) == null || o.classList.add(...t), this;
521
- });
522
- f(this, "addReactiveClass", (t) => (Object.keys(t).forEach((e) => {
523
- this.addEffect((n) => {
524
- t[e]() ? n.addClass(e) : n.removeClass(e);
525
- });
526
- }), this));
527
- f(this, "removeClass", (...t) => {
528
- var e;
529
- return (e = this.hostElement) == null || e.classList.remove(...t), this;
530
- });
531
- f(this, "replaceClass", (t, e) => {
532
- var n;
533
- return (n = this.hostElement) == null || n.classList.replace(t, e), this;
534
- });
535
- f(this, "addEffect", (t, e) => {
536
- var r, i;
537
- const n = this.hostElement;
538
- if (!n) return this;
539
- const o = () => t(this, n);
540
- if (e) {
541
- const c = (r = this.keyedEffects.get(e)) == null ? void 0 : r.deref();
542
- c && U(c);
543
- }
544
- return (i = n.effectSet) == null || i.add(new WeakRef(o)), o.component = this.wrapper, w(o, { name: (e == null ? void 0 : e.toString()) || n.tagName }), this;
545
- });
546
- f(this, "addReactiveContent", (t) => {
547
- var e;
548
- return (e = this.hostElement) == null || e.appendChild(Q(t)), this;
549
- });
550
- f(this, "setReactiveContent", (t) => {
551
- var e;
552
- return this.clear(), (e = this.hostElement) == null || e.appendChild(Q(t)), this;
553
- });
554
- f(this, "clear", () => {
555
- var t;
556
- return (t = this.hostElement) == null || t.replaceChildren(), this;
557
- });
558
- this.wrapper = t;
559
- const e = t.deref();
560
- e && (e.effectSet = /* @__PURE__ */ new Set());
561
- }
562
- get hostElement() {
563
- return this.wrapper.deref();
564
- }
565
- addEventlistener(t, e, n = !1) {
566
- var o;
567
- return (o = this.hostElement) == null || o.addEventListener(
568
- t,
569
- (r) => e(r, this, this.hostElement),
570
- n
571
- ), this;
572
- }
573
- }
574
- class Ct extends rt {
575
- constructor() {
576
- super(...arguments);
577
- f(this, "setReactiveValue", (e) => (this.hostElement instanceof _ && this.hostElement.setReactiveValue(e), this));
578
- f(this, "setSlotTemplate", (e) => {
579
- var o;
580
- const n = (o = this.hostElement) == null ? void 0 : o.slotTemplate;
581
- return n && Object.entries(e).forEach(([r, i]) => {
582
- n[r] = i;
583
- }), this;
584
- });
585
- }
586
- }
587
- const Kt = () => () => {
588
- }, bt = (s) => new Ct(new WeakRef(s)), St = (s) => new rt(new WeakRef(s)), yt = (s, ...t) => ({
589
- classList: [...s.map((e) => e.trim()).filter(Boolean), ...t]
590
- }), Ut = (s, ...t) => yt(s, ...t), it = (s, t) => {
591
- var o;
592
- if (!t || !s.deref()) return;
593
- const e = Object.keys(t || {}).filter(
594
- (r) => r.startsWith(".") || r.startsWith("@") || r.startsWith("$")
595
- );
596
- e.filter((r) => r.startsWith(".")).forEach((r) => {
597
- t != null && t.attributes || (t.attributes = {}), t.attributes[r.slice(1)] = t[r];
598
- }), e.filter((r) => r.startsWith("@")).forEach((r) => {
599
- t != null && t.listeners || (t.listeners = {});
600
- const i = r.slice(1);
601
- t.listeners[i] = t[r];
602
- }), e.filter((r) => r.startsWith("$")).forEach((r) => {
603
- t != null && t.effects || (t.effects = []), t.effects.push(t[r]);
604
- });
605
- const n = s.deref();
606
- if (n)
607
- return Rt(n, t.classList), Lt(n, t.style), It(n, t.attributes), gt(n, t.reactiveClassList), At(n, t.customAttributes), vt(n, t.children), wt(n, t.effects), tt(n, t.listeners), tt(n, t.customListeners), (o = t.ref) == null || o.set(n), n;
608
- }, tt = (s, t) => {
609
- t && Object.entries(t).forEach(([e, n]) => {
610
- typeof n == "function" && s.addEventlistener(e, n);
611
- });
612
- }, wt = (s, t) => t == null ? void 0 : t.forEach((e) => s.addEffect(e)), vt = (s, t) => D(new WeakRef(s), ...t || []) ?? s, At = (s, t) => {
613
- const e = t;
614
- e && Object.keys(e).forEach((n) => {
615
- g(e[n]) ? s.setReactiveCustomAttribute(n, e[n]) : typeof e[n] == "function" ? s.addEffect(() => {
616
- s.setCustomAttribute(n, e[n]());
617
- }) : s.setCustomAttribute(n, e[n]);
618
- });
619
- }, Rt = (s, t) => s.addClass(...t || []), gt = (s, t) => s.addReactiveClass(t || {}), Lt = (s, t) => s.addStyle(t || {}), It = (s, t) => {
620
- const e = t, n = (o, r) => {
621
- r !== void 0 && (C("addAttribute", o, r), g(r) ? s.setReactiveAttribute(o, r) : typeof r == "function" ? s.addEffect(() => {
622
- s.setAttribute(o, r());
623
- }) : s.setAttribute(o, r));
624
- };
625
- e && Object.keys(e).forEach((o) => {
626
- n(o, e[o]);
627
- });
628
- }, D = (s, ...t) => {
629
- const e = s.deref();
630
- if (e)
631
- return t.forEach((n) => {
632
- typeof n == "string" ? n.trim().length > 0 && e.addHtmlContent(n) : g(n) ? e.addReactiveContent(n) : e.append(n);
633
- }), e;
634
- }, W = (s, t) => {
635
- const e = document.createElement(s), n = St(e);
636
- return it(new WeakRef(n), t) ?? n;
637
- }, Y = (s, t) => {
638
- const [e, ...n] = s.split(" ").map((r) => r.trim()), o = W(e, t);
639
- return n.length > 0 && o.addClass(...n), (...r) => D(
640
- new WeakRef(o),
641
- ...r.filter(Boolean).flat().flatMap(
642
- (i) => typeof i == "function" && !g(i) ? M(() => i(o)) : i
643
- )
644
- ) ?? o;
645
- }, M = (s) => {
646
- const t = `getSignalContent_${Math.random().toString(36).substring(2, 15)}`;
647
- return W("div").addStyle({ display: "contents" }).addEffect((e) => {
648
- e.clear(), D(new WeakRef(e), ...[s()].flat());
649
- }, t);
650
- }, Yt = (s, t, e) => {
651
- const n = W("div").addStyle({ display: "contents" }), o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
652
- let a = [];
653
- const b = /* @__PURE__ */ new Set();
654
- let h = s.peek();
655
- const d = (u) => {
656
- b.delete(u), o.delete(u), r.delete(u), i.delete(u), c.delete(u);
657
- }, m = (u) => {
658
- if (!c.has(u)) {
659
- const y = a.indexOf(u);
660
- return c.set(u, y), y;
661
- }
662
- return c.get(u);
663
- }, p = (u, y, x) => Array.from(x.children).indexOf(u) !== y;
664
- return w(() => {
665
- const u = s(), y = u.map(t).map((E) => typeof E == "string" ? E : E.toString()), x = new Set(y);
666
- c.clear(), y.forEach((E, S) => {
667
- c.set(E, S);
668
- }), a = y;
669
- const L = n.hostElement;
670
- if (!L) return;
671
- C(
672
- "containerChildren",
673
- Array.from(L.children),
674
- a
675
- );
676
- const H = [];
677
- Array.from(L.children).forEach((E) => {
678
- const S = E.dataset.key;
679
- S && !x.has(S) && H.push(E);
680
- }), H.forEach((E) => {
681
- const S = E.dataset.key;
682
- C("remove element", S, E), E.remove(), d(S);
683
- }), y.forEach((E, S) => {
684
- var v;
685
- const A = u[S], T = h[S];
686
- if (!o.has(E))
687
- C("create new element", E, A), o.set(
688
- E,
689
- j(Math.random().toString(36).substring(2, 15))
690
- ), r.set(
691
- E,
692
- () => e(A, S, u).setCustomAttribute("data-key", E)
693
- );
694
- else if (T && JSON.stringify(A) !== JSON.stringify(T)) {
695
- const R = i.get(E);
696
- (v = o.get(E)) == null || v.set(Math.random().toString(36).substring(2, 15)), r.set(
697
- E,
698
- () => e(A, S, u).setCustomAttribute("data-key", E)
699
- ), R && R.parentNode && C("mark element for update", E);
700
- }
701
- }), h = [...u.map((E) => ({ ...E }))];
702
- const B = () => {
703
- o.forEach((E, S) => {
704
- C("key from setTimeout foreach currItemSignalMap", S), b.has(S) || (b.add(S), w(() => {
705
- var Z;
706
- E();
707
- const A = m(S), T = (Z = r.get(S)) == null ? void 0 : Z();
708
- if (!T || !T.hostElement) return;
709
- const v = n.hostElement, R = T.hostElement;
710
- if (!v) return;
711
- C("call effect from setTimeout", S, R);
712
- const I = i.get(S);
713
- if (I && I.parentNode === v) {
714
- if (p(I, A, v)) {
715
- const $ = v.children[A];
716
- $ && $ !== I ? v.insertBefore(I, $) : $ || v.appendChild(I);
717
- }
718
- R !== I && (I.replaceWith(R), i.set(S, R));
719
- } else if (i.set(S, R), A < v.children.length) {
720
- const $ = v.children[A];
721
- $ ? v.insertBefore(R, $) : v.appendChild(R);
722
- } else
723
- v.appendChild(R);
724
- }));
725
- });
726
- };
727
- Promise.resolve().then(() => B());
728
- }), n;
729
- }, Zt = (s) => {
730
- let t = [W("div")], e = !1;
731
- return w(() => {
732
- var r, i;
733
- const n = s();
734
- e = Array.isArray(n);
735
- const o = [];
736
- o.push(...[n].flat()), o.length === 0 && o.push(
737
- W("div").addStyle({ display: "none" }).setAttribute("id", "empty_template")
738
- );
739
- try {
740
- C(
741
- "newReactiveComponent.map",
742
- o.map((c) => {
743
- var a;
744
- return C("newReactiveComponent hostElement", c.hostElement), (a = c.hostElement) == null ? void 0 : a.id;
745
- })
746
- ), C(
747
- "currComponent[0].hostElement?.id",
748
- (r = t[0].hostElement) == null ? void 0 : r.id,
749
- t
750
- ), (i = t[0].hostElement) == null || i.replaceWith(
751
- ...o.map((c) => c.hostElement).filter(Boolean)
752
- ), t.slice(1).forEach((c) => {
753
- var a;
754
- return (a = c.hostElement) == null ? void 0 : a.remove();
755
- }), t = o;
756
- } catch (c) {
757
- console.error(c);
758
- }
759
- }), e ? t : t[0];
760
- }, Xt = (s) => pt in s, Qt = (s) => {
761
- const t = Y("div")().addStyle({ display: "contents" }), e = (n) => {
762
- const o = t.hostElement;
763
- return o && (o.innerHTML = n), t;
764
- };
765
- return typeof s == "string" ? e(s) : t.addEffect(() => {
766
- e(s());
767
- }), t;
768
- }, ct = (s, t, e) => s ? M(t) : e ? M(e) : Y("div")().setAttribute("id", "empty_div_renderIf").addStyle({ display: "none" }), Ot = (s, t, e) => M(() => ct(!!s(), t, e)), te = (s, t, e) => typeof s == "boolean" ? ct(s, t, e) : Ot(s, t, e), et = (s, t) => M(t).addEffect((e, n) => {
769
- if (typeof s == "boolean")
770
- n.style.display = s ? "block" : "none";
771
- else {
772
- const o = s() ? "block" : "none";
773
- n.style.display = o;
774
- }
775
- }), ee = (s, t, e) => {
776
- const n = [
777
- et(s, t)
778
- ].flat();
779
- return e && n.push(
780
- ...[
781
- et(
782
- () => typeof s == "boolean" ? !s : !s(),
783
- e
784
- )
785
- ].flat()
786
- ), M(() => n);
787
- }, Mt = (s, t) => {
788
- C("createCustomElement", s);
789
- const e = document.createElement(s), n = bt(e);
790
- return e.init = () => {
791
- it(new WeakRef(n), t);
792
- }, n;
793
- }, jt = (s, t) => {
794
- const e = s.split(" ").slice(1).map((o) => o.trim()), n = Mt(s.split(" ")[0], t);
795
- return Array.isArray(e) && e.length > 0 && n.addClass(...e), (...o) => {
796
- const r = o.filter(Boolean).flat().flatMap(
797
- (c) => typeof c == "function" && !g(c) ? M(() => c(n)) : c
798
- ), i = n.hostElement;
799
- return i && (i.allSlotContent = r, i.slotContent = r.filter(dt).reduce(
800
- (c, a) => {
801
- var h;
802
- const b = ((h = a.hostElement) == null ? void 0 : h.getAttribute("slot")) || "default";
803
- return c[b] || (c[b] = []), c[b].push(a), c;
804
- },
805
- {}
806
- ), i.appendAllSlotContent = () => {
807
- D(new WeakRef(n), ...r);
808
- }), n;
809
- };
810
- }, $t = (s, t, e) => jt(
811
- `${s.renderTagName}${t && typeof t == "string" ? " " + t : ""}`,
812
- F(t) ? t : t && typeof t == "string" ? e : void 0
813
- ), se = () => {
814
- const s = () => {
815
- };
816
- return s.oldValue = null, s;
817
- }, ne = () => ({}), Tt = (s, t, e) => {
818
- const n = t ? st(t, e)(s) : s;
819
- return (o, ...r) => {
820
- const i = [...r];
821
- return o && !F(o) && i.unshift(o), $t(n, F(o) ? o : {})(...i);
822
- };
823
- }, oe = (s) => [
824
- Tt(s),
825
- (t, e) => {
826
- st(t, e)(s);
827
- }
828
- ], l = {}, _t = [
829
- "div",
830
- "span",
831
- "section",
832
- "input",
833
- "button",
834
- "table",
835
- "tr",
836
- "td",
837
- "th",
838
- "ul",
839
- "li",
840
- "ol",
841
- "form",
842
- "label",
843
- "select",
844
- "option",
845
- "textarea",
846
- "img",
847
- "a",
848
- "p",
849
- "h1",
850
- "h2",
851
- "h3",
852
- "h4",
853
- "h5",
854
- "h6",
855
- "br",
856
- "hr",
857
- "pre",
858
- "code",
859
- "nav",
860
- "header",
861
- "footer",
862
- "main",
863
- "aside",
864
- "article",
865
- "figure",
866
- "figcaption",
867
- "blockquote",
868
- "cite",
869
- "small",
870
- "strong",
871
- "em",
872
- "b",
873
- "i",
874
- "u",
875
- "s",
876
- "sub",
877
- "sup",
878
- "mark",
879
- "del",
880
- "ins",
881
- "details",
882
- "summary",
883
- "progress",
884
- "meter",
885
- "audio",
886
- "video",
887
- "canvas",
888
- "slot"
889
- ];
890
- _t.forEach((s) => {
891
- l[s] = (t, ...e) => {
892
- let n = [...e];
893
- return t && !F(t) && (n = [t].concat(n)), Y(s, F(t) ? t : {})(...n);
894
- };
895
- });
896
- const Wt = l.div, re = l.span, ie = l.section, ce = l.input, le = l.button, ae = l.table, de = l.tr, he = l.td, fe = l.th, ue = l.ul, pe = l.li, me = l.ol, Ee = l.form, Ce = l.label, be = l.select, Se = l.option, ye = l.textarea, we = l.img, ve = l.a, Ae = l.p, Re = l.h1, ge = l.h2, Le = l.h3, Ie = l.h4, Oe = l.h5, Me = l.h6, je = l.br, $e = l.hr, Te = l.pre, _e = l.code, We = l.nav, xe = l.header, He = l.footer, ke = l.main, Pe = l.aside, Fe = l.article, Be = l.figure, Ve = l.figcaption, Ne = l.blockquote, Je = l.cite, qe = l.small, ze = l.strong, De = l.em, Ge = l.b, Ke = l.i, Ue = l.u, Ye = l.s, Ze = l.sub, Xe = l.sup, Qe = l.mark, ts = l.del, es = l.ins, ss = l.details, ns = l.summary, os = l.progress, rs = l.meter, is = l.audio, cs = l.video, ls = l.canvas, as = l.slot, ds = (s) => (t) => s(t).addClass(...t.classList ?? []).addReactiveClass(t.reactiveClassList ?? {});
897
- function xt(s, t) {
898
- let e = 0;
899
- return (...n) => {
900
- const o = Date.now();
901
- o - e >= t && (s(...n), e = o);
902
- };
903
- }
904
- const hs = (s, t) => M(() => {
905
- const e = s();
906
- let n = null;
907
- return e.map(
908
- (o, r) => Wt(
909
- {
910
- "@dragstart": (i, c, a) => {
911
- n = a;
912
- },
913
- "@dragend": (i, c, a) => {
914
- a.style.transform = "", a.removeAttribute("draggable");
915
- },
916
- "@mousedown": (i, c, a) => {
917
- a.style.transform = "translateZ(0)", a.setAttribute("draggable", "true");
918
- },
919
- "@dragover": (i) => {
920
- i.preventDefault();
921
- },
922
- "@dragenter": xt((i, c, a) => {
923
- var b, h, d;
924
- if (i.preventDefault(), n) {
925
- let m = n, p = a;
926
- const u = ((b = n.getClientRects().item(0)) == null ? void 0 : b.y) ?? 0, y = ((h = a.getClientRects().item(0)) == null ? void 0 : h.y) ?? 0;
927
- u < y && ([m, p] = [a, n]), (d = a.parentElement) == null || d.insertBefore(m, p);
928
- }
929
- }, 200)
930
- },
931
- t(o, r, [...s.peek()])
932
- )
933
- );
934
- }), fs = (s, t, e) => {
935
- let n = [], o = [];
936
- const r = W("div").addStyle({ display: "contents" }), i = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
937
- return w(() => {
938
- const a = s(), b = a.map(t);
939
- o.filter((d) => !b.includes(d)).forEach((d) => {
940
- var m, p;
941
- i.delete(d), (p = (m = r.hostElement) == null ? void 0 : m.querySelector(`[data-key="${d}"]`)) == null || p.remove();
942
- }), b.forEach((d, m) => {
943
- o.includes(d) || i.set(
944
- d,
945
- () => e(a[m], m, a).setCustomAttribute(
946
- "data-key",
947
- d
948
- )
949
- );
950
- }), b.forEach((d, m) => {
951
- var p;
952
- if (o.includes(d)) {
953
- JSON.stringify(n[o.indexOf(d)]) !== JSON.stringify(a[m]) && ((p = c.get(d)) == null || p.set({
954
- templateFunc: () => e(a[m], m, a),
955
- items: a,
956
- itemsKey: b,
957
- index: m
958
- }));
959
- return;
960
- }
961
- c.set(
962
- d,
963
- j({
964
- templateFunc: () => e(a[m], m, a),
965
- items: a,
966
- itemsKey: b,
967
- index: m
968
- })
969
- ), queueMicrotask(() => {
970
- w(() => {
971
- var H, B, E;
972
- const { templateFunc: u, index: y } = ((H = c.get(d)) == null ? void 0 : H()) ?? {}, x = (B = r.hostElement) == null ? void 0 : B.querySelector(
973
- `[data-key="${d}"]`
974
- ), L = (u == null ? void 0 : u().setCustomAttribute("data-key", d).hostElement) ?? document.createElement("div");
975
- x ? (E = r.hostElement) == null || E.childNodes.forEach((S, A) => {
976
- S instanceof HTMLElement && S.getAttribute("data-key") === d && (y === A ? (h(
977
- y ?? 0,
978
- r.hostElement,
979
- L
980
- ), S.remove()) : h(
981
- y ?? 0,
982
- r.hostElement,
983
- L
984
- ));
985
- }) : h(y ?? 0, r.hostElement, L);
986
- });
987
- });
988
- });
989
- const h = (d, m, p) => {
990
- p && m && (d < m.children.length ? m.insertBefore(p, m.children[d]) : m.appendChild(p));
991
- };
992
- o = b, n = [...a];
993
- }), r;
994
- };
995
- export {
996
- _ as BaseElement,
997
- ve as a,
998
- It as addAttributeList,
999
- Rt as addClassList,
1000
- At as addCustomAttributes,
1001
- gt as addReactiveClassList,
1002
- Lt as addStyleList,
1003
- D as appendContentItem,
1004
- Fe as article,
1005
- Pe as aside,
1006
- is as audio,
1007
- Ge as b,
1008
- Vt as bindReactiveSignals,
1009
- Ne as blockquote,
1010
- je as br,
1011
- le as button,
1012
- N as camelToKebab,
1013
- ls as canvas,
1014
- G as checkCall,
1015
- Pt as checkRef,
1016
- Je as cite,
1017
- yt as classList,
1018
- Ut as cls,
1019
- _e as code,
1020
- V as colorLog,
1021
- Jt as combineLatest,
1022
- st as component,
1023
- oe as configCustomComponent,
1024
- ds as createComponent,
1025
- $t as createCustom,
1026
- jt as createCustomEl,
1027
- Mt as createCustomElement,
1028
- Y as createEl,
1029
- W as createElement,
1030
- Bt as createSignal,
1031
- bt as customElementHelpers,
1032
- hs as ddList,
1033
- ne as defineSlotTemplate,
1034
- ts as del,
1035
- ss as details,
1036
- ft as disableLogs,
1037
- Wt as div,
1038
- w as effect,
1039
- St as elementHelpers,
1040
- De as em,
1041
- kt as enableLogs,
1042
- Dt as event,
1043
- Kt as eventEmitter,
1044
- Ve as figcaption,
1045
- Be as figure,
1046
- qt as firstUpdate,
1047
- He as footer,
1048
- Nt as forkJoin,
1049
- Ee as form,
1050
- fs as getList,
1051
- M as getSignalContent,
1052
- Re as h1,
1053
- ge as h2,
1054
- Le as h3,
1055
- Ie as h4,
1056
- Oe as h5,
1057
- Me as h6,
1058
- xe as header,
1059
- $e as hr,
1060
- Ke as i,
1061
- we as img,
1062
- it as initComponent,
1063
- ce as input,
1064
- es as ins,
1065
- Gt as isBaseElement,
1066
- dt as isComponentConfig,
1067
- F as isComponentInitConfig,
1068
- g as isReactiveSignal,
1069
- Xt as isSlotTemplate,
1070
- ht as kebabToCamel,
1071
- Ce as label,
1072
- pe as li,
1073
- ke as main,
1074
- Qe as mark,
1075
- rs as meter,
1076
- We as nav,
1077
- se as newEventEmitter,
1078
- me as ol,
1079
- Yt as oldGetList,
1080
- Se as option,
1081
- Ae as p,
1082
- Te as pre,
1083
- os as progress,
1084
- C as projectLog,
1085
- zt as property,
1086
- U as removeEffect,
1087
- ct as renderIf,
1088
- Ft as rs,
1089
- Ot as rxRenderIf,
1090
- Ye as s,
1091
- ie as section,
1092
- be as select,
1093
- vt as setChildren,
1094
- wt as setEffects,
1095
- tt as setListeners,
1096
- ee as show,
1097
- et as showIf,
1098
- j as signal,
1099
- Zt as signalComponent,
1100
- as as slot,
1101
- qe as small,
1102
- re as span,
1103
- ze as strong,
1104
- Ze as sub,
1105
- ns as summary,
1106
- Xe as sup,
1107
- ae as table,
1108
- he as td,
1109
- ye as textarea,
1110
- fe as th,
1111
- de as tr,
1112
- Ue as u,
1113
- ue as ul,
1114
- Qt as unsafeHtml,
1115
- Tt as useCustomComponent,
1116
- cs as video,
1117
- te as when
1118
- };