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