@xuda.io/runtime-bundle 1.0.1361 → 1.0.1363
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -15202,6 +15202,8 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
15202
15202
|
let ret = '';
|
|
15203
15203
|
if (node.children) {
|
|
15204
15204
|
for (let val of node.children) {
|
|
15205
|
+
if (val.type === 'comment') continue;
|
|
15206
|
+
|
|
15205
15207
|
let prop = val.attributes;
|
|
15206
15208
|
ret += get_tag_str(val.tagName, prop, val);
|
|
15207
15209
|
}
|
|
@@ -18953,7 +18955,7 @@ function xuda(...args) {
|
|
|
18953
18955
|
}
|
|
18954
18956
|
|
|
18955
18957
|
if ($('template').length) {
|
|
18956
|
-
const module = await func.common.get_module(SESSION_ID, 'xuda-cli-plugin-html-parser-module.esm.
|
|
18958
|
+
const module = await func.common.get_module(SESSION_ID, 'xuda-cli-plugin-html-parser-module.esm.mjs');
|
|
18957
18959
|
|
|
18958
18960
|
$.each($('template'), function (idx, el) {
|
|
18959
18961
|
const _id = $(el).attr('id') || 'template_' + idx.toString();
|
|
@@ -20276,7 +20278,7 @@ func.index.set_ds_0_proxy = function (SESSION_ID) {
|
|
|
20276
20278
|
let watch_path = 'data_system.' + path;
|
|
20277
20279
|
|
|
20278
20280
|
const runHandler = () => {
|
|
20279
|
-
const { handler, once } = _session?.watchers?.[watch_path];
|
|
20281
|
+
const { handler, once } = _session?.watchers?.[watch_path] || {};
|
|
20280
20282
|
handler(change);
|
|
20281
20283
|
if (once) {
|
|
20282
20284
|
delete _session.watchers[watch_path];
|
|
@@ -12927,6 +12927,8 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
12927
12927
|
let ret = '';
|
|
12928
12928
|
if (node.children) {
|
|
12929
12929
|
for (let val of node.children) {
|
|
12930
|
+
if (val.type === 'comment') continue;
|
|
12931
|
+
|
|
12930
12932
|
let prop = val.attributes;
|
|
12931
12933
|
ret += get_tag_str(val.tagName, prop, val);
|
|
12932
12934
|
}
|
|
@@ -18954,7 +18956,7 @@ function xuda(...args) {
|
|
|
18954
18956
|
}
|
|
18955
18957
|
|
|
18956
18958
|
if ($('template').length) {
|
|
18957
|
-
const module = await func.common.get_module(SESSION_ID, 'xuda-cli-plugin-html-parser-module.esm.
|
|
18959
|
+
const module = await func.common.get_module(SESSION_ID, 'xuda-cli-plugin-html-parser-module.esm.mjs');
|
|
18958
18960
|
|
|
18959
18961
|
$.each($('template'), function (idx, el) {
|
|
18960
18962
|
const _id = $(el).attr('id') || 'template_' + idx.toString();
|
|
@@ -20277,7 +20279,7 @@ func.index.set_ds_0_proxy = function (SESSION_ID) {
|
|
|
20277
20279
|
let watch_path = 'data_system.' + path;
|
|
20278
20280
|
|
|
20279
20281
|
const runHandler = () => {
|
|
20280
|
-
const { handler, once } = _session?.watchers?.[watch_path];
|
|
20282
|
+
const { handler, once } = _session?.watchers?.[watch_path] || {};
|
|
20281
20283
|
handler(change);
|
|
20282
20284
|
if (once) {
|
|
20283
20285
|
delete _session.watchers[watch_path];
|