@xuda.io/runtime-bundle 1.0.840 → 1.0.842
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) return;
|
|
14099
|
+
const hover_in = function ($div, e) {
|
|
14100
|
+
if (e && (is_skeleton || 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;
|
|
@@ -14107,7 +14107,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14107
14107
|
attributes[attr.name] = attr.value;
|
|
14108
14108
|
});
|
|
14109
14109
|
|
|
14110
|
-
|
|
14110
|
+
_session.DS_GLB[0].data_system.SYS_OBJ_WIN_ELEMENT_HOVERED_ATTRIBUTES = attributes;
|
|
14111
14111
|
//////////////////////////////////
|
|
14112
14112
|
if (!$div.data()?.xuData) return;
|
|
14113
14113
|
const _iterate_info = $div.data().xuData.iterate_info;
|
|
@@ -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) {
|
|
@@ -14783,7 +14783,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14783
14783
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
14784
14784
|
$div.on('inViewport', function () {
|
|
14785
14785
|
if ($div.children().length) {
|
|
14786
|
-
const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
14786
|
+
// const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
14787
14787
|
return;
|
|
14788
14788
|
}
|
|
14789
14789
|
|
|
@@ -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) return;
|
|
11807
|
+
const hover_in = function ($div, e) {
|
|
11808
|
+
if (e && (is_skeleton || 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;
|
|
@@ -11815,7 +11815,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
11815
11815
|
attributes[attr.name] = attr.value;
|
|
11816
11816
|
});
|
|
11817
11817
|
|
|
11818
|
-
|
|
11818
|
+
_session.DS_GLB[0].data_system.SYS_OBJ_WIN_ELEMENT_HOVERED_ATTRIBUTES = attributes;
|
|
11819
11819
|
//////////////////////////////////
|
|
11820
11820
|
if (!$div.data()?.xuData) return;
|
|
11821
11821
|
const _iterate_info = $div.data().xuData.iterate_info;
|
|
@@ -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) {
|
|
@@ -12491,7 +12491,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12491
12491
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
12492
12492
|
$div.on('inViewport', function () {
|
|
12493
12493
|
if ($div.children().length) {
|
|
12494
|
-
const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
12494
|
+
// const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
12495
12495
|
return;
|
|
12496
12496
|
}
|
|
12497
12497
|
|