@xuda.io/runtime-bundle 1.0.483 → 1.0.484

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.
@@ -5099,15 +5099,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5099
5099
  }
5100
5100
  };
5101
5101
 
5102
- const update_xu_ref = async function () {
5103
- let _ds_0 = _session.DS_GLB[0];
5104
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5105
- if (val.ds.dsSession == dataSource) {
5106
- func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5107
- }
5108
- }
5109
- };
5110
-
5111
5102
  var fields_changed = [];
5112
5103
  var datasource_changed = [];
5113
5104
  let client_datasource_changes = {};
@@ -5118,6 +5109,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5118
5109
  if (!_ds) {
5119
5110
  continue;
5120
5111
  }
5112
+
5113
+ const update_xu_ref = async function () {
5114
+ let _ds_0 = _session.DS_GLB[0];
5115
+ for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5116
+ if (val.ds.dsSession == dataSource) {
5117
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5118
+ }
5119
+ }
5120
+ };
5121
+
5121
5122
  // iterate changes records
5122
5123
  for (const [record_id, fields_data] of Object.entries(row_data)) {
5123
5124
  // iterate changes fields
@@ -5100,15 +5100,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5100
5100
  }
5101
5101
  };
5102
5102
 
5103
- const update_xu_ref = async function () {
5104
- let _ds_0 = _session.DS_GLB[0];
5105
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5106
- if (val.ds.dsSession == dataSource) {
5107
- func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5108
- }
5109
- }
5110
- };
5111
-
5112
5103
  var fields_changed = [];
5113
5104
  var datasource_changed = [];
5114
5105
  let client_datasource_changes = {};
@@ -5119,6 +5110,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5119
5110
  if (!_ds) {
5120
5111
  continue;
5121
5112
  }
5113
+
5114
+ const update_xu_ref = async function () {
5115
+ let _ds_0 = _session.DS_GLB[0];
5116
+ for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5117
+ if (val.ds.dsSession == dataSource) {
5118
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5119
+ }
5120
+ }
5121
+ };
5122
+
5122
5123
  // iterate changes records
5123
5124
  for (const [record_id, fields_data] of Object.entries(row_data)) {
5124
5125
  // iterate changes fields