@xuda.io/runtime-bundle 1.0.470 → 1.0.472

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.
@@ -32011,9 +32011,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32011
32011
 
32012
32012
  ret = await render_panel();
32013
32013
 
32014
- // if (val.value) {
32015
- // ret = await render_panel();
32016
- // }
32017
32014
  return ret;
32018
32015
  };
32019
32016
  const alter_program = async function () {
@@ -32079,7 +32076,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32079
32076
  return ret;
32080
32077
  },
32081
32078
  'xu-ref': async function ($elm, val) {
32082
- let ret = await common_fx['xu-ref']($elm, val);
32079
+ const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
32080
+ let ret = await common_fx['xu-ref']($wrapper, val);
32083
32081
  return ret;
32084
32082
  },
32085
32083
  },
@@ -33111,7 +33109,7 @@ func.UI.screen.panel_post_render_handler = async function (
33111
33109
  var $old_panel_div = find_old_panels_elements();
33112
33110
  const set_xuPanelData_to_the_new_rendered_items = () => {
33113
33111
  $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
33114
- $container.attr('xuPanelWrapperId', $wrapper.attr('xu-ui-id'));
33112
+ $container.attr('xu-panel-wrapper-id', $wrapper.attr('xu-ui-id'));
33115
33113
  $.each($wrapper.children(), function (key, val) {
33116
33114
  if (!$(val).data().xuPanelData) {
33117
33115
  $(val).data().xuPanelData = {};