@tanstack/query-devtools 5.62.16 → 5.65.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
@@ -26,7 +26,7 @@ function nextHydrateContext() {
26
26
  };
27
27
  }
28
28
  function createRoot(fn, detachedOwner) {
29
- const listener = Listener, owner = Owner, unowned = fn.length === 0, current = detachedOwner === void 0 ? owner : detachedOwner, root = unowned ? UNOWNED : {
29
+ const listener = Listener, owner = Owner, unowned = fn.length === 0, current = detachedOwner === undefined ? owner : detachedOwner, root = unowned ? UNOWNED : {
30
30
  owned: null,
31
31
  cleanups: null,
32
32
  context: current ? current.context : null,
@@ -47,7 +47,7 @@ function createSignal(value, options) {
47
47
  value,
48
48
  observers: null,
49
49
  observerSlots: null,
50
- comparator: options.equals || void 0
50
+ comparator: options.equals || undefined
51
51
  };
52
52
  const setter = (value2) => {
53
53
  if (typeof value2 === "function") {
@@ -88,7 +88,7 @@ function createMemo(fn, value, options) {
88
88
  const c2 = createComputation(fn, value, true, 0);
89
89
  c2.observers = null;
90
90
  c2.observerSlots = null;
91
- c2.comparator = options.equals || void 0;
91
+ c2.comparator = options.equals || undefined;
92
92
  if (Scheduler && Transition && Transition.running) {
93
93
  c2.tState = STALE;
94
94
  Updates.push(c2);
@@ -103,7 +103,7 @@ function createResource(pSource, pFetcher, pOptions) {
103
103
  let source;
104
104
  let fetcher;
105
105
  let options;
106
- if (arguments.length === 2 && typeof pFetcher === "object" || arguments.length === 1) {
106
+ if (arguments.length === 1) {
107
107
  source = true;
108
108
  fetcher = pSource;
109
109
  options = {};
@@ -113,7 +113,7 @@ function createResource(pSource, pFetcher, pOptions) {
113
113
  options = {};
114
114
  }
115
115
  let pr = null, initP = NO_INIT, id = null, loadedUnderTransition = false, scheduled = false, resolved = "initialValue" in options, dynamic = typeof source === "function" && createMemo(source);
116
- const contexts = /* @__PURE__ */ new Set(), [value, setValue] = (options.storage || createSignal)(options.initialValue), [error, setError] = createSignal(void 0), [track, trigger] = createSignal(void 0, {
116
+ const contexts = /* @__PURE__ */ new Set(), [value, setValue] = (options.storage || createSignal)(options.initialValue), [error, setError] = createSignal(undefined), [track, trigger] = createSignal(undefined, {
117
117
  equals: false
118
118
  }), [state, setState] = createSignal(resolved ? "ready" : "unresolved");
119
119
  if (sharedConfig.context) {
@@ -126,7 +126,7 @@ function createResource(pSource, pFetcher, pOptions) {
126
126
  function loadEnd(p2, v, error2, key) {
127
127
  if (pr === p2) {
128
128
  pr = null;
129
- key !== void 0 && (resolved = true);
129
+ key !== undefined && (resolved = true);
130
130
  if ((p2 === initP || v === initP) && options.onHydrated)
131
131
  queueMicrotask(
132
132
  () => options.onHydrated(key, {
@@ -159,7 +159,7 @@ function createResource(pSource, pFetcher, pOptions) {
159
159
  }
160
160
  function read() {
161
161
  const c2 = SuspenseContext && useContext(SuspenseContext), v = value(), err = error();
162
- if (err !== void 0 && !pr)
162
+ if (err !== undefined && !pr)
163
163
  throw err;
164
164
  if (Listener && !Listener.user && c2) {
165
165
  createComputed(() => {
@@ -195,15 +195,15 @@ function createResource(pSource, pFetcher, pOptions) {
195
195
  })
196
196
  );
197
197
  if (!isPromise(p2)) {
198
- loadEnd(pr, p2, void 0, lookup);
198
+ loadEnd(pr, p2, undefined, lookup);
199
199
  return p2;
200
200
  }
201
201
  pr = p2;
202
202
  if ("value" in p2) {
203
203
  if (p2.status === "success")
204
- loadEnd(pr, p2.value, void 0, lookup);
204
+ loadEnd(pr, p2.value, undefined, lookup);
205
205
  else
206
- loadEnd(pr, void 0, castError(p2.value), lookup);
206
+ loadEnd(pr, undefined, castError(p2.value), lookup);
207
207
  return p2;
208
208
  }
209
209
  scheduled = true;
@@ -213,8 +213,8 @@ function createResource(pSource, pFetcher, pOptions) {
213
213
  trigger();
214
214
  }, false);
215
215
  return p2.then(
216
- (v) => loadEnd(p2, v, void 0, lookup),
217
- (e2) => loadEnd(p2, void 0, castError(e2), lookup)
216
+ (v) => loadEnd(p2, v, undefined, lookup),
217
+ (e2) => loadEnd(p2, undefined, castError(e2), lookup)
218
218
  );
219
219
  }
220
220
  Object.defineProperties(read, {
@@ -344,7 +344,7 @@ function startTransition(fn) {
344
344
  }
345
345
  runUpdates(fn, false);
346
346
  Listener = Owner = null;
347
- return t2 ? t2.done : void 0;
347
+ return t2 ? t2.done : undefined;
348
348
  });
349
349
  }
350
350
  function useTransition() {
@@ -360,7 +360,7 @@ function createContext(defaultValue, options) {
360
360
  }
361
361
  function useContext(context) {
362
362
  let value;
363
- return Owner && Owner.context && (value = Owner.context[context.id]) !== void 0 ? value : context.defaultValue;
363
+ return Owner && Owner.context && (value = Owner.context[context.id]) !== undefined ? value : context.defaultValue;
364
364
  }
365
365
  function children(fn) {
366
366
  const children2 = createMemo(fn);
@@ -480,7 +480,7 @@ function runComputation(node, value, time) {
480
480
  if (Transition && Transition.running) {
481
481
  node.tState = STALE;
482
482
  node.tOwned && node.tOwned.forEach(cleanNode);
483
- node.tOwned = void 0;
483
+ node.tOwned = undefined;
484
484
  } else {
485
485
  node.state = STALE;
486
486
  node.owned && node.owned.forEach(cleanNode);
@@ -538,7 +538,7 @@ function createComputation(fn, init, pure, state = STALE, options) {
538
538
  }
539
539
  }
540
540
  if (ExternalSourceConfig && c2.fn) {
541
- const [track, trigger] = createSignal(void 0, {
541
+ const [track, trigger] = createSignal(undefined, {
542
542
  equals: false
543
543
  });
544
544
  const ordinary = ExternalSourceConfig.factory(c2.fn, trigger);
@@ -844,7 +844,7 @@ function createProvider(id, options) {
844
844
  };
845
845
  return children(() => props.children);
846
846
  }),
847
- void 0
847
+ undefined
848
848
  );
849
849
  return res;
850
850
  };
@@ -1019,7 +1019,7 @@ function resolveSource(s2) {
1019
1019
  function resolveSources() {
1020
1020
  for (let i2 = 0, length = this.length; i2 < length; ++i2) {
1021
1021
  const v = this[i2]();
1022
- if (v !== void 0)
1022
+ if (v !== undefined)
1023
1023
  return v;
1024
1024
  }
1025
1025
  }
@@ -1036,7 +1036,7 @@ function mergeProps(...sources) {
1036
1036
  get(property) {
1037
1037
  for (let i2 = sources.length - 1; i2 >= 0; i2--) {
1038
1038
  const v = resolveSource(sources[i2])[property];
1039
- if (v !== void 0)
1039
+ if (v !== undefined)
1040
1040
  return v;
1041
1041
  }
1042
1042
  },
@@ -1074,13 +1074,13 @@ function mergeProps(...sources) {
1074
1074
  enumerable: true,
1075
1075
  configurable: true,
1076
1076
  get: resolveSources.bind(sourcesMap[key] = [desc.get.bind(source)])
1077
- } : desc.value !== void 0 ? desc : void 0;
1077
+ } : desc.value !== undefined ? desc : undefined;
1078
1078
  } else {
1079
1079
  const sources2 = sourcesMap[key];
1080
1080
  if (sources2) {
1081
1081
  if (desc.get)
1082
1082
  sources2.push(desc.get.bind(source));
1083
- else if (desc.value !== void 0)
1083
+ else if (desc.value !== undefined)
1084
1084
  sources2.push(() => desc.value);
1085
1085
  }
1086
1086
  }
@@ -1093,7 +1093,7 @@ function mergeProps(...sources) {
1093
1093
  if (desc && desc.get)
1094
1094
  Object.defineProperty(target, key, desc);
1095
1095
  else
1096
- target[key] = desc ? desc.value : void 0;
1096
+ target[key] = desc ? desc.value : undefined;
1097
1097
  }
1098
1098
  return target;
1099
1099
  }
@@ -1104,7 +1104,7 @@ function splitProps(props, ...keys2) {
1104
1104
  return new Proxy(
1105
1105
  {
1106
1106
  get(property) {
1107
- return k.includes(property) ? props[property] : void 0;
1107
+ return k.includes(property) ? props[property] : undefined;
1108
1108
  },
1109
1109
  has(property) {
1110
1110
  return k.includes(property) && property in props;
@@ -1120,7 +1120,7 @@ function splitProps(props, ...keys2) {
1120
1120
  new Proxy(
1121
1121
  {
1122
1122
  get(property) {
1123
- return blocked.has(property) ? void 0 : props[property];
1123
+ return blocked.has(property) ? undefined : props[property];
1124
1124
  },
1125
1125
  has(property) {
1126
1126
  return blocked.has(property) ? false : property in props;
@@ -1200,17 +1200,17 @@ function For(props) {
1200
1200
  const fallback = "fallback" in props && {
1201
1201
  fallback: () => props.fallback
1202
1202
  };
1203
- return createMemo(mapArray(() => props.each, props.children, fallback || void 0));
1203
+ return createMemo(mapArray(() => props.each, props.children, fallback || undefined));
1204
1204
  }
1205
1205
  function Index(props) {
1206
1206
  const fallback = "fallback" in props && {
1207
1207
  fallback: () => props.fallback
1208
1208
  };
1209
- return createMemo(indexArray(() => props.each, props.children, fallback || void 0));
1209
+ return createMemo(indexArray(() => props.each, props.children, fallback || undefined));
1210
1210
  }
1211
1211
  function Show(props) {
1212
1212
  const keyed = props.keyed;
1213
- const condition = createMemo(() => props.when, void 0, {
1213
+ const condition = createMemo(() => props.when, undefined, {
1214
1214
  equals: (a2, b2) => keyed ? a2 === b2 : !a2 === !b2
1215
1215
  });
1216
1216
  return createMemo(
@@ -1231,8 +1231,8 @@ function Show(props) {
1231
1231
  }
1232
1232
  return props.fallback;
1233
1233
  },
1234
- void 0,
1235
- void 0
1234
+ undefined,
1235
+ undefined
1236
1236
  );
1237
1237
  }
1238
1238
  function Switch(props) {
@@ -1252,7 +1252,7 @@ function Switch(props) {
1252
1252
  }
1253
1253
  return [-1];
1254
1254
  },
1255
- void 0,
1255
+ undefined,
1256
1256
  {
1257
1257
  equals
1258
1258
  }
@@ -1274,8 +1274,8 @@ function Switch(props) {
1274
1274
  )
1275
1275
  ) : c2;
1276
1276
  },
1277
- void 0,
1278
- void 0
1277
+ undefined,
1278
+ undefined
1279
1279
  );
1280
1280
  }
1281
1281
  function Match(props) {
@@ -1285,9 +1285,9 @@ var sharedConfig, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR,
1285
1285
  var init_solid = __esm({
1286
1286
  "../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js"() {
1287
1287
  sharedConfig = {
1288
- context: void 0,
1289
- registry: void 0,
1290
- effects: void 0,
1288
+ context: undefined,
1289
+ registry: undefined,
1290
+ effects: undefined,
1291
1291
  done: false,
1292
1292
  getContextId() {
1293
1293
  return getContextId(this.context.count);
@@ -1355,14 +1355,14 @@ var init_solid = __esm({
1355
1355
  };
1356
1356
  counter = 0;
1357
1357
  narrowedError = (name) => `Stale read from <${name}>.`;
1358
- DEV = void 0;
1358
+ DEV = undefined;
1359
1359
  }
1360
1360
  });
1361
1361
 
1362
1362
  // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/web/dist/web.js
1363
1363
  function getPropAlias(prop, tagName) {
1364
1364
  const a2 = PropAliases[prop];
1365
- return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
1365
+ return typeof a2 === "object" ? a2[tagName] ? a2["$"] : undefined : a2;
1366
1366
  }
1367
1367
  function reconcileArrays(parentNode, a2, b2) {
1368
1368
  let bLength = b2.length, aEnd = a2.length, bEnd = bLength, aStart = 0, bStart = 0, after = a2[aEnd - 1].nextSibling, map = null;
@@ -1424,7 +1424,7 @@ function render(code, element, init, options = {}) {
1424
1424
  let disposer;
1425
1425
  createRoot((dispose3) => {
1426
1426
  disposer = dispose3;
1427
- element === document ? code() : insert(element, code(), element.firstChild ? null : void 0, init);
1427
+ element === document ? code() : insert(element, code(), element.firstChild ? null : undefined, init);
1428
1428
  }, options.owner);
1429
1429
  return () => {
1430
1430
  disposer();
@@ -1526,7 +1526,7 @@ function style(node, value, prev) {
1526
1526
  const nodeStyle = node.style;
1527
1527
  if (typeof value === "string")
1528
1528
  return nodeStyle.cssText = value;
1529
- typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
1529
+ typeof prev === "string" && (nodeStyle.cssText = prev = undefined);
1530
1530
  prev || (prev = {});
1531
1531
  value || (value = {});
1532
1532
  let v, s2;
@@ -1558,7 +1558,7 @@ function use(fn, element, arg) {
1558
1558
  return untrack(() => fn(element, arg));
1559
1559
  }
1560
1560
  function insert(parent, accessor, marker, initial) {
1561
- if (marker !== void 0 && !initial)
1561
+ if (marker !== undefined && !initial)
1562
1562
  initial = [];
1563
1563
  if (typeof accessor !== "function")
1564
1564
  return insertExpression(parent, accessor, initial, marker);
@@ -1674,7 +1674,7 @@ function eventHandler(e2) {
1674
1674
  const handler = node[key];
1675
1675
  if (handler && !node.disabled) {
1676
1676
  const data = node[`${key}Data`];
1677
- data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
1677
+ data !== undefined ? handler.call(node, data, e2) : handler.call(node, e2);
1678
1678
  if (e2.cancelBubble)
1679
1679
  return;
1680
1680
  }
@@ -1731,7 +1731,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
1731
1731
  current = current();
1732
1732
  if (value === current)
1733
1733
  return current;
1734
- const t2 = typeof value, multi = marker !== void 0;
1734
+ const t2 = typeof value, multi = marker !== undefined;
1735
1735
  parent = multi && current[0] && current[0].parentNode || parent;
1736
1736
  if (t2 === "string" || t2 === "number") {
1737
1737
  if (hydrating)
@@ -1776,7 +1776,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
1776
1776
  if (hydrating) {
1777
1777
  if (!array.length)
1778
1778
  return current;
1779
- if (marker === void 0)
1779
+ if (marker === undefined)
1780
1780
  return current = [...parent.childNodes];
1781
1781
  let node = array[0];
1782
1782
  if (node.parentNode !== parent)
@@ -1854,7 +1854,7 @@ function appendNodes(parent, array, marker = null) {
1854
1854
  parent.insertBefore(array[i2], marker);
1855
1855
  }
1856
1856
  function cleanChildren(parent, current, marker, replacement) {
1857
- if (marker === void 0)
1857
+ if (marker === undefined)
1858
1858
  return parent.textContent = "";
1859
1859
  const node = replacement || document.createTextNode("");
1860
1860
  if (current.length) {
@@ -1911,7 +1911,7 @@ function Portal(props) {
1911
1911
  onCleanup(() => el.removeChild(container));
1912
1912
  }
1913
1913
  },
1914
- void 0,
1914
+ undefined,
1915
1915
  {
1916
1916
  render: !hydrating
1917
1917
  }
@@ -2235,7 +2235,7 @@ function find(record, predicate) {
2235
2235
  return value;
2236
2236
  }
2237
2237
  }
2238
- return void 0;
2238
+ return undefined;
2239
2239
  }
2240
2240
  function forEach(record, run) {
2241
2241
  Object.entries(record).forEach(([key, value]) => run(value, key));
@@ -2250,7 +2250,7 @@ function findArr(record, predicate) {
2250
2250
  return value;
2251
2251
  }
2252
2252
  }
2253
- return void 0;
2253
+ return undefined;
2254
2254
  }
2255
2255
  var init_util = __esm({
2256
2256
  "../../node_modules/.pnpm/superjson@2.2.1/node_modules/superjson/dist/util.js"() {
@@ -2377,7 +2377,7 @@ var init_transformer = __esm({
2377
2377
  init_is();
2378
2378
  init_util();
2379
2379
  simpleRules = [
2380
- simpleTransformation(isUndefined, "undefined", () => null, () => void 0),
2380
+ simpleTransformation(isUndefined, "undefined", () => null, () => undefined),
2381
2381
  simpleTransformation(isBigint, "bigint", (v) => v.toString(), (v) => {
2382
2382
  if (typeof BigInt !== "undefined") {
2383
2383
  return BigInt(v);
@@ -2520,7 +2520,7 @@ var init_transformer = __esm({
2520
2520
  type: applicableSimpleRule.annotation
2521
2521
  };
2522
2522
  }
2523
- return void 0;
2523
+ return undefined;
2524
2524
  };
2525
2525
  simpleRulesByAnnotation = {};
2526
2526
  simpleRules.forEach((rule) => {
@@ -2725,7 +2725,7 @@ function addIdentity(object, path, identities) {
2725
2725
  }
2726
2726
  function generateReferentialEqualityAnnotations(identitites, dedupe) {
2727
2727
  const result = {};
2728
- let rootEqualityPaths = void 0;
2728
+ let rootEqualityPaths = undefined;
2729
2729
  identitites.forEach((paths) => {
2730
2730
  if (paths.length <= 1) {
2731
2731
  return;
@@ -2747,7 +2747,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
2747
2747
  return [rootEqualityPaths, result];
2748
2748
  }
2749
2749
  } else {
2750
- return isEmptyObject(result) ? void 0 : result;
2750
+ return isEmptyObject(result) ? undefined : result;
2751
2751
  }
2752
2752
  }
2753
2753
  var isDeep, walker;
@@ -2809,7 +2809,7 @@ var init_plainer = __esm({
2809
2809
  });
2810
2810
  const result = isEmptyObject(innerAnnotations) ? {
2811
2811
  transformedValue,
2812
- annotations: !!transformationResult ? [transformationResult.type] : void 0
2812
+ annotations: !!transformationResult ? [transformationResult.type] : undefined
2813
2813
  } : {
2814
2814
  transformedValue,
2815
2815
  annotations: !!transformationResult ? [transformationResult.type, innerAnnotations] : innerAnnotations
@@ -3005,7 +3005,7 @@ var init_utils = __esm({
3005
3005
  const {
3006
3006
  json
3007
3007
  } = serialize(value);
3008
- return JSON.stringify(json, null, beautify ? 2 : void 0);
3008
+ return JSON.stringify(json, null, beautify ? 2 : undefined);
3009
3009
  };
3010
3010
  getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
3011
3011
  queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
@@ -3197,7 +3197,7 @@ var init_R5675YMU = __esm({
3197
3197
  init_web();
3198
3198
  isClient = !isServer;
3199
3199
  isDev = isClient && !!DEV;
3200
- noop = () => void 0;
3200
+ noop = () => undefined;
3201
3201
  isNonNullable = (i2) => i2 != null;
3202
3202
  filterNonNullable = (arr) => arr.filter(isNonNullable);
3203
3203
  access = (v) => typeof v === "function" && !v.length ? v() : v;
@@ -3231,7 +3231,7 @@ function createStorage(props) {
3231
3231
  get(_, key) {
3232
3232
  let node = signals.get(key);
3233
3233
  if (!node) {
3234
- node = createSignal(void 0, { equals: false });
3234
+ node = createSignal(undefined, { equals: false });
3235
3235
  signals.set(key, node);
3236
3236
  }
3237
3237
  node[0]();
@@ -4136,7 +4136,7 @@ function createListTransition(source, options) {
4136
4136
  return () => copy2;
4137
4137
  }
4138
4138
  const { onChange } = options;
4139
- let prevSet = new Set(options.appear ? void 0 : initSource);
4139
+ let prevSet = new Set(options.appear ? undefined : initSource);
4140
4140
  const exiting = /* @__PURE__ */ new WeakSet();
4141
4141
  const [toRemove, setToRemove] = createSignal([], { equals: false });
4142
4142
  const [isTransitionPending] = useTransition();
@@ -4465,7 +4465,7 @@ function Key(props) {
4465
4465
  () => props.each,
4466
4466
  typeof by === "function" ? by : (v) => v[by],
4467
4467
  props.children,
4468
- "fallback" in props ? { fallback: () => props.fallback } : void 0
4468
+ "fallback" in props ? { fallback: () => props.fallback } : undefined
4469
4469
  )
4470
4470
  );
4471
4471
  }
@@ -4786,7 +4786,7 @@ function getFocusableTreeWalker(root, opts, scope) {
4786
4786
  if (opts?.from?.contains(node)) {
4787
4787
  return NodeFilter.FILTER_REJECT;
4788
4788
  }
4789
- if (node.matches(selector) && isElementVisible(node) && (!scope) && (!opts?.accept || opts.accept(node))) {
4789
+ if (node.matches(selector) && isElementVisible(node) && (true) && (!opts?.accept || opts.accept(node))) {
4790
4790
  return NodeFilter.FILTER_ACCEPT;
4791
4791
  }
4792
4792
  return NodeFilter.FILTER_SKIP;
@@ -5024,7 +5024,7 @@ var init_dist12 = __esm({
5024
5024
  function createRegisterId(setter) {
5025
5025
  return (id) => {
5026
5026
  setter(id);
5027
- return () => setter(void 0);
5027
+ return () => setter(undefined);
5028
5028
  };
5029
5029
  }
5030
5030
  var init_E4R2EMM4 = __esm({
@@ -5041,7 +5041,7 @@ function createTagName(ref, fallback) {
5041
5041
  return tagName;
5042
5042
  }
5043
5043
  function stringOrUndefined(value) {
5044
- return isString2(value) ? value : void 0;
5044
+ return isString2(value) ? value : undefined;
5045
5045
  }
5046
5046
  var init_ET5T45DO = __esm({
5047
5047
  "../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
@@ -5088,8 +5088,8 @@ function createFormControl(props) {
5088
5088
  fieldAriaLabelledBy,
5089
5089
  labelId(),
5090
5090
  // If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
5091
- hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
5092
- ].filter(Boolean).join(" ") || void 0;
5091
+ hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : undefined
5092
+ ].filter(Boolean).join(" ") || undefined;
5093
5093
  };
5094
5094
  const getAriaDescribedBy = (fieldAriaDescribedBy) => {
5095
5095
  return [
@@ -5098,14 +5098,14 @@ function createFormControl(props) {
5098
5098
  // See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
5099
5099
  errorMessageId(),
5100
5100
  fieldAriaDescribedBy
5101
- ].filter(Boolean).join(" ") || void 0;
5101
+ ].filter(Boolean).join(" ") || undefined;
5102
5102
  };
5103
5103
  const dataset = createMemo(() => ({
5104
- "data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
5105
- "data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
5106
- "data-required": access(mergedProps.required) ? "" : void 0,
5107
- "data-disabled": access(mergedProps.disabled) ? "" : void 0,
5108
- "data-readonly": access(mergedProps.readOnly) ? "" : void 0
5104
+ "data-valid": access(mergedProps.validationState) === "valid" ? "" : undefined,
5105
+ "data-invalid": access(mergedProps.validationState) === "invalid" ? "" : undefined,
5106
+ "data-required": access(mergedProps.required) ? "" : undefined,
5107
+ "data-disabled": access(mergedProps.disabled) ? "" : undefined,
5108
+ "data-readonly": access(mergedProps.readOnly) ? "" : undefined
5109
5109
  }));
5110
5110
  const formControlContext = {
5111
5111
  name: () => access(mergedProps.name) ?? access(mergedProps.id),
@@ -5132,7 +5132,7 @@ function createFormControl(props) {
5132
5132
  }
5133
5133
  function useFormControlContext() {
5134
5134
  const context = useContext(FormControlContext);
5135
- if (context === void 0) {
5135
+ if (context === undefined) {
5136
5136
  throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
5137
5137
  }
5138
5138
  return context;
@@ -5187,7 +5187,7 @@ function FormControlLabel(props) {
5187
5187
  typeof _ref$ === "function" && _ref$(r$);
5188
5188
  },
5189
5189
  get ["for"]() {
5190
- return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
5190
+ return createMemo(() => tagName() === "label")() ? context.fieldId() : undefined;
5191
5191
  }
5192
5192
  }, () => context.dataset(), others));
5193
5193
  }
@@ -5238,7 +5238,7 @@ var init_ANN3A2QM = __esm({
5238
5238
  // ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
5239
5239
  function createControllableSignal(props) {
5240
5240
  const [_value, _setValue] = createSignal(props.defaultValue?.());
5241
- const isControlled = createMemo(() => props.value?.() !== void 0);
5241
+ const isControlled = createMemo(() => props.value?.() !== undefined);
5242
5242
  const value = createMemo(() => isControlled() ? props.value?.() : _value());
5243
5243
  const setValue = (next) => {
5244
5244
  untrack(() => {
@@ -5319,7 +5319,7 @@ function useOptionalDomCollectionContext() {
5319
5319
  }
5320
5320
  function useDomCollectionContext() {
5321
5321
  const context = useOptionalDomCollectionContext();
5322
- if (context === void 0) {
5322
+ if (context === undefined) {
5323
5323
  throw new Error(
5324
5324
  "[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
5325
5325
  );
@@ -5515,7 +5515,7 @@ function buildNodes(params) {
5515
5515
  };
5516
5516
  const getSectionChildren = (data) => {
5517
5517
  if (data == null) {
5518
- return void 0;
5518
+ return undefined;
5519
5519
  }
5520
5520
  if (isString2(params.getSectionChildren)) {
5521
5521
  return data[params.getSectionChildren];
@@ -5660,7 +5660,7 @@ function useLocale() {
5660
5660
  function createCollator(options) {
5661
5661
  const { locale } = useLocale();
5662
5662
  const cacheKey = createMemo(() => {
5663
- return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
5663
+ return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
5664
5664
  });
5665
5665
  return createMemo(() => {
5666
5666
  const key = cacheKey();
@@ -5867,7 +5867,7 @@ function createSelectableCollection(props, ref, scrollRef) {
5867
5867
  const { direction } = useLocale();
5868
5868
  let scrollPos = { top: 0, left: 0 };
5869
5869
  createEventListener(
5870
- () => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
5870
+ () => !access(mergedProps.isVirtualized) ? finalScrollRef() : undefined,
5871
5871
  "scroll",
5872
5872
  () => {
5873
5873
  const scrollEl = finalScrollRef();
@@ -6171,7 +6171,7 @@ function createSelectableCollection(props, ref, scrollRef) {
6171
6171
  );
6172
6172
  const tabIndex = createMemo(() => {
6173
6173
  if (access(mergedProps.shouldUseVirtualFocus)) {
6174
- return void 0;
6174
+ return undefined;
6175
6175
  }
6176
6176
  return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
6177
6177
  });
@@ -6260,12 +6260,12 @@ function createSelectableItem(props, ref) {
6260
6260
  };
6261
6261
  const tabIndex = createMemo(() => {
6262
6262
  if (shouldUseVirtualFocus() || isDisabled()) {
6263
- return void 0;
6263
+ return undefined;
6264
6264
  }
6265
6265
  return key() === manager().focusedKey() ? 0 : -1;
6266
6266
  });
6267
6267
  const dataKey = createMemo(() => {
6268
- return access(props.virtualized) ? void 0 : key();
6268
+ return access(props.virtualized) ? undefined : key();
6269
6269
  });
6270
6270
  createEffect(
6271
6271
  on(
@@ -6321,7 +6321,7 @@ function createListState(props) {
6321
6321
  createComputed(() => {
6322
6322
  const focusedKey = selectionState.focusedKey();
6323
6323
  if (focusedKey != null && !collection().getItem(focusedKey)) {
6324
- selectionState.setFocusedKey(void 0);
6324
+ selectionState.setFocusedKey(undefined);
6325
6325
  }
6326
6326
  });
6327
6327
  return {
@@ -6675,13 +6675,13 @@ var init_H6DSIDEC = __esm({
6675
6675
  node.prevKey = last.key;
6676
6676
  } else {
6677
6677
  this.firstKey = key;
6678
- node.prevKey = void 0;
6678
+ node.prevKey = undefined;
6679
6679
  }
6680
6680
  if (node.type === "item") {
6681
6681
  node.index = index++;
6682
6682
  }
6683
6683
  last = node;
6684
- last.nextKey = void 0;
6684
+ last.nextKey = undefined;
6685
6685
  }
6686
6686
  this.lastKey = last.key;
6687
6687
  }
@@ -6932,22 +6932,22 @@ function ButtonRoot(props) {
6932
6932
  typeof _ref$ === "function" && _ref$(r$);
6933
6933
  },
6934
6934
  get type() {
6935
- return isNativeButton() || isNativeInput() ? local.type : void 0;
6935
+ return isNativeButton() || isNativeInput() ? local.type : undefined;
6936
6936
  },
6937
6937
  get role() {
6938
- return !isNativeButton() && !isNativeLink() ? "button" : void 0;
6938
+ return !isNativeButton() && !isNativeLink() ? "button" : undefined;
6939
6939
  },
6940
6940
  get tabIndex() {
6941
- return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
6941
+ return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : undefined;
6942
6942
  },
6943
6943
  get disabled() {
6944
- return isNativeButton() || isNativeInput() ? local.disabled : void 0;
6944
+ return isNativeButton() || isNativeInput() ? local.disabled : undefined;
6945
6945
  },
6946
6946
  get ["aria-disabled"]() {
6947
- return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
6947
+ return !isNativeButton() && !isNativeInput() && local.disabled ? true : undefined;
6948
6948
  },
6949
6949
  get ["data-disabled"]() {
6950
- return local.disabled ? "" : void 0;
6950
+ return local.disabled ? "" : undefined;
6951
6951
  }
6952
6952
  }, others));
6953
6953
  }
@@ -7003,7 +7003,7 @@ function getAlignmentAxis(placement) {
7003
7003
  return getOppositeAxis(getSideAxis(placement));
7004
7004
  }
7005
7005
  function getAlignmentSides(placement, rects, rtl) {
7006
- if (rtl === void 0) {
7006
+ if (rtl === undefined) {
7007
7007
  rtl = false;
7008
7008
  }
7009
7009
  const alignment = getAlignment(placement);
@@ -7172,7 +7172,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
7172
7172
  }
7173
7173
  async function detectOverflow(state, options) {
7174
7174
  var _await$platform$isEle;
7175
- if (options === void 0) {
7175
+ if (options === undefined) {
7176
7176
  options = {};
7177
7177
  }
7178
7178
  const {
@@ -7194,7 +7194,7 @@ async function detectOverflow(state, options) {
7194
7194
  const altContext = elementContext === "floating" ? "reference" : "floating";
7195
7195
  const element = elements[altBoundary ? altContext : elementContext];
7196
7196
  const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
7197
- element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
7197
+ element: ((_await$platform$isEle = await (platform2.isElement == null ? undefined : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? undefined : platform2.getDocumentElement(elements.floating)),
7198
7198
  boundary,
7199
7199
  rootBoundary,
7200
7200
  strategy
@@ -7205,8 +7205,8 @@ async function detectOverflow(state, options) {
7205
7205
  width: rects.floating.width,
7206
7206
  height: rects.floating.height
7207
7207
  } : rects.reference;
7208
- const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
7209
- const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
7208
+ const offsetParent = await (platform2.getOffsetParent == null ? undefined : platform2.getOffsetParent(elements.floating));
7209
+ const offsetScale = await (platform2.isElement == null ? undefined : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? undefined : platform2.getScale(offsetParent)) || {
7210
7210
  x: 1,
7211
7211
  y: 1
7212
7212
  } : {
@@ -7243,7 +7243,7 @@ async function convertValueToCoords(state, options) {
7243
7243
  platform: platform2,
7244
7244
  elements
7245
7245
  } = state;
7246
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
7246
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating));
7247
7247
  const side = getSide(placement);
7248
7248
  const alignment = getAlignment(placement);
7249
7249
  const isVertical = getSideAxis(placement) === "y";
@@ -7288,7 +7288,7 @@ var init_floating_ui_core = __esm({
7288
7288
  platform: platform2
7289
7289
  } = config;
7290
7290
  const validMiddleware = middleware.filter(Boolean);
7291
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
7291
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(floating));
7292
7292
  let rects = await platform2.getElementRects({
7293
7293
  reference,
7294
7294
  floating,
@@ -7397,9 +7397,9 @@ var init_floating_ui_core = __esm({
7397
7397
  const clientProp = isYAxis ? "clientHeight" : "clientWidth";
7398
7398
  const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
7399
7399
  const startDiff = coords[axis] - rects.reference[axis];
7400
- const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
7400
+ const arrowOffsetParent = await (platform2.getOffsetParent == null ? undefined : platform2.getOffsetParent(element));
7401
7401
  let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
7402
- if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
7402
+ if (!clientSize || !await (platform2.isElement == null ? undefined : platform2.isElement(arrowOffsetParent))) {
7403
7403
  clientSize = elements.floating[clientProp] || rects.floating[length];
7404
7404
  }
7405
7405
  const centerToReference = endDiff / 2 - startDiff / 2;
@@ -7426,7 +7426,7 @@ var init_floating_ui_core = __esm({
7426
7426
  }
7427
7427
  });
7428
7428
  flip = function(options) {
7429
- if (options === void 0) {
7429
+ if (options === undefined) {
7430
7430
  options = {};
7431
7431
  }
7432
7432
  return {
@@ -7457,7 +7457,7 @@ var init_floating_ui_core = __esm({
7457
7457
  const side = getSide(placement);
7458
7458
  const initialSideAxis = getSideAxis(initialPlacement);
7459
7459
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
7460
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
7460
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating));
7461
7461
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
7462
7462
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
7463
7463
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
@@ -7466,7 +7466,7 @@ var init_floating_ui_core = __esm({
7466
7466
  const placements2 = [initialPlacement, ...fallbackPlacements];
7467
7467
  const overflow = await detectOverflow(state, detectOverflowOptions);
7468
7468
  const overflows = [];
7469
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
7469
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
7470
7470
  if (checkMainAxis) {
7471
7471
  overflows.push(overflow[side]);
7472
7472
  }
@@ -7480,7 +7480,7 @@ var init_floating_ui_core = __esm({
7480
7480
  }];
7481
7481
  if (!overflows.every((side2) => side2 <= 0)) {
7482
7482
  var _middlewareData$flip2, _overflowsData$filter;
7483
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
7483
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
7484
7484
  const nextPlacement = placements2[nextIndex];
7485
7485
  if (nextPlacement) {
7486
7486
  return {
@@ -7493,7 +7493,7 @@ var init_floating_ui_core = __esm({
7493
7493
  }
7494
7494
  };
7495
7495
  }
7496
- let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
7496
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
7497
7497
  if (!resetPlacement) {
7498
7498
  switch (fallbackStrategy) {
7499
7499
  case "bestFit": {
@@ -7506,7 +7506,7 @@ var init_floating_ui_core = __esm({
7506
7506
  currentSideAxis === "y";
7507
7507
  }
7508
7508
  return true;
7509
- }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
7509
+ }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? undefined : _overflowsData$filter2[0];
7510
7510
  if (placement2) {
7511
7511
  resetPlacement = placement2;
7512
7512
  }
@@ -7530,7 +7530,7 @@ var init_floating_ui_core = __esm({
7530
7530
  };
7531
7531
  };
7532
7532
  hide = function(options) {
7533
- if (options === void 0) {
7533
+ if (options === undefined) {
7534
7534
  options = {};
7535
7535
  }
7536
7536
  return {
@@ -7579,7 +7579,7 @@ var init_floating_ui_core = __esm({
7579
7579
  };
7580
7580
  };
7581
7581
  offset = function(options) {
7582
- if (options === void 0) {
7582
+ if (options === undefined) {
7583
7583
  options = 0;
7584
7584
  }
7585
7585
  return {
@@ -7594,7 +7594,7 @@ var init_floating_ui_core = __esm({
7594
7594
  middlewareData
7595
7595
  } = state;
7596
7596
  const diffCoords = await convertValueToCoords(state, options);
7597
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
7597
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
7598
7598
  return {};
7599
7599
  }
7600
7600
  return {
@@ -7609,7 +7609,7 @@ var init_floating_ui_core = __esm({
7609
7609
  };
7610
7610
  };
7611
7611
  shift = function(options) {
7612
- if (options === void 0) {
7612
+ if (options === undefined) {
7613
7613
  options = {};
7614
7614
  }
7615
7615
  return {
@@ -7677,7 +7677,7 @@ var init_floating_ui_core = __esm({
7677
7677
  };
7678
7678
  };
7679
7679
  size = function(options) {
7680
- if (options === void 0) {
7680
+ if (options === undefined) {
7681
7681
  options = {};
7682
7682
  }
7683
7683
  return {
@@ -7707,7 +7707,7 @@ var init_floating_ui_core = __esm({
7707
7707
  let widthSide;
7708
7708
  if (side === "top" || side === "bottom") {
7709
7709
  heightSide = side;
7710
- widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
7710
+ widthSide = alignment === (await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
7711
7711
  } else {
7712
7712
  widthSide = side;
7713
7713
  heightSide = alignment === "end" ? "top" : "bottom";
@@ -7764,11 +7764,11 @@ function getNodeName(node) {
7764
7764
  }
7765
7765
  function getWindow2(node) {
7766
7766
  var _node$ownerDocument;
7767
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
7767
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
7768
7768
  }
7769
7769
  function getDocumentElement(node) {
7770
7770
  var _ref;
7771
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
7771
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
7772
7772
  }
7773
7773
  function isNode(value) {
7774
7774
  return value instanceof Node || value instanceof getWindow2(value).Node;
@@ -7871,14 +7871,14 @@ function getNearestOverflowAncestor(node) {
7871
7871
  }
7872
7872
  function getOverflowAncestors(node, list, traverseIframes) {
7873
7873
  var _node$ownerDocument2;
7874
- if (list === void 0) {
7874
+ if (list === undefined) {
7875
7875
  list = [];
7876
7876
  }
7877
- if (traverseIframes === void 0) {
7877
+ if (traverseIframes === undefined) {
7878
7878
  traverseIframes = true;
7879
7879
  }
7880
7880
  const scrollableAncestor = getNearestOverflowAncestor(node);
7881
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
7881
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
7882
7882
  const win = getWindow2(scrollableAncestor);
7883
7883
  if (isBody) {
7884
7884
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
@@ -7947,7 +7947,7 @@ function getVisualOffsets(element) {
7947
7947
  };
7948
7948
  }
7949
7949
  function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
7950
- if (isFixed === void 0) {
7950
+ if (isFixed === undefined) {
7951
7951
  isFixed = false;
7952
7952
  }
7953
7953
  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
@@ -7956,10 +7956,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
7956
7956
  return isFixed;
7957
7957
  }
7958
7958
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
7959
- if (includeScale === void 0) {
7959
+ if (includeScale === undefined) {
7960
7960
  includeScale = false;
7961
7961
  }
7962
- if (isFixedStrategy === void 0) {
7962
+ if (isFixedStrategy === undefined) {
7963
7963
  isFixedStrategy = false;
7964
7964
  }
7965
7965
  const clientRect = element.getBoundingClientRect();
@@ -8276,10 +8276,10 @@ function observeMove(element, onMove) {
8276
8276
  io = null;
8277
8277
  }
8278
8278
  function refresh(skip, threshold) {
8279
- if (skip === void 0) {
8279
+ if (skip === undefined) {
8280
8280
  skip = false;
8281
8281
  }
8282
- if (threshold === void 0) {
8282
+ if (threshold === undefined) {
8283
8283
  threshold = 1;
8284
8284
  }
8285
8285
  cleanup();
@@ -8336,7 +8336,7 @@ function observeMove(element, onMove) {
8336
8336
  return cleanup;
8337
8337
  }
8338
8338
  function autoUpdate(reference, floating, update, options) {
8339
- if (options === void 0) {
8339
+ if (options === undefined) {
8340
8340
  options = {};
8341
8341
  }
8342
8342
  const {
@@ -8463,7 +8463,7 @@ var init_floating_ui_dom = __esm({
8463
8463
  // ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
8464
8464
  function usePopperContext() {
8465
8465
  const context = useContext(PopperContext);
8466
- if (context === void 0) {
8466
+ if (context === undefined) {
8467
8467
  throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
8468
8468
  }
8469
8469
  return context;
@@ -8633,14 +8633,14 @@ function PopperRoot(props) {
8633
8633
  const hasAlignment = !!placement.split("-")[1];
8634
8634
  return {
8635
8635
  mainAxis: finalGutter,
8636
- crossAxis: !hasAlignment ? mergedProps.shift : void 0,
8636
+ crossAxis: !hasAlignment ? mergedProps.shift : undefined,
8637
8637
  alignmentAxis: mergedProps.shift
8638
8638
  };
8639
8639
  })
8640
8640
  ];
8641
8641
  if (mergedProps.flip !== false) {
8642
- const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
8643
- if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
8642
+ const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : undefined;
8643
+ if (fallbackPlacements !== undefined && !fallbackPlacements.every(isValidPlacement)) {
8644
8644
  throw new Error("`flip` expects a spaced-delimited list of placements");
8645
8645
  }
8646
8646
  middleware.push(flip2({
@@ -9103,14 +9103,14 @@ var init_LCANGHD = __esm({
9103
9103
  // ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
9104
9104
  function useRadioGroupContext() {
9105
9105
  const context = useContext(RadioGroupContext);
9106
- if (context === void 0) {
9106
+ if (context === undefined) {
9107
9107
  throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
9108
9108
  }
9109
9109
  return context;
9110
9110
  }
9111
9111
  function useRadioGroupItemContext() {
9112
9112
  const context = useContext(RadioGroupItemContext);
9113
- if (context === void 0) {
9113
+ if (context === undefined) {
9114
9114
  throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
9115
9115
  }
9116
9116
  return context;
@@ -9142,8 +9142,8 @@ function RadioGroupItem(props) {
9142
9142
  };
9143
9143
  const dataset = createMemo(() => ({
9144
9144
  ...formControlContext.dataset(),
9145
- "data-disabled": isDisabled() ? "" : void 0,
9146
- "data-checked": isSelected() ? "" : void 0
9145
+ "data-disabled": isDisabled() ? "" : undefined,
9146
+ "data-checked": isSelected() ? "" : undefined
9147
9147
  }));
9148
9148
  const context = {
9149
9149
  value: () => local.value,
@@ -9248,11 +9248,11 @@ function RadioGroupItemInput(props) {
9248
9248
  local["aria-labelledby"],
9249
9249
  radioContext.labelId(),
9250
9250
  // If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
9251
- local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
9252
- ].filter(Boolean).join(" ") || void 0;
9251
+ local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : undefined
9252
+ ].filter(Boolean).join(" ") || undefined;
9253
9253
  };
9254
9254
  const ariaDescribedBy = () => {
9255
- return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
9255
+ return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || undefined;
9256
9256
  };
9257
9257
  const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
9258
9258
  const onChange = (e2) => {
@@ -9407,16 +9407,16 @@ function RadioGroupRoot(props) {
9407
9407
  return access(formControlProps.id);
9408
9408
  },
9409
9409
  get ["aria-invalid"]() {
9410
- return formControlContext.validationState() === "invalid" || void 0;
9410
+ return formControlContext.validationState() === "invalid" || undefined;
9411
9411
  },
9412
9412
  get ["aria-required"]() {
9413
- return formControlContext.isRequired() || void 0;
9413
+ return formControlContext.isRequired() || undefined;
9414
9414
  },
9415
9415
  get ["aria-disabled"]() {
9416
- return formControlContext.isDisabled() || void 0;
9416
+ return formControlContext.isDisabled() || undefined;
9417
9417
  },
9418
9418
  get ["aria-readonly"]() {
9419
- return formControlContext.isReadOnly() || void 0;
9419
+ return formControlContext.isReadOnly() || undefined;
9420
9420
  },
9421
9421
  get ["aria-orientation"]() {
9422
9422
  return local.orientation;
@@ -10240,7 +10240,7 @@ var init_dist14 = __esm({
10240
10240
  const [availableScroll, availableScrollTop] = getScrollAtLocation(
10241
10241
  target,
10242
10242
  axis,
10243
- targetInWrapper ? wrapper : void 0
10243
+ targetInWrapper ? wrapper : undefined
10244
10244
  );
10245
10245
  if (delta > 0 && Math.abs(availableScroll) <= 1) {
10246
10246
  return false;
@@ -10272,21 +10272,21 @@ function useOptionalMenuContext() {
10272
10272
  }
10273
10273
  function useMenuContext() {
10274
10274
  const context = useOptionalMenuContext();
10275
- if (context === void 0) {
10275
+ if (context === undefined) {
10276
10276
  throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
10277
10277
  }
10278
10278
  return context;
10279
10279
  }
10280
10280
  function useMenuItemContext() {
10281
10281
  const context = useContext(MenuItemContext);
10282
- if (context === void 0) {
10282
+ if (context === undefined) {
10283
10283
  throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
10284
10284
  }
10285
10285
  return context;
10286
10286
  }
10287
10287
  function useMenuRootContext() {
10288
10288
  const context = useContext(MenuRootContext);
10289
- if (context === void 0) {
10289
+ if (context === undefined) {
10290
10290
  throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
10291
10291
  }
10292
10292
  return context;
@@ -10378,15 +10378,15 @@ function MenuItemBase(props) {
10378
10378
  return "mixed";
10379
10379
  }
10380
10380
  if (local.checked == null) {
10381
- return void 0;
10381
+ return undefined;
10382
10382
  }
10383
10383
  return local.checked;
10384
10384
  });
10385
10385
  const dataset = createMemo(() => ({
10386
- "data-indeterminate": local.indeterminate ? "" : void 0,
10387
- "data-checked": local.checked && !local.indeterminate ? "" : void 0,
10388
- "data-disabled": local.disabled ? "" : void 0,
10389
- "data-highlighted": isHighlighted() ? "" : void 0
10386
+ "data-indeterminate": local.indeterminate ? "" : undefined,
10387
+ "data-checked": local.checked && !local.indeterminate ? "" : undefined,
10388
+ "data-disabled": local.disabled ? "" : undefined,
10389
+ "data-highlighted": isHighlighted() ? "" : undefined
10390
10390
  }));
10391
10391
  const context = {
10392
10392
  isChecked: () => local.checked,
@@ -10485,9 +10485,9 @@ function MenuTrigger(props) {
10485
10485
  }, props);
10486
10486
  const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
10487
10487
  let key = () => rootContext.value();
10488
- if (optionalMenubarContext !== void 0) {
10488
+ if (optionalMenubarContext !== undefined) {
10489
10489
  key = () => rootContext.value() ?? local.id;
10490
- if (optionalMenubarContext.lastValue() === void 0)
10490
+ if (optionalMenubarContext.lastValue() === undefined)
10491
10491
  optionalMenubarContext.setLastValue(key);
10492
10492
  }
10493
10493
  const tagName = createTagName(() => context.triggerRef(), () => "button");
@@ -10501,7 +10501,7 @@ function MenuTrigger(props) {
10501
10501
  context.triggerRef()?.focus();
10502
10502
  }));
10503
10503
  const handleClick = () => {
10504
- if (optionalMenubarContext !== void 0) {
10504
+ if (optionalMenubarContext !== undefined) {
10505
10505
  if (!context.isOpen()) {
10506
10506
  if (!optionalMenubarContext.autoFocusMenu()) {
10507
10507
  optionalMenubarContext.setAutoFocusMenu(true);
@@ -10557,14 +10557,14 @@ function MenuTrigger(props) {
10557
10557
  context.open("last");
10558
10558
  break;
10559
10559
  case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
10560
- if (optionalMenubarContext === void 0)
10560
+ if (optionalMenubarContext === undefined)
10561
10561
  break;
10562
10562
  e2.stopPropagation();
10563
10563
  e2.preventDefault();
10564
10564
  optionalMenubarContext.nextMenu();
10565
10565
  break;
10566
10566
  case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
10567
- if (optionalMenubarContext === void 0)
10567
+ if (optionalMenubarContext === undefined)
10568
10568
  break;
10569
10569
  e2.stopPropagation();
10570
10570
  e2.preventDefault();
@@ -10576,13 +10576,13 @@ function MenuTrigger(props) {
10576
10576
  callHandler(e2, local.onMouseOver);
10577
10577
  if (context.triggerRef()?.dataset.pointerType === "touch")
10578
10578
  return;
10579
- if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
10579
+ if (!local.disabled && optionalMenubarContext !== undefined && optionalMenubarContext.value() !== undefined) {
10580
10580
  optionalMenubarContext.setValue(key);
10581
10581
  }
10582
10582
  };
10583
10583
  const onFocus = (e2) => {
10584
10584
  callHandler(e2, local.onFocus);
10585
- if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
10585
+ if (optionalMenubarContext !== undefined && e2.currentTarget.dataset.pointerType !== "touch")
10586
10586
  optionalMenubarContext.setValue(key);
10587
10587
  };
10588
10588
  createEffect(() => onCleanup(context.registerTriggerId(local.id)));
@@ -10605,20 +10605,20 @@ function MenuTrigger(props) {
10605
10605
  return context.isOpen();
10606
10606
  },
10607
10607
  get ["aria-controls"]() {
10608
- return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
10608
+ return createMemo(() => !!context.isOpen())() ? context.contentId() : undefined;
10609
10609
  },
10610
10610
  get ["data-highlighted"]() {
10611
- return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
10611
+ return key() !== undefined && optionalMenubarContext?.value() === key() ? true : undefined;
10612
10612
  },
10613
10613
  get tabIndex() {
10614
- return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
10614
+ return optionalMenubarContext !== undefined ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : undefined;
10615
10615
  },
10616
10616
  onPointerDown,
10617
10617
  onMouseOver,
10618
10618
  onClick,
10619
10619
  onKeyDown,
10620
10620
  onFocus,
10621
- role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
10621
+ role: optionalMenubarContext !== undefined ? "menuitem" : undefined
10622
10622
  }, () => context.dataset(), others));
10623
10623
  }
10624
10624
  function useOptionalNavigationMenuContext() {
@@ -10639,7 +10639,7 @@ function MenuContentBase(props) {
10639
10639
  const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
10640
10640
  let lastPointerX = 0;
10641
10641
  const isRootModalContent = () => {
10642
- return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
10642
+ return context.parentMenuContext() == null && optionalMenubarContext === undefined && rootContext.isModal();
10643
10643
  };
10644
10644
  const selectableList = createSelectableList({
10645
10645
  selectionManager: context.listState().selectionManager,
@@ -10654,7 +10654,7 @@ function MenuContentBase(props) {
10654
10654
  createFocusScope({
10655
10655
  trapFocus: () => isRootModalContent() && context.isOpen(),
10656
10656
  onMountAutoFocus: (event) => {
10657
- if (optionalMenubarContext === void 0)
10657
+ if (optionalMenubarContext === undefined)
10658
10658
  local.onOpenAutoFocus?.(event);
10659
10659
  },
10660
10660
  onUnmountAutoFocus: local.onCloseAutoFocus
@@ -10666,7 +10666,7 @@ function MenuContentBase(props) {
10666
10666
  if (e2.key === "Tab" && context.isOpen()) {
10667
10667
  e2.preventDefault();
10668
10668
  }
10669
- if (optionalMenubarContext !== void 0) {
10669
+ if (optionalMenubarContext !== undefined) {
10670
10670
  if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
10671
10671
  switch (e2.key) {
10672
10672
  case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
@@ -10705,7 +10705,7 @@ function MenuContentBase(props) {
10705
10705
  return;
10706
10706
  }
10707
10707
  context.parentMenuContext()?.listState().selectionManager().setFocused(false);
10708
- context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
10708
+ context.parentMenuContext()?.listState().selectionManager().setFocusedKey(undefined);
10709
10709
  };
10710
10710
  const onPointerMove = (e2) => {
10711
10711
  callHandler(e2, local.onPointerMove);
@@ -10752,7 +10752,7 @@ function MenuContentBase(props) {
10752
10752
  get children() {
10753
10753
  return createComponent(Show, {
10754
10754
  get when() {
10755
- return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
10755
+ return optionalNavigationMenuContext === undefined || context.parentMenuContext() != null;
10756
10756
  },
10757
10757
  get fallback() {
10758
10758
  return createComponent(Polymorphic, mergeProps({
@@ -10809,7 +10809,7 @@ function MenuContent(props) {
10809
10809
  }
10810
10810
  function useMenuGroupContext() {
10811
10811
  const context = useContext(MenuGroupContext);
10812
- if (context === void 0) {
10812
+ if (context === undefined) {
10813
10813
  throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
10814
10814
  }
10815
10815
  return context;
@@ -10930,7 +10930,7 @@ function MenuPortal(props) {
10930
10930
  }
10931
10931
  function useMenuRadioGroupContext() {
10932
10932
  const context = useContext(MenuRadioGroupContext);
10933
- if (context === void 0) {
10933
+ if (context === undefined) {
10934
10934
  throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
10935
10935
  }
10936
10936
  return context;
@@ -11082,7 +11082,7 @@ function Menu(props) {
11082
11082
  if (content) {
11083
11083
  focusWithoutScrolling(content);
11084
11084
  listState.selectionManager().setFocused(true);
11085
- listState.selectionManager().setFocusedKey(void 0);
11085
+ listState.selectionManager().setFocusedKey(undefined);
11086
11086
  }
11087
11087
  };
11088
11088
  const focusContent = () => {
@@ -11136,12 +11136,12 @@ function Menu(props) {
11136
11136
  });
11137
11137
  });
11138
11138
  createEffect(() => {
11139
- if (parentMenuContext !== void 0)
11139
+ if (parentMenuContext !== undefined)
11140
11140
  return;
11141
11141
  optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
11142
11142
  });
11143
11143
  createEffect(() => {
11144
- if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
11144
+ if (parentMenuContext !== undefined || optionalMenubarContext === undefined)
11145
11145
  return;
11146
11146
  if (optionalMenubarContext.value() === rootContext.value()) {
11147
11147
  triggerRef()?.focus();
@@ -11151,19 +11151,19 @@ function Menu(props) {
11151
11151
  close();
11152
11152
  });
11153
11153
  createEffect(() => {
11154
- if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
11154
+ if (parentMenuContext !== undefined || optionalMenubarContext === undefined)
11155
11155
  return;
11156
11156
  if (disclosureState.isOpen())
11157
11157
  optionalMenubarContext.setValue(rootContext.value());
11158
11158
  });
11159
11159
  onCleanup(() => {
11160
- if (parentMenuContext !== void 0)
11160
+ if (parentMenuContext !== undefined)
11161
11161
  return;
11162
11162
  optionalMenubarContext?.unregisterMenu(rootContext.value());
11163
11163
  });
11164
11164
  const dataset = createMemo(() => ({
11165
- "data-expanded": disclosureState.isOpen() ? "" : void 0,
11166
- "data-closed": !disclosureState.isOpen() ? "" : void 0
11165
+ "data-expanded": disclosureState.isOpen() ? "" : undefined,
11166
+ "data-closed": !disclosureState.isOpen() ? "" : undefined
11167
11167
  }));
11168
11168
  const context = {
11169
11169
  dataset,
@@ -11202,7 +11202,7 @@ function Menu(props) {
11202
11202
  value: context,
11203
11203
  get children() {
11204
11204
  return createComponent(Show, {
11205
- when: optionalNavigationMenuContext === void 0,
11205
+ when: optionalNavigationMenuContext === undefined,
11206
11206
  get fallback() {
11207
11207
  return others.children;
11208
11208
  },
@@ -11336,7 +11336,7 @@ function MenuSubTrigger(props) {
11336
11336
  if (!e2.defaultPrevented) {
11337
11337
  if (context.listState().selectionManager().isFocused()) {
11338
11338
  context.listState().selectionManager().setFocused(false);
11339
- context.listState().selectionManager().setFocusedKey(void 0);
11339
+ context.listState().selectionManager().setFocusedKey(undefined);
11340
11340
  }
11341
11341
  focusWithoutScrolling(e2.currentTarget);
11342
11342
  parentMenuContext?.listState().selectionManager().setFocused(true);
@@ -11383,7 +11383,7 @@ function MenuSubTrigger(props) {
11383
11383
  e2.stopPropagation();
11384
11384
  e2.preventDefault();
11385
11385
  parentSelectionManager().setFocused(false);
11386
- parentSelectionManager().setFocusedKey(void 0);
11386
+ parentSelectionManager().setFocusedKey(undefined);
11387
11387
  if (!context.isOpen()) {
11388
11388
  context.open("first");
11389
11389
  }
@@ -11436,7 +11436,7 @@ function MenuSubTrigger(props) {
11436
11436
  return context.isOpen();
11437
11437
  },
11438
11438
  get ["aria-controls"]() {
11439
- return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
11439
+ return createMemo(() => !!context.isOpen())() ? context.contentId() : undefined;
11440
11440
  },
11441
11441
  get ["aria-disabled"]() {
11442
11442
  return local.disabled;
@@ -11445,10 +11445,10 @@ function MenuSubTrigger(props) {
11445
11445
  return selectableItem.dataKey();
11446
11446
  },
11447
11447
  get ["data-highlighted"]() {
11448
- return isHighlighted() ? "" : void 0;
11448
+ return isHighlighted() ? "" : undefined;
11449
11449
  },
11450
11450
  get ["data-disabled"]() {
11451
- return local.disabled ? "" : void 0;
11451
+ return local.disabled ? "" : undefined;
11452
11452
  },
11453
11453
  get onPointerDown() {
11454
11454
  return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
@@ -11581,10 +11581,10 @@ function SeparatorRoot(props) {
11581
11581
  typeof _ref$ === "function" && _ref$(r$);
11582
11582
  },
11583
11583
  get role() {
11584
- return tagName() !== "hr" ? "separator" : void 0;
11584
+ return tagName() !== "hr" ? "separator" : undefined;
11585
11585
  },
11586
11586
  get ["aria-orientation"]() {
11587
- return local.orientation === "vertical" ? "vertical" : void 0;
11587
+ return local.orientation === "vertical" ? "vertical" : undefined;
11588
11588
  },
11589
11589
  get ["data-orientation"]() {
11590
11590
  return local.orientation;
@@ -12256,11 +12256,11 @@ var init_QueryDevtoolsContext = __esm({
12256
12256
  "src/contexts/QueryDevtoolsContext.ts"() {
12257
12257
  init_solid();
12258
12258
  QueryDevtoolsContext = createContext({
12259
- client: void 0,
12260
- onlineManager: void 0,
12259
+ client: undefined,
12260
+ onlineManager: undefined,
12261
12261
  queryFlavor: "",
12262
12262
  version: "",
12263
- shadowDOMTarget: void 0
12263
+ shadowDOMTarget: undefined
12264
12264
  });
12265
12265
  }
12266
12266
  });
@@ -12274,7 +12274,7 @@ var init_PiPContext = __esm({
12274
12274
  init_web();
12275
12275
  init_constants();
12276
12276
  init_QueryDevtoolsContext();
12277
- PiPContext = createContext(void 0);
12277
+ PiPContext = createContext(undefined);
12278
12278
  PiPProvider = (props) => {
12279
12279
  const [pipWindow, setPipWindow] = createSignal(null);
12280
12280
  const closePipWindow = () => {
@@ -12503,7 +12503,7 @@ function Explorer(props) {
12503
12503
  }), null);
12504
12504
  insert(_el$14, createComponent(Show, {
12505
12505
  get when() {
12506
- return props.itemsDeletable && props.activeQuery !== void 0;
12506
+ return props.itemsDeletable && props.activeQuery !== undefined;
12507
12507
  },
12508
12508
  get children() {
12509
12509
  return createComponent(DeleteItemButton, {
@@ -12516,7 +12516,7 @@ function Explorer(props) {
12516
12516
  }), null);
12517
12517
  insert(_el$14, createComponent(Show, {
12518
12518
  get when() {
12519
- return type() === "array" && props.activeQuery !== void 0;
12519
+ return type() === "array" && props.activeQuery !== undefined;
12520
12520
  },
12521
12521
  get children() {
12522
12522
  return createComponent(ClearArrayButton, {
@@ -12552,9 +12552,9 @@ function Explorer(props) {
12552
12552
  _v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
12553
12553
  return _p$;
12554
12554
  }, {
12555
- e: void 0,
12556
- t: void 0,
12557
- a: void 0
12555
+ e: undefined,
12556
+ t: undefined,
12557
+ a: undefined
12558
12558
  });
12559
12559
  return _el$7;
12560
12560
  })(), createComponent(Show, {
@@ -12664,8 +12664,8 @@ function Explorer(props) {
12664
12664
  _v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
12665
12665
  return _p$;
12666
12666
  }, {
12667
- e: void 0,
12668
- t: void 0
12667
+ e: undefined,
12668
+ t: undefined
12669
12669
  });
12670
12670
  return _el$23;
12671
12671
  })()
@@ -12687,7 +12687,7 @@ function Explorer(props) {
12687
12687
  insert(_el$19, () => props.label, _el$20);
12688
12688
  insert(_el$18, createComponent(Show, {
12689
12689
  get when() {
12690
- return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
12690
+ return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number" || type() === "boolean");
12691
12691
  },
12692
12692
  get fallback() {
12693
12693
  return (() => {
@@ -12700,7 +12700,7 @@ function Explorer(props) {
12700
12700
  get children() {
12701
12701
  return [createComponent(Show, {
12702
12702
  get when() {
12703
- return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
12703
+ return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number");
12704
12704
  },
12705
12705
  get children() {
12706
12706
  var _el$21 = _tmpl$92();
@@ -12715,8 +12715,8 @@ function Explorer(props) {
12715
12715
  _v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
12716
12716
  return _p$;
12717
12717
  }, {
12718
- e: void 0,
12719
- t: void 0
12718
+ e: undefined,
12719
+ t: undefined
12720
12720
  });
12721
12721
  createRenderEffect(() => _el$21.value = props.value);
12722
12722
  return _el$21;
@@ -12745,7 +12745,7 @@ function Explorer(props) {
12745
12745
  }), null);
12746
12746
  insert(_el$18, createComponent(Show, {
12747
12747
  get when() {
12748
- return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
12748
+ return props.editable && props.itemsDeletable && props.activeQuery !== undefined;
12749
12749
  },
12750
12750
  get children() {
12751
12751
  return createComponent(DeleteItemButton, {
@@ -12762,8 +12762,8 @@ function Explorer(props) {
12762
12762
  _v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
12763
12763
  return _p$;
12764
12764
  }, {
12765
- e: void 0,
12766
- t: void 0
12765
+ e: undefined,
12766
+ t: undefined
12767
12767
  });
12768
12768
  return _el$18;
12769
12769
  }
@@ -12848,7 +12848,7 @@ var init_Explorer = __esm({
12848
12848
  setCopyState("NoCopy");
12849
12849
  }, 1500);
12850
12850
  });
12851
- } : void 0, true);
12851
+ } : undefined, true);
12852
12852
  insert(_el$2, createComponent(Switch, {
12853
12853
  get children() {
12854
12854
  return [createComponent(Match, {
@@ -12885,8 +12885,8 @@ var init_Explorer = __esm({
12885
12885
  _v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
12886
12886
  return _p$;
12887
12887
  }, {
12888
- e: void 0,
12889
- t: void 0
12888
+ e: undefined,
12889
+ t: undefined
12890
12890
  });
12891
12891
  return _el$2;
12892
12892
  })();
@@ -13538,11 +13538,11 @@ var init_Devtools = __esm({
13538
13538
  _v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
13539
13539
  return _p$;
13540
13540
  }, {
13541
- e: void 0,
13542
- t: void 0,
13543
- a: void 0,
13544
- o: void 0,
13545
- i: void 0
13541
+ e: undefined,
13542
+ t: undefined,
13543
+ a: undefined,
13544
+ o: undefined,
13545
+ i: undefined
13546
13546
  });
13547
13547
  return _el$7;
13548
13548
  })();
@@ -14026,26 +14026,26 @@ var init_Devtools = __esm({
14026
14026
  _v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
14027
14027
  return _p$;
14028
14028
  }, {
14029
- e: void 0,
14030
- t: void 0,
14031
- a: void 0,
14032
- o: void 0,
14033
- i: void 0,
14034
- n: void 0,
14035
- s: void 0,
14036
- h: void 0,
14037
- r: void 0,
14038
- d: void 0,
14039
- l: void 0,
14040
- u: void 0,
14041
- c: void 0,
14042
- w: void 0,
14043
- m: void 0,
14044
- f: void 0,
14045
- y: void 0,
14046
- g: void 0,
14047
- p: void 0,
14048
- b: void 0
14029
+ e: undefined,
14030
+ t: undefined,
14031
+ a: undefined,
14032
+ o: undefined,
14033
+ i: undefined,
14034
+ n: undefined,
14035
+ s: undefined,
14036
+ h: undefined,
14037
+ r: undefined,
14038
+ d: undefined,
14039
+ l: undefined,
14040
+ u: undefined,
14041
+ c: undefined,
14042
+ w: undefined,
14043
+ m: undefined,
14044
+ f: undefined,
14045
+ y: undefined,
14046
+ g: undefined,
14047
+ p: undefined,
14048
+ b: undefined
14049
14049
  });
14050
14050
  createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
14051
14051
  return _el$10;
@@ -14131,9 +14131,9 @@ var init_Devtools = __esm({
14131
14131
  _v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
14132
14132
  return _p$;
14133
14133
  }, {
14134
- e: void 0,
14135
- t: void 0,
14136
- a: void 0
14134
+ e: undefined,
14135
+ t: undefined,
14136
+ a: undefined
14137
14137
  });
14138
14138
  return _el$49;
14139
14139
  }
@@ -14244,9 +14244,9 @@ var init_Devtools = __esm({
14244
14244
  _v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
14245
14245
  return _p$;
14246
14246
  }, {
14247
- e: void 0,
14248
- t: void 0,
14249
- a: void 0
14247
+ e: undefined,
14248
+ t: undefined,
14249
+ a: undefined
14250
14250
  });
14251
14251
  return _el$53;
14252
14252
  }
@@ -14454,8 +14454,8 @@ var init_Devtools = __esm({
14454
14454
  _v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
14455
14455
  return _p$;
14456
14456
  }, {
14457
- e: void 0,
14458
- t: void 0
14457
+ e: undefined,
14458
+ t: undefined
14459
14459
  });
14460
14460
  return _el$58;
14461
14461
  })();
@@ -14571,7 +14571,7 @@ var init_Devtools = __esm({
14571
14571
  setSelectedQueryHash(null);
14572
14572
  };
14573
14573
  _el$86.$$click = () => {
14574
- if (activeQuery()?.state.data === void 0) {
14574
+ if (activeQuery()?.state.data === undefined) {
14575
14575
  setRestoringLoading(true);
14576
14576
  restoreQueryAfterLoadingOrError();
14577
14577
  } else {
@@ -14588,7 +14588,7 @@ var init_Devtools = __esm({
14588
14588
  gcTime: -1
14589
14589
  });
14590
14590
  activeQueryVal.setState({
14591
- data: void 0,
14591
+ data: undefined,
14592
14592
  status: "pending",
14593
14593
  fetchMeta: {
14594
14594
  ...activeQueryVal.state.fetchMeta,
@@ -14623,9 +14623,9 @@ var init_Devtools = __esm({
14623
14623
  _v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
14624
14624
  return _p$;
14625
14625
  }, {
14626
- e: void 0,
14627
- t: void 0,
14628
- a: void 0
14626
+ e: undefined,
14627
+ t: undefined,
14628
+ a: undefined
14629
14629
  });
14630
14630
  return _el$89;
14631
14631
  }
@@ -14661,9 +14661,9 @@ var init_Devtools = __esm({
14661
14661
  _v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
14662
14662
  return _p$;
14663
14663
  }, {
14664
- e: void 0,
14665
- t: void 0,
14666
- a: void 0
14664
+ e: undefined,
14665
+ t: undefined,
14666
+ a: undefined
14667
14667
  });
14668
14668
  return _el$92;
14669
14669
  }
@@ -14731,14 +14731,14 @@ var init_Devtools = __esm({
14731
14731
  _v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
14732
14732
  return _p$;
14733
14733
  }, {
14734
- e: void 0,
14735
- t: void 0,
14736
- a: void 0,
14737
- o: void 0,
14738
- i: void 0,
14739
- n: void 0,
14740
- s: void 0,
14741
- h: void 0
14734
+ e: undefined,
14735
+ t: undefined,
14736
+ a: undefined,
14737
+ o: undefined,
14738
+ i: undefined,
14739
+ n: undefined,
14740
+ s: undefined,
14741
+ h: undefined
14742
14742
  });
14743
14743
  createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
14744
14744
  return _el$100;
@@ -14799,30 +14799,30 @@ var init_Devtools = __esm({
14799
14799
  _v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
14800
14800
  return _p$;
14801
14801
  }, {
14802
- e: void 0,
14803
- t: void 0,
14804
- a: void 0,
14805
- o: void 0,
14806
- i: void 0,
14807
- n: void 0,
14808
- s: void 0,
14809
- h: void 0,
14810
- r: void 0,
14811
- d: void 0,
14812
- l: void 0,
14813
- u: void 0,
14814
- c: void 0,
14815
- w: void 0,
14816
- m: void 0,
14817
- f: void 0,
14818
- y: void 0,
14819
- g: void 0,
14820
- p: void 0,
14821
- b: void 0,
14822
- T: void 0,
14823
- A: void 0,
14824
- O: void 0,
14825
- I: void 0
14802
+ e: undefined,
14803
+ t: undefined,
14804
+ a: undefined,
14805
+ o: undefined,
14806
+ i: undefined,
14807
+ n: undefined,
14808
+ s: undefined,
14809
+ h: undefined,
14810
+ r: undefined,
14811
+ d: undefined,
14812
+ l: undefined,
14813
+ u: undefined,
14814
+ c: undefined,
14815
+ w: undefined,
14816
+ m: undefined,
14817
+ f: undefined,
14818
+ y: undefined,
14819
+ g: undefined,
14820
+ p: undefined,
14821
+ b: undefined,
14822
+ T: undefined,
14823
+ A: undefined,
14824
+ O: undefined,
14825
+ I: undefined
14826
14826
  });
14827
14827
  return _el$63;
14828
14828
  }
@@ -14947,18 +14947,18 @@ var init_Devtools = __esm({
14947
14947
  _v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
14948
14948
  return _p$;
14949
14949
  }, {
14950
- e: void 0,
14951
- t: void 0,
14952
- a: void 0,
14953
- o: void 0,
14954
- i: void 0,
14955
- n: void 0,
14956
- s: void 0,
14957
- h: void 0,
14958
- r: void 0,
14959
- d: void 0,
14960
- l: void 0,
14961
- u: void 0
14950
+ e: undefined,
14951
+ t: undefined,
14952
+ a: undefined,
14953
+ o: undefined,
14954
+ i: undefined,
14955
+ n: undefined,
14956
+ s: undefined,
14957
+ h: undefined,
14958
+ r: undefined,
14959
+ d: undefined,
14960
+ l: undefined,
14961
+ u: undefined
14962
14962
  });
14963
14963
  return _el$110;
14964
14964
  }
@@ -14992,7 +14992,7 @@ var init_Devtools = __esm({
14992
14992
  });
14993
14993
  const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
14994
14994
  equals: false
14995
- } : void 0);
14995
+ } : undefined);
14996
14996
  createEffect(() => {
14997
14997
  setValue(callback(queryCache));
14998
14998
  });
@@ -15031,7 +15031,7 @@ var init_Devtools = __esm({
15031
15031
  });
15032
15032
  const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
15033
15033
  equals: false
15034
- } : void 0);
15034
+ } : undefined);
15035
15035
  createEffect(() => {
15036
15036
  setValue(callback(mutationCache));
15037
15037
  });