@xuda.io/runtime-bundle 1.0.346 → 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.
@@ -32227,12 +32227,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32227
32227
  const common_fx = {
32228
32228
  'xu-ref': async function ($elm, val) {
32229
32229
  console.log('xu-ref', $elm, val);
32230
+ const _session = SESSION_OBJ[SESSION_ID];
32230
32231
  let _ds_0 = _session.DS_GLB[0];
32231
32232
  if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS']) {
32232
32233
  _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'] = {};
32233
32234
  }
32234
32235
  // if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val]) {
32235
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val] = { $el: $elm };
32236
+ const _ds = _session.DS_GLB[paramsP.dsSessionP];
32237
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data: _ds?.data_feed?.rows || {}, props: $elm?.data()?.xuData?.properties };
32236
32238
  // }
32237
32239
  return {};
32238
32240
  },
@@ -32421,6 +32423,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32421
32423
 
32422
32424
  const post_render = async function () {
32423
32425
  if (value) {
32426
+ // abort if already rended
32427
+ if ($elm[0].tagName !== 'XURENDER' && $elm?.length) {
32428
+ return func.events.delete_job(SESSION_ID, jobNoP);
32429
+ }
32430
+
32424
32431
  let original_data_obj = $elm.data().xuData.original_data_obj;
32425
32432
 
32426
32433
  if (!original_data_obj) {