@tanstack/query-devtools 5.83.1 → 5.86.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/dev.js CHANGED
@@ -13,6 +13,7 @@ var TanstackQueryDevtools = class {
13
13
  #position;
14
14
  #initialIsOpen;
15
15
  #errorTypes;
16
+ #hideDisabledQueries;
16
17
  #Component;
17
18
  #dispose;
18
19
  constructor(config) {
@@ -26,7 +27,8 @@ var TanstackQueryDevtools = class {
26
27
  initialIsOpen,
27
28
  errorTypes,
28
29
  styleNonce,
29
- shadowDOMTarget
30
+ shadowDOMTarget,
31
+ hideDisabledQueries
30
32
  } = config;
31
33
  this.#client = createSignal(client);
32
34
  this.#queryFlavor = queryFlavor;
@@ -38,6 +40,7 @@ var TanstackQueryDevtools = class {
38
40
  this.#position = createSignal(position);
39
41
  this.#initialIsOpen = createSignal(initialIsOpen);
40
42
  this.#errorTypes = createSignal(errorTypes);
43
+ this.#hideDisabledQueries = createSignal(hideDisabledQueries);
41
44
  }
42
45
  setButtonPosition(position) {
43
46
  this.#buttonPosition[1](position);
@@ -64,12 +67,13 @@ var TanstackQueryDevtools = class {
64
67
  const [pos] = this.#position;
65
68
  const [isOpen] = this.#initialIsOpen;
66
69
  const [errors] = this.#errorTypes;
70
+ const [hideDisabledQueries] = this.#hideDisabledQueries;
67
71
  const [queryClient] = this.#client;
68
72
  let Devtools;
69
73
  if (this.#Component) {
70
74
  Devtools = this.#Component;
71
75
  } else {
72
- Devtools = lazy(() => import('./DevtoolsComponent/HKROQVJD.js'));
76
+ Devtools = lazy(() => import('./DevtoolsComponent/EDEL3XIZ.js'));
73
77
  this.#Component = Devtools;
74
78
  }
75
79
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
@@ -101,6 +105,9 @@ var TanstackQueryDevtools = class {
101
105
  },
102
106
  get errorTypes() {
103
107
  return errors();
108
+ },
109
+ get hideDisabledQueries() {
110
+ return hideDisabledQueries();
104
111
  }
105
112
  }));
106
113
  }, el);
@@ -129,6 +136,7 @@ var TanstackQueryDevtoolsPanel = class {
129
136
  #position;
130
137
  #initialIsOpen;
131
138
  #errorTypes;
139
+ #hideDisabledQueries;
132
140
  #onClose;
133
141
  #Component;
134
142
  #dispose;
@@ -144,7 +152,8 @@ var TanstackQueryDevtoolsPanel = class {
144
152
  errorTypes,
145
153
  styleNonce,
146
154
  shadowDOMTarget,
147
- onClose
155
+ onClose,
156
+ hideDisabledQueries
148
157
  } = config;
149
158
  this.#client = createSignal(client);
150
159
  this.#queryFlavor = queryFlavor;
@@ -156,6 +165,7 @@ var TanstackQueryDevtoolsPanel = class {
156
165
  this.#position = createSignal(position);
157
166
  this.#initialIsOpen = createSignal(initialIsOpen);
158
167
  this.#errorTypes = createSignal(errorTypes);
168
+ this.#hideDisabledQueries = createSignal(hideDisabledQueries);
159
169
  this.#onClose = createSignal(onClose);
160
170
  }
161
171
  setButtonPosition(position) {
@@ -186,13 +196,14 @@ var TanstackQueryDevtoolsPanel = class {
186
196
  const [pos] = this.#position;
187
197
  const [isOpen] = this.#initialIsOpen;
188
198
  const [errors] = this.#errorTypes;
199
+ const [hideDisabledQueries] = this.#hideDisabledQueries;
189
200
  const [queryClient] = this.#client;
190
201
  const [onClose] = this.#onClose;
191
202
  let Devtools;
192
203
  if (this.#Component) {
193
204
  Devtools = this.#Component;
194
205
  } else {
195
- Devtools = lazy(() => import('./DevtoolsPanelComponent/UT2DTSDK.js'));
206
+ Devtools = lazy(() => import('./DevtoolsPanelComponent/RN252AT2.js'));
196
207
  this.#Component = Devtools;
197
208
  }
198
209
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
@@ -225,6 +236,9 @@ var TanstackQueryDevtoolsPanel = class {
225
236
  get errorTypes() {
226
237
  return errors();
227
238
  },
239
+ get hideDisabledQueries() {
240
+ return hideDisabledQueries();
241
+ },
228
242
  get onClose() {
229
243
  return onClose();
230
244
  }