@xuda.io/runtime-bundle 1.0.1299 → 1.0.1301

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.
@@ -27848,7 +27848,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27848
27848
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[queue_obj.dsSession];
27849
27849
  _ds.currentRecordId = currentRecordId || queue_obj.paramsP.currentRecordId;
27850
27850
 
27851
- console.info(queue_obj.dsSession, _ds.currentRecordId);
27851
+ // console.info(queue_obj.dsSession, _ds.currentRecordId);
27852
27852
 
27853
27853
  var datasource_changes = {
27854
27854
  [_ds.dsSession]: { [_ds.currentRecordId]: 'set' },
@@ -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
 
@@ -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
 
@@ -35623,7 +35616,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
35623
35616
  //////////////////////////
35624
35617
 
35625
35618
  let plugin_name = prop['xu-widget'],
35626
- method = prop['xu-method'],
35619
+ method = prop['xu-method'] || '_default',
35627
35620
  dsP = paramsP.dsSessionP,
35628
35621
  propsP = prop,
35629
35622
  sourceP = 'widgets';