@xuda.io/runtime-bundle 1.0.808 → 1.0.809
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.
|
@@ -34404,9 +34404,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34404
34404
|
},
|
|
34405
34405
|
);
|
|
34406
34406
|
|
|
34407
|
-
const render_child = async function () {
|
|
34408
|
-
|
|
34409
|
-
};
|
|
34407
|
+
// const render_child = async function () {
|
|
34408
|
+
// await iterate_child($div, nodeP, parent_infoP, $root_container);
|
|
34409
|
+
// };
|
|
34410
34410
|
|
|
34411
34411
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
34412
34412
|
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
@@ -34475,6 +34475,22 @@ func.UI.screen.hover_in = function (SESSION_ID, $div, $container, paramsP, is_sk
|
|
|
34475
34475
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
34476
34476
|
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
34477
34477
|
|
|
34478
|
+
const _$ = function ($elm) {
|
|
34479
|
+
try {
|
|
34480
|
+
const id = $elm.attr('xu-ui-id');
|
|
34481
|
+
if (!id) return $elm;
|
|
34482
|
+
const $el = $(`[xu-ui-id="${id}"]`); // $("#" + id);
|
|
34483
|
+
|
|
34484
|
+
if ($el.length > 1) {
|
|
34485
|
+
console.warn('Multiple elements for xu-ui-id: ' + id, $el);
|
|
34486
|
+
}
|
|
34487
|
+
|
|
34488
|
+
return $($el[0]);
|
|
34489
|
+
} catch (e) {
|
|
34490
|
+
console.error(e);
|
|
34491
|
+
}
|
|
34492
|
+
};
|
|
34493
|
+
|
|
34478
34494
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
34479
34495
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
34480
34496
|
if (!_ds) return;
|