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