@tachui/core 0.8.25 → 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.
Files changed (45) hide show
  1. package/dist/assets/ColorAsset.d.ts +1 -0
  2. package/dist/assets/ColorAsset.d.ts.map +1 -1
  3. package/dist/assets/FontAsset.d.ts +3 -0
  4. package/dist/assets/FontAsset.d.ts.map +1 -1
  5. package/dist/assets/ImageAsset.d.ts.map +1 -1
  6. package/dist/assets/index.d.ts +1 -0
  7. package/dist/assets/index.d.ts.map +1 -1
  8. package/dist/assets/index.js +196 -132
  9. package/dist/assets/ssr-context.d.ts +8 -0
  10. package/dist/assets/ssr-context.d.ts.map +1 -0
  11. package/dist/{binding-DCr-JHsC.js → binding-DNl4QUbT.js} +1 -1
  12. package/dist/common.js +388 -386
  13. package/dist/{component-BzvSm8rM.js → component-DR1wgdPH.js} +66 -69
  14. package/dist/{component-context-C7Y6Xu6h.js → component-context-BB80qzyZ.js} +66 -44
  15. package/dist/components/index.js +1 -1
  16. package/dist/{concatenated-component-CA54ng_j.js → concatenated-component-DisxEqg6.js} +123 -113
  17. package/dist/essential.js +390 -388
  18. package/dist/{factory-B1YXfgU1.js → factory-C2LUc2BF.js} +2 -2
  19. package/dist/full.js +390 -388
  20. package/dist/{index-CmQmIgPK.js → index-B1zQAJuG.js} +91 -89
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +390 -388
  24. package/dist/minimal-prod.js +2 -2
  25. package/dist/minimal.js +4 -4
  26. package/dist/modifiers/base.d.ts +17 -0
  27. package/dist/modifiers/base.d.ts.map +1 -1
  28. package/dist/modifiers/base.js +97 -67
  29. package/dist/modifiers/builder.js +1 -1
  30. package/dist/modifiers/index.js +2 -2
  31. package/dist/modifiers/registry.js +1 -1
  32. package/dist/{observed-object-DCoyucmV.js → observed-object-gKl1Kk85.js} +1 -1
  33. package/dist/{optimization-D9t53vNJ.js → optimization-CnRxoggr.js} +1 -1
  34. package/dist/{proxy-B7ZIqGd0.js → proxy-B6FFddJq.js} +1 -1
  35. package/dist/runtime/component-context.d.ts +2 -0
  36. package/dist/runtime/component-context.d.ts.map +1 -1
  37. package/dist/runtime/component.d.ts.map +1 -1
  38. package/dist/runtime/dom-bridge.js +2 -2
  39. package/dist/runtime/index.js +4 -4
  40. package/dist/runtime/lazy-component.d.ts.map +1 -1
  41. package/dist/runtime/renderer.d.ts.map +1 -1
  42. package/dist/runtime/renderer.js +1 -1
  43. package/dist/state/index.js +5 -5
  44. package/dist/version.js +1 -1
  45. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { globalModifierRegistry as A } from "@tachui/registry";
2
2
  import { i as w } from "./computed-CA4Cgtoe.js";
3
- import { i as N, c as U, u as F } from "./signal-BRoiFOO7.js";
3
+ import { i as N, c as F, u as z } from "./signal-BRoiFOO7.js";
4
4
  import { c as E } from "./effect-DgNm6jk9.js";
