@tanstack/query-devtools 5.21.0 → 5.21.5
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/{4IXB5NHK.js → MY47IRH5.js} +70 -66
- package/build/Devtools/{2ACMJH2B.jsx → OQR5HZUS.jsx} +17 -9
- package/build/Devtools/{NU5BFWH6.js → OWP7E64P.js} +70 -66
- package/build/Devtools/{EX35NSIV.jsx → TETPQZKA.jsx} +17 -9
- package/build/dev.cjs +71 -67
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +71 -67
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +14 -7
- package/src/Explorer.tsx +2 -1
|
@@ -9359,7 +9359,8 @@ var stylesFactory = (theme) => {
|
|
|
9359
9359
|
entry: u`
|
|
9360
9360
|
& * {
|
|
9361
9361
|
font-size: ${font.size.xs};
|
|
9362
|
-
font-family:
|
|
9362
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
9363
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
9363
9364
|
}
|
|
9364
9365
|
position: relative;
|
|
9365
9366
|
outline: none;
|
|
@@ -9485,36 +9486,37 @@ var darkStyles = stylesFactory("dark");
|
|
|
9485
9486
|
delegateEvents(["click"]);
|
|
9486
9487
|
|
|
9487
9488
|
// src/Devtools.tsx
|
|
9488
|
-
var _tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools">`);
|
|
9489
|
+
var _tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>`);
|
|
9489
9490
|
var _tmpl$25 = /* @__PURE__ */ template(`<div>`);
|
|
9490
9491
|
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(`<
|
|
9492
|
+
var _tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
9493
|
+
var _tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
9494
|
+
var _tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
9495
|
+
var _tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
|
|
9496
|
+
var _tmpl$83 = /* @__PURE__ */ template(`<div>Settings`);
|
|
9497
|
+
var _tmpl$93 = /* @__PURE__ */ template(`<span>Position`);
|
|
9498
|
+
var _tmpl$103 = /* @__PURE__ */ template(`<span>Top`);
|
|
9499
|
+
var _tmpl$113 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
9500
|
+
var _tmpl$122 = /* @__PURE__ */ template(`<span>Left`);
|
|
9501
|
+
var _tmpl$132 = /* @__PURE__ */ template(`<span>Right`);
|
|
9502
|
+
var _tmpl$142 = /* @__PURE__ */ template(`<span>Theme`);
|
|
9503
|
+
var _tmpl$152 = /* @__PURE__ */ template(`<span>Light`);
|
|
9504
|
+
var _tmpl$162 = /* @__PURE__ */ template(`<span>Dark`);
|
|
9505
|
+
var _tmpl$172 = /* @__PURE__ */ template(`<span>System`);
|
|
9506
|
+
var _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
9507
|
+
var _tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
9508
|
+
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>`);
|
|
9509
|
+
var _tmpl$212 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
9510
|
+
var _tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
9511
|
+
var _tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
9512
|
+
var _tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
9513
|
+
var _tmpl$252 = /* @__PURE__ */ template(`<span>`);
|
|
9514
|
+
var _tmpl$26 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
9515
|
+
var _tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
9516
|
+
var _tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
9517
|
+
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">`);
|
|
9518
|
+
var _tmpl$30 = /* @__PURE__ */ template(`<option>`);
|
|
9519
|
+
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
9520
|
var firstBreakpoint = 1024;
|
|
9519
9521
|
var secondBreakpoint = 796;
|
|
9520
9522
|
var thirdBreakpoint = 700;
|
|
@@ -9628,7 +9630,7 @@ var Devtools = (props) => {
|
|
|
9628
9630
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
9629
9631
|
_el$4.$$click = () => props.setLocalStore("open", "true");
|
|
9630
9632
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
9631
|
-
createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
9633
|
+
createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`], "tsqd-open-btn-container")));
|
|
9632
9634
|
return _el$2;
|
|
9633
9635
|
}
|
|
9634
9636
|
});
|
|
@@ -9861,7 +9863,7 @@ var ContentView = (props) => {
|
|
|
9861
9863
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
9862
9864
|
};
|
|
9863
9865
|
return [(() => {
|
|
9864
|
-
const _el$8 = _tmpl$
|
|
9866
|
+
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;
|
|
9865
9867
|
const _ref$3 = containerRef;
|
|
9866
9868
|
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
9867
9869
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
@@ -9943,7 +9945,7 @@ var ContentView = (props) => {
|
|
|
9943
9945
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
9944
9946
|
});
|
|
9945
9947
|
insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
|
|
9946
|
-
const _el$42 = _tmpl$
|
|
9948
|
+
const _el$42 = _tmpl$212(); _el$42.firstChild;
|
|
9947
9949
|
_el$42.value = key;
|
|
9948
9950
|
insert(_el$42, key, null);
|
|
9949
9951
|
return _el$42;
|
|
@@ -9957,12 +9959,12 @@ var ContentView = (props) => {
|
|
|
9957
9959
|
return selectedView() === "mutations";
|
|
9958
9960
|
},
|
|
9959
9961
|
get children() {
|
|
9960
|
-
const _el$21 = _tmpl$
|
|
9962
|
+
const _el$21 = _tmpl$53();
|
|
9961
9963
|
_el$21.addEventListener("change", (e2) => {
|
|
9962
9964
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
9963
9965
|
});
|
|
9964
9966
|
insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
9965
|
-
const _el$44 = _tmpl$
|
|
9967
|
+
const _el$44 = _tmpl$212(); _el$44.firstChild;
|
|
9966
9968
|
_el$44.value = key;
|
|
9967
9969
|
insert(_el$44, key, null);
|
|
9968
9970
|
return _el$44;
|
|
@@ -9984,7 +9986,7 @@ var ContentView = (props) => {
|
|
|
9984
9986
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
9985
9987
|
},
|
|
9986
9988
|
get children() {
|
|
9987
|
-
return [_tmpl$
|
|
9989
|
+
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
9988
9990
|
}
|
|
9989
9991
|
}), null);
|
|
9990
9992
|
insert(_el$22, createComponent(Show, {
|
|
@@ -9992,7 +9994,7 @@ var ContentView = (props) => {
|
|
|
9992
9994
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
9993
9995
|
},
|
|
9994
9996
|
get children() {
|
|
9995
|
-
return [_tmpl$
|
|
9997
|
+
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
9996
9998
|
}
|
|
9997
9999
|
}), null);
|
|
9998
10000
|
_el$26.$$click = () => {
|
|
@@ -10035,7 +10037,7 @@ var ContentView = (props) => {
|
|
|
10035
10037
|
},
|
|
10036
10038
|
get children() {
|
|
10037
10039
|
return [(() => {
|
|
10038
|
-
const _el$28 = _tmpl$
|
|
10040
|
+
const _el$28 = _tmpl$83();
|
|
10039
10041
|
createRenderEffect(() => className(_el$28, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
10040
10042
|
return _el$28;
|
|
10041
10043
|
})(), createComponent(index$f.Sub, {
|
|
@@ -10048,7 +10050,7 @@ var ContentView = (props) => {
|
|
|
10048
10050
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
10049
10051
|
},
|
|
10050
10052
|
get children() {
|
|
10051
|
-
return [_tmpl$
|
|
10053
|
+
return [_tmpl$93(), createComponent(ChevronDown, {})];
|
|
10052
10054
|
}
|
|
10053
10055
|
}), createComponent(index$f.Portal, {
|
|
10054
10056
|
ref: (el) => setComputedVariables(el),
|
|
@@ -10067,7 +10069,7 @@ var ContentView = (props) => {
|
|
|
10067
10069
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
10068
10070
|
},
|
|
10069
10071
|
get children() {
|
|
10070
|
-
return [_tmpl$
|
|
10072
|
+
return [_tmpl$103(), createComponent(ArrowUp, {})];
|
|
10071
10073
|
}
|
|
10072
10074
|
}), createComponent(index$f.Item, {
|
|
10073
10075
|
onSelect: () => {
|
|
@@ -10078,7 +10080,7 @@ var ContentView = (props) => {
|
|
|
10078
10080
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
10079
10081
|
},
|
|
10080
10082
|
get children() {
|
|
10081
|
-
return [_tmpl$
|
|
10083
|
+
return [_tmpl$113(), createComponent(ArrowDown, {})];
|
|
10082
10084
|
}
|
|
10083
10085
|
}), createComponent(index$f.Item, {
|
|
10084
10086
|
onSelect: () => {
|
|
@@ -10089,7 +10091,7 @@ var ContentView = (props) => {
|
|
|
10089
10091
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
10090
10092
|
},
|
|
10091
10093
|
get children() {
|
|
10092
|
-
return [_tmpl$
|
|
10094
|
+
return [_tmpl$122(), createComponent(ArrowLeft, {})];
|
|
10093
10095
|
}
|
|
10094
10096
|
}), createComponent(index$f.Item, {
|
|
10095
10097
|
onSelect: () => {
|
|
@@ -10100,7 +10102,7 @@ var ContentView = (props) => {
|
|
|
10100
10102
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
10101
10103
|
},
|
|
10102
10104
|
get children() {
|
|
10103
|
-
return [_tmpl$
|
|
10105
|
+
return [_tmpl$132(), createComponent(ArrowRight, {})];
|
|
10104
10106
|
}
|
|
10105
10107
|
})];
|
|
10106
10108
|
}
|
|
@@ -10118,7 +10120,7 @@ var ContentView = (props) => {
|
|
|
10118
10120
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
10119
10121
|
},
|
|
10120
10122
|
get children() {
|
|
10121
|
-
return [_tmpl$
|
|
10123
|
+
return [_tmpl$142(), createComponent(ChevronDown, {})];
|
|
10122
10124
|
}
|
|
10123
10125
|
}), createComponent(index$f.Portal, {
|
|
10124
10126
|
ref: (el) => setComputedVariables(el),
|
|
@@ -10137,7 +10139,7 @@ var ContentView = (props) => {
|
|
|
10137
10139
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
10138
10140
|
},
|
|
10139
10141
|
get children() {
|
|
10140
|
-
return [_tmpl$
|
|
10142
|
+
return [_tmpl$152(), createComponent(Sun, {})];
|
|
10141
10143
|
}
|
|
10142
10144
|
}), createComponent(index$f.Item, {
|
|
10143
10145
|
onSelect: () => {
|
|
@@ -10148,7 +10150,7 @@ var ContentView = (props) => {
|
|
|
10148
10150
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
10149
10151
|
},
|
|
10150
10152
|
get children() {
|
|
10151
|
-
return [_tmpl$
|
|
10153
|
+
return [_tmpl$162(), createComponent(Moon, {})];
|
|
10152
10154
|
}
|
|
10153
10155
|
}), createComponent(index$f.Item, {
|
|
10154
10156
|
onSelect: () => {
|
|
@@ -10159,7 +10161,7 @@ var ContentView = (props) => {
|
|
|
10159
10161
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
10160
10162
|
},
|
|
10161
10163
|
get children() {
|
|
10162
|
-
return [_tmpl$
|
|
10164
|
+
return [_tmpl$172(), createComponent(Monitor, {})];
|
|
10163
10165
|
}
|
|
10164
10166
|
})];
|
|
10165
10167
|
}
|
|
@@ -10179,7 +10181,7 @@ var ContentView = (props) => {
|
|
|
10179
10181
|
return selectedView() === "queries";
|
|
10180
10182
|
},
|
|
10181
10183
|
get children() {
|
|
10182
|
-
const _el$38 = _tmpl$
|
|
10184
|
+
const _el$38 = _tmpl$182(), _el$39 = _el$38.firstChild;
|
|
10183
10185
|
insert(_el$39, createComponent(Key, {
|
|
10184
10186
|
by: (q) => q.queryHash,
|
|
10185
10187
|
get each() {
|
|
@@ -10200,7 +10202,7 @@ var ContentView = (props) => {
|
|
|
10200
10202
|
return selectedView() === "mutations";
|
|
10201
10203
|
},
|
|
10202
10204
|
get children() {
|
|
10203
|
-
const _el$40 = _tmpl$
|
|
10205
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
10204
10206
|
insert(_el$41, createComponent(Key, {
|
|
10205
10207
|
by: (m) => m.mutationId,
|
|
10206
10208
|
get each() {
|
|
@@ -10327,7 +10329,7 @@ var QueryRow = (props) => {
|
|
|
10327
10329
|
return queryState();
|
|
10328
10330
|
},
|
|
10329
10331
|
get children() {
|
|
10330
|
-
const _el$46 = _tmpl$
|
|
10332
|
+
const _el$46 = _tmpl$232(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
|
|
10331
10333
|
_el$46.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
10332
10334
|
insert(_el$47, observers);
|
|
10333
10335
|
insert(_el$48, () => props.query.queryHash);
|
|
@@ -10336,7 +10338,7 @@ var QueryRow = (props) => {
|
|
|
10336
10338
|
return isDisabled();
|
|
10337
10339
|
},
|
|
10338
10340
|
get children() {
|
|
10339
|
-
return _tmpl$
|
|
10341
|
+
return _tmpl$222();
|
|
10340
10342
|
}
|
|
10341
10343
|
}), null);
|
|
10342
10344
|
createRenderEffect((_p$) => {
|
|
@@ -10404,7 +10406,7 @@ var MutationRow = (props) => {
|
|
|
10404
10406
|
return mutationState();
|
|
10405
10407
|
},
|
|
10406
10408
|
get children() {
|
|
10407
|
-
const _el$50 = _tmpl$
|
|
10409
|
+
const _el$50 = _tmpl$232(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
|
|
10408
10410
|
_el$50.$$click = () => {
|
|
10409
10411
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
10410
10412
|
};
|
|
@@ -10595,7 +10597,7 @@ var QueryStatus = (props) => {
|
|
|
10595
10597
|
return true;
|
|
10596
10598
|
});
|
|
10597
10599
|
return (() => {
|
|
10598
|
-
const _el$55 = _tmpl$
|
|
10600
|
+
const _el$55 = _tmpl$26(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
10599
10601
|
const _ref$4 = tagRef;
|
|
10600
10602
|
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
10601
10603
|
_el$55.addEventListener("mouseleave", () => {
|
|
@@ -10625,7 +10627,7 @@ var QueryStatus = (props) => {
|
|
|
10625
10627
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
10626
10628
|
},
|
|
10627
10629
|
get children() {
|
|
10628
|
-
const _el$56 = _tmpl$
|
|
10630
|
+
const _el$56 = _tmpl$242();
|
|
10629
10631
|
insert(_el$56, () => props.label);
|
|
10630
10632
|
createRenderEffect(() => className(_el$56, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
10631
10633
|
return _el$56;
|
|
@@ -10636,7 +10638,7 @@ var QueryStatus = (props) => {
|
|
|
10636
10638
|
return showLabel();
|
|
10637
10639
|
},
|
|
10638
10640
|
get children() {
|
|
10639
|
-
const _el$58 = _tmpl$
|
|
10641
|
+
const _el$58 = _tmpl$252();
|
|
10640
10642
|
insert(_el$58, () => props.label);
|
|
10641
10643
|
createRenderEffect(() => className(_el$58, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
10642
10644
|
return _el$58;
|
|
@@ -10746,7 +10748,7 @@ var QueryDetails = () => {
|
|
|
10746
10748
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
10747
10749
|
},
|
|
10748
10750
|
get children() {
|
|
10749
|
-
const _el$60 = _tmpl$
|
|
10751
|
+
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;
|
|
10750
10752
|
insert(_el$65, () => displayValue(activeQuery().queryKey, true));
|
|
10751
10753
|
insert(_el$66, statusLabel);
|
|
10752
10754
|
insert(_el$69, observerCount);
|
|
@@ -10791,7 +10793,7 @@ var QueryDetails = () => {
|
|
|
10791
10793
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
10792
10794
|
},
|
|
10793
10795
|
get children() {
|
|
10794
|
-
const _el$86 = _tmpl$
|
|
10796
|
+
const _el$86 = _tmpl$27(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
|
|
10795
10797
|
_el$86.$$click = () => {
|
|
10796
10798
|
if (!activeQuery().state.error) {
|
|
10797
10799
|
triggerError();
|
|
@@ -10823,7 +10825,7 @@ var QueryDetails = () => {
|
|
|
10823
10825
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
10824
10826
|
},
|
|
10825
10827
|
get children() {
|
|
10826
|
-
const _el$89 = _tmpl$
|
|
10828
|
+
const _el$89 = _tmpl$28(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
|
|
10827
10829
|
_el$92.addEventListener("change", (e2) => {
|
|
10828
10830
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
10829
10831
|
triggerError(errorType);
|
|
@@ -10833,7 +10835,7 @@ var QueryDetails = () => {
|
|
|
10833
10835
|
return errorTypes();
|
|
10834
10836
|
},
|
|
10835
10837
|
children: (errorType) => (() => {
|
|
10836
|
-
const _el$98 = _tmpl$
|
|
10838
|
+
const _el$98 = _tmpl$30();
|
|
10837
10839
|
insert(_el$98, () => errorType.name);
|
|
10838
10840
|
createRenderEffect(() => _el$98.value = errorType.name);
|
|
10839
10841
|
return _el$98;
|
|
@@ -11000,7 +11002,7 @@ var MutationDetails = () => {
|
|
|
11000
11002
|
return activeMutation();
|
|
11001
11003
|
},
|
|
11002
11004
|
get children() {
|
|
11003
|
-
const _el$99 = _tmpl$
|
|
11005
|
+
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;
|
|
11004
11006
|
insert(_el$104, createComponent(Show, {
|
|
11005
11007
|
get when() {
|
|
11006
11008
|
return activeMutation().options.mutationKey;
|
|
@@ -11420,7 +11422,7 @@ var stylesFactory2 = (theme) => {
|
|
|
11420
11422
|
display: flex;
|
|
11421
11423
|
flex-direction: column;
|
|
11422
11424
|
& * {
|
|
11423
|
-
font-family:
|
|
11425
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
11424
11426
|
}
|
|
11425
11427
|
`,
|
|
11426
11428
|
dragHandle: u`
|
|
@@ -11785,7 +11787,8 @@ var stylesFactory2 = (theme) => {
|
|
|
11785
11787
|
min-height: ${tokens.size[6]};
|
|
11786
11788
|
flex: 1;
|
|
11787
11789
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
11788
|
-
font-family:
|
|
11790
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
11791
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
11789
11792
|
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
11790
11793
|
text-align: left;
|
|
11791
11794
|
text-overflow: clip;
|
|
@@ -11810,7 +11813,7 @@ var stylesFactory2 = (theme) => {
|
|
|
11810
11813
|
flex: 1 1 700px;
|
|
11811
11814
|
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
11812
11815
|
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
11813
|
-
font-family:
|
|
11816
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
11814
11817
|
display: flex;
|
|
11815
11818
|
flex-direction: column;
|
|
11816
11819
|
overflow-y: auto;
|
|
@@ -11818,7 +11821,7 @@ var stylesFactory2 = (theme) => {
|
|
|
11818
11821
|
text-align: left;
|
|
11819
11822
|
`,
|
|
11820
11823
|
detailsHeader: u`
|
|
11821
|
-
font-family:
|
|
11824
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
11822
11825
|
position: sticky;
|
|
11823
11826
|
top: 0;
|
|
11824
11827
|
z-index: 2;
|
|
@@ -11850,7 +11853,8 @@ var stylesFactory2 = (theme) => {
|
|
|
11850
11853
|
}
|
|
11851
11854
|
|
|
11852
11855
|
& code {
|
|
11853
|
-
font-family:
|
|
11856
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
11857
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
11854
11858
|
margin: 0;
|
|
11855
11859
|
font-size: ${font.size.xs};
|
|
11856
11860
|
line-height: ${font.lineHeight.xs};
|
|
@@ -11875,7 +11879,7 @@ var stylesFactory2 = (theme) => {
|
|
|
11875
11879
|
gap: ${tokens.size[2]};
|
|
11876
11880
|
padding: 0px ${tokens.size[2]};
|
|
11877
11881
|
& > button {
|
|
11878
|
-
font-family:
|
|
11882
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
11879
11883
|
font-size: ${font.size.xs};
|
|
11880
11884
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
11881
11885
|
display: flex;
|
|
@@ -11960,7 +11964,7 @@ var stylesFactory2 = (theme) => {
|
|
|
11960
11964
|
settingsMenu: u`
|
|
11961
11965
|
display: flex;
|
|
11962
11966
|
& * {
|
|
11963
|
-
font-family:
|
|
11967
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
11964
11968
|
}
|
|
11965
11969
|
flex-direction: column;
|
|
11966
11970
|
gap: ${size2[0.5]};
|
|
@@ -10290,7 +10290,8 @@ var stylesFactory = (theme) => {
|
|
|
10290
10290
|
entry: u`
|
|
10291
10291
|
& * {
|
|
10292
10292
|
font-size: ${font.size.xs};
|
|
10293
|
-
font-family:
|
|
10293
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
10294
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
10294
10295
|
}
|
|
10295
10296
|
position: relative;
|
|
10296
10297
|
outline: none;
|
|
@@ -10529,13 +10530,15 @@ var Devtools = (props) => {
|
|
|
10529
10530
|
<TransitionGroup name="tsqd-button-transition"><Show when={!isOpen()}><div
|
|
10530
10531
|
class={clsx(
|
|
10531
10532
|
styles().devtoolsBtn,
|
|
10532
|
-
styles()[`devtoolsBtn-position-${buttonPosition()}`]
|
|
10533
|
+
styles()[`devtoolsBtn-position-${buttonPosition()}`],
|
|
10534
|
+
"tsqd-open-btn-container"
|
|
10533
10535
|
)}
|
|
10534
10536
|
>
|
|
10535
10537
|
<div aria-hidden="true"><TanstackLogo /></div>
|
|
10536
10538
|
<button
|
|
10537
10539
|
aria-label="Open Tanstack query devtools"
|
|
10538
10540
|
onClick={() => props.setLocalStore("open", "true")}
|
|
10541
|
+
class="tsqd-open-btn"
|
|
10539
10542
|
><TanstackLogo /></button>
|
|
10540
10543
|
</div></Show></TransitionGroup>
|
|
10541
10544
|
</div>;
|
|
@@ -10852,6 +10855,7 @@ var ContentView = (props) => {
|
|
|
10852
10855
|
}
|
|
10853
10856
|
}}
|
|
10854
10857
|
class="tsqd-query-filter-textfield"
|
|
10858
|
+
name="tsqd-query-filter-input"
|
|
10855
10859
|
value={selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || ""}
|
|
10856
10860
|
/>
|
|
10857
10861
|
</div>
|
|
@@ -10863,6 +10867,7 @@ var ContentView = (props) => {
|
|
|
10863
10867
|
>
|
|
10864
10868
|
<Show when={selectedView() === "queries"}><select
|
|
10865
10869
|
value={sort()}
|
|
10870
|
+
name="tsqd-queries-filter-sort"
|
|
10866
10871
|
onChange={(e2) => {
|
|
10867
10872
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
10868
10873
|
}}
|
|
@@ -10872,6 +10877,7 @@ var ContentView = (props) => {
|
|
|
10872
10877
|
</option>)}</select></Show>
|
|
10873
10878
|
<Show when={selectedView() === "mutations"}><select
|
|
10874
10879
|
value={mutationSort()}
|
|
10880
|
+
name="tsqd-mutations-filter-sort"
|
|
10875
10881
|
onChange={(e2) => {
|
|
10876
10882
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
10877
10883
|
}}
|
|
@@ -12228,7 +12234,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12228
12234
|
display: flex;
|
|
12229
12235
|
flex-direction: column;
|
|
12230
12236
|
& * {
|
|
12231
|
-
font-family:
|
|
12237
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
12232
12238
|
}
|
|
12233
12239
|
`,
|
|
12234
12240
|
dragHandle: u`
|
|
@@ -12593,7 +12599,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12593
12599
|
min-height: ${tokens.size[6]};
|
|
12594
12600
|
flex: 1;
|
|
12595
12601
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
12596
|
-
font-family:
|
|
12602
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
12603
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
12597
12604
|
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
12598
12605
|
text-align: left;
|
|
12599
12606
|
text-overflow: clip;
|
|
@@ -12618,7 +12625,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12618
12625
|
flex: 1 1 700px;
|
|
12619
12626
|
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
12620
12627
|
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
12621
|
-
font-family:
|
|
12628
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
12622
12629
|
display: flex;
|
|
12623
12630
|
flex-direction: column;
|
|
12624
12631
|
overflow-y: auto;
|
|
@@ -12626,7 +12633,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12626
12633
|
text-align: left;
|
|
12627
12634
|
`,
|
|
12628
12635
|
detailsHeader: u`
|
|
12629
|
-
font-family:
|
|
12636
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
12630
12637
|
position: sticky;
|
|
12631
12638
|
top: 0;
|
|
12632
12639
|
z-index: 2;
|
|
@@ -12658,7 +12665,8 @@ var stylesFactory2 = (theme) => {
|
|
|
12658
12665
|
}
|
|
12659
12666
|
|
|
12660
12667
|
& code {
|
|
12661
|
-
font-family:
|
|
12668
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
12669
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
12662
12670
|
margin: 0;
|
|
12663
12671
|
font-size: ${font.size.xs};
|
|
12664
12672
|
line-height: ${font.lineHeight.xs};
|
|
@@ -12683,7 +12691,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12683
12691
|
gap: ${tokens.size[2]};
|
|
12684
12692
|
padding: 0px ${tokens.size[2]};
|
|
12685
12693
|
& > button {
|
|
12686
|
-
font-family:
|
|
12694
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
12687
12695
|
font-size: ${font.size.xs};
|
|
12688
12696
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
12689
12697
|
display: flex;
|
|
@@ -12768,7 +12776,7 @@ var stylesFactory2 = (theme) => {
|
|
|
12768
12776
|
settingsMenu: u`
|
|
12769
12777
|
display: flex;
|
|
12770
12778
|
& * {
|
|
12771
|
-
font-family:
|
|
12779
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
12772
12780
|
}
|
|
12773
12781
|
flex-direction: column;
|
|
12774
12782
|
gap: ${size2[0.5]};
|