@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/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(`<span>Asc`);
12911
- _tmpl$63 = /* @__PURE__ */ template(`<span>Desc`);
12912
- _tmpl$73 = /* @__PURE__ */ template(`<div>Settings`);
12913
- _tmpl$83 = /* @__PURE__ */ template(`<span>Position`);
12914
- _tmpl$93 = /* @__PURE__ */ template(`<span>Top`);
12915
- _tmpl$103 = /* @__PURE__ */ template(`<span>Bottom`);
12916
- _tmpl$113 = /* @__PURE__ */ template(`<span>Left`);
12917
- _tmpl$122 = /* @__PURE__ */ template(`<span>Right`);
12918
- _tmpl$132 = /* @__PURE__ */ template(`<span>Theme`);
12919
- _tmpl$142 = /* @__PURE__ */ template(`<span>Light`);
12920
- _tmpl$152 = /* @__PURE__ */ template(`<span>Dark`);
12921
- _tmpl$162 = /* @__PURE__ */ template(`<span>System`);
12922
- _tmpl$172 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
12923
- _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
12924
- _tmpl$192 = /* @__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></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>`);
12925
- _tmpl$202 = /* @__PURE__ */ template(`<option>Sort by `);
12926
- _tmpl$212 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
12927
- _tmpl$222 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
12928
- _tmpl$232 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
12929
- _tmpl$242 = /* @__PURE__ */ template(`<span>`);
12930
- _tmpl$252 = /* @__PURE__ */ template(`<button><span></span><span>`);
12931
- _tmpl$26 = /* @__PURE__ */ template(`<button><span></span> Error`);
12932
- _tmpl$27 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
12933
- _tmpl$28 = /* @__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">`);
12934
- _tmpl$29 = /* @__PURE__ */ template(`<option>`);
12935
- _tmpl$30 = /* @__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">`);
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;
@@ -13070,11 +13071,13 @@ var init_Devtools = __esm({
13070
13071
  transition:
13071
13072
  opacity 0.3s,
13072
13073
  transform 0.3s;
13074
+ opacity: 1;
13073
13075
  }
13074
13076
 
13075
13077
  & .tsqd-button-transition-exit-to,
13076
13078
  & .tsqd-button-transition-enter {
13077
- transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
13079
+ transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
13080
+ opacity: 0;
13078
13081
  }
13079
13082
  `, "tsqd-transitions-container")));
13080
13083
  return _el$;
@@ -13277,7 +13280,7 @@ var init_Devtools = __esm({
13277
13280
  el.style.setProperty("--tsqd-font-size", variable);
13278
13281
  };
13279
13282
  return [(() => {
13280
- const _el$8 = _tmpl$192(), _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling, _el$14 = _el$13.firstChild, _el$15 = _el$9.nextSibling, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$17.firstChild, _el$19 = _el$17.nextSibling, _el$22 = _el$19.nextSibling, _el$25 = _el$16.nextSibling, _el$26 = _el$25.firstChild, _el$27 = _el$26.nextSibling;
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;
13281
13284
  const _ref$3 = containerRef;
13282
13285
  typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
13283
13286
  _el$11.$$click = () => props.setLocalStore("open", "false");
@@ -13359,7 +13362,7 @@ var init_Devtools = __esm({
13359
13362
  props.setLocalStore("sort", e2.currentTarget.value);
13360
13363
  });
13361
13364
  insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
13362
- const _el$42 = _tmpl$202(); _el$42.firstChild;
13365
+ const _el$42 = _tmpl$212(); _el$42.firstChild;
13363
13366
  _el$42.value = key;
13364
13367
  insert(_el$42, key, null);
13365
13368
  return _el$42;
@@ -13373,12 +13376,12 @@ var init_Devtools = __esm({
13373
13376
  return selectedView() === "mutations";
13374
13377
  },
13375
13378
  get children() {
13376
- const _el$21 = _tmpl$43();
13379
+ const _el$21 = _tmpl$53();
13377
13380
  _el$21.addEventListener("change", (e2) => {
13378
13381
  props.setLocalStore("mutationSort", e2.currentTarget.value);
13379
13382
  });
13380
13383
  insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
13381
- const _el$44 = _tmpl$202(); _el$44.firstChild;
13384
+ const _el$44 = _tmpl$212(); _el$44.firstChild;
13382
13385
  _el$44.value = key;
13383
13386
  insert(_el$44, key, null);
13384
13387
  return _el$44;
@@ -13400,7 +13403,7 @@ var init_Devtools = __esm({
13400
13403
  return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
13401
13404
  },
13402
13405
  get children() {
13403
- return [_tmpl$53(), createComponent(ArrowUp, {})];
13406
+ return [_tmpl$63(), createComponent(ArrowUp, {})];
13404
13407
  }
13405
13408
  }), null);
13406
13409
  insert(_el$22, createComponent(Show, {
@@ -13408,7 +13411,7 @@ var init_Devtools = __esm({
13408
13411
  return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
13409
13412
  },
13410
13413
  get children() {
13411
- return [_tmpl$63(), createComponent(ArrowDown, {})];
13414
+ return [_tmpl$73(), createComponent(ArrowDown, {})];
13412
13415
  }
13413
13416
  }), null);
13414
13417
  _el$26.$$click = () => {
@@ -13451,7 +13454,7 @@ var init_Devtools = __esm({
13451
13454
  },
13452
13455
  get children() {
13453
13456
  return [(() => {
13454
- const _el$28 = _tmpl$73();
13457
+ const _el$28 = _tmpl$83();
13455
13458
  createRenderEffect(() => className(_el$28, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
13456
13459
  return _el$28;
13457
13460
  })(), createComponent(index$f.Sub, {
@@ -13464,7 +13467,7 @@ var init_Devtools = __esm({
13464
13467
  return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
13465
13468
  },
13466
13469
  get children() {
13467
- return [_tmpl$83(), createComponent(ChevronDown, {})];
13470
+ return [_tmpl$93(), createComponent(ChevronDown, {})];
13468
13471
  }
13469
13472
  }), createComponent(index$f.Portal, {
13470
13473
  ref: (el) => setComputedVariables(el),
@@ -13483,7 +13486,7 @@ var init_Devtools = __esm({
13483
13486
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
13484
13487
  },
13485
13488
  get children() {
13486
- return [_tmpl$93(), createComponent(ArrowUp, {})];
13489
+ return [_tmpl$103(), createComponent(ArrowUp, {})];
13487
13490
  }
13488
13491
  }), createComponent(index$f.Item, {
13489
13492
  onSelect: () => {
@@ -13494,7 +13497,7 @@ var init_Devtools = __esm({
13494
13497
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
13495
13498
  },
13496
13499
  get children() {
13497
- return [_tmpl$103(), createComponent(ArrowDown, {})];
13500
+ return [_tmpl$113(), createComponent(ArrowDown, {})];
13498
13501
  }
13499
13502
  }), createComponent(index$f.Item, {
13500
13503
  onSelect: () => {
@@ -13505,7 +13508,7 @@ var init_Devtools = __esm({
13505
13508
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
13506
13509
  },
13507
13510
  get children() {
13508
- return [_tmpl$113(), createComponent(ArrowLeft, {})];
13511
+ return [_tmpl$122(), createComponent(ArrowLeft, {})];
13509
13512
  }
13510
13513
  }), createComponent(index$f.Item, {
13511
13514
  onSelect: () => {
@@ -13516,7 +13519,7 @@ var init_Devtools = __esm({
13516
13519
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
13517
13520
  },
13518
13521
  get children() {
13519
- return [_tmpl$122(), createComponent(ArrowRight, {})];
13522
+ return [_tmpl$132(), createComponent(ArrowRight, {})];
13520
13523
  }
13521
13524
  })];
13522
13525
  }
@@ -13534,7 +13537,7 @@ var init_Devtools = __esm({
13534
13537
  return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
13535
13538
  },
13536
13539
  get children() {
13537
- return [_tmpl$132(), createComponent(ChevronDown, {})];
13540
+ return [_tmpl$142(), createComponent(ChevronDown, {})];
13538
13541
  }
13539
13542
  }), createComponent(index$f.Portal, {
13540
13543
  ref: (el) => setComputedVariables(el),
@@ -13553,7 +13556,7 @@ var init_Devtools = __esm({
13553
13556
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
13554
13557
  },
13555
13558
  get children() {
13556
- return [_tmpl$142(), createComponent(Sun, {})];
13559
+ return [_tmpl$152(), createComponent(Sun, {})];
13557
13560
  }
13558
13561
  }), createComponent(index$f.Item, {
13559
13562
  onSelect: () => {
@@ -13564,7 +13567,7 @@ var init_Devtools = __esm({
13564
13567
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
13565
13568
  },
13566
13569
  get children() {
13567
- return [_tmpl$152(), createComponent(Moon, {})];
13570
+ return [_tmpl$162(), createComponent(Moon, {})];
13568
13571
  }
13569
13572
  }), createComponent(index$f.Item, {
13570
13573
  onSelect: () => {
@@ -13575,7 +13578,7 @@ var init_Devtools = __esm({
13575
13578
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
13576
13579
  },
13577
13580
  get children() {
13578
- return [_tmpl$162(), createComponent(Monitor, {})];
13581
+ return [_tmpl$172(), createComponent(Monitor, {})];
13579
13582
  }
13580
13583
  })];
13581
13584
  }
@@ -13595,7 +13598,7 @@ var init_Devtools = __esm({
13595
13598
  return selectedView() === "queries";
13596
13599
  },
13597
13600
  get children() {
13598
- const _el$38 = _tmpl$172(), _el$39 = _el$38.firstChild;
13601
+ const _el$38 = _tmpl$182(), _el$39 = _el$38.firstChild;
13599
13602
  insert(_el$39, createComponent(Key, {
13600
13603
  by: (q) => q.queryHash,
13601
13604
  get each() {
@@ -13616,7 +13619,7 @@ var init_Devtools = __esm({
13616
13619
  return selectedView() === "mutations";
13617
13620
  },
13618
13621
  get children() {
13619
- const _el$40 = _tmpl$182(), _el$41 = _el$40.firstChild;
13622
+ const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
13620
13623
  insert(_el$41, createComponent(Key, {
13621
13624
  by: (m) => m.mutationId,
13622
13625
  get each() {
@@ -13743,7 +13746,7 @@ var init_Devtools = __esm({
13743
13746
  return queryState();
13744
13747
  },
13745
13748
  get children() {
13746
- const _el$46 = _tmpl$222(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
13749
+ const _el$46 = _tmpl$232(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
13747
13750
  _el$46.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
13748
13751
  insert(_el$47, observers);
13749
13752
  insert(_el$48, () => props.query.queryHash);
@@ -13752,7 +13755,7 @@ var init_Devtools = __esm({
13752
13755
  return isDisabled();
13753
13756
  },
13754
13757
  get children() {
13755
- return _tmpl$212();
13758
+ return _tmpl$222();
13756
13759
  }
13757
13760
  }), null);
13758
13761
  createRenderEffect((_p$) => {
@@ -13820,7 +13823,7 @@ var init_Devtools = __esm({
13820
13823
  return mutationState();
13821
13824
  },
13822
13825
  get children() {
13823
- const _el$50 = _tmpl$222(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
13826
+ const _el$50 = _tmpl$232(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
13824
13827
  _el$50.$$click = () => {
13825
13828
  setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
13826
13829
  };
@@ -14011,7 +14014,7 @@ var init_Devtools = __esm({
14011
14014
  return true;
14012
14015
  });
14013
14016
  return (() => {
14014
- const _el$55 = _tmpl$252(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
14017
+ const _el$55 = _tmpl$26(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
14015
14018
  const _ref$4 = tagRef;
14016
14019
  typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
14017
14020
  _el$55.addEventListener("mouseleave", () => {
@@ -14041,7 +14044,7 @@ var init_Devtools = __esm({
14041
14044
  return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
14042
14045
  },
14043
14046
  get children() {
14044
- const _el$56 = _tmpl$232();
14047
+ const _el$56 = _tmpl$242();
14045
14048
  insert(_el$56, () => props.label);
14046
14049
  createRenderEffect(() => className(_el$56, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
14047
14050
  return _el$56;
@@ -14052,7 +14055,7 @@ var init_Devtools = __esm({
14052
14055
  return showLabel();
14053
14056
  },
14054
14057
  get children() {
14055
- const _el$58 = _tmpl$242();
14058
+ const _el$58 = _tmpl$252();
14056
14059
  insert(_el$58, () => props.label);
14057
14060
  createRenderEffect(() => className(_el$58, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
14058
14061
  return _el$58;
@@ -14162,7 +14165,7 @@ var init_Devtools = __esm({
14162
14165
  return createMemo(() => !!activeQuery())() && activeQueryState();
14163
14166
  },
14164
14167
  get children() {
14165
- const _el$60 = _tmpl$28(), _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
+ 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;
14166
14169
  insert(_el$65, () => displayValue(activeQuery().queryKey, true));
14167
14170
  insert(_el$66, statusLabel);
14168
14171
  insert(_el$69, observerCount);
@@ -14207,7 +14210,7 @@ var init_Devtools = __esm({
14207
14210
  return errorTypes().length === 0 || queryStatus() === "error";
14208
14211
  },
14209
14212
  get children() {
14210
- const _el$86 = _tmpl$26(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
14213
+ const _el$86 = _tmpl$27(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
14211
14214
  _el$86.$$click = () => {
14212
14215
  if (!activeQuery().state.error) {
14213
14216
  triggerError();
@@ -14239,7 +14242,7 @@ var init_Devtools = __esm({
14239
14242
  return !(errorTypes().length === 0 || queryStatus() === "error");
14240
14243
  },
14241
14244
  get children() {
14242
- const _el$89 = _tmpl$27(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
14245
+ const _el$89 = _tmpl$28(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
14243
14246
  _el$92.addEventListener("change", (e2) => {
14244
14247
  const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
14245
14248
  triggerError(errorType);
@@ -14249,7 +14252,7 @@ var init_Devtools = __esm({
14249
14252
  return errorTypes();
14250
14253
  },
14251
14254
  children: (errorType) => (() => {
14252
- const _el$98 = _tmpl$29();
14255
+ const _el$98 = _tmpl$30();
14253
14256
  insert(_el$98, () => errorType.name);
14254
14257
  createRenderEffect(() => _el$98.value = errorType.name);
14255
14258
  return _el$98;
@@ -14416,7 +14419,7 @@ var init_Devtools = __esm({
14416
14419
  return activeMutation();
14417
14420
  },
14418
14421
  get children() {
14419
- const _el$99 = _tmpl$30(), _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
+ 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;
14420
14423
  insert(_el$104, createComponent(Show, {
14421
14424
  get when() {
14422
14425
  return activeMutation().options.mutationKey;
@@ -14685,6 +14688,9 @@ var init_Devtools = __esm({
14685
14688
  "devtoolsBtn-position-top-right": u`
14686
14689
  top: 12px;
14687
14690
  right: 12px;
14691
+ `,
14692
+ "devtoolsBtn-position-relative": u`
14693
+ position: relative;
14688
14694
  `,
14689
14695
  "panel-position-top": u`
14690
14696
  top: 0;
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/ZIZ6ACOL.js'));
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/2TZ2XDYA.jsx"));
73
+ Devtools = lazy(() => import("./Devtools/Z62CHOQ7.jsx"));
74
74
  this.#Component = Devtools;
75
75
  }
76
76
  setupStyleSheet(this.#styleNonce);