@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/dev.cjs CHANGED
@@ -12743,7 +12743,8 @@ var init_Explorer = __esm({
12743
12743
  entry: u`
12744
12744
  & * {
12745
12745
  font-size: ${font.size.xs};
12746
- font-family: 'Menlo', 'Fira Code', monospace;
12746
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
12747
+ 'Liberation Mono', 'Courier New', monospace;
12747
12748
  }
12748
12749
  position: relative;
12749
12750
  outline: none;
@@ -12875,7 +12876,7 @@ var Devtools_exports = {};
12875
12876
  __export(Devtools_exports, {
12876
12877
  default: () => Devtools_default
12877
12878
  });
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;
12879
+ 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
12880
  var init_Devtools = __esm({
12880
12881
  "src/Devtools.tsx"() {
12881
12882
  init_web();
@@ -12903,36 +12904,37 @@ var init_Devtools = __esm({
12903
12904
  init_icons();
12904
12905
  init_Explorer();
12905
12906
  init_Context();
12906
- _tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools">`);
12907
+ _tmpl$24 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>`);
12907
12908
  _tmpl$25 = /* @__PURE__ */ template(`<div>`);
12908
12909
  _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">`);
12910
+ _tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
12911
+ _tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
12912
+ _tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
12913
+ _tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
12914
+ _tmpl$83 = /* @__PURE__ */ template(`<div>Settings`);
12915
+ _tmpl$93 = /* @__PURE__ */ template(`<span>Position`);
12916
+ _tmpl$103 = /* @__PURE__ */ template(`<span>Top`);
12917
+ _tmpl$113 = /* @__PURE__ */ template(`<span>Bottom`);
12918
+ _tmpl$122 = /* @__PURE__ */ template(`<span>Left`);
12919
+ _tmpl$132 = /* @__PURE__ */ template(`<span>Right`);
12920
+ _tmpl$142 = /* @__PURE__ */ template(`<span>Theme`);
12921
+ _tmpl$152 = /* @__PURE__ */ template(`<span>Light`);
12922
+ _tmpl$162 = /* @__PURE__ */ template(`<span>Dark`);
12923
+ _tmpl$172 = /* @__PURE__ */ template(`<span>System`);
12924
+ _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
12925
+ _tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
12926
+ _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>`);
12927
+ _tmpl$212 = /* @__PURE__ */ template(`<option>Sort by `);
12928
+ _tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
12929
+ _tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
12930
+ _tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
12931
+ _tmpl$252 = /* @__PURE__ */ template(`<span>`);
12932
+ _tmpl$26 = /* @__PURE__ */ template(`<button><span></span><span>`);
12933
+ _tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
12934
+ _tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
12935
+ _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">`);
12936
+ _tmpl$30 = /* @__PURE__ */ template(`<option>`);
12937
+ _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
12938
  firstBreakpoint = 1024;
12937
12939
  secondBreakpoint = 796;
12938
12940
  thirdBreakpoint = 700;
@@ -13046,7 +13048,7 @@ var init_Devtools = __esm({
13046
13048
  insert(_el$3, createComponent(TanstackLogo, {}));
13047
13049
  _el$4.$$click = () => props.setLocalStore("open", "true");
13048
13050
  insert(_el$4, createComponent(TanstackLogo, {}));
13049
- createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`])));
13051
+ createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`], "tsqd-open-btn-container")));
13050
13052
  return _el$2;
13051
13053
  }
13052
13054
  });
