@tanstack/query-devtools 5.92.0 → 5.93.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.
- package/build/DevtoolsComponent/{CDWEKZTF.js → B5PP2USH.js} +2 -2
- package/build/DevtoolsComponent/{WDYDFRGG.js → BAGVG3AX.js} +2 -2
- package/build/DevtoolsPanelComponent/{2SSKDMRQ.js → KZB72KQG.js} +2 -2
- package/build/DevtoolsPanelComponent/{5A54IY5X.js → WI32IQVE.js} +2 -2
- package/build/chunk/{CXOMC62J.js → 6FXOYLZD.js} +4 -4
- package/build/chunk/{EIDV623S.js → 73LUVHE2.js} +4 -4
- package/build/chunk/{LZRB7T7H.js → HNLWDMU5.js} +4 -3
- package/build/chunk/{AP7HFJJL.js → NITRNJ62.js} +4 -3
- package/build/dev.cjs +8 -7
- package/build/dev.js +3 -3
- package/build/index.cjs +8 -7
- package/build/index.js +3 -3
- package/package.json +2 -2
- package/src/Devtools.tsx +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/
|
|
2
|
-
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/
|
|
1
|
+
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/HNLWDMU5.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/6FXOYLZD.js';
|
|
3
3
|
|
|
4
4
|
// src/DevtoolsComponent.tsx
|
|
5
5
|
var DevtoolsComponent = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/
|
|
2
|
-
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/
|
|
1
|
+
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/NITRNJ62.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/73LUVHE2.js';
|
|
3
3
|
|
|
4
4
|
// src/DevtoolsComponent.tsx
|
|
5
5
|
var DevtoolsComponent = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/
|
|
2
|
-
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/
|
|
1
|
+
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/NITRNJ62.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/73LUVHE2.js';
|
|
3
3
|
|
|
4
4
|
// src/DevtoolsPanelComponent.tsx
|
|
5
5
|
var DevtoolsPanelComponent = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/
|
|
2
|
-
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/
|
|
1
|
+
import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/HNLWDMU5.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/6FXOYLZD.js';
|
|
3
3
|
|
|
4
4
|
// src/DevtoolsPanelComponent.tsx
|
|
5
5
|
var DevtoolsPanelComponent = (props) => {
|
|
@@ -27,9 +27,9 @@ function nextHydrateContext() {
|
|
|
27
27
|
}
|
|
28
28
|
var IS_DEV = false;
|
|
29
29
|
var equalFn = (a, b) => a === b;
|
|
30
|
-
var $PROXY = Symbol("solid-proxy");
|
|
30
|
+
var $PROXY = /* @__PURE__ */ Symbol("solid-proxy");
|
|
31
31
|
var SUPPORTS_PROXY = typeof Proxy === "function";
|
|
32
|
-
var $TRACK = Symbol("solid-track");
|
|
32
|
+
var $TRACK = /* @__PURE__ */ Symbol("solid-track");
|
|
33
33
|
var signalOptions = {
|
|
34
34
|
equals: equalFn
|
|
35
35
|
};
|
|
@@ -344,7 +344,7 @@ function useTransition() {
|
|
|
344
344
|
return [transPending, startTransition];
|
|
345
345
|
}
|
|
346
346
|
function createContext(defaultValue, options) {
|
|
347
|
-
const id = Symbol("context");
|
|
347
|
+
const id = /* @__PURE__ */ Symbol("context");
|
|
348
348
|
return {
|
|
349
349
|
id,
|
|
350
350
|
Provider: createProvider(id),
|
|
@@ -775,7 +775,7 @@ function createProvider(id, options) {
|
|
|
775
775
|
return res;
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
|
-
var FALLBACK = Symbol("fallback");
|
|
778
|
+
var FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
779
779
|
function dispose(d) {
|
|
780
780
|
for (let i = 0; i < d.length; i++) d[i]();
|
|
781
781
|
}
|
|
@@ -27,9 +27,9 @@ function nextHydrateContext() {
|
|
|
27
27
|
}
|
|
28
28
|
var IS_DEV = false;
|
|
29
29
|
var equalFn = (a, b) => a === b;
|
|
30
|
-
var $PROXY = Symbol("solid-proxy");
|
|
30
|
+
var $PROXY = /* @__PURE__ */ Symbol("solid-proxy");
|
|
31
31
|
var SUPPORTS_PROXY = typeof Proxy === "function";
|
|
32
|
-
var $TRACK = Symbol("solid-track");
|
|
32
|
+
var $TRACK = /* @__PURE__ */ Symbol("solid-track");
|
|
33
33
|
var signalOptions = {
|
|
34
34
|
equals: equalFn
|
|
35
35
|
};
|
|
@@ -344,7 +344,7 @@ function useTransition() {
|
|
|
344
344
|
return [transPending, startTransition];
|
|
345
345
|
}
|
|
346
346
|
function createContext(defaultValue, options) {
|
|
347
|
-
const id = Symbol("context");
|
|
347
|
+
const id = /* @__PURE__ */ Symbol("context");
|
|
348
348
|
return {
|
|
349
349
|
id,
|
|
350
350
|
Provider: createProvider(id),
|
|
@@ -775,7 +775,7 @@ function createProvider(id, options) {
|
|
|
775
775
|
return res;
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
|
-
var FALLBACK = Symbol("fallback");
|
|
778
|
+
var FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
779
779
|
function dispose(d) {
|
|
780
780
|
for (let i = 0; i < d.length; i++) d[i]();
|
|
781
781
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sortFns, mutationSortFns, createContext, splitProps, createMemo, createComponent, mergeProps, createUniqueId, createSignal, createEffect, onCleanup, Show, on, delegateEvents, Dynamic, useContext, template, createRenderEffect, setAttribute, memo, Portal, untrack, isServer, onMount, createComputed, getOwner, use, insert, className, getSidedProp, convertRemToPixels, getQueryStatusColor, getMutationStatusColor, getQueryStatusLabel, spread, getQueryStatusColorByLabel, displayValue, For, batch, clearDelegatedEvents, serialize, Index, updateNestedDataByPath, $TRACK, createRoot, DEV, addEventListener, stringify, Switch, Match, deleteNestedDataByPath, useTransition } from './
|
|
1
|
+
import { sortFns, mutationSortFns, createContext, splitProps, createMemo, createComponent, mergeProps, createUniqueId, createSignal, createEffect, onCleanup, Show, on, delegateEvents, Dynamic, useContext, template, createRenderEffect, setAttribute, memo, Portal, untrack, isServer, onMount, createComputed, getOwner, use, insert, className, getSidedProp, convertRemToPixels, getQueryStatusColor, getMutationStatusColor, getQueryStatusLabel, spread, getQueryStatusColorByLabel, displayValue, For, batch, clearDelegatedEvents, serialize, Index, updateNestedDataByPath, $TRACK, createRoot, DEV, addEventListener, stringify, Switch, Match, deleteNestedDataByPath, useTransition } from './6FXOYLZD.js';
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
4
4
|
var isClient = !isServer;
|
|
@@ -1022,7 +1022,7 @@ function getAccessorAttributes(accessor) {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
1025
|
+
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js
|
|
1026
1026
|
var e = { data: "" };
|
|
1027
1027
|
var t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
|
|
1028
1028
|
var l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
|
|
@@ -1312,7 +1312,7 @@ var TransitionGroup = (props) => {
|
|
|
1312
1312
|
};
|
|
1313
1313
|
|
|
1314
1314
|
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js
|
|
1315
|
-
var FALLBACK = Symbol("fallback");
|
|
1315
|
+
var FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
1316
1316
|
function dispose(list) {
|
|
1317
1317
|
for (const o2 of list)
|
|
1318
1318
|
o2.dispose();
|
|
@@ -10982,6 +10982,7 @@ var QueryDetails = () => {
|
|
|
10982
10982
|
const error = errorType?.initializer(activeQueryVal) ?? new Error("Unknown error from devtools");
|
|
10983
10983
|
const __previousQueryOptions = activeQueryVal.options;
|
|
10984
10984
|
activeQueryVal.setState({
|
|
10985
|
+
data: void 0,
|
|
10985
10986
|
status: "error",
|
|
10986
10987
|
error,
|
|
10987
10988
|
fetchMeta: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sortFns, mutationSortFns, createContext, splitProps, createMemo, createComponent, mergeProps, createUniqueId, createSignal, createEffect, onCleanup, Show, on, delegateEvents, Dynamic, useContext, template, createRenderEffect, setAttribute, memo, Portal, untrack, isServer, onMount, createComputed, getOwner, use, insert, className, getSidedProp, convertRemToPixels, getQueryStatusColor, getMutationStatusColor, getQueryStatusLabel, spread, getQueryStatusColorByLabel, displayValue, For, batch, clearDelegatedEvents, serialize, Index, updateNestedDataByPath, $TRACK, createRoot, DEV, addEventListener, stringify, Switch, Match, deleteNestedDataByPath, useTransition } from './
|
|
1
|
+
import { sortFns, mutationSortFns, createContext, splitProps, createMemo, createComponent, mergeProps, createUniqueId, createSignal, createEffect, onCleanup, Show, on, delegateEvents, Dynamic, useContext, template, createRenderEffect, setAttribute, memo, Portal, untrack, isServer, onMount, createComputed, getOwner, use, insert, className, getSidedProp, convertRemToPixels, getQueryStatusColor, getMutationStatusColor, getQueryStatusLabel, spread, getQueryStatusColorByLabel, displayValue, For, batch, clearDelegatedEvents, serialize, Index, updateNestedDataByPath, $TRACK, createRoot, DEV, addEventListener, stringify, Switch, Match, deleteNestedDataByPath, useTransition } from './73LUVHE2.js';
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
4
4
|
var isClient = !isServer;
|
|
@@ -1021,7 +1021,7 @@ function getAccessorAttributes(accessor) {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
1024
|
+
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js
|
|
1025
1025
|
var e = { data: "" };
|
|
1026
1026
|
var t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
|
|
1027
1027
|
var l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
|
|
@@ -1311,7 +1311,7 @@ var TransitionGroup = (props) => {
|
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
1313
|
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js
|
|
1314
|
-
var FALLBACK = Symbol("fallback");
|
|
1314
|
+
var FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
1315
1315
|
function dispose(list) {
|
|
1316
1316
|
for (const o2 of list)
|
|
1317
1317
|
o2.dispose();
|
|
@@ -10980,6 +10980,7 @@ var QueryDetails = () => {
|
|
|
10980
10980
|
const error = errorType?.initializer(activeQueryVal) ?? new Error("Unknown error from devtools");
|
|
10981
10981
|
const __previousQueryOptions = activeQueryVal.options;
|
|
10982
10982
|
activeQueryVal.setState({
|
|
10983
|
+
data: void 0,
|
|
10983
10984
|
status: "error",
|
|
10984
10985
|
error,
|
|
10985
10986
|
fetchMeta: {
|
package/build/dev.cjs
CHANGED
|
@@ -316,7 +316,7 @@ function useTransition() {
|
|
|
316
316
|
return [transPending, startTransition];
|
|
317
317
|
}
|
|
318
318
|
function createContext(defaultValue, options) {
|
|
319
|
-
const id = Symbol("context");
|
|
319
|
+
const id = /* @__PURE__ */ Symbol("context");
|
|
320
320
|
return {
|
|
321
321
|
id,
|
|
322
322
|
Provider: createProvider(id),
|
|
@@ -1145,9 +1145,9 @@ var init_solid = __esm({
|
|
|
1145
1145
|
};
|
|
1146
1146
|
IS_DEV = false;
|
|
1147
1147
|
equalFn = (a2, b2) => a2 === b2;
|
|
1148
|
-
$PROXY = Symbol("solid-proxy");
|
|
1148
|
+
$PROXY = /* @__PURE__ */ Symbol("solid-proxy");
|
|
1149
1149
|
SUPPORTS_PROXY = typeof Proxy === "function";
|
|
1150
|
-
$TRACK = Symbol("solid-track");
|
|
1150
|
+
$TRACK = /* @__PURE__ */ Symbol("solid-track");
|
|
1151
1151
|
signalOptions = {
|
|
1152
1152
|
equals: equalFn
|
|
1153
1153
|
};
|
|
@@ -1171,7 +1171,7 @@ var init_solid = __esm({
|
|
|
1171
1171
|
Effects = null;
|
|
1172
1172
|
ExecCount = 0;
|
|
1173
1173
|
[transPending, setTransPending] = /* @__PURE__ */ createSignal(false);
|
|
1174
|
-
FALLBACK = Symbol("fallback");
|
|
1174
|
+
FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
1175
1175
|
hydrationEnabled = false;
|
|
1176
1176
|
propTraps = {
|
|
1177
1177
|
get(_, property, receiver) {
|
|
@@ -3745,14 +3745,14 @@ var init_lib = __esm({
|
|
|
3745
3745
|
}
|
|
3746
3746
|
});
|
|
3747
3747
|
|
|
3748
|
-
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
3748
|
+
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js
|
|
3749
3749
|
function u(e2) {
|
|
3750
3750
|
let r2 = this || {}, l2 = e2.call ? e2(r2.p) : e2;
|
|
3751
3751
|
return i(l2.unshift ? l2.raw ? p(l2, [].slice.call(arguments, 1), r2.p) : l2.reduce((e3, t2) => Object.assign(e3, t2 && t2.call ? t2(r2.p) : t2), {}) : l2, t(r2.target), r2.g, r2.o, r2.k);
|
|
3752
3752
|
}
|
|
3753
3753
|
var e, t, l, a, n, o, c, s, i, p;
|
|
3754
3754
|
var init_goober_modern = __esm({
|
|
3755
|
-
"../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
3755
|
+
"../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js"() {
|
|
3756
3756
|
e = { data: "" };
|
|
3757
3757
|
t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
|
|
3758
3758
|
l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
|
|
@@ -4168,7 +4168,7 @@ var init_dist8 = __esm({
|
|
|
4168
4168
|
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4169
4169
|
init_solid();
|
|
4170
4170
|
init_web();
|
|
4171
|
-
FALLBACK2 = Symbol("fallback");
|
|
4171
|
+
FALLBACK2 = /* @__PURE__ */ Symbol("fallback");
|
|
4172
4172
|
}
|
|
4173
4173
|
});
|
|
4174
4174
|
|
|
@@ -14353,6 +14353,7 @@ var init_Devtools = __esm({
|
|
|
14353
14353
|
const error = errorType?.initializer(activeQueryVal) ?? new Error("Unknown error from devtools");
|
|
14354
14354
|
const __previousQueryOptions = activeQueryVal.options;
|
|
14355
14355
|
activeQueryVal.setState({
|
|
14356
|
+
data: void 0,
|
|
14356
14357
|
status: "error",
|
|
14357
14358
|
error,
|
|
14358
14359
|
fetchMeta: {
|
package/build/dev.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/
|
|
1
|
+
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/6FXOYLZD.js';
|
|
2
2
|
|
|
3
3
|
// src/TanstackQueryDevtools.tsx
|
|
4
4
|
var TanstackQueryDevtools = class {
|
|
@@ -80,7 +80,7 @@ var TanstackQueryDevtools = class {
|
|
|
80
80
|
if (this.#Component) {
|
|
81
81
|
Devtools = this.#Component;
|
|
82
82
|
} else {
|
|
83
|
-
Devtools = lazy(() => import('./DevtoolsComponent/
|
|
83
|
+
Devtools = lazy(() => import('./DevtoolsComponent/B5PP2USH.js'));
|
|
84
84
|
this.#Component = Devtools;
|
|
85
85
|
}
|
|
86
86
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -220,7 +220,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
220
220
|
if (this.#Component) {
|
|
221
221
|
Devtools = this.#Component;
|
|
222
222
|
} else {
|
|
223
|
-
Devtools = lazy(() => import('./DevtoolsPanelComponent/
|
|
223
|
+
Devtools = lazy(() => import('./DevtoolsPanelComponent/WI32IQVE.js'));
|
|
224
224
|
this.#Component = Devtools;
|
|
225
225
|
}
|
|
226
226
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/build/index.cjs
CHANGED
|
@@ -316,7 +316,7 @@ function useTransition() {
|
|
|
316
316
|
return [transPending, startTransition];
|
|
317
317
|
}
|
|
318
318
|
function createContext(defaultValue, options) {
|
|
319
|
-
const id = Symbol("context");
|
|
319
|
+
const id = /* @__PURE__ */ Symbol("context");
|
|
320
320
|
return {
|
|
321
321
|
id,
|
|
322
322
|
Provider: createProvider(id),
|
|
@@ -1145,9 +1145,9 @@ var init_solid = __esm({
|
|
|
1145
1145
|
};
|
|
1146
1146
|
IS_DEV = false;
|
|
1147
1147
|
equalFn = (a2, b2) => a2 === b2;
|
|
1148
|
-
$PROXY = Symbol("solid-proxy");
|
|
1148
|
+
$PROXY = /* @__PURE__ */ Symbol("solid-proxy");
|
|
1149
1149
|
SUPPORTS_PROXY = typeof Proxy === "function";
|
|
1150
|
-
$TRACK = Symbol("solid-track");
|
|
1150
|
+
$TRACK = /* @__PURE__ */ Symbol("solid-track");
|
|
1151
1151
|
signalOptions = {
|
|
1152
1152
|
equals: equalFn
|
|
1153
1153
|
};
|
|
@@ -1171,7 +1171,7 @@ var init_solid = __esm({
|
|
|
1171
1171
|
Effects = null;
|
|
1172
1172
|
ExecCount = 0;
|
|
1173
1173
|
[transPending, setTransPending] = /* @__PURE__ */ createSignal(false);
|
|
1174
|
-
FALLBACK = Symbol("fallback");
|
|
1174
|
+
FALLBACK = /* @__PURE__ */ Symbol("fallback");
|
|
1175
1175
|
hydrationEnabled = false;
|
|
1176
1176
|
propTraps = {
|
|
1177
1177
|
get(_, property, receiver) {
|
|
@@ -3744,14 +3744,14 @@ var init_lib = __esm({
|
|
|
3744
3744
|
}
|
|
3745
3745
|
});
|
|
3746
3746
|
|
|
3747
|
-
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
3747
|
+
// ../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js
|
|
3748
3748
|
function u(e2) {
|
|
3749
3749
|
let r2 = this || {}, l2 = e2.call ? e2(r2.p) : e2;
|
|
3750
3750
|
return i(l2.unshift ? l2.raw ? p(l2, [].slice.call(arguments, 1), r2.p) : l2.reduce((e3, t2) => Object.assign(e3, t2 && t2.call ? t2(r2.p) : t2), {}) : l2, t(r2.target), r2.g, r2.o, r2.k);
|
|
3751
3751
|
}
|
|
3752
3752
|
var e, t, l, a, n, o, c, s, i, p;
|
|
3753
3753
|
var init_goober_modern = __esm({
|
|
3754
|
-
"../../node_modules/.pnpm/goober@2.1.16_csstype@3.
|
|
3754
|
+
"../../node_modules/.pnpm/goober@2.1.16_csstype@3.2.3/node_modules/goober/dist/goober.modern.js"() {
|
|
3755
3755
|
e = { data: "" };
|
|
3756
3756
|
t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
|
|
3757
3757
|
l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
|
|
@@ -4167,7 +4167,7 @@ var init_dist8 = __esm({
|
|
|
4167
4167
|
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4168
4168
|
init_solid();
|
|
4169
4169
|
init_web();
|
|
4170
|
-
FALLBACK2 = Symbol("fallback");
|
|
4170
|
+
FALLBACK2 = /* @__PURE__ */ Symbol("fallback");
|
|
4171
4171
|
}
|
|
4172
4172
|
});
|
|
4173
4173
|
|
|
@@ -14350,6 +14350,7 @@ var init_Devtools = __esm({
|
|
|
14350
14350
|
const error = errorType?.initializer(activeQueryVal) ?? new Error("Unknown error from devtools");
|
|
14351
14351
|
const __previousQueryOptions = activeQueryVal.options;
|
|
14352
14352
|
activeQueryVal.setState({
|
|
14353
|
+
data: void 0,
|
|
14353
14354
|
status: "error",
|
|
14354
14355
|
error,
|
|
14355
14356
|
fetchMeta: {
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/
|
|
1
|
+
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/73LUVHE2.js';
|
|
2
2
|
|
|
3
3
|
// src/TanstackQueryDevtools.tsx
|
|
4
4
|
var TanstackQueryDevtools = class {
|
|
@@ -80,7 +80,7 @@ var TanstackQueryDevtools = class {
|
|
|
80
80
|
if (this.#Component) {
|
|
81
81
|
Devtools = this.#Component;
|
|
82
82
|
} else {
|
|
83
|
-
Devtools = lazy(() => import('./DevtoolsComponent/
|
|
83
|
+
Devtools = lazy(() => import('./DevtoolsComponent/BAGVG3AX.js'));
|
|
84
84
|
this.#Component = Devtools;
|
|
85
85
|
}
|
|
86
86
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -220,7 +220,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
220
220
|
if (this.#Component) {
|
|
221
221
|
Devtools = this.#Component;
|
|
222
222
|
} else {
|
|
223
|
-
Devtools = lazy(() => import('./DevtoolsPanelComponent/
|
|
223
|
+
Devtools = lazy(() => import('./DevtoolsPanelComponent/KZB72KQG.js'));
|
|
224
224
|
this.#Component = Devtools;
|
|
225
225
|
}
|
|
226
226
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.93.0",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"superjson": "^2.2.2",
|
|
58
58
|
"tsup-preset-solid": "^2.2.0",
|
|
59
59
|
"vite-plugin-solid": "^2.11.6",
|
|
60
|
-
"@tanstack/query-core": "5.90.
|
|
60
|
+
"@tanstack/query-core": "5.90.20"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"clean": "premove ./build ./coverage ./dist-ts",
|
package/src/Devtools.tsx
CHANGED
|
@@ -76,7 +76,6 @@ import type {
|
|
|
76
76
|
Query,
|
|
77
77
|
QueryCache,
|
|
78
78
|
QueryCacheNotifyEvent,
|
|
79
|
-
QueryState,
|
|
80
79
|
} from '@tanstack/query-core'
|
|
81
80
|
import type { StorageObject, StorageSetter } from '@solid-primitives/storage'
|
|
82
81
|
import type { Accessor, Component, JSX, Setter } from 'solid-js'
|
|
@@ -1957,13 +1956,14 @@ const QueryDetails = () => {
|
|
|
1957
1956
|
const __previousQueryOptions = activeQueryVal.options
|
|
1958
1957
|
|
|
1959
1958
|
activeQueryVal.setState({
|
|
1959
|
+
data: undefined,
|
|
1960
1960
|
status: 'error',
|
|
1961
1961
|
error,
|
|
1962
1962
|
fetchMeta: {
|
|
1963
1963
|
...activeQueryVal.state.fetchMeta,
|
|
1964
1964
|
__previousQueryOptions,
|
|
1965
1965
|
} as any,
|
|
1966
|
-
}
|
|
1966
|
+
})
|
|
1967
1967
|
}
|
|
1968
1968
|
|
|
1969
1969
|
const restoreQueryAfterLoadingOrError = () => {
|
|
@@ -2199,7 +2199,7 @@ const QueryDetails = () => {
|
|
|
2199
2199
|
...activeQueryVal.state.fetchMeta,
|
|
2200
2200
|
__previousQueryOptions,
|
|
2201
2201
|
} as any,
|
|
2202
|
-
}
|
|
2202
|
+
})
|
|
2203
2203
|
}
|
|
2204
2204
|
}}
|
|
2205
2205
|
>
|