@tachui/core 0.8.25 → 0.8.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ColorAsset.d.ts +1 -0
- package/dist/assets/ColorAsset.d.ts.map +1 -1
- package/dist/assets/FontAsset.d.ts +3 -0
- package/dist/assets/FontAsset.d.ts.map +1 -1
- package/dist/assets/ImageAsset.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 +196 -132
- package/dist/assets/ssr-context.d.ts +8 -0
- package/dist/assets/ssr-context.d.ts.map +1 -0
- package/dist/{binding-DCr-JHsC.js → binding-DNl4QUbT.js} +1 -1
- package/dist/common.js +388 -386
- package/dist/{component-BzvSm8rM.js → component-DR1wgdPH.js} +66 -69
- package/dist/{component-context-C7Y6Xu6h.js → component-context-BB80qzyZ.js} +66 -44
- package/dist/components/index.js +1 -1
- package/dist/{concatenated-component-CA54ng_j.js → concatenated-component-DisxEqg6.js} +123 -113
- package/dist/essential.js +390 -388
- package/dist/{factory-B1YXfgU1.js → factory-C2LUc2BF.js} +2 -2
- package/dist/full.js +390 -388
- package/dist/{index-CmQmIgPK.js → index-B1zQAJuG.js} +91 -89
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +390 -388
- package/dist/minimal-prod.js +2 -2
- package/dist/minimal.js +4 -4
- package/dist/modifiers/base.d.ts +17 -0
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +97 -67
- package/dist/modifiers/builder.js +1 -1
- package/dist/modifiers/index.js +2 -2
- package/dist/modifiers/registry.js +1 -1
- package/dist/{observed-object-DCoyucmV.js → observed-object-gKl1Kk85.js} +1 -1
- package/dist/{optimization-D9t53vNJ.js → optimization-CnRxoggr.js} +1 -1
- package/dist/{proxy-B7ZIqGd0.js → proxy-B6FFddJq.js} +1 -1
- package/dist/runtime/component-context.d.ts +2 -0
- package/dist/runtime/component-context.d.ts.map +1 -1
- package/dist/runtime/component.d.ts.map +1 -1
- package/dist/runtime/dom-bridge.js +2 -2
- package/dist/runtime/index.js +4 -4
- package/dist/runtime/lazy-component.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +1 -1
- package/dist/state/index.js +5 -5
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/minimal-prod.js
CHANGED
|
@@ -3,8 +3,8 @@ import { c as y, p as A, o as E, a as R, n as S, i as b, r as I } from "./comput
|
|
|
3
3
|
import { c as w, a as B, b as D, d as F, e as k, g as L, i as O } from "./effect-DgNm6jk9.js";
|
|
4
4
|
import { c as U, f as j, o as G } from "./cleanup-BR8UpYPX.js";
|
|
5
5
|
import { DOMBridgeDebug as V, getComponentFromElement as W, mountComponentChildren as q, mountComponentTree as T, mountRoot as z, registerComponentWithLifecycleHooks as J, unmountComponent as K, unmountComponentEnhanced as N, updateComponent as Q } from "./runtime/dom-bridge.js";
|
|
6
|
-
import { g as Y, C as Z, P as _, R as $, c as ee, h as ae, a as se, l as te, b as re, i as oe, d as ne, e as ie, j as ce, k as fe, f as pe, p as de, w as me } from "./component-
|
|
7
|
-
import { S as le, c as Ce, i as ge, f as Me, u as he } from "./binding-
|
|
6
|
+
import { g as Y, C as Z, P as _, R as $, c as ee, h as ae, a as se, l as te, b as re, i as oe, d as ne, e as ie, j as ce, k as fe, f as pe, p as de, w as me } from "./component-DR1wgdPH.js";
|
|
7
|
+
import { S as le, c as Ce, i as ge, f as Me, u as he } from "./binding-DNl4QUbT.js";
|
|
8
8
|
import { Assets as ye, ColorAsset as Ae, FontAsset as Ee, ImageAsset as Re, createColorAsset as Se, createFontAsset as be, createImageAsset as Ie, registerAsset as ve } from "./assets/index.js";
|
|
9
9
|
import { A as Be, L as De } from "./index-7vhCZc7g.js";
|
|
10
10
|
import { Layout as ke, infinity as Le, isInfinity as Oe } from "./constants/layout.js";
|
package/dist/minimal.js
CHANGED
|
@@ -4,10 +4,10 @@ import { c as B, a as k, b as w, d as U, e as F, g as T, i as D } from "./effect
|
|
|
4
4
|
import { c as j, f as H, o as L } from "./cleanup-BR8UpYPX.js";
|
|
5
5
|
import { d as V, g as K, s as N } from "./theme-D5-09a8N.js";
|
|
6
6
|
import { DOMBridgeDebug as W, getComponentFromElement as q, mountComponentChildren as z, mountComponentTree as J, mountRoot as Q, registerComponentWithLifecycleHooks as X, unmountComponent as Y, unmountComponentEnhanced as Z, updateComponent as $ } from "./runtime/dom-bridge.js";
|
|
7
|
-
import { g as ae, C as te, P as se, R as oe, c as re, h as ne, a as ie, l as ce, b as me, i as pe, d as de, e as fe, j as Ce, k as le, f as ue, p as ge, w as Me } from "./component-
|
|
8
|
-
import { E as he, O as Ee, p as Se } from "./observed-object-
|
|
9
|
-
import { b as Ae, d as ve, g as ye, s as Ie, w as Oe } from "./component-context-
|
|
10
|
-
import { S as Be, c as ke, i as we, f as Ue, u as Fe } from "./binding-
|
|
7
|
+
import { g as ae, C as te, P as se, R as oe, c as re, h as ne, a as ie, l as ce, b as me, i as pe, d as de, e as fe, j as Ce, k as le, f as ue, p as ge, w as Me } from "./component-DR1wgdPH.js";
|
|
8
|
+
import { E as he, O as Ee, p as Se } from "./observed-object-gKl1Kk85.js";
|
|
9
|
+
import { b as Ae, d as ve, g as ye, s as Ie, w as Oe } from "./component-context-BB80qzyZ.js";
|
|
10
|
+
import { S as Be, c as ke, i as we, f as Ue, u as Fe } from "./binding-DNl4QUbT.js";
|
|
11
11
|
import { Assets as De, ColorAsset as Ge, FontAsset as je, ImageAsset as He, createColorAsset as Le, createFontAsset as Pe, createGoogleFont as Ve, createImageAsset as Ke, registerAsset as Ne } from "./assets/index.js";
|
|
12
12
|
import { A as We, L as qe, k as ze } from "./index-7vhCZc7g.js";
|
|
13
13
|
import { TACHUI_PACKAGE as Qe, TACHUI_PACKAGE_VERSION as Xe, VERSION as Ye } from "./version.js";
|
package/dist/modifiers/base.d.ts
CHANGED
|
@@ -6,6 +6,21 @@
|
|
|
6
6
|
import type { DOMNode } from '../runtime/types';
|
|
7
7
|
import type { CSSStyleProperties, Modifier, ModifierContext, ReactiveModifierProps, StyleComputationContext } from './types';
|
|
8
8
|
export { bindReactiveStyle, setReactiveStyleUpdaterErrorHandler, type ReactiveStyleUpdaterErrorContext, type ReactiveStyleUpdaterErrorHandler, } from './reactive-style-bindings';
|
|
9
|
+
export declare function collectStaticAnimationCSSRules(selector: string, props: {
|
|
10
|
+
transition?: {
|
|
11
|
+
property?: string;
|
|
12
|
+
duration?: number;
|
|
13
|
+
easing?: string;
|
|
14
|
+
delay?: number;
|
|
15
|
+
};
|
|
16
|
+
animation?: {
|
|
17
|
+
keyframes?: Record<string, Record<string, string>>;
|
|
18
|
+
duration?: number;
|
|
19
|
+
easing?: string;
|
|
20
|
+
iterations?: number | 'infinite';
|
|
21
|
+
direction?: 'normal' | 'reverse' | 'alternate' | 'alternate-reverse';
|
|
22
|
+
};
|
|
23
|
+
}, createKeyframeRule: (name: string, keyframes: Record<string, Record<string, string>>) => string): string[];
|
|
9
24
|
/**
|
|
10
25
|
* Abstract base modifier class
|
|
11
26
|
*/
|
|
@@ -18,6 +33,7 @@ export declare abstract class BaseModifier<TProps = {}> implements Modifier<TPro
|
|
|
18
33
|
* Apply the modifier to a DOM node
|
|
19
34
|
*/
|
|
20
35
|
abstract apply(node: DOMNode, context: ModifierContext): DOMNode | undefined;
|
|
36
|
+
getStaticCSS(_selector: string): string[];
|
|
21
37
|
/**
|
|
22
38
|
* Helper to resolve reactive properties
|
|
23
39
|
*/
|
|
@@ -108,6 +124,7 @@ export declare class AnimationModifier extends BaseModifier {
|
|
|
108
124
|
readonly type = "animation";
|
|
109
125
|
readonly priority: 400;
|
|
110
126
|
apply(_node: DOMNode, context: ModifierContext): DOMNode | undefined;
|
|
127
|
+
getStaticCSS(selector: string): string[];
|
|
111
128
|
private createKeyframeRule;
|
|
112
129
|
private addKeyframesToStylesheet;
|
|
113
130
|
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AO,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,GAAG,SAAS;IAuBpE,OAAO,CAAC,SAAS;IAsCjB,OAAO,CAAC,qBAAqB;IAwB7B,OAAO,CAAC,UAAU;CAOnB;AAED;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IACjD,QAAQ,CAAC,IAAI,eAAc;IAC3B,QAAQ,CAAC,QAAQ,MAA8B;IAE/C,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,GAAG,SAAS;CAWrE"}
|
package/dist/modifiers/base.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as m, r as D } from "../computed-CA4Cgtoe.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { g as
|
|
4
|
-
import { a as
|
|
2
|
+
import { c as S } from "../effect-DgNm6jk9.js";
|
|
3
|
+
import { g as z, i as b } from "../signal-BRoiFOO7.js";
|
|
4
|
+
import { a as B } from "../theme-D5-09a8N.js";
|
|
5
5
|
import { ModifierPriority as C } from "@tachui/types/modifiers";
|
|
6
|
-
import { shouldExpandForInfinity as
|
|
6
|
+
import { shouldExpandForInfinity as _, dimensionToCSS as g, isInfinity as p } from "../constants/layout.js";
|
|
7
7
|
import { o as F } from "../cleanup-BR8UpYPX.js";
|
|
8
8
|
const L = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
let y = null;
|
|
10
|
-
function
|
|
10
|
+
function re(o) {
|
|
11
11
|
if (o === null)
|
|
12
12
|
return y = null, () => {
|
|
13
13
|
};
|
|
@@ -29,12 +29,12 @@ function I(o, i, t) {
|
|
|
29
29
|
console.error(`Reactive style updater failed (${t}):`, e);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
let
|
|
32
|
+
const k = 200, u = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new Set();
|
|
33
|
+
let P = !1, $ = !1;
|
|
34
34
|
function W(o) {
|
|
35
|
-
|
|
35
|
+
u.get(o)?.forEach((t) => t()), u.delete(o), M.delete(o);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function V() {
|
|
38
38
|
const o = Date.now();
|
|
39
39
|
for (const i of Array.from(v)) {
|
|
40
40
|
const t = i.deref();
|
|
@@ -42,7 +42,7 @@ function R() {
|
|
|
42
42
|
v.delete(i);
|
|
43
43
|
continue;
|
|
44
44
|
}
|
|
45
|
-
const e = M.get(t), n =
|
|
45
|
+
const e = M.get(t), n = u.get(t);
|
|
46
46
|
if (!e || !n || n.size === 0) {
|
|
47
47
|
v.delete(i);
|
|
48
48
|
continue;
|
|
@@ -51,37 +51,37 @@ function R() {
|
|
|
51
51
|
e.wasConnected = !0;
|
|
52
52
|
continue;
|
|
53
53
|
}
|
|
54
|
-
(e.wasConnected || o - e.trackedAt >=
|
|
54
|
+
(e.wasConnected || o - e.trackedAt >= k) && (W(t), v.delete(i));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
function U() {
|
|
58
|
-
if (
|
|
59
|
-
|
|
58
|
+
if ($ || typeof setTimeout != "function") return;
|
|
59
|
+
$ = !0;
|
|
60
60
|
const o = () => {
|
|
61
|
-
if (
|
|
62
|
-
|
|
61
|
+
if (V(), v.size === 0) {
|
|
62
|
+
$ = !1;
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
setTimeout(o,
|
|
65
|
+
setTimeout(o, k);
|
|
66
66
|
};
|
|
67
|
-
setTimeout(o,
|
|
67
|
+
setTimeout(o, k);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
if (
|
|
69
|
+
function N() {
|
|
70
|
+
if (P || typeof document > "u" || !document.documentElement || typeof MutationObserver > "u")
|
|
71
71
|
return;
|
|
72
72
|
new MutationObserver(() => {
|
|
73
|
-
|
|
74
|
-
}).observe(document.documentElement, { childList: !0, subtree: !0 }),
|
|
73
|
+
V();
|
|
74
|
+
}).observe(document.documentElement, { childList: !0, subtree: !0 }), P = !0;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
-
const t =
|
|
79
|
-
return t.add(i),
|
|
76
|
+
function j(o, i) {
|
|
77
|
+
N(), U();
|
|
78
|
+
const t = u.get(o) ?? /* @__PURE__ */ new Set(), e = t.size > 0;
|
|
79
|
+
return t.add(i), u.set(o, t), e || (M.set(o, {
|
|
80
80
|
trackedAt: Date.now(),
|
|
81
81
|
wasConnected: o.isConnected
|
|
82
82
|
}), v.add(new WeakRef(o))), () => {
|
|
83
|
-
const n =
|
|
84
|
-
n && (n.delete(i), n.size === 0 && (
|
|
83
|
+
const n = u.get(o);
|
|
84
|
+
n && (n.delete(i), n.size === 0 && (u.delete(o), M.delete(o)));
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
function K({
|
|
@@ -95,10 +95,10 @@ function K({
|
|
|
95
95
|
let r = n.get(i);
|
|
96
96
|
if (!r) {
|
|
97
97
|
const a = /* @__PURE__ */ new Map();
|
|
98
|
-
r = { effect:
|
|
99
|
-
const
|
|
98
|
+
r = { effect: S(() => {
|
|
99
|
+
const c = i();
|
|
100
100
|
a.forEach(
|
|
101
|
-
(w, h) => I(w,
|
|
101
|
+
(w, h) => I(w, c, h)
|
|
102
102
|
);
|
|
103
103
|
}), updaters: a }, n.set(i, r);
|
|
104
104
|
}
|
|
@@ -109,11 +109,11 @@ function K({
|
|
|
109
109
|
const a = L.get(o), d = a?.get(i);
|
|
110
110
|
d && (d.updaters.delete(e), d.updaters.size === 0 && (d.effect.dispose(), a?.delete(i), m(i) && D(i)), a && a.size === 0 && L.delete(o));
|
|
111
111
|
};
|
|
112
|
-
|
|
112
|
+
z() ? F(l) : s = j(o, l);
|
|
113
113
|
}
|
|
114
114
|
var x = Object.defineProperty, Y = (o, i, t) => i in o ? x(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t, f = (o, i, t) => Y(o, typeof i != "symbol" ? i + "" : i, t);
|
|
115
115
|
const H = Symbol.for("tachui.modifier.instanceId"), G = "core";
|
|
116
|
-
let
|
|
116
|
+
let R = 0;
|
|
117
117
|
function T(o) {
|
|
118
118
|
return typeof HTMLElement < "u" && o instanceof HTMLElement;
|
|
119
119
|
}
|
|
@@ -123,8 +123,8 @@ function A(o) {
|
|
|
123
123
|
function X(o) {
|
|
124
124
|
const i = o[H];
|
|
125
125
|
if (typeof i == "number") return i;
|
|
126
|
-
|
|
127
|
-
const t =
|
|
126
|
+
R += 1;
|
|
127
|
+
const t = R;
|
|
128
128
|
return Object.defineProperty(o, H, {
|
|
129
129
|
value: t,
|
|
130
130
|
enumerable: !1,
|
|
@@ -132,17 +132,39 @@ function X(o) {
|
|
|
132
132
|
writable: !1
|
|
133
133
|
}), t;
|
|
134
134
|
}
|
|
135
|
+
function Z(o, i, t) {
|
|
136
|
+
const e = [];
|
|
137
|
+
if (i.transition) {
|
|
138
|
+
const r = i.transition, s = r.property || "all", l = r.duration || 300, a = r.easing || "ease", d = r.delay || 0;
|
|
139
|
+
s === "none" ? e.push(`${o} { transition: none; }`) : e.push(
|
|
140
|
+
`${o} { transition: ${s} ${l}ms ${a} ${d}ms; }`
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
const n = i.animation;
|
|
144
|
+
if (n?.keyframes) {
|
|
145
|
+
const s = `tachui-animation-${o.replace(/[^a-zA-Z0-9_-]/g, "") || "component"}`;
|
|
146
|
+
e.push(t(s, n.keyframes));
|
|
147
|
+
const l = n.duration || 1e3, a = n.easing || "ease", d = n.iterations || 1, c = n.direction || "normal";
|
|
148
|
+
e.push(
|
|
149
|
+
`${o} { animation: ${s} ${l}ms ${a} ${d} ${c}; }`
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
return e;
|
|
153
|
+
}
|
|
135
154
|
class E {
|
|
136
155
|
constructor(i) {
|
|
137
156
|
this.properties = i;
|
|
138
157
|
}
|
|
158
|
+
getStaticCSS(i) {
|
|
159
|
+
return [];
|
|
160
|
+
}
|
|
139
161
|
/**
|
|
140
162
|
* Helper to resolve reactive properties
|
|
141
163
|
*/
|
|
142
164
|
resolveReactiveProps(i, t) {
|
|
143
165
|
const e = {};
|
|
144
166
|
for (const [n, r] of Object.entries(i))
|
|
145
|
-
|
|
167
|
+
b(r) || m(r), e[n] = r;
|
|
146
168
|
return e;
|
|
147
169
|
}
|
|
148
170
|
/**
|
|
@@ -160,8 +182,8 @@ class E {
|
|
|
160
182
|
}
|
|
161
183
|
s.setProperty(r, a);
|
|
162
184
|
};
|
|
163
|
-
if (
|
|
164
|
-
|
|
185
|
+
if (b(e) || m(e)) {
|
|
186
|
+
S(() => {
|
|
165
187
|
const a = e();
|
|
166
188
|
l(String(a));
|
|
167
189
|
});
|
|
@@ -228,12 +250,12 @@ class E {
|
|
|
228
250
|
for (const [s, l] of Object.entries(t))
|
|
229
251
|
if (l !== void 0) {
|
|
230
252
|
const a = this.toCSSProperty(s);
|
|
231
|
-
if (
|
|
232
|
-
const d = l,
|
|
253
|
+
if (b(l) || m(l)) {
|
|
254
|
+
const d = l, c = X(this);
|
|
233
255
|
K({
|
|
234
256
|
element: i,
|
|
235
257
|
accessor: d,
|
|
236
|
-
updaterId: `${G}:${
|
|
258
|
+
updaterId: `${G}:${c}:${a}`,
|
|
237
259
|
updater: (w) => {
|
|
238
260
|
const h = this.toCSSValueForProperty(a, w);
|
|
239
261
|
r(a, h);
|
|
@@ -271,7 +293,7 @@ class E {
|
|
|
271
293
|
};
|
|
272
294
|
}
|
|
273
295
|
}
|
|
274
|
-
class
|
|
296
|
+
class oe extends E {
|
|
275
297
|
constructor() {
|
|
276
298
|
super(...arguments), f(this, "type", "layout"), f(this, "priority", C.LAYOUT);
|
|
277
299
|
}
|
|
@@ -297,7 +319,7 @@ class re extends E {
|
|
|
297
319
|
computeLayoutStyles(i, t) {
|
|
298
320
|
const e = {};
|
|
299
321
|
if (i.frame) {
|
|
300
|
-
const n = i.frame, r =
|
|
322
|
+
const n = i.frame, r = _(n);
|
|
301
323
|
if (Object.assign(e, r.cssProps), n.width !== void 0) {
|
|
302
324
|
const s = g(n.width);
|
|
303
325
|
s !== void 0 && !p(n.width) && !r.expandWidth && (e.width = s);
|
|
@@ -357,7 +379,7 @@ class re extends E {
|
|
|
357
379
|
}
|
|
358
380
|
if (i.layoutPriority !== void 0) {
|
|
359
381
|
const n = Number(i.layoutPriority);
|
|
360
|
-
n > 0 ? (e.flexShrink = "0", e.flexGrow = String(Math.max(1, n / 10)), e.zIndex = String(n), e.gridRowEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`, e.gridColumnEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`) : n === 0 ? (e.flexShrink = "1", e.flexGrow = "1") : (e.flexShrink = String(Math.abs(n)), e.flexGrow = "0", e.zIndex = String(n)), e
|
|
382
|
+
n > 0 ? (e.flexShrink = "0", e.flexGrow = String(Math.max(1, n / 10)), e.zIndex = String(n), e.gridRowEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`, e.gridColumnEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`) : n === 0 ? (e.flexShrink = "1", e.flexGrow = "1") : (e.flexShrink = String(Math.abs(n)), e.flexGrow = "0", e.zIndex = String(n)), e["--layout-priority"] = String(n);
|
|
361
383
|
}
|
|
362
384
|
if (i.offset, i.aspectRatio) {
|
|
363
385
|
const { ratio: n, contentMode: r } = i.aspectRatio;
|
|
@@ -370,7 +392,7 @@ class re extends E {
|
|
|
370
392
|
return e;
|
|
371
393
|
}
|
|
372
394
|
}
|
|
373
|
-
class
|
|
395
|
+
class se extends E {
|
|
374
396
|
constructor() {
|
|
375
397
|
super(...arguments), f(this, "type", "appearance"), f(this, "priority", C.APPEARANCE);
|
|
376
398
|
}
|
|
@@ -393,16 +415,16 @@ class oe extends E {
|
|
|
393
415
|
* Apply Asset-based styles with theme reactivity
|
|
394
416
|
*/
|
|
395
417
|
applyAssetBasedStyles(i, t) {
|
|
396
|
-
const e =
|
|
397
|
-
t.foregroundColor && this.isAsset(t.foregroundColor) &&
|
|
418
|
+
const e = B();
|
|
419
|
+
t.foregroundColor && this.isAsset(t.foregroundColor) && S(() => {
|
|
398
420
|
e();
|
|
399
421
|
const n = t.foregroundColor.resolve();
|
|
400
422
|
this.applyStyleChange(i, "color", n);
|
|
401
|
-
}), t.backgroundColor && this.isAsset(t.backgroundColor) &&
|
|
423
|
+
}), t.backgroundColor && this.isAsset(t.backgroundColor) && S(() => {
|
|
402
424
|
e();
|
|
403
425
|
const n = t.backgroundColor.resolve();
|
|
404
426
|
this.applyStyleChange(i, "backgroundColor", n);
|
|
405
|
-
}), t.border?.color && this.isAsset(t.border.color) &&
|
|
427
|
+
}), t.border?.color && this.isAsset(t.border.color) && S(() => {
|
|
406
428
|
e();
|
|
407
429
|
const n = t.border.color.resolve();
|
|
408
430
|
this.applyStyleChange(i, "borderColor", n);
|
|
@@ -424,7 +446,7 @@ class oe extends E {
|
|
|
424
446
|
t.fontFamily = r;
|
|
425
447
|
} else
|
|
426
448
|
t.fontFamily = n.family;
|
|
427
|
-
n.size !== void 0 && (t.fontSize =
|
|
449
|
+
n.size !== void 0 && (t.fontSize = b(n.size) || m(n.size) ? n.size : this.toCSSValue(n.size)), n.weight !== void 0 && (t.fontWeight = b(n.weight) || m(n.weight) ? n.weight : String(n.weight)), n.style && (t.fontStyle = n.style);
|
|
428
450
|
}
|
|
429
451
|
if (i.cornerRadius !== void 0 && (t.borderRadius = this.toCSSValue(i.cornerRadius)), i.border) {
|
|
430
452
|
const n = i.border;
|
|
@@ -457,7 +479,7 @@ class oe extends E {
|
|
|
457
479
|
return i._tachui_component || null;
|
|
458
480
|
}
|
|
459
481
|
}
|
|
460
|
-
class
|
|
482
|
+
class ae extends E {
|
|
461
483
|
constructor() {
|
|
462
484
|
super(...arguments), f(this, "type", "interaction"), f(this, "priority", C.INTERACTION);
|
|
463
485
|
}
|
|
@@ -484,8 +506,8 @@ class se extends E {
|
|
|
484
506
|
), t.element.addEventListener(
|
|
485
507
|
"touchend",
|
|
486
508
|
(s) => {
|
|
487
|
-
const a = s.changedTouches[0], d = a.clientX - n,
|
|
488
|
-
Math.abs(d) > Math.abs(
|
|
509
|
+
const a = s.changedTouches[0], d = a.clientX - n, c = a.clientY - r;
|
|
510
|
+
Math.abs(d) > Math.abs(c) && Math.abs(d) > 50 && (d < 0 && e.onSwipeLeft ? e.onSwipeLeft() : d > 0 && e.onSwipeRight && e.onSwipeRight());
|
|
489
511
|
},
|
|
490
512
|
{ passive: !0 }
|
|
491
513
|
);
|
|
@@ -500,7 +522,7 @@ class se extends E {
|
|
|
500
522
|
}), e.onCopy && t.element.addEventListener("copy", e.onCopy), e.onCut && t.element.addEventListener("cut", e.onCut), e.onPaste && t.element.addEventListener("paste", e.onPaste), e.onSelect && t.element.addEventListener("select", e.onSelect), e.disabled !== void 0 && T(t.element) && (e.disabled ? (t.element.setAttribute("disabled", "true"), t.element.style.pointerEvents = "none", t.element.style.opacity = "0.6") : (t.element.removeAttribute("disabled"), t.element.style.pointerEvents = "", t.element.style.opacity = "")), e.draggable !== void 0 && T(t.element) && (t.element.draggable = e.draggable), e.accessibilityLabel && t.element.setAttribute("aria-label", e.accessibilityLabel), e.accessibilityHint && t.element.setAttribute("aria-describedby", e.accessibilityHint);
|
|
501
523
|
}
|
|
502
524
|
}
|
|
503
|
-
class
|
|
525
|
+
class le extends E {
|
|
504
526
|
constructor() {
|
|
505
527
|
super(...arguments), f(this, "type", "animation"), f(this, "priority", C.ANIMATION);
|
|
506
528
|
}
|
|
@@ -509,7 +531,7 @@ class ae extends E {
|
|
|
509
531
|
const e = this.properties;
|
|
510
532
|
if (e.transition) {
|
|
511
533
|
const n = e.transition, r = n.property || "all", s = n.duration || 300, l = n.easing || "ease", a = n.delay || 0;
|
|
512
|
-
A(t.element) && (t.element.style.transition = `${r} ${s}ms ${l} ${a}ms`);
|
|
534
|
+
A(t.element) && (r === "none" ? t.element.style.transition = "none" : t.element.style.transition = `${r} ${s}ms ${l} ${a}ms`);
|
|
513
535
|
}
|
|
514
536
|
if (e.animation && A(t.element)) {
|
|
515
537
|
const n = e.animation;
|
|
@@ -519,11 +541,11 @@ class ae extends E {
|
|
|
519
541
|
n.keyframes
|
|
520
542
|
);
|
|
521
543
|
this.addKeyframesToStylesheet(s);
|
|
522
|
-
const l = n.duration || 1e3, a = n.easing || "ease", d = n.iterations || 1,
|
|
523
|
-
t.element.style.animation = `${r} ${l}ms ${a} ${d} ${
|
|
544
|
+
const l = n.duration || 1e3, a = n.easing || "ease", d = n.iterations || 1, c = n.direction || "normal";
|
|
545
|
+
t.element.style.animation = `${r} ${l}ms ${a} ${d} ${c}`;
|
|
524
546
|
}
|
|
525
547
|
}
|
|
526
|
-
if (e.transform && A(t.element) && (
|
|
548
|
+
if (e.transform && A(t.element) && (b(e.transform) || m(e.transform) ? S(() => {
|
|
527
549
|
const n = e.transform();
|
|
528
550
|
A(t.element) && (t.element.style.transform = n);
|
|
529
551
|
}) : t.element.style.transform = e.transform), e.scaleEffect && A(t.element)) {
|
|
@@ -539,10 +561,17 @@ class ae extends E {
|
|
|
539
561
|
trailing: "100% 50%"
|
|
540
562
|
}[s || "center"] || "50% 50%";
|
|
541
563
|
t.element.style.transformOrigin = d;
|
|
542
|
-
const
|
|
564
|
+
const c = `scale(${n}, ${l})`, h = (t.element.style.transform || "").replace(/\s*scale[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), O = h ? `${h} ${c}`.trim() : c;
|
|
543
565
|
t.element.style.transform = O;
|
|
544
566
|
}
|
|
545
567
|
}
|
|
568
|
+
getStaticCSS(i) {
|
|
569
|
+
return Z(
|
|
570
|
+
i,
|
|
571
|
+
this.properties,
|
|
572
|
+
this.createKeyframeRule.bind(this)
|
|
573
|
+
);
|
|
574
|
+
}
|
|
546
575
|
createKeyframeRule(i, t) {
|
|
547
576
|
let e = `@keyframes ${i} {
|
|
548
577
|
`;
|
|
@@ -566,7 +595,7 @@ class ae extends E {
|
|
|
566
595
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(i));
|
|
567
596
|
}
|
|
568
597
|
}
|
|
569
|
-
class
|
|
598
|
+
class de extends E {
|
|
570
599
|
constructor() {
|
|
571
600
|
super(...arguments), f(this, "type", "lifecycle"), f(this, "priority", C.CUSTOM), f(this, "activeAbortController");
|
|
572
601
|
}
|
|
@@ -607,7 +636,7 @@ class le extends E {
|
|
|
607
636
|
this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(i);
|
|
608
637
|
}
|
|
609
638
|
}
|
|
610
|
-
class
|
|
639
|
+
class fe extends E {
|
|
611
640
|
constructor() {
|
|
612
641
|
super(...arguments), f(this, "type", "resizable"), f(this, "priority", C.APPEARANCE);
|
|
613
642
|
}
|
|
@@ -616,13 +645,14 @@ class de extends E {
|
|
|
616
645
|
}
|
|
617
646
|
}
|
|
618
647
|
export {
|
|
619
|
-
|
|
620
|
-
|
|
648
|
+
le as AnimationModifier,
|
|
649
|
+
se as AppearanceModifier,
|
|
621
650
|
E as BaseModifier,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
651
|
+
ae as InteractionModifier,
|
|
652
|
+
oe as LayoutModifier,
|
|
653
|
+
de as LifecycleModifier,
|
|
654
|
+
fe as ResizableModifier,
|
|
626
655
|
K as bindReactiveStyle,
|
|
627
|
-
|
|
656
|
+
Z as collectStaticAnimationCSSRules,
|
|
657
|
+
re as setReactiveStyleUpdaterErrorHandler
|
|
628
658
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@tachui/registry";
|
|
2
|
-
import { M as s, a, c as o, m as d, s as t } from "../concatenated-component-
|
|
2
|
+
import { M as s, a, c as o, m as d, s as t } from "../concatenated-component-DisxEqg6.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ModifierBuilderImpl,
|
|
5
5
|
a as applyModifiers,
|
package/dist/modifiers/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationModifier as r, AppearanceModifier as o, BaseModifier as a, InteractionModifier as s, LayoutModifier as f, LifecycleModifier as t, ResizableModifier as d } from "./base.js";
|
|
2
2
|
import { ModifierPriority as p } from "@tachui/types/modifiers";
|
|
3
|
-
import { M as c, a as l, b as m, d as y, c as x, e as b, m as u, s as g } from "../concatenated-component-
|
|
4
|
-
import { a as h, r as B } from "../proxy-
|
|
3
|
+
import { M as c, a as l, b as m, d as y, c as x, e as b, m as u, s as g } from "../concatenated-component-DisxEqg6.js";
|
|
4
|
+
import { a as h, r as B } from "../proxy-B6FFddJq.js";
|
|
5
5
|
import { a as R, b as v, d as A, e as I, f as L, c as j, g as k, h as z, j as E, i as H, l as N, m as S, p as T, r as U, s as W, k as q } from "../factories-Bz6LZlk6.js";
|
|
6
6
|
import { r as D } from "../registration-utils-CNsN4eoU.js";
|
|
7
7
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as a, d as r, e as s, z as t, B as d, A as p } from "../concatenated-component-
|
|
1
|
+
import { b as a, d as r, e as s, z as t, B as d, A as p } from "../concatenated-component-DisxEqg6.js";
|
|
2
2
|
import "@tachui/registry";
|
|
3
3
|
export {
|
|
4
4
|
a as applyModifiersToNode,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as l } from "./effect-DgNm6jk9.js";
|
|
2
2
|
import { d as f, j as p } from "./signal-BRoiFOO7.js";
|
|
3
|
-
import { d as a, g as d, p as g, c as y } from "./component-context-
|
|
3
|
+
import { d as a, g as d, p as g, c as y } from "./component-context-BB80qzyZ.js";
|
|
4
4
|
var j = Object.defineProperty, O = (e, t, n) => t in e ? j(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, s = (e, t, n) => O(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
class v {
|
|
6
6
|
constructor(t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as v } from "./computed-CA4Cgtoe.js";
|
|
2
2
|
import { d as p } from "./signal-BRoiFOO7.js";
|
|
3
|
-
import { b as C } from "./component-context-
|
|
3
|
+
import { b as C } from "./component-context-BB80qzyZ.js";
|
|
4
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
5
|
const f = class l {
|
|
6
6
|
constructor() {
|
|
@@ -18,6 +18,8 @@ export declare const EnvironmentSymbol: unique symbol;
|
|
|
18
18
|
* Create a new component context
|
|
19
19
|
*/
|
|
20
20
|
export declare function createComponentContext(componentId: string, parent?: ComponentContext): ComponentContext;
|
|
21
|
+
export declare function getCurrentComponentContextOrNull(): ComponentContext | null;
|
|
22
|
+
export declare function createDeterministicComponentId(componentName: string, parentContext?: ComponentContext): string;
|
|
21
23
|
/**
|
|
22
24
|
* Get the current component context
|
|
23
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-context.d.ts","sourceRoot":"","sources":["../../src/runtime/component-context.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAElF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAoC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,iBAAiB,eAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"component-context.d.ts","sourceRoot":"","sources":["../../src/runtime/component-context.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAElF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAoC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,iBAAiB,eAA+B,CAAA;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AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC,CAgBpE;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;kCAaF,gBAAgB;;;;;;;;;CAI/C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/runtime/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/runtime/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAc,UAAU,EAAE,MAAM,SAAS,CAAA;AAC/E,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EAEjB,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,cAAc,EACd,GAAG,EAEH,cAAc,EACf,MAAM,SAAS,CAAA;AAEhB;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAkB;IACzC,OAAO,CAAC,UAAU,CAAuC;IACzD,OAAO,CAAC,QAAQ,CAAsC;IACtD,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,WAAW,CAAoB;IACvC,OAAO,CAAC,UAAU,CAAQ;IAE1B,MAAM,CAAC,WAAW,IAAI,gBAAgB;IAOtC;;OAEG;IACH,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAWpD;;OAEG;IACH,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAwBrC;;OAEG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAIvD;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQhC;;OAEG;YACW,YAAY;IAyB1B;;OAEG;IACH,OAAO,CAAC,eAAe;IAkBvB;;OAEG;IAC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"../signal-BRoiFOO7.js";
|
|
2
|
-
import { b as g, s as m, a as p } from "../component-context-
|
|
3
|
-
import { D as L } from "../concatenated-component-
|
|
2
|
+
import { b as g, s as m, a as p } from "../component-context-BB80qzyZ.js";
|
|
3
|
+
import { D as L } from "../concatenated-component-DisxEqg6.js";
|
|
4
4
|
const v = new L(), u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Set();
|
|
5
5
|
function H(e) {
|
|
6
6
|
e._enhancedLifecycle && h.add(e);
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as t, C as n, P as o, R as r, c as s, h as m, a as i, b as C, i as c, d as p, e as u, j as l, k as g, f as d, p as M, w as f } from "../component-
|
|
2
|
-
import { C as x, a as R, E as h, c as v, b as D, d as O, g as A, p as b, r as w, s as y, w as I } from "../component-context-
|
|
3
|
-
import { C as L, D as T, I as P, L as V, c as F, a as _, b as j, d as k, g as B, i as G, l as N, h as U, m as W, e as q, f as z, u as H, w as K } from "../optimization-
|
|
1
|
+
import { g as t, C as n, P as o, R as r, c as s, h as m, a as i, b as C, i as c, d as p, e as u, j as l, k as g, f as d, p as M, w as f } from "../component-DR1wgdPH.js";
|
|
2
|
+
import { C as x, a as R, E as h, c as v, b as D, d as O, g as A, p as b, r as w, s as y, w as I } from "../component-context-BB80qzyZ.js";
|
|
3
|
+
import { C as L, D as T, I as P, L as V, c as F, a as _, b as j, d as k, g as B, i as G, l as N, h as U, m as W, e as q, f as z, u as H, w as K } from "../optimization-CnRxoggr.js";
|
|
4
4
|
import { DOMBridgeDebug as J, getComponentFromElement as Q, mountComponentChildren as X, mountComponentTree as Z, mountRoot as $, unmountComponent as ee, unmountComponentEnhanced as ae, updateComponent as te } from "./dom-bridge.js";
|
|
5
|
-
import { j as oe, D as re, l as se, E as me, S as ie, u as Ce, V as ce, w as pe, n as ue, q as le, o as ge, g as de, x as Me, i as fe, h as Ee, y as xe, p as Re, r as he, f as ve, v as De, k as Oe, t as Ae } from "../concatenated-component-
|
|
5
|
+
import { j as oe, D as re, l as se, E as me, S as ie, u as Ce, V as ce, w as pe, n as ue, q as le, o as ge, g as de, x as Me, i as fe, h as Ee, y as xe, p as Re, r as he, f as ve, v as De, k as Oe, t as Ae } from "../concatenated-component-DisxEqg6.js";
|
|
6
6
|
import { A as we, F as ye, m as Ie, o as Se, a as Le, b as Te, c as Pe, d as Ve, s as Fe, e as _e, u as je, w as ke, f as Be, g as Ge } from "../hooks-w_FYPLjI.js";
|
|
7
7
|
export {
|
|
8
8
|
we as AnimationManager,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-component.d.ts","sourceRoot":"","sources":["../../src/runtime/lazy-component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"lazy-component.d.ts","sourceRoot":"","sources":["../../src/runtime/lazy-component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAMzD,MAAM,WAAW,oBAAoB;IACnC,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAA;IACzC,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uBAAuB;IACvB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAA;CAC/D;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,GAAG,IAAI,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,GAAG,CAAC,CAAC,CAAA;AAE5E,MAAM,WAAW,kBAAkB;IACjC,OAAO,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,EAAE,GAAG,KAAK,iBAAiB,CAoBnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/runtime/renderer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/runtime/renderer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAiCzD;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,qBAAa,WAAW;IACtB,OAAO,CAAC,OAAO,CAAmD;IAClE,OAAO,CAAC,UAAU,CAA0D;IAC5E,OAAO,CAAC,aAAa,CAAqB;IAE1C,OAAO,CAAC,kBAAkB,CAAkC;IAC5D,OAAO,CAAC,OAAO,CAYd;IAED;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,OAAO,GAAG,OAAO,EAAE,EACzB,SAAS,CAAC,EAAE,OAAO,GAClB,OAAO,GAAG,IAAI,GAAG,OAAO,GAAG,gBAAgB;IAQ9C;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAI/B;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,G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, t as d } from "../concatenated-component-
|
|
1
|
+
import { D as n, g as a, h as i, r as m, f as p, t as d } from "../concatenated-component-DisxEqg6.js";
|
|
2
2
|
import "../computed-CA4Cgtoe.js";
|
|
3
3
|
import "../signal-BRoiFOO7.js";
|
|
4
4
|
import "../effect-DgNm6jk9.js";
|
package/dist/state/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as g, C as p, c as u, o as l, m, E as c } from "../observed-object-
|
|
2
|
-
import { O as P, e as R, a as z, i as W, b as K, d as k } from "../observed-object-
|
|
3
|
-
import { b as f, d as _, S as h } from "../binding-
|
|
4
|
-
import { B as q, a as J, c as L, e as Q, i as X, f as Y, u as Z } from "../binding-
|
|
1
|
+
import { p as g, C as p, c as u, o as l, m, E as c } from "../observed-object-gKl1Kk85.js";
|
|
2
|
+
import { O as P, e as R, a as z, i as W, b as K, d as k } from "../observed-object-gKl1Kk85.js";
|
|
3
|
+
import { b as f, d as _, S as h } from "../binding-DNl4QUbT.js";
|
|
4
|
+
import { B as q, a as J, c as L, e as Q, i as X, f as Y, u as Z } from "../binding-DNl4QUbT.js";
|
|
5
5
|
import { c as te, a as ne } from "../computed-CA4Cgtoe.js";
|
|
6
6
|
import { c as re } from "../effect-DgNm6jk9.js";
|
|
7
7
|
import { d as ie } from "../signal-BRoiFOO7.js";
|
|
8
|
-
import { d as O } from "../component-context-
|
|
8
|
+
import { d as O } from "../component-context-BB80qzyZ.js";
|
|
9
9
|
var w = Object.defineProperty, v = (s, e, n) => e in s ? w(s, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : s[e] = n, a = (s, e, n) => v(s, typeof e != "symbol" ? e + "" : e, n);
|
|
10
10
|
class j {
|
|
11
11
|
constructor(e) {
|