@tachui/core 0.8.22 → 0.8.24

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 (56) hide show
  1. package/dist/assets/FontAsset.d.ts.map +1 -1
  2. package/dist/assets/index.js +42 -41
  3. package/dist/{binding-DCV5PKkK.js → binding-DCr-JHsC.js} +9 -9
  4. package/dist/build-tools/typegen-runner.d.ts +4 -0
  5. package/dist/build-tools/typegen-runner.d.ts.map +1 -1
  6. package/dist/cleanup-BR8UpYPX.js +61 -0
  7. package/dist/common.js +272 -277
  8. package/dist/{component-D-O9yq0P.js → component-BzvSm8rM.js} +19 -19
  9. package/dist/{component-base-C41K3NTe.js → component-base-Do2EdQkr.js} +32 -33
  10. package/dist/{component-context-B9HI2nZH.js → component-context-C7Y6Xu6h.js} +1 -1
  11. package/dist/components/index.js +1 -1
  12. package/dist/computed-CA4Cgtoe.js +407 -0
  13. package/dist/{concatenated-component-2Gzy5e2c.js → concatenated-component-CA54ng_j.js} +43 -44
  14. package/dist/css-classes/index.js +2 -2
  15. package/dist/{effect-BsW3fy1q.js → effect-DgNm6jk9.js} +3 -3
  16. package/dist/{enhanced-renderer-t9Ni2EEG.js → enhanced-renderer-D05CCloF.js} +26 -28
  17. package/dist/essential.js +276 -281
  18. package/dist/factories-B05hE6kc.js +644 -0
  19. package/dist/{factory-gqfMcmOy.js → factory-B1YXfgU1.js} +23 -29
  20. package/dist/full.d.ts +12 -0
  21. package/dist/full.d.ts.map +1 -0
  22. package/dist/full.js +436 -0
  23. package/dist/gradients/index.js +53 -53
  24. package/dist/hooks-w_FYPLjI.js +158 -0
  25. package/dist/{index-DL9Cys3t.js → index-CmQmIgPK.js} +220 -233
  26. package/dist/index.d.ts +0 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +295 -300
  29. package/dist/minimal-prod.js +106 -108
  30. package/dist/minimal.js +97 -98
  31. package/dist/modifiers/base.d.ts.map +1 -1
  32. package/dist/modifiers/base.js +121 -120
  33. package/dist/modifiers/builder.js +1 -1
  34. package/dist/modifiers/index.js +22 -23
  35. package/dist/modifiers/registry.js +1 -1
  36. package/dist/{observed-object-p1CLdrFm.js → observed-object-DCoyucmV.js} +3 -3
  37. package/dist/optimization-D9t53vNJ.js +308 -0
  38. package/dist/{proxy-Cp0QUXME.js → proxy-B7ZIqGd0.js} +3 -3
  39. package/dist/reactive/index.js +87 -85
  40. package/dist/runtime/dom-bridge.js +15 -17
  41. package/dist/runtime/index.js +71 -71
  42. package/dist/runtime/renderer.js +10 -11
  43. package/dist/signal-BRoiFOO7.js +262 -0
  44. package/dist/{signal-list-07gNXGiW.js → signal-list-_Eid-N7_.js} +285 -176
  45. package/dist/state/index.js +43 -44
  46. package/dist/theme-D5-09a8N.js +26 -0
  47. package/dist/validation/index.js +24 -26
  48. package/dist/version.js +1 -1
  49. package/package.json +16 -3
  50. package/dist/factories-B3-rmvkB.js +0 -268
  51. package/dist/hooks-WGmpzYgD.js +0 -446
  52. package/dist/optimization-CbKNA9w4.js +0 -21
  53. package/dist/presets-B9x94uRn.js +0 -381
  54. package/dist/scheduler-DppMK9mR.js +0 -169
  55. package/dist/theme-CRLPHryV.js +0 -687
  56. package/dist/{index-JQ1sW1SK.js → index-7vhCZc7g.js} +1 -1
