@xuda.io/runtime-bundle 1.0.841 → 1.0.843
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -14096,8 +14096,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14096
14096
|
}
|
|
14097
14097
|
};
|
|
14098
14098
|
|
|
14099
|
-
const hover_in = function ($div) {
|
|
14100
|
-
if (is_skeleton || EXP_BUSY || UI_WORKER_OBJ.jobs.length) return;
|
|
14099
|
+
const hover_in = function ($div, e) {
|
|
14100
|
+
if (is_skeleton || (e && (EXP_BUSY || UI_WORKER_OBJ.jobs.length))) return;
|
|
14101
14101
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
14102
14102
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
14103
14103
|
if (!_ds) return;
|
|
@@ -14726,7 +14726,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14726
14726
|
|
|
14727
14727
|
$div.hover(
|
|
14728
14728
|
function (e) {
|
|
14729
|
-
hover_in($div);
|
|
14729
|
+
hover_in($div, e);
|
|
14730
14730
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
14731
14731
|
},
|
|
14732
14732
|
function (e) {
|
|
@@ -14767,7 +14767,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14767
14767
|
$(entry.target).trigger('outViewport');
|
|
14768
14768
|
|
|
14769
14769
|
// Optional: stop observing once triggered
|
|
14770
|
-
|
|
14770
|
+
observer_outViewport.unobserve(entry.target);
|
|
14771
14771
|
}
|
|
14772
14772
|
});
|
|
14773
14773
|
},
|
|
@@ -11804,8 +11804,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
11804
11804
|
}
|
|
11805
11805
|
};
|
|
11806
11806
|
|
|
11807
|
-
const hover_in = function ($div) {
|
|
11808
|
-
if (is_skeleton || EXP_BUSY || UI_WORKER_OBJ.jobs.length) return;
|
|
11807
|
+
const hover_in = function ($div, e) {
|
|
11808
|
+
if (is_skeleton || (e && (EXP_BUSY || UI_WORKER_OBJ.jobs.length))) return;
|
|
11809
11809
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
11810
11810
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
11811
11811
|
if (!_ds) return;
|
|
@@ -12434,7 +12434,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12434
12434
|
|
|
12435
12435
|
$div.hover(
|
|
12436
12436
|
function (e) {
|
|
12437
|
-
hover_in($div);
|
|
12437
|
+
hover_in($div, e);
|
|
12438
12438
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
12439
12439
|
},
|
|
12440
12440
|
function (e) {
|
|
@@ -12475,7 +12475,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12475
12475
|
$(entry.target).trigger('outViewport');
|
|
12476
12476
|
|
|
12477
12477
|
// Optional: stop observing once triggered
|
|
12478
|
-
|
|
12478
|
+
observer_outViewport.unobserve(entry.target);
|
|
12479
12479
|
}
|
|
12480
12480
|
});
|
|
12481
12481
|
},
|