@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: {
|
|
@@ -10579,8 +10579,8 @@ var stylesFactory = (theme) => {
|
|
|
10579
10579
|
expanderButtonContainer: u`
|
|
10580
10580
|
display: flex;
|
|
10581
10581
|
align-items: center;
|
|
10582
|
-
line-height:
|
|
10583
|
-
min-height:
|
|
10582
|
+
line-height: ${size2[4]};
|
|
10583
|
+
min-height: ${size2[4]};
|
|
10584
10584
|
gap: ${size2[2]};
|
|
10585
10585
|
`,
|
|
10586
10586
|
expanderButton: u`
|
|
@@ -10588,7 +10588,7 @@ var stylesFactory = (theme) => {
|
|
|
10588
10588
|
color: inherit;
|
|
10589
10589
|
font: inherit;
|
|
10590
10590
|
outline: inherit;
|
|
10591
|
-
height:
|
|
10591
|
+
height: ${size2[5]};
|
|
10592
10592
|
background: transparent;
|
|
10593
10593
|
border: none;
|
|
10594
10594
|
padding: 0;
|
|
@@ -10630,8 +10630,8 @@ var stylesFactory = (theme) => {
|
|
|
10630
10630
|
display: inline-flex;
|
|
10631
10631
|
gap: ${size2[2]};
|
|
10632
10632
|
width: 100%;
|
|
10633
|
-
margin
|
|
10634
|
-
line-height:
|
|
10633
|
+
margin: ${size2[0.25]} 0px;
|
|
10634
|
+
line-height: ${size2[4.5]};
|
|
10635
10635
|
align-items: center;
|
|
10636
10636
|
`,
|
|
10637
10637
|
editableInput: u`
|
|
@@ -10771,16 +10771,31 @@ var Devtools = (props) => {
|
|
|
10771
10771
|
const position = createMemo(() => {
|
|
10772
10772
|
return props.localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
10773
10773
|
});
|
|
10774
|
+
let transitionsContainerRef;
|
|
10774
10775
|
createEffect(() => {
|
|
10775
|
-
const root =
|
|
10776
|
+
const root = transitionsContainerRef.parentElement;
|
|
10776
10777
|
const height = props.localStore.height || DEFAULT_HEIGHT;
|
|
10777
10778
|
const width = props.localStore.width || DEFAULT_WIDTH;
|
|
10778
10779
|
const panelPosition = position();
|
|
10779
10780
|
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
10780
10781
|
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
10781
10782
|
});
|
|
10783
|
+
onMount(() => {
|
|
10784
|
+
const onFocus = () => {
|
|
10785
|
+
const root = transitionsContainerRef.parentElement;
|
|
10786
|
+
const fontSize = getComputedStyle(root).fontSize;
|
|
10787
|
+
root.style.setProperty("--tsqd-font-size", fontSize);
|
|
10788
|
+
};
|
|
10789
|
+
onFocus();
|
|
10790
|
+
window.addEventListener("focus", onFocus);
|
|
10791
|
+
onCleanup(() => {
|
|
10792
|
+
window.removeEventListener("focus", onFocus);
|
|
10793
|
+
});
|
|
10794
|
+
});
|
|
10782
10795
|
return (() => {
|
|
10783
10796
|
const _el$ = _tmpl$25();
|
|
10797
|
+
const _ref$ = transitionsContainerRef;
|
|
10798
|
+
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
10784
10799
|
insert(_el$, createComponent(TransitionGroup, {
|
|
10785
10800
|
name: "tsqd-panel-transition",
|
|
10786
10801
|
get children() {
|
|
@@ -10952,8 +10967,8 @@ var DevtoolsPanel = (props) => {
|
|
|
10952
10967
|
};
|
|
10953
10968
|
return (() => {
|
|
10954
10969
|
const _el$5 = _tmpl$33(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
|
|
10955
|
-
const _ref$ = panelRef;
|
|
10956
|
-
typeof _ref$ === "function" ? use(_ref
|
|
10970
|
+
const _ref$2 = panelRef;
|
|
10971
|
+
typeof _ref$2 === "function" ? use(_ref$2, _el$5) : panelRef = _el$5;
|
|
10957
10972
|
_el$6.$$mousedown = handleDragStart;
|
|
10958
10973
|
_el$7.$$click = () => props.setLocalStore("open", "false");
|
|
10959
10974
|
insert(_el$7, createComponent(ChevronDown, {}));
|
|
@@ -10990,6 +11005,7 @@ var DevtoolsPanel = (props) => {
|
|
|
10990
11005
|
var ContentView = (props) => {
|
|
10991
11006
|
setupQueryCacheSubscription();
|
|
10992
11007
|
setupMutationCacheSubscription();
|
|
11008
|
+
let containerRef;
|
|
10993
11009
|
const theme = useTheme();
|
|
10994
11010
|
const styles = createMemo(() => {
|
|
10995
11011
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
@@ -11033,8 +11049,15 @@ var ContentView = (props) => {
|
|
|
11033
11049
|
const setDevtoolsPosition = (pos) => {
|
|
11034
11050
|
props.setLocalStore("position", pos);
|
|
11035
11051
|
};
|
|
11052
|
+
const setComputedVariables = (el) => {
|
|
11053
|
+
const computedStyle = getComputedStyle(containerRef);
|
|
11054
|
+
const variable = computedStyle.getPropertyValue("--tsqd-font-size");
|
|
11055
|
+
el.style.setProperty("--tsqd-font-size", variable);
|
|
11056
|
+
};
|
|
11036
11057
|
return [(() => {
|
|
11037
11058
|
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;
|
|
11059
|
+
const _ref$3 = containerRef;
|
|
11060
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
11038
11061
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
11039
11062
|
insert(_el$13, () => useQueryDevtoolsContext().queryFlavor, _el$14);
|
|
11040
11063
|
insert(_el$13, () => useQueryDevtoolsContext().version, null);
|
|
@@ -11198,6 +11221,7 @@ var ContentView = (props) => {
|
|
|
11198
11221
|
return createComponent(Settings, {});
|
|
11199
11222
|
}
|
|
11200
11223
|
}), createComponent(index$d.Portal, {
|
|
11224
|
+
ref: (el) => setComputedVariables(el),
|
|
11201
11225
|
get children() {
|
|
11202
11226
|
return createComponent(index$d.Content, {
|
|
11203
11227
|
get ["class"]() {
|
|
@@ -11221,6 +11245,7 @@ var ContentView = (props) => {
|
|
|
11221
11245
|
return [_tmpl$83(), createComponent(ChevronDown, {})];
|
|
11222
11246
|
}
|
|
11223
11247
|
}), createComponent(index$d.Portal, {
|
|
11248
|
+
ref: (el) => setComputedVariables(el),
|
|
11224
11249
|
get children() {
|
|
11225
11250
|
return createComponent(index$d.SubContent, {
|
|
11226
11251
|
get ["class"]() {
|
|
@@ -11290,6 +11315,7 @@ var ContentView = (props) => {
|
|
|
11290
11315
|
return [_tmpl$132(), createComponent(ChevronDown, {})];
|
|
11291
11316
|
}
|
|
11292
11317
|
}), createComponent(index$d.Portal, {
|
|
11318
|
+
ref: (el) => setComputedVariables(el),
|
|
11293
11319
|
get children() {
|
|
11294
11320
|
return createComponent(index$d.SubContent, {
|
|
11295
11321
|
get ["class"]() {
|
|
@@ -11761,8 +11787,8 @@ var QueryStatus = (props) => {
|
|
|
11761
11787
|
});
|
|
11762
11788
|
return (() => {
|
|
11763
11789
|
const _el$55 = _tmpl$252(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
11764
|
-
const _ref$
|
|
11765
|
-
typeof _ref$
|
|
11790
|
+
const _ref$4 = tagRef;
|
|
11791
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
11766
11792
|
_el$55.addEventListener("mouseleave", () => {
|
|
11767
11793
|
setMouseOver(false);
|
|
11768
11794
|
setFocused(false);
|
|
@@ -12023,7 +12049,6 @@ var QueryDetails = () => {
|
|
|
12023
12049
|
return _el$89;
|
|
12024
12050
|
}
|
|
12025
12051
|
}), null);
|
|
12026
|
-
_el$95.style.setProperty("padding", "0.5rem");
|
|
12027
12052
|
insert(_el$95, createComponent(Explorer, {
|
|
12028
12053
|
label: "Data",
|
|
12029
12054
|
defaultExpanded: ["Data"],
|
|
@@ -12035,7 +12060,6 @@ var QueryDetails = () => {
|
|
|
12035
12060
|
return activeQuery();
|
|
12036
12061
|
}
|
|
12037
12062
|
}));
|
|
12038
|
-
_el$97.style.setProperty("padding", "0.5rem");
|
|
12039
12063
|
insert(_el$97, createComponent(Explorer, {
|
|
12040
12064
|
label: "Query",
|
|
12041
12065
|
defaultExpanded: ["Query", "queryKey"],
|
|
@@ -12064,7 +12088,7 @@ var QueryDetails = () => {
|
|
|
12064
12088
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
12065
12089
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$58 = restoringLoading(), _v$59 = u`
|
|
12066
12090
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
12067
|
-
`, _v$60 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$61 = clsx(styles().detailsHeader, "tsqd-query-details-header");
|
|
12091
|
+
`, _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];
|
|
12068
12092
|
_v$39 !== _p$._v$39 && className(_el$60, _p$._v$39 = _v$39);
|
|
12069
12093
|
_v$40 !== _p$._v$40 && className(_el$61, _p$._v$40 = _v$40);
|
|
12070
12094
|
_v$41 !== _p$._v$41 && className(_el$62, _p$._v$41 = _v$41);
|
|
@@ -12087,7 +12111,9 @@ var QueryDetails = () => {
|
|
|
12087
12111
|
_v$58 !== _p$._v$58 && (_el$83.disabled = _p$._v$58 = _v$58);
|
|
12088
12112
|
_v$59 !== _p$._v$59 && className(_el$84, _p$._v$59 = _v$59);
|
|
12089
12113
|
_v$60 !== _p$._v$60 && className(_el$94, _p$._v$60 = _v$60);
|
|
12090
|
-
_v$61 !== _p$._v$61 &&
|
|
12114
|
+
_v$61 !== _p$._v$61 && ((_p$._v$61 = _v$61) != null ? _el$95.style.setProperty("padding", _v$61) : _el$95.style.removeProperty("padding"));
|
|
12115
|
+
_v$62 !== _p$._v$62 && className(_el$96, _p$._v$62 = _v$62);
|
|
12116
|
+
_v$63 !== _p$._v$63 && ((_p$._v$63 = _v$63) != null ? _el$97.style.setProperty("padding", _v$63) : _el$97.style.removeProperty("padding"));
|
|
12091
12117
|
return _p$;
|
|
12092
12118
|
}, {
|
|
12093
12119
|
_v$39: void 0,
|
|
@@ -12112,7 +12138,9 @@ var QueryDetails = () => {
|
|
|
12112
12138
|
_v$58: void 0,
|
|
12113
12139
|
_v$59: void 0,
|
|
12114
12140
|
_v$60: void 0,
|
|
12115
|
-
_v$61: void 0
|
|
12141
|
+
_v$61: void 0,
|
|
12142
|
+
_v$62: void 0,
|
|
12143
|
+
_v$63: void 0
|
|
12116
12144
|
});
|
|
12117
12145
|
return _el$60;
|
|
12118
12146
|
}
|
|
@@ -12190,7 +12218,6 @@ var MutationDetails = () => {
|
|
|
12190
12218
|
}
|
|
12191
12219
|
}), null);
|
|
12192
12220
|
insert(_el$108, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
12193
|
-
_el$110.style.setProperty("padding", "0.5rem");
|
|
12194
12221
|
insert(_el$110, createComponent(Explorer, {
|
|
12195
12222
|
label: "Variables",
|
|
12196
12223
|
defaultExpanded: ["Variables"],
|
|
@@ -12198,7 +12225,6 @@ var MutationDetails = () => {
|
|
|
12198
12225
|
return activeMutation().state.variables;
|
|
12199
12226
|
}
|
|
12200
12227
|
}));
|
|
12201
|
-
_el$112.style.setProperty("padding", "0.5rem");
|
|
12202
12228
|
insert(_el$112, createComponent(Explorer, {
|
|
12203
12229
|
label: "Context",
|
|
12204
12230
|
defaultExpanded: ["Context"],
|
|
@@ -12206,7 +12232,6 @@ var MutationDetails = () => {
|
|
|
12206
12232
|
return activeMutation().state.context;
|
|
12207
12233
|
}
|
|
12208
12234
|
}));
|
|
12209
|
-
_el$114.style.setProperty("padding", "0.5rem");
|
|
12210
12235
|
insert(_el$114, createComponent(Explorer, {
|
|
12211
12236
|
label: "Data",
|
|
12212
12237
|
defaultExpanded: ["Data"],
|
|
@@ -12214,7 +12239,6 @@ var MutationDetails = () => {
|
|
|
12214
12239
|
return activeMutation().state.data;
|
|
12215
12240
|
}
|
|
12216
12241
|
}));
|
|
12217
|
-
_el$116.style.setProperty("padding", "0.5rem");
|
|
12218
12242
|
insert(_el$116, createComponent(Explorer, {
|
|
12219
12243
|
label: "Mutation",
|
|
12220
12244
|
defaultExpanded: ["Mutation"],
|
|
@@ -12223,25 +12247,33 @@ var MutationDetails = () => {
|
|
|
12223
12247
|
}
|
|
12224
12248
|
}));
|
|
12225
12249
|
createRenderEffect((_p$) => {
|
|
12226
|
-
const _v$
|
|
12227
|
-
_v$
|
|
12228
|
-
_v$
|
|
12229
|
-
_v$
|
|
12230
|
-
_v$
|
|
12231
|
-
_v$
|
|
12232
|
-
_v$
|
|
12233
|
-
_v$
|
|
12234
|
-
_v$
|
|
12250
|
+
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];
|
|
12251
|
+
_v$64 !== _p$._v$64 && className(_el$99, _p$._v$64 = _v$64);
|
|
12252
|
+
_v$65 !== _p$._v$65 && className(_el$100, _p$._v$65 = _v$65);
|
|
12253
|
+
_v$66 !== _p$._v$66 && className(_el$101, _p$._v$66 = _v$66);
|
|
12254
|
+
_v$67 !== _p$._v$67 && className(_el$105, _p$._v$67 = _v$67);
|
|
12255
|
+
_v$68 !== _p$._v$68 && className(_el$109, _p$._v$68 = _v$68);
|
|
12256
|
+
_v$69 !== _p$._v$69 && ((_p$._v$69 = _v$69) != null ? _el$110.style.setProperty("padding", _v$69) : _el$110.style.removeProperty("padding"));
|
|
12257
|
+
_v$70 !== _p$._v$70 && className(_el$111, _p$._v$70 = _v$70);
|
|
12258
|
+
_v$71 !== _p$._v$71 && ((_p$._v$71 = _v$71) != null ? _el$112.style.setProperty("padding", _v$71) : _el$112.style.removeProperty("padding"));
|
|
12259
|
+
_v$72 !== _p$._v$72 && className(_el$113, _p$._v$72 = _v$72);
|
|
12260
|
+
_v$73 !== _p$._v$73 && ((_p$._v$73 = _v$73) != null ? _el$114.style.setProperty("padding", _v$73) : _el$114.style.removeProperty("padding"));
|
|
12261
|
+
_v$74 !== _p$._v$74 && className(_el$115, _p$._v$74 = _v$74);
|
|
12262
|
+
_v$75 !== _p$._v$75 && ((_p$._v$75 = _v$75) != null ? _el$116.style.setProperty("padding", _v$75) : _el$116.style.removeProperty("padding"));
|
|
12235
12263
|
return _p$;
|
|
12236
12264
|
}, {
|
|
12237
|
-
_v$62: void 0,
|
|
12238
|
-
_v$63: void 0,
|
|
12239
12265
|
_v$64: void 0,
|
|
12240
12266
|
_v$65: void 0,
|
|
12241
12267
|
_v$66: void 0,
|
|
12242
12268
|
_v$67: void 0,
|
|
12243
12269
|
_v$68: void 0,
|
|
12244
|
-
_v$69: void 0
|
|
12270
|
+
_v$69: void 0,
|
|
12271
|
+
_v$70: void 0,
|
|
12272
|
+
_v$71: void 0,
|
|
12273
|
+
_v$72: void 0,
|
|
12274
|
+
_v$73: void 0,
|
|
12275
|
+
_v$74: void 0,
|
|
12276
|
+
_v$75: void 0
|
|
12245
12277
|
});
|
|
12246
12278
|
return _el$99;
|
|
12247
12279
|
}
|
|
@@ -12415,7 +12447,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12415
12447
|
right: 0;
|
|
12416
12448
|
left: 0;
|
|
12417
12449
|
max-height: 90%;
|
|
12418
|
-
min-height:
|
|
12450
|
+
min-height: ${size2[14]};
|
|
12419
12451
|
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
12420
12452
|
`,
|
|
12421
12453
|
"panel-position-bottom": u`
|
|
@@ -12423,7 +12455,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12423
12455
|
right: 0;
|
|
12424
12456
|
left: 0;
|
|
12425
12457
|
max-height: 90%;
|
|
12426
|
-
min-height:
|
|
12458
|
+
min-height: ${size2[14]};
|
|
12427
12459
|
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
12428
12460
|
`,
|
|
12429
12461
|
"panel-position-right": u`
|
|
@@ -12755,6 +12787,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12755
12787
|
outline: 2px solid ${colors.blue[800]};
|
|
12756
12788
|
}
|
|
12757
12789
|
& svg {
|
|
12790
|
+
width: ${tokens.size[3]};
|
|
12791
|
+
height: ${tokens.size[3]};
|
|
12758
12792
|
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
12759
12793
|
}
|
|
12760
12794
|
}
|
|
@@ -12840,8 +12874,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12840
12874
|
border-radius: ${tokens.border.radius.sm};
|
|
12841
12875
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
12842
12876
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
12843
|
-
width:
|
|
12844
|
-
height:
|
|
12877
|
+
width: ${tokens.size[6.5]};
|
|
12878
|
+
height: ${tokens.size[6.5]};
|
|
12845
12879
|
justify-content: center;
|
|
12846
12880
|
display: flex;
|
|
12847
12881
|
align-items: center;
|