@xuda.io/runtime-bundle 1.0.811 → 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.
@@ -34378,10 +34378,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34378
34378
  $div.hover(
34379
34379
  function (e) {
34380
34380
  // hover_in($div);
34381
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
34381
+ // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
34382
34382
  },
34383
34383
  function (e) {
34384
- func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
34384
+ // func.UI.screen.hover_out(SESSION_ID, $container, is_skeleton, paramsP);
34385
34385
  // hover_out();
34386
34386
  },
34387
34387
  );
@@ -34572,6 +34572,22 @@ func.UI.screen.hover_out = function (SESSION_ID, $container, is_skeleton, params
34572
34572
  var _session = SESSION_OBJ[SESSION_ID];
34573
34573
  var _ds = _session.DS_GLB[paramsP.dsSessionP];
34574
34574
 
34575
+ const _$ = function ($elm) {
34576
+ try {
34577
+ const id = $elm.attr('xu-ui-id');
34578
+ if (!id) return $elm;
34579
+ const $el = $(`[xu-ui-id="${id}"]`); // $("#" + id);
34580
+
34581
+ if ($el.length > 1) {
34582
+ console.warn('Multiple elements for xu-ui-id: ' + id, $el);
34583
+ }
34584
+
34585
+ return $($el[0]);
34586
+ } catch (e) {
34587
+ console.error(e);
34588
+ }
34589
+ };
34590
+
34575
34591
  CLIENT_ACTIVITY_TS = Date.now();
34576
34592
  if (_$($container)?.data()?.xuData?.debug_info) {
34577
34593
  _$($container).data().xuData.debug_info.hover_item = null;