@xuda.io/runtime-bundle 1.0.548 → 1.0.550

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.
@@ -32371,7 +32371,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32371
32371
  // if (val.value) {
32372
32372
  // return {};
32373
32373
  // }
32374
- let ret = await common_fx['xu-render']($elm, val);
32374
+ let ret = await common_fx['xu-render']($elm, val, true);
32375
32375
  return ret;
32376
32376
  },
32377
32377
  'xu-ref': async function ($elm, val) {
@@ -32617,7 +32617,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32617
32617
  set_value();
32618
32618
  return {};
32619
32619
  },
32620
- 'xu-render': async function ($elm, val) {
32620
+ 'xu-render': async function ($elm, val, from_panel) {
32621
32621
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
32622
32622
  const init_render = function () {
32623
32623
  if (!value) {
@@ -32678,7 +32678,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32678
32678
  new_$div.data().xuAttributes = $elm.data().xuAttributes;
32679
32679
 
32680
32680
  const replace = async function () {
32681
- $elm.replaceWith(new_$div);
32681
+ $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
32682
+ if (from_panel) {
32683
+ $elm.data().xuPanelData = new_$div.children().data().xuPanelData;
32684
+ }
32682
32685
 
32683
32686
  if (val.fields_arr) {
32684
32687
  return await func.UI.screen.refresh_xu_attributes(SESSION_ID, val.fields_arr, val.jobNoP, new_$div);