@xuda.io/runtime-bundle 1.0.812 → 1.0.813
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
|
@@ -14714,7 +14714,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14714
14714
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
14715
14715
|
},
|
|
14716
14716
|
function (e) {
|
|
14717
|
-
func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
|
|
14717
|
+
// func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
|
|
14718
14718
|
// hover_out();
|
|
14719
14719
|
},
|
|
14720
14720
|
);
|
|
@@ -14905,6 +14905,22 @@ func.UI.screen.hover_out = function (SESSION_ID, $container, is_skeleton, params
|
|
|
14905
14905
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
14906
14906
|
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
14907
14907
|
|
|
14908
|
+
const _$ = function ($elm) {
|
|
14909
|
+
try {
|
|
14910
|
+
const id = $elm.attr('xu-ui-id');
|
|
14911
|
+
if (!id) return $elm;
|
|
14912
|
+
const $el = $(`[xu-ui-id="${id}"]`); // $("#" + id);
|
|
14913
|
+
|
|
14914
|
+
if ($el.length > 1) {
|
|
14915
|
+
console.warn('Multiple elements for xu-ui-id: ' + id, $el);
|
|
14916
|
+
}
|
|
14917
|
+
|
|
14918
|
+
return $($el[0]);
|
|
14919
|
+
} catch (e) {
|
|
14920
|
+
console.error(e);
|
|
14921
|
+
}
|
|
14922
|
+
};
|
|
14923
|
+
|
|
14908
14924
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
14909
14925
|
if (_$($container)?.data()?.xuData?.debug_info) {
|
|
14910
14926
|
_$($container).data().xuData.debug_info.hover_item = null;
|
|
@@ -12422,7 +12422,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12422
12422
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
12423
12423
|
},
|
|
12424
12424
|
function (e) {
|
|
12425
|
-
func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
|
|
12425
|
+
// func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
|
|
12426
12426
|
// hover_out();
|
|
12427
12427
|
},
|
|
12428
12428
|
);
|
|
@@ -12613,6 +12613,22 @@ func.UI.screen.hover_out = function (SESSION_ID, $container, is_skeleton, params
|
|
|
12613
12613
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
12614
12614
|
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
12615
12615
|
|
|
12616
|
+
const _$ = function ($elm) {
|
|
12617
|
+
try {
|
|
12618
|
+
const id = $elm.attr('xu-ui-id');
|
|
12619
|
+
if (!id) return $elm;
|
|
12620
|
+
const $el = $(`[xu-ui-id="${id}"]`); // $("#" + id);
|
|
12621
|
+
|
|
12622
|
+
if ($el.length > 1) {
|
|
12623
|
+
console.warn('Multiple elements for xu-ui-id: ' + id, $el);
|
|
12624
|
+
}
|
|
12625
|
+
|
|
12626
|
+
return $($el[0]);
|
|
12627
|
+
} catch (e) {
|
|
12628
|
+
console.error(e);
|
|
12629
|
+
}
|
|
12630
|
+
};
|
|
12631
|
+
|
|
12616
12632
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
12617
12633
|
if (_$($container)?.data()?.xuData?.debug_info) {
|
|
12618
12634
|
_$($container).data().xuData.debug_info.hover_item = null;
|