marko 6.0.165 → 6.0.167
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/common/accessor.d.ts +22 -0
- package/dist/common/accessor.debug.d.ts +22 -0
- package/dist/common/helpers.d.ts +3 -2
- package/dist/common/types.d.ts +1 -1
- package/dist/debug/dom.js +1613 -2426
- package/dist/debug/dom.mjs +1517 -2404
- package/dist/debug/html.js +2441 -3359
- package/dist/debug/html.mjs +2364 -3267
- package/dist/dom/compat.d.ts +2 -1
- package/dist/dom/queue.d.ts +6 -6
- package/dist/dom/renderer.d.ts +9 -9
- package/dist/dom/signals.d.ts +5 -9
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +844 -1413
- package/dist/dom.mjs +840 -1394
- package/dist/html/template.d.ts +3 -3
- package/dist/html/writer.d.ts +1 -1
- package/dist/html.js +1451 -2115
- package/dist/html.mjs +1447 -2025
- package/dist/translator/index.js +8047 -13063
- package/dist/translator/util/normalize-string-expression.d.ts +1 -1
- package/package.json +2 -2
package/dist/html/template.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { RendererProp, type Template } from "../common/types";
|
|
2
2
|
export type ServerRenderer = ((...args: unknown[]) => unknown) & {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
[RendererProp.Id]?: string;
|
|
4
|
+
[RendererProp.Embed]?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const _template: (templateId: string, renderer: ServerRenderer, page?: 1) => Template;
|
package/dist/html/writer.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare function _script(scopeId: number, registryId: string): void;
|
|
|
23
23
|
export declare function _attr_content(nodeAccessor: Accessor, scopeId: number, content: unknown, serializeReason?: 1 | 0): void;
|
|
24
24
|
export declare function withContext<T>(key: PropertyKey, value: unknown, cb: () => T): T;
|
|
25
25
|
export declare function withContext<T, U>(key: PropertyKey, value: unknown, cb: (value: U) => T, cbValue: U): T;
|
|
26
|
-
export declare function _var(parentScopeId: number, scopeOffsetAccessor: Accessor, childScopeId: number, registryId: string): void;
|
|
26
|
+
export declare function _var(parentScopeId: number, scopeOffsetAccessor: Accessor, childScopeId: number, registryId: string, nodeAccessor?: Accessor): void;
|
|
27
27
|
export declare function _resume<T extends WeakKey>(val: T, id: string, scopeId?: number): T;
|
|
28
28
|
export declare function _id(): string;
|
|
29
29
|
export declare function _scope_id(): number;
|