@xuda.io/runtime-bundle 1.0.521 → 1.0.523

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.
@@ -3702,7 +3702,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3702
3702
  let client_datasource_changes = {};
3703
3703
  let server_datasource_changes = {};
3704
3704
 
3705
- const update_xu_ref = function (dataSource, field_id) {
3705
+ const update_xu_ref = function (dataSource) {
3706
3706
  let ret;
3707
3707
  let _ds_0 = _session.DS_GLB[0];
3708
3708
  for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
@@ -3727,7 +3727,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3727
3727
  // mechanism to make update directly on the datasource object
3728
3728
  if (record_id === 'datasource_main') {
3729
3729
  _.set(_ds, field_id, value);
3730
- const ret = update_xu_ref(dataSource, field_id);
3730
+ const ret = update_xu_ref(dataSource);
3731
3731
  if (ret) {
3732
3732
  fields_changed.push(field_id);
3733
3733
  datasource_changed.push(dataSource);
@@ -3748,7 +3748,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3748
3748
  await set_fieldComputed_dependencies(dataSource, field_id, null);
3749
3749
 
3750
3750
  // search the field in refs
3751
- update_xu_ref(dataSource, field_id);
3751
+ update_xu_ref(dataSource);
3752
3752
 
3753
3753
  if (!update_local_scope_only) {
3754
3754
  let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
@@ -3702,7 +3702,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3702
3702
  let client_datasource_changes = {};
3703
3703
  let server_datasource_changes = {};
3704
3704
 
3705
- const update_xu_ref = function (dataSource, field_id) {
3705
+ const update_xu_ref = function (dataSource) {
3706
3706
  let ret;
3707
3707
  let _ds_0 = _session.DS_GLB[0];
3708
3708
  for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
@@ -3727,7 +3727,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3727
3727
  // mechanism to make update directly on the datasource object
3728
3728
  if (record_id === 'datasource_main') {
3729
3729
  _.set(_ds, field_id, value);
3730
- const ret = update_xu_ref(dataSource, field_id);
3730
+ const ret = update_xu_ref(dataSource);
3731
3731
  if (ret) {
3732
3732
  fields_changed.push(field_id);
3733
3733
  datasource_changed.push(dataSource);
@@ -3748,7 +3748,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3748
3748
  await set_fieldComputed_dependencies(dataSource, field_id, null);
3749
3749
 
3750
3750
  // search the field in refs
3751
- update_xu_ref(dataSource, field_id);
3751
+ update_xu_ref(dataSource);
3752
3752
 
3753
3753
  if (!update_local_scope_only) {
3754
3754
  let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);