@xuda.io/runtime-bundle 1.0.812 → 1.0.814

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.
@@ -27835,13 +27835,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27835
27835
  render_viewport: async function () {
27836
27836
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
27837
27837
  if (nodeP?.children?.length) {
27838
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
27839
- setTimeout(async () => {
27840
- for await (const [key, val] of Object.entries(nodeP.children)) {
27841
- const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
27842
- }
27843
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27844
- }, 1000);
27838
+ // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
27839
+ // setTimeout(async () => {
27840
+ for await (const [key, val] of Object.entries(nodeP.children)) {
27841
+ const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
27842
+ }
27843
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27844
+ // }, 1000);
27845
27845
  }
27846
27846
  },
27847
27847
  };
@@ -34381,7 +34381,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34381
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;