@xuda.io/runtime-bundle 1.0.1089 → 1.0.1090
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
|
@@ -12206,7 +12206,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12206
12206
|
}
|
|
12207
12207
|
$elm.remove();
|
|
12208
12208
|
} else {
|
|
12209
|
-
$elm.data('xuTeleportData', []);
|
|
12209
|
+
$elm.data('xuTeleportData', []).attr('hidden', true);
|
|
12210
12210
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
12211
12211
|
const $to_container = $(val.value);
|
|
12212
12212
|
if (!$to_container?.length) {
|
|
@@ -14744,13 +14744,14 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14744
14744
|
};
|
|
14745
14745
|
|
|
14746
14746
|
const draw_html_element = async function (element) {
|
|
14747
|
-
|
|
14748
|
-
|
|
14749
|
-
|
|
14750
|
-
|
|
14747
|
+
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
14748
|
+
if (!glb.new_xu_render) {
|
|
14749
|
+
temp_$container = $container;
|
|
14750
|
+
}
|
|
14751
14751
|
const done = async function (ret = {}) {
|
|
14752
14752
|
if (glb.new_xu_render) {
|
|
14753
14753
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
14754
|
+
$div.css('display', 'unset');
|
|
14754
14755
|
if (ret.has_xu_exp_render_attribute) {
|
|
14755
14756
|
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
14756
14757
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
@@ -14781,6 +14782,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14781
14782
|
|
|
14782
14783
|
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);
|
|
14783
14784
|
|
|
14785
|
+
if (glb.new_xu_render) {
|
|
14786
|
+
$div.css('display', 'none');
|
|
14787
|
+
}
|
|
14788
|
+
|
|
14784
14789
|
$div.hover(
|
|
14785
14790
|
function (e) {
|
|
14786
14791
|
hover_in($div, e);
|
|
@@ -14795,7 +14800,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14795
14800
|
});
|
|
14796
14801
|
}
|
|
14797
14802
|
|
|
14798
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $
|
|
14803
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
14799
14804
|
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'])) {
|
|
14800
14805
|
return await done(ret);
|
|
14801
14806
|
}
|
|
@@ -14894,8 +14899,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14894
14899
|
} else {
|
|
14895
14900
|
if (glb.new_xu_render) {
|
|
14896
14901
|
if (ret.xu_render_background_processing) {
|
|
14897
|
-
let temp_$div = $div.clone(true);
|
|
14898
|
-
iterate_child(
|
|
14902
|
+
// let temp_$div = $div.clone(true);
|
|
14903
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
14899
14904
|
} else {
|
|
14900
14905
|
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
14901
14906
|
}
|
|
@@ -9931,7 +9931,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
9931
9931
|
}
|
|
9932
9932
|
$elm.remove();
|
|
9933
9933
|
} else {
|
|
9934
|
-
$elm.data('xuTeleportData', []);
|
|
9934
|
+
$elm.data('xuTeleportData', []).attr('hidden', true);
|
|
9935
9935
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
9936
9936
|
const $to_container = $(val.value);
|
|
9937
9937
|
if (!$to_container?.length) {
|
|
@@ -12469,13 +12469,14 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12469
12469
|
};
|
|
12470
12470
|
|
|
12471
12471
|
const draw_html_element = async function (element) {
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12472
|
+
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
12473
|
+
if (!glb.new_xu_render) {
|
|
12474
|
+
temp_$container = $container;
|
|
12475
|
+
}
|
|
12476
12476
|
const done = async function (ret = {}) {
|
|
12477
12477
|
if (glb.new_xu_render) {
|
|
12478
12478
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
12479
|
+
$div.css('display', 'unset');
|
|
12479
12480
|
if (ret.has_xu_exp_render_attribute) {
|
|
12480
12481
|
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12481
12482
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
@@ -12506,6 +12507,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12506
12507
|
|
|
12507
12508
|
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);
|
|
12508
12509
|
|
|
12510
|
+
if (glb.new_xu_render) {
|
|
12511
|
+
$div.css('display', 'none');
|
|
12512
|
+
}
|
|
12513
|
+
|
|
12509
12514
|
$div.hover(
|
|
12510
12515
|
function (e) {
|
|
12511
12516
|
hover_in($div, e);
|
|
@@ -12520,7 +12525,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12520
12525
|
});
|
|
12521
12526
|
}
|
|
12522
12527
|
|
|
12523
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $
|
|
12528
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
12524
12529
|
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'])) {
|
|
12525
12530
|
return await done(ret);
|
|
12526
12531
|
}
|
|
@@ -12619,8 +12624,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12619
12624
|
} else {
|
|
12620
12625
|
if (glb.new_xu_render) {
|
|
12621
12626
|
if (ret.xu_render_background_processing) {
|
|
12622
|
-
let temp_$div = $div.clone(true);
|
|
12623
|
-
iterate_child(
|
|
12627
|
+
// let temp_$div = $div.clone(true);
|
|
12628
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
12624
12629
|
} else {
|
|
12625
12630
|
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
12626
12631
|
}
|