@tachui/core 0.8.1-alpha → 0.8.8
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 +41 -3
- package/dist/assets/AssetCollection.d.ts.map +1 -1
- package/dist/assets/ColorAsset.d.ts.map +1 -1
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +486 -0
- package/dist/assets/types.d.ts +8 -68
- package/dist/assets/types.d.ts.map +1 -1
- package/dist/binding-DCV5PKkK.js +308 -0
- package/dist/build-plugins/index.d.ts +3 -0
- package/dist/build-plugins/index.d.ts.map +1 -0
- package/dist/build-plugins/modifier-types.d.ts +12 -0
- package/dist/build-plugins/modifier-types.d.ts.map +1 -0
- package/dist/build-tools/typegen-runner.d.ts +29 -0
- package/dist/build-tools/typegen-runner.d.ts.map +1 -0
- package/dist/bundles/minimal.d.ts +2 -0
- package/dist/bundles/minimal.d.ts.map +1 -1
- package/dist/common.js +427 -394
- package/dist/{component-XAzF1xqs.js → component-D-O9yq0P.js} +80 -68
- package/dist/{component-base-x2XmHFjy.js → component-base-C41K3NTe.js} +9 -7
- package/dist/component-context-B9HI2nZH.js +176 -0
- package/dist/components/factory.d.ts +24 -0
- package/dist/components/factory.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +8 -6
- package/dist/components/wrapper.d.ts +70 -30
- package/dist/components/wrapper.d.ts.map +1 -1
- package/dist/concatenated-component-CP81AwgI.js +2288 -0
- package/dist/concatenation/concatenated-component.d.ts +16 -2
- package/dist/concatenation/concatenated-component.d.ts.map +1 -1
- package/dist/concatenation/text-optimizer.d.ts.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/constants/layout.d.ts +2 -9
- package/dist/constants/layout.d.ts.map +1 -1
- package/dist/css-classes/index.js +15 -173
- package/dist/{effect-B9Knft0b.js → effect-BsW3fy1q.js} +3 -3
- package/dist/enhanced-renderer-BXwg8n7F.js +172 -0
- package/dist/essential.js +427 -394
- package/dist/{index-DIvMCJQO.js → factories-B3-rmvkB.js} +13 -13
- package/dist/factory-BgnjJRGE.js +485 -0
- package/dist/gradients/css-generator.js +99 -0
- package/dist/gradients/index.js +56 -0
- package/dist/gradients/reactive.d.ts.map +1 -1
- package/dist/gradients/types.d.ts +3 -91
- package/dist/gradients/types.d.ts.map +1 -1
- package/dist/hooks-WGmpzYgD.js +446 -0
- package/dist/index-JQ1sW1SK.js +2049 -0
- package/dist/index-ykdS-3xs.js +618 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +427 -394
- package/dist/minimal-prod.js +100 -98
- package/dist/minimal.js +116 -109
- package/dist/modifiers/alignment.d.ts +5 -0
- package/dist/modifiers/alignment.d.ts.map +1 -0
- package/dist/modifiers/base.d.ts +7 -7
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +220 -92
- package/dist/modifiers/builder.d.ts +28 -165
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +7 -7
- package/dist/modifiers/core.d.ts +0 -1
- package/dist/modifiers/core.d.ts.map +1 -1
- package/dist/modifiers/corner-radius.d.ts +8 -0
- package/dist/modifiers/corner-radius.d.ts.map +1 -0
- package/dist/modifiers/index.d.ts +9 -6
- package/dist/modifiers/index.d.ts.map +1 -1
- package/dist/modifiers/index.js +36 -30
- package/dist/modifiers/layout-priority.d.ts +8 -0
- package/dist/modifiers/layout-priority.d.ts.map +1 -0
- package/dist/modifiers/opacity.d.ts +8 -0
- package/dist/modifiers/opacity.d.ts.map +1 -0
- package/dist/modifiers/presets.d.ts.map +1 -1
- package/dist/modifiers/proxy.d.ts +4 -0
- package/dist/modifiers/proxy.d.ts.map +1 -0
- package/dist/modifiers/reactive-style-bindings.d.ts +22 -0
- package/dist/modifiers/reactive-style-bindings.d.ts.map +1 -0
- package/dist/modifiers/registration-utils.d.ts +7 -0
- package/dist/modifiers/registration-utils.d.ts.map +1 -0
- package/dist/modifiers/registry.d.ts +18 -9
- package/dist/modifiers/registry.d.ts.map +1 -1
- package/dist/modifiers/registry.js +2 -2
- package/dist/modifiers/type-generator.d.ts +82 -0
- package/dist/modifiers/type-generator.d.ts.map +1 -0
- package/dist/modifiers/types.d.ts +2 -479
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +1 -4
- package/dist/{observed-object-Cos-FtjP.js → observed-object-p1CLdrFm.js} +3 -3
- package/dist/optimization-CbKNA9w4.js +21 -0
- package/dist/plugins/index.js +28 -8
- package/dist/plugins/simplified-lazy-loader.d.ts.map +1 -1
- package/dist/presets-B9x94uRn.js +381 -0
- package/dist/proxy-522Jjabr.js +188 -0
- package/dist/reactive/cleanup.d.ts.map +1 -1
- package/dist/reactive/computed.d.ts +4 -1
- package/dist/reactive/computed.d.ts.map +1 -1
- package/dist/reactive/context.d.ts +4 -3
- package/dist/reactive/context.d.ts.map +1 -1
- package/dist/reactive/index.d.ts +1 -0
- package/dist/reactive/index.d.ts.map +1 -1
- package/dist/reactive/index.js +84 -490
- package/dist/reactive/signal-list.d.ts +100 -0
- package/dist/reactive/signal-list.d.ts.map +1 -0
- package/dist/reactive/signal.d.ts.map +1 -1
- package/dist/reactive/types.d.ts +2 -89
- package/dist/reactive/types.d.ts.map +1 -1
- package/dist/reactive/types.js +1 -4
- package/dist/registration-utils-CNsN4eoU.js +27 -0
- package/dist/runtime/component.d.ts.map +1 -1
- package/dist/runtime/concatenation-aria.d.ts.map +1 -1
- package/dist/runtime/concatenation-aria.js +18 -13
- package/dist/runtime/concatenation-full.d.ts.map +1 -1
- package/dist/runtime/concatenation-full.js +42 -34
- package/dist/runtime/concatenation-minimal.d.ts.map +1 -1
- package/dist/runtime/concatenation-minimal.js +13 -8
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/dom-bridge.d.ts +1 -1
- package/dist/runtime/dom-bridge.d.ts.map +1 -1
- package/dist/runtime/dom-bridge.js +239 -12
- package/dist/runtime/event-delegation.d.ts +59 -0
- package/dist/runtime/event-delegation.d.ts.map +1 -0
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +96 -0
- package/dist/runtime/layout-scheduler.d.ts +89 -0
- package/dist/runtime/layout-scheduler.d.ts.map +1 -0
- package/dist/runtime/props.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts +54 -2
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +11 -7
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.d.ts +2 -226
- package/dist/runtime/types.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -1
- package/dist/scheduler-DppMK9mR.js +169 -0
- package/dist/signal-list-07gNXGiW.js +525 -0
- package/dist/state/index.js +319 -0
- package/dist/theme-CRLPHryV.js +687 -0
- package/dist/utils/clone-helpers.d.ts +11 -0
- package/dist/utils/clone-helpers.d.ts.map +1 -0
- package/dist/validation/index.js +28 -26
- package/dist/version.d.ts +19 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +6 -0
- package/package.json +52 -11
- package/dist/concatenated-component-ByPl3_FF.js +0 -2933
- package/dist/dom-bridge-CAa1N2zX.js +0 -406
- package/dist/index-DEBd8cq7.js +0 -1144
- package/dist/index-vdsiw6gQ.js +0 -777
- package/dist/modifiers/as-html-validator.d.ts +0 -20
- package/dist/modifiers/as-html-validator.d.ts.map +0 -1
- package/dist/modifiers/as-html.d.ts +0 -65
- package/dist/modifiers/as-html.d.ts.map +0 -1
- package/dist/modifiers/background.d.ts +0 -51
- package/dist/modifiers/background.d.ts.map +0 -1
- package/dist/modifiers/basic-sanitizer.d.ts +0 -54
- package/dist/modifiers/basic-sanitizer.d.ts.map +0 -1
- package/dist/modifiers/css.d.ts +0 -86
- package/dist/modifiers/css.d.ts.map +0 -1
- package/dist/production-minimal-BY_gMc-l.js +0 -2532
- package/dist/scheduler-BKeqwrYE.js +0 -814
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import "./scheduler-DppMK9mR.js";
|
|
2
|
+
import { i as m } from "./theme-CRLPHryV.js";
|
|
3
|
+
import "@tachui/types/reactive";
|
|
4
|
+
import { c as d } from "./effect-BsW3fy1q.js";
|
|
1
5
|
import { BaseModifier as C } from "./modifiers/base.js";
|
|
2
|
-
import "./modifiers/types.js";
|
|
3
|
-
import "./concatenated-component-ByPl3_FF.js";
|
|
4
|
-
import { J as m } from "./scheduler-BKeqwrYE.js";
|
|
5
|
-
import { c as d } from "./effect-B9Knft0b.js";
|
|
6
6
|
var g = Object.defineProperty, v = (e, t, s) => t in e ? g(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, M = (e, t, s) => v(e, typeof t != "symbol" ? t + "" : t, s);
|
|
7
7
|
const b = {
|
|
8
8
|
/**
|
|
@@ -253,15 +253,15 @@ function R(e) {
|
|
|
253
253
|
})({});
|
|
254
254
|
}
|
|
255
255
|
export {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
256
|
+
j as a,
|
|
257
|
+
A as b,
|
|
258
|
+
c,
|
|
259
|
+
O as d,
|
|
260
|
+
V as e,
|
|
261
|
+
P as f,
|
|
262
|
+
D as g,
|
|
263
|
+
H as h,
|
|
264
|
+
R as i,
|
|
265
265
|
b as m,
|
|
266
266
|
z as r,
|
|
267
267
|
T as s
|
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
import "./scheduler-DppMK9mR.js";
|
|
2
|
+
import "./theme-CRLPHryV.js";
|
|
3
|
+
import "@tachui/types/reactive";
|
|
4
|
+
import "@tachui/types/modifiers";
|
|
5
|
+
import { p as x, h as w, d as S, c as M } from "./concatenated-component-CP81AwgI.js";
|
|
6
|
+
import { i as P, c as R } from "./proxy-522Jjabr.js";
|
|
7
|
+
import "./presets-B9x94uRn.js";
|
|
8
|
+
import "@tachui/registry";
|
|
9
|
+
import "./component-D-O9yq0P.js";
|
|
10
|
+
import { l as k } from "./hooks-WGmpzYgD.js";
|
|
11
|
+
import { registerComponentWithLifecycleHooks as _ } from "./runtime/dom-bridge.js";
|
|
12
|
+
import { b as L } from "./component-base-C41K3NTe.js";
|
|
13
|
+
function O(e) {
|
|
14
|
+
return typeof e == "function" && e !== null && typeof e.set == "function";
|
|
15
|
+
}
|
|
16
|
+
function D(e) {
|
|
17
|
+
return e !== null && typeof e == "object" && "resolve" in e && typeof e.resolve == "function";
|
|
18
|
+
}
|
|
19
|
+
function $(e) {
|
|
20
|
+
return e !== null && typeof e == "object" && e.type === "component" && typeof e.render == "function";
|
|
21
|
+
}
|
|
22
|
+
function T(e, t = {}) {
|
|
23
|
+
if (e == null)
|
|
24
|
+
return e;
|
|
25
|
+
const r = {};
|
|
26
|
+
return Object.entries(e).forEach(([n, i]) => {
|
|
27
|
+
if (O(i) || D(i)) {
|
|
28
|
+
r[n] = i;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (Array.isArray(i)) {
|
|
32
|
+
t.deep ? r[n] = i.map((o) => $(o) && typeof o.clone == "function" ? o.clone(t) : o) : r[n] = [...i];
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
if (i && typeof i == "object") {
|
|
36
|
+
if (i instanceof Element || i instanceof Node) {
|
|
37
|
+
r[n] = void 0;
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
r[n] = { ...i };
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
r[n] = i;
|
|
44
|
+
}), r;
|
|
45
|
+
}
|
|
46
|
+
function j() {
|
|
47
|
+
return {
|
|
48
|
+
mounted: !1,
|
|
49
|
+
cleanup: [],
|
|
50
|
+
domElements: void 0,
|
|
51
|
+
primaryElement: void 0,
|
|
52
|
+
domReady: !1
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function E(e) {
|
|
56
|
+
const t = j();
|
|
57
|
+
e.mounted = t.mounted, e.cleanup = t.cleanup, e.domElements = t.domElements, e.primaryElement = t.primaryElement, e.domReady = t.domReady;
|
|
58
|
+
}
|
|
59
|
+
var N = Object.defineProperty, W = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, b = (e, t, r) => W(e, typeof t != "symbol" ? t + "" : t, r);
|
|
60
|
+
const A = {
|
|
61
|
+
isEnabled: () => !1,
|
|
62
|
+
logComponent: (...e) => {
|
|
63
|
+
},
|
|
64
|
+
addDebugAttributes: (...e) => {
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
function H(e) {
|
|
68
|
+
return e && typeof e.concat == "function" && typeof e.toSegment == "function" && typeof e.isConcatenatable == "function";
|
|
69
|
+
}
|
|
70
|
+
function d(e) {
|
|
71
|
+
const t = S(e), r = M(t);
|
|
72
|
+
if (Object.prototype.hasOwnProperty.call(e, "modifier") || Object.defineProperty(e, "modifier", {
|
|
73
|
+
configurable: !0,
|
|
74
|
+
enumerable: !1,
|
|
75
|
+
get: () => r
|
|
76
|
+
}), P())
|
|
77
|
+
return R(
|
|
78
|
+
e
|
|
79
|
+
);
|
|
80
|
+
const n = {
|
|
81
|
+
...t,
|
|
82
|
+
modifier: r,
|
|
83
|
+
modifierBuilder: r
|
|
84
|
+
};
|
|
85
|
+
return typeof r.build == "function" && (n.build = r.build.bind(r)), H(e) && (n.concat = function(i) {
|
|
86
|
+
return e.concat(i);
|
|
87
|
+
}, n.toSegment = function() {
|
|
88
|
+
return e.toSegment();
|
|
89
|
+
}, n.isConcatenatable = function() {
|
|
90
|
+
return e.isConcatenatable();
|
|
91
|
+
}), n;
|
|
92
|
+
}
|
|
93
|
+
function X(e, t = {}) {
|
|
94
|
+
const { enableModifiers: r = !0 } = t;
|
|
95
|
+
return (n) => {
|
|
96
|
+
const i = {
|
|
97
|
+
type: "component",
|
|
98
|
+
id: `wrapper-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
|
|
99
|
+
props: n,
|
|
100
|
+
mounted: !1,
|
|
101
|
+
cleanup: [],
|
|
102
|
+
render() {
|
|
103
|
+
const o = e(n);
|
|
104
|
+
return Array.isArray(o) ? o : [o];
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
return d(i);
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
class g extends L {
|
|
111
|
+
constructor(t, r, n = [], i = {}) {
|
|
112
|
+
super(), this.props = t, this.layoutType = r, this.children = n, this.layoutProps = i, b(this, "type", "component"), b(this, "id"), b(this, "mounted", !1), b(this, "cleanup", []), b(this, "effectiveTag"), b(this, "validationResult"), this.id = t?.id?.toString() || `layout-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
113
|
+
const o = this.layoutType === "hstack" ? "HStack" : this.layoutType === "vstack" ? "VStack" : "ZStack", h = x(
|
|
114
|
+
o,
|
|
115
|
+
"div",
|
|
116
|
+
this.props.element
|
|
117
|
+
);
|
|
118
|
+
if (this.effectiveTag = h.tag, this.validationResult = h.validation, process.env.NODE_ENV === "test" && this.effectiveTag !== "div" && !this.props.role) {
|
|
119
|
+
const u = {
|
|
120
|
+
nav: "navigation",
|
|
121
|
+
header: "banner",
|
|
122
|
+
footer: "contentinfo",
|
|
123
|
+
main: "main",
|
|
124
|
+
aside: "complementary"
|
|
125
|
+
}[this.effectiveTag];
|
|
126
|
+
u && (this.props.role = u);
|
|
127
|
+
}
|
|
128
|
+
k(this, {
|
|
129
|
+
onDOMReady: (m, u) => {
|
|
130
|
+
this.children.forEach((s, f) => {
|
|
131
|
+
const a = s._enhancedLifecycle;
|
|
132
|
+
if (a && a.onDOMReady && !s.domReady)
|
|
133
|
+
try {
|
|
134
|
+
if (u) {
|
|
135
|
+
const l = this.findChildDOMElements(
|
|
136
|
+
s,
|
|
137
|
+
u,
|
|
138
|
+
f
|
|
139
|
+
);
|
|
140
|
+
if (l.length > 0) {
|
|
141
|
+
s.domElements = /* @__PURE__ */ new Map(), l.forEach((y, C) => {
|
|
142
|
+
const p = y.id || `element-${C}`;
|
|
143
|
+
s.domElements.set(p, y), s.primaryElement || (s.primaryElement = y);
|
|
144
|
+
}), s.domReady = !0;
|
|
145
|
+
const c = a.onDOMReady(
|
|
146
|
+
s.domElements,
|
|
147
|
+
s.primaryElement
|
|
148
|
+
);
|
|
149
|
+
if (typeof c == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(c)), a.onMount) {
|
|
150
|
+
const y = a.onMount();
|
|
151
|
+
typeof y == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(y));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
} catch (l) {
|
|
156
|
+
console.error(
|
|
157
|
+
`Error processing lifecycle hooks for child ${s.id}:`,
|
|
158
|
+
l
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}), _(this);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Find DOM elements for a specific child component within the layout container
|
|
167
|
+
*/
|
|
168
|
+
findChildDOMElements(t, r, n) {
|
|
169
|
+
if (t.id.startsWith("image-")) {
|
|
170
|
+
const o = r.querySelectorAll("img.tachui-image");
|
|
171
|
+
return o[n] ? [o[n]] : Array.from(o);
|
|
172
|
+
}
|
|
173
|
+
if (t.id.startsWith("button-")) {
|
|
174
|
+
const o = r.querySelectorAll("button.tachui-button");
|
|
175
|
+
return o[n] ? [o[n]] : Array.from(o);
|
|
176
|
+
}
|
|
177
|
+
if (t.id.startsWith("text-")) {
|
|
178
|
+
const o = r.querySelectorAll(
|
|
179
|
+
"span.tachui-text, .tachui-text"
|
|
180
|
+
);
|
|
181
|
+
return o[n] ? [o[n]] : Array.from(o);
|
|
182
|
+
}
|
|
183
|
+
const i = Array.from(r.children);
|
|
184
|
+
return i[n] ? [i[n]] : i;
|
|
185
|
+
}
|
|
186
|
+
render() {
|
|
187
|
+
const { spacing: t = 0, debugLabel: r } = this.layoutProps, n = this.layoutProps.alignment !== void 0 ? this.layoutProps.alignment : "center";
|
|
188
|
+
A.logComponent(this.layoutType.toUpperCase(), r);
|
|
189
|
+
const i = [
|
|
190
|
+
`tachui-${this.layoutType}`
|
|
191
|
+
], o = this.createClassString(this.props, i);
|
|
192
|
+
switch (this.layoutType) {
|
|
193
|
+
case "vstack": {
|
|
194
|
+
const m = this.children.map((s) => {
|
|
195
|
+
let f = s;
|
|
196
|
+
"build" in s && typeof s.build == "function" && (f = s.build());
|
|
197
|
+
const a = f.render();
|
|
198
|
+
return Array.isArray(a) ? a : [a];
|
|
199
|
+
}).flat();
|
|
200
|
+
return [{
|
|
201
|
+
type: "element",
|
|
202
|
+
tag: this.effectiveTag,
|
|
203
|
+
props: {
|
|
204
|
+
className: o,
|
|
205
|
+
style: {
|
|
206
|
+
display: "flex",
|
|
207
|
+
flexDirection: "column",
|
|
208
|
+
gap: t ? `${t}px` : "0",
|
|
209
|
+
alignItems: n === "leading" ? "flex-start" : n === "trailing" ? "flex-end" : "center"
|
|
210
|
+
},
|
|
211
|
+
// Add debug attributes
|
|
212
|
+
...A.isEnabled()
|
|
213
|
+
},
|
|
214
|
+
children: m,
|
|
215
|
+
// Add component metadata for semantic role processing
|
|
216
|
+
componentMetadata: {
|
|
217
|
+
originalType: "VStack",
|
|
218
|
+
overriddenTo: this.effectiveTag !== "div" ? this.effectiveTag : void 0,
|
|
219
|
+
validationResult: this.validationResult
|
|
220
|
+
}
|
|
221
|
+
}];
|
|
222
|
+
}
|
|
223
|
+
case "hstack": {
|
|
224
|
+
const m = this.children.map((a) => {
|
|
225
|
+
let l = a;
|
|
226
|
+
"build" in a && typeof a.build == "function" && (l = a.build());
|
|
227
|
+
const c = l.render();
|
|
228
|
+
return Array.isArray(c) ? c : [c];
|
|
229
|
+
}).flat(), u = n === "leading" || n === "left" ? "flex-start" : n === "trailing" || n === "right" ? "flex-end" : void 0, s = n === "top" ? "flex-start" : n === "bottom" ? "flex-end" : "center";
|
|
230
|
+
return [{
|
|
231
|
+
type: "element",
|
|
232
|
+
tag: this.effectiveTag,
|
|
233
|
+
props: {
|
|
234
|
+
className: o,
|
|
235
|
+
style: {
|
|
236
|
+
display: "flex",
|
|
237
|
+
flexDirection: "row",
|
|
238
|
+
gap: t ? `${t}px` : "0",
|
|
239
|
+
alignItems: s,
|
|
240
|
+
...u ? { justifyContent: u } : {}
|
|
241
|
+
},
|
|
242
|
+
// Add debug attributes
|
|
243
|
+
...A.isEnabled()
|
|
244
|
+
},
|
|
245
|
+
children: m,
|
|
246
|
+
// Add component metadata for semantic role processing
|
|
247
|
+
componentMetadata: {
|
|
248
|
+
originalType: "HStack",
|
|
249
|
+
overriddenTo: this.effectiveTag !== "div" ? this.effectiveTag : void 0,
|
|
250
|
+
validationResult: this.validationResult
|
|
251
|
+
}
|
|
252
|
+
}];
|
|
253
|
+
}
|
|
254
|
+
case "zstack": {
|
|
255
|
+
let h = -1 / 0, m = null;
|
|
256
|
+
this.children.forEach((f) => {
|
|
257
|
+
let a = f;
|
|
258
|
+
if ("build" in f && typeof f.build == "function" && (a = f.build()), "modifiers" in a && Array.isArray(a.modifiers)) {
|
|
259
|
+
const l = a.modifiers.find(
|
|
260
|
+
(c) => c.type === "layout" && c.properties && "layoutPriority" in c.properties && typeof c.properties.layoutPriority == "number"
|
|
261
|
+
);
|
|
262
|
+
if (l) {
|
|
263
|
+
const c = l.properties.layoutPriority;
|
|
264
|
+
c > h && (h = c, m = a);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
const u = w("div", {
|
|
269
|
+
className: o,
|
|
270
|
+
style: {
|
|
271
|
+
position: "relative",
|
|
272
|
+
display: "flex",
|
|
273
|
+
justifyContent: n.includes("Leading") ? "flex-start" : n.includes("Trailing") ? "flex-end" : "center",
|
|
274
|
+
alignItems: n.includes("top") ? "flex-start" : n.includes("bottom") ? "flex-end" : "center",
|
|
275
|
+
// Container sizes to the highest priority child
|
|
276
|
+
...m ? {
|
|
277
|
+
minWidth: "fit-content",
|
|
278
|
+
minHeight: "fit-content"
|
|
279
|
+
} : {}
|
|
280
|
+
},
|
|
281
|
+
// Add debug attributes
|
|
282
|
+
...A.isEnabled()
|
|
283
|
+
}), s = this.children.flatMap((f, a) => {
|
|
284
|
+
let l = f;
|
|
285
|
+
"build" in f && typeof f.build == "function" && (l = f.build());
|
|
286
|
+
const c = l.render(), y = Array.isArray(c) ? c : [c];
|
|
287
|
+
let C = a;
|
|
288
|
+
if ("modifiers" in l && Array.isArray(l.modifiers)) {
|
|
289
|
+
const p = l.modifiers.find(
|
|
290
|
+
(v) => v.type === "layout" && v.properties && "layoutPriority" in v.properties
|
|
291
|
+
);
|
|
292
|
+
p && typeof p.properties.layoutPriority == "number" && (C = p.properties.layoutPriority);
|
|
293
|
+
}
|
|
294
|
+
return y.map((p) => {
|
|
295
|
+
if (p.type === "element") {
|
|
296
|
+
const v = l === m;
|
|
297
|
+
return {
|
|
298
|
+
...p,
|
|
299
|
+
props: {
|
|
300
|
+
...p.props,
|
|
301
|
+
style: {
|
|
302
|
+
...p.props?.style,
|
|
303
|
+
// Highest priority child determines container size
|
|
304
|
+
...v ? {
|
|
305
|
+
position: "relative",
|
|
306
|
+
zIndex: C
|
|
307
|
+
} : {
|
|
308
|
+
position: "absolute",
|
|
309
|
+
top: 0,
|
|
310
|
+
left: 0,
|
|
311
|
+
right: 0,
|
|
312
|
+
bottom: 0,
|
|
313
|
+
zIndex: C
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
return p;
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
return [
|
|
323
|
+
{
|
|
324
|
+
type: "element",
|
|
325
|
+
tag: this.effectiveTag,
|
|
326
|
+
props: {
|
|
327
|
+
...u.props,
|
|
328
|
+
className: o
|
|
329
|
+
},
|
|
330
|
+
children: s,
|
|
331
|
+
// Add component metadata for semantic role processing
|
|
332
|
+
componentMetadata: {
|
|
333
|
+
originalType: "ZStack",
|
|
334
|
+
overriddenTo: this.effectiveTag !== "div" ? this.effectiveTag : void 0,
|
|
335
|
+
validationResult: this.validationResult
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
];
|
|
339
|
+
}
|
|
340
|
+
default:
|
|
341
|
+
return [
|
|
342
|
+
{
|
|
343
|
+
type: "element",
|
|
344
|
+
tag: "div",
|
|
345
|
+
props: {},
|
|
346
|
+
children: []
|
|
347
|
+
}
|
|
348
|
+
];
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
clone(t = {}) {
|
|
352
|
+
return t.deep ? this.deepClone() : this.shallowClone();
|
|
353
|
+
}
|
|
354
|
+
shallowClone() {
|
|
355
|
+
const t = T(this.props), r = T(this.layoutProps), n = (this.children ?? []).slice(), i = new g(
|
|
356
|
+
t,
|
|
357
|
+
this.layoutType,
|
|
358
|
+
n,
|
|
359
|
+
r
|
|
360
|
+
);
|
|
361
|
+
return E(i), i;
|
|
362
|
+
}
|
|
363
|
+
deepClone() {
|
|
364
|
+
const t = T(this.props, {
|
|
365
|
+
deep: !0
|
|
366
|
+
}), r = T(this.layoutProps, {
|
|
367
|
+
deep: !0
|
|
368
|
+
}), n = (this.children ?? []).map((o) => typeof o?.clone == "function" ? o.clone({ deep: !0 }) : o), i = new g(
|
|
369
|
+
t,
|
|
370
|
+
this.layoutType,
|
|
371
|
+
n,
|
|
372
|
+
r
|
|
373
|
+
);
|
|
374
|
+
return E(i), i;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
const Y = {
|
|
378
|
+
/**
|
|
379
|
+
* Vertical stack container (flexbox column)
|
|
380
|
+
*/
|
|
381
|
+
VStack: (e = {}) => {
|
|
382
|
+
const {
|
|
383
|
+
children: t = [],
|
|
384
|
+
spacing: r = 0,
|
|
385
|
+
alignment: n = "center",
|
|
386
|
+
debugLabel: i
|
|
387
|
+
} = e, o = new g(e, "vstack", t, {
|
|
388
|
+
spacing: r,
|
|
389
|
+
alignment: n,
|
|
390
|
+
debugLabel: i
|
|
391
|
+
});
|
|
392
|
+
return d(o);
|
|
393
|
+
},
|
|
394
|
+
/**
|
|
395
|
+
* Horizontal stack container (flexbox row)
|
|
396
|
+
*/
|
|
397
|
+
HStack: (e = {}) => {
|
|
398
|
+
const {
|
|
399
|
+
children: t = [],
|
|
400
|
+
spacing: r = 0,
|
|
401
|
+
alignment: n = "center",
|
|
402
|
+
debugLabel: i
|
|
403
|
+
} = e, o = new g(e, "hstack", t, {
|
|
404
|
+
spacing: r,
|
|
405
|
+
alignment: n,
|
|
406
|
+
debugLabel: i
|
|
407
|
+
});
|
|
408
|
+
return d(o);
|
|
409
|
+
},
|
|
410
|
+
/**
|
|
411
|
+
* Z-index stack container (absolute positioning)
|
|
412
|
+
*/
|
|
413
|
+
ZStack: (e = {}) => {
|
|
414
|
+
const { children: t = [], alignment: r = "center", debugLabel: n } = e, i = new g(e, "zstack", t, {
|
|
415
|
+
alignment: r,
|
|
416
|
+
debugLabel: n
|
|
417
|
+
});
|
|
418
|
+
return d(i);
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
function ee(e) {
|
|
422
|
+
return d(e);
|
|
423
|
+
}
|
|
424
|
+
function te(e) {
|
|
425
|
+
return class extends e {
|
|
426
|
+
constructor(t) {
|
|
427
|
+
super(t), b(this, "_modifiableComponent");
|
|
428
|
+
const r = d(this);
|
|
429
|
+
P() ? (this._modifiableComponent = S(this), R(this)) : (this._modifiableComponent = r, Object.defineProperty(this, "modifier", {
|
|
430
|
+
configurable: !0,
|
|
431
|
+
enumerable: !1,
|
|
432
|
+
value: r.modifier,
|
|
433
|
+
writable: !1
|
|
434
|
+
}), Object.defineProperty(this, "modifiers", {
|
|
435
|
+
configurable: !0,
|
|
436
|
+
enumerable: !1,
|
|
437
|
+
value: r.modifiers,
|
|
438
|
+
writable: !1
|
|
439
|
+
}));
|
|
440
|
+
}
|
|
441
|
+
get modifier() {
|
|
442
|
+
if (P())
|
|
443
|
+
return R(this).modifier;
|
|
444
|
+
const t = this._modifiableComponent ?? d(this);
|
|
445
|
+
return this._modifiableComponent = t, t.modifier;
|
|
446
|
+
}
|
|
447
|
+
get modifiers() {
|
|
448
|
+
const t = this._modifiableComponent ?? d(this);
|
|
449
|
+
return this._modifiableComponent = t, t.modifiers;
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
function ne(e) {
|
|
454
|
+
return (t) => {
|
|
455
|
+
const r = {
|
|
456
|
+
type: "component",
|
|
457
|
+
id: `factory-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
|
|
458
|
+
props: t,
|
|
459
|
+
mounted: !1,
|
|
460
|
+
cleanup: [],
|
|
461
|
+
render() {
|
|
462
|
+
const n = e(t);
|
|
463
|
+
return Array.isArray(n) ? n : [n];
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
return d(r);
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
function re(e, t, r = {}, ...n) {
|
|
470
|
+
const i = new e(t, ...n);
|
|
471
|
+
return P() && r.prewarmProxy !== !1 && R(i), i;
|
|
472
|
+
}
|
|
473
|
+
export {
|
|
474
|
+
Y as L,
|
|
475
|
+
X as a,
|
|
476
|
+
g as b,
|
|
477
|
+
ne as c,
|
|
478
|
+
d,
|
|
479
|
+
ee as e,
|
|
480
|
+
re as f,
|
|
481
|
+
T as g,
|
|
482
|
+
j as h,
|
|
483
|
+
E as r,
|
|
484
|
+
te as w
|
|
485
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
const u = {
|
|
2
|
+
center: "center",
|
|
3
|
+
top: "top",
|
|
4
|
+
bottom: "bottom",
|
|
5
|
+
leading: "left",
|
|
6
|
+
trailing: "right"
|
|
7
|
+
};
|
|
8
|
+
function l(t) {
|
|
9
|
+
return typeof t == "string" ? t : t.resolve();
|
|
10
|
+
}
|
|
11
|
+
function i(t, r) {
|
|
12
|
+
return t.map((e, o) => {
|
|
13
|
+
const n = l(e);
|
|
14
|
+
return r && r[o] !== void 0 ? `${n} ${r[o]}%` : n;
|
|
15
|
+
}).join(", ");
|
|
16
|
+
}
|
|
17
|
+
function a(t) {
|
|
18
|
+
return Array.isArray(t) ? `${t[0]}% ${t[1]}%` : u[t] || t;
|
|
19
|
+
}
|
|
20
|
+
function g(t, r, e) {
|
|
21
|
+
if (e !== void 0)
|
|
22
|
+
return `${e}deg`;
|
|
23
|
+
const o = `${t}-${r}`;
|
|
24
|
+
return {
|
|
25
|
+
"top-bottom": "to bottom",
|
|
26
|
+
"bottom-top": "to top",
|
|
27
|
+
"leading-trailing": "to right",
|
|
28
|
+
"trailing-leading": "to left",
|
|
29
|
+
"topLeading-bottomTrailing": "to bottom right",
|
|
30
|
+
"topTrailing-bottomLeading": "to bottom left",
|
|
31
|
+
"bottomLeading-topTrailing": "to top right",
|
|
32
|
+
"bottomTrailing-topLeading": "to top left"
|
|
33
|
+
}[o] || "to bottom";
|
|
34
|
+
}
|
|
35
|
+
function d(t) {
|
|
36
|
+
const r = g(t.startPoint, t.endPoint, t.angle), e = i(t.colors, t.stops);
|
|
37
|
+
return `linear-gradient(${r}, ${e})`;
|
|
38
|
+
}
|
|
39
|
+
function $(t) {
|
|
40
|
+
const r = t.shape || "circle", e = a(t.center), o = i(t.colors, t.stops);
|
|
41
|
+
let n;
|
|
42
|
+
return r === "circle" ? n = `${t.endRadius}px` : n = `${t.endRadius}px ${t.endRadius}px`, `radial-gradient(${r} ${n} at ${e}, ${o})`;
|
|
43
|
+
}
|
|
44
|
+
function f(t) {
|
|
45
|
+
const r = a(t.center), e = `from ${t.startAngle}deg`, o = i(t.colors, t.stops);
|
|
46
|
+
return `conic-gradient(${e} at ${r}, ${o})`;
|
|
47
|
+
}
|
|
48
|
+
function S(t) {
|
|
49
|
+
const r = a(t.center), e = `from ${t.startAngle}deg`, o = i(t.colors, t.stops);
|
|
50
|
+
return `conic-gradient(${e} at ${r}, ${o})`;
|
|
51
|
+
}
|
|
52
|
+
function m(t) {
|
|
53
|
+
const r = t.colors.map((e, o) => {
|
|
54
|
+
const n = l(e), c = t.colorStops[o] || `${o * 10}px`;
|
|
55
|
+
return `${n} ${c}`;
|
|
56
|
+
}).join(", ");
|
|
57
|
+
return `repeating-linear-gradient(${t.direction}, ${r})`;
|
|
58
|
+
}
|
|
59
|
+
function C(t) {
|
|
60
|
+
const r = t.shape || "circle", e = a(t.center), o = t.colors.map((n, c) => {
|
|
61
|
+
const s = l(n), p = t.colorStops[c] || `${c * 10}px`;
|
|
62
|
+
return `${s} ${p}`;
|
|
63
|
+
}).join(", ");
|
|
64
|
+
return `repeating-radial-gradient(${r} at ${e}, ${o})`;
|
|
65
|
+
}
|
|
66
|
+
function b(t) {
|
|
67
|
+
const r = a(t.center), e = i(t.colors, t.stops);
|
|
68
|
+
return `radial-gradient(ellipse ${t.radiusX}px ${t.radiusY}px at ${r}, ${e})`;
|
|
69
|
+
}
|
|
70
|
+
function h(t) {
|
|
71
|
+
switch (t.type) {
|
|
72
|
+
case "linear":
|
|
73
|
+
return d(t.options);
|
|
74
|
+
case "radial":
|
|
75
|
+
return $(t.options);
|
|
76
|
+
case "angular":
|
|
77
|
+
return f(t.options);
|
|
78
|
+
case "conic":
|
|
79
|
+
return S(t.options);
|
|
80
|
+
case "repeating-linear":
|
|
81
|
+
return m(t.options);
|
|
82
|
+
case "repeating-radial":
|
|
83
|
+
return C(t.options);
|
|
84
|
+
case "elliptical":
|
|
85
|
+
return b(t.options);
|
|
86
|
+
default:
|
|
87
|
+
throw new Error(`Unknown gradient type: ${t.type}`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
f as generateAngularGradientCSS,
|
|
92
|
+
S as generateConicGradientCSS,
|
|
93
|
+
b as generateEllipticalGradientCSS,
|
|
94
|
+
d as generateLinearGradientCSS,
|
|
95
|
+
$ as generateRadialGradientCSS,
|
|
96
|
+
m as generateRepeatingLinearGradientCSS,
|
|
97
|
+
C as generateRepeatingRadialGradientCSS,
|
|
98
|
+
h as gradientToCSS
|
|
99
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export * from "@tachui/types/gradients";
|
|
2
|
+
import { a as i, w as r, x as n, B as s, u as d, f as G, C as o, v as l, D as S, E as g, F as c, g as p, h as C, K as R, H as m, M as v, J as A, G as u, l as f, e as L, m as U, I as x, L as P, d as T, N as h, R as B, t as D, p as E, s as V, r as b, q as k, b as y, c as I, k as M, j as F, S as N, T as j, y as q, z as w, i as z, n as H, o as J, O as K } from "../index-JQ1sW1SK.js";
|
|
3
|
+
import { generateAngularGradientCSS as Q, generateConicGradientCSS as W, generateEllipticalGradientCSS as X, generateLinearGradientCSS as Y, generateRadialGradientCSS as Z, generateRepeatingLinearGradientCSS as _, generateRepeatingRadialGradientCSS as $, gradientToCSS as aa } from "./css-generator.js";
|
|
4
|
+
export {
|
|
5
|
+
i as AngularGradient,
|
|
6
|
+
r as AnimationGradients,
|
|
7
|
+
n as BackgroundGradients,
|
|
8
|
+
s as ButtonGradients,
|
|
9
|
+
d as CardGradients,
|
|
10
|
+
G as ColorUtilities,
|
|
11
|
+
o as ConicGradient,
|
|
12
|
+
l as DashboardGradients,
|
|
13
|
+
S as DevValidation,
|
|
14
|
+
g as EllipticalGradient,
|
|
15
|
+
c as FormGradients,
|
|
16
|
+
p as GradientAnalysis,
|
|
17
|
+
C as GradientAsset,
|
|
18
|
+
R as GradientDebugger,
|
|
19
|
+
m as GradientExamples,
|
|
20
|
+
v as GradientInspector,
|
|
21
|
+
A as GradientPerformanceMonitor,
|
|
22
|
+
u as GradientPresetUtils,
|
|
23
|
+
f as GradientTypeGuards,
|
|
24
|
+
L as GradientUtilities,
|
|
25
|
+
U as GradientValidation,
|
|
26
|
+
x as InteractiveGradientPresets,
|
|
27
|
+
P as LinearGradient,
|
|
28
|
+
T as LinearGradientPresets,
|
|
29
|
+
h as NavigationGradients,
|
|
30
|
+
B as RadialGradient,
|
|
31
|
+
D as ReactiveBackgroundUtils,
|
|
32
|
+
E as ReactiveGradientAsset,
|
|
33
|
+
V as ReactiveGradientUtils,
|
|
34
|
+
b as ReactiveGradients,
|
|
35
|
+
k as ReactiveStateGradientAsset,
|
|
36
|
+
y as RepeatingLinearGradient,
|
|
37
|
+
I as RepeatingRadialGradient,
|
|
38
|
+
M as StateGradient,
|
|
39
|
+
F as StateGradientAsset,
|
|
40
|
+
N as StateGradientUtils,
|
|
41
|
+
j as ThemeGradients,
|
|
42
|
+
q as ThemedGradients,
|
|
43
|
+
w as createComponentGradients,
|
|
44
|
+
z as createGradientAsset,
|
|
45
|
+
H as createValidatedGradient,
|
|
46
|
+
J as createValidatedStateGradient,
|
|
47
|
+
Q as generateAngularGradientCSS,
|
|
48
|
+
W as generateConicGradientCSS,
|
|
49
|
+
X as generateEllipticalGradientCSS,
|
|
50
|
+
Y as generateLinearGradientCSS,
|
|
51
|
+
Z as generateRadialGradientCSS,
|
|
52
|
+
_ as generateRepeatingLinearGradientCSS,
|
|
53
|
+
$ as generateRepeatingRadialGradientCSS,
|
|
54
|
+
K as gradientPerformanceMonitor,
|
|
55
|
+
aa as gradientToCSS
|
|
56
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactive.d.ts","sourceRoot":"","sources":["../../src/gradients/reactive.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,UAAU,MAAM,CAAC,CAAC;IAChB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;IACjB,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;CAC5C;AACD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,sB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