@xuda.io/runtime-bundle 1.0.1298 → 1.0.1300

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.
@@ -28217,11 +28217,9 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28217
28217
  }
28218
28218
 
28219
28219
  const watchedUser = createWatchedObject(_ds, async (change) => {
28220
- console.log('Change detected:', change);
28220
+ // console.log('Change detected:', change);
28221
28221
  const { path, newValue } = change;
28222
28222
  try {
28223
- // _session.DS_GLB[dsSessionP].watcher = { path, newValue };
28224
-
28225
28223
  const datasource_changes = {
28226
28224
  [dsSessionP]: {
28227
28225
  ['datasource_main']: {
@@ -28230,11 +28228,6 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28230
28228
  },
28231
28229
  };
28232
28230
  await func.datasource.update(SESSION_ID, datasource_changes);
28233
-
28234
- // _.set(_session.DS_GLB[dsSessionP].watcher, change.path, change.newValue);
28235
- // setTimeout(() => {
28236
- // func.action.execute(SESSION_ID, 'act_refresh', _session.DS_GLB[dsSessionP], null, null, null, $elm);
28237
- // }, 1000);
28238
28231
  } catch (error) {}
28239
28232
  });
28240
28233
 
@@ -28678,7 +28671,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
28678
28671
  console.log('DATASOURCE_REFRESH', dataSourceNoP);
28679
28672
  IS_DATASOURCE_REFRESH = true;
28680
28673
  _ds.refreshed = true;
28681
- debugger;
28674
+
28682
28675
  if (_ds.watcher) {
28683
28676
  _.set(_ds, _ds.watcher.path, _ds.watcher.newValue);
28684
28677
  }
@@ -31006,8 +30999,8 @@ func.datasource.set_VIEW_data = async function (SESSION_ID, args, _ds) {
31006
30999
  };
31007
31000
  _ds.viewEventExec_arr = {};
31008
31001
 
31009
- // var view = _.cloneDeep(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
31010
- var view = klona.klona(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
31002
+ var view = _.cloneDeep(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
31003
+ // var view = klona.klona(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
31011
31004
 
31012
31005
  _ds.v.dataSourceSrcType = view.dataSourceSrcType;
31013
31006