@xuda.io/runtime-bundle 1.0.839 → 1.0.841
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.
|
@@ -33764,7 +33764,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33764
33764
|
};
|
|
33765
33765
|
|
|
33766
33766
|
const hover_in = function ($div) {
|
|
33767
|
-
if (is_skeleton || EXP_BUSY) return;
|
|
33767
|
+
if (is_skeleton || EXP_BUSY || UI_WORKER_OBJ.jobs.length) return;
|
|
33768
33768
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
33769
33769
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
33770
33770
|
if (!_ds) return;
|
|
@@ -33774,7 +33774,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33774
33774
|
attributes[attr.name] = attr.value;
|
|
33775
33775
|
});
|
|
33776
33776
|
|
|
33777
|
-
|
|
33777
|
+
_session.DS_GLB[0].data_system.SYS_OBJ_WIN_ELEMENT_HOVERED_ATTRIBUTES = attributes;
|
|
33778
33778
|
//////////////////////////////////
|
|
33779
33779
|
if (!$div.data()?.xuData) return;
|
|
33780
33780
|
const _iterate_info = $div.data().xuData.iterate_info;
|
|
@@ -34448,23 +34448,22 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34448
34448
|
// };
|
|
34449
34449
|
|
|
34450
34450
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
34451
|
-
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
34452
|
-
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
34453
34451
|
$div.on('inViewport', function () {
|
|
34454
|
-
if ($div.children().length)
|
|
34452
|
+
if ($div.children().length) {
|
|
34453
|
+
// const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
34454
|
+
return;
|
|
34455
|
+
}
|
|
34455
34456
|
|
|
34456
34457
|
hover_in($div);
|
|
34457
34458
|
|
|
34458
|
-
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
34459
34459
|
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);
|
|
34460
|
-
|
|
34461
|
-
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|
|
34460
|
+
|
|
34462
34461
|
observer_outViewport.observe($div[0]);
|
|
34463
34462
|
});
|
|
34464
34463
|
|
|
34465
34464
|
$div.on('outViewport', function () {
|
|
34466
|
-
|
|
34467
|
-
|
|
34465
|
+
$div.empty();
|
|
34466
|
+
observer_inViewport.observe($div[0]);
|
|
34468
34467
|
});
|
|
34469
34468
|
|
|
34470
34469
|
observer_inViewport.observe($div[0]);
|