@xuda.io/runtime-bundle 1.0.860 → 1.0.861

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.
@@ -11523,11 +11523,14 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
11523
11523
 
11524
11524
  func.UI.utils.indicator.screen.normal();
11525
11525
 
11526
- for (const [container_xu_ui_id, data] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
11526
+ let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
11527
+
11528
+ for (const [container_xu_ui_id, val] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
11529
+ const height = val.base_$div.height();
11530
+
11527
11531
  debugger;
11528
11532
  }
11529
11533
 
11530
- let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
11531
11534
  return ret_screen_loading;
11532
11535
  }
11533
11536
  };
@@ -14771,10 +14774,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14771
14774
  const data = { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container };
14772
14775
  const container_id = $container.attr('xu-ui-id');
14773
14776
  if (!UI_WORKER_OBJ.pending_for_viewport_render[container_id]) {
14774
- UI_WORKER_OBJ.pending_for_viewport_render[container_id] = [];
14777
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id] = { base_$div: $div, data: [], $container };
14775
14778
  await iterate_child($div, nodeP, parent_infoP, $root_container);
14776
14779
  }
14777
- UI_WORKER_OBJ.pending_for_viewport_render[container_id].push(data);
14780
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id].data.push(data);
14778
14781
 
14779
14782
  // if (!$div.children().length) {
14780
14783
  // // render the first element to determine height
@@ -9231,11 +9231,14 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
9231
9231
 
9232
9232
  func.UI.utils.indicator.screen.normal();
9233
9233
 
9234
- for (const [container_xu_ui_id, data] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
9234
+ let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
9235
+
9236
+ for (const [container_xu_ui_id, val] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
9237
+ const height = val.base_$div.height();
9238
+
9235
9239
  debugger;
9236
9240
  }
9237
9241
 
9238
- let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
9239
9242
  return ret_screen_loading;
9240
9243
  }
9241
9244
  };
@@ -12479,10 +12482,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12479
12482
  const data = { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container };
12480
12483
  const container_id = $container.attr('xu-ui-id');
12481
12484
  if (!UI_WORKER_OBJ.pending_for_viewport_render[container_id]) {
12482
- UI_WORKER_OBJ.pending_for_viewport_render[container_id] = [];
12485
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id] = { base_$div: $div, data: [], $container };
12483
12486
  await iterate_child($div, nodeP, parent_infoP, $root_container);
12484
12487
  }
12485
- UI_WORKER_OBJ.pending_for_viewport_render[container_id].push(data);
12488
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id].data.push(data);
12486
12489
 
12487
12490
  // if (!$div.children().length) {
12488
12491
  // // render the first element to determine height