@xuda.io/runtime-bundle 1.0.1091 → 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
|
@@ -14880,18 +14880,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14880
14880
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
14881
14881
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
14882
14882
|
if (ret.xu_render_background_processing) {
|
|
14883
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14883
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14884
14884
|
return $div;
|
|
14885
|
-
}
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
return $div;
|
|
14885
|
+
} else {
|
|
14886
|
+
temp_$div.replaceWith($div);
|
|
14887
|
+
return $div;
|
|
14888
|
+
}
|
|
14891
14889
|
} else {
|
|
14892
14890
|
// $container.append(temp_$container.children());
|
|
14893
14891
|
if (ret.has_xu_render_attribute) {
|
|
14894
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14892
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14895
14893
|
}
|
|
14896
14894
|
return $div;
|
|
14897
14895
|
}
|
|
@@ -14899,12 +14897,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14899
14897
|
if (!element || element === 'script') return await done();
|
|
14900
14898
|
let str = '';
|
|
14901
14899
|
|
|
14902
|
-
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);
|
|
14903
14901
|
|
|
14904
14902
|
$div.css('display', 'none');
|
|
14905
14903
|
|
|
14906
14904
|
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
14907
|
-
let
|
|
14905
|
+
let $div = temp_$div.clone(true);
|
|
14908
14906
|
|
|
14909
14907
|
$div.hover(
|
|
14910
14908
|
function (e) {
|
|
@@ -14920,7 +14918,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14920
14918
|
});
|
|
14921
14919
|
}
|
|
14922
14920
|
|
|
14923
|
-
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);
|
|
14924
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'])) {
|
|
14925
14923
|
return await done(ret);
|
|
14926
14924
|
}
|
|
@@ -12605,18 +12605,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12605
12605
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
12606
12606
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
12607
12607
|
if (ret.xu_render_background_processing) {
|
|
12608
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12608
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12609
12609
|
return $div;
|
|
12610
|
-
}
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
return $div;
|
|
12610
|
+
} else {
|
|
12611
|
+
temp_$div.replaceWith($div);
|
|
12612
|
+
return $div;
|
|
12613
|
+
}
|
|
12616
12614
|
} else {
|
|
12617
12615
|
// $container.append(temp_$container.children());
|
|
12618
12616
|
if (ret.has_xu_render_attribute) {
|
|
12619
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12617
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12620
12618
|
}
|
|
12621
12619
|
return $div;
|
|
12622
12620
|
}
|
|
@@ -12624,12 +12622,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12624
12622
|
if (!element || element === 'script') return await done();
|
|
12625
12623
|
let str = '';
|
|
12626
12624
|
|
|
12627
|
-
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);
|
|
12628
12626
|
|
|
12629
12627
|
$div.css('display', 'none');
|
|
12630
12628
|
|
|
12631
12629
|
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
12632
|
-
let
|
|
12630
|
+
let $div = temp_$div.clone(true);
|
|
12633
12631
|
|
|
12634
12632
|
$div.hover(
|
|
12635
12633
|
function (e) {
|
|
@@ -12645,7 +12643,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12645
12643
|
});
|
|
12646
12644
|
}
|
|
12647
12645
|
|
|
12648
|
-
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);
|
|
12649
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'])) {
|
|
12650
12648
|
return await done(ret);
|
|
12651
12649
|
}
|