@xuda.io/runtime-bundle 1.0.1108 → 1.0.1110
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.
|
@@ -31479,22 +31479,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31479
31479
|
const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id + node.xu_render_cache_id];
|
|
31480
31480
|
parent_element_ui_id;
|
|
31481
31481
|
const elem_key = node.xu_render_xu_ui_id;
|
|
31482
|
-
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
31483
|
-
if (!elem_val
|
|
31484
|
-
elem_val
|
|
31485
|
-
var res = await func.expression.get(SESSION_ID, elem_val
|
|
31482
|
+
const elem_val = { attributes: [attr], $elm: node_data.$div, data: node_data.data };
|
|
31483
|
+
if (!elem_val.data?.xuData) continue;
|
|
31484
|
+
elem_val.data.xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
31485
|
+
var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
31486
31486
|
|
|
31487
31487
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
31488
31488
|
try {
|
|
31489
31489
|
const obj = {
|
|
31490
|
-
ui_type: elem_val
|
|
31490
|
+
ui_type: elem_val.data.xuData.ui_type,
|
|
31491
31491
|
SESSION_ID,
|
|
31492
31492
|
elem_key,
|
|
31493
31493
|
elem_val,
|
|
31494
31494
|
fields_arr,
|
|
31495
31495
|
attr_value,
|
|
31496
31496
|
};
|
|
31497
|
-
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, elem_val.$elm, elem_val
|
|
31497
|
+
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, elem_val.$elm, elem_val.data.xuData.paramsP.dsSessionP);
|
|
31498
31498
|
} catch (error) {
|
|
31499
31499
|
debugger;
|
|
31500
31500
|
}
|
|
@@ -34753,6 +34753,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34753
34753
|
// }
|
|
34754
34754
|
if (!ret.xu_render_background_processing) {
|
|
34755
34755
|
iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34756
|
+
} else {
|
|
34757
|
+
if (ret.has_xu_render_attribute) {
|
|
34758
|
+
$div.css('display', 'none');
|
|
34759
|
+
}
|
|
34756
34760
|
}
|
|
34757
34761
|
}
|
|
34758
34762
|
|