@xuda.io/runtime-bundle 1.0.1075 → 1.0.1077
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.
|
@@ -31474,6 +31474,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31474
31474
|
parent_element_ui_id;
|
|
31475
31475
|
const elem_key = node.xu_render_xu_ui_id;
|
|
31476
31476
|
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
31477
|
+
if (!lem_val.$elm.data()?.xuData) continue;
|
|
31477
31478
|
elem_val.$elm.data().xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
31478
31479
|
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
31479
31480
|
|
|
@@ -32349,7 +32350,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32349
32350
|
nodeP.xu_render_made = value;
|
|
32350
32351
|
if (value) {
|
|
32351
32352
|
try {
|
|
32352
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
32353
|
+
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
32353
32354
|
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
32354
32355
|
let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id + xu_render_cache_id]?.$div.clone(true);
|
|
32355
32356
|
let found_parent_vars = false;
|
|
@@ -32413,7 +32414,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32413
32414
|
// if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
32414
32415
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
32415
32416
|
// }
|
|
32416
|
-
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
32417
|
+
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
32417
32418
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: $elm.clone(true) };
|
|
32418
32419
|
$elm.remove();
|
|
32419
32420
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
@@ -34433,7 +34434,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34433
34434
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
34434
34435
|
// }
|
|
34435
34436
|
|
|
34436
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData
|
|
34437
|
+
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 || {}));
|
|
34437
34438
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
34438
34439
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
34439
34440
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|