@xuda.io/runtime-bundle 1.0.1092 → 1.0.1093
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
|
@@ -14883,7 +14883,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14883
14883
|
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14884
14884
|
return $div;
|
|
14885
14885
|
} else {
|
|
14886
|
-
$
|
|
14886
|
+
temp_$div.replaceWith($div);
|
|
14887
14887
|
return $div;
|
|
14888
14888
|
}
|
|
14889
14889
|
} else {
|
|
@@ -14897,12 +14897,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14897
14897
|
if (!element || element === 'script') return await done();
|
|
14898
14898
|
let str = '';
|
|
14899
14899
|
|
|
14900
|
-
var $div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
14900
|
+
var temp_$div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
14901
14901
|
|
|
14902
14902
|
$div.css('display', 'none');
|
|
14903
14903
|
|
|
14904
14904
|
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
14905
|
-
let
|
|
14905
|
+
let $div = temp_$div.clone(true);
|
|
14906
14906
|
|
|
14907
14907
|
$div.hover(
|
|
14908
14908
|
function (e) {
|
|
@@ -14918,7 +14918,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14918
14918
|
});
|
|
14919
14919
|
}
|
|
14920
14920
|
|
|
14921
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP,
|
|
14921
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
14922
14922
|
if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
|
|
14923
14923
|
return await done(ret);
|
|
14924
14924
|
}
|
|
@@ -15017,9 +15017,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
15017
15017
|
} else {
|
|
15018
15018
|
if (ret.xu_render_background_processing) {
|
|
15019
15019
|
// let temp_$div = $div.clone(true);
|
|
15020
|
-
iterate_child(
|
|
15020
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
15021
15021
|
} else {
|
|
15022
|
-
await iterate_child(
|
|
15022
|
+
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
15023
15023
|
}
|
|
15024
15024
|
}
|
|
15025
15025
|
|
|
@@ -12608,7 +12608,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12608
12608
|
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12609
12609
|
return $div;
|
|
12610
12610
|
} else {
|
|
12611
|
-
$
|
|
12611
|
+
temp_$div.replaceWith($div);
|
|
12612
12612
|
return $div;
|
|
12613
12613
|
}
|
|
12614
12614
|
} else {
|
|
@@ -12622,12 +12622,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12622
12622
|
if (!element || element === 'script') return await done();
|
|
12623
12623
|
let str = '';
|
|
12624
12624
|
|
|
12625
|
-
var $div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
12625
|
+
var temp_$div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
12626
12626
|
|
|
12627
12627
|
$div.css('display', 'none');
|
|
12628
12628
|
|
|
12629
12629
|
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
12630
|
-
let
|
|
12630
|
+
let $div = temp_$div.clone(true);
|
|
12631
12631
|
|
|
12632
12632
|
$div.hover(
|
|
12633
12633
|
function (e) {
|
|
@@ -12643,7 +12643,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12643
12643
|
});
|
|
12644
12644
|
}
|
|
12645
12645
|
|
|
12646
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP,
|
|
12646
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
12647
12647
|
if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
|
|
12648
12648
|
return await done(ret);
|
|
12649
12649
|
}
|
|
@@ -12742,9 +12742,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12742
12742
|
} else {
|
|
12743
12743
|
if (ret.xu_render_background_processing) {
|
|
12744
12744
|
// let temp_$div = $div.clone(true);
|
|
12745
|
-
iterate_child(
|
|
12745
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
12746
12746
|
} else {
|
|
12747
|
-
await iterate_child(
|
|
12747
|
+
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
12748
12748
|
}
|
|
12749
12749
|
}
|
|
12750
12750
|
|