@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.
|
@@ -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,13 +34428,14 @@ 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
34437
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34438
|
+
$div.css('display', 'unset');
|
|
34438
34439
|
if (ret.has_xu_exp_render_attribute) {
|
|
34439
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 || {}));
|
|
34440
34441
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
@@ -34465,6 +34466,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34465
34466
|
|
|
34466
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);
|
|
34467
34468
|
|
|
34469
|
+
if (glb.new_xu_render) {
|
|
34470
|
+
$div.css('display', 'none');
|
|
34471
|
+
}
|
|
34472
|
+
|
|
34468
34473
|
$div.hover(
|
|
34469
34474
|
function (e) {
|
|
34470
34475
|
hover_in($div, e);
|
|
@@ -34479,7 +34484,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34479
34484
|
});
|
|
34480
34485
|
}
|
|
34481
34486
|
|
|
34482
|
-
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);
|
|
34483
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'])) {
|
|
34484
34489
|
return await done(ret);
|
|
34485
34490
|
}
|
|
@@ -34578,8 +34583,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34578
34583
|
} else {
|
|
34579
34584
|
if (glb.new_xu_render) {
|
|
34580
34585
|
if (ret.xu_render_background_processing) {
|
|
34581
|
-
let temp_$div = $div.clone(true);
|
|
34582
|
-
iterate_child(
|
|
34586
|
+
// let temp_$div = $div.clone(true);
|
|
34587
|
+
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34583
34588
|
} else {
|
|
34584
34589
|
await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34585
34590
|
}
|