@xuda.io/runtime-bundle 1.0.1039 → 1.0.1041
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.
|
@@ -31454,6 +31454,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31454
31454
|
debugger;
|
|
31455
31455
|
// $.each(_$elem, function (key, val) {
|
|
31456
31456
|
for await (const [key, val] of Object.entries(_$elem)) {
|
|
31457
|
+
if (key === 'length') break;
|
|
31457
31458
|
if ($(val).data().xuData.node) {
|
|
31458
31459
|
// $.each($(val).data().xuData.node.children, function (key, node) {
|
|
31459
31460
|
for await (const node of $(val).data().xuData.node.children) {
|
|
@@ -31461,22 +31462,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31461
31462
|
|
|
31462
31463
|
if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
|
|
31463
31464
|
const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
|
|
31464
|
-
const
|
|
31465
|
-
const
|
|
31465
|
+
const elem_key = node.xu_render_xu_ui_id;
|
|
31466
|
+
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
31466
31467
|
|
|
31467
31468
|
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);
|
|
31468
31469
|
|
|
31469
31470
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
31470
31471
|
|
|
31471
31472
|
const obj = {
|
|
31472
|
-
ui_type:
|
|
31473
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
31473
31474
|
SESSION_ID,
|
|
31474
|
-
elem_key
|
|
31475
|
-
elem_val
|
|
31475
|
+
elem_key,
|
|
31476
|
+
elem_val,
|
|
31476
31477
|
fields_arr,
|
|
31477
31478
|
attr_value,
|
|
31478
31479
|
};
|
|
31479
|
-
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, _elem_val.$elm,
|
|
31480
|
+
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, _elem_val.$elm, elem_val.$elm.data().xuData.paramsP.dsSessionP);
|
|
31480
31481
|
}
|
|
31481
31482
|
}
|
|
31482
31483
|
}
|