@xuda.io/runtime-bundle 1.0.628 → 1.0.630

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.
@@ -13248,7 +13248,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13248
13248
  continue;
13249
13249
  }
13250
13250
 
13251
- if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
13251
+ // if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
13252
+ // continue;
13253
+ // }
13254
+
13255
+ if (_.isEmpty(nodeP.attributes)) {
13252
13256
  continue;
13253
13257
  }
13254
13258
 
@@ -14557,16 +14561,18 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14557
14561
  return (ret.$new_div = $('<template>').append($div));
14558
14562
  }
14559
14563
 
14560
- let ret_done = await done(ret.$new_div);
14564
+ let $ret_panel_div = ret.$new_div;
14561
14565
 
14562
- return ret_done;
14563
-
14564
- ////// render default children tree
14565
- if (nodeP.children.length) {
14566
- const default_children_ret = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
14567
- debugger;
14568
- await done(default_children_ret);
14566
+ if (!$ret_panel_div.children().length) {
14567
+ ////// render default children tree
14568
+ if (nodeP.children.length) {
14569
+ $ret_panel_div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
14570
+ }
14569
14571
  }
14572
+
14573
+ let ret_done = await done($ret_panel_div);
14574
+
14575
+ return ret_done;
14570
14576
  },
14571
14577
  };
14572
14578
 
@@ -10979,7 +10979,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10979
10979
  continue;
10980
10980
  }
10981
10981
 
10982
- if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
10982
+ // if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
10983
+ // continue;
10984
+ // }
10985
+
10986
+ if (_.isEmpty(nodeP.attributes)) {
10983
10987
  continue;
10984
10988
  }
10985
10989
 
@@ -12288,16 +12292,18 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12288
12292
  return (ret.$new_div = $('<template>').append($div));
12289
12293
  }
12290
12294
 
12291
- let ret_done = await done(ret.$new_div);
12295
+ let $ret_panel_div = ret.$new_div;
12292
12296
 
12293
- return ret_done;
12294
-
12295
- ////// render default children tree
12296
- if (nodeP.children.length) {
12297
- const default_children_ret = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
12298
- debugger;
12299
- await done(default_children_ret);
12297
+ if (!$ret_panel_div.children().length) {
12298
+ ////// render default children tree
12299
+ if (nodeP.children.length) {
12300
+ $ret_panel_div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
12301
+ }
12300
12302
  }
12303
+
12304
+ let ret_done = await done($ret_panel_div);
12305
+
12306
+ return ret_done;
12301
12307
  },
12302
12308
  };
12303
12309