@tachui/modifiers 0.8.24 → 0.8.26
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/index.js +1 -1
- package/dist/attributes/css-properties.d.ts.map +1 -1
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +1 -1
- package/dist/basic/base.d.ts.map +1 -1
- package/dist/basic/index.js +1 -1
- package/dist/basic/margin.js +1 -1
- package/dist/basic/padding.js +1 -1
- package/dist/basic/size.js +1 -1
- package/dist/effects/backdrop/index.js +1 -1
- package/dist/effects/effects/index.d.ts.map +1 -1
- package/dist/effects/index.d.ts +1 -1
- package/dist/effects/index.d.ts.map +1 -1
- package/dist/effects/index.js +116 -109
- package/dist/effects/transforms/index.js +5 -5
- package/dist/index.js +1 -1
- package/dist/interaction/index.js +1 -1
- package/dist/layout/fixed-size.d.ts.map +1 -1
- package/dist/layout/index.js +1 -1
- package/dist/layout/position.d.ts.map +1 -1
- package/dist/layout/z-index.d.ts.map +1 -1
- package/dist/{modifiers-basic-BEmXc_DS.js → modifiers-basic-CYNrEDIN.js} +1356 -1296
- package/dist/preload/backdrop.d.ts.map +1 -1
- package/dist/preload/backdrop.js +14 -4
- package/dist/preload/basic.d.ts +1 -0
- package/dist/preload/basic.d.ts.map +1 -1
- package/dist/preload/basic.js +1 -1
- package/dist/preload/effects.d.ts +1 -0
- package/dist/preload/effects.d.ts.map +1 -1
- package/dist/preload/effects.js +23 -21
- package/dist/preload/filters.d.ts.map +1 -1
- package/dist/preload/filters.js +60 -28
- package/dist/preload/shadows.d.ts.map +1 -1
- package/dist/preload/shadows.js +49 -22
- package/dist/preload/transforms.d.ts.map +1 -1
- package/dist/preload/transforms.js +56 -25
- package/dist/typography/index.js +1 -1
- package/dist/typography/text.js +1 -1
- package/dist/utility/index.js +1 -1
- package/package.json +9 -4
|
@@ -1,26 +1,38 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { globalModifierRegistry as
|
|
5
|
-
import { isSignal as p, isComputed as m, createEffect as b, getThemeSignal as
|
|
6
|
-
import { bindReactiveStyle as
|
|
7
|
-
import { shouldExpandForInfinity as
|
|
8
|
-
import { AnimationModifier as
|
|
9
|
-
import { gradientToCSS as
|
|
10
|
-
const
|
|
1
|
+
var He = Object.defineProperty;
|
|
2
|
+
var Ne = (o, s, e) => s in o ? He(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
|
|
3
|
+
var d = (o, s, e) => Ne(o, typeof s != "symbol" ? s + "" : s, e);
|
|
4
|
+
import { globalModifierRegistry as ze } from "@tachui/registry";
|
|
5
|
+
import { isSignal as p, isComputed as m, createEffect as b, getThemeSignal as j } from "@tachui/core/reactive";
|
|
6
|
+
import { bindReactiveStyle as ke } from "@tachui/core/modifiers/base";
|
|
7
|
+
import { shouldExpandForInfinity as ue, dimensionToCSS as L, isInfinity as A } from "@tachui/core/constants/layout";
|
|
8
|
+
import { AnimationModifier as oe, LifecycleModifier as Fe, LayoutModifier as pe, ResizableModifier as We, AppearanceModifier as B } from "@tachui/core/modifiers";
|
|
9
|
+
import { gradientToCSS as je } from "@tachui/core/gradients/css-generator";
|
|
10
|
+
const V = {
|
|
11
11
|
LAYOUT: 100,
|
|
12
12
|
APPEARANCE: 200,
|
|
13
13
|
INTERACTION: 300,
|
|
14
14
|
ANIMATION: 400,
|
|
15
15
|
CUSTOM: 500
|
|
16
|
-
},
|
|
17
|
-
let
|
|
18
|
-
function
|
|
19
|
-
|
|
16
|
+
}, xe = Symbol.for("tachui.modifier.instanceId"), Ue = "package";
|
|
17
|
+
let Me = 0;
|
|
18
|
+
function P(o) {
|
|
19
|
+
return typeof HTMLElement < "u" && o instanceof HTMLElement;
|
|
20
|
+
}
|
|
21
|
+
function z(o) {
|
|
22
|
+
return typeof o == "object" && o !== null && "style" in o && !!o.style;
|
|
23
|
+
}
|
|
24
|
+
function Q() {
|
|
25
|
+
return typeof document < "u";
|
|
26
|
+
}
|
|
27
|
+
function Ge() {
|
|
28
|
+
return typeof window < "u";
|
|
29
|
+
}
|
|
30
|
+
function Ke(o) {
|
|
31
|
+
const s = o[xe];
|
|
20
32
|
if (typeof s == "number") return s;
|
|
21
|
-
|
|
22
|
-
const e =
|
|
23
|
-
return Object.defineProperty(o,
|
|
33
|
+
Me += 1;
|
|
34
|
+
const e = Me;
|
|
35
|
+
return Object.defineProperty(o, xe, {
|
|
24
36
|
value: e,
|
|
25
37
|
enumerable: !1,
|
|
26
38
|
configurable: !1,
|
|
@@ -126,13 +138,13 @@ let g = class {
|
|
|
126
138
|
if (a !== void 0) {
|
|
127
139
|
const l = this.toCSSProperty(r);
|
|
128
140
|
if (p(a) || m(a)) {
|
|
129
|
-
const c = a, u =
|
|
130
|
-
|
|
141
|
+
const c = a, u = Ke(this);
|
|
142
|
+
ke({
|
|
131
143
|
element: s,
|
|
132
144
|
accessor: c,
|
|
133
|
-
updaterId: `${
|
|
134
|
-
updater: (
|
|
135
|
-
const h = this.toCSSValueForProperty(l,
|
|
145
|
+
updaterId: `${Ue}:${u}:${l}`,
|
|
146
|
+
updater: (f) => {
|
|
147
|
+
const h = this.toCSSValueForProperty(l, f);
|
|
136
148
|
n(l, h);
|
|
137
149
|
}
|
|
138
150
|
});
|
|
@@ -147,13 +159,13 @@ let g = class {
|
|
|
147
159
|
* Add CSS classes to an element
|
|
148
160
|
*/
|
|
149
161
|
addClasses(s, e) {
|
|
150
|
-
s
|
|
162
|
+
P(s) && s.classList.add(...e);
|
|
151
163
|
}
|
|
152
164
|
/**
|
|
153
165
|
* Remove CSS classes from an element
|
|
154
166
|
*/
|
|
155
167
|
removeClasses(s, e) {
|
|
156
|
-
s
|
|
168
|
+
P(s) && s.classList.remove(...e);
|
|
157
169
|
}
|
|
158
170
|
/**
|
|
159
171
|
* Create a style computation context
|
|
@@ -167,11 +179,11 @@ let g = class {
|
|
|
167
179
|
cleanup: []
|
|
168
180
|
};
|
|
169
181
|
}
|
|
170
|
-
},
|
|
182
|
+
}, Jo = class extends g {
|
|
171
183
|
constructor() {
|
|
172
184
|
super(...arguments);
|
|
173
|
-
|
|
174
|
-
|
|
185
|
+
d(this, "type", "layout");
|
|
186
|
+
d(this, "priority", V.LAYOUT);
|
|
175
187
|
}
|
|
176
188
|
apply(e, t) {
|
|
177
189
|
if (!e.element || !t.element) return;
|
|
@@ -185,7 +197,7 @@ let g = class {
|
|
|
185
197
|
);
|
|
186
198
|
this.applyStyles(t.element, n);
|
|
187
199
|
const r = this.properties;
|
|
188
|
-
r.offset && t.element
|
|
200
|
+
r.offset && P(t.element) && this.applyOffsetTransform(t.element, r.offset), r.aspectRatio && P(t.element) && this.applyAspectRatio(t.element, r.aspectRatio), r.scaleEffect && P(t.element) && this.applyScaleTransform(t.element, r.scaleEffect), r.position && P(t.element) && this.applyAbsolutePosition(t.element, r.position), r.zIndex !== void 0 && P(t.element) && this.applyZIndex(t.element, r.zIndex);
|
|
189
201
|
}
|
|
190
202
|
applyOffsetTransform(e, t) {
|
|
191
203
|
const { x: i, y: n } = t;
|
|
@@ -211,11 +223,11 @@ let g = class {
|
|
|
211
223
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
212
224
|
if (p(a) || m(a) || p(l) || m(l))
|
|
213
225
|
b(() => {
|
|
214
|
-
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l,
|
|
226
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, f = `scale(${c}, ${u})`;
|
|
215
227
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
216
228
|
r || "center"
|
|
217
229
|
);
|
|
218
|
-
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${
|
|
230
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${f}` : f;
|
|
219
231
|
e.style.transform = v;
|
|
220
232
|
});
|
|
221
233
|
else {
|
|
@@ -223,7 +235,7 @@ let g = class {
|
|
|
223
235
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
224
236
|
r || "center"
|
|
225
237
|
);
|
|
226
|
-
const
|
|
238
|
+
const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = f ? `${f} ${c}` : c;
|
|
227
239
|
e.style.transform = h;
|
|
228
240
|
}
|
|
229
241
|
}
|
|
@@ -261,7 +273,7 @@ let g = class {
|
|
|
261
273
|
computeLayoutStyles(e, t) {
|
|
262
274
|
const i = {};
|
|
263
275
|
if (e.frame) {
|
|
264
|
-
const n = e.frame, r =
|
|
276
|
+
const n = e.frame, r = ue(n);
|
|
265
277
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
266
278
|
const a = L(n.width);
|
|
267
279
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -333,11 +345,11 @@ let g = class {
|
|
|
333
345
|
}
|
|
334
346
|
return i;
|
|
335
347
|
}
|
|
336
|
-
},
|
|
348
|
+
}, er = class extends g {
|
|
337
349
|
constructor() {
|
|
338
350
|
super(...arguments);
|
|
339
|
-
|
|
340
|
-
|
|
351
|
+
d(this, "type", "appearance");
|
|
352
|
+
d(this, "priority", V.APPEARANCE);
|
|
341
353
|
}
|
|
342
354
|
apply(e, t) {
|
|
343
355
|
if (!e.element || !t.element)
|
|
@@ -358,7 +370,7 @@ let g = class {
|
|
|
358
370
|
* Apply Asset-based styles with theme reactivity
|
|
359
371
|
*/
|
|
360
372
|
applyAssetBasedStyles(e, t) {
|
|
361
|
-
const i =
|
|
373
|
+
const i = j();
|
|
362
374
|
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
363
375
|
i();
|
|
364
376
|
const n = t.foregroundColor.resolve();
|
|
@@ -419,11 +431,11 @@ let g = class {
|
|
|
419
431
|
const i = [];
|
|
420
432
|
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
433
|
}
|
|
422
|
-
},
|
|
434
|
+
}, ir = class extends g {
|
|
423
435
|
constructor() {
|
|
424
436
|
super(...arguments);
|
|
425
|
-
|
|
426
|
-
|
|
437
|
+
d(this, "type", "interaction");
|
|
438
|
+
d(this, "priority", V.INTERACTION);
|
|
427
439
|
}
|
|
428
440
|
apply(e, t) {
|
|
429
441
|
if (!t.element) return;
|
|
@@ -435,7 +447,7 @@ let g = class {
|
|
|
435
447
|
}), i.onInput && t.element.addEventListener("input", i.onInput), i.onChange && t.element.addEventListener("change", (n) => {
|
|
436
448
|
const r = n.target, a = r.value || r.textContent || "";
|
|
437
449
|
i.onChange(a, n);
|
|
438
|
-
}), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && t.element
|
|
450
|
+
}), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && P(t.element)) {
|
|
439
451
|
const n = t.element, r = (a) => {
|
|
440
452
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
441
453
|
};
|
|
@@ -444,7 +456,7 @@ let g = class {
|
|
|
444
456
|
r(a);
|
|
445
457
|
}) : r(!!i.disabled);
|
|
446
458
|
}
|
|
447
|
-
i.draggable !== void 0 && t.element
|
|
459
|
+
i.draggable !== void 0 && P(t.element) && (t.element.draggable = i.draggable), i.accessibilityLabel && t.element.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && t.element.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && this.setupLongPressGesture(t.element, i.onLongPressGesture), i.keyboardShortcut && this.setupKeyboardShortcut(t.element, i.keyboardShortcut), i.focused !== void 0 && this.setupFocusManagement(t.element, i.focused), i.focusable && this.setupFocusable(t.element, i.focusable), i.onContinuousHover && this.setupContinuousHover(t.element, i.onContinuousHover), i.allowsHitTesting !== void 0 && this.setupHitTesting(t.element, i.allowsHitTesting);
|
|
448
460
|
}
|
|
449
461
|
// Phase 4 Advanced Gesture Methods
|
|
450
462
|
/**
|
|
@@ -457,10 +469,10 @@ let g = class {
|
|
|
457
469
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
458
470
|
}, u = (v) => {
|
|
459
471
|
const S = v;
|
|
460
|
-
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
472
|
+
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Ge() ? window.setTimeout : setTimeout)(() => {
|
|
461
473
|
l && a && (t.perform(), c());
|
|
462
474
|
}, i);
|
|
463
|
-
},
|
|
475
|
+
}, f = (v) => {
|
|
464
476
|
const S = v;
|
|
465
477
|
if (!a || !l) return;
|
|
466
478
|
Math.sqrt(
|
|
@@ -471,7 +483,7 @@ let g = class {
|
|
|
471
483
|
}, y = () => {
|
|
472
484
|
c();
|
|
473
485
|
};
|
|
474
|
-
e.addEventListener("pointerdown", u), e.addEventListener("pointermove",
|
|
486
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", h), e.addEventListener(
|
|
475
487
|
"pointercancel",
|
|
476
488
|
y
|
|
477
489
|
), e._longPressCleanup = c;
|
|
@@ -493,19 +505,19 @@ let g = class {
|
|
|
493
505
|
shift: r.shiftKey,
|
|
494
506
|
alt: r.altKey
|
|
495
507
|
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
496
|
-
([
|
|
508
|
+
([f, h]) => h === l[f]
|
|
497
509
|
);
|
|
498
510
|
c && u && (r.preventDefault(), t.action());
|
|
499
511
|
};
|
|
500
|
-
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
512
|
+
Q() && (document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
501
513
|
document.removeEventListener("keydown", n);
|
|
502
|
-
};
|
|
514
|
+
});
|
|
503
515
|
}
|
|
504
516
|
/**
|
|
505
517
|
* Setup focus management with reactive binding
|
|
506
518
|
*/
|
|
507
519
|
setupFocusManagement(e, t) {
|
|
508
|
-
if (!(e
|
|
520
|
+
if (!P(e)) return;
|
|
509
521
|
const i = e;
|
|
510
522
|
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
511
523
|
t() ? i.focus() : i.blur();
|
|
@@ -515,7 +527,7 @@ let g = class {
|
|
|
515
527
|
* Setup focusable behavior
|
|
516
528
|
*/
|
|
517
529
|
setupFocusable(e, t) {
|
|
518
|
-
if (!(e
|
|
530
|
+
if (!P(e)) return;
|
|
519
531
|
const i = e;
|
|
520
532
|
t.isFocusable === !1 ? i.setAttribute("tabindex", "-1") : i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), t.interactions?.includes("activate") && i.addEventListener("keydown", (n) => {
|
|
521
533
|
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), i.click());
|
|
@@ -529,8 +541,8 @@ let g = class {
|
|
|
529
541
|
const l = a;
|
|
530
542
|
let c, u;
|
|
531
543
|
if (i === "local") {
|
|
532
|
-
const
|
|
533
|
-
c = l.clientX -
|
|
544
|
+
const f = e.getBoundingClientRect();
|
|
545
|
+
c = l.clientX - f.left, u = l.clientY - f.top;
|
|
534
546
|
} else
|
|
535
547
|
c = l.clientX, u = l.clientY;
|
|
536
548
|
t.perform({ x: c, y: u });
|
|
@@ -548,37 +560,37 @@ let g = class {
|
|
|
548
560
|
* Setup hit testing control
|
|
549
561
|
*/
|
|
550
562
|
setupHitTesting(e, t) {
|
|
551
|
-
e
|
|
563
|
+
P(e) && (e.style.pointerEvents = t ? "" : "none");
|
|
552
564
|
}
|
|
553
|
-
},
|
|
565
|
+
}, Ye = class extends g {
|
|
554
566
|
constructor() {
|
|
555
567
|
super(...arguments);
|
|
556
|
-
|
|
557
|
-
|
|
568
|
+
d(this, "type", "animation");
|
|
569
|
+
d(this, "priority", V.ANIMATION);
|
|
558
570
|
}
|
|
559
571
|
apply(e, t) {
|
|
560
572
|
if (!t.element) return;
|
|
561
573
|
const i = this.properties;
|
|
562
574
|
if (i.transition) {
|
|
563
575
|
const n = i.transition, r = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
|
|
564
|
-
t.element
|
|
576
|
+
z(t.element) && (r === "none" ? t.element.style.transition = "none" : t.element.style.transition = `${r} ${a}ms ${l} ${c}ms`);
|
|
565
577
|
}
|
|
566
|
-
if (i.animation && t.element
|
|
578
|
+
if (i.animation && z(t.element)) {
|
|
567
579
|
const n = i.animation;
|
|
568
|
-
if (n.keyframes) {
|
|
580
|
+
if (n.keyframes && Q()) {
|
|
569
581
|
const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
|
|
570
582
|
r,
|
|
571
583
|
n.keyframes
|
|
572
584
|
);
|
|
573
585
|
this.addKeyframesToStylesheet(a);
|
|
574
|
-
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1,
|
|
575
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${
|
|
586
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, f = n.direction || "normal";
|
|
587
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${f}`;
|
|
576
588
|
}
|
|
577
589
|
}
|
|
578
|
-
if (i.transform && t.element
|
|
590
|
+
if (i.transform && z(t.element) && (p(i.transform) || m(i.transform) ? b(() => {
|
|
579
591
|
const n = i.transform();
|
|
580
|
-
t.element
|
|
581
|
-
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element
|
|
592
|
+
z(t.element) && (t.element.style.transform = n);
|
|
593
|
+
}) : t.element.style.transform = i.transform), i.rotationEffect && z(t.element)) {
|
|
582
594
|
const { angle: n, anchor: r } = i.rotationEffect, l = {
|
|
583
595
|
center: "50% 50%",
|
|
584
596
|
top: "50% 0%",
|
|
@@ -592,24 +604,24 @@ let g = class {
|
|
|
592
604
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
593
605
|
if (p(n) || m(n))
|
|
594
606
|
b(() => {
|
|
595
|
-
const
|
|
596
|
-
if (t.element
|
|
607
|
+
const f = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
608
|
+
if (z(t.element)) {
|
|
597
609
|
t.element.style.transformOrigin = l;
|
|
598
|
-
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${
|
|
610
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${f}` : f;
|
|
599
611
|
t.element.style.transform = v;
|
|
600
612
|
}
|
|
601
613
|
});
|
|
602
|
-
else if (t.element
|
|
614
|
+
else if (z(t.element)) {
|
|
603
615
|
t.element.style.transformOrigin = l;
|
|
604
|
-
const
|
|
616
|
+
const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = f ? `${f} ${c}` : c;
|
|
605
617
|
t.element.style.transform = h;
|
|
606
618
|
}
|
|
607
619
|
}
|
|
608
|
-
i.overlay && t.element
|
|
620
|
+
i.overlay && P(t.element) && this.applyOverlay(t.element, i.overlay, t);
|
|
609
621
|
}
|
|
610
622
|
applyOverlay(e, t, i) {
|
|
611
623
|
const { content: n, alignment: r = "center" } = t;
|
|
612
|
-
(e.style.position === "" || e.style.position === "static") && (e.style.position = "relative");
|
|
624
|
+
if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !Q()) return;
|
|
613
625
|
const a = document.createElement("div");
|
|
614
626
|
a.style.position = "absolute", a.style.pointerEvents = "none";
|
|
615
627
|
const l = this.getOverlayAlignment(r);
|
|
@@ -622,7 +634,7 @@ let g = class {
|
|
|
622
634
|
} else if (n && typeof n.render == "function") {
|
|
623
635
|
const c = n.render();
|
|
624
636
|
c.element && a.appendChild(c.element);
|
|
625
|
-
} else n
|
|
637
|
+
} else P(n) && a.appendChild(n);
|
|
626
638
|
e.appendChild(a);
|
|
627
639
|
}
|
|
628
640
|
getOverlayAlignment(e) {
|
|
@@ -688,17 +700,18 @@ let g = class {
|
|
|
688
700
|
return i += "}", i;
|
|
689
701
|
}
|
|
690
702
|
addKeyframesToStylesheet(e) {
|
|
703
|
+
if (!Q()) return;
|
|
691
704
|
let t = document.querySelector(
|
|
692
705
|
"#tachui-animations"
|
|
693
706
|
);
|
|
694
707
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
695
708
|
}
|
|
696
|
-
},
|
|
709
|
+
}, rr = class extends g {
|
|
697
710
|
constructor() {
|
|
698
711
|
super(...arguments);
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
712
|
+
d(this, "type", "lifecycle");
|
|
713
|
+
d(this, "priority", V.CUSTOM);
|
|
714
|
+
d(this, "activeAbortController");
|
|
702
715
|
}
|
|
703
716
|
apply(e, t) {
|
|
704
717
|
if (!t.element) return;
|
|
@@ -743,7 +756,9 @@ let g = class {
|
|
|
743
756
|
setupRefreshable(e, t) {
|
|
744
757
|
if (!t) return;
|
|
745
758
|
let i = !1, n = 0, r = 0;
|
|
746
|
-
const a = 70
|
|
759
|
+
const a = 70;
|
|
760
|
+
if (!Q()) return;
|
|
761
|
+
const l = document.createElement("div");
|
|
747
762
|
if (l.style.cssText = `
|
|
748
763
|
position: absolute;
|
|
749
764
|
top: -50px;
|
|
@@ -768,10 +783,10 @@ let g = class {
|
|
|
768
783
|
`, document.head.appendChild(y);
|
|
769
784
|
}
|
|
770
785
|
const c = e.parentElement || e;
|
|
771
|
-
c
|
|
786
|
+
P(c) && (c.style.position = "relative", c.appendChild(l));
|
|
772
787
|
const u = (y) => {
|
|
773
788
|
i || (r = y.touches[0].clientY);
|
|
774
|
-
},
|
|
789
|
+
}, f = (y) => {
|
|
775
790
|
if (i) return;
|
|
776
791
|
const v = y.touches[0].clientY;
|
|
777
792
|
if (n = Math.max(0, v - r), n > 20) {
|
|
@@ -795,26 +810,26 @@ let g = class {
|
|
|
795
810
|
};
|
|
796
811
|
e.addEventListener("touchstart", u, {
|
|
797
812
|
passive: !1
|
|
798
|
-
}), e.addEventListener("touchmove",
|
|
813
|
+
}), e.addEventListener("touchmove", f, {
|
|
799
814
|
passive: !1
|
|
800
815
|
}), e.addEventListener("touchend", h), this.addCleanup(() => {
|
|
801
816
|
e.removeEventListener(
|
|
802
817
|
"touchstart",
|
|
803
818
|
u
|
|
804
|
-
), e.removeEventListener("touchmove",
|
|
819
|
+
), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
805
820
|
});
|
|
806
821
|
}
|
|
807
822
|
addCleanup(e) {
|
|
808
823
|
this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(e);
|
|
809
824
|
}
|
|
810
825
|
};
|
|
811
|
-
const
|
|
812
|
-
class
|
|
826
|
+
const Xe = "@tachui/modifiers", Ze = "0.8.26", ar = Xe, qe = Ze;
|
|
827
|
+
class D extends g {
|
|
813
828
|
// Optimized priority for internal spacing (before margin at 50)
|
|
814
829
|
constructor(e) {
|
|
815
830
|
super(e);
|
|
816
|
-
|
|
817
|
-
|
|
831
|
+
d(this, "type", "padding");
|
|
832
|
+
d(this, "priority", 45);
|
|
818
833
|
}
|
|
819
834
|
apply(e, t) {
|
|
820
835
|
if (!t.element) return;
|
|
@@ -839,118 +854,118 @@ class V extends g {
|
|
|
839
854
|
return t;
|
|
840
855
|
}
|
|
841
856
|
}
|
|
842
|
-
function
|
|
843
|
-
return p(o) || m(o) ? new
|
|
857
|
+
function x(o) {
|
|
858
|
+
return p(o) || m(o) ? new D({ all: o }) : typeof o == "number" || typeof o == "string" ? new D({ all: o }) : new D(o);
|
|
844
859
|
}
|
|
845
|
-
function
|
|
846
|
-
return new
|
|
860
|
+
function Je(o) {
|
|
861
|
+
return new D({ top: o });
|
|
847
862
|
}
|
|
848
|
-
function
|
|
849
|
-
return new
|
|
863
|
+
function Qe(o) {
|
|
864
|
+
return new D({ bottom: o });
|
|
850
865
|
}
|
|
851
|
-
function
|
|
852
|
-
return new
|
|
866
|
+
function et(o) {
|
|
867
|
+
return new D({ left: o });
|
|
853
868
|
}
|
|
854
|
-
function
|
|
855
|
-
return new
|
|
869
|
+
function tt(o) {
|
|
870
|
+
return new D({ right: o });
|
|
856
871
|
}
|
|
857
|
-
function
|
|
858
|
-
return new
|
|
872
|
+
function it(o) {
|
|
873
|
+
return new D({ leading: o });
|
|
859
874
|
}
|
|
860
|
-
function
|
|
861
|
-
return new
|
|
875
|
+
function nt(o) {
|
|
876
|
+
return new D({ trailing: o });
|
|
862
877
|
}
|
|
863
|
-
function
|
|
864
|
-
return new
|
|
878
|
+
function ot(o) {
|
|
879
|
+
return new D({ horizontal: o });
|
|
865
880
|
}
|
|
866
|
-
function
|
|
867
|
-
return new
|
|
881
|
+
function rt(o) {
|
|
882
|
+
return new D({ vertical: o });
|
|
868
883
|
}
|
|
869
|
-
const
|
|
884
|
+
const lr = {
|
|
870
885
|
/**
|
|
871
886
|
* Extra small padding (4px) - For tight spacing
|
|
872
887
|
*/
|
|
873
|
-
xs: () =>
|
|
888
|
+
xs: () => x(4),
|
|
874
889
|
/**
|
|
875
890
|
* Small padding (8px) - For compact components
|
|
876
891
|
*/
|
|
877
|
-
sm: () =>
|
|
892
|
+
sm: () => x(8),
|
|
878
893
|
/**
|
|
879
894
|
* Medium padding (12px) - Default comfortable spacing
|
|
880
895
|
*/
|
|
881
|
-
md: () =>
|
|
896
|
+
md: () => x(12),
|
|
882
897
|
/**
|
|
883
898
|
* Large padding (16px) - For prominent components
|
|
884
899
|
*/
|
|
885
|
-
lg: () =>
|
|
900
|
+
lg: () => x(16),
|
|
886
901
|
/**
|
|
887
902
|
* Extra large padding (24px) - For emphasis
|
|
888
903
|
*/
|
|
889
|
-
xl: () =>
|
|
904
|
+
xl: () => x(24),
|
|
890
905
|
/**
|
|
891
906
|
* Extra extra large padding (32px) - For major sections
|
|
892
907
|
*/
|
|
893
|
-
xxl: () =>
|
|
908
|
+
xxl: () => x(32),
|
|
894
909
|
/**
|
|
895
910
|
* Huge padding (48px) - For hero sections
|
|
896
911
|
*/
|
|
897
|
-
xxxl: () =>
|
|
912
|
+
xxxl: () => x(48),
|
|
898
913
|
// Semantic presets for common UI patterns
|
|
899
914
|
/**
|
|
900
915
|
* Button padding preset (horizontal: 16, vertical: 8)
|
|
901
916
|
* Optimized for interactive elements
|
|
902
917
|
*/
|
|
903
|
-
button: () =>
|
|
918
|
+
button: () => x({ horizontal: 16, vertical: 8 }),
|
|
904
919
|
/**
|
|
905
920
|
* Small button padding (horizontal: 12, vertical: 6)
|
|
906
921
|
*/
|
|
907
|
-
buttonSm: () =>
|
|
922
|
+
buttonSm: () => x({ horizontal: 12, vertical: 6 }),
|
|
908
923
|
/**
|
|
909
924
|
* Large button padding (horizontal: 24, vertical: 12)
|
|
910
925
|
*/
|
|
911
|
-
buttonLg: () =>
|
|
926
|
+
buttonLg: () => x({ horizontal: 24, vertical: 12 }),
|
|
912
927
|
/**
|
|
913
928
|
* Card padding preset (all: 16)
|
|
914
929
|
* Standard for card-like containers
|
|
915
930
|
*/
|
|
916
|
-
card: () =>
|
|
931
|
+
card: () => x(16),
|
|
917
932
|
/**
|
|
918
933
|
* Compact card padding (all: 12)
|
|
919
934
|
*/
|
|
920
|
-
cardSm: () =>
|
|
935
|
+
cardSm: () => x(12),
|
|
921
936
|
/**
|
|
922
937
|
* Spacious card padding (all: 24)
|
|
923
938
|
*/
|
|
924
|
-
cardLg: () =>
|
|
939
|
+
cardLg: () => x(24),
|
|
925
940
|
/**
|
|
926
941
|
* Section padding preset (horizontal: 20, vertical: 12)
|
|
927
942
|
* For content sections and layout blocks
|
|
928
943
|
*/
|
|
929
|
-
section: () =>
|
|
944
|
+
section: () => x({ horizontal: 20, vertical: 12 }),
|
|
930
945
|
/**
|
|
931
946
|
* Page padding preset (horizontal: 24, vertical: 16)
|
|
932
947
|
* For top-level page containers
|
|
933
948
|
*/
|
|
934
|
-
page: () =>
|
|
949
|
+
page: () => x({ horizontal: 24, vertical: 16 }),
|
|
935
950
|
/**
|
|
936
951
|
* Form field padding (horizontal: 12, vertical: 8)
|
|
937
952
|
*/
|
|
938
|
-
field: () =>
|
|
953
|
+
field: () => x({ horizontal: 12, vertical: 8 }),
|
|
939
954
|
/**
|
|
940
955
|
* Navigation item padding (horizontal: 16, vertical: 8)
|
|
941
956
|
*/
|
|
942
|
-
nav: () =>
|
|
957
|
+
nav: () => x({ horizontal: 16, vertical: 8 }),
|
|
943
958
|
/**
|
|
944
959
|
* List item padding (horizontal: 16, vertical: 12)
|
|
945
960
|
*/
|
|
946
|
-
listItem: () =>
|
|
961
|
+
listItem: () => x({ horizontal: 16, vertical: 12 })
|
|
947
962
|
};
|
|
948
|
-
class
|
|
963
|
+
class O extends g {
|
|
949
964
|
// Optimized priority for external spacing (after padding at 45)
|
|
950
965
|
constructor(e) {
|
|
951
966
|
super(e);
|
|
952
|
-
|
|
953
|
-
|
|
967
|
+
d(this, "type", "margin");
|
|
968
|
+
d(this, "priority", 50);
|
|
954
969
|
}
|
|
955
970
|
apply(e, t) {
|
|
956
971
|
if (!t.element) return;
|
|
@@ -975,123 +990,123 @@ class R extends g {
|
|
|
975
990
|
return t;
|
|
976
991
|
}
|
|
977
992
|
}
|
|
978
|
-
function
|
|
979
|
-
return typeof o == "number" || typeof o == "string" ? new
|
|
993
|
+
function M(o) {
|
|
994
|
+
return typeof o == "number" || typeof o == "string" ? new O({ all: o }) : new O(o);
|
|
980
995
|
}
|
|
981
|
-
function
|
|
982
|
-
return new
|
|
996
|
+
function st(o) {
|
|
997
|
+
return new O({ top: o });
|
|
983
998
|
}
|
|
984
|
-
function
|
|
985
|
-
return new
|
|
999
|
+
function at(o) {
|
|
1000
|
+
return new O({ bottom: o });
|
|
986
1001
|
}
|
|
987
|
-
function
|
|
988
|
-
return new
|
|
1002
|
+
function lt(o) {
|
|
1003
|
+
return new O({ left: o });
|
|
989
1004
|
}
|
|
990
|
-
function
|
|
991
|
-
return new
|
|
1005
|
+
function ct(o) {
|
|
1006
|
+
return new O({ right: o });
|
|
992
1007
|
}
|
|
993
|
-
function
|
|
994
|
-
return new
|
|
1008
|
+
function dt(o) {
|
|
1009
|
+
return new O({ leading: o });
|
|
995
1010
|
}
|
|
996
|
-
function
|
|
997
|
-
return new
|
|
1011
|
+
function ft(o) {
|
|
1012
|
+
return new O({ trailing: o });
|
|
998
1013
|
}
|
|
999
|
-
function
|
|
1000
|
-
return new
|
|
1014
|
+
function ut(o) {
|
|
1015
|
+
return new O({ horizontal: o });
|
|
1001
1016
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return new
|
|
1017
|
+
function pt(o) {
|
|
1018
|
+
return new O({ vertical: o });
|
|
1004
1019
|
}
|
|
1005
|
-
const
|
|
1020
|
+
const cr = {
|
|
1006
1021
|
/**
|
|
1007
1022
|
* Extra small margin (4px) - For tight spacing
|
|
1008
1023
|
*/
|
|
1009
|
-
xs: () =>
|
|
1024
|
+
xs: () => M(4),
|
|
1010
1025
|
/**
|
|
1011
1026
|
* Small margin (8px) - For compact components
|
|
1012
1027
|
*/
|
|
1013
|
-
sm: () =>
|
|
1028
|
+
sm: () => M(8),
|
|
1014
1029
|
/**
|
|
1015
1030
|
* Medium margin (12px) - Default comfortable spacing
|
|
1016
1031
|
*/
|
|
1017
|
-
md: () =>
|
|
1032
|
+
md: () => M(12),
|
|
1018
1033
|
/**
|
|
1019
1034
|
* Large margin (16px) - For prominent separation
|
|
1020
1035
|
*/
|
|
1021
|
-
lg: () =>
|
|
1036
|
+
lg: () => M(16),
|
|
1022
1037
|
/**
|
|
1023
1038
|
* Extra large margin (24px) - For emphasis
|
|
1024
1039
|
*/
|
|
1025
|
-
xl: () =>
|
|
1040
|
+
xl: () => M(24),
|
|
1026
1041
|
/**
|
|
1027
1042
|
* Extra extra large margin (32px) - For major sections
|
|
1028
1043
|
*/
|
|
1029
|
-
xxl: () =>
|
|
1044
|
+
xxl: () => M(32),
|
|
1030
1045
|
/**
|
|
1031
1046
|
* Huge margin (48px) - For hero sections
|
|
1032
1047
|
*/
|
|
1033
|
-
xxxl: () =>
|
|
1048
|
+
xxxl: () => M(48),
|
|
1034
1049
|
// Semantic presets for common UI patterns
|
|
1035
1050
|
/**
|
|
1036
1051
|
* Component separation (vertical: 16, horizontal: 0)
|
|
1037
1052
|
* For spacing between stacked components
|
|
1038
1053
|
*/
|
|
1039
|
-
component: () =>
|
|
1054
|
+
component: () => M({ vertical: 16, horizontal: 0 }),
|
|
1040
1055
|
/**
|
|
1041
1056
|
* Section separation (vertical: 24, horizontal: 0)
|
|
1042
1057
|
* For major content sections
|
|
1043
1058
|
*/
|
|
1044
|
-
section: () =>
|
|
1059
|
+
section: () => M({ vertical: 24, horizontal: 0 }),
|
|
1045
1060
|
/**
|
|
1046
1061
|
* Page margin (horizontal: auto)
|
|
1047
1062
|
* For centering page content
|
|
1048
1063
|
*/
|
|
1049
|
-
page: () =>
|
|
1064
|
+
page: () => M({ horizontal: "auto" }),
|
|
1050
1065
|
/**
|
|
1051
1066
|
* Card margin (all: 16)
|
|
1052
1067
|
* Standard margin around card components
|
|
1053
1068
|
*/
|
|
1054
|
-
card: () =>
|
|
1069
|
+
card: () => M(16),
|
|
1055
1070
|
/**
|
|
1056
1071
|
* Compact card margin (all: 8)
|
|
1057
1072
|
*/
|
|
1058
|
-
cardSm: () =>
|
|
1073
|
+
cardSm: () => M(8),
|
|
1059
1074
|
/**
|
|
1060
1075
|
* Spacious card margin (all: 24)
|
|
1061
1076
|
*/
|
|
1062
|
-
cardLg: () =>
|
|
1077
|
+
cardLg: () => M(24),
|
|
1063
1078
|
/**
|
|
1064
1079
|
* Button margin (horizontal: 8, vertical: 4)
|
|
1065
1080
|
* For spacing between inline buttons
|
|
1066
1081
|
*/
|
|
1067
|
-
button: () =>
|
|
1082
|
+
button: () => M({ horizontal: 8, vertical: 4 }),
|
|
1068
1083
|
/**
|
|
1069
1084
|
* List item margin (vertical: 8, horizontal: 0)
|
|
1070
1085
|
* For spacing between list items
|
|
1071
1086
|
*/
|
|
1072
|
-
listItem: () =>
|
|
1087
|
+
listItem: () => M({ vertical: 8, horizontal: 0 }),
|
|
1073
1088
|
/**
|
|
1074
1089
|
* Form field margin (vertical: 12, horizontal: 0)
|
|
1075
1090
|
* For spacing between form fields
|
|
1076
1091
|
*/
|
|
1077
|
-
field: () =>
|
|
1092
|
+
field: () => M({ vertical: 12, horizontal: 0 }),
|
|
1078
1093
|
/**
|
|
1079
1094
|
* Zero margin utility
|
|
1080
1095
|
* For removing default margins
|
|
1081
1096
|
*/
|
|
1082
|
-
none: () =>
|
|
1097
|
+
none: () => M(0),
|
|
1083
1098
|
/**
|
|
1084
1099
|
* Auto margin utility
|
|
1085
1100
|
* For centering elements
|
|
1086
1101
|
*/
|
|
1087
|
-
auto: () =>
|
|
1102
|
+
auto: () => M("auto")
|
|
1088
1103
|
};
|
|
1089
|
-
class
|
|
1104
|
+
class U extends g {
|
|
1090
1105
|
// Priority 80 for layout
|
|
1091
1106
|
constructor(e) {
|
|
1092
1107
|
super(e);
|
|
1093
|
-
|
|
1094
|
-
|
|
1108
|
+
d(this, "type", "size");
|
|
1109
|
+
d(this, "priority", 80);
|
|
1095
1110
|
}
|
|
1096
1111
|
apply(e, t) {
|
|
1097
1112
|
if (!t.element) return;
|
|
@@ -1099,7 +1114,7 @@ class z extends g {
|
|
|
1099
1114
|
this.applyStyles(t.element, i);
|
|
1100
1115
|
}
|
|
1101
1116
|
computeSizeStyles(e) {
|
|
1102
|
-
const t = {}, i =
|
|
1117
|
+
const t = {}, i = ue(e);
|
|
1103
1118
|
if (Object.assign(t, i.cssProps), e.width !== void 0) {
|
|
1104
1119
|
const n = L(e.width);
|
|
1105
1120
|
n !== void 0 && !A(e.width) && (t.width = n);
|
|
@@ -1127,46 +1142,46 @@ class z extends g {
|
|
|
1127
1142
|
return t;
|
|
1128
1143
|
}
|
|
1129
1144
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return new
|
|
1145
|
+
function mt(o) {
|
|
1146
|
+
return new U(o);
|
|
1132
1147
|
}
|
|
1133
|
-
function
|
|
1134
|
-
return new
|
|
1148
|
+
function ht(o) {
|
|
1149
|
+
return new U({ width: o });
|
|
1135
1150
|
}
|
|
1136
|
-
function
|
|
1137
|
-
return new
|
|
1151
|
+
function yt(o) {
|
|
1152
|
+
return new U({ height: o });
|
|
1138
1153
|
}
|
|
1139
|
-
function
|
|
1140
|
-
return new
|
|
1154
|
+
function gt(o) {
|
|
1155
|
+
return new U({ maxWidth: o });
|
|
1141
1156
|
}
|
|
1142
|
-
function
|
|
1143
|
-
return new
|
|
1157
|
+
function vt(o) {
|
|
1158
|
+
return new U({ minWidth: o });
|
|
1144
1159
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return new
|
|
1160
|
+
function bt(o) {
|
|
1161
|
+
return new U({ maxHeight: o });
|
|
1147
1162
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return new
|
|
1163
|
+
function St(o) {
|
|
1164
|
+
return new U({ minHeight: o });
|
|
1150
1165
|
}
|
|
1151
|
-
class
|
|
1166
|
+
class le extends Ye {
|
|
1152
1167
|
constructor() {
|
|
1153
1168
|
super(...arguments);
|
|
1154
1169
|
// Override type to be 'transition' instead of 'animation'
|
|
1155
|
-
|
|
1170
|
+
d(this, "type", "transition");
|
|
1156
1171
|
}
|
|
1157
1172
|
}
|
|
1158
|
-
function
|
|
1173
|
+
function wt(o, s, e, t) {
|
|
1159
1174
|
if (typeof o == "object")
|
|
1160
|
-
return new
|
|
1175
|
+
return new le({ transition: o });
|
|
1161
1176
|
const i = o;
|
|
1162
|
-
return i === "none" ? new
|
|
1177
|
+
return i === "none" ? new le({
|
|
1163
1178
|
transition: {
|
|
1164
1179
|
property: "none",
|
|
1165
1180
|
duration: 0,
|
|
1166
1181
|
easing: "ease",
|
|
1167
1182
|
delay: 0
|
|
1168
1183
|
}
|
|
1169
|
-
}) : new
|
|
1184
|
+
}) : new le({
|
|
1170
1185
|
transition: {
|
|
1171
1186
|
property: i,
|
|
1172
1187
|
duration: s || 300,
|
|
@@ -1175,24 +1190,24 @@ function ut(o, s, e, t) {
|
|
|
1175
1190
|
}
|
|
1176
1191
|
});
|
|
1177
1192
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return new
|
|
1193
|
+
function Ct(o) {
|
|
1194
|
+
return new oe({ transform: o });
|
|
1180
1195
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return o ? new
|
|
1196
|
+
function Et(o) {
|
|
1197
|
+
return o ? new oe({ animation: o }) : new oe({});
|
|
1183
1198
|
}
|
|
1184
|
-
function
|
|
1185
|
-
return new
|
|
1199
|
+
function xt(o) {
|
|
1200
|
+
return new oe({ transitions: o });
|
|
1186
1201
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return new
|
|
1202
|
+
function Mt(o) {
|
|
1203
|
+
return new Fe({ task: o });
|
|
1189
1204
|
}
|
|
1190
|
-
class
|
|
1205
|
+
class R extends g {
|
|
1191
1206
|
// Optimized priority for layout modifiers
|
|
1192
1207
|
constructor(e) {
|
|
1193
1208
|
super(e);
|
|
1194
|
-
|
|
1195
|
-
|
|
1209
|
+
d(this, "type", "flexbox");
|
|
1210
|
+
d(this, "priority", 60);
|
|
1196
1211
|
}
|
|
1197
1212
|
apply(e, t) {
|
|
1198
1213
|
if (!t.element) return;
|
|
@@ -1215,45 +1230,45 @@ class $ extends g {
|
|
|
1215
1230
|
}
|
|
1216
1231
|
}
|
|
1217
1232
|
function I(o) {
|
|
1218
|
-
return new
|
|
1233
|
+
return new R(o);
|
|
1219
1234
|
}
|
|
1220
|
-
function
|
|
1221
|
-
return new
|
|
1235
|
+
function Tt(o) {
|
|
1236
|
+
return new R({ flexGrow: o });
|
|
1222
1237
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return new
|
|
1238
|
+
function Lt(o) {
|
|
1239
|
+
return new R({ flexShrink: o });
|
|
1225
1240
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return new
|
|
1241
|
+
function At(o) {
|
|
1242
|
+
return new R({ flexBasis: o });
|
|
1228
1243
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return new
|
|
1244
|
+
function dr(o) {
|
|
1245
|
+
return new R({ flex: o });
|
|
1231
1246
|
}
|
|
1232
|
-
function
|
|
1233
|
-
return new
|
|
1247
|
+
function kt(o) {
|
|
1248
|
+
return new R({ justifyContent: o });
|
|
1234
1249
|
}
|
|
1235
|
-
function
|
|
1236
|
-
return new
|
|
1250
|
+
function It(o) {
|
|
1251
|
+
return new R({ alignItems: o });
|
|
1237
1252
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return new
|
|
1253
|
+
function Pt(o) {
|
|
1254
|
+
return new R({ alignSelf: o });
|
|
1240
1255
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return new
|
|
1256
|
+
function $t(o) {
|
|
1257
|
+
return new R({ gap: o });
|
|
1243
1258
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return new
|
|
1259
|
+
function fr(o) {
|
|
1260
|
+
return new R({ rowGap: o });
|
|
1246
1261
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return new
|
|
1262
|
+
function ur(o) {
|
|
1263
|
+
return new R({ columnGap: o });
|
|
1249
1264
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return new
|
|
1265
|
+
function Vt(o) {
|
|
1266
|
+
return new R({ flexDirection: o });
|
|
1252
1267
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return new
|
|
1268
|
+
function Rt(o) {
|
|
1269
|
+
return new R({ flexWrap: o });
|
|
1255
1270
|
}
|
|
1256
|
-
const
|
|
1271
|
+
const pr = {
|
|
1257
1272
|
/**
|
|
1258
1273
|
* Standard flex container
|
|
1259
1274
|
* Sets display: flex for basic flex container
|
|
@@ -1391,11 +1406,11 @@ const er = {
|
|
|
1391
1406
|
alignItems: "stretch"
|
|
1392
1407
|
})
|
|
1393
1408
|
};
|
|
1394
|
-
class
|
|
1409
|
+
class Dt extends g {
|
|
1395
1410
|
constructor() {
|
|
1396
1411
|
super(...arguments);
|
|
1397
|
-
|
|
1398
|
-
|
|
1412
|
+
d(this, "type", "offset");
|
|
1413
|
+
d(this, "priority", 35);
|
|
1399
1414
|
}
|
|
1400
1415
|
// High priority for transform operations
|
|
1401
1416
|
apply(e, t) {
|
|
@@ -1432,15 +1447,15 @@ class Tt extends g {
|
|
|
1432
1447
|
}
|
|
1433
1448
|
}
|
|
1434
1449
|
}
|
|
1435
|
-
function
|
|
1436
|
-
const e = new
|
|
1450
|
+
function Ot(o, s) {
|
|
1451
|
+
const e = new Dt({ x: o, y: s ?? 0 });
|
|
1437
1452
|
return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(o, s), e;
|
|
1438
1453
|
}
|
|
1439
|
-
class
|
|
1454
|
+
class _t extends g {
|
|
1440
1455
|
constructor() {
|
|
1441
1456
|
super(...arguments);
|
|
1442
|
-
|
|
1443
|
-
|
|
1457
|
+
d(this, "type", "scaleEffect");
|
|
1458
|
+
d(this, "priority", 35);
|
|
1444
1459
|
}
|
|
1445
1460
|
// High priority for transform operations
|
|
1446
1461
|
apply(e, t) {
|
|
@@ -1514,14 +1529,14 @@ class At extends g {
|
|
|
1514
1529
|
}
|
|
1515
1530
|
}
|
|
1516
1531
|
}
|
|
1517
|
-
function
|
|
1518
|
-
return new
|
|
1532
|
+
function Bt(o, s, e = "center") {
|
|
1533
|
+
return new _t({ x: o, y: s, anchor: e });
|
|
1519
1534
|
}
|
|
1520
|
-
class
|
|
1535
|
+
class Ie extends g {
|
|
1521
1536
|
constructor() {
|
|
1522
1537
|
super(...arguments);
|
|
1523
|
-
|
|
1524
|
-
|
|
1538
|
+
d(this, "type", "aspectRatio");
|
|
1539
|
+
d(this, "priority", 20);
|
|
1525
1540
|
}
|
|
1526
1541
|
// Medium priority for layout properties
|
|
1527
1542
|
apply(e, t) {
|
|
@@ -1578,7 +1593,7 @@ class Ce extends g {
|
|
|
1578
1593
|
/**
|
|
1579
1594
|
* Get common aspect ratios
|
|
1580
1595
|
*/
|
|
1581
|
-
|
|
1596
|
+
d(Ie, "COMMON_RATIOS", {
|
|
1582
1597
|
square: 1,
|
|
1583
1598
|
portrait: 3 / 4,
|
|
1584
1599
|
landscape: 4 / 3,
|
|
@@ -1587,14 +1602,17 @@ f(Ce, "COMMON_RATIOS", {
|
|
|
1587
1602
|
golden: 1.618,
|
|
1588
1603
|
photo: 3 / 2
|
|
1589
1604
|
});
|
|
1590
|
-
function
|
|
1591
|
-
return new
|
|
1605
|
+
function Ht(o, s = "fit") {
|
|
1606
|
+
return new Ie({ ratio: o, contentMode: s });
|
|
1592
1607
|
}
|
|
1593
|
-
|
|
1608
|
+
function Nt(o) {
|
|
1609
|
+
return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
|
|
1610
|
+
}
|
|
1611
|
+
class zt extends g {
|
|
1594
1612
|
constructor() {
|
|
1595
1613
|
super(...arguments);
|
|
1596
|
-
|
|
1597
|
-
|
|
1614
|
+
d(this, "type", "fixedSize");
|
|
1615
|
+
d(this, "priority", 25);
|
|
1598
1616
|
}
|
|
1599
1617
|
// Medium priority for layout properties
|
|
1600
1618
|
apply(e, t) {
|
|
@@ -1624,8 +1642,10 @@ class Pt extends g {
|
|
|
1624
1642
|
isFlexItem(e) {
|
|
1625
1643
|
const t = e.parentElement;
|
|
1626
1644
|
if (!t) return !1;
|
|
1627
|
-
const i =
|
|
1628
|
-
|
|
1645
|
+
const i = Nt(t);
|
|
1646
|
+
if (!i) return !1;
|
|
1647
|
+
const n = i.display;
|
|
1648
|
+
return n === "flex" || n === "inline-flex";
|
|
1629
1649
|
}
|
|
1630
1650
|
/**
|
|
1631
1651
|
* Development mode validation
|
|
@@ -1646,31 +1666,37 @@ class Pt extends g {
|
|
|
1646
1666
|
));
|
|
1647
1667
|
}
|
|
1648
1668
|
}
|
|
1649
|
-
function
|
|
1650
|
-
return new
|
|
1669
|
+
function Ft(o = !0, s = !0) {
|
|
1670
|
+
return new zt({ horizontal: o, vertical: s });
|
|
1651
1671
|
}
|
|
1652
|
-
function
|
|
1653
|
-
return new
|
|
1672
|
+
function Wt(o) {
|
|
1673
|
+
return new pe({ frame: o });
|
|
1654
1674
|
}
|
|
1655
|
-
function
|
|
1656
|
-
return new
|
|
1675
|
+
function jt(o) {
|
|
1676
|
+
return new pe({ layoutPriority: o });
|
|
1657
1677
|
}
|
|
1658
|
-
function
|
|
1659
|
-
return new
|
|
1678
|
+
function Ut(o, s) {
|
|
1679
|
+
return new pe({
|
|
1660
1680
|
position: {
|
|
1661
1681
|
x: o,
|
|
1662
1682
|
y: s
|
|
1663
1683
|
}
|
|
1664
1684
|
});
|
|
1665
1685
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return new
|
|
1686
|
+
function Gt() {
|
|
1687
|
+
return new We({});
|
|
1688
|
+
}
|
|
1689
|
+
function Kt() {
|
|
1690
|
+
return typeof document < "u";
|
|
1668
1691
|
}
|
|
1669
|
-
|
|
1692
|
+
function ce(o) {
|
|
1693
|
+
return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
|
|
1694
|
+
}
|
|
1695
|
+
class Yt extends g {
|
|
1670
1696
|
constructor() {
|
|
1671
1697
|
super(...arguments);
|
|
1672
|
-
|
|
1673
|
-
|
|
1698
|
+
d(this, "type", "position");
|
|
1699
|
+
d(this, "priority", 50);
|
|
1674
1700
|
}
|
|
1675
1701
|
// Highest priority to override other positioning
|
|
1676
1702
|
apply(e, t) {
|
|
@@ -1727,9 +1753,12 @@ class Ot extends g {
|
|
|
1727
1753
|
(t === "absolute" || t === "fixed") && (e.style.zIndex || (e.style.zIndex = "0"), e.style.transform || (e.style.transform = "translateZ(0)"));
|
|
1728
1754
|
}
|
|
1729
1755
|
warnIfMissingPositionedParent(e) {
|
|
1756
|
+
if (!Kt()) return;
|
|
1730
1757
|
let t = e.parentElement, i = !1;
|
|
1731
1758
|
for (; t && t !== document.body; ) {
|
|
1732
|
-
|
|
1759
|
+
const n = ce(t);
|
|
1760
|
+
if (!n) return;
|
|
1761
|
+
if (n.position !== "static") {
|
|
1733
1762
|
i = !0;
|
|
1734
1763
|
break;
|
|
1735
1764
|
}
|
|
@@ -1740,13 +1769,15 @@ class Ot extends g {
|
|
|
1740
1769
|
);
|
|
1741
1770
|
}
|
|
1742
1771
|
warnIfMissingStickyProperties(e) {
|
|
1743
|
-
const t =
|
|
1772
|
+
const t = ce(e);
|
|
1773
|
+
if (!t) return;
|
|
1744
1774
|
t.top !== "auto" || t.right !== "auto" || t.bottom !== "auto" || t.left !== "auto" || console.warn(
|
|
1745
1775
|
"PositionModifier: Sticky positioning requires at least one of top, right, bottom, or left to be set"
|
|
1746
1776
|
);
|
|
1747
1777
|
}
|
|
1748
1778
|
warnIfHasPositioningProperties(e) {
|
|
1749
|
-
const t =
|
|
1779
|
+
const t = ce(e);
|
|
1780
|
+
if (!t) return;
|
|
1750
1781
|
(t.top !== "auto" || t.right !== "auto" || t.bottom !== "auto" || t.left !== "auto") && console.warn(
|
|
1751
1782
|
"PositionModifier: Static positioning ignores top, right, bottom, and left properties"
|
|
1752
1783
|
);
|
|
@@ -1781,14 +1812,20 @@ class Ot extends g {
|
|
|
1781
1812
|
}
|
|
1782
1813
|
}
|
|
1783
1814
|
}
|
|
1784
|
-
function
|
|
1785
|
-
return new
|
|
1815
|
+
function Xt(o) {
|
|
1816
|
+
return new Yt({ position: o });
|
|
1817
|
+
}
|
|
1818
|
+
function Zt() {
|
|
1819
|
+
return typeof getComputedStyle == "function";
|
|
1786
1820
|
}
|
|
1787
|
-
|
|
1821
|
+
function ne(o) {
|
|
1822
|
+
return Zt() ? getComputedStyle(o) : null;
|
|
1823
|
+
}
|
|
1824
|
+
class Pe extends g {
|
|
1788
1825
|
constructor() {
|
|
1789
1826
|
super(...arguments);
|
|
1790
|
-
|
|
1791
|
-
|
|
1827
|
+
d(this, "type", "zIndex");
|
|
1828
|
+
d(this, "priority", 45);
|
|
1792
1829
|
}
|
|
1793
1830
|
// High priority for layering
|
|
1794
1831
|
apply(e, t) {
|
|
@@ -1803,7 +1840,9 @@ class Ee extends g {
|
|
|
1803
1840
|
e.style.zIndex = String(t), this.ensureStackingContext(e, t);
|
|
1804
1841
|
}
|
|
1805
1842
|
ensureStackingContext(e, t) {
|
|
1806
|
-
const
|
|
1843
|
+
const i = ne(e);
|
|
1844
|
+
if (!i) return;
|
|
1845
|
+
const r = i.position !== "static", a = this.isFlexItem(e), l = this.isGridItem(e);
|
|
1807
1846
|
!r && !a && !l && (e.style.position = "relative", typeof process < "u" && process.env.NODE_ENV === "development" && console.info(
|
|
1808
1847
|
"ZIndexModifier: Set position: relative on element to enable z-index stacking"
|
|
1809
1848
|
)), typeof process < "u" && process.env.NODE_ENV === "development" && this.provideStackingInsights(e, t);
|
|
@@ -1811,14 +1850,18 @@ class Ee extends g {
|
|
|
1811
1850
|
isFlexItem(e) {
|
|
1812
1851
|
const t = e.parentElement;
|
|
1813
1852
|
if (!t) return !1;
|
|
1814
|
-
const i =
|
|
1815
|
-
|
|
1853
|
+
const i = ne(t);
|
|
1854
|
+
if (!i) return !1;
|
|
1855
|
+
const n = i.display;
|
|
1856
|
+
return n === "flex" || n === "inline-flex";
|
|
1816
1857
|
}
|
|
1817
1858
|
isGridItem(e) {
|
|
1818
1859
|
const t = e.parentElement;
|
|
1819
1860
|
if (!t) return !1;
|
|
1820
|
-
const i =
|
|
1821
|
-
|
|
1861
|
+
const i = ne(t);
|
|
1862
|
+
if (!i) return !1;
|
|
1863
|
+
const n = i.display;
|
|
1864
|
+
return n === "grid" || n === "inline-grid";
|
|
1822
1865
|
}
|
|
1823
1866
|
provideStackingInsights(e, t) {
|
|
1824
1867
|
t < 0 ? console.info(
|
|
@@ -1828,7 +1871,9 @@ class Ee extends g {
|
|
|
1828
1871
|
), this.checkStackingContext(e);
|
|
1829
1872
|
}
|
|
1830
1873
|
checkStackingContext(e) {
|
|
1831
|
-
const t =
|
|
1874
|
+
const t = ne(e);
|
|
1875
|
+
if (!t) return;
|
|
1876
|
+
const n = [
|
|
1832
1877
|
{ prop: "opacity", value: t.opacity, creates: t.opacity !== "1" },
|
|
1833
1878
|
{
|
|
1834
1879
|
prop: "transform",
|
|
@@ -1876,7 +1921,7 @@ class Ee extends g {
|
|
|
1876
1921
|
/**
|
|
1877
1922
|
* Common z-index values for semantic layering
|
|
1878
1923
|
*/
|
|
1879
|
-
|
|
1924
|
+
d(Pe, "COMMON_LAYERS", {
|
|
1880
1925
|
background: -1,
|
|
1881
1926
|
base: 0,
|
|
1882
1927
|
content: 1,
|
|
@@ -1888,8 +1933,20 @@ f(Ee, "COMMON_LAYERS", {
|
|
|
1888
1933
|
toast: 600,
|
|
1889
1934
|
debug: 9999
|
|
1890
1935
|
});
|
|
1891
|
-
function
|
|
1892
|
-
return new
|
|
1936
|
+
function qt(o) {
|
|
1937
|
+
return new Pe({ zIndex: o });
|
|
1938
|
+
}
|
|
1939
|
+
function $(o) {
|
|
1940
|
+
return typeof HTMLElement < "u" && o instanceof HTMLElement;
|
|
1941
|
+
}
|
|
1942
|
+
function F(o) {
|
|
1943
|
+
return typeof o == "object" && o !== null && "style" in o && !!o.style;
|
|
1944
|
+
}
|
|
1945
|
+
function re() {
|
|
1946
|
+
return typeof document < "u";
|
|
1947
|
+
}
|
|
1948
|
+
function Jt() {
|
|
1949
|
+
return typeof window < "u";
|
|
1893
1950
|
}
|
|
1894
1951
|
class w {
|
|
1895
1952
|
constructor(s) {
|
|
@@ -1982,7 +2039,7 @@ class w {
|
|
|
1982
2039
|
"value type:",
|
|
1983
2040
|
typeof r
|
|
1984
2041
|
), b(() => {
|
|
1985
|
-
const l = this.isAssetValue(r) ? (
|
|
2042
|
+
const l = this.isAssetValue(r) ? (j()(), r.resolve()) : r();
|
|
1986
2043
|
console.log(
|
|
1987
2044
|
"BaseModifier reactive effect fired - property:",
|
|
1988
2045
|
a,
|
|
@@ -2004,7 +2061,7 @@ class w {
|
|
|
2004
2061
|
});
|
|
2005
2062
|
else {
|
|
2006
2063
|
const l = this.toCSSValueForProperty(a, r);
|
|
2007
|
-
if (process.env.NODE_ENV === "development" && a === "font-family" && (console.log("[AppearanceModifier.applyStyles] Setting font-family property:", a, "value:", l), console.log("[AppearanceModifier.applyStyles] Element:", s), console.log("[AppearanceModifier.applyStyles] Current computed font-family:", getComputedStyle(s).fontFamily)), i.setProperty)
|
|
2064
|
+
if (process.env.NODE_ENV === "development" && a === "font-family" && (console.log("[AppearanceModifier.applyStyles] Setting font-family property:", a, "value:", l), console.log("[AppearanceModifier.applyStyles] Element:", s), typeof getComputedStyle == "function" && console.log("[AppearanceModifier.applyStyles] Current computed font-family:", getComputedStyle(s).fontFamily)), i.setProperty)
|
|
2008
2065
|
if (typeof l == "string" && l.includes("!important")) {
|
|
2009
2066
|
const c = l.replace(/\s*!important\s*$/, "").trim();
|
|
2010
2067
|
i.setProperty(a, c, "important");
|
|
@@ -2020,13 +2077,13 @@ class w {
|
|
|
2020
2077
|
* Add CSS classes to an element
|
|
2021
2078
|
*/
|
|
2022
2079
|
addClasses(s, e) {
|
|
2023
|
-
s
|
|
2080
|
+
$(s) && s.classList.add(...e);
|
|
2024
2081
|
}
|
|
2025
2082
|
/**
|
|
2026
2083
|
* Remove CSS classes from an element
|
|
2027
2084
|
*/
|
|
2028
2085
|
removeClasses(s, e) {
|
|
2029
|
-
s
|
|
2086
|
+
$(s) && s.classList.remove(...e);
|
|
2030
2087
|
}
|
|
2031
2088
|
/**
|
|
2032
2089
|
* Create a style computation context
|
|
@@ -2041,11 +2098,11 @@ class w {
|
|
|
2041
2098
|
};
|
|
2042
2099
|
}
|
|
2043
2100
|
}
|
|
2044
|
-
class
|
|
2101
|
+
class mr extends w {
|
|
2045
2102
|
constructor() {
|
|
2046
2103
|
super(...arguments);
|
|
2047
|
-
|
|
2048
|
-
|
|
2104
|
+
d(this, "type", "layout");
|
|
2105
|
+
d(this, "priority", V.LAYOUT);
|
|
2049
2106
|
}
|
|
2050
2107
|
apply(e, t) {
|
|
2051
2108
|
if (!e.element || !t.element) return;
|
|
@@ -2059,7 +2116,7 @@ class tr extends w {
|
|
|
2059
2116
|
);
|
|
2060
2117
|
this.applyStyles(t.element, n);
|
|
2061
2118
|
const r = this.properties;
|
|
2062
|
-
r.offset && t.element
|
|
2119
|
+
r.offset && $(t.element) && this.applyOffsetTransform(t.element, r.offset), r.aspectRatio && $(t.element) && this.applyAspectRatio(t.element, r.aspectRatio), r.scaleEffect && $(t.element) && this.applyScaleTransform(t.element, r.scaleEffect), r.position && $(t.element) && this.applyAbsolutePosition(t.element, r.position), r.zIndex !== void 0 && $(t.element) && this.applyZIndex(t.element, r.zIndex);
|
|
2063
2120
|
}
|
|
2064
2121
|
applyOffsetTransform(e, t) {
|
|
2065
2122
|
const { x: i, y: n } = t;
|
|
@@ -2085,11 +2142,11 @@ class tr extends w {
|
|
|
2085
2142
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
2086
2143
|
if (p(a) || m(a) || p(l) || m(l))
|
|
2087
2144
|
b(() => {
|
|
2088
|
-
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l,
|
|
2145
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, f = `scale(${c}, ${u})`;
|
|
2089
2146
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2090
2147
|
r || "center"
|
|
2091
2148
|
);
|
|
2092
|
-
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${
|
|
2149
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${f}` : f;
|
|
2093
2150
|
e.style.transform = v;
|
|
2094
2151
|
});
|
|
2095
2152
|
else {
|
|
@@ -2097,7 +2154,7 @@ class tr extends w {
|
|
|
2097
2154
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2098
2155
|
r || "center"
|
|
2099
2156
|
);
|
|
2100
|
-
const
|
|
2157
|
+
const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = f ? `${f} ${c}` : c;
|
|
2101
2158
|
e.style.transform = h;
|
|
2102
2159
|
}
|
|
2103
2160
|
}
|
|
@@ -2135,7 +2192,7 @@ class tr extends w {
|
|
|
2135
2192
|
computeLayoutStyles(e, t) {
|
|
2136
2193
|
const i = {};
|
|
2137
2194
|
if (e.frame) {
|
|
2138
|
-
const n = e.frame, r =
|
|
2195
|
+
const n = e.frame, r = ue(n);
|
|
2139
2196
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
2140
2197
|
const a = L(n.width);
|
|
2141
2198
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -2208,11 +2265,11 @@ class tr extends w {
|
|
|
2208
2265
|
return i;
|
|
2209
2266
|
}
|
|
2210
2267
|
}
|
|
2211
|
-
class
|
|
2268
|
+
class hr extends w {
|
|
2212
2269
|
constructor() {
|
|
2213
2270
|
super(...arguments);
|
|
2214
|
-
|
|
2215
|
-
|
|
2271
|
+
d(this, "type", "appearance");
|
|
2272
|
+
d(this, "priority", V.APPEARANCE);
|
|
2216
2273
|
}
|
|
2217
2274
|
apply(e, t) {
|
|
2218
2275
|
if (process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Called with properties:", Object.keys(this.properties)), !e.element || !t.element) {
|
|
@@ -2239,7 +2296,7 @@ class ir extends w {
|
|
|
2239
2296
|
* Apply Asset-based styles with theme reactivity
|
|
2240
2297
|
*/
|
|
2241
2298
|
applyAssetBasedStyles(e, t) {
|
|
2242
|
-
const i =
|
|
2299
|
+
const i = j();
|
|
2243
2300
|
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
2244
2301
|
i();
|
|
2245
2302
|
const n = t.foregroundColor.resolve();
|
|
@@ -2334,8 +2391,8 @@ class ir extends w {
|
|
|
2334
2391
|
class C extends w {
|
|
2335
2392
|
constructor() {
|
|
2336
2393
|
super(...arguments);
|
|
2337
|
-
|
|
2338
|
-
|
|
2394
|
+
d(this, "type", "interaction");
|
|
2395
|
+
d(this, "priority", V.INTERACTION);
|
|
2339
2396
|
}
|
|
2340
2397
|
apply(e, t) {
|
|
2341
2398
|
if (!t.element) return;
|
|
@@ -2360,8 +2417,8 @@ class C extends w {
|
|
|
2360
2417
|
), t.element.addEventListener(
|
|
2361
2418
|
"touchend",
|
|
2362
2419
|
(a) => {
|
|
2363
|
-
const c = a.changedTouches[0], u = c.clientX - n,
|
|
2364
|
-
Math.abs(u) > Math.abs(
|
|
2420
|
+
const c = a.changedTouches[0], u = c.clientX - n, f = c.clientY - r;
|
|
2421
|
+
Math.abs(u) > Math.abs(f) && Math.abs(u) > 50 && (u < 0 && i.onSwipeLeft ? i.onSwipeLeft() : u > 0 && i.onSwipeRight && i.onSwipeRight());
|
|
2365
2422
|
},
|
|
2366
2423
|
{ passive: !0 }
|
|
2367
2424
|
);
|
|
@@ -2373,7 +2430,7 @@ class C extends w {
|
|
|
2373
2430
|
}), i.onInput && t.element.addEventListener("input", i.onInput), i.onChange && t.element.addEventListener("change", (n) => {
|
|
2374
2431
|
const r = n.target, a = r.value || r.textContent || "";
|
|
2375
2432
|
i.onChange(a, n);
|
|
2376
|
-
}), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && t.element
|
|
2433
|
+
}), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && $(t.element)) {
|
|
2377
2434
|
const n = t.element, r = (a) => {
|
|
2378
2435
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
2379
2436
|
};
|
|
@@ -2381,7 +2438,7 @@ class C extends w {
|
|
|
2381
2438
|
r(!!i.disabled());
|
|
2382
2439
|
}) : r(!!i.disabled);
|
|
2383
2440
|
}
|
|
2384
|
-
i.draggable !== void 0 && t.element
|
|
2441
|
+
i.draggable !== void 0 && $(t.element) && (t.element.draggable = i.draggable), i.accessibilityLabel && t.element.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && t.element.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && this.setupLongPressGesture(t.element, i.onLongPressGesture), i.keyboardShortcut && this.setupKeyboardShortcut(t.element, i.keyboardShortcut), i.focused !== void 0 && this.setupFocusManagement(t.element, i.focused), i.focusable && this.setupFocusable(t.element, i.focusable), i.onContinuousHover && this.setupContinuousHover(t.element, i.onContinuousHover), i.allowsHitTesting !== void 0 && this.setupHitTesting(t.element, i.allowsHitTesting);
|
|
2385
2442
|
}
|
|
2386
2443
|
// Phase 4 Advanced Gesture Methods
|
|
2387
2444
|
/**
|
|
@@ -2394,10 +2451,10 @@ class C extends w {
|
|
|
2394
2451
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
2395
2452
|
}, u = (v) => {
|
|
2396
2453
|
const S = v;
|
|
2397
|
-
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
2454
|
+
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Jt() ? window.setTimeout : setTimeout)(() => {
|
|
2398
2455
|
l && a && (t.perform(), c());
|
|
2399
2456
|
}, i);
|
|
2400
|
-
},
|
|
2457
|
+
}, f = (v) => {
|
|
2401
2458
|
const S = v;
|
|
2402
2459
|
if (!a || !l) return;
|
|
2403
2460
|
Math.sqrt(
|
|
@@ -2408,7 +2465,7 @@ class C extends w {
|
|
|
2408
2465
|
}, y = () => {
|
|
2409
2466
|
c();
|
|
2410
2467
|
};
|
|
2411
|
-
e.addEventListener("pointerdown", u), e.addEventListener("pointermove",
|
|
2468
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", h), e.addEventListener(
|
|
2412
2469
|
"pointercancel",
|
|
2413
2470
|
y
|
|
2414
2471
|
), e._longPressCleanup = c;
|
|
@@ -2430,19 +2487,19 @@ class C extends w {
|
|
|
2430
2487
|
shift: r.shiftKey,
|
|
2431
2488
|
alt: r.altKey
|
|
2432
2489
|
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
2433
|
-
([
|
|
2490
|
+
([f, h]) => h === l[f]
|
|
2434
2491
|
);
|
|
2435
2492
|
c && u && (r.preventDefault(), t.action());
|
|
2436
2493
|
};
|
|
2437
|
-
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
2494
|
+
re() && (document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
2438
2495
|
document.removeEventListener("keydown", n);
|
|
2439
|
-
};
|
|
2496
|
+
});
|
|
2440
2497
|
}
|
|
2441
2498
|
/**
|
|
2442
2499
|
* Setup focus management with reactive binding
|
|
2443
2500
|
*/
|
|
2444
2501
|
setupFocusManagement(e, t) {
|
|
2445
|
-
if (
|
|
2502
|
+
if (!$(e)) return;
|
|
2446
2503
|
const i = e;
|
|
2447
2504
|
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
2448
2505
|
t() ? i.focus() : i.blur();
|
|
@@ -2452,7 +2509,7 @@ class C extends w {
|
|
|
2452
2509
|
* Setup focusable behavior
|
|
2453
2510
|
*/
|
|
2454
2511
|
setupFocusable(e, t) {
|
|
2455
|
-
if (
|
|
2512
|
+
if (!$(e)) return;
|
|
2456
2513
|
const i = e;
|
|
2457
2514
|
t.isFocusable === !1 ? i.setAttribute("tabindex", "-1") : i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), t.interactions?.includes("activate") && i.addEventListener("keydown", (n) => {
|
|
2458
2515
|
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), i.click());
|
|
@@ -2466,8 +2523,8 @@ class C extends w {
|
|
|
2466
2523
|
const l = a;
|
|
2467
2524
|
let c, u;
|
|
2468
2525
|
if (i === "local") {
|
|
2469
|
-
const
|
|
2470
|
-
c = l.clientX -
|
|
2526
|
+
const f = e.getBoundingClientRect();
|
|
2527
|
+
c = l.clientX - f.left, u = l.clientY - f.top;
|
|
2471
2528
|
} else
|
|
2472
2529
|
c = l.clientX, u = l.clientY;
|
|
2473
2530
|
t.perform({ x: c, y: u });
|
|
@@ -2485,38 +2542,38 @@ class C extends w {
|
|
|
2485
2542
|
* Setup hit testing control
|
|
2486
2543
|
*/
|
|
2487
2544
|
setupHitTesting(e, t) {
|
|
2488
|
-
e
|
|
2545
|
+
$(e) && (e.style.pointerEvents = t ? "" : "none");
|
|
2489
2546
|
}
|
|
2490
2547
|
}
|
|
2491
|
-
class
|
|
2548
|
+
class yr extends w {
|
|
2492
2549
|
constructor() {
|
|
2493
2550
|
super(...arguments);
|
|
2494
|
-
|
|
2495
|
-
|
|
2551
|
+
d(this, "type", "animation");
|
|
2552
|
+
d(this, "priority", V.ANIMATION);
|
|
2496
2553
|
}
|
|
2497
2554
|
apply(e, t) {
|
|
2498
2555
|
if (!t.element) return;
|
|
2499
2556
|
const i = this.properties;
|
|
2500
2557
|
if (i.transition) {
|
|
2501
2558
|
const n = i.transition, r = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
|
|
2502
|
-
t.element
|
|
2559
|
+
F(t.element) && (t.element.style.transition = `${r} ${a}ms ${l} ${c}ms`);
|
|
2503
2560
|
}
|
|
2504
|
-
if (i.animation && t.element
|
|
2561
|
+
if (i.animation && F(t.element)) {
|
|
2505
2562
|
const n = i.animation;
|
|
2506
|
-
if (n.keyframes) {
|
|
2563
|
+
if (n.keyframes && typeof document < "u") {
|
|
2507
2564
|
const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
|
|
2508
2565
|
r,
|
|
2509
2566
|
n.keyframes
|
|
2510
2567
|
);
|
|
2511
2568
|
this.addKeyframesToStylesheet(a);
|
|
2512
|
-
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1,
|
|
2513
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${
|
|
2569
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, f = n.direction || "normal";
|
|
2570
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${f}`;
|
|
2514
2571
|
}
|
|
2515
2572
|
}
|
|
2516
|
-
if (i.transform && t.element
|
|
2573
|
+
if (i.transform && F(t.element) && (p(i.transform) || m(i.transform) ? b(() => {
|
|
2517
2574
|
const n = i.transform();
|
|
2518
|
-
t.element
|
|
2519
|
-
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element
|
|
2575
|
+
F(t.element) && (t.element.style.transform = n);
|
|
2576
|
+
}) : t.element.style.transform = i.transform), i.rotationEffect && F(t.element)) {
|
|
2520
2577
|
const { angle: n, anchor: r } = i.rotationEffect, l = {
|
|
2521
2578
|
center: "50% 50%",
|
|
2522
2579
|
top: "50% 0%",
|
|
@@ -2530,24 +2587,24 @@ class nr extends w {
|
|
|
2530
2587
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
2531
2588
|
if (p(n) || m(n))
|
|
2532
2589
|
b(() => {
|
|
2533
|
-
const
|
|
2534
|
-
if (t.element
|
|
2590
|
+
const f = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
2591
|
+
if (F(t.element)) {
|
|
2535
2592
|
t.element.style.transformOrigin = l;
|
|
2536
|
-
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${
|
|
2593
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${f}` : f;
|
|
2537
2594
|
t.element.style.transform = v;
|
|
2538
2595
|
}
|
|
2539
2596
|
});
|
|
2540
|
-
else if (t.element
|
|
2597
|
+
else if (F(t.element)) {
|
|
2541
2598
|
t.element.style.transformOrigin = l;
|
|
2542
|
-
const
|
|
2599
|
+
const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = f ? `${f} ${c}` : c;
|
|
2543
2600
|
t.element.style.transform = h;
|
|
2544
2601
|
}
|
|
2545
2602
|
}
|
|
2546
|
-
i.overlay && t.element
|
|
2603
|
+
i.overlay && $(t.element) && this.applyOverlay(t.element, i.overlay, t);
|
|
2547
2604
|
}
|
|
2548
2605
|
applyOverlay(e, t, i) {
|
|
2549
2606
|
const { content: n, alignment: r = "center" } = t;
|
|
2550
|
-
(e.style.position === "" || e.style.position === "static") && (e.style.position = "relative");
|
|
2607
|
+
if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !re()) return;
|
|
2551
2608
|
const a = document.createElement("div");
|
|
2552
2609
|
a.style.position = "absolute", a.style.pointerEvents = "none";
|
|
2553
2610
|
const l = this.getOverlayAlignment(r);
|
|
@@ -2560,7 +2617,7 @@ class nr extends w {
|
|
|
2560
2617
|
} else if (n && typeof n.render == "function") {
|
|
2561
2618
|
const c = n.render();
|
|
2562
2619
|
c.element && a.appendChild(c.element);
|
|
2563
|
-
} else n
|
|
2620
|
+
} else $(n) && a.appendChild(n);
|
|
2564
2621
|
e.appendChild(a);
|
|
2565
2622
|
}
|
|
2566
2623
|
getOverlayAlignment(e) {
|
|
@@ -2626,20 +2683,21 @@ class nr extends w {
|
|
|
2626
2683
|
return i += "}", i;
|
|
2627
2684
|
}
|
|
2628
2685
|
addKeyframesToStylesheet(e) {
|
|
2686
|
+
if (!re()) return;
|
|
2629
2687
|
let t = document.querySelector(
|
|
2630
2688
|
"#tachui-animations"
|
|
2631
2689
|
);
|
|
2632
2690
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
2633
2691
|
}
|
|
2634
2692
|
}
|
|
2635
|
-
class
|
|
2693
|
+
class gr extends w {
|
|
2636
2694
|
constructor() {
|
|
2637
2695
|
super(...arguments);
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2696
|
+
d(this, "type", "lifecycle");
|
|
2697
|
+
d(this, "priority", V.CUSTOM);
|
|
2698
|
+
d(this, "activeAbortController");
|
|
2641
2699
|
// Cleanup helpers
|
|
2642
|
-
|
|
2700
|
+
d(this, "cleanupFunctions", []);
|
|
2643
2701
|
}
|
|
2644
2702
|
apply(e, t) {
|
|
2645
2703
|
if (!t.element) return;
|
|
@@ -2684,7 +2742,9 @@ class or extends w {
|
|
|
2684
2742
|
setupRefreshable(e, t) {
|
|
2685
2743
|
if (!t) return;
|
|
2686
2744
|
let i = !1, n = 0, r = 0;
|
|
2687
|
-
const a = 70
|
|
2745
|
+
const a = 70;
|
|
2746
|
+
if (!re()) return;
|
|
2747
|
+
const l = document.createElement("div");
|
|
2688
2748
|
if (l.style.cssText = `
|
|
2689
2749
|
position: absolute;
|
|
2690
2750
|
top: -50px;
|
|
@@ -2709,10 +2769,10 @@ class or extends w {
|
|
|
2709
2769
|
`, document.head.appendChild(y);
|
|
2710
2770
|
}
|
|
2711
2771
|
const c = e.parentElement || e;
|
|
2712
|
-
c
|
|
2772
|
+
$(c) && (c.style.position = "relative", c.appendChild(l));
|
|
2713
2773
|
const u = (y) => {
|
|
2714
2774
|
i || (r = y.touches[0].clientY);
|
|
2715
|
-
},
|
|
2775
|
+
}, f = (y) => {
|
|
2716
2776
|
if (i) return;
|
|
2717
2777
|
const v = y.touches[0].clientY;
|
|
2718
2778
|
if (n = Math.max(0, v - r), n > 20) {
|
|
@@ -2736,7 +2796,7 @@ class or extends w {
|
|
|
2736
2796
|
};
|
|
2737
2797
|
e.addEventListener("touchstart", u, {
|
|
2738
2798
|
passive: !0
|
|
2739
|
-
}), e.addEventListener("touchmove",
|
|
2799
|
+
}), e.addEventListener("touchmove", f, {
|
|
2740
2800
|
passive: !1
|
|
2741
2801
|
}), e.addEventListener("touchend", h, {
|
|
2742
2802
|
passive: !0
|
|
@@ -2744,7 +2804,7 @@ class or extends w {
|
|
|
2744
2804
|
e.removeEventListener(
|
|
2745
2805
|
"touchstart",
|
|
2746
2806
|
u
|
|
2747
|
-
), e.removeEventListener("touchmove",
|
|
2807
|
+
), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
2748
2808
|
});
|
|
2749
2809
|
}
|
|
2750
2810
|
addCleanup(e) {
|
|
@@ -2754,11 +2814,11 @@ class or extends w {
|
|
|
2754
2814
|
this.cleanupFunctions.forEach((e) => e()), this.cleanupFunctions = [];
|
|
2755
2815
|
}
|
|
2756
2816
|
}
|
|
2757
|
-
class
|
|
2817
|
+
class Te extends w {
|
|
2758
2818
|
constructor() {
|
|
2759
2819
|
super(...arguments);
|
|
2760
|
-
|
|
2761
|
-
|
|
2820
|
+
d(this, "type", "overlay");
|
|
2821
|
+
d(this, "priority", 10);
|
|
2762
2822
|
}
|
|
2763
2823
|
// Apply late so positioning is relative to final layout
|
|
2764
2824
|
apply(e, t) {
|
|
@@ -2780,8 +2840,8 @@ class ve extends w {
|
|
|
2780
2840
|
"center"
|
|
2781
2841
|
), r = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
|
|
2782
2842
|
this.clearPositionStyles(e);
|
|
2783
|
-
const c = r ?? n, u = r !== void 0 ? c : n,
|
|
2784
|
-
Object.assign(e.style,
|
|
2843
|
+
const c = r ?? n, u = r !== void 0 ? c : n, f = this.getOverlayAlignment(u);
|
|
2844
|
+
Object.assign(e.style, f), this.applyOffset(e, c, a), e.style.display = l ? "" : "none";
|
|
2785
2845
|
};
|
|
2786
2846
|
if (this.isReactive(this.properties.alignment) || this.isReactive(this.properties.side) || this.isReactive(this.properties.offset) || this.isReactive(this.properties.enabled)) {
|
|
2787
2847
|
b(() => {
|
|
@@ -2903,20 +2963,20 @@ class ve extends w {
|
|
|
2903
2963
|
return t[e] || t.center;
|
|
2904
2964
|
}
|
|
2905
2965
|
}
|
|
2906
|
-
function
|
|
2907
|
-
return typeof s == "object" && s !== null && !p(s) && !m(s) ? new
|
|
2966
|
+
function Qt(o, s = "center") {
|
|
2967
|
+
return typeof s == "object" && s !== null && !p(s) && !m(s) ? new Te({
|
|
2908
2968
|
content: o,
|
|
2909
2969
|
...s
|
|
2910
|
-
}) : new
|
|
2970
|
+
}) : new Te({
|
|
2911
2971
|
content: o,
|
|
2912
2972
|
alignment: s
|
|
2913
2973
|
});
|
|
2914
2974
|
}
|
|
2915
|
-
class
|
|
2975
|
+
class $e extends g {
|
|
2916
2976
|
constructor() {
|
|
2917
2977
|
super(...arguments);
|
|
2918
|
-
|
|
2919
|
-
|
|
2978
|
+
d(this, "type", "background");
|
|
2979
|
+
d(this, "priority", 95);
|
|
2920
2980
|
}
|
|
2921
2981
|
apply(e, t) {
|
|
2922
2982
|
if (!t.element) return;
|
|
@@ -2950,7 +3010,7 @@ class Me extends g {
|
|
|
2950
3010
|
* This mirrors the core AppearanceModifier pattern
|
|
2951
3011
|
*/
|
|
2952
3012
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
2953
|
-
const n =
|
|
3013
|
+
const n = j();
|
|
2954
3014
|
b(() => {
|
|
2955
3015
|
n();
|
|
2956
3016
|
const r = i.resolve();
|
|
@@ -2963,7 +3023,7 @@ class Me extends g {
|
|
|
2963
3023
|
resolveBackgroundValue(e) {
|
|
2964
3024
|
if (e != null) {
|
|
2965
3025
|
if (this.isGradientDefinition(e))
|
|
2966
|
-
return
|
|
3026
|
+
return je(e);
|
|
2967
3027
|
if (this.isAssetValue(e)) {
|
|
2968
3028
|
const t = e.resolve();
|
|
2969
3029
|
return typeof t == "string" ? t : String(t);
|
|
@@ -2983,24 +3043,24 @@ class Me extends g {
|
|
|
2983
3043
|
disabled: t.disabled ? this.resolveBackgroundValue(
|
|
2984
3044
|
t.disabled
|
|
2985
3045
|
) : void 0
|
|
2986
|
-
}, r = (
|
|
2987
|
-
if (!
|
|
2988
|
-
const h = n[
|
|
3046
|
+
}, r = (f) => {
|
|
3047
|
+
if (!f) return;
|
|
3048
|
+
const h = n[f];
|
|
2989
3049
|
h !== void 0 && this.applyStyleChange(e, i, h);
|
|
2990
3050
|
}, a = () => this.isElementDisabled(e) && n.disabled ? "disabled" : n.focus && this.matchesSelector(e, ":focus") ? "focus" : "default", l = () => {
|
|
2991
|
-
const
|
|
2992
|
-
if (!
|
|
2993
|
-
const h =
|
|
2994
|
-
e.style.transition =
|
|
2995
|
-
const
|
|
2996
|
-
|
|
3051
|
+
const f = t.animation;
|
|
3052
|
+
if (!f) return;
|
|
3053
|
+
const h = f.duration ?? 200, y = f.easing ?? "ease", v = f.delay ?? 0, N = `${i === "backgroundColor" ? "background-color" : "background"} ${h}ms ${y} ${v}ms`;
|
|
3054
|
+
e.style.transition = N;
|
|
3055
|
+
const K = e.style.cssText || "";
|
|
3056
|
+
K.includes("transition") || (e.style.cssText = `${K}${K ? ";" : ""}transition: ${N};`);
|
|
2997
3057
|
}, c = () => {
|
|
2998
|
-
const
|
|
2999
|
-
if (
|
|
3058
|
+
const f = a();
|
|
3059
|
+
if (f === "focus" && this.matchesSelector(e, ":hover") && n.hover) {
|
|
3000
3060
|
r("hover");
|
|
3001
3061
|
return;
|
|
3002
3062
|
}
|
|
3003
|
-
r(
|
|
3063
|
+
r(f);
|
|
3004
3064
|
}, u = () => {
|
|
3005
3065
|
if (this.isElementDisabled(e) && n.disabled) {
|
|
3006
3066
|
r("disabled");
|
|
@@ -3044,16 +3104,16 @@ class Me extends g {
|
|
|
3044
3104
|
return !!(e.hasAttribute && e.hasAttribute("disabled") || e.getAttribute && e.getAttribute("aria-disabled") === "true");
|
|
3045
3105
|
}
|
|
3046
3106
|
}
|
|
3047
|
-
const
|
|
3107
|
+
const ei = {
|
|
3048
3108
|
repeat: "no-repeat",
|
|
3049
3109
|
size: "cover",
|
|
3050
3110
|
position: "center"
|
|
3051
3111
|
};
|
|
3052
|
-
class
|
|
3112
|
+
class ti extends g {
|
|
3053
3113
|
constructor() {
|
|
3054
3114
|
super(...arguments);
|
|
3055
|
-
|
|
3056
|
-
|
|
3115
|
+
d(this, "type", "backgroundImage");
|
|
3116
|
+
d(this, "priority", 94);
|
|
3057
3117
|
}
|
|
3058
3118
|
apply(e, t) {
|
|
3059
3119
|
if (!t.element) return;
|
|
@@ -3075,7 +3135,7 @@ class Ft extends g {
|
|
|
3075
3135
|
return e === "tile" ? "repeat" : e;
|
|
3076
3136
|
}
|
|
3077
3137
|
applyImageAssetWithThemeReactivity(e, t) {
|
|
3078
|
-
const i =
|
|
3138
|
+
const i = j();
|
|
3079
3139
|
b(() => {
|
|
3080
3140
|
i();
|
|
3081
3141
|
const r = t.resolve().replace(/["\\]/g, "\\$&");
|
|
@@ -3083,11 +3143,11 @@ class Ft extends g {
|
|
|
3083
3143
|
});
|
|
3084
3144
|
}
|
|
3085
3145
|
}
|
|
3086
|
-
class
|
|
3146
|
+
class Ve extends g {
|
|
3087
3147
|
constructor() {
|
|
3088
3148
|
super(...arguments);
|
|
3089
|
-
|
|
3090
|
-
|
|
3149
|
+
d(this, "type", "backgroundClip");
|
|
3150
|
+
d(this, "priority", 40);
|
|
3091
3151
|
}
|
|
3092
3152
|
apply(e, t) {
|
|
3093
3153
|
if (!t.element) return;
|
|
@@ -3099,36 +3159,36 @@ class xe extends g {
|
|
|
3099
3159
|
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;
|
|
3100
3160
|
}
|
|
3101
3161
|
}
|
|
3102
|
-
function
|
|
3103
|
-
return new
|
|
3162
|
+
function ii(o) {
|
|
3163
|
+
return new $e({
|
|
3104
3164
|
background: o,
|
|
3105
3165
|
cssProperty: "backgroundColor"
|
|
3106
3166
|
});
|
|
3107
3167
|
}
|
|
3108
|
-
function
|
|
3109
|
-
return new
|
|
3168
|
+
function ni(o) {
|
|
3169
|
+
return new $e({
|
|
3110
3170
|
background: o,
|
|
3111
3171
|
cssProperty: "background"
|
|
3112
3172
|
});
|
|
3113
3173
|
}
|
|
3114
|
-
function
|
|
3115
|
-
return new
|
|
3174
|
+
function oi(o, s = {}) {
|
|
3175
|
+
return new ti({
|
|
3116
3176
|
source: o,
|
|
3117
3177
|
options: {
|
|
3118
|
-
...
|
|
3178
|
+
...ei,
|
|
3119
3179
|
...s
|
|
3120
3180
|
}
|
|
3121
3181
|
});
|
|
3122
3182
|
}
|
|
3123
|
-
function
|
|
3124
|
-
return new
|
|
3183
|
+
function vr(o, s = "text", e = "transparent") {
|
|
3184
|
+
return new Ve({
|
|
3125
3185
|
backgroundImage: o,
|
|
3126
3186
|
backgroundClip: s,
|
|
3127
3187
|
color: e
|
|
3128
3188
|
});
|
|
3129
3189
|
}
|
|
3130
|
-
function
|
|
3131
|
-
return new
|
|
3190
|
+
function Z(o) {
|
|
3191
|
+
return new Ve({
|
|
3132
3192
|
backgroundImage: o,
|
|
3133
3193
|
backgroundClip: "text",
|
|
3134
3194
|
webkitBackgroundClip: "text",
|
|
@@ -3136,38 +3196,38 @@ function G(o) {
|
|
|
3136
3196
|
webkitTextFillColor: "transparent"
|
|
3137
3197
|
});
|
|
3138
3198
|
}
|
|
3139
|
-
function
|
|
3140
|
-
return
|
|
3199
|
+
function br() {
|
|
3200
|
+
return Z("linear-gradient(45deg, #007AFF, #5856D6)");
|
|
3141
3201
|
}
|
|
3142
|
-
function
|
|
3143
|
-
return
|
|
3202
|
+
function Sr() {
|
|
3203
|
+
return Z(
|
|
3144
3204
|
"linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff80, #0080ff, #8000ff)"
|
|
3145
3205
|
);
|
|
3146
3206
|
}
|
|
3147
|
-
function
|
|
3148
|
-
return
|
|
3207
|
+
function wr() {
|
|
3208
|
+
return Z("linear-gradient(45deg, #ff6b6b, #feca57, #ff9ff3)");
|
|
3149
3209
|
}
|
|
3150
|
-
function
|
|
3151
|
-
return
|
|
3210
|
+
function Cr() {
|
|
3211
|
+
return Z("linear-gradient(45deg, #667eea, #764ba2)");
|
|
3152
3212
|
}
|
|
3153
|
-
function
|
|
3154
|
-
return
|
|
3213
|
+
function Er() {
|
|
3214
|
+
return Z("linear-gradient(45deg, #f7971e, #ffd200)");
|
|
3155
3215
|
}
|
|
3156
|
-
class
|
|
3216
|
+
class ri extends g {
|
|
3157
3217
|
constructor() {
|
|
3158
3218
|
super(...arguments);
|
|
3159
|
-
|
|
3160
|
-
|
|
3219
|
+
d(this, "type", "blendMode");
|
|
3220
|
+
d(this, "priority", 92);
|
|
3161
3221
|
}
|
|
3162
3222
|
apply(e, t) {
|
|
3163
3223
|
t.element && this.applyStyleChange(t.element, "mixBlendMode", this.properties.mode);
|
|
3164
3224
|
}
|
|
3165
3225
|
}
|
|
3166
|
-
class
|
|
3226
|
+
class si extends g {
|
|
3167
3227
|
constructor() {
|
|
3168
3228
|
super(...arguments);
|
|
3169
|
-
|
|
3170
|
-
|
|
3229
|
+
d(this, "type", "backgroundBlendMode");
|
|
3230
|
+
d(this, "priority", 93);
|
|
3171
3231
|
}
|
|
3172
3232
|
apply(e, t) {
|
|
3173
3233
|
t.element && this.applyStyleChange(
|
|
@@ -3177,30 +3237,30 @@ class Kt extends g {
|
|
|
3177
3237
|
);
|
|
3178
3238
|
}
|
|
3179
3239
|
}
|
|
3180
|
-
function
|
|
3181
|
-
return new
|
|
3240
|
+
function ai(o) {
|
|
3241
|
+
return new ri({ mode: o });
|
|
3182
3242
|
}
|
|
3183
|
-
function
|
|
3184
|
-
return new
|
|
3243
|
+
function li(o) {
|
|
3244
|
+
return new si({ mode: o });
|
|
3185
3245
|
}
|
|
3186
|
-
class
|
|
3246
|
+
class ci extends g {
|
|
3187
3247
|
constructor() {
|
|
3188
3248
|
super(...arguments);
|
|
3189
|
-
|
|
3190
|
-
|
|
3249
|
+
d(this, "type", "compositingGroup");
|
|
3250
|
+
d(this, "priority", 91);
|
|
3191
3251
|
}
|
|
3192
3252
|
apply(e, t) {
|
|
3193
3253
|
t.element && this.applyStyleChange(t.element, "isolation", "isolate");
|
|
3194
3254
|
}
|
|
3195
3255
|
}
|
|
3196
|
-
function
|
|
3197
|
-
return new
|
|
3256
|
+
function di() {
|
|
3257
|
+
return new ci({});
|
|
3198
3258
|
}
|
|
3199
|
-
class
|
|
3259
|
+
class _ extends g {
|
|
3200
3260
|
constructor() {
|
|
3201
3261
|
super(...arguments);
|
|
3202
|
-
|
|
3203
|
-
|
|
3262
|
+
d(this, "type", "border");
|
|
3263
|
+
d(this, "priority", 40);
|
|
3204
3264
|
}
|
|
3205
3265
|
apply(e, t) {
|
|
3206
3266
|
if (!t.element) return;
|
|
@@ -3211,7 +3271,7 @@ class D extends g {
|
|
|
3211
3271
|
const i = this.computeAssetColorStyles(t);
|
|
3212
3272
|
if (Object.keys(i).length === 0)
|
|
3213
3273
|
return;
|
|
3214
|
-
const n =
|
|
3274
|
+
const n = j();
|
|
3215
3275
|
b(() => {
|
|
3216
3276
|
n(), Object.entries(i).forEach(([r, a]) => {
|
|
3217
3277
|
this.applyStyleChange(e, r, a.resolve());
|
|
@@ -3244,11 +3304,11 @@ class D extends g {
|
|
|
3244
3304
|
return typeof e == "number" ? `${e}px` : e;
|
|
3245
3305
|
}
|
|
3246
3306
|
}
|
|
3247
|
-
class
|
|
3307
|
+
class fi extends g {
|
|
3248
3308
|
constructor() {
|
|
3249
3309
|
super(...arguments);
|
|
3250
|
-
|
|
3251
|
-
|
|
3310
|
+
d(this, "type", "cornerRadius");
|
|
3311
|
+
d(this, "priority", 35);
|
|
3252
3312
|
}
|
|
3253
3313
|
apply(e, t) {
|
|
3254
3314
|
if (!t.element) return;
|
|
@@ -3289,45 +3349,45 @@ class Jt extends g {
|
|
|
3289
3349
|
return typeof e == "number" ? `${e}px` : e;
|
|
3290
3350
|
}
|
|
3291
3351
|
}
|
|
3292
|
-
function
|
|
3293
|
-
return typeof o == "number" || typeof o == "string" ? new
|
|
3352
|
+
function ui(o, s, e) {
|
|
3353
|
+
return typeof o == "number" || typeof o == "string" ? new _({
|
|
3294
3354
|
width: o,
|
|
3295
3355
|
color: s || "currentColor",
|
|
3296
3356
|
style: e || "solid"
|
|
3297
|
-
}) : new
|
|
3357
|
+
}) : new _(o);
|
|
3298
3358
|
}
|
|
3299
|
-
function
|
|
3300
|
-
return new
|
|
3359
|
+
function pi(o, s, e) {
|
|
3360
|
+
return new _({ top: { width: o, color: s, style: e } });
|
|
3301
3361
|
}
|
|
3302
|
-
function
|
|
3303
|
-
return new
|
|
3362
|
+
function mi(o, s, e) {
|
|
3363
|
+
return new _({ right: { width: o, color: s, style: e } });
|
|
3304
3364
|
}
|
|
3305
|
-
function
|
|
3306
|
-
return new
|
|
3365
|
+
function hi(o, s, e) {
|
|
3366
|
+
return new _({ bottom: { width: o, color: s, style: e } });
|
|
3307
3367
|
}
|
|
3308
|
-
function
|
|
3309
|
-
return new
|
|
3368
|
+
function yi(o, s, e) {
|
|
3369
|
+
return new _({ left: { width: o, color: s, style: e } });
|
|
3310
3370
|
}
|
|
3311
|
-
function
|
|
3312
|
-
return new
|
|
3371
|
+
function xr(o, s, e) {
|
|
3372
|
+
return new _({ leading: { width: o, color: s, style: e } });
|
|
3313
3373
|
}
|
|
3314
|
-
function
|
|
3315
|
-
return new
|
|
3374
|
+
function Mr(o, s, e) {
|
|
3375
|
+
return new _({ trailing: { width: o, color: s, style: e } });
|
|
3316
3376
|
}
|
|
3317
|
-
function
|
|
3318
|
-
return new
|
|
3377
|
+
function Tr(o, s, e) {
|
|
3378
|
+
return new _({ horizontal: { width: o, color: s, style: e } });
|
|
3319
3379
|
}
|
|
3320
|
-
function
|
|
3321
|
-
return new
|
|
3380
|
+
function Lr(o, s, e) {
|
|
3381
|
+
return new _({ vertical: { width: o, color: s, style: e } });
|
|
3322
3382
|
}
|
|
3323
|
-
function
|
|
3324
|
-
return new
|
|
3383
|
+
function Ar(o) {
|
|
3384
|
+
return new fi({ radius: o });
|
|
3325
3385
|
}
|
|
3326
|
-
class
|
|
3386
|
+
class Re extends g {
|
|
3327
3387
|
constructor() {
|
|
3328
3388
|
super(...arguments);
|
|
3329
|
-
|
|
3330
|
-
|
|
3389
|
+
d(this, "type", "foreground");
|
|
3390
|
+
d(this, "priority", 90);
|
|
3331
3391
|
}
|
|
3332
3392
|
apply(e, t) {
|
|
3333
3393
|
if (t.element)
|
|
@@ -3351,7 +3411,7 @@ class Te extends g {
|
|
|
3351
3411
|
* This mirrors the core AppearanceModifier pattern
|
|
3352
3412
|
*/
|
|
3353
3413
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
3354
|
-
const n =
|
|
3414
|
+
const n = j();
|
|
3355
3415
|
b(() => {
|
|
3356
3416
|
n();
|
|
3357
3417
|
const r = i.resolve();
|
|
@@ -3359,17 +3419,17 @@ class Te extends g {
|
|
|
3359
3419
|
});
|
|
3360
3420
|
}
|
|
3361
3421
|
}
|
|
3362
|
-
function
|
|
3363
|
-
return new
|
|
3422
|
+
function gi(o) {
|
|
3423
|
+
return new Re({ color: o });
|
|
3364
3424
|
}
|
|
3365
|
-
function
|
|
3366
|
-
return new
|
|
3425
|
+
function kr(o) {
|
|
3426
|
+
return new Re({ color: o });
|
|
3367
3427
|
}
|
|
3368
|
-
class
|
|
3428
|
+
class vi extends g {
|
|
3369
3429
|
constructor() {
|
|
3370
3430
|
super(...arguments);
|
|
3371
|
-
|
|
3372
|
-
|
|
3431
|
+
d(this, "type", "clip-shape");
|
|
3432
|
+
d(this, "priority", 90);
|
|
3373
3433
|
}
|
|
3374
3434
|
apply(e, t) {
|
|
3375
3435
|
if (!t.element) return;
|
|
@@ -3397,14 +3457,14 @@ class ri extends g {
|
|
|
3397
3457
|
}
|
|
3398
3458
|
}
|
|
3399
3459
|
}
|
|
3400
|
-
function
|
|
3401
|
-
return new
|
|
3460
|
+
function bi(o, s) {
|
|
3461
|
+
return new vi({ shape: o, parameters: s || {} });
|
|
3402
3462
|
}
|
|
3403
|
-
class
|
|
3463
|
+
class Si extends g {
|
|
3404
3464
|
constructor() {
|
|
3405
3465
|
super(...arguments);
|
|
3406
|
-
|
|
3407
|
-
|
|
3466
|
+
d(this, "type", "clipped");
|
|
3467
|
+
d(this, "priority", 89);
|
|
3408
3468
|
}
|
|
3409
3469
|
apply(e, t) {
|
|
3410
3470
|
if (!t.element) return;
|
|
@@ -3412,38 +3472,38 @@ class ai extends g {
|
|
|
3412
3472
|
i.style && (this.properties.clipped ? i.style.overflow = "hidden" : i.style.overflow = "");
|
|
3413
3473
|
}
|
|
3414
3474
|
}
|
|
3415
|
-
function
|
|
3416
|
-
return new
|
|
3475
|
+
function wi(o = !0) {
|
|
3476
|
+
return new Si({ clipped: o });
|
|
3417
3477
|
}
|
|
3418
|
-
function
|
|
3419
|
-
return new
|
|
3478
|
+
function Ci(o) {
|
|
3479
|
+
return new B({ opacity: o });
|
|
3420
3480
|
}
|
|
3421
|
-
function
|
|
3422
|
-
return new
|
|
3481
|
+
function Ei(o) {
|
|
3482
|
+
return new B({ cornerRadius: o });
|
|
3423
3483
|
}
|
|
3424
|
-
function
|
|
3425
|
-
return new
|
|
3484
|
+
function xi(o) {
|
|
3485
|
+
return new B({ font: { family: o } });
|
|
3426
3486
|
}
|
|
3427
|
-
function
|
|
3428
|
-
return new
|
|
3487
|
+
function Mi(o) {
|
|
3488
|
+
return new B({ font: { size: o } });
|
|
3429
3489
|
}
|
|
3430
|
-
function
|
|
3431
|
-
return new
|
|
3490
|
+
function Ti(o) {
|
|
3491
|
+
return new B({ font: { weight: o } });
|
|
3432
3492
|
}
|
|
3433
|
-
function
|
|
3434
|
-
return new
|
|
3493
|
+
function Li(o) {
|
|
3494
|
+
return new B({ font: { style: o } });
|
|
3435
3495
|
}
|
|
3436
|
-
function
|
|
3437
|
-
return new
|
|
3496
|
+
function Ai(o) {
|
|
3497
|
+
return new B({ font: o });
|
|
3438
3498
|
}
|
|
3439
|
-
const
|
|
3440
|
-
let
|
|
3441
|
-
function
|
|
3442
|
-
const s = o[
|
|
3499
|
+
const ki = "typography", Le = Symbol.for("tachui.typography.instanceId");
|
|
3500
|
+
let Ae = 0;
|
|
3501
|
+
function Ii(o) {
|
|
3502
|
+
const s = o[Le];
|
|
3443
3503
|
if (typeof s == "number") return s;
|
|
3444
|
-
|
|
3445
|
-
const e =
|
|
3446
|
-
return Object.defineProperty(o,
|
|
3504
|
+
Ae += 1;
|
|
3505
|
+
const e = Ae;
|
|
3506
|
+
return Object.defineProperty(o, Le, {
|
|
3447
3507
|
value: e,
|
|
3448
3508
|
enumerable: !1,
|
|
3449
3509
|
configurable: !1,
|
|
@@ -3453,8 +3513,8 @@ function gi(o) {
|
|
|
3453
3513
|
class k extends g {
|
|
3454
3514
|
constructor() {
|
|
3455
3515
|
super(...arguments);
|
|
3456
|
-
|
|
3457
|
-
|
|
3516
|
+
d(this, "type", "typography");
|
|
3517
|
+
d(this, "priority", 30);
|
|
3458
3518
|
}
|
|
3459
3519
|
apply(e, t) {
|
|
3460
3520
|
if (!t.element) return;
|
|
@@ -3481,16 +3541,16 @@ class k extends g {
|
|
|
3481
3541
|
}
|
|
3482
3542
|
const c = t.replace(
|
|
3483
3543
|
/-([a-z])/g,
|
|
3484
|
-
(u,
|
|
3544
|
+
(u, f) => f.toUpperCase()
|
|
3485
3545
|
);
|
|
3486
3546
|
n[c] = l;
|
|
3487
3547
|
};
|
|
3488
3548
|
if (p(i) || m(i)) {
|
|
3489
|
-
const a = i, l =
|
|
3490
|
-
|
|
3549
|
+
const a = i, l = Ii(this);
|
|
3550
|
+
ke({
|
|
3491
3551
|
element: e,
|
|
3492
3552
|
accessor: a,
|
|
3493
|
-
updaterId: `${
|
|
3553
|
+
updaterId: `${ki}:${l}:${t}`,
|
|
3494
3554
|
updater: (c) => {
|
|
3495
3555
|
r(c);
|
|
3496
3556
|
}
|
|
@@ -3516,57 +3576,57 @@ class k extends g {
|
|
|
3516
3576
|
return e === "leading" ? "start" : e === "trailing" ? "end" : e;
|
|
3517
3577
|
}
|
|
3518
3578
|
}
|
|
3519
|
-
function
|
|
3579
|
+
function Pi(o) {
|
|
3520
3580
|
return new k(o);
|
|
3521
3581
|
}
|
|
3522
|
-
function
|
|
3582
|
+
function $i(o) {
|
|
3523
3583
|
return new k({ align: o });
|
|
3524
3584
|
}
|
|
3525
|
-
function
|
|
3585
|
+
function De(o) {
|
|
3526
3586
|
return new k({ transform: o });
|
|
3527
3587
|
}
|
|
3528
|
-
function
|
|
3588
|
+
function Vi(o) {
|
|
3529
3589
|
return new k({ decoration: o });
|
|
3530
3590
|
}
|
|
3531
|
-
function
|
|
3591
|
+
function Ir(o) {
|
|
3532
3592
|
return new k({ size: o });
|
|
3533
3593
|
}
|
|
3534
|
-
function
|
|
3594
|
+
function Pr(o) {
|
|
3535
3595
|
return new k({ weight: o });
|
|
3536
3596
|
}
|
|
3537
|
-
function
|
|
3597
|
+
function Ri(o) {
|
|
3538
3598
|
return new k({ lineHeight: o });
|
|
3539
3599
|
}
|
|
3540
|
-
function
|
|
3600
|
+
function Di(o) {
|
|
3541
3601
|
return new k({ letterSpacing: o });
|
|
3542
3602
|
}
|
|
3543
|
-
function
|
|
3603
|
+
function $r(o) {
|
|
3544
3604
|
return new k({ wordSpacing: o });
|
|
3545
3605
|
}
|
|
3546
|
-
function
|
|
3606
|
+
function Oi(o) {
|
|
3547
3607
|
return new k({ textOverflow: o });
|
|
3548
3608
|
}
|
|
3549
|
-
function
|
|
3609
|
+
function _i(o) {
|
|
3550
3610
|
return new k({ whiteSpace: o });
|
|
3551
3611
|
}
|
|
3552
|
-
function
|
|
3612
|
+
function Bi(o) {
|
|
3553
3613
|
return new k({ overflow: o });
|
|
3554
3614
|
}
|
|
3555
|
-
function
|
|
3556
|
-
return
|
|
3615
|
+
function Hi(o) {
|
|
3616
|
+
return De(o);
|
|
3557
3617
|
}
|
|
3558
|
-
function
|
|
3618
|
+
function Vr(o) {
|
|
3559
3619
|
return new k({ family: o });
|
|
3560
3620
|
}
|
|
3561
|
-
function
|
|
3562
|
-
return typeof o == "string" ?
|
|
3621
|
+
function Ni(o) {
|
|
3622
|
+
return typeof o == "string" ? zi(o) : new k({
|
|
3563
3623
|
family: o.family,
|
|
3564
3624
|
size: o.size,
|
|
3565
3625
|
weight: o.weight,
|
|
3566
3626
|
style: o.style
|
|
3567
3627
|
});
|
|
3568
3628
|
}
|
|
3569
|
-
function
|
|
3629
|
+
function zi(o) {
|
|
3570
3630
|
const s = {
|
|
3571
3631
|
".largeTitle": { size: 34, weight: 400 },
|
|
3572
3632
|
".title": { size: 28, weight: 400 },
|
|
@@ -3582,7 +3642,7 @@ function Ai(o) {
|
|
|
3582
3642
|
}, e = s[o];
|
|
3583
3643
|
return e ? new k(e) : new k(s[".body"]);
|
|
3584
3644
|
}
|
|
3585
|
-
function
|
|
3645
|
+
function Rr(o) {
|
|
3586
3646
|
let s;
|
|
3587
3647
|
switch (o.design) {
|
|
3588
3648
|
case "serif":
|
|
@@ -3603,7 +3663,7 @@ function wr(o) {
|
|
|
3603
3663
|
weight: o.weight
|
|
3604
3664
|
});
|
|
3605
3665
|
}
|
|
3606
|
-
function
|
|
3666
|
+
function Dr(o, s) {
|
|
3607
3667
|
return new k({
|
|
3608
3668
|
family: o,
|
|
3609
3669
|
size: s?.size,
|
|
@@ -3611,11 +3671,11 @@ function Cr(o, s) {
|
|
|
3611
3671
|
style: s?.style
|
|
3612
3672
|
});
|
|
3613
3673
|
}
|
|
3614
|
-
class
|
|
3674
|
+
class Fi extends g {
|
|
3615
3675
|
constructor() {
|
|
3616
3676
|
super(...arguments);
|
|
3617
|
-
|
|
3618
|
-
|
|
3677
|
+
d(this, "type", "lineClamp");
|
|
3678
|
+
d(this, "priority", V.APPEARANCE + 15);
|
|
3619
3679
|
}
|
|
3620
3680
|
apply(e, t) {
|
|
3621
3681
|
if (!t.element) return;
|
|
@@ -3640,14 +3700,14 @@ class ki extends g {
|
|
|
3640
3700
|
);
|
|
3641
3701
|
}
|
|
3642
3702
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return new
|
|
3703
|
+
function Wi(o) {
|
|
3704
|
+
return new Fi({ lines: o });
|
|
3645
3705
|
}
|
|
3646
|
-
class
|
|
3706
|
+
class ji extends g {
|
|
3647
3707
|
constructor() {
|
|
3648
3708
|
super(...arguments);
|
|
3649
|
-
|
|
3650
|
-
|
|
3709
|
+
d(this, "type", "wordBreak");
|
|
3710
|
+
d(this, "priority", V.APPEARANCE + 8);
|
|
3651
3711
|
}
|
|
3652
3712
|
apply(e, t) {
|
|
3653
3713
|
if (!t.element) return;
|
|
@@ -3668,14 +3728,14 @@ class Pi extends g {
|
|
|
3668
3728
|
);
|
|
3669
3729
|
}
|
|
3670
3730
|
}
|
|
3671
|
-
function
|
|
3672
|
-
return new
|
|
3731
|
+
function Ui(o) {
|
|
3732
|
+
return new ji({ wordBreak: o });
|
|
3673
3733
|
}
|
|
3674
|
-
class
|
|
3734
|
+
class Gi extends g {
|
|
3675
3735
|
constructor() {
|
|
3676
3736
|
super(...arguments);
|
|
3677
|
-
|
|
3678
|
-
|
|
3737
|
+
d(this, "type", "overflowWrap");
|
|
3738
|
+
d(this, "priority", V.APPEARANCE + 9);
|
|
3679
3739
|
}
|
|
3680
3740
|
apply(e, t) {
|
|
3681
3741
|
if (!t.element) return;
|
|
@@ -3693,14 +3753,14 @@ class Vi extends g {
|
|
|
3693
3753
|
);
|
|
3694
3754
|
}
|
|
3695
3755
|
}
|
|
3696
|
-
function
|
|
3697
|
-
return new
|
|
3756
|
+
function Ki(o) {
|
|
3757
|
+
return new Gi({ overflowWrap: o });
|
|
3698
3758
|
}
|
|
3699
|
-
class
|
|
3759
|
+
class Yi extends g {
|
|
3700
3760
|
constructor() {
|
|
3701
3761
|
super(...arguments);
|
|
3702
|
-
|
|
3703
|
-
|
|
3762
|
+
d(this, "type", "hyphens");
|
|
3763
|
+
d(this, "priority", V.APPEARANCE + 10);
|
|
3704
3764
|
}
|
|
3705
3765
|
apply(e, t) {
|
|
3706
3766
|
if (!t.element) return;
|
|
@@ -3721,17 +3781,17 @@ class Di extends g {
|
|
|
3721
3781
|
);
|
|
3722
3782
|
}
|
|
3723
3783
|
}
|
|
3724
|
-
function
|
|
3725
|
-
return new
|
|
3784
|
+
function Xi(o) {
|
|
3785
|
+
return new Yi({ hyphens: o });
|
|
3726
3786
|
}
|
|
3727
|
-
class
|
|
3787
|
+
class H extends g {
|
|
3728
3788
|
constructor(e) {
|
|
3729
3789
|
const t = {};
|
|
3730
3790
|
for (const [i, n] of Object.entries(e))
|
|
3731
3791
|
typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
|
|
3732
3792
|
super(t);
|
|
3733
|
-
|
|
3734
|
-
|
|
3793
|
+
d(this, "type", "scroll");
|
|
3794
|
+
d(this, "priority", 20);
|
|
3735
3795
|
}
|
|
3736
3796
|
apply(e, t) {
|
|
3737
3797
|
if (!t.element) return;
|
|
@@ -3766,39 +3826,39 @@ class O extends g {
|
|
|
3766
3826
|
return typeof e == "number" ? `${e}px` : e;
|
|
3767
3827
|
}
|
|
3768
3828
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return new
|
|
3829
|
+
function Zi(o) {
|
|
3830
|
+
return new H({ scroll: o });
|
|
3771
3831
|
}
|
|
3772
|
-
function
|
|
3773
|
-
return new
|
|
3832
|
+
function qi(o) {
|
|
3833
|
+
return new H({ scrollBehavior: o });
|
|
3774
3834
|
}
|
|
3775
|
-
function
|
|
3776
|
-
return new
|
|
3835
|
+
function Ji(o) {
|
|
3836
|
+
return new H({ overscrollBehavior: o });
|
|
3777
3837
|
}
|
|
3778
|
-
function
|
|
3779
|
-
return new
|
|
3838
|
+
function Qi(o) {
|
|
3839
|
+
return new H({ overscrollBehaviorX: o });
|
|
3780
3840
|
}
|
|
3781
|
-
function
|
|
3782
|
-
return new
|
|
3841
|
+
function en(o) {
|
|
3842
|
+
return new H({ overscrollBehaviorY: o });
|
|
3783
3843
|
}
|
|
3784
|
-
function
|
|
3785
|
-
return new
|
|
3844
|
+
function tn(o) {
|
|
3845
|
+
return new H({ scroll: { margin: o } });
|
|
3786
3846
|
}
|
|
3787
|
-
function
|
|
3788
|
-
return new
|
|
3847
|
+
function nn(o) {
|
|
3848
|
+
return new H({ scroll: { padding: o } });
|
|
3789
3849
|
}
|
|
3790
|
-
function
|
|
3791
|
-
return new
|
|
3850
|
+
function on(o, s, e) {
|
|
3851
|
+
return new H({
|
|
3792
3852
|
scroll: {
|
|
3793
3853
|
snap: { type: o, align: s, stop: e }
|
|
3794
3854
|
}
|
|
3795
3855
|
});
|
|
3796
3856
|
}
|
|
3797
|
-
class
|
|
3857
|
+
class rn extends w {
|
|
3798
3858
|
constructor() {
|
|
3799
3859
|
super(...arguments);
|
|
3800
|
-
|
|
3801
|
-
|
|
3860
|
+
d(this, "type", "onHover");
|
|
3861
|
+
d(this, "priority", 50);
|
|
3802
3862
|
}
|
|
3803
3863
|
apply(e, t) {
|
|
3804
3864
|
t.element && this.setupHoverTracking(t.element, this.properties);
|
|
@@ -3816,14 +3876,14 @@ class Ui extends w {
|
|
|
3816
3876
|
e._hoverCleanup = r;
|
|
3817
3877
|
}
|
|
3818
3878
|
}
|
|
3819
|
-
function
|
|
3820
|
-
return new
|
|
3879
|
+
function sn(o) {
|
|
3880
|
+
return new rn({ onHover: o });
|
|
3821
3881
|
}
|
|
3822
|
-
class
|
|
3882
|
+
class an extends w {
|
|
3823
3883
|
constructor() {
|
|
3824
3884
|
super(...arguments);
|
|
3825
|
-
|
|
3826
|
-
|
|
3885
|
+
d(this, "type", "onMouseEnter");
|
|
3886
|
+
d(this, "priority", 50);
|
|
3827
3887
|
}
|
|
3828
3888
|
apply(e, t) {
|
|
3829
3889
|
if (!t.element) return;
|
|
@@ -3835,11 +3895,11 @@ class Ki extends w {
|
|
|
3835
3895
|
};
|
|
3836
3896
|
}
|
|
3837
3897
|
}
|
|
3838
|
-
class
|
|
3898
|
+
class ln extends w {
|
|
3839
3899
|
constructor() {
|
|
3840
3900
|
super(...arguments);
|
|
3841
|
-
|
|
3842
|
-
|
|
3901
|
+
d(this, "type", "onMouseLeave");
|
|
3902
|
+
d(this, "priority", 50);
|
|
3843
3903
|
}
|
|
3844
3904
|
apply(e, t) {
|
|
3845
3905
|
if (!t.element) return;
|
|
@@ -3851,11 +3911,11 @@ class Yi extends w {
|
|
|
3851
3911
|
};
|
|
3852
3912
|
}
|
|
3853
3913
|
}
|
|
3854
|
-
class
|
|
3914
|
+
class cn extends w {
|
|
3855
3915
|
constructor() {
|
|
3856
3916
|
super(...arguments);
|
|
3857
|
-
|
|
3858
|
-
|
|
3917
|
+
d(this, "type", "onMouseDown");
|
|
3918
|
+
d(this, "priority", 50);
|
|
3859
3919
|
}
|
|
3860
3920
|
apply(e, t) {
|
|
3861
3921
|
if (!t.element) return;
|
|
@@ -3867,11 +3927,11 @@ class Xi extends w {
|
|
|
3867
3927
|
};
|
|
3868
3928
|
}
|
|
3869
3929
|
}
|
|
3870
|
-
class
|
|
3930
|
+
class dn extends w {
|
|
3871
3931
|
constructor() {
|
|
3872
3932
|
super(...arguments);
|
|
3873
|
-
|
|
3874
|
-
|
|
3933
|
+
d(this, "type", "onMouseUp");
|
|
3934
|
+
d(this, "priority", 50);
|
|
3875
3935
|
}
|
|
3876
3936
|
apply(e, t) {
|
|
3877
3937
|
if (!t.element) return;
|
|
@@ -3883,11 +3943,11 @@ class Zi extends w {
|
|
|
3883
3943
|
};
|
|
3884
3944
|
}
|
|
3885
3945
|
}
|
|
3886
|
-
class
|
|
3946
|
+
class fn extends w {
|
|
3887
3947
|
constructor() {
|
|
3888
3948
|
super(...arguments);
|
|
3889
|
-
|
|
3890
|
-
|
|
3949
|
+
d(this, "type", "onDoubleClick");
|
|
3950
|
+
d(this, "priority", 50);
|
|
3891
3951
|
}
|
|
3892
3952
|
apply(e, t) {
|
|
3893
3953
|
if (!t.element) return;
|
|
@@ -3899,11 +3959,11 @@ class qi extends w {
|
|
|
3899
3959
|
};
|
|
3900
3960
|
}
|
|
3901
3961
|
}
|
|
3902
|
-
class
|
|
3962
|
+
class un extends w {
|
|
3903
3963
|
constructor() {
|
|
3904
3964
|
super(...arguments);
|
|
3905
|
-
|
|
3906
|
-
|
|
3965
|
+
d(this, "type", "onContextMenu");
|
|
3966
|
+
d(this, "priority", 50);
|
|
3907
3967
|
}
|
|
3908
3968
|
apply(e, t) {
|
|
3909
3969
|
if (!t.element) return;
|
|
@@ -3915,29 +3975,29 @@ class Ji extends w {
|
|
|
3915
3975
|
};
|
|
3916
3976
|
}
|
|
3917
3977
|
}
|
|
3918
|
-
function
|
|
3919
|
-
return new
|
|
3978
|
+
function pn(o) {
|
|
3979
|
+
return new an({ onMouseEnter: o });
|
|
3920
3980
|
}
|
|
3921
|
-
function
|
|
3922
|
-
return new
|
|
3981
|
+
function mn(o) {
|
|
3982
|
+
return new ln({ onMouseLeave: o });
|
|
3923
3983
|
}
|
|
3924
|
-
function
|
|
3925
|
-
return new
|
|
3984
|
+
function hn(o) {
|
|
3985
|
+
return new cn({ onMouseDown: o });
|
|
3926
3986
|
}
|
|
3927
|
-
function
|
|
3928
|
-
return new
|
|
3987
|
+
function yn(o) {
|
|
3988
|
+
return new dn({ onMouseUp: o });
|
|
3929
3989
|
}
|
|
3930
|
-
function
|
|
3931
|
-
return new
|
|
3990
|
+
function gn(o) {
|
|
3991
|
+
return new fn({ onDoubleClick: o });
|
|
3932
3992
|
}
|
|
3933
|
-
function
|
|
3934
|
-
return new
|
|
3993
|
+
function vn(o) {
|
|
3994
|
+
return new un({ onContextMenu: o });
|
|
3935
3995
|
}
|
|
3936
|
-
class
|
|
3996
|
+
class bn extends w {
|
|
3937
3997
|
constructor() {
|
|
3938
3998
|
super(...arguments);
|
|
3939
|
-
|
|
3940
|
-
|
|
3999
|
+
d(this, "type", "onKeyDown");
|
|
4000
|
+
d(this, "priority", 50);
|
|
3941
4001
|
}
|
|
3942
4002
|
apply(e, t) {
|
|
3943
4003
|
if (!t.element) return;
|
|
@@ -3949,11 +4009,11 @@ class sn extends w {
|
|
|
3949
4009
|
};
|
|
3950
4010
|
}
|
|
3951
4011
|
}
|
|
3952
|
-
class
|
|
4012
|
+
class Sn extends w {
|
|
3953
4013
|
constructor() {
|
|
3954
4014
|
super(...arguments);
|
|
3955
|
-
|
|
3956
|
-
|
|
4015
|
+
d(this, "type", "onKeyUp");
|
|
4016
|
+
d(this, "priority", 50);
|
|
3957
4017
|
}
|
|
3958
4018
|
apply(e, t) {
|
|
3959
4019
|
if (!t.element) return;
|
|
@@ -3965,11 +4025,11 @@ class an extends w {
|
|
|
3965
4025
|
};
|
|
3966
4026
|
}
|
|
3967
4027
|
}
|
|
3968
|
-
class
|
|
4028
|
+
class wn extends w {
|
|
3969
4029
|
constructor() {
|
|
3970
4030
|
super(...arguments);
|
|
3971
|
-
|
|
3972
|
-
|
|
4031
|
+
d(this, "type", "onKeyPress");
|
|
4032
|
+
d(this, "priority", 50);
|
|
3973
4033
|
}
|
|
3974
4034
|
apply(e, t) {
|
|
3975
4035
|
if (!t.element) return;
|
|
@@ -3981,20 +4041,20 @@ class ln extends w {
|
|
|
3981
4041
|
};
|
|
3982
4042
|
}
|
|
3983
4043
|
}
|
|
3984
|
-
function
|
|
3985
|
-
return new
|
|
4044
|
+
function Cn(o) {
|
|
4045
|
+
return new bn({ onKeyDown: o });
|
|
3986
4046
|
}
|
|
3987
|
-
function
|
|
3988
|
-
return new
|
|
4047
|
+
function En(o) {
|
|
4048
|
+
return new Sn({ onKeyUp: o });
|
|
3989
4049
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return new
|
|
4050
|
+
function xn(o) {
|
|
4051
|
+
return new wn({ onKeyPress: o });
|
|
3992
4052
|
}
|
|
3993
|
-
class
|
|
4053
|
+
class Mn extends w {
|
|
3994
4054
|
constructor() {
|
|
3995
4055
|
super(...arguments);
|
|
3996
|
-
|
|
3997
|
-
|
|
4056
|
+
d(this, "type", "onFocus");
|
|
4057
|
+
d(this, "priority", 50);
|
|
3998
4058
|
}
|
|
3999
4059
|
apply(e, t) {
|
|
4000
4060
|
if (!t.element) return;
|
|
@@ -4008,11 +4068,11 @@ class un extends w {
|
|
|
4008
4068
|
};
|
|
4009
4069
|
}
|
|
4010
4070
|
}
|
|
4011
|
-
class
|
|
4071
|
+
class Tn extends w {
|
|
4012
4072
|
constructor() {
|
|
4013
4073
|
super(...arguments);
|
|
4014
|
-
|
|
4015
|
-
|
|
4074
|
+
d(this, "type", "onBlur");
|
|
4075
|
+
d(this, "priority", 50);
|
|
4016
4076
|
}
|
|
4017
4077
|
apply(e, t) {
|
|
4018
4078
|
if (!t.element) return;
|
|
@@ -4026,17 +4086,17 @@ class pn extends w {
|
|
|
4026
4086
|
};
|
|
4027
4087
|
}
|
|
4028
4088
|
}
|
|
4029
|
-
function
|
|
4030
|
-
return new
|
|
4089
|
+
function Ln(o) {
|
|
4090
|
+
return new Mn({ onFocus: o });
|
|
4031
4091
|
}
|
|
4032
|
-
function
|
|
4033
|
-
return new
|
|
4092
|
+
function An(o) {
|
|
4093
|
+
return new Tn({ onBlur: o });
|
|
4034
4094
|
}
|
|
4035
|
-
class
|
|
4095
|
+
class kn extends w {
|
|
4036
4096
|
constructor() {
|
|
4037
4097
|
super(...arguments);
|
|
4038
|
-
|
|
4039
|
-
|
|
4098
|
+
d(this, "type", "onLongPressGesture");
|
|
4099
|
+
d(this, "priority", 85);
|
|
4040
4100
|
}
|
|
4041
4101
|
apply(e, t) {
|
|
4042
4102
|
t.element && this.setupLongPressGesture(t.element, this.properties);
|
|
@@ -4048,7 +4108,7 @@ class yn extends w {
|
|
|
4048
4108
|
l || (r = { x: T, y: E }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
|
|
4049
4109
|
l && !c && (c = !0, t.perform());
|
|
4050
4110
|
}, i));
|
|
4051
|
-
},
|
|
4111
|
+
}, f = (T, E) => r ? Math.sqrt(
|
|
4052
4112
|
Math.pow(T - r.x, 2) + Math.pow(E - r.y, 2)
|
|
4053
4113
|
) <= n : !1, h = () => {
|
|
4054
4114
|
a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), r = null, c = !1;
|
|
@@ -4058,39 +4118,39 @@ class yn extends w {
|
|
|
4058
4118
|
}, v = (T) => {
|
|
4059
4119
|
if (!l) return;
|
|
4060
4120
|
const E = T;
|
|
4061
|
-
|
|
4121
|
+
f(E.clientX, E.clientY) || h();
|
|
4062
4122
|
}, S = () => {
|
|
4063
4123
|
h();
|
|
4064
|
-
},
|
|
4124
|
+
}, N = () => {
|
|
4065
4125
|
h();
|
|
4066
|
-
},
|
|
4126
|
+
}, K = (T) => {
|
|
4067
4127
|
const E = T;
|
|
4068
4128
|
if (E.touches.length === 1) {
|
|
4069
|
-
const
|
|
4070
|
-
T.preventDefault(), u(
|
|
4129
|
+
const Y = E.touches[0];
|
|
4130
|
+
T.preventDefault(), u(Y.clientX, Y.clientY);
|
|
4071
4131
|
}
|
|
4072
|
-
},
|
|
4132
|
+
}, ge = (T) => {
|
|
4073
4133
|
if (!l) return;
|
|
4074
4134
|
const E = T;
|
|
4075
4135
|
if (E.touches.length === 1) {
|
|
4076
|
-
const
|
|
4077
|
-
|
|
4136
|
+
const Y = E.touches[0];
|
|
4137
|
+
f(Y.clientX, Y.clientY) || h();
|
|
4078
4138
|
} else
|
|
4079
4139
|
h();
|
|
4080
|
-
},
|
|
4140
|
+
}, ve = () => {
|
|
4081
4141
|
h();
|
|
4082
|
-
},
|
|
4142
|
+
}, be = () => {
|
|
4083
4143
|
h();
|
|
4084
|
-
},
|
|
4144
|
+
}, Se = (T) => {
|
|
4085
4145
|
const E = T;
|
|
4086
4146
|
E.button === 0 && (T.preventDefault(), u(E.clientX, E.clientY));
|
|
4087
|
-
},
|
|
4147
|
+
}, we = (T) => {
|
|
4088
4148
|
if (!l) return;
|
|
4089
4149
|
const E = T;
|
|
4090
|
-
|
|
4091
|
-
},
|
|
4150
|
+
f(E.clientX, E.clientY) || h();
|
|
4151
|
+
}, Ce = () => {
|
|
4092
4152
|
h();
|
|
4093
|
-
},
|
|
4153
|
+
}, Ee = () => {
|
|
4094
4154
|
h();
|
|
4095
4155
|
};
|
|
4096
4156
|
"onpointerdown" in e ? (e.addEventListener(
|
|
@@ -4101,16 +4161,16 @@ class yn extends w {
|
|
|
4101
4161
|
v
|
|
4102
4162
|
), e.addEventListener("pointerup", S), e.addEventListener(
|
|
4103
4163
|
"pointercancel",
|
|
4104
|
-
|
|
4164
|
+
N
|
|
4105
4165
|
)) : "ontouchstart" in e ? (e.addEventListener(
|
|
4106
4166
|
"touchstart",
|
|
4107
|
-
|
|
4167
|
+
K,
|
|
4108
4168
|
{ passive: !1 }
|
|
4109
|
-
), e.addEventListener("touchmove",
|
|
4169
|
+
), e.addEventListener("touchmove", ge), e.addEventListener("touchend", ve), e.addEventListener(
|
|
4110
4170
|
"touchcancel",
|
|
4111
|
-
|
|
4112
|
-
)) : (e.addEventListener("mousedown",
|
|
4113
|
-
const
|
|
4171
|
+
be
|
|
4172
|
+
)) : (e.addEventListener("mousedown", Se), e.addEventListener("mousemove", we), e.addEventListener("mouseup", Ce), e.addEventListener("mouseleave", Ee));
|
|
4173
|
+
const Be = () => {
|
|
4114
4174
|
h(), "onpointerdown" in e ? (e.removeEventListener(
|
|
4115
4175
|
"pointerdown",
|
|
4116
4176
|
y
|
|
@@ -4122,42 +4182,42 @@ class yn extends w {
|
|
|
4122
4182
|
S
|
|
4123
4183
|
), e.removeEventListener(
|
|
4124
4184
|
"pointercancel",
|
|
4125
|
-
|
|
4185
|
+
N
|
|
4126
4186
|
)) : "ontouchstart" in e ? (e.removeEventListener(
|
|
4127
4187
|
"touchstart",
|
|
4128
|
-
|
|
4188
|
+
K
|
|
4129
4189
|
), e.removeEventListener(
|
|
4130
4190
|
"touchmove",
|
|
4131
|
-
|
|
4132
|
-
), e.removeEventListener("touchend",
|
|
4191
|
+
ge
|
|
4192
|
+
), e.removeEventListener("touchend", ve), e.removeEventListener(
|
|
4133
4193
|
"touchcancel",
|
|
4134
|
-
|
|
4194
|
+
be
|
|
4135
4195
|
)) : (e.removeEventListener(
|
|
4136
4196
|
"mousedown",
|
|
4137
|
-
|
|
4197
|
+
Se
|
|
4138
4198
|
), e.removeEventListener(
|
|
4139
4199
|
"mousemove",
|
|
4140
|
-
|
|
4141
|
-
), e.removeEventListener("mouseup",
|
|
4200
|
+
we
|
|
4201
|
+
), e.removeEventListener("mouseup", Ce), e.removeEventListener(
|
|
4142
4202
|
"mouseleave",
|
|
4143
|
-
|
|
4203
|
+
Ee
|
|
4144
4204
|
));
|
|
4145
4205
|
};
|
|
4146
|
-
e._longPressCleanup =
|
|
4206
|
+
e._longPressCleanup = Be;
|
|
4147
4207
|
}
|
|
4148
4208
|
}
|
|
4149
|
-
function
|
|
4150
|
-
return new
|
|
4209
|
+
function In(o) {
|
|
4210
|
+
return new kn(o);
|
|
4151
4211
|
}
|
|
4152
|
-
class
|
|
4212
|
+
class Pn extends w {
|
|
4153
4213
|
constructor(e) {
|
|
4154
4214
|
const t = {
|
|
4155
4215
|
...e,
|
|
4156
4216
|
modifiers: e.modifiers || []
|
|
4157
4217
|
};
|
|
4158
4218
|
super(t);
|
|
4159
|
-
|
|
4160
|
-
|
|
4219
|
+
d(this, "type", "keyboardShortcut");
|
|
4220
|
+
d(this, "priority", 80);
|
|
4161
4221
|
}
|
|
4162
4222
|
apply(e, t) {
|
|
4163
4223
|
t.element && this.setupKeyboardShortcut(t.element, this.properties);
|
|
@@ -4167,13 +4227,13 @@ class vn extends w {
|
|
|
4167
4227
|
const c = l;
|
|
4168
4228
|
if (c.key.toLowerCase() !== t.key.toLowerCase())
|
|
4169
4229
|
return;
|
|
4170
|
-
const u = new Set(i),
|
|
4171
|
-
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (
|
|
4230
|
+
const u = new Set(i), f = /* @__PURE__ */ new Set();
|
|
4231
|
+
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (f.add("cmd"), f.add("meta")), c.ctrlKey && f.add("ctrl")) : (c.ctrlKey && (f.add("ctrl"), f.add("cmd")), c.metaKey && f.add("meta"))), c.shiftKey && f.add("shift"), c.altKey && f.add("alt");
|
|
4172
4232
|
const h = Array.from(u).every(
|
|
4173
|
-
(S) =>
|
|
4233
|
+
(S) => f.has(S)
|
|
4174
4234
|
), y = /* @__PURE__ */ new Set([...u]);
|
|
4175
4235
|
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(
|
|
4236
|
+
const v = Array.from(f).some(
|
|
4177
4237
|
(S) => !y.has(
|
|
4178
4238
|
S
|
|
4179
4239
|
)
|
|
@@ -4190,17 +4250,17 @@ class vn extends w {
|
|
|
4190
4250
|
e._keyboardShortcutCleanup = a;
|
|
4191
4251
|
}
|
|
4192
4252
|
}
|
|
4193
|
-
function
|
|
4194
|
-
return new
|
|
4253
|
+
function Oe(o) {
|
|
4254
|
+
return new Pn(o);
|
|
4195
4255
|
}
|
|
4196
|
-
function
|
|
4197
|
-
return
|
|
4256
|
+
function Or(o, s, e) {
|
|
4257
|
+
return Oe({ key: o, modifiers: s, action: e });
|
|
4198
4258
|
}
|
|
4199
|
-
class
|
|
4259
|
+
class $n extends w {
|
|
4200
4260
|
constructor() {
|
|
4201
4261
|
super(...arguments);
|
|
4202
|
-
|
|
4203
|
-
|
|
4262
|
+
d(this, "type", "focused");
|
|
4263
|
+
d(this, "priority", 75);
|
|
4204
4264
|
}
|
|
4205
4265
|
apply(e, t) {
|
|
4206
4266
|
t.element && this.setupFocusManagement(t.element, this.properties.focused);
|
|
@@ -4223,14 +4283,14 @@ class bn extends w {
|
|
|
4223
4283
|
});
|
|
4224
4284
|
else if (process.env.NODE_ENV !== "test") {
|
|
4225
4285
|
let c = l(), u = !0;
|
|
4226
|
-
const
|
|
4286
|
+
const f = () => {
|
|
4227
4287
|
if (!u) return;
|
|
4228
4288
|
const h = l();
|
|
4229
|
-
h !== c && (c = h, r(h)), u && requestAnimationFrame(
|
|
4289
|
+
h !== c && (c = h, r(h)), u && requestAnimationFrame(f);
|
|
4230
4290
|
};
|
|
4231
4291
|
n = () => {
|
|
4232
4292
|
u = !1;
|
|
4233
|
-
}, requestAnimationFrame(
|
|
4293
|
+
}, requestAnimationFrame(f);
|
|
4234
4294
|
} else
|
|
4235
4295
|
n = () => {
|
|
4236
4296
|
};
|
|
@@ -4242,18 +4302,18 @@ class bn extends w {
|
|
|
4242
4302
|
e._focusedCleanup = a;
|
|
4243
4303
|
}
|
|
4244
4304
|
}
|
|
4245
|
-
function
|
|
4246
|
-
return new
|
|
4305
|
+
function Vn(o) {
|
|
4306
|
+
return new $n({ focused: o });
|
|
4247
4307
|
}
|
|
4248
|
-
class
|
|
4308
|
+
class Rn extends w {
|
|
4249
4309
|
constructor(e = {}) {
|
|
4250
4310
|
const t = {
|
|
4251
4311
|
...e,
|
|
4252
4312
|
interactions: e.interactions || []
|
|
4253
4313
|
};
|
|
4254
4314
|
super(t);
|
|
4255
|
-
|
|
4256
|
-
|
|
4315
|
+
d(this, "type", "focusable");
|
|
4316
|
+
d(this, "priority", 75);
|
|
4257
4317
|
}
|
|
4258
4318
|
apply(e, t) {
|
|
4259
4319
|
t.element && this.setupFocusable(t.element, this.properties);
|
|
@@ -4290,23 +4350,23 @@ class wn extends w {
|
|
|
4290
4350
|
}
|
|
4291
4351
|
}
|
|
4292
4352
|
}
|
|
4293
|
-
function
|
|
4294
|
-
return new
|
|
4353
|
+
function me(o, s) {
|
|
4354
|
+
return new Rn({
|
|
4295
4355
|
isFocusable: o ?? !0,
|
|
4296
4356
|
interactions: s ?? []
|
|
4297
4357
|
});
|
|
4298
4358
|
}
|
|
4299
|
-
function
|
|
4300
|
-
return
|
|
4359
|
+
function Dn() {
|
|
4360
|
+
return me(!0, ["activate"]);
|
|
4301
4361
|
}
|
|
4302
|
-
function
|
|
4303
|
-
return
|
|
4362
|
+
function On() {
|
|
4363
|
+
return me(!0, ["edit"]);
|
|
4304
4364
|
}
|
|
4305
|
-
class
|
|
4365
|
+
class _n extends w {
|
|
4306
4366
|
constructor() {
|
|
4307
4367
|
super(...arguments);
|
|
4308
|
-
|
|
4309
|
-
|
|
4368
|
+
d(this, "type", "onContinuousHover");
|
|
4369
|
+
d(this, "priority", 70);
|
|
4310
4370
|
}
|
|
4311
4371
|
apply(e, t) {
|
|
4312
4372
|
t.element && this.setupContinuousHover(t.element, this.properties);
|
|
@@ -4314,26 +4374,26 @@ class Mn extends w {
|
|
|
4314
4374
|
setupContinuousHover(e, t) {
|
|
4315
4375
|
const i = t.coordinateSpace ?? "local";
|
|
4316
4376
|
let n = !1;
|
|
4317
|
-
const r = (
|
|
4377
|
+
const r = (f) => {
|
|
4318
4378
|
if (i === "global")
|
|
4319
4379
|
return {
|
|
4320
|
-
x:
|
|
4321
|
-
y:
|
|
4380
|
+
x: f.clientX,
|
|
4381
|
+
y: f.clientY
|
|
4322
4382
|
};
|
|
4323
4383
|
{
|
|
4324
4384
|
const h = e.getBoundingClientRect();
|
|
4325
4385
|
return {
|
|
4326
|
-
x:
|
|
4327
|
-
y:
|
|
4386
|
+
x: f.clientX - h.left,
|
|
4387
|
+
y: f.clientY - h.top
|
|
4328
4388
|
};
|
|
4329
4389
|
}
|
|
4330
|
-
}, a = (
|
|
4390
|
+
}, a = (f) => {
|
|
4331
4391
|
n = !0;
|
|
4332
|
-
const y = r(
|
|
4392
|
+
const y = r(f);
|
|
4333
4393
|
t.perform(y);
|
|
4334
|
-
}, l = (
|
|
4394
|
+
}, l = (f) => {
|
|
4335
4395
|
if (!n) return;
|
|
4336
|
-
const y = r(
|
|
4396
|
+
const y = r(f);
|
|
4337
4397
|
t.perform(y);
|
|
4338
4398
|
}, c = () => {
|
|
4339
4399
|
n = !1, t.perform(null);
|
|
@@ -4351,26 +4411,26 @@ class Mn extends w {
|
|
|
4351
4411
|
e._continuousHoverCleanup = u;
|
|
4352
4412
|
}
|
|
4353
4413
|
}
|
|
4354
|
-
function
|
|
4355
|
-
return new
|
|
4414
|
+
function he(o) {
|
|
4415
|
+
return new _n(o);
|
|
4356
4416
|
}
|
|
4357
|
-
function
|
|
4358
|
-
return
|
|
4417
|
+
function _r(o) {
|
|
4418
|
+
return he({
|
|
4359
4419
|
coordinateSpace: "local",
|
|
4360
4420
|
perform: o
|
|
4361
4421
|
});
|
|
4362
4422
|
}
|
|
4363
|
-
function
|
|
4364
|
-
return
|
|
4423
|
+
function Br(o) {
|
|
4424
|
+
return he({
|
|
4365
4425
|
coordinateSpace: "global",
|
|
4366
4426
|
perform: o
|
|
4367
4427
|
});
|
|
4368
4428
|
}
|
|
4369
|
-
class
|
|
4429
|
+
class Bn extends w {
|
|
4370
4430
|
constructor() {
|
|
4371
4431
|
super(...arguments);
|
|
4372
|
-
|
|
4373
|
-
|
|
4432
|
+
d(this, "type", "allowsHitTesting");
|
|
4433
|
+
d(this, "priority", 95);
|
|
4374
4434
|
}
|
|
4375
4435
|
apply(e, t) {
|
|
4376
4436
|
t.element && this.setupHitTesting(t.element, this.properties.enabled);
|
|
@@ -4381,100 +4441,100 @@ class xn extends w {
|
|
|
4381
4441
|
t ? i.style.pointerEvents === "none" && (i.style.pointerEvents = "") : i.style.pointerEvents = "none", e._hitTestingEnabled = t;
|
|
4382
4442
|
}
|
|
4383
4443
|
}
|
|
4384
|
-
function
|
|
4385
|
-
return new
|
|
4444
|
+
function ye(o) {
|
|
4445
|
+
return new Bn({ enabled: o });
|
|
4386
4446
|
}
|
|
4387
|
-
function
|
|
4388
|
-
return
|
|
4447
|
+
function Hr() {
|
|
4448
|
+
return ye(!0);
|
|
4389
4449
|
}
|
|
4390
|
-
function
|
|
4391
|
-
return
|
|
4450
|
+
function Nr() {
|
|
4451
|
+
return ye(!1);
|
|
4392
4452
|
}
|
|
4393
|
-
function
|
|
4453
|
+
function Hn(o, s) {
|
|
4394
4454
|
return new C({
|
|
4395
4455
|
highPriorityGesture: { gesture: o, including: s }
|
|
4396
4456
|
});
|
|
4397
4457
|
}
|
|
4398
|
-
function
|
|
4458
|
+
function Nn(o, s) {
|
|
4399
4459
|
return new C({
|
|
4400
4460
|
simultaneousGesture: { gesture: o, including: s }
|
|
4401
4461
|
});
|
|
4402
4462
|
}
|
|
4403
|
-
function
|
|
4463
|
+
function zn(o) {
|
|
4404
4464
|
return new C({ onTap: o });
|
|
4405
4465
|
}
|
|
4406
|
-
function
|
|
4466
|
+
function zr(o) {
|
|
4407
4467
|
return new C({ onFocus: o });
|
|
4408
4468
|
}
|
|
4409
|
-
function
|
|
4469
|
+
function Fr(o) {
|
|
4410
4470
|
return new C({ onBlur: o });
|
|
4411
4471
|
}
|
|
4412
|
-
function
|
|
4472
|
+
function Fn(o) {
|
|
4413
4473
|
return new C({ onScroll: o });
|
|
4414
4474
|
}
|
|
4415
|
-
function
|
|
4475
|
+
function Wr(o) {
|
|
4416
4476
|
return new C({ onKeyDown: o });
|
|
4417
4477
|
}
|
|
4418
|
-
function
|
|
4478
|
+
function jr(o) {
|
|
4419
4479
|
return new C({ onKeyPress: o });
|
|
4420
4480
|
}
|
|
4421
|
-
function
|
|
4481
|
+
function Ur(o) {
|
|
4422
4482
|
return new C({ onKeyUp: o });
|
|
4423
4483
|
}
|
|
4424
|
-
function
|
|
4484
|
+
function Gr(o) {
|
|
4425
4485
|
return new C({ onDoubleClick: o });
|
|
4426
4486
|
}
|
|
4427
|
-
function
|
|
4487
|
+
function Kr(o) {
|
|
4428
4488
|
return new C({ onContextMenu: o });
|
|
4429
4489
|
}
|
|
4430
|
-
function
|
|
4490
|
+
function Wn(o) {
|
|
4431
4491
|
return new C({ onWheel: o });
|
|
4432
4492
|
}
|
|
4433
|
-
function
|
|
4493
|
+
function jn(o) {
|
|
4434
4494
|
return new C({ onInput: o });
|
|
4435
4495
|
}
|
|
4436
|
-
function
|
|
4496
|
+
function Un(o) {
|
|
4437
4497
|
return new C({ onChange: o });
|
|
4438
4498
|
}
|
|
4439
|
-
function
|
|
4499
|
+
function Gn(o) {
|
|
4440
4500
|
return new C({ onCopy: o });
|
|
4441
4501
|
}
|
|
4442
|
-
function
|
|
4502
|
+
function Kn(o) {
|
|
4443
4503
|
return new C({ onCut: o });
|
|
4444
4504
|
}
|
|
4445
|
-
function
|
|
4505
|
+
function Yn(o) {
|
|
4446
4506
|
return new C({ onPaste: o });
|
|
4447
4507
|
}
|
|
4448
|
-
function
|
|
4508
|
+
function Xn(o) {
|
|
4449
4509
|
return new C({ onSelect: o });
|
|
4450
4510
|
}
|
|
4451
|
-
function
|
|
4511
|
+
function Zn(o) {
|
|
4452
4512
|
return new C({ onTouchStart: o });
|
|
4453
4513
|
}
|
|
4454
|
-
function
|
|
4514
|
+
function qn(o) {
|
|
4455
4515
|
return new C({ onTouchMove: o });
|
|
4456
4516
|
}
|
|
4457
|
-
function
|
|
4517
|
+
function Jn(o) {
|
|
4458
4518
|
return new C({ onTouchEnd: o });
|
|
4459
4519
|
}
|
|
4460
|
-
function
|
|
4520
|
+
function Qn(o) {
|
|
4461
4521
|
return new C({ onSwipeLeft: o });
|
|
4462
4522
|
}
|
|
4463
|
-
function
|
|
4523
|
+
function eo(o) {
|
|
4464
4524
|
return new C({ onSwipeRight: o });
|
|
4465
4525
|
}
|
|
4466
|
-
function
|
|
4526
|
+
function to(o = !0) {
|
|
4467
4527
|
return new C({ disabled: o });
|
|
4468
4528
|
}
|
|
4469
|
-
class
|
|
4529
|
+
class G extends g {
|
|
4470
4530
|
// Lower priority for utility properties
|
|
4471
4531
|
constructor(e) {
|
|
4472
4532
|
const t = {};
|
|
4473
4533
|
for (const [i, n] of Object.entries(e))
|
|
4474
4534
|
typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
|
|
4475
4535
|
super(t);
|
|
4476
|
-
|
|
4477
|
-
|
|
4536
|
+
d(this, "type", "utility");
|
|
4537
|
+
d(this, "priority", 10);
|
|
4478
4538
|
}
|
|
4479
4539
|
apply(e, t) {
|
|
4480
4540
|
if (!t.element) return;
|
|
@@ -4507,36 +4567,36 @@ class F extends g {
|
|
|
4507
4567
|
);
|
|
4508
4568
|
}
|
|
4509
4569
|
}
|
|
4510
|
-
function
|
|
4511
|
-
return new
|
|
4570
|
+
function io(o) {
|
|
4571
|
+
return new G(o);
|
|
4512
4572
|
}
|
|
4513
|
-
function
|
|
4514
|
-
return new
|
|
4573
|
+
function no(o) {
|
|
4574
|
+
return new G({ cursor: o });
|
|
4515
4575
|
}
|
|
4516
|
-
function
|
|
4517
|
-
return new
|
|
4576
|
+
function oo(o) {
|
|
4577
|
+
return new G({ overflowY: o });
|
|
4518
4578
|
}
|
|
4519
|
-
function
|
|
4520
|
-
return new
|
|
4579
|
+
function ro(o) {
|
|
4580
|
+
return new G({ overflowX: o });
|
|
4521
4581
|
}
|
|
4522
|
-
function
|
|
4523
|
-
return new
|
|
4582
|
+
function so(o) {
|
|
4583
|
+
return new G({ display: o });
|
|
4524
4584
|
}
|
|
4525
|
-
function
|
|
4526
|
-
return new
|
|
4585
|
+
function ao(o) {
|
|
4586
|
+
return new G({ outline: o });
|
|
4527
4587
|
}
|
|
4528
|
-
function
|
|
4529
|
-
return new
|
|
4588
|
+
function lo(o) {
|
|
4589
|
+
return new G({ outlineOffset: o });
|
|
4530
4590
|
}
|
|
4531
|
-
class
|
|
4591
|
+
class ae extends g {
|
|
4532
4592
|
// Very low priority so raw CSS doesn't override specific modifiers
|
|
4533
4593
|
constructor(e) {
|
|
4534
4594
|
const t = {};
|
|
4535
4595
|
for (const [i, n] of Object.entries(e))
|
|
4536
4596
|
typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
|
|
4537
4597
|
super(t);
|
|
4538
|
-
|
|
4539
|
-
|
|
4598
|
+
d(this, "type", "css");
|
|
4599
|
+
d(this, "priority", 5);
|
|
4540
4600
|
}
|
|
4541
4601
|
apply(e, t) {
|
|
4542
4602
|
if (!t.element) return;
|
|
@@ -4553,24 +4613,24 @@ class ee extends g {
|
|
|
4553
4613
|
return t;
|
|
4554
4614
|
}
|
|
4555
4615
|
}
|
|
4556
|
-
function
|
|
4557
|
-
return new
|
|
4616
|
+
function co(o) {
|
|
4617
|
+
return new ae(o);
|
|
4558
4618
|
}
|
|
4559
|
-
function
|
|
4560
|
-
return new
|
|
4619
|
+
function fo(o, s) {
|
|
4620
|
+
return new ae({ [o]: s });
|
|
4561
4621
|
}
|
|
4562
|
-
function
|
|
4622
|
+
function uo(o, s) {
|
|
4563
4623
|
const e = o.startsWith("--") ? o : `--${o}`;
|
|
4564
|
-
return new
|
|
4624
|
+
return new ae({ [e]: s });
|
|
4565
4625
|
}
|
|
4566
|
-
function
|
|
4626
|
+
function Yr(o, s, e) {
|
|
4567
4627
|
const t = o.charAt(0).toUpperCase() + o.slice(1), i = `-${o.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
|
|
4568
|
-
return new
|
|
4628
|
+
return new ae({
|
|
4569
4629
|
[i]: e,
|
|
4570
4630
|
[n]: e
|
|
4571
4631
|
});
|
|
4572
4632
|
}
|
|
4573
|
-
class
|
|
4633
|
+
class ee {
|
|
4574
4634
|
/**
|
|
4575
4635
|
* Apply basic sanitization to HTML content
|
|
4576
4636
|
* Removes dangerous patterns and restricts to allowed elements/attributes
|
|
@@ -4645,7 +4705,7 @@ class X {
|
|
|
4645
4705
|
}
|
|
4646
4706
|
}
|
|
4647
4707
|
}
|
|
4648
|
-
|
|
4708
|
+
d(ee, "DANGEROUS_PATTERNS", [
|
|
4649
4709
|
// Script tags (including nested/malformed ones)
|
|
4650
4710
|
/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
|
4651
4711
|
/<[^>]*<script[^>]*>/gi,
|
|
@@ -4673,7 +4733,7 @@ f(X, "DANGEROUS_PATTERNS", [
|
|
|
4673
4733
|
// Any javascript: protocol
|
|
4674
4734
|
/vbscript:/gi
|
|
4675
4735
|
// VBScript protocol
|
|
4676
|
-
]),
|
|
4736
|
+
]), d(ee, "ALLOWED_TAGS", [
|
|
4677
4737
|
"p",
|
|
4678
4738
|
"br",
|
|
4679
4739
|
"strong",
|
|
@@ -4717,7 +4777,7 @@ f(X, "DANGEROUS_PATTERNS", [
|
|
|
4717
4777
|
"header",
|
|
4718
4778
|
"footer",
|
|
4719
4779
|
"hr"
|
|
4720
|
-
]),
|
|
4780
|
+
]), d(ee, "ALLOWED_ATTRIBUTES", {
|
|
4721
4781
|
"*": ["class", "id", "title", "lang", "dir"],
|
|
4722
4782
|
a: ["href", "target", "rel"],
|
|
4723
4783
|
img: ["src", "alt", "width", "height"],
|
|
@@ -4725,10 +4785,10 @@ f(X, "DANGEROUS_PATTERNS", [
|
|
|
4725
4785
|
td: ["colspan", "rowspan"],
|
|
4726
4786
|
th: ["colspan", "rowspan", "scope"]
|
|
4727
4787
|
});
|
|
4728
|
-
function
|
|
4729
|
-
return
|
|
4788
|
+
function Xr(o, s) {
|
|
4789
|
+
return ee.sanitize(o, s);
|
|
4730
4790
|
}
|
|
4731
|
-
class
|
|
4791
|
+
class _e {
|
|
4732
4792
|
/**
|
|
4733
4793
|
* Validate HTML content in development mode
|
|
4734
4794
|
*/
|
|
@@ -4758,7 +4818,7 @@ class ke {
|
|
|
4758
4818
|
].some((t) => t.test(s));
|
|
4759
4819
|
}
|
|
4760
4820
|
}
|
|
4761
|
-
|
|
4821
|
+
d(_e, "SUSPICIOUS_PATTERNS", [
|
|
4762
4822
|
{ pattern: /<script/i, message: "Script tags detected" },
|
|
4763
4823
|
{ pattern: /javascript:/i, message: "JavaScript URLs detected" },
|
|
4764
4824
|
{ pattern: /on\w+\s*=/i, message: "Event handlers detected" },
|
|
@@ -4770,12 +4830,12 @@ f(ke, "SUSPICIOUS_PATTERNS", [
|
|
|
4770
4830
|
{ pattern: /@import/i, message: "CSS import statements detected" },
|
|
4771
4831
|
{ pattern: /expression\s*\(/i, message: "CSS expressions detected" }
|
|
4772
4832
|
]);
|
|
4773
|
-
class
|
|
4833
|
+
class po extends g {
|
|
4774
4834
|
// Early priority to apply before other modifiers
|
|
4775
4835
|
constructor(e = {}) {
|
|
4776
4836
|
super(e);
|
|
4777
|
-
|
|
4778
|
-
|
|
4837
|
+
d(this, "type", "asHTML");
|
|
4838
|
+
d(this, "priority", 10);
|
|
4779
4839
|
}
|
|
4780
4840
|
apply(e, t) {
|
|
4781
4841
|
if (!t.element || !t.componentInstance) return;
|
|
@@ -4830,11 +4890,11 @@ class Qn extends g {
|
|
|
4830
4890
|
return typeof e == "string" ? e : "";
|
|
4831
4891
|
}
|
|
4832
4892
|
sanitizeHTML(e) {
|
|
4833
|
-
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) :
|
|
4893
|
+
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) : ee.sanitize(e, this.properties);
|
|
4834
4894
|
}
|
|
4835
4895
|
validateContent(e) {
|
|
4836
4896
|
if (this.properties.__suppressWarnings) return;
|
|
4837
|
-
const t =
|
|
4897
|
+
const t = _e.validate(e, {
|
|
4838
4898
|
suppressWarnings: this.properties.__suppressWarnings
|
|
4839
4899
|
});
|
|
4840
4900
|
!t.isValid && t.warnings.length > 0 && (console.group("🔒 AsHTML Security Warnings"), console.warn("Potentially dangerous content detected in asHTML:"), t.warnings.forEach((i) => {
|
|
@@ -4842,30 +4902,30 @@ class Qn extends g {
|
|
|
4842
4902
|
}), 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!");
|
|
4843
4903
|
}
|
|
4844
4904
|
}
|
|
4845
|
-
function
|
|
4846
|
-
return new
|
|
4905
|
+
function mo(o = {}) {
|
|
4906
|
+
return new po(o);
|
|
4847
4907
|
}
|
|
4848
|
-
function
|
|
4849
|
-
return new
|
|
4908
|
+
function ho(o) {
|
|
4909
|
+
return new B({
|
|
4850
4910
|
navigationTitle: o,
|
|
4851
4911
|
role: "heading"
|
|
4852
4912
|
});
|
|
4853
4913
|
}
|
|
4854
|
-
function
|
|
4855
|
-
return new
|
|
4914
|
+
function yo(o = !0) {
|
|
4915
|
+
return new B({
|
|
4856
4916
|
navigationBarHidden: o,
|
|
4857
4917
|
"aria-hidden": o.toString()
|
|
4858
4918
|
});
|
|
4859
4919
|
}
|
|
4860
|
-
function
|
|
4861
|
-
return new
|
|
4920
|
+
function go(o) {
|
|
4921
|
+
return new B({ navigationBarItems: o });
|
|
4862
4922
|
}
|
|
4863
|
-
class
|
|
4923
|
+
class vo extends g {
|
|
4864
4924
|
// High priority for HTML attributes
|
|
4865
4925
|
constructor(e) {
|
|
4866
4926
|
super(e);
|
|
4867
|
-
|
|
4868
|
-
|
|
4927
|
+
d(this, "type", "id");
|
|
4928
|
+
d(this, "priority", 85);
|
|
4869
4929
|
}
|
|
4870
4930
|
apply(e, t) {
|
|
4871
4931
|
if (!t.element) return;
|
|
@@ -4884,15 +4944,15 @@ class oo extends g {
|
|
|
4884
4944
|
);
|
|
4885
4945
|
}
|
|
4886
4946
|
}
|
|
4887
|
-
function
|
|
4888
|
-
return new
|
|
4947
|
+
function de(o) {
|
|
4948
|
+
return new vo({ id: o });
|
|
4889
4949
|
}
|
|
4890
|
-
class
|
|
4950
|
+
class bo extends g {
|
|
4891
4951
|
// High priority for HTML attributes
|
|
4892
4952
|
constructor(e) {
|
|
4893
4953
|
super(e);
|
|
4894
|
-
|
|
4895
|
-
|
|
4954
|
+
d(this, "type", "data");
|
|
4955
|
+
d(this, "priority", 80);
|
|
4896
4956
|
}
|
|
4897
4957
|
apply(e, t) {
|
|
4898
4958
|
if (!t.element) return;
|
|
@@ -4926,15 +4986,15 @@ class ro extends g {
|
|
|
4926
4986
|
});
|
|
4927
4987
|
}
|
|
4928
4988
|
}
|
|
4929
|
-
function
|
|
4930
|
-
return new
|
|
4989
|
+
function So(o) {
|
|
4990
|
+
return new bo({ data: o });
|
|
4931
4991
|
}
|
|
4932
|
-
class
|
|
4992
|
+
class wo extends g {
|
|
4933
4993
|
// High priority for accessibility
|
|
4934
4994
|
constructor(e) {
|
|
4935
4995
|
super(e);
|
|
4936
|
-
|
|
4937
|
-
|
|
4996
|
+
d(this, "type", "tabIndex");
|
|
4997
|
+
d(this, "priority", 75);
|
|
4938
4998
|
}
|
|
4939
4999
|
apply(e, t) {
|
|
4940
5000
|
if (!t.element) return;
|
|
@@ -4953,14 +5013,14 @@ class ao extends g {
|
|
|
4953
5013
|
);
|
|
4954
5014
|
}
|
|
4955
5015
|
}
|
|
4956
|
-
function
|
|
4957
|
-
return new
|
|
5016
|
+
function Co(o) {
|
|
5017
|
+
return new wo({ tabIndex: o });
|
|
4958
5018
|
}
|
|
4959
|
-
const
|
|
5019
|
+
const se = class se extends g {
|
|
4960
5020
|
constructor(e) {
|
|
4961
5021
|
super(e);
|
|
4962
|
-
|
|
4963
|
-
|
|
5022
|
+
d(this, "type", "aria");
|
|
5023
|
+
d(this, "priority", 90);
|
|
4964
5024
|
}
|
|
4965
5025
|
apply(e, t) {
|
|
4966
5026
|
if (!t.element) return;
|
|
@@ -4991,7 +5051,7 @@ const Q = class Q extends g {
|
|
|
4991
5051
|
return;
|
|
4992
5052
|
}
|
|
4993
5053
|
const n = t.replace(/^aria-/, "");
|
|
4994
|
-
!
|
|
5054
|
+
!se.KNOWN_ATTRIBUTES.has(n) && !t.startsWith("aria-") && console.warn(
|
|
4995
5055
|
`TachUI ARIA Modifier: Unknown ARIA attribute "${t}". This may not be a valid ARIA attribute. Did you mean "${this.suggestCorrection(n)}"?`
|
|
4996
5056
|
), this.validateSpecificAriaAttribute(t, i);
|
|
4997
5057
|
});
|
|
@@ -5084,7 +5144,7 @@ const Q = class Q extends g {
|
|
|
5084
5144
|
}
|
|
5085
5145
|
};
|
|
5086
5146
|
// Highest priority for accessibility
|
|
5087
|
-
|
|
5147
|
+
d(se, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
5088
5148
|
"label",
|
|
5089
5149
|
"labelledby",
|
|
5090
5150
|
"describedby",
|
|
@@ -5119,35 +5179,35 @@ f(Q, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
|
5119
5179
|
"valuetext",
|
|
5120
5180
|
"role"
|
|
5121
5181
|
]));
|
|
5122
|
-
let
|
|
5123
|
-
function
|
|
5124
|
-
return new
|
|
5182
|
+
let fe = se;
|
|
5183
|
+
function q(o) {
|
|
5184
|
+
return new fe({ aria: o });
|
|
5125
5185
|
}
|
|
5126
|
-
function
|
|
5127
|
-
return
|
|
5186
|
+
function Eo(o) {
|
|
5187
|
+
return q({ role: o });
|
|
5128
5188
|
}
|
|
5129
|
-
function
|
|
5130
|
-
return
|
|
5189
|
+
function xo(o) {
|
|
5190
|
+
return q({ label: o });
|
|
5131
5191
|
}
|
|
5132
|
-
function
|
|
5133
|
-
return
|
|
5192
|
+
function Mo(o) {
|
|
5193
|
+
return q({ live: o });
|
|
5134
5194
|
}
|
|
5135
|
-
function
|
|
5136
|
-
return
|
|
5195
|
+
function To(o) {
|
|
5196
|
+
return q({ describedby: o });
|
|
5137
5197
|
}
|
|
5138
|
-
function
|
|
5139
|
-
return
|
|
5198
|
+
function Lo(o) {
|
|
5199
|
+
return q({ modal: o });
|
|
5140
5200
|
}
|
|
5141
|
-
class
|
|
5201
|
+
class te extends g {
|
|
5142
5202
|
// Early application for CSS variables
|
|
5143
5203
|
constructor(e) {
|
|
5144
5204
|
super(e);
|
|
5145
|
-
|
|
5146
|
-
|
|
5205
|
+
d(this, "type", "customProperties");
|
|
5206
|
+
d(this, "priority", 5);
|
|
5147
5207
|
}
|
|
5148
5208
|
apply(e, t) {
|
|
5149
5209
|
if (!t.element) return;
|
|
5150
|
-
const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (n instanceof HTMLElement, n.style);
|
|
5210
|
+
const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (typeof HTMLElement < "u" && n instanceof HTMLElement, n.style);
|
|
5151
5211
|
if (r && typeof r.setProperty == "function") {
|
|
5152
5212
|
for (const [a, l] of Object.entries(i)) {
|
|
5153
5213
|
const c = a.startsWith("--") ? a.slice(2) : a, u = `--${this.toCSSProperty(c)}`;
|
|
@@ -5172,25 +5232,25 @@ class Z extends g {
|
|
|
5172
5232
|
return typeof e == "number" ? e.toString() : String(e);
|
|
5173
5233
|
}
|
|
5174
5234
|
}
|
|
5175
|
-
function
|
|
5176
|
-
return new
|
|
5235
|
+
function Ao(o) {
|
|
5236
|
+
return new te({
|
|
5177
5237
|
properties: o.properties,
|
|
5178
5238
|
scope: o.scope || "local"
|
|
5179
5239
|
});
|
|
5180
5240
|
}
|
|
5181
|
-
function
|
|
5182
|
-
return new
|
|
5241
|
+
function ko(o, s, e) {
|
|
5242
|
+
return new te({
|
|
5183
5243
|
properties: { [o]: s },
|
|
5184
5244
|
scope: e || "local"
|
|
5185
5245
|
});
|
|
5186
5246
|
}
|
|
5187
|
-
function
|
|
5188
|
-
return new
|
|
5247
|
+
function Io(o) {
|
|
5248
|
+
return new te({
|
|
5189
5249
|
properties: o,
|
|
5190
5250
|
scope: "local"
|
|
5191
5251
|
});
|
|
5192
5252
|
}
|
|
5193
|
-
function
|
|
5253
|
+
function Zr(o) {
|
|
5194
5254
|
const s = {};
|
|
5195
5255
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5196
5256
|
if (t !== void 0) {
|
|
@@ -5200,29 +5260,29 @@ function Or(o) {
|
|
|
5200
5260
|
);
|
|
5201
5261
|
s[`--theme-color-${i}`] = t;
|
|
5202
5262
|
}
|
|
5203
|
-
}), new
|
|
5263
|
+
}), new te({
|
|
5204
5264
|
properties: s,
|
|
5205
5265
|
scope: "local"
|
|
5206
5266
|
});
|
|
5207
5267
|
}
|
|
5208
|
-
function
|
|
5268
|
+
function qr(o) {
|
|
5209
5269
|
const s = {};
|
|
5210
5270
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5211
5271
|
t !== void 0 && (s[`--token-${e}`] = t);
|
|
5212
|
-
}), new
|
|
5272
|
+
}), new te({
|
|
5213
5273
|
properties: s,
|
|
5214
5274
|
scope: "local"
|
|
5215
5275
|
});
|
|
5216
5276
|
}
|
|
5217
|
-
const
|
|
5277
|
+
const W = class W extends w {
|
|
5218
5278
|
constructor() {
|
|
5219
5279
|
super(...arguments);
|
|
5220
|
-
|
|
5221
|
-
|
|
5280
|
+
d(this, "type", "pseudoElement");
|
|
5281
|
+
d(this, "priority", 50);
|
|
5222
5282
|
}
|
|
5223
5283
|
apply(e, t) {
|
|
5224
5284
|
if (!t.element) return;
|
|
5225
|
-
const i = `tachui-pseudo-${++
|
|
5285
|
+
const i = `tachui-pseudo-${++W.elementCount}`;
|
|
5226
5286
|
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);
|
|
5227
5287
|
}
|
|
5228
5288
|
addPseudoElementRule(e, t, i) {
|
|
@@ -5256,12 +5316,12 @@ const B = class B extends w {
|
|
|
5256
5316
|
}
|
|
5257
5317
|
getOrCreateStyleSheet() {
|
|
5258
5318
|
const e = document.getElementById(
|
|
5259
|
-
|
|
5319
|
+
W.styleSheetId
|
|
5260
5320
|
);
|
|
5261
5321
|
if (e && e instanceof HTMLStyleElement)
|
|
5262
5322
|
return e.sheet;
|
|
5263
5323
|
const t = document.createElement("style");
|
|
5264
|
-
t.id =
|
|
5324
|
+
t.id = W.styleSheetId;
|
|
5265
5325
|
try {
|
|
5266
5326
|
document.head.appendChild(t);
|
|
5267
5327
|
} catch (i) {
|
|
@@ -5274,33 +5334,33 @@ const B = class B extends w {
|
|
|
5274
5334
|
}
|
|
5275
5335
|
};
|
|
5276
5336
|
// High priority to ensure pseudo-elements are applied last
|
|
5277
|
-
|
|
5278
|
-
let
|
|
5279
|
-
function
|
|
5280
|
-
return new
|
|
5337
|
+
d(W, "styleSheetId", "tachui-pseudo-elements"), d(W, "elementCount", 0);
|
|
5338
|
+
let X = W;
|
|
5339
|
+
function J(o) {
|
|
5340
|
+
return new X({ before: o });
|
|
5281
5341
|
}
|
|
5282
|
-
function
|
|
5283
|
-
return new
|
|
5342
|
+
function ie(o) {
|
|
5343
|
+
return new X({ after: o });
|
|
5284
5344
|
}
|
|
5285
|
-
function
|
|
5286
|
-
return new
|
|
5345
|
+
function Po(o) {
|
|
5346
|
+
return new X(o);
|
|
5287
5347
|
}
|
|
5288
|
-
function
|
|
5289
|
-
return
|
|
5348
|
+
function $o(o, s = {}) {
|
|
5349
|
+
return J({
|
|
5290
5350
|
content: o,
|
|
5291
5351
|
display: "inline-block",
|
|
5292
5352
|
...s
|
|
5293
5353
|
});
|
|
5294
5354
|
}
|
|
5295
|
-
function
|
|
5296
|
-
return
|
|
5355
|
+
function Vo(o, s = {}) {
|
|
5356
|
+
return ie({
|
|
5297
5357
|
content: o,
|
|
5298
5358
|
display: "inline-block",
|
|
5299
5359
|
...s
|
|
5300
5360
|
});
|
|
5301
5361
|
}
|
|
5302
|
-
function
|
|
5303
|
-
return
|
|
5362
|
+
function Ro(o = "#ddd", s = 1, e = 16) {
|
|
5363
|
+
return J({
|
|
5304
5364
|
content: "",
|
|
5305
5365
|
display: "inline-block",
|
|
5306
5366
|
width: e,
|
|
@@ -5310,8 +5370,8 @@ function wo(o = "#ddd", s = 1, e = 16) {
|
|
|
5310
5370
|
verticalAlign: "middle"
|
|
5311
5371
|
});
|
|
5312
5372
|
}
|
|
5313
|
-
function
|
|
5314
|
-
return
|
|
5373
|
+
function Do(o = "#ddd", s = 1, e = 16) {
|
|
5374
|
+
return ie({
|
|
5315
5375
|
content: "",
|
|
5316
5376
|
display: "inline-block",
|
|
5317
5377
|
width: e,
|
|
@@ -5321,8 +5381,8 @@ function Co(o = "#ddd", s = 1, e = 16) {
|
|
|
5321
5381
|
verticalAlign: "middle"
|
|
5322
5382
|
});
|
|
5323
5383
|
}
|
|
5324
|
-
function
|
|
5325
|
-
return new
|
|
5384
|
+
function Oo(o = '"', s = '"') {
|
|
5385
|
+
return new X({
|
|
5326
5386
|
before: {
|
|
5327
5387
|
content: o,
|
|
5328
5388
|
fontSize: "1.2em",
|
|
@@ -5337,8 +5397,8 @@ function Eo(o = '"', s = '"') {
|
|
|
5337
5397
|
}
|
|
5338
5398
|
});
|
|
5339
5399
|
}
|
|
5340
|
-
function
|
|
5341
|
-
return
|
|
5400
|
+
function _o(o = "currentColor", s = 1, e = 1) {
|
|
5401
|
+
return ie({
|
|
5342
5402
|
content: "",
|
|
5343
5403
|
position: "absolute",
|
|
5344
5404
|
bottom: 0,
|
|
@@ -5349,8 +5409,8 @@ function Mo(o = "currentColor", s = 1, e = 1) {
|
|
|
5349
5409
|
opacity: e
|
|
5350
5410
|
});
|
|
5351
5411
|
}
|
|
5352
|
-
function
|
|
5353
|
-
return
|
|
5412
|
+
function Bo(o = "#ff3b30", s = 6, e = "") {
|
|
5413
|
+
return ie({
|
|
5354
5414
|
content: e,
|
|
5355
5415
|
position: "absolute",
|
|
5356
5416
|
top: -2,
|
|
@@ -5370,8 +5430,8 @@ function xo(o = "#ff3b30", s = 6, e = "") {
|
|
|
5370
5430
|
justifyContent: "center"
|
|
5371
5431
|
});
|
|
5372
5432
|
}
|
|
5373
|
-
function
|
|
5374
|
-
return
|
|
5433
|
+
function Ho(o, s = "top", e = "#333", t = "white") {
|
|
5434
|
+
return J({
|
|
5375
5435
|
content: o,
|
|
5376
5436
|
position: "absolute",
|
|
5377
5437
|
backgroundColor: e,
|
|
@@ -5412,8 +5472,8 @@ function To(o, s = "top", e = "#333", t = "white") {
|
|
|
5412
5472
|
}[s]
|
|
5413
5473
|
});
|
|
5414
5474
|
}
|
|
5415
|
-
function
|
|
5416
|
-
return
|
|
5475
|
+
function No(o, s = "#ff3b30", e = "white") {
|
|
5476
|
+
return J({
|
|
5417
5477
|
content: o,
|
|
5418
5478
|
position: "absolute",
|
|
5419
5479
|
top: 8,
|
|
@@ -5429,7 +5489,7 @@ function Lo(o, s = "#ff3b30", e = "white") {
|
|
|
5429
5489
|
zIndex: 10
|
|
5430
5490
|
});
|
|
5431
5491
|
}
|
|
5432
|
-
function
|
|
5492
|
+
function zo(o = 20, s = "#007AFF", e = 2) {
|
|
5433
5493
|
if (!document.getElementById("tachui-spinner-animation")) {
|
|
5434
5494
|
const t = document.createElement("style");
|
|
5435
5495
|
t.id = "tachui-spinner-animation", t.textContent = `
|
|
@@ -5439,7 +5499,7 @@ function Ao(o = 20, s = "#007AFF", e = 2) {
|
|
|
5439
5499
|
}
|
|
5440
5500
|
`, document.head.appendChild(t);
|
|
5441
5501
|
}
|
|
5442
|
-
return
|
|
5502
|
+
return J({
|
|
5443
5503
|
content: "",
|
|
5444
5504
|
display: "inline-block",
|
|
5445
5505
|
width: o,
|
|
@@ -5450,483 +5510,483 @@ function Ao(o = 20, s = "#007AFF", e = 2) {
|
|
|
5450
5510
|
animation: "spin 1s linear infinite"
|
|
5451
5511
|
});
|
|
5452
5512
|
}
|
|
5453
|
-
const
|
|
5513
|
+
const Fo = [
|
|
5454
5514
|
// Padding
|
|
5455
|
-
["padding",
|
|
5456
|
-
["paddingTop",
|
|
5457
|
-
["paddingBottom",
|
|
5458
|
-
["paddingLeft",
|
|
5459
|
-
["paddingRight",
|
|
5460
|
-
["paddingLeading",
|
|
5461
|
-
["paddingTrailing",
|
|
5462
|
-
["paddingHorizontal",
|
|
5463
|
-
["paddingVertical",
|
|
5515
|
+
["padding", x],
|
|
5516
|
+
["paddingTop", Je],
|
|
5517
|
+
["paddingBottom", Qe],
|
|
5518
|
+
["paddingLeft", et],
|
|
5519
|
+
["paddingRight", tt],
|
|
5520
|
+
["paddingLeading", it],
|
|
5521
|
+
["paddingTrailing", nt],
|
|
5522
|
+
["paddingHorizontal", ot],
|
|
5523
|
+
["paddingVertical", rt],
|
|
5464
5524
|
// Margin
|
|
5465
|
-
["margin",
|
|
5466
|
-
["marginTop",
|
|
5467
|
-
["marginBottom",
|
|
5468
|
-
["marginLeft",
|
|
5469
|
-
["marginRight",
|
|
5470
|
-
["marginLeading",
|
|
5471
|
-
["marginTrailing",
|
|
5472
|
-
["marginHorizontal",
|
|
5473
|
-
["marginVertical",
|
|
5525
|
+
["margin", M],
|
|
5526
|
+
["marginTop", st],
|
|
5527
|
+
["marginBottom", at],
|
|
5528
|
+
["marginLeft", lt],
|
|
5529
|
+
["marginRight", ct],
|
|
5530
|
+
["marginLeading", dt],
|
|
5531
|
+
["marginTrailing", ft],
|
|
5532
|
+
["marginHorizontal", ut],
|
|
5533
|
+
["marginVertical", pt],
|
|
5474
5534
|
// Size helpers
|
|
5475
|
-
["size",
|
|
5476
|
-
["width",
|
|
5477
|
-
["height",
|
|
5478
|
-
["maxWidth",
|
|
5479
|
-
["maxHeight",
|
|
5480
|
-
["minWidth",
|
|
5481
|
-
["minHeight",
|
|
5535
|
+
["size", mt],
|
|
5536
|
+
["width", ht],
|
|
5537
|
+
["height", yt],
|
|
5538
|
+
["maxWidth", gt],
|
|
5539
|
+
["maxHeight", bt],
|
|
5540
|
+
["minWidth", vt],
|
|
5541
|
+
["minHeight", St],
|
|
5482
5542
|
// Layout + flexbox
|
|
5483
|
-
["aspectRatio",
|
|
5484
|
-
["fixedSize",
|
|
5485
|
-
["frame",
|
|
5486
|
-
["resizable",
|
|
5487
|
-
["layoutPriority",
|
|
5488
|
-
["offset",
|
|
5489
|
-
["overlay",
|
|
5490
|
-
["position",
|
|
5491
|
-
["absolutePosition",
|
|
5492
|
-
["scaleEffect",
|
|
5493
|
-
["zIndex",
|
|
5543
|
+
["aspectRatio", Ht],
|
|
5544
|
+
["fixedSize", Ft],
|
|
5545
|
+
["frame", Wt],
|
|
5546
|
+
["resizable", Gt],
|
|
5547
|
+
["layoutPriority", jt],
|
|
5548
|
+
["offset", Ot],
|
|
5549
|
+
["overlay", Qt],
|
|
5550
|
+
["position", Xt],
|
|
5551
|
+
["absolutePosition", Ut],
|
|
5552
|
+
["scaleEffect", Bt],
|
|
5553
|
+
["zIndex", qt],
|
|
5494
5554
|
["flexbox", I],
|
|
5495
|
-
["flexGrow",
|
|
5496
|
-
["flexShrink",
|
|
5497
|
-
["flexBasis",
|
|
5498
|
-
["justifyContent",
|
|
5499
|
-
["alignItems",
|
|
5500
|
-
["alignSelf",
|
|
5501
|
-
["gap",
|
|
5502
|
-
["flexDirection",
|
|
5503
|
-
["flexWrap",
|
|
5555
|
+
["flexGrow", Tt],
|
|
5556
|
+
["flexShrink", Lt],
|
|
5557
|
+
["flexBasis", At],
|
|
5558
|
+
["justifyContent", kt],
|
|
5559
|
+
["alignItems", It],
|
|
5560
|
+
["alignSelf", Pt],
|
|
5561
|
+
["gap", $t],
|
|
5562
|
+
["flexDirection", Vt],
|
|
5563
|
+
["flexWrap", Rt],
|
|
5504
5564
|
// Appearance
|
|
5505
|
-
["backgroundColor",
|
|
5506
|
-
["background",
|
|
5507
|
-
["backgroundImage",
|
|
5508
|
-
["blendMode",
|
|
5509
|
-
["backgroundBlendMode",
|
|
5510
|
-
["compositingGroup",
|
|
5511
|
-
["border",
|
|
5512
|
-
["borderTop",
|
|
5513
|
-
["borderBottom",
|
|
5514
|
-
["borderLeft",
|
|
5515
|
-
["borderRight",
|
|
5516
|
-
["clipShape",
|
|
5517
|
-
["clipped",
|
|
5518
|
-
["cornerRadius",
|
|
5519
|
-
["foregroundColor",
|
|
5520
|
-
["gradientText",
|
|
5521
|
-
["opacity",
|
|
5522
|
-
["fontFamily",
|
|
5523
|
-
["fontSize",
|
|
5524
|
-
["fontWeight",
|
|
5525
|
-
["fontStyle",
|
|
5526
|
-
["fontPreset",
|
|
5565
|
+
["backgroundColor", ii],
|
|
5566
|
+
["background", ni],
|
|
5567
|
+
["backgroundImage", oi],
|
|
5568
|
+
["blendMode", ai],
|
|
5569
|
+
["backgroundBlendMode", li],
|
|
5570
|
+
["compositingGroup", di],
|
|
5571
|
+
["border", ui],
|
|
5572
|
+
["borderTop", pi],
|
|
5573
|
+
["borderBottom", hi],
|
|
5574
|
+
["borderLeft", yi],
|
|
5575
|
+
["borderRight", mi],
|
|
5576
|
+
["clipShape", bi],
|
|
5577
|
+
["clipped", wi],
|
|
5578
|
+
["cornerRadius", Ei],
|
|
5579
|
+
["foregroundColor", gi],
|
|
5580
|
+
["gradientText", Z],
|
|
5581
|
+
["opacity", Ci],
|
|
5582
|
+
["fontFamily", xi],
|
|
5583
|
+
["fontSize", Mi],
|
|
5584
|
+
["fontWeight", Ti],
|
|
5585
|
+
["fontStyle", Li],
|
|
5586
|
+
["fontPreset", Ai],
|
|
5527
5587
|
// Typography
|
|
5528
|
-
["typography",
|
|
5529
|
-
["textAlign",
|
|
5530
|
-
["font",
|
|
5531
|
-
["lineClamp",
|
|
5532
|
-
["wordBreak",
|
|
5533
|
-
["letterSpacing",
|
|
5534
|
-
["lineHeight",
|
|
5535
|
-
["textDecoration",
|
|
5536
|
-
["textOverflow",
|
|
5537
|
-
["textTransform",
|
|
5538
|
-
["textCase",
|
|
5539
|
-
["whiteSpace",
|
|
5540
|
-
["overflow",
|
|
5541
|
-
["hyphens",
|
|
5542
|
-
["overflowWrap",
|
|
5588
|
+
["typography", Pi],
|
|
5589
|
+
["textAlign", $i],
|
|
5590
|
+
["font", Ni],
|
|
5591
|
+
["lineClamp", Wi],
|
|
5592
|
+
["wordBreak", Ui],
|
|
5593
|
+
["letterSpacing", Di],
|
|
5594
|
+
["lineHeight", Ri],
|
|
5595
|
+
["textDecoration", Vi],
|
|
5596
|
+
["textOverflow", Oi],
|
|
5597
|
+
["textTransform", De],
|
|
5598
|
+
["textCase", Hi],
|
|
5599
|
+
["whiteSpace", _i],
|
|
5600
|
+
["overflow", Bi],
|
|
5601
|
+
["hyphens", Xi],
|
|
5602
|
+
["overflowWrap", Ki],
|
|
5543
5603
|
// Interaction
|
|
5544
|
-
["allowsHitTesting",
|
|
5545
|
-
["focusable",
|
|
5546
|
-
["activatable",
|
|
5547
|
-
["editable",
|
|
5548
|
-
["focused",
|
|
5549
|
-
["keyboardShortcut",
|
|
5550
|
-
["onHover",
|
|
5551
|
-
["onMouseEnter",
|
|
5552
|
-
["onMouseLeave",
|
|
5553
|
-
["onMouseDown",
|
|
5554
|
-
["onMouseUp",
|
|
5555
|
-
["onDoubleClick",
|
|
5556
|
-
["onContextMenu",
|
|
5557
|
-
["onKeyDown",
|
|
5558
|
-
["onKeyUp",
|
|
5559
|
-
["onKeyPress",
|
|
5560
|
-
["onFocus",
|
|
5561
|
-
["onBlur",
|
|
5562
|
-
["onContinuousHover",
|
|
5563
|
-
["onLongPressGesture",
|
|
5564
|
-
["scroll",
|
|
5565
|
-
["scrollBehavior",
|
|
5566
|
-
["overscrollBehavior",
|
|
5567
|
-
["overscrollBehaviorX",
|
|
5568
|
-
["overscrollBehaviorY",
|
|
5569
|
-
["scrollMargin",
|
|
5570
|
-
["scrollPadding",
|
|
5571
|
-
["scrollSnap",
|
|
5572
|
-
["highPriorityGesture",
|
|
5573
|
-
["simultaneousGesture",
|
|
5574
|
-
["onTap",
|
|
5575
|
-
["onScroll",
|
|
5576
|
-
["onWheel",
|
|
5577
|
-
["onInput",
|
|
5578
|
-
["onChange",
|
|
5579
|
-
["onCopy",
|
|
5580
|
-
["onCut",
|
|
5581
|
-
["onPaste",
|
|
5582
|
-
["onSelect",
|
|
5583
|
-
["onTouchStart",
|
|
5584
|
-
["onTouchMove",
|
|
5585
|
-
["onTouchEnd",
|
|
5586
|
-
["onSwipeLeft",
|
|
5587
|
-
["onSwipeRight",
|
|
5588
|
-
["disabled",
|
|
5604
|
+
["allowsHitTesting", ye],
|
|
5605
|
+
["focusable", me],
|
|
5606
|
+
["activatable", Dn],
|
|
5607
|
+
["editable", On],
|
|
5608
|
+
["focused", Vn],
|
|
5609
|
+
["keyboardShortcut", Oe],
|
|
5610
|
+
["onHover", sn],
|
|
5611
|
+
["onMouseEnter", pn],
|
|
5612
|
+
["onMouseLeave", mn],
|
|
5613
|
+
["onMouseDown", hn],
|
|
5614
|
+
["onMouseUp", yn],
|
|
5615
|
+
["onDoubleClick", gn],
|
|
5616
|
+
["onContextMenu", vn],
|
|
5617
|
+
["onKeyDown", Cn],
|
|
5618
|
+
["onKeyUp", En],
|
|
5619
|
+
["onKeyPress", xn],
|
|
5620
|
+
["onFocus", Ln],
|
|
5621
|
+
["onBlur", An],
|
|
5622
|
+
["onContinuousHover", he],
|
|
5623
|
+
["onLongPressGesture", In],
|
|
5624
|
+
["scroll", Zi],
|
|
5625
|
+
["scrollBehavior", qi],
|
|
5626
|
+
["overscrollBehavior", Ji],
|
|
5627
|
+
["overscrollBehaviorX", Qi],
|
|
5628
|
+
["overscrollBehaviorY", en],
|
|
5629
|
+
["scrollMargin", tn],
|
|
5630
|
+
["scrollPadding", nn],
|
|
5631
|
+
["scrollSnap", on],
|
|
5632
|
+
["highPriorityGesture", Hn],
|
|
5633
|
+
["simultaneousGesture", Nn],
|
|
5634
|
+
["onTap", zn],
|
|
5635
|
+
["onScroll", Fn],
|
|
5636
|
+
["onWheel", Wn],
|
|
5637
|
+
["onInput", jn],
|
|
5638
|
+
["onChange", Un],
|
|
5639
|
+
["onCopy", Gn],
|
|
5640
|
+
["onCut", Kn],
|
|
5641
|
+
["onPaste", Yn],
|
|
5642
|
+
["onSelect", Xn],
|
|
5643
|
+
["onTouchStart", Zn],
|
|
5644
|
+
["onTouchMove", qn],
|
|
5645
|
+
["onTouchEnd", Jn],
|
|
5646
|
+
["onSwipeLeft", Qn],
|
|
5647
|
+
["onSwipeRight", eo],
|
|
5648
|
+
["disabled", to],
|
|
5589
5649
|
// Utility
|
|
5590
|
-
["css",
|
|
5591
|
-
["cssProperty",
|
|
5592
|
-
["cssVariable",
|
|
5593
|
-
["utility",
|
|
5594
|
-
["cursor",
|
|
5595
|
-
["display",
|
|
5596
|
-
["overflowX",
|
|
5597
|
-
["overflowY",
|
|
5598
|
-
["outline",
|
|
5599
|
-
["outlineOffset",
|
|
5600
|
-
["asHTML",
|
|
5601
|
-
["navigationTitle",
|
|
5602
|
-
["navigationBarHidden",
|
|
5603
|
-
["navigationBarItems",
|
|
5604
|
-
["animation",
|
|
5605
|
-
["transform",
|
|
5606
|
-
["transitions",
|
|
5607
|
-
["transition",
|
|
5650
|
+
["css", co],
|
|
5651
|
+
["cssProperty", fo],
|
|
5652
|
+
["cssVariable", uo],
|
|
5653
|
+
["utility", io],
|
|
5654
|
+
["cursor", no],
|
|
5655
|
+
["display", so],
|
|
5656
|
+
["overflowX", ro],
|
|
5657
|
+
["overflowY", oo],
|
|
5658
|
+
["outline", ao],
|
|
5659
|
+
["outlineOffset", lo],
|
|
5660
|
+
["asHTML", mo],
|
|
5661
|
+
["navigationTitle", ho],
|
|
5662
|
+
["navigationBarHidden", yo],
|
|
5663
|
+
["navigationBarItems", go],
|
|
5664
|
+
["animation", Et],
|
|
5665
|
+
["transform", Ct],
|
|
5666
|
+
["transitions", xt],
|
|
5667
|
+
["transition", wt],
|
|
5608
5668
|
// Attributes
|
|
5609
|
-
["aria",
|
|
5610
|
-
["ariaLabel",
|
|
5611
|
-
["ariaLive",
|
|
5612
|
-
["ariaDescribedBy",
|
|
5613
|
-
["ariaModal",
|
|
5614
|
-
["role",
|
|
5615
|
-
["customProperties",
|
|
5616
|
-
["customProperty",
|
|
5617
|
-
["cssVariables",
|
|
5618
|
-
["id",
|
|
5619
|
-
["elementId",
|
|
5620
|
-
["viewId",
|
|
5621
|
-
["data",
|
|
5622
|
-
["tabIndex",
|
|
5669
|
+
["aria", q],
|
|
5670
|
+
["ariaLabel", xo],
|
|
5671
|
+
["ariaLive", Mo],
|
|
5672
|
+
["ariaDescribedBy", To],
|
|
5673
|
+
["ariaModal", Lo],
|
|
5674
|
+
["role", Eo],
|
|
5675
|
+
["customProperties", Ao],
|
|
5676
|
+
["customProperty", ko],
|
|
5677
|
+
["cssVariables", Io],
|
|
5678
|
+
["id", de],
|
|
5679
|
+
["elementId", de],
|
|
5680
|
+
["viewId", de],
|
|
5681
|
+
["data", So],
|
|
5682
|
+
["tabIndex", Co],
|
|
5623
5683
|
// Elements / pseudo elements
|
|
5624
|
-
["before",
|
|
5625
|
-
["after",
|
|
5626
|
-
["pseudoElements",
|
|
5627
|
-
["iconBefore",
|
|
5628
|
-
["iconAfter",
|
|
5629
|
-
["lineBefore",
|
|
5630
|
-
["lineAfter",
|
|
5631
|
-
["quotes",
|
|
5632
|
-
["underline",
|
|
5633
|
-
["badge",
|
|
5634
|
-
["tooltip",
|
|
5635
|
-
["cornerRibbon",
|
|
5636
|
-
["spinner",
|
|
5684
|
+
["before", J],
|
|
5685
|
+
["after", ie],
|
|
5686
|
+
["pseudoElements", Po],
|
|
5687
|
+
["iconBefore", $o],
|
|
5688
|
+
["iconAfter", Vo],
|
|
5689
|
+
["lineBefore", Ro],
|
|
5690
|
+
["lineAfter", Do],
|
|
5691
|
+
["quotes", Oo],
|
|
5692
|
+
["underline", _o],
|
|
5693
|
+
["badge", Bo],
|
|
5694
|
+
["tooltip", Ho],
|
|
5695
|
+
["cornerRibbon", No],
|
|
5696
|
+
["spinner", zo],
|
|
5637
5697
|
// Lifecycle
|
|
5638
|
-
["task",
|
|
5698
|
+
["task", Mt]
|
|
5639
5699
|
];
|
|
5640
|
-
function
|
|
5641
|
-
const s = o?.registry ??
|
|
5700
|
+
function Wo(o) {
|
|
5701
|
+
const s = o?.registry ?? ze;
|
|
5642
5702
|
s.registerPlugin?.({
|
|
5643
5703
|
name: "@tachui/modifiers",
|
|
5644
|
-
version:
|
|
5704
|
+
version: qe,
|
|
5645
5705
|
author: "tachUI Team",
|
|
5646
5706
|
verified: !0
|
|
5647
|
-
}),
|
|
5707
|
+
}), Fo.forEach(([e, t]) => {
|
|
5648
5708
|
s.has(e) || s.register(e, t);
|
|
5649
5709
|
});
|
|
5650
5710
|
}
|
|
5651
|
-
|
|
5711
|
+
Wo();
|
|
5652
5712
|
export {
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5713
|
+
Dr as $,
|
|
5714
|
+
Ie as A,
|
|
5715
|
+
qt as B,
|
|
5716
|
+
Te as C,
|
|
5717
|
+
Qt as D,
|
|
5718
|
+
Ni as E,
|
|
5719
|
+
R as F,
|
|
5720
|
+
Pi as G,
|
|
5721
|
+
$i as H,
|
|
5722
|
+
De as I,
|
|
5723
|
+
Vi as J,
|
|
5724
|
+
Ir as K,
|
|
5725
|
+
Pr as L,
|
|
5726
|
+
V as M,
|
|
5727
|
+
Ri as N,
|
|
5728
|
+
Dt as O,
|
|
5729
|
+
Yt as P,
|
|
5730
|
+
Di as Q,
|
|
5731
|
+
$r as R,
|
|
5732
|
+
_t as S,
|
|
5673
5733
|
k as T,
|
|
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
|
-
|
|
5710
|
-
|
|
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
|
-
|
|
5775
|
-
|
|
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
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5734
|
+
Oi as U,
|
|
5735
|
+
_i as V,
|
|
5736
|
+
Bi as W,
|
|
5737
|
+
Hi as X,
|
|
5738
|
+
Vr as Y,
|
|
5739
|
+
Pe as Z,
|
|
5740
|
+
Rr as _,
|
|
5741
|
+
Tt as a,
|
|
5742
|
+
pn as a$,
|
|
5743
|
+
Fi as a0,
|
|
5744
|
+
Wi as a1,
|
|
5745
|
+
ji as a2,
|
|
5746
|
+
Ui as a3,
|
|
5747
|
+
Gi as a4,
|
|
5748
|
+
Ki as a5,
|
|
5749
|
+
Yi as a6,
|
|
5750
|
+
Xi as a7,
|
|
5751
|
+
$e as a8,
|
|
5752
|
+
ti as a9,
|
|
5753
|
+
Tr as aA,
|
|
5754
|
+
Lr as aB,
|
|
5755
|
+
Ar as aC,
|
|
5756
|
+
Re as aD,
|
|
5757
|
+
gi as aE,
|
|
5758
|
+
kr as aF,
|
|
5759
|
+
vi as aG,
|
|
5760
|
+
bi as aH,
|
|
5761
|
+
Si as aI,
|
|
5762
|
+
wi as aJ,
|
|
5763
|
+
H as aK,
|
|
5764
|
+
Zi as aL,
|
|
5765
|
+
qi as aM,
|
|
5766
|
+
Ji as aN,
|
|
5767
|
+
Qi as aO,
|
|
5768
|
+
en as aP,
|
|
5769
|
+
tn as aQ,
|
|
5770
|
+
nn as aR,
|
|
5771
|
+
on as aS,
|
|
5772
|
+
rn as aT,
|
|
5773
|
+
sn as aU,
|
|
5774
|
+
an as aV,
|
|
5775
|
+
ln as aW,
|
|
5776
|
+
cn as aX,
|
|
5777
|
+
dn as aY,
|
|
5778
|
+
fn as aZ,
|
|
5779
|
+
un as a_,
|
|
5780
|
+
Ve as aa,
|
|
5781
|
+
ii as ab,
|
|
5782
|
+
ni as ac,
|
|
5783
|
+
oi as ad,
|
|
5784
|
+
vr as ae,
|
|
5785
|
+
Z as af,
|
|
5786
|
+
br as ag,
|
|
5787
|
+
Sr as ah,
|
|
5788
|
+
wr as ai,
|
|
5789
|
+
Cr as aj,
|
|
5790
|
+
Er as ak,
|
|
5791
|
+
ri as al,
|
|
5792
|
+
si as am,
|
|
5793
|
+
ai as an,
|
|
5794
|
+
li as ao,
|
|
5795
|
+
ci as ap,
|
|
5796
|
+
di as aq,
|
|
5797
|
+
_ as ar,
|
|
5798
|
+
fi as as,
|
|
5799
|
+
ui as at,
|
|
5800
|
+
pi as au,
|
|
5801
|
+
mi as av,
|
|
5802
|
+
hi as aw,
|
|
5803
|
+
yi as ax,
|
|
5804
|
+
xr as ay,
|
|
5805
|
+
Mr as az,
|
|
5806
|
+
Fo as b,
|
|
5807
|
+
so as b$,
|
|
5808
|
+
mn as b0,
|
|
5809
|
+
hn as b1,
|
|
5810
|
+
yn as b2,
|
|
5811
|
+
gn as b3,
|
|
5812
|
+
vn as b4,
|
|
5813
|
+
bn as b5,
|
|
5814
|
+
Sn as b6,
|
|
5815
|
+
wn as b7,
|
|
5816
|
+
Cn as b8,
|
|
5817
|
+
En as b9,
|
|
5818
|
+
zn as bA,
|
|
5819
|
+
zr as bB,
|
|
5820
|
+
Fr as bC,
|
|
5821
|
+
Fn as bD,
|
|
5822
|
+
Wr as bE,
|
|
5823
|
+
jr as bF,
|
|
5824
|
+
Ur as bG,
|
|
5825
|
+
Gr as bH,
|
|
5826
|
+
Kr as bI,
|
|
5827
|
+
Wn as bJ,
|
|
5828
|
+
jn as bK,
|
|
5829
|
+
Un as bL,
|
|
5830
|
+
Gn as bM,
|
|
5831
|
+
Kn as bN,
|
|
5832
|
+
Yn as bO,
|
|
5833
|
+
Xn as bP,
|
|
5834
|
+
Zn as bQ,
|
|
5835
|
+
qn as bR,
|
|
5836
|
+
Jn as bS,
|
|
5837
|
+
Qn as bT,
|
|
5838
|
+
eo as bU,
|
|
5839
|
+
to as bV,
|
|
5840
|
+
G as bW,
|
|
5841
|
+
io as bX,
|
|
5842
|
+
no as bY,
|
|
5843
|
+
oo as bZ,
|
|
5844
|
+
ro as b_,
|
|
5845
|
+
xn as ba,
|
|
5846
|
+
Mn as bb,
|
|
5847
|
+
Tn as bc,
|
|
5848
|
+
Ln as bd,
|
|
5849
|
+
An as be,
|
|
5850
|
+
kn as bf,
|
|
5851
|
+
In as bg,
|
|
5852
|
+
Pn as bh,
|
|
5853
|
+
Oe as bi,
|
|
5854
|
+
Or as bj,
|
|
5855
|
+
$n as bk,
|
|
5856
|
+
Vn as bl,
|
|
5857
|
+
Rn as bm,
|
|
5858
|
+
me as bn,
|
|
5859
|
+
Dn as bo,
|
|
5860
|
+
On as bp,
|
|
5861
|
+
_n as bq,
|
|
5862
|
+
he as br,
|
|
5863
|
+
_r as bs,
|
|
5864
|
+
Br as bt,
|
|
5865
|
+
Bn as bu,
|
|
5866
|
+
ye as bv,
|
|
5867
|
+
Hr as bw,
|
|
5868
|
+
Nr as bx,
|
|
5869
|
+
Hn as by,
|
|
5870
|
+
Nn as bz,
|
|
5871
|
+
Lt as c,
|
|
5872
|
+
ft as c$,
|
|
5873
|
+
ao as c0,
|
|
5874
|
+
lo as c1,
|
|
5875
|
+
ae as c2,
|
|
5876
|
+
co as c3,
|
|
5877
|
+
fo as c4,
|
|
5878
|
+
uo as c5,
|
|
5879
|
+
Yr as c6,
|
|
5880
|
+
ee as c7,
|
|
5881
|
+
Xr as c8,
|
|
5882
|
+
po as c9,
|
|
5883
|
+
Mo as cA,
|
|
5884
|
+
To as cB,
|
|
5885
|
+
Lo as cC,
|
|
5886
|
+
te as cD,
|
|
5887
|
+
Ao as cE,
|
|
5888
|
+
ko as cF,
|
|
5889
|
+
Io as cG,
|
|
5890
|
+
Zr as cH,
|
|
5891
|
+
qr as cI,
|
|
5892
|
+
D as cJ,
|
|
5893
|
+
x as cK,
|
|
5894
|
+
Je as cL,
|
|
5895
|
+
Qe as cM,
|
|
5896
|
+
et as cN,
|
|
5897
|
+
tt as cO,
|
|
5898
|
+
it as cP,
|
|
5899
|
+
nt as cQ,
|
|
5900
|
+
ot as cR,
|
|
5901
|
+
rt as cS,
|
|
5902
|
+
lr as cT,
|
|
5903
|
+
O as cU,
|
|
5904
|
+
M as cV,
|
|
5905
|
+
st as cW,
|
|
5906
|
+
at as cX,
|
|
5907
|
+
lt as cY,
|
|
5908
|
+
ct as cZ,
|
|
5909
|
+
dt as c_,
|
|
5910
|
+
mo as ca,
|
|
5911
|
+
_e as cb,
|
|
5912
|
+
X as cc,
|
|
5913
|
+
J as cd,
|
|
5914
|
+
ie as ce,
|
|
5915
|
+
Po as cf,
|
|
5916
|
+
$o as cg,
|
|
5917
|
+
Vo as ch,
|
|
5918
|
+
Ro as ci,
|
|
5919
|
+
Do as cj,
|
|
5920
|
+
Oo as ck,
|
|
5921
|
+
_o as cl,
|
|
5922
|
+
Bo as cm,
|
|
5923
|
+
Ho as cn,
|
|
5924
|
+
No as co,
|
|
5925
|
+
zo as cp,
|
|
5926
|
+
vo as cq,
|
|
5927
|
+
de as cr,
|
|
5928
|
+
bo as cs,
|
|
5929
|
+
So as ct,
|
|
5930
|
+
wo as cu,
|
|
5931
|
+
Co as cv,
|
|
5932
|
+
fe as cw,
|
|
5933
|
+
q as cx,
|
|
5934
|
+
Eo as cy,
|
|
5935
|
+
xo as cz,
|
|
5936
|
+
At as d,
|
|
5937
|
+
ut as d0,
|
|
5938
|
+
pt as d1,
|
|
5939
|
+
cr as d2,
|
|
5940
|
+
U as d3,
|
|
5941
|
+
mt as d4,
|
|
5942
|
+
ht as d5,
|
|
5943
|
+
yt as d6,
|
|
5944
|
+
gt as d7,
|
|
5945
|
+
vt as d8,
|
|
5946
|
+
bt as d9,
|
|
5947
|
+
St as da,
|
|
5948
|
+
le as db,
|
|
5949
|
+
wt as dc,
|
|
5950
|
+
ar as dd,
|
|
5951
|
+
qe as de,
|
|
5952
|
+
Jo as df,
|
|
5953
|
+
er as dg,
|
|
5954
|
+
ir as dh,
|
|
5955
|
+
Ye as di,
|
|
5956
|
+
rr as dj,
|
|
5957
|
+
ho as dk,
|
|
5958
|
+
yo as dl,
|
|
5959
|
+
go as dm,
|
|
5960
|
+
Ct as dn,
|
|
5961
|
+
Et as dp,
|
|
5962
|
+
xt as dq,
|
|
5963
|
+
Mt as dr,
|
|
5904
5964
|
w as ds,
|
|
5905
|
-
|
|
5906
|
-
|
|
5965
|
+
mr as dt,
|
|
5966
|
+
hr as du,
|
|
5907
5967
|
C as dv,
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5968
|
+
yr as dw,
|
|
5969
|
+
gr as dx,
|
|
5970
|
+
dr as e,
|
|
5911
5971
|
I as f,
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5972
|
+
It as g,
|
|
5973
|
+
Pt as h,
|
|
5974
|
+
$t as i,
|
|
5975
|
+
kt as j,
|
|
5976
|
+
fr as k,
|
|
5977
|
+
ur as l,
|
|
5978
|
+
Vt as m,
|
|
5979
|
+
Rt as n,
|
|
5980
|
+
pr as o,
|
|
5981
|
+
Ot as p,
|
|
5982
|
+
Ht as q,
|
|
5983
|
+
Wo as r,
|
|
5984
|
+
Bt as s,
|
|
5985
|
+
zt as t,
|
|
5986
|
+
Ft as u,
|
|
5987
|
+
Wt as v,
|
|
5988
|
+
jt as w,
|
|
5989
|
+
Ut as x,
|
|
5990
|
+
Gt as y,
|
|
5991
|
+
Xt as z
|
|
5932
5992
|
};
|