@xuda.io/runtime-bundle 1.0.468 → 1.0.469

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.
@@ -28232,8 +28232,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
28232
28232
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
28233
28233
 
28234
28234
  for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
28235
- // if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
28236
- if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length) {
28235
+ if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length && !$(`[xuPanelWrapperId='${val.xu_ui_id}`)?.length) {
28237
28236
  delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
28238
28237
  }
28239
28238
  }
@@ -32006,14 +32005,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32006
32005
  return ret;
32007
32006
  }
32008
32007
 
32009
- // async function render_empty_panel() {
32010
- // let ret_panel = $elm.append("<span>");
32011
- // return { $new_div: ret_panel };
32012
- // }
32013
32008
  if (!val.value) {
32014
- // return render_empty_panel();
32015
32009
  val.value = '_empty_panel_program';
32016
- // return { abort: true, program_null: true };
32017
32010
  }
32018
32011
 
32019
32012
  ret = await render_panel();
@@ -33117,7 +33110,8 @@ func.UI.screen.panel_post_render_handler = async function (
33117
33110
  };
33118
33111
  var $old_panel_div = find_old_panels_elements();
33119
33112
  const set_xuPanelData_to_the_new_rendered_items = () => {
33120
- $container.data().xuPanelWrapper = { isWrapper: true, panelWrapperId: $wrapper.attr('xu-ui-id'), panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
33113
+ $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
33114
+ $container.attr().xuPanelWrapperId = $wrapper.attr('xu-ui-id');
33121
33115
  $.each($wrapper.children(), function (key, val) {
33122
33116
  if (!$(val).data().xuPanelData) {
33123
33117
  $(val).data().xuPanelData = {};