@xuda.io/runtime-bundle 1.0.1084 → 1.0.1086
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.
|
@@ -32337,16 +32337,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32337
32337
|
|
|
32338
32338
|
const new_render = async function () {
|
|
32339
32339
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
32340
|
-
const has_xu_render_attribute =
|
|
32340
|
+
const has_xu_render_attribute = true;
|
|
32341
|
+
const has_xu_exp_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
|
|
32341
32342
|
const init_render = async function () {
|
|
32342
32343
|
nodeP.xu_render_made = value;
|
|
32343
32344
|
if (!value) {
|
|
32344
|
-
if (
|
|
32345
|
-
return { has_xu_render_attribute,
|
|
32345
|
+
if (has_xu_exp_render_attribute) {
|
|
32346
|
+
return { has_xu_exp_render_attribute, has_xu_render_attribute, xu_render_background_processing: true, abort: true };
|
|
32346
32347
|
}
|
|
32347
|
-
return { abort: true };
|
|
32348
|
+
return { has_xu_render_attribute, abort: true };
|
|
32348
32349
|
}
|
|
32349
|
-
return { has_xu_render_attribute };
|
|
32350
|
+
return { has_xu_exp_render_attribute, has_xu_render_attribute };
|
|
32350
32351
|
};
|
|
32351
32352
|
|
|
32352
32353
|
const post_render = async function () {
|
|
@@ -34433,14 +34434,14 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34433
34434
|
// }
|
|
34434
34435
|
const done = async function (ret = {}) {
|
|
34435
34436
|
if (glb.new_xu_render) {
|
|
34436
|
-
if (ret.
|
|
34437
|
+
if (ret.has_xu_exp_render_attribute) {
|
|
34437
34438
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34438
34439
|
|
|
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 };
|
|
34441
34442
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
34442
34443
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
34443
|
-
if (ret.
|
|
34444
|
+
if (ret.xu_render_background_processing) {
|
|
34444
34445
|
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
|
|
34445
34446
|
return $div;
|
|
34446
34447
|
} //else {
|
|
@@ -34451,6 +34452,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34451
34452
|
return $div;
|
|
34452
34453
|
} else {
|
|
34453
34454
|
// $container.append(temp_$container.children());
|
|
34455
|
+
if (ret.has_xu_render_attribute) {
|
|
34456
|
+
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
|
|
34457
|
+
}
|
|
34454
34458
|
return $div;
|
|
34455
34459
|
}
|
|
34456
34460
|
} else {
|
|
@@ -34574,7 +34578,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34574
34578
|
xu_viewport();
|
|
34575
34579
|
} else {
|
|
34576
34580
|
if (glb.new_xu_render) {
|
|
34577
|
-
if (ret.
|
|
34581
|
+
if (ret.xu_render_background_processing) {
|
|
34578
34582
|
let temp_$div = $div.clone(true);
|
|
34579
34583
|
iterate_child(temp_$div, nodeP, parent_infoP, $root_container);
|
|
34580
34584
|
} else {
|