@tachui/modifiers 0.8.20 → 0.8.22
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/dist/appearance/background.d.ts +22 -0
- package/dist/appearance/background.d.ts.map +1 -1
- package/dist/appearance/blend-mode.d.ts +24 -0
- package/dist/appearance/blend-mode.d.ts.map +1 -0
- package/dist/appearance/compositing-group.d.ts +16 -0
- package/dist/appearance/compositing-group.d.ts.map +1 -0
- package/dist/appearance/index.d.ts +2 -0
- package/dist/appearance/index.d.ts.map +1 -1
- package/dist/appearance/index.js +38 -30
- package/dist/base.js +2 -2
- package/dist/basic/index.d.ts.map +1 -1
- package/dist/basic/index.js +256 -248
- package/dist/basic/margin.js +4 -4
- package/dist/basic/padding.js +1 -1
- package/dist/basic/size.js +6 -6
- package/dist/effects/backdrop/index.js +1 -1
- package/dist/index.js +275 -267
- package/dist/interaction/index.js +32 -32
- package/dist/layout/index.js +1 -1
- package/dist/{modifiers-basic-CsxLd0CR.js → modifiers-basic-Cs3mAr8i.js} +1118 -1009
- package/dist/preload/basic.js +256 -248
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text.js +1 -1
- package/dist/utility/index.js +9 -9
- package/package.json +4 -4
|
@@ -2,10 +2,10 @@ var Ie = Object.defineProperty;
|
|
|
2
2
|
var $e = (o, s, e) => s in o ? Ie(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
|
|
3
3
|
var f = (o, s, e) => $e(o, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import { globalModifierRegistry as Ve } from "@tachui/registry";
|
|
5
|
-
import { isSignal as p, isComputed as m, createEffect as
|
|
5
|
+
import { isSignal as p, isComputed as m, createEffect as b, getThemeSignal as N } from "@tachui/core/reactive";
|
|
6
6
|
import { bindReactiveStyle as we } from "@tachui/core/modifiers/base";
|
|
7
|
-
import { shouldExpandForInfinity as
|
|
8
|
-
import { AnimationModifier as
|
|
7
|
+
import { shouldExpandForInfinity as oe, dimensionToCSS as L, isInfinity as A } from "@tachui/core/constants/layout";
|
|
8
|
+
import { AnimationModifier as J, LifecycleModifier as Re, LayoutModifier as re, ResizableModifier as De, AppearanceModifier as O } from "@tachui/core/modifiers";
|
|
9
9
|
import { gradientToCSS as Oe } from "@tachui/core/gradients/css-generator";
|
|
10
10
|
const I = {
|
|
11
11
|
LAYOUT: 100,
|
|
@@ -27,7 +27,7 @@ function _e(o) {
|
|
|
27
27
|
writable: !1
|
|
28
28
|
}), e;
|
|
29
29
|
}
|
|
30
|
-
let
|
|
30
|
+
let g = class {
|
|
31
31
|
constructor(s) {
|
|
32
32
|
this.properties = s;
|
|
33
33
|
}
|
|
@@ -47,7 +47,7 @@ let b = class {
|
|
|
47
47
|
if (s instanceof HTMLElement) {
|
|
48
48
|
const i = this.toCSSProperty(e);
|
|
49
49
|
if (p(t) || m(t))
|
|
50
|
-
|
|
50
|
+
b(() => {
|
|
51
51
|
const n = t(), r = String(n);
|
|
52
52
|
if (r.includes("!important")) {
|
|
53
53
|
const a = r.replace(/\s*!important\s*$/, "").trim();
|
|
@@ -131,9 +131,9 @@ let b = class {
|
|
|
131
131
|
element: s,
|
|
132
132
|
accessor: l,
|
|
133
133
|
updaterId: `${He}:${c}:${a}`,
|
|
134
|
-
updater: (
|
|
135
|
-
const
|
|
136
|
-
i(a,
|
|
134
|
+
updater: (u) => {
|
|
135
|
+
const d = this.toCSSValueForProperty(a, u);
|
|
136
|
+
i(a, d);
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
} else {
|
|
@@ -167,7 +167,7 @@ let b = class {
|
|
|
167
167
|
cleanup: []
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
},
|
|
170
|
+
}, Bo = class extends g {
|
|
171
171
|
constructor() {
|
|
172
172
|
super(...arguments);
|
|
173
173
|
f(this, "type", "layout");
|
|
@@ -190,18 +190,18 @@ let b = class {
|
|
|
190
190
|
applyOffsetTransform(e, t) {
|
|
191
191
|
const { x: i, y: n } = t;
|
|
192
192
|
if (p(i) || m(i) || p(n) || m(n))
|
|
193
|
-
|
|
194
|
-
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
195
|
-
e.style.transform =
|
|
193
|
+
b(() => {
|
|
194
|
+
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
|
|
195
|
+
e.style.transform = y;
|
|
196
196
|
});
|
|
197
197
|
else {
|
|
198
|
-
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
199
|
-
e.style.transform =
|
|
198
|
+
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
|
|
199
|
+
e.style.transform = y;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
applyAspectRatio(e, t) {
|
|
203
203
|
const { ratio: i, contentMode: n } = t;
|
|
204
|
-
i !== void 0 && (p(i) || m(i) ?
|
|
204
|
+
i !== void 0 && (p(i) || m(i) ? b(() => {
|
|
205
205
|
const r = typeof i == "function" ? i() : i;
|
|
206
206
|
e.style.aspectRatio = String(r);
|
|
207
207
|
}) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
|
|
@@ -210,27 +210,27 @@ let b = class {
|
|
|
210
210
|
applyScaleTransform(e, t) {
|
|
211
211
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
212
212
|
if (p(a) || m(a) || p(l) || m(l))
|
|
213
|
-
|
|
214
|
-
const c = p(a) || m(a) ? a() : a,
|
|
213
|
+
b(() => {
|
|
214
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, d = `scale(${c}, ${u})`;
|
|
215
215
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
216
216
|
r || "center"
|
|
217
217
|
);
|
|
218
|
-
const
|
|
219
|
-
e.style.transform =
|
|
218
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${d}` : d;
|
|
219
|
+
e.style.transform = v;
|
|
220
220
|
});
|
|
221
221
|
else {
|
|
222
222
|
const c = `scale(${a}, ${l})`;
|
|
223
223
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
224
224
|
r || "center"
|
|
225
225
|
);
|
|
226
|
-
const
|
|
227
|
-
e.style.transform =
|
|
226
|
+
const d = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = d ? `${d} ${c}` : c;
|
|
227
|
+
e.style.transform = h;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
applyAbsolutePosition(e, t) {
|
|
231
231
|
const { x: i, y: n } = t;
|
|
232
232
|
if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
|
|
233
|
-
|
|
233
|
+
b(() => {
|
|
234
234
|
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
|
|
235
235
|
e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
|
|
236
236
|
});
|
|
@@ -240,7 +240,7 @@ let b = class {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
applyZIndex(e, t) {
|
|
243
|
-
p(t) || m(t) ?
|
|
243
|
+
p(t) || m(t) ? b(() => {
|
|
244
244
|
const i = t();
|
|
245
245
|
e.style.zIndex = String(i);
|
|
246
246
|
}) : e.style.zIndex = String(t);
|
|
@@ -261,7 +261,7 @@ let b = class {
|
|
|
261
261
|
computeLayoutStyles(e, t) {
|
|
262
262
|
const i = {};
|
|
263
263
|
if (e.frame) {
|
|
264
|
-
const n = e.frame, r =
|
|
264
|
+
const n = e.frame, r = oe(n);
|
|
265
265
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
266
266
|
const a = L(n.width);
|
|
267
267
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -333,7 +333,7 @@ let b = class {
|
|
|
333
333
|
}
|
|
334
334
|
return i;
|
|
335
335
|
}
|
|
336
|
-
},
|
|
336
|
+
}, zo = class extends g {
|
|
337
337
|
constructor() {
|
|
338
338
|
super(...arguments);
|
|
339
339
|
f(this, "type", "appearance");
|
|
@@ -358,16 +358,16 @@ let b = class {
|
|
|
358
358
|
* Apply Asset-based styles with theme reactivity
|
|
359
359
|
*/
|
|
360
360
|
applyAssetBasedStyles(e, t) {
|
|
361
|
-
const i =
|
|
362
|
-
t.foregroundColor && this.isAsset(t.foregroundColor) &&
|
|
361
|
+
const i = N();
|
|
362
|
+
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
363
363
|
i();
|
|
364
364
|
const n = t.foregroundColor.resolve();
|
|
365
365
|
this.applyStyleChange(e, "color", n);
|
|
366
|
-
}), t.backgroundColor && this.isAsset(t.backgroundColor) &&
|
|
366
|
+
}), t.backgroundColor && this.isAsset(t.backgroundColor) && b(() => {
|
|
367
367
|
i();
|
|
368
368
|
const n = t.backgroundColor.resolve();
|
|
369
369
|
this.applyStyleChange(e, "backgroundColor", n);
|
|
370
|
-
}), t.border?.color && this.isAsset(t.border.color) &&
|
|
370
|
+
}), t.border?.color && this.isAsset(t.border.color) && b(() => {
|
|
371
371
|
i();
|
|
372
372
|
const n = t.border.color.resolve();
|
|
373
373
|
this.applyStyleChange(e, "borderColor", n);
|
|
@@ -419,7 +419,7 @@ let b = class {
|
|
|
419
419
|
const i = [];
|
|
420
420
|
return e.blur !== void 0 && i.push(`blur(${e.blur}px)`), e.brightness !== void 0 && i.push(`brightness(${e.brightness})`), e.contrast !== void 0 && i.push(`contrast(${e.contrast})`), e.saturation !== void 0 && i.push(`saturate(${e.saturation})`), e.hueRotation !== void 0 && i.push(`hue-rotate(${e.hueRotation}deg)`), e.grayscale !== void 0 && i.push(`grayscale(${e.grayscale})`), e.colorInvert !== void 0 && i.push(`invert(${e.colorInvert})`), i.length > 0 && (t.filter = i.join(" ")), t;
|
|
421
421
|
}
|
|
422
|
-
},
|
|
422
|
+
}, Wo = class extends g {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(...arguments);
|
|
425
425
|
f(this, "type", "interaction");
|
|
@@ -439,7 +439,7 @@ let b = class {
|
|
|
439
439
|
const n = t.element, r = (a) => {
|
|
440
440
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
441
441
|
};
|
|
442
|
-
p(i.disabled) || m(i.disabled) ?
|
|
442
|
+
p(i.disabled) || m(i.disabled) ? b(() => {
|
|
443
443
|
const a = !!i.disabled();
|
|
444
444
|
r(a);
|
|
445
445
|
}) : r(!!i.disabled);
|
|
@@ -455,25 +455,25 @@ let b = class {
|
|
|
455
455
|
let r, a = null, l = !1;
|
|
456
456
|
const c = () => {
|
|
457
457
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
458
|
-
},
|
|
459
|
-
const S =
|
|
458
|
+
}, u = (v) => {
|
|
459
|
+
const S = v;
|
|
460
460
|
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
461
461
|
l && a && (t.perform(), c());
|
|
462
462
|
}, i);
|
|
463
|
-
},
|
|
464
|
-
const S =
|
|
463
|
+
}, d = (v) => {
|
|
464
|
+
const S = v;
|
|
465
465
|
if (!a || !l) return;
|
|
466
466
|
Math.sqrt(
|
|
467
467
|
Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
|
|
468
468
|
) > n && c();
|
|
469
|
-
}, y = () => {
|
|
470
|
-
c();
|
|
471
469
|
}, h = () => {
|
|
472
470
|
c();
|
|
471
|
+
}, y = () => {
|
|
472
|
+
c();
|
|
473
473
|
};
|
|
474
|
-
e.addEventListener("pointerdown",
|
|
474
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", d), e.addEventListener("pointerup", h), e.addEventListener(
|
|
475
475
|
"pointercancel",
|
|
476
|
-
|
|
476
|
+
y
|
|
477
477
|
), e._longPressCleanup = c;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
@@ -492,10 +492,10 @@ let b = class {
|
|
|
492
492
|
ctrl: r.ctrlKey,
|
|
493
493
|
shift: r.shiftKey,
|
|
494
494
|
alt: r.altKey
|
|
495
|
-
}, c = r.key.toLowerCase() === t.key.toLowerCase(),
|
|
496
|
-
([
|
|
495
|
+
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
496
|
+
([d, h]) => h === l[d]
|
|
497
497
|
);
|
|
498
|
-
c &&
|
|
498
|
+
c && u && (r.preventDefault(), t.action());
|
|
499
499
|
};
|
|
500
500
|
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
501
501
|
document.removeEventListener("keydown", n);
|
|
@@ -507,7 +507,7 @@ let b = class {
|
|
|
507
507
|
setupFocusManagement(e, t) {
|
|
508
508
|
if (!(e instanceof HTMLElement)) return;
|
|
509
509
|
const i = e;
|
|
510
|
-
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ?
|
|
510
|
+
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
511
511
|
t() ? i.focus() : i.blur();
|
|
512
512
|
}) : t && i.focus();
|
|
513
513
|
}
|
|
@@ -527,13 +527,13 @@ let b = class {
|
|
|
527
527
|
setupContinuousHover(e, t) {
|
|
528
528
|
const i = t.coordinateSpace ?? "local", n = (a) => {
|
|
529
529
|
const l = a;
|
|
530
|
-
let c,
|
|
530
|
+
let c, u;
|
|
531
531
|
if (i === "local") {
|
|
532
|
-
const
|
|
533
|
-
c = l.clientX -
|
|
532
|
+
const d = e.getBoundingClientRect();
|
|
533
|
+
c = l.clientX - d.left, u = l.clientY - d.top;
|
|
534
534
|
} else
|
|
535
|
-
c = l.clientX,
|
|
536
|
-
t.perform({ x: c, y:
|
|
535
|
+
c = l.clientX, u = l.clientY;
|
|
536
|
+
t.perform({ x: c, y: u });
|
|
537
537
|
}, r = () => {
|
|
538
538
|
t.perform(null);
|
|
539
539
|
};
|
|
@@ -550,7 +550,7 @@ let b = class {
|
|
|
550
550
|
setupHitTesting(e, t) {
|
|
551
551
|
e instanceof HTMLElement && (e.style.pointerEvents = t ? "" : "none");
|
|
552
552
|
}
|
|
553
|
-
}, Be = class extends
|
|
553
|
+
}, Be = class extends g {
|
|
554
554
|
constructor() {
|
|
555
555
|
super(...arguments);
|
|
556
556
|
f(this, "type", "animation");
|
|
@@ -571,11 +571,11 @@ let b = class {
|
|
|
571
571
|
n.keyframes
|
|
572
572
|
);
|
|
573
573
|
this.addKeyframesToStylesheet(a);
|
|
574
|
-
const l = n.duration || 1e3, c = n.easing || "ease",
|
|
575
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${
|
|
574
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, d = n.direction || "normal";
|
|
575
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${d}`;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ?
|
|
578
|
+
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ? b(() => {
|
|
579
579
|
const n = i.transform();
|
|
580
580
|
t.element instanceof HTMLElement && (t.element.style.transform = n);
|
|
581
581
|
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element instanceof HTMLElement) {
|
|
@@ -591,18 +591,18 @@ let b = class {
|
|
|
591
591
|
trailing: "100% 50%"
|
|
592
592
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
593
593
|
if (p(n) || m(n))
|
|
594
|
-
|
|
595
|
-
const
|
|
594
|
+
b(() => {
|
|
595
|
+
const d = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
596
596
|
if (t.element instanceof HTMLElement) {
|
|
597
597
|
t.element.style.transformOrigin = l;
|
|
598
|
-
const
|
|
599
|
-
t.element.style.transform =
|
|
598
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${d}` : d;
|
|
599
|
+
t.element.style.transform = v;
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
602
|
else if (t.element instanceof HTMLElement) {
|
|
603
603
|
t.element.style.transformOrigin = l;
|
|
604
|
-
const
|
|
605
|
-
t.element.style.transform =
|
|
604
|
+
const d = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = d ? `${d} ${c}` : c;
|
|
605
|
+
t.element.style.transform = h;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
i.overlay && t.element instanceof HTMLElement && this.applyOverlay(t.element, i.overlay, t);
|
|
@@ -616,8 +616,8 @@ let b = class {
|
|
|
616
616
|
if (Object.assign(a.style, l), typeof n == "function") {
|
|
617
617
|
const c = n();
|
|
618
618
|
if (c && typeof c.render == "function") {
|
|
619
|
-
const
|
|
620
|
-
|
|
619
|
+
const u = c.render();
|
|
620
|
+
u.element && a.appendChild(u.element);
|
|
621
621
|
}
|
|
622
622
|
} else if (n && typeof n.render == "function") {
|
|
623
623
|
const c = n.render();
|
|
@@ -693,7 +693,7 @@ let b = class {
|
|
|
693
693
|
);
|
|
694
694
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
695
695
|
}
|
|
696
|
-
},
|
|
696
|
+
}, Go = class extends g {
|
|
697
697
|
constructor() {
|
|
698
698
|
super(...arguments);
|
|
699
699
|
f(this, "type", "lifecycle");
|
|
@@ -759,27 +759,27 @@ let b = class {
|
|
|
759
759
|
transition: opacity 0.3s ease;
|
|
760
760
|
z-index: 1000;
|
|
761
761
|
`, !document.querySelector("#tachui-refresh-styles")) {
|
|
762
|
-
const
|
|
763
|
-
|
|
762
|
+
const y = document.createElement("style");
|
|
763
|
+
y.id = "tachui-refresh-styles", y.textContent = `
|
|
764
764
|
@keyframes tachui-spin {
|
|
765
765
|
0% { transform: translateX(-50%) rotate(0deg); }
|
|
766
766
|
100% { transform: translateX(-50%) rotate(360deg); }
|
|
767
767
|
}
|
|
768
|
-
`, document.head.appendChild(
|
|
768
|
+
`, document.head.appendChild(y);
|
|
769
769
|
}
|
|
770
770
|
const c = e.parentElement || e;
|
|
771
771
|
c instanceof HTMLElement && (c.style.position = "relative", c.appendChild(l));
|
|
772
|
-
const
|
|
773
|
-
i || (r =
|
|
774
|
-
},
|
|
772
|
+
const u = (y) => {
|
|
773
|
+
i || (r = y.touches[0].clientY);
|
|
774
|
+
}, d = (y) => {
|
|
775
775
|
if (i) return;
|
|
776
|
-
const
|
|
777
|
-
if (n = Math.max(0,
|
|
778
|
-
|
|
776
|
+
const v = y.touches[0].clientY;
|
|
777
|
+
if (n = Math.max(0, v - r), n > 20) {
|
|
778
|
+
y.preventDefault();
|
|
779
779
|
const S = Math.min(n / a, 1);
|
|
780
780
|
l.style.opacity = String(S * 0.8), l.style.top = `${-50 + S * 20}px`;
|
|
781
781
|
}
|
|
782
|
-
},
|
|
782
|
+
}, h = async () => {
|
|
783
783
|
if (i || n < a) {
|
|
784
784
|
l.style.opacity = "0", l.style.top = "-50px", n = 0;
|
|
785
785
|
return;
|
|
@@ -787,29 +787,29 @@ let b = class {
|
|
|
787
787
|
i = !0, l.style.opacity = "1", l.style.top = "10px";
|
|
788
788
|
try {
|
|
789
789
|
await t.onRefresh();
|
|
790
|
-
} catch (
|
|
791
|
-
console.error("TachUI Refresh Error:",
|
|
790
|
+
} catch (y) {
|
|
791
|
+
console.error("TachUI Refresh Error:", y);
|
|
792
792
|
} finally {
|
|
793
793
|
i = !1, l.style.opacity = "0", l.style.top = "-50px", n = 0;
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
|
-
e.addEventListener("touchstart",
|
|
796
|
+
e.addEventListener("touchstart", u, {
|
|
797
797
|
passive: !1
|
|
798
|
-
}), e.addEventListener("touchmove",
|
|
798
|
+
}), e.addEventListener("touchmove", d, {
|
|
799
799
|
passive: !1
|
|
800
|
-
}), e.addEventListener("touchend",
|
|
800
|
+
}), e.addEventListener("touchend", h), this.addCleanup(() => {
|
|
801
801
|
e.removeEventListener(
|
|
802
802
|
"touchstart",
|
|
803
|
-
|
|
804
|
-
), e.removeEventListener("touchmove",
|
|
803
|
+
u
|
|
804
|
+
), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
805
805
|
});
|
|
806
806
|
}
|
|
807
807
|
addCleanup(e) {
|
|
808
808
|
this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(e);
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
const Ne = "@tachui/modifiers", ze = "0.8.
|
|
812
|
-
class V extends
|
|
811
|
+
const Ne = "@tachui/modifiers", ze = "0.8.22", Yo = Ne, Fe = ze;
|
|
812
|
+
class V extends g {
|
|
813
813
|
// Optimized priority for internal spacing (before margin at 50)
|
|
814
814
|
constructor(e) {
|
|
815
815
|
super(e);
|
|
@@ -839,7 +839,7 @@ class V extends b {
|
|
|
839
839
|
return t;
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function M(o) {
|
|
843
843
|
return p(o) || m(o) ? new V({ all: o }) : typeof o == "number" || typeof o == "string" ? new V({ all: o }) : new V(o);
|
|
844
844
|
}
|
|
845
845
|
function We(o) {
|
|
@@ -866,86 +866,86 @@ function Xe(o) {
|
|
|
866
866
|
function Ze(o) {
|
|
867
867
|
return new V({ vertical: o });
|
|
868
868
|
}
|
|
869
|
-
const
|
|
869
|
+
const Xo = {
|
|
870
870
|
/**
|
|
871
871
|
* Extra small padding (4px) - For tight spacing
|
|
872
872
|
*/
|
|
873
|
-
xs: () =>
|
|
873
|
+
xs: () => M(4),
|
|
874
874
|
/**
|
|
875
875
|
* Small padding (8px) - For compact components
|
|
876
876
|
*/
|
|
877
|
-
sm: () =>
|
|
877
|
+
sm: () => M(8),
|
|
878
878
|
/**
|
|
879
879
|
* Medium padding (12px) - Default comfortable spacing
|
|
880
880
|
*/
|
|
881
|
-
md: () =>
|
|
881
|
+
md: () => M(12),
|
|
882
882
|
/**
|
|
883
883
|
* Large padding (16px) - For prominent components
|
|
884
884
|
*/
|
|
885
|
-
lg: () =>
|
|
885
|
+
lg: () => M(16),
|
|
886
886
|
/**
|
|
887
887
|
* Extra large padding (24px) - For emphasis
|
|
888
888
|
*/
|
|
889
|
-
xl: () =>
|
|
889
|
+
xl: () => M(24),
|
|
890
890
|
/**
|
|
891
891
|
* Extra extra large padding (32px) - For major sections
|
|
892
892
|
*/
|
|
893
|
-
xxl: () =>
|
|
893
|
+
xxl: () => M(32),
|
|
894
894
|
/**
|
|
895
895
|
* Huge padding (48px) - For hero sections
|
|
896
896
|
*/
|
|
897
|
-
xxxl: () =>
|
|
897
|
+
xxxl: () => M(48),
|
|
898
898
|
// Semantic presets for common UI patterns
|
|
899
899
|
/**
|
|
900
900
|
* Button padding preset (horizontal: 16, vertical: 8)
|
|
901
901
|
* Optimized for interactive elements
|
|
902
902
|
*/
|
|
903
|
-
button: () =>
|
|
903
|
+
button: () => M({ horizontal: 16, vertical: 8 }),
|
|
904
904
|
/**
|
|
905
905
|
* Small button padding (horizontal: 12, vertical: 6)
|
|
906
906
|
*/
|
|
907
|
-
buttonSm: () =>
|
|
907
|
+
buttonSm: () => M({ horizontal: 12, vertical: 6 }),
|
|
908
908
|
/**
|
|
909
909
|
* Large button padding (horizontal: 24, vertical: 12)
|
|
910
910
|
*/
|
|
911
|
-
buttonLg: () =>
|
|
911
|
+
buttonLg: () => M({ horizontal: 24, vertical: 12 }),
|
|
912
912
|
/**
|
|
913
913
|
* Card padding preset (all: 16)
|
|
914
914
|
* Standard for card-like containers
|
|
915
915
|
*/
|
|
916
|
-
card: () =>
|
|
916
|
+
card: () => M(16),
|
|
917
917
|
/**
|
|
918
918
|
* Compact card padding (all: 12)
|
|
919
919
|
*/
|
|
920
|
-
cardSm: () =>
|
|
920
|
+
cardSm: () => M(12),
|
|
921
921
|
/**
|
|
922
922
|
* Spacious card padding (all: 24)
|
|
923
923
|
*/
|
|
924
|
-
cardLg: () =>
|
|
924
|
+
cardLg: () => M(24),
|
|
925
925
|
/**
|
|
926
926
|
* Section padding preset (horizontal: 20, vertical: 12)
|
|
927
927
|
* For content sections and layout blocks
|
|
928
928
|
*/
|
|
929
|
-
section: () =>
|
|
929
|
+
section: () => M({ horizontal: 20, vertical: 12 }),
|
|
930
930
|
/**
|
|
931
931
|
* Page padding preset (horizontal: 24, vertical: 16)
|
|
932
932
|
* For top-level page containers
|
|
933
933
|
*/
|
|
934
|
-
page: () =>
|
|
934
|
+
page: () => M({ horizontal: 24, vertical: 16 }),
|
|
935
935
|
/**
|
|
936
936
|
* Form field padding (horizontal: 12, vertical: 8)
|
|
937
937
|
*/
|
|
938
|
-
field: () =>
|
|
938
|
+
field: () => M({ horizontal: 12, vertical: 8 }),
|
|
939
939
|
/**
|
|
940
940
|
* Navigation item padding (horizontal: 16, vertical: 8)
|
|
941
941
|
*/
|
|
942
|
-
nav: () =>
|
|
942
|
+
nav: () => M({ horizontal: 16, vertical: 8 }),
|
|
943
943
|
/**
|
|
944
944
|
* List item padding (horizontal: 16, vertical: 12)
|
|
945
945
|
*/
|
|
946
|
-
listItem: () =>
|
|
946
|
+
listItem: () => M({ horizontal: 16, vertical: 12 })
|
|
947
947
|
};
|
|
948
|
-
class R extends
|
|
948
|
+
class R extends g {
|
|
949
949
|
// Optimized priority for external spacing (after padding at 45)
|
|
950
950
|
constructor(e) {
|
|
951
951
|
super(e);
|
|
@@ -975,7 +975,7 @@ class R extends b {
|
|
|
975
975
|
return t;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function x(o) {
|
|
979
979
|
return typeof o == "number" || typeof o == "string" ? new R({ all: o }) : new R(o);
|
|
980
980
|
}
|
|
981
981
|
function qe(o) {
|
|
@@ -1002,91 +1002,91 @@ function nt(o) {
|
|
|
1002
1002
|
function ot(o) {
|
|
1003
1003
|
return new R({ vertical: o });
|
|
1004
1004
|
}
|
|
1005
|
-
const
|
|
1005
|
+
const Zo = {
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Extra small margin (4px) - For tight spacing
|
|
1008
1008
|
*/
|
|
1009
|
-
xs: () =>
|
|
1009
|
+
xs: () => x(4),
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Small margin (8px) - For compact components
|
|
1012
1012
|
*/
|
|
1013
|
-
sm: () =>
|
|
1013
|
+
sm: () => x(8),
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Medium margin (12px) - Default comfortable spacing
|
|
1016
1016
|
*/
|
|
1017
|
-
md: () =>
|
|
1017
|
+
md: () => x(12),
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Large margin (16px) - For prominent separation
|
|
1020
1020
|
*/
|
|
1021
|
-
lg: () =>
|
|
1021
|
+
lg: () => x(16),
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Extra large margin (24px) - For emphasis
|
|
1024
1024
|
*/
|
|
1025
|
-
xl: () =>
|
|
1025
|
+
xl: () => x(24),
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Extra extra large margin (32px) - For major sections
|
|
1028
1028
|
*/
|
|
1029
|
-
xxl: () =>
|
|
1029
|
+
xxl: () => x(32),
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Huge margin (48px) - For hero sections
|
|
1032
1032
|
*/
|
|
1033
|
-
xxxl: () =>
|
|
1033
|
+
xxxl: () => x(48),
|
|
1034
1034
|
// Semantic presets for common UI patterns
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Component separation (vertical: 16, horizontal: 0)
|
|
1037
1037
|
* For spacing between stacked components
|
|
1038
1038
|
*/
|
|
1039
|
-
component: () =>
|
|
1039
|
+
component: () => x({ vertical: 16, horizontal: 0 }),
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Section separation (vertical: 24, horizontal: 0)
|
|
1042
1042
|
* For major content sections
|
|
1043
1043
|
*/
|
|
1044
|
-
section: () =>
|
|
1044
|
+
section: () => x({ vertical: 24, horizontal: 0 }),
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Page margin (horizontal: auto)
|
|
1047
1047
|
* For centering page content
|
|
1048
1048
|
*/
|
|
1049
|
-
page: () =>
|
|
1049
|
+
page: () => x({ horizontal: "auto" }),
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Card margin (all: 16)
|
|
1052
1052
|
* Standard margin around card components
|
|
1053
1053
|
*/
|
|
1054
|
-
card: () =>
|
|
1054
|
+
card: () => x(16),
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Compact card margin (all: 8)
|
|
1057
1057
|
*/
|
|
1058
|
-
cardSm: () =>
|
|
1058
|
+
cardSm: () => x(8),
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Spacious card margin (all: 24)
|
|
1061
1061
|
*/
|
|
1062
|
-
cardLg: () =>
|
|
1062
|
+
cardLg: () => x(24),
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Button margin (horizontal: 8, vertical: 4)
|
|
1065
1065
|
* For spacing between inline buttons
|
|
1066
1066
|
*/
|
|
1067
|
-
button: () =>
|
|
1067
|
+
button: () => x({ horizontal: 8, vertical: 4 }),
|
|
1068
1068
|
/**
|
|
1069
1069
|
* List item margin (vertical: 8, horizontal: 0)
|
|
1070
1070
|
* For spacing between list items
|
|
1071
1071
|
*/
|
|
1072
|
-
listItem: () =>
|
|
1072
|
+
listItem: () => x({ vertical: 8, horizontal: 0 }),
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Form field margin (vertical: 12, horizontal: 0)
|
|
1075
1075
|
* For spacing between form fields
|
|
1076
1076
|
*/
|
|
1077
|
-
field: () =>
|
|
1077
|
+
field: () => x({ vertical: 12, horizontal: 0 }),
|
|
1078
1078
|
/**
|
|
1079
1079
|
* Zero margin utility
|
|
1080
1080
|
* For removing default margins
|
|
1081
1081
|
*/
|
|
1082
|
-
none: () =>
|
|
1082
|
+
none: () => x(0),
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Auto margin utility
|
|
1085
1085
|
* For centering elements
|
|
1086
1086
|
*/
|
|
1087
|
-
auto: () =>
|
|
1087
|
+
auto: () => x("auto")
|
|
1088
1088
|
};
|
|
1089
|
-
class
|
|
1089
|
+
class z extends g {
|
|
1090
1090
|
// Priority 80 for layout
|
|
1091
1091
|
constructor(e) {
|
|
1092
1092
|
super(e);
|
|
@@ -1099,7 +1099,7 @@ class B extends b {
|
|
|
1099
1099
|
this.applyStyles(t.element, i);
|
|
1100
1100
|
}
|
|
1101
1101
|
computeSizeStyles(e) {
|
|
1102
|
-
const t = {}, i =
|
|
1102
|
+
const t = {}, i = oe(e);
|
|
1103
1103
|
if (Object.assign(t, i.cssProps), e.width !== void 0) {
|
|
1104
1104
|
const n = L(e.width);
|
|
1105
1105
|
n !== void 0 && !A(e.width) && (t.width = n);
|
|
@@ -1128,27 +1128,27 @@ class B extends b {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
function rt(o) {
|
|
1131
|
-
return new
|
|
1131
|
+
return new z(o);
|
|
1132
1132
|
}
|
|
1133
1133
|
function st(o) {
|
|
1134
|
-
return new
|
|
1134
|
+
return new z({ width: o });
|
|
1135
1135
|
}
|
|
1136
1136
|
function at(o) {
|
|
1137
|
-
return new
|
|
1137
|
+
return new z({ height: o });
|
|
1138
1138
|
}
|
|
1139
1139
|
function lt(o) {
|
|
1140
|
-
return new
|
|
1140
|
+
return new z({ maxWidth: o });
|
|
1141
1141
|
}
|
|
1142
1142
|
function ct(o) {
|
|
1143
|
-
return new
|
|
1143
|
+
return new z({ minWidth: o });
|
|
1144
1144
|
}
|
|
1145
1145
|
function ft(o) {
|
|
1146
|
-
return new
|
|
1146
|
+
return new z({ maxHeight: o });
|
|
1147
1147
|
}
|
|
1148
1148
|
function dt(o) {
|
|
1149
|
-
return new
|
|
1149
|
+
return new z({ minHeight: o });
|
|
1150
1150
|
}
|
|
1151
|
-
class
|
|
1151
|
+
class te extends Be {
|
|
1152
1152
|
constructor() {
|
|
1153
1153
|
super(...arguments);
|
|
1154
1154
|
// Override type to be 'transition' instead of 'animation'
|
|
@@ -1157,16 +1157,16 @@ class ee extends Be {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
function ut(o, s, e, t) {
|
|
1159
1159
|
if (typeof o == "object")
|
|
1160
|
-
return new
|
|
1160
|
+
return new te({ transition: o });
|
|
1161
1161
|
const i = o;
|
|
1162
|
-
return i === "none" ? new
|
|
1162
|
+
return i === "none" ? new te({
|
|
1163
1163
|
transition: {
|
|
1164
1164
|
property: "none",
|
|
1165
1165
|
duration: 0,
|
|
1166
1166
|
easing: "ease",
|
|
1167
1167
|
delay: 0
|
|
1168
1168
|
}
|
|
1169
|
-
}) : new
|
|
1169
|
+
}) : new te({
|
|
1170
1170
|
transition: {
|
|
1171
1171
|
property: i,
|
|
1172
1172
|
duration: s || 300,
|
|
@@ -1176,18 +1176,18 @@ function ut(o, s, e, t) {
|
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
1178
|
function pt(o) {
|
|
1179
|
-
return new
|
|
1179
|
+
return new J({ transform: o });
|
|
1180
1180
|
}
|
|
1181
1181
|
function mt(o) {
|
|
1182
|
-
return o ? new
|
|
1182
|
+
return o ? new J({ animation: o }) : new J({});
|
|
1183
1183
|
}
|
|
1184
1184
|
function ht(o) {
|
|
1185
|
-
return new
|
|
1185
|
+
return new J({ transitions: o });
|
|
1186
1186
|
}
|
|
1187
1187
|
function yt(o) {
|
|
1188
1188
|
return new Re({ task: o });
|
|
1189
1189
|
}
|
|
1190
|
-
class $ extends
|
|
1190
|
+
class $ extends g {
|
|
1191
1191
|
// Optimized priority for layout modifiers
|
|
1192
1192
|
constructor(e) {
|
|
1193
1193
|
super(e);
|
|
@@ -1226,7 +1226,7 @@ function vt(o) {
|
|
|
1226
1226
|
function bt(o) {
|
|
1227
1227
|
return new $({ flexBasis: o });
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function qo(o) {
|
|
1230
1230
|
return new $({ flex: o });
|
|
1231
1231
|
}
|
|
1232
1232
|
function St(o) {
|
|
@@ -1241,19 +1241,19 @@ function Ct(o) {
|
|
|
1241
1241
|
function Et(o) {
|
|
1242
1242
|
return new $({ gap: o });
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function Jo(o) {
|
|
1245
1245
|
return new $({ rowGap: o });
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Qo(o) {
|
|
1248
1248
|
return new $({ columnGap: o });
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function Mt(o) {
|
|
1251
1251
|
return new $({ flexDirection: o });
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function xt(o) {
|
|
1254
1254
|
return new $({ flexWrap: o });
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const er = {
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Standard flex container
|
|
1259
1259
|
* Sets display: flex for basic flex container
|
|
@@ -1391,7 +1391,7 @@ const Uo = {
|
|
|
1391
1391
|
alignItems: "stretch"
|
|
1392
1392
|
})
|
|
1393
1393
|
};
|
|
1394
|
-
class Tt extends
|
|
1394
|
+
class Tt extends g {
|
|
1395
1395
|
constructor() {
|
|
1396
1396
|
super(...arguments);
|
|
1397
1397
|
f(this, "type", "offset");
|
|
@@ -1401,14 +1401,14 @@ class Tt extends b {
|
|
|
1401
1401
|
apply(e, t) {
|
|
1402
1402
|
if (!t.element) return;
|
|
1403
1403
|
const { x: i, y: n = 0 } = this.properties;
|
|
1404
|
-
p(i) || m(i) || p(n) || m(n) ?
|
|
1404
|
+
p(i) || m(i) || p(n) || m(n) ? b(() => {
|
|
1405
1405
|
const r = p(i) || m(i) ? i() : i, a = p(n) || m(n) ? n() : n;
|
|
1406
1406
|
this.applyOffset(t.element, r, a);
|
|
1407
1407
|
}) : this.applyOffset(t.element, i, n);
|
|
1408
1408
|
}
|
|
1409
1409
|
applyOffset(e, t, i) {
|
|
1410
|
-
const n = this.toCSSValue(t), r = this.toCSSValue(i), a = `translate(${n}, ${r})`, c = (e.style.transform || "").replace(/\s*translate(?!Z\(0\))[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(),
|
|
1411
|
-
e.style.transform =
|
|
1410
|
+
const n = this.toCSSValue(t), r = this.toCSSValue(i), a = `translate(${n}, ${r})`, c = (e.style.transform || "").replace(/\s*translate(?!Z\(0\))[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), u = c ? `${c} ${a}` : a;
|
|
1411
|
+
e.style.transform = u;
|
|
1412
1412
|
}
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Development mode validation
|
|
@@ -1436,7 +1436,7 @@ function Lt(o, s) {
|
|
|
1436
1436
|
const e = new Tt({ x: o, y: s ?? 0 });
|
|
1437
1437
|
return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(o, s), e;
|
|
1438
1438
|
}
|
|
1439
|
-
class At extends
|
|
1439
|
+
class At extends g {
|
|
1440
1440
|
constructor() {
|
|
1441
1441
|
super(...arguments);
|
|
1442
1442
|
f(this, "type", "scaleEffect");
|
|
@@ -1446,7 +1446,7 @@ class At extends b {
|
|
|
1446
1446
|
apply(e, t) {
|
|
1447
1447
|
if (!t.element) return;
|
|
1448
1448
|
const { x: i, y: n, anchor: r = "center" } = this.properties, a = n ?? i;
|
|
1449
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, r), p(i) || m(i) || p(a) || m(a) ?
|
|
1449
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, r), p(i) || m(i) || p(a) || m(a) ? b(() => {
|
|
1450
1450
|
const l = p(i) || m(i) ? i() : i, c = p(a) || m(a) ? a() : a;
|
|
1451
1451
|
this.applyScale(
|
|
1452
1452
|
t.element,
|
|
@@ -1517,7 +1517,7 @@ class At extends b {
|
|
|
1517
1517
|
function kt(o, s, e = "center") {
|
|
1518
1518
|
return new At({ x: o, y: s, anchor: e });
|
|
1519
1519
|
}
|
|
1520
|
-
class Ce extends
|
|
1520
|
+
class Ce extends g {
|
|
1521
1521
|
constructor() {
|
|
1522
1522
|
super(...arguments);
|
|
1523
1523
|
f(this, "type", "aspectRatio");
|
|
@@ -1527,7 +1527,7 @@ class Ce extends b {
|
|
|
1527
1527
|
apply(e, t) {
|
|
1528
1528
|
if (!t.element) return;
|
|
1529
1529
|
const { ratio: i, contentMode: n } = this.properties;
|
|
1530
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || m(i) ?
|
|
1530
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || m(i) ? b(() => {
|
|
1531
1531
|
const r = i();
|
|
1532
1532
|
this.applyAspectRatio(
|
|
1533
1533
|
t.element,
|
|
@@ -1590,7 +1590,7 @@ f(Ce, "COMMON_RATIOS", {
|
|
|
1590
1590
|
function Pt(o, s = "fit") {
|
|
1591
1591
|
return new Ce({ ratio: o, contentMode: s });
|
|
1592
1592
|
}
|
|
1593
|
-
class It extends
|
|
1593
|
+
class It extends g {
|
|
1594
1594
|
constructor() {
|
|
1595
1595
|
super(...arguments);
|
|
1596
1596
|
f(this, "type", "fixedSize");
|
|
@@ -1650,13 +1650,13 @@ function $t(o = !0, s = !0) {
|
|
|
1650
1650
|
return new It({ horizontal: o, vertical: s });
|
|
1651
1651
|
}
|
|
1652
1652
|
function Vt(o) {
|
|
1653
|
-
return new
|
|
1653
|
+
return new re({ frame: o });
|
|
1654
1654
|
}
|
|
1655
1655
|
function Rt(o) {
|
|
1656
|
-
return new
|
|
1656
|
+
return new re({ layoutPriority: o });
|
|
1657
1657
|
}
|
|
1658
1658
|
function Dt(o, s) {
|
|
1659
|
-
return new
|
|
1659
|
+
return new re({
|
|
1660
1660
|
position: {
|
|
1661
1661
|
x: o,
|
|
1662
1662
|
y: s
|
|
@@ -1666,7 +1666,7 @@ function Dt(o, s) {
|
|
|
1666
1666
|
function Ot() {
|
|
1667
1667
|
return new De({});
|
|
1668
1668
|
}
|
|
1669
|
-
class Ht extends
|
|
1669
|
+
class Ht extends g {
|
|
1670
1670
|
constructor() {
|
|
1671
1671
|
super(...arguments);
|
|
1672
1672
|
f(this, "type", "position");
|
|
@@ -1680,7 +1680,7 @@ class Ht extends b {
|
|
|
1680
1680
|
this.applyCoordinatePosition(t.element, i);
|
|
1681
1681
|
return;
|
|
1682
1682
|
}
|
|
1683
|
-
p(i) || m(i) ?
|
|
1683
|
+
p(i) || m(i) ? b(() => {
|
|
1684
1684
|
const n = i();
|
|
1685
1685
|
this.applyPosition(t.element, n);
|
|
1686
1686
|
}) : this.applyPosition(t.element, i);
|
|
@@ -1693,7 +1693,7 @@ class Ht extends b {
|
|
|
1693
1693
|
e.style.position = "absolute", e.style.left = `${n}px`, e.style.top = `${r}px`, this.applyPositionOptimizations(e, "absolute");
|
|
1694
1694
|
};
|
|
1695
1695
|
if (p(t.x) || m(t.x) || p(t.y) || m(t.y)) {
|
|
1696
|
-
|
|
1696
|
+
b(() => {
|
|
1697
1697
|
const n = p(t.x) || m(t.x) ? t.x() : t.x, r = p(t.y) || m(t.y) ? t.y() : t.y;
|
|
1698
1698
|
i(n, r);
|
|
1699
1699
|
});
|
|
@@ -1784,7 +1784,7 @@ class Ht extends b {
|
|
|
1784
1784
|
function _t(o) {
|
|
1785
1785
|
return new Ht({ position: o });
|
|
1786
1786
|
}
|
|
1787
|
-
class Ee extends
|
|
1787
|
+
class Ee extends g {
|
|
1788
1788
|
constructor() {
|
|
1789
1789
|
super(...arguments);
|
|
1790
1790
|
f(this, "type", "zIndex");
|
|
@@ -1794,7 +1794,7 @@ class Ee extends b {
|
|
|
1794
1794
|
apply(e, t) {
|
|
1795
1795
|
if (!t.element) return;
|
|
1796
1796
|
const { zIndex: i } = this.properties;
|
|
1797
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || m(i) ?
|
|
1797
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || m(i) ? b(() => {
|
|
1798
1798
|
const n = i();
|
|
1799
1799
|
this.applyZIndex(t.element, n);
|
|
1800
1800
|
}) : this.applyZIndex(t.element, i);
|
|
@@ -1911,7 +1911,7 @@ class w {
|
|
|
1911
1911
|
if (s instanceof HTMLElement) {
|
|
1912
1912
|
const i = this.toCSSProperty(e);
|
|
1913
1913
|
if (p(t) || m(t))
|
|
1914
|
-
|
|
1914
|
+
b(() => {
|
|
1915
1915
|
const n = t(), r = String(n);
|
|
1916
1916
|
if (r.includes("!important")) {
|
|
1917
1917
|
const a = r.replace(/\s*!important\s*$/, "").trim();
|
|
@@ -1981,8 +1981,8 @@ class w {
|
|
|
1981
1981
|
r,
|
|
1982
1982
|
"value type:",
|
|
1983
1983
|
typeof n
|
|
1984
|
-
),
|
|
1985
|
-
const a = this.isAssetValue(n) ? (
|
|
1984
|
+
), b(() => {
|
|
1985
|
+
const a = this.isAssetValue(n) ? (N()(), n.resolve()) : n();
|
|
1986
1986
|
console.log(
|
|
1987
1987
|
"BaseModifier reactive effect fired - property:",
|
|
1988
1988
|
r,
|
|
@@ -2041,7 +2041,7 @@ class w {
|
|
|
2041
2041
|
};
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
class
|
|
2044
|
+
class tr extends w {
|
|
2045
2045
|
constructor() {
|
|
2046
2046
|
super(...arguments);
|
|
2047
2047
|
f(this, "type", "layout");
|
|
@@ -2064,18 +2064,18 @@ class Go extends w {
|
|
|
2064
2064
|
applyOffsetTransform(e, t) {
|
|
2065
2065
|
const { x: i, y: n } = t;
|
|
2066
2066
|
if (p(i) || m(i) || p(n) || m(n))
|
|
2067
|
-
|
|
2068
|
-
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
2069
|
-
e.style.transform =
|
|
2067
|
+
b(() => {
|
|
2068
|
+
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
|
|
2069
|
+
e.style.transform = y;
|
|
2070
2070
|
});
|
|
2071
2071
|
else {
|
|
2072
|
-
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
2073
|
-
e.style.transform =
|
|
2072
|
+
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
|
|
2073
|
+
e.style.transform = y;
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
applyAspectRatio(e, t) {
|
|
2077
2077
|
const { ratio: i, contentMode: n } = t;
|
|
2078
|
-
i !== void 0 && (p(i) || m(i) ?
|
|
2078
|
+
i !== void 0 && (p(i) || m(i) ? b(() => {
|
|
2079
2079
|
const r = typeof i == "function" ? i() : i;
|
|
2080
2080
|
e.style.aspectRatio = String(r);
|
|
2081
2081
|
}) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
|
|
@@ -2084,27 +2084,27 @@ class Go extends w {
|
|
|
2084
2084
|
applyScaleTransform(e, t) {
|
|
2085
2085
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
2086
2086
|
if (p(a) || m(a) || p(l) || m(l))
|
|
2087
|
-
|
|
2088
|
-
const c = p(a) || m(a) ? a() : a,
|
|
2087
|
+
b(() => {
|
|
2088
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, d = `scale(${c}, ${u})`;
|
|
2089
2089
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2090
2090
|
r || "center"
|
|
2091
2091
|
);
|
|
2092
|
-
const
|
|
2093
|
-
e.style.transform =
|
|
2092
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${d}` : d;
|
|
2093
|
+
e.style.transform = v;
|
|
2094
2094
|
});
|
|
2095
2095
|
else {
|
|
2096
2096
|
const c = `scale(${a}, ${l})`;
|
|
2097
2097
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2098
2098
|
r || "center"
|
|
2099
2099
|
);
|
|
2100
|
-
const
|
|
2101
|
-
e.style.transform =
|
|
2100
|
+
const d = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = d ? `${d} ${c}` : c;
|
|
2101
|
+
e.style.transform = h;
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
2104
|
applyAbsolutePosition(e, t) {
|
|
2105
2105
|
const { x: i, y: n } = t;
|
|
2106
2106
|
if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
|
|
2107
|
-
|
|
2107
|
+
b(() => {
|
|
2108
2108
|
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
|
|
2109
2109
|
e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
|
|
2110
2110
|
});
|
|
@@ -2114,7 +2114,7 @@ class Go extends w {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
applyZIndex(e, t) {
|
|
2117
|
-
p(t) || m(t) ?
|
|
2117
|
+
p(t) || m(t) ? b(() => {
|
|
2118
2118
|
const i = t();
|
|
2119
2119
|
e.style.zIndex = String(i);
|
|
2120
2120
|
}) : e.style.zIndex = String(t);
|
|
@@ -2135,7 +2135,7 @@ class Go extends w {
|
|
|
2135
2135
|
computeLayoutStyles(e, t) {
|
|
2136
2136
|
const i = {};
|
|
2137
2137
|
if (e.frame) {
|
|
2138
|
-
const n = e.frame, r =
|
|
2138
|
+
const n = e.frame, r = oe(n);
|
|
2139
2139
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
2140
2140
|
const a = L(n.width);
|
|
2141
2141
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -2208,7 +2208,7 @@ class Go extends w {
|
|
|
2208
2208
|
return i;
|
|
2209
2209
|
}
|
|
2210
2210
|
}
|
|
2211
|
-
class
|
|
2211
|
+
class ir extends w {
|
|
2212
2212
|
constructor() {
|
|
2213
2213
|
super(...arguments);
|
|
2214
2214
|
f(this, "type", "appearance");
|
|
@@ -2239,16 +2239,16 @@ class Ko extends w {
|
|
|
2239
2239
|
* Apply Asset-based styles with theme reactivity
|
|
2240
2240
|
*/
|
|
2241
2241
|
applyAssetBasedStyles(e, t) {
|
|
2242
|
-
const i =
|
|
2243
|
-
t.foregroundColor && this.isAsset(t.foregroundColor) &&
|
|
2242
|
+
const i = N();
|
|
2243
|
+
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
2244
2244
|
i();
|
|
2245
2245
|
const n = t.foregroundColor.resolve();
|
|
2246
2246
|
this.applyStyleChange(e, "color", n);
|
|
2247
|
-
}), t.backgroundColor && this.isAsset(t.backgroundColor) &&
|
|
2247
|
+
}), t.backgroundColor && this.isAsset(t.backgroundColor) && b(() => {
|
|
2248
2248
|
i();
|
|
2249
2249
|
const n = t.backgroundColor.resolve();
|
|
2250
2250
|
this.applyStyleChange(e, "backgroundColor", n);
|
|
2251
|
-
}), t.border?.color && this.isAsset(t.border.color) &&
|
|
2251
|
+
}), t.border?.color && this.isAsset(t.border.color) && b(() => {
|
|
2252
2252
|
i();
|
|
2253
2253
|
const n = t.border.color.resolve();
|
|
2254
2254
|
this.applyStyleChange(e, "borderColor", n);
|
|
@@ -2278,8 +2278,8 @@ class Ko extends w {
|
|
|
2278
2278
|
n.width !== void 0 && (t.borderWidth = this.toCSSValue(n.width)), n.color && !this.isAsset(n.color) && (t.borderColor = n.color), n.style && (t.borderStyle = n.style);
|
|
2279
2279
|
}
|
|
2280
2280
|
if (e.shadow) {
|
|
2281
|
-
const n = e.shadow, r = n.x || 0, a = n.y || 0, l = n.blur !== void 0 ? n.blur : n.radius || 0, c = n.spread || 0,
|
|
2282
|
-
t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${
|
|
2281
|
+
const n = e.shadow, r = n.x || 0, a = n.y || 0, l = n.blur !== void 0 ? n.blur : n.radius || 0, c = n.spread || 0, u = n.color || "rgba(0,0,0,0.25)";
|
|
2282
|
+
t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${u}` : `${r}px ${a}px ${l}px ${u}`;
|
|
2283
2283
|
}
|
|
2284
2284
|
if (e.clipped && (t.overflow = "hidden"), e.clipShape) {
|
|
2285
2285
|
const { shape: n, parameters: r } = e.clipShape;
|
|
@@ -2360,8 +2360,8 @@ class C extends w {
|
|
|
2360
2360
|
), t.element.addEventListener(
|
|
2361
2361
|
"touchend",
|
|
2362
2362
|
(a) => {
|
|
2363
|
-
const c = a.changedTouches[0],
|
|
2364
|
-
Math.abs(
|
|
2363
|
+
const c = a.changedTouches[0], u = c.clientX - n, d = c.clientY - r;
|
|
2364
|
+
Math.abs(u) > Math.abs(d) && Math.abs(u) > 50 && (u < 0 && i.onSwipeLeft ? i.onSwipeLeft() : u > 0 && i.onSwipeRight && i.onSwipeRight());
|
|
2365
2365
|
},
|
|
2366
2366
|
{ passive: !0 }
|
|
2367
2367
|
);
|
|
@@ -2377,7 +2377,7 @@ class C extends w {
|
|
|
2377
2377
|
const n = t.element, r = (a) => {
|
|
2378
2378
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
2379
2379
|
};
|
|
2380
|
-
p(i.disabled) || m(i.disabled) ?
|
|
2380
|
+
p(i.disabled) || m(i.disabled) ? b(() => {
|
|
2381
2381
|
r(!!i.disabled());
|
|
2382
2382
|
}) : r(!!i.disabled);
|
|
2383
2383
|
}
|
|
@@ -2392,25 +2392,25 @@ class C extends w {
|
|
|
2392
2392
|
let r, a = null, l = !1;
|
|
2393
2393
|
const c = () => {
|
|
2394
2394
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
2395
|
-
},
|
|
2396
|
-
const S =
|
|
2395
|
+
}, u = (v) => {
|
|
2396
|
+
const S = v;
|
|
2397
2397
|
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
2398
2398
|
l && a && (t.perform(), c());
|
|
2399
2399
|
}, i);
|
|
2400
|
-
},
|
|
2401
|
-
const S =
|
|
2400
|
+
}, d = (v) => {
|
|
2401
|
+
const S = v;
|
|
2402
2402
|
if (!a || !l) return;
|
|
2403
2403
|
Math.sqrt(
|
|
2404
2404
|
Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
|
|
2405
2405
|
) > n && c();
|
|
2406
|
-
}, y = () => {
|
|
2407
|
-
c();
|
|
2408
2406
|
}, h = () => {
|
|
2409
2407
|
c();
|
|
2408
|
+
}, y = () => {
|
|
2409
|
+
c();
|
|
2410
2410
|
};
|
|
2411
|
-
e.addEventListener("pointerdown",
|
|
2411
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", d), e.addEventListener("pointerup", h), e.addEventListener(
|
|
2412
2412
|
"pointercancel",
|
|
2413
|
-
|
|
2413
|
+
y
|
|
2414
2414
|
), e._longPressCleanup = c;
|
|
2415
2415
|
}
|
|
2416
2416
|
/**
|
|
@@ -2429,10 +2429,10 @@ class C extends w {
|
|
|
2429
2429
|
ctrl: r.ctrlKey,
|
|
2430
2430
|
shift: r.shiftKey,
|
|
2431
2431
|
alt: r.altKey
|
|
2432
|
-
}, c = r.key.toLowerCase() === t.key.toLowerCase(),
|
|
2433
|
-
([
|
|
2432
|
+
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
2433
|
+
([d, h]) => h === l[d]
|
|
2434
2434
|
);
|
|
2435
|
-
c &&
|
|
2435
|
+
c && u && (r.preventDefault(), t.action());
|
|
2436
2436
|
};
|
|
2437
2437
|
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
2438
2438
|
document.removeEventListener("keydown", n);
|
|
@@ -2444,7 +2444,7 @@ class C extends w {
|
|
|
2444
2444
|
setupFocusManagement(e, t) {
|
|
2445
2445
|
if (!(e instanceof HTMLElement)) return;
|
|
2446
2446
|
const i = e;
|
|
2447
|
-
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ?
|
|
2447
|
+
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
2448
2448
|
t() ? i.focus() : i.blur();
|
|
2449
2449
|
}) : t && i.focus();
|
|
2450
2450
|
}
|
|
@@ -2464,13 +2464,13 @@ class C extends w {
|
|
|
2464
2464
|
setupContinuousHover(e, t) {
|
|
2465
2465
|
const i = t.coordinateSpace ?? "local", n = (a) => {
|
|
2466
2466
|
const l = a;
|
|
2467
|
-
let c,
|
|
2467
|
+
let c, u;
|
|
2468
2468
|
if (i === "local") {
|
|
2469
|
-
const
|
|
2470
|
-
c = l.clientX -
|
|
2469
|
+
const d = e.getBoundingClientRect();
|
|
2470
|
+
c = l.clientX - d.left, u = l.clientY - d.top;
|
|
2471
2471
|
} else
|
|
2472
|
-
c = l.clientX,
|
|
2473
|
-
t.perform({ x: c, y:
|
|
2472
|
+
c = l.clientX, u = l.clientY;
|
|
2473
|
+
t.perform({ x: c, y: u });
|
|
2474
2474
|
}, r = () => {
|
|
2475
2475
|
t.perform(null);
|
|
2476
2476
|
};
|
|
@@ -2488,7 +2488,7 @@ class C extends w {
|
|
|
2488
2488
|
e instanceof HTMLElement && (e.style.pointerEvents = t ? "" : "none");
|
|
2489
2489
|
}
|
|
2490
2490
|
}
|
|
2491
|
-
class
|
|
2491
|
+
class nr extends w {
|
|
2492
2492
|
constructor() {
|
|
2493
2493
|
super(...arguments);
|
|
2494
2494
|
f(this, "type", "animation");
|
|
@@ -2509,11 +2509,11 @@ class Yo extends w {
|
|
|
2509
2509
|
n.keyframes
|
|
2510
2510
|
);
|
|
2511
2511
|
this.addKeyframesToStylesheet(a);
|
|
2512
|
-
const l = n.duration || 1e3, c = n.easing || "ease",
|
|
2513
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${
|
|
2512
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, d = n.direction || "normal";
|
|
2513
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${d}`;
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ?
|
|
2516
|
+
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ? b(() => {
|
|
2517
2517
|
const n = i.transform();
|
|
2518
2518
|
t.element instanceof HTMLElement && (t.element.style.transform = n);
|
|
2519
2519
|
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element instanceof HTMLElement) {
|
|
@@ -2529,18 +2529,18 @@ class Yo extends w {
|
|
|
2529
2529
|
trailing: "100% 50%"
|
|
2530
2530
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
2531
2531
|
if (p(n) || m(n))
|
|
2532
|
-
|
|
2533
|
-
const
|
|
2532
|
+
b(() => {
|
|
2533
|
+
const d = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
2534
2534
|
if (t.element instanceof HTMLElement) {
|
|
2535
2535
|
t.element.style.transformOrigin = l;
|
|
2536
|
-
const
|
|
2537
|
-
t.element.style.transform =
|
|
2536
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${d}` : d;
|
|
2537
|
+
t.element.style.transform = v;
|
|
2538
2538
|
}
|
|
2539
2539
|
});
|
|
2540
2540
|
else if (t.element instanceof HTMLElement) {
|
|
2541
2541
|
t.element.style.transformOrigin = l;
|
|
2542
|
-
const
|
|
2543
|
-
t.element.style.transform =
|
|
2542
|
+
const d = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = d ? `${d} ${c}` : c;
|
|
2543
|
+
t.element.style.transform = h;
|
|
2544
2544
|
}
|
|
2545
2545
|
}
|
|
2546
2546
|
i.overlay && t.element instanceof HTMLElement && this.applyOverlay(t.element, i.overlay, t);
|
|
@@ -2554,8 +2554,8 @@ class Yo extends w {
|
|
|
2554
2554
|
if (Object.assign(a.style, l), typeof n == "function") {
|
|
2555
2555
|
const c = n();
|
|
2556
2556
|
if (c && typeof c.render == "function") {
|
|
2557
|
-
const
|
|
2558
|
-
|
|
2557
|
+
const u = c.render();
|
|
2558
|
+
u.element && a.appendChild(u.element);
|
|
2559
2559
|
}
|
|
2560
2560
|
} else if (n && typeof n.render == "function") {
|
|
2561
2561
|
const c = n.render();
|
|
@@ -2632,7 +2632,7 @@ class Yo extends w {
|
|
|
2632
2632
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
|
-
class
|
|
2635
|
+
class or extends w {
|
|
2636
2636
|
constructor() {
|
|
2637
2637
|
super(...arguments);
|
|
2638
2638
|
f(this, "type", "lifecycle");
|
|
@@ -2700,51 +2700,51 @@ class Xo extends w {
|
|
|
2700
2700
|
transition: opacity 0.3s ease;
|
|
2701
2701
|
z-index: 1000;
|
|
2702
2702
|
`, !document.querySelector("#tachui-refresh-styles")) {
|
|
2703
|
-
const
|
|
2704
|
-
|
|
2703
|
+
const y = document.createElement("style");
|
|
2704
|
+
y.id = "tachui-refresh-styles", y.textContent = `
|
|
2705
2705
|
@keyframes tachui-spin {
|
|
2706
2706
|
0% { transform: translateX(-50%) rotate(0deg); }
|
|
2707
2707
|
100% { transform: translateX(-50%) rotate(360deg); }
|
|
2708
2708
|
}
|
|
2709
|
-
`, document.head.appendChild(
|
|
2709
|
+
`, document.head.appendChild(y);
|
|
2710
2710
|
}
|
|
2711
2711
|
const c = e.parentElement || e;
|
|
2712
2712
|
c instanceof HTMLElement && (c.style.position = "relative", c.appendChild(l));
|
|
2713
|
-
const
|
|
2714
|
-
i || (r =
|
|
2715
|
-
},
|
|
2713
|
+
const u = (y) => {
|
|
2714
|
+
i || (r = y.touches[0].clientY);
|
|
2715
|
+
}, d = (y) => {
|
|
2716
2716
|
if (i) return;
|
|
2717
|
-
const
|
|
2718
|
-
if (n = Math.max(0,
|
|
2717
|
+
const v = y.touches[0].clientY;
|
|
2718
|
+
if (n = Math.max(0, v - r), n > 20) {
|
|
2719
2719
|
const S = Math.min(1, n / a);
|
|
2720
2720
|
l.style.opacity = String(S);
|
|
2721
2721
|
}
|
|
2722
|
-
n > 0 && e.scrollTop === 0 &&
|
|
2723
|
-
},
|
|
2722
|
+
n > 0 && e.scrollTop === 0 && y.preventDefault();
|
|
2723
|
+
}, h = async () => {
|
|
2724
2724
|
if (!i)
|
|
2725
2725
|
if (n > a) {
|
|
2726
2726
|
i = !0, l.style.opacity = "1";
|
|
2727
2727
|
try {
|
|
2728
2728
|
await t.onRefresh();
|
|
2729
|
-
} catch (
|
|
2730
|
-
console.error("Refresh error:",
|
|
2729
|
+
} catch (y) {
|
|
2730
|
+
console.error("Refresh error:", y);
|
|
2731
2731
|
} finally {
|
|
2732
2732
|
i = !1, l.style.opacity = "0", n = 0;
|
|
2733
2733
|
}
|
|
2734
2734
|
} else
|
|
2735
2735
|
l.style.opacity = "0", n = 0;
|
|
2736
2736
|
};
|
|
2737
|
-
e.addEventListener("touchstart",
|
|
2737
|
+
e.addEventListener("touchstart", u, {
|
|
2738
2738
|
passive: !0
|
|
2739
|
-
}), e.addEventListener("touchmove",
|
|
2739
|
+
}), e.addEventListener("touchmove", d, {
|
|
2740
2740
|
passive: !1
|
|
2741
|
-
}), e.addEventListener("touchend",
|
|
2741
|
+
}), e.addEventListener("touchend", h, {
|
|
2742
2742
|
passive: !0
|
|
2743
2743
|
}), this.addCleanup(() => {
|
|
2744
2744
|
e.removeEventListener(
|
|
2745
2745
|
"touchstart",
|
|
2746
|
-
|
|
2747
|
-
), e.removeEventListener("touchmove",
|
|
2746
|
+
u
|
|
2747
|
+
), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
2748
2748
|
});
|
|
2749
2749
|
}
|
|
2750
2750
|
addCleanup(e) {
|
|
@@ -2780,11 +2780,11 @@ class ve extends w {
|
|
|
2780
2780
|
"center"
|
|
2781
2781
|
), r = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
|
|
2782
2782
|
this.clearPositionStyles(e);
|
|
2783
|
-
const c = r ?? n,
|
|
2784
|
-
Object.assign(e.style,
|
|
2783
|
+
const c = r ?? n, u = r !== void 0 ? c : n, d = this.getOverlayAlignment(u);
|
|
2784
|
+
Object.assign(e.style, d), this.applyOffset(e, c, a), e.style.display = l ? "" : "none";
|
|
2785
2785
|
};
|
|
2786
2786
|
if (this.isReactive(this.properties.alignment) || this.isReactive(this.properties.side) || this.isReactive(this.properties.offset) || this.isReactive(this.properties.enabled)) {
|
|
2787
|
-
|
|
2787
|
+
b(() => {
|
|
2788
2788
|
t();
|
|
2789
2789
|
});
|
|
2790
2790
|
return;
|
|
@@ -2912,7 +2912,7 @@ function Nt(o, s = "center") {
|
|
|
2912
2912
|
alignment: s
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
2915
|
-
class
|
|
2915
|
+
class Me extends g {
|
|
2916
2916
|
constructor() {
|
|
2917
2917
|
super(...arguments);
|
|
2918
2918
|
f(this, "type", "background");
|
|
@@ -2920,29 +2920,29 @@ class xe extends b {
|
|
|
2920
2920
|
}
|
|
2921
2921
|
apply(e, t) {
|
|
2922
2922
|
if (!t.element) return;
|
|
2923
|
-
const i = this.properties.background;
|
|
2923
|
+
const i = this.properties.background, n = this.properties.cssProperty ?? "background";
|
|
2924
2924
|
if (p(i) || m(i)) {
|
|
2925
|
-
this.applyStyles(t.element, {
|
|
2925
|
+
this.applyStyles(t.element, { [n]: i });
|
|
2926
2926
|
return;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (this.isAssetValue(i)) {
|
|
2929
2929
|
this.applyColorAssetWithThemeReactivity(
|
|
2930
2930
|
t.element,
|
|
2931
|
-
|
|
2931
|
+
n,
|
|
2932
2932
|
i
|
|
2933
2933
|
);
|
|
2934
2934
|
return;
|
|
2935
2935
|
}
|
|
2936
2936
|
if (t.element instanceof HTMLElement && this.isStateGradientOption(i)) {
|
|
2937
|
-
this.applyStatefulBackground(t.element, i);
|
|
2937
|
+
this.applyStatefulBackground(t.element, i, n);
|
|
2938
2938
|
return;
|
|
2939
2939
|
}
|
|
2940
|
-
const
|
|
2940
|
+
const r = this.resolveBackgroundValue(
|
|
2941
2941
|
i
|
|
2942
2942
|
);
|
|
2943
|
-
if (
|
|
2944
|
-
const
|
|
2945
|
-
this.applyStyles(t.element,
|
|
2943
|
+
if (r !== void 0) {
|
|
2944
|
+
const a = { [n]: r };
|
|
2945
|
+
this.applyStyles(t.element, a);
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
2948
|
/**
|
|
@@ -2950,8 +2950,8 @@ class xe extends b {
|
|
|
2950
2950
|
* This mirrors the core AppearanceModifier pattern
|
|
2951
2951
|
*/
|
|
2952
2952
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
2953
|
-
const n =
|
|
2954
|
-
|
|
2953
|
+
const n = N();
|
|
2954
|
+
b(() => {
|
|
2955
2955
|
n();
|
|
2956
2956
|
const r = i.resolve();
|
|
2957
2957
|
this.applyStyleChange(e, t, r);
|
|
@@ -2974,8 +2974,8 @@ class xe extends b {
|
|
|
2974
2974
|
isStateGradientOption(e) {
|
|
2975
2975
|
return this.isAssetValue(e) ? !1 : e !== null && typeof e == "object" && "default" in e && !this.isGradientDefinition(e);
|
|
2976
2976
|
}
|
|
2977
|
-
applyStatefulBackground(e, t) {
|
|
2978
|
-
const
|
|
2977
|
+
applyStatefulBackground(e, t, i) {
|
|
2978
|
+
const n = {
|
|
2979
2979
|
default: this.resolveBackgroundValue(t.default),
|
|
2980
2980
|
hover: t.hover ? this.resolveBackgroundValue(t.hover) : void 0,
|
|
2981
2981
|
active: t.active ? this.resolveBackgroundValue(t.active) : void 0,
|
|
@@ -2983,49 +2983,49 @@ class xe extends b {
|
|
|
2983
2983
|
disabled: t.disabled ? this.resolveBackgroundValue(
|
|
2984
2984
|
t.disabled
|
|
2985
2985
|
) : void 0
|
|
2986
|
-
},
|
|
2986
|
+
}, r = (d) => {
|
|
2987
2987
|
if (!d) return;
|
|
2988
|
-
const
|
|
2989
|
-
|
|
2990
|
-
},
|
|
2988
|
+
const h = n[d];
|
|
2989
|
+
h !== void 0 && this.applyStyleChange(e, i, h);
|
|
2990
|
+
}, a = () => this.isElementDisabled(e) && n.disabled ? "disabled" : n.focus && this.matchesSelector(e, ":focus") ? "focus" : "default", l = () => {
|
|
2991
2991
|
const d = t.animation;
|
|
2992
2992
|
if (!d) return;
|
|
2993
|
-
const
|
|
2994
|
-
e.style.transition =
|
|
2995
|
-
const
|
|
2996
|
-
|
|
2997
|
-
},
|
|
2998
|
-
const d =
|
|
2999
|
-
if (d === "focus" && this.matchesSelector(e, ":hover") &&
|
|
3000
|
-
|
|
2993
|
+
const h = d.duration ?? 200, y = d.easing ?? "ease", v = d.delay ?? 0, _ = `${i === "backgroundColor" ? "background-color" : "background"} ${h}ms ${y} ${v}ms`;
|
|
2994
|
+
e.style.transition = _;
|
|
2995
|
+
const W = e.style.cssText || "";
|
|
2996
|
+
W.includes("transition") || (e.style.cssText = `${W}${W ? ";" : ""}transition: ${_};`);
|
|
2997
|
+
}, c = () => {
|
|
2998
|
+
const d = a();
|
|
2999
|
+
if (d === "focus" && this.matchesSelector(e, ":hover") && n.hover) {
|
|
3000
|
+
r("hover");
|
|
3001
3001
|
return;
|
|
3002
3002
|
}
|
|
3003
|
-
|
|
3004
|
-
},
|
|
3005
|
-
if (this.isElementDisabled(e) &&
|
|
3006
|
-
|
|
3003
|
+
r(d);
|
|
3004
|
+
}, u = () => {
|
|
3005
|
+
if (this.isElementDisabled(e) && n.disabled) {
|
|
3006
|
+
r("disabled");
|
|
3007
3007
|
return;
|
|
3008
3008
|
}
|
|
3009
|
-
if (
|
|
3010
|
-
|
|
3009
|
+
if (n.hover && this.matchesSelector(e, ":hover")) {
|
|
3010
|
+
r("hover");
|
|
3011
3011
|
return;
|
|
3012
3012
|
}
|
|
3013
|
-
if (
|
|
3014
|
-
|
|
3013
|
+
if (n.focus && this.matchesSelector(e, ":focus")) {
|
|
3014
|
+
r("focus");
|
|
3015
3015
|
return;
|
|
3016
3016
|
}
|
|
3017
|
-
|
|
3017
|
+
r("default");
|
|
3018
3018
|
};
|
|
3019
|
-
this.isElementDisabled(e) &&
|
|
3020
|
-
this.isElementDisabled(e) ||
|
|
3021
|
-
}), e.addEventListener("mouseleave",
|
|
3022
|
-
this.isElementDisabled(e) ||
|
|
3023
|
-
}), e.addEventListener("mouseup",
|
|
3024
|
-
this.isElementDisabled(e) ||
|
|
3019
|
+
this.isElementDisabled(e) && n.disabled ? r("disabled") : r("default"), l(), n.hover && (e.addEventListener("mouseenter", () => {
|
|
3020
|
+
this.isElementDisabled(e) || r("hover");
|
|
3021
|
+
}), e.addEventListener("mouseleave", c)), n.active && (e.addEventListener("mousedown", () => {
|
|
3022
|
+
this.isElementDisabled(e) || r("active");
|
|
3023
|
+
}), e.addEventListener("mouseup", u)), n.focus && (e.addEventListener("focus", () => {
|
|
3024
|
+
this.isElementDisabled(e) || r("focus");
|
|
3025
3025
|
}), e.addEventListener("blur", () => {
|
|
3026
|
-
|
|
3027
|
-
})),
|
|
3028
|
-
this.isElementDisabled(e) ?
|
|
3026
|
+
c();
|
|
3027
|
+
})), n.disabled && new MutationObserver(() => {
|
|
3028
|
+
this.isElementDisabled(e) ? r("disabled") : n.hover && this.matchesSelector(e, ":hover") ? r("hover") : n.focus && this.matchesSelector(e, ":focus") ? r("focus") : r("default");
|
|
3029
3029
|
}).observe(e, {
|
|
3030
3030
|
attributes: !0,
|
|
3031
3031
|
attributeFilter: ["disabled", "aria-disabled"]
|
|
@@ -3044,7 +3044,46 @@ class xe extends b {
|
|
|
3044
3044
|
return !!(e.hasAttribute && e.hasAttribute("disabled") || e.getAttribute && e.getAttribute("aria-disabled") === "true");
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
3047
|
-
|
|
3047
|
+
const zt = {
|
|
3048
|
+
repeat: "no-repeat",
|
|
3049
|
+
size: "cover",
|
|
3050
|
+
position: "center"
|
|
3051
|
+
};
|
|
3052
|
+
class Ft extends g {
|
|
3053
|
+
constructor() {
|
|
3054
|
+
super(...arguments);
|
|
3055
|
+
f(this, "type", "backgroundImage");
|
|
3056
|
+
f(this, "priority", 94);
|
|
3057
|
+
}
|
|
3058
|
+
apply(e, t) {
|
|
3059
|
+
if (!t.element) return;
|
|
3060
|
+
const {
|
|
3061
|
+
source: i,
|
|
3062
|
+
options: { repeat: n, size: r, position: a }
|
|
3063
|
+
} = this.properties;
|
|
3064
|
+
if (this.applyStyles(t.element, {
|
|
3065
|
+
backgroundRepeat: this.mapRepeatValue(n),
|
|
3066
|
+
backgroundSize: r,
|
|
3067
|
+
backgroundPosition: a
|
|
3068
|
+
}), this.isAssetValue(i)) {
|
|
3069
|
+
this.applyImageAssetWithThemeReactivity(t.element, i);
|
|
3070
|
+
return;
|
|
3071
|
+
}
|
|
3072
|
+
this.applyStyleChange(t.element, "backgroundImage", i);
|
|
3073
|
+
}
|
|
3074
|
+
mapRepeatValue(e) {
|
|
3075
|
+
return e === "tile" ? "repeat" : e;
|
|
3076
|
+
}
|
|
3077
|
+
applyImageAssetWithThemeReactivity(e, t) {
|
|
3078
|
+
const i = N();
|
|
3079
|
+
b(() => {
|
|
3080
|
+
i();
|
|
3081
|
+
const r = t.resolve().replace(/["\\]/g, "\\$&");
|
|
3082
|
+
this.applyStyleChange(e, "backgroundImage", `url("${r}")`);
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
class xe extends g {
|
|
3048
3087
|
constructor() {
|
|
3049
3088
|
super(...arguments);
|
|
3050
3089
|
f(this, "type", "backgroundClip");
|
|
@@ -3060,21 +3099,36 @@ class Me extends b {
|
|
|
3060
3099
|
return e.backgroundImage && (t.backgroundImage = e.backgroundImage), e.backgroundClip && (t.backgroundClip = e.backgroundClip, t.webkitBackgroundClip = e.backgroundClip), e.color && (t.color = e.color, e.backgroundClip === "text" && (t.webkitTextFillColor = e.color)), t;
|
|
3061
3100
|
}
|
|
3062
3101
|
}
|
|
3063
|
-
function
|
|
3064
|
-
return new
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3102
|
+
function Wt(o) {
|
|
3103
|
+
return new Me({
|
|
3104
|
+
background: o,
|
|
3105
|
+
cssProperty: "backgroundColor"
|
|
3106
|
+
});
|
|
3068
3107
|
}
|
|
3069
|
-
function
|
|
3108
|
+
function jt(o) {
|
|
3070
3109
|
return new Me({
|
|
3110
|
+
background: o,
|
|
3111
|
+
cssProperty: "background"
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
function Ut(o, s = {}) {
|
|
3115
|
+
return new Ft({
|
|
3116
|
+
source: o,
|
|
3117
|
+
options: {
|
|
3118
|
+
...zt,
|
|
3119
|
+
...s
|
|
3120
|
+
}
|
|
3121
|
+
});
|
|
3122
|
+
}
|
|
3123
|
+
function rr(o, s = "text", e = "transparent") {
|
|
3124
|
+
return new xe({
|
|
3071
3125
|
backgroundImage: o,
|
|
3072
3126
|
backgroundClip: s,
|
|
3073
3127
|
color: e
|
|
3074
3128
|
});
|
|
3075
3129
|
}
|
|
3076
|
-
function
|
|
3077
|
-
return new
|
|
3130
|
+
function G(o) {
|
|
3131
|
+
return new xe({
|
|
3078
3132
|
backgroundImage: o,
|
|
3079
3133
|
backgroundClip: "text",
|
|
3080
3134
|
webkitBackgroundClip: "text",
|
|
@@ -3082,24 +3136,67 @@ function j(o) {
|
|
|
3082
3136
|
webkitTextFillColor: "transparent"
|
|
3083
3137
|
});
|
|
3084
3138
|
}
|
|
3085
|
-
function
|
|
3086
|
-
return
|
|
3139
|
+
function sr() {
|
|
3140
|
+
return G("linear-gradient(45deg, #007AFF, #5856D6)");
|
|
3087
3141
|
}
|
|
3088
|
-
function
|
|
3089
|
-
return
|
|
3142
|
+
function ar() {
|
|
3143
|
+
return G(
|
|
3090
3144
|
"linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff80, #0080ff, #8000ff)"
|
|
3091
3145
|
);
|
|
3092
3146
|
}
|
|
3093
|
-
function
|
|
3094
|
-
return
|
|
3147
|
+
function lr() {
|
|
3148
|
+
return G("linear-gradient(45deg, #ff6b6b, #feca57, #ff9ff3)");
|
|
3149
|
+
}
|
|
3150
|
+
function cr() {
|
|
3151
|
+
return G("linear-gradient(45deg, #667eea, #764ba2)");
|
|
3152
|
+
}
|
|
3153
|
+
function fr() {
|
|
3154
|
+
return G("linear-gradient(45deg, #f7971e, #ffd200)");
|
|
3155
|
+
}
|
|
3156
|
+
class Gt extends g {
|
|
3157
|
+
constructor() {
|
|
3158
|
+
super(...arguments);
|
|
3159
|
+
f(this, "type", "blendMode");
|
|
3160
|
+
f(this, "priority", 92);
|
|
3161
|
+
}
|
|
3162
|
+
apply(e, t) {
|
|
3163
|
+
t.element && this.applyStyleChange(t.element, "mixBlendMode", this.properties.mode);
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
class Kt extends g {
|
|
3167
|
+
constructor() {
|
|
3168
|
+
super(...arguments);
|
|
3169
|
+
f(this, "type", "backgroundBlendMode");
|
|
3170
|
+
f(this, "priority", 93);
|
|
3171
|
+
}
|
|
3172
|
+
apply(e, t) {
|
|
3173
|
+
t.element && this.applyStyleChange(
|
|
3174
|
+
t.element,
|
|
3175
|
+
"backgroundBlendMode",
|
|
3176
|
+
this.properties.mode
|
|
3177
|
+
);
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
function Yt(o) {
|
|
3181
|
+
return new Gt({ mode: o });
|
|
3182
|
+
}
|
|
3183
|
+
function Xt(o) {
|
|
3184
|
+
return new Kt({ mode: o });
|
|
3095
3185
|
}
|
|
3096
|
-
|
|
3097
|
-
|
|
3186
|
+
class Zt extends g {
|
|
3187
|
+
constructor() {
|
|
3188
|
+
super(...arguments);
|
|
3189
|
+
f(this, "type", "compositingGroup");
|
|
3190
|
+
f(this, "priority", 91);
|
|
3191
|
+
}
|
|
3192
|
+
apply(e, t) {
|
|
3193
|
+
t.element && this.applyStyleChange(t.element, "isolation", "isolate");
|
|
3194
|
+
}
|
|
3098
3195
|
}
|
|
3099
|
-
function
|
|
3100
|
-
return
|
|
3196
|
+
function qt() {
|
|
3197
|
+
return new Zt({});
|
|
3101
3198
|
}
|
|
3102
|
-
class D extends
|
|
3199
|
+
class D extends g {
|
|
3103
3200
|
constructor() {
|
|
3104
3201
|
super(...arguments);
|
|
3105
3202
|
f(this, "type", "border");
|
|
@@ -3114,8 +3211,8 @@ class D extends b {
|
|
|
3114
3211
|
const i = this.computeAssetColorStyles(t);
|
|
3115
3212
|
if (Object.keys(i).length === 0)
|
|
3116
3213
|
return;
|
|
3117
|
-
const n =
|
|
3118
|
-
|
|
3214
|
+
const n = N();
|
|
3215
|
+
b(() => {
|
|
3119
3216
|
n(), Object.entries(i).forEach(([r, a]) => {
|
|
3120
3217
|
this.applyStyleChange(e, r, a.resolve());
|
|
3121
3218
|
});
|
|
@@ -3147,7 +3244,7 @@ class D extends b {
|
|
|
3147
3244
|
return typeof e == "number" ? `${e}px` : e;
|
|
3148
3245
|
}
|
|
3149
3246
|
}
|
|
3150
|
-
class
|
|
3247
|
+
class Jt extends g {
|
|
3151
3248
|
constructor() {
|
|
3152
3249
|
super(...arguments);
|
|
3153
3250
|
f(this, "type", "cornerRadius");
|
|
@@ -3192,41 +3289,41 @@ class Wt extends b {
|
|
|
3192
3289
|
return typeof e == "number" ? `${e}px` : e;
|
|
3193
3290
|
}
|
|
3194
3291
|
}
|
|
3195
|
-
function
|
|
3292
|
+
function Qt(o, s, e) {
|
|
3196
3293
|
return typeof o == "number" || typeof o == "string" ? new D({
|
|
3197
3294
|
width: o,
|
|
3198
3295
|
color: s || "currentColor",
|
|
3199
3296
|
style: e || "solid"
|
|
3200
3297
|
}) : new D(o);
|
|
3201
3298
|
}
|
|
3202
|
-
function
|
|
3299
|
+
function ei(o, s, e) {
|
|
3203
3300
|
return new D({ top: { width: o, color: s, style: e } });
|
|
3204
3301
|
}
|
|
3205
|
-
function
|
|
3302
|
+
function ti(o, s, e) {
|
|
3206
3303
|
return new D({ right: { width: o, color: s, style: e } });
|
|
3207
3304
|
}
|
|
3208
|
-
function
|
|
3305
|
+
function ii(o, s, e) {
|
|
3209
3306
|
return new D({ bottom: { width: o, color: s, style: e } });
|
|
3210
3307
|
}
|
|
3211
|
-
function
|
|
3308
|
+
function ni(o, s, e) {
|
|
3212
3309
|
return new D({ left: { width: o, color: s, style: e } });
|
|
3213
3310
|
}
|
|
3214
|
-
function
|
|
3311
|
+
function dr(o, s, e) {
|
|
3215
3312
|
return new D({ leading: { width: o, color: s, style: e } });
|
|
3216
3313
|
}
|
|
3217
|
-
function
|
|
3314
|
+
function ur(o, s, e) {
|
|
3218
3315
|
return new D({ trailing: { width: o, color: s, style: e } });
|
|
3219
3316
|
}
|
|
3220
|
-
function
|
|
3317
|
+
function pr(o, s, e) {
|
|
3221
3318
|
return new D({ horizontal: { width: o, color: s, style: e } });
|
|
3222
3319
|
}
|
|
3223
|
-
function
|
|
3320
|
+
function mr(o, s, e) {
|
|
3224
3321
|
return new D({ vertical: { width: o, color: s, style: e } });
|
|
3225
3322
|
}
|
|
3226
|
-
function
|
|
3227
|
-
return new
|
|
3323
|
+
function hr(o) {
|
|
3324
|
+
return new Jt({ radius: o });
|
|
3228
3325
|
}
|
|
3229
|
-
class Te extends
|
|
3326
|
+
class Te extends g {
|
|
3230
3327
|
constructor() {
|
|
3231
3328
|
super(...arguments);
|
|
3232
3329
|
f(this, "type", "foreground");
|
|
@@ -3254,21 +3351,21 @@ class Te extends b {
|
|
|
3254
3351
|
* This mirrors the core AppearanceModifier pattern
|
|
3255
3352
|
*/
|
|
3256
3353
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
3257
|
-
const n =
|
|
3258
|
-
|
|
3354
|
+
const n = N();
|
|
3355
|
+
b(() => {
|
|
3259
3356
|
n();
|
|
3260
3357
|
const r = i.resolve();
|
|
3261
3358
|
this.applyStyleChange(e, t, r);
|
|
3262
3359
|
});
|
|
3263
3360
|
}
|
|
3264
3361
|
}
|
|
3265
|
-
function
|
|
3362
|
+
function oi(o) {
|
|
3266
3363
|
return new Te({ color: o });
|
|
3267
3364
|
}
|
|
3268
|
-
function
|
|
3365
|
+
function yr(o) {
|
|
3269
3366
|
return new Te({ color: o });
|
|
3270
3367
|
}
|
|
3271
|
-
class
|
|
3368
|
+
class ri extends g {
|
|
3272
3369
|
constructor() {
|
|
3273
3370
|
super(...arguments);
|
|
3274
3371
|
f(this, "type", "clip-shape");
|
|
@@ -3300,10 +3397,10 @@ class Zt extends b {
|
|
|
3300
3397
|
}
|
|
3301
3398
|
}
|
|
3302
3399
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return new
|
|
3400
|
+
function si(o, s) {
|
|
3401
|
+
return new ri({ shape: o, parameters: s || {} });
|
|
3305
3402
|
}
|
|
3306
|
-
class
|
|
3403
|
+
class ai extends g {
|
|
3307
3404
|
constructor() {
|
|
3308
3405
|
super(...arguments);
|
|
3309
3406
|
f(this, "type", "clipped");
|
|
@@ -3315,33 +3412,33 @@ class Jt extends b {
|
|
|
3315
3412
|
i.style && (this.properties.clipped ? i.style.overflow = "hidden" : i.style.overflow = "");
|
|
3316
3413
|
}
|
|
3317
3414
|
}
|
|
3318
|
-
function
|
|
3319
|
-
return new
|
|
3415
|
+
function li(o = !0) {
|
|
3416
|
+
return new ai({ clipped: o });
|
|
3320
3417
|
}
|
|
3321
|
-
function
|
|
3418
|
+
function ci(o) {
|
|
3322
3419
|
return new O({ opacity: o });
|
|
3323
3420
|
}
|
|
3324
|
-
function
|
|
3421
|
+
function fi(o) {
|
|
3325
3422
|
return new O({ cornerRadius: o });
|
|
3326
3423
|
}
|
|
3327
|
-
function
|
|
3424
|
+
function di(o) {
|
|
3328
3425
|
return new O({ font: { family: o } });
|
|
3329
3426
|
}
|
|
3330
|
-
function
|
|
3427
|
+
function ui(o) {
|
|
3331
3428
|
return new O({ font: { size: o } });
|
|
3332
3429
|
}
|
|
3333
|
-
function
|
|
3430
|
+
function pi(o) {
|
|
3334
3431
|
return new O({ font: { weight: o } });
|
|
3335
3432
|
}
|
|
3336
|
-
function
|
|
3433
|
+
function mi(o) {
|
|
3337
3434
|
return new O({ font: { style: o } });
|
|
3338
3435
|
}
|
|
3339
|
-
function
|
|
3436
|
+
function hi(o) {
|
|
3340
3437
|
return new O({ font: o });
|
|
3341
3438
|
}
|
|
3342
|
-
const
|
|
3439
|
+
const yi = "typography", be = Symbol.for("tachui.typography.instanceId");
|
|
3343
3440
|
let Se = 0;
|
|
3344
|
-
function
|
|
3441
|
+
function gi(o) {
|
|
3345
3442
|
const s = o[be];
|
|
3346
3443
|
if (typeof s == "number") return s;
|
|
3347
3444
|
Se += 1;
|
|
@@ -3353,7 +3450,7 @@ function li(o) {
|
|
|
3353
3450
|
writable: !1
|
|
3354
3451
|
}), e;
|
|
3355
3452
|
}
|
|
3356
|
-
class k extends
|
|
3453
|
+
class k extends g {
|
|
3357
3454
|
constructor() {
|
|
3358
3455
|
super(...arguments);
|
|
3359
3456
|
f(this, "type", "typography");
|
|
@@ -3384,16 +3481,16 @@ class k extends b {
|
|
|
3384
3481
|
}
|
|
3385
3482
|
const c = t.replace(
|
|
3386
3483
|
/-([a-z])/g,
|
|
3387
|
-
(
|
|
3484
|
+
(u, d) => d.toUpperCase()
|
|
3388
3485
|
);
|
|
3389
3486
|
n[c] = l;
|
|
3390
3487
|
};
|
|
3391
3488
|
if (p(i) || m(i)) {
|
|
3392
|
-
const a = i, l =
|
|
3489
|
+
const a = i, l = gi(this);
|
|
3393
3490
|
we({
|
|
3394
3491
|
element: e,
|
|
3395
3492
|
accessor: a,
|
|
3396
|
-
updaterId: `${
|
|
3493
|
+
updaterId: `${yi}:${l}:${t}`,
|
|
3397
3494
|
updater: (c) => {
|
|
3398
3495
|
r(c);
|
|
3399
3496
|
}
|
|
@@ -3419,57 +3516,57 @@ class k extends b {
|
|
|
3419
3516
|
return e === "leading" ? "start" : e === "trailing" ? "end" : e;
|
|
3420
3517
|
}
|
|
3421
3518
|
}
|
|
3422
|
-
function
|
|
3519
|
+
function vi(o) {
|
|
3423
3520
|
return new k(o);
|
|
3424
3521
|
}
|
|
3425
|
-
function
|
|
3522
|
+
function bi(o) {
|
|
3426
3523
|
return new k({ align: o });
|
|
3427
3524
|
}
|
|
3428
3525
|
function Le(o) {
|
|
3429
3526
|
return new k({ transform: o });
|
|
3430
3527
|
}
|
|
3431
|
-
function
|
|
3528
|
+
function Si(o) {
|
|
3432
3529
|
return new k({ decoration: o });
|
|
3433
3530
|
}
|
|
3434
|
-
function
|
|
3531
|
+
function gr(o) {
|
|
3435
3532
|
return new k({ size: o });
|
|
3436
3533
|
}
|
|
3437
|
-
function
|
|
3534
|
+
function vr(o) {
|
|
3438
3535
|
return new k({ weight: o });
|
|
3439
3536
|
}
|
|
3440
|
-
function
|
|
3537
|
+
function wi(o) {
|
|
3441
3538
|
return new k({ lineHeight: o });
|
|
3442
3539
|
}
|
|
3443
|
-
function
|
|
3540
|
+
function Ci(o) {
|
|
3444
3541
|
return new k({ letterSpacing: o });
|
|
3445
3542
|
}
|
|
3446
|
-
function
|
|
3543
|
+
function br(o) {
|
|
3447
3544
|
return new k({ wordSpacing: o });
|
|
3448
3545
|
}
|
|
3449
|
-
function
|
|
3546
|
+
function Ei(o) {
|
|
3450
3547
|
return new k({ textOverflow: o });
|
|
3451
3548
|
}
|
|
3452
|
-
function
|
|
3549
|
+
function Mi(o) {
|
|
3453
3550
|
return new k({ whiteSpace: o });
|
|
3454
3551
|
}
|
|
3455
|
-
function
|
|
3552
|
+
function xi(o) {
|
|
3456
3553
|
return new k({ overflow: o });
|
|
3457
3554
|
}
|
|
3458
|
-
function
|
|
3555
|
+
function Ti(o) {
|
|
3459
3556
|
return Le(o);
|
|
3460
3557
|
}
|
|
3461
|
-
function
|
|
3558
|
+
function Sr(o) {
|
|
3462
3559
|
return new k({ family: o });
|
|
3463
3560
|
}
|
|
3464
|
-
function
|
|
3465
|
-
return typeof o == "string" ?
|
|
3561
|
+
function Li(o) {
|
|
3562
|
+
return typeof o == "string" ? Ai(o) : new k({
|
|
3466
3563
|
family: o.family,
|
|
3467
3564
|
size: o.size,
|
|
3468
3565
|
weight: o.weight,
|
|
3469
3566
|
style: o.style
|
|
3470
3567
|
});
|
|
3471
3568
|
}
|
|
3472
|
-
function
|
|
3569
|
+
function Ai(o) {
|
|
3473
3570
|
const s = {
|
|
3474
3571
|
".largeTitle": { size: 34, weight: 400 },
|
|
3475
3572
|
".title": { size: 28, weight: 400 },
|
|
@@ -3485,7 +3582,7 @@ function bi(o) {
|
|
|
3485
3582
|
}, e = s[o];
|
|
3486
3583
|
return e ? new k(e) : new k(s[".body"]);
|
|
3487
3584
|
}
|
|
3488
|
-
function
|
|
3585
|
+
function wr(o) {
|
|
3489
3586
|
let s;
|
|
3490
3587
|
switch (o.design) {
|
|
3491
3588
|
case "serif":
|
|
@@ -3506,7 +3603,7 @@ function ur(o) {
|
|
|
3506
3603
|
weight: o.weight
|
|
3507
3604
|
});
|
|
3508
3605
|
}
|
|
3509
|
-
function
|
|
3606
|
+
function Cr(o, s) {
|
|
3510
3607
|
return new k({
|
|
3511
3608
|
family: o,
|
|
3512
3609
|
size: s?.size,
|
|
@@ -3514,7 +3611,7 @@ function pr(o, s) {
|
|
|
3514
3611
|
style: s?.style
|
|
3515
3612
|
});
|
|
3516
3613
|
}
|
|
3517
|
-
class
|
|
3614
|
+
class ki extends g {
|
|
3518
3615
|
constructor() {
|
|
3519
3616
|
super(...arguments);
|
|
3520
3617
|
f(this, "type", "lineClamp");
|
|
@@ -3543,10 +3640,10 @@ class Si extends b {
|
|
|
3543
3640
|
);
|
|
3544
3641
|
}
|
|
3545
3642
|
}
|
|
3546
|
-
function
|
|
3547
|
-
return new
|
|
3643
|
+
function Pi(o) {
|
|
3644
|
+
return new ki({ lines: o });
|
|
3548
3645
|
}
|
|
3549
|
-
class
|
|
3646
|
+
class Ii extends g {
|
|
3550
3647
|
constructor() {
|
|
3551
3648
|
super(...arguments);
|
|
3552
3649
|
f(this, "type", "wordBreak");
|
|
@@ -3571,10 +3668,10 @@ class Ci extends b {
|
|
|
3571
3668
|
);
|
|
3572
3669
|
}
|
|
3573
3670
|
}
|
|
3574
|
-
function
|
|
3575
|
-
return new
|
|
3671
|
+
function $i(o) {
|
|
3672
|
+
return new Ii({ wordBreak: o });
|
|
3576
3673
|
}
|
|
3577
|
-
class
|
|
3674
|
+
class Vi extends g {
|
|
3578
3675
|
constructor() {
|
|
3579
3676
|
super(...arguments);
|
|
3580
3677
|
f(this, "type", "overflowWrap");
|
|
@@ -3596,10 +3693,10 @@ class xi extends b {
|
|
|
3596
3693
|
);
|
|
3597
3694
|
}
|
|
3598
3695
|
}
|
|
3599
|
-
function
|
|
3600
|
-
return new
|
|
3696
|
+
function Ri(o) {
|
|
3697
|
+
return new Vi({ overflowWrap: o });
|
|
3601
3698
|
}
|
|
3602
|
-
class
|
|
3699
|
+
class Di extends g {
|
|
3603
3700
|
constructor() {
|
|
3604
3701
|
super(...arguments);
|
|
3605
3702
|
f(this, "type", "hyphens");
|
|
@@ -3624,10 +3721,10 @@ class Ti extends b {
|
|
|
3624
3721
|
);
|
|
3625
3722
|
}
|
|
3626
3723
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return new
|
|
3724
|
+
function Oi(o) {
|
|
3725
|
+
return new Di({ hyphens: o });
|
|
3629
3726
|
}
|
|
3630
|
-
class H extends
|
|
3727
|
+
class H extends g {
|
|
3631
3728
|
constructor(e) {
|
|
3632
3729
|
const t = {};
|
|
3633
3730
|
for (const [i, n] of Object.entries(e))
|
|
@@ -3669,35 +3766,35 @@ class H extends b {
|
|
|
3669
3766
|
return typeof e == "number" ? `${e}px` : e;
|
|
3670
3767
|
}
|
|
3671
3768
|
}
|
|
3672
|
-
function
|
|
3769
|
+
function Hi(o) {
|
|
3673
3770
|
return new H({ scroll: o });
|
|
3674
3771
|
}
|
|
3675
|
-
function
|
|
3772
|
+
function _i(o) {
|
|
3676
3773
|
return new H({ scrollBehavior: o });
|
|
3677
3774
|
}
|
|
3678
|
-
function
|
|
3775
|
+
function Bi(o) {
|
|
3679
3776
|
return new H({ overscrollBehavior: o });
|
|
3680
3777
|
}
|
|
3681
|
-
function
|
|
3778
|
+
function Ni(o) {
|
|
3682
3779
|
return new H({ overscrollBehaviorX: o });
|
|
3683
3780
|
}
|
|
3684
|
-
function
|
|
3781
|
+
function zi(o) {
|
|
3685
3782
|
return new H({ overscrollBehaviorY: o });
|
|
3686
3783
|
}
|
|
3687
|
-
function
|
|
3784
|
+
function Fi(o) {
|
|
3688
3785
|
return new H({ scroll: { margin: o } });
|
|
3689
3786
|
}
|
|
3690
|
-
function
|
|
3787
|
+
function Wi(o) {
|
|
3691
3788
|
return new H({ scroll: { padding: o } });
|
|
3692
3789
|
}
|
|
3693
|
-
function
|
|
3790
|
+
function ji(o, s, e) {
|
|
3694
3791
|
return new H({
|
|
3695
3792
|
scroll: {
|
|
3696
3793
|
snap: { type: o, align: s, stop: e }
|
|
3697
3794
|
}
|
|
3698
3795
|
});
|
|
3699
3796
|
}
|
|
3700
|
-
class
|
|
3797
|
+
class Ui extends w {
|
|
3701
3798
|
constructor() {
|
|
3702
3799
|
super(...arguments);
|
|
3703
3800
|
f(this, "type", "onHover");
|
|
@@ -3719,10 +3816,10 @@ class Oi extends w {
|
|
|
3719
3816
|
e._hoverCleanup = r;
|
|
3720
3817
|
}
|
|
3721
3818
|
}
|
|
3722
|
-
function
|
|
3723
|
-
return new
|
|
3819
|
+
function Gi(o) {
|
|
3820
|
+
return new Ui({ onHover: o });
|
|
3724
3821
|
}
|
|
3725
|
-
class
|
|
3822
|
+
class Ki extends w {
|
|
3726
3823
|
constructor() {
|
|
3727
3824
|
super(...arguments);
|
|
3728
3825
|
f(this, "type", "onMouseEnter");
|
|
@@ -3738,7 +3835,7 @@ class _i extends w {
|
|
|
3738
3835
|
};
|
|
3739
3836
|
}
|
|
3740
3837
|
}
|
|
3741
|
-
class
|
|
3838
|
+
class Yi extends w {
|
|
3742
3839
|
constructor() {
|
|
3743
3840
|
super(...arguments);
|
|
3744
3841
|
f(this, "type", "onMouseLeave");
|
|
@@ -3754,7 +3851,7 @@ class Bi extends w {
|
|
|
3754
3851
|
};
|
|
3755
3852
|
}
|
|
3756
3853
|
}
|
|
3757
|
-
class
|
|
3854
|
+
class Xi extends w {
|
|
3758
3855
|
constructor() {
|
|
3759
3856
|
super(...arguments);
|
|
3760
3857
|
f(this, "type", "onMouseDown");
|
|
@@ -3770,7 +3867,7 @@ class Ni extends w {
|
|
|
3770
3867
|
};
|
|
3771
3868
|
}
|
|
3772
3869
|
}
|
|
3773
|
-
class
|
|
3870
|
+
class Zi extends w {
|
|
3774
3871
|
constructor() {
|
|
3775
3872
|
super(...arguments);
|
|
3776
3873
|
f(this, "type", "onMouseUp");
|
|
@@ -3786,7 +3883,7 @@ class zi extends w {
|
|
|
3786
3883
|
};
|
|
3787
3884
|
}
|
|
3788
3885
|
}
|
|
3789
|
-
class
|
|
3886
|
+
class qi extends w {
|
|
3790
3887
|
constructor() {
|
|
3791
3888
|
super(...arguments);
|
|
3792
3889
|
f(this, "type", "onDoubleClick");
|
|
@@ -3802,7 +3899,7 @@ class Fi extends w {
|
|
|
3802
3899
|
};
|
|
3803
3900
|
}
|
|
3804
3901
|
}
|
|
3805
|
-
class
|
|
3902
|
+
class Ji extends w {
|
|
3806
3903
|
constructor() {
|
|
3807
3904
|
super(...arguments);
|
|
3808
3905
|
f(this, "type", "onContextMenu");
|
|
@@ -3818,25 +3915,25 @@ class Wi extends w {
|
|
|
3818
3915
|
};
|
|
3819
3916
|
}
|
|
3820
3917
|
}
|
|
3821
|
-
function
|
|
3822
|
-
return new
|
|
3918
|
+
function Qi(o) {
|
|
3919
|
+
return new Ki({ onMouseEnter: o });
|
|
3823
3920
|
}
|
|
3824
|
-
function
|
|
3825
|
-
return new
|
|
3921
|
+
function en(o) {
|
|
3922
|
+
return new Yi({ onMouseLeave: o });
|
|
3826
3923
|
}
|
|
3827
|
-
function
|
|
3828
|
-
return new
|
|
3924
|
+
function tn(o) {
|
|
3925
|
+
return new Xi({ onMouseDown: o });
|
|
3829
3926
|
}
|
|
3830
|
-
function
|
|
3831
|
-
return new
|
|
3927
|
+
function nn(o) {
|
|
3928
|
+
return new Zi({ onMouseUp: o });
|
|
3832
3929
|
}
|
|
3833
|
-
function
|
|
3834
|
-
return new
|
|
3930
|
+
function on(o) {
|
|
3931
|
+
return new qi({ onDoubleClick: o });
|
|
3835
3932
|
}
|
|
3836
|
-
function
|
|
3837
|
-
return new
|
|
3933
|
+
function rn(o) {
|
|
3934
|
+
return new Ji({ onContextMenu: o });
|
|
3838
3935
|
}
|
|
3839
|
-
class
|
|
3936
|
+
class sn extends w {
|
|
3840
3937
|
constructor() {
|
|
3841
3938
|
super(...arguments);
|
|
3842
3939
|
f(this, "type", "onKeyDown");
|
|
@@ -3852,7 +3949,7 @@ class Zi extends w {
|
|
|
3852
3949
|
};
|
|
3853
3950
|
}
|
|
3854
3951
|
}
|
|
3855
|
-
class
|
|
3952
|
+
class an extends w {
|
|
3856
3953
|
constructor() {
|
|
3857
3954
|
super(...arguments);
|
|
3858
3955
|
f(this, "type", "onKeyUp");
|
|
@@ -3868,7 +3965,7 @@ class qi extends w {
|
|
|
3868
3965
|
};
|
|
3869
3966
|
}
|
|
3870
3967
|
}
|
|
3871
|
-
class
|
|
3968
|
+
class ln extends w {
|
|
3872
3969
|
constructor() {
|
|
3873
3970
|
super(...arguments);
|
|
3874
3971
|
f(this, "type", "onKeyPress");
|
|
@@ -3884,16 +3981,16 @@ class Ji extends w {
|
|
|
3884
3981
|
};
|
|
3885
3982
|
}
|
|
3886
3983
|
}
|
|
3887
|
-
function
|
|
3888
|
-
return new
|
|
3984
|
+
function cn(o) {
|
|
3985
|
+
return new sn({ onKeyDown: o });
|
|
3889
3986
|
}
|
|
3890
|
-
function
|
|
3891
|
-
return new
|
|
3987
|
+
function fn(o) {
|
|
3988
|
+
return new an({ onKeyUp: o });
|
|
3892
3989
|
}
|
|
3893
|
-
function
|
|
3894
|
-
return new
|
|
3990
|
+
function dn(o) {
|
|
3991
|
+
return new ln({ onKeyPress: o });
|
|
3895
3992
|
}
|
|
3896
|
-
class
|
|
3993
|
+
class un extends w {
|
|
3897
3994
|
constructor() {
|
|
3898
3995
|
super(...arguments);
|
|
3899
3996
|
f(this, "type", "onFocus");
|
|
@@ -3911,7 +4008,7 @@ class nn extends w {
|
|
|
3911
4008
|
};
|
|
3912
4009
|
}
|
|
3913
4010
|
}
|
|
3914
|
-
class
|
|
4011
|
+
class pn extends w {
|
|
3915
4012
|
constructor() {
|
|
3916
4013
|
super(...arguments);
|
|
3917
4014
|
f(this, "type", "onBlur");
|
|
@@ -3929,13 +4026,13 @@ class on extends w {
|
|
|
3929
4026
|
};
|
|
3930
4027
|
}
|
|
3931
4028
|
}
|
|
3932
|
-
function
|
|
3933
|
-
return new
|
|
4029
|
+
function mn(o) {
|
|
4030
|
+
return new un({ onFocus: o });
|
|
3934
4031
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return new
|
|
4032
|
+
function hn(o) {
|
|
4033
|
+
return new pn({ onBlur: o });
|
|
3937
4034
|
}
|
|
3938
|
-
class
|
|
4035
|
+
class yn extends w {
|
|
3939
4036
|
constructor() {
|
|
3940
4037
|
super(...arguments);
|
|
3941
4038
|
f(this, "type", "onLongPressGesture");
|
|
@@ -3947,88 +4044,88 @@ class an extends w {
|
|
|
3947
4044
|
setupLongPressGesture(e, t) {
|
|
3948
4045
|
const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
|
|
3949
4046
|
let r = null, a = null, l = !1, c = !1;
|
|
3950
|
-
const
|
|
4047
|
+
const u = (T, E) => {
|
|
3951
4048
|
l || (r = { x: T, y: E }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
|
|
3952
4049
|
l && !c && (c = !0, t.perform());
|
|
3953
4050
|
}, i));
|
|
3954
|
-
},
|
|
4051
|
+
}, d = (T, E) => r ? Math.sqrt(
|
|
3955
4052
|
Math.pow(T - r.x, 2) + Math.pow(E - r.y, 2)
|
|
3956
|
-
) <= n : !1,
|
|
4053
|
+
) <= n : !1, h = () => {
|
|
3957
4054
|
a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), r = null, c = !1;
|
|
3958
|
-
},
|
|
4055
|
+
}, y = (T) => {
|
|
3959
4056
|
const E = T;
|
|
3960
|
-
T.preventDefault(),
|
|
3961
|
-
},
|
|
4057
|
+
T.preventDefault(), u(E.clientX, E.clientY);
|
|
4058
|
+
}, v = (T) => {
|
|
3962
4059
|
if (!l) return;
|
|
3963
4060
|
const E = T;
|
|
3964
|
-
|
|
4061
|
+
d(E.clientX, E.clientY) || h();
|
|
3965
4062
|
}, S = () => {
|
|
3966
|
-
|
|
3967
|
-
},
|
|
3968
|
-
|
|
3969
|
-
},
|
|
4063
|
+
h();
|
|
4064
|
+
}, _ = () => {
|
|
4065
|
+
h();
|
|
4066
|
+
}, W = (T) => {
|
|
3970
4067
|
const E = T;
|
|
3971
4068
|
if (E.touches.length === 1) {
|
|
3972
|
-
const
|
|
3973
|
-
T.preventDefault(),
|
|
4069
|
+
const j = E.touches[0];
|
|
4070
|
+
T.preventDefault(), u(j.clientX, j.clientY);
|
|
3974
4071
|
}
|
|
3975
4072
|
}, ce = (T) => {
|
|
3976
4073
|
if (!l) return;
|
|
3977
4074
|
const E = T;
|
|
3978
4075
|
if (E.touches.length === 1) {
|
|
3979
|
-
const
|
|
3980
|
-
|
|
4076
|
+
const j = E.touches[0];
|
|
4077
|
+
d(j.clientX, j.clientY) || h();
|
|
3981
4078
|
} else
|
|
3982
|
-
|
|
4079
|
+
h();
|
|
3983
4080
|
}, fe = () => {
|
|
3984
|
-
|
|
4081
|
+
h();
|
|
3985
4082
|
}, de = () => {
|
|
3986
|
-
|
|
4083
|
+
h();
|
|
3987
4084
|
}, ue = (T) => {
|
|
3988
4085
|
const E = T;
|
|
3989
|
-
E.button === 0 && (T.preventDefault(),
|
|
4086
|
+
E.button === 0 && (T.preventDefault(), u(E.clientX, E.clientY));
|
|
3990
4087
|
}, pe = (T) => {
|
|
3991
4088
|
if (!l) return;
|
|
3992
4089
|
const E = T;
|
|
3993
|
-
|
|
4090
|
+
d(E.clientX, E.clientY) || h();
|
|
3994
4091
|
}, me = () => {
|
|
3995
|
-
|
|
4092
|
+
h();
|
|
3996
4093
|
}, he = () => {
|
|
3997
|
-
|
|
4094
|
+
h();
|
|
3998
4095
|
};
|
|
3999
4096
|
"onpointerdown" in e ? (e.addEventListener(
|
|
4000
4097
|
"pointerdown",
|
|
4001
|
-
|
|
4098
|
+
y
|
|
4002
4099
|
), e.addEventListener(
|
|
4003
4100
|
"pointermove",
|
|
4004
|
-
|
|
4101
|
+
v
|
|
4005
4102
|
), e.addEventListener("pointerup", S), e.addEventListener(
|
|
4006
4103
|
"pointercancel",
|
|
4007
|
-
|
|
4104
|
+
_
|
|
4008
4105
|
)) : "ontouchstart" in e ? (e.addEventListener(
|
|
4009
4106
|
"touchstart",
|
|
4010
|
-
|
|
4107
|
+
W,
|
|
4011
4108
|
{ passive: !1 }
|
|
4012
4109
|
), e.addEventListener("touchmove", ce), e.addEventListener("touchend", fe), e.addEventListener(
|
|
4013
4110
|
"touchcancel",
|
|
4014
4111
|
de
|
|
4015
4112
|
)) : (e.addEventListener("mousedown", ue), e.addEventListener("mousemove", pe), e.addEventListener("mouseup", me), e.addEventListener("mouseleave", he));
|
|
4016
4113
|
const Pe = () => {
|
|
4017
|
-
|
|
4114
|
+
h(), "onpointerdown" in e ? (e.removeEventListener(
|
|
4018
4115
|
"pointerdown",
|
|
4019
|
-
|
|
4116
|
+
y
|
|
4020
4117
|
), e.removeEventListener(
|
|
4021
4118
|
"pointermove",
|
|
4022
|
-
|
|
4119
|
+
v
|
|
4023
4120
|
), e.removeEventListener(
|
|
4024
4121
|
"pointerup",
|
|
4025
4122
|
S
|
|
4026
4123
|
), e.removeEventListener(
|
|
4027
4124
|
"pointercancel",
|
|
4028
|
-
|
|
4125
|
+
_
|
|
4029
4126
|
)) : "ontouchstart" in e ? (e.removeEventListener(
|
|
4030
4127
|
"touchstart",
|
|
4031
|
-
|
|
4128
|
+
W
|
|
4032
4129
|
), e.removeEventListener(
|
|
4033
4130
|
"touchmove",
|
|
4034
4131
|
ce
|
|
@@ -4049,10 +4146,10 @@ class an extends w {
|
|
|
4049
4146
|
e._longPressCleanup = Pe;
|
|
4050
4147
|
}
|
|
4051
4148
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return new
|
|
4149
|
+
function gn(o) {
|
|
4150
|
+
return new yn(o);
|
|
4054
4151
|
}
|
|
4055
|
-
class
|
|
4152
|
+
class vn extends w {
|
|
4056
4153
|
constructor(e) {
|
|
4057
4154
|
const t = {
|
|
4058
4155
|
...e,
|
|
@@ -4070,18 +4167,18 @@ class cn extends w {
|
|
|
4070
4167
|
const c = l;
|
|
4071
4168
|
if (c.key.toLowerCase() !== t.key.toLowerCase())
|
|
4072
4169
|
return;
|
|
4073
|
-
const
|
|
4074
|
-
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (
|
|
4075
|
-
const
|
|
4076
|
-
(S) =>
|
|
4077
|
-
),
|
|
4078
|
-
|
|
4079
|
-
const
|
|
4080
|
-
(S) => !
|
|
4170
|
+
const u = new Set(i), d = /* @__PURE__ */ new Set();
|
|
4171
|
+
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (d.add("cmd"), d.add("meta")), c.ctrlKey && d.add("ctrl")) : (c.ctrlKey && (d.add("ctrl"), d.add("cmd")), c.metaKey && d.add("meta"))), c.shiftKey && d.add("shift"), c.altKey && d.add("alt");
|
|
4172
|
+
const h = Array.from(u).every(
|
|
4173
|
+
(S) => d.has(S)
|
|
4174
|
+
), y = /* @__PURE__ */ new Set([...u]);
|
|
4175
|
+
u.has("cmd") && (y.add("meta"), y.add("ctrl")), u.has("meta") && y.add("cmd"), u.has("ctrl") && y.add("cmd");
|
|
4176
|
+
const v = Array.from(d).some(
|
|
4177
|
+
(S) => !y.has(
|
|
4081
4178
|
S
|
|
4082
4179
|
)
|
|
4083
4180
|
);
|
|
4084
|
-
|
|
4181
|
+
h && !v && (l.preventDefault(), l.stopPropagation(), t.action());
|
|
4085
4182
|
}, r = e instanceof HTMLElement && e.tabIndex >= 0 ? e : document;
|
|
4086
4183
|
r.addEventListener("keydown", n);
|
|
4087
4184
|
const a = () => {
|
|
@@ -4094,12 +4191,12 @@ class cn extends w {
|
|
|
4094
4191
|
}
|
|
4095
4192
|
}
|
|
4096
4193
|
function Ae(o) {
|
|
4097
|
-
return new
|
|
4194
|
+
return new vn(o);
|
|
4098
4195
|
}
|
|
4099
|
-
function
|
|
4196
|
+
function Er(o, s, e) {
|
|
4100
4197
|
return Ae({ key: o, modifiers: s, action: e });
|
|
4101
4198
|
}
|
|
4102
|
-
class
|
|
4199
|
+
class bn extends w {
|
|
4103
4200
|
constructor() {
|
|
4104
4201
|
super(...arguments);
|
|
4105
4202
|
f(this, "type", "focused");
|
|
@@ -4125,15 +4222,15 @@ class fn extends w {
|
|
|
4125
4222
|
r(c);
|
|
4126
4223
|
});
|
|
4127
4224
|
else if (process.env.NODE_ENV !== "test") {
|
|
4128
|
-
let c = l(),
|
|
4129
|
-
const
|
|
4130
|
-
if (!
|
|
4131
|
-
const
|
|
4132
|
-
|
|
4225
|
+
let c = l(), u = !0;
|
|
4226
|
+
const d = () => {
|
|
4227
|
+
if (!u) return;
|
|
4228
|
+
const h = l();
|
|
4229
|
+
h !== c && (c = h, r(h)), u && requestAnimationFrame(d);
|
|
4133
4230
|
};
|
|
4134
4231
|
n = () => {
|
|
4135
|
-
|
|
4136
|
-
}, requestAnimationFrame(
|
|
4232
|
+
u = !1;
|
|
4233
|
+
}, requestAnimationFrame(d);
|
|
4137
4234
|
} else
|
|
4138
4235
|
n = () => {
|
|
4139
4236
|
};
|
|
@@ -4145,10 +4242,10 @@ class fn extends w {
|
|
|
4145
4242
|
e._focusedCleanup = a;
|
|
4146
4243
|
}
|
|
4147
4244
|
}
|
|
4148
|
-
function
|
|
4149
|
-
return new
|
|
4245
|
+
function Sn(o) {
|
|
4246
|
+
return new bn({ focused: o });
|
|
4150
4247
|
}
|
|
4151
|
-
class
|
|
4248
|
+
class wn extends w {
|
|
4152
4249
|
constructor(e = {}) {
|
|
4153
4250
|
const t = {
|
|
4154
4251
|
...e,
|
|
@@ -4174,8 +4271,8 @@ class un extends w {
|
|
|
4174
4271
|
"aria-label",
|
|
4175
4272
|
i.getAttribute("aria-label") || "Activatable element"
|
|
4176
4273
|
)), r.includes("activate")) {
|
|
4177
|
-
const l = (
|
|
4178
|
-
(
|
|
4274
|
+
const l = (u) => {
|
|
4275
|
+
(u.key === " " || u.key === "Enter") && (u.preventDefault(), i.click());
|
|
4179
4276
|
};
|
|
4180
4277
|
i.addEventListener("keydown", l);
|
|
4181
4278
|
const c = i._focusableCleanup || (() => {
|
|
@@ -4193,19 +4290,19 @@ class un extends w {
|
|
|
4193
4290
|
}
|
|
4194
4291
|
}
|
|
4195
4292
|
}
|
|
4196
|
-
function
|
|
4197
|
-
return new
|
|
4293
|
+
function se(o, s) {
|
|
4294
|
+
return new wn({
|
|
4198
4295
|
isFocusable: o ?? !0,
|
|
4199
4296
|
interactions: s ?? []
|
|
4200
4297
|
});
|
|
4201
4298
|
}
|
|
4202
|
-
function
|
|
4203
|
-
return
|
|
4299
|
+
function Cn() {
|
|
4300
|
+
return se(!0, ["activate"]);
|
|
4204
4301
|
}
|
|
4205
|
-
function
|
|
4206
|
-
return
|
|
4302
|
+
function En() {
|
|
4303
|
+
return se(!0, ["edit"]);
|
|
4207
4304
|
}
|
|
4208
|
-
class
|
|
4305
|
+
class Mn extends w {
|
|
4209
4306
|
constructor() {
|
|
4210
4307
|
super(...arguments);
|
|
4211
4308
|
f(this, "type", "onContinuousHover");
|
|
@@ -4217,32 +4314,32 @@ class hn extends w {
|
|
|
4217
4314
|
setupContinuousHover(e, t) {
|
|
4218
4315
|
const i = t.coordinateSpace ?? "local";
|
|
4219
4316
|
let n = !1;
|
|
4220
|
-
const r = (
|
|
4317
|
+
const r = (d) => {
|
|
4221
4318
|
if (i === "global")
|
|
4222
4319
|
return {
|
|
4223
|
-
x:
|
|
4224
|
-
y:
|
|
4320
|
+
x: d.clientX,
|
|
4321
|
+
y: d.clientY
|
|
4225
4322
|
};
|
|
4226
4323
|
{
|
|
4227
|
-
const
|
|
4324
|
+
const h = e.getBoundingClientRect();
|
|
4228
4325
|
return {
|
|
4229
|
-
x:
|
|
4230
|
-
y:
|
|
4326
|
+
x: d.clientX - h.left,
|
|
4327
|
+
y: d.clientY - h.top
|
|
4231
4328
|
};
|
|
4232
4329
|
}
|
|
4233
|
-
}, a = (
|
|
4330
|
+
}, a = (d) => {
|
|
4234
4331
|
n = !0;
|
|
4235
|
-
const
|
|
4236
|
-
t.perform(
|
|
4237
|
-
}, l = (
|
|
4332
|
+
const y = r(d);
|
|
4333
|
+
t.perform(y);
|
|
4334
|
+
}, l = (d) => {
|
|
4238
4335
|
if (!n) return;
|
|
4239
|
-
const
|
|
4240
|
-
t.perform(
|
|
4336
|
+
const y = r(d);
|
|
4337
|
+
t.perform(y);
|
|
4241
4338
|
}, c = () => {
|
|
4242
4339
|
n = !1, t.perform(null);
|
|
4243
4340
|
};
|
|
4244
4341
|
e.addEventListener("mouseenter", a), e.addEventListener("mousemove", l), e.addEventListener("mouseleave", c);
|
|
4245
|
-
const
|
|
4342
|
+
const u = () => {
|
|
4246
4343
|
n && (n = !1, t.perform(null)), e.removeEventListener(
|
|
4247
4344
|
"mouseenter",
|
|
4248
4345
|
a
|
|
@@ -4251,25 +4348,25 @@ class hn extends w {
|
|
|
4251
4348
|
c
|
|
4252
4349
|
);
|
|
4253
4350
|
};
|
|
4254
|
-
e._continuousHoverCleanup =
|
|
4351
|
+
e._continuousHoverCleanup = u;
|
|
4255
4352
|
}
|
|
4256
4353
|
}
|
|
4257
|
-
function
|
|
4258
|
-
return new
|
|
4354
|
+
function ae(o) {
|
|
4355
|
+
return new Mn(o);
|
|
4259
4356
|
}
|
|
4260
|
-
function
|
|
4261
|
-
return
|
|
4357
|
+
function Mr(o) {
|
|
4358
|
+
return ae({
|
|
4262
4359
|
coordinateSpace: "local",
|
|
4263
4360
|
perform: o
|
|
4264
4361
|
});
|
|
4265
4362
|
}
|
|
4266
|
-
function
|
|
4267
|
-
return
|
|
4363
|
+
function xr(o) {
|
|
4364
|
+
return ae({
|
|
4268
4365
|
coordinateSpace: "global",
|
|
4269
4366
|
perform: o
|
|
4270
4367
|
});
|
|
4271
4368
|
}
|
|
4272
|
-
class
|
|
4369
|
+
class xn extends w {
|
|
4273
4370
|
constructor() {
|
|
4274
4371
|
super(...arguments);
|
|
4275
4372
|
f(this, "type", "allowsHitTesting");
|
|
@@ -4284,92 +4381,92 @@ class yn extends w {
|
|
|
4284
4381
|
t ? i.style.pointerEvents === "none" && (i.style.pointerEvents = "") : i.style.pointerEvents = "none", e._hitTestingEnabled = t;
|
|
4285
4382
|
}
|
|
4286
4383
|
}
|
|
4287
|
-
function
|
|
4288
|
-
return new
|
|
4384
|
+
function le(o) {
|
|
4385
|
+
return new xn({ enabled: o });
|
|
4289
4386
|
}
|
|
4290
|
-
function
|
|
4291
|
-
return
|
|
4387
|
+
function Tr() {
|
|
4388
|
+
return le(!0);
|
|
4292
4389
|
}
|
|
4293
|
-
function
|
|
4294
|
-
return
|
|
4390
|
+
function Lr() {
|
|
4391
|
+
return le(!1);
|
|
4295
4392
|
}
|
|
4296
|
-
function
|
|
4393
|
+
function Tn(o, s) {
|
|
4297
4394
|
return new C({
|
|
4298
4395
|
highPriorityGesture: { gesture: o, including: s }
|
|
4299
4396
|
});
|
|
4300
4397
|
}
|
|
4301
|
-
function
|
|
4398
|
+
function Ln(o, s) {
|
|
4302
4399
|
return new C({
|
|
4303
4400
|
simultaneousGesture: { gesture: o, including: s }
|
|
4304
4401
|
});
|
|
4305
4402
|
}
|
|
4306
|
-
function
|
|
4403
|
+
function An(o) {
|
|
4307
4404
|
return new C({ onTap: o });
|
|
4308
4405
|
}
|
|
4309
|
-
function
|
|
4406
|
+
function Ar(o) {
|
|
4310
4407
|
return new C({ onFocus: o });
|
|
4311
4408
|
}
|
|
4312
|
-
function
|
|
4409
|
+
function kr(o) {
|
|
4313
4410
|
return new C({ onBlur: o });
|
|
4314
4411
|
}
|
|
4315
|
-
function
|
|
4412
|
+
function kn(o) {
|
|
4316
4413
|
return new C({ onScroll: o });
|
|
4317
4414
|
}
|
|
4318
|
-
function
|
|
4415
|
+
function Pr(o) {
|
|
4319
4416
|
return new C({ onKeyDown: o });
|
|
4320
4417
|
}
|
|
4321
|
-
function
|
|
4418
|
+
function Ir(o) {
|
|
4322
4419
|
return new C({ onKeyPress: o });
|
|
4323
4420
|
}
|
|
4324
|
-
function
|
|
4421
|
+
function $r(o) {
|
|
4325
4422
|
return new C({ onKeyUp: o });
|
|
4326
4423
|
}
|
|
4327
|
-
function
|
|
4424
|
+
function Vr(o) {
|
|
4328
4425
|
return new C({ onDoubleClick: o });
|
|
4329
4426
|
}
|
|
4330
|
-
function
|
|
4427
|
+
function Rr(o) {
|
|
4331
4428
|
return new C({ onContextMenu: o });
|
|
4332
4429
|
}
|
|
4333
|
-
function
|
|
4430
|
+
function Pn(o) {
|
|
4334
4431
|
return new C({ onWheel: o });
|
|
4335
4432
|
}
|
|
4336
|
-
function
|
|
4433
|
+
function In(o) {
|
|
4337
4434
|
return new C({ onInput: o });
|
|
4338
4435
|
}
|
|
4339
|
-
function
|
|
4436
|
+
function $n(o) {
|
|
4340
4437
|
return new C({ onChange: o });
|
|
4341
4438
|
}
|
|
4342
|
-
function
|
|
4439
|
+
function Vn(o) {
|
|
4343
4440
|
return new C({ onCopy: o });
|
|
4344
4441
|
}
|
|
4345
|
-
function
|
|
4442
|
+
function Rn(o) {
|
|
4346
4443
|
return new C({ onCut: o });
|
|
4347
4444
|
}
|
|
4348
|
-
function
|
|
4445
|
+
function Dn(o) {
|
|
4349
4446
|
return new C({ onPaste: o });
|
|
4350
4447
|
}
|
|
4351
|
-
function
|
|
4448
|
+
function On(o) {
|
|
4352
4449
|
return new C({ onSelect: o });
|
|
4353
4450
|
}
|
|
4354
|
-
function
|
|
4451
|
+
function Hn(o) {
|
|
4355
4452
|
return new C({ onTouchStart: o });
|
|
4356
4453
|
}
|
|
4357
|
-
function
|
|
4454
|
+
function _n(o) {
|
|
4358
4455
|
return new C({ onTouchMove: o });
|
|
4359
4456
|
}
|
|
4360
|
-
function
|
|
4457
|
+
function Bn(o) {
|
|
4361
4458
|
return new C({ onTouchEnd: o });
|
|
4362
4459
|
}
|
|
4363
|
-
function
|
|
4460
|
+
function Nn(o) {
|
|
4364
4461
|
return new C({ onSwipeLeft: o });
|
|
4365
4462
|
}
|
|
4366
|
-
function
|
|
4463
|
+
function zn(o) {
|
|
4367
4464
|
return new C({ onSwipeRight: o });
|
|
4368
4465
|
}
|
|
4369
|
-
function
|
|
4466
|
+
function Fn(o = !0) {
|
|
4370
4467
|
return new C({ disabled: o });
|
|
4371
4468
|
}
|
|
4372
|
-
class
|
|
4469
|
+
class F extends g {
|
|
4373
4470
|
// Lower priority for utility properties
|
|
4374
4471
|
constructor(e) {
|
|
4375
4472
|
const t = {};
|
|
@@ -4410,28 +4507,28 @@ class N extends b {
|
|
|
4410
4507
|
);
|
|
4411
4508
|
}
|
|
4412
4509
|
}
|
|
4413
|
-
function
|
|
4414
|
-
return new
|
|
4510
|
+
function Wn(o) {
|
|
4511
|
+
return new F(o);
|
|
4415
4512
|
}
|
|
4416
|
-
function
|
|
4417
|
-
return new
|
|
4513
|
+
function jn(o) {
|
|
4514
|
+
return new F({ cursor: o });
|
|
4418
4515
|
}
|
|
4419
|
-
function
|
|
4420
|
-
return new
|
|
4516
|
+
function Un(o) {
|
|
4517
|
+
return new F({ overflowY: o });
|
|
4421
4518
|
}
|
|
4422
|
-
function
|
|
4423
|
-
return new
|
|
4519
|
+
function Gn(o) {
|
|
4520
|
+
return new F({ overflowX: o });
|
|
4424
4521
|
}
|
|
4425
|
-
function
|
|
4426
|
-
return new
|
|
4522
|
+
function Kn(o) {
|
|
4523
|
+
return new F({ display: o });
|
|
4427
4524
|
}
|
|
4428
|
-
function
|
|
4429
|
-
return new
|
|
4525
|
+
function Yn(o) {
|
|
4526
|
+
return new F({ outline: o });
|
|
4430
4527
|
}
|
|
4431
|
-
function
|
|
4432
|
-
return new
|
|
4528
|
+
function Xn(o) {
|
|
4529
|
+
return new F({ outlineOffset: o });
|
|
4433
4530
|
}
|
|
4434
|
-
class
|
|
4531
|
+
class ee extends g {
|
|
4435
4532
|
// Very low priority so raw CSS doesn't override specific modifiers
|
|
4436
4533
|
constructor(e) {
|
|
4437
4534
|
const t = {};
|
|
@@ -4456,24 +4553,24 @@ class Q extends b {
|
|
|
4456
4553
|
return t;
|
|
4457
4554
|
}
|
|
4458
4555
|
}
|
|
4459
|
-
function
|
|
4460
|
-
return new
|
|
4556
|
+
function Zn(o) {
|
|
4557
|
+
return new ee(o);
|
|
4461
4558
|
}
|
|
4462
|
-
function
|
|
4463
|
-
return new
|
|
4559
|
+
function qn(o, s) {
|
|
4560
|
+
return new ee({ [o]: s });
|
|
4464
4561
|
}
|
|
4465
|
-
function
|
|
4562
|
+
function Jn(o, s) {
|
|
4466
4563
|
const e = o.startsWith("--") ? o : `--${o}`;
|
|
4467
|
-
return new
|
|
4564
|
+
return new ee({ [e]: s });
|
|
4468
4565
|
}
|
|
4469
|
-
function
|
|
4566
|
+
function Dr(o, s, e) {
|
|
4470
4567
|
const t = o.charAt(0).toUpperCase() + o.slice(1), i = `-${o.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
|
|
4471
|
-
return new
|
|
4568
|
+
return new ee({
|
|
4472
4569
|
[i]: e,
|
|
4473
4570
|
[n]: e
|
|
4474
4571
|
});
|
|
4475
4572
|
}
|
|
4476
|
-
class
|
|
4573
|
+
class X {
|
|
4477
4574
|
/**
|
|
4478
4575
|
* Apply basic sanitization to HTML content
|
|
4479
4576
|
* Removes dangerous patterns and restricts to allowed elements/attributes
|
|
@@ -4548,7 +4645,7 @@ class K {
|
|
|
4548
4645
|
}
|
|
4549
4646
|
}
|
|
4550
4647
|
}
|
|
4551
|
-
f(
|
|
4648
|
+
f(X, "DANGEROUS_PATTERNS", [
|
|
4552
4649
|
// Script tags (including nested/malformed ones)
|
|
4553
4650
|
/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
|
4554
4651
|
/<[^>]*<script[^>]*>/gi,
|
|
@@ -4576,7 +4673,7 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4576
4673
|
// Any javascript: protocol
|
|
4577
4674
|
/vbscript:/gi
|
|
4578
4675
|
// VBScript protocol
|
|
4579
|
-
]), f(
|
|
4676
|
+
]), f(X, "ALLOWED_TAGS", [
|
|
4580
4677
|
"p",
|
|
4581
4678
|
"br",
|
|
4582
4679
|
"strong",
|
|
@@ -4620,7 +4717,7 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4620
4717
|
"header",
|
|
4621
4718
|
"footer",
|
|
4622
4719
|
"hr"
|
|
4623
|
-
]), f(
|
|
4720
|
+
]), f(X, "ALLOWED_ATTRIBUTES", {
|
|
4624
4721
|
"*": ["class", "id", "title", "lang", "dir"],
|
|
4625
4722
|
a: ["href", "target", "rel"],
|
|
4626
4723
|
img: ["src", "alt", "width", "height"],
|
|
@@ -4628,8 +4725,8 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4628
4725
|
td: ["colspan", "rowspan"],
|
|
4629
4726
|
th: ["colspan", "rowspan", "scope"]
|
|
4630
4727
|
});
|
|
4631
|
-
function
|
|
4632
|
-
return
|
|
4728
|
+
function Or(o, s) {
|
|
4729
|
+
return X.sanitize(o, s);
|
|
4633
4730
|
}
|
|
4634
4731
|
class ke {
|
|
4635
4732
|
/**
|
|
@@ -4673,7 +4770,7 @@ f(ke, "SUSPICIOUS_PATTERNS", [
|
|
|
4673
4770
|
{ pattern: /@import/i, message: "CSS import statements detected" },
|
|
4674
4771
|
{ pattern: /expression\s*\(/i, message: "CSS expressions detected" }
|
|
4675
4772
|
]);
|
|
4676
|
-
class
|
|
4773
|
+
class Qn extends g {
|
|
4677
4774
|
// Early priority to apply before other modifiers
|
|
4678
4775
|
constructor(e = {}) {
|
|
4679
4776
|
super(e);
|
|
@@ -4733,7 +4830,7 @@ class jn extends b {
|
|
|
4733
4830
|
return typeof e == "string" ? e : "";
|
|
4734
4831
|
}
|
|
4735
4832
|
sanitizeHTML(e) {
|
|
4736
|
-
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) :
|
|
4833
|
+
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) : X.sanitize(e, this.properties);
|
|
4737
4834
|
}
|
|
4738
4835
|
validateContent(e) {
|
|
4739
4836
|
if (this.properties.__suppressWarnings) return;
|
|
@@ -4745,25 +4842,25 @@ class jn extends b {
|
|
|
4745
4842
|
}), console.warn("Consider using a more comprehensive sanitization solution like DOMPurify"), console.warn("To suppress these warnings, use { __suppressWarnings: true }"), console.groupEnd()), this.properties.skipSanitizer && console.warn("🚨 AsHTML: Sanitization is DISABLED. Ensure content is safe!");
|
|
4746
4843
|
}
|
|
4747
4844
|
}
|
|
4748
|
-
function
|
|
4749
|
-
return new
|
|
4845
|
+
function eo(o = {}) {
|
|
4846
|
+
return new Qn(o);
|
|
4750
4847
|
}
|
|
4751
|
-
function
|
|
4848
|
+
function to(o) {
|
|
4752
4849
|
return new O({
|
|
4753
4850
|
navigationTitle: o,
|
|
4754
4851
|
role: "heading"
|
|
4755
4852
|
});
|
|
4756
4853
|
}
|
|
4757
|
-
function
|
|
4854
|
+
function io(o = !0) {
|
|
4758
4855
|
return new O({
|
|
4759
4856
|
navigationBarHidden: o,
|
|
4760
4857
|
"aria-hidden": o.toString()
|
|
4761
4858
|
});
|
|
4762
4859
|
}
|
|
4763
|
-
function
|
|
4860
|
+
function no(o) {
|
|
4764
4861
|
return new O({ navigationBarItems: o });
|
|
4765
4862
|
}
|
|
4766
|
-
class
|
|
4863
|
+
class oo extends g {
|
|
4767
4864
|
// High priority for HTML attributes
|
|
4768
4865
|
constructor(e) {
|
|
4769
4866
|
super(e);
|
|
@@ -4787,10 +4884,10 @@ class Xn extends b {
|
|
|
4787
4884
|
);
|
|
4788
4885
|
}
|
|
4789
4886
|
}
|
|
4790
|
-
function
|
|
4791
|
-
return new
|
|
4887
|
+
function ie(o) {
|
|
4888
|
+
return new oo({ id: o });
|
|
4792
4889
|
}
|
|
4793
|
-
class
|
|
4890
|
+
class ro extends g {
|
|
4794
4891
|
// High priority for HTML attributes
|
|
4795
4892
|
constructor(e) {
|
|
4796
4893
|
super(e);
|
|
@@ -4829,10 +4926,10 @@ class Zn extends b {
|
|
|
4829
4926
|
});
|
|
4830
4927
|
}
|
|
4831
4928
|
}
|
|
4832
|
-
function
|
|
4833
|
-
return new
|
|
4929
|
+
function so(o) {
|
|
4930
|
+
return new ro({ data: o });
|
|
4834
4931
|
}
|
|
4835
|
-
class
|
|
4932
|
+
class ao extends g {
|
|
4836
4933
|
// High priority for accessibility
|
|
4837
4934
|
constructor(e) {
|
|
4838
4935
|
super(e);
|
|
@@ -4856,10 +4953,10 @@ class Jn extends b {
|
|
|
4856
4953
|
);
|
|
4857
4954
|
}
|
|
4858
4955
|
}
|
|
4859
|
-
function
|
|
4860
|
-
return new
|
|
4956
|
+
function lo(o) {
|
|
4957
|
+
return new ao({ tabIndex: o });
|
|
4861
4958
|
}
|
|
4862
|
-
const
|
|
4959
|
+
const Q = class Q extends g {
|
|
4863
4960
|
constructor(e) {
|
|
4864
4961
|
super(e);
|
|
4865
4962
|
f(this, "type", "aria");
|
|
@@ -4894,7 +4991,7 @@ const J = class J extends b {
|
|
|
4894
4991
|
return;
|
|
4895
4992
|
}
|
|
4896
4993
|
const n = t.replace(/^aria-/, "");
|
|
4897
|
-
!
|
|
4994
|
+
!Q.KNOWN_ATTRIBUTES.has(n) && !t.startsWith("aria-") && console.warn(
|
|
4898
4995
|
`TachUI ARIA Modifier: Unknown ARIA attribute "${t}". This may not be a valid ARIA attribute. Did you mean "${this.suggestCorrection(n)}"?`
|
|
4899
4996
|
), this.validateSpecificAriaAttribute(t, i);
|
|
4900
4997
|
});
|
|
@@ -4987,7 +5084,7 @@ const J = class J extends b {
|
|
|
4987
5084
|
}
|
|
4988
5085
|
};
|
|
4989
5086
|
// Highest priority for accessibility
|
|
4990
|
-
f(
|
|
5087
|
+
f(Q, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
4991
5088
|
"label",
|
|
4992
5089
|
"labelledby",
|
|
4993
5090
|
"describedby",
|
|
@@ -5022,26 +5119,26 @@ f(J, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
|
5022
5119
|
"valuetext",
|
|
5023
5120
|
"role"
|
|
5024
5121
|
]));
|
|
5025
|
-
let
|
|
5026
|
-
function
|
|
5027
|
-
return new
|
|
5122
|
+
let ne = Q;
|
|
5123
|
+
function K(o) {
|
|
5124
|
+
return new ne({ aria: o });
|
|
5028
5125
|
}
|
|
5029
|
-
function
|
|
5030
|
-
return
|
|
5126
|
+
function co(o) {
|
|
5127
|
+
return K({ role: o });
|
|
5031
5128
|
}
|
|
5032
|
-
function
|
|
5033
|
-
return
|
|
5129
|
+
function fo(o) {
|
|
5130
|
+
return K({ label: o });
|
|
5034
5131
|
}
|
|
5035
|
-
function
|
|
5036
|
-
return
|
|
5132
|
+
function uo(o) {
|
|
5133
|
+
return K({ live: o });
|
|
5037
5134
|
}
|
|
5038
|
-
function
|
|
5039
|
-
return
|
|
5135
|
+
function po(o) {
|
|
5136
|
+
return K({ describedby: o });
|
|
5040
5137
|
}
|
|
5041
|
-
function
|
|
5042
|
-
return
|
|
5138
|
+
function mo(o) {
|
|
5139
|
+
return K({ modal: o });
|
|
5043
5140
|
}
|
|
5044
|
-
class
|
|
5141
|
+
class Z extends g {
|
|
5045
5142
|
// Early application for CSS variables
|
|
5046
5143
|
constructor(e) {
|
|
5047
5144
|
super(e);
|
|
@@ -5053,10 +5150,10 @@ class Y extends b {
|
|
|
5053
5150
|
const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (n instanceof HTMLElement, n.style);
|
|
5054
5151
|
if (r && typeof r.setProperty == "function") {
|
|
5055
5152
|
for (const [a, l] of Object.entries(i)) {
|
|
5056
|
-
const c = a.startsWith("--") ? a.slice(2) : a,
|
|
5057
|
-
r.setProperty(
|
|
5153
|
+
const c = a.startsWith("--") ? a.slice(2) : a, u = `--${this.toCSSProperty(c)}`;
|
|
5154
|
+
r.setProperty(u, l);
|
|
5058
5155
|
try {
|
|
5059
|
-
r[
|
|
5156
|
+
r[u] = l;
|
|
5060
5157
|
} catch {
|
|
5061
5158
|
}
|
|
5062
5159
|
}
|
|
@@ -5075,25 +5172,25 @@ class Y extends b {
|
|
|
5075
5172
|
return typeof e == "number" ? e.toString() : String(e);
|
|
5076
5173
|
}
|
|
5077
5174
|
}
|
|
5078
|
-
function
|
|
5079
|
-
return new
|
|
5175
|
+
function ho(o) {
|
|
5176
|
+
return new Z({
|
|
5080
5177
|
properties: o.properties,
|
|
5081
5178
|
scope: o.scope || "local"
|
|
5082
5179
|
});
|
|
5083
5180
|
}
|
|
5084
|
-
function
|
|
5085
|
-
return new
|
|
5181
|
+
function yo(o, s, e) {
|
|
5182
|
+
return new Z({
|
|
5086
5183
|
properties: { [o]: s },
|
|
5087
5184
|
scope: e || "local"
|
|
5088
5185
|
});
|
|
5089
5186
|
}
|
|
5090
|
-
function
|
|
5091
|
-
return new
|
|
5187
|
+
function go(o) {
|
|
5188
|
+
return new Z({
|
|
5092
5189
|
properties: o,
|
|
5093
5190
|
scope: "local"
|
|
5094
5191
|
});
|
|
5095
5192
|
}
|
|
5096
|
-
function
|
|
5193
|
+
function Hr(o) {
|
|
5097
5194
|
const s = {};
|
|
5098
5195
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5099
5196
|
if (t !== void 0) {
|
|
@@ -5103,21 +5200,21 @@ function Ar(o) {
|
|
|
5103
5200
|
);
|
|
5104
5201
|
s[`--theme-color-${i}`] = t;
|
|
5105
5202
|
}
|
|
5106
|
-
}), new
|
|
5203
|
+
}), new Z({
|
|
5107
5204
|
properties: s,
|
|
5108
5205
|
scope: "local"
|
|
5109
5206
|
});
|
|
5110
5207
|
}
|
|
5111
|
-
function
|
|
5208
|
+
function _r(o) {
|
|
5112
5209
|
const s = {};
|
|
5113
5210
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5114
5211
|
t !== void 0 && (s[`--token-${e}`] = t);
|
|
5115
|
-
}), new
|
|
5212
|
+
}), new Z({
|
|
5116
5213
|
properties: s,
|
|
5117
5214
|
scope: "local"
|
|
5118
5215
|
});
|
|
5119
5216
|
}
|
|
5120
|
-
const
|
|
5217
|
+
const B = class B extends w {
|
|
5121
5218
|
constructor() {
|
|
5122
5219
|
super(...arguments);
|
|
5123
5220
|
f(this, "type", "pseudoElement");
|
|
@@ -5125,7 +5222,7 @@ const _ = class _ extends w {
|
|
|
5125
5222
|
}
|
|
5126
5223
|
apply(e, t) {
|
|
5127
5224
|
if (!t.element) return;
|
|
5128
|
-
const i = `tachui-pseudo-${++
|
|
5225
|
+
const i = `tachui-pseudo-${++B.elementCount}`;
|
|
5129
5226
|
t.element.classList.add(i), this.properties.before && this.addPseudoElementRule(i, "before", this.properties.before), this.properties.after && this.addPseudoElementRule(i, "after", this.properties.after);
|
|
5130
5227
|
}
|
|
5131
5228
|
addPseudoElementRule(e, t, i) {
|
|
@@ -5140,8 +5237,8 @@ const _ = class _ extends w {
|
|
|
5140
5237
|
const n = `.${e}::${t}`, r = [];
|
|
5141
5238
|
return i.content || (i.content = '""'), Object.entries(i).forEach(([a, l]) => {
|
|
5142
5239
|
if (l !== void 0) {
|
|
5143
|
-
const c = this.toCSSProperty(a),
|
|
5144
|
-
r.push(`${c}: ${
|
|
5240
|
+
const c = this.toCSSProperty(a), u = this.formatCSSValue(a, l);
|
|
5241
|
+
r.push(`${c}: ${u}`);
|
|
5145
5242
|
}
|
|
5146
5243
|
}), `${n} { ${r.join("; ")} }`;
|
|
5147
5244
|
}
|
|
@@ -5159,12 +5256,12 @@ const _ = class _ extends w {
|
|
|
5159
5256
|
}
|
|
5160
5257
|
getOrCreateStyleSheet() {
|
|
5161
5258
|
const e = document.getElementById(
|
|
5162
|
-
|
|
5259
|
+
B.styleSheetId
|
|
5163
5260
|
);
|
|
5164
5261
|
if (e && e instanceof HTMLStyleElement)
|
|
5165
5262
|
return e.sheet;
|
|
5166
5263
|
const t = document.createElement("style");
|
|
5167
|
-
t.id =
|
|
5264
|
+
t.id = B.styleSheetId;
|
|
5168
5265
|
try {
|
|
5169
5266
|
document.head.appendChild(t);
|
|
5170
5267
|
} catch (i) {
|
|
@@ -5177,33 +5274,33 @@ const _ = class _ extends w {
|
|
|
5177
5274
|
}
|
|
5178
5275
|
};
|
|
5179
5276
|
// High priority to ensure pseudo-elements are applied last
|
|
5180
|
-
f(
|
|
5181
|
-
let
|
|
5182
|
-
function
|
|
5183
|
-
return new
|
|
5277
|
+
f(B, "styleSheetId", "tachui-pseudo-elements"), f(B, "elementCount", 0);
|
|
5278
|
+
let U = B;
|
|
5279
|
+
function Y(o) {
|
|
5280
|
+
return new U({ before: o });
|
|
5184
5281
|
}
|
|
5185
|
-
function
|
|
5186
|
-
return new
|
|
5282
|
+
function q(o) {
|
|
5283
|
+
return new U({ after: o });
|
|
5187
5284
|
}
|
|
5188
|
-
function
|
|
5189
|
-
return new
|
|
5285
|
+
function vo(o) {
|
|
5286
|
+
return new U(o);
|
|
5190
5287
|
}
|
|
5191
|
-
function
|
|
5192
|
-
return
|
|
5288
|
+
function bo(o, s = {}) {
|
|
5289
|
+
return Y({
|
|
5193
5290
|
content: o,
|
|
5194
5291
|
display: "inline-block",
|
|
5195
5292
|
...s
|
|
5196
5293
|
});
|
|
5197
5294
|
}
|
|
5198
|
-
function
|
|
5199
|
-
return
|
|
5295
|
+
function So(o, s = {}) {
|
|
5296
|
+
return q({
|
|
5200
5297
|
content: o,
|
|
5201
5298
|
display: "inline-block",
|
|
5202
5299
|
...s
|
|
5203
5300
|
});
|
|
5204
5301
|
}
|
|
5205
|
-
function
|
|
5206
|
-
return
|
|
5302
|
+
function wo(o = "#ddd", s = 1, e = 16) {
|
|
5303
|
+
return Y({
|
|
5207
5304
|
content: "",
|
|
5208
5305
|
display: "inline-block",
|
|
5209
5306
|
width: e,
|
|
@@ -5213,8 +5310,8 @@ function uo(o = "#ddd", s = 1, e = 16) {
|
|
|
5213
5310
|
verticalAlign: "middle"
|
|
5214
5311
|
});
|
|
5215
5312
|
}
|
|
5216
|
-
function
|
|
5217
|
-
return
|
|
5313
|
+
function Co(o = "#ddd", s = 1, e = 16) {
|
|
5314
|
+
return q({
|
|
5218
5315
|
content: "",
|
|
5219
5316
|
display: "inline-block",
|
|
5220
5317
|
width: e,
|
|
@@ -5224,8 +5321,8 @@ function po(o = "#ddd", s = 1, e = 16) {
|
|
|
5224
5321
|
verticalAlign: "middle"
|
|
5225
5322
|
});
|
|
5226
5323
|
}
|
|
5227
|
-
function
|
|
5228
|
-
return new
|
|
5324
|
+
function Eo(o = '"', s = '"') {
|
|
5325
|
+
return new U({
|
|
5229
5326
|
before: {
|
|
5230
5327
|
content: o,
|
|
5231
5328
|
fontSize: "1.2em",
|
|
@@ -5240,8 +5337,8 @@ function mo(o = '"', s = '"') {
|
|
|
5240
5337
|
}
|
|
5241
5338
|
});
|
|
5242
5339
|
}
|
|
5243
|
-
function
|
|
5244
|
-
return
|
|
5340
|
+
function Mo(o = "currentColor", s = 1, e = 1) {
|
|
5341
|
+
return q({
|
|
5245
5342
|
content: "",
|
|
5246
5343
|
position: "absolute",
|
|
5247
5344
|
bottom: 0,
|
|
@@ -5252,8 +5349,8 @@ function ho(o = "currentColor", s = 1, e = 1) {
|
|
|
5252
5349
|
opacity: e
|
|
5253
5350
|
});
|
|
5254
5351
|
}
|
|
5255
|
-
function
|
|
5256
|
-
return
|
|
5352
|
+
function xo(o = "#ff3b30", s = 6, e = "") {
|
|
5353
|
+
return q({
|
|
5257
5354
|
content: e,
|
|
5258
5355
|
position: "absolute",
|
|
5259
5356
|
top: -2,
|
|
@@ -5273,8 +5370,8 @@ function yo(o = "#ff3b30", s = 6, e = "") {
|
|
|
5273
5370
|
justifyContent: "center"
|
|
5274
5371
|
});
|
|
5275
5372
|
}
|
|
5276
|
-
function
|
|
5277
|
-
return
|
|
5373
|
+
function To(o, s = "top", e = "#333", t = "white") {
|
|
5374
|
+
return Y({
|
|
5278
5375
|
content: o,
|
|
5279
5376
|
position: "absolute",
|
|
5280
5377
|
backgroundColor: e,
|
|
@@ -5315,8 +5412,8 @@ function go(o, s = "top", e = "#333", t = "white") {
|
|
|
5315
5412
|
}[s]
|
|
5316
5413
|
});
|
|
5317
5414
|
}
|
|
5318
|
-
function
|
|
5319
|
-
return
|
|
5415
|
+
function Lo(o, s = "#ff3b30", e = "white") {
|
|
5416
|
+
return Y({
|
|
5320
5417
|
content: o,
|
|
5321
5418
|
position: "absolute",
|
|
5322
5419
|
top: 8,
|
|
@@ -5332,7 +5429,7 @@ function vo(o, s = "#ff3b30", e = "white") {
|
|
|
5332
5429
|
zIndex: 10
|
|
5333
5430
|
});
|
|
5334
5431
|
}
|
|
5335
|
-
function
|
|
5432
|
+
function Ao(o = 20, s = "#007AFF", e = 2) {
|
|
5336
5433
|
if (!document.getElementById("tachui-spinner-animation")) {
|
|
5337
5434
|
const t = document.createElement("style");
|
|
5338
5435
|
t.id = "tachui-spinner-animation", t.textContent = `
|
|
@@ -5342,7 +5439,7 @@ function bo(o = 20, s = "#007AFF", e = 2) {
|
|
|
5342
5439
|
}
|
|
5343
5440
|
`, document.head.appendChild(t);
|
|
5344
5441
|
}
|
|
5345
|
-
return
|
|
5442
|
+
return Y({
|
|
5346
5443
|
content: "",
|
|
5347
5444
|
display: "inline-block",
|
|
5348
5445
|
width: o,
|
|
@@ -5353,9 +5450,9 @@ function bo(o = 20, s = "#007AFF", e = 2) {
|
|
|
5353
5450
|
animation: "spin 1s linear infinite"
|
|
5354
5451
|
});
|
|
5355
5452
|
}
|
|
5356
|
-
const
|
|
5453
|
+
const ko = [
|
|
5357
5454
|
// Padding
|
|
5358
|
-
["padding",
|
|
5455
|
+
["padding", M],
|
|
5359
5456
|
["paddingTop", We],
|
|
5360
5457
|
["paddingBottom", je],
|
|
5361
5458
|
["paddingLeft", Ue],
|
|
@@ -5365,7 +5462,7 @@ const So = [
|
|
|
5365
5462
|
["paddingHorizontal", Xe],
|
|
5366
5463
|
["paddingVertical", Ze],
|
|
5367
5464
|
// Margin
|
|
5368
|
-
["margin",
|
|
5465
|
+
["margin", x],
|
|
5369
5466
|
["marginTop", qe],
|
|
5370
5467
|
["marginBottom", Je],
|
|
5371
5468
|
["marginLeft", Qe],
|
|
@@ -5402,416 +5499,428 @@ const So = [
|
|
|
5402
5499
|
["alignItems", wt],
|
|
5403
5500
|
["alignSelf", Ct],
|
|
5404
5501
|
["gap", Et],
|
|
5405
|
-
["flexDirection",
|
|
5406
|
-
["flexWrap",
|
|
5502
|
+
["flexDirection", Mt],
|
|
5503
|
+
["flexWrap", xt],
|
|
5407
5504
|
// Appearance
|
|
5408
|
-
["backgroundColor",
|
|
5409
|
-
["background",
|
|
5410
|
-
["
|
|
5411
|
-
["
|
|
5412
|
-
["
|
|
5413
|
-
["
|
|
5414
|
-
["
|
|
5415
|
-
["
|
|
5416
|
-
["
|
|
5417
|
-
["
|
|
5418
|
-
["
|
|
5419
|
-
["
|
|
5420
|
-
["
|
|
5421
|
-
["
|
|
5422
|
-
["
|
|
5423
|
-
["
|
|
5424
|
-
["
|
|
5425
|
-
["
|
|
5505
|
+
["backgroundColor", Wt],
|
|
5506
|
+
["background", jt],
|
|
5507
|
+
["backgroundImage", Ut],
|
|
5508
|
+
["blendMode", Yt],
|
|
5509
|
+
["backgroundBlendMode", Xt],
|
|
5510
|
+
["compositingGroup", qt],
|
|
5511
|
+
["border", Qt],
|
|
5512
|
+
["borderTop", ei],
|
|
5513
|
+
["borderBottom", ii],
|
|
5514
|
+
["borderLeft", ni],
|
|
5515
|
+
["borderRight", ti],
|
|
5516
|
+
["clipShape", si],
|
|
5517
|
+
["clipped", li],
|
|
5518
|
+
["cornerRadius", fi],
|
|
5519
|
+
["foregroundColor", oi],
|
|
5520
|
+
["gradientText", G],
|
|
5521
|
+
["opacity", ci],
|
|
5522
|
+
["fontFamily", di],
|
|
5523
|
+
["fontSize", ui],
|
|
5524
|
+
["fontWeight", pi],
|
|
5525
|
+
["fontStyle", mi],
|
|
5526
|
+
["fontPreset", hi],
|
|
5426
5527
|
// Typography
|
|
5427
|
-
["typography",
|
|
5428
|
-
["textAlign",
|
|
5429
|
-
["font",
|
|
5430
|
-
["lineClamp",
|
|
5431
|
-
["wordBreak",
|
|
5432
|
-
["letterSpacing",
|
|
5433
|
-
["lineHeight",
|
|
5434
|
-
["textDecoration",
|
|
5435
|
-
["textOverflow",
|
|
5528
|
+
["typography", vi],
|
|
5529
|
+
["textAlign", bi],
|
|
5530
|
+
["font", Li],
|
|
5531
|
+
["lineClamp", Pi],
|
|
5532
|
+
["wordBreak", $i],
|
|
5533
|
+
["letterSpacing", Ci],
|
|
5534
|
+
["lineHeight", wi],
|
|
5535
|
+
["textDecoration", Si],
|
|
5536
|
+
["textOverflow", Ei],
|
|
5436
5537
|
["textTransform", Le],
|
|
5437
|
-
["textCase",
|
|
5438
|
-
["whiteSpace",
|
|
5439
|
-
["overflow",
|
|
5440
|
-
["hyphens",
|
|
5441
|
-
["overflowWrap",
|
|
5538
|
+
["textCase", Ti],
|
|
5539
|
+
["whiteSpace", Mi],
|
|
5540
|
+
["overflow", xi],
|
|
5541
|
+
["hyphens", Oi],
|
|
5542
|
+
["overflowWrap", Ri],
|
|
5442
5543
|
// Interaction
|
|
5443
|
-
["allowsHitTesting",
|
|
5444
|
-
["focusable",
|
|
5445
|
-
["activatable",
|
|
5446
|
-
["editable",
|
|
5447
|
-
["focused",
|
|
5544
|
+
["allowsHitTesting", le],
|
|
5545
|
+
["focusable", se],
|
|
5546
|
+
["activatable", Cn],
|
|
5547
|
+
["editable", En],
|
|
5548
|
+
["focused", Sn],
|
|
5448
5549
|
["keyboardShortcut", Ae],
|
|
5449
|
-
["onHover",
|
|
5450
|
-
["onMouseEnter",
|
|
5451
|
-
["onMouseLeave",
|
|
5452
|
-
["onMouseDown",
|
|
5453
|
-
["onMouseUp",
|
|
5454
|
-
["onDoubleClick",
|
|
5455
|
-
["onContextMenu",
|
|
5456
|
-
["onKeyDown",
|
|
5457
|
-
["onKeyUp",
|
|
5458
|
-
["onKeyPress",
|
|
5459
|
-
["onFocus",
|
|
5460
|
-
["onBlur",
|
|
5461
|
-
["onContinuousHover",
|
|
5462
|
-
["onLongPressGesture",
|
|
5463
|
-
["scroll",
|
|
5464
|
-
["scrollBehavior",
|
|
5465
|
-
["overscrollBehavior",
|
|
5466
|
-
["overscrollBehaviorX",
|
|
5467
|
-
["overscrollBehaviorY",
|
|
5468
|
-
["scrollMargin",
|
|
5469
|
-
["scrollPadding",
|
|
5470
|
-
["scrollSnap",
|
|
5471
|
-
["highPriorityGesture",
|
|
5472
|
-
["simultaneousGesture",
|
|
5473
|
-
["onTap",
|
|
5474
|
-
["onScroll",
|
|
5475
|
-
["onWheel",
|
|
5476
|
-
["onInput",
|
|
5477
|
-
["onChange",
|
|
5478
|
-
["onCopy",
|
|
5479
|
-
["onCut",
|
|
5480
|
-
["onPaste",
|
|
5481
|
-
["onSelect",
|
|
5482
|
-
["onTouchStart",
|
|
5483
|
-
["onTouchMove",
|
|
5484
|
-
["onTouchEnd",
|
|
5485
|
-
["onSwipeLeft",
|
|
5486
|
-
["onSwipeRight",
|
|
5487
|
-
["disabled",
|
|
5550
|
+
["onHover", Gi],
|
|
5551
|
+
["onMouseEnter", Qi],
|
|
5552
|
+
["onMouseLeave", en],
|
|
5553
|
+
["onMouseDown", tn],
|
|
5554
|
+
["onMouseUp", nn],
|
|
5555
|
+
["onDoubleClick", on],
|
|
5556
|
+
["onContextMenu", rn],
|
|
5557
|
+
["onKeyDown", cn],
|
|
5558
|
+
["onKeyUp", fn],
|
|
5559
|
+
["onKeyPress", dn],
|
|
5560
|
+
["onFocus", mn],
|
|
5561
|
+
["onBlur", hn],
|
|
5562
|
+
["onContinuousHover", ae],
|
|
5563
|
+
["onLongPressGesture", gn],
|
|
5564
|
+
["scroll", Hi],
|
|
5565
|
+
["scrollBehavior", _i],
|
|
5566
|
+
["overscrollBehavior", Bi],
|
|
5567
|
+
["overscrollBehaviorX", Ni],
|
|
5568
|
+
["overscrollBehaviorY", zi],
|
|
5569
|
+
["scrollMargin", Fi],
|
|
5570
|
+
["scrollPadding", Wi],
|
|
5571
|
+
["scrollSnap", ji],
|
|
5572
|
+
["highPriorityGesture", Tn],
|
|
5573
|
+
["simultaneousGesture", Ln],
|
|
5574
|
+
["onTap", An],
|
|
5575
|
+
["onScroll", kn],
|
|
5576
|
+
["onWheel", Pn],
|
|
5577
|
+
["onInput", In],
|
|
5578
|
+
["onChange", $n],
|
|
5579
|
+
["onCopy", Vn],
|
|
5580
|
+
["onCut", Rn],
|
|
5581
|
+
["onPaste", Dn],
|
|
5582
|
+
["onSelect", On],
|
|
5583
|
+
["onTouchStart", Hn],
|
|
5584
|
+
["onTouchMove", _n],
|
|
5585
|
+
["onTouchEnd", Bn],
|
|
5586
|
+
["onSwipeLeft", Nn],
|
|
5587
|
+
["onSwipeRight", zn],
|
|
5588
|
+
["disabled", Fn],
|
|
5488
5589
|
// Utility
|
|
5489
|
-
["css",
|
|
5490
|
-
["cssProperty",
|
|
5491
|
-
["cssVariable",
|
|
5492
|
-
["utility",
|
|
5493
|
-
["cursor",
|
|
5494
|
-
["display",
|
|
5495
|
-
["overflowX",
|
|
5496
|
-
["overflowY",
|
|
5497
|
-
["outline",
|
|
5498
|
-
["outlineOffset",
|
|
5499
|
-
["asHTML",
|
|
5500
|
-
["navigationTitle",
|
|
5501
|
-
["navigationBarHidden",
|
|
5502
|
-
["navigationBarItems",
|
|
5590
|
+
["css", Zn],
|
|
5591
|
+
["cssProperty", qn],
|
|
5592
|
+
["cssVariable", Jn],
|
|
5593
|
+
["utility", Wn],
|
|
5594
|
+
["cursor", jn],
|
|
5595
|
+
["display", Kn],
|
|
5596
|
+
["overflowX", Gn],
|
|
5597
|
+
["overflowY", Un],
|
|
5598
|
+
["outline", Yn],
|
|
5599
|
+
["outlineOffset", Xn],
|
|
5600
|
+
["asHTML", eo],
|
|
5601
|
+
["navigationTitle", to],
|
|
5602
|
+
["navigationBarHidden", io],
|
|
5603
|
+
["navigationBarItems", no],
|
|
5503
5604
|
["animation", mt],
|
|
5504
5605
|
["transform", pt],
|
|
5505
5606
|
["transitions", ht],
|
|
5506
5607
|
["transition", ut],
|
|
5507
5608
|
// Attributes
|
|
5508
|
-
["aria",
|
|
5509
|
-
["ariaLabel",
|
|
5510
|
-
["ariaLive",
|
|
5511
|
-
["ariaDescribedBy",
|
|
5512
|
-
["ariaModal",
|
|
5513
|
-
["role",
|
|
5514
|
-
["customProperties",
|
|
5515
|
-
["customProperty",
|
|
5516
|
-
["cssVariables",
|
|
5517
|
-
["id",
|
|
5518
|
-
["elementId",
|
|
5519
|
-
["viewId",
|
|
5520
|
-
["data",
|
|
5521
|
-
["tabIndex",
|
|
5609
|
+
["aria", K],
|
|
5610
|
+
["ariaLabel", fo],
|
|
5611
|
+
["ariaLive", uo],
|
|
5612
|
+
["ariaDescribedBy", po],
|
|
5613
|
+
["ariaModal", mo],
|
|
5614
|
+
["role", co],
|
|
5615
|
+
["customProperties", ho],
|
|
5616
|
+
["customProperty", yo],
|
|
5617
|
+
["cssVariables", go],
|
|
5618
|
+
["id", ie],
|
|
5619
|
+
["elementId", ie],
|
|
5620
|
+
["viewId", ie],
|
|
5621
|
+
["data", so],
|
|
5622
|
+
["tabIndex", lo],
|
|
5522
5623
|
// Elements / pseudo elements
|
|
5523
|
-
["before",
|
|
5524
|
-
["after",
|
|
5525
|
-
["pseudoElements",
|
|
5526
|
-
["iconBefore",
|
|
5527
|
-
["iconAfter",
|
|
5528
|
-
["lineBefore",
|
|
5529
|
-
["lineAfter",
|
|
5530
|
-
["quotes",
|
|
5531
|
-
["underline",
|
|
5532
|
-
["badge",
|
|
5533
|
-
["tooltip",
|
|
5534
|
-
["cornerRibbon",
|
|
5535
|
-
["spinner",
|
|
5624
|
+
["before", Y],
|
|
5625
|
+
["after", q],
|
|
5626
|
+
["pseudoElements", vo],
|
|
5627
|
+
["iconBefore", bo],
|
|
5628
|
+
["iconAfter", So],
|
|
5629
|
+
["lineBefore", wo],
|
|
5630
|
+
["lineAfter", Co],
|
|
5631
|
+
["quotes", Eo],
|
|
5632
|
+
["underline", Mo],
|
|
5633
|
+
["badge", xo],
|
|
5634
|
+
["tooltip", To],
|
|
5635
|
+
["cornerRibbon", Lo],
|
|
5636
|
+
["spinner", Ao],
|
|
5536
5637
|
// Lifecycle
|
|
5537
5638
|
["task", yt]
|
|
5538
5639
|
];
|
|
5539
|
-
function
|
|
5640
|
+
function Po(o) {
|
|
5540
5641
|
const s = o?.registry ?? Ve;
|
|
5541
5642
|
s.registerPlugin?.({
|
|
5542
5643
|
name: "@tachui/modifiers",
|
|
5543
5644
|
version: Fe,
|
|
5544
5645
|
author: "tachUI Team",
|
|
5545
5646
|
verified: !0
|
|
5546
|
-
}),
|
|
5647
|
+
}), ko.forEach(([e, t]) => {
|
|
5547
5648
|
s.has(e) || s.register(e, t);
|
|
5548
5649
|
});
|
|
5549
5650
|
}
|
|
5550
|
-
|
|
5651
|
+
Po();
|
|
5551
5652
|
export {
|
|
5552
|
-
|
|
5653
|
+
Cr as $,
|
|
5553
5654
|
Ce as A,
|
|
5554
5655
|
Bt as B,
|
|
5555
5656
|
ve as C,
|
|
5556
5657
|
Nt as D,
|
|
5557
|
-
|
|
5658
|
+
Li as E,
|
|
5558
5659
|
$ as F,
|
|
5559
|
-
|
|
5560
|
-
|
|
5660
|
+
vi as G,
|
|
5661
|
+
bi as H,
|
|
5561
5662
|
Le as I,
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5663
|
+
Si as J,
|
|
5664
|
+
gr as K,
|
|
5665
|
+
vr as L,
|
|
5565
5666
|
I as M,
|
|
5566
|
-
|
|
5667
|
+
wi as N,
|
|
5567
5668
|
Tt as O,
|
|
5568
5669
|
Ht as P,
|
|
5569
|
-
|
|
5570
|
-
|
|
5670
|
+
Ci as Q,
|
|
5671
|
+
br as R,
|
|
5571
5672
|
At as S,
|
|
5572
5673
|
k as T,
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5674
|
+
Ei as U,
|
|
5675
|
+
Mi as V,
|
|
5676
|
+
xi as W,
|
|
5677
|
+
Ti as X,
|
|
5678
|
+
Sr as Y,
|
|
5578
5679
|
Ee as Z,
|
|
5579
|
-
|
|
5680
|
+
wr as _,
|
|
5580
5681
|
gt as a,
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5682
|
+
Qi as a$,
|
|
5683
|
+
ki as a0,
|
|
5684
|
+
Pi as a1,
|
|
5685
|
+
Ii as a2,
|
|
5686
|
+
$i as a3,
|
|
5687
|
+
Vi as a4,
|
|
5688
|
+
Ri as a5,
|
|
5689
|
+
Di as a6,
|
|
5690
|
+
Oi as a7,
|
|
5691
|
+
Me as a8,
|
|
5692
|
+
Ft as a9,
|
|
5693
|
+
pr as aA,
|
|
5694
|
+
mr as aB,
|
|
5695
|
+
hr as aC,
|
|
5696
|
+
Te as aD,
|
|
5697
|
+
oi as aE,
|
|
5698
|
+
yr as aF,
|
|
5699
|
+
ri as aG,
|
|
5700
|
+
si as aH,
|
|
5701
|
+
ai as aI,
|
|
5702
|
+
li as aJ,
|
|
5703
|
+
H as aK,
|
|
5704
|
+
Hi as aL,
|
|
5705
|
+
_i as aM,
|
|
5706
|
+
Bi as aN,
|
|
5707
|
+
Ni as aO,
|
|
5708
|
+
zi as aP,
|
|
5709
|
+
Fi as aQ,
|
|
5710
|
+
Wi as aR,
|
|
5711
|
+
ji as aS,
|
|
5712
|
+
Ui as aT,
|
|
5713
|
+
Gi as aU,
|
|
5714
|
+
Ki as aV,
|
|
5715
|
+
Yi as aW,
|
|
5716
|
+
Xi as aX,
|
|
5717
|
+
Zi as aY,
|
|
5718
|
+
qi as aZ,
|
|
5719
|
+
Ji as a_,
|
|
5720
|
+
xe as aa,
|
|
5721
|
+
Wt as ab,
|
|
5722
|
+
jt as ac,
|
|
5723
|
+
Ut as ad,
|
|
5724
|
+
rr as ae,
|
|
5725
|
+
G as af,
|
|
5726
|
+
sr as ag,
|
|
5727
|
+
ar as ah,
|
|
5728
|
+
lr as ai,
|
|
5729
|
+
cr as aj,
|
|
5730
|
+
fr as ak,
|
|
5731
|
+
Gt as al,
|
|
5732
|
+
Kt as am,
|
|
5733
|
+
Yt as an,
|
|
5734
|
+
Xt as ao,
|
|
5735
|
+
Zt as ap,
|
|
5736
|
+
qt as aq,
|
|
5737
|
+
D as ar,
|
|
5738
|
+
Jt as as,
|
|
5739
|
+
Qt as at,
|
|
5740
|
+
ei as au,
|
|
5741
|
+
ti as av,
|
|
5742
|
+
ii as aw,
|
|
5743
|
+
ni as ax,
|
|
5744
|
+
dr as ay,
|
|
5745
|
+
ur as az,
|
|
5746
|
+
ko as b,
|
|
5747
|
+
Kn as b$,
|
|
5748
|
+
en as b0,
|
|
5749
|
+
tn as b1,
|
|
5750
|
+
nn as b2,
|
|
5751
|
+
on as b3,
|
|
5752
|
+
rn as b4,
|
|
5753
|
+
sn as b5,
|
|
5754
|
+
an as b6,
|
|
5755
|
+
ln as b7,
|
|
5756
|
+
cn as b8,
|
|
5757
|
+
fn as b9,
|
|
5758
|
+
An as bA,
|
|
5759
|
+
Ar as bB,
|
|
5760
|
+
kr as bC,
|
|
5761
|
+
kn as bD,
|
|
5762
|
+
Pr as bE,
|
|
5763
|
+
Ir as bF,
|
|
5764
|
+
$r as bG,
|
|
5765
|
+
Vr as bH,
|
|
5766
|
+
Rr as bI,
|
|
5767
|
+
Pn as bJ,
|
|
5768
|
+
In as bK,
|
|
5769
|
+
$n as bL,
|
|
5770
|
+
Vn as bM,
|
|
5771
|
+
Rn as bN,
|
|
5772
|
+
Dn as bO,
|
|
5773
|
+
On as bP,
|
|
5774
|
+
Hn as bQ,
|
|
5775
|
+
_n as bR,
|
|
5776
|
+
Bn as bS,
|
|
5777
|
+
Nn as bT,
|
|
5778
|
+
zn as bU,
|
|
5779
|
+
Fn as bV,
|
|
5780
|
+
F as bW,
|
|
5781
|
+
Wn as bX,
|
|
5782
|
+
jn as bY,
|
|
5783
|
+
Un as bZ,
|
|
5784
|
+
Gn as b_,
|
|
5785
|
+
dn as ba,
|
|
5786
|
+
un as bb,
|
|
5787
|
+
pn as bc,
|
|
5788
|
+
mn as bd,
|
|
5789
|
+
hn as be,
|
|
5790
|
+
yn as bf,
|
|
5791
|
+
gn as bg,
|
|
5792
|
+
vn as bh,
|
|
5793
|
+
Ae as bi,
|
|
5794
|
+
Er as bj,
|
|
5795
|
+
bn as bk,
|
|
5796
|
+
Sn as bl,
|
|
5797
|
+
wn as bm,
|
|
5798
|
+
se as bn,
|
|
5799
|
+
Cn as bo,
|
|
5800
|
+
En as bp,
|
|
5801
|
+
Mn as bq,
|
|
5802
|
+
ae as br,
|
|
5803
|
+
Mr as bs,
|
|
5804
|
+
xr as bt,
|
|
5805
|
+
xn as bu,
|
|
5806
|
+
le as bv,
|
|
5807
|
+
Tr as bw,
|
|
5808
|
+
Lr as bx,
|
|
5809
|
+
Tn as by,
|
|
5810
|
+
Ln as bz,
|
|
5710
5811
|
vt as c,
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5812
|
+
it as c$,
|
|
5813
|
+
Yn as c0,
|
|
5814
|
+
Xn as c1,
|
|
5815
|
+
ee as c2,
|
|
5816
|
+
Zn as c3,
|
|
5817
|
+
qn as c4,
|
|
5818
|
+
Jn as c5,
|
|
5819
|
+
Dr as c6,
|
|
5820
|
+
X as c7,
|
|
5821
|
+
Or as c8,
|
|
5822
|
+
Qn as c9,
|
|
5823
|
+
uo as cA,
|
|
5824
|
+
po as cB,
|
|
5825
|
+
mo as cC,
|
|
5826
|
+
Z as cD,
|
|
5827
|
+
ho as cE,
|
|
5828
|
+
yo as cF,
|
|
5829
|
+
go as cG,
|
|
5830
|
+
Hr as cH,
|
|
5831
|
+
_r as cI,
|
|
5832
|
+
V as cJ,
|
|
5833
|
+
M as cK,
|
|
5834
|
+
We as cL,
|
|
5835
|
+
je as cM,
|
|
5836
|
+
Ue as cN,
|
|
5837
|
+
Ge as cO,
|
|
5838
|
+
Ke as cP,
|
|
5839
|
+
Ye as cQ,
|
|
5840
|
+
Xe as cR,
|
|
5841
|
+
Ze as cS,
|
|
5842
|
+
Xo as cT,
|
|
5843
|
+
R as cU,
|
|
5844
|
+
x as cV,
|
|
5845
|
+
qe as cW,
|
|
5846
|
+
Je as cX,
|
|
5847
|
+
Qe as cY,
|
|
5848
|
+
et as cZ,
|
|
5849
|
+
tt as c_,
|
|
5850
|
+
eo as ca,
|
|
5851
|
+
ke as cb,
|
|
5852
|
+
U as cc,
|
|
5853
|
+
Y as cd,
|
|
5854
|
+
q as ce,
|
|
5855
|
+
vo as cf,
|
|
5856
|
+
bo as cg,
|
|
5857
|
+
So as ch,
|
|
5858
|
+
wo as ci,
|
|
5859
|
+
Co as cj,
|
|
5860
|
+
Eo as ck,
|
|
5861
|
+
Mo as cl,
|
|
5862
|
+
xo as cm,
|
|
5863
|
+
To as cn,
|
|
5864
|
+
Lo as co,
|
|
5865
|
+
Ao as cp,
|
|
5866
|
+
oo as cq,
|
|
5867
|
+
ie as cr,
|
|
5868
|
+
ro as cs,
|
|
5869
|
+
so as ct,
|
|
5870
|
+
ao as cu,
|
|
5871
|
+
lo as cv,
|
|
5872
|
+
ne as cw,
|
|
5873
|
+
K as cx,
|
|
5874
|
+
co as cy,
|
|
5875
|
+
fo as cz,
|
|
5775
5876
|
bt as d,
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5877
|
+
nt as d0,
|
|
5878
|
+
ot as d1,
|
|
5879
|
+
Zo as d2,
|
|
5880
|
+
z as d3,
|
|
5881
|
+
rt as d4,
|
|
5882
|
+
st as d5,
|
|
5883
|
+
at as d6,
|
|
5884
|
+
lt as d7,
|
|
5885
|
+
ct as d8,
|
|
5886
|
+
ft as d9,
|
|
5887
|
+
dt as da,
|
|
5888
|
+
te as db,
|
|
5889
|
+
ut as dc,
|
|
5890
|
+
Yo as dd,
|
|
5891
|
+
Fe as de,
|
|
5892
|
+
Bo as df,
|
|
5893
|
+
zo as dg,
|
|
5894
|
+
Wo as dh,
|
|
5895
|
+
Be as di,
|
|
5896
|
+
Go as dj,
|
|
5897
|
+
to as dk,
|
|
5898
|
+
io as dl,
|
|
5899
|
+
no as dm,
|
|
5900
|
+
pt as dn,
|
|
5901
|
+
mt as dp,
|
|
5902
|
+
ht as dq,
|
|
5903
|
+
yt as dr,
|
|
5904
|
+
w as ds,
|
|
5905
|
+
tr as dt,
|
|
5906
|
+
ir as du,
|
|
5907
|
+
C as dv,
|
|
5908
|
+
nr as dw,
|
|
5909
|
+
or as dx,
|
|
5910
|
+
qo as e,
|
|
5802
5911
|
P as f,
|
|
5803
5912
|
wt as g,
|
|
5804
5913
|
Ct as h,
|
|
5805
5914
|
Et as i,
|
|
5806
5915
|
St as j,
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5916
|
+
Jo as k,
|
|
5917
|
+
Qo as l,
|
|
5918
|
+
Mt as m,
|
|
5919
|
+
xt as n,
|
|
5920
|
+
er as o,
|
|
5812
5921
|
Lt as p,
|
|
5813
5922
|
Pt as q,
|
|
5814
|
-
|
|
5923
|
+
Po as r,
|
|
5815
5924
|
kt as s,
|
|
5816
5925
|
It as t,
|
|
5817
5926
|
$t as u,
|