@tachui/core 0.7.1-alpha → 0.8.1-alpha
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/README.md +20 -2
- package/dist/bundles/assets.d.ts +19 -0
- package/dist/bundles/assets.d.ts.map +1 -0
- package/dist/bundles/common.d.ts +1 -1
- package/dist/bundles/common.d.ts.map +1 -1
- package/dist/bundles/context.d.ts +22 -0
- package/dist/bundles/context.d.ts.map +1 -0
- package/dist/bundles/minimal.d.ts +8 -18
- package/dist/bundles/minimal.d.ts.map +1 -1
- package/dist/bundles/production-minimal.d.ts +2 -16
- package/dist/bundles/production-minimal.d.ts.map +1 -1
- package/dist/common.js +405 -828
- package/dist/compiler/advanced-parser.d.ts.map +1 -1
- package/dist/compiler/codegen.d.ts.map +1 -1
- package/dist/compiler/index.js +6 -1387
- package/dist/compiler/parser.d.ts +1 -1
- package/dist/compiler/parser.d.ts.map +1 -1
- package/dist/compiler/plugin.d.ts.map +1 -1
- package/dist/compiler/types.d.ts +28 -0
- package/dist/compiler/types.d.ts.map +1 -1
- package/dist/component-XAzF1xqs.js +487 -0
- package/dist/component-base-x2XmHFjy.js +255 -0
- package/dist/components/index.d.ts +4 -38
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -4167
- package/dist/components/wrapper.d.ts +5 -152
- package/dist/components/wrapper.d.ts.map +1 -1
- package/dist/concatenated-component-ByPl3_FF.js +2933 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/layout.d.ts +47 -4
- package/dist/constants/layout.d.ts.map +1 -1
- package/dist/constants/layout.js +84 -0
- package/dist/css-classes/index.js +176 -0
- package/dist/{dom-bridge-Cx-s6Ihx.js → dom-bridge-CAa1N2zX.js} +28 -28
- package/dist/{effect-CytAc9em.js → effect-B9Knft0b.js} +3 -3
- package/dist/essential.js +397 -826
- package/dist/index-DEBd8cq7.js +1144 -0
- package/dist/index-DIvMCJQO.js +268 -0
- package/dist/index-vdsiw6gQ.js +777 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +397 -826
- package/dist/minimal-prod.js +101 -155
- package/dist/minimal.js +118 -170
- package/dist/modifiers/background.d.ts +41 -11
- package/dist/modifiers/background.d.ts.map +1 -1
- package/dist/modifiers/base.d.ts +6 -33
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +487 -0
- package/dist/modifiers/builder.d.ts +103 -195
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +9 -0
- package/dist/modifiers/core.d.ts +9 -401
- package/dist/modifiers/core.d.ts.map +1 -1
- package/dist/modifiers/{utils.d.ts → factories.d.ts} +18 -5
- package/dist/modifiers/factories.d.ts.map +1 -0
- package/dist/modifiers/index.d.ts +8 -52
- package/dist/modifiers/index.d.ts.map +1 -1
- package/dist/modifiers/index.js +38 -0
- package/dist/modifiers/presets.d.ts +368 -0
- package/dist/modifiers/presets.d.ts.map +1 -0
- package/dist/modifiers/registry.js +10 -0
- package/dist/modifiers/types.d.ts +39 -211
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +4 -0
- package/dist/observed-object-Cos-FtjP.js +269 -0
- package/dist/performance-optimizer-stub-CtfXUwl4.js +38 -0
- package/dist/plugin-BCAdZXKq.js +1680 -0
- package/dist/plugins/index.d.ts +5 -6
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +147 -297
- package/dist/plugins/simplified-index.d.ts +5 -6
- package/dist/plugins/simplified-index.d.ts.map +1 -1
- package/dist/production-minimal-BY_gMc-l.js +2532 -0
- package/dist/reactive/index.js +96 -95
- package/dist/reactive/types.js +4 -0
- package/dist/runtime/concatenation-aria.d.ts +24 -0
- package/dist/runtime/concatenation-aria.d.ts.map +1 -0
- package/dist/runtime/concatenation-aria.js +53 -0
- package/dist/runtime/concatenation-full.d.ts +30 -0
- package/dist/runtime/concatenation-full.d.ts.map +1 -0
- package/dist/runtime/concatenation-full.js +77 -0
- package/dist/runtime/concatenation-minimal.d.ts +25 -0
- package/dist/runtime/concatenation-minimal.d.ts.map +1 -0
- package/dist/runtime/concatenation-minimal.js +40 -0
- package/dist/runtime/dom-bridge.js +5 -5
- package/dist/runtime/element-override.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +0 -7
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +7 -8
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -0
- package/dist/{scheduler-7SvC3a21.js → scheduler-BKeqwrYE.js} +130 -130
- package/dist/validation/build-time-stub.d.ts +33 -0
- package/dist/validation/build-time-stub.d.ts.map +1 -0
- package/dist/validation/debug-tools-stub.d.ts +67 -0
- package/dist/validation/debug-tools-stub.d.ts.map +1 -0
- package/dist/validation/index.d.ts +23 -78
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +609 -6470
- package/dist/validation/lifecycle-validation.d.ts.map +1 -1
- package/dist/validation/performance-optimizer-stub.d.ts +50 -0
- package/dist/validation/performance-optimizer-stub.d.ts.map +1 -0
- package/dist/validation/plugin-registration.d.ts +5 -1
- package/dist/validation/plugin-registration.d.ts.map +1 -1
- package/dist/validation/production-bypass-core.d.ts +69 -0
- package/dist/validation/production-bypass-core.d.ts.map +1 -0
- package/package.json +61 -5
- package/dist/ScrollView-h-6wYMAm.js +0 -515
- package/dist/Spacer-BbteDQ9I.js +0 -5337
- package/dist/binding-CmdpowkI.js +0 -2276
- package/dist/components/BasicInput.d.ts +0 -116
- package/dist/components/BasicInput.d.ts.map +0 -1
- package/dist/components/Button.d.ts +0 -252
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Divider.d.ts +0 -141
- package/dist/components/Divider.d.ts.map +0 -1
- package/dist/components/EnhancedLink.d.ts +0 -365
- package/dist/components/EnhancedLink.d.ts.map +0 -1
- package/dist/components/Form.d.ts +0 -141
- package/dist/components/Form.d.ts.map +0 -1
- package/dist/components/Grid.d.ts +0 -698
- package/dist/components/Grid.d.ts.map +0 -1
- package/dist/components/GridResponsive.d.ts +0 -214
- package/dist/components/GridResponsive.d.ts.map +0 -1
- package/dist/components/Image.d.ts +0 -162
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/List.d.ts +0 -287
- package/dist/components/List.d.ts.map +0 -1
- package/dist/components/Menu.d.ts +0 -159
- package/dist/components/Menu.d.ts.map +0 -1
- package/dist/components/Picker.d.ts +0 -153
- package/dist/components/Picker.d.ts.map +0 -1
- package/dist/components/ScrollView.d.ts +0 -222
- package/dist/components/ScrollView.d.ts.map +0 -1
- package/dist/components/Section.d.ts +0 -153
- package/dist/components/Section.d.ts.map +0 -1
- package/dist/components/Show.d.ts +0 -64
- package/dist/components/Show.d.ts.map +0 -1
- package/dist/components/Spacer.d.ts +0 -35
- package/dist/components/Spacer.d.ts.map +0 -1
- package/dist/components/Text.d.ts +0 -242
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Toggle.d.ts +0 -207
- package/dist/components/Toggle.d.ts.map +0 -1
- package/dist/concatenated-component-DPcl2TEO.js +0 -6779
- package/dist/context--zQFIImS.js +0 -283
- package/dist/debug/index.d.ts +0 -61
- package/dist/debug/index.d.ts.map +0 -1
- package/dist/debug.js +0 -178
- package/dist/developer-experience/enhanced-errors.d.ts +0 -128
- package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
- package/dist/developer-experience/enhanced-types.d.ts +0 -281
- package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
- package/dist/developer-experience/index.d.ts +0 -44
- package/dist/developer-experience/index.d.ts.map +0 -1
- package/dist/index-Nfi2SBQh.js +0 -3268
- package/dist/modifiers/attributes.d.ts +0 -203
- package/dist/modifiers/attributes.d.ts.map +0 -1
- package/dist/modifiers/backdrop.d.ts +0 -59
- package/dist/modifiers/backdrop.d.ts.map +0 -1
- package/dist/modifiers/border.d.ts +0 -217
- package/dist/modifiers/border.d.ts.map +0 -1
- package/dist/modifiers/effects.d.ts +0 -159
- package/dist/modifiers/effects.d.ts.map +0 -1
- package/dist/modifiers/elements.d.ts +0 -240
- package/dist/modifiers/elements.d.ts.map +0 -1
- package/dist/modifiers/filters.d.ts +0 -275
- package/dist/modifiers/filters.d.ts.map +0 -1
- package/dist/modifiers/flexbox.d.ts +0 -82
- package/dist/modifiers/flexbox.d.ts.map +0 -1
- package/dist/modifiers/font.d.ts +0 -71
- package/dist/modifiers/font.d.ts.map +0 -1
- package/dist/modifiers/grid.d.ts +0 -92
- package/dist/modifiers/grid.d.ts.map +0 -1
- package/dist/modifiers/margin.d.ts +0 -128
- package/dist/modifiers/margin.d.ts.map +0 -1
- package/dist/modifiers/padding.d.ts +0 -204
- package/dist/modifiers/padding.d.ts.map +0 -1
- package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
- package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
- package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
- package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
- package/dist/modifiers/responsive/css-generator.d.ts +0 -100
- package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
- package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
- package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
- package/dist/modifiers/responsive/index.d.ts +0 -29
- package/dist/modifiers/responsive/index.d.ts.map +0 -1
- package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
- package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
- package/dist/modifiers/responsive/performance.d.ts +0 -130
- package/dist/modifiers/responsive/performance.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
- package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
- package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
- package/dist/modifiers/responsive/types.d.ts +0 -183
- package/dist/modifiers/responsive/types.d.ts.map +0 -1
- package/dist/modifiers/responsive/utilities.d.ts +0 -149
- package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
- package/dist/modifiers/scroll.d.ts +0 -143
- package/dist/modifiers/scroll.d.ts.map +0 -1
- package/dist/modifiers/shadows.d.ts +0 -114
- package/dist/modifiers/shadows.d.ts.map +0 -1
- package/dist/modifiers/size.d.ts +0 -113
- package/dist/modifiers/size.d.ts.map +0 -1
- package/dist/modifiers/text.d.ts +0 -147
- package/dist/modifiers/text.d.ts.map +0 -1
- package/dist/modifiers/transformations.d.ts +0 -329
- package/dist/modifiers/transformations.d.ts.map +0 -1
- package/dist/modifiers/transitions.d.ts +0 -98
- package/dist/modifiers/transitions.d.ts.map +0 -1
- package/dist/modifiers/typography.d.ts +0 -192
- package/dist/modifiers/typography.d.ts.map +0 -1
- package/dist/modifiers/utility.d.ts +0 -69
- package/dist/modifiers/utility.d.ts.map +0 -1
- package/dist/modifiers/utils.d.ts.map +0 -1
- package/dist/plugins/simplified-error-handler.d.ts +0 -83
- package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
- package/dist/runtime/dev-tools.d.ts +0 -240
- package/dist/runtime/dev-tools.d.ts.map +0 -1
- package/dist/runtime/development-warnings.d.ts +0 -42
- package/dist/runtime/development-warnings.d.ts.map +0 -1
- package/dist/runtime/error-boundary.d.ts +0 -302
- package/dist/runtime/error-boundary.d.ts.map +0 -1
- package/dist/runtime/error-recovery.d.ts +0 -267
- package/dist/runtime/error-recovery.d.ts.map +0 -1
- package/dist/runtime/error-reporting.d.ts +0 -287
- package/dist/runtime/error-reporting.d.ts.map +0 -1
- package/dist/runtime/error-utils.d.ts +0 -204
- package/dist/runtime/error-utils.d.ts.map +0 -1
- package/dist/runtime/performance.d.ts +0 -217
- package/dist/runtime/performance.d.ts.map +0 -1
- package/dist/sui-compat.d.ts +0 -110
- package/dist/sui-compat.d.ts.map +0 -1
- package/dist/validation/advanced-debugging.d.ts +0 -319
- package/dist/validation/advanced-debugging.d.ts.map +0 -1
- package/dist/validation/build-time/detection.d.ts +0 -32
- package/dist/validation/build-time/detection.d.ts.map +0 -1
- package/dist/validation/build-time/index.d.ts +0 -84
- package/dist/validation/build-time/index.d.ts.map +0 -1
- package/dist/validation/build-time/plugins.d.ts +0 -75
- package/dist/validation/build-time/plugins.d.ts.map +0 -1
- package/dist/validation/build-time/rules.d.ts +0 -73
- package/dist/validation/build-time/rules.d.ts.map +0 -1
- package/dist/validation/build-time/transformer.d.ts +0 -23
- package/dist/validation/build-time/transformer.d.ts.map +0 -1
- package/dist/validation/build-time/types.d.ts +0 -212
- package/dist/validation/build-time/types.d.ts.map +0 -1
- package/dist/validation/comprehensive.d.ts +0 -160
- package/dist/validation/comprehensive.d.ts.map +0 -1
- package/dist/validation/debug-tools.d.ts +0 -251
- package/dist/validation/debug-tools.d.ts.map +0 -1
- package/dist/validation/developer-experience.d.ts +0 -243
- package/dist/validation/developer-experience.d.ts.map +0 -1
- package/dist/validation/documentation-integration.d.ts +0 -269
- package/dist/validation/documentation-integration.d.ts.map +0 -1
- package/dist/validation/enhanced-runtime.d.ts +0 -279
- package/dist/validation/enhanced-runtime.d.ts.map +0 -1
- package/dist/validation/error-reporting.d.ts +0 -186
- package/dist/validation/error-reporting.d.ts.map +0 -1
- package/dist/validation/ide-integration.d.ts +0 -328
- package/dist/validation/ide-integration.d.ts.map +0 -1
- package/dist/validation/performance-optimizer.d.ts +0 -218
- package/dist/validation/performance-optimizer.d.ts.map +0 -1
- package/dist/validation/production-bypass.d.ts +0 -175
- package/dist/validation/production-bypass.d.ts.map +0 -1
- package/dist/validation/simple.d.ts +0 -111
- package/dist/validation/simple.d.ts.map +0 -1
- package/dist/viewport/adapters/web-adapter.d.ts +0 -227
- package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
- package/dist/viewport/components.d.ts +0 -131
- package/dist/viewport/components.d.ts.map +0 -1
- package/dist/viewport/environment.d.ts +0 -75
- package/dist/viewport/environment.d.ts.map +0 -1
- package/dist/viewport/index.d.ts +0 -138
- package/dist/viewport/index.d.ts.map +0 -1
- package/dist/viewport/index.js +0 -2085
- package/dist/viewport/platform-detection.d.ts +0 -59
- package/dist/viewport/platform-detection.d.ts.map +0 -1
- package/dist/viewport/types.d.ts +0 -301
- package/dist/viewport/types.d.ts.map +0 -1
- package/dist/viewport/viewport-manager.d.ts +0 -118
- package/dist/viewport/viewport-manager.d.ts.map +0 -1
package/dist/reactive/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
1
|
+
import { W as g, U as u, O as c, V as v, y as b, w as E, v as y, G as C, g as w, l as h, r as q, k as F } from "../scheduler-BKeqwrYE.js";
|
|
2
|
+
import { R as he, T as pe, j as me, n as ge, p as ve, c as be, a as ye, b as Se, h as Ee, q as Ce, d as we, s as qe, e as Fe, t as Ne, K as _e, f as Oe, A as Re, H as $e, L as Ie, m as xe, B as Pe, I as De, M as Ue, i as Me, J as Te, x as ze, o as Ae, C as Le, D as Ve, E as We, F as je, N as He, z as Be, u as Ge } from "../scheduler-BKeqwrYE.js";
|
|
3
|
+
import { c as Je, a as Ke, b as Qe, d as Xe } from "../effect-B9Knft0b.js";
|
|
4
|
+
import { ComputationState as d } from "./types.js";
|
|
4
5
|
var N = Object.defineProperty, _ = (t, e, r) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, o = (t, e, r) => _(t, typeof e != "symbol" ? e + "" : e, r);
|
|
5
|
-
let
|
|
6
|
-
class
|
|
6
|
+
let O = 0;
|
|
7
|
+
class R {
|
|
7
8
|
constructor(e, r = {}) {
|
|
8
|
-
this.effectFn = e, o(this, "id",
|
|
9
|
+
this.effectFn = e, o(this, "id", ++O), o(this, "type", "effect"), o(this, "priority"), o(this, "sources", /* @__PURE__ */ new Set()), o(this, "observers", /* @__PURE__ */ new Set()), o(this, "isDisposed", !1), o(this, "cleanupFn"), o(this, "options"), o(this, "owner"), this.priority = r.priority ?? u.Normal, this.options = r, this.owner = g(), r.fireImmediately !== !1 && this.execute();
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* Notify method called by unified scheduler
|
|
@@ -98,19 +99,19 @@ class O {
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
function l(t, e) {
|
|
101
|
-
const r = new
|
|
102
|
+
const r = new R(t, e), s = g();
|
|
102
103
|
return s && s.cleanups.push(() => r.cleanup()), () => r.cleanup();
|
|
103
104
|
}
|
|
104
|
-
function
|
|
105
|
+
function A(t, e) {
|
|
105
106
|
return l(t, { ...e, priority: u.High });
|
|
106
107
|
}
|
|
107
|
-
function
|
|
108
|
+
function L(t, e) {
|
|
108
109
|
return l(t, { ...e, priority: u.Low });
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
+
function V(t, e) {
|
|
111
112
|
return l(t, { ...e, fireImmediately: !1 });
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function W(t, e, r = 3, s) {
|
|
114
115
|
let n = 0;
|
|
115
116
|
const f = () => {
|
|
116
117
|
try {
|
|
@@ -128,7 +129,7 @@ function V(t, e, r = 3, s) {
|
|
|
128
129
|
debugName: `${s?.debugName || "effect"}(resilient)`
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
|
-
function
|
|
132
|
+
function j(t) {
|
|
132
133
|
const e = t.map(({ fn: r, options: s }) => l(r, s));
|
|
133
134
|
return () => {
|
|
134
135
|
e.forEach((r) => r());
|
|
@@ -137,10 +138,10 @@ function W(t) {
|
|
|
137
138
|
function H() {
|
|
138
139
|
return c.getInstance().getPerformanceMetrics();
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
+
function B() {
|
|
141
142
|
c.getInstance().flushSync();
|
|
142
143
|
}
|
|
143
|
-
var
|
|
144
|
+
var $ = Object.defineProperty, I = (t, e, r) => e in t ? $(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, a = (t, e, r) => I(t, typeof e != "symbol" ? e + "" : e, r);
|
|
144
145
|
let x = 0;
|
|
145
146
|
class P {
|
|
146
147
|
constructor(e, r = {}) {
|
|
@@ -218,28 +219,28 @@ function p(t, e) {
|
|
|
218
219
|
enumerable: !1
|
|
219
220
|
}), [s, n];
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
+
function G(t, e) {
|
|
222
223
|
return p(t, {
|
|
223
224
|
...e,
|
|
224
225
|
equals: y
|
|
225
226
|
});
|
|
226
227
|
}
|
|
227
|
-
function
|
|
228
|
+
function k(t, e) {
|
|
228
229
|
return p(t, {
|
|
229
230
|
...e,
|
|
230
231
|
equals: b
|
|
231
232
|
});
|
|
232
233
|
}
|
|
233
|
-
function
|
|
234
|
+
function J(t) {
|
|
234
235
|
return t[Symbol.for("tachui.signal")] || null;
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
+
function K(t) {
|
|
237
238
|
return typeof t == "function" && Symbol.for("tachui.signal") in t;
|
|
238
239
|
}
|
|
239
|
-
function
|
|
240
|
+
function Q() {
|
|
240
241
|
c.getInstance().flushSync();
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
+
function X() {
|
|
243
244
|
return c.getInstance().getPerformanceMetrics();
|
|
244
245
|
}
|
|
245
246
|
let S = !0, i = {
|
|
@@ -248,7 +249,7 @@ let S = !0, i = {
|
|
|
248
249
|
effectsConverted: 0,
|
|
249
250
|
errorsFixed: 0
|
|
250
251
|
};
|
|
251
|
-
function
|
|
252
|
+
function Y(t) {
|
|
252
253
|
return S && console.warn(
|
|
253
254
|
"createLegacySignal is deprecated. Use createSignal() or createEnhancedSignal() instead. See: https://docs.tachui.dev/migration/reactive-system"
|
|
254
255
|
), i.signalsConverted++, C(t);
|
|
@@ -275,12 +276,12 @@ function D(t, e) {
|
|
|
275
276
|
debugName: e?.debugName
|
|
276
277
|
});
|
|
277
278
|
}
|
|
278
|
-
function
|
|
279
|
+
function Z(t) {
|
|
279
280
|
const e = t(), r = [];
|
|
280
281
|
let s = "enhanced";
|
|
281
282
|
return typeof e == "object" && e !== null && (Array.isArray(e) ? (r.push("Consider using deepEquals for array values to detect mutations"), r.push("Use createDeepSignal() for automatic deep comparison"), s = "deep") : (r.push("Consider using shallowEquals for object values with simple properties"), r.push("Use createShallowSignal() for automatic shallow comparison"), s = "shallow")), r.length === 0 && r.push("Signal looks good for reference equality"), { recommendations: r, suggestedMigration: s };
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
+
function ee(t) {
|
|
284
285
|
const e = {
|
|
285
286
|
signals: [],
|
|
286
287
|
computeds: [],
|
|
@@ -300,7 +301,7 @@ function Z(t) {
|
|
|
300
301
|
r.forEach((s) => s());
|
|
301
302
|
}, e;
|
|
302
303
|
}
|
|
303
|
-
function
|
|
304
|
+
function te(t) {
|
|
304
305
|
const e = [];
|
|
305
306
|
let r = t;
|
|
306
307
|
return [
|
|
@@ -344,7 +345,7 @@ function U() {
|
|
|
344
345
|
recommendations: r
|
|
345
346
|
};
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
+
function re(t = { verbose: !1 }) {
|
|
348
349
|
const e = c.getInstance(), r = (n) => {
|
|
349
350
|
console.error("🔥 Reactive System Error:", n), i.errorsFixed++;
|
|
350
351
|
}, s = e.onError(r);
|
|
@@ -352,10 +353,10 @@ function te(t = { verbose: !1 }) {
|
|
|
352
353
|
s(), t.verbose && console.log("🔍 Reactive debugging disabled");
|
|
353
354
|
};
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
+
function se() {
|
|
356
357
|
return { ...i };
|
|
357
358
|
}
|
|
358
|
-
function
|
|
359
|
+
function ne() {
|
|
359
360
|
i = {
|
|
360
361
|
signalsConverted: 0,
|
|
361
362
|
computedsConverted: 0,
|
|
@@ -363,10 +364,10 @@ function se() {
|
|
|
363
364
|
errorsFixed: 0
|
|
364
365
|
};
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
+
function ie(t) {
|
|
367
368
|
S = t;
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
+
function oe() {
|
|
370
371
|
const t = U();
|
|
371
372
|
return `
|
|
372
373
|
# TachUI Reactive System Migration Report
|
|
@@ -386,23 +387,23 @@ ${t.recommendations.map((e) => `- ${e}`).join(`
|
|
|
386
387
|
## Generated: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
387
388
|
`;
|
|
388
389
|
}
|
|
389
|
-
function
|
|
390
|
+
function ae() {
|
|
390
391
|
return h() !== null;
|
|
391
392
|
}
|
|
392
393
|
function M(t) {
|
|
393
394
|
return q(null, t);
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
+
function ce(t) {
|
|
396
397
|
return M(() => F(t));
|
|
397
398
|
}
|
|
398
|
-
function
|
|
399
|
+
function ue() {
|
|
399
400
|
let t = h();
|
|
400
401
|
if (!t) return null;
|
|
401
402
|
for (; t.parent; )
|
|
402
403
|
t = t.parent;
|
|
403
404
|
return t;
|
|
404
405
|
}
|
|
405
|
-
function
|
|
406
|
+
function le() {
|
|
406
407
|
const t = [];
|
|
407
408
|
let e = h();
|
|
408
409
|
for (; e; )
|
|
@@ -410,83 +411,83 @@ function ue() {
|
|
|
410
411
|
return t;
|
|
411
412
|
}
|
|
412
413
|
export {
|
|
413
|
-
|
|
414
|
+
he as ReactiveError,
|
|
414
415
|
c as ReactiveScheduler,
|
|
415
|
-
|
|
416
|
+
pe as TaskPriority,
|
|
416
417
|
u as UpdatePriority,
|
|
417
418
|
U as analyzeReactivePerformance,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
419
|
+
Z as analyzeSignalUsage,
|
|
420
|
+
me as batch,
|
|
421
|
+
ge as combineEquals,
|
|
422
|
+
ve as createArrayEquals,
|
|
423
|
+
be as createCleanupGroup,
|
|
423
424
|
w as createComputed,
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
G as createDeepSignal,
|
|
426
|
+
ce as createDetachedRoot,
|
|
427
|
+
Je as createEffect,
|
|
428
|
+
j as createEffectBatch,
|
|
428
429
|
l as createEnhancedEffect,
|
|
429
430
|
p as createEnhancedSignal,
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
431
|
+
ye as createEventListener,
|
|
432
|
+
A as createHighPriorityEffect,
|
|
433
|
+
Se as createInterval,
|
|
434
|
+
Y as createLegacySignal,
|
|
435
|
+
L as createLowPriorityEffect,
|
|
436
|
+
Ee as createMemo,
|
|
437
|
+
oe as createMigrationReport,
|
|
438
|
+
Ce as createObjectEquals,
|
|
439
|
+
Ke as createOnceEffect,
|
|
440
|
+
Qe as createRenderEffect,
|
|
441
|
+
W as createResilientEffect,
|
|
442
|
+
we as createResource,
|
|
442
443
|
F as createRoot,
|
|
443
|
-
|
|
444
|
-
|
|
444
|
+
qe as createSelectorEquals,
|
|
445
|
+
k as createShallowSignal,
|
|
445
446
|
C as createSignal,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
447
|
+
Xe as createSyncEffect,
|
|
448
|
+
Fe as createTimeout,
|
|
449
|
+
V as createWatchEffect,
|
|
450
|
+
Ne as debugEquals,
|
|
450
451
|
y as deepEquals,
|
|
451
452
|
E as defaultEquals,
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
453
|
+
_e as detectSystemTheme,
|
|
454
|
+
Oe as dispose,
|
|
455
|
+
re as enableReactiveDebugging,
|
|
456
|
+
Re as enableScheduling,
|
|
457
|
+
B as flushEffectUpdates,
|
|
458
|
+
Q as flushSignalUpdates,
|
|
459
|
+
$e as flushSync,
|
|
460
|
+
Ie as getCurrentTheme,
|
|
460
461
|
H as getEffectPerformanceMetrics,
|
|
461
|
-
|
|
462
|
-
|
|
462
|
+
J as getEnhancedSignalImpl,
|
|
463
|
+
se as getMigrationStats,
|
|
463
464
|
h as getOwner,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
465
|
+
le as getOwnerChain,
|
|
466
|
+
xe as getReactiveContext,
|
|
467
|
+
ue as getRootOwner,
|
|
468
|
+
Pe as getScheduler,
|
|
469
|
+
De as getSignalImpl,
|
|
470
|
+
X as getSignalPerformanceMetrics,
|
|
471
|
+
Ue as getThemeSignal,
|
|
472
|
+
Me as isComputed,
|
|
473
|
+
K as isEnhancedSignal,
|
|
474
|
+
ae as isReactiveContext,
|
|
475
|
+
Te as isSignal,
|
|
476
|
+
ze as jsonEquals,
|
|
477
|
+
ee as migrateBatch,
|
|
478
|
+
te as migrateReactiveCode,
|
|
478
479
|
D as migrateToEnhancedSignal,
|
|
479
|
-
|
|
480
|
-
|
|
480
|
+
Ae as onCleanup,
|
|
481
|
+
ne as resetMigrationStats,
|
|
481
482
|
M as runOutsideReactiveContext,
|
|
482
483
|
q as runWithOwner,
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
484
|
+
Le as scheduleIdle,
|
|
485
|
+
Ve as scheduleUpdate,
|
|
486
|
+
We as scheduleWithPriority,
|
|
487
|
+
ie as setMigrationWarnings,
|
|
488
|
+
je as setScheduler,
|
|
488
489
|
He as setTheme,
|
|
489
490
|
b as shallowEquals,
|
|
490
|
-
|
|
491
|
-
|
|
491
|
+
Be as structuralEquals,
|
|
492
|
+
Ge as untrack
|
|
492
493
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ARIA Runtime Concatenation (Phase 2)
|
|
3
|
+
* Mid-level concatenation with essential accessibility support
|
|
4
|
+
* Includes ARIA labels and roles, but not full semantic analysis
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentInstance } from './types';
|
|
7
|
+
export interface ARIAConcatenationResult extends ComponentInstance {
|
|
8
|
+
type: 'component';
|
|
9
|
+
optimized: true;
|
|
10
|
+
concatenationType: 'aria';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Creates an optimized concatenation with ARIA accessibility support
|
|
14
|
+
*/
|
|
15
|
+
export declare function createOptimizedConcatenation(left: ComponentInstance, right: ComponentInstance, _level: 'aria'): ARIAConcatenationResult;
|
|
16
|
+
/**
|
|
17
|
+
* Analyzes accessibility requirements for concatenation
|
|
18
|
+
*/
|
|
19
|
+
export declare function analyzeAccessibilityRequirements(left: ComponentInstance, right: ComponentInstance): {
|
|
20
|
+
needsGroupRole: boolean;
|
|
21
|
+
needsLabeling: boolean;
|
|
22
|
+
conflictingRoles: boolean;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=concatenation-aria.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"concatenation-aria.d.ts","sourceRoot":"","sources":["../../src/runtime/concatenation-aria.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,SAAS,CAAA;AAEhB,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;IACf,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE,MAAM,GACb,uBAAuB,CA0DzB;AA8BD;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,iBAAiB,GACvB;IACD,cAAc,EAAE,OAAO,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;CAC1B,CAYA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
function p(e, n, r) {
|
|
2
|
+
return {
|
|
3
|
+
type: "component",
|
|
4
|
+
optimized: !0,
|
|
5
|
+
concatenationType: "aria",
|
|
6
|
+
id: `concat_aria_${e.id}_${n.id}`,
|
|
7
|
+
render: (() => {
|
|
8
|
+
const t = {
|
|
9
|
+
type: "element",
|
|
10
|
+
tag: "span",
|
|
11
|
+
props: {
|
|
12
|
+
className: "tachui-concat-aria",
|
|
13
|
+
role: "group",
|
|
14
|
+
"aria-label": "Combined content"
|
|
15
|
+
},
|
|
16
|
+
children: []
|
|
17
|
+
}, i = e.render(), c = n.render(), o = [];
|
|
18
|
+
return Array.isArray(i) ? o.push(...i) : o.push(i), Array.isArray(c) ? o.push(...c) : o.push(c), t.children = o, t;
|
|
19
|
+
}),
|
|
20
|
+
props: {
|
|
21
|
+
// Merge props with ARIA considerations
|
|
22
|
+
...e.props,
|
|
23
|
+
...n.props,
|
|
24
|
+
"aria-expanded": void 0,
|
|
25
|
+
// Reset conflicting ARIA props
|
|
26
|
+
"aria-selected": void 0
|
|
27
|
+
},
|
|
28
|
+
cleanup: [
|
|
29
|
+
() => {
|
|
30
|
+
e.cleanup?.forEach((t) => t()), n.cleanup?.forEach((t) => t());
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function s(e) {
|
|
36
|
+
return !!(e?.onClick || e?.onTap || e?.href || e?.disabled !== void 0 || e?.selected !== void 0);
|
|
37
|
+
}
|
|
38
|
+
function d(e) {
|
|
39
|
+
const n = e.props;
|
|
40
|
+
return n?.href ? "link" : n?.onClick || n?.onTap ? "button" : n?.selected !== void 0 ? "option" : "text";
|
|
41
|
+
}
|
|
42
|
+
function l(e, n) {
|
|
43
|
+
const r = s(e.props), a = s(n.props);
|
|
44
|
+
return {
|
|
45
|
+
needsGroupRole: r || a,
|
|
46
|
+
needsLabeling: r && a,
|
|
47
|
+
conflictingRoles: r && a && d(e) !== d(n)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
l as analyzeAccessibilityRequirements,
|
|
52
|
+
p as createOptimizedConcatenation
|
|
53
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full Runtime Concatenation (Phase 2)
|
|
3
|
+
* Complete concatenation with full accessibility, semantic analysis, and ARIA support
|
|
4
|
+
* Fallback for complex cases that can't be statically optimized
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentInstance } from './types';
|
|
7
|
+
export interface FullConcatenationResult extends ComponentInstance {
|
|
8
|
+
type: 'component';
|
|
9
|
+
optimized: true;
|
|
10
|
+
concatenationType: 'full';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Creates an optimized concatenation with full accessibility support
|
|
14
|
+
* Uses the existing ConcatenatedComponent but with optimized creation path
|
|
15
|
+
*/
|
|
16
|
+
export declare function createOptimizedConcatenation(left: ComponentInstance, right: ComponentInstance, _level: 'full'): FullConcatenationResult;
|
|
17
|
+
/**
|
|
18
|
+
* Provides fallback to existing concatenation system for unsupported cases
|
|
19
|
+
*/
|
|
20
|
+
export declare function fallbackToRuntimeConcatenation(left: ComponentInstance, right: ComponentInstance): ComponentInstance;
|
|
21
|
+
declare module '../concatenation/types' {
|
|
22
|
+
interface ConcatenationMetadata {
|
|
23
|
+
optimizationHints?: {
|
|
24
|
+
canFlatten: boolean;
|
|
25
|
+
needsGroupWrapper: boolean;
|
|
26
|
+
hasConflictingRoles: boolean;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=concatenation-full.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"concatenation-full.d.ts","sourceRoot":"","sources":["../../src/runtime/concatenation-full.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,SAAS,CAAA;AAOhB,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;IACf,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE,MAAM,GACb,uBAAuB,CA6DzB;AAsED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,iBAAiB,GACvB,iBAAiB,CAQnB;AAGD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,qBAAqB;QAC7B,iBAAiB,CAAC,EAAE;YAClB,UAAU,EAAE,OAAO,CAAA;YACnB,iBAAiB,EAAE,OAAO,CAAA;YAC1B,mBAAmB,EAAE,OAAO,CAAA;SAC7B,CAAA;KACF;CACF"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
function l(e, t, s) {
|
|
2
|
+
const a = {
|
|
3
|
+
id: e.id,
|
|
4
|
+
component: e,
|
|
5
|
+
modifiers: e.modifiers || [],
|
|
6
|
+
render: () => {
|
|
7
|
+
const n = e.render();
|
|
8
|
+
return Array.isArray(n) ? n[0] : n;
|
|
9
|
+
}
|
|
10
|
+
}, i = {
|
|
11
|
+
id: t.id,
|
|
12
|
+
component: t,
|
|
13
|
+
modifiers: t.modifiers || [],
|
|
14
|
+
render: () => {
|
|
15
|
+
const n = t.render();
|
|
16
|
+
return Array.isArray(n) ? n[0] : n;
|
|
17
|
+
}
|
|
18
|
+
}, o = u(e, t);
|
|
19
|
+
return {
|
|
20
|
+
type: "component",
|
|
21
|
+
id: `concat_full_${e.id}_${t.id}`,
|
|
22
|
+
mounted: !1,
|
|
23
|
+
optimized: !0,
|
|
24
|
+
concatenationType: "full",
|
|
25
|
+
render: (() => {
|
|
26
|
+
const n = e.render(), r = t.render();
|
|
27
|
+
return {
|
|
28
|
+
type: "element",
|
|
29
|
+
tag: "div",
|
|
30
|
+
props: { className: "tachui-concat-full" },
|
|
31
|
+
children: [
|
|
32
|
+
...Array.isArray(n) ? n : [n],
|
|
33
|
+
...Array.isArray(r) ? r : [r]
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
}),
|
|
37
|
+
props: {
|
|
38
|
+
...e.props,
|
|
39
|
+
...t.props
|
|
40
|
+
},
|
|
41
|
+
cleanup: [
|
|
42
|
+
() => {
|
|
43
|
+
e.cleanup?.forEach((n) => n()), t.cleanup?.forEach((n) => n());
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
segments: [a, i],
|
|
47
|
+
metadata: o
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function u(e, t) {
|
|
51
|
+
const s = c(e), a = c(t), i = d(e), o = d(t);
|
|
52
|
+
let n, r;
|
|
53
|
+
return s && a ? (n = "text", r = "inline") : i || o ? (n = "composite", r = i && o ? "block" : "inline") : (n = "group", r = "inline"), {
|
|
54
|
+
totalSegments: 2,
|
|
55
|
+
accessibilityRole: n,
|
|
56
|
+
semanticStructure: r,
|
|
57
|
+
// Add optimization hints
|
|
58
|
+
optimizationHints: {
|
|
59
|
+
canFlatten: s && a,
|
|
60
|
+
needsGroupWrapper: i || o,
|
|
61
|
+
hasConflictingRoles: i && o
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function c(e) {
|
|
66
|
+
return !!(e.id?.includes("text") || e.props?.textContent || e.textContent);
|
|
67
|
+
}
|
|
68
|
+
function d(e) {
|
|
69
|
+
return !!(e.props?.onClick || e.props?.onTap || e.props?.href || e.interactive || e.id?.includes("button") || e.id?.includes("link"));
|
|
70
|
+
}
|
|
71
|
+
function m(e, t) {
|
|
72
|
+
return typeof e.concat == "function" ? e.concat(t) : l(e, t);
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
l as createOptimizedConcatenation,
|
|
76
|
+
m as fallbackToRuntimeConcatenation
|
|
77
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal Runtime Concatenation (Phase 2)
|
|
3
|
+
* Ultra-lightweight concatenation for simple text-only components
|
|
4
|
+
* No ARIA support, no complex accessibility - just DOM manipulation
|
|
5
|
+
*/
|
|
6
|
+
import type { ComponentInstance } from './types';
|
|
7
|
+
export interface MinimalConcatenationResult extends ComponentInstance {
|
|
8
|
+
type: 'component';
|
|
9
|
+
optimized: true;
|
|
10
|
+
concatenationType: 'minimal';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Creates an optimized concatenation with minimal overhead
|
|
14
|
+
* Eliminates the ConcatenatedComponent runtime system for static cases
|
|
15
|
+
*/
|
|
16
|
+
export declare function createOptimizedConcatenation(left: ComponentInstance, right: ComponentInstance, _level: 'minimal'): MinimalConcatenationResult;
|
|
17
|
+
/**
|
|
18
|
+
* Static concatenation analyzer - determines if concatenation can be pre-computed
|
|
19
|
+
*/
|
|
20
|
+
export declare function canOptimizeStatically(leftComponent: string, rightComponent: string): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Pre-computes static concatenation at build time
|
|
23
|
+
*/
|
|
24
|
+
export declare function precomputeStaticConcatenation(leftComponent: string, rightComponent: string): string;
|
|
25
|
+
//# sourceMappingURL=concatenation-minimal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"concatenation-minimal.d.ts","sourceRoot":"","sources":["../../src/runtime/concatenation-minimal.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,SAAS,CAAA;AAEhB,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;IACf,iBAAiB,EAAE,SAAS,CAAA;CAC7B;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE,SAAS,GAChB,0BAA0B,CAqD5B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,GACrB,OAAO,CAOT;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,GACrB,MAAM,CAWR"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
function s(e, t, c) {
|
|
2
|
+
return {
|
|
3
|
+
type: "component",
|
|
4
|
+
optimized: !0,
|
|
5
|
+
concatenationType: "minimal",
|
|
6
|
+
id: `concat_${e.id}_${t.id}`,
|
|
7
|
+
render: (() => {
|
|
8
|
+
const n = {
|
|
9
|
+
type: "element",
|
|
10
|
+
tag: "span",
|
|
11
|
+
props: { className: "tachui-concat-minimal" },
|
|
12
|
+
children: []
|
|
13
|
+
}, r = e.render(), o = t.render(), a = [];
|
|
14
|
+
return Array.isArray(r) ? a.push(...r) : a.push(r), Array.isArray(o) ? a.push(...o) : a.push(o), n.children = a, n;
|
|
15
|
+
}),
|
|
16
|
+
props: {
|
|
17
|
+
// Merge props from both components (simplified)
|
|
18
|
+
...e.props,
|
|
19
|
+
...t.props
|
|
20
|
+
},
|
|
21
|
+
cleanup: [
|
|
22
|
+
() => {
|
|
23
|
+
e.cleanup?.forEach((n) => n()), t.cleanup?.forEach((n) => n());
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function p(e, t) {
|
|
29
|
+
const c = /^Text\s*\(\s*["']([^"']+)["']\s*\)/;
|
|
30
|
+
return c.test(e) && c.test(t);
|
|
31
|
+
}
|
|
32
|
+
function d(e, t) {
|
|
33
|
+
const c = e.match(/^Text\s*\(\s*["']([^"']+)["']\s*\)/), i = t.match(/^Text\s*\(\s*["']([^"']+)["']\s*\)/);
|
|
34
|
+
return c && i ? `Text("${c[1] + i[1]}")` : `createOptimizedConcatenation(${e}.build(), ${t}.build(), 'minimal')`;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
p as canOptimizeStatically,
|
|
38
|
+
s as createOptimizedConcatenation,
|
|
39
|
+
d as precomputeStaticConcatenation
|
|
40
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../scheduler-
|
|
2
|
-
import { D as m,
|
|
3
|
-
import "../concatenated-component-
|
|
1
|
+
import "../scheduler-BKeqwrYE.js";
|
|
2
|
+
import { D as m, f as a, h as p, i as r, m as s, r as u, u as i, j as C, k as d } from "../dom-bridge-CAa1N2zX.js";
|
|
3
|
+
import "../concatenated-component-ByPl3_FF.js";
|
|
4
4
|
export {
|
|
5
5
|
m as DOMBridgeDebug,
|
|
6
6
|
a as getComponentFromElement,
|
|
@@ -8,7 +8,7 @@ export {
|
|
|
8
8
|
r as mountComponentTree,
|
|
9
9
|
s as mountRoot,
|
|
10
10
|
u as registerComponentWithLifecycleHooks,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
i as unmountComponent,
|
|
12
|
+
C as unmountComponentEnhanced,
|
|
13
13
|
d as updateComponent
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element-override.d.ts","sourceRoot":"","sources":["../../src/runtime/element-override.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,gBAAgB,CAAA;CAChC;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;CACvC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,qBAAqB;IAEpC,sBAAsB,EAAE,OAAO,CAAA;IAG/B,eAAe,EAAE,OAAO,CAAA;IACxB,oBAAoB,EAAE,OAAO,CAAA;IAG7B,YAAY,EAAE,OAAO,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAGD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"element-override.d.ts","sourceRoot":"","sources":["../../src/runtime/element-override.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,gBAAgB,CAAA;CAChC;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;CACvC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,qBAAqB;IAEpC,sBAAsB,EAAE,OAAO,CAAA;IAG/B,eAAe,EAAE,OAAO,CAAA;IACxB,oBAAoB,EAAE,OAAO,CAAA;IAG7B,YAAY,EAAE,OAAO,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAGD,eAAO,MAAM,eAAe,aA6G1B,CAAA;AAEF,eAAO,MAAM,kBAAkB,+BAa7B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB;kBAGhB,MAAM,GAAG,MAAM,GAAG,SAAS;gBAC7B,MAAM,EAAE;sBACF,MAAM,EAAE;EA0E5B,CAAA;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,GACV,OAAO,CAyBT;AAED;;;;;;;;;;;;;;GAcG;AAEH,qBAAa,mBAAmB;IAC9B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,gBAAgB;IA0BrE,OAAO,CAAC,MAAM,CAAC,qBAAqB;CA0DrC;AAWD,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,OAAO,CAAC,qBAAqB,CAAC,GACrC,IAAI,CAEN;AAED,wBAAgB,wBAAwB,IAAI,qBAAqB,CAEhE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,WAAW,CAAC,EAAE,MAAM,GACnB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,gBAAgB,CAAA;CAAE,CAqC/C;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,IAEV,cAAc,MAAM;SA9CpB,MAAM;gBAAc,gBAAgB;EAgD7C"}
|