@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.
|
@@ -27833,9 +27833,9 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
27833
27833
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
27834
27834
|
},
|
|
27835
27835
|
render_viewport: async function () {
|
|
27836
|
-
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP } = queue_obj?.paramsP || {};
|
|
27836
|
+
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
|
|
27837
27837
|
if (nodeP?.children?.length) {
|
|
27838
|
-
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP);
|
|
27838
|
+
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
27839
27839
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
27840
27840
|
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);
|
|
27841
27841
|
}
|
|
@@ -34412,7 +34412,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34412
34412
|
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
34413
34413
|
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
34414
34414
|
$div.on('inViewport', function () {
|
|
34415
|
-
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);
|
|
34415
|
+
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);
|
|
34416
34416
|
// render_child();
|
|
34417
34417
|
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|
|
34418
34418
|
});
|
|
@@ -34469,7 +34469,7 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
34469
34469
|
}
|
|
34470
34470
|
};
|
|
34471
34471
|
|
|
34472
|
-
func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP) {
|
|
34472
|
+
func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP, is_skeleton) {
|
|
34473
34473
|
if (is_skeleton || EXP_BUSY) return;
|
|
34474
34474
|
|
|
34475
34475
|
var _session = SESSION_OBJ[SESSION_ID];
|