@tanstack/query-devtools 5.101.4 → 5.102.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/Devtools-B8gBVih5.js +11463 -0
- package/build/Devtools-C2baIe1r.cjs +1248 -0
- package/build/Devtools-CFKbGy8Z.js +1249 -0
- package/build/Devtools-CFKbGy8Z.js.map +1 -0
- package/build/Devtools-QIchsTu4.cjs +11510 -0
- package/build/DevtoolsComponent-B932o_Kt.cjs +1 -0
- package/build/DevtoolsComponent-CFsAhafd.js +34 -0
- package/build/DevtoolsComponent-Cb-WvQCr.js +2 -0
- package/build/DevtoolsComponent-Cb-WvQCr.js.map +1 -0
- package/build/DevtoolsComponent-ChtbiwqS.cjs +34 -0
- package/build/DevtoolsPanelComponent-B9zkHqmD.js +41 -0
- package/build/DevtoolsPanelComponent-Be8narGM.js +2 -0
- package/build/DevtoolsPanelComponent-Be8narGM.js.map +1 -0
- package/build/DevtoolsPanelComponent-CHpU_w5-.cjs +41 -0
- package/build/DevtoolsPanelComponent-Dm3BbKKd.cjs +1 -0
- package/build/dev.cjs +241 -16792
- package/build/dev.js +236 -274
- package/build/index.cjs +1 -16791
- package/build/index.d.cts +55 -51
- package/build/index.d.cts.map +1 -0
- package/build/index.d.ts +55 -51
- package/build/index.d.ts.map +1 -0
- package/build/index.js +2 -279
- package/build/index.js.map +1 -0
- package/build/utils-BLwigsFG.cjs +2942 -0
- package/build/utils-BPMMmTje.js +2 -0
- package/build/utils-BPMMmTje.js.map +1 -0
- package/build/utils-CESniQp_.js +2613 -0
- package/build/utils-DzxoHwL2.cjs +1 -0
- package/package.json +6 -8
- package/build/DevtoolsComponent/SO26Z5QU.js +0 -38
- package/build/DevtoolsComponent/ZXV6FBN7.js +0 -38
- package/build/DevtoolsPanelComponent/MO2VZFYH.js +0 -47
- package/build/DevtoolsPanelComponent/MYKLHYJZ.js +0 -47
- package/build/chunk/M4GWWVAC.js +0 -2915
- package/build/chunk/OJ5GAW4I.js +0 -12753
- package/build/chunk/RQBHRHJL.js +0 -12751
- package/build/chunk/ZCXR2IAF.js +0 -2914
package/build/index.d.cts
CHANGED
|
@@ -1,69 +1,73 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "solid-js";
|
|
2
|
+
import { Query, QueryClient, onlineManager } from "@tanstack/query-core";
|
|
3
|
+
//#region src/contexts/QueryDevtoolsContext.d.ts
|
|
3
4
|
type XPosition = 'left' | 'right';
|
|
4
5
|
type YPosition = 'top' | 'bottom';
|
|
5
6
|
type DevtoolsPosition = XPosition | YPosition;
|
|
6
7
|
type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative';
|
|
7
8
|
type Theme = 'dark' | 'light' | 'system';
|
|
8
9
|
interface DevtoolsErrorType {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
/**
|
|
11
|
+
* The name of the error.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* How the error is initialized.
|
|
16
|
+
*/
|
|
17
|
+
initializer: (query: Query) => Error;
|
|
17
18
|
}
|
|
18
19
|
interface QueryDevtoolsProps {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
readonly client: QueryClient;
|
|
21
|
+
queryFlavor: string;
|
|
22
|
+
version: string;
|
|
23
|
+
onlineManager: typeof onlineManager;
|
|
24
|
+
buttonPosition?: DevtoolsButtonPosition;
|
|
25
|
+
position?: DevtoolsPosition;
|
|
26
|
+
initialIsOpen?: boolean;
|
|
27
|
+
errorTypes?: Array<DevtoolsErrorType>;
|
|
28
|
+
shadowDOMTarget?: ShadowRoot;
|
|
29
|
+
onClose?: () => void;
|
|
30
|
+
hideDisabledQueries?: boolean;
|
|
31
|
+
theme?: Theme;
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/TanstackQueryDevtools.d.ts
|
|
33
35
|
interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
styleNonce?: string;
|
|
37
|
+
shadowDOMTarget?: ShadowRoot;
|
|
36
38
|
}
|
|
37
39
|
declare class TanstackQueryDevtools {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
#private;
|
|
41
|
+
constructor(config: TanstackQueryDevtoolsConfig);
|
|
42
|
+
setButtonPosition(position: DevtoolsButtonPosition): void;
|
|
43
|
+
setPosition(position: DevtoolsPosition): void;
|
|
44
|
+
setInitialIsOpen(isOpen: boolean): void;
|
|
45
|
+
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
46
|
+
setClient(client: QueryClient): void;
|
|
47
|
+
setTheme(theme?: Theme): void;
|
|
48
|
+
mount<T extends HTMLElement>(el: T): void;
|
|
49
|
+
unmount(): void;
|
|
48
50
|
}
|
|
49
|
-
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/TanstackQueryDevtoolsPanel.d.ts
|
|
50
53
|
interface TanstackQueryDevtoolsPanelConfig extends QueryDevtoolsProps {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
styleNonce?: string;
|
|
55
|
+
shadowDOMTarget?: ShadowRoot;
|
|
56
|
+
onClose?: () => void;
|
|
54
57
|
}
|
|
55
58
|
declare class TanstackQueryDevtoolsPanel {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
#private;
|
|
60
|
+
constructor(config: TanstackQueryDevtoolsPanelConfig);
|
|
61
|
+
setButtonPosition(position: DevtoolsButtonPosition): void;
|
|
62
|
+
setPosition(position: DevtoolsPosition): void;
|
|
63
|
+
setInitialIsOpen(isOpen: boolean): void;
|
|
64
|
+
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
65
|
+
setClient(client: QueryClient): void;
|
|
66
|
+
setOnClose(onClose: () => void): void;
|
|
67
|
+
setTheme(theme?: Theme): void;
|
|
68
|
+
mount<T extends HTMLElement>(el: T): void;
|
|
69
|
+
unmount(): void;
|
|
67
70
|
}
|
|
68
|
-
|
|
71
|
+
//#endregion
|
|
69
72
|
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig, type Theme };
|
|
73
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/contexts/QueryDevtoolsContext.ts","../src/TanstackQueryDevtools.tsx","../src/TanstackQueryDevtoolsPanel.tsx"],"mappings":";;;KAGK;KACA;KACO,mBAAmB,YAAY;KAC/B,4BAA4B,aAAa;KACzC;UAEK;;;;EAIf;;;;EAIA,cAAc,OAAO,UAAU;;UAGhB;WACN,QAAQ;EACjB;EACA;EACA,sBAAsB;EAEtB,iBAAiB;EACjB,WAAW;EACX;EACA,aAAa,MAAM;EACnB,kBAAkB;EAClB;EACA;EACA,QAAQ;;;;UChBO,oCAAoC;EACnD;EACA,kBAAkB;;cAGd;;EAiBQ,YAAA,QAAQ;EA6BpB,kBAAkB,UAAU;EAI5B,YAAY,UAAU;EAItB,iBAAiB;EAIjB,cAAc,YAAY,MAAM;EAIhC,UAAU,QAAQ;EAIlB,SAAS,QAAQ;EAIjB,MAAM,UAAU,aAAa,IAAI;EA0DjC;;;;UCrIe,yCAAyC;EACxD;EACA,kBAAkB;EAClB;;cAGI;;EAkBQ,YAAA,QAAQ;EA+BpB,kBAAkB,UAAU;EAI5B,YAAY,UAAU;EAItB,iBAAiB;EAIjB,cAAc,YAAY,MAAM;EAIhC,UAAU,QAAQ;EAIlB,WAAW;EAIX,SAAS,QAAQ;EAIjB,MAAM,UAAU,aAAa,IAAI;EA8DjC"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,69 +1,73 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "solid-js";
|
|
2
|
+
import { Query, QueryClient, onlineManager } from "@tanstack/query-core";
|
|
3
|
+
//#region src/contexts/QueryDevtoolsContext.d.ts
|
|
3
4
|
type XPosition = 'left' | 'right';
|
|
4
5
|
type YPosition = 'top' | 'bottom';
|
|
5
6
|
type DevtoolsPosition = XPosition | YPosition;
|
|
6
7
|
type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative';
|
|
7
8
|
type Theme = 'dark' | 'light' | 'system';
|
|
8
9
|
interface DevtoolsErrorType {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
/**
|
|
11
|
+
* The name of the error.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* How the error is initialized.
|
|
16
|
+
*/
|
|
17
|
+
initializer: (query: Query) => Error;
|
|
17
18
|
}
|
|
18
19
|
interface QueryDevtoolsProps {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
readonly client: QueryClient;
|
|
21
|
+
queryFlavor: string;
|
|
22
|
+
version: string;
|
|
23
|
+
onlineManager: typeof onlineManager;
|
|
24
|
+
buttonPosition?: DevtoolsButtonPosition;
|
|
25
|
+
position?: DevtoolsPosition;
|
|
26
|
+
initialIsOpen?: boolean;
|
|
27
|
+
errorTypes?: Array<DevtoolsErrorType>;
|
|
28
|
+
shadowDOMTarget?: ShadowRoot;
|
|
29
|
+
onClose?: () => void;
|
|
30
|
+
hideDisabledQueries?: boolean;
|
|
31
|
+
theme?: Theme;
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/TanstackQueryDevtools.d.ts
|
|
33
35
|
interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
styleNonce?: string;
|
|
37
|
+
shadowDOMTarget?: ShadowRoot;
|
|
36
38
|
}
|
|
37
39
|
declare class TanstackQueryDevtools {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
#private;
|
|
41
|
+
constructor(config: TanstackQueryDevtoolsConfig);
|
|
42
|
+
setButtonPosition(position: DevtoolsButtonPosition): void;
|
|
43
|
+
setPosition(position: DevtoolsPosition): void;
|
|
44
|
+
setInitialIsOpen(isOpen: boolean): void;
|
|
45
|
+
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
46
|
+
setClient(client: QueryClient): void;
|
|
47
|
+
setTheme(theme?: Theme): void;
|
|
48
|
+
mount<T extends HTMLElement>(el: T): void;
|
|
49
|
+
unmount(): void;
|
|
48
50
|
}
|
|
49
|
-
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/TanstackQueryDevtoolsPanel.d.ts
|
|
50
53
|
interface TanstackQueryDevtoolsPanelConfig extends QueryDevtoolsProps {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
styleNonce?: string;
|
|
55
|
+
shadowDOMTarget?: ShadowRoot;
|
|
56
|
+
onClose?: () => void;
|
|
54
57
|
}
|
|
55
58
|
declare class TanstackQueryDevtoolsPanel {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
#private;
|
|
60
|
+
constructor(config: TanstackQueryDevtoolsPanelConfig);
|
|
61
|
+
setButtonPosition(position: DevtoolsButtonPosition): void;
|
|
62
|
+
setPosition(position: DevtoolsPosition): void;
|
|
63
|
+
setInitialIsOpen(isOpen: boolean): void;
|
|
64
|
+
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
65
|
+
setClient(client: QueryClient): void;
|
|
66
|
+
setOnClose(onClose: () => void): void;
|
|
67
|
+
setTheme(theme?: Theme): void;
|
|
68
|
+
mount<T extends HTMLElement>(el: T): void;
|
|
69
|
+
unmount(): void;
|
|
67
70
|
}
|
|
68
|
-
|
|
71
|
+
//#endregion
|
|
69
72
|
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig, type Theme };
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/contexts/QueryDevtoolsContext.ts","../src/TanstackQueryDevtools.tsx","../src/TanstackQueryDevtoolsPanel.tsx"],"mappings":";;;KAGK;KACA;KACO,mBAAmB,YAAY;KAC/B,4BAA4B,aAAa;KACzC;UAEK;;;;EAIf;;;;EAIA,cAAc,OAAO,UAAU;;UAGhB;WACN,QAAQ;EACjB;EACA;EACA,sBAAsB;EAEtB,iBAAiB;EACjB,WAAW;EACX;EACA,aAAa,MAAM;EACnB,kBAAkB;EAClB;EACA;EACA,QAAQ;;;;UChBO,oCAAoC;EACnD;EACA,kBAAkB;;cAGd;;EAiBQ,YAAA,QAAQ;EA6BpB,kBAAkB,UAAU;EAI5B,YAAY,UAAU;EAItB,iBAAiB;EAIjB,cAAc,YAAY,MAAM;EAIhC,UAAU,QAAQ;EAIlB,SAAS,QAAQ;EAIjB,MAAM,UAAU,aAAa,IAAI;EA0DjC;;;;UCrIe,yCAAyC;EACxD;EACA,kBAAkB;EAClB;;cAGI;;EAkBQ,YAAA,QAAQ;EA+BpB,kBAAkB,UAAU;EAI5B,YAAY,UAAU;EAItB,iBAAiB;EAIjB,cAAc,YAAY,MAAM;EAIhC,UAAU,QAAQ;EAIlB,WAAW;EAIX,SAAS,QAAQ;EAIjB,MAAM,UAAU,aAAa,IAAI;EA8DjC"}
|
package/build/index.js
CHANGED
|
@@ -1,279 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
// src/TanstackQueryDevtools.tsx
|
|
4
|
-
var TanstackQueryDevtools = class {
|
|
5
|
-
#client;
|
|
6
|
-
#onlineManager;
|
|
7
|
-
#queryFlavor;
|
|
8
|
-
#version;
|
|
9
|
-
#isMounted = false;
|
|
10
|
-
#styleNonce;
|
|
11
|
-
#shadowDOMTarget;
|
|
12
|
-
#buttonPosition;
|
|
13
|
-
#position;
|
|
14
|
-
#initialIsOpen;
|
|
15
|
-
#errorTypes;
|
|
16
|
-
#hideDisabledQueries;
|
|
17
|
-
#Component;
|
|
18
|
-
#theme;
|
|
19
|
-
#dispose;
|
|
20
|
-
constructor(config) {
|
|
21
|
-
const {
|
|
22
|
-
client,
|
|
23
|
-
queryFlavor,
|
|
24
|
-
version,
|
|
25
|
-
onlineManager,
|
|
26
|
-
buttonPosition,
|
|
27
|
-
position,
|
|
28
|
-
initialIsOpen,
|
|
29
|
-
errorTypes,
|
|
30
|
-
styleNonce,
|
|
31
|
-
shadowDOMTarget,
|
|
32
|
-
hideDisabledQueries,
|
|
33
|
-
theme
|
|
34
|
-
} = config;
|
|
35
|
-
this.#client = createSignal(client);
|
|
36
|
-
this.#queryFlavor = queryFlavor;
|
|
37
|
-
this.#version = version;
|
|
38
|
-
this.#onlineManager = onlineManager;
|
|
39
|
-
this.#styleNonce = styleNonce;
|
|
40
|
-
this.#shadowDOMTarget = shadowDOMTarget;
|
|
41
|
-
this.#buttonPosition = createSignal(buttonPosition);
|
|
42
|
-
this.#position = createSignal(position);
|
|
43
|
-
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
44
|
-
this.#errorTypes = createSignal(errorTypes);
|
|
45
|
-
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
46
|
-
this.#theme = createSignal(theme);
|
|
47
|
-
}
|
|
48
|
-
setButtonPosition(position) {
|
|
49
|
-
this.#buttonPosition[1](position);
|
|
50
|
-
}
|
|
51
|
-
setPosition(position) {
|
|
52
|
-
this.#position[1](position);
|
|
53
|
-
}
|
|
54
|
-
setInitialIsOpen(isOpen) {
|
|
55
|
-
this.#initialIsOpen[1](isOpen);
|
|
56
|
-
}
|
|
57
|
-
setErrorTypes(errorTypes) {
|
|
58
|
-
this.#errorTypes[1](errorTypes);
|
|
59
|
-
}
|
|
60
|
-
setClient(client) {
|
|
61
|
-
this.#client[1](client);
|
|
62
|
-
}
|
|
63
|
-
setTheme(theme) {
|
|
64
|
-
this.#theme[1](theme);
|
|
65
|
-
}
|
|
66
|
-
mount(el) {
|
|
67
|
-
if (this.#isMounted) {
|
|
68
|
-
throw new Error("Devtools is already mounted");
|
|
69
|
-
}
|
|
70
|
-
const dispose = render(() => {
|
|
71
|
-
const _self$ = this;
|
|
72
|
-
const [btnPosition] = this.#buttonPosition;
|
|
73
|
-
const [pos] = this.#position;
|
|
74
|
-
const [isOpen] = this.#initialIsOpen;
|
|
75
|
-
const [errors] = this.#errorTypes;
|
|
76
|
-
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
77
|
-
const [queryClient] = this.#client;
|
|
78
|
-
const [theme] = this.#theme;
|
|
79
|
-
let Devtools;
|
|
80
|
-
if (this.#Component) {
|
|
81
|
-
Devtools = this.#Component;
|
|
82
|
-
} else {
|
|
83
|
-
Devtools = lazy(() => import('./DevtoolsComponent/ZXV6FBN7.js'));
|
|
84
|
-
this.#Component = Devtools;
|
|
85
|
-
}
|
|
86
|
-
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
87
|
-
return createComponent(Devtools, mergeProps({
|
|
88
|
-
get queryFlavor() {
|
|
89
|
-
return _self$.#queryFlavor;
|
|
90
|
-
},
|
|
91
|
-
get version() {
|
|
92
|
-
return _self$.#version;
|
|
93
|
-
},
|
|
94
|
-
get onlineManager() {
|
|
95
|
-
return _self$.#onlineManager;
|
|
96
|
-
},
|
|
97
|
-
get shadowDOMTarget() {
|
|
98
|
-
return _self$.#shadowDOMTarget;
|
|
99
|
-
}
|
|
100
|
-
}, {
|
|
101
|
-
get client() {
|
|
102
|
-
return queryClient();
|
|
103
|
-
},
|
|
104
|
-
get buttonPosition() {
|
|
105
|
-
return btnPosition();
|
|
106
|
-
},
|
|
107
|
-
get position() {
|
|
108
|
-
return pos();
|
|
109
|
-
},
|
|
110
|
-
get initialIsOpen() {
|
|
111
|
-
return isOpen();
|
|
112
|
-
},
|
|
113
|
-
get errorTypes() {
|
|
114
|
-
return errors();
|
|
115
|
-
},
|
|
116
|
-
get hideDisabledQueries() {
|
|
117
|
-
return hideDisabledQueries();
|
|
118
|
-
},
|
|
119
|
-
get theme() {
|
|
120
|
-
return theme();
|
|
121
|
-
}
|
|
122
|
-
}));
|
|
123
|
-
}, el);
|
|
124
|
-
this.#isMounted = true;
|
|
125
|
-
this.#dispose = dispose;
|
|
126
|
-
}
|
|
127
|
-
unmount() {
|
|
128
|
-
if (!this.#isMounted) {
|
|
129
|
-
throw new Error("Devtools is not mounted");
|
|
130
|
-
}
|
|
131
|
-
this.#dispose?.();
|
|
132
|
-
this.#isMounted = false;
|
|
133
|
-
}
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
// src/TanstackQueryDevtoolsPanel.tsx
|
|
137
|
-
var TanstackQueryDevtoolsPanel = class {
|
|
138
|
-
#client;
|
|
139
|
-
#onlineManager;
|
|
140
|
-
#queryFlavor;
|
|
141
|
-
#version;
|
|
142
|
-
#isMounted = false;
|
|
143
|
-
#styleNonce;
|
|
144
|
-
#shadowDOMTarget;
|
|
145
|
-
#buttonPosition;
|
|
146
|
-
#position;
|
|
147
|
-
#initialIsOpen;
|
|
148
|
-
#errorTypes;
|
|
149
|
-
#hideDisabledQueries;
|
|
150
|
-
#onClose;
|
|
151
|
-
#Component;
|
|
152
|
-
#theme;
|
|
153
|
-
#dispose;
|
|
154
|
-
constructor(config) {
|
|
155
|
-
const {
|
|
156
|
-
client,
|
|
157
|
-
queryFlavor,
|
|
158
|
-
version,
|
|
159
|
-
onlineManager,
|
|
160
|
-
buttonPosition,
|
|
161
|
-
position,
|
|
162
|
-
initialIsOpen,
|
|
163
|
-
errorTypes,
|
|
164
|
-
styleNonce,
|
|
165
|
-
shadowDOMTarget,
|
|
166
|
-
onClose,
|
|
167
|
-
hideDisabledQueries,
|
|
168
|
-
theme
|
|
169
|
-
} = config;
|
|
170
|
-
this.#client = createSignal(client);
|
|
171
|
-
this.#queryFlavor = queryFlavor;
|
|
172
|
-
this.#version = version;
|
|
173
|
-
this.#onlineManager = onlineManager;
|
|
174
|
-
this.#styleNonce = styleNonce;
|
|
175
|
-
this.#shadowDOMTarget = shadowDOMTarget;
|
|
176
|
-
this.#buttonPosition = createSignal(buttonPosition);
|
|
177
|
-
this.#position = createSignal(position);
|
|
178
|
-
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
179
|
-
this.#errorTypes = createSignal(errorTypes);
|
|
180
|
-
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
181
|
-
this.#onClose = createSignal(onClose);
|
|
182
|
-
this.#theme = createSignal(theme);
|
|
183
|
-
}
|
|
184
|
-
setButtonPosition(position) {
|
|
185
|
-
this.#buttonPosition[1](position);
|
|
186
|
-
}
|
|
187
|
-
setPosition(position) {
|
|
188
|
-
this.#position[1](position);
|
|
189
|
-
}
|
|
190
|
-
setInitialIsOpen(isOpen) {
|
|
191
|
-
this.#initialIsOpen[1](isOpen);
|
|
192
|
-
}
|
|
193
|
-
setErrorTypes(errorTypes) {
|
|
194
|
-
this.#errorTypes[1](errorTypes);
|
|
195
|
-
}
|
|
196
|
-
setClient(client) {
|
|
197
|
-
this.#client[1](client);
|
|
198
|
-
}
|
|
199
|
-
setOnClose(onClose) {
|
|
200
|
-
this.#onClose[1](() => onClose);
|
|
201
|
-
}
|
|
202
|
-
setTheme(theme) {
|
|
203
|
-
this.#theme[1](theme);
|
|
204
|
-
}
|
|
205
|
-
mount(el) {
|
|
206
|
-
if (this.#isMounted) {
|
|
207
|
-
throw new Error("Devtools is already mounted");
|
|
208
|
-
}
|
|
209
|
-
const dispose = render(() => {
|
|
210
|
-
const _self$ = this;
|
|
211
|
-
const [btnPosition] = this.#buttonPosition;
|
|
212
|
-
const [pos] = this.#position;
|
|
213
|
-
const [isOpen] = this.#initialIsOpen;
|
|
214
|
-
const [errors] = this.#errorTypes;
|
|
215
|
-
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
216
|
-
const [queryClient] = this.#client;
|
|
217
|
-
const [onClose] = this.#onClose;
|
|
218
|
-
const [theme] = this.#theme;
|
|
219
|
-
let Devtools;
|
|
220
|
-
if (this.#Component) {
|
|
221
|
-
Devtools = this.#Component;
|
|
222
|
-
} else {
|
|
223
|
-
Devtools = lazy(() => import('./DevtoolsPanelComponent/MO2VZFYH.js'));
|
|
224
|
-
this.#Component = Devtools;
|
|
225
|
-
}
|
|
226
|
-
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
227
|
-
return createComponent(Devtools, mergeProps({
|
|
228
|
-
get queryFlavor() {
|
|
229
|
-
return _self$.#queryFlavor;
|
|
230
|
-
},
|
|
231
|
-
get version() {
|
|
232
|
-
return _self$.#version;
|
|
233
|
-
},
|
|
234
|
-
get onlineManager() {
|
|
235
|
-
return _self$.#onlineManager;
|
|
236
|
-
},
|
|
237
|
-
get shadowDOMTarget() {
|
|
238
|
-
return _self$.#shadowDOMTarget;
|
|
239
|
-
}
|
|
240
|
-
}, {
|
|
241
|
-
get client() {
|
|
242
|
-
return queryClient();
|
|
243
|
-
},
|
|
244
|
-
get buttonPosition() {
|
|
245
|
-
return btnPosition();
|
|
246
|
-
},
|
|
247
|
-
get position() {
|
|
248
|
-
return pos();
|
|
249
|
-
},
|
|
250
|
-
get initialIsOpen() {
|
|
251
|
-
return isOpen();
|
|
252
|
-
},
|
|
253
|
-
get errorTypes() {
|
|
254
|
-
return errors();
|
|
255
|
-
},
|
|
256
|
-
get hideDisabledQueries() {
|
|
257
|
-
return hideDisabledQueries();
|
|
258
|
-
},
|
|
259
|
-
get onClose() {
|
|
260
|
-
return onClose();
|
|
261
|
-
},
|
|
262
|
-
get theme() {
|
|
263
|
-
return theme();
|
|
264
|
-
}
|
|
265
|
-
}));
|
|
266
|
-
}, el);
|
|
267
|
-
this.#isMounted = true;
|
|
268
|
-
this.#dispose = dispose;
|
|
269
|
-
}
|
|
270
|
-
unmount() {
|
|
271
|
-
if (!this.#isMounted) {
|
|
272
|
-
throw new Error("Devtools is not mounted");
|
|
273
|
-
}
|
|
274
|
-
this.#dispose?.();
|
|
275
|
-
this.#isMounted = false;
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
export { TanstackQueryDevtools, TanstackQueryDevtoolsPanel };
|
|
1
|
+
import{J as e,L as t,W as n,d as r,q as i,w as a}from"./utils-BPMMmTje.js";var o=class{#e;#t;#n;#r;#i=!1;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;constructor(e){let{client:t,queryFlavor:r,version:i,onlineManager:a,buttonPosition:o,position:s,initialIsOpen:c,errorTypes:l,styleNonce:u,shadowDOMTarget:d,hideDisabledQueries:f,theme:p}=e;this.#e=n(t),this.#n=r,this.#r=i,this.#t=a,this.#a=u,this.#o=d,this.#s=n(o),this.#c=n(s),this.#l=n(c),this.#u=n(l),this.#d=n(f),this.#p=n(p)}setButtonPosition(e){this.#s[1](e)}setPosition(e){this.#c[1](e)}setInitialIsOpen(e){this.#l[1](e)}setErrorTypes(e){this.#u[1](e)}setClient(e){this.#e[1](e)}setTheme(e){this.#p[1](e)}mount(n){if(this.#i)throw Error(`Devtools is already mounted`);let o=a(()=>{let n=this,[a]=this.#s,[o]=this.#c,[s]=this.#l,[c]=this.#u,[l]=this.#d,[u]=this.#e,[d]=this.#p,f;return this.#f?f=this.#f:(f=i(()=>import(`./DevtoolsComponent-Cb-WvQCr.js`)),this.#f=f),r(this.#a,this.#o),t(f,e({get queryFlavor(){return n.#n},get version(){return n.#r},get onlineManager(){return n.#t},get shadowDOMTarget(){return n.#o}},{get client(){return u()},get buttonPosition(){return a()},get position(){return o()},get initialIsOpen(){return s()},get errorTypes(){return c()},get hideDisabledQueries(){return l()},get theme(){return d()}}))},n);this.#i=!0,this.#m=o}unmount(){if(!this.#i)throw Error(`Devtools is not mounted`);this.#m?.(),this.#i=!1}},s=class{#e;#t;#n;#r;#i=!1;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;#h;constructor(e){let{client:t,queryFlavor:r,version:i,onlineManager:a,buttonPosition:o,position:s,initialIsOpen:c,errorTypes:l,styleNonce:u,shadowDOMTarget:d,onClose:f,hideDisabledQueries:p,theme:m}=e;this.#e=n(t),this.#n=r,this.#r=i,this.#t=a,this.#a=u,this.#o=d,this.#s=n(o),this.#c=n(s),this.#l=n(c),this.#u=n(l),this.#d=n(p),this.#f=n(f),this.#m=n(m)}setButtonPosition(e){this.#s[1](e)}setPosition(e){this.#c[1](e)}setInitialIsOpen(e){this.#l[1](e)}setErrorTypes(e){this.#u[1](e)}setClient(e){this.#e[1](e)}setOnClose(e){this.#f[1](()=>e)}setTheme(e){this.#m[1](e)}mount(n){if(this.#i)throw Error(`Devtools is already mounted`);let o=a(()=>{let n=this,[a]=this.#s,[o]=this.#c,[s]=this.#l,[c]=this.#u,[l]=this.#d,[u]=this.#e,[d]=this.#f,[f]=this.#m,p;return this.#p?p=this.#p:(p=i(()=>import(`./DevtoolsPanelComponent-Be8narGM.js`)),this.#p=p),r(this.#a,this.#o),t(p,e({get queryFlavor(){return n.#n},get version(){return n.#r},get onlineManager(){return n.#t},get shadowDOMTarget(){return n.#o}},{get client(){return u()},get buttonPosition(){return a()},get position(){return o()},get initialIsOpen(){return s()},get errorTypes(){return c()},get hideDisabledQueries(){return l()},get onClose(){return d()},get theme(){return f()}}))},n);this.#i=!0,this.#h=o}unmount(){if(!this.#i)throw Error(`Devtools is not mounted`);this.#h?.(),this.#i=!1}};export{o as TanstackQueryDevtools,s as TanstackQueryDevtoolsPanel};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["render","createSignal","lazy","setupStyleSheet","QueryClient","onlineManager","TOnlineManager","DevtoolsComponentType","DevtoolsButtonPosition","DevtoolsErrorType","DevtoolsPosition","QueryDevtoolsProps","Theme","Signal","TanstackQueryDevtoolsConfig","styleNonce","shadowDOMTarget","ShadowRoot","TanstackQueryDevtools","client","queryFlavor","version","isMounted","buttonPosition","position","initialIsOpen","errorTypes","Array","hideDisabledQueries","Component","theme","dispose","constructor","config","setButtonPosition","setPosition","setInitialIsOpen","isOpen","setErrorTypes","setClient","setTheme","mount","HTMLElement","el","T","Error","_self$","btnPosition","pos","errors","queryClient","Devtools","_$createComponent","_$mergeProps","unmount","render","createSignal","lazy","setupStyleSheet","QueryClient","onlineManager","TOnlineManager","DevtoolsComponentType","DevtoolsButtonPosition","DevtoolsErrorType","DevtoolsPosition","QueryDevtoolsProps","Theme","Signal","TanstackQueryDevtoolsPanelConfig","styleNonce","shadowDOMTarget","ShadowRoot","onClose","TanstackQueryDevtoolsPanel","client","queryFlavor","version","isMounted","buttonPosition","position","initialIsOpen","errorTypes","Array","hideDisabledQueries","Component","theme","dispose","constructor","config","setButtonPosition","setPosition","setInitialIsOpen","isOpen","setErrorTypes","setClient","setOnClose","setTheme","mount","HTMLElement","el","T","Error","_self$","btnPosition","pos","errors","queryClient","Devtools","_$createComponent","_$mergeProps","unmount"],"sources":["../src/TanstackQueryDevtools.tsx","../src/TanstackQueryDevtoolsPanel.tsx"],"sourcesContent":["import { render } from 'solid-js/web'\nimport { createSignal, lazy } from 'solid-js'\nimport { setupStyleSheet } from './utils'\nimport type {\n QueryClient,\n onlineManager as TOnlineManager,\n} from '@tanstack/query-core'\nimport type { DevtoolsComponentType } from './Devtools'\nimport type {\n DevtoolsButtonPosition,\n DevtoolsErrorType,\n DevtoolsPosition,\n QueryDevtoolsProps,\n Theme,\n} from './contexts'\nimport type { Signal } from 'solid-js'\n\nexport interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {\n styleNonce?: string\n shadowDOMTarget?: ShadowRoot\n}\n\nclass TanstackQueryDevtools {\n #client: Signal<QueryClient>\n #onlineManager: typeof TOnlineManager\n #queryFlavor: string\n #version: string\n #isMounted = false\n #styleNonce?: string\n #shadowDOMTarget?: ShadowRoot\n #buttonPosition: Signal<DevtoolsButtonPosition | undefined>\n #position: Signal<DevtoolsPosition | undefined>\n #initialIsOpen: Signal<boolean | undefined>\n #errorTypes: Signal<Array<DevtoolsErrorType> | undefined>\n #hideDisabledQueries: Signal<boolean | undefined>\n #Component: DevtoolsComponentType | undefined\n #theme: Signal<Theme | undefined>\n #dispose?: () => void\n\n constructor(config: TanstackQueryDevtoolsConfig) {\n const {\n client,\n queryFlavor,\n version,\n onlineManager,\n buttonPosition,\n position,\n initialIsOpen,\n errorTypes,\n styleNonce,\n shadowDOMTarget,\n hideDisabledQueries,\n theme,\n } = config\n this.#client = createSignal(client)\n this.#queryFlavor = queryFlavor\n this.#version = version\n this.#onlineManager = onlineManager\n this.#styleNonce = styleNonce\n this.#shadowDOMTarget = shadowDOMTarget\n this.#buttonPosition = createSignal(buttonPosition)\n this.#position = createSignal(position)\n this.#initialIsOpen = createSignal(initialIsOpen)\n this.#errorTypes = createSignal(errorTypes)\n this.#hideDisabledQueries = createSignal(hideDisabledQueries)\n this.#theme = createSignal(theme)\n }\n\n setButtonPosition(position: DevtoolsButtonPosition) {\n this.#buttonPosition[1](position)\n }\n\n setPosition(position: DevtoolsPosition) {\n this.#position[1](position)\n }\n\n setInitialIsOpen(isOpen: boolean) {\n this.#initialIsOpen[1](isOpen)\n }\n\n setErrorTypes(errorTypes: Array<DevtoolsErrorType>) {\n this.#errorTypes[1](errorTypes)\n }\n\n setClient(client: QueryClient) {\n this.#client[1](client)\n }\n\n setTheme(theme?: Theme) {\n this.#theme[1](theme)\n }\n\n mount<T extends HTMLElement>(el: T) {\n if (this.#isMounted) {\n throw new Error('Devtools is already mounted')\n }\n const dispose = render(() => {\n const [btnPosition] = this.#buttonPosition\n const [pos] = this.#position\n const [isOpen] = this.#initialIsOpen\n const [errors] = this.#errorTypes\n const [hideDisabledQueries] = this.#hideDisabledQueries\n const [queryClient] = this.#client\n const [theme] = this.#theme\n let Devtools: DevtoolsComponentType\n\n if (this.#Component) {\n Devtools = this.#Component\n } else {\n Devtools = lazy(() => import('./DevtoolsComponent'))\n this.#Component = Devtools\n }\n\n setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget)\n return (\n <Devtools\n queryFlavor={this.#queryFlavor}\n version={this.#version}\n onlineManager={this.#onlineManager}\n shadowDOMTarget={this.#shadowDOMTarget}\n {...{\n get client() {\n return queryClient()\n },\n get buttonPosition() {\n return btnPosition()\n },\n get position() {\n return pos()\n },\n get initialIsOpen() {\n return isOpen()\n },\n get errorTypes() {\n return errors()\n },\n get hideDisabledQueries() {\n return hideDisabledQueries()\n },\n get theme() {\n return theme()\n },\n }}\n />\n )\n }, el)\n this.#isMounted = true\n this.#dispose = dispose\n }\n\n unmount() {\n if (!this.#isMounted) {\n throw new Error('Devtools is not mounted')\n }\n this.#dispose?.()\n this.#isMounted = false\n }\n}\n\nexport { TanstackQueryDevtools }\n","import { render } from 'solid-js/web'\nimport { createSignal, lazy } from 'solid-js'\nimport { setupStyleSheet } from './utils'\nimport type {\n QueryClient,\n onlineManager as TOnlineManager,\n} from '@tanstack/query-core'\nimport type { DevtoolsComponentType } from './Devtools'\nimport type {\n DevtoolsButtonPosition,\n DevtoolsErrorType,\n DevtoolsPosition,\n QueryDevtoolsProps,\n Theme,\n} from './contexts'\nimport type { Signal } from 'solid-js'\n\nexport interface TanstackQueryDevtoolsPanelConfig extends QueryDevtoolsProps {\n styleNonce?: string\n shadowDOMTarget?: ShadowRoot\n onClose?: () => void\n}\n\nclass TanstackQueryDevtoolsPanel {\n #client: Signal<QueryClient>\n #onlineManager: typeof TOnlineManager\n #queryFlavor: string\n #version: string\n #isMounted = false\n #styleNonce?: string\n #shadowDOMTarget?: ShadowRoot\n #buttonPosition: Signal<DevtoolsButtonPosition | undefined>\n #position: Signal<DevtoolsPosition | undefined>\n #initialIsOpen: Signal<boolean | undefined>\n #errorTypes: Signal<Array<DevtoolsErrorType> | undefined>\n #hideDisabledQueries: Signal<boolean | undefined>\n #onClose: Signal<(() => void) | undefined>\n #Component: DevtoolsComponentType | undefined\n #theme: Signal<Theme | undefined>\n #dispose?: () => void\n\n constructor(config: TanstackQueryDevtoolsPanelConfig) {\n const {\n client,\n queryFlavor,\n version,\n onlineManager,\n buttonPosition,\n position,\n initialIsOpen,\n errorTypes,\n styleNonce,\n shadowDOMTarget,\n onClose,\n hideDisabledQueries,\n theme,\n } = config\n this.#client = createSignal(client)\n this.#queryFlavor = queryFlavor\n this.#version = version\n this.#onlineManager = onlineManager\n this.#styleNonce = styleNonce\n this.#shadowDOMTarget = shadowDOMTarget\n this.#buttonPosition = createSignal(buttonPosition)\n this.#position = createSignal(position)\n this.#initialIsOpen = createSignal(initialIsOpen)\n this.#errorTypes = createSignal(errorTypes)\n this.#hideDisabledQueries = createSignal(hideDisabledQueries)\n this.#onClose = createSignal(onClose)\n this.#theme = createSignal(theme)\n }\n\n setButtonPosition(position: DevtoolsButtonPosition) {\n this.#buttonPosition[1](position)\n }\n\n setPosition(position: DevtoolsPosition) {\n this.#position[1](position)\n }\n\n setInitialIsOpen(isOpen: boolean) {\n this.#initialIsOpen[1](isOpen)\n }\n\n setErrorTypes(errorTypes: Array<DevtoolsErrorType>) {\n this.#errorTypes[1](errorTypes)\n }\n\n setClient(client: QueryClient) {\n this.#client[1](client)\n }\n\n setOnClose(onClose: () => void) {\n this.#onClose[1](() => onClose)\n }\n\n setTheme(theme?: Theme) {\n this.#theme[1](theme)\n }\n\n mount<T extends HTMLElement>(el: T) {\n if (this.#isMounted) {\n throw new Error('Devtools is already mounted')\n }\n const dispose = render(() => {\n const [btnPosition] = this.#buttonPosition\n const [pos] = this.#position\n const [isOpen] = this.#initialIsOpen\n const [errors] = this.#errorTypes\n const [hideDisabledQueries] = this.#hideDisabledQueries\n const [queryClient] = this.#client\n const [onClose] = this.#onClose\n const [theme] = this.#theme\n let Devtools: DevtoolsComponentType\n\n if (this.#Component) {\n Devtools = this.#Component\n } else {\n Devtools = lazy(() => import('./DevtoolsPanelComponent'))\n this.#Component = Devtools\n }\n\n setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget)\n return (\n <Devtools\n queryFlavor={this.#queryFlavor}\n version={this.#version}\n onlineManager={this.#onlineManager}\n shadowDOMTarget={this.#shadowDOMTarget}\n {...{\n get client() {\n return queryClient()\n },\n get buttonPosition() {\n return btnPosition()\n },\n get position() {\n return pos()\n },\n get initialIsOpen() {\n return isOpen()\n },\n get errorTypes() {\n return errors()\n },\n get hideDisabledQueries() {\n return hideDisabledQueries()\n },\n get onClose() {\n return onClose()\n },\n get theme() {\n return theme()\n },\n }}\n />\n )\n }, el)\n this.#isMounted = true\n this.#dispose = dispose\n }\n\n unmount() {\n if (!this.#isMounted) {\n throw new Error('Devtools is not mounted')\n }\n this.#dispose?.()\n this.#isMounted = false\n }\n}\n\nexport { TanstackQueryDevtoolsPanel }\n"],"mappings":"2EAsBA,IAAMkB,EAAN,KAA4B,CAC1B,GACA,GACA,GACA,GACA,GAAa,GACb,GACA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