@tanstack/query-devtools 5.65.0 → 5.67.2
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/DevtoolsComponent/{E3YREIG7.js → J3FDRF32.js} +2 -2
- package/build/DevtoolsComponent/{HO4MOOFI.js → VONRGPZ6.js} +2 -2
- package/build/DevtoolsPanelComponent/{HUY7CZI3.js → 2QQPFIXG.js} +2 -2
- package/build/DevtoolsPanelComponent/{LFXA4CB4.js → 3VW64HDT.js} +2 -2
- package/build/chunk/{JAANZ2TG.js → 4F76KWFD.js} +55 -59
- package/build/chunk/{B4MFY5CR.js → 67EVQ76A.js} +274 -279
- package/build/chunk/{NDYUDEEA.js → TBLV65XX.js} +274 -279
- package/build/chunk/{JAD5ECXD.js → YIUCDINQ.js} +55 -59
- package/build/dev.cjs +381 -389
- package/build/dev.js +3 -3
- package/build/index.cjs +381 -389
- package/build/index.d.cts +17 -11
- package/build/index.d.ts +17 -11
- package/build/index.js +3 -3
- package/package.json +2 -2
package/build/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.4/node_modules/solid-js/dist/solid.js
|
|
14
14
|
function getContextId(count) {
|
|
15
15
|
const num = String(count), len = num.length - 1;
|
|
16
16
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -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 === void 0 ? 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 || void 0
|
|
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 || void 0;
|
|
92
92
|
if (Scheduler && Transition && Transition.running) {
|
|
93
93
|
c2.tState = STALE;
|
|
94
94
|
Updates.push(c2);
|
|
@@ -103,17 +103,13 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
103
103
|
let source;
|
|
104
104
|
let fetcher;
|
|
105
105
|
let options;
|
|
106
|
-
|
|
106
|
+
{
|
|
107
107
|
source = true;
|
|
108
108
|
fetcher = pSource;
|
|
109
109
|
options = {};
|
|
110
|
-
} else {
|
|
111
|
-
source = pSource;
|
|
112
|
-
fetcher = pFetcher;
|
|
113
|
-
options = {};
|
|
114
110
|
}
|
|
115
111
|
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(
|
|
112
|
+
const contexts = /* @__PURE__ */ new Set(), [value, setValue] = (options.storage || createSignal)(options.initialValue), [error, setError] = createSignal(void 0), [track, trigger] = createSignal(void 0, {
|
|
117
113
|
equals: false
|
|
118
114
|
}), [state, setState] = createSignal(resolved ? "ready" : "unresolved");
|
|
119
115
|
if (sharedConfig.context) {
|
|
@@ -126,7 +122,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
126
122
|
function loadEnd(p2, v, error2, key) {
|
|
127
123
|
if (pr === p2) {
|
|
128
124
|
pr = null;
|
|
129
|
-
key !==
|
|
125
|
+
key !== void 0 && (resolved = true);
|
|
130
126
|
if ((p2 === initP || v === initP) && options.onHydrated)
|
|
131
127
|
queueMicrotask(
|
|
132
128
|
() => options.onHydrated(key, {
|
|
@@ -159,7 +155,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
159
155
|
}
|
|
160
156
|
function read() {
|
|
161
157
|
const c2 = SuspenseContext && useContext(SuspenseContext), v = value(), err = error();
|
|
162
|
-
if (err !==
|
|
158
|
+
if (err !== void 0 && !pr)
|
|
163
159
|
throw err;
|
|
164
160
|
if (Listener && !Listener.user && c2) {
|
|
165
161
|
createComputed(() => {
|
|
@@ -195,15 +191,15 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
195
191
|
})
|
|
196
192
|
);
|
|
197
193
|
if (!isPromise(p2)) {
|
|
198
|
-
loadEnd(pr, p2,
|
|
194
|
+
loadEnd(pr, p2, void 0, lookup);
|
|
199
195
|
return p2;
|
|
200
196
|
}
|
|
201
197
|
pr = p2;
|
|
202
198
|
if ("value" in p2) {
|
|
203
199
|
if (p2.status === "success")
|
|
204
|
-
loadEnd(pr, p2.value,
|
|
200
|
+
loadEnd(pr, p2.value, void 0, lookup);
|
|
205
201
|
else
|
|
206
|
-
loadEnd(pr,
|
|
202
|
+
loadEnd(pr, void 0, castError(p2.value), lookup);
|
|
207
203
|
return p2;
|
|
208
204
|
}
|
|
209
205
|
scheduled = true;
|
|
@@ -213,8 +209,8 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
213
209
|
trigger();
|
|
214
210
|
}, false);
|
|
215
211
|
return p2.then(
|
|
216
|
-
(v) => loadEnd(p2, v,
|
|
217
|
-
(e2) => loadEnd(p2,
|
|
212
|
+
(v) => loadEnd(p2, v, void 0, lookup),
|
|
213
|
+
(e2) => loadEnd(p2, void 0, castError(e2), lookup)
|
|
218
214
|
);
|
|
219
215
|
}
|
|
220
216
|
Object.defineProperties(read, {
|
|
@@ -344,7 +340,7 @@ function startTransition(fn) {
|
|
|
344
340
|
}
|
|
345
341
|
runUpdates(fn, false);
|
|
346
342
|
Listener = Owner = null;
|
|
347
|
-
return t2 ? t2.done :
|
|
343
|
+
return t2 ? t2.done : void 0;
|
|
348
344
|
});
|
|
349
345
|
}
|
|
350
346
|
function useTransition() {
|
|
@@ -360,7 +356,7 @@ function createContext(defaultValue, options) {
|
|
|
360
356
|
}
|
|
361
357
|
function useContext(context) {
|
|
362
358
|
let value;
|
|
363
|
-
return Owner && Owner.context && (value = Owner.context[context.id]) !==
|
|
359
|
+
return Owner && Owner.context && (value = Owner.context[context.id]) !== void 0 ? value : context.defaultValue;
|
|
364
360
|
}
|
|
365
361
|
function children(fn) {
|
|
366
362
|
const children2 = createMemo(fn);
|
|
@@ -480,7 +476,7 @@ function runComputation(node, value, time) {
|
|
|
480
476
|
if (Transition && Transition.running) {
|
|
481
477
|
node.tState = STALE;
|
|
482
478
|
node.tOwned && node.tOwned.forEach(cleanNode);
|
|
483
|
-
node.tOwned =
|
|
479
|
+
node.tOwned = void 0;
|
|
484
480
|
} else {
|
|
485
481
|
node.state = STALE;
|
|
486
482
|
node.owned && node.owned.forEach(cleanNode);
|
|
@@ -538,7 +534,7 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
538
534
|
}
|
|
539
535
|
}
|
|
540
536
|
if (ExternalSourceConfig && c2.fn) {
|
|
541
|
-
const [track, trigger] = createSignal(
|
|
537
|
+
const [track, trigger] = createSignal(void 0, {
|
|
542
538
|
equals: false
|
|
543
539
|
});
|
|
544
540
|
const ordinary = ExternalSourceConfig.factory(c2.fn, trigger);
|
|
@@ -844,7 +840,7 @@ function createProvider(id, options) {
|
|
|
844
840
|
};
|
|
845
841
|
return children(() => props.children);
|
|
846
842
|
}),
|
|
847
|
-
|
|
843
|
+
void 0
|
|
848
844
|
);
|
|
849
845
|
return res;
|
|
850
846
|
};
|
|
@@ -1019,7 +1015,7 @@ function resolveSource(s2) {
|
|
|
1019
1015
|
function resolveSources() {
|
|
1020
1016
|
for (let i2 = 0, length = this.length; i2 < length; ++i2) {
|
|
1021
1017
|
const v = this[i2]();
|
|
1022
|
-
if (v !==
|
|
1018
|
+
if (v !== void 0)
|
|
1023
1019
|
return v;
|
|
1024
1020
|
}
|
|
1025
1021
|
}
|
|
@@ -1036,7 +1032,7 @@ function mergeProps(...sources) {
|
|
|
1036
1032
|
get(property) {
|
|
1037
1033
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1038
1034
|
const v = resolveSource(sources[i2])[property];
|
|
1039
|
-
if (v !==
|
|
1035
|
+
if (v !== void 0)
|
|
1040
1036
|
return v;
|
|
1041
1037
|
}
|
|
1042
1038
|
},
|
|
@@ -1074,13 +1070,13 @@ function mergeProps(...sources) {
|
|
|
1074
1070
|
enumerable: true,
|
|
1075
1071
|
configurable: true,
|
|
1076
1072
|
get: resolveSources.bind(sourcesMap[key] = [desc.get.bind(source)])
|
|
1077
|
-
} : desc.value !==
|
|
1073
|
+
} : desc.value !== void 0 ? desc : void 0;
|
|
1078
1074
|
} else {
|
|
1079
1075
|
const sources2 = sourcesMap[key];
|
|
1080
1076
|
if (sources2) {
|
|
1081
1077
|
if (desc.get)
|
|
1082
1078
|
sources2.push(desc.get.bind(source));
|
|
1083
|
-
else if (desc.value !==
|
|
1079
|
+
else if (desc.value !== void 0)
|
|
1084
1080
|
sources2.push(() => desc.value);
|
|
1085
1081
|
}
|
|
1086
1082
|
}
|
|
@@ -1093,7 +1089,7 @@ function mergeProps(...sources) {
|
|
|
1093
1089
|
if (desc && desc.get)
|
|
1094
1090
|
Object.defineProperty(target, key, desc);
|
|
1095
1091
|
else
|
|
1096
|
-
target[key] = desc ? desc.value :
|
|
1092
|
+
target[key] = desc ? desc.value : void 0;
|
|
1097
1093
|
}
|
|
1098
1094
|
return target;
|
|
1099
1095
|
}
|
|
@@ -1104,7 +1100,7 @@ function splitProps(props, ...keys2) {
|
|
|
1104
1100
|
return new Proxy(
|
|
1105
1101
|
{
|
|
1106
1102
|
get(property) {
|
|
1107
|
-
return k.includes(property) ? props[property] :
|
|
1103
|
+
return k.includes(property) ? props[property] : void 0;
|
|
1108
1104
|
},
|
|
1109
1105
|
has(property) {
|
|
1110
1106
|
return k.includes(property) && property in props;
|
|
@@ -1120,7 +1116,7 @@ function splitProps(props, ...keys2) {
|
|
|
1120
1116
|
new Proxy(
|
|
1121
1117
|
{
|
|
1122
1118
|
get(property) {
|
|
1123
|
-
return blocked.has(property) ?
|
|
1119
|
+
return blocked.has(property) ? void 0 : props[property];
|
|
1124
1120
|
},
|
|
1125
1121
|
has(property) {
|
|
1126
1122
|
return blocked.has(property) ? false : property in props;
|
|
@@ -1200,17 +1196,17 @@ function For(props) {
|
|
|
1200
1196
|
const fallback = "fallback" in props && {
|
|
1201
1197
|
fallback: () => props.fallback
|
|
1202
1198
|
};
|
|
1203
|
-
return createMemo(mapArray(() => props.each, props.children, fallback ||
|
|
1199
|
+
return createMemo(mapArray(() => props.each, props.children, fallback || void 0));
|
|
1204
1200
|
}
|
|
1205
1201
|
function Index(props) {
|
|
1206
1202
|
const fallback = "fallback" in props && {
|
|
1207
1203
|
fallback: () => props.fallback
|
|
1208
1204
|
};
|
|
1209
|
-
return createMemo(indexArray(() => props.each, props.children, fallback ||
|
|
1205
|
+
return createMemo(indexArray(() => props.each, props.children, fallback || void 0));
|
|
1210
1206
|
}
|
|
1211
1207
|
function Show(props) {
|
|
1212
1208
|
const keyed = props.keyed;
|
|
1213
|
-
const condition = createMemo(() => props.when,
|
|
1209
|
+
const condition = createMemo(() => props.when, void 0, {
|
|
1214
1210
|
equals: (a2, b2) => keyed ? a2 === b2 : !a2 === !b2
|
|
1215
1211
|
});
|
|
1216
1212
|
return createMemo(
|
|
@@ -1231,8 +1227,8 @@ function Show(props) {
|
|
|
1231
1227
|
}
|
|
1232
1228
|
return props.fallback;
|
|
1233
1229
|
},
|
|
1234
|
-
|
|
1235
|
-
|
|
1230
|
+
void 0,
|
|
1231
|
+
void 0
|
|
1236
1232
|
);
|
|
1237
1233
|
}
|
|
1238
1234
|
function Switch(props) {
|
|
@@ -1252,7 +1248,7 @@ function Switch(props) {
|
|
|
1252
1248
|
}
|
|
1253
1249
|
return [-1];
|
|
1254
1250
|
},
|
|
1255
|
-
|
|
1251
|
+
void 0,
|
|
1256
1252
|
{
|
|
1257
1253
|
equals
|
|
1258
1254
|
}
|
|
@@ -1274,8 +1270,8 @@ function Switch(props) {
|
|
|
1274
1270
|
)
|
|
1275
1271
|
) : c2;
|
|
1276
1272
|
},
|
|
1277
|
-
|
|
1278
|
-
|
|
1273
|
+
void 0,
|
|
1274
|
+
void 0
|
|
1279
1275
|
);
|
|
1280
1276
|
}
|
|
1281
1277
|
function Match(props) {
|
|
@@ -1283,11 +1279,11 @@ function Match(props) {
|
|
|
1283
1279
|
}
|
|
1284
1280
|
var sharedConfig, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1285
1281
|
var init_solid = __esm({
|
|
1286
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1282
|
+
"../../node_modules/.pnpm/solid-js@1.9.4/node_modules/solid-js/dist/solid.js"() {
|
|
1287
1283
|
sharedConfig = {
|
|
1288
|
-
context:
|
|
1289
|
-
registry:
|
|
1290
|
-
effects:
|
|
1284
|
+
context: void 0,
|
|
1285
|
+
registry: void 0,
|
|
1286
|
+
effects: void 0,
|
|
1291
1287
|
done: false,
|
|
1292
1288
|
getContextId() {
|
|
1293
1289
|
return getContextId(this.context.count);
|
|
@@ -1355,14 +1351,14 @@ var init_solid = __esm({
|
|
|
1355
1351
|
};
|
|
1356
1352
|
counter = 0;
|
|
1357
1353
|
narrowedError = (name) => `Stale read from <${name}>.`;
|
|
1358
|
-
DEV =
|
|
1354
|
+
DEV = void 0;
|
|
1359
1355
|
}
|
|
1360
1356
|
});
|
|
1361
1357
|
|
|
1362
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1358
|
+
// ../../node_modules/.pnpm/solid-js@1.9.4/node_modules/solid-js/web/dist/web.js
|
|
1363
1359
|
function getPropAlias(prop, tagName) {
|
|
1364
1360
|
const a2 = PropAliases[prop];
|
|
1365
|
-
return typeof a2 === "object" ? a2[tagName] ? a2["$"] :
|
|
1361
|
+
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
1366
1362
|
}
|
|
1367
1363
|
function reconcileArrays(parentNode, a2, b2) {
|
|
1368
1364
|
let bLength = b2.length, aEnd = a2.length, bEnd = bLength, aStart = 0, bStart = 0, after = a2[aEnd - 1].nextSibling, map = null;
|
|
@@ -1424,7 +1420,7 @@ function render(code, element, init, options = {}) {
|
|
|
1424
1420
|
let disposer;
|
|
1425
1421
|
createRoot((dispose3) => {
|
|
1426
1422
|
disposer = dispose3;
|
|
1427
|
-
element === document ? code() : insert(element, code(), element.firstChild ? null :
|
|
1423
|
+
element === document ? code() : insert(element, code(), element.firstChild ? null : void 0, init);
|
|
1428
1424
|
}, options.owner);
|
|
1429
1425
|
return () => {
|
|
1430
1426
|
disposer();
|
|
@@ -1526,7 +1522,7 @@ function style(node, value, prev) {
|
|
|
1526
1522
|
const nodeStyle = node.style;
|
|
1527
1523
|
if (typeof value === "string")
|
|
1528
1524
|
return nodeStyle.cssText = value;
|
|
1529
|
-
typeof prev === "string" && (nodeStyle.cssText = prev =
|
|
1525
|
+
typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
|
|
1530
1526
|
prev || (prev = {});
|
|
1531
1527
|
value || (value = {});
|
|
1532
1528
|
let v, s2;
|
|
@@ -1558,7 +1554,7 @@ function use(fn, element, arg) {
|
|
|
1558
1554
|
return untrack(() => fn(element, arg));
|
|
1559
1555
|
}
|
|
1560
1556
|
function insert(parent, accessor, marker, initial) {
|
|
1561
|
-
if (marker !==
|
|
1557
|
+
if (marker !== void 0 && !initial)
|
|
1562
1558
|
initial = [];
|
|
1563
1559
|
if (typeof accessor !== "function")
|
|
1564
1560
|
return insertExpression(parent, accessor, initial, marker);
|
|
@@ -1674,7 +1670,7 @@ function eventHandler(e2) {
|
|
|
1674
1670
|
const handler = node[key];
|
|
1675
1671
|
if (handler && !node.disabled) {
|
|
1676
1672
|
const data = node[`${key}Data`];
|
|
1677
|
-
data !==
|
|
1673
|
+
data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
|
|
1678
1674
|
if (e2.cancelBubble)
|
|
1679
1675
|
return;
|
|
1680
1676
|
}
|
|
@@ -1731,7 +1727,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1731
1727
|
current = current();
|
|
1732
1728
|
if (value === current)
|
|
1733
1729
|
return current;
|
|
1734
|
-
const t2 = typeof value, multi = marker !==
|
|
1730
|
+
const t2 = typeof value, multi = marker !== void 0;
|
|
1735
1731
|
parent = multi && current[0] && current[0].parentNode || parent;
|
|
1736
1732
|
if (t2 === "string" || t2 === "number") {
|
|
1737
1733
|
if (hydrating)
|
|
@@ -1776,7 +1772,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1776
1772
|
if (hydrating) {
|
|
1777
1773
|
if (!array.length)
|
|
1778
1774
|
return current;
|
|
1779
|
-
if (marker ===
|
|
1775
|
+
if (marker === void 0)
|
|
1780
1776
|
return current = [...parent.childNodes];
|
|
1781
1777
|
let node = array[0];
|
|
1782
1778
|
if (node.parentNode !== parent)
|
|
@@ -1854,7 +1850,7 @@ function appendNodes(parent, array, marker = null) {
|
|
|
1854
1850
|
parent.insertBefore(array[i2], marker);
|
|
1855
1851
|
}
|
|
1856
1852
|
function cleanChildren(parent, current, marker, replacement) {
|
|
1857
|
-
if (marker ===
|
|
1853
|
+
if (marker === void 0)
|
|
1858
1854
|
return parent.textContent = "";
|
|
1859
1855
|
const node = replacement || document.createTextNode("");
|
|
1860
1856
|
if (current.length) {
|
|
@@ -1911,7 +1907,7 @@ function Portal(props) {
|
|
|
1911
1907
|
onCleanup(() => el.removeChild(container));
|
|
1912
1908
|
}
|
|
1913
1909
|
},
|
|
1914
|
-
|
|
1910
|
+
void 0,
|
|
1915
1911
|
{
|
|
1916
1912
|
render: !hydrating
|
|
1917
1913
|
}
|
|
@@ -1936,7 +1932,7 @@ function Dynamic(props) {
|
|
|
1936
1932
|
}
|
|
1937
1933
|
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1938
1934
|
var init_web = __esm({
|
|
1939
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1935
|
+
"../../node_modules/.pnpm/solid-js@1.9.4/node_modules/solid-js/web/dist/web.js"() {
|
|
1940
1936
|
init_solid();
|
|
1941
1937
|
init_solid();
|
|
1942
1938
|
booleans = [
|
|
@@ -2235,7 +2231,7 @@ function find(record, predicate) {
|
|
|
2235
2231
|
return value;
|
|
2236
2232
|
}
|
|
2237
2233
|
}
|
|
2238
|
-
return
|
|
2234
|
+
return void 0;
|
|
2239
2235
|
}
|
|
2240
2236
|
function forEach(record, run) {
|
|
2241
2237
|
Object.entries(record).forEach(([key, value]) => run(value, key));
|
|
@@ -2250,7 +2246,7 @@ function findArr(record, predicate) {
|
|
|
2250
2246
|
return value;
|
|
2251
2247
|
}
|
|
2252
2248
|
}
|
|
2253
|
-
return
|
|
2249
|
+
return void 0;
|
|
2254
2250
|
}
|
|
2255
2251
|
var init_util = __esm({
|
|
2256
2252
|
"../../node_modules/.pnpm/superjson@2.2.1/node_modules/superjson/dist/util.js"() {
|
|
@@ -2377,7 +2373,7 @@ var init_transformer = __esm({
|
|
|
2377
2373
|
init_is();
|
|
2378
2374
|
init_util();
|
|
2379
2375
|
simpleRules = [
|
|
2380
|
-
simpleTransformation(isUndefined, "undefined", () => null, () =>
|
|
2376
|
+
simpleTransformation(isUndefined, "undefined", () => null, () => void 0),
|
|
2381
2377
|
simpleTransformation(isBigint, "bigint", (v) => v.toString(), (v) => {
|
|
2382
2378
|
if (typeof BigInt !== "undefined") {
|
|
2383
2379
|
return BigInt(v);
|
|
@@ -2520,7 +2516,7 @@ var init_transformer = __esm({
|
|
|
2520
2516
|
type: applicableSimpleRule.annotation
|
|
2521
2517
|
};
|
|
2522
2518
|
}
|
|
2523
|
-
return
|
|
2519
|
+
return void 0;
|
|
2524
2520
|
};
|
|
2525
2521
|
simpleRulesByAnnotation = {};
|
|
2526
2522
|
simpleRules.forEach((rule) => {
|
|
@@ -2725,7 +2721,7 @@ function addIdentity(object, path, identities) {
|
|
|
2725
2721
|
}
|
|
2726
2722
|
function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
2727
2723
|
const result = {};
|
|
2728
|
-
let rootEqualityPaths =
|
|
2724
|
+
let rootEqualityPaths = void 0;
|
|
2729
2725
|
identitites.forEach((paths) => {
|
|
2730
2726
|
if (paths.length <= 1) {
|
|
2731
2727
|
return;
|
|
@@ -2747,7 +2743,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2747
2743
|
return [rootEqualityPaths, result];
|
|
2748
2744
|
}
|
|
2749
2745
|
} else {
|
|
2750
|
-
return isEmptyObject(result) ?
|
|
2746
|
+
return isEmptyObject(result) ? void 0 : result;
|
|
2751
2747
|
}
|
|
2752
2748
|
}
|
|
2753
2749
|
var isDeep, walker;
|
|
@@ -2809,7 +2805,7 @@ var init_plainer = __esm({
|
|
|
2809
2805
|
});
|
|
2810
2806
|
const result = isEmptyObject(innerAnnotations) ? {
|
|
2811
2807
|
transformedValue,
|
|
2812
|
-
annotations: !!transformationResult ? [transformationResult.type] :
|
|
2808
|
+
annotations: !!transformationResult ? [transformationResult.type] : void 0
|
|
2813
2809
|
} : {
|
|
2814
2810
|
transformedValue,
|
|
2815
2811
|
annotations: !!transformationResult ? [transformationResult.type, innerAnnotations] : innerAnnotations
|
|
@@ -3005,7 +3001,7 @@ var init_utils = __esm({
|
|
|
3005
3001
|
const {
|
|
3006
3002
|
json
|
|
3007
3003
|
} = serialize(value);
|
|
3008
|
-
return JSON.stringify(json, null, beautify ? 2 :
|
|
3004
|
+
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3009
3005
|
};
|
|
3010
3006
|
getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3011
3007
|
queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
@@ -3149,7 +3145,7 @@ var init_utils = __esm({
|
|
|
3149
3145
|
}
|
|
3150
3146
|
});
|
|
3151
3147
|
|
|
3152
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3148
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3153
3149
|
function chain(callbacks) {
|
|
3154
3150
|
return (...args) => {
|
|
3155
3151
|
for (const callback of callbacks)
|
|
@@ -3192,12 +3188,12 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3192
3188
|
}
|
|
3193
3189
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3194
3190
|
var init_R5675YMU = __esm({
|
|
3195
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3191
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3196
3192
|
init_solid();
|
|
3197
3193
|
init_web();
|
|
3198
3194
|
isClient = !isServer;
|
|
3199
3195
|
isDev = isClient && !!DEV;
|
|
3200
|
-
noop = () =>
|
|
3196
|
+
noop = () => void 0;
|
|
3201
3197
|
isNonNullable = (i2) => i2 != null;
|
|
3202
3198
|
filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
3203
3199
|
access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
@@ -3206,14 +3202,14 @@ var init_R5675YMU = __esm({
|
|
|
3206
3202
|
}
|
|
3207
3203
|
});
|
|
3208
3204
|
|
|
3209
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3205
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3210
3206
|
var init_index = __esm({
|
|
3211
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3207
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3212
3208
|
init_R5675YMU();
|
|
3213
3209
|
}
|
|
3214
3210
|
});
|
|
3215
3211
|
|
|
3216
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3212
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.4/node_modules/@solid-primitives/storage/dist/index.js
|
|
3217
3213
|
function createStorage(props) {
|
|
3218
3214
|
const [error, setError] = createSignal();
|
|
3219
3215
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3231,7 +3227,7 @@ function createStorage(props) {
|
|
|
3231
3227
|
get(_, key) {
|
|
3232
3228
|
let node = signals.get(key);
|
|
3233
3229
|
if (!node) {
|
|
3234
|
-
node = createSignal(
|
|
3230
|
+
node = createSignal(void 0, { equals: false });
|
|
3235
3231
|
signals.set(key, node);
|
|
3236
3232
|
}
|
|
3237
3233
|
node[0]();
|
|
@@ -3358,7 +3354,7 @@ function createStorage(props) {
|
|
|
3358
3354
|
}
|
|
3359
3355
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3360
3356
|
var init_dist4 = __esm({
|
|
3361
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3357
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.4/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3362
3358
|
init_solid();
|
|
3363
3359
|
createLocalStorage = createStorage;
|
|
3364
3360
|
addClearMethod = (storage) => {
|
|
@@ -4128,7 +4124,7 @@ var init_clsx = __esm({
|
|
|
4128
4124
|
}
|
|
4129
4125
|
});
|
|
4130
4126
|
|
|
4131
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4127
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.4/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4132
4128
|
function createListTransition(source, options) {
|
|
4133
4129
|
const initSource = untrack(source);
|
|
4134
4130
|
if (isServer) {
|
|
@@ -4136,16 +4132,16 @@ function createListTransition(source, options) {
|
|
|
4136
4132
|
return () => copy2;
|
|
4137
4133
|
}
|
|
4138
4134
|
const { onChange } = options;
|
|
4139
|
-
let prevSet = new Set(options.appear ?
|
|
4135
|
+
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
4140
4136
|
const exiting = /* @__PURE__ */ new WeakSet();
|
|
4141
4137
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
4142
4138
|
const [isTransitionPending] = useTransition();
|
|
4143
|
-
const finishRemoved =
|
|
4139
|
+
const finishRemoved = (els) => {
|
|
4144
4140
|
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
4145
4141
|
for (const el of els)
|
|
4146
4142
|
exiting.delete(el);
|
|
4147
4143
|
};
|
|
4148
|
-
const handleRemoved =
|
|
4144
|
+
const handleRemoved = (els, el, i2) => els.splice(i2, 0, el) ;
|
|
4149
4145
|
return createMemo(
|
|
4150
4146
|
(prev) => {
|
|
4151
4147
|
const elsToRemove = toRemove();
|
|
@@ -4193,17 +4189,14 @@ function createListTransition(source, options) {
|
|
|
4193
4189
|
options.appear ? [] : initSource.slice()
|
|
4194
4190
|
);
|
|
4195
4191
|
}
|
|
4196
|
-
var noop2;
|
|
4197
4192
|
var init_dist5 = __esm({
|
|
4198
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4193
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.4/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4199
4194
|
init_solid();
|
|
4200
4195
|
init_web();
|
|
4201
|
-
noop2 = () => {
|
|
4202
|
-
};
|
|
4203
4196
|
}
|
|
4204
4197
|
});
|
|
4205
4198
|
|
|
4206
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4199
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.4/node_modules/@solid-primitives/refs/dist/index.js
|
|
4207
4200
|
function mergeRefs(...refs) {
|
|
4208
4201
|
return chain(refs);
|
|
4209
4202
|
}
|
|
@@ -4236,7 +4229,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4236
4229
|
}
|
|
4237
4230
|
var defaultElementPredicate;
|
|
4238
4231
|
var init_dist6 = __esm({
|
|
4239
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4232
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.4/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4240
4233
|
init_index();
|
|
4241
4234
|
init_solid();
|
|
4242
4235
|
init_web();
|
|
@@ -4244,7 +4237,7 @@ var init_dist6 = __esm({
|
|
|
4244
4237
|
}
|
|
4245
4238
|
});
|
|
4246
4239
|
|
|
4247
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4240
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.4/node_modules/solid-transition-group/dist/index.js
|
|
4248
4241
|
function createClassnames(props) {
|
|
4249
4242
|
return createMemo(() => {
|
|
4250
4243
|
const name = props.name || "s";
|
|
@@ -4319,7 +4312,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4319
4312
|
}
|
|
4320
4313
|
var TransitionGroup;
|
|
4321
4314
|
var init_dist7 = __esm({
|
|
4322
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4315
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.4/node_modules/solid-transition-group/dist/index.js"() {
|
|
4323
4316
|
init_solid();
|
|
4324
4317
|
init_dist5();
|
|
4325
4318
|
init_dist6();
|
|
@@ -4327,7 +4320,6 @@ var init_dist7 = __esm({
|
|
|
4327
4320
|
const classnames = createClassnames(props);
|
|
4328
4321
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
4329
4322
|
appear: props.appear,
|
|
4330
|
-
exitMethod: "keep-index",
|
|
4331
4323
|
onChange({ added, removed, finishRemoved, list }) {
|
|
4332
4324
|
const classes = classnames();
|
|
4333
4325
|
for (const el of added) {
|
|
@@ -4373,7 +4365,7 @@ var init_dist7 = __esm({
|
|
|
4373
4365
|
}
|
|
4374
4366
|
});
|
|
4375
4367
|
|
|
4376
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4368
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.4/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4377
4369
|
function dispose2(list) {
|
|
4378
4370
|
for (const o2 of list)
|
|
4379
4371
|
o2.dispose();
|
|
@@ -4465,20 +4457,20 @@ function Key(props) {
|
|
|
4465
4457
|
() => props.each,
|
|
4466
4458
|
typeof by === "function" ? by : (v) => v[by],
|
|
4467
4459
|
props.children,
|
|
4468
|
-
"fallback" in props ? { fallback: () => props.fallback } :
|
|
4460
|
+
"fallback" in props ? { fallback: () => props.fallback } : void 0
|
|
4469
4461
|
)
|
|
4470
4462
|
);
|
|
4471
4463
|
}
|
|
4472
4464
|
var FALLBACK2;
|
|
4473
4465
|
var init_dist8 = __esm({
|
|
4474
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4466
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.4/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4475
4467
|
init_solid();
|
|
4476
4468
|
init_web();
|
|
4477
4469
|
FALLBACK2 = Symbol("fallback");
|
|
4478
4470
|
}
|
|
4479
4471
|
});
|
|
4480
4472
|
|
|
4481
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4473
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.4/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4482
4474
|
function makeEventListener(target, type, handler, options) {
|
|
4483
4475
|
target.addEventListener(type, handler, options);
|
|
4484
4476
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4498,14 +4490,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4498
4490
|
createRenderEffect(attachListeners);
|
|
4499
4491
|
}
|
|
4500
4492
|
var init_dist9 = __esm({
|
|
4501
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4493
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.4/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4502
4494
|
init_index();
|
|
4503
4495
|
init_solid();
|
|
4504
4496
|
init_web();
|
|
4505
4497
|
}
|
|
4506
4498
|
});
|
|
4507
4499
|
|
|
4508
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4500
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.4/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4509
4501
|
function makeResizeObserver(callback, options) {
|
|
4510
4502
|
if (isServer) {
|
|
4511
4503
|
return { observe: noop, unobserve: noop };
|
|
@@ -4536,14 +4528,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4536
4528
|
}, []);
|
|
4537
4529
|
}
|
|
4538
4530
|
var init_dist10 = __esm({
|
|
4539
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4531
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.4/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4540
4532
|
init_index();
|
|
4541
4533
|
init_solid();
|
|
4542
4534
|
init_web();
|
|
4543
4535
|
}
|
|
4544
4536
|
});
|
|
4545
4537
|
|
|
4546
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4538
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.4/node_modules/@solid-primitives/props/dist/index.js
|
|
4547
4539
|
function stringStyleToObject(style2) {
|
|
4548
4540
|
const object = {};
|
|
4549
4541
|
let match;
|
|
@@ -4564,12 +4556,12 @@ function combineStyle(a2, b2) {
|
|
|
4564
4556
|
}
|
|
4565
4557
|
var extractCSSregex;
|
|
4566
4558
|
var init_dist11 = __esm({
|
|
4567
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4559
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.4/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4568
4560
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4569
4561
|
}
|
|
4570
4562
|
});
|
|
4571
4563
|
|
|
4572
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4564
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.4/node_modules/@kobalte/utils/dist/index.js
|
|
4573
4565
|
function addItemToArray(array, item, index = -1) {
|
|
4574
4566
|
if (!(index in array)) {
|
|
4575
4567
|
return [...array, item];
|
|
@@ -4955,7 +4947,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4955
4947
|
}
|
|
4956
4948
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4957
4949
|
var init_dist12 = __esm({
|
|
4958
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4950
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.4/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4959
4951
|
init_solid();
|
|
4960
4952
|
init_dist9();
|
|
4961
4953
|
init_dist6();
|
|
@@ -5020,19 +5012,19 @@ var init_dist12 = __esm({
|
|
|
5020
5012
|
}
|
|
5021
5013
|
});
|
|
5022
5014
|
|
|
5023
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5015
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5024
5016
|
function createRegisterId(setter) {
|
|
5025
5017
|
return (id) => {
|
|
5026
5018
|
setter(id);
|
|
5027
|
-
return () => setter(
|
|
5019
|
+
return () => setter(void 0);
|
|
5028
5020
|
};
|
|
5029
5021
|
}
|
|
5030
5022
|
var init_E4R2EMM4 = __esm({
|
|
5031
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5023
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5032
5024
|
}
|
|
5033
5025
|
});
|
|
5034
5026
|
|
|
5035
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5027
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5036
5028
|
function createTagName(ref, fallback) {
|
|
5037
5029
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5038
5030
|
createEffect(() => {
|
|
@@ -5041,16 +5033,16 @@ function createTagName(ref, fallback) {
|
|
|
5041
5033
|
return tagName;
|
|
5042
5034
|
}
|
|
5043
5035
|
function stringOrUndefined(value) {
|
|
5044
|
-
return isString2(value) ? value :
|
|
5036
|
+
return isString2(value) ? value : void 0;
|
|
5045
5037
|
}
|
|
5046
5038
|
var init_ET5T45DO = __esm({
|
|
5047
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5039
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5048
5040
|
init_dist12();
|
|
5049
5041
|
init_solid();
|
|
5050
5042
|
}
|
|
5051
5043
|
});
|
|
5052
5044
|
|
|
5053
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5045
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5054
5046
|
function Polymorphic(props) {
|
|
5055
5047
|
const [local, others] = splitProps(props, ["as"]);
|
|
5056
5048
|
if (!local.as) {
|
|
@@ -5066,13 +5058,13 @@ function Polymorphic(props) {
|
|
|
5066
5058
|
);
|
|
5067
5059
|
}
|
|
5068
5060
|
var init_Y7B2NEO = __esm({
|
|
5069
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5061
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5070
5062
|
init_web();
|
|
5071
5063
|
init_solid();
|
|
5072
5064
|
}
|
|
5073
5065
|
});
|
|
5074
5066
|
|
|
5075
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5067
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5076
5068
|
function createFormControl(props) {
|
|
5077
5069
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5078
5070
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5088,8 +5080,8 @@ function createFormControl(props) {
|
|
|
5088
5080
|
fieldAriaLabelledBy,
|
|
5089
5081
|
labelId(),
|
|
5090
5082
|
// If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
|
|
5091
|
-
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 :
|
|
5092
|
-
].filter(Boolean).join(" ") ||
|
|
5083
|
+
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
|
|
5084
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5093
5085
|
};
|
|
5094
5086
|
const getAriaDescribedBy = (fieldAriaDescribedBy) => {
|
|
5095
5087
|
return [
|
|
@@ -5098,14 +5090,14 @@ function createFormControl(props) {
|
|
|
5098
5090
|
// See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
|
|
5099
5091
|
errorMessageId(),
|
|
5100
5092
|
fieldAriaDescribedBy
|
|
5101
|
-
].filter(Boolean).join(" ") ||
|
|
5093
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5102
5094
|
};
|
|
5103
5095
|
const dataset = createMemo(() => ({
|
|
5104
|
-
"data-valid": access(mergedProps.validationState) === "valid" ? "" :
|
|
5105
|
-
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" :
|
|
5106
|
-
"data-required": access(mergedProps.required) ? "" :
|
|
5107
|
-
"data-disabled": access(mergedProps.disabled) ? "" :
|
|
5108
|
-
"data-readonly": access(mergedProps.readOnly) ? "" :
|
|
5096
|
+
"data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
|
|
5097
|
+
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
|
|
5098
|
+
"data-required": access(mergedProps.required) ? "" : void 0,
|
|
5099
|
+
"data-disabled": access(mergedProps.disabled) ? "" : void 0,
|
|
5100
|
+
"data-readonly": access(mergedProps.readOnly) ? "" : void 0
|
|
5109
5101
|
}));
|
|
5110
5102
|
const formControlContext = {
|
|
5111
5103
|
name: () => access(mergedProps.name) ?? access(mergedProps.id),
|
|
@@ -5132,7 +5124,7 @@ function createFormControl(props) {
|
|
|
5132
5124
|
}
|
|
5133
5125
|
function useFormControlContext() {
|
|
5134
5126
|
const context = useContext(FormControlContext);
|
|
5135
|
-
if (context ===
|
|
5127
|
+
if (context === void 0) {
|
|
5136
5128
|
throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
|
|
5137
5129
|
}
|
|
5138
5130
|
return context;
|
|
@@ -5187,13 +5179,13 @@ function FormControlLabel(props) {
|
|
|
5187
5179
|
typeof _ref$ === "function" && _ref$(r$);
|
|
5188
5180
|
},
|
|
5189
5181
|
get ["for"]() {
|
|
5190
|
-
return createMemo(() => tagName() === "label")() ? context.fieldId() :
|
|
5182
|
+
return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
5191
5183
|
}
|
|
5192
5184
|
}, () => context.dataset(), others));
|
|
5193
5185
|
}
|
|
5194
5186
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5195
5187
|
var init_Q2DJLZQE = __esm({
|
|
5196
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5188
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5197
5189
|
init_E4R2EMM4();
|
|
5198
5190
|
init_ET5T45DO();
|
|
5199
5191
|
init_Y7B2NEO();
|
|
@@ -5205,7 +5197,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5205
5197
|
}
|
|
5206
5198
|
});
|
|
5207
5199
|
|
|
5208
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5200
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5209
5201
|
function createFormResetListener(element, handler) {
|
|
5210
5202
|
createEffect(
|
|
5211
5203
|
on(element, (element2) => {
|
|
@@ -5230,15 +5222,15 @@ function isFormElement(element) {
|
|
|
5230
5222
|
return element.matches("textarea, input, select, button");
|
|
5231
5223
|
}
|
|
5232
5224
|
var init_ANN3A2QM = __esm({
|
|
5233
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5225
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5234
5226
|
init_solid();
|
|
5235
5227
|
}
|
|
5236
5228
|
});
|
|
5237
5229
|
|
|
5238
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5230
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5239
5231
|
function createControllableSignal(props) {
|
|
5240
5232
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5241
|
-
const isControlled = createMemo(() => props.value?.() !==
|
|
5233
|
+
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
5242
5234
|
const value = createMemo(() => isControlled() ? props.value?.() : _value());
|
|
5243
5235
|
const setValue = (next) => {
|
|
5244
5236
|
untrack(() => {
|
|
@@ -5265,13 +5257,13 @@ function createControllableArraySignal(props) {
|
|
|
5265
5257
|
return [value, setValue];
|
|
5266
5258
|
}
|
|
5267
5259
|
var init_BLN63FDC = __esm({
|
|
5268
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5260
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5269
5261
|
init_dist12();
|
|
5270
5262
|
init_solid();
|
|
5271
5263
|
}
|
|
5272
5264
|
});
|
|
5273
5265
|
|
|
5274
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5266
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5275
5267
|
function createToggleState(props = {}) {
|
|
5276
5268
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5277
5269
|
value: () => access(props.isSelected),
|
|
@@ -5295,16 +5287,16 @@ function createToggleState(props = {}) {
|
|
|
5295
5287
|
};
|
|
5296
5288
|
}
|
|
5297
5289
|
var init_YGDQXQ2B = __esm({
|
|
5298
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5290
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5299
5291
|
init_BLN63FDC();
|
|
5300
5292
|
init_dist12();
|
|
5301
5293
|
}
|
|
5302
5294
|
});
|
|
5303
5295
|
|
|
5304
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5296
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5305
5297
|
var __defProp2, __export2;
|
|
5306
5298
|
var init_ZKAE4VZ = __esm({
|
|
5307
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5299
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5308
5300
|
__defProp2 = Object.defineProperty;
|
|
5309
5301
|
__export2 = (target, all) => {
|
|
5310
5302
|
for (var name in all)
|
|
@@ -5313,13 +5305,13 @@ var init_ZKAE4VZ = __esm({
|
|
|
5313
5305
|
}
|
|
5314
5306
|
});
|
|
5315
5307
|
|
|
5316
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5308
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5317
5309
|
function useOptionalDomCollectionContext() {
|
|
5318
5310
|
return useContext(DomCollectionContext);
|
|
5319
5311
|
}
|
|
5320
5312
|
function useDomCollectionContext() {
|
|
5321
5313
|
const context = useOptionalDomCollectionContext();
|
|
5322
|
-
if (context ===
|
|
5314
|
+
if (context === void 0) {
|
|
5323
5315
|
throw new Error(
|
|
5324
5316
|
"[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
|
|
5325
5317
|
);
|
|
@@ -5477,7 +5469,7 @@ function createDomCollectionItem(props) {
|
|
|
5477
5469
|
}
|
|
5478
5470
|
var DomCollectionContext;
|
|
5479
5471
|
var init_CVNMTYF = __esm({
|
|
5480
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5472
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5481
5473
|
init_BLN63FDC();
|
|
5482
5474
|
init_dist12();
|
|
5483
5475
|
init_solid();
|
|
@@ -5485,7 +5477,7 @@ var init_CVNMTYF = __esm({
|
|
|
5485
5477
|
}
|
|
5486
5478
|
});
|
|
5487
5479
|
|
|
5488
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5480
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5489
5481
|
function buildNodes(params) {
|
|
5490
5482
|
let index = params.startIndex ?? 0;
|
|
5491
5483
|
const level = params.startLevel ?? 0;
|
|
@@ -5515,7 +5507,7 @@ function buildNodes(params) {
|
|
|
5515
5507
|
};
|
|
5516
5508
|
const getSectionChildren = (data) => {
|
|
5517
5509
|
if (data == null) {
|
|
5518
|
-
return
|
|
5510
|
+
return void 0;
|
|
5519
5511
|
}
|
|
5520
5512
|
if (isString2(params.getSectionChildren)) {
|
|
5521
5513
|
return data[params.getSectionChildren];
|
|
@@ -5594,13 +5586,13 @@ function createCollection(props, deps = []) {
|
|
|
5594
5586
|
});
|
|
5595
5587
|
}
|
|
5596
5588
|
var init_JMA2RWU6 = __esm({
|
|
5597
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5589
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5598
5590
|
init_dist12();
|
|
5599
5591
|
init_solid();
|
|
5600
5592
|
}
|
|
5601
5593
|
});
|
|
5602
5594
|
|
|
5603
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5595
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5604
5596
|
function isRTL(locale) {
|
|
5605
5597
|
if (Intl.Locale) {
|
|
5606
5598
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5660,7 +5652,7 @@ function useLocale() {
|
|
|
5660
5652
|
function createCollator(options) {
|
|
5661
5653
|
const { locale } = useLocale();
|
|
5662
5654
|
const cacheKey = createMemo(() => {
|
|
5663
|
-
return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
|
|
5655
|
+
return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
|
|
5664
5656
|
});
|
|
5665
5657
|
return createMemo(() => {
|
|
5666
5658
|
const key = cacheKey();
|
|
@@ -5677,7 +5669,7 @@ function createCollator(options) {
|
|
|
5677
5669
|
}
|
|
5678
5670
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5679
5671
|
var init_XHJPQEZP = __esm({
|
|
5680
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5672
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5681
5673
|
init_solid();
|
|
5682
5674
|
init_web();
|
|
5683
5675
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5722,7 +5714,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5722
5714
|
}
|
|
5723
5715
|
});
|
|
5724
5716
|
|
|
5725
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5717
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5726
5718
|
function createControllableSelectionSignal(props) {
|
|
5727
5719
|
const [_value, setValue] = createControllableSignal(props);
|
|
5728
5720
|
const value = () => _value() ?? new Selection();
|
|
@@ -5867,7 +5859,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
5867
5859
|
const { direction } = useLocale();
|
|
5868
5860
|
let scrollPos = { top: 0, left: 0 };
|
|
5869
5861
|
createEventListener(
|
|
5870
|
-
() => !access(mergedProps.isVirtualized) ? finalScrollRef() :
|
|
5862
|
+
() => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
|
|
5871
5863
|
"scroll",
|
|
5872
5864
|
() => {
|
|
5873
5865
|
const scrollEl = finalScrollRef();
|
|
@@ -6171,7 +6163,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
6171
6163
|
);
|
|
6172
6164
|
const tabIndex = createMemo(() => {
|
|
6173
6165
|
if (access(mergedProps.shouldUseVirtualFocus)) {
|
|
6174
|
-
return
|
|
6166
|
+
return void 0;
|
|
6175
6167
|
}
|
|
6176
6168
|
return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
|
|
6177
6169
|
});
|
|
@@ -6260,12 +6252,12 @@ function createSelectableItem(props, ref) {
|
|
|
6260
6252
|
};
|
|
6261
6253
|
const tabIndex = createMemo(() => {
|
|
6262
6254
|
if (shouldUseVirtualFocus() || isDisabled()) {
|
|
6263
|
-
return
|
|
6255
|
+
return void 0;
|
|
6264
6256
|
}
|
|
6265
6257
|
return key() === manager().focusedKey() ? 0 : -1;
|
|
6266
6258
|
});
|
|
6267
6259
|
const dataKey = createMemo(() => {
|
|
6268
|
-
return access(props.virtualized) ?
|
|
6260
|
+
return access(props.virtualized) ? void 0 : key();
|
|
6269
6261
|
});
|
|
6270
6262
|
createEffect(
|
|
6271
6263
|
on(
|
|
@@ -6321,7 +6313,7 @@ function createListState(props) {
|
|
|
6321
6313
|
createComputed(() => {
|
|
6322
6314
|
const focusedKey = selectionState.focusedKey();
|
|
6323
6315
|
if (focusedKey != null && !collection().getItem(focusedKey)) {
|
|
6324
|
-
selectionState.setFocusedKey(
|
|
6316
|
+
selectionState.setFocusedKey(void 0);
|
|
6325
6317
|
}
|
|
6326
6318
|
});
|
|
6327
6319
|
return {
|
|
@@ -6331,7 +6323,7 @@ function createListState(props) {
|
|
|
6331
6323
|
}
|
|
6332
6324
|
var Selection, SelectionManager, ListCollection;
|
|
6333
6325
|
var init_H6DSIDEC = __esm({
|
|
6334
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6326
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6335
6327
|
init_JMA2RWU6();
|
|
6336
6328
|
init_XHJPQEZP();
|
|
6337
6329
|
init_BLN63FDC();
|
|
@@ -6675,13 +6667,13 @@ var init_H6DSIDEC = __esm({
|
|
|
6675
6667
|
node.prevKey = last.key;
|
|
6676
6668
|
} else {
|
|
6677
6669
|
this.firstKey = key;
|
|
6678
|
-
node.prevKey =
|
|
6670
|
+
node.prevKey = void 0;
|
|
6679
6671
|
}
|
|
6680
6672
|
if (node.type === "item") {
|
|
6681
6673
|
node.index = index++;
|
|
6682
6674
|
}
|
|
6683
6675
|
last = node;
|
|
6684
|
-
last.nextKey =
|
|
6676
|
+
last.nextKey = void 0;
|
|
6685
6677
|
}
|
|
6686
6678
|
this.lastKey = last.key;
|
|
6687
6679
|
}
|
|
@@ -6717,25 +6709,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6717
6709
|
}
|
|
6718
6710
|
});
|
|
6719
6711
|
|
|
6720
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6712
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6721
6713
|
var access2;
|
|
6722
6714
|
var init_ZV6G25TT = __esm({
|
|
6723
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6715
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6724
6716
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6725
6717
|
}
|
|
6726
6718
|
});
|
|
6727
6719
|
|
|
6728
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6720
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6729
6721
|
var init_reactivity = __esm({
|
|
6730
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6722
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6731
6723
|
init_ZV6G25TT();
|
|
6732
6724
|
}
|
|
6733
6725
|
});
|
|
6734
6726
|
|
|
6735
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6727
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.4/node_modules/solid-presence/dist/index.js
|
|
6736
6728
|
var createPresence, presence_default, src_default;
|
|
6737
6729
|
var init_dist13 = __esm({
|
|
6738
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6730
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.4/node_modules/solid-presence/dist/index.js"() {
|
|
6739
6731
|
init_reactivity();
|
|
6740
6732
|
init_solid();
|
|
6741
6733
|
createPresence = (props) => {
|
|
@@ -6809,7 +6801,7 @@ var init_dist13 = __esm({
|
|
|
6809
6801
|
}
|
|
6810
6802
|
});
|
|
6811
6803
|
|
|
6812
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6804
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6813
6805
|
function indexOf(node) {
|
|
6814
6806
|
return layers.findIndex((layer) => layer.node === node);
|
|
6815
6807
|
}
|
|
@@ -6870,7 +6862,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6870
6862
|
}
|
|
6871
6863
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6872
6864
|
var init_ZKYDDHM6 = __esm({
|
|
6873
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6865
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6874
6866
|
init_dist12();
|
|
6875
6867
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6876
6868
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6891,7 +6883,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6891
6883
|
}
|
|
6892
6884
|
});
|
|
6893
6885
|
|
|
6894
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6886
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6895
6887
|
function isButton(element) {
|
|
6896
6888
|
const tagName = element.tagName.toLowerCase();
|
|
6897
6889
|
if (tagName === "button") {
|
|
@@ -6932,28 +6924,28 @@ function ButtonRoot(props) {
|
|
|
6932
6924
|
typeof _ref$ === "function" && _ref$(r$);
|
|
6933
6925
|
},
|
|
6934
6926
|
get type() {
|
|
6935
|
-
return isNativeButton() || isNativeInput() ? local.type :
|
|
6927
|
+
return isNativeButton() || isNativeInput() ? local.type : void 0;
|
|
6936
6928
|
},
|
|
6937
6929
|
get role() {
|
|
6938
|
-
return !isNativeButton() && !isNativeLink() ? "button" :
|
|
6930
|
+
return !isNativeButton() && !isNativeLink() ? "button" : void 0;
|
|
6939
6931
|
},
|
|
6940
6932
|
get tabIndex() {
|
|
6941
|
-
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 :
|
|
6933
|
+
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
|
|
6942
6934
|
},
|
|
6943
6935
|
get disabled() {
|
|
6944
|
-
return isNativeButton() || isNativeInput() ? local.disabled :
|
|
6936
|
+
return isNativeButton() || isNativeInput() ? local.disabled : void 0;
|
|
6945
6937
|
},
|
|
6946
6938
|
get ["aria-disabled"]() {
|
|
6947
|
-
return !isNativeButton() && !isNativeInput() && local.disabled ? true :
|
|
6939
|
+
return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
|
|
6948
6940
|
},
|
|
6949
6941
|
get ["data-disabled"]() {
|
|
6950
|
-
return local.disabled ? "" :
|
|
6942
|
+
return local.disabled ? "" : void 0;
|
|
6951
6943
|
}
|
|
6952
6944
|
}, others));
|
|
6953
6945
|
}
|
|
6954
6946
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6955
6947
|
var init_OVKXYPU = __esm({
|
|
6956
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6948
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6957
6949
|
init_ET5T45DO();
|
|
6958
6950
|
init_Y7B2NEO();
|
|
6959
6951
|
init_ZKAE4VZ();
|
|
@@ -7003,7 +6995,7 @@ function getAlignmentAxis(placement) {
|
|
|
7003
6995
|
return getOppositeAxis(getSideAxis(placement));
|
|
7004
6996
|
}
|
|
7005
6997
|
function getAlignmentSides(placement, rects, rtl) {
|
|
7006
|
-
if (rtl ===
|
|
6998
|
+
if (rtl === void 0) {
|
|
7007
6999
|
rtl = false;
|
|
7008
7000
|
}
|
|
7009
7001
|
const alignment = getAlignment(placement);
|
|
@@ -7172,7 +7164,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
7172
7164
|
}
|
|
7173
7165
|
async function detectOverflow(state, options) {
|
|
7174
7166
|
var _await$platform$isEle;
|
|
7175
|
-
if (options ===
|
|
7167
|
+
if (options === void 0) {
|
|
7176
7168
|
options = {};
|
|
7177
7169
|
}
|
|
7178
7170
|
const {
|
|
@@ -7194,7 +7186,7 @@ async function detectOverflow(state, options) {
|
|
|
7194
7186
|
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
7195
7187
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
7196
7188
|
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
7197
|
-
element: ((_await$platform$isEle = await (platform2.isElement == null ?
|
|
7189
|
+
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
7198
7190
|
boundary,
|
|
7199
7191
|
rootBoundary,
|
|
7200
7192
|
strategy
|
|
@@ -7205,8 +7197,8 @@ async function detectOverflow(state, options) {
|
|
|
7205
7197
|
width: rects.floating.width,
|
|
7206
7198
|
height: rects.floating.height
|
|
7207
7199
|
} : rects.reference;
|
|
7208
|
-
const offsetParent = await (platform2.getOffsetParent == null ?
|
|
7209
|
-
const offsetScale = await (platform2.isElement == null ?
|
|
7200
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
7201
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
7210
7202
|
x: 1,
|
|
7211
7203
|
y: 1
|
|
7212
7204
|
} : {
|
|
@@ -7243,7 +7235,7 @@ async function convertValueToCoords(state, options) {
|
|
|
7243
7235
|
platform: platform2,
|
|
7244
7236
|
elements
|
|
7245
7237
|
} = state;
|
|
7246
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7238
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7247
7239
|
const side = getSide(placement);
|
|
7248
7240
|
const alignment = getAlignment(placement);
|
|
7249
7241
|
const isVertical = getSideAxis(placement) === "y";
|
|
@@ -7288,7 +7280,7 @@ var init_floating_ui_core = __esm({
|
|
|
7288
7280
|
platform: platform2
|
|
7289
7281
|
} = config;
|
|
7290
7282
|
const validMiddleware = middleware.filter(Boolean);
|
|
7291
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7283
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
7292
7284
|
let rects = await platform2.getElementRects({
|
|
7293
7285
|
reference,
|
|
7294
7286
|
floating,
|
|
@@ -7397,9 +7389,9 @@ var init_floating_ui_core = __esm({
|
|
|
7397
7389
|
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
7398
7390
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
7399
7391
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
7400
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ?
|
|
7392
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
7401
7393
|
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
7402
|
-
if (!clientSize || !await (platform2.isElement == null ?
|
|
7394
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
7403
7395
|
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
7404
7396
|
}
|
|
7405
7397
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
@@ -7426,7 +7418,7 @@ var init_floating_ui_core = __esm({
|
|
|
7426
7418
|
}
|
|
7427
7419
|
});
|
|
7428
7420
|
flip = function(options) {
|
|
7429
|
-
if (options ===
|
|
7421
|
+
if (options === void 0) {
|
|
7430
7422
|
options = {};
|
|
7431
7423
|
}
|
|
7432
7424
|
return {
|
|
@@ -7457,7 +7449,7 @@ var init_floating_ui_core = __esm({
|
|
|
7457
7449
|
const side = getSide(placement);
|
|
7458
7450
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
7459
7451
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
7460
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7452
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7461
7453
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
7462
7454
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
7463
7455
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -7466,7 +7458,7 @@ var init_floating_ui_core = __esm({
|
|
|
7466
7458
|
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
7467
7459
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
7468
7460
|
const overflows = [];
|
|
7469
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
7461
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
7470
7462
|
if (checkMainAxis) {
|
|
7471
7463
|
overflows.push(overflow[side]);
|
|
7472
7464
|
}
|
|
@@ -7480,7 +7472,7 @@ var init_floating_ui_core = __esm({
|
|
|
7480
7472
|
}];
|
|
7481
7473
|
if (!overflows.every((side2) => side2 <= 0)) {
|
|
7482
7474
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
7483
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
7475
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
7484
7476
|
const nextPlacement = placements2[nextIndex];
|
|
7485
7477
|
if (nextPlacement) {
|
|
7486
7478
|
return {
|
|
@@ -7493,7 +7485,7 @@ var init_floating_ui_core = __esm({
|
|
|
7493
7485
|
}
|
|
7494
7486
|
};
|
|
7495
7487
|
}
|
|
7496
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ?
|
|
7488
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
7497
7489
|
if (!resetPlacement) {
|
|
7498
7490
|
switch (fallbackStrategy) {
|
|
7499
7491
|
case "bestFit": {
|
|
@@ -7506,7 +7498,7 @@ var init_floating_ui_core = __esm({
|
|
|
7506
7498
|
currentSideAxis === "y";
|
|
7507
7499
|
}
|
|
7508
7500
|
return true;
|
|
7509
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ?
|
|
7501
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
7510
7502
|
if (placement2) {
|
|
7511
7503
|
resetPlacement = placement2;
|
|
7512
7504
|
}
|
|
@@ -7530,7 +7522,7 @@ var init_floating_ui_core = __esm({
|
|
|
7530
7522
|
};
|
|
7531
7523
|
};
|
|
7532
7524
|
hide = function(options) {
|
|
7533
|
-
if (options ===
|
|
7525
|
+
if (options === void 0) {
|
|
7534
7526
|
options = {};
|
|
7535
7527
|
}
|
|
7536
7528
|
return {
|
|
@@ -7579,7 +7571,7 @@ var init_floating_ui_core = __esm({
|
|
|
7579
7571
|
};
|
|
7580
7572
|
};
|
|
7581
7573
|
offset = function(options) {
|
|
7582
|
-
if (options ===
|
|
7574
|
+
if (options === void 0) {
|
|
7583
7575
|
options = 0;
|
|
7584
7576
|
}
|
|
7585
7577
|
return {
|
|
@@ -7594,7 +7586,7 @@ var init_floating_ui_core = __esm({
|
|
|
7594
7586
|
middlewareData
|
|
7595
7587
|
} = state;
|
|
7596
7588
|
const diffCoords = await convertValueToCoords(state, options);
|
|
7597
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
7589
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
7598
7590
|
return {};
|
|
7599
7591
|
}
|
|
7600
7592
|
return {
|
|
@@ -7609,7 +7601,7 @@ var init_floating_ui_core = __esm({
|
|
|
7609
7601
|
};
|
|
7610
7602
|
};
|
|
7611
7603
|
shift = function(options) {
|
|
7612
|
-
if (options ===
|
|
7604
|
+
if (options === void 0) {
|
|
7613
7605
|
options = {};
|
|
7614
7606
|
}
|
|
7615
7607
|
return {
|
|
@@ -7677,7 +7669,7 @@ var init_floating_ui_core = __esm({
|
|
|
7677
7669
|
};
|
|
7678
7670
|
};
|
|
7679
7671
|
size = function(options) {
|
|
7680
|
-
if (options ===
|
|
7672
|
+
if (options === void 0) {
|
|
7681
7673
|
options = {};
|
|
7682
7674
|
}
|
|
7683
7675
|
return {
|
|
@@ -7707,7 +7699,7 @@ var init_floating_ui_core = __esm({
|
|
|
7707
7699
|
let widthSide;
|
|
7708
7700
|
if (side === "top" || side === "bottom") {
|
|
7709
7701
|
heightSide = side;
|
|
7710
|
-
widthSide = alignment === (await (platform2.isRTL == null ?
|
|
7702
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
7711
7703
|
} else {
|
|
7712
7704
|
widthSide = side;
|
|
7713
7705
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
@@ -7764,11 +7756,11 @@ function getNodeName(node) {
|
|
|
7764
7756
|
}
|
|
7765
7757
|
function getWindow2(node) {
|
|
7766
7758
|
var _node$ownerDocument;
|
|
7767
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
7759
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
7768
7760
|
}
|
|
7769
7761
|
function getDocumentElement(node) {
|
|
7770
7762
|
var _ref;
|
|
7771
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
7763
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
7772
7764
|
}
|
|
7773
7765
|
function isNode(value) {
|
|
7774
7766
|
return value instanceof Node || value instanceof getWindow2(value).Node;
|
|
@@ -7871,14 +7863,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
7871
7863
|
}
|
|
7872
7864
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
7873
7865
|
var _node$ownerDocument2;
|
|
7874
|
-
if (list ===
|
|
7866
|
+
if (list === void 0) {
|
|
7875
7867
|
list = [];
|
|
7876
7868
|
}
|
|
7877
|
-
if (traverseIframes ===
|
|
7869
|
+
if (traverseIframes === void 0) {
|
|
7878
7870
|
traverseIframes = true;
|
|
7879
7871
|
}
|
|
7880
7872
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
7881
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
7873
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
7882
7874
|
const win = getWindow2(scrollableAncestor);
|
|
7883
7875
|
if (isBody) {
|
|
7884
7876
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
@@ -7947,7 +7939,7 @@ function getVisualOffsets(element) {
|
|
|
7947
7939
|
};
|
|
7948
7940
|
}
|
|
7949
7941
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
7950
|
-
if (isFixed ===
|
|
7942
|
+
if (isFixed === void 0) {
|
|
7951
7943
|
isFixed = false;
|
|
7952
7944
|
}
|
|
7953
7945
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
|
|
@@ -7956,10 +7948,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
7956
7948
|
return isFixed;
|
|
7957
7949
|
}
|
|
7958
7950
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
7959
|
-
if (includeScale ===
|
|
7951
|
+
if (includeScale === void 0) {
|
|
7960
7952
|
includeScale = false;
|
|
7961
7953
|
}
|
|
7962
|
-
if (isFixedStrategy ===
|
|
7954
|
+
if (isFixedStrategy === void 0) {
|
|
7963
7955
|
isFixedStrategy = false;
|
|
7964
7956
|
}
|
|
7965
7957
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -8276,10 +8268,10 @@ function observeMove(element, onMove) {
|
|
|
8276
8268
|
io = null;
|
|
8277
8269
|
}
|
|
8278
8270
|
function refresh(skip, threshold) {
|
|
8279
|
-
if (skip ===
|
|
8271
|
+
if (skip === void 0) {
|
|
8280
8272
|
skip = false;
|
|
8281
8273
|
}
|
|
8282
|
-
if (threshold ===
|
|
8274
|
+
if (threshold === void 0) {
|
|
8283
8275
|
threshold = 1;
|
|
8284
8276
|
}
|
|
8285
8277
|
cleanup();
|
|
@@ -8336,7 +8328,7 @@ function observeMove(element, onMove) {
|
|
|
8336
8328
|
return cleanup;
|
|
8337
8329
|
}
|
|
8338
8330
|
function autoUpdate(reference, floating, update, options) {
|
|
8339
|
-
if (options ===
|
|
8331
|
+
if (options === void 0) {
|
|
8340
8332
|
options = {};
|
|
8341
8333
|
}
|
|
8342
8334
|
const {
|
|
@@ -8460,10 +8452,10 @@ var init_floating_ui_dom = __esm({
|
|
|
8460
8452
|
}
|
|
8461
8453
|
});
|
|
8462
8454
|
|
|
8463
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8455
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8464
8456
|
function usePopperContext() {
|
|
8465
8457
|
const context = useContext(PopperContext);
|
|
8466
|
-
if (context ===
|
|
8458
|
+
if (context === void 0) {
|
|
8467
8459
|
throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
|
|
8468
8460
|
}
|
|
8469
8461
|
return context;
|
|
@@ -8633,14 +8625,14 @@ function PopperRoot(props) {
|
|
|
8633
8625
|
const hasAlignment = !!placement.split("-")[1];
|
|
8634
8626
|
return {
|
|
8635
8627
|
mainAxis: finalGutter,
|
|
8636
|
-
crossAxis: !hasAlignment ? mergedProps.shift :
|
|
8628
|
+
crossAxis: !hasAlignment ? mergedProps.shift : void 0,
|
|
8637
8629
|
alignmentAxis: mergedProps.shift
|
|
8638
8630
|
};
|
|
8639
8631
|
})
|
|
8640
8632
|
];
|
|
8641
8633
|
if (mergedProps.flip !== false) {
|
|
8642
|
-
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") :
|
|
8643
|
-
if (fallbackPlacements !==
|
|
8634
|
+
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
|
|
8635
|
+
if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
|
|
8644
8636
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
8645
8637
|
}
|
|
8646
8638
|
middleware.push(flip2({
|
|
@@ -8765,7 +8757,7 @@ function PopperRoot(props) {
|
|
|
8765
8757
|
}
|
|
8766
8758
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8767
8759
|
var init_X2EKUJ3 = __esm({
|
|
8768
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8760
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8769
8761
|
init_XHJPQEZP();
|
|
8770
8762
|
init_Y7B2NEO();
|
|
8771
8763
|
init_web();
|
|
@@ -8798,7 +8790,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8798
8790
|
}
|
|
8799
8791
|
});
|
|
8800
8792
|
|
|
8801
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8793
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8802
8794
|
function createEscapeKeyDown(props) {
|
|
8803
8795
|
const handleKeyDown = (event) => {
|
|
8804
8796
|
if (event.key === EventKey.Escape) {
|
|
@@ -8820,14 +8812,14 @@ function createEscapeKeyDown(props) {
|
|
|
8820
8812
|
});
|
|
8821
8813
|
}
|
|
8822
8814
|
var init_QEMPLYZX = __esm({
|
|
8823
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8815
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8824
8816
|
init_dist12();
|
|
8825
8817
|
init_solid();
|
|
8826
8818
|
init_web();
|
|
8827
8819
|
}
|
|
8828
8820
|
});
|
|
8829
8821
|
|
|
8830
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8822
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8831
8823
|
function createInteractOutside(props, ref) {
|
|
8832
8824
|
let pointerDownTimeoutId;
|
|
8833
8825
|
let clickHandler = noop3;
|
|
@@ -8928,7 +8920,7 @@ function createInteractOutside(props, ref) {
|
|
|
8928
8920
|
}
|
|
8929
8921
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8930
8922
|
var init_QGCMYLTA = __esm({
|
|
8931
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8923
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8932
8924
|
init_ZKYDDHM6();
|
|
8933
8925
|
init_dist12();
|
|
8934
8926
|
init_solid();
|
|
@@ -8938,7 +8930,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8938
8930
|
}
|
|
8939
8931
|
});
|
|
8940
8932
|
|
|
8941
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8933
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8942
8934
|
function useOptionalDismissableLayerContext() {
|
|
8943
8935
|
return useContext(DismissableLayerContext);
|
|
8944
8936
|
}
|
|
@@ -9057,7 +9049,7 @@ function DismissableLayer(props) {
|
|
|
9057
9049
|
}
|
|
9058
9050
|
var DismissableLayerContext;
|
|
9059
9051
|
var init_G7G3PFRJ = __esm({
|
|
9060
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9052
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9061
9053
|
init_QEMPLYZX();
|
|
9062
9054
|
init_QGCMYLTA();
|
|
9063
9055
|
init_ZKYDDHM6();
|
|
@@ -9069,7 +9061,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9069
9061
|
}
|
|
9070
9062
|
});
|
|
9071
9063
|
|
|
9072
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9064
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9073
9065
|
function createDisclosureState(props = {}) {
|
|
9074
9066
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9075
9067
|
value: () => access(props.open),
|
|
@@ -9094,23 +9086,23 @@ function createDisclosureState(props = {}) {
|
|
|
9094
9086
|
};
|
|
9095
9087
|
}
|
|
9096
9088
|
var init_LCANGHD = __esm({
|
|
9097
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9089
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9098
9090
|
init_BLN63FDC();
|
|
9099
9091
|
init_dist12();
|
|
9100
9092
|
}
|
|
9101
9093
|
});
|
|
9102
9094
|
|
|
9103
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9095
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9104
9096
|
function useRadioGroupContext() {
|
|
9105
9097
|
const context = useContext(RadioGroupContext);
|
|
9106
|
-
if (context ===
|
|
9098
|
+
if (context === void 0) {
|
|
9107
9099
|
throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
|
|
9108
9100
|
}
|
|
9109
9101
|
return context;
|
|
9110
9102
|
}
|
|
9111
9103
|
function useRadioGroupItemContext() {
|
|
9112
9104
|
const context = useContext(RadioGroupItemContext);
|
|
9113
|
-
if (context ===
|
|
9105
|
+
if (context === void 0) {
|
|
9114
9106
|
throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
|
|
9115
9107
|
}
|
|
9116
9108
|
return context;
|
|
@@ -9142,8 +9134,8 @@ function RadioGroupItem(props) {
|
|
|
9142
9134
|
};
|
|
9143
9135
|
const dataset = createMemo(() => ({
|
|
9144
9136
|
...formControlContext.dataset(),
|
|
9145
|
-
"data-disabled": isDisabled() ? "" :
|
|
9146
|
-
"data-checked": isSelected() ? "" :
|
|
9137
|
+
"data-disabled": isDisabled() ? "" : void 0,
|
|
9138
|
+
"data-checked": isSelected() ? "" : void 0
|
|
9147
9139
|
}));
|
|
9148
9140
|
const context = {
|
|
9149
9141
|
value: () => local.value,
|
|
@@ -9248,11 +9240,11 @@ function RadioGroupItemInput(props) {
|
|
|
9248
9240
|
local["aria-labelledby"],
|
|
9249
9241
|
radioContext.labelId(),
|
|
9250
9242
|
// If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
|
|
9251
|
-
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id :
|
|
9252
|
-
].filter(Boolean).join(" ") ||
|
|
9243
|
+
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
|
|
9244
|
+
].filter(Boolean).join(" ") || void 0;
|
|
9253
9245
|
};
|
|
9254
9246
|
const ariaDescribedBy = () => {
|
|
9255
|
-
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") ||
|
|
9247
|
+
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
|
|
9256
9248
|
};
|
|
9257
9249
|
const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
|
|
9258
9250
|
const onChange = (e2) => {
|
|
@@ -9407,16 +9399,16 @@ function RadioGroupRoot(props) {
|
|
|
9407
9399
|
return access(formControlProps.id);
|
|
9408
9400
|
},
|
|
9409
9401
|
get ["aria-invalid"]() {
|
|
9410
|
-
return formControlContext.validationState() === "invalid" ||
|
|
9402
|
+
return formControlContext.validationState() === "invalid" || void 0;
|
|
9411
9403
|
},
|
|
9412
9404
|
get ["aria-required"]() {
|
|
9413
|
-
return formControlContext.isRequired() ||
|
|
9405
|
+
return formControlContext.isRequired() || void 0;
|
|
9414
9406
|
},
|
|
9415
9407
|
get ["aria-disabled"]() {
|
|
9416
|
-
return formControlContext.isDisabled() ||
|
|
9408
|
+
return formControlContext.isDisabled() || void 0;
|
|
9417
9409
|
},
|
|
9418
9410
|
get ["aria-readonly"]() {
|
|
9419
|
-
return formControlContext.isReadOnly() ||
|
|
9411
|
+
return formControlContext.isReadOnly() || void 0;
|
|
9420
9412
|
},
|
|
9421
9413
|
get ["aria-orientation"]() {
|
|
9422
9414
|
return local.orientation;
|
|
@@ -9435,7 +9427,7 @@ function RadioGroupRoot(props) {
|
|
|
9435
9427
|
}
|
|
9436
9428
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9437
9429
|
var init_Q2BOFK7I = __esm({
|
|
9438
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9430
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9439
9431
|
init_Q2DJLZQE();
|
|
9440
9432
|
init_ANN3A2QM();
|
|
9441
9433
|
init_E4R2EMM4();
|
|
@@ -9477,7 +9469,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9477
9469
|
}
|
|
9478
9470
|
});
|
|
9479
9471
|
|
|
9480
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9472
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9481
9473
|
function createSelectableList(props, ref, scrollRef) {
|
|
9482
9474
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9483
9475
|
const delegate = createMemo(() => {
|
|
@@ -9507,7 +9499,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9507
9499
|
}
|
|
9508
9500
|
var ListKeyboardDelegate;
|
|
9509
9501
|
var init_GLKC2QFF = __esm({
|
|
9510
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9502
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9511
9503
|
init_H6DSIDEC();
|
|
9512
9504
|
init_XHJPQEZP();
|
|
9513
9505
|
init_dist12();
|
|
@@ -9621,7 +9613,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9621
9613
|
}
|
|
9622
9614
|
});
|
|
9623
9615
|
|
|
9624
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9616
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9625
9617
|
function createFocusScope(props, ref) {
|
|
9626
9618
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9627
9619
|
const focusScope = {
|
|
@@ -9799,7 +9791,7 @@ function createFocusScope(props, ref) {
|
|
|
9799
9791
|
}
|
|
9800
9792
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9801
9793
|
var init_ISKHZMHS = __esm({
|
|
9802
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9794
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9803
9795
|
init_ZKYDDHM6();
|
|
9804
9796
|
init_dist12();
|
|
9805
9797
|
init_solid();
|
|
@@ -9831,15 +9823,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9831
9823
|
}
|
|
9832
9824
|
});
|
|
9833
9825
|
|
|
9834
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9826
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9835
9827
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9836
9828
|
var init_YA7DCYMB = __esm({
|
|
9837
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9829
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9838
9830
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9839
9831
|
}
|
|
9840
9832
|
});
|
|
9841
9833
|
|
|
9842
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9834
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9843
9835
|
function createHideOutside(props) {
|
|
9844
9836
|
createEffect(() => {
|
|
9845
9837
|
if (access(props.isDisabled)) {
|
|
@@ -9958,7 +9950,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9958
9950
|
}
|
|
9959
9951
|
var refCountMap, observerStack;
|
|
9960
9952
|
var init_TZGE2AQH = __esm({
|
|
9961
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9953
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9962
9954
|
init_YA7DCYMB();
|
|
9963
9955
|
init_ZKYDDHM6();
|
|
9964
9956
|
init_dist12();
|
|
@@ -9968,10 +9960,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9968
9960
|
}
|
|
9969
9961
|
});
|
|
9970
9962
|
|
|
9971
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9963
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9972
9964
|
var activeStyles, createStyle, style_default;
|
|
9973
9965
|
var init_HD4B7J7A = __esm({
|
|
9974
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9966
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9975
9967
|
init_ZV6G25TT();
|
|
9976
9968
|
init_solid();
|
|
9977
9969
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -10023,17 +10015,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10023
10015
|
}
|
|
10024
10016
|
});
|
|
10025
10017
|
|
|
10026
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10018
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/create/style.js
|
|
10027
10019
|
var init_style = __esm({
|
|
10028
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10020
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10029
10021
|
init_HD4B7J7A();
|
|
10030
10022
|
}
|
|
10031
10023
|
});
|
|
10032
10024
|
|
|
10033
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10025
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10034
10026
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10035
10027
|
var init_scroll = __esm({
|
|
10036
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10028
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10037
10029
|
getScrollDimensions = (element, axis) => {
|
|
10038
10030
|
switch (axis) {
|
|
10039
10031
|
case "x":
|
|
@@ -10075,10 +10067,10 @@ var init_scroll = __esm({
|
|
|
10075
10067
|
}
|
|
10076
10068
|
});
|
|
10077
10069
|
|
|
10078
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10070
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.4/node_modules/solid-prevent-scroll/dist/index.js
|
|
10079
10071
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10080
10072
|
var init_dist14 = __esm({
|
|
10081
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10073
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.4/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10082
10074
|
init_reactivity();
|
|
10083
10075
|
init_solid();
|
|
10084
10076
|
init_style();
|
|
@@ -10240,7 +10232,7 @@ var init_dist14 = __esm({
|
|
|
10240
10232
|
const [availableScroll, availableScrollTop] = getScrollAtLocation(
|
|
10241
10233
|
target,
|
|
10242
10234
|
axis,
|
|
10243
|
-
targetInWrapper ? wrapper :
|
|
10235
|
+
targetInWrapper ? wrapper : void 0
|
|
10244
10236
|
);
|
|
10245
10237
|
if (delta > 0 && Math.abs(availableScroll) <= 1) {
|
|
10246
10238
|
return false;
|
|
@@ -10266,27 +10258,27 @@ var init_dist14 = __esm({
|
|
|
10266
10258
|
}
|
|
10267
10259
|
});
|
|
10268
10260
|
|
|
10269
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10261
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10270
10262
|
function useOptionalMenuContext() {
|
|
10271
10263
|
return useContext(MenuContext);
|
|
10272
10264
|
}
|
|
10273
10265
|
function useMenuContext() {
|
|
10274
10266
|
const context = useOptionalMenuContext();
|
|
10275
|
-
if (context ===
|
|
10267
|
+
if (context === void 0) {
|
|
10276
10268
|
throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
|
|
10277
10269
|
}
|
|
10278
10270
|
return context;
|
|
10279
10271
|
}
|
|
10280
10272
|
function useMenuItemContext() {
|
|
10281
10273
|
const context = useContext(MenuItemContext);
|
|
10282
|
-
if (context ===
|
|
10274
|
+
if (context === void 0) {
|
|
10283
10275
|
throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
|
|
10284
10276
|
}
|
|
10285
10277
|
return context;
|
|
10286
10278
|
}
|
|
10287
10279
|
function useMenuRootContext() {
|
|
10288
10280
|
const context = useContext(MenuRootContext);
|
|
10289
|
-
if (context ===
|
|
10281
|
+
if (context === void 0) {
|
|
10290
10282
|
throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
|
|
10291
10283
|
}
|
|
10292
10284
|
return context;
|
|
@@ -10378,15 +10370,15 @@ function MenuItemBase(props) {
|
|
|
10378
10370
|
return "mixed";
|
|
10379
10371
|
}
|
|
10380
10372
|
if (local.checked == null) {
|
|
10381
|
-
return
|
|
10373
|
+
return void 0;
|
|
10382
10374
|
}
|
|
10383
10375
|
return local.checked;
|
|
10384
10376
|
});
|
|
10385
10377
|
const dataset = createMemo(() => ({
|
|
10386
|
-
"data-indeterminate": local.indeterminate ? "" :
|
|
10387
|
-
"data-checked": local.checked && !local.indeterminate ? "" :
|
|
10388
|
-
"data-disabled": local.disabled ? "" :
|
|
10389
|
-
"data-highlighted": isHighlighted() ? "" :
|
|
10378
|
+
"data-indeterminate": local.indeterminate ? "" : void 0,
|
|
10379
|
+
"data-checked": local.checked && !local.indeterminate ? "" : void 0,
|
|
10380
|
+
"data-disabled": local.disabled ? "" : void 0,
|
|
10381
|
+
"data-highlighted": isHighlighted() ? "" : void 0
|
|
10390
10382
|
}));
|
|
10391
10383
|
const context = {
|
|
10392
10384
|
isChecked: () => local.checked,
|
|
@@ -10485,9 +10477,9 @@ function MenuTrigger(props) {
|
|
|
10485
10477
|
}, props);
|
|
10486
10478
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
|
|
10487
10479
|
let key = () => rootContext.value();
|
|
10488
|
-
if (optionalMenubarContext !==
|
|
10480
|
+
if (optionalMenubarContext !== void 0) {
|
|
10489
10481
|
key = () => rootContext.value() ?? local.id;
|
|
10490
|
-
if (optionalMenubarContext.lastValue() ===
|
|
10482
|
+
if (optionalMenubarContext.lastValue() === void 0)
|
|
10491
10483
|
optionalMenubarContext.setLastValue(key);
|
|
10492
10484
|
}
|
|
10493
10485
|
const tagName = createTagName(() => context.triggerRef(), () => "button");
|
|
@@ -10501,7 +10493,7 @@ function MenuTrigger(props) {
|
|
|
10501
10493
|
context.triggerRef()?.focus();
|
|
10502
10494
|
}));
|
|
10503
10495
|
const handleClick = () => {
|
|
10504
|
-
if (optionalMenubarContext !==
|
|
10496
|
+
if (optionalMenubarContext !== void 0) {
|
|
10505
10497
|
if (!context.isOpen()) {
|
|
10506
10498
|
if (!optionalMenubarContext.autoFocusMenu()) {
|
|
10507
10499
|
optionalMenubarContext.setAutoFocusMenu(true);
|
|
@@ -10557,14 +10549,14 @@ function MenuTrigger(props) {
|
|
|
10557
10549
|
context.open("last");
|
|
10558
10550
|
break;
|
|
10559
10551
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
10560
|
-
if (optionalMenubarContext ===
|
|
10552
|
+
if (optionalMenubarContext === void 0)
|
|
10561
10553
|
break;
|
|
10562
10554
|
e2.stopPropagation();
|
|
10563
10555
|
e2.preventDefault();
|
|
10564
10556
|
optionalMenubarContext.nextMenu();
|
|
10565
10557
|
break;
|
|
10566
10558
|
case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
|
|
10567
|
-
if (optionalMenubarContext ===
|
|
10559
|
+
if (optionalMenubarContext === void 0)
|
|
10568
10560
|
break;
|
|
10569
10561
|
e2.stopPropagation();
|
|
10570
10562
|
e2.preventDefault();
|
|
@@ -10576,13 +10568,13 @@ function MenuTrigger(props) {
|
|
|
10576
10568
|
callHandler(e2, local.onMouseOver);
|
|
10577
10569
|
if (context.triggerRef()?.dataset.pointerType === "touch")
|
|
10578
10570
|
return;
|
|
10579
|
-
if (!local.disabled && optionalMenubarContext !==
|
|
10571
|
+
if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
|
|
10580
10572
|
optionalMenubarContext.setValue(key);
|
|
10581
10573
|
}
|
|
10582
10574
|
};
|
|
10583
10575
|
const onFocus = (e2) => {
|
|
10584
10576
|
callHandler(e2, local.onFocus);
|
|
10585
|
-
if (optionalMenubarContext !==
|
|
10577
|
+
if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
|
|
10586
10578
|
optionalMenubarContext.setValue(key);
|
|
10587
10579
|
};
|
|
10588
10580
|
createEffect(() => onCleanup(context.registerTriggerId(local.id)));
|
|
@@ -10605,20 +10597,20 @@ function MenuTrigger(props) {
|
|
|
10605
10597
|
return context.isOpen();
|
|
10606
10598
|
},
|
|
10607
10599
|
get ["aria-controls"]() {
|
|
10608
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
10600
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10609
10601
|
},
|
|
10610
10602
|
get ["data-highlighted"]() {
|
|
10611
|
-
return key() !==
|
|
10603
|
+
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
10612
10604
|
},
|
|
10613
10605
|
get tabIndex() {
|
|
10614
|
-
return optionalMenubarContext !==
|
|
10606
|
+
return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
|
|
10615
10607
|
},
|
|
10616
10608
|
onPointerDown,
|
|
10617
10609
|
onMouseOver,
|
|
10618
10610
|
onClick,
|
|
10619
10611
|
onKeyDown,
|
|
10620
10612
|
onFocus,
|
|
10621
|
-
role: optionalMenubarContext !==
|
|
10613
|
+
role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
|
|
10622
10614
|
}, () => context.dataset(), others));
|
|
10623
10615
|
}
|
|
10624
10616
|
function useOptionalNavigationMenuContext() {
|
|
@@ -10639,7 +10631,7 @@ function MenuContentBase(props) {
|
|
|
10639
10631
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
|
|
10640
10632
|
let lastPointerX = 0;
|
|
10641
10633
|
const isRootModalContent = () => {
|
|
10642
|
-
return context.parentMenuContext() == null && optionalMenubarContext ===
|
|
10634
|
+
return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
|
|
10643
10635
|
};
|
|
10644
10636
|
const selectableList = createSelectableList({
|
|
10645
10637
|
selectionManager: context.listState().selectionManager,
|
|
@@ -10654,7 +10646,7 @@ function MenuContentBase(props) {
|
|
|
10654
10646
|
createFocusScope({
|
|
10655
10647
|
trapFocus: () => isRootModalContent() && context.isOpen(),
|
|
10656
10648
|
onMountAutoFocus: (event) => {
|
|
10657
|
-
if (optionalMenubarContext ===
|
|
10649
|
+
if (optionalMenubarContext === void 0)
|
|
10658
10650
|
local.onOpenAutoFocus?.(event);
|
|
10659
10651
|
},
|
|
10660
10652
|
onUnmountAutoFocus: local.onCloseAutoFocus
|
|
@@ -10666,7 +10658,7 @@ function MenuContentBase(props) {
|
|
|
10666
10658
|
if (e2.key === "Tab" && context.isOpen()) {
|
|
10667
10659
|
e2.preventDefault();
|
|
10668
10660
|
}
|
|
10669
|
-
if (optionalMenubarContext !==
|
|
10661
|
+
if (optionalMenubarContext !== void 0) {
|
|
10670
10662
|
if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
|
|
10671
10663
|
switch (e2.key) {
|
|
10672
10664
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
@@ -10705,7 +10697,7 @@ function MenuContentBase(props) {
|
|
|
10705
10697
|
return;
|
|
10706
10698
|
}
|
|
10707
10699
|
context.parentMenuContext()?.listState().selectionManager().setFocused(false);
|
|
10708
|
-
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(
|
|
10700
|
+
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
|
|
10709
10701
|
};
|
|
10710
10702
|
const onPointerMove = (e2) => {
|
|
10711
10703
|
callHandler(e2, local.onPointerMove);
|
|
@@ -10752,7 +10744,7 @@ function MenuContentBase(props) {
|
|
|
10752
10744
|
get children() {
|
|
10753
10745
|
return createComponent(Show, {
|
|
10754
10746
|
get when() {
|
|
10755
|
-
return optionalNavigationMenuContext ===
|
|
10747
|
+
return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
|
|
10756
10748
|
},
|
|
10757
10749
|
get fallback() {
|
|
10758
10750
|
return createComponent(Polymorphic, mergeProps({
|
|
@@ -10809,7 +10801,7 @@ function MenuContent(props) {
|
|
|
10809
10801
|
}
|
|
10810
10802
|
function useMenuGroupContext() {
|
|
10811
10803
|
const context = useContext(MenuGroupContext);
|
|
10812
|
-
if (context ===
|
|
10804
|
+
if (context === void 0) {
|
|
10813
10805
|
throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
|
|
10814
10806
|
}
|
|
10815
10807
|
return context;
|
|
@@ -10930,7 +10922,7 @@ function MenuPortal(props) {
|
|
|
10930
10922
|
}
|
|
10931
10923
|
function useMenuRadioGroupContext() {
|
|
10932
10924
|
const context = useContext(MenuRadioGroupContext);
|
|
10933
|
-
if (context ===
|
|
10925
|
+
if (context === void 0) {
|
|
10934
10926
|
throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
|
|
10935
10927
|
}
|
|
10936
10928
|
return context;
|
|
@@ -11082,7 +11074,7 @@ function Menu(props) {
|
|
|
11082
11074
|
if (content) {
|
|
11083
11075
|
focusWithoutScrolling(content);
|
|
11084
11076
|
listState.selectionManager().setFocused(true);
|
|
11085
|
-
listState.selectionManager().setFocusedKey(
|
|
11077
|
+
listState.selectionManager().setFocusedKey(void 0);
|
|
11086
11078
|
}
|
|
11087
11079
|
};
|
|
11088
11080
|
const focusContent = () => {
|
|
@@ -11136,12 +11128,12 @@ function Menu(props) {
|
|
|
11136
11128
|
});
|
|
11137
11129
|
});
|
|
11138
11130
|
createEffect(() => {
|
|
11139
|
-
if (parentMenuContext !==
|
|
11131
|
+
if (parentMenuContext !== void 0)
|
|
11140
11132
|
return;
|
|
11141
11133
|
optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
|
|
11142
11134
|
});
|
|
11143
11135
|
createEffect(() => {
|
|
11144
|
-
if (parentMenuContext !==
|
|
11136
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11145
11137
|
return;
|
|
11146
11138
|
if (optionalMenubarContext.value() === rootContext.value()) {
|
|
11147
11139
|
triggerRef()?.focus();
|
|
@@ -11151,19 +11143,19 @@ function Menu(props) {
|
|
|
11151
11143
|
close();
|
|
11152
11144
|
});
|
|
11153
11145
|
createEffect(() => {
|
|
11154
|
-
if (parentMenuContext !==
|
|
11146
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11155
11147
|
return;
|
|
11156
11148
|
if (disclosureState.isOpen())
|
|
11157
11149
|
optionalMenubarContext.setValue(rootContext.value());
|
|
11158
11150
|
});
|
|
11159
11151
|
onCleanup(() => {
|
|
11160
|
-
if (parentMenuContext !==
|
|
11152
|
+
if (parentMenuContext !== void 0)
|
|
11161
11153
|
return;
|
|
11162
11154
|
optionalMenubarContext?.unregisterMenu(rootContext.value());
|
|
11163
11155
|
});
|
|
11164
11156
|
const dataset = createMemo(() => ({
|
|
11165
|
-
"data-expanded": disclosureState.isOpen() ? "" :
|
|
11166
|
-
"data-closed": !disclosureState.isOpen() ? "" :
|
|
11157
|
+
"data-expanded": disclosureState.isOpen() ? "" : void 0,
|
|
11158
|
+
"data-closed": !disclosureState.isOpen() ? "" : void 0
|
|
11167
11159
|
}));
|
|
11168
11160
|
const context = {
|
|
11169
11161
|
dataset,
|
|
@@ -11202,7 +11194,7 @@ function Menu(props) {
|
|
|
11202
11194
|
value: context,
|
|
11203
11195
|
get children() {
|
|
11204
11196
|
return createComponent(Show, {
|
|
11205
|
-
when: optionalNavigationMenuContext ===
|
|
11197
|
+
when: optionalNavigationMenuContext === void 0,
|
|
11206
11198
|
get fallback() {
|
|
11207
11199
|
return others.children;
|
|
11208
11200
|
},
|
|
@@ -11336,7 +11328,7 @@ function MenuSubTrigger(props) {
|
|
|
11336
11328
|
if (!e2.defaultPrevented) {
|
|
11337
11329
|
if (context.listState().selectionManager().isFocused()) {
|
|
11338
11330
|
context.listState().selectionManager().setFocused(false);
|
|
11339
|
-
context.listState().selectionManager().setFocusedKey(
|
|
11331
|
+
context.listState().selectionManager().setFocusedKey(void 0);
|
|
11340
11332
|
}
|
|
11341
11333
|
focusWithoutScrolling(e2.currentTarget);
|
|
11342
11334
|
parentMenuContext?.listState().selectionManager().setFocused(true);
|
|
@@ -11383,7 +11375,7 @@ function MenuSubTrigger(props) {
|
|
|
11383
11375
|
e2.stopPropagation();
|
|
11384
11376
|
e2.preventDefault();
|
|
11385
11377
|
parentSelectionManager().setFocused(false);
|
|
11386
|
-
parentSelectionManager().setFocusedKey(
|
|
11378
|
+
parentSelectionManager().setFocusedKey(void 0);
|
|
11387
11379
|
if (!context.isOpen()) {
|
|
11388
11380
|
context.open("first");
|
|
11389
11381
|
}
|
|
@@ -11436,7 +11428,7 @@ function MenuSubTrigger(props) {
|
|
|
11436
11428
|
return context.isOpen();
|
|
11437
11429
|
},
|
|
11438
11430
|
get ["aria-controls"]() {
|
|
11439
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
11431
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11440
11432
|
},
|
|
11441
11433
|
get ["aria-disabled"]() {
|
|
11442
11434
|
return local.disabled;
|
|
@@ -11445,10 +11437,10 @@ function MenuSubTrigger(props) {
|
|
|
11445
11437
|
return selectableItem.dataKey();
|
|
11446
11438
|
},
|
|
11447
11439
|
get ["data-highlighted"]() {
|
|
11448
|
-
return isHighlighted() ? "" :
|
|
11440
|
+
return isHighlighted() ? "" : void 0;
|
|
11449
11441
|
},
|
|
11450
11442
|
get ["data-disabled"]() {
|
|
11451
|
-
return local.disabled ? "" :
|
|
11443
|
+
return local.disabled ? "" : void 0;
|
|
11452
11444
|
},
|
|
11453
11445
|
get onPointerDown() {
|
|
11454
11446
|
return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
|
|
@@ -11509,7 +11501,7 @@ function MenuRoot(props) {
|
|
|
11509
11501
|
}
|
|
11510
11502
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11511
11503
|
var init_F4B62RP = __esm({
|
|
11512
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11504
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11513
11505
|
init_X2EKUJ3();
|
|
11514
11506
|
init_CVNMTYF();
|
|
11515
11507
|
init_GLKC2QFF();
|
|
@@ -11566,7 +11558,7 @@ var init_F4B62RP = __esm({
|
|
|
11566
11558
|
}
|
|
11567
11559
|
});
|
|
11568
11560
|
|
|
11569
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11561
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11570
11562
|
function SeparatorRoot(props) {
|
|
11571
11563
|
let ref;
|
|
11572
11564
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11581,10 +11573,10 @@ function SeparatorRoot(props) {
|
|
|
11581
11573
|
typeof _ref$ === "function" && _ref$(r$);
|
|
11582
11574
|
},
|
|
11583
11575
|
get role() {
|
|
11584
|
-
return tagName() !== "hr" ? "separator" :
|
|
11576
|
+
return tagName() !== "hr" ? "separator" : void 0;
|
|
11585
11577
|
},
|
|
11586
11578
|
get ["aria-orientation"]() {
|
|
11587
|
-
return local.orientation === "vertical" ? "vertical" :
|
|
11579
|
+
return local.orientation === "vertical" ? "vertical" : void 0;
|
|
11588
11580
|
},
|
|
11589
11581
|
get ["data-orientation"]() {
|
|
11590
11582
|
return local.orientation;
|
|
@@ -11593,7 +11585,7 @@ function SeparatorRoot(props) {
|
|
|
11593
11585
|
}
|
|
11594
11586
|
var separator_exports, Separator;
|
|
11595
11587
|
var init_STGRFJHZ = __esm({
|
|
11596
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11588
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11597
11589
|
init_ET5T45DO();
|
|
11598
11590
|
init_Y7B2NEO();
|
|
11599
11591
|
init_ZKAE4VZ();
|
|
@@ -11609,7 +11601,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11609
11601
|
}
|
|
11610
11602
|
});
|
|
11611
11603
|
|
|
11612
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11604
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11613
11605
|
function DropdownMenuContent(props) {
|
|
11614
11606
|
const rootContext = useMenuRootContext();
|
|
11615
11607
|
const context = useMenuContext();
|
|
@@ -11643,7 +11635,7 @@ function DropdownMenuRoot(props) {
|
|
|
11643
11635
|
}
|
|
11644
11636
|
var dropdown_menu_exports, DropdownMenu;
|
|
11645
11637
|
var init_V2JBZ7BJ = __esm({
|
|
11646
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11638
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11647
11639
|
init_F4B62RP();
|
|
11648
11640
|
init_STGRFJHZ();
|
|
11649
11641
|
init_X2EKUJ3();
|
|
@@ -11697,9 +11689,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11697
11689
|
}
|
|
11698
11690
|
});
|
|
11699
11691
|
|
|
11700
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11692
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/index.js
|
|
11701
11693
|
var init_dist15 = __esm({
|
|
11702
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11694
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/index.js"() {
|
|
11703
11695
|
init_Q2BOFK7I();
|
|
11704
11696
|
init_V2JBZ7BJ();
|
|
11705
11697
|
}
|
|
@@ -12256,11 +12248,11 @@ var init_QueryDevtoolsContext = __esm({
|
|
|
12256
12248
|
"src/contexts/QueryDevtoolsContext.ts"() {
|
|
12257
12249
|
init_solid();
|
|
12258
12250
|
QueryDevtoolsContext = createContext({
|
|
12259
|
-
client:
|
|
12260
|
-
onlineManager:
|
|
12251
|
+
client: void 0,
|
|
12252
|
+
onlineManager: void 0,
|
|
12261
12253
|
queryFlavor: "",
|
|
12262
12254
|
version: "",
|
|
12263
|
-
shadowDOMTarget:
|
|
12255
|
+
shadowDOMTarget: void 0
|
|
12264
12256
|
});
|
|
12265
12257
|
}
|
|
12266
12258
|
});
|
|
@@ -12274,7 +12266,7 @@ var init_PiPContext = __esm({
|
|
|
12274
12266
|
init_web();
|
|
12275
12267
|
init_constants();
|
|
12276
12268
|
init_QueryDevtoolsContext();
|
|
12277
|
-
PiPContext = createContext(
|
|
12269
|
+
PiPContext = createContext(void 0);
|
|
12278
12270
|
PiPProvider = (props) => {
|
|
12279
12271
|
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12280
12272
|
const closePipWindow = () => {
|
|
@@ -12503,7 +12495,7 @@ function Explorer(props) {
|
|
|
12503
12495
|
}), null);
|
|
12504
12496
|
insert(_el$14, createComponent(Show, {
|
|
12505
12497
|
get when() {
|
|
12506
|
-
return props.itemsDeletable && props.activeQuery !==
|
|
12498
|
+
return props.itemsDeletable && props.activeQuery !== void 0;
|
|
12507
12499
|
},
|
|
12508
12500
|
get children() {
|
|
12509
12501
|
return createComponent(DeleteItemButton, {
|
|
@@ -12516,7 +12508,7 @@ function Explorer(props) {
|
|
|
12516
12508
|
}), null);
|
|
12517
12509
|
insert(_el$14, createComponent(Show, {
|
|
12518
12510
|
get when() {
|
|
12519
|
-
return type() === "array" && props.activeQuery !==
|
|
12511
|
+
return type() === "array" && props.activeQuery !== void 0;
|
|
12520
12512
|
},
|
|
12521
12513
|
get children() {
|
|
12522
12514
|
return createComponent(ClearArrayButton, {
|
|
@@ -12552,9 +12544,9 @@ function Explorer(props) {
|
|
|
12552
12544
|
_v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
|
|
12553
12545
|
return _p$;
|
|
12554
12546
|
}, {
|
|
12555
|
-
e:
|
|
12556
|
-
t:
|
|
12557
|
-
a:
|
|
12547
|
+
e: void 0,
|
|
12548
|
+
t: void 0,
|
|
12549
|
+
a: void 0
|
|
12558
12550
|
});
|
|
12559
12551
|
return _el$7;
|
|
12560
12552
|
})(), createComponent(Show, {
|
|
@@ -12664,8 +12656,8 @@ function Explorer(props) {
|
|
|
12664
12656
|
_v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
|
|
12665
12657
|
return _p$;
|
|
12666
12658
|
}, {
|
|
12667
|
-
e:
|
|
12668
|
-
t:
|
|
12659
|
+
e: void 0,
|
|
12660
|
+
t: void 0
|
|
12669
12661
|
});
|
|
12670
12662
|
return _el$23;
|
|
12671
12663
|
})()
|
|
@@ -12687,7 +12679,7 @@ function Explorer(props) {
|
|
|
12687
12679
|
insert(_el$19, () => props.label, _el$20);
|
|
12688
12680
|
insert(_el$18, createComponent(Show, {
|
|
12689
12681
|
get when() {
|
|
12690
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12682
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12691
12683
|
},
|
|
12692
12684
|
get fallback() {
|
|
12693
12685
|
return (() => {
|
|
@@ -12700,7 +12692,7 @@ function Explorer(props) {
|
|
|
12700
12692
|
get children() {
|
|
12701
12693
|
return [createComponent(Show, {
|
|
12702
12694
|
get when() {
|
|
12703
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12695
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12704
12696
|
},
|
|
12705
12697
|
get children() {
|
|
12706
12698
|
var _el$21 = _tmpl$92();
|
|
@@ -12715,8 +12707,8 @@ function Explorer(props) {
|
|
|
12715
12707
|
_v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
|
|
12716
12708
|
return _p$;
|
|
12717
12709
|
}, {
|
|
12718
|
-
e:
|
|
12719
|
-
t:
|
|
12710
|
+
e: void 0,
|
|
12711
|
+
t: void 0
|
|
12720
12712
|
});
|
|
12721
12713
|
createRenderEffect(() => _el$21.value = props.value);
|
|
12722
12714
|
return _el$21;
|
|
@@ -12745,7 +12737,7 @@ function Explorer(props) {
|
|
|
12745
12737
|
}), null);
|
|
12746
12738
|
insert(_el$18, createComponent(Show, {
|
|
12747
12739
|
get when() {
|
|
12748
|
-
return props.editable && props.itemsDeletable && props.activeQuery !==
|
|
12740
|
+
return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
|
|
12749
12741
|
},
|
|
12750
12742
|
get children() {
|
|
12751
12743
|
return createComponent(DeleteItemButton, {
|
|
@@ -12762,8 +12754,8 @@ function Explorer(props) {
|
|
|
12762
12754
|
_v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
|
|
12763
12755
|
return _p$;
|
|
12764
12756
|
}, {
|
|
12765
|
-
e:
|
|
12766
|
-
t:
|
|
12757
|
+
e: void 0,
|
|
12758
|
+
t: void 0
|
|
12767
12759
|
});
|
|
12768
12760
|
return _el$18;
|
|
12769
12761
|
}
|
|
@@ -12848,7 +12840,7 @@ var init_Explorer = __esm({
|
|
|
12848
12840
|
setCopyState("NoCopy");
|
|
12849
12841
|
}, 1500);
|
|
12850
12842
|
});
|
|
12851
|
-
} :
|
|
12843
|
+
} : void 0, true);
|
|
12852
12844
|
insert(_el$2, createComponent(Switch, {
|
|
12853
12845
|
get children() {
|
|
12854
12846
|
return [createComponent(Match, {
|
|
@@ -12885,8 +12877,8 @@ var init_Explorer = __esm({
|
|
|
12885
12877
|
_v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
|
|
12886
12878
|
return _p$;
|
|
12887
12879
|
}, {
|
|
12888
|
-
e:
|
|
12889
|
-
t:
|
|
12880
|
+
e: void 0,
|
|
12881
|
+
t: void 0
|
|
12890
12882
|
});
|
|
12891
12883
|
return _el$2;
|
|
12892
12884
|
})();
|
|
@@ -13538,11 +13530,11 @@ var init_Devtools = __esm({
|
|
|
13538
13530
|
_v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
|
|
13539
13531
|
return _p$;
|
|
13540
13532
|
}, {
|
|
13541
|
-
e:
|
|
13542
|
-
t:
|
|
13543
|
-
a:
|
|
13544
|
-
o:
|
|
13545
|
-
i:
|
|
13533
|
+
e: void 0,
|
|
13534
|
+
t: void 0,
|
|
13535
|
+
a: void 0,
|
|
13536
|
+
o: void 0,
|
|
13537
|
+
i: void 0
|
|
13546
13538
|
});
|
|
13547
13539
|
return _el$7;
|
|
13548
13540
|
})();
|
|
@@ -14026,26 +14018,26 @@ var init_Devtools = __esm({
|
|
|
14026
14018
|
_v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
|
|
14027
14019
|
return _p$;
|
|
14028
14020
|
}, {
|
|
14029
|
-
e:
|
|
14030
|
-
t:
|
|
14031
|
-
a:
|
|
14032
|
-
o:
|
|
14033
|
-
i:
|
|
14034
|
-
n:
|
|
14035
|
-
s:
|
|
14036
|
-
h:
|
|
14037
|
-
r:
|
|
14038
|
-
d:
|
|
14039
|
-
l:
|
|
14040
|
-
u:
|
|
14041
|
-
c:
|
|
14042
|
-
w:
|
|
14043
|
-
m:
|
|
14044
|
-
f:
|
|
14045
|
-
y:
|
|
14046
|
-
g:
|
|
14047
|
-
p:
|
|
14048
|
-
b:
|
|
14021
|
+
e: void 0,
|
|
14022
|
+
t: void 0,
|
|
14023
|
+
a: void 0,
|
|
14024
|
+
o: void 0,
|
|
14025
|
+
i: void 0,
|
|
14026
|
+
n: void 0,
|
|
14027
|
+
s: void 0,
|
|
14028
|
+
h: void 0,
|
|
14029
|
+
r: void 0,
|
|
14030
|
+
d: void 0,
|
|
14031
|
+
l: void 0,
|
|
14032
|
+
u: void 0,
|
|
14033
|
+
c: void 0,
|
|
14034
|
+
w: void 0,
|
|
14035
|
+
m: void 0,
|
|
14036
|
+
f: void 0,
|
|
14037
|
+
y: void 0,
|
|
14038
|
+
g: void 0,
|
|
14039
|
+
p: void 0,
|
|
14040
|
+
b: void 0
|
|
14049
14041
|
});
|
|
14050
14042
|
createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
14051
14043
|
return _el$10;
|
|
@@ -14131,9 +14123,9 @@ var init_Devtools = __esm({
|
|
|
14131
14123
|
_v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
|
|
14132
14124
|
return _p$;
|
|
14133
14125
|
}, {
|
|
14134
|
-
e:
|
|
14135
|
-
t:
|
|
14136
|
-
a:
|
|
14126
|
+
e: void 0,
|
|
14127
|
+
t: void 0,
|
|
14128
|
+
a: void 0
|
|
14137
14129
|
});
|
|
14138
14130
|
return _el$49;
|
|
14139
14131
|
}
|
|
@@ -14244,9 +14236,9 @@ var init_Devtools = __esm({
|
|
|
14244
14236
|
_v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
|
|
14245
14237
|
return _p$;
|
|
14246
14238
|
}, {
|
|
14247
|
-
e:
|
|
14248
|
-
t:
|
|
14249
|
-
a:
|
|
14239
|
+
e: void 0,
|
|
14240
|
+
t: void 0,
|
|
14241
|
+
a: void 0
|
|
14250
14242
|
});
|
|
14251
14243
|
return _el$53;
|
|
14252
14244
|
}
|
|
@@ -14454,8 +14446,8 @@ var init_Devtools = __esm({
|
|
|
14454
14446
|
_v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
|
|
14455
14447
|
return _p$;
|
|
14456
14448
|
}, {
|
|
14457
|
-
e:
|
|
14458
|
-
t:
|
|
14449
|
+
e: void 0,
|
|
14450
|
+
t: void 0
|
|
14459
14451
|
});
|
|
14460
14452
|
return _el$58;
|
|
14461
14453
|
})();
|
|
@@ -14571,7 +14563,7 @@ var init_Devtools = __esm({
|
|
|
14571
14563
|
setSelectedQueryHash(null);
|
|
14572
14564
|
};
|
|
14573
14565
|
_el$86.$$click = () => {
|
|
14574
|
-
if (activeQuery()?.state.data ===
|
|
14566
|
+
if (activeQuery()?.state.data === void 0) {
|
|
14575
14567
|
setRestoringLoading(true);
|
|
14576
14568
|
restoreQueryAfterLoadingOrError();
|
|
14577
14569
|
} else {
|
|
@@ -14588,7 +14580,7 @@ var init_Devtools = __esm({
|
|
|
14588
14580
|
gcTime: -1
|
|
14589
14581
|
});
|
|
14590
14582
|
activeQueryVal.setState({
|
|
14591
|
-
data:
|
|
14583
|
+
data: void 0,
|
|
14592
14584
|
status: "pending",
|
|
14593
14585
|
fetchMeta: {
|
|
14594
14586
|
...activeQueryVal.state.fetchMeta,
|
|
@@ -14623,9 +14615,9 @@ var init_Devtools = __esm({
|
|
|
14623
14615
|
_v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
|
|
14624
14616
|
return _p$;
|
|
14625
14617
|
}, {
|
|
14626
|
-
e:
|
|
14627
|
-
t:
|
|
14628
|
-
a:
|
|
14618
|
+
e: void 0,
|
|
14619
|
+
t: void 0,
|
|
14620
|
+
a: void 0
|
|
14629
14621
|
});
|
|
14630
14622
|
return _el$89;
|
|
14631
14623
|
}
|
|
@@ -14661,9 +14653,9 @@ var init_Devtools = __esm({
|
|
|
14661
14653
|
_v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
|
|
14662
14654
|
return _p$;
|
|
14663
14655
|
}, {
|
|
14664
|
-
e:
|
|
14665
|
-
t:
|
|
14666
|
-
a:
|
|
14656
|
+
e: void 0,
|
|
14657
|
+
t: void 0,
|
|
14658
|
+
a: void 0
|
|
14667
14659
|
});
|
|
14668
14660
|
return _el$92;
|
|
14669
14661
|
}
|
|
@@ -14731,14 +14723,14 @@ var init_Devtools = __esm({
|
|
|
14731
14723
|
_v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
|
|
14732
14724
|
return _p$;
|
|
14733
14725
|
}, {
|
|
14734
|
-
e:
|
|
14735
|
-
t:
|
|
14736
|
-
a:
|
|
14737
|
-
o:
|
|
14738
|
-
i:
|
|
14739
|
-
n:
|
|
14740
|
-
s:
|
|
14741
|
-
h:
|
|
14726
|
+
e: void 0,
|
|
14727
|
+
t: void 0,
|
|
14728
|
+
a: void 0,
|
|
14729
|
+
o: void 0,
|
|
14730
|
+
i: void 0,
|
|
14731
|
+
n: void 0,
|
|
14732
|
+
s: void 0,
|
|
14733
|
+
h: void 0
|
|
14742
14734
|
});
|
|
14743
14735
|
createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14744
14736
|
return _el$100;
|
|
@@ -14799,30 +14791,30 @@ var init_Devtools = __esm({
|
|
|
14799
14791
|
_v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
|
|
14800
14792
|
return _p$;
|
|
14801
14793
|
}, {
|
|
14802
|
-
e:
|
|
14803
|
-
t:
|
|
14804
|
-
a:
|
|
14805
|
-
o:
|
|
14806
|
-
i:
|
|
14807
|
-
n:
|
|
14808
|
-
s:
|
|
14809
|
-
h:
|
|
14810
|
-
r:
|
|
14811
|
-
d:
|
|
14812
|
-
l:
|
|
14813
|
-
u:
|
|
14814
|
-
c:
|
|
14815
|
-
w:
|
|
14816
|
-
m:
|
|
14817
|
-
f:
|
|
14818
|
-
y:
|
|
14819
|
-
g:
|
|
14820
|
-
p:
|
|
14821
|
-
b:
|
|
14822
|
-
T:
|
|
14823
|
-
A:
|
|
14824
|
-
O:
|
|
14825
|
-
I:
|
|
14794
|
+
e: void 0,
|
|
14795
|
+
t: void 0,
|
|
14796
|
+
a: void 0,
|
|
14797
|
+
o: void 0,
|
|
14798
|
+
i: void 0,
|
|
14799
|
+
n: void 0,
|
|
14800
|
+
s: void 0,
|
|
14801
|
+
h: void 0,
|
|
14802
|
+
r: void 0,
|
|
14803
|
+
d: void 0,
|
|
14804
|
+
l: void 0,
|
|
14805
|
+
u: void 0,
|
|
14806
|
+
c: void 0,
|
|
14807
|
+
w: void 0,
|
|
14808
|
+
m: void 0,
|
|
14809
|
+
f: void 0,
|
|
14810
|
+
y: void 0,
|
|
14811
|
+
g: void 0,
|
|
14812
|
+
p: void 0,
|
|
14813
|
+
b: void 0,
|
|
14814
|
+
T: void 0,
|
|
14815
|
+
A: void 0,
|
|
14816
|
+
O: void 0,
|
|
14817
|
+
I: void 0
|
|
14826
14818
|
});
|
|
14827
14819
|
return _el$63;
|
|
14828
14820
|
}
|
|
@@ -14947,18 +14939,18 @@ var init_Devtools = __esm({
|
|
|
14947
14939
|
_v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
|
|
14948
14940
|
return _p$;
|
|
14949
14941
|
}, {
|
|
14950
|
-
e:
|
|
14951
|
-
t:
|
|
14952
|
-
a:
|
|
14953
|
-
o:
|
|
14954
|
-
i:
|
|
14955
|
-
n:
|
|
14956
|
-
s:
|
|
14957
|
-
h:
|
|
14958
|
-
r:
|
|
14959
|
-
d:
|
|
14960
|
-
l:
|
|
14961
|
-
u:
|
|
14942
|
+
e: void 0,
|
|
14943
|
+
t: void 0,
|
|
14944
|
+
a: void 0,
|
|
14945
|
+
o: void 0,
|
|
14946
|
+
i: void 0,
|
|
14947
|
+
n: void 0,
|
|
14948
|
+
s: void 0,
|
|
14949
|
+
h: void 0,
|
|
14950
|
+
r: void 0,
|
|
14951
|
+
d: void 0,
|
|
14952
|
+
l: void 0,
|
|
14953
|
+
u: void 0
|
|
14962
14954
|
});
|
|
14963
14955
|
return _el$110;
|
|
14964
14956
|
}
|
|
@@ -14992,7 +14984,7 @@ var init_Devtools = __esm({
|
|
|
14992
14984
|
});
|
|
14993
14985
|
const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
|
|
14994
14986
|
equals: false
|
|
14995
|
-
} :
|
|
14987
|
+
} : void 0);
|
|
14996
14988
|
createEffect(() => {
|
|
14997
14989
|
setValue(callback(queryCache));
|
|
14998
14990
|
});
|
|
@@ -15031,7 +15023,7 @@ var init_Devtools = __esm({
|
|
|
15031
15023
|
});
|
|
15032
15024
|
const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
|
|
15033
15025
|
equals: false
|
|
15034
|
-
} :
|
|
15026
|
+
} : void 0);
|
|
15035
15027
|
createEffect(() => {
|
|
15036
15028
|
setValue(callback(mutationCache));
|
|
15037
15029
|
});
|