@xuda.io/runtime-bundle 1.0.547 → 1.0.549

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.
@@ -12680,7 +12680,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12680
12680
  // if (val.value) {
12681
12681
  // return {};
12682
12682
  // }
12683
- let ret = await common_fx['xu-render']($elm, val);
12683
+ let ret = await common_fx['xu-render']($elm, val, true);
12684
12684
  return ret;
12685
12685
  },
12686
12686
  'xu-ref': async function ($elm, val) {
@@ -12926,7 +12926,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12926
12926
  set_value();
12927
12927
  return {};
12928
12928
  },
12929
- 'xu-render': async function ($elm, val) {
12929
+ 'xu-render': async function ($elm, val, from_panel) {
12930
12930
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
12931
12931
  const init_render = function () {
12932
12932
  if (!value) {
@@ -12987,7 +12987,7 @@ 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(new_$div);
12990
+ $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
12991
12991
 
12992
12992
  if (val.fields_arr) {
12993
12993
  return await func.UI.screen.refresh_xu_attributes(SESSION_ID, val.fields_arr, val.jobNoP, new_$div);
@@ -10412,7 +10412,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10412
10412
  // if (val.value) {
10413
10413
  // return {};
10414
10414
  // }
10415
- let ret = await common_fx['xu-render']($elm, val);
10415
+ let ret = await common_fx['xu-render']($elm, val, true);
10416
10416
  return ret;
10417
10417
  },
10418
10418
  'xu-ref': async function ($elm, val) {
@@ -10658,7 +10658,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10658
10658
  set_value();
10659
10659
  return {};
10660
10660
  },
10661
- 'xu-render': async function ($elm, val) {
10661
+ 'xu-render': async function ($elm, val, from_panel) {
10662
10662
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
10663
10663
  const init_render = function () {
10664
10664
  if (!value) {
@@ -10719,7 +10719,7 @@ 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(new_$div);
10722
+ $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
10723
10723
 
10724
10724
  if (val.fields_arr) {
10725
10725
  return await func.UI.screen.refresh_xu_attributes(SESSION_ID, val.fields_arr, val.jobNoP, new_$div);