@xuda.io/runtime-bundle 1.0.382 → 1.0.384

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.
@@ -28215,7 +28215,8 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
28215
28215
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
28216
28216
 
28217
28217
  for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
28218
- if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
28218
+ // if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
28219
+ if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length) {
28219
28220
  delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
28220
28221
  }
28221
28222
  }
@@ -31966,13 +31967,18 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
31966
31967
  const _ds = func.utils.clean_returned_datasource(SESSION_ID, paramsP.dsSessionP);
31967
31968
 
31968
31969
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
31969
- const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
31970
+ const data = _ds?.data_feed?.rows?.[row_idx] || {};
31970
31971
 
31971
31972
  const props = _ds.in_parameters || {};
31972
31973
  const attributes = $elm?.data()?.xuData?.properties || {};
31974
+ const xu_ui_id = $elm.attr('xu-ui-id');
31973
31975
 
31974
31976
  // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
31975
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
31977
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props, xu_ui_id };
31978
+
31979
+ const proxy1 = new Proxy(_session.DS_GLB[_ds.currentRecordId], (e) => {
31980
+ debugger;
31981
+ });
31976
31982
 
31977
31983
  return {};
31978
31984
  },
@@ -34997,7 +35003,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
34997
35003
  res[key] = 0;
34998
35004
  }
34999
35005
  });
35000
- var join = function (arrP) {
35006
+ const join = function (arrP) {
35001
35007
  return arrP.join('');
35002
35008
  };
35003
35009
  var exp = undefined;