@tanstack/query-devtools 5.24.0 → 5.27.3
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/Devtools/{335X72D7.js → DBFR2OSQ.js} +138 -104
- package/build/Devtools/{VAXLBYTT.jsx → MZG6MFIN.jsx} +116 -104
- package/build/Devtools/{XYYT2JS6.js → UXHVNKJK.js} +138 -104
- package/build/Devtools/{36BZFNWK.jsx → ZI3HPF3S.jsx} +116 -104
- package/build/chunk/{IQDKCOXE.jsx → 4MX274MJ.jsx} +7 -4
- package/build/chunk/{7LTSZCE6.js → BWUNFN7M.js} +7 -3
- package/build/chunk/{KQZGNKMT.js → EY5FZ5D2.js} +7 -3
- package/build/chunk/{LJVATCV2.jsx → HLOIZPIT.jsx} +8 -3
- package/build/dev.cjs +152 -108
- package/build/dev.js +10 -4
- package/build/dev.jsx +8 -4
- package/build/index.cjs +152 -108
- package/build/index.d.cts +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +10 -4
- package/build/index.jsx +8 -4
- package/package.json +2 -2
- package/src/Context.ts +2 -0
- package/src/Devtools.tsx +60 -18
- package/src/index.tsx +6 -1
- package/src/utils.tsx +9 -3
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/EY5FZ5D2.js';
|
|
2
2
|
|
|
3
3
|
// src/index.tsx
|
|
4
4
|
var TanstackQueryDevtools = class {
|
|
@@ -8,6 +8,7 @@ var TanstackQueryDevtools = class {
|
|
|
8
8
|
#version;
|
|
9
9
|
#isMounted = false;
|
|
10
10
|
#styleNonce;
|
|
11
|
+
#shadowDOMTarget;
|
|
11
12
|
#buttonPosition;
|
|
12
13
|
#position;
|
|
13
14
|
#initialIsOpen;
|
|
@@ -24,13 +25,15 @@ var TanstackQueryDevtools = class {
|
|
|
24
25
|
position,
|
|
25
26
|
initialIsOpen,
|
|
26
27
|
errorTypes,
|
|
27
|
-
styleNonce
|
|
28
|
+
styleNonce,
|
|
29
|
+
shadowDOMTarget
|
|
28
30
|
} = config;
|
|
29
31
|
this.#client = createSignal(client);
|
|
30
32
|
this.#queryFlavor = queryFlavor;
|
|
31
33
|
this.#version = version;
|
|
32
34
|
this.#onlineManager = onlineManager;
|
|
33
35
|
this.#styleNonce = styleNonce;
|
|
36
|
+
this.#shadowDOMTarget = shadowDOMTarget;
|
|
34
37
|
this.#buttonPosition = createSignal(buttonPosition);
|
|
35
38
|
this.#position = createSignal(position);
|
|
36
39
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
@@ -66,10 +69,10 @@ var TanstackQueryDevtools = class {
|
|
|
66
69
|
if (this.#Component) {
|
|
67
70
|
Devtools = this.#Component;
|
|
68
71
|
} else {
|
|
69
|
-
Devtools = lazy(() => import('./Devtools/
|
|
72
|
+
Devtools = lazy(() => import('./Devtools/UXHVNKJK.js'));
|
|
70
73
|
this.#Component = Devtools;
|
|
71
74
|
}
|
|
72
|
-
setupStyleSheet(this.#styleNonce);
|
|
75
|
+
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
73
76
|
return createComponent(Devtools, mergeProps({
|
|
74
77
|
get queryFlavor() {
|
|
75
78
|
return _self$.#queryFlavor;
|
|
@@ -79,6 +82,9 @@ var TanstackQueryDevtools = class {
|
|
|
79
82
|
},
|
|
80
83
|
get onlineManager() {
|
|
81
84
|
return _self$.#onlineManager;
|
|
85
|
+
},
|
|
86
|
+
get shadowDOMTarget() {
|
|
87
|
+
return _self$.#shadowDOMTarget;
|
|
82
88
|
}
|
|
83
89
|
}, {
|
|
84
90
|
get client() {
|
package/build/dev.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
lazy,
|
|
4
4
|
render,
|
|
5
5
|
setupStyleSheet
|
|
6
|
-
} from "./chunk/
|
|
6
|
+
} from "./chunk/HLOIZPIT.jsx";
|
|
7
7
|
|
|
8
8
|
// src/index.tsx
|
|
9
9
|
var TanstackQueryDevtools = class {
|
|
@@ -13,6 +13,7 @@ var TanstackQueryDevtools = class {
|
|
|
13
13
|
#version;
|
|
14
14
|
#isMounted = false;
|
|
15
15
|
#styleNonce;
|
|
16
|
+
#shadowDOMTarget;
|
|
16
17
|
#buttonPosition;
|
|
17
18
|
#position;
|
|
18
19
|
#initialIsOpen;
|
|
@@ -29,13 +30,15 @@ var TanstackQueryDevtools = class {
|
|
|
29
30
|
position,
|
|
30
31
|
initialIsOpen,
|
|
31
32
|
errorTypes,
|
|
32
|
-
styleNonce
|
|
33
|
+
styleNonce,
|
|
34
|
+
shadowDOMTarget
|
|
33
35
|
} = config;
|
|
34
36
|
this.#client = createSignal(client);
|
|
35
37
|
this.#queryFlavor = queryFlavor;
|
|
36
38
|
this.#version = version;
|
|
37
39
|
this.#onlineManager = onlineManager;
|
|
38
40
|
this.#styleNonce = styleNonce;
|
|
41
|
+
this.#shadowDOMTarget = shadowDOMTarget;
|
|
39
42
|
this.#buttonPosition = createSignal(buttonPosition);
|
|
40
43
|
this.#position = createSignal(position);
|
|
41
44
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
@@ -70,14 +73,15 @@ var TanstackQueryDevtools = class {
|
|
|
70
73
|
if (this.#Component) {
|
|
71
74
|
Devtools = this.#Component;
|
|
72
75
|
} else {
|
|
73
|
-
Devtools = lazy(() => import("./Devtools/
|
|
76
|
+
Devtools = lazy(() => import("./Devtools/MZG6MFIN.jsx"));
|
|
74
77
|
this.#Component = Devtools;
|
|
75
78
|
}
|
|
76
|
-
setupStyleSheet(this.#styleNonce);
|
|
79
|
+
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
77
80
|
return <Devtools
|
|
78
81
|
queryFlavor={this.#queryFlavor}
|
|
79
82
|
version={this.#version}
|
|
80
83
|
onlineManager={this.#onlineManager}
|
|
84
|
+
shadowDOMTarget={this.#shadowDOMTarget}
|
|
81
85
|
{...{
|
|
82
86
|
get client() {
|
|
83
87
|
return queryClient();
|