@xuda.io/runtime-bundle 1.0.806 → 1.0.808

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.
@@ -8743,9 +8743,9 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8743
8743
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8744
8744
  },
8745
8745
  render_viewport: async function () {
8746
- const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP } = queue_obj?.paramsP || {};
8746
+ const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8747
8747
  if (nodeP?.children?.length) {
8748
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP);
8748
+ func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8749
8749
  for await (const [key, val] of Object.entries(nodeP.children)) {
8750
8750
  const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
8751
8751
  }
@@ -14745,7 +14745,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14745
14745
  // console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
14746
14746
  // $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
14747
14747
  $div.on('inViewport', function () {
14748
- func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP }, null, null, paramsP.dsSessionP);
14748
+ func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
14749
14749
  // render_child();
14750
14750
  // iterate_child($div, nodeP, parent_infoP, null, $root_container);
14751
14751
  });
@@ -14802,7 +14802,7 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
14802
14802
  }
14803
14803
  };
14804
14804
 
14805
- func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP) {
14805
+ func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP, is_skeleton) {
14806
14806
  if (is_skeleton || EXP_BUSY) return;
14807
14807
 
14808
14808
  var _session = SESSION_OBJ[SESSION_ID];
@@ -8744,9 +8744,9 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8744
8744
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8745
8745
  },
8746
8746
  render_viewport: async function () {
8747
- const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP } = queue_obj?.paramsP || {};
8747
+ const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8748
8748
  if (nodeP?.children?.length) {
8749
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP);
8749
+ func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8750
8750
  for await (const [key, val] of Object.entries(nodeP.children)) {
8751
8751
  const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
8752
8752
  }
@@ -12453,7 +12453,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12453
12453
  // console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
12454
12454
  // $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
12455
12455
  $div.on('inViewport', function () {
12456
- func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP }, null, null, paramsP.dsSessionP);
12456
+ func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
12457
12457
  // render_child();
12458
12458
  // iterate_child($div, nodeP, parent_infoP, null, $root_container);
12459
12459
  });
@@ -12510,7 +12510,7 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
12510
12510
  }
12511
12511
  };
12512
12512
 
12513
- func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP) {
12513
+ func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP, is_skeleton) {
12514
12514
  if (is_skeleton || EXP_BUSY) return;
12515
12515
 
12516
12516
  var _session = SESSION_OBJ[SESSION_ID];