@tanstack/query-devtools 5.21.5 → 5.24.0

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.
@@ -1491,6 +1491,13 @@ function delegateEvents(eventNames, document2 = window.document) {
1491
1491
  }
1492
1492
  }
1493
1493
  }
1494
+ function clearDelegatedEvents(document2 = window.document) {
1495
+ if (document2[$$EVENTS]) {
1496
+ for (let name of document2[$$EVENTS].keys())
1497
+ document2.removeEventListener(name, eventHandler);
1498
+ delete document2[$$EVENTS];
1499
+ }
1500
+ }
1494
1501
  function setAttribute(node, name, value) {
1495
1502
  if (sharedConfig.context)
1496
1503
  return;
@@ -2276,7 +2283,6 @@ var simpleRules = [
2276
2283
  if (typeof BigInt !== "undefined") {
2277
2284
  return BigInt(v);
2278
2285
  }
2279
- console.error("Please add a BigInt polyfill.");
2280
2286
  return v;
2281
2287
  }),
2282
2288
  simpleTransformation(isDate, "Date", function(v) {
@@ -3130,4 +3136,4 @@ var setupStyleSheet = (nonce) => {
3130
3136
  document.head.appendChild(styleTag);
3131
3137
  };
3132
3138
 
3133
- export { $PROXY, $TRACK, DEV, Dynamic, For, Index, Match, Portal, Show, Switch, addEventListener, batch, children, className, convertRemToPixels, createComponent, createComputed, createContext, createEffect, createMemo, createRenderEffect, createRoot, createSignal, createUniqueId, delegateEvents, deleteNestedDataByPath, displayValue, getListener, getMutationStatusColor, getOwner, getPreferredColorScheme, getQueryStatusColor, getQueryStatusColorByLabel, getQueryStatusLabel, getSidedProp, insert, isServer, lazy, mergeProps, mutationSortFns, on, onCleanup, onMount, render, setAttribute, setupStyleSheet, sortFns, splitProps, spread, stringify, template, untrack, updateNestedDataByPath, use, useContext, useTransition };
3139
+ export { $PROXY, $TRACK, DEV, Dynamic, For, Index, Match, Portal, Show, Switch, addEventListener, batch, children, className, clearDelegatedEvents, convertRemToPixels, createComponent, createComputed, createContext, createEffect, createMemo, createRenderEffect, createRoot, createSignal, createUniqueId, delegateEvents, deleteNestedDataByPath, displayValue, getListener, getMutationStatusColor, getOwner, getPreferredColorScheme, getQueryStatusColor, getQueryStatusColorByLabel, getQueryStatusLabel, getSidedProp, insert, isServer, lazy, mergeProps, mutationSortFns, on, onCleanup, onMount, render, setAttribute, setupStyleSheet, sortFns, splitProps, spread, stringify, template, untrack, updateNestedDataByPath, use, useContext, useTransition };
@@ -1493,6 +1493,13 @@ function delegateEvents(eventNames, document2 = window.document) {
1493
1493
  }
1494
1494
  }
1495
1495
  }
1496
+ function clearDelegatedEvents(document2 = window.document) {
1497
+ if (document2[$$EVENTS]) {
1498
+ for (let name of document2[$$EVENTS].keys())
1499
+ document2.removeEventListener(name, eventHandler);
1500
+ delete document2[$$EVENTS];
1501
+ }
1502
+ }
1496
1503
  function setAttribute(node, name, value) {
1497
1504
  if (sharedConfig.context)
1498
1505
  return;
@@ -3175,6 +3182,7 @@ export {
3175
3182
  render,
3176
3183
  template,
3177
3184
  delegateEvents,
3185
+ clearDelegatedEvents,
3178
3186
  setAttribute,
3179
3187
  spread,
3180
3188
  use,
@@ -1491,6 +1491,13 @@ function delegateEvents(eventNames, document2 = window.document) {
1491
1491
  }
1492
1492
  }
1493
1493
  }
1494
+ function clearDelegatedEvents(document2 = window.document) {
1495
+ if (document2[$$EVENTS]) {
1496
+ for (let name of document2[$$EVENTS].keys())
1497
+ document2.removeEventListener(name, eventHandler);
1498
+ delete document2[$$EVENTS];
1499
+ }
1500
+ }
1494
1501
  function setAttribute(node, name, value) {
1495
1502
  if (sharedConfig.context)
1496
1503
  return;
@@ -2276,6 +2283,7 @@ var simpleRules = [
2276
2283
  if (typeof BigInt !== "undefined") {
2277
2284
  return BigInt(v);
2278
2285
  }
2286
+ console.error("Please add a BigInt polyfill.");
2279
2287
  return v;
2280
2288
  }),
2281
2289
  simpleTransformation(isDate, "Date", function(v) {
@@ -3129,4 +3137,4 @@ var setupStyleSheet = (nonce) => {
3129
3137
  document.head.appendChild(styleTag);
3130
3138
  };
3131
3139
 
3132
- export { $PROXY, $TRACK, DEV, Dynamic, For, Index, Match, Portal, Show, Switch, addEventListener, batch, children, className, convertRemToPixels, createComponent, createComputed, createContext, createEffect, createMemo, createRenderEffect, createRoot, createSignal, createUniqueId, delegateEvents, deleteNestedDataByPath, displayValue, getListener, getMutationStatusColor, getOwner, getPreferredColorScheme, getQueryStatusColor, getQueryStatusColorByLabel, getQueryStatusLabel, getSidedProp, insert, isServer, lazy, mergeProps, mutationSortFns, on, onCleanup, onMount, render, setAttribute, setupStyleSheet, sortFns, splitProps, spread, stringify, template, untrack, updateNestedDataByPath, use, useContext, useTransition };
3140
+ export { $PROXY, $TRACK, DEV, Dynamic, For, Index, Match, Portal, Show, Switch, addEventListener, batch, children, className, clearDelegatedEvents, convertRemToPixels, createComponent, createComputed, createContext, createEffect, createMemo, createRenderEffect, createRoot, createSignal, createUniqueId, delegateEvents, deleteNestedDataByPath, displayValue, getListener, getMutationStatusColor, getOwner, getPreferredColorScheme, getQueryStatusColor, getQueryStatusColorByLabel, getQueryStatusLabel, getSidedProp, insert, isServer, lazy, mergeProps, mutationSortFns, on, onCleanup, onMount, render, setAttribute, setupStyleSheet, sortFns, splitProps, spread, stringify, template, untrack, updateNestedDataByPath, use, useContext, useTransition };
@@ -1493,6 +1493,13 @@ function delegateEvents(eventNames, document2 = window.document) {
1493
1493
  }
1494
1494
  }
1495
1495
  }
1496
+ function clearDelegatedEvents(document2 = window.document) {
1497
+ if (document2[$$EVENTS]) {
1498
+ for (let name of document2[$$EVENTS].keys())
1499
+ document2.removeEventListener(name, eventHandler);
1500
+ delete document2[$$EVENTS];
1501
+ }
1502
+ }
1496
1503
  function setAttribute(node, name, value) {
1497
1504
  if (sharedConfig.context)
1498
1505
  return;
@@ -3174,6 +3181,7 @@ export {
3174
3181
  render,
3175
3182
  template,
3176
3183
  delegateEvents,
3184
+ clearDelegatedEvents,
3177
3185
  setAttribute,
3178
3186
  spread,
3179
3187
  use,