@tanstack/query-devtools 5.21.0 → 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/{NU5BFWH6.js → PZY6I5TR.js} +57 -56
- package/build/Devtools/{4IXB5NHK.js → SUV2KM2F.js} +57 -56
- package/build/Devtools/{2ACMJH2B.jsx → VAJS2OS4.jsx} +3 -0
- package/build/Devtools/{EX35NSIV.jsx → Z62CHOQ7.jsx} +3 -0
- package/build/dev.cjs +58 -57
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +58 -57
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +3 -0
package/build/dev.cjs
CHANGED
|
@@ -12875,7 +12875,7 @@ var Devtools_exports = {};
|
|
|
12875
12875
|
__export(Devtools_exports, {
|
|
12876
12876
|
default: () => Devtools_default
|
|
12877
12877
|
});
|
|
12878
|
-
var _tmpl$24, _tmpl$25, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$26, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, DEFAULT_MUTATION_SORT_FN_NAME, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, DevtoolsComponent, Devtools_default, Devtools, DevtoolsPanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
|
|
12878
|
+
var _tmpl$24, _tmpl$25, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$26, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, DEFAULT_MUTATION_SORT_FN_NAME, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, DevtoolsComponent, Devtools_default, Devtools, DevtoolsPanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
|
|
12879
12879
|
var init_Devtools = __esm({
|
|
12880
12880
|
"src/Devtools.tsx"() {
|
|
12881
12881
|
init_web();
|
|
@@ -12906,33 +12906,34 @@ var init_Devtools = __esm({
|
|
|
12906
12906
|
_tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools">`);
|
|
12907
12907
|
_tmpl$25 = /* @__PURE__ */ template(`<div>`);
|
|
12908
12908
|
_tmpl$33 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">`);
|
|
12909
|
-
_tmpl$43 = /* @__PURE__ */ template(`<select>`);
|
|
12910
|
-
_tmpl$53 = /* @__PURE__ */ template(`<
|
|
12911
|
-
_tmpl$63 = /* @__PURE__ */ template(`<span>
|
|
12912
|
-
_tmpl$73 = /* @__PURE__ */ template(`<
|
|
12913
|
-
_tmpl$83 = /* @__PURE__ */ template(`<
|
|
12914
|
-
_tmpl$93 = /* @__PURE__ */ template(`<span>
|
|
12915
|
-
_tmpl$103 = /* @__PURE__ */ template(`<span>
|
|
12916
|
-
_tmpl$113 = /* @__PURE__ */ template(`<span>
|
|
12917
|
-
_tmpl$122 = /* @__PURE__ */ template(`<span>
|
|
12918
|
-
_tmpl$132 = /* @__PURE__ */ template(`<span>
|
|
12919
|
-
_tmpl$142 = /* @__PURE__ */ template(`<span>
|
|
12920
|
-
_tmpl$152 = /* @__PURE__ */ template(`<span>
|
|
12921
|
-
_tmpl$162 = /* @__PURE__ */ template(`<span>
|
|
12922
|
-
_tmpl$172 = /* @__PURE__ */ template(`<
|
|
12923
|
-
_tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-
|
|
12924
|
-
_tmpl$192 = /* @__PURE__ */ template(`<div><div
|
|
12925
|
-
_tmpl$202 = /* @__PURE__ */ template(`<
|
|
12926
|
-
_tmpl$212 = /* @__PURE__ */ template(`<
|
|
12927
|
-
_tmpl$222 = /* @__PURE__ */ template(`<
|
|
12928
|
-
_tmpl$232 = /* @__PURE__ */ template(`<div
|
|
12929
|
-
_tmpl$242 = /* @__PURE__ */ template(`<
|
|
12930
|
-
_tmpl$252 = /* @__PURE__ */ template(`<
|
|
12931
|
-
_tmpl$26 = /* @__PURE__ */ template(`<button><span></span
|
|
12932
|
-
_tmpl$27 = /* @__PURE__ */ template(`<
|
|
12933
|
-
_tmpl$28 = /* @__PURE__ */ template(`<div><
|
|
12934
|
-
_tmpl$29 = /* @__PURE__ */ template(`<
|
|
12935
|
-
_tmpl$30 = /* @__PURE__ */ template(`<
|
|
12909
|
+
_tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
12910
|
+
_tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
12911
|
+
_tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
12912
|
+
_tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
|
|
12913
|
+
_tmpl$83 = /* @__PURE__ */ template(`<div>Settings`);
|
|
12914
|
+
_tmpl$93 = /* @__PURE__ */ template(`<span>Position`);
|
|
12915
|
+
_tmpl$103 = /* @__PURE__ */ template(`<span>Top`);
|
|
12916
|
+
_tmpl$113 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
12917
|
+
_tmpl$122 = /* @__PURE__ */ template(`<span>Left`);
|
|
12918
|
+
_tmpl$132 = /* @__PURE__ */ template(`<span>Right`);
|
|
12919
|
+
_tmpl$142 = /* @__PURE__ */ template(`<span>Theme`);
|
|
12920
|
+
_tmpl$152 = /* @__PURE__ */ template(`<span>Light`);
|
|
12921
|
+
_tmpl$162 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12922
|
+
_tmpl$172 = /* @__PURE__ */ template(`<span>System`);
|
|
12923
|
+
_tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
12924
|
+
_tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
12925
|
+
_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>`);
|
|
12926
|
+
_tmpl$212 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12927
|
+
_tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12928
|
+
_tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12929
|
+
_tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12930
|
+
_tmpl$252 = /* @__PURE__ */ template(`<span>`);
|
|
12931
|
+
_tmpl$26 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12932
|
+
_tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12933
|
+
_tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12934
|
+
_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">`);
|
|
12935
|
+
_tmpl$30 = /* @__PURE__ */ template(`<option>`);
|
|
12936
|
+
_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">`);
|
|
12936
12937
|
firstBreakpoint = 1024;
|
|
12937
12938
|
secondBreakpoint = 796;
|
|
12938
12939
|
thirdBreakpoint = 700;
|
|
@@ -13279,7 +13280,7 @@ var init_Devtools = __esm({
|
|
|
13279
13280
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13280
13281
|
};
|
|
13281
13282
|
return [(() => {
|
|
13282
|
-
const _el$8 = _tmpl$
|
|
13283
|
+
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;
|
|
13283
13284
|
const _ref$3 = containerRef;
|
|
13284
13285
|
typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
|
|
13285
13286
|
_el$11.$$click = () => props.setLocalStore("open", "false");
|
|
@@ -13361,7 +13362,7 @@ var init_Devtools = __esm({
|
|
|
13361
13362
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13362
13363
|
});
|
|
13363
13364
|
insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
|
|
13364
|
-
const _el$42 = _tmpl$
|
|
13365
|
+
const _el$42 = _tmpl$212(); _el$42.firstChild;
|
|
13365
13366
|
_el$42.value = key;
|
|
13366
13367
|
insert(_el$42, key, null);
|
|
13367
13368
|
return _el$42;
|
|
@@ -13375,12 +13376,12 @@ var init_Devtools = __esm({
|
|
|
13375
13376
|
return selectedView() === "mutations";
|
|
13376
13377
|
},
|
|
13377
13378
|
get children() {
|
|
13378
|
-
const _el$21 = _tmpl$
|
|
13379
|
+
const _el$21 = _tmpl$53();
|
|
13379
13380
|
_el$21.addEventListener("change", (e2) => {
|
|
13380
13381
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13381
13382
|
});
|
|
13382
13383
|
insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
13383
|
-
const _el$44 = _tmpl$
|
|
13384
|
+
const _el$44 = _tmpl$212(); _el$44.firstChild;
|
|
13384
13385
|
_el$44.value = key;
|
|
13385
13386
|
insert(_el$44, key, null);
|
|
13386
13387
|
return _el$44;
|
|
@@ -13402,7 +13403,7 @@ var init_Devtools = __esm({
|
|
|
13402
13403
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
13403
13404
|
},
|
|
13404
13405
|
get children() {
|
|
13405
|
-
return [_tmpl$
|
|
13406
|
+
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
13406
13407
|
}
|
|
13407
13408
|
}), null);
|
|
13408
13409
|
insert(_el$22, createComponent(Show, {
|
|
@@ -13410,7 +13411,7 @@ var init_Devtools = __esm({
|
|
|
13410
13411
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
13411
13412
|
},
|
|
13412
13413
|
get children() {
|
|
13413
|
-
return [_tmpl$
|
|
13414
|
+
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
13414
13415
|
}
|
|
13415
13416
|
}), null);
|
|
13416
13417
|
_el$26.$$click = () => {
|
|
@@ -13453,7 +13454,7 @@ var init_Devtools = __esm({
|
|
|
13453
13454
|
},
|
|
13454
13455
|
get children() {
|
|
13455
13456
|
return [(() => {
|
|
13456
|
-
const _el$28 = _tmpl$
|
|
13457
|
+
const _el$28 = _tmpl$83();
|
|
13457
13458
|
createRenderEffect(() => className(_el$28, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
13458
13459
|
return _el$28;
|
|
13459
13460
|
})(), createComponent(index$f.Sub, {
|
|
@@ -13466,7 +13467,7 @@ var init_Devtools = __esm({
|
|
|
13466
13467
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13467
13468
|
},
|
|
13468
13469
|
get children() {
|
|
13469
|
-
return [_tmpl$
|
|
13470
|
+
return [_tmpl$93(), createComponent(ChevronDown, {})];
|
|
13470
13471
|
}
|
|
13471
13472
|
}), createComponent(index$f.Portal, {
|
|
13472
13473
|
ref: (el) => setComputedVariables(el),
|
|
@@ -13485,7 +13486,7 @@ var init_Devtools = __esm({
|
|
|
13485
13486
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13486
13487
|
},
|
|
13487
13488
|
get children() {
|
|
13488
|
-
return [_tmpl$
|
|
13489
|
+
return [_tmpl$103(), createComponent(ArrowUp, {})];
|
|
13489
13490
|
}
|
|
13490
13491
|
}), createComponent(index$f.Item, {
|
|
13491
13492
|
onSelect: () => {
|
|
@@ -13496,7 +13497,7 @@ var init_Devtools = __esm({
|
|
|
13496
13497
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13497
13498
|
},
|
|
13498
13499
|
get children() {
|
|
13499
|
-
return [_tmpl$
|
|
13500
|
+
return [_tmpl$113(), createComponent(ArrowDown, {})];
|
|
13500
13501
|
}
|
|
13501
13502
|
}), createComponent(index$f.Item, {
|
|
13502
13503
|
onSelect: () => {
|
|
@@ -13507,7 +13508,7 @@ var init_Devtools = __esm({
|
|
|
13507
13508
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13508
13509
|
},
|
|
13509
13510
|
get children() {
|
|
13510
|
-
return [_tmpl$
|
|
13511
|
+
return [_tmpl$122(), createComponent(ArrowLeft, {})];
|
|
13511
13512
|
}
|
|
13512
13513
|
}), createComponent(index$f.Item, {
|
|
13513
13514
|
onSelect: () => {
|
|
@@ -13518,7 +13519,7 @@ var init_Devtools = __esm({
|
|
|
13518
13519
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
13519
13520
|
},
|
|
13520
13521
|
get children() {
|
|
13521
|
-
return [_tmpl$
|
|
13522
|
+
return [_tmpl$132(), createComponent(ArrowRight, {})];
|
|
13522
13523
|
}
|
|
13523
13524
|
})];
|
|
13524
13525
|
}
|
|
@@ -13536,7 +13537,7 @@ var init_Devtools = __esm({
|
|
|
13536
13537
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13537
13538
|
},
|
|
13538
13539
|
get children() {
|
|
13539
|
-
return [_tmpl$
|
|
13540
|
+
return [_tmpl$142(), createComponent(ChevronDown, {})];
|
|
13540
13541
|
}
|
|
13541
13542
|
}), createComponent(index$f.Portal, {
|
|
13542
13543
|
ref: (el) => setComputedVariables(el),
|
|
@@ -13555,7 +13556,7 @@ var init_Devtools = __esm({
|
|
|
13555
13556
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13556
13557
|
},
|
|
13557
13558
|
get children() {
|
|
13558
|
-
return [_tmpl$
|
|
13559
|
+
return [_tmpl$152(), createComponent(Sun, {})];
|
|
13559
13560
|
}
|
|
13560
13561
|
}), createComponent(index$f.Item, {
|
|
13561
13562
|
onSelect: () => {
|
|
@@ -13566,7 +13567,7 @@ var init_Devtools = __esm({
|
|
|
13566
13567
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13567
13568
|
},
|
|
13568
13569
|
get children() {
|
|
13569
|
-
return [_tmpl$
|
|
13570
|
+
return [_tmpl$162(), createComponent(Moon, {})];
|
|
13570
13571
|
}
|
|
13571
13572
|
}), createComponent(index$f.Item, {
|
|
13572
13573
|
onSelect: () => {
|
|
@@ -13577,7 +13578,7 @@ var init_Devtools = __esm({
|
|
|
13577
13578
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13578
13579
|
},
|
|
13579
13580
|
get children() {
|
|
13580
|
-
return [_tmpl$
|
|
13581
|
+
return [_tmpl$172(), createComponent(Monitor, {})];
|
|
13581
13582
|
}
|
|
13582
13583
|
})];
|
|
13583
13584
|
}
|
|
@@ -13597,7 +13598,7 @@ var init_Devtools = __esm({
|
|
|
13597
13598
|
return selectedView() === "queries";
|
|
13598
13599
|
},
|
|
13599
13600
|
get children() {
|
|
13600
|
-
const _el$38 = _tmpl$
|
|
13601
|
+
const _el$38 = _tmpl$182(), _el$39 = _el$38.firstChild;
|
|
13601
13602
|
insert(_el$39, createComponent(Key, {
|
|
13602
13603
|
by: (q) => q.queryHash,
|
|
13603
13604
|
get each() {
|
|
@@ -13618,7 +13619,7 @@ var init_Devtools = __esm({
|
|
|
13618
13619
|
return selectedView() === "mutations";
|
|
13619
13620
|
},
|
|
13620
13621
|
get children() {
|
|
13621
|
-
const _el$40 = _tmpl$
|
|
13622
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
13622
13623
|
insert(_el$41, createComponent(Key, {
|
|
13623
13624
|
by: (m) => m.mutationId,
|
|
13624
13625
|
get each() {
|
|
@@ -13745,7 +13746,7 @@ var init_Devtools = __esm({
|
|
|
13745
13746
|
return queryState();
|
|
13746
13747
|
},
|
|
13747
13748
|
get children() {
|
|
13748
|
-
const _el$46 = _tmpl$
|
|
13749
|
+
const _el$46 = _tmpl$232(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
|
|
13749
13750
|
_el$46.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13750
13751
|
insert(_el$47, observers);
|
|
13751
13752
|
insert(_el$48, () => props.query.queryHash);
|
|
@@ -13754,7 +13755,7 @@ var init_Devtools = __esm({
|
|
|
13754
13755
|
return isDisabled();
|
|
13755
13756
|
},
|
|
13756
13757
|
get children() {
|
|
13757
|
-
return _tmpl$
|
|
13758
|
+
return _tmpl$222();
|
|
13758
13759
|
}
|
|
13759
13760
|
}), null);
|
|
13760
13761
|
createRenderEffect((_p$) => {
|
|
@@ -13822,7 +13823,7 @@ var init_Devtools = __esm({
|
|
|
13822
13823
|
return mutationState();
|
|
13823
13824
|
},
|
|
13824
13825
|
get children() {
|
|
13825
|
-
const _el$50 = _tmpl$
|
|
13826
|
+
const _el$50 = _tmpl$232(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
|
|
13826
13827
|
_el$50.$$click = () => {
|
|
13827
13828
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
13828
13829
|
};
|
|
@@ -14013,7 +14014,7 @@ var init_Devtools = __esm({
|
|
|
14013
14014
|
return true;
|
|
14014
14015
|
});
|
|
14015
14016
|
return (() => {
|
|
14016
|
-
const _el$55 = _tmpl$
|
|
14017
|
+
const _el$55 = _tmpl$26(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
|
|
14017
14018
|
const _ref$4 = tagRef;
|
|
14018
14019
|
typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
|
|
14019
14020
|
_el$55.addEventListener("mouseleave", () => {
|
|
@@ -14043,7 +14044,7 @@ var init_Devtools = __esm({
|
|
|
14043
14044
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14044
14045
|
},
|
|
14045
14046
|
get children() {
|
|
14046
|
-
const _el$56 = _tmpl$
|
|
14047
|
+
const _el$56 = _tmpl$242();
|
|
14047
14048
|
insert(_el$56, () => props.label);
|
|
14048
14049
|
createRenderEffect(() => className(_el$56, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
14049
14050
|
return _el$56;
|
|
@@ -14054,7 +14055,7 @@ var init_Devtools = __esm({
|
|
|
14054
14055
|
return showLabel();
|
|
14055
14056
|
},
|
|
14056
14057
|
get children() {
|
|
14057
|
-
const _el$58 = _tmpl$
|
|
14058
|
+
const _el$58 = _tmpl$252();
|
|
14058
14059
|
insert(_el$58, () => props.label);
|
|
14059
14060
|
createRenderEffect(() => className(_el$58, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
14060
14061
|
return _el$58;
|
|
@@ -14164,7 +14165,7 @@ var init_Devtools = __esm({
|
|
|
14164
14165
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
14165
14166
|
},
|
|
14166
14167
|
get children() {
|
|
14167
|
-
const _el$60 = _tmpl$
|
|
14168
|
+
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;
|
|
14168
14169
|
insert(_el$65, () => displayValue(activeQuery().queryKey, true));
|
|
14169
14170
|
insert(_el$66, statusLabel);
|
|
14170
14171
|
insert(_el$69, observerCount);
|
|
@@ -14209,7 +14210,7 @@ var init_Devtools = __esm({
|
|
|
14209
14210
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14210
14211
|
},
|
|
14211
14212
|
get children() {
|
|
14212
|
-
const _el$86 = _tmpl$
|
|
14213
|
+
const _el$86 = _tmpl$27(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
|
|
14213
14214
|
_el$86.$$click = () => {
|
|
14214
14215
|
if (!activeQuery().state.error) {
|
|
14215
14216
|
triggerError();
|
|
@@ -14241,7 +14242,7 @@ var init_Devtools = __esm({
|
|
|
14241
14242
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14242
14243
|
},
|
|
14243
14244
|
get children() {
|
|
14244
|
-
const _el$89 = _tmpl$
|
|
14245
|
+
const _el$89 = _tmpl$28(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
|
|
14245
14246
|
_el$92.addEventListener("change", (e2) => {
|
|
14246
14247
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14247
14248
|
triggerError(errorType);
|
|
@@ -14251,7 +14252,7 @@ var init_Devtools = __esm({
|
|
|
14251
14252
|
return errorTypes();
|
|
14252
14253
|
},
|
|
14253
14254
|
children: (errorType) => (() => {
|
|
14254
|
-
const _el$98 = _tmpl$
|
|
14255
|
+
const _el$98 = _tmpl$30();
|
|
14255
14256
|
insert(_el$98, () => errorType.name);
|
|
14256
14257
|
createRenderEffect(() => _el$98.value = errorType.name);
|
|
14257
14258
|
return _el$98;
|
|
@@ -14418,7 +14419,7 @@ var init_Devtools = __esm({
|
|
|
14418
14419
|
return activeMutation();
|
|
14419
14420
|
},
|
|
14420
14421
|
get children() {
|
|
14421
|
-
const _el$99 = _tmpl$
|
|
14422
|
+
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;
|
|
14422
14423
|
insert(_el$104, createComponent(Show, {
|
|
14423
14424
|
get when() {
|
|
14424
14425
|
return activeMutation().options.mutationKey;
|
package/build/dev.js
CHANGED
|
@@ -66,7 +66,7 @@ var TanstackQueryDevtools = class {
|
|
|
66
66
|
if (this.#Component) {
|
|
67
67
|
Devtools = this.#Component;
|
|
68
68
|
} else {
|
|
69
|
-
Devtools = lazy(() => import('./Devtools/
|
|
69
|
+
Devtools = lazy(() => import('./Devtools/PZY6I5TR.js'));
|
|
70
70
|
this.#Component = Devtools;
|
|
71
71
|
}
|
|
72
72
|
setupStyleSheet(this.#styleNonce);
|
package/build/dev.jsx
CHANGED
|
@@ -70,7 +70,7 @@ var TanstackQueryDevtools = class {
|
|
|
70
70
|
if (this.#Component) {
|
|
71
71
|
Devtools = this.#Component;
|
|
72
72
|
} else {
|
|
73
|
-
Devtools = lazy(() => import("./Devtools/
|
|
73
|
+
Devtools = lazy(() => import("./Devtools/Z62CHOQ7.jsx"));
|
|
74
74
|
this.#Component = Devtools;
|
|
75
75
|
}
|
|
76
76
|
setupStyleSheet(this.#styleNonce);
|