@xuda.io/runtime-bundle 1.0.574 → 1.0.576

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.
@@ -27574,6 +27574,7 @@ func.UI.worker.init = async function (SESSION_ID) {
27574
27574
 
27575
27575
  setInterval(async function () {
27576
27576
  func.UI.refs_garbage_collector();
27577
+ func.UI.teleport_garbage_collector();
27577
27578
  }, 1000);
27578
27579
  };
27579
27580
  func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, paramsP, calling_job, elementP, dsSession, calling_trigger_prop) {
@@ -27928,7 +27929,7 @@ func.UI.teleport_garbage_collector = function (SESSION_ID = Object.keys(SESSION_
27928
27929
  return;
27929
27930
  }
27930
27931
 
27931
- const $teleport_elements = $(`[xu-teleport-parent-id='*node-`);
27932
+ const $teleport_elements = $(`[xu-teleport-parent-id^='node-`);
27932
27933
 
27933
27934
  $.each($teleport_elements, (key, val) => {
27934
27935
  const xu_teleport_parent_id = $(val).attr('xu-teleport-parent-id');
@@ -32064,25 +32065,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32064
32065
  // $teleport_elm.data('xuTeleportParentId', );
32065
32066
  $elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
32066
32067
  $teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
32067
- // console.log($teleport_elm);
32068
32068
  }
32069
-
32070
- // // Select the node that will be observed for mutations
32071
- // const targetNode = $elm[0];
32072
-
32073
- // // Options for the observer (which mutations to observe)
32074
- // const config = { attributes: true, childList: true, subtree: true };
32075
-
32076
- // // Callback function to execute when mutations are observed
32077
- // const callback = (mutationList, observer) => {
32078
- // console.log(mutationList, observer);
32079
- // };
32080
-
32081
- // // Create an observer instance linked to the callback function
32082
- // const observer = new MutationObserver(callback);
32083
-
32084
- // // Start observing the target node for configured mutations
32085
- // observer.observe(targetNode, config);
32086
32069
  }
32087
32070
  return { abort: true };
32088
32071
  },