@tempots/dom 37.4.1 → 37.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.d.ts +4 -2
- package/index.js +370 -350
- package/package.json +3 -3
- package/renderable/catch.d.ts +1 -0
- package/renderable/render.d.ts +8 -3
- package/renderable/shared.d.ts +1 -1
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Computed as
|
|
1
|
+
import { createRenderable as Me, DisposalScope as Oe, withScope as Le, Value as $, makeProviderMark as ie, prop as B, easeOutQuad as Ie, guessInterpolate as He, Signal as j, createSelector as De } from "@tempots/core";
|
|
2
|
+
import { Computed as tr, DisposalScope as nr, ElementPosition as rr, KeyedPosition as sr, MemoryStore as ir, Prop as or, Signal as lr, Value as cr, accumulateSignal as ar, and as ur, animateSignal as dr, animateSignals as hr, bind as fr, chainEasing as pr, coalesce as mr, computed as gr, computedOf as yr, computedOfAsync as Tr, computedOfAsyncGenerator as vr, computedRecord as br, createRenderable as Sr, createSelector as xr, delaySignal as wr, distinctUntilChanged as Er, easeInBack as kr, easeInBounce as Ar, easeInCubic as Cr, easeInElastic as Pr, easeInExpo as Mr, easeInOutBack as Or, easeInOutBounce as Lr, easeInOutCubic as Ir, easeInOutElastic as Hr, easeInOutExpo as Dr, easeInOutQuad as Nr, easeInOutQuart as Rr, easeInOutSine as _r, easeInQuad as $r, easeInQuart as Br, easeInSine as Vr, easeOutBack as jr, easeOutBounce as Yr, easeOutCubic as Xr, easeOutElastic as Fr, easeOutExpo as Wr, easeOutQuad as Kr, easeOutQuart as Ur, easeOutSine as qr, effect as Gr, effectOf as Qr, endInterpolate as Jr, getCurrentScope as Zr, getParentScope as zr, getScopeStack as es, guessInterpolate as ts, interpolateDate as ns, interpolateNumber as rs, interpolateString as ss, joinSignals as is, linear as os, localStorageProp as ls, makeProviderMark as cs, merge as as, mirrorEasing as us, not as ds, notNil as hs, or as fs, popScope as ps, previousSignal as ms, prop as gs, propHistory as ys, pushScope as Ts, reverseEasing as vs, scopeStack as bs, scoped as Ss, sessionStorageProp as xs, signal as ws, slidingWindowSignal as Es, storedProp as ks, strictEquals as As, syncProp as Cs, throttleSignal as Ps, untracked as Ms, withScope as Os } from "@tempots/core";
|
|
3
3
|
import { ProviderNotFoundError as oe, createRenderKit as Ne } from "@tempots/render";
|
|
4
|
-
import { ProviderNotFoundError as
|
|
5
|
-
const le = /* @__PURE__ */ new Set([
|
|
4
|
+
import { ProviderNotFoundError as Is, createRenderKit as Hs } from "@tempots/render";
|
|
5
|
+
const le = /* @__PURE__ */ Symbol("DOM_RENDERABLE"), y = (n) => Me(le, n), ce = /* @__PURE__ */ new Set([
|
|
6
6
|
"checked",
|
|
7
7
|
"disabled",
|
|
8
8
|
"hidden",
|
|
@@ -10,14 +10,14 @@ const le = /* @__PURE__ */ new Set([
|
|
|
10
10
|
"readonly",
|
|
11
11
|
"required",
|
|
12
12
|
"autofocus"
|
|
13
|
-
]),
|
|
13
|
+
]), ae = /* @__PURE__ */ new Set(["selected"]), ue = /* @__PURE__ */ new Set([
|
|
14
14
|
"rowSpan",
|
|
15
15
|
"colSpan",
|
|
16
16
|
"tabIndex",
|
|
17
17
|
"valueAsNumber"
|
|
18
|
-
]),
|
|
18
|
+
]), de = /* @__PURE__ */ new Set(["valueAsDate"]), he = {
|
|
19
19
|
readonly: "readOnly"
|
|
20
|
-
},
|
|
20
|
+
}, fe = /* @__PURE__ */ new Set([
|
|
21
21
|
"value",
|
|
22
22
|
"textContent",
|
|
23
23
|
"innerText",
|
|
@@ -27,31 +27,31 @@ const le = /* @__PURE__ */ new Set([
|
|
|
27
27
|
"className",
|
|
28
28
|
"classList"
|
|
29
29
|
]), Re = (n, e) => {
|
|
30
|
-
if (
|
|
30
|
+
if (ae.has(n))
|
|
31
31
|
return (t) => {
|
|
32
32
|
t == null || t !== !0 ? e.removeAttribute(n) : e.setAttribute(n, "");
|
|
33
33
|
};
|
|
34
|
-
if (
|
|
35
|
-
const t =
|
|
34
|
+
if (ce.has(n)) {
|
|
35
|
+
const t = he[n] || n;
|
|
36
36
|
return (r) => {
|
|
37
37
|
r == null ? e[t] = null : e[t] = !!r;
|
|
38
38
|
};
|
|
39
|
-
} else return
|
|
39
|
+
} else return ue.has(n) ? (t) => {
|
|
40
40
|
t == null ? e[n] = null : e[n] = Number(t);
|
|
41
|
-
} :
|
|
41
|
+
} : de.has(n) ? (t) => {
|
|
42
42
|
t == null ? e[n] = null : e[n] = t;
|
|
43
|
-
} :
|
|
43
|
+
} : fe.has(n) ? (t) => {
|
|
44
44
|
t == null ? e[n] = null : e[n] = String(t);
|
|
45
45
|
} : (t) => {
|
|
46
46
|
t == null ? e.removeAttribute(n) : e.setAttribute(n, t);
|
|
47
47
|
};
|
|
48
|
-
}, _e = (n, e) =>
|
|
48
|
+
}, _e = (n, e) => ae.has(n) ? () => e.hasAttribute(n) : ce.has(n) ? () => (
|
|
49
49
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
50
|
-
!!e[
|
|
51
|
-
) :
|
|
50
|
+
!!e[he[n] || n]
|
|
51
|
+
) : ue.has(n) ? () => Number(e[n]) : de.has(n) ? () => e[n] : fe.has(n) ? () => String(e[n]) : () => e.getAttribute(n), V = (n) => {
|
|
52
52
|
const e = n;
|
|
53
53
|
e && e.onblur && (e.onblur = null), !(!n || n.ownerDocument === void 0) && n.parentNode && n.parentNode.removeChild(n);
|
|
54
|
-
}, $e = (n) =>
|
|
54
|
+
}, $e = (n) => pe(n) || me(n) ? n : n.parentElement, pe = (n) => n.nodeType === 1, me = (n) => n.nodeType === 11;
|
|
55
55
|
class b {
|
|
56
56
|
/**
|
|
57
57
|
* Constructs a new `DOMContext` instance.
|
|
@@ -308,9 +308,9 @@ class b {
|
|
|
308
308
|
* @returns A function to remove the event listener.
|
|
309
309
|
*/
|
|
310
310
|
on(e, t, r) {
|
|
311
|
-
const s = (
|
|
312
|
-
return this.element.addEventListener(e, s, r), (
|
|
313
|
-
|
|
311
|
+
const s = (i) => t(i, this);
|
|
312
|
+
return this.element.addEventListener(e, s, r), (i) => {
|
|
313
|
+
i && this.element.removeEventListener(e, s, r);
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
@@ -368,21 +368,21 @@ class b {
|
|
|
368
368
|
return this.document.defaultView;
|
|
369
369
|
}
|
|
370
370
|
moveRangeBefore(e, t, r) {
|
|
371
|
-
const s = e.reference,
|
|
371
|
+
const s = e.reference, i = t.reference, o = r.reference, l = this.element;
|
|
372
372
|
let c = s;
|
|
373
373
|
for (; c !== null; ) {
|
|
374
374
|
const d = c.nextSibling;
|
|
375
|
-
if (l.insertBefore(c,
|
|
375
|
+
if (l.insertBefore(c, o), c === i) break;
|
|
376
376
|
c = d;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
removeRange(e, t) {
|
|
380
|
-
const r = e.reference, s = t.reference,
|
|
381
|
-
let
|
|
382
|
-
for (;
|
|
383
|
-
const l =
|
|
384
|
-
if (
|
|
385
|
-
|
|
380
|
+
const r = e.reference, s = t.reference, i = this.element;
|
|
381
|
+
let o = r;
|
|
382
|
+
for (; o !== null; ) {
|
|
383
|
+
const l = o.nextSibling;
|
|
384
|
+
if (i.removeChild(o), o === s) break;
|
|
385
|
+
o = l;
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
removeAllBefore(e) {
|
|
@@ -401,30 +401,38 @@ class b {
|
|
|
401
401
|
this._detachedParent && (this._detachedParent.insertBefore(this.element, this._detachedNext), this._detachedParent = null, this._detachedNext = null);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
const I = (n, e) => {
|
|
405
|
-
const
|
|
406
|
-
|
|
407
|
-
|
|
404
|
+
const I = (n, e, t) => {
|
|
405
|
+
const r = new Oe();
|
|
406
|
+
t?.(r);
|
|
407
|
+
const s = Le(r, () => n.render(e));
|
|
408
|
+
return (i = !0) => {
|
|
409
|
+
r.dispose(), s(i);
|
|
408
410
|
};
|
|
409
|
-
}, Vt = (n, e, {
|
|
410
|
-
|
|
411
|
-
|
|
411
|
+
}, Vt = (n, e, {
|
|
412
|
+
doc: t,
|
|
413
|
+
clear: r,
|
|
414
|
+
disposeWithParent: s = !0,
|
|
415
|
+
providers: i = {},
|
|
416
|
+
onScope: o
|
|
417
|
+
} = {}) => {
|
|
418
|
+
const l = typeof e == "string" ? (t ?? document).querySelector(e) : e;
|
|
419
|
+
if (l === null)
|
|
412
420
|
throw new Be(
|
|
413
421
|
`Cannot find element by selector for render: ${e}`
|
|
414
422
|
);
|
|
415
|
-
r !== !1 && (t ??
|
|
416
|
-
const
|
|
417
|
-
let
|
|
418
|
-
return s &&
|
|
419
|
-
|
|
420
|
-
|
|
423
|
+
r !== !1 && (t ?? l.ownerDocument) != null && (l.nodeType === 1 || l.nodeType === 11) && (l.innerHTML = "");
|
|
424
|
+
const c = $e(l), d = pe(l) || me(l) ? void 0 : l, f = b.of(c, d, i), h = I(n, f, o);
|
|
425
|
+
let a;
|
|
426
|
+
return s && l.parentElement != null && (a = new MutationObserver((u) => {
|
|
427
|
+
u[0]?.removedNodes.forEach((p) => {
|
|
428
|
+
p === l && (a?.disconnect(), h(l.nodeType !== 1));
|
|
421
429
|
});
|
|
422
|
-
}),
|
|
430
|
+
}), a.observe(l.parentElement, {
|
|
423
431
|
childList: !0,
|
|
424
432
|
subtree: !1,
|
|
425
433
|
attributes: !1
|
|
426
434
|
})), () => {
|
|
427
|
-
|
|
435
|
+
a?.disconnect(), h(!0);
|
|
428
436
|
};
|
|
429
437
|
}, jt = (n, {
|
|
430
438
|
startUrl: e = "https://example.com",
|
|
@@ -433,10 +441,10 @@ const I = (n, e) => {
|
|
|
433
441
|
} = {
|
|
434
442
|
selector: "body"
|
|
435
443
|
}) => {
|
|
436
|
-
const s = $.toSignal(e).deriveProp(),
|
|
444
|
+
const s = $.toSignal(e).deriveProp(), i = new ve(t, void 0), o = new k(i, void 0, { currentURL: s }, r);
|
|
437
445
|
return {
|
|
438
|
-
clear: I(n(),
|
|
439
|
-
root:
|
|
446
|
+
clear: I(n(), o),
|
|
447
|
+
root: i,
|
|
440
448
|
currentURL: s
|
|
441
449
|
};
|
|
442
450
|
};
|
|
@@ -525,8 +533,8 @@ class Yt {
|
|
|
525
533
|
getAttribute: t,
|
|
526
534
|
setAttribute: r,
|
|
527
535
|
getClass: s,
|
|
528
|
-
setClass:
|
|
529
|
-
getStyles:
|
|
536
|
+
setClass: i,
|
|
537
|
+
getStyles: o,
|
|
530
538
|
setStyles: l,
|
|
531
539
|
appendHTML: c,
|
|
532
540
|
getInnerHTML: d,
|
|
@@ -534,7 +542,7 @@ class Yt {
|
|
|
534
542
|
getInnerText: h,
|
|
535
543
|
setInnerText: a
|
|
536
544
|
}) {
|
|
537
|
-
this.select = e, this.getAttribute = t, this.setAttribute = r, this.getClass = s, this.setClass =
|
|
545
|
+
this.select = e, this.getAttribute = t, this.setAttribute = r, this.getClass = s, this.setClass = i, this.getStyles = o, this.setStyles = l, this.appendHTML = c, this.getInnerHTML = d, this.setInnerHTML = f, this.getInnerText = h, this.setInnerText = a;
|
|
538
546
|
}
|
|
539
547
|
/**
|
|
540
548
|
* Sets the content of the root element from a HeadlessPortal. Generally this will be the same instance that is
|
|
@@ -546,66 +554,66 @@ class Yt {
|
|
|
546
554
|
*/
|
|
547
555
|
setFromRoot = (e, t) => {
|
|
548
556
|
e.getPortals().forEach((s) => {
|
|
549
|
-
const
|
|
550
|
-
for (const
|
|
551
|
-
if (
|
|
557
|
+
const i = typeof s.selector == "string" ? this.select(s.selector) : [s.selector];
|
|
558
|
+
for (const o of i) {
|
|
559
|
+
if (o == null)
|
|
552
560
|
throw new Error(
|
|
553
561
|
`Cannot find element by selector for render: ${s.selector}`
|
|
554
562
|
);
|
|
555
|
-
if (s.hasChildren() && this.appendHTML(
|
|
563
|
+
if (s.hasChildren() && this.appendHTML(o, s.contentToHTML(t)), s.hasInnerHTML()) {
|
|
556
564
|
if (t) {
|
|
557
|
-
const l = this.getInnerHTML(
|
|
558
|
-
l != null && this.setAttribute(
|
|
565
|
+
const l = this.getInnerHTML(o);
|
|
566
|
+
l != null && this.setAttribute(o, M, l);
|
|
559
567
|
}
|
|
560
|
-
this.setInnerHTML(
|
|
568
|
+
this.setInnerHTML(o, s.getInnerHTML());
|
|
561
569
|
}
|
|
562
570
|
if (s.hasInnerText()) {
|
|
563
571
|
if (t) {
|
|
564
|
-
const l = this.getInnerText(
|
|
565
|
-
l != null && this.setAttribute(
|
|
572
|
+
const l = this.getInnerText(o);
|
|
573
|
+
l != null && this.setAttribute(o, O, l);
|
|
566
574
|
}
|
|
567
|
-
this.setInnerText(
|
|
575
|
+
this.setInnerText(o, s.getInnerText());
|
|
568
576
|
}
|
|
569
577
|
if (s.hasClasses()) {
|
|
570
578
|
if (t) {
|
|
571
|
-
const l = this.getClass(
|
|
572
|
-
l != null && this.setAttribute(
|
|
579
|
+
const l = this.getClass(o);
|
|
580
|
+
l != null && this.setAttribute(o, C, l);
|
|
573
581
|
}
|
|
574
|
-
this.setClass(
|
|
582
|
+
this.setClass(o, s.getClasses().join(" "));
|
|
575
583
|
}
|
|
576
584
|
if (s.hasStyles()) {
|
|
577
585
|
if (t) {
|
|
578
|
-
const l = this.getStyles(
|
|
586
|
+
const l = this.getStyles(o);
|
|
579
587
|
Object.keys(l).length > 0 && this.setAttribute(
|
|
580
|
-
|
|
588
|
+
o,
|
|
581
589
|
P,
|
|
582
590
|
JSON.stringify(l)
|
|
583
591
|
);
|
|
584
592
|
}
|
|
585
|
-
this.setStyles(
|
|
593
|
+
this.setStyles(o, s.getStyles());
|
|
586
594
|
}
|
|
587
595
|
if (s.hasAttributes()) {
|
|
588
596
|
const l = s.getAttributes();
|
|
589
597
|
if (t) {
|
|
590
598
|
const c = [];
|
|
591
599
|
l.forEach(([d]) => {
|
|
592
|
-
const f = this.getAttribute(
|
|
600
|
+
const f = this.getAttribute(o, d);
|
|
593
601
|
f != null && c.push([d, f]);
|
|
594
602
|
}), c.length > 0 && this.setAttribute(
|
|
595
|
-
|
|
603
|
+
o,
|
|
596
604
|
L,
|
|
597
605
|
JSON.stringify(Object.fromEntries(c))
|
|
598
606
|
);
|
|
599
607
|
}
|
|
600
608
|
l.forEach(([c, d]) => {
|
|
601
|
-
this.setAttribute(
|
|
609
|
+
this.setAttribute(o, c, d);
|
|
602
610
|
});
|
|
603
611
|
}
|
|
604
612
|
}
|
|
605
613
|
});
|
|
606
614
|
};
|
|
607
615
|
}
|
|
608
|
-
const
|
|
616
|
+
const ge = (n) => JSON.parse(n.replace(/"/g, '"')), Ve = (n) => {
|
|
609
617
|
const e = n.getAttribute(C);
|
|
610
618
|
n.removeAttribute(C), e != null && n.setAttribute("class", e);
|
|
611
619
|
}, je = (n) => {
|
|
@@ -617,13 +625,13 @@ const me = (n) => JSON.parse(n.replace(/"/g, '"')), Ve = (n) => {
|
|
|
617
625
|
}, Xe = (n) => {
|
|
618
626
|
const e = n.getAttribute(P);
|
|
619
627
|
if (n.removeAttribute(P), e != null) {
|
|
620
|
-
const t =
|
|
621
|
-
r.length > 0 && (n.style.cssText = r.map(([s,
|
|
628
|
+
const t = ge(e), r = Object.entries(t);
|
|
629
|
+
r.length > 0 && (n.style.cssText = r.map(([s, i]) => `${s}: ${i}`).join("; "));
|
|
622
630
|
}
|
|
623
631
|
}, Fe = (n) => {
|
|
624
632
|
const e = n.getAttribute(L);
|
|
625
633
|
if (n.removeAttribute(L), e != null) {
|
|
626
|
-
const t =
|
|
634
|
+
const t = ge(e);
|
|
627
635
|
Object.entries(t).forEach(([r, s]) => {
|
|
628
636
|
s == null ? n.removeAttribute(r) : n.setAttribute(r, s);
|
|
629
637
|
});
|
|
@@ -645,12 +653,12 @@ const me = (n) => JSON.parse(n.replace(/"/g, '"')), Ve = (n) => {
|
|
|
645
653
|
}
|
|
646
654
|
s.hasAttribute(C) && Ve(s), s.hasAttribute(O) && Ye(s), s.hasAttribute(M) && je(s), s.hasAttribute(P) && Xe(s), s.hasAttribute(L) && Fe(s);
|
|
647
655
|
});
|
|
648
|
-
}, We = "data-tempo-id", w = /* @__PURE__ */ Symbol("class"), E = /* @__PURE__ */ Symbol("style"), R = /* @__PURE__ */ Symbol("handler"),
|
|
649
|
-
class
|
|
656
|
+
}, We = "data-tempo-id", w = /* @__PURE__ */ Symbol("class"), E = /* @__PURE__ */ Symbol("style"), R = /* @__PURE__ */ Symbol("handler"), ye = () => Math.random().toString(36).substring(2, 15), Ke = (n) => n.replace(/<[^>]*>?/g, "");
|
|
657
|
+
class Te {
|
|
650
658
|
constructor(e) {
|
|
651
659
|
this.parent = e;
|
|
652
660
|
}
|
|
653
|
-
id =
|
|
661
|
+
id = ye();
|
|
654
662
|
properties = {};
|
|
655
663
|
children = [];
|
|
656
664
|
isElement() {
|
|
@@ -725,13 +733,13 @@ class ye {
|
|
|
725
733
|
this.trigger("click", {});
|
|
726
734
|
}
|
|
727
735
|
on(e, t, r, s) {
|
|
728
|
-
const
|
|
736
|
+
const i = this.properties[R] ??= {}, o = s?.once ? (c) => {
|
|
729
737
|
l(), t(c, r);
|
|
730
738
|
} : (c) => t(c, r);
|
|
731
|
-
|
|
739
|
+
i[e] = [...i[e] ?? [], o];
|
|
732
740
|
const l = () => {
|
|
733
|
-
const c =
|
|
734
|
-
d !== -1 && (c.splice(d, 1), c.length === 0 ? (delete
|
|
741
|
+
const c = i[e] ?? [], d = c.indexOf(o);
|
|
742
|
+
d !== -1 && (c.splice(d, 1), c.length === 0 ? (delete i[e], Object.keys(i).length === 0 && delete this.properties[R]) : i[e] = c, s?.signal != null && s.signal.removeEventListener("abort", l));
|
|
735
743
|
};
|
|
736
744
|
return s?.signal != null && s.signal.addEventListener("abort", l), l;
|
|
737
745
|
}
|
|
@@ -747,8 +755,8 @@ class ye {
|
|
|
747
755
|
return;
|
|
748
756
|
const t = this.properties[w] ??= [], r = new Set(e);
|
|
749
757
|
let s = 0;
|
|
750
|
-
for (let
|
|
751
|
-
r.has(t[
|
|
758
|
+
for (let i = 0; i < t.length; i++)
|
|
759
|
+
r.has(t[i]) || (t[s] = t[i], s++);
|
|
752
760
|
t.length = s, t.length === 0 && delete this.properties[w];
|
|
753
761
|
}
|
|
754
762
|
getClasses() {
|
|
@@ -783,7 +791,7 @@ class ye {
|
|
|
783
791
|
}
|
|
784
792
|
}
|
|
785
793
|
const Ue = (n) => n.replace(/"/g, """), qe = (n) => n.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
786
|
-
class Ge extends
|
|
794
|
+
class Ge extends Te {
|
|
787
795
|
constructor(e, t, r) {
|
|
788
796
|
super(r), this.tagName = e, this.namespace = t;
|
|
789
797
|
}
|
|
@@ -796,11 +804,11 @@ class Ge extends ye {
|
|
|
796
804
|
*/
|
|
797
805
|
buildAttributesString(e) {
|
|
798
806
|
let t = null;
|
|
799
|
-
const r = this.namespace ? ` xmlns="${this.namespace}"` : "", s = this.getVisibleAttributes().map(([
|
|
800
|
-
return { attrs: `${r}${s}${
|
|
807
|
+
const r = this.namespace ? ` xmlns="${this.namespace}"` : "", s = this.getVisibleAttributes().map(([o, l]) => o === "class" ? ` class="${l.join(" ")}"` : o === "style" ? typeof l == "string" ? ` style="${l}"` : ` style="${Object.entries(l).map(([c, d]) => `${c}: ${d};`).join(" ")}"` : Je.has(o) ? ` ${o}` : o === "innerHTML" ? (t = l, "") : o === "innerText" ? (t = qe(l), "") : ` ${o}="${Ue(l)}"`).join(""), i = e ? ` ${W} ${We}="${this.id}"` : "";
|
|
808
|
+
return { attrs: `${r}${s}${i}`, innerHTML: t };
|
|
801
809
|
}
|
|
802
810
|
toHTML(e = !1) {
|
|
803
|
-
const t = this.children.map((
|
|
811
|
+
const t = this.children.map((i) => i.toHTML()).join(""), { attrs: r, innerHTML: s } = this.buildAttributesString(e);
|
|
804
812
|
return Z.has(this.tagName) && t === "" ? `<${this.tagName}${r} />` : `<${this.tagName}${r}>${s ?? t}</${this.tagName}>`;
|
|
805
813
|
}
|
|
806
814
|
/**
|
|
@@ -819,12 +827,12 @@ class Ge extends ye {
|
|
|
819
827
|
if (yield `<${this.tagName}${r}>`, s !== null)
|
|
820
828
|
yield s;
|
|
821
829
|
else
|
|
822
|
-
for (const
|
|
823
|
-
yield*
|
|
830
|
+
for (const i of this.children)
|
|
831
|
+
yield* i.toHTMLStream(e);
|
|
824
832
|
yield `</${this.tagName}>`;
|
|
825
833
|
}
|
|
826
834
|
}
|
|
827
|
-
class
|
|
835
|
+
class ve extends Te {
|
|
828
836
|
constructor(e, t) {
|
|
829
837
|
super(t), this.selector = e;
|
|
830
838
|
}
|
|
@@ -860,7 +868,7 @@ class Qe {
|
|
|
860
868
|
constructor(e) {
|
|
861
869
|
this.text = e;
|
|
862
870
|
}
|
|
863
|
-
id =
|
|
871
|
+
id = ye();
|
|
864
872
|
isElement() {
|
|
865
873
|
return !1;
|
|
866
874
|
}
|
|
@@ -925,7 +933,7 @@ class k {
|
|
|
925
933
|
return this.makeChildText("");
|
|
926
934
|
}
|
|
927
935
|
makePortal(e) {
|
|
928
|
-
const t = new
|
|
936
|
+
const t = new ve(e, this.element);
|
|
929
937
|
return this.appendOrInsert(t), new k(
|
|
930
938
|
t,
|
|
931
939
|
void 0,
|
|
@@ -995,12 +1003,12 @@ class k {
|
|
|
995
1003
|
return this.element.makeAccessors(e);
|
|
996
1004
|
}
|
|
997
1005
|
moveRangeBefore(e, t, r) {
|
|
998
|
-
const s = e.reference,
|
|
1006
|
+
const s = e.reference, i = t.reference, o = r.reference, l = this.element.children, c = l.indexOf(s), f = l.indexOf(i) - c + 1, h = l.splice(c, f), a = l.indexOf(o);
|
|
999
1007
|
l.splice(a, 0, ...h);
|
|
1000
1008
|
}
|
|
1001
1009
|
removeRange(e, t) {
|
|
1002
|
-
const r = e.reference, s = t.reference,
|
|
1003
|
-
|
|
1010
|
+
const r = e.reference, s = t.reference, i = this.element.children, o = i.indexOf(r), c = i.indexOf(s) - o + 1;
|
|
1011
|
+
i.splice(o, c);
|
|
1004
1012
|
}
|
|
1005
1013
|
removeAllBefore(e) {
|
|
1006
1014
|
const t = e.reference, r = this.element.children, s = r.indexOf(t);
|
|
@@ -1039,13 +1047,13 @@ const Ft = {
|
|
|
1039
1047
|
dispose: () => n.dispose()
|
|
1040
1048
|
};
|
|
1041
1049
|
}
|
|
1042
|
-
}
|
|
1050
|
+
};
|
|
1043
1051
|
function U(n) {
|
|
1044
1052
|
let e = null, t = null, r = !1;
|
|
1045
|
-
const s = (
|
|
1053
|
+
const s = (i) => {
|
|
1046
1054
|
if (r) return;
|
|
1047
|
-
const
|
|
1048
|
-
e =
|
|
1055
|
+
const o = e === null ? 0 : i - e;
|
|
1056
|
+
e = i, n(o), t = requestAnimationFrame(s);
|
|
1049
1057
|
};
|
|
1050
1058
|
return t = requestAnimationFrame(s), {
|
|
1051
1059
|
dispose: () => {
|
|
@@ -1069,24 +1077,24 @@ function Kt(n) {
|
|
|
1069
1077
|
}
|
|
1070
1078
|
function Ut(n, e) {
|
|
1071
1079
|
const t = e?.duration ?? 300, r = e?.easing ?? Ie, s = e?.reducedMotion;
|
|
1072
|
-
let
|
|
1073
|
-
const
|
|
1080
|
+
let i = e?.interpolate;
|
|
1081
|
+
const o = B(n);
|
|
1074
1082
|
let l = null, c = n, d = n, f = 0;
|
|
1075
1083
|
const h = () => {
|
|
1076
1084
|
l !== null && (l.dispose(), l = null);
|
|
1077
1085
|
};
|
|
1078
|
-
return { value:
|
|
1086
|
+
return { value: o, tweenTo: (p) => {
|
|
1079
1087
|
if (h(), t <= 0 || s != null && s.get() === !0) {
|
|
1080
|
-
|
|
1088
|
+
o.set(p);
|
|
1081
1089
|
return;
|
|
1082
1090
|
}
|
|
1083
|
-
c =
|
|
1091
|
+
c = o.get(), d = p, f = 0, i == null && (i = He(c)), l = U((m) => {
|
|
1084
1092
|
f += m;
|
|
1085
1093
|
const g = Math.min(f / t, 1), v = r(g);
|
|
1086
|
-
|
|
1094
|
+
o.set(i(c, d, v)), g >= 1 && h();
|
|
1087
1095
|
});
|
|
1088
1096
|
}, cancel: h, dispose: () => {
|
|
1089
|
-
h(),
|
|
1097
|
+
h(), o.dispose();
|
|
1090
1098
|
} };
|
|
1091
1099
|
}
|
|
1092
1100
|
function z(n, e) {
|
|
@@ -1101,34 +1109,34 @@ function ee(n, e) {
|
|
|
1101
1109
|
}
|
|
1102
1110
|
function et(n, e, t) {
|
|
1103
1111
|
const r = t?.minScale ?? 0.1, s = t?.maxScale ?? 5;
|
|
1104
|
-
let
|
|
1112
|
+
let i = 0, o = { x: 0, y: 0 }, l = { scale: 1, panX: 0, panY: 0 };
|
|
1105
1113
|
const c = (a) => Math.min(s, Math.max(r, a));
|
|
1106
1114
|
return { onTouchStart: (a) => {
|
|
1107
1115
|
if (a.touches.length !== 2) return;
|
|
1108
1116
|
a.preventDefault();
|
|
1109
1117
|
const u = a.touches[0], p = a.touches[1];
|
|
1110
|
-
|
|
1118
|
+
i = z(u, p), o = ee(u, p), l = n.get();
|
|
1111
1119
|
}, onTouchMove: (a) => {
|
|
1112
1120
|
if (a.touches.length !== 2) return;
|
|
1113
1121
|
a.preventDefault();
|
|
1114
|
-
const u = a.touches[0], p = a.touches[1], m = z(u, p), g = ee(u, p), v = e(), F = m /
|
|
1122
|
+
const u = a.touches[0], p = a.touches[1], m = z(u, p), g = ee(u, p), v = e(), F = m / i, q = c(l.scale * F), G = o.x - v.left, Q = o.y - v.top, ke = g.x - o.x, Ae = g.y - o.y, J = q / l.scale, Ce = G - (G - l.panX) * J + ke, Pe = Q - (Q - l.panY) * J + Ae;
|
|
1115
1123
|
n.set({ scale: q, panX: Ce, panY: Pe });
|
|
1116
1124
|
}, onTouchEnd: () => {
|
|
1117
1125
|
} };
|
|
1118
1126
|
}
|
|
1119
1127
|
function tt(n, e) {
|
|
1120
1128
|
const t = e?.friction ?? 0.95, r = e?.minVelocity ?? 0.5;
|
|
1121
|
-
let s = 0,
|
|
1129
|
+
let s = 0, i = 0, o = null, l = 0, c = 0;
|
|
1122
1130
|
return { track: (h, a) => {
|
|
1123
1131
|
const u = performance.now();
|
|
1124
|
-
if (
|
|
1125
|
-
const p = (u -
|
|
1126
|
-
p > 0 && (l = (h - s) / p, c = (a -
|
|
1132
|
+
if (o !== null) {
|
|
1133
|
+
const p = (u - o) / 1e3;
|
|
1134
|
+
p > 0 && (l = (h - s) / p, c = (a - i) / p);
|
|
1127
1135
|
}
|
|
1128
|
-
s = h,
|
|
1136
|
+
s = h, i = a, o = u;
|
|
1129
1137
|
}, release: () => {
|
|
1130
1138
|
let h = l, a = c;
|
|
1131
|
-
|
|
1139
|
+
o = null, l = 0, c = 0;
|
|
1132
1140
|
const u = U((p) => {
|
|
1133
1141
|
const m = p / 1e3;
|
|
1134
1142
|
if (h *= t, a *= t, Math.hypot(h, a) < r) {
|
|
@@ -1144,10 +1152,10 @@ function nt(n, e) {
|
|
|
1144
1152
|
const t = [], r = e.createDocumentFragment();
|
|
1145
1153
|
return K(n, r, [], { count: 0 }, t, e) ? { fragment: r, slots: t, topNodeCount: r.childNodes.length } : null;
|
|
1146
1154
|
}
|
|
1147
|
-
function K(n, e, t, r, s,
|
|
1155
|
+
function K(n, e, t, r, s, i) {
|
|
1148
1156
|
switch (n.kind) {
|
|
1149
1157
|
case "element": {
|
|
1150
|
-
const { tag:
|
|
1158
|
+
const { tag: o, ns: l, children: c } = n, d = l != null ? i.createElementNS(l, o) : i.createElement(o), f = [...t, r.count++];
|
|
1151
1159
|
let h = "";
|
|
1152
1160
|
for (let u = 0; u < c.length; u++) {
|
|
1153
1161
|
const p = c[u];
|
|
@@ -1159,29 +1167,29 @@ function K(n, e, t, r, s, o) {
|
|
|
1159
1167
|
const a = { count: 0 };
|
|
1160
1168
|
for (let u = 0; u < c.length; u++) {
|
|
1161
1169
|
const p = c[u];
|
|
1162
|
-
if (!(p.kind === "static-attr" || p.kind === "dynamic-attr") && !K(p, d, f, a, s,
|
|
1170
|
+
if (!(p.kind === "static-attr" || p.kind === "dynamic-attr") && !K(p, d, f, a, s, i))
|
|
1163
1171
|
return !1;
|
|
1164
1172
|
}
|
|
1165
1173
|
return !0;
|
|
1166
1174
|
}
|
|
1167
1175
|
case "static-text":
|
|
1168
|
-
return e.appendChild(
|
|
1176
|
+
return e.appendChild(i.createTextNode(n.text)), r.count++, !0;
|
|
1169
1177
|
case "dynamic-text":
|
|
1170
|
-
return e.appendChild(
|
|
1178
|
+
return e.appendChild(i.createTextNode("")), s.push({
|
|
1171
1179
|
path: [...t, r.count++],
|
|
1172
1180
|
kind: "dynamic-text"
|
|
1173
1181
|
}), !0;
|
|
1174
1182
|
case "fragment": {
|
|
1175
|
-
const { children:
|
|
1176
|
-
for (let l = 0; l <
|
|
1177
|
-
if (!K(
|
|
1183
|
+
const { children: o } = n;
|
|
1184
|
+
for (let l = 0; l < o.length; l++)
|
|
1185
|
+
if (!K(o[l], e, t, r, s, i))
|
|
1178
1186
|
return !1;
|
|
1179
1187
|
return !0;
|
|
1180
1188
|
}
|
|
1181
1189
|
case "empty":
|
|
1182
1190
|
return !0;
|
|
1183
1191
|
default:
|
|
1184
|
-
return n.kind === void 0 ? (e.appendChild(
|
|
1192
|
+
return n.kind === void 0 ? (e.appendChild(i.createComment("")), s.push({
|
|
1185
1193
|
path: [...t, r.count++],
|
|
1186
1194
|
kind: "slot"
|
|
1187
1195
|
}), !0) : !1;
|
|
@@ -1194,10 +1202,10 @@ function rt(n, e) {
|
|
|
1194
1202
|
return t;
|
|
1195
1203
|
}
|
|
1196
1204
|
function st(n, e, t) {
|
|
1197
|
-
const r = e, s = n.fragment.cloneNode(!0),
|
|
1205
|
+
const r = e, s = n.fragment.cloneNode(!0), i = n.topNodeCount, o = new Array(i);
|
|
1198
1206
|
let l = s.firstChild;
|
|
1199
|
-
for (let a = 0; a <
|
|
1200
|
-
|
|
1207
|
+
for (let a = 0; a < i; a++)
|
|
1208
|
+
o[a] = l, l = l.nextSibling;
|
|
1201
1209
|
const c = n.slots.length, d = new Array(c);
|
|
1202
1210
|
for (let a = 0; a < c; a++)
|
|
1203
1211
|
d[a] = rt(s, n.slots[a].path);
|
|
@@ -1231,7 +1239,7 @@ function st(n, e, t) {
|
|
|
1231
1239
|
const h = new b(
|
|
1232
1240
|
r.document,
|
|
1233
1241
|
r.element,
|
|
1234
|
-
|
|
1242
|
+
o[0],
|
|
1235
1243
|
r.providers
|
|
1236
1244
|
);
|
|
1237
1245
|
return {
|
|
@@ -1239,8 +1247,8 @@ function st(n, e, t) {
|
|
|
1239
1247
|
for (let u = 0; u < c; u++)
|
|
1240
1248
|
f[u](a);
|
|
1241
1249
|
if (a)
|
|
1242
|
-
for (let u = 0; u <
|
|
1243
|
-
const p =
|
|
1250
|
+
for (let u = 0; u < i; u++) {
|
|
1251
|
+
const p = o[u];
|
|
1244
1252
|
p.parentNode && p.parentNode.removeChild(p);
|
|
1245
1253
|
}
|
|
1246
1254
|
},
|
|
@@ -1252,9 +1260,9 @@ function it(n) {
|
|
|
1252
1260
|
function t(r) {
|
|
1253
1261
|
switch (r.kind) {
|
|
1254
1262
|
case "element": {
|
|
1255
|
-
const { tag: s, children:
|
|
1263
|
+
const { tag: s, children: i } = r;
|
|
1256
1264
|
e.push(`E:${s}`);
|
|
1257
|
-
for (const
|
|
1265
|
+
for (const o of i) if (!t(o)) return !1;
|
|
1258
1266
|
e.push("/E");
|
|
1259
1267
|
break;
|
|
1260
1268
|
}
|
|
@@ -1272,7 +1280,7 @@ function it(n) {
|
|
|
1272
1280
|
break;
|
|
1273
1281
|
case "fragment": {
|
|
1274
1282
|
const { children: s } = r;
|
|
1275
|
-
for (const
|
|
1283
|
+
for (const i of s) if (!t(i)) return !1;
|
|
1276
1284
|
break;
|
|
1277
1285
|
}
|
|
1278
1286
|
case "empty":
|
|
@@ -1294,19 +1302,19 @@ function ot(n) {
|
|
|
1294
1302
|
switch (r.kind) {
|
|
1295
1303
|
case "element": {
|
|
1296
1304
|
const { children: s } = r;
|
|
1297
|
-
for (const
|
|
1298
|
-
if (
|
|
1299
|
-
if (
|
|
1300
|
-
e.push(
|
|
1305
|
+
for (const i of s)
|
|
1306
|
+
if (i.kind !== "static-attr") {
|
|
1307
|
+
if (i.kind === "dynamic-attr") {
|
|
1308
|
+
e.push(i);
|
|
1301
1309
|
continue;
|
|
1302
1310
|
}
|
|
1303
|
-
t(
|
|
1311
|
+
t(i);
|
|
1304
1312
|
}
|
|
1305
1313
|
break;
|
|
1306
1314
|
}
|
|
1307
1315
|
case "fragment": {
|
|
1308
1316
|
const { children: s } = r;
|
|
1309
|
-
for (const
|
|
1317
|
+
for (const i of s) t(i);
|
|
1310
1318
|
break;
|
|
1311
1319
|
}
|
|
1312
1320
|
case "static-text":
|
|
@@ -1340,7 +1348,7 @@ const lt = {
|
|
|
1340
1348
|
return ot(n);
|
|
1341
1349
|
}
|
|
1342
1350
|
}, ct = Ne({
|
|
1343
|
-
type:
|
|
1351
|
+
type: le,
|
|
1344
1352
|
create: y,
|
|
1345
1353
|
templateEngine: lt
|
|
1346
1354
|
}), {
|
|
@@ -1372,8 +1380,9 @@ const lt = {
|
|
|
1372
1380
|
Use: mn,
|
|
1373
1381
|
UseMany: gn,
|
|
1374
1382
|
UseOptional: yn,
|
|
1375
|
-
|
|
1376
|
-
|
|
1383
|
+
Catch: Tn,
|
|
1384
|
+
handleValueOrSignal: vn,
|
|
1385
|
+
createReactiveRenderable: bn,
|
|
1377
1386
|
renderableOfTNode: A
|
|
1378
1387
|
} = ct, te = /* @__PURE__ */ new Map();
|
|
1379
1388
|
function ht(n) {
|
|
@@ -1389,30 +1398,30 @@ const ft = (n) => {
|
|
|
1389
1398
|
const e = y((t) => {
|
|
1390
1399
|
let r = [];
|
|
1391
1400
|
const s = n.on(
|
|
1392
|
-
(
|
|
1393
|
-
const
|
|
1394
|
-
r.length > 0 && t.removeClasses(r),
|
|
1401
|
+
(i) => {
|
|
1402
|
+
const o = (i ?? "").split(" ").filter((l) => l.length > 0);
|
|
1403
|
+
r.length > 0 && t.removeClasses(r), o.length > 0 && t.addClasses(o), r = o;
|
|
1395
1404
|
},
|
|
1396
1405
|
{ noAutoDispose: !0 }
|
|
1397
1406
|
);
|
|
1398
|
-
return (
|
|
1399
|
-
s(),
|
|
1407
|
+
return (i) => {
|
|
1408
|
+
s(), i && t.removeClasses(r), r = [];
|
|
1400
1409
|
};
|
|
1401
1410
|
});
|
|
1402
1411
|
return e.kind = "dynamic-attr", e;
|
|
1403
1412
|
}, mt = (n, e) => {
|
|
1404
1413
|
const t = y((r) => {
|
|
1405
|
-
const { get: s, set:
|
|
1406
|
-
return
|
|
1407
|
-
l && o
|
|
1414
|
+
const { get: s, set: i } = r.makeAccessors(n), o = s();
|
|
1415
|
+
return i(e), (l) => {
|
|
1416
|
+
l && i(o);
|
|
1408
1417
|
};
|
|
1409
1418
|
});
|
|
1410
1419
|
return t.kind = "static-attr", t.name = n, t.value = String(e), t;
|
|
1411
1420
|
}, gt = (n, e) => {
|
|
1412
1421
|
const t = y((r) => {
|
|
1413
|
-
const { get: s, set:
|
|
1422
|
+
const { get: s, set: i } = r.makeAccessors(n), o = s(), l = e.on(i, { noAutoDispose: !0 });
|
|
1414
1423
|
return (c) => {
|
|
1415
|
-
l(), c && o
|
|
1424
|
+
l(), c && i(o);
|
|
1416
1425
|
};
|
|
1417
1426
|
});
|
|
1418
1427
|
return t.kind = "dynamic-attr", t;
|
|
@@ -1435,7 +1444,7 @@ const ft = (n) => {
|
|
|
1435
1444
|
*/
|
|
1436
1445
|
get: (n, e) => (t) => yt(e, t)
|
|
1437
1446
|
}
|
|
1438
|
-
), Tt = (n, e) => H(`data-${n}`, e),
|
|
1447
|
+
), Tt = (n, e) => H(`data-${n}`, e), Sn = (n, e) => Tt(n, e), vt = (n, e) => H(`aria-${n}`, e), xn = new Proxy(
|
|
1439
1448
|
{},
|
|
1440
1449
|
{
|
|
1441
1450
|
/**
|
|
@@ -1448,7 +1457,7 @@ const ft = (n) => {
|
|
|
1448
1457
|
*/
|
|
1449
1458
|
get: (n, e) => (t) => vt(e, t)
|
|
1450
1459
|
}
|
|
1451
|
-
), bt = (n, e) => H(n, e),
|
|
1460
|
+
), bt = (n, e) => H(n, e), wn = new Proxy(
|
|
1452
1461
|
{},
|
|
1453
1462
|
{
|
|
1454
1463
|
/**
|
|
@@ -1461,7 +1470,7 @@ const ft = (n) => {
|
|
|
1461
1470
|
*/
|
|
1462
1471
|
get: (n, e) => (t) => bt(e, t)
|
|
1463
1472
|
}
|
|
1464
|
-
), St = (n, e) => H(n, e),
|
|
1473
|
+
), St = (n, e) => H(n, e), En = new Proxy(
|
|
1465
1474
|
{},
|
|
1466
1475
|
{
|
|
1467
1476
|
/**
|
|
@@ -1481,33 +1490,33 @@ function xt(n, e) {
|
|
|
1481
1490
|
t
|
|
1482
1491
|
)), t;
|
|
1483
1492
|
}
|
|
1484
|
-
const
|
|
1485
|
-
const s = ht(t),
|
|
1493
|
+
const kn = (n, e, t = "danger", r) => {
|
|
1494
|
+
const s = ht(t), i = y((o) => {
|
|
1486
1495
|
const d = xt(n, r)(e).on(
|
|
1487
1496
|
(f) => {
|
|
1488
|
-
f ?
|
|
1497
|
+
f ? o.addClasses(s) : o.removeClasses(s);
|
|
1489
1498
|
},
|
|
1490
1499
|
{ noAutoDispose: !0 }
|
|
1491
1500
|
);
|
|
1492
1501
|
return (f) => {
|
|
1493
|
-
d(), f &&
|
|
1502
|
+
d(), f && o.removeClasses(s);
|
|
1494
1503
|
};
|
|
1495
1504
|
});
|
|
1496
|
-
return
|
|
1505
|
+
return i.kind = "dynamic-attr", i;
|
|
1497
1506
|
}, be = (n, e, t) => {
|
|
1498
1507
|
const r = y(
|
|
1499
1508
|
(s) => s.on(n, e, t)
|
|
1500
1509
|
);
|
|
1501
1510
|
return r.kind = "dynamic-attr", r;
|
|
1502
1511
|
}, Se = (n) => (e, t, r) => {
|
|
1503
|
-
const s = y((
|
|
1504
|
-
if (!
|
|
1512
|
+
const s = y((i) => {
|
|
1513
|
+
if (!i.isBrowser())
|
|
1505
1514
|
return () => {
|
|
1506
1515
|
};
|
|
1507
|
-
const
|
|
1516
|
+
const o = i, l = o.element, c = n === "document" ? o.document : o.getWindow();
|
|
1508
1517
|
let d = !1;
|
|
1509
1518
|
const f = (h) => {
|
|
1510
|
-
d || !l.isConnected || t(h,
|
|
1519
|
+
d || !l.isConnected || t(h, i);
|
|
1511
1520
|
};
|
|
1512
1521
|
return c.addEventListener(e, f, r), () => {
|
|
1513
1522
|
d = !0, c.removeEventListener(e, f, r);
|
|
@@ -1542,33 +1551,33 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1542
1551
|
), Mt = (n, e) => x((t, r) => {
|
|
1543
1552
|
if (t.value === "")
|
|
1544
1553
|
return;
|
|
1545
|
-
const s = t.value.split("-"),
|
|
1554
|
+
const s = t.value.split("-"), i = new Date(
|
|
1546
1555
|
Number(s[0]),
|
|
1547
1556
|
Number(s[1]) - 1,
|
|
1548
1557
|
Number(s[2].substring(0, 2))
|
|
1549
1558
|
);
|
|
1550
|
-
n(
|
|
1551
|
-
}, e),
|
|
1559
|
+
n(i, r);
|
|
1560
|
+
}, e), An = (n, e) => x((t, r) => {
|
|
1552
1561
|
if (t.value === "") {
|
|
1553
1562
|
n(null, r);
|
|
1554
1563
|
return;
|
|
1555
1564
|
}
|
|
1556
|
-
const s = t.value.split("-"),
|
|
1565
|
+
const s = t.value.split("-"), i = new Date(
|
|
1557
1566
|
Number(s[0]),
|
|
1558
1567
|
Number(s[1]) - 1,
|
|
1559
1568
|
Number(s[2].substring(0, 2))
|
|
1560
1569
|
);
|
|
1561
|
-
n(
|
|
1570
|
+
n(i, r);
|
|
1562
1571
|
}, e), Ot = (n, e) => x((t, r) => {
|
|
1563
1572
|
if (t.value === "")
|
|
1564
1573
|
return;
|
|
1565
|
-
const s = t.value.split("T"),
|
|
1566
|
-
Number(
|
|
1567
|
-
Number(
|
|
1568
|
-
Number(
|
|
1574
|
+
const s = t.value.split("T"), i = s[0].split("-"), o = new Date(
|
|
1575
|
+
Number(i[0]),
|
|
1576
|
+
Number(i[1]) - 1,
|
|
1577
|
+
Number(i[2])
|
|
1569
1578
|
), l = s[1].split(":");
|
|
1570
|
-
|
|
1571
|
-
}, e),
|
|
1579
|
+
o.setHours(Number(l[0])), o.setMinutes(Number(l[1])), o.setSeconds(Number(l[2])), n(o, r);
|
|
1580
|
+
}, e), Cn = (n, e) => x((t, r) => {
|
|
1572
1581
|
if (t.value === "") {
|
|
1573
1582
|
n(null, r);
|
|
1574
1583
|
return;
|
|
@@ -1578,60 +1587,60 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1578
1587
|
n(null, r);
|
|
1579
1588
|
return;
|
|
1580
1589
|
}
|
|
1581
|
-
const
|
|
1582
|
-
Number(
|
|
1583
|
-
Number(
|
|
1584
|
-
Number(
|
|
1590
|
+
const i = s[0].split("-"), o = new Date(
|
|
1591
|
+
Number(i[0]),
|
|
1592
|
+
Number(i[1]) - 1,
|
|
1593
|
+
Number(i[2])
|
|
1585
1594
|
), l = s[1].split(":");
|
|
1586
|
-
|
|
1587
|
-
}, e),
|
|
1595
|
+
o.setHours(Number(l[0] ?? 0)), o.setMinutes(Number(l[1] ?? 0)), o.setSeconds(Number(l[2] ?? 0)), n(o, r);
|
|
1596
|
+
}, e), Pn = (n, e) => x((t, r) => {
|
|
1588
1597
|
n(t.checked, r);
|
|
1589
|
-
}, e),
|
|
1598
|
+
}, e), Mn = (n, e = "input") => S(
|
|
1590
1599
|
T.valueAsDate(n),
|
|
1591
1600
|
D[e](Mt((t) => n.set(t)))
|
|
1592
|
-
),
|
|
1601
|
+
), On = (n, e = "input") => S(
|
|
1593
1602
|
T.valueAsDate(n),
|
|
1594
1603
|
D[e](Ot((t) => n.set(t)))
|
|
1595
|
-
),
|
|
1604
|
+
), Ln = (n, e = "input") => S(
|
|
1596
1605
|
T.valueAsNumber(n),
|
|
1597
1606
|
D[e](Pt((t) => n.set(t)))
|
|
1598
|
-
),
|
|
1607
|
+
), In = (n, e = "input") => S(T.value(n), D[e](Ct((t) => n.set(t)))), Hn = (n) => S(
|
|
1599
1608
|
T.checked(n),
|
|
1600
1609
|
kt((e) => n.set(e))
|
|
1601
1610
|
), Lt = (n, e, t, r) => {
|
|
1602
|
-
const s = y((
|
|
1603
|
-
if (!
|
|
1611
|
+
const s = y((i) => {
|
|
1612
|
+
if (!i.isBrowser())
|
|
1604
1613
|
return () => {
|
|
1605
1614
|
};
|
|
1606
|
-
const
|
|
1615
|
+
const o = i.element, l = (c) => {
|
|
1607
1616
|
const d = c.target?.closest(e);
|
|
1608
|
-
d != null &&
|
|
1617
|
+
d != null && o.contains(d) && t(c, i);
|
|
1609
1618
|
};
|
|
1610
|
-
return
|
|
1611
|
-
c &&
|
|
1619
|
+
return o.addEventListener(n, l, r), (c) => {
|
|
1620
|
+
c && o.removeEventListener(n, l, r);
|
|
1612
1621
|
};
|
|
1613
1622
|
});
|
|
1614
1623
|
return s.kind = "dynamic-attr", s;
|
|
1615
|
-
},
|
|
1624
|
+
}, Dn = new Proxy(
|
|
1616
1625
|
{},
|
|
1617
1626
|
{
|
|
1618
1627
|
get: (n, e) => (t, r, s) => Lt(e, t, r, s)
|
|
1619
1628
|
}
|
|
1620
|
-
),
|
|
1629
|
+
), Nn = (n) => y((e) => (e.appendOrInsert(n), (t) => {
|
|
1621
1630
|
t && V(n);
|
|
1622
1631
|
})), xe = (n, ...e) => {
|
|
1623
1632
|
const t = e.map(A), r = y((s) => {
|
|
1624
|
-
const
|
|
1633
|
+
const i = s.makeChildElement(n, void 0), o = t.map((l) => l.render(i));
|
|
1625
1634
|
return (l) => {
|
|
1626
|
-
|
|
1635
|
+
o.forEach((c) => c(!1)), i.clear(l);
|
|
1627
1636
|
};
|
|
1628
1637
|
});
|
|
1629
1638
|
return r.kind = "element", r.tag = n, r.children = t, r;
|
|
1630
1639
|
}, X = (n, e, ...t) => {
|
|
1631
|
-
const r = t.map(A), s = y((
|
|
1632
|
-
const
|
|
1640
|
+
const r = t.map(A), s = y((i) => {
|
|
1641
|
+
const o = i.makeChildElement(n, e), l = r.map((c) => c.render(o));
|
|
1633
1642
|
return (c) => {
|
|
1634
|
-
l.forEach((d) => d(!1)),
|
|
1643
|
+
l.forEach((d) => d(!1)), o.clear(c);
|
|
1635
1644
|
};
|
|
1636
1645
|
});
|
|
1637
1646
|
return s.kind = "element", s.tag = n, s.ns = e, s.children = r, s;
|
|
@@ -1645,7 +1654,7 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1645
1654
|
*/
|
|
1646
1655
|
get: (n, e) => (...t) => xe(e, ...t)
|
|
1647
1656
|
}
|
|
1648
|
-
),
|
|
1657
|
+
), Rn = new Proxy(
|
|
1649
1658
|
{},
|
|
1650
1659
|
{
|
|
1651
1660
|
/**
|
|
@@ -1655,7 +1664,7 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1655
1664
|
*/
|
|
1656
1665
|
get: (n, e) => (...t) => xe("input", T.type(e), ...t)
|
|
1657
1666
|
}
|
|
1658
|
-
), we = "http://www.w3.org/2000/svg",
|
|
1667
|
+
), we = "http://www.w3.org/2000/svg", _n = (n, ...e) => X(n, we, ...e), $n = new Proxy(
|
|
1659
1668
|
{},
|
|
1660
1669
|
{
|
|
1661
1670
|
/**
|
|
@@ -1665,7 +1674,7 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1665
1674
|
*/
|
|
1666
1675
|
get: (n, e) => (...t) => X(e, we, ...t)
|
|
1667
1676
|
}
|
|
1668
|
-
), Ee = "http://www.w3.org/1998/Math/MathML",
|
|
1677
|
+
), Ee = "http://www.w3.org/1998/Math/MathML", Bn = (n, ...e) => X(n, Ee, ...e), Vn = new Proxy(
|
|
1669
1678
|
{},
|
|
1670
1679
|
{
|
|
1671
1680
|
/**
|
|
@@ -1684,14 +1693,14 @@ const En = (n, e, t = "danger", r) => {
|
|
|
1684
1693
|
return () => {
|
|
1685
1694
|
};
|
|
1686
1695
|
});
|
|
1687
|
-
function
|
|
1696
|
+
function jn({
|
|
1688
1697
|
src: n,
|
|
1689
1698
|
name: e,
|
|
1690
1699
|
width: t,
|
|
1691
1700
|
height: r,
|
|
1692
1701
|
sandbox: s,
|
|
1693
|
-
allow:
|
|
1694
|
-
referrerpolicy:
|
|
1702
|
+
allow: i,
|
|
1703
|
+
referrerpolicy: o,
|
|
1695
1704
|
loading: l,
|
|
1696
1705
|
iframeChild: c,
|
|
1697
1706
|
onLoad: d
|
|
@@ -1706,8 +1715,8 @@ function Vn({
|
|
|
1706
1715
|
r != null ? $.map(r, String) : void 0
|
|
1707
1716
|
),
|
|
1708
1717
|
T.sandbox(s),
|
|
1709
|
-
T.allow(
|
|
1710
|
-
T.referrerpolicy(
|
|
1718
|
+
T.allow(i),
|
|
1719
|
+
T.referrerpolicy(o),
|
|
1711
1720
|
c,
|
|
1712
1721
|
N((h) => {
|
|
1713
1722
|
const a = h.element;
|
|
@@ -1735,7 +1744,7 @@ function Vn({
|
|
|
1735
1744
|
})
|
|
1736
1745
|
);
|
|
1737
1746
|
}
|
|
1738
|
-
const
|
|
1747
|
+
const Yn = (n, e) => y((t) => {
|
|
1739
1748
|
const r = t.makePortal(n), s = I(A(e), r);
|
|
1740
1749
|
return () => s(!0);
|
|
1741
1750
|
}), _ = /* @__PURE__ */ new Map(), Ht = (n) => ({
|
|
@@ -1747,49 +1756,49 @@ const jn = (n, e) => y((t) => {
|
|
|
1747
1756
|
};
|
|
1748
1757
|
if (_.has(n))
|
|
1749
1758
|
throw new Error(`Probe already exists: ${n.description}`);
|
|
1750
|
-
const s = setTimeout(() => r("timeout"), t),
|
|
1751
|
-
return _.set(n,
|
|
1759
|
+
const s = setTimeout(() => r("timeout"), t), i = { counter: 0, timeoutId: s };
|
|
1760
|
+
return _.set(n, i), {
|
|
1752
1761
|
value: () => {
|
|
1753
1762
|
clearTimeout(s);
|
|
1754
1763
|
const l = _.get(n);
|
|
1755
1764
|
l != null && --l.counter === 0 && r("resolved");
|
|
1756
1765
|
},
|
|
1757
1766
|
dispose: () => r("disposed"),
|
|
1758
|
-
onUse: () =>
|
|
1767
|
+
onUse: () => i.counter++
|
|
1759
1768
|
};
|
|
1760
1769
|
}
|
|
1761
|
-
}),
|
|
1762
|
-
function
|
|
1770
|
+
}), Xn = Ht(/* @__PURE__ */ Symbol("GlobalProbe"));
|
|
1771
|
+
function Fn({
|
|
1763
1772
|
mode: n,
|
|
1764
1773
|
delegatesFocus: e,
|
|
1765
1774
|
slotAssignment: t,
|
|
1766
1775
|
clonable: r,
|
|
1767
1776
|
serializable: s
|
|
1768
|
-
}, ...
|
|
1769
|
-
return N((
|
|
1777
|
+
}, ...i) {
|
|
1778
|
+
return N((o) => {
|
|
1770
1779
|
const l = { mode: n };
|
|
1771
1780
|
e !== void 0 && (l.delegatesFocus = e), t !== void 0 && (l.slotAssignment = t), r !== void 0 && (l.clonable = r), s !== void 0 && (l.serializable = s);
|
|
1772
|
-
const c =
|
|
1781
|
+
const c = o.element.attachShadow(l), d = o.withElement(c), f = I(S(...i), d);
|
|
1773
1782
|
return Y(() => f(!0));
|
|
1774
1783
|
});
|
|
1775
1784
|
}
|
|
1776
1785
|
const Dt = (n, e) => {
|
|
1777
1786
|
const t = y((r) => {
|
|
1778
1787
|
const s = r.getStyle(n);
|
|
1779
|
-
return r.setStyle(n, e), (
|
|
1780
|
-
|
|
1788
|
+
return r.setStyle(n, e), (i) => {
|
|
1789
|
+
i && r.setStyle(n, s);
|
|
1781
1790
|
};
|
|
1782
1791
|
});
|
|
1783
1792
|
return t.kind = "dynamic-attr", t;
|
|
1784
1793
|
}, Nt = (n, e) => {
|
|
1785
1794
|
const t = y((r) => {
|
|
1786
|
-
const s = r.getStyle(n),
|
|
1787
|
-
return (
|
|
1788
|
-
|
|
1795
|
+
const s = r.getStyle(n), i = e.on((o) => r.setStyle(n, o));
|
|
1796
|
+
return (o) => {
|
|
1797
|
+
i(), o && r.setStyle(n, s);
|
|
1789
1798
|
};
|
|
1790
1799
|
});
|
|
1791
1800
|
return t.kind = "dynamic-attr", t;
|
|
1792
|
-
}, se = (n, e) => j.is(e) ? Nt(n, e) : Dt(n, e),
|
|
1801
|
+
}, se = (n, e) => j.is(e) ? Nt(n, e) : Dt(n, e), Wn = new Proxy({}, {
|
|
1793
1802
|
/**
|
|
1794
1803
|
* Creates a renderable component for the specified `style` property.
|
|
1795
1804
|
*
|
|
@@ -1807,11 +1816,11 @@ const Dt = (n, e) => {
|
|
|
1807
1816
|
return (s) => {
|
|
1808
1817
|
r(), t.clear(s);
|
|
1809
1818
|
};
|
|
1810
|
-
}),
|
|
1819
|
+
}), Kn = (n) => j.is(n) ? _t(n) : Rt(n), Un = (n) => y((e) => {
|
|
1811
1820
|
const t = n(e);
|
|
1812
1821
|
return t == null ? () => {
|
|
1813
1822
|
} : A(t).render(e);
|
|
1814
|
-
}),
|
|
1823
|
+
}), qn = (n) => N((e) => n(e.element)), Gn = (n) => y((e) => {
|
|
1815
1824
|
if (e.isHeadlessDOM()) {
|
|
1816
1825
|
const t = n(e);
|
|
1817
1826
|
if (t)
|
|
@@ -1819,7 +1828,7 @@ const Dt = (n, e) => {
|
|
|
1819
1828
|
}
|
|
1820
1829
|
return () => {
|
|
1821
1830
|
};
|
|
1822
|
-
}),
|
|
1831
|
+
}), Qn = (n, e) => N((t) => {
|
|
1823
1832
|
const r = t.element, s = et(
|
|
1824
1833
|
n,
|
|
1825
1834
|
() => r.getBoundingClientRect(),
|
|
@@ -1828,40 +1837,40 @@ const Dt = (n, e) => {
|
|
|
1828
1837
|
return r.addEventListener("touchstart", s.onTouchStart, { passive: !1 }), r.addEventListener("touchmove", s.onTouchMove, { passive: !1 }), r.addEventListener("touchend", s.onTouchEnd), Y(() => {
|
|
1829
1838
|
r.removeEventListener("touchstart", s.onTouchStart), r.removeEventListener("touchmove", s.onTouchMove), r.removeEventListener("touchend", s.onTouchEnd);
|
|
1830
1839
|
});
|
|
1831
|
-
}),
|
|
1840
|
+
}), Jn = (n, e) => N((t) => {
|
|
1832
1841
|
const r = t.element, s = tt(n, e);
|
|
1833
|
-
let
|
|
1842
|
+
let i = null, o = 0, l = 0;
|
|
1834
1843
|
const c = (h) => {
|
|
1835
|
-
|
|
1844
|
+
i !== null && (i.dispose(), i = null), o = h.clientX, l = h.clientY, s.track(h.clientX, h.clientY), r.setPointerCapture(h.pointerId);
|
|
1836
1845
|
}, d = (h) => {
|
|
1837
1846
|
if (!r.hasPointerCapture(h.pointerId)) return;
|
|
1838
|
-
const a = h.clientX -
|
|
1839
|
-
|
|
1847
|
+
const a = h.clientX - o, u = h.clientY - l;
|
|
1848
|
+
o = h.clientX, l = h.clientY, s.track(h.clientX, h.clientY), n(a, u);
|
|
1840
1849
|
}, f = (h) => {
|
|
1841
|
-
r.hasPointerCapture(h.pointerId) && (r.releasePointerCapture(h.pointerId),
|
|
1850
|
+
r.hasPointerCapture(h.pointerId) && (r.releasePointerCapture(h.pointerId), i = s.release());
|
|
1842
1851
|
};
|
|
1843
1852
|
return r.addEventListener("pointerdown", c), r.addEventListener("pointermove", d), r.addEventListener("pointerup", f), r.addEventListener("pointercancel", f), Y(() => {
|
|
1844
|
-
|
|
1853
|
+
i !== null && i.dispose(), r.removeEventListener("pointerdown", c), r.removeEventListener("pointermove", d), r.removeEventListener("pointerup", f), r.removeEventListener("pointercancel", f);
|
|
1845
1854
|
});
|
|
1846
1855
|
});
|
|
1847
|
-
function
|
|
1856
|
+
function Zn(n, e, t, r) {
|
|
1848
1857
|
return dt((s) => {
|
|
1849
|
-
const
|
|
1858
|
+
const i = B([]), o = /* @__PURE__ */ new Map();
|
|
1850
1859
|
s.onDispose(() => {
|
|
1851
|
-
for (const c of
|
|
1852
|
-
|
|
1860
|
+
for (const c of o.values()) clearTimeout(c);
|
|
1861
|
+
o.clear();
|
|
1853
1862
|
});
|
|
1854
1863
|
const l = /* @__PURE__ */ new Set();
|
|
1855
1864
|
return n.on(
|
|
1856
1865
|
(c) => {
|
|
1857
|
-
const d = new Set(c.map(e)), f =
|
|
1866
|
+
const d = new Set(c.map(e)), f = i.get();
|
|
1858
1867
|
for (const u of f)
|
|
1859
1868
|
if (!d.has(u.key) && !l.has(u.key))
|
|
1860
1869
|
if (l.add(u.key), u.isExiting.set(!0), r.exitDuration != null && r.exitDuration > 0) {
|
|
1861
1870
|
const p = setTimeout(() => {
|
|
1862
|
-
|
|
1871
|
+
o.delete(u.key), l.delete(u.key), i.set(i.get().filter((m) => m.key !== u.key));
|
|
1863
1872
|
}, r.exitDuration);
|
|
1864
|
-
|
|
1873
|
+
o.set(u.key, p);
|
|
1865
1874
|
} else r.useAnimationEvents || l.delete(u.key);
|
|
1866
1875
|
const h = c.map((u) => {
|
|
1867
1876
|
const p = e(u), m = f.find(
|
|
@@ -1875,11 +1884,11 @@ function Jn(n, e, t, r) {
|
|
|
1875
1884
|
}), a = f.filter(
|
|
1876
1885
|
(u) => l.has(u.key) && !d.has(u.key)
|
|
1877
1886
|
);
|
|
1878
|
-
|
|
1887
|
+
i.set([...h, ...a]);
|
|
1879
1888
|
},
|
|
1880
1889
|
{ skipInitial: !1 }
|
|
1881
1890
|
), ut(
|
|
1882
|
-
|
|
1891
|
+
i,
|
|
1883
1892
|
(c) => c.key,
|
|
1884
1893
|
(c, d) => {
|
|
1885
1894
|
const f = c.map((a) => a.value), h = c.get().isExiting;
|
|
@@ -1892,42 +1901,43 @@ export {
|
|
|
1892
1901
|
vt as Aria,
|
|
1893
1902
|
dn as Async,
|
|
1894
1903
|
yt as Attr,
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1904
|
+
Hn as BindChecked,
|
|
1905
|
+
Mn as BindDate,
|
|
1906
|
+
On as BindDateTime,
|
|
1907
|
+
Ln as BindNumber,
|
|
1908
|
+
In as BindText,
|
|
1900
1909
|
b as BrowserContext,
|
|
1901
1910
|
C as CLASS_PLACEHOLDER_ATTR,
|
|
1902
|
-
|
|
1911
|
+
Tn as Catch,
|
|
1912
|
+
tr as Computed,
|
|
1903
1913
|
hn as Conjunction,
|
|
1904
|
-
|
|
1914
|
+
Nn as DOMNode,
|
|
1905
1915
|
Tt as DataAttr,
|
|
1906
|
-
|
|
1916
|
+
nr as DisposalScope,
|
|
1907
1917
|
xe as El,
|
|
1908
1918
|
X as ElNS,
|
|
1909
|
-
|
|
1919
|
+
rr as ElementPosition,
|
|
1910
1920
|
at as Empty,
|
|
1911
1921
|
ln as Ensure,
|
|
1912
1922
|
cn as EnsureAll,
|
|
1913
1923
|
Qt as ForEach,
|
|
1914
1924
|
S as Fragment,
|
|
1915
|
-
|
|
1925
|
+
Xn as GlobalProbe,
|
|
1916
1926
|
We as HYDRATION_ID_ATTR,
|
|
1917
1927
|
Yt as HeadlessAdapter,
|
|
1918
1928
|
k as HeadlessContext,
|
|
1919
1929
|
Ge as HeadlessElement,
|
|
1920
|
-
|
|
1930
|
+
ve as HeadlessPortal,
|
|
1921
1931
|
Qe as HeadlessText,
|
|
1922
|
-
|
|
1923
|
-
|
|
1932
|
+
jn as IFrame,
|
|
1933
|
+
Jn as Inertia,
|
|
1924
1934
|
ut as KeyedForEach,
|
|
1925
|
-
|
|
1935
|
+
sr as KeyedPosition,
|
|
1926
1936
|
sn as MapSignal,
|
|
1927
1937
|
on as MapText,
|
|
1928
1938
|
St as MathAttr,
|
|
1929
|
-
|
|
1930
|
-
|
|
1939
|
+
Bn as MathEl,
|
|
1940
|
+
ir as MemoryStore,
|
|
1931
1941
|
an as NotEmpty,
|
|
1932
1942
|
kt as OnChecked,
|
|
1933
1943
|
Y as OnDispose,
|
|
@@ -1937,144 +1947,154 @@ export {
|
|
|
1937
1947
|
rn as OneOfTuple,
|
|
1938
1948
|
tn as OneOfType,
|
|
1939
1949
|
nn as OneOfValue,
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1950
|
+
Qn as PinchZoom,
|
|
1951
|
+
Yn as Portal,
|
|
1952
|
+
or as Prop,
|
|
1943
1953
|
pn as Provide,
|
|
1944
|
-
|
|
1954
|
+
Is as ProviderNotFoundError,
|
|
1945
1955
|
Wt as RafLoop,
|
|
1946
1956
|
Ft as ReducedMotion,
|
|
1947
1957
|
Be as RenderingError,
|
|
1948
1958
|
Jt as Repeat,
|
|
1949
1959
|
bt as SVGAttr,
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1960
|
+
_n as SVGEl,
|
|
1961
|
+
Fn as ShadowRoot,
|
|
1962
|
+
lr as Signal,
|
|
1953
1963
|
un as Task,
|
|
1954
|
-
|
|
1955
|
-
|
|
1964
|
+
Kn as TextNode,
|
|
1965
|
+
Zn as TransitionKeyedForEach,
|
|
1956
1966
|
Gt as Unless,
|
|
1957
1967
|
mn as Use,
|
|
1958
1968
|
gn as UseMany,
|
|
1959
1969
|
yn as UseOptional,
|
|
1960
|
-
|
|
1970
|
+
cr as Value,
|
|
1961
1971
|
qt as When,
|
|
1962
1972
|
N as WithBrowserCtx,
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1973
|
+
Un as WithCtx,
|
|
1974
|
+
qn as WithElement,
|
|
1975
|
+
Gn as WithHeadlessCtx,
|
|
1966
1976
|
fn as WithProvider,
|
|
1967
1977
|
dt as WithScope,
|
|
1968
1978
|
W as _NODE_PLACEHOLDER_ATTR,
|
|
1969
1979
|
$e as _getSelfOrParentElement,
|
|
1970
|
-
|
|
1971
|
-
|
|
1980
|
+
pe as _isElement,
|
|
1981
|
+
me as _isFragment,
|
|
1972
1982
|
_e as _makeGetter,
|
|
1973
1983
|
Re as _makeSetter,
|
|
1974
1984
|
V as _removeDOMNode,
|
|
1975
1985
|
_t as _signalText,
|
|
1976
1986
|
Rt as _staticText,
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1987
|
+
ar as accumulateSignal,
|
|
1988
|
+
ur as and,
|
|
1989
|
+
dr as animateSignal,
|
|
1990
|
+
hr as animateSignals,
|
|
1991
|
+
xn as aria,
|
|
1980
1992
|
T as attr,
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1993
|
+
fr as bind,
|
|
1994
|
+
pr as chainEasing,
|
|
1995
|
+
mr as coalesce,
|
|
1996
|
+
gr as computed,
|
|
1997
|
+
yr as computedOf,
|
|
1998
|
+
Tr as computedOfAsync,
|
|
1999
|
+
vr as computedOfAsyncGenerator,
|
|
2000
|
+
br as computedRecord,
|
|
1989
2001
|
tt as createInertiaHandler,
|
|
1990
2002
|
et as createPinchZoomHandler,
|
|
1991
2003
|
U as createRafLoop,
|
|
1992
2004
|
ze as createReducedMotionSignal,
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
2005
|
+
Hs as createRenderKit,
|
|
2006
|
+
Sr as createRenderable,
|
|
2007
|
+
xr as createSelector,
|
|
1996
2008
|
Ut as createTween,
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2009
|
+
Sn as dataAttr,
|
|
2010
|
+
wr as delaySignal,
|
|
2011
|
+
Dn as delegate,
|
|
2012
|
+
Er as distinctUntilChanged,
|
|
2013
|
+
y as domRenderable,
|
|
2014
|
+
kr as easeInBack,
|
|
2015
|
+
Ar as easeInBounce,
|
|
2016
|
+
Cr as easeInCubic,
|
|
2017
|
+
Pr as easeInElastic,
|
|
2018
|
+
Mr as easeInExpo,
|
|
2019
|
+
Or as easeInOutBack,
|
|
2020
|
+
Lr as easeInOutBounce,
|
|
2021
|
+
Ir as easeInOutCubic,
|
|
2022
|
+
Hr as easeInOutElastic,
|
|
2023
|
+
Dr as easeInOutExpo,
|
|
2024
|
+
Nr as easeInOutQuad,
|
|
2025
|
+
Rr as easeInOutQuart,
|
|
2026
|
+
_r as easeInOutSine,
|
|
2027
|
+
$r as easeInQuad,
|
|
2028
|
+
Br as easeInQuart,
|
|
2029
|
+
Vr as easeInSine,
|
|
2030
|
+
jr as easeOutBack,
|
|
2031
|
+
Yr as easeOutBounce,
|
|
2032
|
+
Xr as easeOutCubic,
|
|
2033
|
+
Fr as easeOutElastic,
|
|
2034
|
+
Wr as easeOutExpo,
|
|
2035
|
+
Kr as easeOutQuad,
|
|
2036
|
+
Ur as easeOutQuart,
|
|
2037
|
+
qr as easeOutSine,
|
|
2038
|
+
Gr as effect,
|
|
2039
|
+
Qr as effectOf,
|
|
2026
2040
|
At as emit,
|
|
2027
|
-
|
|
2041
|
+
Pn as emitChecked,
|
|
2028
2042
|
x as emitTarget,
|
|
2029
2043
|
Ct as emitValue,
|
|
2030
2044
|
Mt as emitValueAsDate,
|
|
2031
2045
|
Ot as emitValueAsDateTime,
|
|
2032
|
-
|
|
2033
|
-
|
|
2046
|
+
An as emitValueAsNullableDate,
|
|
2047
|
+
Cn as emitValueAsNullableDateTime,
|
|
2034
2048
|
Pt as emitValueAsNumber,
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2049
|
+
Jr as endInterpolate,
|
|
2050
|
+
Zr as getCurrentScope,
|
|
2051
|
+
zr as getParentScope,
|
|
2052
|
+
es as getScopeStack,
|
|
2039
2053
|
Ze as getWindow,
|
|
2040
|
-
|
|
2054
|
+
ts as guessInterpolate,
|
|
2041
2055
|
It as html,
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2056
|
+
Rn as input,
|
|
2057
|
+
ns as interpolateDate,
|
|
2058
|
+
rs as interpolateNumber,
|
|
2059
|
+
ss as interpolateString,
|
|
2046
2060
|
Kt as isInputFocused,
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2061
|
+
is as joinSignals,
|
|
2062
|
+
os as linear,
|
|
2063
|
+
ls as localStorageProp,
|
|
2050
2064
|
Ht as makeProbe,
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2065
|
+
cs as makeProviderMark,
|
|
2066
|
+
Vn as math,
|
|
2067
|
+
En as mathAttr,
|
|
2068
|
+
as as merge,
|
|
2069
|
+
us as mirrorEasing,
|
|
2070
|
+
ds as not,
|
|
2071
|
+
hs as notNil,
|
|
2056
2072
|
D as on,
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2073
|
+
fs as or,
|
|
2074
|
+
ps as popScope,
|
|
2075
|
+
ms as previousSignal,
|
|
2076
|
+
gs as prop,
|
|
2077
|
+
ys as propHistory,
|
|
2078
|
+
Ts as pushScope,
|
|
2061
2079
|
Vt as render,
|
|
2062
2080
|
I as renderWithContext,
|
|
2063
2081
|
A as renderableOfTNode,
|
|
2064
2082
|
Xt as restoreTempoPlaceholders,
|
|
2065
|
-
|
|
2083
|
+
vs as reverseEasing,
|
|
2066
2084
|
jt as runHeadless,
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2085
|
+
bs as scopeStack,
|
|
2086
|
+
Ss as scoped,
|
|
2087
|
+
kn as selectedClass,
|
|
2088
|
+
xs as sessionStorageProp,
|
|
2089
|
+
ws as signal,
|
|
2090
|
+
Es as slidingWindowSignal,
|
|
2091
|
+
ks as storedProp,
|
|
2092
|
+
As as strictEquals,
|
|
2093
|
+
Wn as style,
|
|
2094
|
+
$n as svg,
|
|
2095
|
+
wn as svgAttr,
|
|
2096
|
+
Cs as syncProp,
|
|
2097
|
+
Ps as throttleSignal,
|
|
2098
|
+
Ms as untracked,
|
|
2099
|
+
Os as withScope
|
|
2080
2100
|
};
|