marko 6.3.52 → 6.3.53
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/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 +5 -0
- package/dist/debug/dom/dynamic-tag-script.feat.mjs +4 -0
- package/dist/debug/dom/dynamic-tag-var.feat.js +2 -3
- package/dist/debug/dom/dynamic-tag-var.feat.mjs +2 -3
- package/dist/debug/dom/placeholder.feat.js +1 -1
- package/dist/debug/dom/placeholder.feat.mjs +1 -1
- package/dist/debug/{dom-BJKb8-wr.js → dom-CBLlE8L-.js} +27 -10
- package/dist/debug/{dom-Dq_Yu7MS.mjs → dom-DQCODUa1.mjs} +12 -7
- package/dist/debug/dom.js +2 -2
- package/dist/debug/dom.mjs +2 -2
- package/dist/debug/html.js +1 -1
- package/dist/debug/html.mjs +1 -1
- package/dist/dom/catch.feat.js +3 -3
- package/dist/dom/catch.feat.mjs +1 -1
- package/dist/dom/control-flow.d.ts +1 -3
- package/dist/dom/controllable-input.feat.js +1 -1
- package/dist/dom/controllable-input.feat.mjs +1 -1
- package/dist/dom/controllable-open.feat.js +1 -1
- package/dist/dom/controllable-open.feat.mjs +1 -1
- package/dist/dom/controllable-select.feat.js +1 -1
- package/dist/dom/controllable-select.feat.mjs +1 -1
- package/dist/dom/controllable-textarea.feat.js +1 -1
- package/dist/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/dom/controllable.feat.js +1 -1
- package/dist/dom/controllable.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-script.feat.d.ts +1 -0
- package/dist/dom/dynamic-tag-script.feat.js +4 -0
- package/dist/dom/dynamic-tag-script.feat.mjs +4 -0
- package/dist/dom/dynamic-tag-var.feat.js +1 -2
- package/dist/dom/dynamic-tag-var.feat.mjs +2 -3
- package/dist/dom/placeholder.feat.js +3 -3
- package/dist/dom/placeholder.feat.mjs +1 -1
- package/dist/dom/resume.d.ts +1 -0
- package/dist/{dom-CzGPOsST.js → dom-vuB05Hnj.js} +75 -59
- package/dist/{dom-CzfddxCE.mjs → dom-z4IMlmeO.mjs} +8 -2
- package/dist/dom.d.ts +2 -2
- package/dist/dom.js +33 -33
- package/dist/dom.mjs +2 -2
- package/dist/html.js +1 -1
- package/dist/html.mjs +1 -1
- package/dist/translator/index.js +527 -525
- package/dist/translator/util/references.d.ts +6 -3
- package/dist/translator/util/runtime.d.ts +1 -1
- package/dist/translator/util/sections.d.ts +0 -2
- package/dist/translator/util/serialize-guard.d.ts +0 -6
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as Pending, En as ClosestBranch, Mn as PendingEffects, Nn as PendingRenders, g as renderCatch, jn as ParentBranch, nn as installCatch, rn as placeholderShown, tn as caughtError, wn as Scope } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/catch.feat.ts
|
|
3
3
|
const handlePendingTry = (fn, scope, branch) => {
|
|
4
4
|
while (branch) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/controllable-input.feat.ts
|
|
4
4
|
require_control_flow.controllableScripts[0] = require_control_flow._attr_input_checked_script;
|
|
5
5
|
require_control_flow.controllableScripts[1] = require_control_flow._attr_input_checkedValue_script;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _attr_input_value_script, C as _attr_input_checkedValue_script, T as _attr_input_checked_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { A as _attr_input_value_script, C as _attr_input_checkedValue_script, T as _attr_input_checked_script, z as controllableScripts } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/controllable-input.feat.ts
|
|
3
3
|
controllableScripts[0] = _attr_input_checked_script;
|
|
4
4
|
controllableScripts[1] = _attr_input_checkedValue_script;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/controllable-open.feat.ts
|
|
4
4
|
require_control_flow.controllableScripts[4] = require_control_flow._attr_details_or_dialog_open_script;
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as _attr_details_or_dialog_open_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { y as _attr_details_or_dialog_open_script, z as controllableScripts } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/controllable-open.feat.ts
|
|
3
3
|
controllableScripts[4] = _attr_details_or_dialog_open_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/controllable-select.feat.ts
|
|
4
4
|
require_control_flow.controllableScripts[3] = require_control_flow._attr_select_value_script;
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as _attr_select_value_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { N as _attr_select_value_script, z as controllableScripts } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/controllable-select.feat.ts
|
|
3
3
|
controllableScripts[3] = _attr_select_value_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/controllable-textarea.feat.ts
|
|
4
4
|
require_control_flow.controllableScripts[2] = require_control_flow._attr_input_value_script;
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _attr_input_value_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { A as _attr_input_value_script, z as controllableScripts } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/controllable-textarea.feat.ts
|
|
3
3
|
controllableScripts[2] = _attr_input_value_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as _controllable_open, I as _controllable_select, L as _controllable_textarea, P as _controllable_input, R as controllableRenders } from "../dom-
|
|
1
|
+
import { F as _controllable_open, I as _controllable_select, L as _controllable_textarea, P as _controllable_input, R as controllableRenders } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
import "./controllable-input.feat.mjs";
|
|
3
3
|
import "./controllable-open.feat.mjs";
|
|
4
4
|
import "./controllable-select.feat.mjs";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
|
+
//#region src/dom/dynamic-tag-script.feat.ts
|
|
4
|
+
require_control_flow._resumed[require_control_flow.DYNAMIC_TAG_SCRIPT_REGISTER_ID] = require_control_flow.withBranches(require_control_flow.dynamicTagScript);
|
|
5
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/dynamic-tag-var.feat.ts
|
|
4
|
-
|
|
5
|
-
require_control_flow.installDynamicTagVar((branch) => branch[require_control_flow.TagVariable](elementGetter(branch)));
|
|
4
|
+
require_control_flow.installDynamicTagVar((branch) => branch[require_control_flow.TagVariable](() => require_control_flow._el_read(branch[require_control_flow.StartNode])));
|
|
6
5
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fn as StartNode, In as TagVariable, kt as _el_read, m as installDynamicTagVar } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/dynamic-tag-var.feat.ts
|
|
3
|
-
|
|
4
|
-
installDynamicTagVar((branch) => branch[TagVariable](elementGetter(branch)));
|
|
3
|
+
installDynamicTagVar((branch) => branch[TagVariable](() => _el_read(branch[StartNode])));
|
|
5
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_control_flow = require("../dom-
|
|
2
|
+
const require_control_flow = require("../dom-CBLlE8L-.js");
|
|
3
3
|
//#region src/dom/placeholder.feat.ts
|
|
4
4
|
require_control_flow._resumed[require_control_flow.PLACEHOLDER_DISMISS_REGISTER_ID] = (tryBranch) => {
|
|
5
5
|
if (tryBranch["#PlaceholderBranch"]) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as destroyBranch, Pn as PlaceholderBranch, Zt as PLACEHOLDER_DISMISS_REGISTER_ID, _t as _resumed } from "../dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/dom/placeholder.feat.ts
|
|
3
3
|
_resumed[PLACEHOLDER_DISMISS_REGISTER_ID] = (tryBranch) => {
|
|
4
4
|
if (tryBranch["#PlaceholderBranch"]) {
|
|
@@ -455,11 +455,6 @@ function abort(ctrl) {
|
|
|
455
455
|
ctrl.abort();
|
|
456
456
|
}
|
|
457
457
|
//#endregion
|
|
458
|
-
//#region src/common/meta.ts
|
|
459
|
-
const DYNAMIC_TAG_SCRIPT_REGISTER_ID = "_dynamicTagScript";
|
|
460
|
-
const DYNAMIC_TAG_VAR_REGISTER_ID = "_dynamicTagVar";
|
|
461
|
-
const PLACEHOLDER_DISMISS_REGISTER_ID = "_placeholderDismiss";
|
|
462
|
-
//#endregion
|
|
463
458
|
//#region src/common/opt.ts
|
|
464
459
|
function toArray(opt) {
|
|
465
460
|
return opt ? Array.isArray(opt) ? opt : [opt] : [];
|
|
@@ -503,6 +498,11 @@ function parseHTML(html, ns) {
|
|
|
503
498
|
return parser.content || parser;
|
|
504
499
|
}
|
|
505
500
|
//#endregion
|
|
501
|
+
//#region src/common/meta.ts
|
|
502
|
+
const DYNAMIC_TAG_SCRIPT_REGISTER_ID = "_dynamicTagScript";
|
|
503
|
+
const DYNAMIC_TAG_VAR_REGISTER_ID = "_dynamicTagVar";
|
|
504
|
+
const PLACEHOLDER_DISMISS_REGISTER_ID = "_placeholderDismiss";
|
|
505
|
+
//#endregion
|
|
506
506
|
//#region src/dom/scope.ts
|
|
507
507
|
let nextScopeId = 1e6;
|
|
508
508
|
let collectingScopes;
|
|
@@ -1090,6 +1090,12 @@ function _var_resume(id, signal) {
|
|
|
1090
1090
|
function _el(id, accessor) {
|
|
1091
1091
|
return _resumed[id] = (scope) => () => _el_read(scope[accessor]);
|
|
1092
1092
|
}
|
|
1093
|
+
function _resume_dynamic_tag_var(accessor) {
|
|
1094
|
+
_resumed[DYNAMIC_TAG_VAR_REGISTER_ID + accessor] = (scope) => () => {
|
|
1095
|
+
const node = scope[accessor];
|
|
1096
|
+
return _el_read(node.nodeType === 8 ? node.previousSibling : node);
|
|
1097
|
+
};
|
|
1098
|
+
}
|
|
1093
1099
|
//#endregion
|
|
1094
1100
|
//#region src/dom/renderer.ts
|
|
1095
1101
|
function createBranch($global, renderer, parentScope, parentNode) {
|
|
@@ -1948,7 +1954,6 @@ let bindNativeTagVar;
|
|
|
1948
1954
|
function installDynamicTagVar(bind) {
|
|
1949
1955
|
bindNativeTagVar = bind;
|
|
1950
1956
|
}
|
|
1951
|
-
const _resume_dynamic_tag = /*@__PURE__*/ withBranches(() => _resumed[DYNAMIC_TAG_SCRIPT_REGISTER_ID] = dynamicTagScript);
|
|
1952
1957
|
function dynamicTagScript(branch) {
|
|
1953
1958
|
_attrs_script(branch, `#${branch[Renderer].toLowerCase()}/0`);
|
|
1954
1959
|
}
|
|
@@ -2132,10 +2137,10 @@ Object.defineProperty(exports, "ClosestBranch", {
|
|
|
2132
2137
|
return ClosestBranch;
|
|
2133
2138
|
}
|
|
2134
2139
|
});
|
|
2135
|
-
Object.defineProperty(exports, "
|
|
2140
|
+
Object.defineProperty(exports, "DYNAMIC_TAG_SCRIPT_REGISTER_ID", {
|
|
2136
2141
|
enumerable: true,
|
|
2137
2142
|
get: function() {
|
|
2138
|
-
return
|
|
2143
|
+
return DYNAMIC_TAG_SCRIPT_REGISTER_ID;
|
|
2139
2144
|
}
|
|
2140
2145
|
});
|
|
2141
2146
|
Object.defineProperty(exports, "EndNode", {
|
|
@@ -2654,10 +2659,10 @@ Object.defineProperty(exports, "_or", {
|
|
|
2654
2659
|
return _or;
|
|
2655
2660
|
}
|
|
2656
2661
|
});
|
|
2657
|
-
Object.defineProperty(exports, "
|
|
2662
|
+
Object.defineProperty(exports, "_resume_dynamic_tag_var", {
|
|
2658
2663
|
enumerable: true,
|
|
2659
2664
|
get: function() {
|
|
2660
|
-
return
|
|
2665
|
+
return _resume_dynamic_tag_var;
|
|
2661
2666
|
}
|
|
2662
2667
|
});
|
|
2663
2668
|
Object.defineProperty(exports, "_resumed", {
|
|
@@ -2786,6 +2791,12 @@ Object.defineProperty(exports, "destroyBranch", {
|
|
|
2786
2791
|
return destroyBranch;
|
|
2787
2792
|
}
|
|
2788
2793
|
});
|
|
2794
|
+
Object.defineProperty(exports, "dynamicTagScript", {
|
|
2795
|
+
enumerable: true,
|
|
2796
|
+
get: function() {
|
|
2797
|
+
return dynamicTagScript;
|
|
2798
|
+
}
|
|
2799
|
+
});
|
|
2789
2800
|
Object.defineProperty(exports, "forIn", {
|
|
2790
2801
|
enumerable: true,
|
|
2791
2802
|
get: function() {
|
|
@@ -2948,6 +2959,12 @@ Object.defineProperty(exports, "toInsertNode", {
|
|
|
2948
2959
|
return toInsertNode;
|
|
2949
2960
|
}
|
|
2950
2961
|
});
|
|
2962
|
+
Object.defineProperty(exports, "withBranches", {
|
|
2963
|
+
enumerable: true,
|
|
2964
|
+
get: function() {
|
|
2965
|
+
return withBranches;
|
|
2966
|
+
}
|
|
2967
|
+
});
|
|
2951
2968
|
Object.defineProperty(exports, "withLazy", {
|
|
2952
2969
|
enumerable: true,
|
|
2953
2970
|
get: function() {
|
|
@@ -454,11 +454,6 @@ function abort(ctrl) {
|
|
|
454
454
|
ctrl.abort();
|
|
455
455
|
}
|
|
456
456
|
//#endregion
|
|
457
|
-
//#region src/common/meta.ts
|
|
458
|
-
const DYNAMIC_TAG_SCRIPT_REGISTER_ID = "_dynamicTagScript";
|
|
459
|
-
const DYNAMIC_TAG_VAR_REGISTER_ID = "_dynamicTagVar";
|
|
460
|
-
const PLACEHOLDER_DISMISS_REGISTER_ID = "_placeholderDismiss";
|
|
461
|
-
//#endregion
|
|
462
457
|
//#region src/common/opt.ts
|
|
463
458
|
function toArray(opt) {
|
|
464
459
|
return opt ? Array.isArray(opt) ? opt : [opt] : [];
|
|
@@ -502,6 +497,11 @@ function parseHTML(html, ns) {
|
|
|
502
497
|
return parser.content || parser;
|
|
503
498
|
}
|
|
504
499
|
//#endregion
|
|
500
|
+
//#region src/common/meta.ts
|
|
501
|
+
const DYNAMIC_TAG_SCRIPT_REGISTER_ID = "_dynamicTagScript";
|
|
502
|
+
const DYNAMIC_TAG_VAR_REGISTER_ID = "_dynamicTagVar";
|
|
503
|
+
const PLACEHOLDER_DISMISS_REGISTER_ID = "_placeholderDismiss";
|
|
504
|
+
//#endregion
|
|
505
505
|
//#region src/dom/scope.ts
|
|
506
506
|
let nextScopeId = 1e6;
|
|
507
507
|
let collectingScopes;
|
|
@@ -1089,6 +1089,12 @@ function _var_resume(id, signal) {
|
|
|
1089
1089
|
function _el(id, accessor) {
|
|
1090
1090
|
return _resumed[id] = (scope) => () => _el_read(scope[accessor]);
|
|
1091
1091
|
}
|
|
1092
|
+
function _resume_dynamic_tag_var(accessor) {
|
|
1093
|
+
_resumed[DYNAMIC_TAG_VAR_REGISTER_ID + accessor] = (scope) => () => {
|
|
1094
|
+
const node = scope[accessor];
|
|
1095
|
+
return _el_read(node.nodeType === 8 ? node.previousSibling : node);
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1092
1098
|
//#endregion
|
|
1093
1099
|
//#region src/dom/renderer.ts
|
|
1094
1100
|
function createBranch($global, renderer, parentScope, parentNode) {
|
|
@@ -1947,7 +1953,6 @@ let bindNativeTagVar;
|
|
|
1947
1953
|
function installDynamicTagVar(bind) {
|
|
1948
1954
|
bindNativeTagVar = bind;
|
|
1949
1955
|
}
|
|
1950
|
-
const _resume_dynamic_tag = /*@__PURE__*/ withBranches(() => _resumed[DYNAMIC_TAG_SCRIPT_REGISTER_ID] = dynamicTagScript);
|
|
1951
1956
|
function dynamicTagScript(branch) {
|
|
1952
1957
|
_attrs_script(branch, `#${branch[Renderer].toLowerCase()}/0`);
|
|
1953
1958
|
}
|
|
@@ -2101,4 +2106,4 @@ function byFirstArg(name) {
|
|
|
2101
2106
|
return name;
|
|
2102
2107
|
}
|
|
2103
2108
|
//#endregion
|
|
2104
|
-
export { _attrs_script as $, $
|
|
2109
|
+
export { _attrs_script as $, $signal as $t, _attr_input_value_script as A, Load as An, _for_closure as At, _attr as B, _return as Bt, _attr_input_checkedValue_script as C, Pending as Cn, readyFailed as Ct, _attr_input_value_attribute_default as D, EndNode as Dn, _closure_get as Dt, _attr_input_value as E, ClosestBranch as En, _closure as Et, _controllable_open as F, StartNode as Fn, _id as Ft, _attr_nonce as G, _assert_init as Gt, _attr_class_item as H, _script as Ht, _controllable_select as I, TagVariable as In, _if_closure as It, _attr_style_items as J, removeAndDestroyBranch as Jt, _attr_style as K, destroyBranch as Kt, _controllable_textarea as L, _let as Lt, _attr_select_value_default as M, PendingEffects as Mn, _global_read as Mt, _attr_select_value_script as N, PendingRenders as Nn, _hoist as Nt, _attr_input_value_default as O, Gen$1 as On, _const as Ot, _controllable_input as P, PlaceholderBranch as Pn, _hoist_resume as Pt, _attrs_partial_content as Q, _on as Qt, controllableRenders as R, _let_change as Rt, _attr_input_checkedValue_default as S, Setup as Sn, ready as St, _attr_input_checked_script as T, AwaitCounter as Tn, _child_setup as Tt, _attr_class_items as U, _var as Ut, _attr_class as V, _return_change as Vt, _attr_content as W, _var_change as Wt, _attrs_content as X, DYNAMIC_TAG_SCRIPT_REGISTER_ID as Xt, _attrs as Y, syncGen as Yt, _attrs_partial as Z, PLACEHOLDER_DISMISS_REGISTER_ID as Zt, _attr_details_or_dialog_open as _, _call as _n, _resumed as _t, _for_in as a, queueAsyncRender as an, _text_content as at, _attr_input_checked as b, Owner as bn, init as bt, _for_until as c, run as cn, toInsertNode as ct, _try as d, forIn as dn, _content_resume as dt, $signalReset as en, _html as et, addAwaitCounter as f, forOf as fn, createAndSetupBranch as ft, renderCatch as g, _hoist_read_error as gn, _resume_dynamic_tag_var as gt, patchDynamicTag as h, _assert_hoist as hn, _el as ht, _dynamic_tag_content as i, prepareEffects as in, _text as it, _attr_select_value as j, ParentBranch as jn, _for_selector as jt, _attr_input_value_dynamic_default as k, Global as kn, _el_read as kt, _if as l, runEffects as ln, _content as lt, installDynamicTagVar as m, forUntil as mn, setupBranch as mt, _await_promise as n, installCatch as nn, _style_rule_item as nt, _for_of as o, queueEffect as on, _to_text as ot, dynamicTagScript as p, forTo as pn, createBranch as pt, _attr_style_item as q, insertBranchBefore as qt, _dynamic_tag as r, placeholderShown as rn, _style_shell as rt, _for_to as s, queueRender as sn, insertChildNodes as st, _await_content as t, caughtError as tn, _lifecycle as tt, _show as u, runId as un, _content_closures as ut, _attr_details_or_dialog_open_default as v, withBranches as vn, _var_resume as vt, _attr_input_checked_default as w, Scope as wn, withLazy as wt, _attr_input_checkedValue as x, Params as xn, initEmbedded as xt, _attr_details_or_dialog_open_script as y, Clone as yn, getRegisteredWithScope as yt, controllableScripts as z, _or as zt };
|
package/dist/debug/dom.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_control_flow = require("./dom-
|
|
3
|
+
const require_control_flow = require("./dom-CBLlE8L-.js");
|
|
4
4
|
//#region src/common/attr-tag.ts
|
|
5
5
|
const empty = [];
|
|
6
6
|
const rest = Symbol("Attribute Tag");
|
|
@@ -383,7 +383,7 @@ exports._load_template = _load_template;
|
|
|
383
383
|
exports._load_visible_trigger = _load_visible_trigger;
|
|
384
384
|
exports._on = require_control_flow._on;
|
|
385
385
|
exports._or = require_control_flow._or;
|
|
386
|
-
exports.
|
|
386
|
+
exports._resume_dynamic_tag_var = require_control_flow._resume_dynamic_tag_var;
|
|
387
387
|
exports._resumed = require_control_flow._resumed;
|
|
388
388
|
exports._return = require_control_flow._return;
|
|
389
389
|
exports._return_change = require_control_flow._return_change;
|
package/dist/debug/dom.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as _attrs_script, $t as $
|
|
1
|
+
import { $ as _attrs_script, $t as $signal, A as _attr_input_value_script, An as Load, At as _for_closure, B as _attr, Bt as _return, C as _attr_input_checkedValue_script, Ct as readyFailed, D as _attr_input_value_attribute_default, Dn as EndNode, Dt as _closure_get, E as _attr_input_value, Et as _closure, F as _controllable_open, Fn as StartNode, Ft as _id, G as _attr_nonce, Gt as _assert_init, H as _attr_class_item, Ht as _script, I as _controllable_select, In as TagVariable, It as _if_closure, J as _attr_style_items, Jt as removeAndDestroyBranch, K as _attr_style, Kt as destroyBranch, L as _controllable_textarea, Lt as _let, M as _attr_select_value_default, Mt as _global_read, N as _attr_select_value_script, Nt as _hoist, O as _attr_input_value_default, Ot as _const, P as _controllable_input, Pt as _hoist_resume, Q as _attrs_partial_content, Qt as _on, Rt as _let_change, S as _attr_input_checkedValue_default, Sn as Setup, St as ready, T as _attr_input_checked_script, Tt as _child_setup, U as _attr_class_items, Ut as _var, V as _attr_class, Vt as _return_change, W as _attr_content, Wt as _var_change, X as _attrs_content, Y as _attrs, Yt as syncGen, Z as _attrs_partial, _ as _attr_details_or_dialog_open, _n as _call, _t as _resumed, a as _for_in, an as queueAsyncRender, at as _text_content, b as _attr_input_checked, bn as Owner, bt as init, c as _for_until, cn as run, ct as toInsertNode, d as _try, dn as forIn, dt as _content_resume, en as $signalReset, et as _html, f as addAwaitCounter, fn as forOf, ft as createAndSetupBranch, g as renderCatch, gn as _hoist_read_error, gt as _resume_dynamic_tag_var, h as patchDynamicTag, hn as _assert_hoist, ht as _el, i as _dynamic_tag_content, in as prepareEffects, it as _text, j as _attr_select_value, jt as _for_selector, k as _attr_input_value_dynamic_default, kn as Global, kt as _el_read, l as _if, ln as runEffects, lt as _content, mn as forUntil, mt as setupBranch, n as _await_promise, nt as _style_rule_item, o as _for_of, on as queueEffect, ot as _to_text, pn as forTo, pt as createBranch, q as _attr_style_item, qt as insertBranchBefore, r as _dynamic_tag, rt as _style_shell, s as _for_to, sn as queueRender, st as insertChildNodes, t as _await_content, tt as _lifecycle, u as _show, un as runId, ut as _content_closures, v as _attr_details_or_dialog_open_default, vt as _var_resume, w as _attr_input_checked_default, wt as withLazy, x as _attr_input_checkedValue, xn as Params, xt as initEmbedded, y as _attr_details_or_dialog_open_script, yn as Clone, yt as getRegisteredWithScope, zt as _or } from "./dom-DQCODUa1.mjs";
|
|
2
2
|
//#region src/common/attr-tag.ts
|
|
3
3
|
const empty = [];
|
|
4
4
|
const rest = Symbol("Attribute Tag");
|
|
@@ -290,4 +290,4 @@ function getSelectorOrResolve(selector, resolve) {
|
|
|
290
290
|
return document.querySelector(selector) || (console.warn(`A lazy load trigger could not find an element matching "${selector}". The module was loaded immediately.`), resolve());
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
|
-
export { $signal, $signalReset, _assert_hoist, _assert_init, _attr, _attr_class, _attr_class_item, _attr_class_items, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_details_or_dialog_open_default as _attr_details_open_default, _attr_details_or_dialog_open_default as _attr_dialog_open_default, _attr_details_or_dialog_open_script as _attr_details_open_script, _attr_details_or_dialog_open_script as _attr_dialog_open_script, _attr_input_checked, _attr_input_checkedValue, _attr_input_checkedValue_default, _attr_input_checkedValue_script, _attr_input_checked_default, _attr_input_checked_script, _attr_input_value, _attr_input_value as _attr_textarea_value, _attr_input_value_attribute_default, _attr_input_value_default, _attr_input_value_default as _attr_textarea_value_default, _attr_input_value_dynamic_default, _attr_input_value_script, _attr_input_value_script as _attr_textarea_value_script, _attr_nonce, _attr_select_value, _attr_select_value_default, _attr_select_value_script, _attr_style, _attr_style_item, _attr_style_items, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_script, _await_content, _await_promise, _call, _child_setup, _closure, _closure_get, _const, _content, _content_closures, _content_resume, _controllable_input, _controllable_open, _controllable_select, _controllable_textarea, _dynamic_tag, _dynamic_tag_content, _el, _el_read, _for_closure, _for_in, _for_of, _for_selector, _for_to, _for_until, _global_read, _hoist, _hoist_read_error, _hoist_resume, _html, _id, _if, _if_closure, _let, _let_change, _lifecycle, _load_event_trigger, _load_idle_trigger, _load_media_trigger, _load_race_trigger, _load_setup, _load_signal, _load_template, _load_visible_trigger, _on, _or,
|
|
293
|
+
export { $signal, $signalReset, _assert_hoist, _assert_init, _attr, _attr_class, _attr_class_item, _attr_class_items, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_details_or_dialog_open_default as _attr_details_open_default, _attr_details_or_dialog_open_default as _attr_dialog_open_default, _attr_details_or_dialog_open_script as _attr_details_open_script, _attr_details_or_dialog_open_script as _attr_dialog_open_script, _attr_input_checked, _attr_input_checkedValue, _attr_input_checkedValue_default, _attr_input_checkedValue_script, _attr_input_checked_default, _attr_input_checked_script, _attr_input_value, _attr_input_value as _attr_textarea_value, _attr_input_value_attribute_default, _attr_input_value_default, _attr_input_value_default as _attr_textarea_value_default, _attr_input_value_dynamic_default, _attr_input_value_script, _attr_input_value_script as _attr_textarea_value_script, _attr_nonce, _attr_select_value, _attr_select_value_default, _attr_select_value_script, _attr_style, _attr_style_item, _attr_style_items, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_script, _await_content, _await_promise, _call, _child_setup, _closure, _closure_get, _const, _content, _content_closures, _content_resume, _controllable_input, _controllable_open, _controllable_select, _controllable_textarea, _dynamic_tag, _dynamic_tag_content, _el, _el_read, _for_closure, _for_in, _for_of, _for_selector, _for_to, _for_until, _global_read, _hoist, _hoist_read_error, _hoist_resume, _html, _id, _if, _if_closure, _let, _let_change, _lifecycle, _load_event_trigger, _load_idle_trigger, _load_media_trigger, _load_race_trigger, _load_setup, _load_signal, _load_template, _load_visible_trigger, _on, _or, _resume_dynamic_tag_var, _resumed, _return, _return_change, _script, _show, _style_rule_item, _style_shell, _template, _text, _text_content, _to_text, _try, _var, _var_change, _var_resume, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, init, initEmbedded, ready, readyFailed, run };
|
package/dist/debug/html.js
CHANGED
|
@@ -3179,7 +3179,7 @@ let _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, s
|
|
|
3179
3179
|
if (shouldResume || needsScript) _html(state.mark("(", scopeId + " " + accessor + " " + branchId));
|
|
3180
3180
|
};
|
|
3181
3181
|
renderNative();
|
|
3182
|
-
result = _el(
|
|
3182
|
+
result = _el(scopeId, DYNAMIC_TAG_VAR_REGISTER_ID + accessor);
|
|
3183
3183
|
} else {
|
|
3184
3184
|
const chunk = getChunk();
|
|
3185
3185
|
const beforeBranch = shouldResume ? deferBranchStart(chunk) : void 0;
|
package/dist/debug/html.mjs
CHANGED
|
@@ -3177,7 +3177,7 @@ let _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, s
|
|
|
3177
3177
|
if (shouldResume || needsScript) _html(state.mark("(", scopeId + " " + accessor + " " + branchId));
|
|
3178
3178
|
};
|
|
3179
3179
|
renderNative();
|
|
3180
|
-
result = _el(
|
|
3180
|
+
result = _el(scopeId, DYNAMIC_TAG_VAR_REGISTER_ID + accessor);
|
|
3181
3181
|
} else {
|
|
3182
3182
|
const chunk = getChunk();
|
|
3183
3183
|
const beforeBranch = shouldResume ? deferBranchStart(chunk) : void 0;
|
package/dist/dom/catch.feat.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
let require_control_flow = require("../dom-
|
|
1
|
+
let require_control_flow = require("../dom-vuB05Hnj.js"), handlePendingTry = (fn, scope, branch) => {
|
|
2
2
|
for (; branch;) {
|
|
3
3
|
if (branch.O?.i) return (branch.J ||= []).push(fn, scope);
|
|
4
4
|
branch = branch.N;
|
|
5
5
|
}
|
|
6
6
|
};
|
|
7
7
|
//#region src/dom/catch.feat.ts
|
|
8
|
-
require_control_flow
|
|
9
|
-
if (checkPending || require_control_flow.
|
|
8
|
+
require_control_flow.en((runEffects) => (effects, checkPending = require_control_flow.tn.has(effects)) => {
|
|
9
|
+
if (checkPending || require_control_flow.$t.has(effects)) {
|
|
10
10
|
let i = 0, fn, scope, branch;
|
|
11
11
|
for (; i < effects.length;) fn = effects[i++], scope = effects[i++], (branch = scope.F)?.H !== 0 && !(checkPending && handlePendingTry(fn, scope, branch)) && fn(scope);
|
|
12
12
|
} else runEffects(effects);
|
package/dist/dom/catch.feat.mjs
CHANGED
|
@@ -4,7 +4,7 @@ let handlePendingTry = (fn, scope, branch) => {
|
|
|
4
4
|
branch = branch.N;
|
|
5
5
|
}
|
|
6
6
|
};
|
|
7
|
-
import { $t as
|
|
7
|
+
import { $t as caughtError, en as installCatch, g as renderCatch, tn as placeholderShown } from "../dom-z4IMlmeO.mjs";
|
|
8
8
|
//#region src/dom/catch.feat.ts
|
|
9
9
|
installCatch((runEffects) => (effects, checkPending = placeholderShown.has(effects)) => {
|
|
10
10
|
if (checkPending || caughtError.has(effects)) {
|
|
@@ -17,11 +17,9 @@ export declare let _dynamic_tag: (nodeAccessor: EncodedAccessor, getContent?: ((
|
|
|
17
17
|
export declare const _dynamic_tag_content: (nodeAccessor: EncodedAccessor) => Signal<Renderer | undefined>;
|
|
18
18
|
export declare let bindNativeTagVar: undefined | ((branch: Scope) => void);
|
|
19
19
|
export declare function installDynamicTagVar(bind: typeof bindNativeTagVar): void;
|
|
20
|
-
export declare
|
|
21
|
-
declare function dynamicTagScript(branch: Scope): void;
|
|
20
|
+
export declare function dynamicTagScript(branch: Scope): void;
|
|
22
21
|
export declare function setConditionalRenderer<T>(scope: Scope, nodeAccessor: Accessor, newRenderer: T, createBranch: ($global: Scope[typeof AccessorProp.Global], renderer: NonNullable<T>, parentScope: Scope, parentNode: ParentNode) => BranchScope): void;
|
|
23
22
|
export declare const _for_of: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [all: unknown[], by?: ((item: unknown, index: number) => unknown) | undefined]) => void;
|
|
24
23
|
export declare const _for_in: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [obj: {}, by?: ((key: string, v: unknown) => unknown) | undefined]) => void;
|
|
25
24
|
export declare const _for_to: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [to: number, from: number, step: number, by?: ((v: number) => unknown) | undefined]) => void;
|
|
26
25
|
export declare const _for_until: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [until: number, from: number, step: number, by?: ((v: number) => unknown) | undefined]) => void;
|
|
27
|
-
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
let require_control_flow = require("../dom-
|
|
1
|
+
let require_control_flow = require("../dom-vuB05Hnj.js");
|
|
2
2
|
require_control_flow.z[0] = require_control_flow.T, require_control_flow.z[1] = require_control_flow.C, require_control_flow.z[2] = require_control_flow.A;
|
|
3
3
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as _attr_input_value_script, C as _attr_input_checkedValue_script, T as _attr_input_checked_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { A as _attr_input_value_script, C as _attr_input_checkedValue_script, T as _attr_input_checked_script, z as controllableScripts } from "../dom-z4IMlmeO.mjs";
|
|
2
2
|
controllableScripts[0] = _attr_input_checked_script, controllableScripts[1] = _attr_input_checkedValue_script, controllableScripts[2] = _attr_input_value_script;
|
|
3
3
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as _attr_details_or_dialog_open_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { y as _attr_details_or_dialog_open_script, z as controllableScripts } from "../dom-z4IMlmeO.mjs";
|
|
2
2
|
//#region src/dom/controllable-open.feat.ts
|
|
3
3
|
controllableScripts[4] = _attr_details_or_dialog_open_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as _attr_select_value_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { N as _attr_select_value_script, z as controllableScripts } from "../dom-z4IMlmeO.mjs";
|
|
2
2
|
//#region src/dom/controllable-select.feat.ts
|
|
3
3
|
controllableScripts[3] = _attr_select_value_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _attr_input_value_script, z as controllableScripts } from "../dom-
|
|
1
|
+
import { A as _attr_input_value_script, z as controllableScripts } from "../dom-z4IMlmeO.mjs";
|
|
2
2
|
//#region src/dom/controllable-textarea.feat.ts
|
|
3
3
|
controllableScripts[2] = _attr_input_value_script;
|
|
4
4
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
let require_control_flow = require("../dom-
|
|
1
|
+
let require_control_flow = require("../dom-vuB05Hnj.js");
|
|
2
2
|
require("./controllable-input.feat.js"), require("./controllable-open.feat.js"), require("./controllable-select.feat.js"), require_control_flow.R.INPUT = require_control_flow.P, require_control_flow.R.TEXTAREA = require_control_flow.L, require_control_flow.R.SELECT = require_control_flow.I, require_control_flow.R.DETAILS = require_control_flow.R.DIALOG = require_control_flow.F;
|
|
3
3
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as _controllable_open, I as _controllable_select, L as _controllable_textarea, P as _controllable_input, R as controllableRenders } from "../dom-
|
|
1
|
+
import { F as _controllable_open, I as _controllable_select, L as _controllable_textarea, P as _controllable_input, R as controllableRenders } from "../dom-z4IMlmeO.mjs";
|
|
2
2
|
import "./controllable-input.feat.mjs";
|
|
3
3
|
import "./controllable-open.feat.mjs";
|
|
4
4
|
import "./controllable-select.feat.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
let require_control_flow = require("../dom-CzGPOsST.js"), elementGetter = require_control_flow.gt._e = (branch) => () => branch.S;
|
|
2
1
|
//#region src/dom/dynamic-tag-var.feat.ts
|
|
3
|
-
|
|
2
|
+
require("../dom-vuB05Hnj.js").m((branch) => branch.T(() => branch.S));
|
|
4
3
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { gt as _resumed, m as installDynamicTagVar } from "../dom-CzfddxCE.mjs";
|
|
1
|
+
import { m as installDynamicTagVar } from "../dom-z4IMlmeO.mjs";
|
|
3
2
|
//#region src/dom/dynamic-tag-var.feat.ts
|
|
4
|
-
installDynamicTagVar((branch) => branch.T(
|
|
3
|
+
installDynamicTagVar((branch) => branch.T(() => branch.S));
|
|
5
4
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
let require_control_flow = require("../dom-
|
|
1
|
+
let require_control_flow = require("../dom-vuB05Hnj.js");
|
|
2
2
|
//#region src/dom/placeholder.feat.ts
|
|
3
|
-
require_control_flow.
|
|
4
|
-
tryBranch.P &&= (require_control_flow.
|
|
3
|
+
require_control_flow._t._f = (tryBranch) => {
|
|
4
|
+
tryBranch.P &&= (require_control_flow.Kt(tryBranch.P), 0);
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Kt as destroyBranch, _t as _resumed } from "../dom-z4IMlmeO.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/resume.d.ts
CHANGED
|
@@ -33,4 +33,5 @@ export declare let isResuming: undefined | 0 | 1;
|
|
|
33
33
|
export declare function getRegisteredWithScope(id: string, scope?: Scope): unknown;
|
|
34
34
|
export declare function _var_resume<T extends Signal<unknown>>(id: string, signal: T): T;
|
|
35
35
|
export declare function _el(id: string, accessor: EncodedAccessor): (scope: Scope) => () => any;
|
|
36
|
+
export declare function _resume_dynamic_tag_var(accessor: EncodedAccessor): void;
|
|
36
37
|
export {};
|