@tanstack/query-devtools 5.96.0 → 5.96.1
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/{V4HPSUGU.js → LYM7QWDH.js} +2 -2
- package/build/DevtoolsComponent/{XMTSMVTM.js → NXRPVNXJ.js} +2 -2
- package/build/DevtoolsPanelComponent/{AY2UQYZQ.js → KNBUYGWK.js} +2 -2
- package/build/DevtoolsPanelComponent/{MMQ4R4NB.js → RXFVSJH2.js} +2 -2
- package/build/_tsup-dts-rollup.d.cts +0 -10
- package/build/_tsup-dts-rollup.d.ts +0 -10
- package/build/chunk/{EO4IN5ML.js → KTUP6UL7.js} +17 -7
- package/build/chunk/{7NWEGSOJ.js → NUR32CXD.js} +118 -113
- package/build/chunk/{L3CSWQ7H.js → Q7GRFEEB.js} +18 -6
- package/build/chunk/{JMCFIHKA.js → QIR4F55C.js} +118 -113
- package/build/dev.cjs +215 -200
- package/build/dev.js +3 -3
- package/build/index.cjs +215 -200
- package/build/index.js +3 -3
- package/package.json +2 -2
|
@@ -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/NUR32CXD.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/KTUP6UL7.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/QIR4F55C.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/Q7GRFEEB.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/NUR32CXD.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/KTUP6UL7.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/QIR4F55C.js';
|
|
2
|
+
import { getPreferredColorScheme, createMemo, createComponent } from '../chunk/Q7GRFEEB.js';
|
|
3
3
|
|
|
4
4
|
// src/DevtoolsPanelComponent.tsx
|
|
5
5
|
var DevtoolsPanelComponent = (props) => {
|
|
@@ -4,12 +4,10 @@ import { Context } from 'solid-js';
|
|
|
4
4
|
import { JSX } from 'solid-js';
|
|
5
5
|
import type { Mutation } from '@tanstack/query-core';
|
|
6
6
|
import type { onlineManager } from '@tanstack/query-core';
|
|
7
|
-
import { Options } from 'tsup';
|
|
8
7
|
import type { Query } from '@tanstack/query-core';
|
|
9
8
|
import type { QueryClient } from '@tanstack/query-core';
|
|
10
9
|
import type { StorageObject } from '@solid-primitives/storage';
|
|
11
10
|
import type { StorageSetter } from '@solid-primitives/storage';
|
|
12
|
-
import { UserConfig } from 'vite';
|
|
13
11
|
|
|
14
12
|
export declare function ArrowDown(): JSX;
|
|
15
13
|
|
|
@@ -53,14 +51,6 @@ export declare const default_alias_1: DevtoolsComponentType;
|
|
|
53
51
|
|
|
54
52
|
export declare function default_alias_2(props: ExplorerProps): JSX;
|
|
55
53
|
|
|
56
|
-
export declare const default_alias_3: any[];
|
|
57
|
-
|
|
58
|
-
export declare const default_alias_4: any[];
|
|
59
|
-
|
|
60
|
-
export declare const default_alias_5: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
61
|
-
|
|
62
|
-
export declare const default_alias_6: UserConfig;
|
|
63
|
-
|
|
64
54
|
export declare const DEFAULT_HEIGHT = 500;
|
|
65
55
|
|
|
66
56
|
export declare const DEFAULT_MUTATION_SORT_FN_NAME: string | undefined;
|
|
@@ -4,12 +4,10 @@ import { Context } from 'solid-js';
|
|
|
4
4
|
import { JSX } from 'solid-js';
|
|
5
5
|
import type { Mutation } from '@tanstack/query-core';
|
|
6
6
|
import type { onlineManager } from '@tanstack/query-core';
|
|
7
|
-
import { Options } from 'tsup';
|
|
8
7
|
import type { Query } from '@tanstack/query-core';
|
|
9
8
|
import type { QueryClient } from '@tanstack/query-core';
|
|
10
9
|
import type { StorageObject } from '@solid-primitives/storage';
|
|
11
10
|
import type { StorageSetter } from '@solid-primitives/storage';
|
|
12
|
-
import { UserConfig } from 'vite';
|
|
13
11
|
|
|
14
12
|
export declare function ArrowDown(): JSX;
|
|
15
13
|
|
|
@@ -53,14 +51,6 @@ export declare const default_alias_1: DevtoolsComponentType;
|
|
|
53
51
|
|
|
54
52
|
export declare function default_alias_2(props: ExplorerProps): JSX;
|
|
55
53
|
|
|
56
|
-
export declare const default_alias_3: any[];
|
|
57
|
-
|
|
58
|
-
export declare const default_alias_4: any[];
|
|
59
|
-
|
|
60
|
-
export declare const default_alias_5: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
61
|
-
|
|
62
|
-
export declare const default_alias_6: UserConfig;
|
|
63
|
-
|
|
64
54
|
export declare const DEFAULT_HEIGHT = 500;
|
|
65
55
|
|
|
66
56
|
export declare const DEFAULT_MUTATION_SORT_FN_NAME: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1
|
+
// ../../node_modules/.pnpm/solid-js@1.9.12/node_modules/solid-js/dist/solid.js
|
|
2
2
|
var sharedConfig = {
|
|
3
3
|
context: void 0,
|
|
4
4
|
registry: void 0,
|
|
@@ -475,6 +475,7 @@ function runComputation(node, value, time) {
|
|
|
475
475
|
if (node.updatedAt != null && "observers" in node) {
|
|
476
476
|
writeSignal(node, nextValue, true);
|
|
477
477
|
} else if (Transition && Transition.running && node.pure) {
|
|
478
|
+
if (!Transition.sources.has(node)) node.value = nextValue;
|
|
478
479
|
Transition.sources.add(node);
|
|
479
480
|
node.tValue = nextValue;
|
|
480
481
|
} else node.value = nextValue;
|
|
@@ -510,16 +511,26 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
510
511
|
}
|
|
511
512
|
}
|
|
512
513
|
if (ExternalSourceConfig && c.fn) {
|
|
514
|
+
const sourceFn = c.fn;
|
|
513
515
|
const [track, trigger] = createSignal(void 0, {
|
|
514
516
|
equals: false
|
|
515
517
|
});
|
|
516
|
-
const ordinary = ExternalSourceConfig.factory(
|
|
518
|
+
const ordinary = ExternalSourceConfig.factory(sourceFn, trigger);
|
|
517
519
|
onCleanup(() => ordinary.dispose());
|
|
518
|
-
|
|
519
|
-
const
|
|
520
|
+
let inTransition;
|
|
521
|
+
const triggerInTransition = () => startTransition(trigger).then(() => {
|
|
522
|
+
if (inTransition) {
|
|
523
|
+
inTransition.dispose();
|
|
524
|
+
inTransition = void 0;
|
|
525
|
+
}
|
|
526
|
+
});
|
|
520
527
|
c.fn = (x) => {
|
|
521
528
|
track();
|
|
522
|
-
|
|
529
|
+
if (Transition && Transition.running) {
|
|
530
|
+
if (!inTransition) inTransition = ExternalSourceConfig.factory(sourceFn, triggerInTransition);
|
|
531
|
+
return inTransition.track(x);
|
|
532
|
+
}
|
|
533
|
+
return ordinary.track(x);
|
|
523
534
|
};
|
|
524
535
|
}
|
|
525
536
|
return c;
|
|
@@ -1188,7 +1199,7 @@ function Match(props) {
|
|
|
1188
1199
|
}
|
|
1189
1200
|
var DEV = void 0;
|
|
1190
1201
|
|
|
1191
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1202
|
+
// ../../node_modules/.pnpm/solid-js@1.9.12/node_modules/solid-js/web/dist/web.js
|
|
1192
1203
|
var booleans = [
|
|
1193
1204
|
"allowfullscreen",
|
|
1194
1205
|
"async",
|
|
@@ -2144,7 +2155,6 @@ var simpleRules = [
|
|
|
2144
2155
|
if (typeof BigInt !== "undefined") {
|
|
2145
2156
|
return BigInt(v);
|
|
2146
2157
|
}
|
|
2147
|
-
console.error("Please add a BigInt polyfill.");
|
|
2148
2158
|
return v;
|
|
2149
2159
|
}),
|
|
2150
2160
|
simpleTransformation(isDate, "Date", (v) => v.toISOString(), (v) => new Date(v)),
|