@xuda.io/runtime-bundle 1.0.1279 → 1.0.1280

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.
@@ -37,7 +37,6 @@ export const action_execute = async function (SESSION_ID, actionP, params, isScr
37
37
 
38
38
  if (!_ds) {
39
39
  func.events.delete_job(SESSION_ID, jobNoP);
40
-
41
40
  return;
42
41
  }
43
42
 
@@ -28260,10 +28260,14 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28260
28260
  return createProxy(obj);
28261
28261
  }
28262
28262
 
28263
- const watchedUser = createWatchedObject(_ds, (change) => {
28263
+ const watchedUser = createWatchedObject(_ds, async (change) => {
28264
28264
  console.log('Change detected:', change);
28265
28265
  try {
28266
28266
  // _session.DS_GLB[dsSessionP][property] = newValue;
28267
+
28268
+ _.set(_session.DS_GLB[dsSessionP], change.path, change.newValue);
28269
+
28270
+ await func.action.execute(SESSION_ID, 'act_refresh', _session.DS_GLB[dsSessionP], null, null, null, $elm);
28267
28271
  } catch (error) {}
28268
28272
  });
28269
28273
 
@@ -40124,30 +40128,9 @@ func.events.invoke = async function (event_id) {
40124
40128
  func.events.validate(SESSION_ID, 'user_defined', ds, event_id);
40125
40129
  };
40126
40130
  func.action = {};
40127
- func.action.execute = async function (
40128
- SESSION_ID,
40129
- actionP,
40130
- paramsP,
40131
- isScreenActionP,
40132
- event_sourceP,
40133
- jobNoP,
40134
- // callbackP,
40135
- containerP
40136
- ) {
40137
- const module = await func.common.get_module(
40138
- SESSION_ID,
40139
- "xuda-actions-module.esm.js"
40140
- );
40141
- await module.action_execute(
40142
- SESSION_ID,
40143
- actionP,
40144
- paramsP,
40145
- isScreenActionP,
40146
- event_sourceP,
40147
- jobNoP,
40148
- // callbackP,
40149
- containerP
40150
- );
40131
+ func.action.execute = async function (SESSION_ID, actionP, paramsP, isScreenActionP, event_sourceP, jobNoP, containerP) {
40132
+ const module = await func.common.get_module(SESSION_ID, 'xuda-actions-module.esm.js');
40133
+ await module.action_execute(SESSION_ID, actionP, paramsP, isScreenActionP, event_sourceP, jobNoP, containerP);
40151
40134
  };
40152
40135
  func.fcm = {};
40153
40136
  // func.fcm.load_resources = function (callbackP) {