@xuda.io/runtime-bundle 1.0.394 → 1.0.396
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-bundle.js +5 -5
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +5 -5
- package/js/xuda-runtime-slim.min.es.js +5 -5
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -5146,7 +5146,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5146
5146
|
let _ds_0 = _session.DS_GLB[0];
|
|
5147
5147
|
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
5148
5148
|
if (val.ds.dsSession == dataSource) {
|
|
5149
|
-
func.UI.update_xu_ref(SESSION_ID, dataSource);
|
|
5149
|
+
func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
|
|
5150
5150
|
// if (!fields_changed.includes(ref_name)) {
|
|
5151
5151
|
// fields_changed.push(ref_name);
|
|
5152
5152
|
// }
|
|
@@ -9055,16 +9055,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9055
9055
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
9056
9056
|
|
|
9057
9057
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
9058
|
-
SYS_GLOBAL_OBJ_REFS = {};
|
|
9058
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
|
|
9059
9059
|
}
|
|
9060
|
-
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
9061
|
-
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
9060
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
|
|
9061
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
|
|
9062
9062
|
|
|
9063
9063
|
if ($elm) {
|
|
9064
9064
|
// const props = _ds.in_parameters || {};
|
|
9065
9065
|
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
9066
9066
|
|
|
9067
|
-
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
9067
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9068
9068
|
}
|
|
9069
9069
|
};
|
|
9070
9070
|
func.events = {};
|
|
@@ -5147,7 +5147,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5147
5147
|
let _ds_0 = _session.DS_GLB[0];
|
|
5148
5148
|
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
5149
5149
|
if (val.ds.dsSession == dataSource) {
|
|
5150
|
-
func.UI.update_xu_ref(SESSION_ID, dataSource);
|
|
5150
|
+
func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
|
|
5151
5151
|
// if (!fields_changed.includes(ref_name)) {
|
|
5152
5152
|
// fields_changed.push(ref_name);
|
|
5153
5153
|
// }
|
|
@@ -9056,16 +9056,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9056
9056
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
9057
9057
|
|
|
9058
9058
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
9059
|
-
SYS_GLOBAL_OBJ_REFS = {};
|
|
9059
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
|
|
9060
9060
|
}
|
|
9061
|
-
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
9062
|
-
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
9061
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
|
|
9062
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
|
|
9063
9063
|
|
|
9064
9064
|
if ($elm) {
|
|
9065
9065
|
// const props = _ds.in_parameters || {};
|
|
9066
9066
|
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
9067
9067
|
|
|
9068
|
-
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
9068
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9069
9069
|
}
|
|
9070
9070
|
};
|
|
9071
9071
|
func.UI.screen = {};
|