@xuda.io/runtime-bundle 1.0.1088 → 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.
|
@@ -31890,7 +31890,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31890
31890
|
}
|
|
31891
31891
|
$elm.remove();
|
|
31892
31892
|
} else {
|
|
31893
|
-
$elm.data('xuTeleportData', []);
|
|
31893
|
+
$elm.data('xuTeleportData', []).attr('hidden', true);
|
|
31894
31894
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
31895
31895
|
const $to_container = $(val.value);
|
|
31896
31896
|
if (!$to_container?.length) {
|
|
@@ -34428,15 +34428,15 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34428
34428
|
};
|
|
34429
34429
|
|
|
34430
34430
|
const draw_html_element = async function (element) {
|
|
34431
|
-
|
|
34432
|
-
|
|
34433
|
-
|
|
34434
|
-
|
|
34431
|
+
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
34432
|
+
if (!glb.new_xu_render) {
|
|
34433
|
+
temp_$container = $container;
|
|
34434
|
+
}
|
|
34435
34435
|
const done = async function (ret = {}) {
|
|
34436
34436
|
if (glb.new_xu_render) {
|
|
34437
|
+
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34438
|
+
$div.css('display', 'unset');
|
|
34437
34439
|
if (ret.has_xu_exp_render_attribute) {
|
|
34438
|
-
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34439
|
-
|
|
34440
34440
|
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 || {}));
|
|
34441
34441
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
34442
34442
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
@@ -34466,6 +34466,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34466
34466
|
|
|
34467
34467
|
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);
|
|
34468
34468
|
|
|
34469
|
+
if (glb.new_xu_render) {
|
|
34470
|
+
$div.css('display', 'none');
|
|
34471
|
+
}
|
|
34472
|
+
|
|
34469
34473
|
$div.hover(
|
|
34470
34474
|
function (e) {
|
|
34471
34475
|
hover_in($div, e);
|
|
@@ -34480,7 +34484,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34480
34484
|
});
|
|
34481
34485
|
}
|
|
34482
34486
|
|
|
34483
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $
|
|
34487
|
+
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);
|
|
34484
34488
|
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'])) {
|
|
34485
34489
|
return await done(ret);
|
|
34486
34490
|
}
|
|
@@ -34579,8 +34583,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34579
34583
|
} else {
|
|
34580
34584
|
if (glb.new_xu_render) {
|
|
34581
34585
|
if (ret.xu_render_background_processing) {
|
|
34582
|
-
let temp_$div = $div.clone(true);
|
|
34583
|
-
iterate_child(
|
|
34586
|
+
// let temp_$div = $div.clone(true);
|
|
34587
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34584
34588
|
} else {
|
|
34585
34589
|
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34586
34590
|
}
|