@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/dev.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);
|
|
@@ -2521,7 +2517,7 @@ var init_transformer = __esm({
|
|
|
2521
2517
|
type: applicableSimpleRule.annotation
|
|
2522
2518
|
};
|
|
2523
2519
|
}
|
|
2524
|
-
return
|
|
2520
|
+
return void 0;
|
|
2525
2521
|
};
|
|
2526
2522
|
simpleRulesByAnnotation = {};
|
|
2527
2523
|
simpleRules.forEach((rule) => {
|
|
@@ -2726,7 +2722,7 @@ function addIdentity(object, path, identities) {
|
|
|
2726
2722
|
}
|
|
2727
2723
|
function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
2728
2724
|
const result = {};
|
|
2729
|
-
let rootEqualityPaths =
|
|
2725
|
+
let rootEqualityPaths = void 0;
|
|
2730
2726
|
identitites.forEach((paths) => {
|
|
2731
2727
|
if (paths.length <= 1) {
|
|
2732
2728
|
return;
|
|
@@ -2748,7 +2744,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2748
2744
|
return [rootEqualityPaths, result];
|
|
2749
2745
|
}
|
|
2750
2746
|
} else {
|
|
2751
|
-
return isEmptyObject(result) ?
|
|
2747
|
+
return isEmptyObject(result) ? void 0 : result;
|
|
2752
2748
|
}
|
|
2753
2749
|
}
|
|
2754
2750
|
var isDeep, walker;
|
|
@@ -2810,7 +2806,7 @@ var init_plainer = __esm({
|
|
|
2810
2806
|
});
|
|
2811
2807
|
const result = isEmptyObject(innerAnnotations) ? {
|
|
2812
2808
|
transformedValue,
|
|
2813
|
-
annotations: !!transformationResult ? [transformationResult.type] :
|
|
2809
|
+
annotations: !!transformationResult ? [transformationResult.type] : void 0
|
|
2814
2810
|
} : {
|
|
2815
2811
|
transformedValue,
|
|
2816
2812
|
annotations: !!transformationResult ? [transformationResult.type, innerAnnotations] : innerAnnotations
|
|
@@ -3006,7 +3002,7 @@ var init_utils = __esm({
|
|
|
3006
3002
|
const {
|
|
3007
3003
|
json
|
|
3008
3004
|
} = serialize(value);
|
|
3009
|
-
return JSON.stringify(json, null, beautify ? 2 :
|
|
3005
|
+
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3010
3006
|
};
|
|
3011
3007
|
getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3012
3008
|
queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
@@ -3150,7 +3146,7 @@ var init_utils = __esm({
|
|
|
3150
3146
|
}
|
|
3151
3147
|
});
|
|
3152
3148
|
|
|
3153
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3149
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3154
3150
|
function chain(callbacks) {
|
|
3155
3151
|
return (...args) => {
|
|
3156
3152
|
for (const callback of callbacks)
|
|
@@ -3193,12 +3189,12 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3193
3189
|
}
|
|
3194
3190
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3195
3191
|
var init_R5675YMU = __esm({
|
|
3196
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3192
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3197
3193
|
init_solid();
|
|
3198
3194
|
init_web();
|
|
3199
3195
|
isClient = !isServer;
|
|
3200
3196
|
isDev = isClient && !!DEV;
|
|
3201
|
-
noop = () =>
|
|
3197
|
+
noop = () => void 0;
|
|
3202
3198
|
isNonNullable = (i2) => i2 != null;
|
|
3203
3199
|
filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
3204
3200
|
access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
@@ -3207,14 +3203,14 @@ var init_R5675YMU = __esm({
|
|
|
3207
3203
|
}
|
|
3208
3204
|
});
|
|
3209
3205
|
|
|
3210
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3206
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3211
3207
|
var init_index = __esm({
|
|
3212
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3208
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.4/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3213
3209
|
init_R5675YMU();
|
|
3214
3210
|
}
|
|
3215
3211
|
});
|
|
3216
3212
|
|
|
3217
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3213
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.4/node_modules/@solid-primitives/storage/dist/index.js
|
|
3218
3214
|
function createStorage(props) {
|
|
3219
3215
|
const [error, setError] = createSignal();
|
|
3220
3216
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3232,7 +3228,7 @@ function createStorage(props) {
|
|
|
3232
3228
|
get(_, key) {
|
|
3233
3229
|
let node = signals.get(key);
|
|
3234
3230
|
if (!node) {
|
|
3235
|
-
node = createSignal(
|
|
3231
|
+
node = createSignal(void 0, { equals: false });
|
|
3236
3232
|
signals.set(key, node);
|
|
3237
3233
|
}
|
|
3238
3234
|
node[0]();
|
|
@@ -3359,7 +3355,7 @@ function createStorage(props) {
|
|
|
3359
3355
|
}
|
|
3360
3356
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3361
3357
|
var init_dist4 = __esm({
|
|
3362
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3358
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.4/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3363
3359
|
init_solid();
|
|
3364
3360
|
createLocalStorage = createStorage;
|
|
3365
3361
|
addClearMethod = (storage) => {
|
|
@@ -4129,7 +4125,7 @@ var init_clsx = __esm({
|
|
|
4129
4125
|
}
|
|
4130
4126
|
});
|
|
4131
4127
|
|
|
4132
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4128
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.4/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4133
4129
|
function createListTransition(source, options) {
|
|
4134
4130
|
const initSource = untrack(source);
|
|
4135
4131
|
if (isServer) {
|
|
@@ -4137,16 +4133,16 @@ function createListTransition(source, options) {
|
|
|
4137
4133
|
return () => copy2;
|
|
4138
4134
|
}
|
|
4139
4135
|
const { onChange } = options;
|
|
4140
|
-
let prevSet = new Set(options.appear ?
|
|
4136
|
+
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
4141
4137
|
const exiting = /* @__PURE__ */ new WeakSet();
|
|
4142
4138
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
4143
4139
|
const [isTransitionPending] = useTransition();
|
|
4144
|
-
const finishRemoved =
|
|
4140
|
+
const finishRemoved = (els) => {
|
|
4145
4141
|
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
4146
4142
|
for (const el of els)
|
|
4147
4143
|
exiting.delete(el);
|
|
4148
4144
|
};
|
|
4149
|
-
const handleRemoved =
|
|
4145
|
+
const handleRemoved = (els, el, i2) => els.splice(i2, 0, el) ;
|
|
4150
4146
|
return createMemo(
|
|
4151
4147
|
(prev) => {
|
|
4152
4148
|
const elsToRemove = toRemove();
|
|
@@ -4194,17 +4190,14 @@ function createListTransition(source, options) {
|
|
|
4194
4190
|
options.appear ? [] : initSource.slice()
|
|
4195
4191
|
);
|
|
4196
4192
|
}
|
|
4197
|
-
var noop2;
|
|
4198
4193
|
var init_dist5 = __esm({
|
|
4199
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4194
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.4/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4200
4195
|
init_solid();
|
|
4201
4196
|
init_web();
|
|
4202
|
-
noop2 = () => {
|
|
4203
|
-
};
|
|
4204
4197
|
}
|
|
4205
4198
|
});
|
|
4206
4199
|
|
|
4207
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4200
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.4/node_modules/@solid-primitives/refs/dist/index.js
|
|
4208
4201
|
function mergeRefs(...refs) {
|
|
4209
4202
|
return chain(refs);
|
|
4210
4203
|
}
|
|
@@ -4237,7 +4230,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4237
4230
|
}
|
|
4238
4231
|
var defaultElementPredicate;
|
|
4239
4232
|
var init_dist6 = __esm({
|
|
4240
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4233
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.4/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4241
4234
|
init_index();
|
|
4242
4235
|
init_solid();
|
|
4243
4236
|
init_web();
|
|
@@ -4245,7 +4238,7 @@ var init_dist6 = __esm({
|
|
|
4245
4238
|
}
|
|
4246
4239
|
});
|
|
4247
4240
|
|
|
4248
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4241
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.4/node_modules/solid-transition-group/dist/index.js
|
|
4249
4242
|
function createClassnames(props) {
|
|
4250
4243
|
return createMemo(() => {
|
|
4251
4244
|
const name = props.name || "s";
|
|
@@ -4320,7 +4313,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4320
4313
|
}
|
|
4321
4314
|
var TransitionGroup;
|
|
4322
4315
|
var init_dist7 = __esm({
|
|
4323
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4316
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.4/node_modules/solid-transition-group/dist/index.js"() {
|
|
4324
4317
|
init_solid();
|
|
4325
4318
|
init_dist5();
|
|
4326
4319
|
init_dist6();
|
|
@@ -4328,7 +4321,6 @@ var init_dist7 = __esm({
|
|
|
4328
4321
|
const classnames = createClassnames(props);
|
|
4329
4322
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
4330
4323
|
appear: props.appear,
|
|
4331
|
-
exitMethod: "keep-index",
|
|
4332
4324
|
onChange({ added, removed, finishRemoved, list }) {
|
|
4333
4325
|
const classes = classnames();
|
|
4334
4326
|
for (const el of added) {
|
|
@@ -4374,7 +4366,7 @@ var init_dist7 = __esm({
|
|
|
4374
4366
|
}
|
|
4375
4367
|
});
|
|
4376
4368
|
|
|
4377
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4369
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.4/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4378
4370
|
function dispose2(list) {
|
|
4379
4371
|
for (const o2 of list)
|
|
4380
4372
|
o2.dispose();
|
|
@@ -4466,20 +4458,20 @@ function Key(props) {
|
|
|
4466
4458
|
() => props.each,
|
|
4467
4459
|
typeof by === "function" ? by : (v) => v[by],
|
|
4468
4460
|
props.children,
|
|
4469
|
-
"fallback" in props ? { fallback: () => props.fallback } :
|
|
4461
|
+
"fallback" in props ? { fallback: () => props.fallback } : void 0
|
|
4470
4462
|
)
|
|
4471
4463
|
);
|
|
4472
4464
|
}
|
|
4473
4465
|
var FALLBACK2;
|
|
4474
4466
|
var init_dist8 = __esm({
|
|
4475
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4467
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.4/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4476
4468
|
init_solid();
|
|
4477
4469
|
init_web();
|
|
4478
4470
|
FALLBACK2 = Symbol("fallback");
|
|
4479
4471
|
}
|
|
4480
4472
|
});
|
|
4481
4473
|
|
|
4482
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4474
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.4/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4483
4475
|
function makeEventListener(target, type, handler, options) {
|
|
4484
4476
|
target.addEventListener(type, handler, options);
|
|
4485
4477
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4499,14 +4491,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4499
4491
|
createRenderEffect(attachListeners);
|
|
4500
4492
|
}
|
|
4501
4493
|
var init_dist9 = __esm({
|
|
4502
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4494
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.4/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4503
4495
|
init_index();
|
|
4504
4496
|
init_solid();
|
|
4505
4497
|
init_web();
|
|
4506
4498
|
}
|
|
4507
4499
|
});
|
|
4508
4500
|
|
|
4509
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4501
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.4/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4510
4502
|
function makeResizeObserver(callback, options) {
|
|
4511
4503
|
if (isServer) {
|
|
4512
4504
|
return { observe: noop, unobserve: noop };
|
|
@@ -4537,14 +4529,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4537
4529
|
}, []);
|
|
4538
4530
|
}
|
|
4539
4531
|
var init_dist10 = __esm({
|
|
4540
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4532
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.4/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4541
4533
|
init_index();
|
|
4542
4534
|
init_solid();
|
|
4543
4535
|
init_web();
|
|
4544
4536
|
}
|
|
4545
4537
|
});
|
|
4546
4538
|
|
|
4547
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4539
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.4/node_modules/@solid-primitives/props/dist/index.js
|
|
4548
4540
|
function stringStyleToObject(style2) {
|
|
4549
4541
|
const object = {};
|
|
4550
4542
|
let match;
|
|
@@ -4565,12 +4557,12 @@ function combineStyle(a2, b2) {
|
|
|
4565
4557
|
}
|
|
4566
4558
|
var extractCSSregex;
|
|
4567
4559
|
var init_dist11 = __esm({
|
|
4568
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4560
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.4/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4569
4561
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4570
4562
|
}
|
|
4571
4563
|
});
|
|
4572
4564
|
|
|
4573
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4565
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.4/node_modules/@kobalte/utils/dist/index.js
|
|
4574
4566
|
function addItemToArray(array, item, index = -1) {
|
|
4575
4567
|
if (!(index in array)) {
|
|
4576
4568
|
return [...array, item];
|
|
@@ -4956,7 +4948,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4956
4948
|
}
|
|
4957
4949
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4958
4950
|
var init_dist12 = __esm({
|
|
4959
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4951
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.4/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4960
4952
|
init_solid();
|
|
4961
4953
|
init_dist9();
|
|
4962
4954
|
init_dist6();
|
|
@@ -5021,19 +5013,19 @@ var init_dist12 = __esm({
|
|
|
5021
5013
|
}
|
|
5022
5014
|
});
|
|
5023
5015
|
|
|
5024
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5016
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5025
5017
|
function createRegisterId(setter) {
|
|
5026
5018
|
return (id) => {
|
|
5027
5019
|
setter(id);
|
|
5028
|
-
return () => setter(
|
|
5020
|
+
return () => setter(void 0);
|
|
5029
5021
|
};
|
|
5030
5022
|
}
|
|
5031
5023
|
var init_E4R2EMM4 = __esm({
|
|
5032
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5024
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5033
5025
|
}
|
|
5034
5026
|
});
|
|
5035
5027
|
|
|
5036
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5028
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5037
5029
|
function createTagName(ref, fallback) {
|
|
5038
5030
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5039
5031
|
createEffect(() => {
|
|
@@ -5042,16 +5034,16 @@ function createTagName(ref, fallback) {
|
|
|
5042
5034
|
return tagName;
|
|
5043
5035
|
}
|
|
5044
5036
|
function stringOrUndefined(value) {
|
|
5045
|
-
return isString2(value) ? value :
|
|
5037
|
+
return isString2(value) ? value : void 0;
|
|
5046
5038
|
}
|
|
5047
5039
|
var init_ET5T45DO = __esm({
|
|
5048
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5040
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5049
5041
|
init_dist12();
|
|
5050
5042
|
init_solid();
|
|
5051
5043
|
}
|
|
5052
5044
|
});
|
|
5053
5045
|
|
|
5054
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5046
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5055
5047
|
function Polymorphic(props) {
|
|
5056
5048
|
const [local, others] = splitProps(props, ["as"]);
|
|
5057
5049
|
if (!local.as) {
|
|
@@ -5067,13 +5059,13 @@ function Polymorphic(props) {
|
|
|
5067
5059
|
);
|
|
5068
5060
|
}
|
|
5069
5061
|
var init_Y7B2NEO = __esm({
|
|
5070
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5062
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5071
5063
|
init_web();
|
|
5072
5064
|
init_solid();
|
|
5073
5065
|
}
|
|
5074
5066
|
});
|
|
5075
5067
|
|
|
5076
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5068
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5077
5069
|
function createFormControl(props) {
|
|
5078
5070
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5079
5071
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5089,8 +5081,8 @@ function createFormControl(props) {
|
|
|
5089
5081
|
fieldAriaLabelledBy,
|
|
5090
5082
|
labelId(),
|
|
5091
5083
|
// If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
|
|
5092
|
-
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 :
|
|
5093
|
-
].filter(Boolean).join(" ") ||
|
|
5084
|
+
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
|
|
5085
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5094
5086
|
};
|
|
5095
5087
|
const getAriaDescribedBy = (fieldAriaDescribedBy) => {
|
|
5096
5088
|
return [
|
|
@@ -5099,14 +5091,14 @@ function createFormControl(props) {
|
|
|
5099
5091
|
// See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
|
|
5100
5092
|
errorMessageId(),
|
|
5101
5093
|
fieldAriaDescribedBy
|
|
5102
|
-
].filter(Boolean).join(" ") ||
|
|
5094
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5103
5095
|
};
|
|
5104
5096
|
const dataset = createMemo(() => ({
|
|
5105
|
-
"data-valid": access(mergedProps.validationState) === "valid" ? "" :
|
|
5106
|
-
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" :
|
|
5107
|
-
"data-required": access(mergedProps.required) ? "" :
|
|
5108
|
-
"data-disabled": access(mergedProps.disabled) ? "" :
|
|
5109
|
-
"data-readonly": access(mergedProps.readOnly) ? "" :
|
|
5097
|
+
"data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
|
|
5098
|
+
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
|
|
5099
|
+
"data-required": access(mergedProps.required) ? "" : void 0,
|
|
5100
|
+
"data-disabled": access(mergedProps.disabled) ? "" : void 0,
|
|
5101
|
+
"data-readonly": access(mergedProps.readOnly) ? "" : void 0
|
|
5110
5102
|
}));
|
|
5111
5103
|
const formControlContext = {
|
|
5112
5104
|
name: () => access(mergedProps.name) ?? access(mergedProps.id),
|
|
@@ -5133,7 +5125,7 @@ function createFormControl(props) {
|
|
|
5133
5125
|
}
|
|
5134
5126
|
function useFormControlContext() {
|
|
5135
5127
|
const context = useContext(FormControlContext);
|
|
5136
|
-
if (context ===
|
|
5128
|
+
if (context === void 0) {
|
|
5137
5129
|
throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
|
|
5138
5130
|
}
|
|
5139
5131
|
return context;
|
|
@@ -5188,13 +5180,13 @@ function FormControlLabel(props) {
|
|
|
5188
5180
|
typeof _ref$ === "function" && _ref$(r$);
|
|
5189
5181
|
},
|
|
5190
5182
|
get ["for"]() {
|
|
5191
|
-
return createMemo(() => tagName() === "label")() ? context.fieldId() :
|
|
5183
|
+
return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
5192
5184
|
}
|
|
5193
5185
|
}, () => context.dataset(), others));
|
|
5194
5186
|
}
|
|
5195
5187
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5196
5188
|
var init_Q2DJLZQE = __esm({
|
|
5197
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5189
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5198
5190
|
init_E4R2EMM4();
|
|
5199
5191
|
init_ET5T45DO();
|
|
5200
5192
|
init_Y7B2NEO();
|
|
@@ -5206,7 +5198,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5206
5198
|
}
|
|
5207
5199
|
});
|
|
5208
5200
|
|
|
5209
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5201
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5210
5202
|
function createFormResetListener(element, handler) {
|
|
5211
5203
|
createEffect(
|
|
5212
5204
|
on(element, (element2) => {
|
|
@@ -5231,15 +5223,15 @@ function isFormElement(element) {
|
|
|
5231
5223
|
return element.matches("textarea, input, select, button");
|
|
5232
5224
|
}
|
|
5233
5225
|
var init_ANN3A2QM = __esm({
|
|
5234
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5226
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5235
5227
|
init_solid();
|
|
5236
5228
|
}
|
|
5237
5229
|
});
|
|
5238
5230
|
|
|
5239
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5231
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5240
5232
|
function createControllableSignal(props) {
|
|
5241
5233
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5242
|
-
const isControlled = createMemo(() => props.value?.() !==
|
|
5234
|
+
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
5243
5235
|
const value = createMemo(() => isControlled() ? props.value?.() : _value());
|
|
5244
5236
|
const setValue = (next) => {
|
|
5245
5237
|
untrack(() => {
|
|
@@ -5266,13 +5258,13 @@ function createControllableArraySignal(props) {
|
|
|
5266
5258
|
return [value, setValue];
|
|
5267
5259
|
}
|
|
5268
5260
|
var init_BLN63FDC = __esm({
|
|
5269
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5261
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5270
5262
|
init_dist12();
|
|
5271
5263
|
init_solid();
|
|
5272
5264
|
}
|
|
5273
5265
|
});
|
|
5274
5266
|
|
|
5275
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5267
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5276
5268
|
function createToggleState(props = {}) {
|
|
5277
5269
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5278
5270
|
value: () => access(props.isSelected),
|
|
@@ -5296,16 +5288,16 @@ function createToggleState(props = {}) {
|
|
|
5296
5288
|
};
|
|
5297
5289
|
}
|
|
5298
5290
|
var init_YGDQXQ2B = __esm({
|
|
5299
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5291
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5300
5292
|
init_BLN63FDC();
|
|
5301
5293
|
init_dist12();
|
|
5302
5294
|
}
|
|
5303
5295
|
});
|
|
5304
5296
|
|
|
5305
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5297
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5306
5298
|
var __defProp2, __export2;
|
|
5307
5299
|
var init_ZKAE4VZ = __esm({
|
|
5308
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5300
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5309
5301
|
__defProp2 = Object.defineProperty;
|
|
5310
5302
|
__export2 = (target, all) => {
|
|
5311
5303
|
for (var name in all)
|
|
@@ -5314,13 +5306,13 @@ var init_ZKAE4VZ = __esm({
|
|
|
5314
5306
|
}
|
|
5315
5307
|
});
|
|
5316
5308
|
|
|
5317
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5309
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5318
5310
|
function useOptionalDomCollectionContext() {
|
|
5319
5311
|
return useContext(DomCollectionContext);
|
|
5320
5312
|
}
|
|
5321
5313
|
function useDomCollectionContext() {
|
|
5322
5314
|
const context = useOptionalDomCollectionContext();
|
|
5323
|
-
if (context ===
|
|
5315
|
+
if (context === void 0) {
|
|
5324
5316
|
throw new Error(
|
|
5325
5317
|
"[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
|
|
5326
5318
|
);
|
|
@@ -5478,7 +5470,7 @@ function createDomCollectionItem(props) {
|
|
|
5478
5470
|
}
|
|
5479
5471
|
var DomCollectionContext;
|
|
5480
5472
|
var init_CVNMTYF = __esm({
|
|
5481
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5473
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5482
5474
|
init_BLN63FDC();
|
|
5483
5475
|
init_dist12();
|
|
5484
5476
|
init_solid();
|
|
@@ -5486,7 +5478,7 @@ var init_CVNMTYF = __esm({
|
|
|
5486
5478
|
}
|
|
5487
5479
|
});
|
|
5488
5480
|
|
|
5489
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5481
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5490
5482
|
function buildNodes(params) {
|
|
5491
5483
|
let index = params.startIndex ?? 0;
|
|
5492
5484
|
const level = params.startLevel ?? 0;
|
|
@@ -5516,7 +5508,7 @@ function buildNodes(params) {
|
|
|
5516
5508
|
};
|
|
5517
5509
|
const getSectionChildren = (data) => {
|
|
5518
5510
|
if (data == null) {
|
|
5519
|
-
return
|
|
5511
|
+
return void 0;
|
|
5520
5512
|
}
|
|
5521
5513
|
if (isString2(params.getSectionChildren)) {
|
|
5522
5514
|
return data[params.getSectionChildren];
|
|
@@ -5595,13 +5587,13 @@ function createCollection(props, deps = []) {
|
|
|
5595
5587
|
});
|
|
5596
5588
|
}
|
|
5597
5589
|
var init_JMA2RWU6 = __esm({
|
|
5598
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5590
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5599
5591
|
init_dist12();
|
|
5600
5592
|
init_solid();
|
|
5601
5593
|
}
|
|
5602
5594
|
});
|
|
5603
5595
|
|
|
5604
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5596
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5605
5597
|
function isRTL(locale) {
|
|
5606
5598
|
if (Intl.Locale) {
|
|
5607
5599
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5661,7 +5653,7 @@ function useLocale() {
|
|
|
5661
5653
|
function createCollator(options) {
|
|
5662
5654
|
const { locale } = useLocale();
|
|
5663
5655
|
const cacheKey = createMemo(() => {
|
|
5664
|
-
return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
|
|
5656
|
+
return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
|
|
5665
5657
|
});
|
|
5666
5658
|
return createMemo(() => {
|
|
5667
5659
|
const key = cacheKey();
|
|
@@ -5678,7 +5670,7 @@ function createCollator(options) {
|
|
|
5678
5670
|
}
|
|
5679
5671
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5680
5672
|
var init_XHJPQEZP = __esm({
|
|
5681
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5673
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5682
5674
|
init_solid();
|
|
5683
5675
|
init_web();
|
|
5684
5676
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5723,7 +5715,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5723
5715
|
}
|
|
5724
5716
|
});
|
|
5725
5717
|
|
|
5726
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5718
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5727
5719
|
function createControllableSelectionSignal(props) {
|
|
5728
5720
|
const [_value, setValue] = createControllableSignal(props);
|
|
5729
5721
|
const value = () => _value() ?? new Selection();
|
|
@@ -5868,7 +5860,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
5868
5860
|
const { direction } = useLocale();
|
|
5869
5861
|
let scrollPos = { top: 0, left: 0 };
|
|
5870
5862
|
createEventListener(
|
|
5871
|
-
() => !access(mergedProps.isVirtualized) ? finalScrollRef() :
|
|
5863
|
+
() => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
|
|
5872
5864
|
"scroll",
|
|
5873
5865
|
() => {
|
|
5874
5866
|
const scrollEl = finalScrollRef();
|
|
@@ -6172,7 +6164,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
6172
6164
|
);
|
|
6173
6165
|
const tabIndex = createMemo(() => {
|
|
6174
6166
|
if (access(mergedProps.shouldUseVirtualFocus)) {
|
|
6175
|
-
return
|
|
6167
|
+
return void 0;
|
|
6176
6168
|
}
|
|
6177
6169
|
return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
|
|
6178
6170
|
});
|
|
@@ -6261,12 +6253,12 @@ function createSelectableItem(props, ref) {
|
|
|
6261
6253
|
};
|
|
6262
6254
|
const tabIndex = createMemo(() => {
|
|
6263
6255
|
if (shouldUseVirtualFocus() || isDisabled()) {
|
|
6264
|
-
return
|
|
6256
|
+
return void 0;
|
|
6265
6257
|
}
|
|
6266
6258
|
return key() === manager().focusedKey() ? 0 : -1;
|
|
6267
6259
|
});
|
|
6268
6260
|
const dataKey = createMemo(() => {
|
|
6269
|
-
return access(props.virtualized) ?
|
|
6261
|
+
return access(props.virtualized) ? void 0 : key();
|
|
6270
6262
|
});
|
|
6271
6263
|
createEffect(
|
|
6272
6264
|
on(
|
|
@@ -6322,7 +6314,7 @@ function createListState(props) {
|
|
|
6322
6314
|
createComputed(() => {
|
|
6323
6315
|
const focusedKey = selectionState.focusedKey();
|
|
6324
6316
|
if (focusedKey != null && !collection().getItem(focusedKey)) {
|
|
6325
|
-
selectionState.setFocusedKey(
|
|
6317
|
+
selectionState.setFocusedKey(void 0);
|
|
6326
6318
|
}
|
|
6327
6319
|
});
|
|
6328
6320
|
return {
|
|
@@ -6332,7 +6324,7 @@ function createListState(props) {
|
|
|
6332
6324
|
}
|
|
6333
6325
|
var Selection, SelectionManager, ListCollection;
|
|
6334
6326
|
var init_H6DSIDEC = __esm({
|
|
6335
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6327
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6336
6328
|
init_JMA2RWU6();
|
|
6337
6329
|
init_XHJPQEZP();
|
|
6338
6330
|
init_BLN63FDC();
|
|
@@ -6676,13 +6668,13 @@ var init_H6DSIDEC = __esm({
|
|
|
6676
6668
|
node.prevKey = last.key;
|
|
6677
6669
|
} else {
|
|
6678
6670
|
this.firstKey = key;
|
|
6679
|
-
node.prevKey =
|
|
6671
|
+
node.prevKey = void 0;
|
|
6680
6672
|
}
|
|
6681
6673
|
if (node.type === "item") {
|
|
6682
6674
|
node.index = index++;
|
|
6683
6675
|
}
|
|
6684
6676
|
last = node;
|
|
6685
|
-
last.nextKey =
|
|
6677
|
+
last.nextKey = void 0;
|
|
6686
6678
|
}
|
|
6687
6679
|
this.lastKey = last.key;
|
|
6688
6680
|
}
|
|
@@ -6718,25 +6710,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6718
6710
|
}
|
|
6719
6711
|
});
|
|
6720
6712
|
|
|
6721
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6713
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6722
6714
|
var access2;
|
|
6723
6715
|
var init_ZV6G25TT = __esm({
|
|
6724
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6716
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6725
6717
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6726
6718
|
}
|
|
6727
6719
|
});
|
|
6728
6720
|
|
|
6729
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6721
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6730
6722
|
var init_reactivity = __esm({
|
|
6731
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6723
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6732
6724
|
init_ZV6G25TT();
|
|
6733
6725
|
}
|
|
6734
6726
|
});
|
|
6735
6727
|
|
|
6736
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6728
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.4/node_modules/solid-presence/dist/index.js
|
|
6737
6729
|
var createPresence, presence_default, src_default;
|
|
6738
6730
|
var init_dist13 = __esm({
|
|
6739
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6731
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.4/node_modules/solid-presence/dist/index.js"() {
|
|
6740
6732
|
init_reactivity();
|
|
6741
6733
|
init_solid();
|
|
6742
6734
|
createPresence = (props) => {
|
|
@@ -6810,7 +6802,7 @@ var init_dist13 = __esm({
|
|
|
6810
6802
|
}
|
|
6811
6803
|
});
|
|
6812
6804
|
|
|
6813
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6805
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6814
6806
|
function indexOf(node) {
|
|
6815
6807
|
return layers.findIndex((layer) => layer.node === node);
|
|
6816
6808
|
}
|
|
@@ -6871,7 +6863,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6871
6863
|
}
|
|
6872
6864
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6873
6865
|
var init_ZKYDDHM6 = __esm({
|
|
6874
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6866
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6875
6867
|
init_dist12();
|
|
6876
6868
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6877
6869
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6892,7 +6884,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6892
6884
|
}
|
|
6893
6885
|
});
|
|
6894
6886
|
|
|
6895
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6887
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6896
6888
|
function isButton(element) {
|
|
6897
6889
|
const tagName = element.tagName.toLowerCase();
|
|
6898
6890
|
if (tagName === "button") {
|
|
@@ -6933,28 +6925,28 @@ function ButtonRoot(props) {
|
|
|
6933
6925
|
typeof _ref$ === "function" && _ref$(r$);
|
|
6934
6926
|
},
|
|
6935
6927
|
get type() {
|
|
6936
|
-
return isNativeButton() || isNativeInput() ? local.type :
|
|
6928
|
+
return isNativeButton() || isNativeInput() ? local.type : void 0;
|
|
6937
6929
|
},
|
|
6938
6930
|
get role() {
|
|
6939
|
-
return !isNativeButton() && !isNativeLink() ? "button" :
|
|
6931
|
+
return !isNativeButton() && !isNativeLink() ? "button" : void 0;
|
|
6940
6932
|
},
|
|
6941
6933
|
get tabIndex() {
|
|
6942
|
-
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 :
|
|
6934
|
+
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
|
|
6943
6935
|
},
|
|
6944
6936
|
get disabled() {
|
|
6945
|
-
return isNativeButton() || isNativeInput() ? local.disabled :
|
|
6937
|
+
return isNativeButton() || isNativeInput() ? local.disabled : void 0;
|
|
6946
6938
|
},
|
|
6947
6939
|
get ["aria-disabled"]() {
|
|
6948
|
-
return !isNativeButton() && !isNativeInput() && local.disabled ? true :
|
|
6940
|
+
return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
|
|
6949
6941
|
},
|
|
6950
6942
|
get ["data-disabled"]() {
|
|
6951
|
-
return local.disabled ? "" :
|
|
6943
|
+
return local.disabled ? "" : void 0;
|
|
6952
6944
|
}
|
|
6953
6945
|
}, others));
|
|
6954
6946
|
}
|
|
6955
6947
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6956
6948
|
var init_OVKXYPU = __esm({
|
|
6957
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6949
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6958
6950
|
init_ET5T45DO();
|
|
6959
6951
|
init_Y7B2NEO();
|
|
6960
6952
|
init_ZKAE4VZ();
|
|
@@ -7004,7 +6996,7 @@ function getAlignmentAxis(placement) {
|
|
|
7004
6996
|
return getOppositeAxis(getSideAxis(placement));
|
|
7005
6997
|
}
|
|
7006
6998
|
function getAlignmentSides(placement, rects, rtl) {
|
|
7007
|
-
if (rtl ===
|
|
6999
|
+
if (rtl === void 0) {
|
|
7008
7000
|
rtl = false;
|
|
7009
7001
|
}
|
|
7010
7002
|
const alignment = getAlignment(placement);
|
|
@@ -7173,7 +7165,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
7173
7165
|
}
|
|
7174
7166
|
async function detectOverflow(state, options) {
|
|
7175
7167
|
var _await$platform$isEle;
|
|
7176
|
-
if (options ===
|
|
7168
|
+
if (options === void 0) {
|
|
7177
7169
|
options = {};
|
|
7178
7170
|
}
|
|
7179
7171
|
const {
|
|
@@ -7195,7 +7187,7 @@ async function detectOverflow(state, options) {
|
|
|
7195
7187
|
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
7196
7188
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
7197
7189
|
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
7198
|
-
element: ((_await$platform$isEle = await (platform2.isElement == null ?
|
|
7190
|
+
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)),
|
|
7199
7191
|
boundary,
|
|
7200
7192
|
rootBoundary,
|
|
7201
7193
|
strategy
|
|
@@ -7206,8 +7198,8 @@ async function detectOverflow(state, options) {
|
|
|
7206
7198
|
width: rects.floating.width,
|
|
7207
7199
|
height: rects.floating.height
|
|
7208
7200
|
} : rects.reference;
|
|
7209
|
-
const offsetParent = await (platform2.getOffsetParent == null ?
|
|
7210
|
-
const offsetScale = await (platform2.isElement == null ?
|
|
7201
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
7202
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
7211
7203
|
x: 1,
|
|
7212
7204
|
y: 1
|
|
7213
7205
|
} : {
|
|
@@ -7244,7 +7236,7 @@ async function convertValueToCoords(state, options) {
|
|
|
7244
7236
|
platform: platform2,
|
|
7245
7237
|
elements
|
|
7246
7238
|
} = state;
|
|
7247
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7239
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7248
7240
|
const side = getSide(placement);
|
|
7249
7241
|
const alignment = getAlignment(placement);
|
|
7250
7242
|
const isVertical = getSideAxis(placement) === "y";
|
|
@@ -7289,7 +7281,7 @@ var init_floating_ui_core = __esm({
|
|
|
7289
7281
|
platform: platform2
|
|
7290
7282
|
} = config;
|
|
7291
7283
|
const validMiddleware = middleware.filter(Boolean);
|
|
7292
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7284
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
7293
7285
|
let rects = await platform2.getElementRects({
|
|
7294
7286
|
reference,
|
|
7295
7287
|
floating,
|
|
@@ -7398,9 +7390,9 @@ var init_floating_ui_core = __esm({
|
|
|
7398
7390
|
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
7399
7391
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
7400
7392
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
7401
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ?
|
|
7393
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
7402
7394
|
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
7403
|
-
if (!clientSize || !await (platform2.isElement == null ?
|
|
7395
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
7404
7396
|
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
7405
7397
|
}
|
|
7406
7398
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
@@ -7427,7 +7419,7 @@ var init_floating_ui_core = __esm({
|
|
|
7427
7419
|
}
|
|
7428
7420
|
});
|
|
7429
7421
|
flip = function(options) {
|
|
7430
|
-
if (options ===
|
|
7422
|
+
if (options === void 0) {
|
|
7431
7423
|
options = {};
|
|
7432
7424
|
}
|
|
7433
7425
|
return {
|
|
@@ -7458,7 +7450,7 @@ var init_floating_ui_core = __esm({
|
|
|
7458
7450
|
const side = getSide(placement);
|
|
7459
7451
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
7460
7452
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
7461
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7453
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7462
7454
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
7463
7455
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
7464
7456
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -7467,7 +7459,7 @@ var init_floating_ui_core = __esm({
|
|
|
7467
7459
|
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
7468
7460
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
7469
7461
|
const overflows = [];
|
|
7470
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
7462
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
7471
7463
|
if (checkMainAxis) {
|
|
7472
7464
|
overflows.push(overflow[side]);
|
|
7473
7465
|
}
|
|
@@ -7481,7 +7473,7 @@ var init_floating_ui_core = __esm({
|
|
|
7481
7473
|
}];
|
|
7482
7474
|
if (!overflows.every((side2) => side2 <= 0)) {
|
|
7483
7475
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
7484
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
7476
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
7485
7477
|
const nextPlacement = placements2[nextIndex];
|
|
7486
7478
|
if (nextPlacement) {
|
|
7487
7479
|
return {
|
|
@@ -7494,7 +7486,7 @@ var init_floating_ui_core = __esm({
|
|
|
7494
7486
|
}
|
|
7495
7487
|
};
|
|
7496
7488
|
}
|
|
7497
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ?
|
|
7489
|
+
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;
|
|
7498
7490
|
if (!resetPlacement) {
|
|
7499
7491
|
switch (fallbackStrategy) {
|
|
7500
7492
|
case "bestFit": {
|
|
@@ -7507,7 +7499,7 @@ var init_floating_ui_core = __esm({
|
|
|
7507
7499
|
currentSideAxis === "y";
|
|
7508
7500
|
}
|
|
7509
7501
|
return true;
|
|
7510
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ?
|
|
7502
|
+
}).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];
|
|
7511
7503
|
if (placement2) {
|
|
7512
7504
|
resetPlacement = placement2;
|
|
7513
7505
|
}
|
|
@@ -7531,7 +7523,7 @@ var init_floating_ui_core = __esm({
|
|
|
7531
7523
|
};
|
|
7532
7524
|
};
|
|
7533
7525
|
hide = function(options) {
|
|
7534
|
-
if (options ===
|
|
7526
|
+
if (options === void 0) {
|
|
7535
7527
|
options = {};
|
|
7536
7528
|
}
|
|
7537
7529
|
return {
|
|
@@ -7580,7 +7572,7 @@ var init_floating_ui_core = __esm({
|
|
|
7580
7572
|
};
|
|
7581
7573
|
};
|
|
7582
7574
|
offset = function(options) {
|
|
7583
|
-
if (options ===
|
|
7575
|
+
if (options === void 0) {
|
|
7584
7576
|
options = 0;
|
|
7585
7577
|
}
|
|
7586
7578
|
return {
|
|
@@ -7595,7 +7587,7 @@ var init_floating_ui_core = __esm({
|
|
|
7595
7587
|
middlewareData
|
|
7596
7588
|
} = state;
|
|
7597
7589
|
const diffCoords = await convertValueToCoords(state, options);
|
|
7598
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
7590
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
7599
7591
|
return {};
|
|
7600
7592
|
}
|
|
7601
7593
|
return {
|
|
@@ -7610,7 +7602,7 @@ var init_floating_ui_core = __esm({
|
|
|
7610
7602
|
};
|
|
7611
7603
|
};
|
|
7612
7604
|
shift = function(options) {
|
|
7613
|
-
if (options ===
|
|
7605
|
+
if (options === void 0) {
|
|
7614
7606
|
options = {};
|
|
7615
7607
|
}
|
|
7616
7608
|
return {
|
|
@@ -7678,7 +7670,7 @@ var init_floating_ui_core = __esm({
|
|
|
7678
7670
|
};
|
|
7679
7671
|
};
|
|
7680
7672
|
size = function(options) {
|
|
7681
|
-
if (options ===
|
|
7673
|
+
if (options === void 0) {
|
|
7682
7674
|
options = {};
|
|
7683
7675
|
}
|
|
7684
7676
|
return {
|
|
@@ -7708,7 +7700,7 @@ var init_floating_ui_core = __esm({
|
|
|
7708
7700
|
let widthSide;
|
|
7709
7701
|
if (side === "top" || side === "bottom") {
|
|
7710
7702
|
heightSide = side;
|
|
7711
|
-
widthSide = alignment === (await (platform2.isRTL == null ?
|
|
7703
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
7712
7704
|
} else {
|
|
7713
7705
|
widthSide = side;
|
|
7714
7706
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
@@ -7765,11 +7757,11 @@ function getNodeName(node) {
|
|
|
7765
7757
|
}
|
|
7766
7758
|
function getWindow2(node) {
|
|
7767
7759
|
var _node$ownerDocument;
|
|
7768
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
7760
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
7769
7761
|
}
|
|
7770
7762
|
function getDocumentElement(node) {
|
|
7771
7763
|
var _ref;
|
|
7772
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
7764
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
7773
7765
|
}
|
|
7774
7766
|
function isNode(value) {
|
|
7775
7767
|
return value instanceof Node || value instanceof getWindow2(value).Node;
|
|
@@ -7872,14 +7864,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
7872
7864
|
}
|
|
7873
7865
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
7874
7866
|
var _node$ownerDocument2;
|
|
7875
|
-
if (list ===
|
|
7867
|
+
if (list === void 0) {
|
|
7876
7868
|
list = [];
|
|
7877
7869
|
}
|
|
7878
|
-
if (traverseIframes ===
|
|
7870
|
+
if (traverseIframes === void 0) {
|
|
7879
7871
|
traverseIframes = true;
|
|
7880
7872
|
}
|
|
7881
7873
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
7882
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
7874
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
7883
7875
|
const win = getWindow2(scrollableAncestor);
|
|
7884
7876
|
if (isBody) {
|
|
7885
7877
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
@@ -7948,7 +7940,7 @@ function getVisualOffsets(element) {
|
|
|
7948
7940
|
};
|
|
7949
7941
|
}
|
|
7950
7942
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
7951
|
-
if (isFixed ===
|
|
7943
|
+
if (isFixed === void 0) {
|
|
7952
7944
|
isFixed = false;
|
|
7953
7945
|
}
|
|
7954
7946
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
|
|
@@ -7957,10 +7949,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
7957
7949
|
return isFixed;
|
|
7958
7950
|
}
|
|
7959
7951
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
7960
|
-
if (includeScale ===
|
|
7952
|
+
if (includeScale === void 0) {
|
|
7961
7953
|
includeScale = false;
|
|
7962
7954
|
}
|
|
7963
|
-
if (isFixedStrategy ===
|
|
7955
|
+
if (isFixedStrategy === void 0) {
|
|
7964
7956
|
isFixedStrategy = false;
|
|
7965
7957
|
}
|
|
7966
7958
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -8277,10 +8269,10 @@ function observeMove(element, onMove) {
|
|
|
8277
8269
|
io = null;
|
|
8278
8270
|
}
|
|
8279
8271
|
function refresh(skip, threshold) {
|
|
8280
|
-
if (skip ===
|
|
8272
|
+
if (skip === void 0) {
|
|
8281
8273
|
skip = false;
|
|
8282
8274
|
}
|
|
8283
|
-
if (threshold ===
|
|
8275
|
+
if (threshold === void 0) {
|
|
8284
8276
|
threshold = 1;
|
|
8285
8277
|
}
|
|
8286
8278
|
cleanup();
|
|
@@ -8337,7 +8329,7 @@ function observeMove(element, onMove) {
|
|
|
8337
8329
|
return cleanup;
|
|
8338
8330
|
}
|
|
8339
8331
|
function autoUpdate(reference, floating, update, options) {
|
|
8340
|
-
if (options ===
|
|
8332
|
+
if (options === void 0) {
|
|
8341
8333
|
options = {};
|
|
8342
8334
|
}
|
|
8343
8335
|
const {
|
|
@@ -8461,10 +8453,10 @@ var init_floating_ui_dom = __esm({
|
|
|
8461
8453
|
}
|
|
8462
8454
|
});
|
|
8463
8455
|
|
|
8464
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8456
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8465
8457
|
function usePopperContext() {
|
|
8466
8458
|
const context = useContext(PopperContext);
|
|
8467
|
-
if (context ===
|
|
8459
|
+
if (context === void 0) {
|
|
8468
8460
|
throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
|
|
8469
8461
|
}
|
|
8470
8462
|
return context;
|
|
@@ -8634,14 +8626,14 @@ function PopperRoot(props) {
|
|
|
8634
8626
|
const hasAlignment = !!placement.split("-")[1];
|
|
8635
8627
|
return {
|
|
8636
8628
|
mainAxis: finalGutter,
|
|
8637
|
-
crossAxis: !hasAlignment ? mergedProps.shift :
|
|
8629
|
+
crossAxis: !hasAlignment ? mergedProps.shift : void 0,
|
|
8638
8630
|
alignmentAxis: mergedProps.shift
|
|
8639
8631
|
};
|
|
8640
8632
|
})
|
|
8641
8633
|
];
|
|
8642
8634
|
if (mergedProps.flip !== false) {
|
|
8643
|
-
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") :
|
|
8644
|
-
if (fallbackPlacements !==
|
|
8635
|
+
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
|
|
8636
|
+
if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
|
|
8645
8637
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
8646
8638
|
}
|
|
8647
8639
|
middleware.push(flip2({
|
|
@@ -8766,7 +8758,7 @@ function PopperRoot(props) {
|
|
|
8766
8758
|
}
|
|
8767
8759
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8768
8760
|
var init_X2EKUJ3 = __esm({
|
|
8769
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8761
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8770
8762
|
init_XHJPQEZP();
|
|
8771
8763
|
init_Y7B2NEO();
|
|
8772
8764
|
init_web();
|
|
@@ -8799,7 +8791,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8799
8791
|
}
|
|
8800
8792
|
});
|
|
8801
8793
|
|
|
8802
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8794
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8803
8795
|
function createEscapeKeyDown(props) {
|
|
8804
8796
|
const handleKeyDown = (event) => {
|
|
8805
8797
|
if (event.key === EventKey.Escape) {
|
|
@@ -8821,14 +8813,14 @@ function createEscapeKeyDown(props) {
|
|
|
8821
8813
|
});
|
|
8822
8814
|
}
|
|
8823
8815
|
var init_QEMPLYZX = __esm({
|
|
8824
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8816
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8825
8817
|
init_dist12();
|
|
8826
8818
|
init_solid();
|
|
8827
8819
|
init_web();
|
|
8828
8820
|
}
|
|
8829
8821
|
});
|
|
8830
8822
|
|
|
8831
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8823
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8832
8824
|
function createInteractOutside(props, ref) {
|
|
8833
8825
|
let pointerDownTimeoutId;
|
|
8834
8826
|
let clickHandler = noop3;
|
|
@@ -8929,7 +8921,7 @@ function createInteractOutside(props, ref) {
|
|
|
8929
8921
|
}
|
|
8930
8922
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8931
8923
|
var init_QGCMYLTA = __esm({
|
|
8932
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8924
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8933
8925
|
init_ZKYDDHM6();
|
|
8934
8926
|
init_dist12();
|
|
8935
8927
|
init_solid();
|
|
@@ -8939,7 +8931,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8939
8931
|
}
|
|
8940
8932
|
});
|
|
8941
8933
|
|
|
8942
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8934
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8943
8935
|
function useOptionalDismissableLayerContext() {
|
|
8944
8936
|
return useContext(DismissableLayerContext);
|
|
8945
8937
|
}
|
|
@@ -9058,7 +9050,7 @@ function DismissableLayer(props) {
|
|
|
9058
9050
|
}
|
|
9059
9051
|
var DismissableLayerContext;
|
|
9060
9052
|
var init_G7G3PFRJ = __esm({
|
|
9061
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9053
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9062
9054
|
init_QEMPLYZX();
|
|
9063
9055
|
init_QGCMYLTA();
|
|
9064
9056
|
init_ZKYDDHM6();
|
|
@@ -9070,7 +9062,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9070
9062
|
}
|
|
9071
9063
|
});
|
|
9072
9064
|
|
|
9073
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9065
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9074
9066
|
function createDisclosureState(props = {}) {
|
|
9075
9067
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9076
9068
|
value: () => access(props.open),
|
|
@@ -9095,23 +9087,23 @@ function createDisclosureState(props = {}) {
|
|
|
9095
9087
|
};
|
|
9096
9088
|
}
|
|
9097
9089
|
var init_LCANGHD = __esm({
|
|
9098
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9090
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9099
9091
|
init_BLN63FDC();
|
|
9100
9092
|
init_dist12();
|
|
9101
9093
|
}
|
|
9102
9094
|
});
|
|
9103
9095
|
|
|
9104
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9096
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9105
9097
|
function useRadioGroupContext() {
|
|
9106
9098
|
const context = useContext(RadioGroupContext);
|
|
9107
|
-
if (context ===
|
|
9099
|
+
if (context === void 0) {
|
|
9108
9100
|
throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
|
|
9109
9101
|
}
|
|
9110
9102
|
return context;
|
|
9111
9103
|
}
|
|
9112
9104
|
function useRadioGroupItemContext() {
|
|
9113
9105
|
const context = useContext(RadioGroupItemContext);
|
|
9114
|
-
if (context ===
|
|
9106
|
+
if (context === void 0) {
|
|
9115
9107
|
throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
|
|
9116
9108
|
}
|
|
9117
9109
|
return context;
|
|
@@ -9143,8 +9135,8 @@ function RadioGroupItem(props) {
|
|
|
9143
9135
|
};
|
|
9144
9136
|
const dataset = createMemo(() => ({
|
|
9145
9137
|
...formControlContext.dataset(),
|
|
9146
|
-
"data-disabled": isDisabled() ? "" :
|
|
9147
|
-
"data-checked": isSelected() ? "" :
|
|
9138
|
+
"data-disabled": isDisabled() ? "" : void 0,
|
|
9139
|
+
"data-checked": isSelected() ? "" : void 0
|
|
9148
9140
|
}));
|
|
9149
9141
|
const context = {
|
|
9150
9142
|
value: () => local.value,
|
|
@@ -9249,11 +9241,11 @@ function RadioGroupItemInput(props) {
|
|
|
9249
9241
|
local["aria-labelledby"],
|
|
9250
9242
|
radioContext.labelId(),
|
|
9251
9243
|
// If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
|
|
9252
|
-
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id :
|
|
9253
|
-
].filter(Boolean).join(" ") ||
|
|
9244
|
+
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
|
|
9245
|
+
].filter(Boolean).join(" ") || void 0;
|
|
9254
9246
|
};
|
|
9255
9247
|
const ariaDescribedBy = () => {
|
|
9256
|
-
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") ||
|
|
9248
|
+
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
|
|
9257
9249
|
};
|
|
9258
9250
|
const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
|
|
9259
9251
|
const onChange = (e2) => {
|
|
@@ -9408,16 +9400,16 @@ function RadioGroupRoot(props) {
|
|
|
9408
9400
|
return access(formControlProps.id);
|
|
9409
9401
|
},
|
|
9410
9402
|
get ["aria-invalid"]() {
|
|
9411
|
-
return formControlContext.validationState() === "invalid" ||
|
|
9403
|
+
return formControlContext.validationState() === "invalid" || void 0;
|
|
9412
9404
|
},
|
|
9413
9405
|
get ["aria-required"]() {
|
|
9414
|
-
return formControlContext.isRequired() ||
|
|
9406
|
+
return formControlContext.isRequired() || void 0;
|
|
9415
9407
|
},
|
|
9416
9408
|
get ["aria-disabled"]() {
|
|
9417
|
-
return formControlContext.isDisabled() ||
|
|
9409
|
+
return formControlContext.isDisabled() || void 0;
|
|
9418
9410
|
},
|
|
9419
9411
|
get ["aria-readonly"]() {
|
|
9420
|
-
return formControlContext.isReadOnly() ||
|
|
9412
|
+
return formControlContext.isReadOnly() || void 0;
|
|
9421
9413
|
},
|
|
9422
9414
|
get ["aria-orientation"]() {
|
|
9423
9415
|
return local.orientation;
|
|
@@ -9436,7 +9428,7 @@ function RadioGroupRoot(props) {
|
|
|
9436
9428
|
}
|
|
9437
9429
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9438
9430
|
var init_Q2BOFK7I = __esm({
|
|
9439
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9431
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9440
9432
|
init_Q2DJLZQE();
|
|
9441
9433
|
init_ANN3A2QM();
|
|
9442
9434
|
init_E4R2EMM4();
|
|
@@ -9478,7 +9470,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9478
9470
|
}
|
|
9479
9471
|
});
|
|
9480
9472
|
|
|
9481
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9473
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9482
9474
|
function createSelectableList(props, ref, scrollRef) {
|
|
9483
9475
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9484
9476
|
const delegate = createMemo(() => {
|
|
@@ -9508,7 +9500,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9508
9500
|
}
|
|
9509
9501
|
var ListKeyboardDelegate;
|
|
9510
9502
|
var init_GLKC2QFF = __esm({
|
|
9511
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9503
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9512
9504
|
init_H6DSIDEC();
|
|
9513
9505
|
init_XHJPQEZP();
|
|
9514
9506
|
init_dist12();
|
|
@@ -9622,7 +9614,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9622
9614
|
}
|
|
9623
9615
|
});
|
|
9624
9616
|
|
|
9625
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9617
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9626
9618
|
function createFocusScope(props, ref) {
|
|
9627
9619
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9628
9620
|
const focusScope = {
|
|
@@ -9800,7 +9792,7 @@ function createFocusScope(props, ref) {
|
|
|
9800
9792
|
}
|
|
9801
9793
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9802
9794
|
var init_ISKHZMHS = __esm({
|
|
9803
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9795
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9804
9796
|
init_ZKYDDHM6();
|
|
9805
9797
|
init_dist12();
|
|
9806
9798
|
init_solid();
|
|
@@ -9832,15 +9824,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9832
9824
|
}
|
|
9833
9825
|
});
|
|
9834
9826
|
|
|
9835
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9827
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9836
9828
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9837
9829
|
var init_YA7DCYMB = __esm({
|
|
9838
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9830
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9839
9831
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9840
9832
|
}
|
|
9841
9833
|
});
|
|
9842
9834
|
|
|
9843
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9835
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9844
9836
|
function createHideOutside(props) {
|
|
9845
9837
|
createEffect(() => {
|
|
9846
9838
|
if (access(props.isDisabled)) {
|
|
@@ -9959,7 +9951,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9959
9951
|
}
|
|
9960
9952
|
var refCountMap, observerStack;
|
|
9961
9953
|
var init_TZGE2AQH = __esm({
|
|
9962
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9954
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9963
9955
|
init_YA7DCYMB();
|
|
9964
9956
|
init_ZKYDDHM6();
|
|
9965
9957
|
init_dist12();
|
|
@@ -9969,10 +9961,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9969
9961
|
}
|
|
9970
9962
|
});
|
|
9971
9963
|
|
|
9972
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9964
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9973
9965
|
var activeStyles, createStyle, style_default;
|
|
9974
9966
|
var init_HD4B7J7A = __esm({
|
|
9975
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9967
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9976
9968
|
init_ZV6G25TT();
|
|
9977
9969
|
init_solid();
|
|
9978
9970
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -10024,17 +10016,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10024
10016
|
}
|
|
10025
10017
|
});
|
|
10026
10018
|
|
|
10027
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10019
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/create/style.js
|
|
10028
10020
|
var init_style = __esm({
|
|
10029
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10021
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10030
10022
|
init_HD4B7J7A();
|
|
10031
10023
|
}
|
|
10032
10024
|
});
|
|
10033
10025
|
|
|
10034
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10026
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10035
10027
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10036
10028
|
var init_scroll = __esm({
|
|
10037
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10029
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.4/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10038
10030
|
getScrollDimensions = (element, axis) => {
|
|
10039
10031
|
switch (axis) {
|
|
10040
10032
|
case "x":
|
|
@@ -10076,10 +10068,10 @@ var init_scroll = __esm({
|
|
|
10076
10068
|
}
|
|
10077
10069
|
});
|
|
10078
10070
|
|
|
10079
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10071
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.4/node_modules/solid-prevent-scroll/dist/index.js
|
|
10080
10072
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10081
10073
|
var init_dist14 = __esm({
|
|
10082
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10074
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.4/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10083
10075
|
init_reactivity();
|
|
10084
10076
|
init_solid();
|
|
10085
10077
|
init_style();
|
|
@@ -10241,7 +10233,7 @@ var init_dist14 = __esm({
|
|
|
10241
10233
|
const [availableScroll, availableScrollTop] = getScrollAtLocation(
|
|
10242
10234
|
target,
|
|
10243
10235
|
axis,
|
|
10244
|
-
targetInWrapper ? wrapper :
|
|
10236
|
+
targetInWrapper ? wrapper : void 0
|
|
10245
10237
|
);
|
|
10246
10238
|
if (delta > 0 && Math.abs(availableScroll) <= 1) {
|
|
10247
10239
|
return false;
|
|
@@ -10267,27 +10259,27 @@ var init_dist14 = __esm({
|
|
|
10267
10259
|
}
|
|
10268
10260
|
});
|
|
10269
10261
|
|
|
10270
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10262
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10271
10263
|
function useOptionalMenuContext() {
|
|
10272
10264
|
return useContext(MenuContext);
|
|
10273
10265
|
}
|
|
10274
10266
|
function useMenuContext() {
|
|
10275
10267
|
const context = useOptionalMenuContext();
|
|
10276
|
-
if (context ===
|
|
10268
|
+
if (context === void 0) {
|
|
10277
10269
|
throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
|
|
10278
10270
|
}
|
|
10279
10271
|
return context;
|
|
10280
10272
|
}
|
|
10281
10273
|
function useMenuItemContext() {
|
|
10282
10274
|
const context = useContext(MenuItemContext);
|
|
10283
|
-
if (context ===
|
|
10275
|
+
if (context === void 0) {
|
|
10284
10276
|
throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
|
|
10285
10277
|
}
|
|
10286
10278
|
return context;
|
|
10287
10279
|
}
|
|
10288
10280
|
function useMenuRootContext() {
|
|
10289
10281
|
const context = useContext(MenuRootContext);
|
|
10290
|
-
if (context ===
|
|
10282
|
+
if (context === void 0) {
|
|
10291
10283
|
throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
|
|
10292
10284
|
}
|
|
10293
10285
|
return context;
|
|
@@ -10379,15 +10371,15 @@ function MenuItemBase(props) {
|
|
|
10379
10371
|
return "mixed";
|
|
10380
10372
|
}
|
|
10381
10373
|
if (local.checked == null) {
|
|
10382
|
-
return
|
|
10374
|
+
return void 0;
|
|
10383
10375
|
}
|
|
10384
10376
|
return local.checked;
|
|
10385
10377
|
});
|
|
10386
10378
|
const dataset = createMemo(() => ({
|
|
10387
|
-
"data-indeterminate": local.indeterminate ? "" :
|
|
10388
|
-
"data-checked": local.checked && !local.indeterminate ? "" :
|
|
10389
|
-
"data-disabled": local.disabled ? "" :
|
|
10390
|
-
"data-highlighted": isHighlighted() ? "" :
|
|
10379
|
+
"data-indeterminate": local.indeterminate ? "" : void 0,
|
|
10380
|
+
"data-checked": local.checked && !local.indeterminate ? "" : void 0,
|
|
10381
|
+
"data-disabled": local.disabled ? "" : void 0,
|
|
10382
|
+
"data-highlighted": isHighlighted() ? "" : void 0
|
|
10391
10383
|
}));
|
|
10392
10384
|
const context = {
|
|
10393
10385
|
isChecked: () => local.checked,
|
|
@@ -10486,9 +10478,9 @@ function MenuTrigger(props) {
|
|
|
10486
10478
|
}, props);
|
|
10487
10479
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
|
|
10488
10480
|
let key = () => rootContext.value();
|
|
10489
|
-
if (optionalMenubarContext !==
|
|
10481
|
+
if (optionalMenubarContext !== void 0) {
|
|
10490
10482
|
key = () => rootContext.value() ?? local.id;
|
|
10491
|
-
if (optionalMenubarContext.lastValue() ===
|
|
10483
|
+
if (optionalMenubarContext.lastValue() === void 0)
|
|
10492
10484
|
optionalMenubarContext.setLastValue(key);
|
|
10493
10485
|
}
|
|
10494
10486
|
const tagName = createTagName(() => context.triggerRef(), () => "button");
|
|
@@ -10502,7 +10494,7 @@ function MenuTrigger(props) {
|
|
|
10502
10494
|
context.triggerRef()?.focus();
|
|
10503
10495
|
}));
|
|
10504
10496
|
const handleClick = () => {
|
|
10505
|
-
if (optionalMenubarContext !==
|
|
10497
|
+
if (optionalMenubarContext !== void 0) {
|
|
10506
10498
|
if (!context.isOpen()) {
|
|
10507
10499
|
if (!optionalMenubarContext.autoFocusMenu()) {
|
|
10508
10500
|
optionalMenubarContext.setAutoFocusMenu(true);
|
|
@@ -10558,14 +10550,14 @@ function MenuTrigger(props) {
|
|
|
10558
10550
|
context.open("last");
|
|
10559
10551
|
break;
|
|
10560
10552
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
10561
|
-
if (optionalMenubarContext ===
|
|
10553
|
+
if (optionalMenubarContext === void 0)
|
|
10562
10554
|
break;
|
|
10563
10555
|
e2.stopPropagation();
|
|
10564
10556
|
e2.preventDefault();
|
|
10565
10557
|
optionalMenubarContext.nextMenu();
|
|
10566
10558
|
break;
|
|
10567
10559
|
case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
|
|
10568
|
-
if (optionalMenubarContext ===
|
|
10560
|
+
if (optionalMenubarContext === void 0)
|
|
10569
10561
|
break;
|
|
10570
10562
|
e2.stopPropagation();
|
|
10571
10563
|
e2.preventDefault();
|
|
@@ -10577,13 +10569,13 @@ function MenuTrigger(props) {
|
|
|
10577
10569
|
callHandler(e2, local.onMouseOver);
|
|
10578
10570
|
if (context.triggerRef()?.dataset.pointerType === "touch")
|
|
10579
10571
|
return;
|
|
10580
|
-
if (!local.disabled && optionalMenubarContext !==
|
|
10572
|
+
if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
|
|
10581
10573
|
optionalMenubarContext.setValue(key);
|
|
10582
10574
|
}
|
|
10583
10575
|
};
|
|
10584
10576
|
const onFocus = (e2) => {
|
|
10585
10577
|
callHandler(e2, local.onFocus);
|
|
10586
|
-
if (optionalMenubarContext !==
|
|
10578
|
+
if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
|
|
10587
10579
|
optionalMenubarContext.setValue(key);
|
|
10588
10580
|
};
|
|
10589
10581
|
createEffect(() => onCleanup(context.registerTriggerId(local.id)));
|
|
@@ -10606,20 +10598,20 @@ function MenuTrigger(props) {
|
|
|
10606
10598
|
return context.isOpen();
|
|
10607
10599
|
},
|
|
10608
10600
|
get ["aria-controls"]() {
|
|
10609
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
10601
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10610
10602
|
},
|
|
10611
10603
|
get ["data-highlighted"]() {
|
|
10612
|
-
return key() !==
|
|
10604
|
+
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
10613
10605
|
},
|
|
10614
10606
|
get tabIndex() {
|
|
10615
|
-
return optionalMenubarContext !==
|
|
10607
|
+
return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
|
|
10616
10608
|
},
|
|
10617
10609
|
onPointerDown,
|
|
10618
10610
|
onMouseOver,
|
|
10619
10611
|
onClick,
|
|
10620
10612
|
onKeyDown,
|
|
10621
10613
|
onFocus,
|
|
10622
|
-
role: optionalMenubarContext !==
|
|
10614
|
+
role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
|
|
10623
10615
|
}, () => context.dataset(), others));
|
|
10624
10616
|
}
|
|
10625
10617
|
function useOptionalNavigationMenuContext() {
|
|
@@ -10640,7 +10632,7 @@ function MenuContentBase(props) {
|
|
|
10640
10632
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
|
|
10641
10633
|
let lastPointerX = 0;
|
|
10642
10634
|
const isRootModalContent = () => {
|
|
10643
|
-
return context.parentMenuContext() == null && optionalMenubarContext ===
|
|
10635
|
+
return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
|
|
10644
10636
|
};
|
|
10645
10637
|
const selectableList = createSelectableList({
|
|
10646
10638
|
selectionManager: context.listState().selectionManager,
|
|
@@ -10655,7 +10647,7 @@ function MenuContentBase(props) {
|
|
|
10655
10647
|
createFocusScope({
|
|
10656
10648
|
trapFocus: () => isRootModalContent() && context.isOpen(),
|
|
10657
10649
|
onMountAutoFocus: (event) => {
|
|
10658
|
-
if (optionalMenubarContext ===
|
|
10650
|
+
if (optionalMenubarContext === void 0)
|
|
10659
10651
|
local.onOpenAutoFocus?.(event);
|
|
10660
10652
|
},
|
|
10661
10653
|
onUnmountAutoFocus: local.onCloseAutoFocus
|
|
@@ -10667,7 +10659,7 @@ function MenuContentBase(props) {
|
|
|
10667
10659
|
if (e2.key === "Tab" && context.isOpen()) {
|
|
10668
10660
|
e2.preventDefault();
|
|
10669
10661
|
}
|
|
10670
|
-
if (optionalMenubarContext !==
|
|
10662
|
+
if (optionalMenubarContext !== void 0) {
|
|
10671
10663
|
if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
|
|
10672
10664
|
switch (e2.key) {
|
|
10673
10665
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
@@ -10706,7 +10698,7 @@ function MenuContentBase(props) {
|
|
|
10706
10698
|
return;
|
|
10707
10699
|
}
|
|
10708
10700
|
context.parentMenuContext()?.listState().selectionManager().setFocused(false);
|
|
10709
|
-
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(
|
|
10701
|
+
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
|
|
10710
10702
|
};
|
|
10711
10703
|
const onPointerMove = (e2) => {
|
|
10712
10704
|
callHandler(e2, local.onPointerMove);
|
|
@@ -10753,7 +10745,7 @@ function MenuContentBase(props) {
|
|
|
10753
10745
|
get children() {
|
|
10754
10746
|
return createComponent(Show, {
|
|
10755
10747
|
get when() {
|
|
10756
|
-
return optionalNavigationMenuContext ===
|
|
10748
|
+
return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
|
|
10757
10749
|
},
|
|
10758
10750
|
get fallback() {
|
|
10759
10751
|
return createComponent(Polymorphic, mergeProps({
|
|
@@ -10810,7 +10802,7 @@ function MenuContent(props) {
|
|
|
10810
10802
|
}
|
|
10811
10803
|
function useMenuGroupContext() {
|
|
10812
10804
|
const context = useContext(MenuGroupContext);
|
|
10813
|
-
if (context ===
|
|
10805
|
+
if (context === void 0) {
|
|
10814
10806
|
throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
|
|
10815
10807
|
}
|
|
10816
10808
|
return context;
|
|
@@ -10931,7 +10923,7 @@ function MenuPortal(props) {
|
|
|
10931
10923
|
}
|
|
10932
10924
|
function useMenuRadioGroupContext() {
|
|
10933
10925
|
const context = useContext(MenuRadioGroupContext);
|
|
10934
|
-
if (context ===
|
|
10926
|
+
if (context === void 0) {
|
|
10935
10927
|
throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
|
|
10936
10928
|
}
|
|
10937
10929
|
return context;
|
|
@@ -11083,7 +11075,7 @@ function Menu(props) {
|
|
|
11083
11075
|
if (content) {
|
|
11084
11076
|
focusWithoutScrolling(content);
|
|
11085
11077
|
listState.selectionManager().setFocused(true);
|
|
11086
|
-
listState.selectionManager().setFocusedKey(
|
|
11078
|
+
listState.selectionManager().setFocusedKey(void 0);
|
|
11087
11079
|
}
|
|
11088
11080
|
};
|
|
11089
11081
|
const focusContent = () => {
|
|
@@ -11137,12 +11129,12 @@ function Menu(props) {
|
|
|
11137
11129
|
});
|
|
11138
11130
|
});
|
|
11139
11131
|
createEffect(() => {
|
|
11140
|
-
if (parentMenuContext !==
|
|
11132
|
+
if (parentMenuContext !== void 0)
|
|
11141
11133
|
return;
|
|
11142
11134
|
optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
|
|
11143
11135
|
});
|
|
11144
11136
|
createEffect(() => {
|
|
11145
|
-
if (parentMenuContext !==
|
|
11137
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11146
11138
|
return;
|
|
11147
11139
|
if (optionalMenubarContext.value() === rootContext.value()) {
|
|
11148
11140
|
triggerRef()?.focus();
|
|
@@ -11152,19 +11144,19 @@ function Menu(props) {
|
|
|
11152
11144
|
close();
|
|
11153
11145
|
});
|
|
11154
11146
|
createEffect(() => {
|
|
11155
|
-
if (parentMenuContext !==
|
|
11147
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11156
11148
|
return;
|
|
11157
11149
|
if (disclosureState.isOpen())
|
|
11158
11150
|
optionalMenubarContext.setValue(rootContext.value());
|
|
11159
11151
|
});
|
|
11160
11152
|
onCleanup(() => {
|
|
11161
|
-
if (parentMenuContext !==
|
|
11153
|
+
if (parentMenuContext !== void 0)
|
|
11162
11154
|
return;
|
|
11163
11155
|
optionalMenubarContext?.unregisterMenu(rootContext.value());
|
|
11164
11156
|
});
|
|
11165
11157
|
const dataset = createMemo(() => ({
|
|
11166
|
-
"data-expanded": disclosureState.isOpen() ? "" :
|
|
11167
|
-
"data-closed": !disclosureState.isOpen() ? "" :
|
|
11158
|
+
"data-expanded": disclosureState.isOpen() ? "" : void 0,
|
|
11159
|
+
"data-closed": !disclosureState.isOpen() ? "" : void 0
|
|
11168
11160
|
}));
|
|
11169
11161
|
const context = {
|
|
11170
11162
|
dataset,
|
|
@@ -11203,7 +11195,7 @@ function Menu(props) {
|
|
|
11203
11195
|
value: context,
|
|
11204
11196
|
get children() {
|
|
11205
11197
|
return createComponent(Show, {
|
|
11206
|
-
when: optionalNavigationMenuContext ===
|
|
11198
|
+
when: optionalNavigationMenuContext === void 0,
|
|
11207
11199
|
get fallback() {
|
|
11208
11200
|
return others.children;
|
|
11209
11201
|
},
|
|
@@ -11337,7 +11329,7 @@ function MenuSubTrigger(props) {
|
|
|
11337
11329
|
if (!e2.defaultPrevented) {
|
|
11338
11330
|
if (context.listState().selectionManager().isFocused()) {
|
|
11339
11331
|
context.listState().selectionManager().setFocused(false);
|
|
11340
|
-
context.listState().selectionManager().setFocusedKey(
|
|
11332
|
+
context.listState().selectionManager().setFocusedKey(void 0);
|
|
11341
11333
|
}
|
|
11342
11334
|
focusWithoutScrolling(e2.currentTarget);
|
|
11343
11335
|
parentMenuContext?.listState().selectionManager().setFocused(true);
|
|
@@ -11384,7 +11376,7 @@ function MenuSubTrigger(props) {
|
|
|
11384
11376
|
e2.stopPropagation();
|
|
11385
11377
|
e2.preventDefault();
|
|
11386
11378
|
parentSelectionManager().setFocused(false);
|
|
11387
|
-
parentSelectionManager().setFocusedKey(
|
|
11379
|
+
parentSelectionManager().setFocusedKey(void 0);
|
|
11388
11380
|
if (!context.isOpen()) {
|
|
11389
11381
|
context.open("first");
|
|
11390
11382
|
}
|
|
@@ -11437,7 +11429,7 @@ function MenuSubTrigger(props) {
|
|
|
11437
11429
|
return context.isOpen();
|
|
11438
11430
|
},
|
|
11439
11431
|
get ["aria-controls"]() {
|
|
11440
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
11432
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11441
11433
|
},
|
|
11442
11434
|
get ["aria-disabled"]() {
|
|
11443
11435
|
return local.disabled;
|
|
@@ -11446,10 +11438,10 @@ function MenuSubTrigger(props) {
|
|
|
11446
11438
|
return selectableItem.dataKey();
|
|
11447
11439
|
},
|
|
11448
11440
|
get ["data-highlighted"]() {
|
|
11449
|
-
return isHighlighted() ? "" :
|
|
11441
|
+
return isHighlighted() ? "" : void 0;
|
|
11450
11442
|
},
|
|
11451
11443
|
get ["data-disabled"]() {
|
|
11452
|
-
return local.disabled ? "" :
|
|
11444
|
+
return local.disabled ? "" : void 0;
|
|
11453
11445
|
},
|
|
11454
11446
|
get onPointerDown() {
|
|
11455
11447
|
return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
|
|
@@ -11510,7 +11502,7 @@ function MenuRoot(props) {
|
|
|
11510
11502
|
}
|
|
11511
11503
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11512
11504
|
var init_F4B62RP = __esm({
|
|
11513
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11505
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11514
11506
|
init_X2EKUJ3();
|
|
11515
11507
|
init_CVNMTYF();
|
|
11516
11508
|
init_GLKC2QFF();
|
|
@@ -11567,7 +11559,7 @@ var init_F4B62RP = __esm({
|
|
|
11567
11559
|
}
|
|
11568
11560
|
});
|
|
11569
11561
|
|
|
11570
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11562
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11571
11563
|
function SeparatorRoot(props) {
|
|
11572
11564
|
let ref;
|
|
11573
11565
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11582,10 +11574,10 @@ function SeparatorRoot(props) {
|
|
|
11582
11574
|
typeof _ref$ === "function" && _ref$(r$);
|
|
11583
11575
|
},
|
|
11584
11576
|
get role() {
|
|
11585
|
-
return tagName() !== "hr" ? "separator" :
|
|
11577
|
+
return tagName() !== "hr" ? "separator" : void 0;
|
|
11586
11578
|
},
|
|
11587
11579
|
get ["aria-orientation"]() {
|
|
11588
|
-
return local.orientation === "vertical" ? "vertical" :
|
|
11580
|
+
return local.orientation === "vertical" ? "vertical" : void 0;
|
|
11589
11581
|
},
|
|
11590
11582
|
get ["data-orientation"]() {
|
|
11591
11583
|
return local.orientation;
|
|
@@ -11594,7 +11586,7 @@ function SeparatorRoot(props) {
|
|
|
11594
11586
|
}
|
|
11595
11587
|
var separator_exports, Separator;
|
|
11596
11588
|
var init_STGRFJHZ = __esm({
|
|
11597
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11589
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11598
11590
|
init_ET5T45DO();
|
|
11599
11591
|
init_Y7B2NEO();
|
|
11600
11592
|
init_ZKAE4VZ();
|
|
@@ -11610,7 +11602,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11610
11602
|
}
|
|
11611
11603
|
});
|
|
11612
11604
|
|
|
11613
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11605
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11614
11606
|
function DropdownMenuContent(props) {
|
|
11615
11607
|
const rootContext = useMenuRootContext();
|
|
11616
11608
|
const context = useMenuContext();
|
|
@@ -11644,7 +11636,7 @@ function DropdownMenuRoot(props) {
|
|
|
11644
11636
|
}
|
|
11645
11637
|
var dropdown_menu_exports, DropdownMenu;
|
|
11646
11638
|
var init_V2JBZ7BJ = __esm({
|
|
11647
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11639
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11648
11640
|
init_F4B62RP();
|
|
11649
11641
|
init_STGRFJHZ();
|
|
11650
11642
|
init_X2EKUJ3();
|
|
@@ -11698,9 +11690,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11698
11690
|
}
|
|
11699
11691
|
});
|
|
11700
11692
|
|
|
11701
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11693
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/index.js
|
|
11702
11694
|
var init_dist15 = __esm({
|
|
11703
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11695
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.4/node_modules/@kobalte/core/dist/index.js"() {
|
|
11704
11696
|
init_Q2BOFK7I();
|
|
11705
11697
|
init_V2JBZ7BJ();
|
|
11706
11698
|
}
|
|
@@ -12257,11 +12249,11 @@ var init_QueryDevtoolsContext = __esm({
|
|
|
12257
12249
|
"src/contexts/QueryDevtoolsContext.ts"() {
|
|
12258
12250
|
init_solid();
|
|
12259
12251
|
QueryDevtoolsContext = createContext({
|
|
12260
|
-
client:
|
|
12261
|
-
onlineManager:
|
|
12252
|
+
client: void 0,
|
|
12253
|
+
onlineManager: void 0,
|
|
12262
12254
|
queryFlavor: "",
|
|
12263
12255
|
version: "",
|
|
12264
|
-
shadowDOMTarget:
|
|
12256
|
+
shadowDOMTarget: void 0
|
|
12265
12257
|
});
|
|
12266
12258
|
}
|
|
12267
12259
|
});
|
|
@@ -12275,7 +12267,7 @@ var init_PiPContext = __esm({
|
|
|
12275
12267
|
init_web();
|
|
12276
12268
|
init_constants();
|
|
12277
12269
|
init_QueryDevtoolsContext();
|
|
12278
|
-
PiPContext = createContext(
|
|
12270
|
+
PiPContext = createContext(void 0);
|
|
12279
12271
|
PiPProvider = (props) => {
|
|
12280
12272
|
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12281
12273
|
const closePipWindow = () => {
|
|
@@ -12504,7 +12496,7 @@ function Explorer(props) {
|
|
|
12504
12496
|
}), null);
|
|
12505
12497
|
insert(_el$14, createComponent(Show, {
|
|
12506
12498
|
get when() {
|
|
12507
|
-
return props.itemsDeletable && props.activeQuery !==
|
|
12499
|
+
return props.itemsDeletable && props.activeQuery !== void 0;
|
|
12508
12500
|
},
|
|
12509
12501
|
get children() {
|
|
12510
12502
|
return createComponent(DeleteItemButton, {
|
|
@@ -12517,7 +12509,7 @@ function Explorer(props) {
|
|
|
12517
12509
|
}), null);
|
|
12518
12510
|
insert(_el$14, createComponent(Show, {
|
|
12519
12511
|
get when() {
|
|
12520
|
-
return type() === "array" && props.activeQuery !==
|
|
12512
|
+
return type() === "array" && props.activeQuery !== void 0;
|
|
12521
12513
|
},
|
|
12522
12514
|
get children() {
|
|
12523
12515
|
return createComponent(ClearArrayButton, {
|
|
@@ -12553,9 +12545,9 @@ function Explorer(props) {
|
|
|
12553
12545
|
_v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
|
|
12554
12546
|
return _p$;
|
|
12555
12547
|
}, {
|
|
12556
|
-
e:
|
|
12557
|
-
t:
|
|
12558
|
-
a:
|
|
12548
|
+
e: void 0,
|
|
12549
|
+
t: void 0,
|
|
12550
|
+
a: void 0
|
|
12559
12551
|
});
|
|
12560
12552
|
return _el$7;
|
|
12561
12553
|
})(), createComponent(Show, {
|
|
@@ -12665,8 +12657,8 @@ function Explorer(props) {
|
|
|
12665
12657
|
_v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
|
|
12666
12658
|
return _p$;
|
|
12667
12659
|
}, {
|
|
12668
|
-
e:
|
|
12669
|
-
t:
|
|
12660
|
+
e: void 0,
|
|
12661
|
+
t: void 0
|
|
12670
12662
|
});
|
|
12671
12663
|
return _el$23;
|
|
12672
12664
|
})()
|
|
@@ -12688,7 +12680,7 @@ function Explorer(props) {
|
|
|
12688
12680
|
insert(_el$19, () => props.label, _el$20);
|
|
12689
12681
|
insert(_el$18, createComponent(Show, {
|
|
12690
12682
|
get when() {
|
|
12691
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12683
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12692
12684
|
},
|
|
12693
12685
|
get fallback() {
|
|
12694
12686
|
return (() => {
|
|
@@ -12701,7 +12693,7 @@ function Explorer(props) {
|
|
|
12701
12693
|
get children() {
|
|
12702
12694
|
return [createComponent(Show, {
|
|
12703
12695
|
get when() {
|
|
12704
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12696
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12705
12697
|
},
|
|
12706
12698
|
get children() {
|
|
12707
12699
|
var _el$21 = _tmpl$92();
|
|
@@ -12716,8 +12708,8 @@ function Explorer(props) {
|
|
|
12716
12708
|
_v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
|
|
12717
12709
|
return _p$;
|
|
12718
12710
|
}, {
|
|
12719
|
-
e:
|
|
12720
|
-
t:
|
|
12711
|
+
e: void 0,
|
|
12712
|
+
t: void 0
|
|
12721
12713
|
});
|
|
12722
12714
|
createRenderEffect(() => _el$21.value = props.value);
|
|
12723
12715
|
return _el$21;
|
|
@@ -12746,7 +12738,7 @@ function Explorer(props) {
|
|
|
12746
12738
|
}), null);
|
|
12747
12739
|
insert(_el$18, createComponent(Show, {
|
|
12748
12740
|
get when() {
|
|
12749
|
-
return props.editable && props.itemsDeletable && props.activeQuery !==
|
|
12741
|
+
return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
|
|
12750
12742
|
},
|
|
12751
12743
|
get children() {
|
|
12752
12744
|
return createComponent(DeleteItemButton, {
|
|
@@ -12763,8 +12755,8 @@ function Explorer(props) {
|
|
|
12763
12755
|
_v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
|
|
12764
12756
|
return _p$;
|
|
12765
12757
|
}, {
|
|
12766
|
-
e:
|
|
12767
|
-
t:
|
|
12758
|
+
e: void 0,
|
|
12759
|
+
t: void 0
|
|
12768
12760
|
});
|
|
12769
12761
|
return _el$18;
|
|
12770
12762
|
}
|
|
@@ -12850,7 +12842,7 @@ var init_Explorer = __esm({
|
|
|
12850
12842
|
setCopyState("NoCopy");
|
|
12851
12843
|
}, 1500);
|
|
12852
12844
|
});
|
|
12853
|
-
} :
|
|
12845
|
+
} : void 0, true);
|
|
12854
12846
|
insert(_el$2, createComponent(Switch, {
|
|
12855
12847
|
get children() {
|
|
12856
12848
|
return [createComponent(Match, {
|
|
@@ -12887,8 +12879,8 @@ var init_Explorer = __esm({
|
|
|
12887
12879
|
_v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
|
|
12888
12880
|
return _p$;
|
|
12889
12881
|
}, {
|
|
12890
|
-
e:
|
|
12891
|
-
t:
|
|
12882
|
+
e: void 0,
|
|
12883
|
+
t: void 0
|
|
12892
12884
|
});
|
|
12893
12885
|
return _el$2;
|
|
12894
12886
|
})();
|
|
@@ -13540,11 +13532,11 @@ var init_Devtools = __esm({
|
|
|
13540
13532
|
_v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
|
|
13541
13533
|
return _p$;
|
|
13542
13534
|
}, {
|
|
13543
|
-
e:
|
|
13544
|
-
t:
|
|
13545
|
-
a:
|
|
13546
|
-
o:
|
|
13547
|
-
i:
|
|
13535
|
+
e: void 0,
|
|
13536
|
+
t: void 0,
|
|
13537
|
+
a: void 0,
|
|
13538
|
+
o: void 0,
|
|
13539
|
+
i: void 0
|
|
13548
13540
|
});
|
|
13549
13541
|
return _el$7;
|
|
13550
13542
|
})();
|
|
@@ -14028,26 +14020,26 @@ var init_Devtools = __esm({
|
|
|
14028
14020
|
_v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
|
|
14029
14021
|
return _p$;
|
|
14030
14022
|
}, {
|
|
14031
|
-
e:
|
|
14032
|
-
t:
|
|
14033
|
-
a:
|
|
14034
|
-
o:
|
|
14035
|
-
i:
|
|
14036
|
-
n:
|
|
14037
|
-
s:
|
|
14038
|
-
h:
|
|
14039
|
-
r:
|
|
14040
|
-
d:
|
|
14041
|
-
l:
|
|
14042
|
-
u:
|
|
14043
|
-
c:
|
|
14044
|
-
w:
|
|
14045
|
-
m:
|
|
14046
|
-
f:
|
|
14047
|
-
y:
|
|
14048
|
-
g:
|
|
14049
|
-
p:
|
|
14050
|
-
b:
|
|
14023
|
+
e: void 0,
|
|
14024
|
+
t: void 0,
|
|
14025
|
+
a: void 0,
|
|
14026
|
+
o: void 0,
|
|
14027
|
+
i: void 0,
|
|
14028
|
+
n: void 0,
|
|
14029
|
+
s: void 0,
|
|
14030
|
+
h: void 0,
|
|
14031
|
+
r: void 0,
|
|
14032
|
+
d: void 0,
|
|
14033
|
+
l: void 0,
|
|
14034
|
+
u: void 0,
|
|
14035
|
+
c: void 0,
|
|
14036
|
+
w: void 0,
|
|
14037
|
+
m: void 0,
|
|
14038
|
+
f: void 0,
|
|
14039
|
+
y: void 0,
|
|
14040
|
+
g: void 0,
|
|
14041
|
+
p: void 0,
|
|
14042
|
+
b: void 0
|
|
14051
14043
|
});
|
|
14052
14044
|
createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
14053
14045
|
return _el$10;
|
|
@@ -14133,9 +14125,9 @@ var init_Devtools = __esm({
|
|
|
14133
14125
|
_v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
|
|
14134
14126
|
return _p$;
|
|
14135
14127
|
}, {
|
|
14136
|
-
e:
|
|
14137
|
-
t:
|
|
14138
|
-
a:
|
|
14128
|
+
e: void 0,
|
|
14129
|
+
t: void 0,
|
|
14130
|
+
a: void 0
|
|
14139
14131
|
});
|
|
14140
14132
|
return _el$49;
|
|
14141
14133
|
}
|
|
@@ -14246,9 +14238,9 @@ var init_Devtools = __esm({
|
|
|
14246
14238
|
_v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
|
|
14247
14239
|
return _p$;
|
|
14248
14240
|
}, {
|
|
14249
|
-
e:
|
|
14250
|
-
t:
|
|
14251
|
-
a:
|
|
14241
|
+
e: void 0,
|
|
14242
|
+
t: void 0,
|
|
14243
|
+
a: void 0
|
|
14252
14244
|
});
|
|
14253
14245
|
return _el$53;
|
|
14254
14246
|
}
|
|
@@ -14456,8 +14448,8 @@ var init_Devtools = __esm({
|
|
|
14456
14448
|
_v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
|
|
14457
14449
|
return _p$;
|
|
14458
14450
|
}, {
|
|
14459
|
-
e:
|
|
14460
|
-
t:
|
|
14451
|
+
e: void 0,
|
|
14452
|
+
t: void 0
|
|
14461
14453
|
});
|
|
14462
14454
|
return _el$58;
|
|
14463
14455
|
})();
|
|
@@ -14573,7 +14565,7 @@ var init_Devtools = __esm({
|
|
|
14573
14565
|
setSelectedQueryHash(null);
|
|
14574
14566
|
};
|
|
14575
14567
|
_el$86.$$click = () => {
|
|
14576
|
-
if (activeQuery()?.state.data ===
|
|
14568
|
+
if (activeQuery()?.state.data === void 0) {
|
|
14577
14569
|
setRestoringLoading(true);
|
|
14578
14570
|
restoreQueryAfterLoadingOrError();
|
|
14579
14571
|
} else {
|
|
@@ -14590,7 +14582,7 @@ var init_Devtools = __esm({
|
|
|
14590
14582
|
gcTime: -1
|
|
14591
14583
|
});
|
|
14592
14584
|
activeQueryVal.setState({
|
|
14593
|
-
data:
|
|
14585
|
+
data: void 0,
|
|
14594
14586
|
status: "pending",
|
|
14595
14587
|
fetchMeta: {
|
|
14596
14588
|
...activeQueryVal.state.fetchMeta,
|
|
@@ -14625,9 +14617,9 @@ var init_Devtools = __esm({
|
|
|
14625
14617
|
_v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
|
|
14626
14618
|
return _p$;
|
|
14627
14619
|
}, {
|
|
14628
|
-
e:
|
|
14629
|
-
t:
|
|
14630
|
-
a:
|
|
14620
|
+
e: void 0,
|
|
14621
|
+
t: void 0,
|
|
14622
|
+
a: void 0
|
|
14631
14623
|
});
|
|
14632
14624
|
return _el$89;
|
|
14633
14625
|
}
|
|
@@ -14663,9 +14655,9 @@ var init_Devtools = __esm({
|
|
|
14663
14655
|
_v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
|
|
14664
14656
|
return _p$;
|
|
14665
14657
|
}, {
|
|
14666
|
-
e:
|
|
14667
|
-
t:
|
|
14668
|
-
a:
|
|
14658
|
+
e: void 0,
|
|
14659
|
+
t: void 0,
|
|
14660
|
+
a: void 0
|
|
14669
14661
|
});
|
|
14670
14662
|
return _el$92;
|
|
14671
14663
|
}
|
|
@@ -14733,14 +14725,14 @@ var init_Devtools = __esm({
|
|
|
14733
14725
|
_v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
|
|
14734
14726
|
return _p$;
|
|
14735
14727
|
}, {
|
|
14736
|
-
e:
|
|
14737
|
-
t:
|
|
14738
|
-
a:
|
|
14739
|
-
o:
|
|
14740
|
-
i:
|
|
14741
|
-
n:
|
|
14742
|
-
s:
|
|
14743
|
-
h:
|
|
14728
|
+
e: void 0,
|
|
14729
|
+
t: void 0,
|
|
14730
|
+
a: void 0,
|
|
14731
|
+
o: void 0,
|
|
14732
|
+
i: void 0,
|
|
14733
|
+
n: void 0,
|
|
14734
|
+
s: void 0,
|
|
14735
|
+
h: void 0
|
|
14744
14736
|
});
|
|
14745
14737
|
createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14746
14738
|
return _el$100;
|
|
@@ -14801,30 +14793,30 @@ var init_Devtools = __esm({
|
|
|
14801
14793
|
_v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
|
|
14802
14794
|
return _p$;
|
|
14803
14795
|
}, {
|
|
14804
|
-
e:
|
|
14805
|
-
t:
|
|
14806
|
-
a:
|
|
14807
|
-
o:
|
|
14808
|
-
i:
|
|
14809
|
-
n:
|
|
14810
|
-
s:
|
|
14811
|
-
h:
|
|
14812
|
-
r:
|
|
14813
|
-
d:
|
|
14814
|
-
l:
|
|
14815
|
-
u:
|
|
14816
|
-
c:
|
|
14817
|
-
w:
|
|
14818
|
-
m:
|
|
14819
|
-
f:
|
|
14820
|
-
y:
|
|
14821
|
-
g:
|
|
14822
|
-
p:
|
|
14823
|
-
b:
|
|
14824
|
-
T:
|
|
14825
|
-
A:
|
|
14826
|
-
O:
|
|
14827
|
-
I:
|
|
14796
|
+
e: void 0,
|
|
14797
|
+
t: void 0,
|
|
14798
|
+
a: void 0,
|
|
14799
|
+
o: void 0,
|
|
14800
|
+
i: void 0,
|
|
14801
|
+
n: void 0,
|
|
14802
|
+
s: void 0,
|
|
14803
|
+
h: void 0,
|
|
14804
|
+
r: void 0,
|
|
14805
|
+
d: void 0,
|
|
14806
|
+
l: void 0,
|
|
14807
|
+
u: void 0,
|
|
14808
|
+
c: void 0,
|
|
14809
|
+
w: void 0,
|
|
14810
|
+
m: void 0,
|
|
14811
|
+
f: void 0,
|
|
14812
|
+
y: void 0,
|
|
14813
|
+
g: void 0,
|
|
14814
|
+
p: void 0,
|
|
14815
|
+
b: void 0,
|
|
14816
|
+
T: void 0,
|
|
14817
|
+
A: void 0,
|
|
14818
|
+
O: void 0,
|
|
14819
|
+
I: void 0
|
|
14828
14820
|
});
|
|
14829
14821
|
return _el$63;
|
|
14830
14822
|
}
|
|
@@ -14949,18 +14941,18 @@ var init_Devtools = __esm({
|
|
|
14949
14941
|
_v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
|
|
14950
14942
|
return _p$;
|
|
14951
14943
|
}, {
|
|
14952
|
-
e:
|
|
14953
|
-
t:
|
|
14954
|
-
a:
|
|
14955
|
-
o:
|
|
14956
|
-
i:
|
|
14957
|
-
n:
|
|
14958
|
-
s:
|
|
14959
|
-
h:
|
|
14960
|
-
r:
|
|
14961
|
-
d:
|
|
14962
|
-
l:
|
|
14963
|
-
u:
|
|
14944
|
+
e: void 0,
|
|
14945
|
+
t: void 0,
|
|
14946
|
+
a: void 0,
|
|
14947
|
+
o: void 0,
|
|
14948
|
+
i: void 0,
|
|
14949
|
+
n: void 0,
|
|
14950
|
+
s: void 0,
|
|
14951
|
+
h: void 0,
|
|
14952
|
+
r: void 0,
|
|
14953
|
+
d: void 0,
|
|
14954
|
+
l: void 0,
|
|
14955
|
+
u: void 0
|
|
14964
14956
|
});
|
|
14965
14957
|
return _el$110;
|
|
14966
14958
|
}
|
|
@@ -14994,7 +14986,7 @@ var init_Devtools = __esm({
|
|
|
14994
14986
|
});
|
|
14995
14987
|
const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
|
|
14996
14988
|
equals: false
|
|
14997
|
-
} :
|
|
14989
|
+
} : void 0);
|
|
14998
14990
|
createEffect(() => {
|
|
14999
14991
|
setValue(callback(queryCache));
|
|
15000
14992
|
});
|
|
@@ -15033,7 +15025,7 @@ var init_Devtools = __esm({
|
|
|
15033
15025
|
});
|
|
15034
15026
|
const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
|
|
15035
15027
|
equals: false
|
|
15036
|
-
} :
|
|
15028
|
+
} : void 0);
|
|
15037
15029
|
createEffect(() => {
|
|
15038
15030
|
setValue(callback(mutationCache));
|
|
15039
15031
|
});
|