@xuda.io/runtime-bundle 1.0.391 → 1.0.393

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.
@@ -9043,7 +9043,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
9043
9043
  }
9044
9044
  };
9045
9045
 
9046
- func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9046
+ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9047
9047
  const _session = SESSION_OBJ[SESSION_ID];
9048
9048
  let _ds_0 = _session.DS_GLB[0];
9049
9049
 
@@ -9052,7 +9052,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9052
9052
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
9053
9053
  const data = _ds?.data_feed?.rows?.[row_idx] || {};
9054
9054
 
9055
- let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value];
9055
+ let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9056
9056
 
9057
9057
  if (!SYS_GLOBAL_OBJ_REFS) {
9058
9058
  SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };
@@ -11956,7 +11956,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11956
11956
 
11957
11957
  const common_fx = {
11958
11958
  'xu-ref': async function ($elm, val) {
11959
- func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
11959
+ func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
11960
11960
  // const _session = SESSION_OBJ[SESSION_ID];
11961
11961
  // let _ds_0 = _session.DS_GLB[0];
11962
11962
 
@@ -9044,7 +9044,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
9044
9044
  }
9045
9045
  };
9046
9046
 
9047
- func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9047
+ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9048
9048
  const _session = SESSION_OBJ[SESSION_ID];
9049
9049
  let _ds_0 = _session.DS_GLB[0];
9050
9050
 
@@ -9053,7 +9053,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9053
9053
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
9054
9054
  const data = _ds?.data_feed?.rows?.[row_idx] || {};
9055
9055
 
9056
- let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value];
9056
+ let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9057
9057
 
9058
9058
  if (!SYS_GLOBAL_OBJ_REFS) {
9059
9059
  SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };
@@ -10029,7 +10029,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10029
10029
 
10030
10030
  const common_fx = {
10031
10031
  'xu-ref': async function ($elm, val) {
10032
- func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
10032
+ func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
10033
10033
  // const _session = SESSION_OBJ[SESSION_ID];
10034
10034
  // let _ds_0 = _session.DS_GLB[0];
10035
10035