@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
|
@@ -28234,16 +28234,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28234
28234
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
28235
28235
|
|
|
28236
28236
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
28237
|
-
SYS_GLOBAL_OBJ_REFS = {};
|
|
28237
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
|
|
28238
28238
|
}
|
|
28239
|
-
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
28240
|
-
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
28239
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
|
|
28240
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
|
|
28241
28241
|
|
|
28242
28242
|
if ($elm) {
|
|
28243
28243
|
// const props = _ds.in_parameters || {};
|
|
28244
28244
|
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
28245
28245
|
|
|
28246
|
-
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
28246
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
28247
28247
|
}
|
|
28248
28248
|
};
|
|
28249
28249
|
func.datasource = {};
|
|
@@ -30148,7 +30148,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30148
30148
|
let _ds_0 = _session.DS_GLB[0];
|
|
30149
30149
|
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
30150
30150
|
if (val.ds.dsSession == dataSource) {
|
|
30151
|
-
func.UI.update_xu_ref(SESSION_ID, dataSource);
|
|
30151
|
+
func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
|
|
30152
30152
|
// if (!fields_changed.includes(ref_name)) {
|
|
30153
30153
|
// fields_changed.push(ref_name);
|
|
30154
30154
|
// }
|