@xuda.io/runtime-bundle 1.0.955 → 1.0.957

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.
@@ -31478,6 +31478,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31478
31478
 
31479
31479
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31480
31480
  // const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
31481
+ if (!panel_val.$panel_div?.data()?.xuData) continue;
31481
31482
 
31482
31483
  if (panel_val.$panel_div.data().xuData.pending_to_delete) continue;
31483
31484
 
@@ -33230,11 +33231,12 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
33230
33231
  }
33231
33232
  };
33232
33233
  func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
33233
- console.log($div.attr('xu-ui-id'));
33234
+ // console.log($div.attr('xu-ui-id'));
33235
+
33234
33236
  // await
33235
33237
  let retries = 0;
33236
33238
  let interval = setInterval(() => {
33237
- if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id')) {
33239
+ if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && !$div.attr('xu-ui-id') && $div.attr('xu-ui-id')) {
33238
33240
  retries++;
33239
33241
  if (retries > 100) {
33240
33242
  console.warn('deadlock detected for screen ready');