@xuda.io/runtime-bundle 1.0.859 → 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.
@@ -31190,11 +31190,14 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
31190
31190
 
31191
31191
  func.UI.utils.indicator.screen.normal();
31192
31192
 
31193
- for (const [container_xu_ui_id, data] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
31193
+ let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
31194
+
31195
+ for (const [container_xu_ui_id, val] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
31196
+ const height = val.base_$div.height();
31197
+
31194
31198
  debugger;
31195
31199
  }
31196
31200
 
31197
- let ret_screen_loading = await func.UI.screen.screen_loading_done(SESSION_ID, params, ret_render_$container, jobNoP);
31198
31201
  return ret_screen_loading;
31199
31202
  }
31200
31203
  };
@@ -34437,11 +34440,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34437
34440
  const xu_viewport = async function () {
34438
34441
  const data = { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container };
34439
34442
  const container_id = $container.attr('xu-ui-id');
34440
- if (!UI_WORKER_OBJ.pending_for_viewport_render) {
34441
- UI_WORKER_OBJ.pending_for_viewport_render[container_id] = [];
34443
+ if (!UI_WORKER_OBJ.pending_for_viewport_render[container_id]) {
34444
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id] = { base_$div: $div, data: [], $container };
34442
34445
  await iterate_child($div, nodeP, parent_infoP, $root_container);
34443
34446
  }
34444
- UI_WORKER_OBJ.pending_for_viewport_render[container_id].push(data);
34447
+ UI_WORKER_OBJ.pending_for_viewport_render[container_id].data.push(data);
34445
34448
 
34446
34449
  // if (!$div.children().length) {
34447
34450
  // // render the first element to determine height