@xuda.io/runtime-bundle 1.0.551 → 1.0.553

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.
@@ -12987,9 +12987,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12987
12987
  new_$div.data().xuAttributes = $elm.data().xuAttributes;
12988
12988
 
12989
12989
  const replace = async function () {
12990
- $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
12990
+ $elm.replaceWith(new_$div);
12991
12991
  if (from_panel) {
12992
- $elm.data().xuPanelData = new_$div.data().xuPanelData;
12992
+ const xuPanelWrapper = _.clone(new_$div.data().xuPanelWrapper);
12993
+ $elm.replaceWith(new_$div.children());
12994
+ $elm.parent().data().xuPanelWrapper = xuPanelWrapper;
12993
12995
  }
12994
12996
 
12995
12997
  if (val.fields_arr) {
@@ -10719,9 +10719,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10719
10719
  new_$div.data().xuAttributes = $elm.data().xuAttributes;
10720
10720
 
10721
10721
  const replace = async function () {
10722
- $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
10722
+ $elm.replaceWith(new_$div);
10723
10723
  if (from_panel) {
10724
- $elm.data().xuPanelData = new_$div.data().xuPanelData;
10724
+ const xuPanelWrapper = _.clone(new_$div.data().xuPanelWrapper);
10725
+ $elm.replaceWith(new_$div.children());
10726
+ $elm.parent().data().xuPanelWrapper = xuPanelWrapper;
10725
10727
  }
10726
10728
 
10727
10729
  if (val.fields_arr) {