@xuda.io/runtime-bundle 1.0.989 → 1.0.991

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.
@@ -32133,7 +32133,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32133
32133
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
32134
32134
  const init_render = function () {
32135
32135
  if (!value) {
32136
- var cloned_$div = $elm.clone(true, true);
32136
+ var cloned_$div = $elm.clone(true);
32137
32137
 
32138
32138
  let $xurender = $('<xurender>')
32139
32139
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
@@ -32142,6 +32142,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32142
32142
  .appendTo($container)
32143
32143
  .hide();
32144
32144
  let original_data_obj = {
32145
+ not_rendered: true,
32145
32146
  $container: cloned_$div,
32146
32147
  nodeP: _.cloneDeep(nodeP),
32147
32148
  parent_infoP,
@@ -32176,22 +32177,25 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32176
32177
  func.events.delete_job(SESSION_ID, jobNoP);
32177
32178
  return { delete_job: jobNoP };
32178
32179
  }
32179
- // const new_$div = await func.UI.screen.render_ui_tree(
32180
- // SESSION_ID,
32181
- // $elm, //original_data_obj.$container,
32182
- // _.cloneDeep(original_data_obj.nodeP),
32183
- // original_data_obj.parent_infoP,
32184
- // original_data_obj.paramsP,
32185
- // jobNoP,
32186
- // null,
32187
- // original_data_obj.keyP,
32188
- // null,
32189
- // original_data_obj.parent_nodeP,
32190
- // null,
32191
- // original_data_obj.$root_container,
32192
- // );
32193
-
32194
- const new_$div = original_data_obj.$container.clone(true, true);
32180
+
32181
+ let new_$div = original_data_obj.$container.clone(true);
32182
+
32183
+ if (original_data_obj.not_rendered) {
32184
+ new_$div = await func.UI.screen.render_ui_tree(
32185
+ SESSION_ID,
32186
+ $elm, //original_data_obj.$container,
32187
+ _.cloneDeep(original_data_obj.nodeP),
32188
+ original_data_obj.parent_infoP,
32189
+ original_data_obj.paramsP,
32190
+ jobNoP,
32191
+ null,
32192
+ original_data_obj.keyP,
32193
+ null,
32194
+ original_data_obj.parent_nodeP,
32195
+ null,
32196
+ original_data_obj.$root_container,
32197
+ );
32198
+ }
32195
32199
 
32196
32200
  new_$div.data().xuData.original_data_obj = original_data_obj;
32197
32201
  new_$div.data().xuData.xurender_node = $elm.clone(true);
@@ -32252,7 +32256,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32252
32256
  $xurender.data().xuData.original_data_obj = {
32253
32257
  nodeP: _.cloneDeep($elm.data().xuData.node_org),
32254
32258
  paramsP: $elm.data().xuData.paramsP,
32255
- $container: $elm,
32259
+ $container: $elm.clone(true),
32256
32260
  parent_infoP: parent_infoP,
32257
32261
  };
32258
32262
  }