@tanstack/query-devtools 5.1.0 → 5.4.2
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/{QHGCTHEZ.jsx → 7FRXYIEA.jsx} +119 -90
- package/build/Devtools/{BWLPXLBN.js → HESZYUBG.js} +141 -107
- package/build/Devtools/{QHLLQ2XL.jsx → KWB27UDF.jsx} +119 -90
- package/build/Devtools/{CRASJTHY.js → MVUALMJ4.js} +141 -107
- package/build/dev.cjs +140 -106
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +140 -106
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +1 -1
- package/src/Devtools.tsx +50 -14
- package/src/Explorer.tsx +5 -5
- package/src/theme.ts +71 -71
package/build/dev.cjs
CHANGED
|
@@ -10677,35 +10677,35 @@ var init_theme = __esm({
|
|
|
10677
10677
|
},
|
|
10678
10678
|
font: {
|
|
10679
10679
|
size: {
|
|
10680
|
-
"2xs": "0.
|
|
10681
|
-
xs: "0.
|
|
10682
|
-
sm: "0.
|
|
10683
|
-
md: "
|
|
10684
|
-
lg: "1.
|
|
10685
|
-
xl: "1.
|
|
10686
|
-
"2xl": "1.
|
|
10687
|
-
"3xl": "1.
|
|
10688
|
-
"4xl": "2.
|
|
10689
|
-
"5xl": "
|
|
10690
|
-
"6xl": "3.
|
|
10691
|
-
"7xl": "4.
|
|
10692
|
-
"8xl": "
|
|
10693
|
-
"9xl": "
|
|
10680
|
+
"2xs": "calc(var(--tsqd-font-size) * 0.625)",
|
|
10681
|
+
xs: "calc(var(--tsqd-font-size) * 0.75)",
|
|
10682
|
+
sm: "calc(var(--tsqd-font-size) * 0.875)",
|
|
10683
|
+
md: "var(--tsqd-font-size)",
|
|
10684
|
+
lg: "calc(var(--tsqd-font-size) * 1.125)",
|
|
10685
|
+
xl: "calc(var(--tsqd-font-size) * 1.25)",
|
|
10686
|
+
"2xl": "calc(var(--tsqd-font-size) * 1.5)",
|
|
10687
|
+
"3xl": "calc(var(--tsqd-font-size) * 1.875)",
|
|
10688
|
+
"4xl": "calc(var(--tsqd-font-size) * 2.25)",
|
|
10689
|
+
"5xl": "calc(var(--tsqd-font-size) * 3)",
|
|
10690
|
+
"6xl": "calc(var(--tsqd-font-size) * 3.75)",
|
|
10691
|
+
"7xl": "calc(var(--tsqd-font-size) * 4.5)",
|
|
10692
|
+
"8xl": "calc(var(--tsqd-font-size) * 6)",
|
|
10693
|
+
"9xl": "calc(var(--tsqd-font-size) * 8)"
|
|
10694
10694
|
},
|
|
10695
10695
|
lineHeight: {
|
|
10696
|
-
xs: "
|
|
10697
|
-
sm: "1.
|
|
10698
|
-
md: "1.
|
|
10699
|
-
lg: "1.
|
|
10700
|
-
xl: "
|
|
10701
|
-
"2xl": "
|
|
10702
|
-
"3xl": "2.
|
|
10703
|
-
"4xl": "2.
|
|
10704
|
-
"5xl": "
|
|
10705
|
-
"6xl": "
|
|
10706
|
-
"7xl": "
|
|
10707
|
-
"8xl": "
|
|
10708
|
-
"9xl": "
|
|
10696
|
+
xs: "calc(var(--tsqd-font-size) * 1)",
|
|
10697
|
+
sm: "calc(var(--tsqd-font-size) * 1.25)",
|
|
10698
|
+
md: "calc(var(--tsqd-font-size) * 1.5)",
|
|
10699
|
+
lg: "calc(var(--tsqd-font-size) * 1.75)",
|
|
10700
|
+
xl: "calc(var(--tsqd-font-size) * 2)",
|
|
10701
|
+
"2xl": "calc(var(--tsqd-font-size) * 2.25)",
|
|
10702
|
+
"3xl": "calc(var(--tsqd-font-size) * 2.5)",
|
|
10703
|
+
"4xl": "calc(var(--tsqd-font-size) * 2.75)",
|
|
10704
|
+
"5xl": "calc(var(--tsqd-font-size) * 3)",
|
|
10705
|
+
"6xl": "calc(var(--tsqd-font-size) * 3.25)",
|
|
10706
|
+
"7xl": "calc(var(--tsqd-font-size) * 3.5)",
|
|
10707
|
+
"8xl": "calc(var(--tsqd-font-size) * 3.75)",
|
|
10708
|
+
"9xl": "calc(var(--tsqd-font-size) * 4)"
|
|
10709
10709
|
},
|
|
10710
10710
|
weight: {
|
|
10711
10711
|
thin: "100",
|
|
@@ -10730,55 +10730,55 @@ var init_theme = __esm({
|
|
|
10730
10730
|
border: {
|
|
10731
10731
|
radius: {
|
|
10732
10732
|
none: "0px",
|
|
10733
|
-
xs: "0.
|
|
10734
|
-
sm: "0.
|
|
10735
|
-
md: "0.
|
|
10736
|
-
lg: "0.
|
|
10737
|
-
xl: "0.
|
|
10738
|
-
"2xl": "
|
|
10739
|
-
"3xl": "1.
|
|
10733
|
+
xs: "calc(var(--tsqd-font-size) * 0.125)",
|
|
10734
|
+
sm: "calc(var(--tsqd-font-size) * 0.25)",
|
|
10735
|
+
md: "calc(var(--tsqd-font-size) * 0.375)",
|
|
10736
|
+
lg: "calc(var(--tsqd-font-size) * 0.5)",
|
|
10737
|
+
xl: "calc(var(--tsqd-font-size) * 0.75)",
|
|
10738
|
+
"2xl": "calc(var(--tsqd-font-size) * 1)",
|
|
10739
|
+
"3xl": "calc(var(--tsqd-font-size) * 1.5)",
|
|
10740
10740
|
full: "9999px"
|
|
10741
10741
|
}
|
|
10742
10742
|
},
|
|
10743
10743
|
size: {
|
|
10744
10744
|
0: "0px",
|
|
10745
|
-
0.25: "0.
|
|
10746
|
-
0.5: "0.
|
|
10747
|
-
1: "0.
|
|
10748
|
-
1.5: "0.
|
|
10749
|
-
2: "0.
|
|
10750
|
-
2.5: "0.
|
|
10751
|
-
3: "0.
|
|
10752
|
-
3.5: "0.
|
|
10753
|
-
4: "
|
|
10754
|
-
4.5: "1.
|
|
10755
|
-
5: "1.
|
|
10756
|
-
5.5: "1.
|
|
10757
|
-
6: "1.
|
|
10758
|
-
6.5: "1.
|
|
10759
|
-
7: "1.
|
|
10760
|
-
8: "
|
|
10761
|
-
9: "2.
|
|
10762
|
-
10: "2.
|
|
10763
|
-
11: "2.
|
|
10764
|
-
12: "
|
|
10765
|
-
14: "3.
|
|
10766
|
-
16: "
|
|
10767
|
-
20: "
|
|
10768
|
-
24: "
|
|
10769
|
-
28: "
|
|
10770
|
-
32: "
|
|
10771
|
-
36: "
|
|
10772
|
-
40: "
|
|
10773
|
-
44: "
|
|
10774
|
-
48: "
|
|
10775
|
-
52: "
|
|
10776
|
-
56: "
|
|
10777
|
-
60: "
|
|
10778
|
-
64: "
|
|
10779
|
-
72: "
|
|
10780
|
-
80: "
|
|
10781
|
-
96: "
|
|
10745
|
+
0.25: "calc(var(--tsqd-font-size) * 0.0625)",
|
|
10746
|
+
0.5: "calc(var(--tsqd-font-size) * 0.125)",
|
|
10747
|
+
1: "calc(var(--tsqd-font-size) * 0.25)",
|
|
10748
|
+
1.5: "calc(var(--tsqd-font-size) * 0.375)",
|
|
10749
|
+
2: "calc(var(--tsqd-font-size) * 0.5)",
|
|
10750
|
+
2.5: "calc(var(--tsqd-font-size) * 0.625)",
|
|
10751
|
+
3: "calc(var(--tsqd-font-size) * 0.75)",
|
|
10752
|
+
3.5: "calc(var(--tsqd-font-size) * 0.875)",
|
|
10753
|
+
4: "calc(var(--tsqd-font-size) * 1)",
|
|
10754
|
+
4.5: "calc(var(--tsqd-font-size) * 1.125)",
|
|
10755
|
+
5: "calc(var(--tsqd-font-size) * 1.25)",
|
|
10756
|
+
5.5: "calc(var(--tsqd-font-size) * 1.375)",
|
|
10757
|
+
6: "calc(var(--tsqd-font-size) * 1.5)",
|
|
10758
|
+
6.5: "calc(var(--tsqd-font-size) * 1.625)",
|
|
10759
|
+
7: "calc(var(--tsqd-font-size) * 1.75)",
|
|
10760
|
+
8: "calc(var(--tsqd-font-size) * 2)",
|
|
10761
|
+
9: "calc(var(--tsqd-font-size) * 2.25)",
|
|
10762
|
+
10: "calc(var(--tsqd-font-size) * 2.5)",
|
|
10763
|
+
11: "calc(var(--tsqd-font-size) * 2.75)",
|
|
10764
|
+
12: "calc(var(--tsqd-font-size) * 3)",
|
|
10765
|
+
14: "calc(var(--tsqd-font-size) * 3.5)",
|
|
10766
|
+
16: "calc(var(--tsqd-font-size) * 4)",
|
|
10767
|
+
20: "calc(var(--tsqd-font-size) * 5)",
|
|
10768
|
+
24: "calc(var(--tsqd-font-size) * 6)",
|
|
10769
|
+
28: "calc(var(--tsqd-font-size) * 7)",
|
|
10770
|
+
32: "calc(var(--tsqd-font-size) * 8)",
|
|
10771
|
+
36: "calc(var(--tsqd-font-size) * 9)",
|
|
10772
|
+
40: "calc(var(--tsqd-font-size) * 10)",
|
|
10773
|
+
44: "calc(var(--tsqd-font-size) * 11)",
|
|
10774
|
+
48: "calc(var(--tsqd-font-size) * 12)",
|
|
10775
|
+
52: "calc(var(--tsqd-font-size) * 13)",
|
|
10776
|
+
56: "calc(var(--tsqd-font-size) * 14)",
|
|
10777
|
+
60: "calc(var(--tsqd-font-size) * 15)",
|
|
10778
|
+
64: "calc(var(--tsqd-font-size) * 16)",
|
|
10779
|
+
72: "calc(var(--tsqd-font-size) * 18)",
|
|
10780
|
+
80: "calc(var(--tsqd-font-size) * 20)",
|
|
10781
|
+
96: "calc(var(--tsqd-font-size) * 24)"
|
|
10782
10782
|
},
|
|
10783
10783
|
shadow: Shadow,
|
|
10784
10784
|
zIndices: {
|
|
@@ -12866,8 +12866,8 @@ var init_Explorer = __esm({
|
|
|
12866
12866
|
expanderButtonContainer: u`
|
|
12867
12867
|
display: flex;
|
|
12868
12868
|
align-items: center;
|
|
12869
|
-
line-height:
|
|
12870
|
-
min-height:
|
|
12869
|
+
line-height: ${size2[4]};
|
|
12870
|
+
min-height: ${size2[4]};
|
|
12871
12871
|
gap: ${size2[2]};
|
|
12872
12872
|
`,
|
|
12873
12873
|
expanderButton: u`
|
|
@@ -12875,7 +12875,7 @@ var init_Explorer = __esm({
|
|
|
12875
12875
|
color: inherit;
|
|
12876
12876
|
font: inherit;
|
|
12877
12877
|
outline: inherit;
|
|
12878
|
-
height:
|
|
12878
|
+
height: ${size2[5]};
|
|
12879
12879
|
background: transparent;
|
|
12880
12880
|
border: none;
|
|
12881
12881
|
padding: 0;
|
|
@@ -12917,8 +12917,8 @@ var init_Explorer = __esm({
|
|
|
12917
12917
|
display: inline-flex;
|
|
12918
12918
|
gap: ${size2[2]};
|
|
12919
12919
|
width: 100%;
|
|
12920
|
-
margin
|
|
12921
|
-
line-height:
|
|
12920
|
+
margin: ${size2[0.25]} 0px;
|
|
12921
|
+
line-height: ${size2[4.5]};
|
|
12922
12922
|
align-items: center;
|
|
12923
12923
|
`,
|
|
12924
12924
|
editableInput: u`
|
|
@@ -13106,16 +13106,31 @@ var init_Devtools = __esm({
|
|
|
13106
13106
|
const position = createMemo(() => {
|
|
13107
13107
|
return props.localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
13108
13108
|
});
|
|
13109
|
+
let transitionsContainerRef;
|
|
13109
13110
|
createEffect(() => {
|
|
13110
|
-
const root =
|
|
13111
|
+
const root = transitionsContainerRef.parentElement;
|
|
13111
13112
|
const height = props.localStore.height || DEFAULT_HEIGHT;
|
|
13112
13113
|
const width = props.localStore.width || DEFAULT_WIDTH;
|
|
13113
13114
|
const panelPosition = position();
|
|
13114
13115
|
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
13115
13116
|
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
13116
13117
|
});
|
|
13118
|
+
onMount(() => {
|
|
13119
|
+
const onFocus = () => {
|
|
13120
|
+
const root = transitionsContainerRef.parentElement;
|
|
13121
|
+
const fontSize = getComputedStyle(root).fontSize;
|
|
13122
|
+
root.style.setProperty("--tsqd-font-size", fontSize);
|
|
13123
|
+
};
|
|
13124
|
+
onFocus();
|
|
13125
|
+
window.addEventListener("focus", onFocus);
|
|
13126
|
+
onCleanup(() => {
|
|
13127
|
+
window.removeEventListener("focus", onFocus);
|
|
13128
|
+
});
|
|
13129
|
+
});
|
|
13117
13130
|
return (() => {
|
|
13118
13131
|
const _el$ = _tmpl$25();
|
|
13132
|
+
const _ref$ = transitionsContainerRef;
|
|
13133
|
+
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
13119
13134
|
insert(_el$, createComponent(TransitionGroup, {
|
|
13120
13135
|
name: "tsqd-panel-transition",
|
|
13121
13136
|
get children() {
|
|
@@ -13287,8 +13302,8 @@ var init_Devtools = __esm({
|
|
|
13287
13302
|
};
|
|
13288
13303
|
return (() => {
|
|
13289
13304
|
const _el$5 = _tmpl$33(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
|
|
13290
|
-
const _ref$ = panelRef;
|
|
13291
|
-
typeof _ref$ === "function" ? use(_ref
|
|
13305
|
+
const _ref$2 = panelRef;
|
|
13306
|
+
typeof _ref$2 === "function" ? use(_ref$2, _el$5) : panelRef = _el$5;
|
|
13292
13307
|
_el$6.$$mousedown = handleDragStart;
|
|
13293
13308
|
_el$7.$$click = () => props.setLocalStore("open", "false");
|
|
13294
13309
|
insert(_el$7, createComponent(ChevronDown, {}));
|
|
@@ -13325,6 +13340,7 @@ var init_Devtools = __esm({
|
|
|
13325
13340
|
ContentView = (props) => {
|
|
13326
13341
|
setupQueryCacheSubscription();
|
|
13327
13342
|
setupMutationCacheSubscription();
|
|
13343
|
+
let containerRef;
|
|
13328
13344
|
const theme = useTheme();
|
|
13329
13345
|
const styles = createMemo(() => {
|
|
13330
13346
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
@@ -13368,8 +13384,15 @@ var init_Devtools = __esm({
|
|
|
13368
13384
|
const setDevtoolsPosition = (pos) => {
|
|
13369
13385
|
props.setLocalStore("position", pos);
|
|
13370
13386
|
};
|
|
13387
|
+
const setComputedVariables = (el) => {
|
|
13388
|
+
const computedStyle = getComputedStyle(containerRef);
|
|
13389
|
+
const variable = computedStyle.getPropertyValue("--tsqd-font-size");
|
|
13390
|
+
el.style.setProperty("--tsqd-font-size", variable);
|
|
13391
|
+
};
|
|
13371
13392
|
return [(() => {
|
|
13372
13393
|
const _el$8 = _tmpl$192(), _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling, _el$14 = _el$13.firstChild, _el$15 = _el$9.nextSibling, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$17.firstChild, _el$19 = _el$17.nextSibling, _el$22 = _el$19.nextSibling, _el$25 = _el$16.nextSibling, _el$26 = _el$25.firstChild, _el$27 = _el$26.nextSibling;
|
|
13394
|
+
const _ref$3 = containerRef;
|
|
13395
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
13373
13396
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
13374
13397
|
insert(_el$13, () => useQueryDevtoolsContext().queryFlavor, _el$14);
|
|
13375
13398
|
insert(_el$13, () => useQueryDevtoolsContext().version, null);
|
|
@@ -13533,6 +13556,7 @@ var init_Devtools = __esm({
|
|
|
13533
13556
|
return createComponent(Settings, {});
|
|
13534
13557
|
}
|
|
13535
13558
|
}), createComponent(index$d.Portal, {
|
|
13559
|
+
ref: (el) => setComputedVariables(el),
|
|
13536
13560
|
get children() {
|
|
13537
13561
|
return createComponent(index$d.Content, {
|
|
13538
13562
|
get ["class"]() {
|
|
@@ -13556,6 +13580,7 @@ var init_Devtools = __esm({
|
|
|
13556
13580
|
return [_tmpl$83(), createComponent(ChevronDown, {})];
|
|
13557
13581
|
}
|
|
13558
13582
|
}), createComponent(index$d.Portal, {
|
|
13583
|
+
ref: (el) => setComputedVariables(el),
|
|
13559
13584
|
get children() {
|
|
13560
13585
|
return createComponent(index$d.SubContent, {
|
|
13561
13586
|
get ["class"]() {
|
|
@@ -13625,6 +13650,7 @@ var init_Devtools = __esm({
|
|
|
13625
13650
|
return [_tmpl$132(), createComponent(ChevronDown, {})];
|
|
13626
13651
|
}
|
|
13627
13652
|
}), createComponent(index$d.Portal, {
|
|
13653
|
+
ref: (el) => setComputedVariables(el),
|
|
13628
13654
|
get children() {
|
|
13629
13655
|
return createComponent(index$d.SubContent, {
|
|
13630
13656
|
get ["class"]() {
|
|
@@ -14096,8 +14122,8 @@ var init_Devtools = __esm({
|
|
|
14096
14122
|
});
|
|
14097
14123
|
return (() => {
|
|
14098
14124
|
const _el$55 = _tmpl$252(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
14099
|
-
const _ref$
|
|
14100
|
-
typeof _ref$
|
|
14125
|
+
const _ref$4 = tagRef;
|
|
14126
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
14101
14127
|
_el$55.addEventListener("mouseleave", () => {
|
|
14102
14128
|
setMouseOver(false);
|
|
14103
14129
|
setFocused(false);
|
|
@@ -14358,7 +14384,6 @@ var init_Devtools = __esm({
|
|
|
14358
14384
|
return _el$89;
|
|
14359
14385
|
}
|
|
14360
14386
|
}), null);
|
|
14361
|
-
_el$95.style.setProperty("padding", "0.5rem");
|
|
14362
14387
|
insert(_el$95, createComponent(Explorer, {
|
|
14363
14388
|
label: "Data",
|
|
14364
14389
|
defaultExpanded: ["Data"],
|
|
@@ -14370,7 +14395,6 @@ var init_Devtools = __esm({
|
|
|
14370
14395
|
return activeQuery();
|
|
14371
14396
|
}
|
|
14372
14397
|
}));
|
|
14373
|
-
_el$97.style.setProperty("padding", "0.5rem");
|
|
14374
14398
|
insert(_el$97, createComponent(Explorer, {
|
|
14375
14399
|
label: "Query",
|
|
14376
14400
|
defaultExpanded: ["Query", "queryKey"],
|
|
@@ -14399,7 +14423,7 @@ var init_Devtools = __esm({
|
|
|
14399
14423
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14400
14424
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$58 = restoringLoading(), _v$59 = u`
|
|
14401
14425
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14402
|
-
`, _v$60 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$61 = clsx(styles().detailsHeader, "tsqd-query-details-header");
|
|
14426
|
+
`, _v$60 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$61 = tokens.size[2], _v$62 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$63 = tokens.size[2];
|
|
14403
14427
|
_v$39 !== _p$._v$39 && className(_el$60, _p$._v$39 = _v$39);
|
|
14404
14428
|
_v$40 !== _p$._v$40 && className(_el$61, _p$._v$40 = _v$40);
|
|
14405
14429
|
_v$41 !== _p$._v$41 && className(_el$62, _p$._v$41 = _v$41);
|
|
@@ -14422,7 +14446,9 @@ var init_Devtools = __esm({
|
|
|
14422
14446
|
_v$58 !== _p$._v$58 && (_el$83.disabled = _p$._v$58 = _v$58);
|
|
14423
14447
|
_v$59 !== _p$._v$59 && className(_el$84, _p$._v$59 = _v$59);
|
|
14424
14448
|
_v$60 !== _p$._v$60 && className(_el$94, _p$._v$60 = _v$60);
|
|
14425
|
-
_v$61 !== _p$._v$61 &&
|
|
14449
|
+
_v$61 !== _p$._v$61 && ((_p$._v$61 = _v$61) != null ? _el$95.style.setProperty("padding", _v$61) : _el$95.style.removeProperty("padding"));
|
|
14450
|
+
_v$62 !== _p$._v$62 && className(_el$96, _p$._v$62 = _v$62);
|
|
14451
|
+
_v$63 !== _p$._v$63 && ((_p$._v$63 = _v$63) != null ? _el$97.style.setProperty("padding", _v$63) : _el$97.style.removeProperty("padding"));
|
|
14426
14452
|
return _p$;
|
|
14427
14453
|
}, {
|
|
14428
14454
|
_v$39: void 0,
|
|
@@ -14447,7 +14473,9 @@ var init_Devtools = __esm({
|
|
|
14447
14473
|
_v$58: void 0,
|
|
14448
14474
|
_v$59: void 0,
|
|
14449
14475
|
_v$60: void 0,
|
|
14450
|
-
_v$61: void 0
|
|
14476
|
+
_v$61: void 0,
|
|
14477
|
+
_v$62: void 0,
|
|
14478
|
+
_v$63: void 0
|
|
14451
14479
|
});
|
|
14452
14480
|
return _el$60;
|
|
14453
14481
|
}
|
|
@@ -14525,7 +14553,6 @@ var init_Devtools = __esm({
|
|
|
14525
14553
|
}
|
|
14526
14554
|
}), null);
|
|
14527
14555
|
insert(_el$108, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14528
|
-
_el$110.style.setProperty("padding", "0.5rem");
|
|
14529
14556
|
insert(_el$110, createComponent(Explorer, {
|
|
14530
14557
|
label: "Variables",
|
|
14531
14558
|
defaultExpanded: ["Variables"],
|
|
@@ -14533,7 +14560,6 @@ var init_Devtools = __esm({
|
|
|
14533
14560
|
return activeMutation().state.variables;
|
|
14534
14561
|
}
|
|
14535
14562
|
}));
|
|
14536
|
-
_el$112.style.setProperty("padding", "0.5rem");
|
|
14537
14563
|
insert(_el$112, createComponent(Explorer, {
|
|
14538
14564
|
label: "Context",
|
|
14539
14565
|
defaultExpanded: ["Context"],
|
|
@@ -14541,7 +14567,6 @@ var init_Devtools = __esm({
|
|
|
14541
14567
|
return activeMutation().state.context;
|
|
14542
14568
|
}
|
|
14543
14569
|
}));
|
|
14544
|
-
_el$114.style.setProperty("padding", "0.5rem");
|
|
14545
14570
|
insert(_el$114, createComponent(Explorer, {
|
|
14546
14571
|
label: "Data",
|
|
14547
14572
|
defaultExpanded: ["Data"],
|
|
@@ -14549,7 +14574,6 @@ var init_Devtools = __esm({
|
|
|
14549
14574
|
return activeMutation().state.data;
|
|
14550
14575
|
}
|
|
14551
14576
|
}));
|
|
14552
|
-
_el$116.style.setProperty("padding", "0.5rem");
|
|
14553
14577
|
insert(_el$116, createComponent(Explorer, {
|
|
14554
14578
|
label: "Mutation",
|
|
14555
14579
|
defaultExpanded: ["Mutation"],
|
|
@@ -14558,25 +14582,33 @@ var init_Devtools = __esm({
|
|
|
14558
14582
|
}
|
|
14559
14583
|
}));
|
|
14560
14584
|
createRenderEffect((_p$) => {
|
|
14561
|
-
const _v$
|
|
14562
|
-
_v$
|
|
14563
|
-
_v$
|
|
14564
|
-
_v$
|
|
14565
|
-
_v$
|
|
14566
|
-
_v$
|
|
14567
|
-
_v$
|
|
14568
|
-
_v$
|
|
14569
|
-
_v$
|
|
14585
|
+
const _v$64 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$65 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$66 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$67 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$68 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$69 = tokens.size[2], _v$70 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$71 = tokens.size[2], _v$72 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$73 = tokens.size[2], _v$74 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$75 = tokens.size[2];
|
|
14586
|
+
_v$64 !== _p$._v$64 && className(_el$99, _p$._v$64 = _v$64);
|
|
14587
|
+
_v$65 !== _p$._v$65 && className(_el$100, _p$._v$65 = _v$65);
|
|
14588
|
+
_v$66 !== _p$._v$66 && className(_el$101, _p$._v$66 = _v$66);
|
|
14589
|
+
_v$67 !== _p$._v$67 && className(_el$105, _p$._v$67 = _v$67);
|
|
14590
|
+
_v$68 !== _p$._v$68 && className(_el$109, _p$._v$68 = _v$68);
|
|
14591
|
+
_v$69 !== _p$._v$69 && ((_p$._v$69 = _v$69) != null ? _el$110.style.setProperty("padding", _v$69) : _el$110.style.removeProperty("padding"));
|
|
14592
|
+
_v$70 !== _p$._v$70 && className(_el$111, _p$._v$70 = _v$70);
|
|
14593
|
+
_v$71 !== _p$._v$71 && ((_p$._v$71 = _v$71) != null ? _el$112.style.setProperty("padding", _v$71) : _el$112.style.removeProperty("padding"));
|
|
14594
|
+
_v$72 !== _p$._v$72 && className(_el$113, _p$._v$72 = _v$72);
|
|
14595
|
+
_v$73 !== _p$._v$73 && ((_p$._v$73 = _v$73) != null ? _el$114.style.setProperty("padding", _v$73) : _el$114.style.removeProperty("padding"));
|
|
14596
|
+
_v$74 !== _p$._v$74 && className(_el$115, _p$._v$74 = _v$74);
|
|
14597
|
+
_v$75 !== _p$._v$75 && ((_p$._v$75 = _v$75) != null ? _el$116.style.setProperty("padding", _v$75) : _el$116.style.removeProperty("padding"));
|
|
14570
14598
|
return _p$;
|
|
14571
14599
|
}, {
|
|
14572
|
-
_v$62: void 0,
|
|
14573
|
-
_v$63: void 0,
|
|
14574
14600
|
_v$64: void 0,
|
|
14575
14601
|
_v$65: void 0,
|
|
14576
14602
|
_v$66: void 0,
|
|
14577
14603
|
_v$67: void 0,
|
|
14578
14604
|
_v$68: void 0,
|
|
14579
|
-
_v$69: void 0
|
|
14605
|
+
_v$69: void 0,
|
|
14606
|
+
_v$70: void 0,
|
|
14607
|
+
_v$71: void 0,
|
|
14608
|
+
_v$72: void 0,
|
|
14609
|
+
_v$73: void 0,
|
|
14610
|
+
_v$74: void 0,
|
|
14611
|
+
_v$75: void 0
|
|
14580
14612
|
});
|
|
14581
14613
|
return _el$99;
|
|
14582
14614
|
}
|
|
@@ -14750,7 +14782,7 @@ var init_Devtools = __esm({
|
|
|
14750
14782
|
right: 0;
|
|
14751
14783
|
left: 0;
|
|
14752
14784
|
max-height: 90%;
|
|
14753
|
-
min-height:
|
|
14785
|
+
min-height: ${size2[14]};
|
|
14754
14786
|
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
14755
14787
|
`,
|
|
14756
14788
|
"panel-position-bottom": u`
|
|
@@ -14758,7 +14790,7 @@ var init_Devtools = __esm({
|
|
|
14758
14790
|
right: 0;
|
|
14759
14791
|
left: 0;
|
|
14760
14792
|
max-height: 90%;
|
|
14761
|
-
min-height:
|
|
14793
|
+
min-height: ${size2[14]};
|
|
14762
14794
|
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
14763
14795
|
`,
|
|
14764
14796
|
"panel-position-right": u`
|
|
@@ -15090,6 +15122,8 @@ var init_Devtools = __esm({
|
|
|
15090
15122
|
outline: 2px solid ${colors.blue[800]};
|
|
15091
15123
|
}
|
|
15092
15124
|
& svg {
|
|
15125
|
+
width: ${tokens.size[3]};
|
|
15126
|
+
height: ${tokens.size[3]};
|
|
15093
15127
|
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
15094
15128
|
}
|
|
15095
15129
|
}
|
|
@@ -15175,8 +15209,8 @@ var init_Devtools = __esm({
|
|
|
15175
15209
|
border-radius: ${tokens.border.radius.sm};
|
|
15176
15210
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
15177
15211
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
15178
|
-
width:
|
|
15179
|
-
height:
|
|
15212
|
+
width: ${tokens.size[6.5]};
|
|
15213
|
+
height: ${tokens.size[6.5]};
|
|
15180
15214
|
justify-content: center;
|
|
15181
15215
|
display: flex;
|
|
15182
15216
|
align-items: center;
|
package/build/dev.js
CHANGED
|
@@ -62,7 +62,7 @@ var TanstackQueryDevtools = class {
|
|
|
62
62
|
if (this.#Component) {
|
|
63
63
|
Devtools = this.#Component;
|
|
64
64
|
} else {
|
|
65
|
-
Devtools = lazy(() => import('./Devtools/
|
|
65
|
+
Devtools = lazy(() => import('./Devtools/MVUALMJ4.js'));
|
|
66
66
|
this.#Component = Devtools;
|
|
67
67
|
}
|
|
68
68
|
const _self$ = this;
|
package/build/dev.jsx
CHANGED
|
@@ -66,7 +66,7 @@ var TanstackQueryDevtools = class {
|
|
|
66
66
|
if (this.#Component) {
|
|
67
67
|
Devtools = this.#Component;
|
|
68
68
|
} else {
|
|
69
|
-
Devtools = lazy(() => import("./Devtools/
|
|
69
|
+
Devtools = lazy(() => import("./Devtools/7FRXYIEA.jsx"));
|
|
70
70
|
this.#Component = Devtools;
|
|
71
71
|
}
|
|
72
72
|
return <Devtools
|