@tanstack/query-devtools 5.65.0 → 5.71.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 → BOZWRHTN.js} +2 -2
- package/build/DevtoolsComponent/{HO4MOOFI.js → ZRV36ZCO.js} +2 -2
- package/build/DevtoolsPanelComponent/{HUY7CZI3.js → TFRCC47K.js} +2 -2
- package/build/DevtoolsPanelComponent/{LFXA4CB4.js → U2DVUOLY.js} +2 -2
- package/build/chunk/{JAANZ2TG.js → KMI5VYOH.js} +105 -103
- package/build/chunk/{JAD5ECXD.js → KX7DYCBK.js} +105 -103
- package/build/chunk/{B4MFY5CR.js → L3NTYGQ3.js} +275 -279
- package/build/chunk/{NDYUDEEA.js → YADWEDPJ.js} +274 -280
- package/build/dev.cjs +430 -432
- package/build/dev.js +3 -3
- package/build/index.cjs +430 -432
- package/build/index.d.cts +26 -16
- package/build/index.d.ts +26 -16
- package/build/index.js +3 -3
- package/package.json +4 -4
package/build/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/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);
|
|
@@ -439,7 +435,7 @@ function writeSignal(node, value, isComp) {
|
|
|
439
435
|
}
|
|
440
436
|
if (Updates.length > 1e6) {
|
|
441
437
|
Updates = [];
|
|
442
|
-
if (
|
|
438
|
+
if (IS_DEV)
|
|
443
439
|
;
|
|
444
440
|
throw new Error();
|
|
445
441
|
}
|
|
@@ -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;
|
|
@@ -1177,7 +1173,7 @@ function lazy(fn) {
|
|
|
1177
1173
|
let Comp;
|
|
1178
1174
|
return createMemo(
|
|
1179
1175
|
() => (Comp = comp()) ? untrack(() => {
|
|
1180
|
-
if (
|
|
1176
|
+
if (IS_DEV)
|
|
1181
1177
|
;
|
|
1182
1178
|
if (!ctx || sharedConfig.done)
|
|
1183
1179
|
return Comp(props);
|
|
@@ -1200,18 +1196,19 @@ 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
|
|
1214
|
-
|
|
1209
|
+
const conditionValue = createMemo(() => props.when, void 0, void 0);
|
|
1210
|
+
const condition = keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1211
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1215
1212
|
});
|
|
1216
1213
|
return createMemo(
|
|
1217
1214
|
() => {
|
|
@@ -1224,70 +1221,71 @@ function Show(props) {
|
|
|
1224
1221
|
keyed ? c2 : () => {
|
|
1225
1222
|
if (!untrack(condition))
|
|
1226
1223
|
throw narrowedError("Show");
|
|
1227
|
-
return
|
|
1224
|
+
return conditionValue();
|
|
1228
1225
|
}
|
|
1229
1226
|
)
|
|
1230
1227
|
) : child;
|
|
1231
1228
|
}
|
|
1232
1229
|
return props.fallback;
|
|
1233
1230
|
},
|
|
1234
|
-
|
|
1235
|
-
|
|
1231
|
+
void 0,
|
|
1232
|
+
void 0
|
|
1236
1233
|
);
|
|
1237
1234
|
}
|
|
1238
1235
|
function Switch(props) {
|
|
1239
|
-
|
|
1240
|
-
const
|
|
1241
|
-
|
|
1242
|
-
()
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
equals
|
|
1236
|
+
const chs = children(() => props.children);
|
|
1237
|
+
const switchFunc = createMemo(() => {
|
|
1238
|
+
const ch = chs();
|
|
1239
|
+
const mps = Array.isArray(ch) ? ch : [ch];
|
|
1240
|
+
let func = () => void 0;
|
|
1241
|
+
for (let i2 = 0; i2 < mps.length; i2++) {
|
|
1242
|
+
const index = i2;
|
|
1243
|
+
const mp = mps[i2];
|
|
1244
|
+
const prevFunc = func;
|
|
1245
|
+
const conditionValue = createMemo(
|
|
1246
|
+
() => prevFunc() ? void 0 : mp.when,
|
|
1247
|
+
void 0,
|
|
1248
|
+
void 0
|
|
1249
|
+
);
|
|
1250
|
+
const condition = mp.keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1251
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1252
|
+
});
|
|
1253
|
+
func = () => prevFunc() || (condition() ? [index, conditionValue, mp] : void 0);
|
|
1258
1254
|
}
|
|
1259
|
-
|
|
1255
|
+
return func;
|
|
1256
|
+
});
|
|
1260
1257
|
return createMemo(
|
|
1261
1258
|
() => {
|
|
1262
|
-
const
|
|
1263
|
-
if (
|
|
1259
|
+
const sel = switchFunc()();
|
|
1260
|
+
if (!sel)
|
|
1264
1261
|
return props.fallback;
|
|
1265
|
-
const
|
|
1266
|
-
const
|
|
1262
|
+
const [index, conditionValue, mp] = sel;
|
|
1263
|
+
const child = mp.children;
|
|
1264
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1267
1265
|
return fn ? untrack(
|
|
1268
|
-
() =>
|
|
1269
|
-
keyed ?
|
|
1270
|
-
if (untrack(
|
|
1266
|
+
() => child(
|
|
1267
|
+
mp.keyed ? conditionValue() : () => {
|
|
1268
|
+
if (untrack(switchFunc)()?.[0] !== index)
|
|
1271
1269
|
throw narrowedError("Match");
|
|
1272
|
-
return
|
|
1270
|
+
return conditionValue();
|
|
1273
1271
|
}
|
|
1274
1272
|
)
|
|
1275
|
-
) :
|
|
1273
|
+
) : child;
|
|
1276
1274
|
},
|
|
1277
|
-
|
|
1278
|
-
|
|
1275
|
+
void 0,
|
|
1276
|
+
void 0
|
|
1279
1277
|
);
|
|
1280
1278
|
}
|
|
1281
1279
|
function Match(props) {
|
|
1282
1280
|
return props;
|
|
1283
1281
|
}
|
|
1284
|
-
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;
|
|
1282
|
+
var sharedConfig, IS_DEV, 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
1283
|
var init_solid = __esm({
|
|
1286
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1284
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js"() {
|
|
1287
1285
|
sharedConfig = {
|
|
1288
|
-
context:
|
|
1289
|
-
registry:
|
|
1290
|
-
effects:
|
|
1286
|
+
context: void 0,
|
|
1287
|
+
registry: void 0,
|
|
1288
|
+
effects: void 0,
|
|
1291
1289
|
done: false,
|
|
1292
1290
|
getContextId() {
|
|
1293
1291
|
return getContextId(this.context.count);
|
|
@@ -1296,6 +1294,7 @@ var init_solid = __esm({
|
|
|
1296
1294
|
return getContextId(this.context.count++);
|
|
1297
1295
|
}
|
|
1298
1296
|
};
|
|
1297
|
+
IS_DEV = false;
|
|
1299
1298
|
equalFn = (a2, b2) => a2 === b2;
|
|
1300
1299
|
$PROXY = Symbol("solid-proxy");
|
|
1301
1300
|
SUPPORTS_PROXY = typeof Proxy === "function";
|
|
@@ -1355,14 +1354,14 @@ var init_solid = __esm({
|
|
|
1355
1354
|
};
|
|
1356
1355
|
counter = 0;
|
|
1357
1356
|
narrowedError = (name) => `Stale read from <${name}>.`;
|
|
1358
|
-
DEV =
|
|
1357
|
+
DEV = void 0;
|
|
1359
1358
|
}
|
|
1360
1359
|
});
|
|
1361
1360
|
|
|
1362
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1361
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
|
|
1363
1362
|
function getPropAlias(prop, tagName) {
|
|
1364
1363
|
const a2 = PropAliases[prop];
|
|
1365
|
-
return typeof a2 === "object" ? a2[tagName] ? a2["$"] :
|
|
1364
|
+
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
1366
1365
|
}
|
|
1367
1366
|
function reconcileArrays(parentNode, a2, b2) {
|
|
1368
1367
|
let bLength = b2.length, aEnd = a2.length, bEnd = bLength, aStart = 0, bStart = 0, after = a2[aEnd - 1].nextSibling, map = null;
|
|
@@ -1424,14 +1423,14 @@ function render(code, element, init, options = {}) {
|
|
|
1424
1423
|
let disposer;
|
|
1425
1424
|
createRoot((dispose3) => {
|
|
1426
1425
|
disposer = dispose3;
|
|
1427
|
-
element === document ? code() : insert(element, code(), element.firstChild ? null :
|
|
1426
|
+
element === document ? code() : insert(element, code(), element.firstChild ? null : void 0, init);
|
|
1428
1427
|
}, options.owner);
|
|
1429
1428
|
return () => {
|
|
1430
1429
|
disposer();
|
|
1431
1430
|
element.textContent = "";
|
|
1432
1431
|
};
|
|
1433
1432
|
}
|
|
1434
|
-
function template(html, isImportNode, isSVG) {
|
|
1433
|
+
function template(html, isImportNode, isSVG, isMathML) {
|
|
1435
1434
|
let node;
|
|
1436
1435
|
const create = () => {
|
|
1437
1436
|
const t2 = document.createElement("template");
|
|
@@ -1526,7 +1525,7 @@ function style(node, value, prev) {
|
|
|
1526
1525
|
const nodeStyle = node.style;
|
|
1527
1526
|
if (typeof value === "string")
|
|
1528
1527
|
return nodeStyle.cssText = value;
|
|
1529
|
-
typeof prev === "string" && (nodeStyle.cssText = prev =
|
|
1528
|
+
typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
|
|
1530
1529
|
prev || (prev = {});
|
|
1531
1530
|
value || (value = {});
|
|
1532
1531
|
let v, s2;
|
|
@@ -1558,7 +1557,7 @@ function use(fn, element, arg) {
|
|
|
1558
1557
|
return untrack(() => fn(element, arg));
|
|
1559
1558
|
}
|
|
1560
1559
|
function insert(parent, accessor, marker, initial) {
|
|
1561
|
-
if (marker !==
|
|
1560
|
+
if (marker !== void 0 && !initial)
|
|
1562
1561
|
initial = [];
|
|
1563
1562
|
if (typeof accessor !== "function")
|
|
1564
1563
|
return insertExpression(parent, accessor, initial, marker);
|
|
@@ -1674,7 +1673,7 @@ function eventHandler(e2) {
|
|
|
1674
1673
|
const handler = node[key];
|
|
1675
1674
|
if (handler && !node.disabled) {
|
|
1676
1675
|
const data = node[`${key}Data`];
|
|
1677
|
-
data !==
|
|
1676
|
+
data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
|
|
1678
1677
|
if (e2.cancelBubble)
|
|
1679
1678
|
return;
|
|
1680
1679
|
}
|
|
@@ -1731,7 +1730,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1731
1730
|
current = current();
|
|
1732
1731
|
if (value === current)
|
|
1733
1732
|
return current;
|
|
1734
|
-
const t2 = typeof value, multi = marker !==
|
|
1733
|
+
const t2 = typeof value, multi = marker !== void 0;
|
|
1735
1734
|
parent = multi && current[0] && current[0].parentNode || parent;
|
|
1736
1735
|
if (t2 === "string" || t2 === "number") {
|
|
1737
1736
|
if (hydrating)
|
|
@@ -1776,7 +1775,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1776
1775
|
if (hydrating) {
|
|
1777
1776
|
if (!array.length)
|
|
1778
1777
|
return current;
|
|
1779
|
-
if (marker ===
|
|
1778
|
+
if (marker === void 0)
|
|
1780
1779
|
return current = [...parent.childNodes];
|
|
1781
1780
|
let node = array[0];
|
|
1782
1781
|
if (node.parentNode !== parent)
|
|
@@ -1854,7 +1853,7 @@ function appendNodes(parent, array, marker = null) {
|
|
|
1854
1853
|
parent.insertBefore(array[i2], marker);
|
|
1855
1854
|
}
|
|
1856
1855
|
function cleanChildren(parent, current, marker, replacement) {
|
|
1857
|
-
if (marker ===
|
|
1856
|
+
if (marker === void 0)
|
|
1858
1857
|
return parent.textContent = "";
|
|
1859
1858
|
const node = replacement || document.createTextNode("");
|
|
1860
1859
|
if (current.length) {
|
|
@@ -1911,32 +1910,35 @@ function Portal(props) {
|
|
|
1911
1910
|
onCleanup(() => el.removeChild(container));
|
|
1912
1911
|
}
|
|
1913
1912
|
},
|
|
1914
|
-
|
|
1913
|
+
void 0,
|
|
1915
1914
|
{
|
|
1916
1915
|
render: !hydrating
|
|
1917
1916
|
}
|
|
1918
1917
|
);
|
|
1919
1918
|
return marker;
|
|
1920
1919
|
}
|
|
1921
|
-
function
|
|
1922
|
-
const
|
|
1923
|
-
const cached = createMemo(() => p2.component);
|
|
1920
|
+
function createDynamic(component, props) {
|
|
1921
|
+
const cached = createMemo(component);
|
|
1924
1922
|
return createMemo(() => {
|
|
1925
|
-
const
|
|
1926
|
-
switch (typeof
|
|
1923
|
+
const component2 = cached();
|
|
1924
|
+
switch (typeof component2) {
|
|
1927
1925
|
case "function":
|
|
1928
|
-
return untrack(() =>
|
|
1926
|
+
return untrack(() => component2(props));
|
|
1929
1927
|
case "string":
|
|
1930
|
-
const isSvg = SVGElements.has(
|
|
1931
|
-
const el = sharedConfig.context ? getNextElement() : createElement(
|
|
1932
|
-
spread(el,
|
|
1928
|
+
const isSvg = SVGElements.has(component2);
|
|
1929
|
+
const el = sharedConfig.context ? getNextElement() : createElement(component2, isSvg);
|
|
1930
|
+
spread(el, props, isSvg);
|
|
1933
1931
|
return el;
|
|
1934
1932
|
}
|
|
1935
1933
|
});
|
|
1936
1934
|
}
|
|
1935
|
+
function Dynamic(props) {
|
|
1936
|
+
const [, others] = splitProps(props, ["component"]);
|
|
1937
|
+
return createDynamic(() => props.component, others);
|
|
1938
|
+
}
|
|
1937
1939
|
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1938
1940
|
var init_web = __esm({
|
|
1939
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1941
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js"() {
|
|
1940
1942
|
init_solid();
|
|
1941
1943
|
init_solid();
|
|
1942
1944
|
booleans = [
|
|
@@ -2235,7 +2237,7 @@ function find(record, predicate) {
|
|
|
2235
2237
|
return value;
|
|
2236
2238
|
}
|
|
2237
2239
|
}
|
|
2238
|
-
return
|
|
2240
|
+
return void 0;
|
|
2239
2241
|
}
|
|
2240
2242
|
function forEach(record, run) {
|
|
2241
2243
|
Object.entries(record).forEach(([key, value]) => run(value, key));
|
|
@@ -2250,7 +2252,7 @@ function findArr(record, predicate) {
|
|
|
2250
2252
|
return value;
|
|
2251
2253
|
}
|
|
2252
2254
|
}
|
|
2253
|
-
return
|
|
2255
|
+
return void 0;
|
|
2254
2256
|
}
|
|
2255
2257
|
var init_util = __esm({
|
|
2256
2258
|
"../../node_modules/.pnpm/superjson@2.2.1/node_modules/superjson/dist/util.js"() {
|
|
@@ -2377,7 +2379,7 @@ var init_transformer = __esm({
|
|
|
2377
2379
|
init_is();
|
|
2378
2380
|
init_util();
|
|
2379
2381
|
simpleRules = [
|
|
2380
|
-
simpleTransformation(isUndefined, "undefined", () => null, () =>
|
|
2382
|
+
simpleTransformation(isUndefined, "undefined", () => null, () => void 0),
|
|
2381
2383
|
simpleTransformation(isBigint, "bigint", (v) => v.toString(), (v) => {
|
|
2382
2384
|
if (typeof BigInt !== "undefined") {
|
|
2383
2385
|
return BigInt(v);
|
|
@@ -2520,7 +2522,7 @@ var init_transformer = __esm({
|
|
|
2520
2522
|
type: applicableSimpleRule.annotation
|
|
2521
2523
|
};
|
|
2522
2524
|
}
|
|
2523
|
-
return
|
|
2525
|
+
return void 0;
|
|
2524
2526
|
};
|
|
2525
2527
|
simpleRulesByAnnotation = {};
|
|
2526
2528
|
simpleRules.forEach((rule) => {
|
|
@@ -2725,7 +2727,7 @@ function addIdentity(object, path, identities) {
|
|
|
2725
2727
|
}
|
|
2726
2728
|
function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
2727
2729
|
const result = {};
|
|
2728
|
-
let rootEqualityPaths =
|
|
2730
|
+
let rootEqualityPaths = void 0;
|
|
2729
2731
|
identitites.forEach((paths) => {
|
|
2730
2732
|
if (paths.length <= 1) {
|
|
2731
2733
|
return;
|
|
@@ -2747,7 +2749,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2747
2749
|
return [rootEqualityPaths, result];
|
|
2748
2750
|
}
|
|
2749
2751
|
} else {
|
|
2750
|
-
return isEmptyObject(result) ?
|
|
2752
|
+
return isEmptyObject(result) ? void 0 : result;
|
|
2751
2753
|
}
|
|
2752
2754
|
}
|
|
2753
2755
|
var isDeep, walker;
|
|
@@ -2809,7 +2811,7 @@ var init_plainer = __esm({
|
|
|
2809
2811
|
});
|
|
2810
2812
|
const result = isEmptyObject(innerAnnotations) ? {
|
|
2811
2813
|
transformedValue,
|
|
2812
|
-
annotations: !!transformationResult ? [transformationResult.type] :
|
|
2814
|
+
annotations: !!transformationResult ? [transformationResult.type] : void 0
|
|
2813
2815
|
} : {
|
|
2814
2816
|
transformedValue,
|
|
2815
2817
|
annotations: !!transformationResult ? [transformationResult.type, innerAnnotations] : innerAnnotations
|
|
@@ -3005,7 +3007,7 @@ var init_utils = __esm({
|
|
|
3005
3007
|
const {
|
|
3006
3008
|
json
|
|
3007
3009
|
} = serialize(value);
|
|
3008
|
-
return JSON.stringify(json, null, beautify ? 2 :
|
|
3010
|
+
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3009
3011
|
};
|
|
3010
3012
|
getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3011
3013
|
queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
@@ -3149,7 +3151,7 @@ var init_utils = __esm({
|
|
|
3149
3151
|
}
|
|
3150
3152
|
});
|
|
3151
3153
|
|
|
3152
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3154
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3153
3155
|
function chain(callbacks) {
|
|
3154
3156
|
return (...args) => {
|
|
3155
3157
|
for (const callback of callbacks)
|
|
@@ -3192,12 +3194,12 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3192
3194
|
}
|
|
3193
3195
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3194
3196
|
var init_R5675YMU = __esm({
|
|
3195
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3197
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3196
3198
|
init_solid();
|
|
3197
3199
|
init_web();
|
|
3198
3200
|
isClient = !isServer;
|
|
3199
3201
|
isDev = isClient && !!DEV;
|
|
3200
|
-
noop = () =>
|
|
3202
|
+
noop = () => void 0;
|
|
3201
3203
|
isNonNullable = (i2) => i2 != null;
|
|
3202
3204
|
filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
3203
3205
|
access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
@@ -3206,14 +3208,14 @@ var init_R5675YMU = __esm({
|
|
|
3206
3208
|
}
|
|
3207
3209
|
});
|
|
3208
3210
|
|
|
3209
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3211
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3210
3212
|
var init_index = __esm({
|
|
3211
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3213
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3212
3214
|
init_R5675YMU();
|
|
3213
3215
|
}
|
|
3214
3216
|
});
|
|
3215
3217
|
|
|
3216
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3218
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js
|
|
3217
3219
|
function createStorage(props) {
|
|
3218
3220
|
const [error, setError] = createSignal();
|
|
3219
3221
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3231,7 +3233,7 @@ function createStorage(props) {
|
|
|
3231
3233
|
get(_, key) {
|
|
3232
3234
|
let node = signals.get(key);
|
|
3233
3235
|
if (!node) {
|
|
3234
|
-
node = createSignal(
|
|
3236
|
+
node = createSignal(void 0, { equals: false });
|
|
3235
3237
|
signals.set(key, node);
|
|
3236
3238
|
}
|
|
3237
3239
|
node[0]();
|
|
@@ -3358,7 +3360,7 @@ function createStorage(props) {
|
|
|
3358
3360
|
}
|
|
3359
3361
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3360
3362
|
var init_dist4 = __esm({
|
|
3361
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3363
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3362
3364
|
init_solid();
|
|
3363
3365
|
createLocalStorage = createStorage;
|
|
3364
3366
|
addClearMethod = (storage) => {
|
|
@@ -4128,7 +4130,7 @@ var init_clsx = __esm({
|
|
|
4128
4130
|
}
|
|
4129
4131
|
});
|
|
4130
4132
|
|
|
4131
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4133
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4132
4134
|
function createListTransition(source, options) {
|
|
4133
4135
|
const initSource = untrack(source);
|
|
4134
4136
|
if (isServer) {
|
|
@@ -4136,16 +4138,16 @@ function createListTransition(source, options) {
|
|
|
4136
4138
|
return () => copy2;
|
|
4137
4139
|
}
|
|
4138
4140
|
const { onChange } = options;
|
|
4139
|
-
let prevSet = new Set(options.appear ?
|
|
4141
|
+
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
4140
4142
|
const exiting = /* @__PURE__ */ new WeakSet();
|
|
4141
4143
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
4142
4144
|
const [isTransitionPending] = useTransition();
|
|
4143
|
-
const finishRemoved =
|
|
4145
|
+
const finishRemoved = (els) => {
|
|
4144
4146
|
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
4145
4147
|
for (const el of els)
|
|
4146
4148
|
exiting.delete(el);
|
|
4147
4149
|
};
|
|
4148
|
-
const handleRemoved =
|
|
4150
|
+
const handleRemoved = (els, el, i2) => els.splice(i2, 0, el) ;
|
|
4149
4151
|
return createMemo(
|
|
4150
4152
|
(prev) => {
|
|
4151
4153
|
const elsToRemove = toRemove();
|
|
@@ -4193,17 +4195,14 @@ function createListTransition(source, options) {
|
|
|
4193
4195
|
options.appear ? [] : initSource.slice()
|
|
4194
4196
|
);
|
|
4195
4197
|
}
|
|
4196
|
-
var noop2;
|
|
4197
4198
|
var init_dist5 = __esm({
|
|
4198
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4199
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4199
4200
|
init_solid();
|
|
4200
4201
|
init_web();
|
|
4201
|
-
noop2 = () => {
|
|
4202
|
-
};
|
|
4203
4202
|
}
|
|
4204
4203
|
});
|
|
4205
4204
|
|
|
4206
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4205
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js
|
|
4207
4206
|
function mergeRefs(...refs) {
|
|
4208
4207
|
return chain(refs);
|
|
4209
4208
|
}
|
|
@@ -4236,7 +4235,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4236
4235
|
}
|
|
4237
4236
|
var defaultElementPredicate;
|
|
4238
4237
|
var init_dist6 = __esm({
|
|
4239
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4238
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4240
4239
|
init_index();
|
|
4241
4240
|
init_solid();
|
|
4242
4241
|
init_web();
|
|
@@ -4244,7 +4243,7 @@ var init_dist6 = __esm({
|
|
|
4244
4243
|
}
|
|
4245
4244
|
});
|
|
4246
4245
|
|
|
4247
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4246
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js
|
|
4248
4247
|
function createClassnames(props) {
|
|
4249
4248
|
return createMemo(() => {
|
|
4250
4249
|
const name = props.name || "s";
|
|
@@ -4319,7 +4318,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4319
4318
|
}
|
|
4320
4319
|
var TransitionGroup;
|
|
4321
4320
|
var init_dist7 = __esm({
|
|
4322
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4321
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js"() {
|
|
4323
4322
|
init_solid();
|
|
4324
4323
|
init_dist5();
|
|
4325
4324
|
init_dist6();
|
|
@@ -4327,7 +4326,6 @@ var init_dist7 = __esm({
|
|
|
4327
4326
|
const classnames = createClassnames(props);
|
|
4328
4327
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
4329
4328
|
appear: props.appear,
|
|
4330
|
-
exitMethod: "keep-index",
|
|
4331
4329
|
onChange({ added, removed, finishRemoved, list }) {
|
|
4332
4330
|
const classes = classnames();
|
|
4333
4331
|
for (const el of added) {
|
|
@@ -4373,7 +4371,7 @@ var init_dist7 = __esm({
|
|
|
4373
4371
|
}
|
|
4374
4372
|
});
|
|
4375
4373
|
|
|
4376
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4374
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4377
4375
|
function dispose2(list) {
|
|
4378
4376
|
for (const o2 of list)
|
|
4379
4377
|
o2.dispose();
|
|
@@ -4465,20 +4463,20 @@ function Key(props) {
|
|
|
4465
4463
|
() => props.each,
|
|
4466
4464
|
typeof by === "function" ? by : (v) => v[by],
|
|
4467
4465
|
props.children,
|
|
4468
|
-
"fallback" in props ? { fallback: () => props.fallback } :
|
|
4466
|
+
"fallback" in props ? { fallback: () => props.fallback } : void 0
|
|
4469
4467
|
)
|
|
4470
4468
|
);
|
|
4471
4469
|
}
|
|
4472
4470
|
var FALLBACK2;
|
|
4473
4471
|
var init_dist8 = __esm({
|
|
4474
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4472
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4475
4473
|
init_solid();
|
|
4476
4474
|
init_web();
|
|
4477
4475
|
FALLBACK2 = Symbol("fallback");
|
|
4478
4476
|
}
|
|
4479
4477
|
});
|
|
4480
4478
|
|
|
4481
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4479
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4482
4480
|
function makeEventListener(target, type, handler, options) {
|
|
4483
4481
|
target.addEventListener(type, handler, options);
|
|
4484
4482
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4498,14 +4496,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4498
4496
|
createRenderEffect(attachListeners);
|
|
4499
4497
|
}
|
|
4500
4498
|
var init_dist9 = __esm({
|
|
4501
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4499
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4502
4500
|
init_index();
|
|
4503
4501
|
init_solid();
|
|
4504
4502
|
init_web();
|
|
4505
4503
|
}
|
|
4506
4504
|
});
|
|
4507
4505
|
|
|
4508
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4506
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4509
4507
|
function makeResizeObserver(callback, options) {
|
|
4510
4508
|
if (isServer) {
|
|
4511
4509
|
return { observe: noop, unobserve: noop };
|
|
@@ -4536,14 +4534,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4536
4534
|
}, []);
|
|
4537
4535
|
}
|
|
4538
4536
|
var init_dist10 = __esm({
|
|
4539
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4537
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4540
4538
|
init_index();
|
|
4541
4539
|
init_solid();
|
|
4542
4540
|
init_web();
|
|
4543
4541
|
}
|
|
4544
4542
|
});
|
|
4545
4543
|
|
|
4546
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4544
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js
|
|
4547
4545
|
function stringStyleToObject(style2) {
|
|
4548
4546
|
const object = {};
|
|
4549
4547
|
let match;
|
|
@@ -4564,12 +4562,12 @@ function combineStyle(a2, b2) {
|
|
|
4564
4562
|
}
|
|
4565
4563
|
var extractCSSregex;
|
|
4566
4564
|
var init_dist11 = __esm({
|
|
4567
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4565
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4568
4566
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4569
4567
|
}
|
|
4570
4568
|
});
|
|
4571
4569
|
|
|
4572
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4570
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js
|
|
4573
4571
|
function addItemToArray(array, item, index = -1) {
|
|
4574
4572
|
if (!(index in array)) {
|
|
4575
4573
|
return [...array, item];
|
|
@@ -4955,7 +4953,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4955
4953
|
}
|
|
4956
4954
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4957
4955
|
var init_dist12 = __esm({
|
|
4958
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4956
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4959
4957
|
init_solid();
|
|
4960
4958
|
init_dist9();
|
|
4961
4959
|
init_dist6();
|
|
@@ -5020,19 +5018,19 @@ var init_dist12 = __esm({
|
|
|
5020
5018
|
}
|
|
5021
5019
|
});
|
|
5022
5020
|
|
|
5023
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5021
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5024
5022
|
function createRegisterId(setter) {
|
|
5025
5023
|
return (id) => {
|
|
5026
5024
|
setter(id);
|
|
5027
|
-
return () => setter(
|
|
5025
|
+
return () => setter(void 0);
|
|
5028
5026
|
};
|
|
5029
5027
|
}
|
|
5030
5028
|
var init_E4R2EMM4 = __esm({
|
|
5031
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5029
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5032
5030
|
}
|
|
5033
5031
|
});
|
|
5034
5032
|
|
|
5035
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5033
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5036
5034
|
function createTagName(ref, fallback) {
|
|
5037
5035
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5038
5036
|
createEffect(() => {
|
|
@@ -5041,16 +5039,16 @@ function createTagName(ref, fallback) {
|
|
|
5041
5039
|
return tagName;
|
|
5042
5040
|
}
|
|
5043
5041
|
function stringOrUndefined(value) {
|
|
5044
|
-
return isString2(value) ? value :
|
|
5042
|
+
return isString2(value) ? value : void 0;
|
|
5045
5043
|
}
|
|
5046
5044
|
var init_ET5T45DO = __esm({
|
|
5047
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5045
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5048
5046
|
init_dist12();
|
|
5049
5047
|
init_solid();
|
|
5050
5048
|
}
|
|
5051
5049
|
});
|
|
5052
5050
|
|
|
5053
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5051
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5054
5052
|
function Polymorphic(props) {
|
|
5055
5053
|
const [local, others] = splitProps(props, ["as"]);
|
|
5056
5054
|
if (!local.as) {
|
|
@@ -5066,13 +5064,13 @@ function Polymorphic(props) {
|
|
|
5066
5064
|
);
|
|
5067
5065
|
}
|
|
5068
5066
|
var init_Y7B2NEO = __esm({
|
|
5069
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5067
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5070
5068
|
init_web();
|
|
5071
5069
|
init_solid();
|
|
5072
5070
|
}
|
|
5073
5071
|
});
|
|
5074
5072
|
|
|
5075
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5073
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5076
5074
|
function createFormControl(props) {
|
|
5077
5075
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5078
5076
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5088,8 +5086,8 @@ function createFormControl(props) {
|
|
|
5088
5086
|
fieldAriaLabelledBy,
|
|
5089
5087
|
labelId(),
|
|
5090
5088
|
// If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
|
|
5091
|
-
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 :
|
|
5092
|
-
].filter(Boolean).join(" ") ||
|
|
5089
|
+
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
|
|
5090
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5093
5091
|
};
|
|
5094
5092
|
const getAriaDescribedBy = (fieldAriaDescribedBy) => {
|
|
5095
5093
|
return [
|
|
@@ -5098,14 +5096,14 @@ function createFormControl(props) {
|
|
|
5098
5096
|
// See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
|
|
5099
5097
|
errorMessageId(),
|
|
5100
5098
|
fieldAriaDescribedBy
|
|
5101
|
-
].filter(Boolean).join(" ") ||
|
|
5099
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5102
5100
|
};
|
|
5103
5101
|
const dataset = createMemo(() => ({
|
|
5104
|
-
"data-valid": access(mergedProps.validationState) === "valid" ? "" :
|
|
5105
|
-
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" :
|
|
5106
|
-
"data-required": access(mergedProps.required) ? "" :
|
|
5107
|
-
"data-disabled": access(mergedProps.disabled) ? "" :
|
|
5108
|
-
"data-readonly": access(mergedProps.readOnly) ? "" :
|
|
5102
|
+
"data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
|
|
5103
|
+
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
|
|
5104
|
+
"data-required": access(mergedProps.required) ? "" : void 0,
|
|
5105
|
+
"data-disabled": access(mergedProps.disabled) ? "" : void 0,
|
|
5106
|
+
"data-readonly": access(mergedProps.readOnly) ? "" : void 0
|
|
5109
5107
|
}));
|
|
5110
5108
|
const formControlContext = {
|
|
5111
5109
|
name: () => access(mergedProps.name) ?? access(mergedProps.id),
|
|
@@ -5132,7 +5130,7 @@ function createFormControl(props) {
|
|
|
5132
5130
|
}
|
|
5133
5131
|
function useFormControlContext() {
|
|
5134
5132
|
const context = useContext(FormControlContext);
|
|
5135
|
-
if (context ===
|
|
5133
|
+
if (context === void 0) {
|
|
5136
5134
|
throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
|
|
5137
5135
|
}
|
|
5138
5136
|
return context;
|
|
@@ -5187,13 +5185,13 @@ function FormControlLabel(props) {
|
|
|
5187
5185
|
typeof _ref$ === "function" && _ref$(r$);
|
|
5188
5186
|
},
|
|
5189
5187
|
get ["for"]() {
|
|
5190
|
-
return createMemo(() => tagName() === "label")() ? context.fieldId() :
|
|
5188
|
+
return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
5191
5189
|
}
|
|
5192
5190
|
}, () => context.dataset(), others));
|
|
5193
5191
|
}
|
|
5194
5192
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5195
5193
|
var init_Q2DJLZQE = __esm({
|
|
5196
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5194
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5197
5195
|
init_E4R2EMM4();
|
|
5198
5196
|
init_ET5T45DO();
|
|
5199
5197
|
init_Y7B2NEO();
|
|
@@ -5205,7 +5203,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5205
5203
|
}
|
|
5206
5204
|
});
|
|
5207
5205
|
|
|
5208
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5206
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5209
5207
|
function createFormResetListener(element, handler) {
|
|
5210
5208
|
createEffect(
|
|
5211
5209
|
on(element, (element2) => {
|
|
@@ -5230,15 +5228,15 @@ function isFormElement(element) {
|
|
|
5230
5228
|
return element.matches("textarea, input, select, button");
|
|
5231
5229
|
}
|
|
5232
5230
|
var init_ANN3A2QM = __esm({
|
|
5233
|
-
"../../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.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5234
5232
|
init_solid();
|
|
5235
5233
|
}
|
|
5236
5234
|
});
|
|
5237
5235
|
|
|
5238
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5236
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5239
5237
|
function createControllableSignal(props) {
|
|
5240
5238
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5241
|
-
const isControlled = createMemo(() => props.value?.() !==
|
|
5239
|
+
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
5242
5240
|
const value = createMemo(() => isControlled() ? props.value?.() : _value());
|
|
5243
5241
|
const setValue = (next) => {
|
|
5244
5242
|
untrack(() => {
|
|
@@ -5265,13 +5263,13 @@ function createControllableArraySignal(props) {
|
|
|
5265
5263
|
return [value, setValue];
|
|
5266
5264
|
}
|
|
5267
5265
|
var init_BLN63FDC = __esm({
|
|
5268
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5266
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5269
5267
|
init_dist12();
|
|
5270
5268
|
init_solid();
|
|
5271
5269
|
}
|
|
5272
5270
|
});
|
|
5273
5271
|
|
|
5274
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5272
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5275
5273
|
function createToggleState(props = {}) {
|
|
5276
5274
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5277
5275
|
value: () => access(props.isSelected),
|
|
@@ -5295,16 +5293,16 @@ function createToggleState(props = {}) {
|
|
|
5295
5293
|
};
|
|
5296
5294
|
}
|
|
5297
5295
|
var init_YGDQXQ2B = __esm({
|
|
5298
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5296
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5299
5297
|
init_BLN63FDC();
|
|
5300
5298
|
init_dist12();
|
|
5301
5299
|
}
|
|
5302
5300
|
});
|
|
5303
5301
|
|
|
5304
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5302
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5305
5303
|
var __defProp2, __export2;
|
|
5306
5304
|
var init_ZKAE4VZ = __esm({
|
|
5307
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5305
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5308
5306
|
__defProp2 = Object.defineProperty;
|
|
5309
5307
|
__export2 = (target, all) => {
|
|
5310
5308
|
for (var name in all)
|
|
@@ -5313,13 +5311,13 @@ var init_ZKAE4VZ = __esm({
|
|
|
5313
5311
|
}
|
|
5314
5312
|
});
|
|
5315
5313
|
|
|
5316
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5314
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5317
5315
|
function useOptionalDomCollectionContext() {
|
|
5318
5316
|
return useContext(DomCollectionContext);
|
|
5319
5317
|
}
|
|
5320
5318
|
function useDomCollectionContext() {
|
|
5321
5319
|
const context = useOptionalDomCollectionContext();
|
|
5322
|
-
if (context ===
|
|
5320
|
+
if (context === void 0) {
|
|
5323
5321
|
throw new Error(
|
|
5324
5322
|
"[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
|
|
5325
5323
|
);
|
|
@@ -5477,7 +5475,7 @@ function createDomCollectionItem(props) {
|
|
|
5477
5475
|
}
|
|
5478
5476
|
var DomCollectionContext;
|
|
5479
5477
|
var init_CVNMTYF = __esm({
|
|
5480
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5478
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5481
5479
|
init_BLN63FDC();
|
|
5482
5480
|
init_dist12();
|
|
5483
5481
|
init_solid();
|
|
@@ -5485,7 +5483,7 @@ var init_CVNMTYF = __esm({
|
|
|
5485
5483
|
}
|
|
5486
5484
|
});
|
|
5487
5485
|
|
|
5488
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5486
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5489
5487
|
function buildNodes(params) {
|
|
5490
5488
|
let index = params.startIndex ?? 0;
|
|
5491
5489
|
const level = params.startLevel ?? 0;
|
|
@@ -5515,7 +5513,7 @@ function buildNodes(params) {
|
|
|
5515
5513
|
};
|
|
5516
5514
|
const getSectionChildren = (data) => {
|
|
5517
5515
|
if (data == null) {
|
|
5518
|
-
return
|
|
5516
|
+
return void 0;
|
|
5519
5517
|
}
|
|
5520
5518
|
if (isString2(params.getSectionChildren)) {
|
|
5521
5519
|
return data[params.getSectionChildren];
|
|
@@ -5594,13 +5592,13 @@ function createCollection(props, deps = []) {
|
|
|
5594
5592
|
});
|
|
5595
5593
|
}
|
|
5596
5594
|
var init_JMA2RWU6 = __esm({
|
|
5597
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5595
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5598
5596
|
init_dist12();
|
|
5599
5597
|
init_solid();
|
|
5600
5598
|
}
|
|
5601
5599
|
});
|
|
5602
5600
|
|
|
5603
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5601
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5604
5602
|
function isRTL(locale) {
|
|
5605
5603
|
if (Intl.Locale) {
|
|
5606
5604
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5660,7 +5658,7 @@ function useLocale() {
|
|
|
5660
5658
|
function createCollator(options) {
|
|
5661
5659
|
const { locale } = useLocale();
|
|
5662
5660
|
const cacheKey = createMemo(() => {
|
|
5663
|
-
return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
|
|
5661
|
+
return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
|
|
5664
5662
|
});
|
|
5665
5663
|
return createMemo(() => {
|
|
5666
5664
|
const key = cacheKey();
|
|
@@ -5677,7 +5675,7 @@ function createCollator(options) {
|
|
|
5677
5675
|
}
|
|
5678
5676
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5679
5677
|
var init_XHJPQEZP = __esm({
|
|
5680
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5678
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5681
5679
|
init_solid();
|
|
5682
5680
|
init_web();
|
|
5683
5681
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5722,7 +5720,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5722
5720
|
}
|
|
5723
5721
|
});
|
|
5724
5722
|
|
|
5725
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5723
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5726
5724
|
function createControllableSelectionSignal(props) {
|
|
5727
5725
|
const [_value, setValue] = createControllableSignal(props);
|
|
5728
5726
|
const value = () => _value() ?? new Selection();
|
|
@@ -5867,7 +5865,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
5867
5865
|
const { direction } = useLocale();
|
|
5868
5866
|
let scrollPos = { top: 0, left: 0 };
|
|
5869
5867
|
createEventListener(
|
|
5870
|
-
() => !access(mergedProps.isVirtualized) ? finalScrollRef() :
|
|
5868
|
+
() => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
|
|
5871
5869
|
"scroll",
|
|
5872
5870
|
() => {
|
|
5873
5871
|
const scrollEl = finalScrollRef();
|
|
@@ -6171,7 +6169,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
6171
6169
|
);
|
|
6172
6170
|
const tabIndex = createMemo(() => {
|
|
6173
6171
|
if (access(mergedProps.shouldUseVirtualFocus)) {
|
|
6174
|
-
return
|
|
6172
|
+
return void 0;
|
|
6175
6173
|
}
|
|
6176
6174
|
return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
|
|
6177
6175
|
});
|
|
@@ -6260,12 +6258,12 @@ function createSelectableItem(props, ref) {
|
|
|
6260
6258
|
};
|
|
6261
6259
|
const tabIndex = createMemo(() => {
|
|
6262
6260
|
if (shouldUseVirtualFocus() || isDisabled()) {
|
|
6263
|
-
return
|
|
6261
|
+
return void 0;
|
|
6264
6262
|
}
|
|
6265
6263
|
return key() === manager().focusedKey() ? 0 : -1;
|
|
6266
6264
|
});
|
|
6267
6265
|
const dataKey = createMemo(() => {
|
|
6268
|
-
return access(props.virtualized) ?
|
|
6266
|
+
return access(props.virtualized) ? void 0 : key();
|
|
6269
6267
|
});
|
|
6270
6268
|
createEffect(
|
|
6271
6269
|
on(
|
|
@@ -6321,7 +6319,7 @@ function createListState(props) {
|
|
|
6321
6319
|
createComputed(() => {
|
|
6322
6320
|
const focusedKey = selectionState.focusedKey();
|
|
6323
6321
|
if (focusedKey != null && !collection().getItem(focusedKey)) {
|
|
6324
|
-
selectionState.setFocusedKey(
|
|
6322
|
+
selectionState.setFocusedKey(void 0);
|
|
6325
6323
|
}
|
|
6326
6324
|
});
|
|
6327
6325
|
return {
|
|
@@ -6331,7 +6329,7 @@ function createListState(props) {
|
|
|
6331
6329
|
}
|
|
6332
6330
|
var Selection, SelectionManager, ListCollection;
|
|
6333
6331
|
var init_H6DSIDEC = __esm({
|
|
6334
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6332
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6335
6333
|
init_JMA2RWU6();
|
|
6336
6334
|
init_XHJPQEZP();
|
|
6337
6335
|
init_BLN63FDC();
|
|
@@ -6675,13 +6673,13 @@ var init_H6DSIDEC = __esm({
|
|
|
6675
6673
|
node.prevKey = last.key;
|
|
6676
6674
|
} else {
|
|
6677
6675
|
this.firstKey = key;
|
|
6678
|
-
node.prevKey =
|
|
6676
|
+
node.prevKey = void 0;
|
|
6679
6677
|
}
|
|
6680
6678
|
if (node.type === "item") {
|
|
6681
6679
|
node.index = index++;
|
|
6682
6680
|
}
|
|
6683
6681
|
last = node;
|
|
6684
|
-
last.nextKey =
|
|
6682
|
+
last.nextKey = void 0;
|
|
6685
6683
|
}
|
|
6686
6684
|
this.lastKey = last.key;
|
|
6687
6685
|
}
|
|
@@ -6717,25 +6715,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6717
6715
|
}
|
|
6718
6716
|
});
|
|
6719
6717
|
|
|
6720
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6718
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6721
6719
|
var access2;
|
|
6722
6720
|
var init_ZV6G25TT = __esm({
|
|
6723
|
-
"../../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.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6724
6722
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6725
6723
|
}
|
|
6726
6724
|
});
|
|
6727
6725
|
|
|
6728
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6726
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6729
6727
|
var init_reactivity = __esm({
|
|
6730
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6728
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6731
6729
|
init_ZV6G25TT();
|
|
6732
6730
|
}
|
|
6733
6731
|
});
|
|
6734
6732
|
|
|
6735
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6733
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js
|
|
6736
6734
|
var createPresence, presence_default, src_default;
|
|
6737
6735
|
var init_dist13 = __esm({
|
|
6738
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6736
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js"() {
|
|
6739
6737
|
init_reactivity();
|
|
6740
6738
|
init_solid();
|
|
6741
6739
|
createPresence = (props) => {
|
|
@@ -6809,7 +6807,7 @@ var init_dist13 = __esm({
|
|
|
6809
6807
|
}
|
|
6810
6808
|
});
|
|
6811
6809
|
|
|
6812
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6810
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6813
6811
|
function indexOf(node) {
|
|
6814
6812
|
return layers.findIndex((layer) => layer.node === node);
|
|
6815
6813
|
}
|
|
@@ -6870,7 +6868,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6870
6868
|
}
|
|
6871
6869
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6872
6870
|
var init_ZKYDDHM6 = __esm({
|
|
6873
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6871
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6874
6872
|
init_dist12();
|
|
6875
6873
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6876
6874
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6891,7 +6889,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6891
6889
|
}
|
|
6892
6890
|
});
|
|
6893
6891
|
|
|
6894
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6892
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6895
6893
|
function isButton(element) {
|
|
6896
6894
|
const tagName = element.tagName.toLowerCase();
|
|
6897
6895
|
if (tagName === "button") {
|
|
@@ -6932,28 +6930,28 @@ function ButtonRoot(props) {
|
|
|
6932
6930
|
typeof _ref$ === "function" && _ref$(r$);
|
|
6933
6931
|
},
|
|
6934
6932
|
get type() {
|
|
6935
|
-
return isNativeButton() || isNativeInput() ? local.type :
|
|
6933
|
+
return isNativeButton() || isNativeInput() ? local.type : void 0;
|
|
6936
6934
|
},
|
|
6937
6935
|
get role() {
|
|
6938
|
-
return !isNativeButton() && !isNativeLink() ? "button" :
|
|
6936
|
+
return !isNativeButton() && !isNativeLink() ? "button" : void 0;
|
|
6939
6937
|
},
|
|
6940
6938
|
get tabIndex() {
|
|
6941
|
-
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 :
|
|
6939
|
+
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
|
|
6942
6940
|
},
|
|
6943
6941
|
get disabled() {
|
|
6944
|
-
return isNativeButton() || isNativeInput() ? local.disabled :
|
|
6942
|
+
return isNativeButton() || isNativeInput() ? local.disabled : void 0;
|
|
6945
6943
|
},
|
|
6946
6944
|
get ["aria-disabled"]() {
|
|
6947
|
-
return !isNativeButton() && !isNativeInput() && local.disabled ? true :
|
|
6945
|
+
return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
|
|
6948
6946
|
},
|
|
6949
6947
|
get ["data-disabled"]() {
|
|
6950
|
-
return local.disabled ? "" :
|
|
6948
|
+
return local.disabled ? "" : void 0;
|
|
6951
6949
|
}
|
|
6952
6950
|
}, others));
|
|
6953
6951
|
}
|
|
6954
6952
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6955
6953
|
var init_OVKXYPU = __esm({
|
|
6956
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6954
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6957
6955
|
init_ET5T45DO();
|
|
6958
6956
|
init_Y7B2NEO();
|
|
6959
6957
|
init_ZKAE4VZ();
|
|
@@ -7003,7 +7001,7 @@ function getAlignmentAxis(placement) {
|
|
|
7003
7001
|
return getOppositeAxis(getSideAxis(placement));
|
|
7004
7002
|
}
|
|
7005
7003
|
function getAlignmentSides(placement, rects, rtl) {
|
|
7006
|
-
if (rtl ===
|
|
7004
|
+
if (rtl === void 0) {
|
|
7007
7005
|
rtl = false;
|
|
7008
7006
|
}
|
|
7009
7007
|
const alignment = getAlignment(placement);
|
|
@@ -7172,7 +7170,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
7172
7170
|
}
|
|
7173
7171
|
async function detectOverflow(state, options) {
|
|
7174
7172
|
var _await$platform$isEle;
|
|
7175
|
-
if (options ===
|
|
7173
|
+
if (options === void 0) {
|
|
7176
7174
|
options = {};
|
|
7177
7175
|
}
|
|
7178
7176
|
const {
|
|
@@ -7194,7 +7192,7 @@ async function detectOverflow(state, options) {
|
|
|
7194
7192
|
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
7195
7193
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
7196
7194
|
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
7197
|
-
element: ((_await$platform$isEle = await (platform2.isElement == null ?
|
|
7195
|
+
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
7198
7196
|
boundary,
|
|
7199
7197
|
rootBoundary,
|
|
7200
7198
|
strategy
|
|
@@ -7205,8 +7203,8 @@ async function detectOverflow(state, options) {
|
|
|
7205
7203
|
width: rects.floating.width,
|
|
7206
7204
|
height: rects.floating.height
|
|
7207
7205
|
} : rects.reference;
|
|
7208
|
-
const offsetParent = await (platform2.getOffsetParent == null ?
|
|
7209
|
-
const offsetScale = await (platform2.isElement == null ?
|
|
7206
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
7207
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
7210
7208
|
x: 1,
|
|
7211
7209
|
y: 1
|
|
7212
7210
|
} : {
|
|
@@ -7243,7 +7241,7 @@ async function convertValueToCoords(state, options) {
|
|
|
7243
7241
|
platform: platform2,
|
|
7244
7242
|
elements
|
|
7245
7243
|
} = state;
|
|
7246
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7244
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7247
7245
|
const side = getSide(placement);
|
|
7248
7246
|
const alignment = getAlignment(placement);
|
|
7249
7247
|
const isVertical = getSideAxis(placement) === "y";
|
|
@@ -7288,7 +7286,7 @@ var init_floating_ui_core = __esm({
|
|
|
7288
7286
|
platform: platform2
|
|
7289
7287
|
} = config;
|
|
7290
7288
|
const validMiddleware = middleware.filter(Boolean);
|
|
7291
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7289
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
7292
7290
|
let rects = await platform2.getElementRects({
|
|
7293
7291
|
reference,
|
|
7294
7292
|
floating,
|
|
@@ -7397,9 +7395,9 @@ var init_floating_ui_core = __esm({
|
|
|
7397
7395
|
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
7398
7396
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
7399
7397
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
7400
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ?
|
|
7398
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
7401
7399
|
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
7402
|
-
if (!clientSize || !await (platform2.isElement == null ?
|
|
7400
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
7403
7401
|
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
7404
7402
|
}
|
|
7405
7403
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
@@ -7426,7 +7424,7 @@ var init_floating_ui_core = __esm({
|
|
|
7426
7424
|
}
|
|
7427
7425
|
});
|
|
7428
7426
|
flip = function(options) {
|
|
7429
|
-
if (options ===
|
|
7427
|
+
if (options === void 0) {
|
|
7430
7428
|
options = {};
|
|
7431
7429
|
}
|
|
7432
7430
|
return {
|
|
@@ -7457,7 +7455,7 @@ var init_floating_ui_core = __esm({
|
|
|
7457
7455
|
const side = getSide(placement);
|
|
7458
7456
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
7459
7457
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
7460
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7458
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7461
7459
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
7462
7460
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
7463
7461
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -7466,7 +7464,7 @@ var init_floating_ui_core = __esm({
|
|
|
7466
7464
|
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
7467
7465
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
7468
7466
|
const overflows = [];
|
|
7469
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
7467
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
7470
7468
|
if (checkMainAxis) {
|
|
7471
7469
|
overflows.push(overflow[side]);
|
|
7472
7470
|
}
|
|
@@ -7480,7 +7478,7 @@ var init_floating_ui_core = __esm({
|
|
|
7480
7478
|
}];
|
|
7481
7479
|
if (!overflows.every((side2) => side2 <= 0)) {
|
|
7482
7480
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
7483
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
7481
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
7484
7482
|
const nextPlacement = placements2[nextIndex];
|
|
7485
7483
|
if (nextPlacement) {
|
|
7486
7484
|
return {
|
|
@@ -7493,7 +7491,7 @@ var init_floating_ui_core = __esm({
|
|
|
7493
7491
|
}
|
|
7494
7492
|
};
|
|
7495
7493
|
}
|
|
7496
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ?
|
|
7494
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
7497
7495
|
if (!resetPlacement) {
|
|
7498
7496
|
switch (fallbackStrategy) {
|
|
7499
7497
|
case "bestFit": {
|
|
@@ -7506,7 +7504,7 @@ var init_floating_ui_core = __esm({
|
|
|
7506
7504
|
currentSideAxis === "y";
|
|
7507
7505
|
}
|
|
7508
7506
|
return true;
|
|
7509
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ?
|
|
7507
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
7510
7508
|
if (placement2) {
|
|
7511
7509
|
resetPlacement = placement2;
|
|
7512
7510
|
}
|
|
@@ -7530,7 +7528,7 @@ var init_floating_ui_core = __esm({
|
|
|
7530
7528
|
};
|
|
7531
7529
|
};
|
|
7532
7530
|
hide = function(options) {
|
|
7533
|
-
if (options ===
|
|
7531
|
+
if (options === void 0) {
|
|
7534
7532
|
options = {};
|
|
7535
7533
|
}
|
|
7536
7534
|
return {
|
|
@@ -7579,7 +7577,7 @@ var init_floating_ui_core = __esm({
|
|
|
7579
7577
|
};
|
|
7580
7578
|
};
|
|
7581
7579
|
offset = function(options) {
|
|
7582
|
-
if (options ===
|
|
7580
|
+
if (options === void 0) {
|
|
7583
7581
|
options = 0;
|
|
7584
7582
|
}
|
|
7585
7583
|
return {
|
|
@@ -7594,7 +7592,7 @@ var init_floating_ui_core = __esm({
|
|
|
7594
7592
|
middlewareData
|
|
7595
7593
|
} = state;
|
|
7596
7594
|
const diffCoords = await convertValueToCoords(state, options);
|
|
7597
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
7595
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
7598
7596
|
return {};
|
|
7599
7597
|
}
|
|
7600
7598
|
return {
|
|
@@ -7609,7 +7607,7 @@ var init_floating_ui_core = __esm({
|
|
|
7609
7607
|
};
|
|
7610
7608
|
};
|
|
7611
7609
|
shift = function(options) {
|
|
7612
|
-
if (options ===
|
|
7610
|
+
if (options === void 0) {
|
|
7613
7611
|
options = {};
|
|
7614
7612
|
}
|
|
7615
7613
|
return {
|
|
@@ -7677,7 +7675,7 @@ var init_floating_ui_core = __esm({
|
|
|
7677
7675
|
};
|
|
7678
7676
|
};
|
|
7679
7677
|
size = function(options) {
|
|
7680
|
-
if (options ===
|
|
7678
|
+
if (options === void 0) {
|
|
7681
7679
|
options = {};
|
|
7682
7680
|
}
|
|
7683
7681
|
return {
|
|
@@ -7707,7 +7705,7 @@ var init_floating_ui_core = __esm({
|
|
|
7707
7705
|
let widthSide;
|
|
7708
7706
|
if (side === "top" || side === "bottom") {
|
|
7709
7707
|
heightSide = side;
|
|
7710
|
-
widthSide = alignment === (await (platform2.isRTL == null ?
|
|
7708
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
7711
7709
|
} else {
|
|
7712
7710
|
widthSide = side;
|
|
7713
7711
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
@@ -7764,11 +7762,11 @@ function getNodeName(node) {
|
|
|
7764
7762
|
}
|
|
7765
7763
|
function getWindow2(node) {
|
|
7766
7764
|
var _node$ownerDocument;
|
|
7767
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
7765
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
7768
7766
|
}
|
|
7769
7767
|
function getDocumentElement(node) {
|
|
7770
7768
|
var _ref;
|
|
7771
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
7769
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
7772
7770
|
}
|
|
7773
7771
|
function isNode(value) {
|
|
7774
7772
|
return value instanceof Node || value instanceof getWindow2(value).Node;
|
|
@@ -7871,14 +7869,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
7871
7869
|
}
|
|
7872
7870
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
7873
7871
|
var _node$ownerDocument2;
|
|
7874
|
-
if (list ===
|
|
7872
|
+
if (list === void 0) {
|
|
7875
7873
|
list = [];
|
|
7876
7874
|
}
|
|
7877
|
-
if (traverseIframes ===
|
|
7875
|
+
if (traverseIframes === void 0) {
|
|
7878
7876
|
traverseIframes = true;
|
|
7879
7877
|
}
|
|
7880
7878
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
7881
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
7879
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
7882
7880
|
const win = getWindow2(scrollableAncestor);
|
|
7883
7881
|
if (isBody) {
|
|
7884
7882
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
@@ -7947,7 +7945,7 @@ function getVisualOffsets(element) {
|
|
|
7947
7945
|
};
|
|
7948
7946
|
}
|
|
7949
7947
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
7950
|
-
if (isFixed ===
|
|
7948
|
+
if (isFixed === void 0) {
|
|
7951
7949
|
isFixed = false;
|
|
7952
7950
|
}
|
|
7953
7951
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
|
|
@@ -7956,10 +7954,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
7956
7954
|
return isFixed;
|
|
7957
7955
|
}
|
|
7958
7956
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
7959
|
-
if (includeScale ===
|
|
7957
|
+
if (includeScale === void 0) {
|
|
7960
7958
|
includeScale = false;
|
|
7961
7959
|
}
|
|
7962
|
-
if (isFixedStrategy ===
|
|
7960
|
+
if (isFixedStrategy === void 0) {
|
|
7963
7961
|
isFixedStrategy = false;
|
|
7964
7962
|
}
|
|
7965
7963
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -8276,10 +8274,10 @@ function observeMove(element, onMove) {
|
|
|
8276
8274
|
io = null;
|
|
8277
8275
|
}
|
|
8278
8276
|
function refresh(skip, threshold) {
|
|
8279
|
-
if (skip ===
|
|
8277
|
+
if (skip === void 0) {
|
|
8280
8278
|
skip = false;
|
|
8281
8279
|
}
|
|
8282
|
-
if (threshold ===
|
|
8280
|
+
if (threshold === void 0) {
|
|
8283
8281
|
threshold = 1;
|
|
8284
8282
|
}
|
|
8285
8283
|
cleanup();
|
|
@@ -8336,7 +8334,7 @@ function observeMove(element, onMove) {
|
|
|
8336
8334
|
return cleanup;
|
|
8337
8335
|
}
|
|
8338
8336
|
function autoUpdate(reference, floating, update, options) {
|
|
8339
|
-
if (options ===
|
|
8337
|
+
if (options === void 0) {
|
|
8340
8338
|
options = {};
|
|
8341
8339
|
}
|
|
8342
8340
|
const {
|
|
@@ -8460,10 +8458,10 @@ var init_floating_ui_dom = __esm({
|
|
|
8460
8458
|
}
|
|
8461
8459
|
});
|
|
8462
8460
|
|
|
8463
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8461
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8464
8462
|
function usePopperContext() {
|
|
8465
8463
|
const context = useContext(PopperContext);
|
|
8466
|
-
if (context ===
|
|
8464
|
+
if (context === void 0) {
|
|
8467
8465
|
throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
|
|
8468
8466
|
}
|
|
8469
8467
|
return context;
|
|
@@ -8633,14 +8631,14 @@ function PopperRoot(props) {
|
|
|
8633
8631
|
const hasAlignment = !!placement.split("-")[1];
|
|
8634
8632
|
return {
|
|
8635
8633
|
mainAxis: finalGutter,
|
|
8636
|
-
crossAxis: !hasAlignment ? mergedProps.shift :
|
|
8634
|
+
crossAxis: !hasAlignment ? mergedProps.shift : void 0,
|
|
8637
8635
|
alignmentAxis: mergedProps.shift
|
|
8638
8636
|
};
|
|
8639
8637
|
})
|
|
8640
8638
|
];
|
|
8641
8639
|
if (mergedProps.flip !== false) {
|
|
8642
|
-
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") :
|
|
8643
|
-
if (fallbackPlacements !==
|
|
8640
|
+
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
|
|
8641
|
+
if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
|
|
8644
8642
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
8645
8643
|
}
|
|
8646
8644
|
middleware.push(flip2({
|
|
@@ -8765,7 +8763,7 @@ function PopperRoot(props) {
|
|
|
8765
8763
|
}
|
|
8766
8764
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8767
8765
|
var init_X2EKUJ3 = __esm({
|
|
8768
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8766
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8769
8767
|
init_XHJPQEZP();
|
|
8770
8768
|
init_Y7B2NEO();
|
|
8771
8769
|
init_web();
|
|
@@ -8798,7 +8796,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8798
8796
|
}
|
|
8799
8797
|
});
|
|
8800
8798
|
|
|
8801
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8799
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8802
8800
|
function createEscapeKeyDown(props) {
|
|
8803
8801
|
const handleKeyDown = (event) => {
|
|
8804
8802
|
if (event.key === EventKey.Escape) {
|
|
@@ -8820,14 +8818,14 @@ function createEscapeKeyDown(props) {
|
|
|
8820
8818
|
});
|
|
8821
8819
|
}
|
|
8822
8820
|
var init_QEMPLYZX = __esm({
|
|
8823
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8821
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8824
8822
|
init_dist12();
|
|
8825
8823
|
init_solid();
|
|
8826
8824
|
init_web();
|
|
8827
8825
|
}
|
|
8828
8826
|
});
|
|
8829
8827
|
|
|
8830
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8828
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8831
8829
|
function createInteractOutside(props, ref) {
|
|
8832
8830
|
let pointerDownTimeoutId;
|
|
8833
8831
|
let clickHandler = noop3;
|
|
@@ -8928,7 +8926,7 @@ function createInteractOutside(props, ref) {
|
|
|
8928
8926
|
}
|
|
8929
8927
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8930
8928
|
var init_QGCMYLTA = __esm({
|
|
8931
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8929
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8932
8930
|
init_ZKYDDHM6();
|
|
8933
8931
|
init_dist12();
|
|
8934
8932
|
init_solid();
|
|
@@ -8938,7 +8936,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8938
8936
|
}
|
|
8939
8937
|
});
|
|
8940
8938
|
|
|
8941
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8939
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8942
8940
|
function useOptionalDismissableLayerContext() {
|
|
8943
8941
|
return useContext(DismissableLayerContext);
|
|
8944
8942
|
}
|
|
@@ -9057,7 +9055,7 @@ function DismissableLayer(props) {
|
|
|
9057
9055
|
}
|
|
9058
9056
|
var DismissableLayerContext;
|
|
9059
9057
|
var init_G7G3PFRJ = __esm({
|
|
9060
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9058
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9061
9059
|
init_QEMPLYZX();
|
|
9062
9060
|
init_QGCMYLTA();
|
|
9063
9061
|
init_ZKYDDHM6();
|
|
@@ -9069,7 +9067,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9069
9067
|
}
|
|
9070
9068
|
});
|
|
9071
9069
|
|
|
9072
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9070
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9073
9071
|
function createDisclosureState(props = {}) {
|
|
9074
9072
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9075
9073
|
value: () => access(props.open),
|
|
@@ -9094,23 +9092,23 @@ function createDisclosureState(props = {}) {
|
|
|
9094
9092
|
};
|
|
9095
9093
|
}
|
|
9096
9094
|
var init_LCANGHD = __esm({
|
|
9097
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9095
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9098
9096
|
init_BLN63FDC();
|
|
9099
9097
|
init_dist12();
|
|
9100
9098
|
}
|
|
9101
9099
|
});
|
|
9102
9100
|
|
|
9103
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9101
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9104
9102
|
function useRadioGroupContext() {
|
|
9105
9103
|
const context = useContext(RadioGroupContext);
|
|
9106
|
-
if (context ===
|
|
9104
|
+
if (context === void 0) {
|
|
9107
9105
|
throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
|
|
9108
9106
|
}
|
|
9109
9107
|
return context;
|
|
9110
9108
|
}
|
|
9111
9109
|
function useRadioGroupItemContext() {
|
|
9112
9110
|
const context = useContext(RadioGroupItemContext);
|
|
9113
|
-
if (context ===
|
|
9111
|
+
if (context === void 0) {
|
|
9114
9112
|
throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
|
|
9115
9113
|
}
|
|
9116
9114
|
return context;
|
|
@@ -9142,8 +9140,8 @@ function RadioGroupItem(props) {
|
|
|
9142
9140
|
};
|
|
9143
9141
|
const dataset = createMemo(() => ({
|
|
9144
9142
|
...formControlContext.dataset(),
|
|
9145
|
-
"data-disabled": isDisabled() ? "" :
|
|
9146
|
-
"data-checked": isSelected() ? "" :
|
|
9143
|
+
"data-disabled": isDisabled() ? "" : void 0,
|
|
9144
|
+
"data-checked": isSelected() ? "" : void 0
|
|
9147
9145
|
}));
|
|
9148
9146
|
const context = {
|
|
9149
9147
|
value: () => local.value,
|
|
@@ -9248,11 +9246,11 @@ function RadioGroupItemInput(props) {
|
|
|
9248
9246
|
local["aria-labelledby"],
|
|
9249
9247
|
radioContext.labelId(),
|
|
9250
9248
|
// If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
|
|
9251
|
-
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id :
|
|
9252
|
-
].filter(Boolean).join(" ") ||
|
|
9249
|
+
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
|
|
9250
|
+
].filter(Boolean).join(" ") || void 0;
|
|
9253
9251
|
};
|
|
9254
9252
|
const ariaDescribedBy = () => {
|
|
9255
|
-
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") ||
|
|
9253
|
+
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
|
|
9256
9254
|
};
|
|
9257
9255
|
const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
|
|
9258
9256
|
const onChange = (e2) => {
|
|
@@ -9407,16 +9405,16 @@ function RadioGroupRoot(props) {
|
|
|
9407
9405
|
return access(formControlProps.id);
|
|
9408
9406
|
},
|
|
9409
9407
|
get ["aria-invalid"]() {
|
|
9410
|
-
return formControlContext.validationState() === "invalid" ||
|
|
9408
|
+
return formControlContext.validationState() === "invalid" || void 0;
|
|
9411
9409
|
},
|
|
9412
9410
|
get ["aria-required"]() {
|
|
9413
|
-
return formControlContext.isRequired() ||
|
|
9411
|
+
return formControlContext.isRequired() || void 0;
|
|
9414
9412
|
},
|
|
9415
9413
|
get ["aria-disabled"]() {
|
|
9416
|
-
return formControlContext.isDisabled() ||
|
|
9414
|
+
return formControlContext.isDisabled() || void 0;
|
|
9417
9415
|
},
|
|
9418
9416
|
get ["aria-readonly"]() {
|
|
9419
|
-
return formControlContext.isReadOnly() ||
|
|
9417
|
+
return formControlContext.isReadOnly() || void 0;
|
|
9420
9418
|
},
|
|
9421
9419
|
get ["aria-orientation"]() {
|
|
9422
9420
|
return local.orientation;
|
|
@@ -9435,7 +9433,7 @@ function RadioGroupRoot(props) {
|
|
|
9435
9433
|
}
|
|
9436
9434
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9437
9435
|
var init_Q2BOFK7I = __esm({
|
|
9438
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9436
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9439
9437
|
init_Q2DJLZQE();
|
|
9440
9438
|
init_ANN3A2QM();
|
|
9441
9439
|
init_E4R2EMM4();
|
|
@@ -9477,7 +9475,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9477
9475
|
}
|
|
9478
9476
|
});
|
|
9479
9477
|
|
|
9480
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9478
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9481
9479
|
function createSelectableList(props, ref, scrollRef) {
|
|
9482
9480
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9483
9481
|
const delegate = createMemo(() => {
|
|
@@ -9507,7 +9505,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9507
9505
|
}
|
|
9508
9506
|
var ListKeyboardDelegate;
|
|
9509
9507
|
var init_GLKC2QFF = __esm({
|
|
9510
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9508
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9511
9509
|
init_H6DSIDEC();
|
|
9512
9510
|
init_XHJPQEZP();
|
|
9513
9511
|
init_dist12();
|
|
@@ -9621,7 +9619,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9621
9619
|
}
|
|
9622
9620
|
});
|
|
9623
9621
|
|
|
9624
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9622
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9625
9623
|
function createFocusScope(props, ref) {
|
|
9626
9624
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9627
9625
|
const focusScope = {
|
|
@@ -9799,7 +9797,7 @@ function createFocusScope(props, ref) {
|
|
|
9799
9797
|
}
|
|
9800
9798
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9801
9799
|
var init_ISKHZMHS = __esm({
|
|
9802
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9800
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9803
9801
|
init_ZKYDDHM6();
|
|
9804
9802
|
init_dist12();
|
|
9805
9803
|
init_solid();
|
|
@@ -9831,15 +9829,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9831
9829
|
}
|
|
9832
9830
|
});
|
|
9833
9831
|
|
|
9834
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9832
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9835
9833
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9836
9834
|
var init_YA7DCYMB = __esm({
|
|
9837
|
-
"../../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.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9838
9836
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9839
9837
|
}
|
|
9840
9838
|
});
|
|
9841
9839
|
|
|
9842
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9840
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9843
9841
|
function createHideOutside(props) {
|
|
9844
9842
|
createEffect(() => {
|
|
9845
9843
|
if (access(props.isDisabled)) {
|
|
@@ -9958,7 +9956,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9958
9956
|
}
|
|
9959
9957
|
var refCountMap, observerStack;
|
|
9960
9958
|
var init_TZGE2AQH = __esm({
|
|
9961
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9959
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9962
9960
|
init_YA7DCYMB();
|
|
9963
9961
|
init_ZKYDDHM6();
|
|
9964
9962
|
init_dist12();
|
|
@@ -9968,10 +9966,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9968
9966
|
}
|
|
9969
9967
|
});
|
|
9970
9968
|
|
|
9971
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9969
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9972
9970
|
var activeStyles, createStyle, style_default;
|
|
9973
9971
|
var init_HD4B7J7A = __esm({
|
|
9974
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9972
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9975
9973
|
init_ZV6G25TT();
|
|
9976
9974
|
init_solid();
|
|
9977
9975
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -10023,17 +10021,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10023
10021
|
}
|
|
10024
10022
|
});
|
|
10025
10023
|
|
|
10026
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10024
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js
|
|
10027
10025
|
var init_style = __esm({
|
|
10028
|
-
"../../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.5/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10029
10027
|
init_HD4B7J7A();
|
|
10030
10028
|
}
|
|
10031
10029
|
});
|
|
10032
10030
|
|
|
10033
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10031
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10034
10032
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10035
10033
|
var init_scroll = __esm({
|
|
10036
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10034
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10037
10035
|
getScrollDimensions = (element, axis) => {
|
|
10038
10036
|
switch (axis) {
|
|
10039
10037
|
case "x":
|
|
@@ -10075,10 +10073,10 @@ var init_scroll = __esm({
|
|
|
10075
10073
|
}
|
|
10076
10074
|
});
|
|
10077
10075
|
|
|
10078
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10076
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js
|
|
10079
10077
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10080
10078
|
var init_dist14 = __esm({
|
|
10081
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10079
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10082
10080
|
init_reactivity();
|
|
10083
10081
|
init_solid();
|
|
10084
10082
|
init_style();
|
|
@@ -10240,7 +10238,7 @@ var init_dist14 = __esm({
|
|
|
10240
10238
|
const [availableScroll, availableScrollTop] = getScrollAtLocation(
|
|
10241
10239
|
target,
|
|
10242
10240
|
axis,
|
|
10243
|
-
targetInWrapper ? wrapper :
|
|
10241
|
+
targetInWrapper ? wrapper : void 0
|
|
10244
10242
|
);
|
|
10245
10243
|
if (delta > 0 && Math.abs(availableScroll) <= 1) {
|
|
10246
10244
|
return false;
|
|
@@ -10266,27 +10264,27 @@ var init_dist14 = __esm({
|
|
|
10266
10264
|
}
|
|
10267
10265
|
});
|
|
10268
10266
|
|
|
10269
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10267
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10270
10268
|
function useOptionalMenuContext() {
|
|
10271
10269
|
return useContext(MenuContext);
|
|
10272
10270
|
}
|
|
10273
10271
|
function useMenuContext() {
|
|
10274
10272
|
const context = useOptionalMenuContext();
|
|
10275
|
-
if (context ===
|
|
10273
|
+
if (context === void 0) {
|
|
10276
10274
|
throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
|
|
10277
10275
|
}
|
|
10278
10276
|
return context;
|
|
10279
10277
|
}
|
|
10280
10278
|
function useMenuItemContext() {
|
|
10281
10279
|
const context = useContext(MenuItemContext);
|
|
10282
|
-
if (context ===
|
|
10280
|
+
if (context === void 0) {
|
|
10283
10281
|
throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
|
|
10284
10282
|
}
|
|
10285
10283
|
return context;
|
|
10286
10284
|
}
|
|
10287
10285
|
function useMenuRootContext() {
|
|
10288
10286
|
const context = useContext(MenuRootContext);
|
|
10289
|
-
if (context ===
|
|
10287
|
+
if (context === void 0) {
|
|
10290
10288
|
throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
|
|
10291
10289
|
}
|
|
10292
10290
|
return context;
|
|
@@ -10378,15 +10376,15 @@ function MenuItemBase(props) {
|
|
|
10378
10376
|
return "mixed";
|
|
10379
10377
|
}
|
|
10380
10378
|
if (local.checked == null) {
|
|
10381
|
-
return
|
|
10379
|
+
return void 0;
|
|
10382
10380
|
}
|
|
10383
10381
|
return local.checked;
|
|
10384
10382
|
});
|
|
10385
10383
|
const dataset = createMemo(() => ({
|
|
10386
|
-
"data-indeterminate": local.indeterminate ? "" :
|
|
10387
|
-
"data-checked": local.checked && !local.indeterminate ? "" :
|
|
10388
|
-
"data-disabled": local.disabled ? "" :
|
|
10389
|
-
"data-highlighted": isHighlighted() ? "" :
|
|
10384
|
+
"data-indeterminate": local.indeterminate ? "" : void 0,
|
|
10385
|
+
"data-checked": local.checked && !local.indeterminate ? "" : void 0,
|
|
10386
|
+
"data-disabled": local.disabled ? "" : void 0,
|
|
10387
|
+
"data-highlighted": isHighlighted() ? "" : void 0
|
|
10390
10388
|
}));
|
|
10391
10389
|
const context = {
|
|
10392
10390
|
isChecked: () => local.checked,
|
|
@@ -10485,9 +10483,9 @@ function MenuTrigger(props) {
|
|
|
10485
10483
|
}, props);
|
|
10486
10484
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
|
|
10487
10485
|
let key = () => rootContext.value();
|
|
10488
|
-
if (optionalMenubarContext !==
|
|
10486
|
+
if (optionalMenubarContext !== void 0) {
|
|
10489
10487
|
key = () => rootContext.value() ?? local.id;
|
|
10490
|
-
if (optionalMenubarContext.lastValue() ===
|
|
10488
|
+
if (optionalMenubarContext.lastValue() === void 0)
|
|
10491
10489
|
optionalMenubarContext.setLastValue(key);
|
|
10492
10490
|
}
|
|
10493
10491
|
const tagName = createTagName(() => context.triggerRef(), () => "button");
|
|
@@ -10501,7 +10499,7 @@ function MenuTrigger(props) {
|
|
|
10501
10499
|
context.triggerRef()?.focus();
|
|
10502
10500
|
}));
|
|
10503
10501
|
const handleClick = () => {
|
|
10504
|
-
if (optionalMenubarContext !==
|
|
10502
|
+
if (optionalMenubarContext !== void 0) {
|
|
10505
10503
|
if (!context.isOpen()) {
|
|
10506
10504
|
if (!optionalMenubarContext.autoFocusMenu()) {
|
|
10507
10505
|
optionalMenubarContext.setAutoFocusMenu(true);
|
|
@@ -10557,14 +10555,14 @@ function MenuTrigger(props) {
|
|
|
10557
10555
|
context.open("last");
|
|
10558
10556
|
break;
|
|
10559
10557
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
10560
|
-
if (optionalMenubarContext ===
|
|
10558
|
+
if (optionalMenubarContext === void 0)
|
|
10561
10559
|
break;
|
|
10562
10560
|
e2.stopPropagation();
|
|
10563
10561
|
e2.preventDefault();
|
|
10564
10562
|
optionalMenubarContext.nextMenu();
|
|
10565
10563
|
break;
|
|
10566
10564
|
case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
|
|
10567
|
-
if (optionalMenubarContext ===
|
|
10565
|
+
if (optionalMenubarContext === void 0)
|
|
10568
10566
|
break;
|
|
10569
10567
|
e2.stopPropagation();
|
|
10570
10568
|
e2.preventDefault();
|
|
@@ -10576,13 +10574,13 @@ function MenuTrigger(props) {
|
|
|
10576
10574
|
callHandler(e2, local.onMouseOver);
|
|
10577
10575
|
if (context.triggerRef()?.dataset.pointerType === "touch")
|
|
10578
10576
|
return;
|
|
10579
|
-
if (!local.disabled && optionalMenubarContext !==
|
|
10577
|
+
if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
|
|
10580
10578
|
optionalMenubarContext.setValue(key);
|
|
10581
10579
|
}
|
|
10582
10580
|
};
|
|
10583
10581
|
const onFocus = (e2) => {
|
|
10584
10582
|
callHandler(e2, local.onFocus);
|
|
10585
|
-
if (optionalMenubarContext !==
|
|
10583
|
+
if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
|
|
10586
10584
|
optionalMenubarContext.setValue(key);
|
|
10587
10585
|
};
|
|
10588
10586
|
createEffect(() => onCleanup(context.registerTriggerId(local.id)));
|
|
@@ -10605,20 +10603,20 @@ function MenuTrigger(props) {
|
|
|
10605
10603
|
return context.isOpen();
|
|
10606
10604
|
},
|
|
10607
10605
|
get ["aria-controls"]() {
|
|
10608
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
10606
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10609
10607
|
},
|
|
10610
10608
|
get ["data-highlighted"]() {
|
|
10611
|
-
return key() !==
|
|
10609
|
+
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
10612
10610
|
},
|
|
10613
10611
|
get tabIndex() {
|
|
10614
|
-
return optionalMenubarContext !==
|
|
10612
|
+
return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
|
|
10615
10613
|
},
|
|
10616
10614
|
onPointerDown,
|
|
10617
10615
|
onMouseOver,
|
|
10618
10616
|
onClick,
|
|
10619
10617
|
onKeyDown,
|
|
10620
10618
|
onFocus,
|
|
10621
|
-
role: optionalMenubarContext !==
|
|
10619
|
+
role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
|
|
10622
10620
|
}, () => context.dataset(), others));
|
|
10623
10621
|
}
|
|
10624
10622
|
function useOptionalNavigationMenuContext() {
|
|
@@ -10639,7 +10637,7 @@ function MenuContentBase(props) {
|
|
|
10639
10637
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
|
|
10640
10638
|
let lastPointerX = 0;
|
|
10641
10639
|
const isRootModalContent = () => {
|
|
10642
|
-
return context.parentMenuContext() == null && optionalMenubarContext ===
|
|
10640
|
+
return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
|
|
10643
10641
|
};
|
|
10644
10642
|
const selectableList = createSelectableList({
|
|
10645
10643
|
selectionManager: context.listState().selectionManager,
|
|
@@ -10654,7 +10652,7 @@ function MenuContentBase(props) {
|
|
|
10654
10652
|
createFocusScope({
|
|
10655
10653
|
trapFocus: () => isRootModalContent() && context.isOpen(),
|
|
10656
10654
|
onMountAutoFocus: (event) => {
|
|
10657
|
-
if (optionalMenubarContext ===
|
|
10655
|
+
if (optionalMenubarContext === void 0)
|
|
10658
10656
|
local.onOpenAutoFocus?.(event);
|
|
10659
10657
|
},
|
|
10660
10658
|
onUnmountAutoFocus: local.onCloseAutoFocus
|
|
@@ -10666,7 +10664,7 @@ function MenuContentBase(props) {
|
|
|
10666
10664
|
if (e2.key === "Tab" && context.isOpen()) {
|
|
10667
10665
|
e2.preventDefault();
|
|
10668
10666
|
}
|
|
10669
|
-
if (optionalMenubarContext !==
|
|
10667
|
+
if (optionalMenubarContext !== void 0) {
|
|
10670
10668
|
if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
|
|
10671
10669
|
switch (e2.key) {
|
|
10672
10670
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
@@ -10705,7 +10703,7 @@ function MenuContentBase(props) {
|
|
|
10705
10703
|
return;
|
|
10706
10704
|
}
|
|
10707
10705
|
context.parentMenuContext()?.listState().selectionManager().setFocused(false);
|
|
10708
|
-
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(
|
|
10706
|
+
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
|
|
10709
10707
|
};
|
|
10710
10708
|
const onPointerMove = (e2) => {
|
|
10711
10709
|
callHandler(e2, local.onPointerMove);
|
|
@@ -10752,7 +10750,7 @@ function MenuContentBase(props) {
|
|
|
10752
10750
|
get children() {
|
|
10753
10751
|
return createComponent(Show, {
|
|
10754
10752
|
get when() {
|
|
10755
|
-
return optionalNavigationMenuContext ===
|
|
10753
|
+
return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
|
|
10756
10754
|
},
|
|
10757
10755
|
get fallback() {
|
|
10758
10756
|
return createComponent(Polymorphic, mergeProps({
|
|
@@ -10809,7 +10807,7 @@ function MenuContent(props) {
|
|
|
10809
10807
|
}
|
|
10810
10808
|
function useMenuGroupContext() {
|
|
10811
10809
|
const context = useContext(MenuGroupContext);
|
|
10812
|
-
if (context ===
|
|
10810
|
+
if (context === void 0) {
|
|
10813
10811
|
throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
|
|
10814
10812
|
}
|
|
10815
10813
|
return context;
|
|
@@ -10930,7 +10928,7 @@ function MenuPortal(props) {
|
|
|
10930
10928
|
}
|
|
10931
10929
|
function useMenuRadioGroupContext() {
|
|
10932
10930
|
const context = useContext(MenuRadioGroupContext);
|
|
10933
|
-
if (context ===
|
|
10931
|
+
if (context === void 0) {
|
|
10934
10932
|
throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
|
|
10935
10933
|
}
|
|
10936
10934
|
return context;
|
|
@@ -11082,7 +11080,7 @@ function Menu(props) {
|
|
|
11082
11080
|
if (content) {
|
|
11083
11081
|
focusWithoutScrolling(content);
|
|
11084
11082
|
listState.selectionManager().setFocused(true);
|
|
11085
|
-
listState.selectionManager().setFocusedKey(
|
|
11083
|
+
listState.selectionManager().setFocusedKey(void 0);
|
|
11086
11084
|
}
|
|
11087
11085
|
};
|
|
11088
11086
|
const focusContent = () => {
|
|
@@ -11136,12 +11134,12 @@ function Menu(props) {
|
|
|
11136
11134
|
});
|
|
11137
11135
|
});
|
|
11138
11136
|
createEffect(() => {
|
|
11139
|
-
if (parentMenuContext !==
|
|
11137
|
+
if (parentMenuContext !== void 0)
|
|
11140
11138
|
return;
|
|
11141
11139
|
optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
|
|
11142
11140
|
});
|
|
11143
11141
|
createEffect(() => {
|
|
11144
|
-
if (parentMenuContext !==
|
|
11142
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11145
11143
|
return;
|
|
11146
11144
|
if (optionalMenubarContext.value() === rootContext.value()) {
|
|
11147
11145
|
triggerRef()?.focus();
|
|
@@ -11151,19 +11149,19 @@ function Menu(props) {
|
|
|
11151
11149
|
close();
|
|
11152
11150
|
});
|
|
11153
11151
|
createEffect(() => {
|
|
11154
|
-
if (parentMenuContext !==
|
|
11152
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11155
11153
|
return;
|
|
11156
11154
|
if (disclosureState.isOpen())
|
|
11157
11155
|
optionalMenubarContext.setValue(rootContext.value());
|
|
11158
11156
|
});
|
|
11159
11157
|
onCleanup(() => {
|
|
11160
|
-
if (parentMenuContext !==
|
|
11158
|
+
if (parentMenuContext !== void 0)
|
|
11161
11159
|
return;
|
|
11162
11160
|
optionalMenubarContext?.unregisterMenu(rootContext.value());
|
|
11163
11161
|
});
|
|
11164
11162
|
const dataset = createMemo(() => ({
|
|
11165
|
-
"data-expanded": disclosureState.isOpen() ? "" :
|
|
11166
|
-
"data-closed": !disclosureState.isOpen() ? "" :
|
|
11163
|
+
"data-expanded": disclosureState.isOpen() ? "" : void 0,
|
|
11164
|
+
"data-closed": !disclosureState.isOpen() ? "" : void 0
|
|
11167
11165
|
}));
|
|
11168
11166
|
const context = {
|
|
11169
11167
|
dataset,
|
|
@@ -11202,7 +11200,7 @@ function Menu(props) {
|
|
|
11202
11200
|
value: context,
|
|
11203
11201
|
get children() {
|
|
11204
11202
|
return createComponent(Show, {
|
|
11205
|
-
when: optionalNavigationMenuContext ===
|
|
11203
|
+
when: optionalNavigationMenuContext === void 0,
|
|
11206
11204
|
get fallback() {
|
|
11207
11205
|
return others.children;
|
|
11208
11206
|
},
|
|
@@ -11336,7 +11334,7 @@ function MenuSubTrigger(props) {
|
|
|
11336
11334
|
if (!e2.defaultPrevented) {
|
|
11337
11335
|
if (context.listState().selectionManager().isFocused()) {
|
|
11338
11336
|
context.listState().selectionManager().setFocused(false);
|
|
11339
|
-
context.listState().selectionManager().setFocusedKey(
|
|
11337
|
+
context.listState().selectionManager().setFocusedKey(void 0);
|
|
11340
11338
|
}
|
|
11341
11339
|
focusWithoutScrolling(e2.currentTarget);
|
|
11342
11340
|
parentMenuContext?.listState().selectionManager().setFocused(true);
|
|
@@ -11383,7 +11381,7 @@ function MenuSubTrigger(props) {
|
|
|
11383
11381
|
e2.stopPropagation();
|
|
11384
11382
|
e2.preventDefault();
|
|
11385
11383
|
parentSelectionManager().setFocused(false);
|
|
11386
|
-
parentSelectionManager().setFocusedKey(
|
|
11384
|
+
parentSelectionManager().setFocusedKey(void 0);
|
|
11387
11385
|
if (!context.isOpen()) {
|
|
11388
11386
|
context.open("first");
|
|
11389
11387
|
}
|
|
@@ -11436,7 +11434,7 @@ function MenuSubTrigger(props) {
|
|
|
11436
11434
|
return context.isOpen();
|
|
11437
11435
|
},
|
|
11438
11436
|
get ["aria-controls"]() {
|
|
11439
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
11437
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11440
11438
|
},
|
|
11441
11439
|
get ["aria-disabled"]() {
|
|
11442
11440
|
return local.disabled;
|
|
@@ -11445,10 +11443,10 @@ function MenuSubTrigger(props) {
|
|
|
11445
11443
|
return selectableItem.dataKey();
|
|
11446
11444
|
},
|
|
11447
11445
|
get ["data-highlighted"]() {
|
|
11448
|
-
return isHighlighted() ? "" :
|
|
11446
|
+
return isHighlighted() ? "" : void 0;
|
|
11449
11447
|
},
|
|
11450
11448
|
get ["data-disabled"]() {
|
|
11451
|
-
return local.disabled ? "" :
|
|
11449
|
+
return local.disabled ? "" : void 0;
|
|
11452
11450
|
},
|
|
11453
11451
|
get onPointerDown() {
|
|
11454
11452
|
return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
|
|
@@ -11509,7 +11507,7 @@ function MenuRoot(props) {
|
|
|
11509
11507
|
}
|
|
11510
11508
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11511
11509
|
var init_F4B62RP = __esm({
|
|
11512
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11510
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11513
11511
|
init_X2EKUJ3();
|
|
11514
11512
|
init_CVNMTYF();
|
|
11515
11513
|
init_GLKC2QFF();
|
|
@@ -11566,7 +11564,7 @@ var init_F4B62RP = __esm({
|
|
|
11566
11564
|
}
|
|
11567
11565
|
});
|
|
11568
11566
|
|
|
11569
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11567
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11570
11568
|
function SeparatorRoot(props) {
|
|
11571
11569
|
let ref;
|
|
11572
11570
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11581,10 +11579,10 @@ function SeparatorRoot(props) {
|
|
|
11581
11579
|
typeof _ref$ === "function" && _ref$(r$);
|
|
11582
11580
|
},
|
|
11583
11581
|
get role() {
|
|
11584
|
-
return tagName() !== "hr" ? "separator" :
|
|
11582
|
+
return tagName() !== "hr" ? "separator" : void 0;
|
|
11585
11583
|
},
|
|
11586
11584
|
get ["aria-orientation"]() {
|
|
11587
|
-
return local.orientation === "vertical" ? "vertical" :
|
|
11585
|
+
return local.orientation === "vertical" ? "vertical" : void 0;
|
|
11588
11586
|
},
|
|
11589
11587
|
get ["data-orientation"]() {
|
|
11590
11588
|
return local.orientation;
|
|
@@ -11593,7 +11591,7 @@ function SeparatorRoot(props) {
|
|
|
11593
11591
|
}
|
|
11594
11592
|
var separator_exports, Separator;
|
|
11595
11593
|
var init_STGRFJHZ = __esm({
|
|
11596
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11594
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11597
11595
|
init_ET5T45DO();
|
|
11598
11596
|
init_Y7B2NEO();
|
|
11599
11597
|
init_ZKAE4VZ();
|
|
@@ -11609,7 +11607,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11609
11607
|
}
|
|
11610
11608
|
});
|
|
11611
11609
|
|
|
11612
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11610
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11613
11611
|
function DropdownMenuContent(props) {
|
|
11614
11612
|
const rootContext = useMenuRootContext();
|
|
11615
11613
|
const context = useMenuContext();
|
|
@@ -11643,7 +11641,7 @@ function DropdownMenuRoot(props) {
|
|
|
11643
11641
|
}
|
|
11644
11642
|
var dropdown_menu_exports, DropdownMenu;
|
|
11645
11643
|
var init_V2JBZ7BJ = __esm({
|
|
11646
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11644
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11647
11645
|
init_F4B62RP();
|
|
11648
11646
|
init_STGRFJHZ();
|
|
11649
11647
|
init_X2EKUJ3();
|
|
@@ -11697,9 +11695,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11697
11695
|
}
|
|
11698
11696
|
});
|
|
11699
11697
|
|
|
11700
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11698
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js
|
|
11701
11699
|
var init_dist15 = __esm({
|
|
11702
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11700
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js"() {
|
|
11703
11701
|
init_Q2BOFK7I();
|
|
11704
11702
|
init_V2JBZ7BJ();
|
|
11705
11703
|
}
|
|
@@ -12256,11 +12254,11 @@ var init_QueryDevtoolsContext = __esm({
|
|
|
12256
12254
|
"src/contexts/QueryDevtoolsContext.ts"() {
|
|
12257
12255
|
init_solid();
|
|
12258
12256
|
QueryDevtoolsContext = createContext({
|
|
12259
|
-
client:
|
|
12260
|
-
onlineManager:
|
|
12257
|
+
client: void 0,
|
|
12258
|
+
onlineManager: void 0,
|
|
12261
12259
|
queryFlavor: "",
|
|
12262
12260
|
version: "",
|
|
12263
|
-
shadowDOMTarget:
|
|
12261
|
+
shadowDOMTarget: void 0
|
|
12264
12262
|
});
|
|
12265
12263
|
}
|
|
12266
12264
|
});
|
|
@@ -12274,7 +12272,7 @@ var init_PiPContext = __esm({
|
|
|
12274
12272
|
init_web();
|
|
12275
12273
|
init_constants();
|
|
12276
12274
|
init_QueryDevtoolsContext();
|
|
12277
|
-
PiPContext = createContext(
|
|
12275
|
+
PiPContext = createContext(void 0);
|
|
12278
12276
|
PiPProvider = (props) => {
|
|
12279
12277
|
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12280
12278
|
const closePipWindow = () => {
|
|
@@ -12503,7 +12501,7 @@ function Explorer(props) {
|
|
|
12503
12501
|
}), null);
|
|
12504
12502
|
insert(_el$14, createComponent(Show, {
|
|
12505
12503
|
get when() {
|
|
12506
|
-
return props.itemsDeletable && props.activeQuery !==
|
|
12504
|
+
return props.itemsDeletable && props.activeQuery !== void 0;
|
|
12507
12505
|
},
|
|
12508
12506
|
get children() {
|
|
12509
12507
|
return createComponent(DeleteItemButton, {
|
|
@@ -12516,7 +12514,7 @@ function Explorer(props) {
|
|
|
12516
12514
|
}), null);
|
|
12517
12515
|
insert(_el$14, createComponent(Show, {
|
|
12518
12516
|
get when() {
|
|
12519
|
-
return type() === "array" && props.activeQuery !==
|
|
12517
|
+
return type() === "array" && props.activeQuery !== void 0;
|
|
12520
12518
|
},
|
|
12521
12519
|
get children() {
|
|
12522
12520
|
return createComponent(ClearArrayButton, {
|
|
@@ -12552,9 +12550,9 @@ function Explorer(props) {
|
|
|
12552
12550
|
_v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
|
|
12553
12551
|
return _p$;
|
|
12554
12552
|
}, {
|
|
12555
|
-
e:
|
|
12556
|
-
t:
|
|
12557
|
-
a:
|
|
12553
|
+
e: void 0,
|
|
12554
|
+
t: void 0,
|
|
12555
|
+
a: void 0
|
|
12558
12556
|
});
|
|
12559
12557
|
return _el$7;
|
|
12560
12558
|
})(), createComponent(Show, {
|
|
@@ -12664,8 +12662,8 @@ function Explorer(props) {
|
|
|
12664
12662
|
_v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
|
|
12665
12663
|
return _p$;
|
|
12666
12664
|
}, {
|
|
12667
|
-
e:
|
|
12668
|
-
t:
|
|
12665
|
+
e: void 0,
|
|
12666
|
+
t: void 0
|
|
12669
12667
|
});
|
|
12670
12668
|
return _el$23;
|
|
12671
12669
|
})()
|
|
@@ -12687,7 +12685,7 @@ function Explorer(props) {
|
|
|
12687
12685
|
insert(_el$19, () => props.label, _el$20);
|
|
12688
12686
|
insert(_el$18, createComponent(Show, {
|
|
12689
12687
|
get when() {
|
|
12690
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12688
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12691
12689
|
},
|
|
12692
12690
|
get fallback() {
|
|
12693
12691
|
return (() => {
|
|
@@ -12700,7 +12698,7 @@ function Explorer(props) {
|
|
|
12700
12698
|
get children() {
|
|
12701
12699
|
return [createComponent(Show, {
|
|
12702
12700
|
get when() {
|
|
12703
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12701
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12704
12702
|
},
|
|
12705
12703
|
get children() {
|
|
12706
12704
|
var _el$21 = _tmpl$92();
|
|
@@ -12715,8 +12713,8 @@ function Explorer(props) {
|
|
|
12715
12713
|
_v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
|
|
12716
12714
|
return _p$;
|
|
12717
12715
|
}, {
|
|
12718
|
-
e:
|
|
12719
|
-
t:
|
|
12716
|
+
e: void 0,
|
|
12717
|
+
t: void 0
|
|
12720
12718
|
});
|
|
12721
12719
|
createRenderEffect(() => _el$21.value = props.value);
|
|
12722
12720
|
return _el$21;
|
|
@@ -12745,7 +12743,7 @@ function Explorer(props) {
|
|
|
12745
12743
|
}), null);
|
|
12746
12744
|
insert(_el$18, createComponent(Show, {
|
|
12747
12745
|
get when() {
|
|
12748
|
-
return props.editable && props.itemsDeletable && props.activeQuery !==
|
|
12746
|
+
return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
|
|
12749
12747
|
},
|
|
12750
12748
|
get children() {
|
|
12751
12749
|
return createComponent(DeleteItemButton, {
|
|
@@ -12762,8 +12760,8 @@ function Explorer(props) {
|
|
|
12762
12760
|
_v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
|
|
12763
12761
|
return _p$;
|
|
12764
12762
|
}, {
|
|
12765
|
-
e:
|
|
12766
|
-
t:
|
|
12763
|
+
e: void 0,
|
|
12764
|
+
t: void 0
|
|
12767
12765
|
});
|
|
12768
12766
|
return _el$18;
|
|
12769
12767
|
}
|
|
@@ -12848,7 +12846,7 @@ var init_Explorer = __esm({
|
|
|
12848
12846
|
setCopyState("NoCopy");
|
|
12849
12847
|
}, 1500);
|
|
12850
12848
|
});
|
|
12851
|
-
} :
|
|
12849
|
+
} : void 0, true);
|
|
12852
12850
|
insert(_el$2, createComponent(Switch, {
|
|
12853
12851
|
get children() {
|
|
12854
12852
|
return [createComponent(Match, {
|
|
@@ -12885,8 +12883,8 @@ var init_Explorer = __esm({
|
|
|
12885
12883
|
_v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
|
|
12886
12884
|
return _p$;
|
|
12887
12885
|
}, {
|
|
12888
|
-
e:
|
|
12889
|
-
t:
|
|
12886
|
+
e: void 0,
|
|
12887
|
+
t: void 0
|
|
12890
12888
|
});
|
|
12891
12889
|
return _el$2;
|
|
12892
12890
|
})();
|
|
@@ -13538,11 +13536,11 @@ var init_Devtools = __esm({
|
|
|
13538
13536
|
_v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
|
|
13539
13537
|
return _p$;
|
|
13540
13538
|
}, {
|
|
13541
|
-
e:
|
|
13542
|
-
t:
|
|
13543
|
-
a:
|
|
13544
|
-
o:
|
|
13545
|
-
i:
|
|
13539
|
+
e: void 0,
|
|
13540
|
+
t: void 0,
|
|
13541
|
+
a: void 0,
|
|
13542
|
+
o: void 0,
|
|
13543
|
+
i: void 0
|
|
13546
13544
|
});
|
|
13547
13545
|
return _el$7;
|
|
13548
13546
|
})();
|
|
@@ -14026,26 +14024,26 @@ var init_Devtools = __esm({
|
|
|
14026
14024
|
_v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
|
|
14027
14025
|
return _p$;
|
|
14028
14026
|
}, {
|
|
14029
|
-
e:
|
|
14030
|
-
t:
|
|
14031
|
-
a:
|
|
14032
|
-
o:
|
|
14033
|
-
i:
|
|
14034
|
-
n:
|
|
14035
|
-
s:
|
|
14036
|
-
h:
|
|
14037
|
-
r:
|
|
14038
|
-
d:
|
|
14039
|
-
l:
|
|
14040
|
-
u:
|
|
14041
|
-
c:
|
|
14042
|
-
w:
|
|
14043
|
-
m:
|
|
14044
|
-
f:
|
|
14045
|
-
y:
|
|
14046
|
-
g:
|
|
14047
|
-
p:
|
|
14048
|
-
b:
|
|
14027
|
+
e: void 0,
|
|
14028
|
+
t: void 0,
|
|
14029
|
+
a: void 0,
|
|
14030
|
+
o: void 0,
|
|
14031
|
+
i: void 0,
|
|
14032
|
+
n: void 0,
|
|
14033
|
+
s: void 0,
|
|
14034
|
+
h: void 0,
|
|
14035
|
+
r: void 0,
|
|
14036
|
+
d: void 0,
|
|
14037
|
+
l: void 0,
|
|
14038
|
+
u: void 0,
|
|
14039
|
+
c: void 0,
|
|
14040
|
+
w: void 0,
|
|
14041
|
+
m: void 0,
|
|
14042
|
+
f: void 0,
|
|
14043
|
+
y: void 0,
|
|
14044
|
+
g: void 0,
|
|
14045
|
+
p: void 0,
|
|
14046
|
+
b: void 0
|
|
14049
14047
|
});
|
|
14050
14048
|
createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
14051
14049
|
return _el$10;
|
|
@@ -14131,9 +14129,9 @@ var init_Devtools = __esm({
|
|
|
14131
14129
|
_v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
|
|
14132
14130
|
return _p$;
|
|
14133
14131
|
}, {
|
|
14134
|
-
e:
|
|
14135
|
-
t:
|
|
14136
|
-
a:
|
|
14132
|
+
e: void 0,
|
|
14133
|
+
t: void 0,
|
|
14134
|
+
a: void 0
|
|
14137
14135
|
});
|
|
14138
14136
|
return _el$49;
|
|
14139
14137
|
}
|
|
@@ -14244,9 +14242,9 @@ var init_Devtools = __esm({
|
|
|
14244
14242
|
_v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
|
|
14245
14243
|
return _p$;
|
|
14246
14244
|
}, {
|
|
14247
|
-
e:
|
|
14248
|
-
t:
|
|
14249
|
-
a:
|
|
14245
|
+
e: void 0,
|
|
14246
|
+
t: void 0,
|
|
14247
|
+
a: void 0
|
|
14250
14248
|
});
|
|
14251
14249
|
return _el$53;
|
|
14252
14250
|
}
|
|
@@ -14454,8 +14452,8 @@ var init_Devtools = __esm({
|
|
|
14454
14452
|
_v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
|
|
14455
14453
|
return _p$;
|
|
14456
14454
|
}, {
|
|
14457
|
-
e:
|
|
14458
|
-
t:
|
|
14455
|
+
e: void 0,
|
|
14456
|
+
t: void 0
|
|
14459
14457
|
});
|
|
14460
14458
|
return _el$58;
|
|
14461
14459
|
})();
|
|
@@ -14571,7 +14569,7 @@ var init_Devtools = __esm({
|
|
|
14571
14569
|
setSelectedQueryHash(null);
|
|
14572
14570
|
};
|
|
14573
14571
|
_el$86.$$click = () => {
|
|
14574
|
-
if (activeQuery()?.state.data ===
|
|
14572
|
+
if (activeQuery()?.state.data === void 0) {
|
|
14575
14573
|
setRestoringLoading(true);
|
|
14576
14574
|
restoreQueryAfterLoadingOrError();
|
|
14577
14575
|
} else {
|
|
@@ -14588,7 +14586,7 @@ var init_Devtools = __esm({
|
|
|
14588
14586
|
gcTime: -1
|
|
14589
14587
|
});
|
|
14590
14588
|
activeQueryVal.setState({
|
|
14591
|
-
data:
|
|
14589
|
+
data: void 0,
|
|
14592
14590
|
status: "pending",
|
|
14593
14591
|
fetchMeta: {
|
|
14594
14592
|
...activeQueryVal.state.fetchMeta,
|
|
@@ -14623,9 +14621,9 @@ var init_Devtools = __esm({
|
|
|
14623
14621
|
_v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
|
|
14624
14622
|
return _p$;
|
|
14625
14623
|
}, {
|
|
14626
|
-
e:
|
|
14627
|
-
t:
|
|
14628
|
-
a:
|
|
14624
|
+
e: void 0,
|
|
14625
|
+
t: void 0,
|
|
14626
|
+
a: void 0
|
|
14629
14627
|
});
|
|
14630
14628
|
return _el$89;
|
|
14631
14629
|
}
|
|
@@ -14661,9 +14659,9 @@ var init_Devtools = __esm({
|
|
|
14661
14659
|
_v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
|
|
14662
14660
|
return _p$;
|
|
14663
14661
|
}, {
|
|
14664
|
-
e:
|
|
14665
|
-
t:
|
|
14666
|
-
a:
|
|
14662
|
+
e: void 0,
|
|
14663
|
+
t: void 0,
|
|
14664
|
+
a: void 0
|
|
14667
14665
|
});
|
|
14668
14666
|
return _el$92;
|
|
14669
14667
|
}
|
|
@@ -14731,14 +14729,14 @@ var init_Devtools = __esm({
|
|
|
14731
14729
|
_v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
|
|
14732
14730
|
return _p$;
|
|
14733
14731
|
}, {
|
|
14734
|
-
e:
|
|
14735
|
-
t:
|
|
14736
|
-
a:
|
|
14737
|
-
o:
|
|
14738
|
-
i:
|
|
14739
|
-
n:
|
|
14740
|
-
s:
|
|
14741
|
-
h:
|
|
14732
|
+
e: void 0,
|
|
14733
|
+
t: void 0,
|
|
14734
|
+
a: void 0,
|
|
14735
|
+
o: void 0,
|
|
14736
|
+
i: void 0,
|
|
14737
|
+
n: void 0,
|
|
14738
|
+
s: void 0,
|
|
14739
|
+
h: void 0
|
|
14742
14740
|
});
|
|
14743
14741
|
createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14744
14742
|
return _el$100;
|
|
@@ -14799,30 +14797,30 @@ var init_Devtools = __esm({
|
|
|
14799
14797
|
_v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
|
|
14800
14798
|
return _p$;
|
|
14801
14799
|
}, {
|
|
14802
|
-
e:
|
|
14803
|
-
t:
|
|
14804
|
-
a:
|
|
14805
|
-
o:
|
|
14806
|
-
i:
|
|
14807
|
-
n:
|
|
14808
|
-
s:
|
|
14809
|
-
h:
|
|
14810
|
-
r:
|
|
14811
|
-
d:
|
|
14812
|
-
l:
|
|
14813
|
-
u:
|
|
14814
|
-
c:
|
|
14815
|
-
w:
|
|
14816
|
-
m:
|
|
14817
|
-
f:
|
|
14818
|
-
y:
|
|
14819
|
-
g:
|
|
14820
|
-
p:
|
|
14821
|
-
b:
|
|
14822
|
-
T:
|
|
14823
|
-
A:
|
|
14824
|
-
O:
|
|
14825
|
-
I:
|
|
14800
|
+
e: void 0,
|
|
14801
|
+
t: void 0,
|
|
14802
|
+
a: void 0,
|
|
14803
|
+
o: void 0,
|
|
14804
|
+
i: void 0,
|
|
14805
|
+
n: void 0,
|
|
14806
|
+
s: void 0,
|
|
14807
|
+
h: void 0,
|
|
14808
|
+
r: void 0,
|
|
14809
|
+
d: void 0,
|
|
14810
|
+
l: void 0,
|
|
14811
|
+
u: void 0,
|
|
14812
|
+
c: void 0,
|
|
14813
|
+
w: void 0,
|
|
14814
|
+
m: void 0,
|
|
14815
|
+
f: void 0,
|
|
14816
|
+
y: void 0,
|
|
14817
|
+
g: void 0,
|
|
14818
|
+
p: void 0,
|
|
14819
|
+
b: void 0,
|
|
14820
|
+
T: void 0,
|
|
14821
|
+
A: void 0,
|
|
14822
|
+
O: void 0,
|
|
14823
|
+
I: void 0
|
|
14826
14824
|
});
|
|
14827
14825
|
return _el$63;
|
|
14828
14826
|
}
|
|
@@ -14947,18 +14945,18 @@ var init_Devtools = __esm({
|
|
|
14947
14945
|
_v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
|
|
14948
14946
|
return _p$;
|
|
14949
14947
|
}, {
|
|
14950
|
-
e:
|
|
14951
|
-
t:
|
|
14952
|
-
a:
|
|
14953
|
-
o:
|
|
14954
|
-
i:
|
|
14955
|
-
n:
|
|
14956
|
-
s:
|
|
14957
|
-
h:
|
|
14958
|
-
r:
|
|
14959
|
-
d:
|
|
14960
|
-
l:
|
|
14961
|
-
u:
|
|
14948
|
+
e: void 0,
|
|
14949
|
+
t: void 0,
|
|
14950
|
+
a: void 0,
|
|
14951
|
+
o: void 0,
|
|
14952
|
+
i: void 0,
|
|
14953
|
+
n: void 0,
|
|
14954
|
+
s: void 0,
|
|
14955
|
+
h: void 0,
|
|
14956
|
+
r: void 0,
|
|
14957
|
+
d: void 0,
|
|
14958
|
+
l: void 0,
|
|
14959
|
+
u: void 0
|
|
14962
14960
|
});
|
|
14963
14961
|
return _el$110;
|
|
14964
14962
|
}
|
|
@@ -14992,7 +14990,7 @@ var init_Devtools = __esm({
|
|
|
14992
14990
|
});
|
|
14993
14991
|
const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
|
|
14994
14992
|
equals: false
|
|
14995
|
-
} :
|
|
14993
|
+
} : void 0);
|
|
14996
14994
|
createEffect(() => {
|
|
14997
14995
|
setValue(callback(queryCache));
|
|
14998
14996
|
});
|
|
@@ -15031,7 +15029,7 @@ var init_Devtools = __esm({
|
|
|
15031
15029
|
});
|
|
15032
15030
|
const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
|
|
15033
15031
|
equals: false
|
|
15034
|
-
} :
|
|
15032
|
+
} : void 0);
|
|
15035
15033
|
createEffect(() => {
|
|
15036
15034
|
setValue(callback(mutationCache));
|
|
15037
15035
|
});
|