@xuda.io/runtime-bundle 1.0.478 → 1.0.480

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.
@@ -28256,16 +28256,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28256
28256
  SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
28257
28257
 
28258
28258
  if ($elm) {
28259
- const get_attributes = function (retry = 0) {
28260
- if (retry > 500) return;
28261
- $elm?.data()?.xuPanelWrapper?.panelXuAttributes ||
28262
- $elm?.data()?.xuData?.debug_info?.attribute_stat ||
28263
- setTimeout(() => {
28264
- get_attributes(retry + 1);
28265
- }, 500);
28266
- };
28259
+ // const get_attributes = function (retry = 0) {
28260
+ // if (retry > 500) return;
28261
+ // $elm?.data()?.xuPanelWrapper?.panelXuAttributes ||
28262
+ // $elm?.data()?.xuData?.debug_info?.attribute_stat ||
28263
+ // setTimeout(() => {
28264
+ // get_attributes(retry + 1);
28265
+ // }, 500);
28266
+ // };
28267
28267
 
28268
- const attributes = get_attributes();
28268
+ const attributes = $elm?.data()?.xuData?.xuPanelProps || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
28269
28269
  SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
28270
28270
  SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
28271
28271
  }
@@ -32011,6 +32011,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32011
32011
  const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
32012
32012
  let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel');
32013
32013
  ret = { $new_div: ret_panel };
32014
+ $container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
32014
32015
  return ret;
32015
32016
  }
32016
32017