@xuda.io/runtime-bundle 1.0.315 → 1.0.317

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.
@@ -31565,6 +31565,14 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
31565
31565
  func.UI.main.embed_prog_execute(SESSION_ID, prog);
31566
31566
  };
31567
31567
  func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession) {
31568
+ if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
31569
+ // let dom to finish
31570
+ setTimeout(() => {
31571
+ func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession);
31572
+ }, 100);
31573
+ return;
31574
+ }
31575
+
31568
31576
  var selectors = {};
31569
31577
  var search_from = 'body';
31570
31578
  var new_job = jobNoP;
@@ -31629,9 +31637,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31629
31637
 
31630
31638
  get_selectors();
31631
31639
 
31632
- if (_.isEmpty(selectors)) {
31633
- }
31634
-
31635
31640
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
31636
31641
  if (elem_key === 'length') break;
31637
31642
 
@@ -31660,7 +31665,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31660
31665
  if (!elem_val?.$elm?.data()?.xuAttributes) continue;
31661
31666
 
31662
31667
  if (elem_val.attributes.includes('xu-exp:xu-render')) {
31663
- debugger;
31664
31668
  var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
31665
31669
 
31666
31670
  var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
@@ -34239,11 +34243,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34239
34243
  // var id = $div.attr('id');
34240
34244
  // }
34241
34245
 
34242
- if (!_session.running_$div) {
34243
- _session.running_$div = [];
34244
- }
34246
+ // if (!_session.running_$div) {
34247
+ // _session.running_$div = [];
34248
+ // }
34245
34249
 
34246
- _session.running_$div.push($wrapper);
34250
+ // _session.running_$div.push($wrapper);
34247
34251
 
34248
34252
  if (!$div) return;
34249
34253