@tanstack/query-devtools 5.20.2 → 5.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Devtools/{ZIZ6ACOL.js → PZY6I5TR.js} +63 -57
- package/build/Devtools/{6ZYZQAZS.js → SUV2KM2F.js} +63 -57
- package/build/Devtools/{FWYJEP5C.jsx → VAJS2OS4.jsx} +9 -1
- package/build/Devtools/{2TZ2XDYA.jsx → Z62CHOQ7.jsx} +9 -1
- package/build/dev.cjs +64 -58
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +64 -58
- package/build/index.d.cts +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Context.ts +1 -1
- package/src/Devtools.tsx +15 -5
|
@@ -9488,33 +9488,34 @@ delegateEvents(["click"]);
|
|
|
9488
9488
|
var _tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools">`);
|
|
9489
9489
|
var _tmpl$25 = /* @__PURE__ */ template(`<div>`);
|
|
9490
9490
|
var _tmpl$33 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">`);
|
|
9491
|
-
var _tmpl$43 = /* @__PURE__ */ template(`<select>`);
|
|
9492
|
-
var _tmpl$53 = /* @__PURE__ */ template(`<
|
|
9493
|
-
var _tmpl$63 = /* @__PURE__ */ template(`<span>
|
|
9494
|
-
var _tmpl$73 = /* @__PURE__ */ template(`<
|
|
9495
|
-
var _tmpl$83 = /* @__PURE__ */ template(`<
|
|
9496
|
-
var _tmpl$93 = /* @__PURE__ */ template(`<span>
|
|
9497
|
-
var _tmpl$103 = /* @__PURE__ */ template(`<span>
|
|
9498
|
-
var _tmpl$113 = /* @__PURE__ */ template(`<span>
|
|
9499
|
-
var _tmpl$122 = /* @__PURE__ */ template(`<span>
|
|
9500
|
-
var _tmpl$132 = /* @__PURE__ */ template(`<span>
|
|
9501
|
-
var _tmpl$142 = /* @__PURE__ */ template(`<span>
|
|
9502
|
-
var _tmpl$152 = /* @__PURE__ */ template(`<span>
|
|
9503
|
-
var _tmpl$162 = /* @__PURE__ */ template(`<span>
|
|
9504
|
-
var _tmpl$172 = /* @__PURE__ */ template(`<
|
|
9505
|
-
var _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-
|
|
9506
|
-
var _tmpl$192 = /* @__PURE__ */ template(`<div><div
|
|
9507
|
-
var _tmpl$202 = /* @__PURE__ */ template(`<
|
|
9508
|
-
var _tmpl$212 = /* @__PURE__ */ template(`<
|
|
9509
|
-
var _tmpl$222 = /* @__PURE__ */ template(`<
|
|
9510
|
-
var _tmpl$232 = /* @__PURE__ */ template(`<div
|
|
9511
|
-
var _tmpl$242 = /* @__PURE__ */ template(`<
|
|
9512
|
-
var _tmpl$252 = /* @__PURE__ */ template(`<
|
|
9513
|
-
var _tmpl$26 = /* @__PURE__ */ template(`<button><span></span
|
|
9514
|
-
var _tmpl$27 = /* @__PURE__ */ template(`<
|
|
9515
|
-
var _tmpl$28 = /* @__PURE__ */ template(`<div><
|
|
9516
|
-
var _tmpl$29 = /* @__PURE__ */ template(`<
|
|
9517
|
-
var _tmpl$30 = /* @__PURE__ */ template(`<
|
|
9491
|
+
var _tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
9492
|
+
var _tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
9493
|
+
var _tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
9494
|
+
var _tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
|
|
9495
|
+
var _tmpl$83 = /* @__PURE__ */ template(`<div>Settings`);
|
|
9496
|
+
var _tmpl$93 = /* @__PURE__ */ template(`<span>Position`);
|
|
9497
|
+
var _tmpl$103 = /* @__PURE__ */ template(`<span>Top`);
|
|
9498
|
+
var _tmpl$113 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
9499
|
+
var _tmpl$122 = /* @__PURE__ */ template(`<span>Left`);
|
|
9500
|
+
var _tmpl$132 = /* @__PURE__ */ template(`<span>Right`);
|
|
9501
|
+
var _tmpl$142 = /* @__PURE__ */ template(`<span>Theme`);
|
|
9502
|
+
var _tmpl$152 = /* @__PURE__ */ template(`<span>Light`);
|
|
9503
|
+
var _tmpl$162 = /* @__PURE__ */ template(`<span>Dark`);
|
|
9504
|
+
var _tmpl$172 = /* @__PURE__ */ template(`<span>System`);
|
|
9505
|
+
var _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
9506
|
+
var _tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
9507
|
+
var _tmpl$202 = /* @__PURE__ */ template(`<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter class=tsqd-query-filter-textfield name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>`);
|
|
9508
|
+
var _tmpl$212 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
9509
|
+
var _tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
9510
|
+
var _tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
9511
|
+
var _tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
9512
|
+
var _tmpl$252 = /* @__PURE__ */ template(`<span>`);
|
|
9513
|
+
var _tmpl$26 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
9514
|
+
var _tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
9515
|
+
var _tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
9516
|
+
var _tmpl$29 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
9517
|
+
var _tmpl$30 = /* @__PURE__ */ template(`<option>`);
|
|
9518
|
+
var _tmpl$31 = /* @__PURE__ */ template(`<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
9518
9519
|
var firstBreakpoint = 1024;
|
|
9519
9520
|
var secondBreakpoint = 796;
|
|
9520
9521
|
var thirdBreakpoint = 700;
|
|
@@ -9652,11 +9653,13 @@ var Devtools = (props) => {
|
|
|
9652
9653
|
transition:
|
|
9653
9654
|
opacity 0.3s,
|
|
9654
9655
|
transform 0.3s;
|
|
9656
|
+
opacity: 1;
|
|
9655
9657
|
}
|
|
9656
9658
|
|
|
9657
9659
|
& .tsqd-button-transition-exit-to,
|
|
9658
9660
|
& .tsqd-button-transition-enter {
|
|
9659
|
-
transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
9661
|
+
transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
9662
|
+
opacity: 0;
|
|
9660
9663
|
}
|
|
9661
9664
|
`, "tsqd-transitions-container")));
|
|
9662
9665
|
return _el$;
|
|
@@ -9859,7 +9862,7 @@ var ContentView = (props) => {
|
|
|
9859
9862
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
9860
9863
|
};
|
|
9861
9864
|
return [(() => {
|
|
9862
|
-
const _el$8 = _tmpl$
|
|
9865
|
+
const _el$8 = _tmpl$202(), _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;
|
|
9863
9866
|
const _ref$3 = containerRef;
|
|
9864
9867
|
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
9865
9868
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
@@ -9941,7 +9944,7 @@ var ContentView = (props) => {
|
|
|
9941
9944
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
9942
9945
|
});
|
|
9943
9946
|
insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
|
|
9944
|
-
const _el$42 = _tmpl$
|
|
9947
|
+
const _el$42 = _tmpl$212(); _el$42.firstChild;
|
|
9945
9948
|
_el$42.value = key;
|
|
9946
9949
|
insert(_el$42, key, null);
|
|
9947
9950
|
return _el$42;
|
|
@@ -9955,12 +9958,12 @@ var ContentView = (props) => {
|
|
|
9955
9958
|
return selectedView() === "mutations";
|
|
9956
9959
|
},
|
|
9957
9960
|
get children() {
|
|
9958
|
-
const _el$21 = _tmpl$
|
|
9961
|
+
const _el$21 = _tmpl$53();
|
|
9959
9962
|
_el$21.addEventListener("change", (e2) => {
|
|
9960
9963
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
9961
9964
|
});
|
|
9962
9965
|
insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
9963
|
-
const _el$44 = _tmpl$
|
|
9966
|
+
const _el$44 = _tmpl$212(); _el$44.firstChild;
|
|
9964
9967
|
_el$44.value = key;
|
|
9965
9968
|
insert(_el$44, key, null);
|
|
9966
9969
|
return _el$44;
|
|
@@ -9982,7 +9985,7 @@ var ContentView = (props) => {
|
|
|
9982
9985
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
9983
9986
|
},
|
|
9984
9987
|
get children() {
|
|
9985
|
-
return [_tmpl$
|
|
9988
|
+
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
9986
9989
|
}
|
|
9987
9990
|
}), null);
|
|
9988
9991
|
insert(_el$22, createComponent(Show, {
|
|
@@ -9990,7 +9993,7 @@ var ContentView = (props) => {
|
|
|
9990
9993
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
9991
9994
|
},
|
|
9992
9995
|
get children() {
|
|
9993
|
-
return [_tmpl$
|
|
9996
|
+
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
9994
9997
|
}
|
|
9995
9998
|
}), null);
|
|
9996
9999
|
_el$26.$$click = () => {
|
|
@@ -10033,7 +10036,7 @@ var ContentView = (props) => {
|
|
|
10033
10036
|
},
|
|
10034
10037
|
get children() {
|
|
10035
10038
|
return [(() => {
|
|
10036
|
-
const _el$28 = _tmpl$
|
|
10039
|
+
const _el$28 = _tmpl$83();
|
|
10037
10040
|
createRenderEffect(() => className(_el$28, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
10038
10041
|
return _el$28;
|
|
10039
10042
|
})(), createComponent(index$f.Sub, {
|
|
@@ -10046,7 +10049,7 @@ var ContentView = (props) => {
|
|
|
10046
10049
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
10047
10050
|
},
|
|
10048
10051
|
get children() {
|
|
10049
|
-
return [_tmpl$
|
|
10052
|
+
return [_tmpl$93(), createComponent(ChevronDown, {})];
|
|
10050
10053
|
}
|
|
10051
10054
|
}), createComponent(index$f.Portal, {
|
|
10052
10055
|
ref: (el) => setComputedVariables(el),
|
|
@@ -10065,7 +10068,7 @@ var ContentView = (props) => {
|
|
|
10065
10068
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
10066
10069
|
},
|
|
10067
10070
|
get children() {
|
|
10068
|
-
return [_tmpl$
|
|
10071
|
+
return [_tmpl$103(), createComponent(ArrowUp, {})];
|
|
10069
10072
|
}
|
|
10070
10073
|
}), createComponent(index$f.Item, {
|
|
10071
10074
|
onSelect: () => {
|
|
@@ -10076,7 +10079,7 @@ var ContentView = (props) => {
|
|
|
10076
10079
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
10077
10080
|
},
|
|
10078
10081
|
get children() {
|
|
10079
|
-
return [_tmpl$
|
|
10082
|
+
return [_tmpl$113(), createComponent(ArrowDown, {})];
|
|
10080
10083
|
}
|
|
10081
10084
|
}), createComponent(index$f.Item, {
|
|
10082
10085
|
onSelect: () => {
|
|
@@ -10087,7 +10090,7 @@ var ContentView = (props) => {
|
|
|
10087
10090
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
10088
10091
|
},
|
|
10089
10092
|
get children() {
|
|
10090
|
-
return [_tmpl$
|
|
10093
|
+
return [_tmpl$122(), createComponent(ArrowLeft, {})];
|
|
10091
10094
|
}
|
|
10092
10095
|
}), createComponent(index$f.Item, {
|
|
10093
10096
|
onSelect: () => {
|
|
@@ -10098,7 +10101,7 @@ var ContentView = (props) => {
|
|
|
10098
10101
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
10099
10102
|
},
|
|
10100
10103
|
get children() {
|
|
10101
|
-
return [_tmpl$
|
|
10104
|
+
return [_tmpl$132(), createComponent(ArrowRight, {})];
|
|
10102
10105
|
}
|
|
10103
10106
|
})];
|
|
10104
10107
|
}
|
|
@@ -10116,7 +10119,7 @@ var ContentView = (props) => {
|
|
|
10116
10119
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
10117
10120
|
},
|
|
10118
10121
|
get children() {
|
|
10119
|
-
return [_tmpl$
|
|
10122
|
+
return [_tmpl$142(), createComponent(ChevronDown, {})];
|
|
10120
10123
|
}
|
|
10121
10124
|
}), createComponent(index$f.Portal, {
|
|
10122
10125
|
ref: (el) => setComputedVariables(el),
|
|
@@ -10135,7 +10138,7 @@ var ContentView = (props) => {
|
|
|
10135
10138
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
10136
10139
|
},
|
|
10137
10140
|
get children() {
|
|
10138
|
-
return [_tmpl$
|
|
10141
|
+
return [_tmpl$152(), createComponent(Sun, {})];
|
|
10139
10142
|
}
|
|
10140
10143
|
}), createComponent(index$f.Item, {
|
|
10141
10144
|
onSelect: () => {
|
|
@@ -10146,7 +10149,7 @@ var ContentView = (props) => {
|
|
|
10146
10149
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
10147
10150
|
},
|
|
10148
10151
|
get children() {
|
|
10149
|
-
return [_tmpl$
|
|
10152
|
+
return [_tmpl$162(), createComponent(Moon, {})];
|
|
10150
10153
|
}
|
|
10151
10154
|
}), createComponent(index$f.Item, {
|
|
10152
10155
|
onSelect: () => {
|
|
@@ -10157,7 +10160,7 @@ var ContentView = (props) => {
|
|
|
10157
10160
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
10158
10161
|
},
|
|
10159
10162
|
get children() {
|
|
10160
|
-
return [_tmpl$
|
|
10163
|
+
return [_tmpl$172(), createComponent(Monitor, {})];
|
|
10161
10164
|
}
|
|
10162
10165
|
})];
|
|
10163
10166
|
}
|
|
@@ -10177,7 +10180,7 @@ var ContentView = (props) => {
|
|
|
10177
10180
|
return selectedView() === "queries";
|
|
10178
10181
|
},
|
|
10179
10182
|
get children() {
|
|
10180
|
-
const _el$38 = _tmpl$
|
|
10183
|
+
const _el$38 = _tmpl$182(), _el$39 = _el$38.firstChild;
|
|
10181
10184
|
insert(_el$39, createComponent(Key, {
|
|
10182
10185
|
by: (q) => q.queryHash,
|
|
10183
10186
|
get each() {
|
|
@@ -10198,7 +10201,7 @@ var ContentView = (props) => {
|
|
|
10198
10201
|
return selectedView() === "mutations";
|
|
10199
10202
|
},
|
|
10200
10203
|
get children() {
|
|
10201
|
-
const _el$40 = _tmpl$
|
|
10204
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
10202
10205
|
insert(_el$41, createComponent(Key, {
|
|
10203
10206
|
by: (m) => m.mutationId,
|
|
10204
10207
|
get each() {
|
|
@@ -10325,7 +10328,7 @@ var QueryRow = (props) => {
|
|
|
10325
10328
|
return queryState();
|
|
10326
10329
|
},
|
|
10327
10330
|
get children() {
|
|
10328
|
-
const _el$46 = _tmpl$
|
|
10331
|
+
const _el$46 = _tmpl$232(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
|
|
10329
10332
|
_el$46.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
10330
10333
|
insert(_el$47, observers);
|
|
10331
10334
|
insert(_el$48, () => props.query.queryHash);
|
|
@@ -10334,7 +10337,7 @@ var QueryRow = (props) => {
|
|
|
10334
10337
|
return isDisabled();
|
|
10335
10338
|
},
|
|
10336
10339
|
get children() {
|
|
10337
|
-
return _tmpl$
|
|
10340
|
+
return _tmpl$222();
|
|
10338
10341
|
}
|
|
10339
10342
|
}), null);
|
|
10340
10343
|
createRenderEffect((_p$) => {
|
|
@@ -10402,7 +10405,7 @@ var MutationRow = (props) => {
|
|
|
10402
10405
|
return mutationState();
|
|
10403
10406
|
},
|
|
10404
10407
|
get children() {
|
|
10405
|
-
const _el$50 = _tmpl$
|
|
10408
|
+
const _el$50 = _tmpl$232(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
|
|
10406
10409
|
_el$50.$$click = () => {
|
|
10407
10410
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
10408
10411
|
};
|
|
@@ -10593,7 +10596,7 @@ var QueryStatus = (props) => {
|
|
|
10593
10596
|
return true;
|
|
10594
10597
|
});
|
|
10595
10598
|
return (() => {
|
|
10596
|
-
const _el$55 = _tmpl$
|
|
10599
|
+
const _el$55 = _tmpl$26(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
10597
10600
|
const _ref$4 = tagRef;
|
|
10598
10601
|
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
10599
10602
|
_el$55.addEventListener("mouseleave", () => {
|
|
@@ -10623,7 +10626,7 @@ var QueryStatus = (props) => {
|
|
|
10623
10626
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
10624
10627
|
},
|
|
10625
10628
|
get children() {
|
|
10626
|
-
const _el$56 = _tmpl$
|
|
10629
|
+
const _el$56 = _tmpl$242();
|
|
10627
10630
|
insert(_el$56, () => props.label);
|
|
10628
10631
|
createRenderEffect(() => className(_el$56, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
10629
10632
|
return _el$56;
|
|
@@ -10634,7 +10637,7 @@ var QueryStatus = (props) => {
|
|
|
10634
10637
|
return showLabel();
|
|
10635
10638
|
},
|
|
10636
10639
|
get children() {
|
|
10637
|
-
const _el$58 = _tmpl$
|
|
10640
|
+
const _el$58 = _tmpl$252();
|
|
10638
10641
|
insert(_el$58, () => props.label);
|
|
10639
10642
|
createRenderEffect(() => className(_el$58, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
10640
10643
|
return _el$58;
|
|
@@ -10744,7 +10747,7 @@ var QueryDetails = () => {
|
|
|
10744
10747
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
10745
10748
|
},
|
|
10746
10749
|
get children() {
|
|
10747
|
-
const _el$60 = _tmpl$
|
|
10750
|
+
const _el$60 = _tmpl$29(), _el$61 = _el$60.firstChild, _el$62 = _el$61.nextSibling, _el$63 = _el$62.firstChild, _el$64 = _el$63.firstChild, _el$65 = _el$64.firstChild, _el$66 = _el$64.nextSibling, _el$67 = _el$63.nextSibling, _el$68 = _el$67.firstChild, _el$69 = _el$68.nextSibling, _el$70 = _el$67.nextSibling, _el$71 = _el$70.firstChild, _el$72 = _el$71.nextSibling, _el$73 = _el$62.nextSibling, _el$74 = _el$73.nextSibling, _el$75 = _el$74.firstChild, _el$76 = _el$75.firstChild, _el$77 = _el$75.nextSibling, _el$78 = _el$77.firstChild, _el$79 = _el$77.nextSibling, _el$80 = _el$79.firstChild, _el$81 = _el$79.nextSibling, _el$82 = _el$81.firstChild, _el$83 = _el$81.nextSibling, _el$84 = _el$83.firstChild, _el$85 = _el$84.nextSibling, _el$94 = _el$74.nextSibling, _el$95 = _el$94.nextSibling, _el$96 = _el$95.nextSibling, _el$97 = _el$96.nextSibling;
|
|
10748
10751
|
insert(_el$65, () => displayValue(activeQuery().queryKey, true));
|
|
10749
10752
|
insert(_el$66, statusLabel);
|
|
10750
10753
|
insert(_el$69, observerCount);
|
|
@@ -10789,7 +10792,7 @@ var QueryDetails = () => {
|
|
|
10789
10792
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
10790
10793
|
},
|
|
10791
10794
|
get children() {
|
|
10792
|
-
const _el$86 = _tmpl$
|
|
10795
|
+
const _el$86 = _tmpl$27(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
|
|
10793
10796
|
_el$86.$$click = () => {
|
|
10794
10797
|
if (!activeQuery().state.error) {
|
|
10795
10798
|
triggerError();
|
|
@@ -10821,7 +10824,7 @@ var QueryDetails = () => {
|
|
|
10821
10824
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
10822
10825
|
},
|
|
10823
10826
|
get children() {
|
|
10824
|
-
const _el$89 = _tmpl$
|
|
10827
|
+
const _el$89 = _tmpl$28(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
|
|
10825
10828
|
_el$92.addEventListener("change", (e2) => {
|
|
10826
10829
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
10827
10830
|
triggerError(errorType);
|
|
@@ -10831,7 +10834,7 @@ var QueryDetails = () => {
|
|
|
10831
10834
|
return errorTypes();
|
|
10832
10835
|
},
|
|
10833
10836
|
children: (errorType) => (() => {
|
|
10834
|
-
const _el$98 = _tmpl$
|
|
10837
|
+
const _el$98 = _tmpl$30();
|
|
10835
10838
|
insert(_el$98, () => errorType.name);
|
|
10836
10839
|
createRenderEffect(() => _el$98.value = errorType.name);
|
|
10837
10840
|
return _el$98;
|
|
@@ -10998,7 +11001,7 @@ var MutationDetails = () => {
|
|
|
10998
11001
|
return activeMutation();
|
|
10999
11002
|
},
|
|
11000
11003
|
get children() {
|
|
11001
|
-
const _el$99 = _tmpl$
|
|
11004
|
+
const _el$99 = _tmpl$31(), _el$100 = _el$99.firstChild, _el$101 = _el$100.nextSibling, _el$102 = _el$101.firstChild, _el$103 = _el$102.firstChild, _el$104 = _el$103.firstChild, _el$105 = _el$103.nextSibling, _el$106 = _el$102.nextSibling, _el$107 = _el$106.firstChild, _el$108 = _el$107.nextSibling, _el$109 = _el$101.nextSibling, _el$110 = _el$109.nextSibling, _el$111 = _el$110.nextSibling, _el$112 = _el$111.nextSibling, _el$113 = _el$112.nextSibling, _el$114 = _el$113.nextSibling, _el$115 = _el$114.nextSibling, _el$116 = _el$115.nextSibling;
|
|
11002
11005
|
insert(_el$104, createComponent(Show, {
|
|
11003
11006
|
get when() {
|
|
11004
11007
|
return activeMutation().options.mutationKey;
|
|
@@ -11268,6 +11271,9 @@ var stylesFactory2 = (theme) => {
|
|
|
11268
11271
|
top: 12px;
|
|
11269
11272
|
right: 12px;
|
|
11270
11273
|
`,
|
|
11274
|
+
"devtoolsBtn-position-relative": u`
|
|
11275
|
+
position: relative;
|
|
11276
|
+
`,
|
|
11271
11277
|
"panel-position-top": u`
|
|
11272
11278
|
top: 0;
|
|
11273
11279
|
right: 0;
|
|
@@ -10509,11 +10509,13 @@ var Devtools = (props) => {
|
|
|
10509
10509
|
transition:
|
|
10510
10510
|
opacity 0.3s,
|
|
10511
10511
|
transform 0.3s;
|
|
10512
|
+
opacity: 1;
|
|
10512
10513
|
}
|
|
10513
10514
|
|
|
10514
10515
|
& .tsqd-button-transition-exit-to,
|
|
10515
10516
|
& .tsqd-button-transition-enter {
|
|
10516
|
-
transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
10517
|
+
transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
10518
|
+
opacity: 0;
|
|
10517
10519
|
}
|
|
10518
10520
|
`,
|
|
10519
10521
|
"tsqd-transitions-container"
|
|
@@ -10850,6 +10852,7 @@ var ContentView = (props) => {
|
|
|
10850
10852
|
}
|
|
10851
10853
|
}}
|
|
10852
10854
|
class="tsqd-query-filter-textfield"
|
|
10855
|
+
name="tsqd-query-filter-input"
|
|
10853
10856
|
value={selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || ""}
|
|
10854
10857
|
/>
|
|
10855
10858
|
</div>
|
|
@@ -10861,6 +10864,7 @@ var ContentView = (props) => {
|
|
|
10861
10864
|
>
|
|
10862
10865
|
<Show when={selectedView() === "queries"}><select
|
|
10863
10866
|
value={sort()}
|
|
10867
|
+
name="tsqd-queries-filter-sort"
|
|
10864
10868
|
onChange={(e2) => {
|
|
10865
10869
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
10866
10870
|
}}
|
|
@@ -10870,6 +10874,7 @@ var ContentView = (props) => {
|
|
|
10870
10874
|
</option>)}</select></Show>
|
|
10871
10875
|
<Show when={selectedView() === "mutations"}><select
|
|
10872
10876
|
value={mutationSort()}
|
|
10877
|
+
name="tsqd-mutations-filter-sort"
|
|
10873
10878
|
onChange={(e2) => {
|
|
10874
10879
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
10875
10880
|
}}
|
|
@@ -12076,6 +12081,9 @@ var stylesFactory2 = (theme) => {
|
|
|
12076
12081
|
top: 12px;
|
|
12077
12082
|
right: 12px;
|
|
12078
12083
|
`,
|
|
12084
|
+
"devtoolsBtn-position-relative": u`
|
|
12085
|
+
position: relative;
|
|
12086
|
+
`,
|
|
12079
12087
|
"panel-position-top": u`
|
|
12080
12088
|
top: 0;
|
|
12081
12089
|
right: 0;
|
|
@@ -10510,11 +10510,13 @@ var Devtools = (props) => {
|
|
|
10510
10510
|
transition:
|
|
10511
10511
|
opacity 0.3s,
|
|
10512
10512
|
transform 0.3s;
|
|
10513
|
+
opacity: 1;
|
|
10513
10514
|
}
|
|
10514
10515
|
|
|
10515
10516
|
& .tsqd-button-transition-exit-to,
|
|
10516
10517
|
& .tsqd-button-transition-enter {
|
|
10517
|
-
transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
10518
|
+
transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
10519
|
+
opacity: 0;
|
|
10518
10520
|
}
|
|
10519
10521
|
`,
|
|
10520
10522
|
"tsqd-transitions-container"
|
|
@@ -10851,6 +10853,7 @@ var ContentView = (props) => {
|
|
|
10851
10853
|
}
|
|
10852
10854
|
}}
|
|
10853
10855
|
class="tsqd-query-filter-textfield"
|
|
10856
|
+
name="tsqd-query-filter-input"
|
|
10854
10857
|
value={selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || ""}
|
|
10855
10858
|
/>
|
|
10856
10859
|
</div>
|
|
@@ -10862,6 +10865,7 @@ var ContentView = (props) => {
|
|
|
10862
10865
|
>
|
|
10863
10866
|
<Show when={selectedView() === "queries"}><select
|
|
10864
10867
|
value={sort()}
|
|
10868
|
+
name="tsqd-queries-filter-sort"
|
|
10865
10869
|
onChange={(e2) => {
|
|
10866
10870
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
10867
10871
|
}}
|
|
@@ -10871,6 +10875,7 @@ var ContentView = (props) => {
|
|
|
10871
10875
|
</option>)}</select></Show>
|
|
10872
10876
|
<Show when={selectedView() === "mutations"}><select
|
|
10873
10877
|
value={mutationSort()}
|
|
10878
|
+
name="tsqd-mutations-filter-sort"
|
|
10874
10879
|
onChange={(e2) => {
|
|
10875
10880
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
10876
10881
|
}}
|
|
@@ -12077,6 +12082,9 @@ var stylesFactory2 = (theme) => {
|
|
|
12077
12082
|
top: 12px;
|
|
12078
12083
|
right: 12px;
|
|
12079
12084
|
`,
|
|
12085
|
+
"devtoolsBtn-position-relative": u`
|
|
12086
|
+
position: relative;
|
|
12087
|
+
`,
|
|
12080
12088
|
"panel-position-top": u`
|
|
12081
12089
|
top: 0;
|
|
12082
12090
|
right: 0;
|