@@ -13279,7 +13281,7 @@ var init_Devtools = __esm({
13279
13281
  el.style.setProperty("--tsqd-font-size", variable);
13280
13282
  };
13281
13283
  return [(() => {
13282
- 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;
13284
+ 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
13285
  const _ref$3 = containerRef;
13284
13286
  typeof _ref$3 === "function" ? use(_ref$3, _el$8) : containerRef = _el$8;
13285
13287
  _el$11.$$click = () => props.setLocalStore("open", "false");
@@ -13361,7 +13363,7 @@ var init_Devtools = __esm({
13361
13363
  props.setLocalStore("sort", e2.currentTarget.value);
13362
13364
  });
13363
13365
  insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
13364
- const _el$42 = _tmpl$202(); _el$42.firstChild;
13366
+ const _el$42 = _tmpl$212(); _el$42.firstChild;
13365
13367
  _el$42.value = key;
13366
13368
  insert(_el$42, key, null);
13367
13369
  return _el$42;
@@ -13375,12 +13377,12 @@ var init_Devtools = __esm({
13375
13377
  return selectedView() === "mutations";
13376
13378
  },
13377
13379
  get children() {
13378
- const _el$21 = _tmpl$43();
13380
+ const _el$21 = _tmpl$53();
13379
13381
  _el$21.addEventListener("change", (e2) => {
13380
13382
  props.setLocalStore("mutationSort", e2.currentTarget.value);
13381
13383
  });
13382
13384
  insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
13383
- const _el$44 = _tmpl$202(); _el$44.firstChild;
13385
+ const _el$44 = _tmpl$212(); _el$44.firstChild;
13384
13386
  _el$44.value = key;
13385
13387
  insert(_el$44, key, null);
13386
13388
  return _el$44;
@@ -13402,7 +13404,7 @@ var init_Devtools = __esm({
13402
13404
  return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
13403
13405
  },
13404
13406
  get children() {
13405
- return [_tmpl$53(), createComponent(ArrowUp, {})];
13407
+ return [_tmpl$63(), createComponent(ArrowUp, {})];
13406
13408
  }
13407
13409
  }), null);
13408
13410
  insert(_el$22, createComponent(Show, {
@@ -13410,7 +13412,7 @@ var init_Devtools = __esm({
13410
13412
  return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
13411
13413
  },
13412
13414
  get children() {
13413
- return [_tmpl$63(), createComponent(ArrowDown, {})];
13415
+ return [_tmpl$73(), createComponent(ArrowDown, {})];
13414
13416
  }
13415
13417
  }), null);
13416
13418
  _el$26.$$click = () => {
@@ -13453,7 +13455,7 @@ var init_Devtools = __esm({
13453
13455
  },
13454
13456
  get children() {
13455
13457
  return [(() => {
13456
- const _el$28 = _tmpl$73();
13458
+ const _el$28 = _tmpl$83();
13457
13459
  createRenderEffect(() => className(_el$28, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
13458
13460
  return _el$28;
13459
13461
  })(), createComponent(index$f.Sub, {
@@ -13466,7 +13468,7 @@ var init_Devtools = __esm({
13466
13468
  return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
13467
13469
  },
13468
13470
  get children() {
13469
- return [_tmpl$83(), createComponent(ChevronDown, {})];
13471
+ return [_tmpl$93(), createComponent(ChevronDown, {})];
13470
13472
  }
13471
13473
  }), createComponent(index$f.Portal, {
13472
13474
  ref: (el) => setComputedVariables(el),
@@ -13485,7 +13487,7 @@ var init_Devtools = __esm({
13485
13487
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
13486
13488
  },
13487
13489
  get children() {
13488
- return [_tmpl$93(), createComponent(ArrowUp, {})];
13490
+ return [_tmpl$103(), createComponent(ArrowUp, {})];
13489
13491
  }
13490
13492
  }), createComponent(index$f.Item, {
13491
13493
  onSelect: () => {
@@ -13496,7 +13498,7 @@ var init_Devtools = __esm({
13496
13498
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
13497
13499
  },
13498
13500
  get children() {
13499
- return [_tmpl$103(), createComponent(ArrowDown, {})];
13501
+ return [_tmpl$113(), createComponent(ArrowDown, {})];
13500
13502
  }
13501
13503
  }), createComponent(index$f.Item, {
13502
13504
  onSelect: () => {
@@ -13507,7 +13509,7 @@ var init_Devtools = __esm({
13507
13509
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
13508
13510
  },
13509
13511
  get children() {
13510
- return [_tmpl$113(), createComponent(ArrowLeft, {})];
13512
+ return [_tmpl$122(), createComponent(ArrowLeft, {})];
13511
13513
  }
13512
13514
  }), createComponent(index$f.Item, {
13513
13515
  onSelect: () => {
@@ -13518,7 +13520,7 @@ var init_Devtools = __esm({
13518
13520
  return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
13519
13521
  },
13520
13522
  get children() {
13521
- return [_tmpl$122(), createComponent(ArrowRight, {})];
13523
+ return [_tmpl$132(), createComponent(ArrowRight, {})];
13522
13524
  }
13523
13525
  })];
13524
13526
  }
@@ -13536,7 +13538,7 @@ var init_Devtools = __esm({
13536
13538
  return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
13537
13539
  },
13538
13540
  get children() {
13539
- return [_tmpl$132(), createComponent(ChevronDown, {})];
13541
+ return [_tmpl$142(), createComponent(ChevronDown, {})];
13540
13542
  }
13541
13543
  }), createComponent(index$f.Portal, {
13542
13544
  ref: (el) => setComputedVariables(el),
@@ -13555,7 +13557,7 @@ var init_Devtools = __esm({
13555
13557
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
13556
13558
  },
13557
13559
  get children() {
13558
- return [_tmpl$142(), createComponent(Sun, {})];
13560
+ return [_tmpl$152(), createComponent(Sun, {})];
13559
13561
  }
13560
13562
  }), createComponent(index$f.Item, {
13561
13563
  onSelect: () => {
@@ -13566,7 +13568,7 @@ var init_Devtools = __esm({
13566
13568
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
13567
13569
  },
13568
13570
  get children() {
13569
- return [_tmpl$152(), createComponent(Moon, {})];
13571
+ return [_tmpl$162(), createComponent(Moon, {})];
13570
13572
  }
13571
13573
  }), createComponent(index$f.Item, {
13572
13574
  onSelect: () => {
@@ -13577,7 +13579,7 @@ var init_Devtools = __esm({
13577
13579
  return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
13578
13580
  },
13579
13581
  get children() {
13580
- return [_tmpl$162(), createComponent(Monitor, {})];
13582
+ return [_tmpl$172(), createComponent(Monitor, {})];
13581
13583
  }
13582
13584
  })];
13583
13585
  }
@@ -13597,7 +13599,7 @@ var init_Devtools = __esm({
13597
13599
  return selectedView() === "queries";
13598
13600
  },
13599
13601
  get children() {
13600
- const _el$38 = _tmpl$172(), _el$39 = _el$38.firstChild;
13602
+ const _el$38 = _tmpl$182(), _el$39 = _el$38.firstChild;
13601
13603
  insert(_el$39, createComponent(Key, {
13602
13604
  by: (q) => q.queryHash,
13603
13605
  get each() {
@@ -13618,7 +13620,7 @@ var init_Devtools = __esm({
13618
13620
  return selectedView() === "mutations";
13619
13621
  },
13620
13622
  get children() {
13621
- const _el$40 = _tmpl$182(), _el$41 = _el$40.firstChild;
13623
+ const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
13622
13624
  insert(_el$41, createComponent(Key, {
13623
13625
  by: (m) => m.mutationId,
13624
13626
  get each() {
@@ -13745,7 +13747,7 @@ var init_Devtools = __esm({
13745
13747
  return queryState();
13746
13748
  },
13747
13749
  get children() {
13748
- const _el$46 = _tmpl$222(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
13750
+ const _el$46 = _tmpl$232(), _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling;
13749
13751
  _el$46.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
13750
13752
  insert(_el$47, observers);
13751
13753
  insert(_el$48, () => props.query.queryHash);
@@ -13754,7 +13756,7 @@ var init_Devtools = __esm({
13754
13756
  return isDisabled();
13755
13757
  },
13756
13758
  get children() {
13757
- return _tmpl$212();
13759
+ return _tmpl$222();
13758
13760
  }
13759
13761
  }), null);
13760
13762
  createRenderEffect((_p$) => {
@@ -13822,7 +13824,7 @@ var init_Devtools = __esm({
13822
13824
  return mutationState();
13823
13825
  },
13824
13826
  get children() {
13825
- const _el$50 = _tmpl$222(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
13827
+ const _el$50 = _tmpl$232(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
13826
13828
  _el$50.$$click = () => {
13827
13829
  setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
13828
13830
  };
@@ -14013,7 +14015,7 @@ var init_Devtools = __esm({
14013
14015
  return true;
14014
14016
  });
14015
14017
  return (() => {
14016
- const _el$55 = _tmpl$252(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
14018
+ const _el$55 = _tmpl$26(), _el$57 = _el$55.firstChild, _el$59 = _el$57.nextSibling;
14017
14019
  const _ref$4 = tagRef;
14018
14020
  typeof _ref$4 === "function" ? use(_ref$4, _el$55) : tagRef = _el$55;
14019
14021
  _el$55.addEventListener("mouseleave", () => {
@@ -14043,7 +14045,7 @@ var init_Devtools = __esm({
14043
14045
  return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
14044
14046
  },
14045
14047
  get children() {
14046
- const _el$56 = _tmpl$232();
14048
+ const _el$56 = _tmpl$242();
14047
14049
  insert(_el$56, () => props.label);
14048
14050
  createRenderEffect(() => className(_el$56, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
14049
14051
  return _el$56;
@@ -14054,7 +14056,7 @@ var init_Devtools = __esm({
14054
14056
  return showLabel();
14055
14057
  },
14056
14058
  get children() {
14057
- const _el$58 = _tmpl$242();
14059
+ const _el$58 = _tmpl$252();
14058
14060
  insert(_el$58, () => props.label);
14059
14061
  createRenderEffect(() => className(_el$58, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
14060
14062
  return _el$58;
@@ -14164,7 +14166,7 @@ var init_Devtools = __esm({
14164
14166
  return createMemo(() => !!activeQuery())() && activeQueryState();
14165
14167
  },
14166
14168
  get children() {
14167
- 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;
14169
+ 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
14170
  insert(_el$65, () => displayValue(activeQuery().queryKey, true));
14169
14171
  insert(_el$66, statusLabel);
14170
14172
  insert(_el$69, observerCount);
@@ -14209,7 +14211,7 @@ var init_Devtools = __esm({
14209
14211
  return errorTypes().length === 0 || queryStatus() === "error";
14210
14212
  },
14211
14213
  get children() {
14212
- const _el$86 = _tmpl$26(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
14214
+ const _el$86 = _tmpl$27(), _el$87 = _el$86.firstChild, _el$88 = _el$87.nextSibling;
14213
14215
  _el$86.$$click = () => {
14214
14216
  if (!activeQuery().state.error) {
14215
14217
  triggerError();
@@ -14241,7 +14243,7 @@ var init_Devtools = __esm({
14241
14243
  return !(errorTypes().length === 0 || queryStatus() === "error");
14242
14244
  },
14243
14245
  get children() {
14244
- const _el$89 = _tmpl$27(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
14246
+ const _el$89 = _tmpl$28(), _el$90 = _el$89.firstChild, _el$91 = _el$90.nextSibling, _el$92 = _el$91.nextSibling; _el$92.firstChild;
14245
14247
  _el$92.addEventListener("change", (e2) => {
14246
14248
  const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
14247
14249
  triggerError(errorType);
@@ -14251,7 +14253,7 @@ var init_Devtools = __esm({
14251
14253
  return errorTypes();
14252
14254
  },
14253
14255
  children: (errorType) => (() => {
14254
- const _el$98 = _tmpl$29();
14256
+ const _el$98 = _tmpl$30();
14255
14257
  insert(_el$98, () => errorType.name);
14256
14258
  createRenderEffect(() => _el$98.value = errorType.name);
14257
14259
  return _el$98;
@@ -14418,7 +14420,7 @@ var init_Devtools = __esm({
14418
14420
  return activeMutation();
14419
14421
  },
14420
14422
  get children() {
14421
- 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;
14423
+ 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
14424
  insert(_el$104, createComponent(Show, {
14423
14425
  get when() {
14424
14426
  return activeMutation().options.mutationKey;
@@ -14838,7 +14840,7 @@ var init_Devtools = __esm({
14838
14840
  display: flex;
14839
14841
  flex-direction: column;
14840
14842
  & * {
14841
- font-family: 'Inter', sans-serif;
14843
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
14842
14844
  }
14843
14845
  `,
14844
14846
  dragHandle: u`
@@ -15203,7 +15205,8 @@ var init_Devtools = __esm({
15203
15205
  min-height: ${tokens.size[6]};
15204
15206
  flex: 1;
15205
15207
  padding: ${tokens.size[1]} ${tokens.size[2]};
15206
- font-family: 'Menlo', 'Fira Code', monospace;
15208
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
15209
+ 'Liberation Mono', 'Courier New', monospace;
15207
15210
  border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
15208
15211
  text-align: left;
15209
15212
  text-overflow: clip;
@@ -15228,7 +15231,7 @@ var init_Devtools = __esm({
15228
15231
  flex: 1 1 700px;
15229
15232
  background-color: ${t2(colors.gray[50], colors.darkGray[700])};
15230
15233
  color: ${t2(colors.gray[700], colors.gray[300])};
15231
- font-family: 'Inter', sans-serif;
15234
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
15232
15235
  display: flex;
15233
15236
  flex-direction: column;
15234
15237
  overflow-y: auto;
@@ -15236,7 +15239,7 @@ var init_Devtools = __esm({
15236
15239
  text-align: left;
15237
15240
  `,
15238
15241
  detailsHeader: u`
15239
- font-family: 'Inter', sans-serif;
15242
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
15240
15243
  position: sticky;
15241
15244
  top: 0;
15242
15245
  z-index: 2;
@@ -15268,7 +15271,8 @@ var init_Devtools = __esm({
15268
15271
  }
15269
15272
 
15270
15273
  & code {
15271
- font-family: 'Menlo', 'Fira Code', monospace;
15274
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
15275
+ 'Liberation Mono', 'Courier New', monospace;
15272
15276
  margin: 0;
15273
15277
  font-size: ${font.size.xs};
15274
15278
  line-height: ${font.lineHeight.xs};
@@ -15293,7 +15297,7 @@ var init_Devtools = __esm({
15293
15297
  gap: ${tokens.size[2]};
15294
15298
  padding: 0px ${tokens.size[2]};
15295
15299
  & > button {
15296
- font-family: 'Inter', sans-serif;
15300
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
15297
15301
  font-size: ${font.size.xs};
15298
15302
  padding: ${tokens.size[1]} ${tokens.size[2]};
15299
15303
  display: flex;
@@ -15378,7 +15382,7 @@ var init_Devtools = __esm({
15378
15382
  settingsMenu: u`
15379
15383
  display: flex;
15380
15384
  & * {
15381
- font-family: 'Inter', sans-serif;
15385
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
15382
15386
  }
15383
15387
  flex-direction: column;
15384
15388
  gap: ${size2[0.5]};
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/NU5BFWH6.js'));
69
+ Devtools = lazy(() => import('./Devtools/OWP7E64P.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/EX35NSIV.jsx"));
73
+ Devtools = lazy(() => import("./Devtools/TETPQZKA.jsx"));
74
74
  this.#Component = Devtools;
75
75
  }
76
76
  setupStyleSheet(this.#styleNonce);