5
- var G = Object.defineProperty, z = (n, e, t) => e in n ? G(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, K = (n, e, t) => z(n, e + "", t);
6
- const q = /* @__PURE__ */ new Set([
5
+ var G = Object.defineProperty, K = (n, e, t) => e in n ? G(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, q = (n, e, t) => K(n, e + "", t);
6
+ const Z = /* @__PURE__ */ new Set([
7
7
  "onFocus",
8
8
  "onBlur",
9
9
  "onKeyDown",
@@ -23,16 +23,16 @@ const q = /* @__PURE__ */ new Set([
23
23
  "onSwipeLeft",
24
24
  "onSwipeRight"
25
25
  ]);
26
- let k = null;
27
- function _e(n) {
28
- k = n, console.debug(
26
+ let L = null;
27
+ function Re(n) {
28
+ L = n, console.debug(
29
29
  "[RegistryBridge] External modifier registry set with",
30
30
  n?.list()?.length || 0,
31
31
  "modifiers"
32
32
  );
33
33
  }
34
34
  function B() {
35
- return k || A;
35
+ return L || A;
36
36
  }
37
37
  function l(n, ...e) {
38
38
  const i = B().get(n);
@@ -46,9 +46,9 @@ function l(n, ...e) {
46
46
  `Modifier '${n}' not found in registry. Import @tachui/modifiers or @tachui/modifiers/effects to register modifiers.`
47
47
  );
48
48
  }
49
- class Z {
49
+ class J {
50
50
  constructor(e) {
51
- this.component = e, K(this, "modifiers", []);
51
+ this.component = e, q(this, "modifiers", []);
52
52
  }
53
53
  frame(e, t) {
54
54
  let i;
@@ -345,7 +345,7 @@ This method is for internal framework use only.`
345
345
  const d = r && Object.getPrototypeOf(r) || Object.prototype;
346
346
  o = Object.create(d), Object.assign(o, r), o.props = { ...r.props }, o.cleanup = Array.isArray(r.cleanup) ? [...r.cleanup] : [], o.mounted = r.mounted ?? !1, o.id = r.id, o.type = r.type, o.render = typeof r.render == "function" ? r.render.bind(r) : () => [];
347
347
  }
348
- const a = L(
348
+ const a = k(
349
349
  o,
350
350
  s
351
351
  );
@@ -354,7 +354,7 @@ This method is for internal framework use only.`
354
354
  s
355
355
  ), a;
356
356
  } else {
357
- const e = L(
357
+ const e = k(
358
358
  this.component,
359
359
  this.modifiers
360
360
  );
@@ -377,7 +377,7 @@ This method is for internal framework use only.`
377
377
  e.props[d] = typeof a == "boolean" ? a : String(a);
378
378
  }
379
379
  });
380
- } else if (q.has(i.type)) {
380
+ } else if (Z.has(i.type)) {
381
381
  const r = i.properties || {};
382
382
  Object.entries(r).forEach(([o, a]) => {
383
383
  typeof a == "function" && (e.props[o] = a);
@@ -513,7 +513,7 @@ This method is for internal framework use only.`
513
513
  // - shadow(), textShadow(), shadows(), shadowPreset(), clipped()
514
514
  }
515
515
  function H(n) {
516
- const e = new Z(n);
516
+ const e = new J(n);
517
517
  return new Proxy(e, {
518
518
  get(t, i, s) {
519
519
  if (i in t) {
@@ -553,14 +553,14 @@ function H(n) {
553
553
  }
554
554
  });
555
555
  }
556
- function xe(n, e) {
556
+ function Ie(n, e) {
557
557
  return {
558
558
  ...n,
559
559
  modifiers: e,
560
560
  modifierBuilder: H(n)
561
561
  };
562
562
  }
563
- const Te = {
563
+ const Pe = {
564
564
  /**
565
565
  * Create a padding modifier with all sides
566
566
  */
@@ -568,7 +568,7 @@ const Te = {
568
568
  return l("padding", { all: n });
569
569
  }
570
570
  };
571
- class J {
571
+ class Y {
572
572
  register(e, t) {
573
573
  A.register(e, t);
574
574
  }
@@ -588,13 +588,13 @@ class J {
588
588
  return A.validateRegistry();
589
589
  }
590
590
  }
591
- const Y = new J();
591
+ const Q = new Y();
592
592
  process.env.NODE_ENV === "development" && console.log("📤 Created RegistryAdapter for globalModifierRegistry", {
593
593
  registryId: A.instanceId,
594
594
  currentSize: A.list().length
595
595
  });
596
- function Re() {
597
- return Y;
596
+ function Le() {
597
+ return Q;
598
598
  }
599
599
  function V(n, e, t = {}, i = {}) {
600
600
  if (!e.length) return n;
@@ -612,12 +612,12 @@ function V(n, e, t = {}, i = {}) {
612
612
  };
613
613
  switch (i.batch ? "batch" : "sequential") {
614
614
  case "batch":
615
- return X(n, e, s, i);
615
+ return ee(n, e, s, i);
616
616
  default:
617
- return Q(n, e, s, i);
617
+ return X(n, e, s, i);
618
618
  }
619
619
  }
620
- function Q(n, e, t, i) {
620
+ function X(n, e, t, i) {
621
621
  const s = [...e].sort(
622
622
  (d, u) => d.priority - u.priority
623
623
  );
@@ -638,13 +638,13 @@ function Q(n, e, t, i) {
638
638
  }
639
639
  return r;
640
640
  }
641
- function X(n, e, t, i) {
642
- const s = ee(e);
641
+ function ee(n, e, t, i) {
642
+ const s = te(e);
643
643
  let r = n;
644
644
  const o = [], a = [];
645
645
  for (const [d, u] of s)
646
646
  try {
647
- r = te(r, u, t);
647
+ r = ie(r, u, t);
648
648
  } catch (b) {
649
649
  (typeof process > "u" || process.env.NODE_ENV !== "test") && console.error(`Failed to apply modifier group ${d}:`, b);
650
650
  }
@@ -656,7 +656,7 @@ function X(n, e, t, i) {
656
656
  }
657
657
  return r;
658
658
  }
659
- function ee(n) {
659
+ function te(n) {
660
660
  const e = /* @__PURE__ */ new Map();
661
661
  for (const t of n) {
662
662
  const i = e.get(t.type) || [];
@@ -664,7 +664,7 @@ function ee(n) {
664
664
  }
665
665
  return e;
666
666
  }
667
- function te(n, e, t) {
667
+ function ie(n, e, t) {
668
668
  const i = [...e].sort(
669
669
  (r, o) => r.priority - o.priority
670
670
  );
@@ -678,10 +678,10 @@ function te(n, e, t) {
678
678
  }
679
679
  return s;
680
680
  }
681
- function ie(n) {
681
+ function re(n) {
682
682
  return n && typeof n.concat == "function" && typeof n.toSegment == "function" && typeof n.isConcatenatable == "function";
683
683
  }
684
- function L(n, e = []) {
684
+ function k(n, e = []) {
685
685
  const t = {
686
686
  type: n.type,
687
687
  id: n.id,
@@ -711,7 +711,7 @@ function L(n, e = []) {
711
711
  return t.render = () => {
712
712
  const r = s();
713
713
  return (Array.isArray(r) ? r : [r]).map((a, d) => (a && typeof a == "object" && (d === 0 ? (a.modifiers = [...t.modifiers], a.componentId = n.id, a._originalComponent = t._originalComponent) : (a.modifiers && delete a.modifiers, a.componentId && a.componentId === n.id && delete a.componentId)), a));
714
- }, ie(n) && (t.concat = function(r) {
714
+ }, re(n) && (t.concat = function(r) {
715
715
  const o = {
716
716
  id: t.id,
717
717
  component: t,
@@ -721,16 +721,16 @@ function L(n, e = []) {
721
721
  return Array.isArray(u) ? u[0] : u;
722
722
  }
723
723
  }, a = r.toSegment(), d = {
724
- totalSegments: r instanceof C ? r.segments.length + 1 : 2,
724
+ totalSegments: r instanceof M ? r.segments.length + 1 : 2,
725
725
  accessibilityRole: "text",
726
726
  // Simplified for now
727
727
  semanticStructure: "inline"
728
728
  // Simplified for now
729
729
  };
730
- return r instanceof C ? new C(
730
+ return r instanceof M ? new M(
731
731
  [o, ...r.segments],
732
732
  d
733
- ) : new C([o, a], d);
733
+ ) : new M([o, a], d);
734
734
  }, t.toSegment = function() {
735
735
  return {
736
736
  id: t.id,
@@ -745,16 +745,16 @@ function L(n, e = []) {
745
745
  return !0;
746
746
  }), typeof n?.clone == "function" && (t.clone = (r) => {
747
747
  const o = n.clone(r);
748
- return L(
748
+ return k(
749
749
  o,
750
750
  [...t.modifiers]
751
751
  );
752
752
  }), t;
753
753
  }
754
- function Ie(n, e, t = {}) {
754
+ function ke(n, e, t = {}) {
755
755
  n.modifiers = [...e], n.mounted && n.context;
756
756
  }
757
- const Pe = {
757
+ const Oe = {
758
758
  /**
759
759
  * Check if a component has specific modifier types
760
760
  */
@@ -801,7 +801,7 @@ const Pe = {
801
801
  }
802
802
  return !0;
803
803
  }
804
- }, re = /* @__PURE__ */ new Set([
804
+ }, se = /* @__PURE__ */ new Set([
805
805
  // Container tags
806
806
  "div",
807
807
  "section",
@@ -927,7 +927,7 @@ const Pe = {
927
927
  // Usually implicit
928
928
  ["a", { role: "link", applyARIA: !1 }]
929
929
  // Usually implicit
930
- ]), se = /* @__PURE__ */ new Map([
930
+ ]), ne = /* @__PURE__ */ new Map([
931
931
  // Layout Components - Ideal for semantic containers (Warning Level: None)
932
932
  [
933
933
  "HStack",
@@ -1001,13 +1001,13 @@ const Pe = {
1001
1001
  ]
1002
1002
  // May break navigation
1003
1003
  ]);
1004
- function ne(n, e) {
1005
- const t = se.get(n);
1004
+ function oe(n, e) {
1005
+ const t = ne.get(n);
1006
1006
  return t ? t.warningLevel === "none" ? !1 : t.warningLevel === "warning" && t.problematicTags ? t.problematicTags.includes(e) : !(t.idealTags && t.idealTags.includes(e)) : !0;
1007
1007
  }
1008
- class oe {
1008
+ class ae {
1009
1009
  static validate(e, t) {
1010
- return re.has(e) ? {
1010
+ return se.has(e) ? {
1011
1011
  valid: !0,
1012
1012
  warnings: this.checkSemanticWarnings(e, t),
1013
1013
  semanticRole: _.get(e)
@@ -1044,32 +1044,32 @@ class oe {
1044
1044
  return i;
1045
1045
  }
1046
1046
  }
1047
- let $ = {
1047
+ let O = {
1048
1048
  autoApplySemanticRoles: !0,
1049
1049
  warnOnOverrides: process.env.NODE_ENV !== "production",
1050
1050
  warnOnSemanticIssues: process.env.NODE_ENV !== "production",
1051
1051
  validateTags: !0,
1052
1052
  allowInvalidTags: !0
1053
1053
  };
1054
- function ke(n) {
1055
- $ = { ...$, ...n };
1054
+ function De(n) {
1055
+ O = { ...O, ...n };
1056
1056
  }
1057
1057
  function W() {
1058
- return { ...$ };
1058
+ return { ...O };
1059
1059
  }
1060
- function ae(n, e, t) {
1060
+ function ce(n, e, t) {
1061
1061
  const i = t || e, s = W();
1062
1062
  let r = { valid: !0 };
1063
- return t && (s.warnOnOverrides && ne(n, t) && process.env.NODE_ENV !== "production" && console.warn(
1063
+ return t && (s.warnOnOverrides && oe(n, t) && process.env.NODE_ENV !== "production" && console.warn(
1064
1064
  `Element override: ${n} changed from '${e}' to '${t}'`
1065
- ), s.validateTags && (r = oe.validate(t, n), !r.valid && !s.allowInvalidTags)) ? (process.env.NODE_ENV !== "production" && console.warn(
1065
+ ), s.validateTags && (r = ae.validate(t, n), !r.valid && !s.allowInvalidTags)) ? (process.env.NODE_ENV !== "production" && console.warn(
1066
1066
  `Invalid tag '${t}' rejected for '${n}', using default '${e}' instead`
1067
1067
  ), { tag: e, validation: r }) : { tag: i, validation: r };
1068
1068
  }
1069
- function Le(n, e) {
1070
- return (t) => ae(n, e, t);
1069
+ function $e(n, e) {
1070
+ return (t) => ce(n, e, t);
1071
1071
  }
1072
- var ce = Object.defineProperty, le = (n, e, t) => e in n ? ce(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, de = (n, e, t) => le(n, e + "", t);
1072
+ var le = Object.defineProperty, de = (n, e, t) => e in n ? le(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ue = (n, e, t) => de(n, e + "", t);
1073
1073
  const j = class x {
1074
1074
  static getInstance() {
1075
1075
  return x.instance || (x.instance = new x()), x.instance;
@@ -1135,11 +1135,11 @@ const j = class x {
1135
1135
  }
1136
1136
  }
1137
1137
  };
1138
- de(j, "instance");
1139
- let ue = j;
1140
- const R = ue.getInstance(), $e = (n, e, t) => R.applySemanticAttributes(n, e, t), De = (n) => R.getSemanticRole(n), Oe = (n) => R.hasAutoARIA(n);
1141
- var pe = Object.defineProperty, fe = (n, e, t) => e in n ? pe(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, I = (n, e, t) => fe(n, typeof e != "symbol" ? e + "" : e, t);
1142
- const he = /* @__PURE__ */ new Set([
1138
+ ue(j, "instance");
1139
+ let pe = j;
1140
+ const R = pe.getInstance(), Be = (n, e, t) => R.applySemanticAttributes(n, e, t), He = (n) => R.getSemanticRole(n), Ve = (n) => R.hasAutoARIA(n);
1141
+ var fe = Object.defineProperty, he = (n, e, t) => e in n ? fe(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, I = (n, e, t) => he(n, typeof e != "symbol" ? e + "" : e, t);
1142
+ const me = /* @__PURE__ */ new Set([
1143
1143
  "click",
1144
1144
  "dblclick",
1145
1145
  "mousedown",
@@ -1158,14 +1158,14 @@ const he = /* @__PURE__ */ new Set([
1158
1158
  "keydown",
1159
1159
  "keyup",
1160
1160
  "keypress"
1161
- ]), O = /* @__PURE__ */ new Set([
1161
+ ]), $ = /* @__PURE__ */ new Set([
1162
1162
  "scroll",
1163
1163
  "wheel",
1164
1164
  "touchstart",
1165
1165
  "touchmove",
1166
1166
  "touchend"
1167
1167
  ]);
1168
- class me {
1168
+ class ge {
1169
1169
  constructor() {
1170
1170
  I(this, "containerListeners", /* @__PURE__ */ new WeakMap()), I(this, "elementHandlers", /* @__PURE__ */ new WeakMap()), I(this, "handlerCounts", /* @__PURE__ */ new WeakMap());
1171
1171
  }
@@ -1203,7 +1203,7 @@ class me {
1203
1203
  return;
1204
1204
  const s = (o) => {
1205
1205
  this.handleDelegatedEvent(e, t, o);
1206
- }, r = O.has(t) ? { passive: !0 } : { passive: !1 };
1206
+ }, r = $.has(t) ? { passive: !0 } : { passive: !1 };
1207
1207
  e.addEventListener(t, s, r), i.set(t, s);
1208
1208
  }
1209
1209
  /**
@@ -1242,13 +1242,13 @@ class me {
1242
1242
  * Check if event type should use delegation
1243
1243
  */
1244
1244
  shouldDelegate(e) {
1245
- return he.has(e);
1245
+ return me.has(e);
1246
1246
  }
1247
1247
  /**
1248
1248
  * Check if event type should use passive listeners
1249
1249
  */
1250
1250
  shouldBePassive(e) {
1251
- return O.has(e);
1251
+ return $.has(e);
1252
1252
  }
1253
1253
  /**
1254
1254
  * Get metrics for debugging
@@ -1277,10 +1277,20 @@ class me {
1277
1277
  }), this.containerListeners.delete(e)), this.handlerCounts.delete(e);
1278
1278
  }
1279
1279
  }
1280
- const T = new me();
1281
- var ge = Object.defineProperty, ye = (n, e, t) => e in n ? ge(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, S = (n, e, t) => ye(n, typeof e != "symbol" ? e + "" : e, t);
1282
- const P = "__tachuiManagedComponentId";
1283
- class be {
1280
+ const T = new ge();
1281
+ var ye = Object.defineProperty, be = (n, e, t) => e in n ? ye(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, S = (n, e, t) => be(n, typeof e != "symbol" ? e + "" : e, t);
1282
+ const P = "__tachuiManagedComponentId", ve = /* @__PURE__ */ new Set(["componentMetadata", "debugLabel"]);
1283
+ function Ee(n) {
1284
+ return ve.has(n);
1285
+ }
1286
+ function U(n) {
1287
+ if (!n) return {};
1288
+ const e = {};
1289
+ for (const [t, i] of Object.entries(n))
1290
+ Ee(t) || (e[t] = i);
1291
+ return e;
1292
+ }
1293
+ class Ae {
1284
1294
  constructor() {
1285
1295
  S(this, "nodeMap", /* @__PURE__ */ new WeakMap()), S(this, "cleanupMap", /* @__PURE__ */ new WeakMap()), S(this, "renderedNodes", /* @__PURE__ */ new Set()), S(this, "elementToContainer", /* @__PURE__ */ new WeakMap()), S(this, "metrics", {
1286
1296
  created: 0,
@@ -1363,7 +1373,7 @@ class be {
1363
1373
  return this.metrics.created++, t && this.elementToContainer.set(i, t), this.applyDebugAttributes(i, e), this.updateProps(i, e, t), this.updateChildren(i, e), i;
1364
1374
  }
1365
1375
  updateProps(e, t, i) {
1366
- const s = t.props || {}, r = t.__appliedProps || {};
1376
+ const s = U(t.props), r = t.__appliedProps || {};
1367
1377
  Object.keys(r).forEach((a) => {
1368
1378
  if (!(a in s)) {
1369
1379
  if (a === "key" || a === "children" || a.startsWith("on"))
@@ -1827,15 +1837,15 @@ class be {
1827
1837
  this.metrics.modifierApplications += e;
1828
1838
  }
1829
1839
  }
1830
- const h = new be();
1831
- function Be() {
1840
+ const h = new Ae();
1841
+ function We() {
1832
1842
  h.resetMetrics();
1833
1843
  }
1834
- function He() {
1844
+ function je() {
1835
1845
  return h.getMetrics();
1836
1846
  }
1837
- function Ve(n, e) {
1838
- return U(() => {
1847
+ function Ue(n, e) {
1848
+ return F(() => {
1839
1849
  let t = [];
1840
1850
  const i = /* @__PURE__ */ new Map(), s = (o) => {
1841
1851
  if (o.key != null) {
@@ -1914,24 +1924,24 @@ function Ve(n, e) {
1914
1924
  };
1915
1925
  });
1916
1926
  }
1917
- function ve(n, e, ...t) {
1918
- const i = t.flat().filter((r) => r != null).map((r) => typeof r == "string" || typeof r == "number" ? { type: "text", text: String(r) } : r), s = {
1927
+ function Me(n, e, ...t) {
1928
+ const i = t.flat().filter((o) => o != null).map((o) => typeof o == "string" || typeof o == "number" ? { type: "text", text: String(o) } : o), s = U(e), r = {
1919
1929
  type: "element",
1920
1930
  tag: n,
1921
- props: e || {},
1931
+ props: s,
1922
1932
  children: i,
1923
1933
  key: e?.key ?? void 0
1924
1934
  };
1925
- return e && "componentMetadata" in e && (s.componentMetadata = e.componentMetadata), s;
1935
+ return e && "componentMetadata" in e && (r.componentMetadata = e.componentMetadata), e && "debugLabel" in e && (r.debugLabel = e.debugLabel), r;
1926
1936
  }
1927
- function We(n) {
1937
+ function Fe(n) {
1928
1938
  if (N(n) || w(n) || typeof n == "function") {
1929
1939
  const e = {
1930
1940
  type: "text",
1931
1941
  text: "",
1932
1942
  reactiveContent: n
1933
1943
  // Store the reactive content function
1934
- }, t = F(() => n());
1944
+ }, t = z(() => n());
1935
1945
  e.text = String(t);
1936
1946
  const i = E(() => {
1937
1947
  const s = n();
@@ -1944,11 +1954,11 @@ function We(n) {
1944
1954
  text: n
1945
1955
  };
1946
1956
  }
1947
- var Ee = Object.defineProperty, Ae = (n, e, t) => e in n ? Ee(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, M = (n, e, t) => Ae(n, typeof e != "symbol" ? e + "" : e, t);
1948
- class C {
1957
+ var Ce = Object.defineProperty, Se = (n, e, t) => e in n ? Ce(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, C = (n, e, t) => Se(n, typeof e != "symbol" ? e + "" : e, t);
1958
+ class M {
1949
1959
  // Required by ModifiableComponent interface
1950
1960
  constructor(e, t, i = !0) {
1951
- this.metadata = t, M(this, "type", "component"), M(this, "id"), M(this, "mounted", !1), M(this, "cleanup", []), M(this, "props", {}), M(this, "segments"), M(this, "modifiers", []), this.id = `concat-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, this.segments = e;
1961
+ this.metadata = t, C(this, "type", "component"), C(this, "id"), C(this, "mounted", !1), C(this, "cleanup", []), C(this, "props", {}), C(this, "segments"), C(this, "modifiers", []), this.id = `concat-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, this.segments = e;
1952
1962
  }
1953
1963
  /**
1954
1964
  * Render the concatenated component to DOM nodes (Enhanced - Phase 4.2)
@@ -1956,7 +1966,7 @@ class C {
1956
1966
  render() {
1957
1967
  const e = this.determineContainerClass(), t = this.buildAccessibilityLabel(), i = this.buildAccessibilityAttributes(), s = this.modifiers && this.modifiers.some((a) => a.type === "asHTML");
1958
1968
  let r;
1959
- return s ? r = this.renderSegmentsWithAsHTML() : r = this.segments.map((a) => a.render()).flat(), [ve("span", {
1969
+ return s ? r = this.renderSegmentsWithAsHTML() : r = this.segments.map((a) => a.render()).flat(), [Me("span", {
1960
1970
  class: `tachui-concatenated ${e}`,
1961
1971
  ...i,
1962
1972
  "aria-label": t || void 0,
@@ -2037,7 +2047,7 @@ class C {
2037
2047
  */
2038
2048
  concat(e) {
2039
2049
  let t, i;
2040
- return e instanceof C ? (t = [...this.segments, ...e.segments], i = this.mergeMetadata(this.metadata, e.metadata, t.length)) : (t = [...this.segments, e.toSegment()], i = this.mergeMetadata(
2050
+ return e instanceof M ? (t = [...this.segments, ...e.segments], i = this.mergeMetadata(this.metadata, e.metadata, t.length)) : (t = [...this.segments, e.toSegment()], i = this.mergeMetadata(
2041
2051
  this.metadata,
2042
2052
  {
2043
2053
  totalSegments: 1,
@@ -2045,7 +2055,7 @@ class C {
2045
2055
  semanticStructure: this.determineComponentSemanticStructure(e)
2046
2056
  },
2047
2057
  t.length
2048
- )), new C(t, i);
2058
+ )), new M(t, i);
2049
2059
  }
2050
2060
  /**
2051
2061
  * Convert this concatenated component to a segment (for further concatenation)
@@ -2248,43 +2258,43 @@ class C {
2248
2258
  return {
2249
2259
  role: this.determineComponentAccessibilityRole(t),
2250
2260
  label: this.extractAccessibilityText(e),
2251
- children: t instanceof C ? t.generateAccessibilityTree().children : void 0
2261
+ children: t instanceof M ? t.generateAccessibilityTree().children : void 0
2252
2262
  };
2253
2263
  }
2254
2264
  }
2255
2265
  export {
2256
- Ie as A,
2257
- Pe as B,
2258
- C,
2259
- be as D,
2260
- me as E,
2261
- Z as M,
2266
+ ke as A,
2267
+ Oe as B,
2268
+ M as C,
2269
+ Ae as D,
2270
+ ge as E,
2271
+ J as M,
2262
2272
  _ as S,
2263
- re as V,
2264
- xe as a,
2273
+ se as V,
2274
+ Ie as a,
2265
2275
  V as b,
2266
2276
  H as c,
2267
- L as d,
2268
- Re as e,
2269
- Be as f,
2270
- He as g,
2271
- ve as h,
2277
+ k as d,
2278
+ Le as e,
2279
+ We as f,
2280
+ je as g,
2281
+ Me as h,
2272
2282
  T as i,
2273
- se as j,
2274
- ne as k,
2275
- oe as l,
2276
- Te as m,
2277
- ke as n,
2283
+ ne as j,
2284
+ oe as k,
2285
+ ae as l,
2286
+ Pe as m,
2287
+ De as n,
2278
2288
  W as o,
2279
- ae as p,
2280
- Le as q,
2281
- Ve as r,
2282
- _e as s,
2283
- We as t,
2284
- ue as u,
2289
+ ce as p,
2290
+ $e as q,
2291
+ Ue as r,
2292
+ Re as s,
2293
+ Fe as t,
2294
+ pe as u,
2285
2295
  R as v,
2286
- $e as w,
2287
- De as x,
2288
- Oe as y,
2289
- Y as z
2296
+ Be as w,
2297
+ He as x,
2298
+ Ve as y,
2299
+ Q as z
2290
2300
  };