@zenithbuild/runtime 0.7.4 → 0.7.7
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 +1 -0
- package/RUNTIME_CONTRACT.md +8 -0
- package/dist/diagnostics-production.d.ts +11 -0
- package/dist/diagnostics-production.js +279 -0
- package/dist/events.js +2 -2
- package/dist/expressions.d.ts +0 -1
- package/dist/expressions.js +128 -150
- package/dist/hydrate.js +32 -67
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/markup.js +7 -7
- package/dist/payload.d.ts +9 -10
- package/dist/payload.js +128 -219
- package/dist/presence.d.ts +67 -0
- package/dist/presence.js +297 -0
- package/dist/render.js +99 -117
- package/dist/runtime-template-profile.d.ts +20 -0
- package/dist/runtime-template-profile.js +141 -0
- package/dist/scanner.js +2 -2
- package/dist/template.d.ts +7 -1
- package/dist/template.js +25 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,7 @@ It does not define a public virtual-DOM framework API.
|
|
|
23
23
|
- **Fine-Grained Reactivity**: signal/state/effect primitives used by emitted code.
|
|
24
24
|
- **Hydration**: deterministic client-side hydration for server-rendered HTML.
|
|
25
25
|
- **Lifecycle Cleanup**: explicit mount/effect cleanup semantics.
|
|
26
|
+
- **Narrow Presence Helper**: canonical `zenPresence(...)` plus optional `presence(...)` alias for ref-owned always-mounted nodes when app code explicitly imports the runtime package.
|
|
26
27
|
|
|
27
28
|
## Usage
|
|
28
29
|
This package is installed as an internal framework dependency. App code should normally use the public Zenith surface instead of importing `@zenithbuild/runtime` directly.
|
package/RUNTIME_CONTRACT.md
CHANGED
|
@@ -171,6 +171,7 @@ export { signal } // Create reactive signal
|
|
|
171
171
|
export { state } // Create deep reactive state proxy
|
|
172
172
|
export { zeneffect } // Canonical reactive effect subscription
|
|
173
173
|
export { zenMount } // Canonical component bootstrap lifecycle hook
|
|
174
|
+
export { zenPresence } // Explicit import for ref-owned always-mounted node presence
|
|
174
175
|
export { zenWindow } // Canonical SSR-safe global window access
|
|
175
176
|
export { zenDocument } // Canonical SSR-safe global document access
|
|
176
177
|
export { hydrate } // Mount page module into container
|
|
@@ -182,10 +183,17 @@ For developer convenience, the runtime also exports optional, standard-named ali
|
|
|
182
183
|
```js
|
|
183
184
|
export { effect } // Alias for zeneffect
|
|
184
185
|
export { mount } // Alias for zenMount
|
|
186
|
+
export { presence } // Alias for zenPresence
|
|
185
187
|
export { window } // Alias for zenWindow
|
|
186
188
|
export { document } // Alias for zenDocument
|
|
187
189
|
```
|
|
188
190
|
|
|
191
|
+
`zenPresence` is the canonical presence helper name. `presence` is an optional convenience alias only.
|
|
192
|
+
|
|
193
|
+
`zenPresence` is intentionally not a compiler-owned implicit global. It is a narrow runtime import used with `zenMount(...)` + `zeneffect(...)` for always-mounted nodes only.
|
|
194
|
+
|
|
195
|
+
Its options may include narrow node-local coordination such as `onPhaseChange`, but it does not widen into fragment retention, focus trapping, or a generalized accessibility framework.
|
|
196
|
+
|
|
189
197
|
---
|
|
190
198
|
|
|
191
199
|
## 9. Alignment Verification
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function isZenithRuntimeError(error: any): boolean;
|
|
2
|
+
export function createZenithRuntimeError(details: any, cause: any): Error;
|
|
3
|
+
export function throwZenithRuntimeError(details: any, cause: any): void;
|
|
4
|
+
export function rethrowZenithRuntimeError(error: any, fallback?: {}): void;
|
|
5
|
+
export const DOCS_LINKS: Readonly<{
|
|
6
|
+
eventBinding: "/docs/documentation/contracts/runtime-contract.md#event-bindings";
|
|
7
|
+
expressionScope: "/docs/documentation/reference/reactive-binding-model.md#expression-resolution";
|
|
8
|
+
markerTable: "/docs/documentation/reference/markers.md";
|
|
9
|
+
componentBootstrap: "/docs/documentation/contracts/runtime-contract.md#component-bootstrap";
|
|
10
|
+
refs: "/docs/documentation/reference/reactive-binding-model.md#refs-and-mount";
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
const MAX_MESSAGE_LENGTH = 120;
|
|
2
|
+
const MAX_HINT_LENGTH = 140;
|
|
3
|
+
const MAX_PATH_LENGTH = 120;
|
|
4
|
+
const MAX_DOCS_LINK_LENGTH = 180;
|
|
5
|
+
const MAX_SNIPPET_LENGTH = 220;
|
|
6
|
+
const MAX_STACK_LENGTH = 420;
|
|
7
|
+
const VALID_PHASES = Object.freeze(Object.assign(Object.create(null), {
|
|
8
|
+
hydrate: 1,
|
|
9
|
+
bind: 1,
|
|
10
|
+
render: 1,
|
|
11
|
+
event: 1
|
|
12
|
+
}));
|
|
13
|
+
const VALID_CODES = Object.freeze(Object.assign(Object.create(null), {
|
|
14
|
+
UNRESOLVED_EXPRESSION: 1,
|
|
15
|
+
NON_RENDERABLE_VALUE: 1,
|
|
16
|
+
MARKER_MISSING: 1,
|
|
17
|
+
FRAGMENT_MOUNT_FAILED: 1,
|
|
18
|
+
BINDING_APPLY_FAILED: 1,
|
|
19
|
+
EVENT_HANDLER_FAILED: 1,
|
|
20
|
+
COMPONENT_BOOTSTRAP_FAILED: 1,
|
|
21
|
+
UNSAFE_MEMBER_ACCESS: 1
|
|
22
|
+
}));
|
|
23
|
+
const DOCS_EXPRESSION_SCOPE = '/docs/documentation/reference/reactive-binding-model.md#expression-resolution';
|
|
24
|
+
const DOCS_RENDERABLE_VALUES = '/docs/documentation/reference/reactive-binding-model.md#renderable-values';
|
|
25
|
+
const DOCS_MARKERS = '/docs/documentation/reference/markers.md';
|
|
26
|
+
const DOCS_FRAGMENT_CONTRACT = '/docs/documentation/contracts/runtime-contract.md#fragment-contract';
|
|
27
|
+
const DOCS_BINDING_APPLICATION = '/docs/documentation/contracts/runtime-contract.md#binding-application';
|
|
28
|
+
const DOCS_EVENT_BINDINGS = '/docs/documentation/contracts/runtime-contract.md#event-bindings';
|
|
29
|
+
const DOCS_COMPONENT_BOOTSTRAP = '/docs/documentation/contracts/runtime-contract.md#component-bootstrap';
|
|
30
|
+
const DOCS_LINK_BY_CODE = Object.freeze({
|
|
31
|
+
UNRESOLVED_EXPRESSION: DOCS_EXPRESSION_SCOPE,
|
|
32
|
+
NON_RENDERABLE_VALUE: DOCS_RENDERABLE_VALUES,
|
|
33
|
+
MARKER_MISSING: DOCS_MARKERS,
|
|
34
|
+
FRAGMENT_MOUNT_FAILED: DOCS_FRAGMENT_CONTRACT,
|
|
35
|
+
BINDING_APPLY_FAILED: DOCS_BINDING_APPLICATION,
|
|
36
|
+
EVENT_HANDLER_FAILED: DOCS_EVENT_BINDINGS,
|
|
37
|
+
COMPONENT_BOOTSTRAP_FAILED: DOCS_COMPONENT_BOOTSTRAP,
|
|
38
|
+
UNSAFE_MEMBER_ACCESS: DOCS_EXPRESSION_SCOPE
|
|
39
|
+
});
|
|
40
|
+
const ABSOLUTE_PATH_RE = /(?:[A-Za-z]:\\[^\s"'`]+|\/(?:Users|home|private|tmp|var\/folders)\/[^\s"'`]+)/g;
|
|
41
|
+
function _truncate(input, maxLength) {
|
|
42
|
+
const text = String(input ?? '');
|
|
43
|
+
if (text.length <= maxLength)
|
|
44
|
+
return text;
|
|
45
|
+
return `${text.slice(0, maxLength - 3)}...`;
|
|
46
|
+
}
|
|
47
|
+
function _sanitizeAbsolutePaths(value) {
|
|
48
|
+
return String(value ?? '').replace(ABSOLUTE_PATH_RE, '<path>');
|
|
49
|
+
}
|
|
50
|
+
function _compact(value, sanitizePaths = true) {
|
|
51
|
+
const text = sanitizePaths ? _sanitizeAbsolutePaths(value) : String(value ?? '');
|
|
52
|
+
return text.replace(/\s+/g, ' ').trim();
|
|
53
|
+
}
|
|
54
|
+
function _sanitizeOptionalText(value, maxLength, sanitizePaths = true) {
|
|
55
|
+
if (value === null || value === undefined || value === false) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
const compact = _compact(value, sanitizePaths);
|
|
59
|
+
if (!compact)
|
|
60
|
+
return undefined;
|
|
61
|
+
return _truncate(compact, maxLength);
|
|
62
|
+
}
|
|
63
|
+
function _sanitizeMessage(value) {
|
|
64
|
+
return _sanitizeOptionalText(value, MAX_MESSAGE_LENGTH) || 'Runtime failure';
|
|
65
|
+
}
|
|
66
|
+
const _sanitizeHint = (value) => _sanitizeOptionalText(value, MAX_HINT_LENGTH);
|
|
67
|
+
const _sanitizePath = (value) => _sanitizeOptionalText(value, MAX_PATH_LENGTH);
|
|
68
|
+
const _sanitizeDocsLink = (value) => _sanitizeOptionalText(value, MAX_DOCS_LINK_LENGTH, false);
|
|
69
|
+
function _sanitizeSourceLocation(value) {
|
|
70
|
+
if (!value || typeof value !== 'object')
|
|
71
|
+
return undefined;
|
|
72
|
+
const line = Number(value.line);
|
|
73
|
+
const column = Number(value.column);
|
|
74
|
+
if (!Number.isInteger(line) || !Number.isInteger(column)) {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
if (line < 1 || column < 1) {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
return { line, column };
|
|
81
|
+
}
|
|
82
|
+
function _sanitizeSource(value) {
|
|
83
|
+
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
84
|
+
return undefined;
|
|
85
|
+
}
|
|
86
|
+
const file = typeof value.file === 'string' ? _truncate(value.file.trim(), 240) : '';
|
|
87
|
+
if (!file) {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
const start = _sanitizeSourceLocation(value.start);
|
|
91
|
+
const end = _sanitizeSourceLocation(value.end);
|
|
92
|
+
const snippet = typeof value.snippet === 'string'
|
|
93
|
+
? _truncate(_compact(value.snippet, false), MAX_SNIPPET_LENGTH)
|
|
94
|
+
: undefined;
|
|
95
|
+
return {
|
|
96
|
+
file,
|
|
97
|
+
...(start ? { start } : null),
|
|
98
|
+
...(end ? { end } : null),
|
|
99
|
+
...(snippet ? { snippet } : null)
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function _normalizeMarker(marker) {
|
|
103
|
+
if (!marker || typeof marker !== 'object')
|
|
104
|
+
return undefined;
|
|
105
|
+
const markerType = _truncate(_compact(marker.type || 'data-zx'), 48);
|
|
106
|
+
const markerId = marker.id;
|
|
107
|
+
if (markerId === null || markerId === undefined || markerId === '')
|
|
108
|
+
return undefined;
|
|
109
|
+
if (typeof markerId === 'number') {
|
|
110
|
+
return { type: markerType, id: markerId };
|
|
111
|
+
}
|
|
112
|
+
return { type: markerType, id: _truncate(_sanitizeAbsolutePaths(markerId), 48) };
|
|
113
|
+
}
|
|
114
|
+
function _extractErrorMessage(error) {
|
|
115
|
+
if (!error)
|
|
116
|
+
return '';
|
|
117
|
+
if (typeof error === 'string')
|
|
118
|
+
return error;
|
|
119
|
+
if (error instanceof Error && typeof error.message === 'string')
|
|
120
|
+
return error.message;
|
|
121
|
+
if (typeof error.message === 'string')
|
|
122
|
+
return error.message;
|
|
123
|
+
return String(error);
|
|
124
|
+
}
|
|
125
|
+
function _readProcessEnv(name) {
|
|
126
|
+
const runtimeProcess = typeof process !== 'undefined' ? process : globalThis?.process;
|
|
127
|
+
const value = runtimeProcess?.env?.[name];
|
|
128
|
+
return typeof value === 'string' ? value : undefined;
|
|
129
|
+
}
|
|
130
|
+
function _shouldLogRuntimeError() {
|
|
131
|
+
if (_readProcessEnv('ZENITH_LOG_RUNTIME_ERRORS') === '1') {
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
const isTestMode = _readProcessEnv('NODE_ENV') === 'test'
|
|
135
|
+
|| _readProcessEnv('ZENITH_TEST_MODE') === '1';
|
|
136
|
+
return !isTestMode;
|
|
137
|
+
}
|
|
138
|
+
const _renderOverlay = () => { };
|
|
139
|
+
function _mapLegacyError(error, fallback) {
|
|
140
|
+
const rawMessage = _extractErrorMessage(error);
|
|
141
|
+
const safeMessage = _sanitizeMessage(rawMessage);
|
|
142
|
+
const details = {
|
|
143
|
+
phase: VALID_PHASES[fallback.phase] ? fallback.phase : 'hydrate',
|
|
144
|
+
code: VALID_CODES[fallback.code] ? fallback.code : 'BINDING_APPLY_FAILED',
|
|
145
|
+
message: _sanitizeMessage(fallback.message || safeMessage),
|
|
146
|
+
marker: _normalizeMarker(fallback.marker),
|
|
147
|
+
path: _sanitizePath(fallback.path),
|
|
148
|
+
hint: _sanitizeHint(fallback.hint),
|
|
149
|
+
source: _sanitizeSource(fallback.source),
|
|
150
|
+
docsLink: _sanitizeDocsLink(fallback.docsLink)
|
|
151
|
+
};
|
|
152
|
+
if (/failed to resolve expression literal/i.test(rawMessage)) {
|
|
153
|
+
details.phase = 'bind';
|
|
154
|
+
details.code = 'UNRESOLVED_EXPRESSION';
|
|
155
|
+
details.hint = details.hint || 'Verify expression scope keys and signal aliases.';
|
|
156
|
+
}
|
|
157
|
+
else if (/non-renderable (object|function)/i.test(rawMessage)) {
|
|
158
|
+
details.phase = 'render';
|
|
159
|
+
details.code = 'NON_RENDERABLE_VALUE';
|
|
160
|
+
const match = rawMessage.match(/at\s+([A-Za-z0-9_\[\].-]+)/);
|
|
161
|
+
if (match && !details.path) {
|
|
162
|
+
details.path = _sanitizePath(match[1]);
|
|
163
|
+
}
|
|
164
|
+
details.hint = details.hint || 'Use map() to render object fields into nodes.';
|
|
165
|
+
}
|
|
166
|
+
else if (/unresolved .* marker index/i.test(rawMessage)) {
|
|
167
|
+
details.phase = 'bind';
|
|
168
|
+
details.code = 'MARKER_MISSING';
|
|
169
|
+
const markerMatch = rawMessage.match(/unresolved\s+(\w+)\s+marker index\s+(\d+)/i);
|
|
170
|
+
if (markerMatch && !details.marker) {
|
|
171
|
+
details.marker = {
|
|
172
|
+
type: `data-zx-${markerMatch[1]}`,
|
|
173
|
+
id: Number(markerMatch[2])
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
details.hint = details.hint || 'Confirm SSR markers and client selector tables match.';
|
|
177
|
+
}
|
|
178
|
+
if (!details.docsLink) {
|
|
179
|
+
details.docsLink = DOCS_LINK_BY_CODE[details.code];
|
|
180
|
+
}
|
|
181
|
+
return details;
|
|
182
|
+
}
|
|
183
|
+
export function isZenithRuntimeError(error) {
|
|
184
|
+
return !!(error &&
|
|
185
|
+
typeof error === 'object' &&
|
|
186
|
+
error.zenithRuntimeError &&
|
|
187
|
+
error.zenithRuntimeError.kind === 'ZENITH_RUNTIME_ERROR');
|
|
188
|
+
}
|
|
189
|
+
export function createZenithRuntimeError(details, cause) {
|
|
190
|
+
const phase = VALID_PHASES[details?.phase] ? details.phase : 'hydrate';
|
|
191
|
+
const code = VALID_CODES[details?.code] ? details.code : 'BINDING_APPLY_FAILED';
|
|
192
|
+
const message = _sanitizeMessage(details?.message || 'Runtime failure');
|
|
193
|
+
const docsLink = _sanitizeDocsLink(details?.docsLink || DOCS_LINK_BY_CODE[code]);
|
|
194
|
+
const payload = {
|
|
195
|
+
kind: 'ZENITH_RUNTIME_ERROR',
|
|
196
|
+
phase,
|
|
197
|
+
code,
|
|
198
|
+
message,
|
|
199
|
+
...(docsLink ? { docsLink } : null)
|
|
200
|
+
};
|
|
201
|
+
const marker = _normalizeMarker(details?.marker);
|
|
202
|
+
if (marker)
|
|
203
|
+
payload.marker = marker;
|
|
204
|
+
const path = _sanitizePath(details?.path);
|
|
205
|
+
if (path)
|
|
206
|
+
payload.path = path;
|
|
207
|
+
const hint = _sanitizeHint(details?.hint);
|
|
208
|
+
if (hint)
|
|
209
|
+
payload.hint = hint;
|
|
210
|
+
const source = _sanitizeSource(details?.source);
|
|
211
|
+
if (source)
|
|
212
|
+
payload.source = source;
|
|
213
|
+
const stack = _sanitizeHint(details?.stack);
|
|
214
|
+
if (stack) {
|
|
215
|
+
payload.stack = _truncate(stack, MAX_STACK_LENGTH);
|
|
216
|
+
}
|
|
217
|
+
const error = new Error(`[Zenith Runtime] ${code}: ${message}`);
|
|
218
|
+
error.name = 'ZenithRuntimeError';
|
|
219
|
+
error.zenithRuntimeError = payload;
|
|
220
|
+
if (cause !== undefined) {
|
|
221
|
+
error.cause = cause;
|
|
222
|
+
}
|
|
223
|
+
error.toJSON = () => payload;
|
|
224
|
+
return error;
|
|
225
|
+
}
|
|
226
|
+
function _reportRuntimeError(error) {
|
|
227
|
+
if (!error || error.__zenithRuntimeErrorReported === true)
|
|
228
|
+
return;
|
|
229
|
+
error.__zenithRuntimeErrorReported = true;
|
|
230
|
+
const payload = error.zenithRuntimeError;
|
|
231
|
+
if (payload
|
|
232
|
+
&& _shouldLogRuntimeError()
|
|
233
|
+
&& typeof console !== 'undefined'
|
|
234
|
+
&& typeof console.error === 'function') {
|
|
235
|
+
console.error('[Zenith Runtime]', payload);
|
|
236
|
+
}
|
|
237
|
+
_renderOverlay(payload);
|
|
238
|
+
}
|
|
239
|
+
export function throwZenithRuntimeError(details, cause) {
|
|
240
|
+
const error = createZenithRuntimeError(details, cause);
|
|
241
|
+
_reportRuntimeError(error);
|
|
242
|
+
throw error;
|
|
243
|
+
}
|
|
244
|
+
export function rethrowZenithRuntimeError(error, fallback = {}) {
|
|
245
|
+
if (isZenithRuntimeError(error)) {
|
|
246
|
+
const payload = error.zenithRuntimeError || {};
|
|
247
|
+
let updatedPayload = payload;
|
|
248
|
+
const marker = payload.marker || _normalizeMarker(fallback.marker);
|
|
249
|
+
const path = payload.path || _sanitizePath(fallback.path);
|
|
250
|
+
const hint = payload.hint || _sanitizeHint(fallback.hint);
|
|
251
|
+
const source = payload.source || _sanitizeSource(fallback.source);
|
|
252
|
+
const docsLink = payload.docsLink || _sanitizeDocsLink(fallback.docsLink || DOCS_LINK_BY_CODE[payload.code]);
|
|
253
|
+
if (marker || path || hint || source || docsLink) {
|
|
254
|
+
updatedPayload = {
|
|
255
|
+
...payload,
|
|
256
|
+
...(marker ? { marker } : null),
|
|
257
|
+
...(path ? { path } : null),
|
|
258
|
+
...(hint ? { hint } : null),
|
|
259
|
+
...(source ? { source } : null),
|
|
260
|
+
...(docsLink ? { docsLink } : null)
|
|
261
|
+
};
|
|
262
|
+
error.zenithRuntimeError = updatedPayload;
|
|
263
|
+
error.toJSON = () => updatedPayload;
|
|
264
|
+
}
|
|
265
|
+
_reportRuntimeError(error);
|
|
266
|
+
throw error;
|
|
267
|
+
}
|
|
268
|
+
const mapped = _mapLegacyError(error, fallback || {});
|
|
269
|
+
const wrapped = createZenithRuntimeError(mapped, error);
|
|
270
|
+
_reportRuntimeError(wrapped);
|
|
271
|
+
throw wrapped;
|
|
272
|
+
}
|
|
273
|
+
export const DOCS_LINKS = Object.freeze({
|
|
274
|
+
eventBinding: DOCS_EVENT_BINDINGS,
|
|
275
|
+
expressionScope: DOCS_EXPRESSION_SCOPE,
|
|
276
|
+
markerTable: DOCS_MARKERS,
|
|
277
|
+
componentBootstrap: DOCS_COMPONENT_BOOTSTRAP,
|
|
278
|
+
refs: '/docs/documentation/reference/reactive-binding-model.md#refs-and-mount'
|
|
279
|
+
});
|
package/dist/events.js
CHANGED
|
@@ -40,7 +40,7 @@ function _resolveEventHandler(context, expressionBinding, marker, eventBinding)
|
|
|
40
40
|
message: `Event binding at index ${eventBinding.index} expected a function reference. You passed: ${_describeBindingExpression(expressionBinding)}`,
|
|
41
41
|
marker: { type: `data-zx-on-${eventBinding.event}`, id: eventBinding.index },
|
|
42
42
|
path: `event[${eventBinding.index}].${eventBinding.event}`,
|
|
43
|
-
hint: 'Use on:*={handler}
|
|
43
|
+
hint: 'Use on:*={handler}; forwarded props must be functions.',
|
|
44
44
|
docsLink: DOCS_LINKS.eventBinding,
|
|
45
45
|
source: _resolveBindingSource(expressionBinding, marker, eventBinding)
|
|
46
46
|
});
|
|
@@ -57,7 +57,7 @@ function _createWrappedEventHandler(handler, expressionBinding, marker, eventBin
|
|
|
57
57
|
message: `Event handler failed for "${eventBinding.event}"`,
|
|
58
58
|
marker: { type: `data-zx-on-${eventBinding.event}`, id: eventBinding.index },
|
|
59
59
|
path: `event[${eventBinding.index}].${eventBinding.event}`,
|
|
60
|
-
hint: 'Inspect
|
|
60
|
+
hint: 'Inspect handler body and referenced state.',
|
|
61
61
|
docsLink: DOCS_LINKS.eventBinding,
|
|
62
62
|
source: _resolveBindingSource(expressionBinding, marker, eventBinding)
|
|
63
63
|
});
|
package/dist/expressions.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export function _evaluateExpression(binding: any, stateValues: any, stateKeys: a
|
|
|
3
3
|
export function _throwUnresolvedMemberChainError(literal: any, markerIndex: any, mode: any, pathSuffix: any, hint: any, source: any): void;
|
|
4
4
|
export function _resolveStrictMemberChainLiteral(literal: any, stateValues: any, stateKeys: any, params: any, ssrData: any, mode: any, props: any, markerIndex: any, source: any): any;
|
|
5
5
|
export function _resolvePrimitiveLiteral(literal: any): any;
|
|
6
|
-
export function _buildLiteralScope(stateValues: any, stateKeys: any, params: any, ssrData: any, mode: any, props: any): any;
|
|
7
6
|
export function _resolveBindingSource(binding: any, markerBinding: any, eventBinding: any): any;
|
|
8
7
|
export function _describeBindingExpression(binding: any): string;
|
|
9
8
|
export function _markerTypeForError(kind: any): any;
|