@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.
@@ -8745,13 +8745,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8745
8745
  render_viewport: async function () {
8746
8746
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8747
8747
  if (nodeP?.children?.length) {
8748
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8749
- setTimeout(async () => {
8750
- for await (const [key, val] of Object.entries(nodeP.children)) {
8751
- 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);
8752
- }
8753
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8754
- }, 1000);
8748
+ // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8749
+ // setTimeout(async () => {
8750
+ for await (const [key, val] of Object.entries(nodeP.children)) {
8751
+ 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);
8752
+ }
8753
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8754
+ // }, 1000);
8755
8755
  }
8756
8756
  },
8757
8757
  };
@@ -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;
@@ -8746,13 +8746,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8746
8746
  render_viewport: async function () {
8747
8747
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8748
8748
  if (nodeP?.children?.length) {
8749
- func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8750
- setTimeout(async () => {
8751
- for await (const [key, val] of Object.entries(nodeP.children)) {
8752
- 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);
8753
- }
8754
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8755
- }, 1000);
8749
+ // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8750
+ // setTimeout(async () => {
8751
+ for await (const [key, val] of Object.entries(nodeP.children)) {
8752
+ 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);
8753
+ }
8754
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8755
+ // }, 1000);
8756
8756
  }
8757
8757
  },
8758
8758
  };
@@ -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;