@tanstack/query-devtools 5.76.0 → 5.80.0

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/index.cjs CHANGED
@@ -12898,7 +12898,7 @@ var init_Explorer = __esm({
12898
12898
  });
12899
12899
 
12900
12900
  // src/Devtools.tsx
12901
- var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$03, _tmpl$111, _tmpl$103, _tmpl$112, _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$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, offline, setOffline, Devtools, PiPPanel, ParentPanel, DraggablePanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, DEV_TOOLS_EVENT, sendDevToolsEvent, stylesFactory2, lightStyles2, darkStyles2;
12901
+ var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$03, _tmpl$111, _tmpl$103, _tmpl$112, _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$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, _tmpl$332, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, offline, setOffline, Devtools, PiPPanel, ParentPanel, DraggablePanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, DEV_TOOLS_EVENT, sendDevToolsEvent, stylesFactory2, lightStyles2, darkStyles2;
12902
12902
  var init_Devtools = __esm({
12903
12903
  "src/Devtools.tsx"() {
12904
12904
  init_web();
@@ -12950,17 +12950,18 @@ var init_Devtools = __esm({
12950
12950
  _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 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>`);
12951
12951
  _tmpl$202 = /* @__PURE__ */ template(`<option>Sort by `);
12952
12952
  _tmpl$212 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
12953
- _tmpl$222 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
12954
- _tmpl$232 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
12955
- _tmpl$242 = /* @__PURE__ */ template(`<span>`);
12956
- _tmpl$252 = /* @__PURE__ */ template(`<button><span></span><span>`);
12957
- _tmpl$262 = /* @__PURE__ */ template(`<button><span></span> Error`);
12958
- _tmpl$27 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
12959
- _tmpl$28 = /* @__PURE__ */ template(`<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">`);
12960
- _tmpl$29 = /* @__PURE__ */ template(`<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save`);
12961
- _tmpl$30 = /* @__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 </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
12962
- _tmpl$31 = /* @__PURE__ */ template(`<option>`);
12963
- _tmpl$322 = /* @__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">`);
12953
+ _tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-static-indicator>static`);
12954
+ _tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
12955
+ _tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
12956
+ _tmpl$252 = /* @__PURE__ */ template(`<span>`);
12957
+ _tmpl$262 = /* @__PURE__ */ template(`<button><span></span><span>`);
12958
+ _tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
12959
+ _tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
12960
+ _tmpl$29 = /* @__PURE__ */ template(`<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">`);
12961
+ _tmpl$30 = /* @__PURE__ */ template(`<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save`);
12962
+ _tmpl$31 = /* @__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 </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
12963
+ _tmpl$322 = /* @__PURE__ */ template(`<option>`);
12964
+ _tmpl$332 = /* @__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">`);
12964
12965
  [selectedQueryHash, setSelectedQueryHash] = createSignal(null);
12965
12966
  [selectedMutationId, setSelectedMutationId] = createSignal(null);
12966
12967
  [panelWidth, setPanelWidth] = createSignal(0);
@@ -13883,6 +13884,9 @@ var init_Devtools = __esm({
13883
13884
  const isDisabled = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
13884
13885
  queryKey: props.query.queryKey
13885
13886
  })?.isDisabled() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
13887
+ const isStatic = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
13888
+ queryKey: props.query.queryKey
13889
+ })?.isStatic() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
13886
13890
  const isStale = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
13887
13891
  queryKey: props.query.queryKey
13888
13892
  })?.isStale() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
@@ -13911,7 +13915,7 @@ var init_Devtools = __esm({
13911
13915
  return queryState();
13912
13916
  },
13913
13917
  get children() {
13914
- var _el$47 = _tmpl$222(), _el$48 = _el$47.firstChild, _el$49 = _el$48.nextSibling;
13918
+ var _el$47 = _tmpl$232(), _el$48 = _el$47.firstChild, _el$49 = _el$48.nextSibling;
13915
13919
  _el$47.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
13916
13920
  insert(_el$48, observers);
13917
13921
  insert(_el$49, () => props.query.queryHash);
@@ -13923,6 +13927,14 @@ var init_Devtools = __esm({
13923
13927
  return _tmpl$212();
13924
13928
  }
13925
13929
  }), null);
13930
+ insert(_el$47, createComponent(Show, {
13931
+ get when() {
13932
+ return isStatic();
13933
+ },
13934
+ get children() {
13935
+ return _tmpl$222();
13936
+ }
13937
+ }), null);
13926
13938
  createRenderEffect((_p$) => {
13927
13939
  var _v$24 = clsx(styles().queryRow, selectedQueryHash() === props.query.queryHash && styles().selectedQueryRow, "tsqd-query-row"), _v$25 = `Query key ${props.query.queryHash}`, _v$26 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
13928
13940
  _v$24 !== _p$.e && className(_el$47, _p$.e = _v$24);
@@ -13989,11 +14001,11 @@ var init_Devtools = __esm({
13989
14001
  return mutationState();
13990
14002
  },
13991
14003
  get children() {
13992
- var _el$51 = _tmpl$222(), _el$52 = _el$51.firstChild, _el$53 = _el$52.nextSibling;
13993
- _el$51.$$click = () => {
14004
+ var _el$52 = _tmpl$232(), _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling;
14005
+ _el$52.$$click = () => {
13994
14006
  setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
13995
14007
  };
13996
- insert(_el$52, createComponent(Show, {
14008
+ insert(_el$53, createComponent(Show, {
13997
14009
  get when() {
13998
14010
  return color() === "purple";
13999
14011
  },
@@ -14001,7 +14013,7 @@ var init_Devtools = __esm({
14001
14013
  return createComponent(PauseCircle, {});
14002
14014
  }
14003
14015
  }), null);
14004
- insert(_el$52, createComponent(Show, {
14016
+ insert(_el$53, createComponent(Show, {
14005
14017
  get when() {
14006
14018
  return color() === "green";
14007
14019
  },
@@ -14009,7 +14021,7 @@ var init_Devtools = __esm({
14009
14021
  return createComponent(CheckCircle, {});
14010
14022
  }
14011
14023
  }), null);
14012
- insert(_el$52, createComponent(Show, {
14024
+ insert(_el$53, createComponent(Show, {
14013
14025
  get when() {
14014
14026
  return color() === "red";
14015
14027
  },
@@ -14017,7 +14029,7 @@ var init_Devtools = __esm({
14017
14029
  return createComponent(XCircle, {});
14018
14030
  }
14019
14031
  }), null);
14020
- insert(_el$52, createComponent(Show, {
14032
+ insert(_el$53, createComponent(Show, {
14021
14033
  get when() {
14022
14034
  return color() === "yellow";
14023
14035
  },
@@ -14025,7 +14037,7 @@ var init_Devtools = __esm({
14025
14037
  return createComponent(LoadingCircle, {});
14026
14038
  }
14027
14039
  }), null);
14028
- insert(_el$53, createComponent(Show, {
14040
+ insert(_el$54, createComponent(Show, {
14029
14041
  get when() {
14030
14042
  return props.mutation.options.mutationKey;
14031
14043
  },
@@ -14033,19 +14045,19 @@ var init_Devtools = __esm({
14033
14045
  return [createMemo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
14034
14046
  }
14035
14047
  }), null);
14036
- insert(_el$53, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
14048
+ insert(_el$54, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
14037
14049
  createRenderEffect((_p$) => {
14038
14050
  var _v$27 = clsx(styles().queryRow, selectedMutationId() === props.mutation.mutationId && styles().selectedQueryRow, "tsqd-query-row"), _v$28 = `Mutation submitted at ${new Date(props.mutation.state.submittedAt).toLocaleString()}`, _v$29 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
14039
- _v$27 !== _p$.e && className(_el$51, _p$.e = _v$27);
14040
- _v$28 !== _p$.t && setAttribute(_el$51, "aria-label", _p$.t = _v$28);
14041
- _v$29 !== _p$.a && className(_el$52, _p$.a = _v$29);
14051
+ _v$27 !== _p$.e && className(_el$52, _p$.e = _v$27);
14052
+ _v$28 !== _p$.t && setAttribute(_el$52, "aria-label", _p$.t = _v$28);
14053
+ _v$29 !== _p$.a && className(_el$53, _p$.a = _v$29);
14042
14054
  return _p$;
14043
14055
  }, {
14044
14056
  e: void 0,
14045
14057
  t: void 0,
14046
14058
  a: void 0
14047
14059
  });
14048
- return _el$51;
14060
+ return _el$52;
14049
14061
  }
14050
14062
  });
14051
14063
  };
@@ -14063,44 +14075,44 @@ var init_Devtools = __esm({
14063
14075
  return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
14064
14076
  });
14065
14077
  return (() => {
14066
- var _el$54 = _tmpl$26();
14067
- insert(_el$54, createComponent(QueryStatus, {
14078
+ var _el$55 = _tmpl$26();
14079
+ insert(_el$55, createComponent(QueryStatus, {
14068
14080
  label: "Fresh",
14069
14081
  color: "green",
14070
14082
  get count() {
14071
14083
  return fresh();
14072
14084
  }
14073
14085
  }), null);
14074
- insert(_el$54, createComponent(QueryStatus, {
14086
+ insert(_el$55, createComponent(QueryStatus, {
14075
14087
  label: "Fetching",
14076
14088
  color: "blue",
14077
14089
  get count() {
14078
14090
  return fetching();
14079
14091
  }
14080
14092
  }), null);
14081
- insert(_el$54, createComponent(QueryStatus, {
14093
+ insert(_el$55, createComponent(QueryStatus, {
14082
14094
  label: "Paused",
14083
14095
  color: "purple",
14084
14096
  get count() {
14085
14097
  return paused();
14086
14098
  }
14087
14099
  }), null);
14088
- insert(_el$54, createComponent(QueryStatus, {
14100
+ insert(_el$55, createComponent(QueryStatus, {
14089
14101
  label: "Stale",
14090
14102
  color: "yellow",
14091
14103
  get count() {
14092
14104
  return stale();
14093
14105
  }
14094
14106
  }), null);
14095
- insert(_el$54, createComponent(QueryStatus, {
14107
+ insert(_el$55, createComponent(QueryStatus, {
14096
14108
  label: "Inactive",
14097
14109
  color: "gray",
14098
14110
  get count() {
14099
14111
  return inactive();
14100
14112
  }
14101
14113
  }), null);
14102
- createRenderEffect(() => className(_el$54, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
14103
- return _el$54;
14114
+ createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
14115
+ return _el$55;
14104
14116
  })();
14105
14117
  };
14106
14118
  MutationStatusCount = () => {
@@ -14128,37 +14140,37 @@ var init_Devtools = __esm({
14128
14140
  return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
14129
14141
  });
14130
14142
  return (() => {
14131
- var _el$55 = _tmpl$26();
14132
- insert(_el$55, createComponent(QueryStatus, {
14143
+ var _el$56 = _tmpl$26();
14144
+ insert(_el$56, createComponent(QueryStatus, {
14133
14145
  label: "Paused",
14134
14146
  color: "purple",
14135
14147
  get count() {
14136
14148
  return paused();
14137
14149
  }
14138
14150
  }), null);
14139
- insert(_el$55, createComponent(QueryStatus, {
14151
+ insert(_el$56, createComponent(QueryStatus, {
14140
14152
  label: "Pending",
14141
14153
  color: "yellow",
14142
14154
  get count() {
14143
14155
  return pending();
14144
14156
  }
14145
14157
  }), null);
14146
- insert(_el$55, createComponent(QueryStatus, {
14158
+ insert(_el$56, createComponent(QueryStatus, {
14147
14159
  label: "Success",
14148
14160
  color: "green",
14149
14161
  get count() {
14150
14162
  return success();
14151
14163
  }
14152
14164
  }), null);
14153
- insert(_el$55, createComponent(QueryStatus, {
14165
+ insert(_el$56, createComponent(QueryStatus, {
14154
14166
  label: "Error",
14155
14167
  color: "red",
14156
14168
  get count() {
14157
14169
  return error();
14158
14170
  }
14159
14171
  }), null);
14160
- createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
14161
- return _el$55;
14172
+ createRenderEffect(() => className(_el$56, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
14173
+ return _el$56;
14162
14174
  })();
14163
14175
  };
14164
14176
  QueryStatus = (props) => {
@@ -14189,17 +14201,17 @@ var init_Devtools = __esm({
14189
14201
  return true;
14190
14202
  });
14191
14203
  return (() => {
14192
- var _el$56 = _tmpl$252(), _el$58 = _el$56.firstChild, _el$60 = _el$58.nextSibling;
14204
+ var _el$57 = _tmpl$262(), _el$59 = _el$57.firstChild, _el$61 = _el$59.nextSibling;
14193
14205
  var _ref$5 = tagRef;
14194
- typeof _ref$5 === "function" ? use(_ref$5, _el$56) : tagRef = _el$56;
14195
- _el$56.addEventListener("mouseleave", () => {
14206
+ typeof _ref$5 === "function" ? use(_ref$5, _el$57) : tagRef = _el$57;
14207
+ _el$57.addEventListener("mouseleave", () => {
14196
14208
  setMouseOver(false);
14197
14209
  setFocused(false);
14198
14210
  });
14199
- _el$56.addEventListener("mouseenter", () => setMouseOver(true));
14200
- _el$56.addEventListener("blur", () => setFocused(false));
14201
- _el$56.addEventListener("focus", () => setFocused(true));
14202
- spread(_el$56, mergeProps({
14211
+ _el$57.addEventListener("mouseenter", () => setMouseOver(true));
14212
+ _el$57.addEventListener("blur", () => setFocused(false));
14213
+ _el$57.addEventListener("focus", () => setFocused(true));
14214
+ spread(_el$57, mergeProps({
14203
14215
  get disabled() {
14204
14216
  return showLabel();
14205
14217
  },
@@ -14214,29 +14226,29 @@ var init_Devtools = __esm({
14214
14226
  }, () => mouseOver() || focused() ? {
14215
14227
  "aria-describedby": "tsqd-status-tooltip"
14216
14228
  } : {}), false, true);
14217
- insert(_el$56, createComponent(Show, {
14229
+ insert(_el$57, createComponent(Show, {
14218
14230
  get when() {
14219
14231
  return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
14220
14232
  },
14221
14233
  get children() {
14222
- var _el$57 = _tmpl$232();
14223
- insert(_el$57, () => props.label);
14224
- createRenderEffect(() => className(_el$57, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
14225
- return _el$57;
14234
+ var _el$58 = _tmpl$242();
14235
+ insert(_el$58, () => props.label);
14236
+ createRenderEffect(() => className(_el$58, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
14237
+ return _el$58;
14226
14238
  }
14227
- }), _el$58);
14228
- insert(_el$56, createComponent(Show, {
14239
+ }), _el$59);
14240
+ insert(_el$57, createComponent(Show, {
14229
14241
  get when() {
14230
14242
  return showLabel();
14231
14243
  },
14232
14244
  get children() {
14233
- var _el$59 = _tmpl$242();
14234
- insert(_el$59, () => props.label);
14235
- createRenderEffect(() => className(_el$59, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
14236
- return _el$59;
14245
+ var _el$60 = _tmpl$252();
14246
+ insert(_el$60, () => props.label);
14247
+ createRenderEffect(() => className(_el$60, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
14248
+ return _el$60;
14237
14249
  }
14238
- }), _el$60);
14239
- insert(_el$60, () => props.count);
14250
+ }), _el$61);
14251
+ insert(_el$61, () => props.count);
14240
14252
  createRenderEffect((_p$) => {
14241
14253
  var _v$30 = clsx(css`
14242
14254
  width: ${tokens.size[1.5]};
@@ -14247,14 +14259,14 @@ var init_Devtools = __esm({
14247
14259
  background-color: ${t2(colors[props.color][100], colors[props.color][900])};
14248
14260
  color: ${t2(colors[props.color][700], colors[props.color][300])};
14249
14261
  `, "tsqd-query-status-tag-count");
14250
- _v$30 !== _p$.e && className(_el$58, _p$.e = _v$30);
14251
- _v$31 !== _p$.t && className(_el$60, _p$.t = _v$31);
14262
+ _v$30 !== _p$.e && className(_el$59, _p$.e = _v$30);
14263
+ _v$31 !== _p$.t && className(_el$61, _p$.t = _v$31);
14252
14264
  return _p$;
14253
14265
  }, {
14254
14266
  e: void 0,
14255
14267
  t: void 0
14256
14268
  });
14257
- return _el$56;
14269
+ return _el$57;
14258
14270
  })();
14259
14271
  };
14260
14272
  QueryDetails = () => {
@@ -14371,27 +14383,27 @@ var init_Devtools = __esm({
14371
14383
  return createMemo(() => !!activeQuery())() && activeQueryState();
14372
14384
  },
14373
14385
  get children() {
14374
- var _el$61 = _tmpl$30(), _el$62 = _el$61.firstChild, _el$63 = _el$62.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$64.firstChild, _el$66 = _el$65.firstChild, _el$67 = _el$65.nextSibling, _el$68 = _el$64.nextSibling, _el$69 = _el$68.firstChild, _el$70 = _el$69.nextSibling, _el$71 = _el$68.nextSibling, _el$72 = _el$71.firstChild, _el$73 = _el$72.nextSibling, _el$74 = _el$63.nextSibling, _el$75 = _el$74.nextSibling, _el$76 = _el$75.firstChild, _el$77 = _el$76.firstChild, _el$78 = _el$76.nextSibling, _el$79 = _el$78.firstChild, _el$80 = _el$78.nextSibling, _el$81 = _el$80.firstChild, _el$82 = _el$80.nextSibling, _el$83 = _el$82.firstChild, _el$84 = _el$82.nextSibling, _el$85 = _el$84.firstChild, _el$86 = _el$85.nextSibling, _el$95 = _el$75.nextSibling; _el$95.firstChild; var _el$105 = _el$95.nextSibling, _el$106 = _el$105.nextSibling;
14375
- insert(_el$66, () => displayValue(activeQuery().queryKey, true));
14376
- insert(_el$67, statusLabel);
14377
- insert(_el$70, observerCount);
14378
- insert(_el$73, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
14379
- _el$76.$$click = handleRefetch;
14380
- _el$78.$$click = () => {
14386
+ var _el$62 = _tmpl$31(), _el$63 = _el$62.firstChild, _el$64 = _el$63.nextSibling, _el$65 = _el$64.firstChild, _el$66 = _el$65.firstChild, _el$67 = _el$66.firstChild, _el$68 = _el$66.nextSibling, _el$69 = _el$65.nextSibling, _el$70 = _el$69.firstChild, _el$71 = _el$70.nextSibling, _el$72 = _el$69.nextSibling, _el$73 = _el$72.firstChild, _el$74 = _el$73.nextSibling, _el$75 = _el$64.nextSibling, _el$76 = _el$75.nextSibling, _el$77 = _el$76.firstChild, _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$83.nextSibling, _el$86 = _el$85.firstChild, _el$87 = _el$86.nextSibling, _el$96 = _el$76.nextSibling; _el$96.firstChild; var _el$106 = _el$96.nextSibling, _el$107 = _el$106.nextSibling;
14387
+ insert(_el$67, () => displayValue(activeQuery().queryKey, true));
14388
+ insert(_el$68, statusLabel);
14389
+ insert(_el$71, observerCount);
14390
+ insert(_el$74, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
14391
+ _el$77.$$click = handleRefetch;
14392
+ _el$79.$$click = () => {
14381
14393
  sendDevToolsEvent({
14382
14394
  type: "INVALIDATE",
14383
14395
  queryHash: activeQuery()?.queryHash
14384
14396
  });
14385
14397
  queryClient.invalidateQueries(activeQuery());
14386
14398
  };
14387
- _el$80.$$click = () => {
14399
+ _el$81.$$click = () => {
14388
14400
  sendDevToolsEvent({
14389
14401
  type: "RESET",
14390
14402
  queryHash: activeQuery()?.queryHash
14391
14403
  });
14392
14404
  queryClient.resetQueries(activeQuery());
14393
14405
  };
14394
- _el$82.$$click = () => {
14406
+ _el$83.$$click = () => {
14395
14407
  sendDevToolsEvent({
14396
14408
  type: "REMOVE",
14397
14409
  queryHash: activeQuery()?.queryHash
@@ -14399,7 +14411,7 @@ var init_Devtools = __esm({
14399
14411
  queryClient.removeQueries(activeQuery());
14400
14412
  setSelectedQueryHash(null);
14401
14413
  };
14402
- _el$84.$$click = () => {
14414
+ _el$85.$$click = () => {
14403
14415
  if (activeQuery()?.state.data === void 0) {
14404
14416
  setRestoringLoading(true);
14405
14417
  restoreQueryAfterLoadingOrError();
@@ -14429,14 +14441,14 @@ var init_Devtools = __esm({
14429
14441
  });
14430
14442
  }
14431
14443
  };
14432
- insert(_el$84, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$86);
14433
- insert(_el$75, createComponent(Show, {
14444
+ insert(_el$85, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$87);
14445
+ insert(_el$76, createComponent(Show, {
14434
14446
  get when() {
14435
14447
  return errorTypes().length === 0 || queryStatus() === "error";
14436
14448
  },
14437
14449
  get children() {
14438
- var _el$87 = _tmpl$262(), _el$88 = _el$87.firstChild, _el$89 = _el$88.nextSibling;
14439
- _el$87.$$click = () => {
14450
+ var _el$88 = _tmpl$27(), _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling;
14451
+ _el$88.$$click = () => {
14440
14452
  if (!activeQuery().state.error) {
14441
14453
  triggerError();
14442
14454
  } else {
@@ -14447,71 +14459,71 @@ var init_Devtools = __esm({
14447
14459
  queryClient.resetQueries(activeQuery());
14448
14460
  }
14449
14461
  };
14450
- insert(_el$87, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$89);
14462
+ insert(_el$88, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$90);
14451
14463
  createRenderEffect((_p$) => {
14452
14464
  var _v$32 = clsx(css`
14453
14465
  color: ${t2(colors.red[500], colors.red[400])};
14454
14466
  `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = css`
14455
14467
  background-color: ${t2(colors.red[500], colors.red[400])};
14456
14468
  `;
14457
- _v$32 !== _p$.e && className(_el$87, _p$.e = _v$32);
14458
- _v$33 !== _p$.t && (_el$87.disabled = _p$.t = _v$33);
14459
- _v$34 !== _p$.a && className(_el$88, _p$.a = _v$34);
14469
+ _v$32 !== _p$.e && className(_el$88, _p$.e = _v$32);
14470
+ _v$33 !== _p$.t && (_el$88.disabled = _p$.t = _v$33);
14471
+ _v$34 !== _p$.a && className(_el$89, _p$.a = _v$34);
14460
14472
  return _p$;
14461
14473
  }, {
14462
14474
  e: void 0,
14463
14475
  t: void 0,
14464
14476
  a: void 0
14465
14477
  });
14466
- return _el$87;
14478
+ return _el$88;
14467
14479
  }
14468
14480
  }), null);
14469
- insert(_el$75, createComponent(Show, {
14481
+ insert(_el$76, createComponent(Show, {
14470
14482
  get when() {
14471
14483
  return !(errorTypes().length === 0 || queryStatus() === "error");
14472
14484
  },
14473
14485
  get children() {
14474
- var _el$90 = _tmpl$27(), _el$91 = _el$90.firstChild, _el$92 = _el$91.nextSibling, _el$93 = _el$92.nextSibling; _el$93.firstChild;
14475
- _el$93.addEventListener("change", (e2) => {
14486
+ var _el$91 = _tmpl$28(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling, _el$94 = _el$93.nextSibling; _el$94.firstChild;
14487
+ _el$94.addEventListener("change", (e2) => {
14476
14488
  const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
14477
14489
  triggerError(errorType);
14478
14490
  });
14479
- insert(_el$93, createComponent(For, {
14491
+ insert(_el$94, createComponent(For, {
14480
14492
  get each() {
14481
14493
  return errorTypes();
14482
14494
  },
14483
14495
  children: (errorType) => (() => {
14484
- var _el$107 = _tmpl$31();
14485
- insert(_el$107, () => errorType.name);
14486
- createRenderEffect(() => _el$107.value = errorType.name);
14487
- return _el$107;
14496
+ var _el$108 = _tmpl$322();
14497
+ insert(_el$108, () => errorType.name);
14498
+ createRenderEffect(() => _el$108.value = errorType.name);
14499
+ return _el$108;
14488
14500
  })()
14489
14501
  }), null);
14490
- insert(_el$90, createComponent(ChevronDown, {}), null);
14502
+ insert(_el$91, createComponent(ChevronDown, {}), null);
14491
14503
  createRenderEffect((_p$) => {
14492
14504
  var _v$35 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = css`
14493
14505
  background-color: ${tokens.colors.red[400]};
14494
14506
  `, _v$37 = queryStatus() === "pending";
14495
- _v$35 !== _p$.e && className(_el$90, _p$.e = _v$35);
14496
- _v$36 !== _p$.t && className(_el$91, _p$.t = _v$36);
14497
- _v$37 !== _p$.a && (_el$93.disabled = _p$.a = _v$37);
14507
+ _v$35 !== _p$.e && className(_el$91, _p$.e = _v$35);
14508
+ _v$36 !== _p$.t && className(_el$92, _p$.t = _v$36);
14509
+ _v$37 !== _p$.a && (_el$94.disabled = _p$.a = _v$37);
14498
14510
  return _p$;
14499
14511
  }, {
14500
14512
  e: void 0,
14501
14513
  t: void 0,
14502
14514
  a: void 0
14503
14515
  });
14504
- return _el$90;
14516
+ return _el$91;
14505
14517
  }
14506
14518
  }), null);
14507
- insert(_el$95, () => dataMode() === "view" ? "Explorer" : "Editor", null);
14508
- insert(_el$61, createComponent(Show, {
14519
+ insert(_el$96, () => dataMode() === "view" ? "Explorer" : "Editor", null);
14520
+ insert(_el$62, createComponent(Show, {
14509
14521
  get when() {
14510
14522
  return dataMode() === "view";
14511
14523
  },
14512
14524
  get children() {
14513
- var _el$97 = _tmpl$28();
14514
- insert(_el$97, createComponent(Explorer, {
14525
+ var _el$98 = _tmpl$29();
14526
+ insert(_el$98, createComponent(Explorer, {
14515
14527
  label: "Data",
14516
14528
  defaultExpanded: ["Data"],
14517
14529
  get value() {
@@ -14523,17 +14535,17 @@ var init_Devtools = __esm({
14523
14535
  return activeQuery();
14524
14536
  }
14525
14537
  }));
14526
- createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$97.style.setProperty("padding", _$p) : _el$97.style.removeProperty("padding"));
14527
- return _el$97;
14538
+ createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$98.style.setProperty("padding", _$p) : _el$98.style.removeProperty("padding"));
14539
+ return _el$98;
14528
14540
  }
14529
- }), _el$105);
14530
- insert(_el$61, createComponent(Show, {
14541
+ }), _el$106);
14542
+ insert(_el$62, createComponent(Show, {
14531
14543
  get when() {
14532
14544
  return dataMode() === "edit";
14533
14545
  },
14534
14546
  get children() {
14535
- var _el$98 = _tmpl$29(), _el$99 = _el$98.firstChild, _el$100 = _el$99.nextSibling, _el$101 = _el$100.firstChild, _el$102 = _el$101.nextSibling, _el$103 = _el$102.firstChild, _el$104 = _el$103.nextSibling;
14536
- _el$98.addEventListener("submit", (e2) => {
14547
+ var _el$99 = _tmpl$30(), _el$100 = _el$99.firstChild, _el$101 = _el$100.nextSibling, _el$102 = _el$101.firstChild, _el$103 = _el$102.nextSibling, _el$104 = _el$103.firstChild, _el$105 = _el$104.nextSibling;
14548
+ _el$99.addEventListener("submit", (e2) => {
14537
14549
  e2.preventDefault();
14538
14550
  const formData = new FormData(e2.currentTarget);
14539
14551
  const data = formData.get("data");
@@ -14548,23 +14560,23 @@ var init_Devtools = __esm({
14548
14560
  setDataEditError(true);
14549
14561
  }
14550
14562
  });
14551
- _el$99.addEventListener("focus", () => setDataEditError(false));
14552
- insert(_el$101, () => dataEditError() ? "Invalid Value" : "");
14553
- _el$103.$$click = () => setDataMode("view");
14563
+ _el$100.addEventListener("focus", () => setDataEditError(false));
14564
+ insert(_el$102, () => dataEditError() ? "Invalid Value" : "");
14565
+ _el$104.$$click = () => setDataMode("view");
14554
14566
  createRenderEffect((_p$) => {
14555
14567
  var _v$38 = clsx(styles().devtoolsEditForm, "tsqd-query-details-data-editor"), _v$39 = styles().devtoolsEditTextarea, _v$40 = dataEditError(), _v$41 = styles().devtoolsEditFormActions, _v$42 = styles().devtoolsEditFormError, _v$43 = styles().devtoolsEditFormActionContainer, _v$44 = clsx(styles().devtoolsEditFormAction, css`
14556
14568
  color: ${t2(colors.gray[600], colors.gray[300])};
14557
14569
  `), _v$45 = clsx(styles().devtoolsEditFormAction, css`
14558
14570
  color: ${t2(colors.blue[600], colors.blue[400])};
14559
14571
  `);
14560
- _v$38 !== _p$.e && className(_el$98, _p$.e = _v$38);
14561
- _v$39 !== _p$.t && className(_el$99, _p$.t = _v$39);
14562
- _v$40 !== _p$.a && setAttribute(_el$99, "data-error", _p$.a = _v$40);
14563
- _v$41 !== _p$.o && className(_el$100, _p$.o = _v$41);
14564
- _v$42 !== _p$.i && className(_el$101, _p$.i = _v$42);
14565
- _v$43 !== _p$.n && className(_el$102, _p$.n = _v$43);
14566
- _v$44 !== _p$.s && className(_el$103, _p$.s = _v$44);
14567
- _v$45 !== _p$.h && className(_el$104, _p$.h = _v$45);
14572
+ _v$38 !== _p$.e && className(_el$99, _p$.e = _v$38);
14573
+ _v$39 !== _p$.t && className(_el$100, _p$.t = _v$39);
14574
+ _v$40 !== _p$.a && setAttribute(_el$100, "data-error", _p$.a = _v$40);
14575
+ _v$41 !== _p$.o && className(_el$101, _p$.o = _v$41);
14576
+ _v$42 !== _p$.i && className(_el$102, _p$.i = _v$42);
14577
+ _v$43 !== _p$.n && className(_el$103, _p$.n = _v$43);
14578
+ _v$44 !== _p$.s && className(_el$104, _p$.s = _v$44);
14579
+ _v$45 !== _p$.h && className(_el$105, _p$.h = _v$45);
14568
14580
  return _p$;
14569
14581
  }, {
14570
14582
  e: void 0,
@@ -14576,11 +14588,11 @@ var init_Devtools = __esm({
14576
14588
  s: void 0,
14577
14589
  h: void 0
14578
14590
  });
14579
- createRenderEffect(() => _el$99.value = JSON.stringify(activeQueryStateData(), null, 2));
14580
- return _el$98;
14591
+ createRenderEffect(() => _el$100.value = JSON.stringify(activeQueryStateData(), null, 2));
14592
+ return _el$99;
14581
14593
  }
14582
- }), _el$105);
14583
- insert(_el$106, createComponent(Explorer, {
14594
+ }), _el$106);
14595
+ insert(_el$107, createComponent(Explorer, {
14584
14596
  label: "Query",
14585
14597
  defaultExpanded: ["Query", "queryKey"],
14586
14598
  get value() {
@@ -14609,30 +14621,30 @@ var init_Devtools = __esm({
14609
14621
  `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$65 = restoringLoading(), _v$66 = css`
14610
14622
  background-color: ${t2(colors.cyan[500], colors.cyan[400])};
14611
14623
  `, _v$67 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$68 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$69 = tokens.size[2];
14612
- _v$46 !== _p$.e && className(_el$61, _p$.e = _v$46);
14613
- _v$47 !== _p$.t && className(_el$62, _p$.t = _v$47);
14614
- _v$48 !== _p$.a && className(_el$63, _p$.a = _v$48);
14615
- _v$49 !== _p$.o && className(_el$67, _p$.o = _v$49);
14616
- _v$50 !== _p$.i && className(_el$74, _p$.i = _v$50);
14617
- _v$51 !== _p$.n && className(_el$75, _p$.n = _v$51);
14618
- _v$52 !== _p$.s && className(_el$76, _p$.s = _v$52);
14619
- _v$53 !== _p$.h && (_el$76.disabled = _p$.h = _v$53);
14620
- _v$54 !== _p$.r && className(_el$77, _p$.r = _v$54);
14621
- _v$55 !== _p$.d && className(_el$78, _p$.d = _v$55);
14622
- _v$56 !== _p$.l && (_el$78.disabled = _p$.l = _v$56);
14623
- _v$57 !== _p$.u && className(_el$79, _p$.u = _v$57);
14624
- _v$58 !== _p$.c && className(_el$80, _p$.c = _v$58);
14625
- _v$59 !== _p$.w && (_el$80.disabled = _p$.w = _v$59);
14626
- _v$60 !== _p$.m && className(_el$81, _p$.m = _v$60);
14627
- _v$61 !== _p$.f && className(_el$82, _p$.f = _v$61);
14628
- _v$62 !== _p$.y && (_el$82.disabled = _p$.y = _v$62);
14629
- _v$63 !== _p$.g && className(_el$83, _p$.g = _v$63);
14630
- _v$64 !== _p$.p && className(_el$84, _p$.p = _v$64);
14631
- _v$65 !== _p$.b && (_el$84.disabled = _p$.b = _v$65);
14632
- _v$66 !== _p$.T && className(_el$85, _p$.T = _v$66);
14633
- _v$67 !== _p$.A && className(_el$95, _p$.A = _v$67);
14634
- _v$68 !== _p$.O && className(_el$105, _p$.O = _v$68);
14635
- _v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$106.style.setProperty("padding", _v$69) : _el$106.style.removeProperty("padding"));
14624
+ _v$46 !== _p$.e && className(_el$62, _p$.e = _v$46);
14625
+ _v$47 !== _p$.t && className(_el$63, _p$.t = _v$47);
14626
+ _v$48 !== _p$.a && className(_el$64, _p$.a = _v$48);
14627
+ _v$49 !== _p$.o && className(_el$68, _p$.o = _v$49);
14628
+ _v$50 !== _p$.i && className(_el$75, _p$.i = _v$50);
14629
+ _v$51 !== _p$.n && className(_el$76, _p$.n = _v$51);
14630
+ _v$52 !== _p$.s && className(_el$77, _p$.s = _v$52);
14631
+ _v$53 !== _p$.h && (_el$77.disabled = _p$.h = _v$53);
14632
+ _v$54 !== _p$.r && className(_el$78, _p$.r = _v$54);
14633
+ _v$55 !== _p$.d && className(_el$79, _p$.d = _v$55);
14634
+ _v$56 !== _p$.l && (_el$79.disabled = _p$.l = _v$56);
14635
+ _v$57 !== _p$.u && className(_el$80, _p$.u = _v$57);
14636
+ _v$58 !== _p$.c && className(_el$81, _p$.c = _v$58);
14637
+ _v$59 !== _p$.w && (_el$81.disabled = _p$.w = _v$59);
14638
+ _v$60 !== _p$.m && className(_el$82, _p$.m = _v$60);
14639
+ _v$61 !== _p$.f && className(_el$83, _p$.f = _v$61);
14640
+ _v$62 !== _p$.y && (_el$83.disabled = _p$.y = _v$62);
14641
+ _v$63 !== _p$.g && className(_el$84, _p$.g = _v$63);
14642
+ _v$64 !== _p$.p && className(_el$85, _p$.p = _v$64);
14643
+ _v$65 !== _p$.b && (_el$85.disabled = _p$.b = _v$65);
14644
+ _v$66 !== _p$.T && className(_el$86, _p$.T = _v$66);
14645
+ _v$67 !== _p$.A && className(_el$96, _p$.A = _v$67);
14646
+ _v$68 !== _p$.O && className(_el$106, _p$.O = _v$68);
14647
+ _v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$107.style.setProperty("padding", _v$69) : _el$107.style.removeProperty("padding"));
14636
14648
  return _p$;
14637
14649
  }, {
14638
14650
  e: void 0,
@@ -14660,7 +14672,7 @@ var init_Devtools = __esm({
14660
14672
  O: void 0,
14661
14673
  I: void 0
14662
14674
  });
14663
- return _el$61;
14675
+ return _el$62;
14664
14676
  }
14665
14677
  });
14666
14678
  };
@@ -14712,8 +14724,8 @@ var init_Devtools = __esm({
14712
14724
  return activeMutation();
14713
14725
  },
14714
14726
  get children() {
14715
- var _el$108 = _tmpl$322(), _el$109 = _el$108.firstChild, _el$110 = _el$109.nextSibling, _el$111 = _el$110.firstChild, _el$112 = _el$111.firstChild, _el$113 = _el$112.firstChild, _el$114 = _el$112.nextSibling, _el$115 = _el$111.nextSibling, _el$116 = _el$115.firstChild, _el$117 = _el$116.nextSibling, _el$118 = _el$110.nextSibling, _el$119 = _el$118.nextSibling, _el$120 = _el$119.nextSibling, _el$121 = _el$120.nextSibling, _el$122 = _el$121.nextSibling, _el$123 = _el$122.nextSibling, _el$124 = _el$123.nextSibling, _el$125 = _el$124.nextSibling;
14716
- insert(_el$113, createComponent(Show, {
14727
+ var _el$109 = _tmpl$332(), _el$110 = _el$109.firstChild, _el$111 = _el$110.nextSibling, _el$112 = _el$111.firstChild, _el$113 = _el$112.firstChild, _el$114 = _el$113.firstChild, _el$115 = _el$113.nextSibling, _el$116 = _el$112.nextSibling, _el$117 = _el$116.firstChild, _el$118 = _el$117.nextSibling, _el$119 = _el$111.nextSibling, _el$120 = _el$119.nextSibling, _el$121 = _el$120.nextSibling, _el$122 = _el$121.nextSibling, _el$123 = _el$122.nextSibling, _el$124 = _el$123.nextSibling, _el$125 = _el$124.nextSibling, _el$126 = _el$125.nextSibling;
14728
+ insert(_el$114, createComponent(Show, {
14717
14729
  get when() {
14718
14730
  return activeMutation().options.mutationKey;
14719
14731
  },
@@ -14722,13 +14734,13 @@ var init_Devtools = __esm({
14722
14734
  return displayValue(activeMutation().options.mutationKey, true);
14723
14735
  }
14724
14736
  }));
14725
- insert(_el$114, createComponent(Show, {
14737
+ insert(_el$115, createComponent(Show, {
14726
14738
  get when() {
14727
14739
  return color() === "purple";
14728
14740
  },
14729
14741
  children: "pending"
14730
14742
  }), null);
14731
- insert(_el$114, createComponent(Show, {
14743
+ insert(_el$115, createComponent(Show, {
14732
14744
  get when() {
14733
14745
  return color() !== "purple";
14734
14746
  },
@@ -14736,29 +14748,29 @@ var init_Devtools = __esm({
14736
14748
  return status();
14737
14749
  }
14738
14750
  }), null);
14739
- insert(_el$117, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
14740
- insert(_el$119, createComponent(Explorer, {
14751
+ insert(_el$118, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
14752
+ insert(_el$120, createComponent(Explorer, {
14741
14753
  label: "Variables",
14742
14754
  defaultExpanded: ["Variables"],
14743
14755
  get value() {
14744
14756
  return activeMutation().state.variables;
14745
14757
  }
14746
14758
  }));
14747
- insert(_el$121, createComponent(Explorer, {
14759
+ insert(_el$122, createComponent(Explorer, {
14748
14760
  label: "Context",
14749
14761
  defaultExpanded: ["Context"],
14750
14762
  get value() {
14751
14763
  return activeMutation().state.context;
14752
14764
  }
14753
14765
  }));
14754
- insert(_el$123, createComponent(Explorer, {
14766
+ insert(_el$124, createComponent(Explorer, {
14755
14767
  label: "Data",
14756
14768
  defaultExpanded: ["Data"],
14757
14769
  get value() {
14758
14770
  return activeMutation().state.data;
14759
14771
  }
14760
14772
  }));
14761
- insert(_el$125, createComponent(Explorer, {
14773
+ insert(_el$126, createComponent(Explorer, {
14762
14774
  label: "Mutation",
14763
14775
  defaultExpanded: ["Mutation"],
14764
14776
  get value() {
@@ -14767,18 +14779,18 @@ var init_Devtools = __esm({
14767
14779
  }));
14768
14780
  createRenderEffect((_p$) => {
14769
14781
  var _v$70 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$71 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$72 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$73 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$74 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$75 = tokens.size[2], _v$76 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$77 = tokens.size[2], _v$78 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$79 = tokens.size[2], _v$80 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$81 = tokens.size[2];
14770
- _v$70 !== _p$.e && className(_el$108, _p$.e = _v$70);
14771
- _v$71 !== _p$.t && className(_el$109, _p$.t = _v$71);
14772
- _v$72 !== _p$.a && className(_el$110, _p$.a = _v$72);
14773
- _v$73 !== _p$.o && className(_el$114, _p$.o = _v$73);
14774
- _v$74 !== _p$.i && className(_el$118, _p$.i = _v$74);
14775
- _v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$119.style.setProperty("padding", _v$75) : _el$119.style.removeProperty("padding"));
14776
- _v$76 !== _p$.s && className(_el$120, _p$.s = _v$76);
14777
- _v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$121.style.setProperty("padding", _v$77) : _el$121.style.removeProperty("padding"));
14778
- _v$78 !== _p$.r && className(_el$122, _p$.r = _v$78);
14779
- _v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$123.style.setProperty("padding", _v$79) : _el$123.style.removeProperty("padding"));
14780
- _v$80 !== _p$.l && className(_el$124, _p$.l = _v$80);
14781
- _v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$125.style.setProperty("padding", _v$81) : _el$125.style.removeProperty("padding"));
14782
+ _v$70 !== _p$.e && className(_el$109, _p$.e = _v$70);
14783
+ _v$71 !== _p$.t && className(_el$110, _p$.t = _v$71);
14784
+ _v$72 !== _p$.a && className(_el$111, _p$.a = _v$72);
14785
+ _v$73 !== _p$.o && className(_el$115, _p$.o = _v$73);
14786
+ _v$74 !== _p$.i && className(_el$119, _p$.i = _v$74);
14787
+ _v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$120.style.setProperty("padding", _v$75) : _el$120.style.removeProperty("padding"));
14788
+ _v$76 !== _p$.s && className(_el$121, _p$.s = _v$76);
14789
+ _v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$122.style.setProperty("padding", _v$77) : _el$122.style.removeProperty("padding"));
14790
+ _v$78 !== _p$.r && className(_el$123, _p$.r = _v$78);
14791
+ _v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$124.style.setProperty("padding", _v$79) : _el$124.style.removeProperty("padding"));
14792
+ _v$80 !== _p$.l && className(_el$125, _p$.l = _v$80);
14793
+ _v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$126.style.setProperty("padding", _v$81) : _el$126.style.removeProperty("padding"));
14782
14794
  return _p$;
14783
14795
  }, {
14784
14796
  e: void 0,
@@ -14794,7 +14806,7 @@ var init_Devtools = __esm({
14794
14806
  l: void 0,
14795
14807
  u: void 0
14796
14808
  });
14797
- return _el$108;
14809
+ return _el$109;
14798
14810
  }
14799
14811
  });
14800
14812
  };
@@ -15558,6 +15570,17 @@ var init_Devtools = __esm({
15558
15570
  border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
15559
15571
  font-size: ${font.size.xs};
15560
15572
  }
15573
+
15574
+ & .tsqd-query-static-indicator {
15575
+ align-self: stretch;
15576
+ display: flex;
15577
+ align-items: center;
15578
+ padding: 0 ${tokens.size[2]};
15579
+ color: ${t2(colors.teal[800], colors.teal[300])};
15580
+ background-color: ${t2(colors.teal[100], colors.teal[900])};
15581
+ border-bottom: 1px solid ${t2(colors.teal[300], colors.teal[700])};
15582
+ font-size: ${font.size.xs};
15583
+ }
15561
15584
  `,
15562
15585
  selectedQueryRow: css`
15563
15586
  background-color: ${t2(colors.gray[200], colors.darkGray[500])};