@@ -0,0 +1,308 @@
1
+ import { c as v } from "./computed-CA4Cgtoe.js";
2
+ import { d as p } from "./signal-BRoiFOO7.js";
3
+ import { b as C } from "./component-context-C7Y6Xu6h.js";
4
+ var x = Object.defineProperty, b = (s, e, t) => e in s ? x(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, c = (s, e, t) => b(s, typeof e != "symbol" ? e + "" : e, t);
5
+ const f = class l {
6
+ constructor() {
7
+ c(this, "contexts", /* @__PURE__ */ new Map()), c(this, "providerStack", /* @__PURE__ */ new Map()), c(this, "currentComponent", null);
8
+ }
9
+ static getInstance() {
10
+ return l.instance || (l.instance = new l()), l.instance;
11
+ }
12
+ /**
13
+ * Set the current component context for provider resolution
14
+ */
15
+ setCurrentComponent(e) {
16
+ this.currentComponent = e;
17
+ }
18
+ /**
19
+ * Get the current component context
20
+ */
21
+ getCurrentComponent() {
22
+ return this.currentComponent;
23
+ }
24
+ /**
25
+ * Register a context provider
26
+ */
27
+ registerProvider(e, t, r) {
28
+ this.providerStack.has(e) || this.providerStack.set(e, []);
29
+ const n = this.providerStack.get(e), [i, o] = p(t), a = {
30
+ value: t,
31
+ signal: [i, o],
32
+ subscribers: /* @__PURE__ */ new Set(),
33
+ providers: /* @__PURE__ */ new Set([r])
34
+ };
35
+ return n.push(a), r.providers.set(e, a), () => {
36
+ const u = n.indexOf(a);
37
+ u !== -1 && n.splice(u, 1), r.providers.delete(e), a.subscribers.clear(), a.providers.clear();
38
+ };
39
+ }
40
+ /**
41
+ * Get context value with reactive subscription
42
+ */
43
+ getContextValue(e, t) {
44
+ const r = this.providerStack.get(e), n = r && r.length > 0 ? r[r.length - 1] : null;
45
+ if (n)
46
+ return this.currentComponent && (n.subscribers.add(this.currentComponent.id), this.currentComponent.consumers.add(e)), [n.signal[0], !0];
47
+ const [i] = p(t);
48
+ return [i, !1];
49
+ }
50
+ /**
51
+ * Update context value and notify subscribers
52
+ */
53
+ updateContextValue(e, t) {
54
+ const r = this.providerStack.get(e), n = r && r.length > 0 ? r[r.length - 1] : null;
55
+ return n ? (n.value = t, n.signal[1](t), !0) : !1;
56
+ }
57
+ /**
58
+ * Get all registered contexts (for debugging)
59
+ */
60
+ getAllContexts() {
61
+ const e = /* @__PURE__ */ new Map();
62
+ for (const [t, r] of this.providerStack.entries())
63
+ r.length > 0 && e.set(t, r[r.length - 1]);
64
+ return e;
65
+ }
66
+ /**
67
+ * Clear all contexts (for testing)
68
+ */
69
+ clear() {
70
+ this.contexts.clear(), this.providerStack.clear(), this.currentComponent = null;
71
+ }
72
+ };
73
+ c(f, "instance");
74
+ let g = f;
75
+ class d {
76
+ constructor() {
77
+ c(this, "registry", g.getInstance());
78
+ }
79
+ /**
80
+ * Create a context provider component
81
+ */
82
+ createProvider(e, t, r) {
83
+ return {
84
+ type: "component",
85
+ render: () => {
86
+ const n = this.registry.registerProvider(
87
+ e.symbol,
88
+ t,
89
+ C(`provider_${e.symbol.toString()}`)
90
+ ), i = r.flatMap((o) => {
91
+ let a = o;
92
+ "build" in o && typeof o.build == "function" && (a = o.build());
93
+ const u = a.render();
94
+ return Array.isArray(u) ? u : [u];
95
+ });
96
+ return [
97
+ {
98
+ type: "element",
99
+ tag: "div",
100
+ props: { "data-context-provider": e.displayName || "provider" },
101
+ children: i,
102
+ dispose: n
103
+ }
104
+ ];
105
+ },
106
+ props: { children: r },
107
+ id: `provider_${Date.now()}`,
108
+ children: r
109
+ };
110
+ }
111
+ /**
112
+ * Set current component for context resolution
113
+ */
114
+ setCurrentComponent(e) {
115
+ this.registry.setCurrentComponent(e);
116
+ }
117
+ /**
118
+ * Update a context value
119
+ */
120
+ updateContext(e, t) {
121
+ return this.registry.updateContextValue(e.symbol, t);
122
+ }
123
+ /**
124
+ * Get all active contexts (for debugging)
125
+ */
126
+ getAllContexts() {
127
+ return this.registry.getAllContexts();
128
+ }
129
+ /**
130
+ * Clear all contexts
131
+ */
132
+ clear() {
133
+ this.registry.clear();
134
+ }
135
+ }
136
+ function h(s, e = {}) {
137
+ return {
138
+ symbol: Symbol(e.displayName || "TachUIContext"),
139
+ defaultValue: s,
140
+ displayName: e.displayName
141
+ };
142
+ }
143
+ function w(s) {
144
+ const e = g.getInstance(), [t, r] = e.getContextValue(s.symbol, s.defaultValue);
145
+ return r || console.warn(
146
+ `Context ${s.displayName || "unnamed"} used without a Provider. Using default value.`
147
+ ), t;
148
+ }
149
+ function V(s, e) {
150
+ return (t) => function(n) {
151
+ return new d().createProvider(s, e, [t(n)]);
152
+ };
153
+ }
154
+ function S(s, e) {
155
+ return {
156
+ type: "component",
157
+ render: () => {
158
+ const t = w(s);
159
+ let n = v(() => {
160
+ const o = t();
161
+ return e(o);
162
+ })();
163
+ "build" in n && typeof n.build == "function" && (n = n.build());
164
+ const i = n.render();
165
+ return Array.isArray(i) ? i : [i];
166
+ },
167
+ props: {},
168
+ id: `consumer_${Date.now()}`
169
+ };
170
+ }
171
+ class y {
172
+ constructor() {
173
+ c(this, "services", /* @__PURE__ */ new Map()), c(this, "factories", /* @__PURE__ */ new Map()), c(this, "singletons", /* @__PURE__ */ new Map()), c(this, "scoped", /* @__PURE__ */ new Map()), c(this, "dependencies", /* @__PURE__ */ new Map());
174
+ }
175
+ /**
176
+ * Register a service with the container
177
+ */
178
+ register(e, t, r = {}) {
179
+ this.services.set(e, t), r.dependencies && this.dependencies.set(e, r.dependencies), r.singleton && this.singletons.set(e, null), r.scoped && this.scoped.set(e, null);
180
+ }
181
+ /**
182
+ * Resolve a service from the container
183
+ */
184
+ resolve(e) {
185
+ if (this.singletons.has(e)) {
186
+ let t = this.singletons.get(e);
187
+ return t === null && (t = this.createInstance(e), this.singletons.set(e, t)), t;
188
+ }
189
+ if (this.scoped.has(e)) {
190
+ let t = this.scoped.get(e);
191
+ return t === null && (t = this.createInstance(e), this.scoped.set(e, t)), t;
192
+ }
193
+ return this.createInstance(e);
194
+ }
195
+ /**
196
+ * Create instance with dependency injection
197
+ */
198
+ createInstance(e) {
199
+ const r = (this.dependencies.get(e) || []).map((o) => this.resolve(o)), n = this.factories.get(e);
200
+ if (n)
201
+ return n(...r);
202
+ const i = this.services.get(e);
203
+ if (i) {
204
+ if (typeof i == "function")
205
+ try {
206
+ return new i(...r);
207
+ } catch {
208
+ return i(...r);
209
+ }
210
+ return i;
211
+ }
212
+ throw new Error(`Service ${String(e)} not found in DI container`);
213
+ }
214
+ /**
215
+ * Check if service is registered
216
+ */
217
+ has(e) {
218
+ return this.services.has(e) || this.factories.has(e);
219
+ }
220
+ /**
221
+ * Clear the container
222
+ */
223
+ clear() {
224
+ this.services.clear(), this.factories.clear(), this.singletons.clear(), this.scoped.clear(), this.dependencies.clear();
225
+ }
226
+ /**
227
+ * Get all registered services (for debugging)
228
+ */
229
+ getRegistered() {
230
+ return [...this.services.keys(), ...this.factories.keys()];
231
+ }
232
+ }
233
+ const m = new y();
234
+ function N(s) {
235
+ return m.resolve(s);
236
+ }
237
+ function _(s) {
238
+ return (e) => {
239
+ const t = s || e.name;
240
+ return m.register(t, e), e;
241
+ };
242
+ }
243
+ const A = {
244
+ /**
245
+ * Create multiple contexts at once
246
+ */
247
+ createContextGroup(s, e = {}) {
248
+ const t = {};
249
+ for (const [r, n] of Object.entries(s))
250
+ t[r] = h(n, {
251
+ displayName: e.prefix ? `${e.prefix}.${r}` : r
252
+ });
253
+ return t;
254
+ },
255
+ /**
256
+ * Combine multiple context providers
257
+ */
258
+ combineProviders(s, e, t) {
259
+ const r = new d();
260
+ let n = t;
261
+ for (const [i, o] of Object.entries(s)) {
262
+ const a = e[i];
263
+ n = [r.createProvider(o, a, n)];
264
+ }
265
+ return n[0];
266
+ },
267
+ /**
268
+ * Create context with validation
269
+ */
270
+ createValidatedContext(s, e, t = {}) {
271
+ return {
272
+ ...h(s, t),
273
+ validate: e
274
+ };
275
+ }
276
+ }, D = new d();
277
+ class $ {
278
+ // Placeholder implementation
279
+ }
280
+ function R() {
281
+ }
282
+ function O() {
283
+ }
284
+ function j() {
285
+ }
286
+ function T() {
287
+ }
288
+ function U() {
289
+ }
290
+ export {
291
+ d as C,
292
+ y as D,
293
+ _ as I,
294
+ $ as L,
295
+ h as a,
296
+ S as b,
297
+ A as c,
298
+ D as d,
299
+ O as e,
300
+ j as f,
301
+ m as g,
302
+ T as h,
303
+ N as i,
304
+ U as l,
305
+ R as m,
306
+ w as u,
307
+ V as w
308
+ };
@@ -1,4 +1,4 @@
1
- import { z as h, d as R } from "./concatenated-component-2Gzy5e2c.js";
1
+ import { z as h, d as R } from "./concatenated-component-CA54ng_j.js";
2
2
  const k = {
3
3
  proxyModifiers: !0
4
4
  };
@@ -180,8 +180,8 @@ function O(r) {
180
180
  return B.set(r, w), w;
181
181
  }
182
182
  export {
183
- _ as a,
184
- O as c,
183
+ O as a,
184
+ _ as c,
185
185
  v as g,
186
186
  W as i,
187
187
  E as r
@@ -1,87 +1,89 @@
1
- import { T as t, c as s, a as r, b as c, e as i, f as n, d as l, g as o, h as g, o as u, s as f, i as d, j as h, k as E } from "../scheduler-DppMK9mR.js";
2
- import { R as m, M as p, U as R, q as y, w as q, x as v, a as C, b, y as w, n as x, z as M, c as P, A as T, B as O, E as L, I as U, f as I, J as j, p as k, v as z, g as B, K as D, d as W, i as A, F as G, o as F, L as H, G as J, H as K, u as N } from "../theme-CRLPHryV.js";
3
- import { c as V, b as X, a as Y, d as Z } from "../effect-BsW3fy1q.js";
4
- import { p as $, q as ee, i as ae, A as te, c as se, a as re, j as ce, b as ie, r as ne, d as le, s as oe, e as ge, k as ue, F as fe, G as de, f as he, t as Ee, g as Se, l as me, h as pe, m as Re, u as ye, B as qe, C as ve, n as Ce, o as be, D as we, v as xe, w as Me, x as Pe, y as Te, E as Oe, z as Le } from "../signal-list-07gNXGiW.js";
1
+ import { c as t, a as s, b as r, d as c, e as i, f as n, o as l } from "../cleanup-BR8UpYPX.js";
2
+ import { R as g, m as f, U as u, b as d, d as h, c as E, a as S, e as m, f as p, g as R, h as y, j as b, i as C, k as q, s as v, l as x } from "../computed-CA4Cgtoe.js";
3
+ import { b as M, c as P, d as T, f as O, g as L, a as U, e as I, i as j, r as k, u as D } from "../signal-BRoiFOO7.js";
4
+ import { c as z, a as B, b as A, d as G } from "../effect-DgNm6jk9.js";
5
+ import { T as F, p as J, q as K, i as N, A as Q, c as V, a as X, j as Y, b as Z, r as _, d as $, s as ee, e as ae, k as te, L as se, M as re, f as ce, t as ie, F as ne, g as le, l as oe, h as ge, m as fe, u as ue, B as de, C as he, G as Ee, n as Se, o as me, D as pe, v as Re, w as ye, x as be, y as Ce, E as qe, H as ve, I as xe, J as we, z as Me, K as Pe } from "../signal-list-_Eid-N7_.js";
6
+ import { d as Oe, g as Le, a as Ue, s as Ie } from "../theme-D5-09a8N.js";
5
7
  export {
6
- m as ReactiveError,
7
- p as ReactiveScheduler,
8
- t as TaskPriority,
9
- R as UpdatePriority,
10
- $ as analyzeReactivePerformance,
11
- ee as analyzeSignalUsage,
12
- y as batch,
13
- q as combineEquals,
14
- v as createArrayEquals,
15
- s as createCleanupGroup,
16
- C as createComputed,
17
- ae as createDeepSignal,
18
- te as createDetachedRoot,
19
- V as createEffect,
20
- se as createEffectBatch,
21
- re as createEnhancedEffect,
22
- ce as createEnhancedSignal,
23
- r as createEventListener,
24
- ie as createHighPriorityEffect,
25
- c as createInterval,
26
- ne as createLegacySignal,
27
- le as createLowPriorityEffect,
28
- b as createMemo,
29
- oe as createMigrationReport,
30
- w as createObjectEquals,
31
- X as createOnceEffect,
32
- Y as createRenderEffect,
33
- ge as createResilientEffect,
34
- i as createResource,
35
- x as createRoot,
36
- M as createSelectorEquals,
37
- ue as createShallowSignal,
38
- P as createSignal,
39
- fe as createSignalList,
40
- de as createSignalListControls,
41
- Z as createSyncEffect,
42
- n as createTimeout,
43
- he as createWatchEffect,
44
- T as debugEquals,
45
- O as deepEquals,
46
- L as defaultEquals,
47
- U as detectSystemTheme,
48
- l as dispose,
49
- Ee as enableReactiveDebugging,
50
- o as enableScheduling,
51
- Se as flushEffectUpdates,
52
- me as flushSignalUpdates,
53
- I as flushSync,
54
- j as getCurrentTheme,
55
- pe as getEffectPerformanceMetrics,
56
- Re as getEnhancedSignalImpl,
57
- ye as getMigrationStats,
58
- k as getOwner,
59
- qe as getOwnerChain,
60
- z as getReactiveContext,
61
- ve as getRootOwner,
62
- g as getScheduler,
63
- B as getSignalImpl,
64
- Ce as getSignalPerformanceMetrics,
65
- D as getThemeSignal,
66
- W as isComputed,
67
- be as isEnhancedSignal,
68
- we as isReactiveContext,
69
- A as isSignal,
70
- G as jsonEquals,
71
- xe as migrateBatch,
72
- Me as migrateReactiveCode,
73
- Pe as migrateToEnhancedSignal,
74
- u as onCleanup,
75
- Te as resetMigrationStats,
76
- Oe as runOutsideReactiveContext,
77
- F as runWithOwner,
78
- f as scheduleIdle,
79
- d as scheduleUpdate,
80
- h as scheduleWithPriority,
81
- Le as setMigrationWarnings,
82
- E as setScheduler,
83
- H as setTheme,
84
- J as shallowEquals,
85
- K as structuralEquals,
86
- N as untrack
8
+ g as ReactiveError,
9
+ f as ReactiveScheduler,
10
+ F as TaskPriority,
11
+ u as UpdatePriority,
12
+ J as analyzeReactivePerformance,
13
+ K as analyzeSignalUsage,
14
+ M as batch,
15
+ d as combineEquals,
16
+ h as createArrayEquals,
17
+ t as createCleanupGroup,
18
+ E as createComputed,
19
+ N as createDeepSignal,
20
+ Q as createDetachedRoot,
21
+ z as createEffect,
22
+ V as createEffectBatch,
23
+ X as createEnhancedEffect,
24
+ Y as createEnhancedSignal,
25
+ s as createEventListener,
26
+ Z as createHighPriorityEffect,
27
+ r as createInterval,
28
+ _ as createLegacySignal,
29
+ $ as createLowPriorityEffect,
30
+ S as createMemo,
31
+ ee as createMigrationReport,
32
+ m as createObjectEquals,
33
+ B as createOnceEffect,
34
+ A as createRenderEffect,
35
+ ae as createResilientEffect,
36
+ c as createResource,
37
+ P as createRoot,
38
+ p as createSelectorEquals,
39
+ te as createShallowSignal,
40
+ T as createSignal,
41
+ se as createSignalList,
42
+ re as createSignalListControls,
43
+ G as createSyncEffect,
44
+ i as createTimeout,
45
+ ce as createWatchEffect,
46
+ R as debugEquals,
47
+ y as deepEquals,
48
+ b as defaultEquals,
49
+ Oe as detectSystemTheme,
50
+ n as dispose,
51
+ ie as enableReactiveDebugging,
52
+ ne as enableScheduling,
53
+ le as flushEffectUpdates,
54
+ oe as flushSignalUpdates,
55
+ O as flushSync,
56
+ Le as getCurrentTheme,
57
+ ge as getEffectPerformanceMetrics,
58
+ fe as getEnhancedSignalImpl,
59
+ ue as getMigrationStats,
60
+ L as getOwner,
61
+ de as getOwnerChain,
62
+ U as getReactiveContext,
63
+ he as getRootOwner,
64
+ Ee as getScheduler,
65
+ I as getSignalImpl,
66
+ Se as getSignalPerformanceMetrics,
67
+ Ue as getThemeSignal,
68
+ C as isComputed,
69
+ me as isEnhancedSignal,
70
+ pe as isReactiveContext,
71
+ j as isSignal,
72
+ q as jsonEquals,
73
+ Re as migrateBatch,
74
+ ye as migrateReactiveCode,
75
+ be as migrateToEnhancedSignal,
76
+ l as onCleanup,
77
+ Ce as resetMigrationStats,
78
+ qe as runOutsideReactiveContext,
79
+ k as runWithOwner,
80
+ ve as scheduleIdle,
81
+ xe as scheduleUpdate,
82
+ we as scheduleWithPriority,
83
+ Me as setMigrationWarnings,
84
+ Pe as setScheduler,
85
+ Ie as setTheme,
86
+ v as shallowEquals,
87
+ x as structuralEquals,
88
+ D as untrack
87
89
  };
@@ -1,10 +1,8 @@
1
- import "../scheduler-DppMK9mR.js";
2
- import { n as C, p as M } from "../theme-CRLPHryV.js";
3
- import "@tachui/types/reactive";
4
- import { b as g, s as m, a as p } from "../component-context-B9HI2nZH.js";
5
- import { D as L } from "../concatenated-component-2Gzy5e2c.js";
1
+ import { c as C, g as M } from "../signal-BRoiFOO7.js";
2
+ import { b as g, s as m, a as p } from "../component-context-C7Y6Xu6h.js";
3
+ import { D as L } from "../concatenated-component-CA54ng_j.js";
6
4
  const v = new L(), u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Set();
7
- function N(e) {
5
+ function H(e) {
8
6
  e._enhancedLifecycle && h.add(e);
9
7
  }
10
8
  function D() {
@@ -39,7 +37,7 @@ function O(e) {
39
37
  const t = document.querySelectorAll(`[data-component-id="${e.id}"]`);
40
38
  return t.length > 0 ? Array.from(t) : [];
41
39
  }
42
- function T(e) {
40
+ function _(e) {
43
41
  C((o) => {
44
42
  const t = g("root-app");
45
43
  m(t);
@@ -159,7 +157,7 @@ function R(e, o) {
159
157
  function x(e) {
160
158
  return e && typeof e == "object" && ("modifiers" in e || "modifier" in e);
161
159
  }
162
- function $(e, o) {
160
+ function N(e, o) {
163
161
  const t = [];
164
162
  for (const n of e) {
165
163
  const r = E(n, o);
@@ -167,7 +165,7 @@ function $(e, o) {
167
165
  }
168
166
  return t;
169
167
  }
170
- function I(e, o) {
168
+ function T(e, o) {
171
169
  const t = l.get(e);
172
170
  if (!t) {
173
171
  console.warn("Attempted to update unmounted component");
@@ -177,7 +175,7 @@ function I(e, o) {
177
175
  const n = t[0]?.parentElement;
178
176
  n && (w(e, n), E(e, n));
179
177
  }
180
- function B(e) {
178
+ function $(e) {
181
179
  let o = e;
182
180
  for (; o; ) {
183
181
  const t = u.get(o);
@@ -186,7 +184,7 @@ function B(e) {
186
184
  o = o.parentElement;
187
185
  }
188
186
  }
189
- const U = {
187
+ const I = {
190
188
  getMountedComponents: () => Array.from(u.entries()),
191
189
  getComponentElements: (e) => l.get(e),
192
190
  isComponentMounted: (e) => e.mounted || !1,
@@ -209,13 +207,13 @@ const U = {
209
207
  }
210
208
  };
211
209
  export {
212
- U as DOMBridgeDebug,
213
- B as getComponentFromElement,
214
- $ as mountComponentChildren,
210
+ I as DOMBridgeDebug,
211
+ $ as getComponentFromElement,
212
+ N as mountComponentChildren,
215
213
  E as mountComponentTree,
216
- T as mountRoot,
217
- N as registerComponentWithLifecycleHooks,
214
+ _ as mountRoot,
215
+ H as registerComponentWithLifecycleHooks,
218
216
  w as unmountComponent,
219
217
  b as unmountComponentEnhanced,
220
- I as updateComponent
218
+ T as updateComponent
221
219
  };