marko 6.0.59 → 6.0.61
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.js +278 -296
- package/dist/debug/dom.mjs +278 -296
- package/dist/debug/html.js +219 -219
- package/dist/debug/html.mjs +169 -169
- package/dist/dom/abort-signal.d.ts +2 -2
- package/dist/dom/control-flow.d.ts +8 -8
- package/dist/dom/controllable.d.ts +11 -11
- package/dist/dom/dom.d.ts +17 -18
- package/dist/dom/event.d.ts +1 -1
- package/dist/dom/queue.d.ts +1 -1
- package/dist/dom/renderer.d.ts +4 -4
- package/dist/dom/resume.d.ts +3 -3
- package/dist/dom/signals.d.ts +14 -14
- package/dist/dom/template.d.ts +1 -1
- package/dist/dom.d.ts +10 -10
- package/dist/dom.js +254 -265
- package/dist/dom.mjs +254 -265
- package/dist/html/attrs.d.ts +14 -14
- package/dist/html/compat.d.ts +5 -5
- package/dist/html/content.d.ts +4 -4
- package/dist/html/dynamic-tag.d.ts +3 -3
- package/dist/html/template.d.ts +1 -1
- package/dist/html/writer.d.ts +26 -26
- package/dist/html.d.ts +5 -5
- package/dist/html.js +210 -210
- package/dist/html.mjs +160 -160
- package/dist/translator/index.js +501 -483
- package/dist/translator/util/runtime.d.ts +8 -8
- package/dist/translator/util/signals.d.ts +1 -1
- package/package.json +1 -1
package/dist/html.js
CHANGED
@@ -18,74 +18,74 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0
|
|
18
18
|
var html_exports = {};
|
19
19
|
__export(html_exports, {
|
20
20
|
$global: () => $global,
|
21
|
-
|
21
|
+
_attr: () => _attr,
|
22
|
+
_attr_class: () => _attr_class,
|
23
|
+
_attr_content: () => _attr_content,
|
24
|
+
_attr_details_open: () => _attr_details_or_dialog_open,
|
25
|
+
_attr_dialog_open: () => _attr_details_or_dialog_open,
|
26
|
+
_attr_input_checked: () => _attr_input_checked,
|
27
|
+
_attr_input_checkedValue: () => _attr_input_checkedValue,
|
28
|
+
_attr_input_value: () => _attr_input_value,
|
29
|
+
_attr_option_value: () => _attr_option_value,
|
30
|
+
_attr_select_value: () => _attr_select_value,
|
31
|
+
_attr_style: () => _attr_style,
|
32
|
+
_attr_textarea_value: () => _attr_textarea_value,
|
33
|
+
_attrs: () => _attrs,
|
34
|
+
_attrs_content: () => _attrs_content,
|
35
|
+
_attrs_partial: () => _attrs_partial,
|
36
|
+
_attrs_partial_content: () => _attrs_partial_content,
|
37
|
+
_await: () => _await,
|
38
|
+
_content: () => _content,
|
39
|
+
_content_resume: () => _content_resume,
|
40
|
+
_dynamic_tag: () => _dynamic_tag,
|
41
|
+
_el: () => _el,
|
42
|
+
_el_resume: () => _el_resume,
|
43
|
+
_escape: () => _escape,
|
44
|
+
_escape_script: () => _escape_script,
|
45
|
+
_escape_style: () => _escape_style,
|
46
|
+
_existing_scope: () => _existing_scope,
|
47
|
+
_for_in: () => _for_in,
|
48
|
+
_for_of: () => _for_of,
|
49
|
+
_for_to: () => _for_to,
|
50
|
+
_hoist: () => _hoist,
|
51
|
+
_html: () => _html,
|
52
|
+
_id: () => _id,
|
53
|
+
_if: () => _if,
|
54
|
+
_peek_scope_id: () => _peek_scope_id,
|
55
|
+
_resume: () => _resume,
|
56
|
+
_resume_branch: () => _resume_branch,
|
57
|
+
_scope: () => writeScope,
|
58
|
+
_scope_id: () => _scope_id,
|
59
|
+
_scope_with_id: () => _scope_with_id,
|
60
|
+
_script: () => _script,
|
61
|
+
_sep: () => _sep,
|
62
|
+
_serialize_guard: () => _serialize_guard,
|
63
|
+
_serialize_if: () => _serialize_if,
|
64
|
+
_subscribe: () => _subscribe,
|
65
|
+
_template: () => _template,
|
66
|
+
_trailers: () => _trailers,
|
67
|
+
_try: () => _try,
|
68
|
+
_unescaped: () => _unescaped,
|
69
|
+
_var: () => _var,
|
22
70
|
attrTag: () => attrTag,
|
23
71
|
attrTags: () => attrTags,
|
24
|
-
attrs: () => attrs,
|
25
|
-
classAttr: () => classAttr,
|
26
|
-
commentSeparator: () => commentSeparator,
|
27
72
|
compat: () => compat,
|
28
|
-
controllable_detailsOrDialog_open: () => controllable_detailsOrDialog_open,
|
29
|
-
controllable_input_checked: () => controllable_input_checked,
|
30
|
-
controllable_input_checkedValue: () => controllable_input_checkedValue,
|
31
|
-
controllable_input_value: () => controllable_input_value,
|
32
|
-
controllable_select_value: () => controllable_select_value,
|
33
|
-
controllable_textarea_value: () => controllable_textarea_value,
|
34
|
-
createContent: () => createContent,
|
35
|
-
createTemplate: () => createTemplate,
|
36
|
-
dynamicTag: () => dynamicTag,
|
37
|
-
ensureScopeWithId: () => ensureScopeWithId,
|
38
|
-
escapeScript: () => escapeScript,
|
39
|
-
escapeStyle: () => escapeStyle,
|
40
|
-
escapeXML: () => escapeXML,
|
41
73
|
forIn: () => forIn,
|
42
74
|
forInBy: () => forInBy,
|
43
75
|
forOf: () => forOf,
|
44
76
|
forOfBy: () => forOfBy,
|
45
77
|
forTo: () => forTo,
|
46
|
-
forToBy: () => forToBy
|
47
|
-
fork: () => fork,
|
48
|
-
getScopeById: () => getScopeById,
|
49
|
-
hoist: () => hoist,
|
50
|
-
markResumeNode: () => markResumeNode,
|
51
|
-
nextScopeId: () => nextScopeId,
|
52
|
-
nextTagId: () => nextTagId,
|
53
|
-
nodeRef: () => nodeRef,
|
54
|
-
optionValueAttr: () => optionValueAttr,
|
55
|
-
partialAttrs: () => partialAttrs,
|
56
|
-
peekNextScopeId: () => peekNextScopeId,
|
57
|
-
register: () => register2,
|
58
|
-
registerContent: () => registerContent,
|
59
|
-
resumeClosestBranch: () => resumeClosestBranch,
|
60
|
-
resumeConditional: () => resumeConditional,
|
61
|
-
resumeForIn: () => resumeForIn,
|
62
|
-
resumeForOf: () => resumeForOf,
|
63
|
-
resumeForTo: () => resumeForTo,
|
64
|
-
serializeGuard: () => serializeGuard,
|
65
|
-
serializeIf: () => serializeIf,
|
66
|
-
setTagVar: () => setTagVar,
|
67
|
-
styleAttr: () => styleAttr,
|
68
|
-
toString: () => toString,
|
69
|
-
tryContent: () => tryContent,
|
70
|
-
write: () => write,
|
71
|
-
writeAttrsAndContent: () => writeAttrsAndContent,
|
72
|
-
writeContent: () => writeContent,
|
73
|
-
writeEffect: () => writeEffect,
|
74
|
-
writeExistingScope: () => writeExistingScope,
|
75
|
-
writePartialAttrsAndContent: () => writePartialAttrsAndContent,
|
76
|
-
writeScope: () => writeScope,
|
77
|
-
writeSubscribe: () => writeSubscribe,
|
78
|
-
writeTrailers: () => writeTrailers
|
78
|
+
forToBy: () => forToBy
|
79
79
|
});
|
80
80
|
module.exports = __toCommonJS(html_exports);
|
81
81
|
|
82
82
|
// src/common/attr-tag.ts
|
83
83
|
var empty = [], rest = Symbol();
|
84
|
-
function attrTag(
|
85
|
-
return
|
84
|
+
function attrTag(attrs) {
|
85
|
+
return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
|
86
86
|
}
|
87
|
-
function attrTags(first,
|
88
|
-
return first ? (first[rest] === empty ? first[rest] = [
|
87
|
+
function attrTags(first, attrs) {
|
88
|
+
return first ? (first[rest] === empty ? first[rest] = [attrs] : first[rest].push(attrs), first) : attrTag(attrs);
|
89
89
|
}
|
90
90
|
function* attrTagIterator() {
|
91
91
|
yield this, yield* this[rest];
|
@@ -131,22 +131,22 @@ function normalizeDynamicRenderer(value) {
|
|
131
131
|
}
|
132
132
|
|
133
133
|
// src/html/content.ts
|
134
|
-
function
|
134
|
+
function _unescaped(val) {
|
135
135
|
return val ? val + "" : val === 0 ? "0" : "";
|
136
136
|
}
|
137
137
|
var unsafeXMLReg = /[<&]/g, replaceUnsafeXML = (c) => c === "&" ? "&" : "<", escapeXMLStr = (str) => unsafeXMLReg.test(str) ? str.replace(unsafeXMLReg, replaceUnsafeXML) : str;
|
138
|
-
function
|
138
|
+
function _escape(val) {
|
139
139
|
return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "‍";
|
140
140
|
}
|
141
141
|
function escapeTextAreaValue(val) {
|
142
142
|
return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "";
|
143
143
|
}
|
144
144
|
var unsafeScriptReg = /<\/script/g, escapeScriptStr = (str) => unsafeScriptReg.test(str) ? str.replace(unsafeScriptReg, "\\x3C/script") : str;
|
145
|
-
function
|
145
|
+
function _escape_script(val) {
|
146
146
|
return val ? escapeScriptStr(val + "") : val === 0 ? "0" : "";
|
147
147
|
}
|
148
148
|
var unsafeStyleReg = /<\/style/g, escapeStyleStr = (str) => unsafeStyleReg.test(str) ? str.replace(unsafeStyleReg, "\\3C/style") : str;
|
149
|
-
function
|
149
|
+
function _escape_style(val) {
|
150
150
|
return val ? escapeStyleStr(val + "") : val === 0 ? "0" : "";
|
151
151
|
}
|
152
152
|
|
@@ -565,7 +565,7 @@ function writeProp(state, val, parent, accessor) {
|
|
565
565
|
return !1;
|
566
566
|
}
|
567
567
|
}
|
568
|
-
function writeReferenceOr(state,
|
568
|
+
function writeReferenceOr(state, write, val, parent, accessor) {
|
569
569
|
let ref = state.refs.get(val);
|
570
570
|
if (ref)
|
571
571
|
return ref.init ? (addAssignment(ref, ensureId(state, parent) + toAccess(accessor)), !1) : isCircular(parent, ref) ? (ref.assigns || (ensureId(state, ref), state.assigned.add(ref)), addAssignment(ref, ensureId(state, parent) + toAccess(accessor)), !1) : (state.buf.push(ensureId(state, ref)), !0);
|
@@ -573,7 +573,7 @@ function writeReferenceOr(state, write2, val, parent, accessor) {
|
|
573
573
|
return registered ? writeRegistered(state, val, parent, accessor, registered) : (state.refs.set(
|
574
574
|
val,
|
575
575
|
ref = new Reference(parent, accessor, state.flush, state.buf.length)
|
576
|
-
),
|
576
|
+
), write(state, val, ref) ? !0 : (state.refs.delete(ref), !1));
|
577
577
|
}
|
578
578
|
function writeRegistered(state, val, parent, accessor, { access, scope, getter }) {
|
579
579
|
if (scope) {
|
@@ -1095,24 +1095,24 @@ function getState() {
|
|
1095
1095
|
function getScopeId(scope) {
|
1096
1096
|
return scope[K_SCOPE_ID];
|
1097
1097
|
}
|
1098
|
-
function
|
1098
|
+
function _html(html) {
|
1099
1099
|
$chunk.writeHTML(html);
|
1100
1100
|
}
|
1101
1101
|
function writeScript(script) {
|
1102
1102
|
$chunk.writeScript(script);
|
1103
1103
|
}
|
1104
|
-
function
|
1104
|
+
function _script(scopeId, registryId) {
|
1105
1105
|
$chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
|
1106
1106
|
}
|
1107
|
-
function
|
1108
|
-
let shouldResume = serializeReason !== 0, render2 = normalizeServerRender(content), branchId =
|
1109
|
-
render2 && (shouldResume ? withBranchId(branchId, render2) : render2()),
|
1107
|
+
function _attr_content(nodeAccessor, scopeId, content, serializeReason) {
|
1108
|
+
let shouldResume = serializeReason !== 0, render2 = normalizeServerRender(content), branchId = _peek_scope_id();
|
1109
|
+
render2 && (shouldResume ? withBranchId(branchId, render2) : render2()), _peek_scope_id() !== branchId ? shouldResume && writeScope(scopeId, {
|
1110
1110
|
["d" /* ConditionalScope */ + nodeAccessor]: writeScope(
|
1111
1111
|
branchId,
|
1112
1112
|
{}
|
1113
1113
|
),
|
1114
1114
|
["c" /* ConditionalRenderer */ + nodeAccessor]: render2?.h
|
1115
|
-
}) :
|
1115
|
+
}) : _scope_id();
|
1116
1116
|
}
|
1117
1117
|
function normalizeServerRender(value) {
|
1118
1118
|
let renderer = normalizeDynamicRenderer(value);
|
@@ -1129,55 +1129,55 @@ function withContext(key, value, cb) {
|
|
1129
1129
|
ctx[kPendingContexts]--, ctx[key] = prev;
|
1130
1130
|
}
|
1131
1131
|
}
|
1132
|
-
function
|
1133
|
-
|
1132
|
+
function _var(parentScopeId, scopeOffsetAccessor, childScopeId, registryId) {
|
1133
|
+
_scope_with_id(parentScopeId)[scopeOffsetAccessor] = _scope_id(), _scope_with_id(childScopeId).e = _resume(
|
1134
1134
|
{},
|
1135
1135
|
registryId,
|
1136
1136
|
parentScopeId
|
1137
1137
|
);
|
1138
1138
|
}
|
1139
|
-
function
|
1140
|
-
return scopeId === void 0 ? register(id, val) : register(id, val,
|
1139
|
+
function _resume(val, id, scopeId) {
|
1140
|
+
return scopeId === void 0 ? register(id, val) : register(id, val, _scope_with_id(scopeId));
|
1141
1141
|
}
|
1142
|
-
function
|
1142
|
+
function _id() {
|
1143
1143
|
let state = $chunk.boundary.state, { $global: $global2 } = state;
|
1144
1144
|
return "s" + $global2.runtimeId + $global2.renderId + (state.tagId++).toString(36);
|
1145
1145
|
}
|
1146
|
-
function
|
1146
|
+
function _scope_id() {
|
1147
1147
|
return $chunk.boundary.state.scopeId++;
|
1148
1148
|
}
|
1149
|
-
function
|
1149
|
+
function _peek_scope_id() {
|
1150
1150
|
return $chunk.boundary.state.scopeId;
|
1151
1151
|
}
|
1152
1152
|
function getScopeById(scopeId) {
|
1153
1153
|
if (scopeId !== void 0)
|
1154
1154
|
return $chunk.boundary.state.scopes.get(scopeId);
|
1155
1155
|
}
|
1156
|
-
function
|
1156
|
+
function _serialize_if(condition, key) {
|
1157
1157
|
return condition && (condition === 1 || condition[key]) ? 1 : void 0;
|
1158
1158
|
}
|
1159
|
-
function
|
1159
|
+
function _serialize_guard(condition, key) {
|
1160
1160
|
return condition && (condition === 1 || condition[key]) ? 1 : 0;
|
1161
1161
|
}
|
1162
|
-
function
|
1162
|
+
function _el_resume(scopeId, accessor, shouldResume) {
|
1163
1163
|
if (shouldResume === 0) return "";
|
1164
1164
|
let { state } = $chunk.boundary;
|
1165
1165
|
return state.needsMainRuntime = !0, state.mark("*" /* Node */, scopeId + " " + accessor);
|
1166
1166
|
}
|
1167
|
-
function
|
1167
|
+
function _sep(shouldResume) {
|
1168
1168
|
return shouldResume === 0 ? "" : "<!>";
|
1169
1169
|
}
|
1170
|
-
function
|
1170
|
+
function _el(scopeId, id) {
|
1171
1171
|
let getter = () => {
|
1172
1172
|
};
|
1173
|
-
return id ?
|
1173
|
+
return id ? _resume(getter, id, scopeId) : getter;
|
1174
1174
|
}
|
1175
|
-
function
|
1175
|
+
function _hoist(scopeId, id) {
|
1176
1176
|
let getter = () => {
|
1177
1177
|
};
|
1178
|
-
return getter[Symbol.iterator] = getter, id ?
|
1178
|
+
return getter[Symbol.iterator] = getter, id ? _resume(getter, id, scopeId) : getter;
|
1179
1179
|
}
|
1180
|
-
function
|
1180
|
+
function _resume_branch(scopeId) {
|
1181
1181
|
let branchId = $chunk.context?.[branchIdKey];
|
1182
1182
|
branchId !== void 0 && branchId !== scopeId && writeScope(scopeId, { g: branchId });
|
1183
1183
|
}
|
@@ -1188,12 +1188,12 @@ function isInResumedBranch() {
|
|
1188
1188
|
function withBranchId(branchId, cb) {
|
1189
1189
|
return withContext(branchIdKey, branchId, cb);
|
1190
1190
|
}
|
1191
|
-
function
|
1191
|
+
function _for_of(list, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1192
1192
|
let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
|
1193
1193
|
if (resumeBranch) {
|
1194
1194
|
let loopScopes = /* @__PURE__ */ new Map();
|
1195
1195
|
forOf(list, (item, index) => {
|
1196
|
-
let branchId =
|
1196
|
+
let branchId = _peek_scope_id();
|
1197
1197
|
resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : $chunk.writeHTML(
|
1198
1198
|
state.mark("[" /* BranchStart */, branchId + (index ? " " : ""))
|
1199
1199
|
)), withBranchId(branchId, () => {
|
@@ -1215,12 +1215,12 @@ function resumeForOf(list, cb, by, scopeId, accessor, serializeBranch, serialize
|
|
1215
1215
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1216
1216
|
);
|
1217
1217
|
}
|
1218
|
-
function
|
1218
|
+
function _for_in(obj, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1219
1219
|
let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
|
1220
1220
|
if (resumeBranch) {
|
1221
1221
|
let loopScopes = /* @__PURE__ */ new Map(), sep = "";
|
1222
1222
|
forIn(obj, (key, value) => {
|
1223
|
-
let branchId =
|
1223
|
+
let branchId = _peek_scope_id();
|
1224
1224
|
resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : ($chunk.writeHTML(
|
1225
1225
|
state.mark("[" /* BranchStart */, branchId + sep)
|
1226
1226
|
), sep = " ")), withBranchId(branchId, () => {
|
@@ -1242,12 +1242,12 @@ function resumeForIn(obj, cb, by, scopeId, accessor, serializeBranch, serializeM
|
|
1242
1242
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1243
1243
|
);
|
1244
1244
|
}
|
1245
|
-
function
|
1245
|
+
function _for_to(to, from, step, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1246
1246
|
let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
|
1247
1247
|
if (resumeBranch) {
|
1248
1248
|
let loopScopes = /* @__PURE__ */ new Map(), sep = "";
|
1249
1249
|
forTo(to, from, step, (i) => {
|
1250
|
-
let branchId =
|
1250
|
+
let branchId = _peek_scope_id();
|
1251
1251
|
resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : ($chunk.writeHTML(
|
1252
1252
|
state.mark("[" /* BranchStart */, branchId + sep)
|
1253
1253
|
), sep = " ")), withBranchId(branchId, () => {
|
@@ -1269,8 +1269,8 @@ function resumeForTo(to, from, step, cb, by, scopeId, accessor, serializeBranch,
|
|
1269
1269
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1270
1270
|
);
|
1271
1271
|
}
|
1272
|
-
function
|
1273
|
-
let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, branchId =
|
1272
|
+
function _if(cb, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1273
|
+
let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, branchId = _peek_scope_id();
|
1274
1274
|
resumeMarker && resumeBranch && !singleNode && $chunk.writeHTML(state.mark("[" /* BranchStart */, branchId + ""));
|
1275
1275
|
let branchIndex = resumeBranch ? withBranchId(branchId, cb) : cb(), shouldWriteBranch = resumeBranch && branchIndex !== void 0;
|
1276
1276
|
shouldWriteBranch && writeScope(scopeId, {
|
@@ -1289,28 +1289,28 @@ function resumeConditional(cb, scopeId, accessor, serializeBranch, serializeMark
|
|
1289
1289
|
}
|
1290
1290
|
function writeBranchEnd(scopeId, accessor, resumeMarker, parentEndTag, mark) {
|
1291
1291
|
let endTag = parentEndTag || "";
|
1292
|
-
resumeMarker ? mark ? $chunk.writeHTML(mark + endTag) : $chunk.writeHTML(endTag +
|
1292
|
+
resumeMarker ? mark ? $chunk.writeHTML(mark + endTag) : $chunk.writeHTML(endTag + _el_resume(scopeId, accessor)) : $chunk.writeHTML(endTag);
|
1293
1293
|
}
|
1294
1294
|
var writeScope = (scopeId, partialScope) => writeScopeToState($chunk.boundary.state, scopeId, partialScope);
|
1295
1295
|
function writeScopeToState(state, scopeId, partialScope) {
|
1296
1296
|
let { scopes } = state, scope = scopes.get(scopeId);
|
1297
1297
|
return state.needsMainRuntime = !0, scope ? Object.assign(scope, partialScope) : (scope = partialScope, scope[K_SCOPE_ID] = scopeId, state.scopes.set(scopeId, scope)), state.writeScopes ? state.writeScopes[scopeId] = scope : state.writeScopes = { [scopeId]: scope }, scope;
|
1298
1298
|
}
|
1299
|
-
function
|
1300
|
-
return writeScope(scopeId,
|
1299
|
+
function _existing_scope(scopeId) {
|
1300
|
+
return writeScope(scopeId, _scope_with_id(scopeId));
|
1301
1301
|
}
|
1302
|
-
function
|
1302
|
+
function _scope_with_id(scopeId) {
|
1303
1303
|
let { state } = $chunk.boundary, scope = state.scopes.get(scopeId);
|
1304
1304
|
return scope || (scope = { [K_SCOPE_ID]: scopeId }, state.scopes.set(scopeId, scope)), scope;
|
1305
1305
|
}
|
1306
1306
|
function $global() {
|
1307
1307
|
return $chunk.boundary.state.$global;
|
1308
1308
|
}
|
1309
|
-
function
|
1309
|
+
function _await(scopeId, accessor, promise, content, serializeMarker) {
|
1310
1310
|
let resumeMarker = serializeMarker !== 0;
|
1311
1311
|
if (!isPromise(promise)) {
|
1312
1312
|
if (resumeMarker) {
|
1313
|
-
let branchId =
|
1313
|
+
let branchId = _peek_scope_id();
|
1314
1314
|
$chunk.writeHTML(
|
1315
1315
|
$chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
|
1316
1316
|
), content(promise), writeScope(scopeId, {
|
@@ -1330,7 +1330,7 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
1330
1330
|
(value) => {
|
1331
1331
|
chunk.async && (chunk.async = !1, boundary.signal.aborted || (chunk.render(() => {
|
1332
1332
|
if (resumeMarker) {
|
1333
|
-
let branchId =
|
1333
|
+
let branchId = _peek_scope_id();
|
1334
1334
|
$chunk.writeHTML(
|
1335
1335
|
$chunk.boundary.state.mark(
|
1336
1336
|
"[" /* BranchStart */,
|
@@ -1338,7 +1338,7 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
1338
1338
|
)
|
1339
1339
|
), content(value), boundary.state.serializer.writeAssign(
|
1340
1340
|
writeScope(branchId, {}),
|
1341
|
-
|
1341
|
+
_scope_with_id(scopeId),
|
1342
1342
|
"d" /* ConditionalScope */ + accessor
|
1343
1343
|
), $chunk.writeHTML(
|
1344
1344
|
$chunk.boundary.state.mark(
|
@@ -1355,8 +1355,8 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
1355
1355
|
}
|
1356
1356
|
);
|
1357
1357
|
}
|
1358
|
-
function
|
1359
|
-
let branchId =
|
1358
|
+
function _try(scopeId, accessor, content, input) {
|
1359
|
+
let branchId = _peek_scope_id();
|
1360
1360
|
$chunk.writeHTML(
|
1361
1361
|
$chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
|
1362
1362
|
);
|
@@ -1607,7 +1607,7 @@ function flushSerializer(boundary) {
|
|
1607
1607
|
), state.lastSerializedScopeId = lastSerializedScopeId, state.writeScopes = null, flushed && (state.walkOnNextFlush = !0);
|
1608
1608
|
}
|
1609
1609
|
}
|
1610
|
-
function
|
1610
|
+
function _trailers(html) {
|
1611
1611
|
$chunk.boundary.state.trailerHTML += html;
|
1612
1612
|
}
|
1613
1613
|
function concatEffects(a, b) {
|
@@ -1650,23 +1650,23 @@ function getFilteredGlobals($global2) {
|
|
1650
1650
|
}
|
1651
1651
|
return filtered;
|
1652
1652
|
}
|
1653
|
-
function
|
1653
|
+
function _subscribe(subscribers, scope) {
|
1654
1654
|
return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), scope;
|
1655
1655
|
}
|
1656
1656
|
|
1657
1657
|
// src/html/attrs.ts
|
1658
|
-
function
|
1658
|
+
function _attr_class(value) {
|
1659
1659
|
return stringAttr("class", classValue(value));
|
1660
1660
|
}
|
1661
|
-
function
|
1661
|
+
function _attr_style(value) {
|
1662
1662
|
return stringAttr("style", styleValue(value));
|
1663
1663
|
}
|
1664
|
-
function
|
1664
|
+
function _attr_option_value(value) {
|
1665
1665
|
let selectedValue = getContext(kSelectedValue);
|
1666
|
-
return
|
1666
|
+
return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
|
1667
1667
|
}
|
1668
1668
|
var kSelectedValue = Symbol("selectedValue");
|
1669
|
-
function
|
1669
|
+
function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
|
1670
1670
|
valueChange && writeControlledScope(
|
1671
1671
|
3 /* SelectValue */,
|
1672
1672
|
scopeId,
|
@@ -1675,7 +1675,7 @@ function controllable_select_value(scopeId, nodeAccessor, value, valueChange, co
|
|
1675
1675
|
valueChange
|
1676
1676
|
), content && withContext(kSelectedValue, value, content);
|
1677
1677
|
}
|
1678
|
-
function
|
1678
|
+
function _attr_textarea_value(scopeId, nodeAccessor, value, valueChange) {
|
1679
1679
|
return valueChange && writeControlledScope(
|
1680
1680
|
2 /* InputValue */,
|
1681
1681
|
scopeId,
|
@@ -1684,26 +1684,26 @@ function controllable_textarea_value(scopeId, nodeAccessor, value, valueChange)
|
|
1684
1684
|
valueChange
|
1685
1685
|
), escapeTextAreaValue(value);
|
1686
1686
|
}
|
1687
|
-
function
|
1687
|
+
function _attr_input_value(scopeId, nodeAccessor, value, valueChange) {
|
1688
1688
|
return valueChange && writeControlledScope(
|
1689
1689
|
2 /* InputValue */,
|
1690
1690
|
scopeId,
|
1691
1691
|
nodeAccessor,
|
1692
1692
|
void 0,
|
1693
1693
|
valueChange
|
1694
|
-
),
|
1694
|
+
), _attr("value", value);
|
1695
1695
|
}
|
1696
|
-
function
|
1696
|
+
function _attr_input_checked(scopeId, nodeAccessor, checked, checkedChange) {
|
1697
1697
|
return checkedChange && writeControlledScope(
|
1698
1698
|
0 /* InputChecked */,
|
1699
1699
|
scopeId,
|
1700
1700
|
nodeAccessor,
|
1701
1701
|
void 0,
|
1702
1702
|
checkedChange
|
1703
|
-
),
|
1703
|
+
), _attr("checked", checked);
|
1704
1704
|
}
|
1705
|
-
function
|
1706
|
-
let multiple = Array.isArray(checkedValue), valueAttr =
|
1705
|
+
function _attr_input_checkedValue(scopeId, nodeAccessor, checkedValue, checkedValueChange, value) {
|
1706
|
+
let multiple = Array.isArray(checkedValue), valueAttr = _attr("value", value);
|
1707
1707
|
return checkedValueChange && writeControlledScope(
|
1708
1708
|
1 /* InputCheckedValue */,
|
1709
1709
|
scopeId,
|
@@ -1712,31 +1712,31 @@ function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, ch
|
|
1712
1712
|
checkedValueChange
|
1713
1713
|
), (multiple ? checkedValue.includes(value) : checkedValue === value) ? valueAttr + " checked" : valueAttr;
|
1714
1714
|
}
|
1715
|
-
function
|
1715
|
+
function _attr_details_or_dialog_open(scopeId, nodeAccessor, open, openChange) {
|
1716
1716
|
return openChange && writeControlledScope(
|
1717
1717
|
4 /* DetailsOrDialogOpen */,
|
1718
1718
|
scopeId,
|
1719
1719
|
nodeAccessor,
|
1720
1720
|
open,
|
1721
1721
|
openChange
|
1722
|
-
),
|
1722
|
+
), _attr("open", open);
|
1723
1723
|
}
|
1724
|
-
function
|
1724
|
+
function _attr(name, value) {
|
1725
1725
|
return isVoid(value) ? "" : nonVoidAttr(name, value);
|
1726
1726
|
}
|
1727
|
-
function
|
1727
|
+
function _attrs(data, nodeAccessor, scopeId, tagName) {
|
1728
1728
|
let result = "", skip = /[\s/>"'=]/, events;
|
1729
1729
|
switch (tagName) {
|
1730
1730
|
case "input":
|
1731
1731
|
if (data.checkedChange)
|
1732
|
-
result +=
|
1732
|
+
result += _attr_input_checked(
|
1733
1733
|
scopeId,
|
1734
1734
|
nodeAccessor,
|
1735
1735
|
data.checked,
|
1736
1736
|
data.checkedChange
|
1737
1737
|
);
|
1738
1738
|
else if (data.checkedValue || data.checkedValueChange)
|
1739
|
-
result +=
|
1739
|
+
result += _attr_input_checkedValue(
|
1740
1740
|
scopeId,
|
1741
1741
|
nodeAccessor,
|
1742
1742
|
data.checkedValue,
|
@@ -1744,7 +1744,7 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
1744
1744
|
data.value
|
1745
1745
|
);
|
1746
1746
|
else if (data.valueChange)
|
1747
|
-
result +=
|
1747
|
+
result += _attr_input_value(
|
1748
1748
|
scopeId,
|
1749
1749
|
nodeAccessor,
|
1750
1750
|
data.value,
|
@@ -1759,11 +1759,11 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
1759
1759
|
(data.value || data.valueChange) && (skip = /^value(?:Change)?$|[\s/>"'=]/);
|
1760
1760
|
break;
|
1761
1761
|
case "option":
|
1762
|
-
data.value && (result +=
|
1762
|
+
data.value && (result += _attr_option_value(data.value), skip = /^value$|[\s/>"'=]/);
|
1763
1763
|
break;
|
1764
1764
|
case "details":
|
1765
1765
|
case "dialog":
|
1766
|
-
data.openChange && (result +=
|
1766
|
+
data.openChange && (result += _attr_details_or_dialog_open(
|
1767
1767
|
scopeId,
|
1768
1768
|
nodeAccessor,
|
1769
1769
|
data.open,
|
@@ -1775,10 +1775,10 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
1775
1775
|
let value = data[name];
|
1776
1776
|
switch (name) {
|
1777
1777
|
case "class":
|
1778
|
-
result +=
|
1778
|
+
result += _attr_class(value);
|
1779
1779
|
break;
|
1780
1780
|
case "style":
|
1781
|
-
result +=
|
1781
|
+
result += _attr_style(value);
|
1782
1782
|
break;
|
1783
1783
|
default:
|
1784
1784
|
name && !(isVoid(value) || skip.test(name) || name === "content" && tagName !== "meta") && (isEventHandler(name) ? (events || (events = {}, writeScope(scopeId, {
|
@@ -1789,17 +1789,17 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
1789
1789
|
}
|
1790
1790
|
return result;
|
1791
1791
|
}
|
1792
|
-
function
|
1793
|
-
|
1792
|
+
function _attrs_content(data, nodeAccessor, scopeId, tagName, serializeReason) {
|
1793
|
+
_html(`${_attrs(data, nodeAccessor, scopeId, tagName)}>`), _attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
|
1794
1794
|
}
|
1795
|
-
function
|
1795
|
+
function _attrs_partial(data, skip, nodeAccessor, scopeId, tagName) {
|
1796
1796
|
let partial = {};
|
1797
1797
|
for (let key in data)
|
1798
1798
|
skip[key] || (partial[key] = data[key]);
|
1799
|
-
return
|
1799
|
+
return _attrs(partial, nodeAccessor, scopeId, tagName);
|
1800
1800
|
}
|
1801
|
-
function
|
1802
|
-
|
1801
|
+
function _attrs_partial_content(data, skip, nodeAccessor, scopeId, tagName, serializeReason) {
|
1802
|
+
_html(`${_attrs_partial(data, skip, nodeAccessor, scopeId, tagName)}>`), _attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
|
1803
1803
|
}
|
1804
1804
|
function writeControlledScope(type, scopeId, nodeAccessor, value, valueChange) {
|
1805
1805
|
writeScope(scopeId, {
|
@@ -1853,7 +1853,7 @@ function replaceUnsafeDoubleQuoteAttrChar(match) {
|
|
1853
1853
|
var RENDERER_REGISTER_ID = "$C_r", SET_SCOPE_REGISTER_ID = "$C_s", RENDER_BODY_ID = "$C_b";
|
1854
1854
|
|
1855
1855
|
// src/html/template.ts
|
1856
|
-
var
|
1856
|
+
var _template = (templateId, renderer) => (renderer.render = render, renderer._ = renderer, _content_resume(templateId, renderer));
|
1857
1857
|
function isTemplate(renderer) {
|
1858
1858
|
return !!renderer._;
|
1859
1859
|
}
|
@@ -1971,12 +1971,12 @@ var ServerRendered = class {
|
|
1971
1971
|
onAbort(new Error("Cannot read from a consumed render result"));
|
1972
1972
|
return;
|
1973
1973
|
}
|
1974
|
-
let { boundary } = head, onNext = boundary.onNext = (
|
1974
|
+
let { boundary } = head, onNext = boundary.onNext = (write) => {
|
1975
1975
|
if (boundary.signal.aborted)
|
1976
1976
|
tick2 || offTick(onNext), boundary.onNext = NOOP2, onAbort(boundary.signal.reason);
|
1977
1977
|
else {
|
1978
1978
|
let { done } = boundary;
|
1979
|
-
if (done ||
|
1979
|
+
if (done || write) {
|
1980
1980
|
let html = (head = head.consume()).flushHTML();
|
1981
1981
|
html && onWrite(html), done ? (tick2 || offTick(onNext), onClose()) : tick2 = !0;
|
1982
1982
|
} else tick2 && (tick2 = !1, queueTick(onNext));
|
@@ -1998,17 +1998,17 @@ function NOOP2() {
|
|
1998
1998
|
}
|
1999
1999
|
|
2000
2000
|
// src/html/dynamic-tag.ts
|
2001
|
-
var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/,
|
2002
|
-
let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId =
|
2001
|
+
var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/, _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
|
2002
|
+
let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId = _peek_scope_id(), result;
|
2003
2003
|
if (typeof renderer == "string") {
|
2004
2004
|
let input = (inputIsArgs ? inputOrArgs[0] : inputOrArgs) || {};
|
2005
|
-
if (
|
2006
|
-
`<${renderer}${
|
2005
|
+
if (_scope_id(), _html(
|
2006
|
+
`<${renderer}${_attrs(input, 0, branchId, renderer)}>`
|
2007
2007
|
), !voidElementsReg.test(renderer)) {
|
2008
2008
|
let renderContent = content || normalizeDynamicRenderer(input.content);
|
2009
2009
|
if (renderer === "textarea")
|
2010
|
-
|
2011
|
-
|
2010
|
+
_html(
|
2011
|
+
_attr_textarea_value(
|
2012
2012
|
branchId,
|
2013
2013
|
0,
|
2014
2014
|
input.value,
|
@@ -2020,13 +2020,13 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
|
|
2020
2020
|
throw new Error(
|
2021
2021
|
`Body content is not supported for the \`<${renderer}>\` tag.`
|
2022
2022
|
);
|
2023
|
-
renderer === "select" && ("value" in input || "valueChange" in input) ?
|
2023
|
+
renderer === "select" && ("value" in input || "valueChange" in input) ? _attr_select_value(
|
2024
2024
|
branchId,
|
2025
2025
|
0,
|
2026
2026
|
input.value,
|
2027
2027
|
input.valueChange,
|
2028
2028
|
renderContent
|
2029
|
-
) :
|
2029
|
+
) : _dynamic_tag(
|
2030
2030
|
branchId,
|
2031
2031
|
0,
|
2032
2032
|
renderContent,
|
@@ -2036,16 +2036,16 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
|
|
2036
2036
|
serializeReason
|
2037
2037
|
);
|
2038
2038
|
}
|
2039
|
-
|
2039
|
+
_html(`</${renderer}>`);
|
2040
2040
|
}
|
2041
|
-
shouldResume &&
|
2041
|
+
shouldResume && _html(
|
2042
2042
|
state.mark(
|
2043
2043
|
"'" /* BranchNativeTag */,
|
2044
2044
|
scopeId + " " + accessor + " " + branchId
|
2045
2045
|
)
|
2046
2046
|
);
|
2047
2047
|
} else {
|
2048
|
-
shouldResume &&
|
2048
|
+
shouldResume && _html(state.mark("[" /* BranchStart */, branchId + ""));
|
2049
2049
|
let render2 = () => {
|
2050
2050
|
if (renderer) {
|
2051
2051
|
if (isTemplate(renderer)) {
|
@@ -2061,21 +2061,21 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
|
|
2061
2061
|
} else if (content)
|
2062
2062
|
return content();
|
2063
2063
|
};
|
2064
|
-
result = shouldResume ? withBranchId(branchId, render2) : render2(), shouldResume &&
|
2064
|
+
result = shouldResume ? withBranchId(branchId, render2) : render2(), shouldResume && _html(state.mark("]" /* BranchEnd */, scopeId + " " + accessor));
|
2065
2065
|
}
|
2066
|
-
return
|
2066
|
+
return _peek_scope_id() !== branchId ? shouldResume && writeScope(scopeId, {
|
2067
2067
|
["d" /* ConditionalScope */ + accessor]: writeScope(branchId, {}),
|
2068
2068
|
["c" /* ConditionalRenderer */ + accessor]: renderer?.h || renderer
|
2069
|
-
}) :
|
2069
|
+
}) : _scope_id(), result;
|
2070
2070
|
};
|
2071
|
-
function
|
2071
|
+
function _content(id, fn) {
|
2072
2072
|
return fn.h = id, fn;
|
2073
2073
|
}
|
2074
|
-
function
|
2075
|
-
return
|
2074
|
+
function _content_resume(id, fn, scopeId) {
|
2075
|
+
return _resume(_content(id, fn), id, scopeId);
|
2076
2076
|
}
|
2077
2077
|
function patchDynamicTag(patch) {
|
2078
|
-
|
2078
|
+
_dynamic_tag = /* @__PURE__ */ ((originalDynamicTag) => (scopeId, accessor, tag, input, content, inputIsArgs, resume) => {
|
2079
2079
|
let patched = patch(scopeId, accessor, tag);
|
2080
2080
|
return patched !== tag && (patched.h = tag), originalDynamicTag(
|
2081
2081
|
scopeId,
|
@@ -2086,17 +2086,17 @@ function patchDynamicTag(patch) {
|
|
2086
2086
|
inputIsArgs,
|
2087
2087
|
resume
|
2088
2088
|
);
|
2089
|
-
})(
|
2089
|
+
})(_dynamic_tag);
|
2090
2090
|
}
|
2091
2091
|
|
2092
2092
|
// src/html/compat.ts
|
2093
2093
|
var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
|
2094
2094
|
$global,
|
2095
|
-
fork,
|
2096
|
-
write,
|
2095
|
+
fork: _await,
|
2096
|
+
write: _html,
|
2097
2097
|
writeScript,
|
2098
|
-
nextScopeId,
|
2099
|
-
peekNextScopeId,
|
2098
|
+
nextScopeId: _scope_id,
|
2099
|
+
peekNextScopeId: _peek_scope_id,
|
2100
2100
|
isInResumedBranch,
|
2101
2101
|
ensureState($global2) {
|
2102
2102
|
let state = $global2[K_TAGS_API_STATE] ||= getChunk()?.boundary.state;
|
@@ -2113,7 +2113,7 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
|
|
2113
2113
|
},
|
2114
2114
|
patchDynamicTag,
|
2115
2115
|
writeSetScopeForComponent(branchId, m5c) {
|
2116
|
-
writeScope(branchId, { m5c }),
|
2116
|
+
writeScope(branchId, { m5c }), _script(branchId, SET_SCOPE_REGISTER_ID);
|
2117
2117
|
},
|
2118
2118
|
toJSON(state) {
|
2119
2119
|
return function() {
|
@@ -2152,8 +2152,8 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
|
|
2152
2152
|
}
|
2153
2153
|
head.render(() => {
|
2154
2154
|
if (willRerender) {
|
2155
|
-
let scopeId =
|
2156
|
-
writeScope(scopeId, { m5c: component.id }),
|
2155
|
+
let scopeId = _peek_scope_id();
|
2156
|
+
writeScope(scopeId, { m5c: component.id }), _script(scopeId, SET_SCOPE_REGISTER_ID);
|
2157
2157
|
}
|
2158
2158
|
isTemplate(renderer) && willRerender ? renderer(normalizedInput, 1) : renderer(normalizedInput);
|
2159
2159
|
let asyncOut = classAPIOut.beginAsync();
|
@@ -2179,62 +2179,62 @@ function NOOP3() {
|
|
2179
2179
|
// Annotate the CommonJS export names for ESM import in node:
|
2180
2180
|
0 && (module.exports = {
|
2181
2181
|
$global,
|
2182
|
-
|
2182
|
+
_attr,
|
2183
|
+
_attr_class,
|
2184
|
+
_attr_content,
|
2185
|
+
_attr_details_open,
|
2186
|
+
_attr_dialog_open,
|
2187
|
+
_attr_input_checked,
|
2188
|
+
_attr_input_checkedValue,
|
2189
|
+
_attr_input_value,
|
2190
|
+
_attr_option_value,
|
2191
|
+
_attr_select_value,
|
2192
|
+
_attr_style,
|
2193
|
+
_attr_textarea_value,
|
2194
|
+
_attrs,
|
2195
|
+
_attrs_content,
|
2196
|
+
_attrs_partial,
|
2197
|
+
_attrs_partial_content,
|
2198
|
+
_await,
|
2199
|
+
_content,
|
2200
|
+
_content_resume,
|
2201
|
+
_dynamic_tag,
|
2202
|
+
_el,
|
2203
|
+
_el_resume,
|
2204
|
+
_escape,
|
2205
|
+
_escape_script,
|
2206
|
+
_escape_style,
|
2207
|
+
_existing_scope,
|
2208
|
+
_for_in,
|
2209
|
+
_for_of,
|
2210
|
+
_for_to,
|
2211
|
+
_hoist,
|
2212
|
+
_html,
|
2213
|
+
_id,
|
2214
|
+
_if,
|
2215
|
+
_peek_scope_id,
|
2216
|
+
_resume,
|
2217
|
+
_resume_branch,
|
2218
|
+
_scope,
|
2219
|
+
_scope_id,
|
2220
|
+
_scope_with_id,
|
2221
|
+
_script,
|
2222
|
+
_sep,
|
2223
|
+
_serialize_guard,
|
2224
|
+
_serialize_if,
|
2225
|
+
_subscribe,
|
2226
|
+
_template,
|
2227
|
+
_trailers,
|
2228
|
+
_try,
|
2229
|
+
_unescaped,
|
2230
|
+
_var,
|
2183
2231
|
attrTag,
|
2184
2232
|
attrTags,
|
2185
|
-
attrs,
|
2186
|
-
classAttr,
|
2187
|
-
commentSeparator,
|
2188
2233
|
compat,
|
2189
|
-
controllable_detailsOrDialog_open,
|
2190
|
-
controllable_input_checked,
|
2191
|
-
controllable_input_checkedValue,
|
2192
|
-
controllable_input_value,
|
2193
|
-
controllable_select_value,
|
2194
|
-
controllable_textarea_value,
|
2195
|
-
createContent,
|
2196
|
-
createTemplate,
|
2197
|
-
dynamicTag,
|
2198
|
-
ensureScopeWithId,
|
2199
|
-
escapeScript,
|
2200
|
-
escapeStyle,
|
2201
|
-
escapeXML,
|
2202
2234
|
forIn,
|
2203
2235
|
forInBy,
|
2204
2236
|
forOf,
|
2205
2237
|
forOfBy,
|
2206
2238
|
forTo,
|
2207
|
-
forToBy
|
2208
|
-
fork,
|
2209
|
-
getScopeById,
|
2210
|
-
hoist,
|
2211
|
-
markResumeNode,
|
2212
|
-
nextScopeId,
|
2213
|
-
nextTagId,
|
2214
|
-
nodeRef,
|
2215
|
-
optionValueAttr,
|
2216
|
-
partialAttrs,
|
2217
|
-
peekNextScopeId,
|
2218
|
-
register,
|
2219
|
-
registerContent,
|
2220
|
-
resumeClosestBranch,
|
2221
|
-
resumeConditional,
|
2222
|
-
resumeForIn,
|
2223
|
-
resumeForOf,
|
2224
|
-
resumeForTo,
|
2225
|
-
serializeGuard,
|
2226
|
-
serializeIf,
|
2227
|
-
setTagVar,
|
2228
|
-
styleAttr,
|
2229
|
-
toString,
|
2230
|
-
tryContent,
|
2231
|
-
write,
|
2232
|
-
writeAttrsAndContent,
|
2233
|
-
writeContent,
|
2234
|
-
writeEffect,
|
2235
|
-
writeExistingScope,
|
2236
|
-
writePartialAttrsAndContent,
|
2237
|
-
writeScope,
|
2238
|
-
writeSubscribe,
|
2239
|
-
writeTrailers
|
2239
|
+
forToBy
|
2240
2240
|
});
|