@xuda.io/runtime-bundle 1.0.434 → 1.0.435

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.
@@ -8629,7 +8629,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
8629
8629
  };
8630
8630
 
8631
8631
  func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
8632
- const $elm = await func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
8632
+ const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
8633
8633
  var panels_obj = {};
8634
8634
 
8635
8635
  // set panels_obj
@@ -8659,6 +8659,14 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8659
8659
  continue;
8660
8660
  }
8661
8661
 
8662
+ let ids = [];
8663
+
8664
+ $.each($panel_div.children, function (key, val) {
8665
+ if ($(val).data.xuPanelData) {
8666
+ ids.push($(val).attr('xu-ui-id'));
8667
+ }
8668
+ });
8669
+
8662
8670
  panels_obj[xu_ui_id] = {
8663
8671
  // prog_id,
8664
8672
  panelXuAttributes,
@@ -8666,6 +8674,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8666
8674
  prog_doc,
8667
8675
  $panel_div,
8668
8676
  _ds,
8677
+ ids,
8669
8678
  };
8670
8679
  }
8671
8680
  }
@@ -8630,7 +8630,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
8630
8630
  };
8631
8631
 
8632
8632
  func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
8633
- const $elm = await func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
8633
+ const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
8634
8634
  var panels_obj = {};
8635
8635
 
8636
8636
  // set panels_obj
@@ -8660,6 +8660,14 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8660
8660
  continue;
8661
8661
  }
8662
8662
 
8663
+ let ids = [];
8664
+
8665
+ $.each($panel_div.children, function (key, val) {
8666
+ if ($(val).data.xuPanelData) {
8667
+ ids.push($(val).attr('xu-ui-id'));
8668
+ }
8669
+ });
8670
+
8663
8671
  panels_obj[xu_ui_id] = {
8664
8672
  // prog_id,
8665
8673
  panelXuAttributes,
@@ -8667,6 +8675,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8667
8675
  prog_doc,
8668
8676
  $panel_div,
8669
8677
  _ds,
8678
+ ids,
8670
8679
  };
8671
8680
  }
8672
8681
  }