@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.
@@ -8649,6 +8649,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8649
8649
 
8650
8650
  setInterval(async function () {
8651
8651
  func.UI.refs_garbage_collector();
8652
+ func.UI.teleport_garbage_collector();
8652
8653
  }, 1000);
8653
8654
  };
8654
8655
  func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, paramsP, calling_job, elementP, dsSession, calling_trigger_prop) {
@@ -9003,7 +9004,7 @@ func.UI.teleport_garbage_collector = function (SESSION_ID = Object.keys(SESSION_
9003
9004
  return;
9004
9005
  }
9005
9006
 
9006
- const $teleport_elements = $(`[xu-teleport-parent-id='*node-`);
9007
+ const $teleport_elements = $(`[xu-teleport-parent-id^='node-`);
9007
9008
 
9008
9009
  $.each($teleport_elements, (key, val) => {
9009
9010
  const xu_teleport_parent_id = $(val).attr('xu-teleport-parent-id');
@@ -12373,25 +12374,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12373
12374
  // $teleport_elm.data('xuTeleportParentId', );
12374
12375
  $elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
12375
12376
  $teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
12376
- // console.log($teleport_elm);
12377
12377
  }
12378
-
12379
- // // Select the node that will be observed for mutations
12380
- // const targetNode = $elm[0];
12381
-
12382
- // // Options for the observer (which mutations to observe)
12383
- // const config = { attributes: true, childList: true, subtree: true };
12384
-
12385
- // // Callback function to execute when mutations are observed
12386
- // const callback = (mutationList, observer) => {
12387
- // console.log(mutationList, observer);
12388
- // };
12389
-
12390
- // // Create an observer instance linked to the callback function
12391
- // const observer = new MutationObserver(callback);
12392
-
12393
- // // Start observing the target node for configured mutations
12394
- // observer.observe(targetNode, config);
12395
12378
  }
12396
12379
  return { abort: true };
12397
12380
  },
@@ -8650,6 +8650,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8650
8650
 
8651
8651
  setInterval(async function () {
8652
8652
  func.UI.refs_garbage_collector();
8653
+ func.UI.teleport_garbage_collector();
8653
8654
  }, 1000);
8654
8655
  };
8655
8656
  func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, paramsP, calling_job, elementP, dsSession, calling_trigger_prop) {
@@ -9004,7 +9005,7 @@ func.UI.teleport_garbage_collector = function (SESSION_ID = Object.keys(SESSION_
9004
9005
  return;
9005
9006
  }
9006
9007
 
9007
- const $teleport_elements = $(`[xu-teleport-parent-id='*node-`);
9008
+ const $teleport_elements = $(`[xu-teleport-parent-id^='node-`);
9008
9009
 
9009
9010
  $.each($teleport_elements, (key, val) => {
9010
9011
  const xu_teleport_parent_id = $(val).attr('xu-teleport-parent-id');
@@ -10105,25 +10106,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10105
10106
  // $teleport_elm.data('xuTeleportParentId', );
10106
10107
  $elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
10107
10108
  $teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
10108
- // console.log($teleport_elm);
10109
10109
  }
10110
-
10111
- // // Select the node that will be observed for mutations
10112
- // const targetNode = $elm[0];
10113
-
10114
- // // Options for the observer (which mutations to observe)
10115
- // const config = { attributes: true, childList: true, subtree: true };
10116
-
10117
- // // Callback function to execute when mutations are observed
10118
- // const callback = (mutationList, observer) => {
10119
- // console.log(mutationList, observer);
10120
- // };
10121
-
10122
- // // Create an observer instance linked to the callback function
10123
- // const observer = new MutationObserver(callback);
10124
-
10125
- // // Start observing the target node for configured mutations
10126
- // observer.observe(targetNode, config);
10127
10110
  }
10128
10111
  return { abort: true };
10129
10112
  },