marko 6.4.2 → 6.4.3
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/constants/accessor-prop.d.ts +1 -0
- package/dist/common/constants/accessor-prop.debug.d.ts +1 -0
- package/dist/common/types.d.ts +1 -0
- package/dist/debug/dom/catch.feat.js +1 -1
- package/dist/debug/dom/catch.feat.mjs +1 -1
- package/dist/debug/dom/controllable-input.feat.js +1 -1
- package/dist/debug/dom/controllable-input.feat.mjs +1 -1
- package/dist/debug/dom/controllable-open.feat.js +1 -1
- package/dist/debug/dom/controllable-open.feat.mjs +1 -1
- package/dist/debug/dom/controllable-select.feat.js +1 -1
- package/dist/debug/dom/controllable-select.feat.mjs +1 -1
- package/dist/debug/dom/controllable-textarea.feat.js +1 -1
- package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/debug/dom/controllable.feat.js +1 -1
- package/dist/debug/dom/controllable.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-var.feat.js +6 -2
- package/dist/debug/dom/dynamic-tag-var.feat.mjs +6 -2
- package/dist/debug/dom/lazy.feat.js +1 -1
- package/dist/debug/dom/lazy.feat.mjs +1 -1
- package/dist/debug/dom/placeholder.feat.js +1 -1
- package/dist/debug/dom/placeholder.feat.mjs +1 -1
- package/dist/debug/{dom-BLbR0hEx.js → dom-C7F3yZTh.js} +89 -24
- package/dist/debug/{dom-Cii0IA92.mjs → dom-uEY0J_H9.mjs} +60 -25
- package/dist/debug/dom.js +10 -1
- package/dist/debug/dom.mjs +10 -2
- package/dist/debug/html.js +13 -7
- package/dist/debug/html.mjs +13 -7
- package/dist/dom/catch.feat.js +4 -4
- package/dist/dom/catch.feat.mjs +1 -1
- package/dist/dom/control-flow.d.ts +2 -2
- package/dist/dom/controllable-input.feat.js +2 -2
- package/dist/dom/controllable-input.feat.mjs +1 -1
- package/dist/dom/controllable-open.feat.js +2 -2
- package/dist/dom/controllable-open.feat.mjs +1 -1
- package/dist/dom/controllable-select.feat.js +2 -2
- package/dist/dom/controllable-select.feat.mjs +1 -1
- package/dist/dom/controllable-textarea.feat.js +2 -2
- package/dist/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/dom/controllable.feat.js +2 -2
- package/dist/dom/controllable.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-script.feat.js +2 -2
- package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-var.feat.js +4 -2
- package/dist/dom/dynamic-tag-var.feat.mjs +4 -3
- package/dist/dom/lazy.feat.js +1 -1
- package/dist/dom/lazy.feat.mjs +1 -1
- package/dist/dom/load.d.ts +1 -0
- package/dist/dom/placeholder.feat.js +3 -3
- package/dist/dom/placeholder.feat.mjs +1 -1
- package/dist/dom/queue.d.ts +4 -1
- package/dist/{dom-B8UEYzOz.js → dom-CtIT8Mpr.js} +184 -140
- package/dist/{dom-BPjLe6YU.mjs → dom-DHg9YChM.mjs} +51 -27
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +39 -33
- package/dist/dom.mjs +8 -2
- package/dist/html/writer.d.ts +1 -1
- package/dist/html.js +18 -8
- package/dist/html.mjs +18 -8
- package/dist/translator/index.js +28 -23
- package/package.json +2 -2
- package/tags-html.d.ts +6 -5
package/dist/dom/lazy.feat.mjs
CHANGED
package/dist/dom/load.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface LoadTrigger {
|
|
|
12
12
|
}
|
|
13
13
|
export declare function _load_template(id: string, load: () => Promise<Renderer>): Template & Renderer;
|
|
14
14
|
export declare function _load_setup(load: () => Promise<LoadModule>): (owner: Scope, child: BranchScope, marker: ChildNode) => void;
|
|
15
|
+
export declare function _load_setup_var(load: () => Promise<LoadModule>): (owner: Scope, child: BranchScope, marker: ChildNode) => void;
|
|
15
16
|
export declare function _load_signal(load: () => Promise<LoadSignal>): Signal;
|
|
16
17
|
export declare function _load_visible_trigger(selector: string, options?: IntersectionObserverInit): LoadTrigger;
|
|
17
18
|
export declare function _load_idle_trigger(options?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
let require_control_flow = require("../dom-
|
|
2
|
+
let require_control_flow = require("../dom-CtIT8Mpr.js");
|
|
3
3
|
//#region src/dom/placeholder.feat.ts
|
|
4
|
-
require_control_flow.
|
|
5
|
-
tryBranch.P &&= (require_control_flow
|
|
4
|
+
require_control_flow.wt._f = (tryBranch) => {
|
|
5
|
+
tryBranch.P &&= (require_control_flow.$t(tryBranch.P), 0);
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as destroyBranch, wt as _resumed } from "../dom-DHg9YChM.mjs";
|
|
2
2
|
//#region src/dom/placeholder.feat.ts
|
|
3
3
|
_resumed._f = (tryBranch) => {
|
|
4
4
|
tryBranch.P &&= (destroyBranch(tryBranch.P), 0);
|
package/dist/dom/queue.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ export declare let rendering: undefined | 0 | 1;
|
|
|
13
13
|
export declare let runId: number;
|
|
14
14
|
export declare let pendingEffects: unknown[];
|
|
15
15
|
export declare function queueRender<T, U extends Scope = Scope>(scope: U, signal: Signal<T, U>, signalKey: number, value?: T, scopeKey?: number): void;
|
|
16
|
-
export declare
|
|
16
|
+
export declare let queuePendingRender: (render: PendingRender) => void;
|
|
17
|
+
export declare function createBranchRenders(scope: Scope, scopeKey: number): PendingRender;
|
|
18
|
+
export declare function installBranchRenders(): void;
|
|
17
19
|
export declare function queueEffect<S extends Scope, T extends ExecFn<S>>(scope: S, fn: T): void;
|
|
18
20
|
export declare function run(): void;
|
|
19
21
|
export declare function queueAsyncRender<T, U extends Scope = Scope>(scope: U, signal: Signal<T, U>, value?: T): void;
|
|
@@ -21,4 +23,5 @@ export declare function prepareEffects(fn: () => void): unknown[];
|
|
|
21
23
|
export declare let runEffects: (effects: unknown[]) => void;
|
|
22
24
|
declare let runRender: (render: PendingRender) => void;
|
|
23
25
|
export declare function installCatch(catchEffects: typeof runEffects, wrapRender: (base: typeof runRender) => typeof runRender): void;
|
|
26
|
+
export declare function runRenders(renders?: PendingRender[]): void;
|
|
24
27
|
export {};
|