@xuda.io/runtime-bundle 1.0.1040 → 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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -11778,22 +11778,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11778
11778
|
|
|
11779
11779
|
if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
|
|
11780
11780
|
const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
|
|
11781
|
-
const
|
|
11782
|
-
const
|
|
11781
|
+
const elem_key = node.xu_render_xu_ui_id;
|
|
11782
|
+
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
11783
11783
|
|
|
11784
11784
|
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);
|
|
11785
11785
|
|
|
11786
11786
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
11787
11787
|
|
|
11788
11788
|
const obj = {
|
|
11789
|
-
ui_type:
|
|
11789
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
11790
11790
|
SESSION_ID,
|
|
11791
|
-
elem_key
|
|
11792
|
-
elem_val
|
|
11791
|
+
elem_key,
|
|
11792
|
+
elem_val,
|
|
11793
11793
|
fields_arr,
|
|
11794
11794
|
attr_value,
|
|
11795
11795
|
};
|
|
11796
|
-
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, _elem_val.$elm,
|
|
11796
|
+
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);
|
|
11797
11797
|
}
|
|
11798
11798
|
}
|
|
11799
11799
|
}
|
|
@@ -9503,22 +9503,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9503
9503
|
|
|
9504
9504
|
if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
|
|
9505
9505
|
const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
|
|
9506
|
-
const
|
|
9507
|
-
const
|
|
9506
|
+
const elem_key = node.xu_render_xu_ui_id;
|
|
9507
|
+
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
9508
9508
|
|
|
9509
9509
|
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);
|
|
9510
9510
|
|
|
9511
9511
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
9512
9512
|
|
|
9513
9513
|
const obj = {
|
|
9514
|
-
ui_type:
|
|
9514
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
9515
9515
|
SESSION_ID,
|
|
9516
|
-
elem_key
|
|
9517
|
-
elem_val
|
|
9516
|
+
elem_key,
|
|
9517
|
+
elem_val,
|
|
9518
9518
|
fields_arr,
|
|
9519
9519
|
attr_value,
|
|
9520
9520
|
};
|
|
9521
|
-
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, _elem_val.$elm,
|
|
9521
|
+
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);
|
|
9522
9522
|
}
|
|
9523
9523
|
}
|
|
9524
9524
|
}
|