@xuda.io/runtime-bundle 1.0.347 → 1.0.348

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.
@@ -12202,12 +12202,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12202
12202
  const common_fx = {
12203
12203
  'xu-ref': async function ($elm, val) {
12204
12204
  console.log('xu-ref', $elm, val);
12205
+ const _session = SESSION_OBJ[SESSION_ID];
12205
12206
  let _ds_0 = _session.DS_GLB[0];
12206
12207
  if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS']) {
12207
12208
  _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'] = {};
12208
12209
  }
12209
12210
  // if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val]) {
12210
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val] = { $el: $elm };
12211
+ const _ds = _session.DS_GLB[paramsP.dsSessionP];
12212
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data: _ds?.data_feed?.rows || {}, props: $elm?.data()?.xuData?.properties };
12211
12213
  // }
12212
12214
  return {};
12213
12215
  },
@@ -10268,12 +10268,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10268
10268
  const common_fx = {
10269
10269
  'xu-ref': async function ($elm, val) {
10270
10270
  console.log('xu-ref', $elm, val);
10271
+ const _session = SESSION_OBJ[SESSION_ID];
10271
10272
  let _ds_0 = _session.DS_GLB[0];
10272
10273
  if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS']) {
10273
10274
  _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'] = {};
10274
10275
  }
10275
10276
  // if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val]) {
10276
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val] = { $el: $elm };
10277
+ const _ds = _session.DS_GLB[paramsP.dsSessionP];
10278
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data: _ds?.data_feed?.rows || {}, props: $elm?.data()?.xuData?.properties };
10277
10279
  // }
10278
10280
  return {};
10279
10281
  },