@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, delegateEvents, createSignal, createMemo, createComponent, createEffect, insert, Show, createRenderEffect, className,
|
|
1
|
+
import { createContext, delegateEvents, createSignal, createMemo, createComponent, createEffect, onMount, onCleanup, use, insert, Show, createRenderEffect, className, on, setAttribute, spread, mergeProps, For, isServer, $PROXY, $TRACK, getListener, batch, createUniqueId, useContext, Index, template, untrack, useTransition, createRoot, splitProps, Portal, addEventListener, Switch, Match, Dynamic, children, createComputed, getOwner, DEV } from '../chunk/Z53XT47W.js';
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@tanstack+match-sorter-utils@8.8.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
4
4
|
var characterMap = {
|
|
@@ -8510,35 +8510,35 @@ var tokens = {
|
|
|
8510
8510
|
},
|
|
8511
8511
|
font: {
|
|
8512
8512
|
size: {
|
|
8513
|
-
"2xs": "0.
|
|
8514
|
-
xs: "0.
|
|
8515
|
-
sm: "0.
|
|
8516
|
-
md: "
|
|
8517
|
-
lg: "1.
|
|
8518
|
-
xl: "1.
|
|
8519
|
-
"2xl": "1.
|
|
8520
|
-
"3xl": "1.
|
|
8521
|
-
"4xl": "2.
|
|
8522
|
-
"5xl": "
|
|
8523
|
-
"6xl": "3.
|
|
8524
|
-
"7xl": "4.
|
|
8525
|
-
"8xl": "
|
|
8526
|
-
"9xl": "
|
|
8513
|
+
"2xs": "calc(var(--tsqd-font-size) * 0.625)",
|
|
8514
|
+
xs: "calc(var(--tsqd-font-size) * 0.75)",
|
|
8515
|
+
sm: "calc(var(--tsqd-font-size) * 0.875)",
|
|
8516
|
+
md: "var(--tsqd-font-size)",
|
|
8517
|
+
lg: "calc(var(--tsqd-font-size) * 1.125)",
|
|
8518
|
+
xl: "calc(var(--tsqd-font-size) * 1.25)",
|
|
8519
|
+
"2xl": "calc(var(--tsqd-font-size) * 1.5)",
|
|
8520
|
+
"3xl": "calc(var(--tsqd-font-size) * 1.875)",
|
|
8521
|
+
"4xl": "calc(var(--tsqd-font-size) * 2.25)",
|
|
8522
|
+
"5xl": "calc(var(--tsqd-font-size) * 3)",
|
|
8523
|
+
"6xl": "calc(var(--tsqd-font-size) * 3.75)",
|
|
8524
|
+
"7xl": "calc(var(--tsqd-font-size) * 4.5)",
|
|
8525
|
+
"8xl": "calc(var(--tsqd-font-size) * 6)",
|
|
8526
|
+
"9xl": "calc(var(--tsqd-font-size) * 8)"
|
|
8527
8527
|
},
|
|
8528
8528
|
lineHeight: {
|
|
8529
|
-
xs: "
|
|
8530
|
-
sm: "1.
|
|
8531
|
-
md: "1.
|
|
8532
|
-
lg: "1.
|
|
8533
|
-
xl: "
|
|
8534
|
-
"2xl": "
|
|
8535
|
-
"3xl": "2.
|
|
8536
|
-
"4xl": "2.
|
|
8537
|
-
"5xl": "
|
|
8538
|
-
"6xl": "
|
|
8539
|
-
"7xl": "
|
|
8540
|
-
"8xl": "
|
|
8541
|
-
"9xl": "
|
|
8529
|
+
xs: "calc(var(--tsqd-font-size) * 1)",
|
|
8530
|
+
sm: "calc(var(--tsqd-font-size) * 1.25)",
|
|
8531
|
+
md: "calc(var(--tsqd-font-size) * 1.5)",
|
|
8532
|
+
lg: "calc(var(--tsqd-font-size) * 1.75)",
|
|
8533
|
+
xl: "calc(var(--tsqd-font-size) * 2)",
|
|
8534
|
+
"2xl": "calc(var(--tsqd-font-size) * 2.25)",
|
|
8535
|
+
"3xl": "calc(var(--tsqd-font-size) * 2.5)",
|
|
8536
|
+
"4xl": "calc(var(--tsqd-font-size) * 2.75)",
|
|
8537
|
+
"5xl": "calc(var(--tsqd-font-size) * 3)",
|
|
8538
|
+
"6xl": "calc(var(--tsqd-font-size) * 3.25)",
|
|
8539
|
+
"7xl": "calc(var(--tsqd-font-size) * 3.5)",
|
|
8540
|
+
"8xl": "calc(var(--tsqd-font-size) * 3.75)",
|
|
8541
|
+
"9xl": "calc(var(--tsqd-font-size) * 4)"
|
|
8542
8542
|
},
|
|
8543
8543
|
weight: {
|
|
8544
8544
|
thin: "100",
|
|
@@ -8563,55 +8563,55 @@ var tokens = {
|
|
|
8563
8563
|
border: {
|
|
8564
8564
|
radius: {
|
|
8565
8565
|
none: "0px",
|
|
8566
|
-
xs: "0.
|
|
8567
|
-
sm: "0.
|
|
8568
|
-
md: "0.
|
|
8569
|
-
lg: "0.
|
|
8570
|
-
xl: "0.
|
|
8571
|
-
"2xl": "
|
|
8572
|
-
"3xl": "1.
|
|
8566
|
+
xs: "calc(var(--tsqd-font-size) * 0.125)",
|
|
8567
|
+
sm: "calc(var(--tsqd-font-size) * 0.25)",
|
|
8568
|
+
md: "calc(var(--tsqd-font-size) * 0.375)",
|
|
8569
|
+
lg: "calc(var(--tsqd-font-size) * 0.5)",
|
|
8570
|
+
xl: "calc(var(--tsqd-font-size) * 0.75)",
|
|
8571
|
+
"2xl": "calc(var(--tsqd-font-size) * 1)",
|
|
8572
|
+
"3xl": "calc(var(--tsqd-font-size) * 1.5)",
|
|
8573
8573
|
full: "9999px"
|
|
8574
8574
|
}
|
|
8575
8575
|
},
|
|
8576
8576
|
size: {
|
|
8577
8577
|
0: "0px",
|
|
8578
|
-
0.25: "0.
|
|
8579
|
-
0.5: "0.
|
|
8580
|
-
1: "0.
|
|
8581
|
-
1.5: "0.
|
|
8582
|
-
2: "0.
|
|
8583
|
-
2.5: "0.
|
|
8584
|
-
3: "0.
|
|
8585
|
-
3.5: "0.
|
|
8586
|
-
4: "
|
|
8587
|
-
4.5: "1.
|
|
8588
|
-
5: "1.
|
|
8589
|
-
5.5: "1.
|
|
8590
|
-
6: "1.
|
|
8591
|
-
6.5: "1.
|
|
8592
|
-
7: "1.
|
|
8593
|
-
8: "
|
|
8594
|
-
9: "2.
|
|
8595
|
-
10: "2.
|
|
8596
|
-
11: "2.
|
|
8597
|
-
12: "
|
|
8598
|
-
14: "3.
|
|
8599
|
-
16: "
|
|
8600
|
-
20: "
|
|
8601
|
-
24: "
|
|
8602
|
-
28: "
|
|
8603
|
-
32: "
|
|
8604
|
-
36: "
|
|
8605
|
-
40: "
|
|
8606
|
-
44: "
|
|
8607
|
-
48: "
|
|
8608
|
-
52: "
|
|
8609
|
-
56: "
|
|
8610
|
-
60: "
|
|
8611
|
-
64: "
|
|
8612
|
-
72: "
|
|
8613
|
-
80: "
|
|
8614
|
-
96: "
|
|
8578
|
+
0.25: "calc(var(--tsqd-font-size) * 0.0625)",
|
|
8579
|
+
0.5: "calc(var(--tsqd-font-size) * 0.125)",
|
|
8580
|
+
1: "calc(var(--tsqd-font-size) * 0.25)",
|
|
8581
|
+
1.5: "calc(var(--tsqd-font-size) * 0.375)",
|
|
8582
|
+
2: "calc(var(--tsqd-font-size) * 0.5)",
|
|
8583
|
+
2.5: "calc(var(--tsqd-font-size) * 0.625)",
|
|
8584
|
+
3: "calc(var(--tsqd-font-size) * 0.75)",
|
|
8585
|
+
3.5: "calc(var(--tsqd-font-size) * 0.875)",
|
|
8586
|
+
4: "calc(var(--tsqd-font-size) * 1)",
|
|
8587
|
+
4.5: "calc(var(--tsqd-font-size) * 1.125)",
|
|
8588
|
+
5: "calc(var(--tsqd-font-size) * 1.25)",
|
|
8589
|
+
5.5: "calc(var(--tsqd-font-size) * 1.375)",
|
|
8590
|
+
6: "calc(var(--tsqd-font-size) * 1.5)",
|
|
8591
|
+
6.5: "calc(var(--tsqd-font-size) * 1.625)",
|
|
8592
|
+
7: "calc(var(--tsqd-font-size) * 1.75)",
|
|
8593
|
+
8: "calc(var(--tsqd-font-size) * 2)",
|
|
8594
|
+
9: "calc(var(--tsqd-font-size) * 2.25)",
|
|
8595
|
+
10: "calc(var(--tsqd-font-size) * 2.5)",
|
|
8596
|
+
11: "calc(var(--tsqd-font-size) * 2.75)",
|
|
8597
|
+
12: "calc(var(--tsqd-font-size) * 3)",
|
|
8598
|
+
14: "calc(var(--tsqd-font-size) * 3.5)",
|
|
8599
|
+
16: "calc(var(--tsqd-font-size) * 4)",
|
|
8600
|
+
20: "calc(var(--tsqd-font-size) * 5)",
|
|
8601
|
+
24: "calc(var(--tsqd-font-size) * 6)",
|
|
8602
|
+
28: "calc(var(--tsqd-font-size) * 7)",
|
|
8603
|
+
32: "calc(var(--tsqd-font-size) * 8)",
|
|
8604
|
+
36: "calc(var(--tsqd-font-size) * 9)",
|
|
8605
|
+
40: "calc(var(--tsqd-font-size) * 10)",
|
|
8606
|
+
44: "calc(var(--tsqd-font-size) * 11)",
|
|
8607
|
+
48: "calc(var(--tsqd-font-size) * 12)",
|
|
8608
|
+
52: "calc(var(--tsqd-font-size) * 13)",
|
|
8609
|
+
56: "calc(var(--tsqd-font-size) * 14)",
|
|
8610
|
+
60: "calc(var(--tsqd-font-size) * 15)",
|
|
8611
|
+
64: "calc(var(--tsqd-font-size) * 16)",
|
|
8612
|
+
72: "calc(var(--tsqd-font-size) * 18)",
|
|
8613
|
+
80: "calc(var(--tsqd-font-size) * 20)",
|
|
8614
|
+
96: "calc(var(--tsqd-font-size) * 24)"
|
|
8615
8615
|
},
|
|
8616
8616
|
shadow: Shadow,
|
|
8617
8617
|
zIndices: {
|
|
@@ -10581,8 +10581,8 @@ var stylesFactory = (theme) => {
|
|
|
10581
10581
|
expanderButtonContainer: u`
|
|
10582
10582
|
display: flex;
|
|
10583
10583
|
align-items: center;
|
|
10584
|
-
line-height:
|
|
10585
|
-
min-height:
|
|
10584
|
+
line-height: ${size2[4]};
|
|
10585
|
+
min-height: ${size2[4]};
|
|
10586
10586
|
gap: ${size2[2]};
|
|
10587
10587
|
`,
|
|
10588
10588
|
expanderButton: u`
|
|
@@ -10590,7 +10590,7 @@ var stylesFactory = (theme) => {
|
|
|
10590
10590
|
color: inherit;
|
|
10591
10591
|
font: inherit;
|
|
10592
10592
|
outline: inherit;
|
|
10593
|
-
height:
|
|
10593
|
+
height: ${size2[5]};
|
|
10594
10594
|
background: transparent;
|
|
10595
10595
|
border: none;
|
|
10596
10596
|
padding: 0;
|
|
@@ -10632,8 +10632,8 @@ var stylesFactory = (theme) => {
|
|
|
10632
10632
|
display: inline-flex;
|
|
10633
10633
|
gap: ${size2[2]};
|
|
10634
10634
|
width: 100%;
|
|
10635
|
-
margin
|
|
10636
|
-
line-height:
|
|
10635
|
+
margin: ${size2[0.25]} 0px;
|
|
10636
|
+
line-height: ${size2[4.5]};
|
|
10637
10637
|
align-items: center;
|
|
10638
10638
|
`,
|
|
10639
10639
|
editableInput: u`
|
|
@@ -10773,16 +10773,31 @@ var Devtools = (props) => {
|
|
|
10773
10773
|
const position = createMemo(() => {
|
|
10774
10774
|
return props.localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
10775
10775
|
});
|
|
10776
|
+
let transitionsContainerRef;
|
|
10776
10777
|
createEffect(() => {
|
|
10777
|
-
const root =
|
|
10778
|
+
const root = transitionsContainerRef.parentElement;
|
|
10778
10779
|
const height = props.localStore.height || DEFAULT_HEIGHT;
|
|
10779
10780
|
const width = props.localStore.width || DEFAULT_WIDTH;
|
|
10780
10781
|
const panelPosition = position();
|
|
10781
10782
|
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
10782
10783
|
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
10783
10784
|
});
|
|
10785
|
+
onMount(() => {
|
|
10786
|
+
const onFocus = () => {
|
|
10787
|
+
const root = transitionsContainerRef.parentElement;
|
|
10788
|
+
const fontSize = getComputedStyle(root).fontSize;
|
|
10789
|
+
root.style.setProperty("--tsqd-font-size", fontSize);
|
|
10790
|
+
};
|
|
10791
|
+
onFocus();
|
|
10792
|
+
window.addEventListener("focus", onFocus);
|
|
10793
|
+
onCleanup(() => {
|
|
10794
|
+
window.removeEventListener("focus", onFocus);
|
|
10795
|
+
});
|
|
10796
|
+
});
|
|
10784
10797
|
return (() => {
|
|
10785
10798
|
const _el$ = _tmpl$25();
|
|
10799
|
+
const _ref$ = transitionsContainerRef;
|
|
10800
|
+
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
10786
10801
|
insert(_el$, createComponent(TransitionGroup, {
|
|
10787
10802
|
name: "tsqd-panel-transition",
|
|
10788
10803
|
get children() {
|
|
@@ -10954,8 +10969,8 @@ var DevtoolsPanel = (props) => {
|
|
|
10954
10969
|
};
|
|
10955
10970
|
return (() => {
|
|
10956
10971
|
const _el$5 = _tmpl$33(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
|
|
10957
|
-
const _ref$ = panelRef;
|
|
10958
|
-
typeof _ref$ === "function" ? use(_ref
|
|
10972
|
+
const _ref$2 = panelRef;
|
|
10973
|
+
typeof _ref$2 === "function" ? use(_ref$2, _el$5) : panelRef = _el$5;
|
|
10959
10974
|
_el$6.$$mousedown = handleDragStart;
|
|
10960
10975
|
_el$7.$$click = () => props.setLocalStore("open", "false");
|
|
10961
10976
|
insert(_el$7, createComponent(ChevronDown, {}));
|
|
@@ -10992,6 +11007,7 @@ var DevtoolsPanel = (props) => {
|
|
|
10992
11007
|
var ContentView = (props) => {
|
|
10993
11008
|
setupQueryCacheSubscription();
|
|
10994
11009
|
setupMutationCacheSubscription();
|
|
11010
|
+
let containerRef;
|
|
10995
11011
|
const theme = useTheme();
|
|
10996
11012
|
const styles = createMemo(() => {
|
|
10997
11013
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
@@ -11035,8 +11051,15 @@ var ContentView = (props) => {
|
|
|
11035
11051
|
const setDevtoolsPosition = (pos) => {
|
|
11036
11052
|
props.setLocalStore("position", pos);
|
|
11037
11053
|
};
|
|
11054
|
+
const setComputedVariables = (el) => {
|
|
11055
|
+
const computedStyle = getComputedStyle(containerRef);
|
|
11056
|
+
const variable = computedStyle.getPropertyValue("--tsqd-font-size");
|
|
11057
|
+
el.style.setProperty("--tsqd-font-size", variable);
|
|
11058
|
+
};
|
|
11038
11059
|
return [(() => {
|
|
11039
11060
|
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;
|
|
11061
|
+
const _ref$3 = containerRef;
|
|
11062
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
11040
11063
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
11041
11064
|
insert(_el$13, () => useQueryDevtoolsContext().queryFlavor, _el$14);
|
|
11042
11065
|
insert(_el$13, () => useQueryDevtoolsContext().version, null);
|
|
@@ -11200,6 +11223,7 @@ var ContentView = (props) => {
|
|
|
11200
11223
|
return createComponent(Settings, {});
|
|
11201
11224
|
}
|
|
11202
11225
|
}), createComponent(index$d.Portal, {
|
|
11226
|
+
ref: (el) => setComputedVariables(el),
|
|
11203
11227
|
get children() {
|
|
11204
11228
|
return createComponent(index$d.Content, {
|
|
11205
11229
|
get ["class"]() {
|
|
@@ -11223,6 +11247,7 @@ var ContentView = (props) => {
|
|
|
11223
11247
|
return [_tmpl$83(), createComponent(ChevronDown, {})];
|
|
11224
11248
|
}
|
|
11225
11249
|
}), createComponent(index$d.Portal, {
|
|
11250
|
+
ref: (el) => setComputedVariables(el),
|
|
11226
11251
|
get children() {
|
|
11227
11252
|
return createComponent(index$d.SubContent, {
|
|
11228
11253
|
get ["class"]() {
|
|
@@ -11292,6 +11317,7 @@ var ContentView = (props) => {
|
|
|
11292
11317
|
return [_tmpl$132(), createComponent(ChevronDown, {})];
|
|
11293
11318
|
}
|
|
11294
11319
|
}), createComponent(index$d.Portal, {
|
|
11320
|
+
ref: (el) => setComputedVariables(el),
|
|
11295
11321
|
get children() {
|
|
11296
11322
|
return createComponent(index$d.SubContent, {
|
|
11297
11323
|
get ["class"]() {
|
|
@@ -11763,8 +11789,8 @@ var QueryStatus = (props) => {
|
|
|
11763
11789
|
});
|
|
11764
11790
|
return (() => {
|
|
11765
11791
|
const _el$55 = _tmpl$252(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
11766
|
-
const _ref$
|
|
11767
|
-
typeof _ref$
|
|
11792
|
+
const _ref$4 = tagRef;
|
|
11793
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
11768
11794
|
_el$55.addEventListener("mouseleave", () => {
|
|
11769
11795
|
setMouseOver(false);
|
|
11770
11796
|
setFocused(false);
|
|
@@ -12025,7 +12051,6 @@ var QueryDetails = () => {
|
|
|
12025
12051
|
return _el$89;
|
|
12026
12052
|
}
|
|
12027
12053
|
}), null);
|
|
12028
|
-
_el$95.style.setProperty("padding", "0.5rem");
|
|
12029
12054
|
insert(_el$95, createComponent(Explorer, {
|
|
12030
12055
|
label: "Data",
|
|
12031
12056
|
defaultExpanded: ["Data"],
|
|
@@ -12037,7 +12062,6 @@ var QueryDetails = () => {
|
|
|
12037
12062
|
return activeQuery();
|
|
12038
12063
|
}
|
|
12039
12064
|
}));
|
|
12040
|
-
_el$97.style.setProperty("padding", "0.5rem");
|
|
12041
12065
|
insert(_el$97, createComponent(Explorer, {
|
|
12042
12066
|
label: "Query",
|
|
12043
12067
|
defaultExpanded: ["Query", "queryKey"],
|
|
@@ -12066,7 +12090,7 @@ var QueryDetails = () => {
|
|
|
12066
12090
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
12067
12091
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$58 = restoringLoading(), _v$59 = u`
|
|
12068
12092
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
12069
|
-
`, _v$60 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$61 = clsx(styles().detailsHeader, "tsqd-query-details-header");
|
|
12093
|
+
`, _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];
|
|
12070
12094
|
_v$39 !== _p$._v$39 && className(_el$60, _p$._v$39 = _v$39);
|
|
12071
12095
|
_v$40 !== _p$._v$40 && className(_el$61, _p$._v$40 = _v$40);
|
|
12072
12096
|
_v$41 !== _p$._v$41 && className(_el$62, _p$._v$41 = _v$41);
|
|
@@ -12089,7 +12113,9 @@ var QueryDetails = () => {
|
|
|
12089
12113
|
_v$58 !== _p$._v$58 && (_el$83.disabled = _p$._v$58 = _v$58);
|
|
12090
12114
|
_v$59 !== _p$._v$59 && className(_el$84, _p$._v$59 = _v$59);
|
|
12091
12115
|
_v$60 !== _p$._v$60 && className(_el$94, _p$._v$60 = _v$60);
|
|
12092
|
-
_v$61 !== _p$._v$61 &&
|
|
12116
|
+
_v$61 !== _p$._v$61 && ((_p$._v$61 = _v$61) != null ? _el$95.style.setProperty("padding", _v$61) : _el$95.style.removeProperty("padding"));
|
|
12117
|
+
_v$62 !== _p$._v$62 && className(_el$96, _p$._v$62 = _v$62);
|
|
12118
|
+
_v$63 !== _p$._v$63 && ((_p$._v$63 = _v$63) != null ? _el$97.style.setProperty("padding", _v$63) : _el$97.style.removeProperty("padding"));
|
|
12093
12119
|
return _p$;
|
|
12094
12120
|
}, {
|
|
12095
12121
|
_v$39: void 0,
|
|
@@ -12114,7 +12140,9 @@ var QueryDetails = () => {
|
|
|
12114
12140
|
_v$58: void 0,
|
|
12115
12141
|
_v$59: void 0,
|
|
12116
12142
|
_v$60: void 0,
|
|
12117
|
-
_v$61: void 0
|
|
12143
|
+
_v$61: void 0,
|
|
12144
|
+
_v$62: void 0,
|
|
12145
|
+
_v$63: void 0
|
|
12118
12146
|
});
|
|
12119
12147
|
return _el$60;
|
|
12120
12148
|
}
|
|
@@ -12192,7 +12220,6 @@ var MutationDetails = () => {
|
|
|
12192
12220
|
}
|
|
12193
12221
|
}), null);
|
|
12194
12222
|
insert(_el$108, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
12195
|
-
_el$110.style.setProperty("padding", "0.5rem");
|
|
12196
12223
|
insert(_el$110, createComponent(Explorer, {
|
|
12197
12224
|
label: "Variables",
|
|
12198
12225
|
defaultExpanded: ["Variables"],
|
|
@@ -12200,7 +12227,6 @@ var MutationDetails = () => {
|
|
|
12200
12227
|
return activeMutation().state.variables;
|
|
12201
12228
|
}
|
|
12202
12229
|
}));
|
|
12203
|
-
_el$112.style.setProperty("padding", "0.5rem");
|
|
12204
12230
|
insert(_el$112, createComponent(Explorer, {
|
|
12205
12231
|
label: "Context",
|
|
12206
12232
|
defaultExpanded: ["Context"],
|
|
@@ -12208,7 +12234,6 @@ var MutationDetails = () => {
|
|
|
12208
12234
|
return activeMutation().state.context;
|
|
12209
12235
|
}
|
|
12210
12236
|
}));
|
|
12211
|
-
_el$114.style.setProperty("padding", "0.5rem");
|
|
12212
12237
|
insert(_el$114, createComponent(Explorer, {
|
|
12213
12238
|
label: "Data",
|
|
12214
12239
|
defaultExpanded: ["Data"],
|
|
@@ -12216,7 +12241,6 @@ var MutationDetails = () => {
|
|
|
12216
12241
|
return activeMutation().state.data;
|
|
12217
12242
|
}
|
|
12218
12243
|
}));
|
|
12219
|
-
_el$116.style.setProperty("padding", "0.5rem");
|
|
12220
12244
|
insert(_el$116, createComponent(Explorer, {
|
|
12221
12245
|
label: "Mutation",
|
|
12222
12246
|
defaultExpanded: ["Mutation"],
|
|
@@ -12225,25 +12249,33 @@ var MutationDetails = () => {
|
|
|
12225
12249
|
}
|
|
12226
12250
|
}));
|
|
12227
12251
|
createRenderEffect((_p$) => {
|
|
12228
|
-
const _v$
|
|
12229
|
-
_v$
|
|
12230
|
-
_v$
|
|
12231
|
-
_v$
|
|
12232
|
-
_v$
|
|
12233
|
-
_v$
|
|
12234
|
-
_v$
|
|
12235
|
-
_v$
|
|
12236
|
-
_v$
|
|
12252
|
+
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];
|
|
12253
|
+
_v$64 !== _p$._v$64 && className(_el$99, _p$._v$64 = _v$64);
|
|
12254
|
+
_v$65 !== _p$._v$65 && className(_el$100, _p$._v$65 = _v$65);
|
|
12255
|
+
_v$66 !== _p$._v$66 && className(_el$101, _p$._v$66 = _v$66);
|
|
12256
|
+
_v$67 !== _p$._v$67 && className(_el$105, _p$._v$67 = _v$67);
|
|
12257
|
+
_v$68 !== _p$._v$68 && className(_el$109, _p$._v$68 = _v$68);
|
|
12258
|
+
_v$69 !== _p$._v$69 && ((_p$._v$69 = _v$69) != null ? _el$110.style.setProperty("padding", _v$69) : _el$110.style.removeProperty("padding"));
|
|
12259
|
+
_v$70 !== _p$._v$70 && className(_el$111, _p$._v$70 = _v$70);
|
|
12260
|
+
_v$71 !== _p$._v$71 && ((_p$._v$71 = _v$71) != null ? _el$112.style.setProperty("padding", _v$71) : _el$112.style.removeProperty("padding"));
|
|
12261
|
+
_v$72 !== _p$._v$72 && className(_el$113, _p$._v$72 = _v$72);
|
|
12262
|
+
_v$73 !== _p$._v$73 && ((_p$._v$73 = _v$73) != null ? _el$114.style.setProperty("padding", _v$73) : _el$114.style.removeProperty("padding"));
|
|
12263
|
+
_v$74 !== _p$._v$74 && className(_el$115, _p$._v$74 = _v$74);
|
|
12264
|
+
_v$75 !== _p$._v$75 && ((_p$._v$75 = _v$75) != null ? _el$116.style.setProperty("padding", _v$75) : _el$116.style.removeProperty("padding"));
|
|
12237
12265
|
return _p$;
|
|
12238
12266
|
}, {
|
|
12239
|
-
_v$62: void 0,
|
|
12240
|
-
_v$63: void 0,
|
|
12241
12267
|
_v$64: void 0,
|
|
12242
12268
|
_v$65: void 0,
|
|
12243
12269
|
_v$66: void 0,
|
|
12244
12270
|
_v$67: void 0,
|
|
12245
12271
|
_v$68: void 0,
|
|
12246
|
-
_v$69: void 0
|
|
12272
|
+
_v$69: void 0,
|
|
12273
|
+
_v$70: void 0,
|
|
12274
|
+
_v$71: void 0,
|
|
12275
|
+
_v$72: void 0,
|
|
12276
|
+
_v$73: void 0,
|
|
12277
|
+
_v$74: void 0,
|
|
12278
|
+
_v$75: void 0
|
|
12247
12279
|
});
|
|
12248
12280
|
return _el$99;
|
|
12249
12281
|
}
|
|
@@ -12417,7 +12449,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12417
12449
|
right: 0;
|
|
12418
12450
|
left: 0;
|
|
12419
12451
|
max-height: 90%;
|
|
12420
|
-
min-height:
|
|
12452
|
+
min-height: ${size2[14]};
|
|
12421
12453
|
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
12422
12454
|
`,
|
|
12423
12455
|
"panel-position-bottom": u`
|
|
@@ -12425,7 +12457,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12425
12457
|
right: 0;
|
|
12426
12458
|
left: 0;
|
|
12427
12459
|
max-height: 90%;
|
|
12428
|
-
min-height:
|
|
12460
|
+
min-height: ${size2[14]};
|
|
12429
12461
|
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
12430
12462
|
`,
|
|
12431
12463
|
"panel-position-right": u`
|
|
@@ -12757,6 +12789,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12757
12789
|
outline: 2px solid ${colors.blue[800]};
|
|
12758
12790
|
}
|
|
12759
12791
|
& svg {
|
|
12792
|
+
width: ${tokens.size[3]};
|
|
12793
|
+
height: ${tokens.size[3]};
|
|
12760
12794
|
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
12761
12795
|
}
|
|
12762
12796
|
}
|
|
@@ -12842,8 +12876,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12842
12876
|
border-radius: ${tokens.border.radius.sm};
|
|
12843
12877
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
12844
12878
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
12845
|
-
width:
|
|
12846
|
-
height:
|
|
12879
|
+
width: ${tokens.size[6.5]};
|
|
12880
|
+
height: ${tokens.size[6.5]};
|
|
12847
12881
|
justify-content: center;
|
|
12848
12882
|
display: flex;
|
|
12849
12883
|
align-items: center;
|