@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.
@@ -11979,9 +11979,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11979
11979
 
11980
11980
  ret = await render_panel();
11981
11981
 
11982
- // if (val.value) {
11983
- // ret = await render_panel();
11984
- // }
11985
11982
  return ret;
11986
11983
  };
11987
11984
  const alter_program = async function () {
@@ -12047,7 +12044,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12047
12044
  return ret;
12048
12045
  },
12049
12046
  'xu-ref': async function ($elm, val) {
12050
- let ret = await common_fx['xu-ref']($elm, val);
12047
+ const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
12048
+ let ret = await common_fx['xu-ref']($wrapper, val);
12051
12049
  return ret;
12052
12050
  },
12053
12051
  },
@@ -13079,7 +13077,7 @@ func.UI.screen.panel_post_render_handler = async function (
13079
13077
  var $old_panel_div = find_old_panels_elements();
13080
13078
  const set_xuPanelData_to_the_new_rendered_items = () => {
13081
13079
  $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
13082
- $container.attr('xuPanelWrapperId', $wrapper.attr('xu-ui-id'));
13080
+ $container.attr('xu-panel-wrapper-id', $wrapper.attr('xu-ui-id'));
13083
13081
  $.each($wrapper.children(), function (key, val) {
13084
13082
  if (!$(val).data().xuPanelData) {
13085
13083
  $(val).data().xuPanelData = {};
@@ -10052,9 +10052,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10052
10052
 
10053
10053
  ret = await render_panel();
10054
10054
 
10055
- // if (val.value) {
10056
- // ret = await render_panel();
10057
- // }
10058
10055
  return ret;
10059
10056
  };
10060
10057
  const alter_program = async function () {
@@ -10120,7 +10117,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10120
10117
  return ret;
10121
10118
  },
10122
10119
  'xu-ref': async function ($elm, val) {
10123
- let ret = await common_fx['xu-ref']($elm, val);
10120
+ const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
10121
+ let ret = await common_fx['xu-ref']($wrapper, val);
10124
10122
  return ret;
10125
10123
  },
10126
10124
  },
@@ -11152,7 +11150,7 @@ func.UI.screen.panel_post_render_handler = async function (
11152
11150
  var $old_panel_div = find_old_panels_elements();
11153
11151
  const set_xuPanelData_to_the_new_rendered_items = () => {
11154
11152
  $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
11155
- $container.attr('xuPanelWrapperId', $wrapper.attr('xu-ui-id'));
11153
+ $container.attr('xu-panel-wrapper-id', $wrapper.attr('xu-ui-id'));
11156
11154
  $.each($wrapper.children(), function (key, val) {
11157
11155
  if (!$(val).data().xuPanelData) {
11158
11156
  $(val).data().xuPanelData = {};