@tanstack/query-devtools 5.64.2 → 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.
@@ -3,7 +3,7 @@ import { sortFns, mutationSortFns, createContext, splitProps, createMemo, create
3
3
  // ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.3/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
4
4
  var isClient = !isServer;
5
5
  var isDev = isClient && !!DEV;
6
- var noop = () => void 0;
6
+ var noop = () => undefined;
7
7
  var isNonNullable = (i2) => i2 != null;
8
8
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
9
9
  function chain(callbacks) {
@@ -68,7 +68,7 @@ function createStorage(props) {
68
68
  get(_, key) {
69
69
  let node = signals.get(key);
70
70
  if (!node) {
71
- node = createSignal(void 0, { equals: false });
71
+ node = createSignal(undefined, { equals: false });
72
72
  signals.set(key, node);
73
73
  }
74
74
  node[0]();
@@ -286,18 +286,18 @@ var DEFAULT_MUTATION_SORT_FN_NAME = Object.keys(mutationSortFns)[0];
286
286
 
287
287
  // src/contexts/QueryDevtoolsContext.ts
288
288
  var QueryDevtoolsContext = createContext({
289
- client: void 0,
290
- onlineManager: void 0,
289
+ client: undefined,
290
+ onlineManager: undefined,
291
291
  queryFlavor: "",
292
292
  version: "",
293
- shadowDOMTarget: void 0
293
+ shadowDOMTarget: undefined
294
294
  });
295
295
  function useQueryDevtoolsContext() {
296
296
  return useContext(QueryDevtoolsContext);
297
297
  }
298
298
 
299
299
  // src/contexts/PiPContext.tsx
300
- var PiPContext = createContext(void 0);
300
+ var PiPContext = createContext(undefined);
301
301
  var PiPProvider = (props) => {
302
302
  const [pipWindow, setPipWindow] = createSignal(null);
303
303
  const closePipWindow = () => {
@@ -1101,7 +1101,7 @@ function createListTransition(source, options) {
1101
1101
  return () => copy;
1102
1102
  }
1103
1103
  const { onChange } = options;
1104
- let prevSet = new Set(options.appear ? void 0 : initSource);
1104
+ let prevSet = new Set(options.appear ? undefined : initSource);
1105
1105
  const exiting = /* @__PURE__ */ new WeakSet();
1106
1106
  const [toRemove, setToRemove] = createSignal([], { equals: false });
1107
1107
  const [isTransitionPending] = useTransition();
@@ -1406,7 +1406,7 @@ function Key(props) {
1406
1406
  () => props.each,
1407
1407
  typeof by === "function" ? by : (v) => v[by],
1408
1408
  props.children,
1409
- "fallback" in props ? { fallback: () => props.fallback } : void 0
1409
+ "fallback" in props ? { fallback: () => props.fallback } : undefined
1410
1410
  )
1411
1411
  );
1412
1412
  }
@@ -1736,7 +1736,7 @@ function getFocusableTreeWalker(root, opts, scope) {
1736
1736
  if (opts?.from?.contains(node)) {
1737
1737
  return NodeFilter.FILTER_REJECT;
1738
1738
  }
1739
- if (node.matches(selector) && isElementVisible(node) && (!scope) && (!opts?.accept || opts.accept(node))) {
1739
+ if (node.matches(selector) && isElementVisible(node) && (true) && (!opts?.accept || opts.accept(node))) {
1740
1740
  return NodeFilter.FILTER_ACCEPT;
1741
1741
  }
1742
1742
  return NodeFilter.FILTER_SKIP;
@@ -1929,7 +1929,7 @@ var visuallyHiddenStyles = {
1929
1929
  function createRegisterId(setter) {
1930
1930
  return (id) => {
1931
1931
  setter(id);
1932
- return () => setter(void 0);
1932
+ return () => setter(undefined);
1933
1933
  };
1934
1934
  }
1935
1935
 
@@ -1942,7 +1942,7 @@ function createTagName(ref, fallback) {
1942
1942
  return tagName;
1943
1943
  }
1944
1944
  function stringOrUndefined(value) {
1945
- return isString(value) ? value : void 0;
1945
+ return isString(value) ? value : undefined;
1946
1946
  }
1947
1947
 
1948
1948
  // ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
@@ -1978,8 +1978,8 @@ function createFormControl(props) {
1978
1978
  fieldAriaLabelledBy,
1979
1979
  labelId(),
1980
1980
  // If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
1981
- hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
1982
- ].filter(Boolean).join(" ") || void 0;
1981
+ hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : undefined
1982
+ ].filter(Boolean).join(" ") || undefined;
1983
1983
  };
1984
1984
  const getAriaDescribedBy = (fieldAriaDescribedBy) => {
1985
1985
  return [
@@ -1988,14 +1988,14 @@ function createFormControl(props) {
1988
1988
  // See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
1989
1989
  errorMessageId(),
1990
1990
  fieldAriaDescribedBy
1991
- ].filter(Boolean).join(" ") || void 0;
1991
+ ].filter(Boolean).join(" ") || undefined;
1992
1992
  };
1993
1993
  const dataset = createMemo(() => ({
1994
- "data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
1995
- "data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
1996
- "data-required": access(mergedProps.required) ? "" : void 0,
1997
- "data-disabled": access(mergedProps.disabled) ? "" : void 0,
1998
- "data-readonly": access(mergedProps.readOnly) ? "" : void 0
1994
+ "data-valid": access(mergedProps.validationState) === "valid" ? "" : undefined,
1995
+ "data-invalid": access(mergedProps.validationState) === "invalid" ? "" : undefined,
1996
+ "data-required": access(mergedProps.required) ? "" : undefined,
1997
+ "data-disabled": access(mergedProps.disabled) ? "" : undefined,
1998
+ "data-readonly": access(mergedProps.readOnly) ? "" : undefined
1999
1999
  }));
2000
2000
  const formControlContext = {
2001
2001
  name: () => access(mergedProps.name) ?? access(mergedProps.id),
@@ -2023,7 +2023,7 @@ function createFormControl(props) {
2023
2023
  var FormControlContext = createContext();
2024
2024
  function useFormControlContext() {
2025
2025
  const context = useContext(FormControlContext);
2026
- if (context === void 0) {
2026
+ if (context === undefined) {
2027
2027
  throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
2028
2028
  }
2029
2029
  return context;
@@ -2078,7 +2078,7 @@ function FormControlLabel(props) {
2078
2078
  typeof _ref$ === "function" && _ref$(r$);
2079
2079
  },
2080
2080
  get ["for"]() {
2081
- return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
2081
+ return createMemo(() => tagName() === "label")() ? context.fieldId() : undefined;
2082
2082
  }
2083
2083
  }, () => context.dataset(), others));
2084
2084
  }
@@ -2111,7 +2111,7 @@ function isFormElement(element) {
2111
2111
  // ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.3/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
2112
2112
  function createControllableSignal(props) {
2113
2113
  const [_value, _setValue] = createSignal(props.defaultValue?.());
2114
- const isControlled = createMemo(() => props.value?.() !== void 0);
2114
+ const isControlled = createMemo(() => props.value?.() !== undefined);
2115
2115
  const value = createMemo(() => isControlled() ? props.value?.() : _value());
2116
2116
  const setValue = (next) => {
2117
2117
  untrack(() => {
@@ -2176,7 +2176,7 @@ function useOptionalDomCollectionContext() {
2176
2176
  }
2177
2177
  function useDomCollectionContext() {
2178
2178
  const context = useOptionalDomCollectionContext();
2179
- if (context === void 0) {
2179
+ if (context === undefined) {
2180
2180
  throw new Error(
2181
2181
  "[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
2182
2182
  );
@@ -2363,7 +2363,7 @@ function buildNodes(params) {
2363
2363
  };
2364
2364
  const getSectionChildren = (data) => {
2365
2365
  if (data == null) {
2366
- return void 0;
2366
+ return undefined;
2367
2367
  }
2368
2368
  if (isString(params.getSectionChildren)) {
2369
2369
  return data[params.getSectionChildren];
@@ -2541,7 +2541,7 @@ var cache = /* @__PURE__ */ new Map();
2541
2541
  function createCollator(options) {
2542
2542
  const { locale } = useLocale();
2543
2543
  const cacheKey = createMemo(() => {
2544
- return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
2544
+ return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
2545
2545
  });
2546
2546
  return createMemo(() => {
2547
2547
  const key = cacheKey();
@@ -2716,7 +2716,7 @@ function createSelectableCollection(props, ref, scrollRef) {
2716
2716
  const { direction } = useLocale();
2717
2717
  let scrollPos = { top: 0, left: 0 };
2718
2718
  createEventListener(
2719
- () => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
2719
+ () => !access(mergedProps.isVirtualized) ? finalScrollRef() : undefined,
2720
2720
  "scroll",
2721
2721
  () => {
2722
2722
  const scrollEl = finalScrollRef();
@@ -3020,7 +3020,7 @@ function createSelectableCollection(props, ref, scrollRef) {
3020
3020
  );
3021
3021
  const tabIndex = createMemo(() => {
3022
3022
  if (access(mergedProps.shouldUseVirtualFocus)) {
3023
- return void 0;
3023
+ return undefined;
3024
3024
  }
3025
3025
  return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
3026
3026
  });
@@ -3109,12 +3109,12 @@ function createSelectableItem(props, ref) {
3109
3109
  };
3110
3110
  const tabIndex = createMemo(() => {
3111
3111
  if (shouldUseVirtualFocus() || isDisabled()) {
3112
- return void 0;
3112
+ return undefined;
3113
3113
  }
3114
3114
  return key() === manager().focusedKey() ? 0 : -1;
3115
3115
  });
3116
3116
  const dataKey = createMemo(() => {
3117
- return access(props.virtualized) ? void 0 : key();
3117
+ return access(props.virtualized) ? undefined : key();
3118
3118
  });
3119
3119
  createEffect(
3120
3120
  on(
@@ -3474,13 +3474,13 @@ var ListCollection = class {
3474
3474
  node.prevKey = last.key;
3475
3475
  } else {
3476
3476
  this.firstKey = key;
3477
- node.prevKey = void 0;
3477
+ node.prevKey = undefined;
3478
3478
  }
3479
3479
  if (node.type === "item") {
3480
3480
  node.index = index++;
3481
3481
  }
3482
3482
  last = node;
3483
- last.nextKey = void 0;
3483
+ last.nextKey = undefined;
3484
3484
  }
3485
3485
  this.lastKey = last.key;
3486
3486
  }
@@ -3533,7 +3533,7 @@ function createListState(props) {
3533
3533
  createComputed(() => {
3534
3534
  const focusedKey = selectionState.focusedKey();
3535
3535
  if (focusedKey != null && !collection().getItem(focusedKey)) {
3536
- selectionState.setFocusedKey(void 0);
3536
+ selectionState.setFocusedKey(undefined);
3537
3537
  }
3538
3538
  });
3539
3539
  return {
@@ -3746,22 +3746,22 @@ function ButtonRoot(props) {
3746
3746
  typeof _ref$ === "function" && _ref$(r$);
3747
3747
  },
3748
3748
  get type() {
3749
- return isNativeButton() || isNativeInput() ? local.type : void 0;
3749
+ return isNativeButton() || isNativeInput() ? local.type : undefined;
3750
3750
  },
3751
3751
  get role() {
3752
- return !isNativeButton() && !isNativeLink() ? "button" : void 0;
3752
+ return !isNativeButton() && !isNativeLink() ? "button" : undefined;
3753
3753
  },
3754
3754
  get tabIndex() {
3755
- return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
3755
+ return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : undefined;
3756
3756
  },
3757
3757
  get disabled() {
3758
- return isNativeButton() || isNativeInput() ? local.disabled : void 0;
3758
+ return isNativeButton() || isNativeInput() ? local.disabled : undefined;
3759
3759
  },
3760
3760
  get ["aria-disabled"]() {
3761
- return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
3761
+ return !isNativeButton() && !isNativeInput() && local.disabled ? true : undefined;
3762
3762
  },
3763
3763
  get ["data-disabled"]() {
3764
- return local.disabled ? "" : void 0;
3764
+ return local.disabled ? "" : undefined;
3765
3765
  }
3766
3766
  }, others));
3767
3767
  }
@@ -3812,7 +3812,7 @@ function getAlignmentAxis(placement) {
3812
3812
  return getOppositeAxis(getSideAxis(placement));
3813
3813
  }
3814
3814
  function getAlignmentSides(placement, rects, rtl) {
3815
- if (rtl === void 0) {
3815
+ if (rtl === undefined) {
3816
3816
  rtl = false;
3817
3817
  }
3818
3818
  const alignment = getAlignment(placement);
@@ -3963,7 +3963,7 @@ var computePosition = async (reference, floating, config) => {
3963
3963
  platform: platform2
3964
3964
  } = config;
3965
3965
  const validMiddleware = middleware.filter(Boolean);
3966
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
3966
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(floating));
3967
3967
  let rects = await platform2.getElementRects({
3968
3968
  reference,
3969
3969
  floating,
@@ -4040,7 +4040,7 @@ var computePosition = async (reference, floating, config) => {
4040
4040
  };
4041
4041
  async function detectOverflow(state, options) {
4042
4042
  var _await$platform$isEle;
4043
- if (options === void 0) {
4043
+ if (options === undefined) {
4044
4044
  options = {};
4045
4045
  }
4046
4046
  const {
@@ -4062,7 +4062,7 @@ async function detectOverflow(state, options) {
4062
4062
  const altContext = elementContext === "floating" ? "reference" : "floating";
4063
4063
  const element = elements[altBoundary ? altContext : elementContext];
4064
4064
  const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
4065
- 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)),
4065
+ 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)),
4066
4066
  boundary,
4067
4067
  rootBoundary,
4068
4068
  strategy
@@ -4073,8 +4073,8 @@ async function detectOverflow(state, options) {
4073
4073
  width: rects.floating.width,
4074
4074
  height: rects.floating.height
4075
4075
  } : rects.reference;
4076
- const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
4077
- const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
4076
+ const offsetParent = await (platform2.getOffsetParent == null ? undefined : platform2.getOffsetParent(elements.floating));
4077
+ const offsetScale = await (platform2.isElement == null ? undefined : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? undefined : platform2.getScale(offsetParent)) || {
4078
4078
  x: 1,
4079
4079
  y: 1
4080
4080
  } : {
@@ -4128,9 +4128,9 @@ var arrow = (options) => ({
4128
4128
  const clientProp = isYAxis ? "clientHeight" : "clientWidth";
4129
4129
  const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
4130
4130
  const startDiff = coords[axis] - rects.reference[axis];
4131
- const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
4131
+ const arrowOffsetParent = await (platform2.getOffsetParent == null ? undefined : platform2.getOffsetParent(element));
4132
4132
  let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
4133
- if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
4133
+ if (!clientSize || !await (platform2.isElement == null ? undefined : platform2.isElement(arrowOffsetParent))) {
4134
4134
  clientSize = elements.floating[clientProp] || rects.floating[length];
4135
4135
  }
4136
4136
  const centerToReference = endDiff / 2 - startDiff / 2;
@@ -4157,7 +4157,7 @@ var arrow = (options) => ({
4157
4157
  }
4158
4158
  });
4159
4159
  var flip = function(options) {
4160
- if (options === void 0) {
4160
+ if (options === undefined) {
4161
4161
  options = {};
4162
4162
  }
4163
4163
  return {
@@ -4188,7 +4188,7 @@ var flip = function(options) {
4188
4188
  const side = getSide(placement);
4189
4189
  const initialSideAxis = getSideAxis(initialPlacement);
4190
4190
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
4191
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
4191
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating));
4192
4192
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
4193
4193
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
4194
4194
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
@@ -4197,7 +4197,7 @@ var flip = function(options) {
4197
4197
  const placements2 = [initialPlacement, ...fallbackPlacements];
4198
4198
  const overflow = await detectOverflow(state, detectOverflowOptions);
4199
4199
  const overflows = [];
4200
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
4200
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
4201
4201
  if (checkMainAxis) {
4202
4202
  overflows.push(overflow[side]);
4203
4203
  }
@@ -4211,7 +4211,7 @@ var flip = function(options) {
4211
4211
  }];
4212
4212
  if (!overflows.every((side2) => side2 <= 0)) {
4213
4213
  var _middlewareData$flip2, _overflowsData$filter;
4214
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
4214
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
4215
4215
  const nextPlacement = placements2[nextIndex];
4216
4216
  if (nextPlacement) {
4217
4217
  return {
@@ -4224,7 +4224,7 @@ var flip = function(options) {
4224
4224
  }
4225
4225
  };
4226
4226
  }
4227
- 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;
4227
+ 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;
4228
4228
  if (!resetPlacement) {
4229
4229
  switch (fallbackStrategy) {
4230
4230
  case "bestFit": {
@@ -4237,7 +4237,7 @@ var flip = function(options) {
4237
4237
  currentSideAxis === "y";
4238
4238
  }
4239
4239
  return true;
4240
- }).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];
4240
+ }).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];
4241
4241
  if (placement2) {
4242
4242
  resetPlacement = placement2;
4243
4243
  }
@@ -4272,7 +4272,7 @@ function isAnySideFullyClipped(overflow) {
4272
4272
  return sides.some((side) => overflow[side] >= 0);
4273
4273
  }
4274
4274
  var hide = function(options) {
4275
- if (options === void 0) {
4275
+ if (options === undefined) {
4276
4276
  options = {};
4277
4277
  }
4278
4278
  return {
@@ -4326,7 +4326,7 @@ async function convertValueToCoords(state, options) {
4326
4326
  platform: platform2,
4327
4327
  elements
4328
4328
  } = state;
4329
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
4329
+ const rtl = await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating));
4330
4330
  const side = getSide(placement);
4331
4331
  const alignment = getAlignment(placement);
4332
4332
  const isVertical = getSideAxis(placement) === "y";
@@ -4359,7 +4359,7 @@ async function convertValueToCoords(state, options) {
4359
4359
  };
4360
4360
  }
4361
4361
  var offset = function(options) {
4362
- if (options === void 0) {
4362
+ if (options === undefined) {
4363
4363
  options = 0;
4364
4364
  }
4365
4365
  return {
@@ -4374,7 +4374,7 @@ var offset = function(options) {
4374
4374
  middlewareData
4375
4375
  } = state;
4376
4376
  const diffCoords = await convertValueToCoords(state, options);
4377
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
4377
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
4378
4378
  return {};
4379
4379
  }
4380
4380
  return {
@@ -4389,7 +4389,7 @@ var offset = function(options) {
4389
4389
  };
4390
4390
  };
4391
4391
  var shift = function(options) {
4392
- if (options === void 0) {
4392
+ if (options === undefined) {
4393
4393
  options = {};
4394
4394
  }
4395
4395
  return {
@@ -4457,7 +4457,7 @@ var shift = function(options) {
4457
4457
  };
4458
4458
  };
4459
4459
  var size = function(options) {
4460
- if (options === void 0) {
4460
+ if (options === undefined) {
4461
4461
  options = {};
4462
4462
  }
4463
4463
  return {
@@ -4487,7 +4487,7 @@ var size = function(options) {
4487
4487
  let widthSide;
4488
4488
  if (side === "top" || side === "bottom") {
4489
4489
  heightSide = side;
4490
- widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
4490
+ widthSide = alignment === (await (platform2.isRTL == null ? undefined : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
4491
4491
  } else {
4492
4492
  widthSide = side;
4493
4493
  heightSide = alignment === "end" ? "top" : "bottom";
@@ -4542,11 +4542,11 @@ function getNodeName(node) {
4542
4542
  }
4543
4543
  function getWindow2(node) {
4544
4544
  var _node$ownerDocument;
4545
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
4545
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
4546
4546
  }
4547
4547
  function getDocumentElement(node) {
4548
4548
  var _ref;
4549
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
4549
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
4550
4550
  }
4551
4551
  function isNode(value) {
4552
4552
  return value instanceof Node || value instanceof getWindow2(value).Node;
@@ -4649,14 +4649,14 @@ function getNearestOverflowAncestor(node) {
4649
4649
  }
4650
4650
  function getOverflowAncestors(node, list, traverseIframes) {
4651
4651
  var _node$ownerDocument2;
4652
- if (list === void 0) {
4652
+ if (list === undefined) {
4653
4653
  list = [];
4654
4654
  }
4655
- if (traverseIframes === void 0) {
4655
+ if (traverseIframes === undefined) {
4656
4656
  traverseIframes = true;
4657
4657
  }
4658
4658
  const scrollableAncestor = getNearestOverflowAncestor(node);
4659
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
4659
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
4660
4660
  const win = getWindow2(scrollableAncestor);
4661
4661
  if (isBody) {
4662
4662
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
@@ -4722,7 +4722,7 @@ function getVisualOffsets(element) {
4722
4722
  };
4723
4723
  }
4724
4724
  function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
4725
- if (isFixed === void 0) {
4725
+ if (isFixed === undefined) {
4726
4726
  isFixed = false;
4727
4727
  }
4728
4728
  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
@@ -4731,10 +4731,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
4731
4731
  return isFixed;
4732
4732
  }
4733
4733
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
4734
- if (includeScale === void 0) {
4734
+ if (includeScale === undefined) {
4735
4735
  includeScale = false;
4736
4736
  }
4737
- if (isFixedStrategy === void 0) {
4737
+ if (isFixedStrategy === undefined) {
4738
4738
  isFixedStrategy = false;
4739
4739
  }
4740
4740
  const clientRect = element.getBoundingClientRect();
@@ -5077,10 +5077,10 @@ function observeMove(element, onMove) {
5077
5077
  io = null;
5078
5078
  }
5079
5079
  function refresh(skip, threshold) {
5080
- if (skip === void 0) {
5080
+ if (skip === undefined) {
5081
5081
  skip = false;
5082
5082
  }
5083
- if (threshold === void 0) {
5083
+ if (threshold === undefined) {
5084
5084
  threshold = 1;
5085
5085
  }
5086
5086
  cleanup();
@@ -5137,7 +5137,7 @@ function observeMove(element, onMove) {
5137
5137
  return cleanup;
5138
5138
  }
5139
5139
  function autoUpdate(reference, floating, update, options) {
5140
- if (options === void 0) {
5140
+ if (options === undefined) {
5141
5141
  options = {};
5142
5142
  }
5143
5143
  const {
@@ -5230,7 +5230,7 @@ var computePosition2 = (reference, floating, options) => {
5230
5230
  var PopperContext = createContext();
5231
5231
  function usePopperContext() {
5232
5232
  const context = useContext(PopperContext);
5233
- if (context === void 0) {
5233
+ if (context === undefined) {
5234
5234
  throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
5235
5235
  }
5236
5236
  return context;
@@ -5415,14 +5415,14 @@ function PopperRoot(props) {
5415
5415
  const hasAlignment = !!placement.split("-")[1];
5416
5416
  return {
5417
5417
  mainAxis: finalGutter,
5418
- crossAxis: !hasAlignment ? mergedProps.shift : void 0,
5418
+ crossAxis: !hasAlignment ? mergedProps.shift : undefined,
5419
5419
  alignmentAxis: mergedProps.shift
5420
5420
  };
5421
5421
  })
5422
5422
  ];
5423
5423
  if (mergedProps.flip !== false) {
5424
- const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
5425
- if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
5424
+ const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : undefined;
5425
+ if (fallbackPlacements !== undefined && !fallbackPlacements.every(isValidPlacement)) {
5426
5426
  throw new Error("`flip` expects a spaced-delimited list of placements");
5427
5427
  }
5428
5428
  middleware.push(flip2({
@@ -5838,7 +5838,7 @@ __export(radio_group_exports, {
5838
5838
  var RadioGroupContext = createContext();
5839
5839
  function useRadioGroupContext() {
5840
5840
  const context = useContext(RadioGroupContext);
5841
- if (context === void 0) {
5841
+ if (context === undefined) {
5842
5842
  throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
5843
5843
  }
5844
5844
  return context;
@@ -5846,7 +5846,7 @@ function useRadioGroupContext() {
5846
5846
  var RadioGroupItemContext = createContext();
5847
5847
  function useRadioGroupItemContext() {
5848
5848
  const context = useContext(RadioGroupItemContext);
5849
- if (context === void 0) {
5849
+ if (context === undefined) {
5850
5850
  throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
5851
5851
  }
5852
5852
  return context;
@@ -5878,8 +5878,8 @@ function RadioGroupItem(props) {
5878
5878
  };
5879
5879
  const dataset = createMemo(() => ({
5880
5880
  ...formControlContext.dataset(),
5881
- "data-disabled": isDisabled() ? "" : void 0,
5882
- "data-checked": isSelected() ? "" : void 0
5881
+ "data-disabled": isDisabled() ? "" : undefined,
5882
+ "data-checked": isSelected() ? "" : undefined
5883
5883
  }));
5884
5884
  const context = {
5885
5885
  value: () => local.value,
@@ -5984,11 +5984,11 @@ function RadioGroupItemInput(props) {
5984
5984
  local["aria-labelledby"],
5985
5985
  radioContext.labelId(),
5986
5986
  // If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
5987
- local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
5988
- ].filter(Boolean).join(" ") || void 0;
5987
+ local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : undefined
5988
+ ].filter(Boolean).join(" ") || undefined;
5989
5989
  };
5990
5990
  const ariaDescribedBy = () => {
5991
- return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
5991
+ return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || undefined;
5992
5992
  };
5993
5993
  const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
5994
5994
  const onChange = (e2) => {
@@ -6143,16 +6143,16 @@ function RadioGroupRoot(props) {
6143
6143
  return access(formControlProps.id);
6144
6144
  },
6145
6145
  get ["aria-invalid"]() {
6146
- return formControlContext.validationState() === "invalid" || void 0;
6146
+ return formControlContext.validationState() === "invalid" || undefined;
6147
6147
  },
6148
6148
  get ["aria-required"]() {
6149
- return formControlContext.isRequired() || void 0;
6149
+ return formControlContext.isRequired() || undefined;
6150
6150
  },
6151
6151
  get ["aria-disabled"]() {
6152
- return formControlContext.isDisabled() || void 0;
6152
+ return formControlContext.isDisabled() || undefined;
6153
6153
  },
6154
6154
  get ["aria-readonly"]() {
6155
- return formControlContext.isReadOnly() || void 0;
6155
+ return formControlContext.isReadOnly() || undefined;
6156
6156
  },
6157
6157
  get ["aria-orientation"]() {
6158
6158
  return local.orientation;
@@ -6886,7 +6886,7 @@ var wouldScroll = (target, axis, delta, wrapper) => {
6886
6886
  const [availableScroll, availableScrollTop] = getScrollAtLocation(
6887
6887
  target,
6888
6888
  axis,
6889
- targetInWrapper ? wrapper : void 0
6889
+ targetInWrapper ? wrapper : undefined
6890
6890
  );
6891
6891
  if (delta > 0 && Math.abs(availableScroll) <= 1) {
6892
6892
  return false;
@@ -6917,7 +6917,7 @@ function useOptionalMenuContext() {
6917
6917
  }
6918
6918
  function useMenuContext() {
6919
6919
  const context = useOptionalMenuContext();
6920
- if (context === void 0) {
6920
+ if (context === undefined) {
6921
6921
  throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
6922
6922
  }
6923
6923
  return context;
@@ -6925,7 +6925,7 @@ function useMenuContext() {
6925
6925
  var MenuItemContext = createContext();
6926
6926
  function useMenuItemContext() {
6927
6927
  const context = useContext(MenuItemContext);
6928
- if (context === void 0) {
6928
+ if (context === undefined) {
6929
6929
  throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
6930
6930
  }
6931
6931
  return context;
@@ -6933,7 +6933,7 @@ function useMenuItemContext() {
6933
6933
  var MenuRootContext = createContext();
6934
6934
  function useMenuRootContext() {
6935
6935
  const context = useContext(MenuRootContext);
6936
- if (context === void 0) {
6936
+ if (context === undefined) {
6937
6937
  throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
6938
6938
  }
6939
6939
  return context;
@@ -7025,15 +7025,15 @@ function MenuItemBase(props) {
7025
7025
  return "mixed";
7026
7026
  }
7027
7027
  if (local.checked == null) {
7028
- return void 0;
7028
+ return undefined;
7029
7029
  }
7030
7030
  return local.checked;
7031
7031
  });
7032
7032
  const dataset = createMemo(() => ({
7033
- "data-indeterminate": local.indeterminate ? "" : void 0,
7034
- "data-checked": local.checked && !local.indeterminate ? "" : void 0,
7035
- "data-disabled": local.disabled ? "" : void 0,
7036
- "data-highlighted": isHighlighted() ? "" : void 0
7033
+ "data-indeterminate": local.indeterminate ? "" : undefined,
7034
+ "data-checked": local.checked && !local.indeterminate ? "" : undefined,
7035
+ "data-disabled": local.disabled ? "" : undefined,
7036
+ "data-highlighted": isHighlighted() ? "" : undefined
7037
7037
  }));
7038
7038
  const context = {
7039
7039
  isChecked: () => local.checked,
@@ -7141,9 +7141,9 @@ function MenuTrigger(props) {
7141
7141
  }, props);
7142
7142
  const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
7143
7143
  let key = () => rootContext.value();
7144
- if (optionalMenubarContext !== void 0) {
7144
+ if (optionalMenubarContext !== undefined) {
7145
7145
  key = () => rootContext.value() ?? local.id;
7146
- if (optionalMenubarContext.lastValue() === void 0)
7146
+ if (optionalMenubarContext.lastValue() === undefined)
7147
7147
  optionalMenubarContext.setLastValue(key);
7148
7148
  }
7149
7149
  const tagName = createTagName(() => context.triggerRef(), () => "button");
@@ -7157,7 +7157,7 @@ function MenuTrigger(props) {
7157
7157
  context.triggerRef()?.focus();
7158
7158
  }));
7159
7159
  const handleClick = () => {
7160
- if (optionalMenubarContext !== void 0) {
7160
+ if (optionalMenubarContext !== undefined) {
7161
7161
  if (!context.isOpen()) {
7162
7162
  if (!optionalMenubarContext.autoFocusMenu()) {
7163
7163
  optionalMenubarContext.setAutoFocusMenu(true);
@@ -7213,14 +7213,14 @@ function MenuTrigger(props) {
7213
7213
  context.open("last");
7214
7214
  break;
7215
7215
  case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
7216
- if (optionalMenubarContext === void 0)
7216
+ if (optionalMenubarContext === undefined)
7217
7217
  break;
7218
7218
  e2.stopPropagation();
7219
7219
  e2.preventDefault();
7220
7220
  optionalMenubarContext.nextMenu();
7221
7221
  break;
7222
7222
  case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
7223
- if (optionalMenubarContext === void 0)
7223
+ if (optionalMenubarContext === undefined)
7224
7224
  break;
7225
7225
  e2.stopPropagation();
7226
7226
  e2.preventDefault();
@@ -7232,13 +7232,13 @@ function MenuTrigger(props) {
7232
7232
  callHandler(e2, local.onMouseOver);
7233
7233
  if (context.triggerRef()?.dataset.pointerType === "touch")
7234
7234
  return;
7235
- if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
7235
+ if (!local.disabled && optionalMenubarContext !== undefined && optionalMenubarContext.value() !== undefined) {
7236
7236
  optionalMenubarContext.setValue(key);
7237
7237
  }
7238
7238
  };
7239
7239
  const onFocus = (e2) => {
7240
7240
  callHandler(e2, local.onFocus);
7241
- if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
7241
+ if (optionalMenubarContext !== undefined && e2.currentTarget.dataset.pointerType !== "touch")
7242
7242
  optionalMenubarContext.setValue(key);
7243
7243
  };
7244
7244
  createEffect(() => onCleanup(context.registerTriggerId(local.id)));
@@ -7261,20 +7261,20 @@ function MenuTrigger(props) {
7261
7261
  return context.isOpen();
7262
7262
  },
7263
7263
  get ["aria-controls"]() {
7264
- return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
7264
+ return createMemo(() => !!context.isOpen())() ? context.contentId() : undefined;
7265
7265
  },
7266
7266
  get ["data-highlighted"]() {
7267
- return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
7267
+ return key() !== undefined && optionalMenubarContext?.value() === key() ? true : undefined;
7268
7268
  },
7269
7269
  get tabIndex() {
7270
- return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
7270
+ return optionalMenubarContext !== undefined ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : undefined;
7271
7271
  },
7272
7272
  onPointerDown,
7273
7273
  onMouseOver,
7274
7274
  onClick,
7275
7275
  onKeyDown,
7276
7276
  onFocus,
7277
- role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
7277
+ role: optionalMenubarContext !== undefined ? "menuitem" : undefined
7278
7278
  }, () => context.dataset(), others));
7279
7279
  }
7280
7280
  var NavigationMenuContext = createContext();
@@ -7296,7 +7296,7 @@ function MenuContentBase(props) {
7296
7296
  const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
7297
7297
  let lastPointerX = 0;
7298
7298
  const isRootModalContent = () => {
7299
- return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
7299
+ return context.parentMenuContext() == null && optionalMenubarContext === undefined && rootContext.isModal();
7300
7300
  };
7301
7301
  const selectableList = createSelectableList({
7302
7302
  selectionManager: context.listState().selectionManager,
@@ -7311,7 +7311,7 @@ function MenuContentBase(props) {
7311
7311
  createFocusScope({
7312
7312
  trapFocus: () => isRootModalContent() && context.isOpen(),
7313
7313
  onMountAutoFocus: (event) => {
7314
- if (optionalMenubarContext === void 0)
7314
+ if (optionalMenubarContext === undefined)
7315
7315
  local.onOpenAutoFocus?.(event);
7316
7316
  },
7317
7317
  onUnmountAutoFocus: local.onCloseAutoFocus
@@ -7323,7 +7323,7 @@ function MenuContentBase(props) {
7323
7323
  if (e2.key === "Tab" && context.isOpen()) {
7324
7324
  e2.preventDefault();
7325
7325
  }
7326
- if (optionalMenubarContext !== void 0) {
7326
+ if (optionalMenubarContext !== undefined) {
7327
7327
  if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
7328
7328
  switch (e2.key) {
7329
7329
  case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
@@ -7362,7 +7362,7 @@ function MenuContentBase(props) {
7362
7362
  return;
7363
7363
  }
7364
7364
  context.parentMenuContext()?.listState().selectionManager().setFocused(false);
7365
- context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
7365
+ context.parentMenuContext()?.listState().selectionManager().setFocusedKey(undefined);
7366
7366
  };
7367
7367
  const onPointerMove = (e2) => {
7368
7368
  callHandler(e2, local.onPointerMove);
@@ -7409,7 +7409,7 @@ function MenuContentBase(props) {
7409
7409
  get children() {
7410
7410
  return createComponent(Show, {
7411
7411
  get when() {
7412
- return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
7412
+ return optionalNavigationMenuContext === undefined || context.parentMenuContext() != null;
7413
7413
  },
7414
7414
  get fallback() {
7415
7415
  return createComponent(Polymorphic, mergeProps({
@@ -7467,7 +7467,7 @@ function MenuContent(props) {
7467
7467
  var MenuGroupContext = createContext();
7468
7468
  function useMenuGroupContext() {
7469
7469
  const context = useContext(MenuGroupContext);
7470
- if (context === void 0) {
7470
+ if (context === undefined) {
7471
7471
  throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
7472
7472
  }
7473
7473
  return context;
@@ -7589,7 +7589,7 @@ function MenuPortal(props) {
7589
7589
  var MenuRadioGroupContext = createContext();
7590
7590
  function useMenuRadioGroupContext() {
7591
7591
  const context = useContext(MenuRadioGroupContext);
7592
- if (context === void 0) {
7592
+ if (context === undefined) {
7593
7593
  throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
7594
7594
  }
7595
7595
  return context;
@@ -7741,7 +7741,7 @@ function Menu(props) {
7741
7741
  if (content) {
7742
7742
  focusWithoutScrolling(content);
7743
7743
  listState.selectionManager().setFocused(true);
7744
- listState.selectionManager().setFocusedKey(void 0);
7744
+ listState.selectionManager().setFocusedKey(undefined);
7745
7745
  }
7746
7746
  };
7747
7747
  const focusContent = () => {
@@ -7795,12 +7795,12 @@ function Menu(props) {
7795
7795
  });
7796
7796
  });
7797
7797
  createEffect(() => {
7798
- if (parentMenuContext !== void 0)
7798
+ if (parentMenuContext !== undefined)
7799
7799
  return;
7800
7800
  optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
7801
7801
  });
7802
7802
  createEffect(() => {
7803
- if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
7803
+ if (parentMenuContext !== undefined || optionalMenubarContext === undefined)
7804
7804
  return;
7805
7805
  if (optionalMenubarContext.value() === rootContext.value()) {
7806
7806
  triggerRef()?.focus();
@@ -7810,19 +7810,19 @@ function Menu(props) {
7810
7810
  close();
7811
7811
  });
7812
7812
  createEffect(() => {
7813
- if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
7813
+ if (parentMenuContext !== undefined || optionalMenubarContext === undefined)
7814
7814
  return;
7815
7815
  if (disclosureState.isOpen())
7816
7816
  optionalMenubarContext.setValue(rootContext.value());
7817
7817
  });
7818
7818
  onCleanup(() => {
7819
- if (parentMenuContext !== void 0)
7819
+ if (parentMenuContext !== undefined)
7820
7820
  return;
7821
7821
  optionalMenubarContext?.unregisterMenu(rootContext.value());
7822
7822
  });
7823
7823
  const dataset = createMemo(() => ({
7824
- "data-expanded": disclosureState.isOpen() ? "" : void 0,
7825
- "data-closed": !disclosureState.isOpen() ? "" : void 0
7824
+ "data-expanded": disclosureState.isOpen() ? "" : undefined,
7825
+ "data-closed": !disclosureState.isOpen() ? "" : undefined
7826
7826
  }));
7827
7827
  const context = {
7828
7828
  dataset,
@@ -7861,7 +7861,7 @@ function Menu(props) {
7861
7861
  value: context,
7862
7862
  get children() {
7863
7863
  return createComponent(Show, {
7864
- when: optionalNavigationMenuContext === void 0,
7864
+ when: optionalNavigationMenuContext === undefined,
7865
7865
  get fallback() {
7866
7866
  return others.children;
7867
7867
  },
@@ -8012,7 +8012,7 @@ function MenuSubTrigger(props) {
8012
8012
  if (!e2.defaultPrevented) {
8013
8013
  if (context.listState().selectionManager().isFocused()) {
8014
8014
  context.listState().selectionManager().setFocused(false);
8015
- context.listState().selectionManager().setFocusedKey(void 0);
8015
+ context.listState().selectionManager().setFocusedKey(undefined);
8016
8016
  }
8017
8017
  focusWithoutScrolling(e2.currentTarget);
8018
8018
  parentMenuContext?.listState().selectionManager().setFocused(true);
@@ -8059,7 +8059,7 @@ function MenuSubTrigger(props) {
8059
8059
  e2.stopPropagation();
8060
8060
  e2.preventDefault();
8061
8061
  parentSelectionManager().setFocused(false);
8062
- parentSelectionManager().setFocusedKey(void 0);
8062
+ parentSelectionManager().setFocusedKey(undefined);
8063
8063
  if (!context.isOpen()) {
8064
8064
  context.open("first");
8065
8065
  }
@@ -8112,7 +8112,7 @@ function MenuSubTrigger(props) {
8112
8112
  return context.isOpen();
8113
8113
  },
8114
8114
  get ["aria-controls"]() {
8115
- return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
8115
+ return createMemo(() => !!context.isOpen())() ? context.contentId() : undefined;
8116
8116
  },
8117
8117
  get ["aria-disabled"]() {
8118
8118
  return local.disabled;
@@ -8121,10 +8121,10 @@ function MenuSubTrigger(props) {
8121
8121
  return selectableItem.dataKey();
8122
8122
  },
8123
8123
  get ["data-highlighted"]() {
8124
- return isHighlighted() ? "" : void 0;
8124
+ return isHighlighted() ? "" : undefined;
8125
8125
  },
8126
8126
  get ["data-disabled"]() {
8127
- return local.disabled ? "" : void 0;
8127
+ return local.disabled ? "" : undefined;
8128
8128
  },
8129
8129
  get onPointerDown() {
8130
8130
  return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
@@ -8204,10 +8204,10 @@ function SeparatorRoot(props) {
8204
8204
  typeof _ref$ === "function" && _ref$(r$);
8205
8205
  },
8206
8206
  get role() {
8207
- return tagName() !== "hr" ? "separator" : void 0;
8207
+ return tagName() !== "hr" ? "separator" : undefined;
8208
8208
  },
8209
8209
  get ["aria-orientation"]() {
8210
- return local.orientation === "vertical" ? "vertical" : void 0;
8210
+ return local.orientation === "vertical" ? "vertical" : undefined;
8211
8211
  },
8212
8212
  get ["data-orientation"]() {
8213
8213
  return local.orientation;
@@ -8864,7 +8864,7 @@ var CopyButton = (props) => {
8864
8864
  setCopyState("NoCopy");
8865
8865
  }, 1500);
8866
8866
  });
8867
- } : void 0, true);
8867
+ } : undefined, true);
8868
8868
  insert(_el$2, createComponent(Switch, {
8869
8869
  get children() {
8870
8870
  return [createComponent(Match, {
@@ -8901,8 +8901,8 @@ var CopyButton = (props) => {
8901
8901
  _v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
8902
8902
  return _p$;
8903
8903
  }, {
8904
- e: void 0,
8905
- t: void 0
8904
+ e: undefined,
8905
+ t: undefined
8906
8906
  });
8907
8907
  return _el$2;
8908
8908
  })();
@@ -9064,7 +9064,7 @@ function Explorer(props) {
9064
9064
  }), null);
9065
9065
  insert(_el$14, createComponent(Show, {
9066
9066
  get when() {
9067
- return props.itemsDeletable && props.activeQuery !== void 0;
9067
+ return props.itemsDeletable && props.activeQuery !== undefined;
9068
9068
  },
9069
9069
  get children() {
9070
9070
  return createComponent(DeleteItemButton, {
@@ -9077,7 +9077,7 @@ function Explorer(props) {
9077
9077
  }), null);
9078
9078
  insert(_el$14, createComponent(Show, {
9079
9079
  get when() {
9080
- return type() === "array" && props.activeQuery !== void 0;
9080
+ return type() === "array" && props.activeQuery !== undefined;
9081
9081
  },
9082
9082
  get children() {
9083
9083
  return createComponent(ClearArrayButton, {
@@ -9113,9 +9113,9 @@ function Explorer(props) {
9113
9113
  _v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
9114
9114
  return _p$;
9115
9115
  }, {
9116
- e: void 0,
9117
- t: void 0,
9118
- a: void 0
9116
+ e: undefined,
9117
+ t: undefined,
9118
+ a: undefined
9119
9119
  });
9120
9120
  return _el$7;
9121
9121
  })(), createComponent(Show, {
@@ -9225,8 +9225,8 @@ function Explorer(props) {
9225
9225
  _v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
9226
9226
  return _p$;
9227
9227
  }, {
9228
- e: void 0,
9229
- t: void 0
9228
+ e: undefined,
9229
+ t: undefined
9230
9230
  });
9231
9231
  return _el$23;
9232
9232
  })()
@@ -9248,7 +9248,7 @@ function Explorer(props) {
9248
9248
  insert(_el$19, () => props.label, _el$20);
9249
9249
  insert(_el$18, createComponent(Show, {
9250
9250
  get when() {
9251
- return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
9251
+ return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number" || type() === "boolean");
9252
9252
  },
9253
9253
  get fallback() {
9254
9254
  return (() => {
@@ -9261,7 +9261,7 @@ function Explorer(props) {
9261
9261
  get children() {
9262
9262
  return [createComponent(Show, {
9263
9263
  get when() {
9264
- return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
9264
+ return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number");
9265
9265
  },
9266
9266
  get children() {
9267
9267
  var _el$21 = _tmpl$92();
@@ -9276,8 +9276,8 @@ function Explorer(props) {
9276
9276
  _v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
9277
9277
  return _p$;
9278
9278
  }, {
9279
- e: void 0,
9280
- t: void 0
9279
+ e: undefined,
9280
+ t: undefined
9281
9281
  });
9282
9282
  createRenderEffect(() => _el$21.value = props.value);
9283
9283
  return _el$21;
@@ -9306,7 +9306,7 @@ function Explorer(props) {
9306
9306
  }), null);
9307
9307
  insert(_el$18, createComponent(Show, {
9308
9308
  get when() {
9309
- return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
9309
+ return props.editable && props.itemsDeletable && props.activeQuery !== undefined;
9310
9310
  },
9311
9311
  get children() {
9312
9312
  return createComponent(DeleteItemButton, {
@@ -9323,8 +9323,8 @@ function Explorer(props) {
9323
9323
  _v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
9324
9324
  return _p$;
9325
9325
  }, {
9326
- e: void 0,
9327
- t: void 0
9326
+ e: undefined,
9327
+ t: undefined
9328
9328
  });
9329
9329
  return _el$18;
9330
9330
  }
@@ -9876,11 +9876,11 @@ var DraggablePanel = (props) => {
9876
9876
  _v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
9877
9877
  return _p$;
9878
9878
  }, {
9879
- e: void 0,
9880
- t: void 0,
9881
- a: void 0,
9882
- o: void 0,
9883
- i: void 0
9879
+ e: undefined,
9880
+ t: undefined,
9881
+ a: undefined,
9882
+ o: undefined,
9883
+ i: undefined
9884
9884
  });
9885
9885
  return _el$7;
9886
9886
  })();
@@ -10364,26 +10364,26 @@ var ContentView = (props) => {
10364
10364
  _v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
10365
10365
  return _p$;
10366
10366
  }, {
10367
- e: void 0,
10368
- t: void 0,
10369
- a: void 0,
10370
- o: void 0,
10371
- i: void 0,
10372
- n: void 0,
10373
- s: void 0,
10374
- h: void 0,
10375
- r: void 0,
10376
- d: void 0,
10377
- l: void 0,
10378
- u: void 0,
10379
- c: void 0,
10380
- w: void 0,
10381
- m: void 0,
10382
- f: void 0,
10383
- y: void 0,
10384
- g: void 0,
10385
- p: void 0,
10386
- b: void 0
10367
+ e: undefined,
10368
+ t: undefined,
10369
+ a: undefined,
10370
+ o: undefined,
10371
+ i: undefined,
10372
+ n: undefined,
10373
+ s: undefined,
10374
+ h: undefined,
10375
+ r: undefined,
10376
+ d: undefined,
10377
+ l: undefined,
10378
+ u: undefined,
10379
+ c: undefined,
10380
+ w: undefined,
10381
+ m: undefined,
10382
+ f: undefined,
10383
+ y: undefined,
10384
+ g: undefined,
10385
+ p: undefined,
10386
+ b: undefined
10387
10387
  });
10388
10388
  createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
10389
10389
  return _el$10;
@@ -10469,9 +10469,9 @@ var QueryRow = (props) => {
10469
10469
  _v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
10470
10470
  return _p$;
10471
10471
  }, {
10472
- e: void 0,
10473
- t: void 0,
10474
- a: void 0
10472
+ e: undefined,
10473
+ t: undefined,
10474
+ a: undefined
10475
10475
  });
10476
10476
  return _el$49;
10477
10477
  }
@@ -10582,9 +10582,9 @@ var MutationRow = (props) => {
10582
10582
  _v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
10583
10583
  return _p$;
10584
10584
  }, {
10585
- e: void 0,
10586
- t: void 0,
10587
- a: void 0
10585
+ e: undefined,
10586
+ t: undefined,
10587
+ a: undefined
10588
10588
  });
10589
10589
  return _el$53;
10590
10590
  }
@@ -10792,8 +10792,8 @@ var QueryStatus = (props) => {
10792
10792
  _v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
10793
10793
  return _p$;
10794
10794
  }, {
10795
- e: void 0,
10796
- t: void 0
10795
+ e: undefined,
10796
+ t: undefined
10797
10797
  });
10798
10798
  return _el$58;
10799
10799
  })();
@@ -10909,7 +10909,7 @@ var QueryDetails = () => {
10909
10909
  setSelectedQueryHash(null);
10910
10910
  };
10911
10911
  _el$86.$$click = () => {
10912
- if (activeQuery()?.state.data === void 0) {
10912
+ if (activeQuery()?.state.data === undefined) {
10913
10913
  setRestoringLoading(true);
10914
10914
  restoreQueryAfterLoadingOrError();
10915
10915
  } else {
@@ -10926,7 +10926,7 @@ var QueryDetails = () => {
10926
10926
  gcTime: -1
10927
10927
  });
10928
10928
  activeQueryVal.setState({
10929
- data: void 0,
10929
+ data: undefined,
10930
10930
  status: "pending",
10931
10931
  fetchMeta: {
10932
10932
  ...activeQueryVal.state.fetchMeta,
@@ -10961,9 +10961,9 @@ var QueryDetails = () => {
10961
10961
  _v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
10962
10962
  return _p$;
10963
10963
  }, {
10964
- e: void 0,
10965
- t: void 0,
10966
- a: void 0
10964
+ e: undefined,
10965
+ t: undefined,
10966
+ a: undefined
10967
10967
  });
10968
10968
  return _el$89;
10969
10969
  }
@@ -10999,9 +10999,9 @@ var QueryDetails = () => {
10999
10999
  _v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
11000
11000
  return _p$;
11001
11001
  }, {
11002
- e: void 0,
11003
- t: void 0,
11004
- a: void 0
11002
+ e: undefined,
11003
+ t: undefined,
11004
+ a: undefined
11005
11005
  });
11006
11006
  return _el$92;
11007
11007
  }
@@ -11069,14 +11069,14 @@ var QueryDetails = () => {
11069
11069
  _v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
11070
11070
  return _p$;
11071
11071
  }, {
11072
- e: void 0,
11073
- t: void 0,
11074
- a: void 0,
11075
- o: void 0,
11076
- i: void 0,
11077
- n: void 0,
11078
- s: void 0,
11079
- h: void 0
11072
+ e: undefined,
11073
+ t: undefined,
11074
+ a: undefined,
11075
+ o: undefined,
11076
+ i: undefined,
11077
+ n: undefined,
11078
+ s: undefined,
11079
+ h: undefined
11080
11080
  });
11081
11081
  createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
11082
11082
  return _el$100;
@@ -11137,30 +11137,30 @@ var QueryDetails = () => {
11137
11137
  _v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
11138
11138
  return _p$;
11139
11139
  }, {
11140
- e: void 0,
11141
- t: void 0,
11142
- a: void 0,
11143
- o: void 0,
11144
- i: void 0,
11145
- n: void 0,
11146
- s: void 0,
11147
- h: void 0,
11148
- r: void 0,
11149
- d: void 0,
11150
- l: void 0,
11151
- u: void 0,
11152
- c: void 0,
11153
- w: void 0,
11154
- m: void 0,
11155
- f: void 0,
11156
- y: void 0,
11157
- g: void 0,
11158
- p: void 0,
11159
- b: void 0,
11160
- T: void 0,
11161
- A: void 0,
11162
- O: void 0,
11163
- I: void 0
11140
+ e: undefined,
11141
+ t: undefined,
11142
+ a: undefined,
11143
+ o: undefined,
11144
+ i: undefined,
11145
+ n: undefined,
11146
+ s: undefined,
11147
+ h: undefined,
11148
+ r: undefined,
11149
+ d: undefined,
11150
+ l: undefined,
11151
+ u: undefined,
11152
+ c: undefined,
11153
+ w: undefined,
11154
+ m: undefined,
11155
+ f: undefined,
11156
+ y: undefined,
11157
+ g: undefined,
11158
+ p: undefined,
11159
+ b: undefined,
11160
+ T: undefined,
11161
+ A: undefined,
11162
+ O: undefined,
11163
+ I: undefined
11164
11164
  });
11165
11165
  return _el$63;
11166
11166
  }
@@ -11285,18 +11285,18 @@ var MutationDetails = () => {
11285
11285
  _v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
11286
11286
  return _p$;
11287
11287
  }, {
11288
- e: void 0,
11289
- t: void 0,
11290
- a: void 0,
11291
- o: void 0,
11292
- i: void 0,
11293
- n: void 0,
11294
- s: void 0,
11295
- h: void 0,
11296
- r: void 0,
11297
- d: void 0,
11298
- l: void 0,
11299
- u: void 0
11288
+ e: undefined,
11289
+ t: undefined,
11290
+ a: undefined,
11291
+ o: undefined,
11292
+ i: undefined,
11293
+ n: undefined,
11294
+ s: undefined,
11295
+ h: undefined,
11296
+ r: undefined,
11297
+ d: undefined,
11298
+ l: undefined,
11299
+ u: undefined
11300
11300
  });
11301
11301
  return _el$110;
11302
11302
  }
@@ -11330,7 +11330,7 @@ var createSubscribeToQueryCacheBatcher = (callback, equalityCheck = true, should
11330
11330
  });
11331
11331
  const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
11332
11332
  equals: false
11333
- } : void 0);
11333
+ } : undefined);
11334
11334
  createEffect(() => {
11335
11335
  setValue(callback(queryCache));
11336
11336
  });
@@ -11369,7 +11369,7 @@ var createSubscribeToMutationCacheBatcher = (callback, equalityCheck = true) =>
11369
11369
  });
11370
11370
  const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
11371
11371
  equals: false
11372
- } : void 0);
11372
+ } : undefined);
11373
11373
  createEffect(() => {
11374
11374
  setValue(callback(mutationCache));
11375
11375
  });