@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.
- package/build/chunk/B4MFY5CR.js +231 -231
- package/build/chunk/JAANZ2TG.js +53 -53
- package/build/chunk/JAD5ECXD.js +53 -53
- package/build/chunk/NDYUDEEA.js +231 -231
- package/build/dev.cjs +284 -284
- package/build/index.cjs +284 -284
- package/build/index.d.cts +1247 -1
- package/build/index.d.ts +1247 -1
- package/package.json +3 -2
package/build/chunk/B4MFY5CR.js
CHANGED
|
@@ -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 = () =>
|
|
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(
|
|
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:
|
|
290
|
-
onlineManager:
|
|
289
|
+
client: undefined,
|
|
290
|
+
onlineManager: undefined,
|
|
291
291
|
queryFlavor: "",
|
|
292
292
|
version: "",
|
|
293
|
-
shadowDOMTarget:
|
|
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(
|
|
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 ?
|
|
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 } :
|
|
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) && (
|
|
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(
|
|
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 :
|
|
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 :
|
|
1982
|
-
].filter(Boolean).join(" ") ||
|
|
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(" ") ||
|
|
1991
|
+
].filter(Boolean).join(" ") || undefined;
|
|
1992
1992
|
};
|
|
1993
1993
|
const dataset = createMemo(() => ({
|
|
1994
|
-
"data-valid": access(mergedProps.validationState) === "valid" ? "" :
|
|
1995
|
-
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" :
|
|
1996
|
-
"data-required": access(mergedProps.required) ? "" :
|
|
1997
|
-
"data-disabled": access(mergedProps.disabled) ? "" :
|
|
1998
|
-
"data-readonly": access(mergedProps.readOnly) ? "" :
|
|
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 ===
|
|
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() :
|
|
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?.() !==
|
|
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 ===
|
|
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
|
|
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() + (
|
|
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() :
|
|
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
|
|
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
|
|
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) ?
|
|
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 =
|
|
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 =
|
|
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(
|
|
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 :
|
|
3749
|
+
return isNativeButton() || isNativeInput() ? local.type : undefined;
|
|
3750
3750
|
},
|
|
3751
3751
|
get role() {
|
|
3752
|
-
return !isNativeButton() && !isNativeLink() ? "button" :
|
|
3752
|
+
return !isNativeButton() && !isNativeLink() ? "button" : undefined;
|
|
3753
3753
|
},
|
|
3754
3754
|
get tabIndex() {
|
|
3755
|
-
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 :
|
|
3755
|
+
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : undefined;
|
|
3756
3756
|
},
|
|
3757
3757
|
get disabled() {
|
|
3758
|
-
return isNativeButton() || isNativeInput() ? local.disabled :
|
|
3758
|
+
return isNativeButton() || isNativeInput() ? local.disabled : undefined;
|
|
3759
3759
|
},
|
|
3760
3760
|
get ["aria-disabled"]() {
|
|
3761
|
-
return !isNativeButton() && !isNativeInput() && local.disabled ? true :
|
|
3761
|
+
return !isNativeButton() && !isNativeInput() && local.disabled ? true : undefined;
|
|
3762
3762
|
},
|
|
3763
3763
|
get ["data-disabled"]() {
|
|
3764
|
-
return local.disabled ? "" :
|
|
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 ===
|
|
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 ?
|
|
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 ===
|
|
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 ?
|
|
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 ?
|
|
4077
|
-
const offsetScale = await (platform2.isElement == null ?
|
|
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 ?
|
|
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 ?
|
|
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 ===
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ===
|
|
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 ?
|
|
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 ===
|
|
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 ?
|
|
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 ===
|
|
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 ===
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ===
|
|
4652
|
+
if (list === undefined) {
|
|
4653
4653
|
list = [];
|
|
4654
4654
|
}
|
|
4655
|
-
if (traverseIframes ===
|
|
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 ?
|
|
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 ===
|
|
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 ===
|
|
4734
|
+
if (includeScale === undefined) {
|
|
4735
4735
|
includeScale = false;
|
|
4736
4736
|
}
|
|
4737
|
-
if (isFixedStrategy ===
|
|
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 ===
|
|
5080
|
+
if (skip === undefined) {
|
|
5081
5081
|
skip = false;
|
|
5082
5082
|
}
|
|
5083
|
-
if (threshold ===
|
|
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 ===
|
|
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 ===
|
|
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 :
|
|
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(" ") :
|
|
5425
|
-
if (fallbackPlacements !==
|
|
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 ===
|
|
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 ===
|
|
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() ? "" :
|
|
5882
|
-
"data-checked": isSelected() ? "" :
|
|
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 :
|
|
5988
|
-
].filter(Boolean).join(" ") ||
|
|
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(" ") ||
|
|
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" ||
|
|
6146
|
+
return formControlContext.validationState() === "invalid" || undefined;
|
|
6147
6147
|
},
|
|
6148
6148
|
get ["aria-required"]() {
|
|
6149
|
-
return formControlContext.isRequired() ||
|
|
6149
|
+
return formControlContext.isRequired() || undefined;
|
|
6150
6150
|
},
|
|
6151
6151
|
get ["aria-disabled"]() {
|
|
6152
|
-
return formControlContext.isDisabled() ||
|
|
6152
|
+
return formControlContext.isDisabled() || undefined;
|
|
6153
6153
|
},
|
|
6154
6154
|
get ["aria-readonly"]() {
|
|
6155
|
-
return formControlContext.isReadOnly() ||
|
|
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 :
|
|
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 ===
|
|
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 ===
|
|
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 ===
|
|
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
|
|
7028
|
+
return undefined;
|
|
7029
7029
|
}
|
|
7030
7030
|
return local.checked;
|
|
7031
7031
|
});
|
|
7032
7032
|
const dataset = createMemo(() => ({
|
|
7033
|
-
"data-indeterminate": local.indeterminate ? "" :
|
|
7034
|
-
"data-checked": local.checked && !local.indeterminate ? "" :
|
|
7035
|
-
"data-disabled": local.disabled ? "" :
|
|
7036
|
-
"data-highlighted": isHighlighted() ? "" :
|
|
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 !==
|
|
7144
|
+
if (optionalMenubarContext !== undefined) {
|
|
7145
7145
|
key = () => rootContext.value() ?? local.id;
|
|
7146
|
-
if (optionalMenubarContext.lastValue() ===
|
|
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 !==
|
|
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 ===
|
|
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 ===
|
|
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 !==
|
|
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 !==
|
|
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() :
|
|
7264
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : undefined;
|
|
7265
7265
|
},
|
|
7266
7266
|
get ["data-highlighted"]() {
|
|
7267
|
-
return key() !==
|
|
7267
|
+
return key() !== undefined && optionalMenubarContext?.value() === key() ? true : undefined;
|
|
7268
7268
|
},
|
|
7269
7269
|
get tabIndex() {
|
|
7270
|
-
return optionalMenubarContext !==
|
|
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 !==
|
|
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 ===
|
|
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 ===
|
|
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 !==
|
|
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(
|
|
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 ===
|
|
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 ===
|
|
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 ===
|
|
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(
|
|
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 !==
|
|
7798
|
+
if (parentMenuContext !== undefined)
|
|
7799
7799
|
return;
|
|
7800
7800
|
optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
|
|
7801
7801
|
});
|
|
7802
7802
|
createEffect(() => {
|
|
7803
|
-
if (parentMenuContext !==
|
|
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 !==
|
|
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 !==
|
|
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() ? "" :
|
|
7825
|
-
"data-closed": !disclosureState.isOpen() ? "" :
|
|
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 ===
|
|
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(
|
|
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(
|
|
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() :
|
|
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() ? "" :
|
|
8124
|
+
return isHighlighted() ? "" : undefined;
|
|
8125
8125
|
},
|
|
8126
8126
|
get ["data-disabled"]() {
|
|
8127
|
-
return local.disabled ? "" :
|
|
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" :
|
|
8207
|
+
return tagName() !== "hr" ? "separator" : undefined;
|
|
8208
8208
|
},
|
|
8209
8209
|
get ["aria-orientation"]() {
|
|
8210
|
-
return local.orientation === "vertical" ? "vertical" :
|
|
8210
|
+
return local.orientation === "vertical" ? "vertical" : undefined;
|
|
8211
8211
|
},
|
|
8212
8212
|
get ["data-orientation"]() {
|
|
8213
8213
|
return local.orientation;
|
|
@@ -8863,7 +8863,7 @@ var CopyButton = (props) => {
|
|
|
8863
8863
|
setCopyState("NoCopy");
|
|
8864
8864
|
}, 1500);
|
|
8865
8865
|
});
|
|
8866
|
-
} :
|
|
8866
|
+
} : undefined, true);
|
|
8867
8867
|
insert(_el$2, createComponent(Switch, {
|
|
8868
8868
|
get children() {
|
|
8869
8869
|
return [createComponent(Match, {
|
|
@@ -8900,8 +8900,8 @@ var CopyButton = (props) => {
|
|
|
8900
8900
|
_v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
|
|
8901
8901
|
return _p$;
|
|
8902
8902
|
}, {
|
|
8903
|
-
e:
|
|
8904
|
-
t:
|
|
8903
|
+
e: undefined,
|
|
8904
|
+
t: undefined
|
|
8905
8905
|
});
|
|
8906
8906
|
return _el$2;
|
|
8907
8907
|
})();
|
|
@@ -9063,7 +9063,7 @@ function Explorer(props) {
|
|
|
9063
9063
|
}), null);
|
|
9064
9064
|
insert(_el$14, createComponent(Show, {
|
|
9065
9065
|
get when() {
|
|
9066
|
-
return props.itemsDeletable && props.activeQuery !==
|
|
9066
|
+
return props.itemsDeletable && props.activeQuery !== undefined;
|
|
9067
9067
|
},
|
|
9068
9068
|
get children() {
|
|
9069
9069
|
return createComponent(DeleteItemButton, {
|
|
@@ -9076,7 +9076,7 @@ function Explorer(props) {
|
|
|
9076
9076
|
}), null);
|
|
9077
9077
|
insert(_el$14, createComponent(Show, {
|
|
9078
9078
|
get when() {
|
|
9079
|
-
return type() === "array" && props.activeQuery !==
|
|
9079
|
+
return type() === "array" && props.activeQuery !== undefined;
|
|
9080
9080
|
},
|
|
9081
9081
|
get children() {
|
|
9082
9082
|
return createComponent(ClearArrayButton, {
|
|
@@ -9112,9 +9112,9 @@ function Explorer(props) {
|
|
|
9112
9112
|
_v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
|
|
9113
9113
|
return _p$;
|
|
9114
9114
|
}, {
|
|
9115
|
-
e:
|
|
9116
|
-
t:
|
|
9117
|
-
a:
|
|
9115
|
+
e: undefined,
|
|
9116
|
+
t: undefined,
|
|
9117
|
+
a: undefined
|
|
9118
9118
|
});
|
|
9119
9119
|
return _el$7;
|
|
9120
9120
|
})(), createComponent(Show, {
|
|
@@ -9224,8 +9224,8 @@ function Explorer(props) {
|
|
|
9224
9224
|
_v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
|
|
9225
9225
|
return _p$;
|
|
9226
9226
|
}, {
|
|
9227
|
-
e:
|
|
9228
|
-
t:
|
|
9227
|
+
e: undefined,
|
|
9228
|
+
t: undefined
|
|
9229
9229
|
});
|
|
9230
9230
|
return _el$23;
|
|
9231
9231
|
})()
|
|
@@ -9247,7 +9247,7 @@ function Explorer(props) {
|
|
|
9247
9247
|
insert(_el$19, () => props.label, _el$20);
|
|
9248
9248
|
insert(_el$18, createComponent(Show, {
|
|
9249
9249
|
get when() {
|
|
9250
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
9250
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
9251
9251
|
},
|
|
9252
9252
|
get fallback() {
|
|
9253
9253
|
return (() => {
|
|
@@ -9260,7 +9260,7 @@ function Explorer(props) {
|
|
|
9260
9260
|
get children() {
|
|
9261
9261
|
return [createComponent(Show, {
|
|
9262
9262
|
get when() {
|
|
9263
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
9263
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== undefined))() && (type() === "string" || type() === "number");
|
|
9264
9264
|
},
|
|
9265
9265
|
get children() {
|
|
9266
9266
|
var _el$21 = _tmpl$92();
|
|
@@ -9275,8 +9275,8 @@ function Explorer(props) {
|
|
|
9275
9275
|
_v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
|
|
9276
9276
|
return _p$;
|
|
9277
9277
|
}, {
|
|
9278
|
-
e:
|
|
9279
|
-
t:
|
|
9278
|
+
e: undefined,
|
|
9279
|
+
t: undefined
|
|
9280
9280
|
});
|
|
9281
9281
|
createRenderEffect(() => _el$21.value = props.value);
|
|
9282
9282
|
return _el$21;
|
|
@@ -9305,7 +9305,7 @@ function Explorer(props) {
|
|
|
9305
9305
|
}), null);
|
|
9306
9306
|
insert(_el$18, createComponent(Show, {
|
|
9307
9307
|
get when() {
|
|
9308
|
-
return props.editable && props.itemsDeletable && props.activeQuery !==
|
|
9308
|
+
return props.editable && props.itemsDeletable && props.activeQuery !== undefined;
|
|
9309
9309
|
},
|
|
9310
9310
|
get children() {
|
|
9311
9311
|
return createComponent(DeleteItemButton, {
|
|
@@ -9322,8 +9322,8 @@ function Explorer(props) {
|
|
|
9322
9322
|
_v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
|
|
9323
9323
|
return _p$;
|
|
9324
9324
|
}, {
|
|
9325
|
-
e:
|
|
9326
|
-
t:
|
|
9325
|
+
e: undefined,
|
|
9326
|
+
t: undefined
|
|
9327
9327
|
});
|
|
9328
9328
|
return _el$18;
|
|
9329
9329
|
}
|
|
@@ -9875,11 +9875,11 @@ var DraggablePanel = (props) => {
|
|
|
9875
9875
|
_v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
|
|
9876
9876
|
return _p$;
|
|
9877
9877
|
}, {
|
|
9878
|
-
e:
|
|
9879
|
-
t:
|
|
9880
|
-
a:
|
|
9881
|
-
o:
|
|
9882
|
-
i:
|
|
9878
|
+
e: undefined,
|
|
9879
|
+
t: undefined,
|
|
9880
|
+
a: undefined,
|
|
9881
|
+
o: undefined,
|
|
9882
|
+
i: undefined
|
|
9883
9883
|
});
|
|
9884
9884
|
return _el$7;
|
|
9885
9885
|
})();
|
|
@@ -10363,26 +10363,26 @@ var ContentView = (props) => {
|
|
|
10363
10363
|
_v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
|
|
10364
10364
|
return _p$;
|
|
10365
10365
|
}, {
|
|
10366
|
-
e:
|
|
10367
|
-
t:
|
|
10368
|
-
a:
|
|
10369
|
-
o:
|
|
10370
|
-
i:
|
|
10371
|
-
n:
|
|
10372
|
-
s:
|
|
10373
|
-
h:
|
|
10374
|
-
r:
|
|
10375
|
-
d:
|
|
10376
|
-
l:
|
|
10377
|
-
u:
|
|
10378
|
-
c:
|
|
10379
|
-
w:
|
|
10380
|
-
m:
|
|
10381
|
-
f:
|
|
10382
|
-
y:
|
|
10383
|
-
g:
|
|
10384
|
-
p:
|
|
10385
|
-
b:
|
|
10366
|
+
e: undefined,
|
|
10367
|
+
t: undefined,
|
|
10368
|
+
a: undefined,
|
|
10369
|
+
o: undefined,
|
|
10370
|
+
i: undefined,
|
|
10371
|
+
n: undefined,
|
|
10372
|
+
s: undefined,
|
|
10373
|
+
h: undefined,
|
|
10374
|
+
r: undefined,
|
|
10375
|
+
d: undefined,
|
|
10376
|
+
l: undefined,
|
|
10377
|
+
u: undefined,
|
|
10378
|
+
c: undefined,
|
|
10379
|
+
w: undefined,
|
|
10380
|
+
m: undefined,
|
|
10381
|
+
f: undefined,
|
|
10382
|
+
y: undefined,
|
|
10383
|
+
g: undefined,
|
|
10384
|
+
p: undefined,
|
|
10385
|
+
b: undefined
|
|
10386
10386
|
});
|
|
10387
10387
|
createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
10388
10388
|
return _el$10;
|
|
@@ -10468,9 +10468,9 @@ var QueryRow = (props) => {
|
|
|
10468
10468
|
_v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
|
|
10469
10469
|
return _p$;
|
|
10470
10470
|
}, {
|
|
10471
|
-
e:
|
|
10472
|
-
t:
|
|
10473
|
-
a:
|
|
10471
|
+
e: undefined,
|
|
10472
|
+
t: undefined,
|
|
10473
|
+
a: undefined
|
|
10474
10474
|
});
|
|
10475
10475
|
return _el$49;
|
|
10476
10476
|
}
|
|
@@ -10581,9 +10581,9 @@ var MutationRow = (props) => {
|
|
|
10581
10581
|
_v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
|
|
10582
10582
|
return _p$;
|
|
10583
10583
|
}, {
|
|
10584
|
-
e:
|
|
10585
|
-
t:
|
|
10586
|
-
a:
|
|
10584
|
+
e: undefined,
|
|
10585
|
+
t: undefined,
|
|
10586
|
+
a: undefined
|
|
10587
10587
|
});
|
|
10588
10588
|
return _el$53;
|
|
10589
10589
|
}
|
|
@@ -10791,8 +10791,8 @@ var QueryStatus = (props) => {
|
|
|
10791
10791
|
_v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
|
|
10792
10792
|
return _p$;
|
|
10793
10793
|
}, {
|
|
10794
|
-
e:
|
|
10795
|
-
t:
|
|
10794
|
+
e: undefined,
|
|
10795
|
+
t: undefined
|
|
10796
10796
|
});
|
|
10797
10797
|
return _el$58;
|
|
10798
10798
|
})();
|
|
@@ -10908,7 +10908,7 @@ var QueryDetails = () => {
|
|
|
10908
10908
|
setSelectedQueryHash(null);
|
|
10909
10909
|
};
|
|
10910
10910
|
_el$86.$$click = () => {
|
|
10911
|
-
if (activeQuery()?.state.data ===
|
|
10911
|
+
if (activeQuery()?.state.data === undefined) {
|
|
10912
10912
|
setRestoringLoading(true);
|
|
10913
10913
|
restoreQueryAfterLoadingOrError();
|
|
10914
10914
|
} else {
|
|
@@ -10925,7 +10925,7 @@ var QueryDetails = () => {
|
|
|
10925
10925
|
gcTime: -1
|
|
10926
10926
|
});
|
|
10927
10927
|
activeQueryVal.setState({
|
|
10928
|
-
data:
|
|
10928
|
+
data: undefined,
|
|
10929
10929
|
status: "pending",
|
|
10930
10930
|
fetchMeta: {
|
|
10931
10931
|
...activeQueryVal.state.fetchMeta,
|
|
@@ -10960,9 +10960,9 @@ var QueryDetails = () => {
|
|
|
10960
10960
|
_v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
|
|
10961
10961
|
return _p$;
|
|
10962
10962
|
}, {
|
|
10963
|
-
e:
|
|
10964
|
-
t:
|
|
10965
|
-
a:
|
|
10963
|
+
e: undefined,
|
|
10964
|
+
t: undefined,
|
|
10965
|
+
a: undefined
|
|
10966
10966
|
});
|
|
10967
10967
|
return _el$89;
|
|
10968
10968
|
}
|
|
@@ -10998,9 +10998,9 @@ var QueryDetails = () => {
|
|
|
10998
10998
|
_v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
|
|
10999
10999
|
return _p$;
|
|
11000
11000
|
}, {
|
|
11001
|
-
e:
|
|
11002
|
-
t:
|
|
11003
|
-
a:
|
|
11001
|
+
e: undefined,
|
|
11002
|
+
t: undefined,
|
|
11003
|
+
a: undefined
|
|
11004
11004
|
});
|
|
11005
11005
|
return _el$92;
|
|
11006
11006
|
}
|
|
@@ -11068,14 +11068,14 @@ var QueryDetails = () => {
|
|
|
11068
11068
|
_v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
|
|
11069
11069
|
return _p$;
|
|
11070
11070
|
}, {
|
|
11071
|
-
e:
|
|
11072
|
-
t:
|
|
11073
|
-
a:
|
|
11074
|
-
o:
|
|
11075
|
-
i:
|
|
11076
|
-
n:
|
|
11077
|
-
s:
|
|
11078
|
-
h:
|
|
11071
|
+
e: undefined,
|
|
11072
|
+
t: undefined,
|
|
11073
|
+
a: undefined,
|
|
11074
|
+
o: undefined,
|
|
11075
|
+
i: undefined,
|
|
11076
|
+
n: undefined,
|
|
11077
|
+
s: undefined,
|
|
11078
|
+
h: undefined
|
|
11079
11079
|
});
|
|
11080
11080
|
createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
11081
11081
|
return _el$100;
|
|
@@ -11136,30 +11136,30 @@ var QueryDetails = () => {
|
|
|
11136
11136
|
_v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
|
|
11137
11137
|
return _p$;
|
|
11138
11138
|
}, {
|
|
11139
|
-
e:
|
|
11140
|
-
t:
|
|
11141
|
-
a:
|
|
11142
|
-
o:
|
|
11143
|
-
i:
|
|
11144
|
-
n:
|
|
11145
|
-
s:
|
|
11146
|
-
h:
|
|
11147
|
-
r:
|
|
11148
|
-
d:
|
|
11149
|
-
l:
|
|
11150
|
-
u:
|
|
11151
|
-
c:
|
|
11152
|
-
w:
|
|
11153
|
-
m:
|
|
11154
|
-
f:
|
|
11155
|
-
y:
|
|
11156
|
-
g:
|
|
11157
|
-
p:
|
|
11158
|
-
b:
|
|
11159
|
-
T:
|
|
11160
|
-
A:
|
|
11161
|
-
O:
|
|
11162
|
-
I:
|
|
11139
|
+
e: undefined,
|
|
11140
|
+
t: undefined,
|
|
11141
|
+
a: undefined,
|
|
11142
|
+
o: undefined,
|
|
11143
|
+
i: undefined,
|
|
11144
|
+
n: undefined,
|
|
11145
|
+
s: undefined,
|
|
11146
|
+
h: undefined,
|
|
11147
|
+
r: undefined,
|
|
11148
|
+
d: undefined,
|
|
11149
|
+
l: undefined,
|
|
11150
|
+
u: undefined,
|
|
11151
|
+
c: undefined,
|
|
11152
|
+
w: undefined,
|
|
11153
|
+
m: undefined,
|
|
11154
|
+
f: undefined,
|
|
11155
|
+
y: undefined,
|
|
11156
|
+
g: undefined,
|
|
11157
|
+
p: undefined,
|
|
11158
|
+
b: undefined,
|
|
11159
|
+
T: undefined,
|
|
11160
|
+
A: undefined,
|
|
11161
|
+
O: undefined,
|
|
11162
|
+
I: undefined
|
|
11163
11163
|
});
|
|
11164
11164
|
return _el$63;
|
|
11165
11165
|
}
|
|
@@ -11284,18 +11284,18 @@ var MutationDetails = () => {
|
|
|
11284
11284
|
_v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
|
|
11285
11285
|
return _p$;
|
|
11286
11286
|
}, {
|
|
11287
|
-
e:
|
|
11288
|
-
t:
|
|
11289
|
-
a:
|
|
11290
|
-
o:
|
|
11291
|
-
i:
|
|
11292
|
-
n:
|
|
11293
|
-
s:
|
|
11294
|
-
h:
|
|
11295
|
-
r:
|
|
11296
|
-
d:
|
|
11297
|
-
l:
|
|
11298
|
-
u:
|
|
11287
|
+
e: undefined,
|
|
11288
|
+
t: undefined,
|
|
11289
|
+
a: undefined,
|
|
11290
|
+
o: undefined,
|
|
11291
|
+
i: undefined,
|
|
11292
|
+
n: undefined,
|
|
11293
|
+
s: undefined,
|
|
11294
|
+
h: undefined,
|
|
11295
|
+
r: undefined,
|
|
11296
|
+
d: undefined,
|
|
11297
|
+
l: undefined,
|
|
11298
|
+
u: undefined
|
|
11299
11299
|
});
|
|
11300
11300
|
return _el$110;
|
|
11301
11301
|
}
|
|
@@ -11329,7 +11329,7 @@ var createSubscribeToQueryCacheBatcher = (callback, equalityCheck = true, should
|
|
|
11329
11329
|
});
|
|
11330
11330
|
const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
|
|
11331
11331
|
equals: false
|
|
11332
|
-
} :
|
|
11332
|
+
} : undefined);
|
|
11333
11333
|
createEffect(() => {
|
|
11334
11334
|
setValue(callback(queryCache));
|
|
11335
11335
|
});
|
|
@@ -11368,7 +11368,7 @@ var createSubscribeToMutationCacheBatcher = (callback, equalityCheck = true) =>
|
|
|
11368
11368
|
});
|
|
11369
11369
|
const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
|
|
11370
11370
|
equals: false
|
|
11371
|
-
} :
|
|
11371
|
+
} : undefined);
|
|
11372
11372
|
createEffect(() => {
|
|
11373
11373
|
setValue(callback(mutationCache));
|
|
11374
11374
|
});
|