@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.
@@ -3475,15 +3475,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3475
3475
  }
3476
3476
  };
3477
3477
 
3478
- const update_xu_ref = async function () {
3479
- let _ds_0 = _session.DS_GLB[0];
3480
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
3481
- if (val.ds.dsSession == dataSource) {
3482
- func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
3483
- }
3484
- }
3485
- };
3486
-
3487
3478
  var fields_changed = [];
3488
3479
  var datasource_changed = [];
3489
3480
  let client_datasource_changes = {};
@@ -3494,6 +3485,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3494
3485
  if (!_ds) {
3495
3486
  continue;
3496
3487
  }
3488
+
3489
+ const update_xu_ref = async function () {
3490
+ let _ds_0 = _session.DS_GLB[0];
3491
+ for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
3492
+ if (val.ds.dsSession == dataSource) {
3493
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
3494
+ }
3495
+ }
3496
+ };
3497
+
3497
3498
  // iterate changes records
3498
3499
  for (const [record_id, fields_data] of Object.entries(row_data)) {
3499
3500
  // iterate changes fields
@@ -3475,15 +3475,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3475
3475
  }
3476
3476
  };
3477
3477
 
3478
- const update_xu_ref = async function () {
3479
- let _ds_0 = _session.DS_GLB[0];
3480
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
3481
- if (val.ds.dsSession == dataSource) {
3482
- func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
3483
- }
3484
- }
3485
- };
3486
-
3487
3478
  var fields_changed = [];
3488
3479
  var datasource_changed = [];
3489
3480
  let client_datasource_changes = {};
@@ -3494,6 +3485,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3494
3485
  if (!_ds) {
3495
3486
  continue;
3496
3487
  }
3488
+
3489
+ const update_xu_ref = async function () {
3490
+ let _ds_0 = _session.DS_GLB[0];
3491
+ for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
3492
+ if (val.ds.dsSession == dataSource) {
3493
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
3494
+ }
3495
+ }
3496
+ };
3497
+
3497
3498
  // iterate changes records
3498
3499
  for (const [record_id, fields_data] of Object.entries(row_data)) {
3499
3500
  // iterate changes fields