@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/dev.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.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);
|
|
@@ -2521,7 +2523,7 @@ var init_transformer = __esm({
|
|
|
2521
2523
|
type: applicableSimpleRule.annotation
|
|
2522
2524
|
};
|
|
2523
2525
|
}
|
|
2524
|
-
return
|
|
2526
|
+
return void 0;
|
|
2525
2527
|
};
|
|
2526
2528
|
simpleRulesByAnnotation = {};
|
|
2527
2529
|
simpleRules.forEach((rule) => {
|
|
@@ -2726,7 +2728,7 @@ function addIdentity(object, path, identities) {
|
|
|
2726
2728
|
}
|
|
2727
2729
|
function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
2728
2730
|
const result = {};
|
|
2729
|
-
let rootEqualityPaths =
|
|
2731
|
+
let rootEqualityPaths = void 0;
|
|
2730
2732
|
identitites.forEach((paths) => {
|
|
2731
2733
|
if (paths.length <= 1) {
|
|
2732
2734
|
return;
|
|
@@ -2748,7 +2750,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2748
2750
|
return [rootEqualityPaths, result];
|
|
2749
2751
|
}
|
|
2750
2752
|
} else {
|
|
2751
|
-
return isEmptyObject(result) ?
|
|
2753
|
+
return isEmptyObject(result) ? void 0 : result;
|
|
2752
2754
|
}
|
|
2753
2755
|
}
|
|
2754
2756
|
var isDeep, walker;
|
|
@@ -2810,7 +2812,7 @@ var init_plainer = __esm({
|
|
|
2810
2812
|
});
|
|
2811
2813
|
const result = isEmptyObject(innerAnnotations) ? {
|
|
2812
2814
|
transformedValue,
|
|
2813
|
-
annotations: !!transformationResult ? [transformationResult.type] :
|
|
2815
|
+
annotations: !!transformationResult ? [transformationResult.type] : void 0
|
|
2814
2816
|
} : {
|
|
2815
2817
|
transformedValue,
|
|
2816
2818
|
annotations: !!transformationResult ? [transformationResult.type, innerAnnotations] : innerAnnotations
|
|
@@ -3006,7 +3008,7 @@ var init_utils = __esm({
|
|
|
3006
3008
|
const {
|
|
3007
3009
|
json
|
|
3008
3010
|
} = serialize(value);
|
|
3009
|
-
return JSON.stringify(json, null, beautify ? 2 :
|
|
3011
|
+
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3010
3012
|
};
|
|
3011
3013
|
getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3012
3014
|
queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
@@ -3150,7 +3152,7 @@ var init_utils = __esm({
|
|
|
3150
3152
|
}
|
|
3151
3153
|
});
|
|
3152
3154
|
|
|
3153
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3155
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3154
3156
|
function chain(callbacks) {
|
|
3155
3157
|
return (...args) => {
|
|
3156
3158
|
for (const callback of callbacks)
|
|
@@ -3193,12 +3195,12 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3193
3195
|
}
|
|
3194
3196
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3195
3197
|
var init_R5675YMU = __esm({
|
|
3196
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3198
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3197
3199
|
init_solid();
|
|
3198
3200
|
init_web();
|
|
3199
3201
|
isClient = !isServer;
|
|
3200
3202
|
isDev = isClient && !!DEV;
|
|
3201
|
-
noop = () =>
|
|
3203
|
+
noop = () => void 0;
|
|
3202
3204
|
isNonNullable = (i2) => i2 != null;
|
|
3203
3205
|
filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
3204
3206
|
access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
@@ -3207,14 +3209,14 @@ var init_R5675YMU = __esm({
|
|
|
3207
3209
|
}
|
|
3208
3210
|
});
|
|
3209
3211
|
|
|
3210
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3212
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3211
3213
|
var init_index = __esm({
|
|
3212
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3214
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3213
3215
|
init_R5675YMU();
|
|
3214
3216
|
}
|
|
3215
3217
|
});
|
|
3216
3218
|
|
|
3217
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3219
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js
|
|
3218
3220
|
function createStorage(props) {
|
|
3219
3221
|
const [error, setError] = createSignal();
|
|
3220
3222
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3232,7 +3234,7 @@ function createStorage(props) {
|
|
|
3232
3234
|
get(_, key) {
|
|
3233
3235
|
let node = signals.get(key);
|
|
3234
3236
|
if (!node) {
|
|
3235
|
-
node = createSignal(
|
|
3237
|
+
node = createSignal(void 0, { equals: false });
|
|
3236
3238
|
signals.set(key, node);
|
|
3237
3239
|
}
|
|
3238
3240
|
node[0]();
|
|
@@ -3359,7 +3361,7 @@ function createStorage(props) {
|
|
|
3359
3361
|
}
|
|
3360
3362
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3361
3363
|
var init_dist4 = __esm({
|
|
3362
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3364
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3363
3365
|
init_solid();
|
|
3364
3366
|
createLocalStorage = createStorage;
|
|
3365
3367
|
addClearMethod = (storage) => {
|
|
@@ -4129,7 +4131,7 @@ var init_clsx = __esm({
|
|
|
4129
4131
|
}
|
|
4130
4132
|
});
|
|
4131
4133
|
|
|
4132
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4134
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4133
4135
|
function createListTransition(source, options) {
|
|
4134
4136
|
const initSource = untrack(source);
|
|
4135
4137
|
if (isServer) {
|
|
@@ -4137,16 +4139,16 @@ function createListTransition(source, options) {
|
|
|
4137
4139
|
return () => copy2;
|
|
4138
4140
|
}
|
|
4139
4141
|
const { onChange } = options;
|
|
4140
|
-
let prevSet = new Set(options.appear ?
|
|
4142
|
+
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
4141
4143
|
const exiting = /* @__PURE__ */ new WeakSet();
|
|
4142
4144
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
4143
4145
|
const [isTransitionPending] = useTransition();
|
|
4144
|
-
const finishRemoved =
|
|
4146
|
+
const finishRemoved = (els) => {
|
|
4145
4147
|
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
4146
4148
|
for (const el of els)
|
|
4147
4149
|
exiting.delete(el);
|
|
4148
4150
|
};
|
|
4149
|
-
const handleRemoved =
|
|
4151
|
+
const handleRemoved = (els, el, i2) => els.splice(i2, 0, el) ;
|
|
4150
4152
|
return createMemo(
|
|
4151
4153
|
(prev) => {
|
|
4152
4154
|
const elsToRemove = toRemove();
|
|
@@ -4194,17 +4196,14 @@ function createListTransition(source, options) {
|
|
|
4194
4196
|
options.appear ? [] : initSource.slice()
|
|
4195
4197
|
);
|
|
4196
4198
|
}
|
|
4197
|
-
var noop2;
|
|
4198
4199
|
var init_dist5 = __esm({
|
|
4199
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4200
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4200
4201
|
init_solid();
|
|
4201
4202
|
init_web();
|
|
4202
|
-
noop2 = () => {
|
|
4203
|
-
};
|
|
4204
4203
|
}
|
|
4205
4204
|
});
|
|
4206
4205
|
|
|
4207
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4206
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js
|
|
4208
4207
|
function mergeRefs(...refs) {
|
|
4209
4208
|
return chain(refs);
|
|
4210
4209
|
}
|
|
@@ -4237,7 +4236,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4237
4236
|
}
|
|
4238
4237
|
var defaultElementPredicate;
|
|
4239
4238
|
var init_dist6 = __esm({
|
|
4240
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4239
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4241
4240
|
init_index();
|
|
4242
4241
|
init_solid();
|
|
4243
4242
|
init_web();
|
|
@@ -4245,7 +4244,7 @@ var init_dist6 = __esm({
|
|
|
4245
4244
|
}
|
|
4246
4245
|
});
|
|
4247
4246
|
|
|
4248
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4247
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js
|
|
4249
4248
|
function createClassnames(props) {
|
|
4250
4249
|
return createMemo(() => {
|
|
4251
4250
|
const name = props.name || "s";
|
|
@@ -4320,7 +4319,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4320
4319
|
}
|
|
4321
4320
|
var TransitionGroup;
|
|
4322
4321
|
var init_dist7 = __esm({
|
|
4323
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4322
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js"() {
|
|
4324
4323
|
init_solid();
|
|
4325
4324
|
init_dist5();
|
|
4326
4325
|
init_dist6();
|
|
@@ -4328,7 +4327,6 @@ var init_dist7 = __esm({
|
|
|
4328
4327
|
const classnames = createClassnames(props);
|
|
4329
4328
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
4330
4329
|
appear: props.appear,
|
|
4331
|
-
exitMethod: "keep-index",
|
|
4332
4330
|
onChange({ added, removed, finishRemoved, list }) {
|
|
4333
4331
|
const classes = classnames();
|
|
4334
4332
|
for (const el of added) {
|
|
@@ -4374,7 +4372,7 @@ var init_dist7 = __esm({
|
|
|
4374
4372
|
}
|
|
4375
4373
|
});
|
|
4376
4374
|
|
|
4377
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4375
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4378
4376
|
function dispose2(list) {
|
|
4379
4377
|
for (const o2 of list)
|
|
4380
4378
|
o2.dispose();
|
|
@@ -4466,20 +4464,20 @@ function Key(props) {
|
|
|
4466
4464
|
() => props.each,
|
|
4467
4465
|
typeof by === "function" ? by : (v) => v[by],
|
|
4468
4466
|
props.children,
|
|
4469
|
-
"fallback" in props ? { fallback: () => props.fallback } :
|
|
4467
|
+
"fallback" in props ? { fallback: () => props.fallback } : void 0
|
|
4470
4468
|
)
|
|
4471
4469
|
);
|
|
4472
4470
|
}
|
|
4473
4471
|
var FALLBACK2;
|
|
4474
4472
|
var init_dist8 = __esm({
|
|
4475
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4473
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4476
4474
|
init_solid();
|
|
4477
4475
|
init_web();
|
|
4478
4476
|
FALLBACK2 = Symbol("fallback");
|
|
4479
4477
|
}
|
|
4480
4478
|
});
|
|
4481
4479
|
|
|
4482
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4480
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4483
4481
|
function makeEventListener(target, type, handler, options) {
|
|
4484
4482
|
target.addEventListener(type, handler, options);
|
|
4485
4483
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4499,14 +4497,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4499
4497
|
createRenderEffect(attachListeners);
|
|
4500
4498
|
}
|
|
4501
4499
|
var init_dist9 = __esm({
|
|
4502
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4500
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4503
4501
|
init_index();
|
|
4504
4502
|
init_solid();
|
|
4505
4503
|
init_web();
|
|
4506
4504
|
}
|
|
4507
4505
|
});
|
|
4508
4506
|
|
|
4509
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4507
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4510
4508
|
function makeResizeObserver(callback, options) {
|
|
4511
4509
|
if (isServer) {
|
|
4512
4510
|
return { observe: noop, unobserve: noop };
|
|
@@ -4537,14 +4535,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4537
4535
|
}, []);
|
|
4538
4536
|
}
|
|
4539
4537
|
var init_dist10 = __esm({
|
|
4540
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4538
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4541
4539
|
init_index();
|
|
4542
4540
|
init_solid();
|
|
4543
4541
|
init_web();
|
|
4544
4542
|
}
|
|
4545
4543
|
});
|
|
4546
4544
|
|
|
4547
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4545
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js
|
|
4548
4546
|
function stringStyleToObject(style2) {
|
|
4549
4547
|
const object = {};
|
|
4550
4548
|
let match;
|
|
@@ -4565,12 +4563,12 @@ function combineStyle(a2, b2) {
|
|
|
4565
4563
|
}
|
|
4566
4564
|
var extractCSSregex;
|
|
4567
4565
|
var init_dist11 = __esm({
|
|
4568
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4566
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4569
4567
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4570
4568
|
}
|
|
4571
4569
|
});
|
|
4572
4570
|
|
|
4573
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4571
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js
|
|
4574
4572
|
function addItemToArray(array, item, index = -1) {
|
|
4575
4573
|
if (!(index in array)) {
|
|
4576
4574
|
return [...array, item];
|
|
@@ -4956,7 +4954,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4956
4954
|
}
|
|
4957
4955
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4958
4956
|
var init_dist12 = __esm({
|
|
4959
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4957
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4960
4958
|
init_solid();
|
|
4961
4959
|
init_dist9();
|
|
4962
4960
|
init_dist6();
|
|
@@ -5021,19 +5019,19 @@ var init_dist12 = __esm({
|
|
|
5021
5019
|
}
|
|
5022
5020
|
});
|
|
5023
5021
|
|
|
5024
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5022
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5025
5023
|
function createRegisterId(setter) {
|
|
5026
5024
|
return (id) => {
|
|
5027
5025
|
setter(id);
|
|
5028
|
-
return () => setter(
|
|
5026
|
+
return () => setter(void 0);
|
|
5029
5027
|
};
|
|
5030
5028
|
}
|
|
5031
5029
|
var init_E4R2EMM4 = __esm({
|
|
5032
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5030
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5033
5031
|
}
|
|
5034
5032
|
});
|
|
5035
5033
|
|
|
5036
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5034
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5037
5035
|
function createTagName(ref, fallback) {
|
|
5038
5036
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5039
5037
|
createEffect(() => {
|
|
@@ -5042,16 +5040,16 @@ function createTagName(ref, fallback) {
|
|
|
5042
5040
|
return tagName;
|
|
5043
5041
|
}
|
|
5044
5042
|
function stringOrUndefined(value) {
|
|
5045
|
-
return isString2(value) ? value :
|
|
5043
|
+
return isString2(value) ? value : void 0;
|
|
5046
5044
|
}
|
|
5047
5045
|
var init_ET5T45DO = __esm({
|
|
5048
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5046
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5049
5047
|
init_dist12();
|
|
5050
5048
|
init_solid();
|
|
5051
5049
|
}
|
|
5052
5050
|
});
|
|
5053
5051
|
|
|
5054
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5052
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5055
5053
|
function Polymorphic(props) {
|
|
5056
5054
|
const [local, others] = splitProps(props, ["as"]);
|
|
5057
5055
|
if (!local.as) {
|
|
@@ -5067,13 +5065,13 @@ function Polymorphic(props) {
|
|
|
5067
5065
|
);
|
|
5068
5066
|
}
|
|
5069
5067
|
var init_Y7B2NEO = __esm({
|
|
5070
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5068
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5071
5069
|
init_web();
|
|
5072
5070
|
init_solid();
|
|
5073
5071
|
}
|
|
5074
5072
|
});
|
|
5075
5073
|
|
|
5076
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5074
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5077
5075
|
function createFormControl(props) {
|
|
5078
5076
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5079
5077
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5089,8 +5087,8 @@ function createFormControl(props) {
|
|
|
5089
5087
|
fieldAriaLabelledBy,
|
|
5090
5088
|
labelId(),
|
|
5091
5089
|
// If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
|
|
5092
|
-
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 :
|
|
5093
|
-
].filter(Boolean).join(" ") ||
|
|
5090
|
+
hasAriaLabelledBy && fieldAriaLabel != null ? fieldId2 : void 0
|
|
5091
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5094
5092
|
};
|
|
5095
5093
|
const getAriaDescribedBy = (fieldAriaDescribedBy) => {
|
|
5096
5094
|
return [
|
|
@@ -5099,14 +5097,14 @@ function createFormControl(props) {
|
|
|
5099
5097
|
// See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
|
|
5100
5098
|
errorMessageId(),
|
|
5101
5099
|
fieldAriaDescribedBy
|
|
5102
|
-
].filter(Boolean).join(" ") ||
|
|
5100
|
+
].filter(Boolean).join(" ") || void 0;
|
|
5103
5101
|
};
|
|
5104
5102
|
const dataset = createMemo(() => ({
|
|
5105
|
-
"data-valid": access(mergedProps.validationState) === "valid" ? "" :
|
|
5106
|
-
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" :
|
|
5107
|
-
"data-required": access(mergedProps.required) ? "" :
|
|
5108
|
-
"data-disabled": access(mergedProps.disabled) ? "" :
|
|
5109
|
-
"data-readonly": access(mergedProps.readOnly) ? "" :
|
|
5103
|
+
"data-valid": access(mergedProps.validationState) === "valid" ? "" : void 0,
|
|
5104
|
+
"data-invalid": access(mergedProps.validationState) === "invalid" ? "" : void 0,
|
|
5105
|
+
"data-required": access(mergedProps.required) ? "" : void 0,
|
|
5106
|
+
"data-disabled": access(mergedProps.disabled) ? "" : void 0,
|
|
5107
|
+
"data-readonly": access(mergedProps.readOnly) ? "" : void 0
|
|
5110
5108
|
}));
|
|
5111
5109
|
const formControlContext = {
|
|
5112
5110
|
name: () => access(mergedProps.name) ?? access(mergedProps.id),
|
|
@@ -5133,7 +5131,7 @@ function createFormControl(props) {
|
|
|
5133
5131
|
}
|
|
5134
5132
|
function useFormControlContext() {
|
|
5135
5133
|
const context = useContext(FormControlContext);
|
|
5136
|
-
if (context ===
|
|
5134
|
+
if (context === void 0) {
|
|
5137
5135
|
throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
|
|
5138
5136
|
}
|
|
5139
5137
|
return context;
|
|
@@ -5188,13 +5186,13 @@ function FormControlLabel(props) {
|
|
|
5188
5186
|
typeof _ref$ === "function" && _ref$(r$);
|
|
5189
5187
|
},
|
|
5190
5188
|
get ["for"]() {
|
|
5191
|
-
return createMemo(() => tagName() === "label")() ? context.fieldId() :
|
|
5189
|
+
return createMemo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
5192
5190
|
}
|
|
5193
5191
|
}, () => context.dataset(), others));
|
|
5194
5192
|
}
|
|
5195
5193
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5196
5194
|
var init_Q2DJLZQE = __esm({
|
|
5197
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5195
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5198
5196
|
init_E4R2EMM4();
|
|
5199
5197
|
init_ET5T45DO();
|
|
5200
5198
|
init_Y7B2NEO();
|
|
@@ -5206,7 +5204,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5206
5204
|
}
|
|
5207
5205
|
});
|
|
5208
5206
|
|
|
5209
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5207
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5210
5208
|
function createFormResetListener(element, handler) {
|
|
5211
5209
|
createEffect(
|
|
5212
5210
|
on(element, (element2) => {
|
|
@@ -5231,15 +5229,15 @@ function isFormElement(element) {
|
|
|
5231
5229
|
return element.matches("textarea, input, select, button");
|
|
5232
5230
|
}
|
|
5233
5231
|
var init_ANN3A2QM = __esm({
|
|
5234
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5232
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5235
5233
|
init_solid();
|
|
5236
5234
|
}
|
|
5237
5235
|
});
|
|
5238
5236
|
|
|
5239
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5237
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5240
5238
|
function createControllableSignal(props) {
|
|
5241
5239
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5242
|
-
const isControlled = createMemo(() => props.value?.() !==
|
|
5240
|
+
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
5243
5241
|
const value = createMemo(() => isControlled() ? props.value?.() : _value());
|
|
5244
5242
|
const setValue = (next) => {
|
|
5245
5243
|
untrack(() => {
|
|
@@ -5266,13 +5264,13 @@ function createControllableArraySignal(props) {
|
|
|
5266
5264
|
return [value, setValue];
|
|
5267
5265
|
}
|
|
5268
5266
|
var init_BLN63FDC = __esm({
|
|
5269
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5267
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5270
5268
|
init_dist12();
|
|
5271
5269
|
init_solid();
|
|
5272
5270
|
}
|
|
5273
5271
|
});
|
|
5274
5272
|
|
|
5275
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5273
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5276
5274
|
function createToggleState(props = {}) {
|
|
5277
5275
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5278
5276
|
value: () => access(props.isSelected),
|
|
@@ -5296,16 +5294,16 @@ function createToggleState(props = {}) {
|
|
|
5296
5294
|
};
|
|
5297
5295
|
}
|
|
5298
5296
|
var init_YGDQXQ2B = __esm({
|
|
5299
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5297
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5300
5298
|
init_BLN63FDC();
|
|
5301
5299
|
init_dist12();
|
|
5302
5300
|
}
|
|
5303
5301
|
});
|
|
5304
5302
|
|
|
5305
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5303
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5306
5304
|
var __defProp2, __export2;
|
|
5307
5305
|
var init_ZKAE4VZ = __esm({
|
|
5308
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5306
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5309
5307
|
__defProp2 = Object.defineProperty;
|
|
5310
5308
|
__export2 = (target, all) => {
|
|
5311
5309
|
for (var name in all)
|
|
@@ -5314,13 +5312,13 @@ var init_ZKAE4VZ = __esm({
|
|
|
5314
5312
|
}
|
|
5315
5313
|
});
|
|
5316
5314
|
|
|
5317
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5315
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5318
5316
|
function useOptionalDomCollectionContext() {
|
|
5319
5317
|
return useContext(DomCollectionContext);
|
|
5320
5318
|
}
|
|
5321
5319
|
function useDomCollectionContext() {
|
|
5322
5320
|
const context = useOptionalDomCollectionContext();
|
|
5323
|
-
if (context ===
|
|
5321
|
+
if (context === void 0) {
|
|
5324
5322
|
throw new Error(
|
|
5325
5323
|
"[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component"
|
|
5326
5324
|
);
|
|
@@ -5478,7 +5476,7 @@ function createDomCollectionItem(props) {
|
|
|
5478
5476
|
}
|
|
5479
5477
|
var DomCollectionContext;
|
|
5480
5478
|
var init_CVNMTYF = __esm({
|
|
5481
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5479
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5482
5480
|
init_BLN63FDC();
|
|
5483
5481
|
init_dist12();
|
|
5484
5482
|
init_solid();
|
|
@@ -5486,7 +5484,7 @@ var init_CVNMTYF = __esm({
|
|
|
5486
5484
|
}
|
|
5487
5485
|
});
|
|
5488
5486
|
|
|
5489
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5487
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5490
5488
|
function buildNodes(params) {
|
|
5491
5489
|
let index = params.startIndex ?? 0;
|
|
5492
5490
|
const level = params.startLevel ?? 0;
|
|
@@ -5516,7 +5514,7 @@ function buildNodes(params) {
|
|
|
5516
5514
|
};
|
|
5517
5515
|
const getSectionChildren = (data) => {
|
|
5518
5516
|
if (data == null) {
|
|
5519
|
-
return
|
|
5517
|
+
return void 0;
|
|
5520
5518
|
}
|
|
5521
5519
|
if (isString2(params.getSectionChildren)) {
|
|
5522
5520
|
return data[params.getSectionChildren];
|
|
@@ -5595,13 +5593,13 @@ function createCollection(props, deps = []) {
|
|
|
5595
5593
|
});
|
|
5596
5594
|
}
|
|
5597
5595
|
var init_JMA2RWU6 = __esm({
|
|
5598
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5596
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5599
5597
|
init_dist12();
|
|
5600
5598
|
init_solid();
|
|
5601
5599
|
}
|
|
5602
5600
|
});
|
|
5603
5601
|
|
|
5604
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5602
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5605
5603
|
function isRTL(locale) {
|
|
5606
5604
|
if (Intl.Locale) {
|
|
5607
5605
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5661,7 +5659,7 @@ function useLocale() {
|
|
|
5661
5659
|
function createCollator(options) {
|
|
5662
5660
|
const { locale } = useLocale();
|
|
5663
5661
|
const cacheKey = createMemo(() => {
|
|
5664
|
-
return locale() + (Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() );
|
|
5662
|
+
return locale() + (options ? Object.entries(options).sort((a2, b2) => a2[0] < b2[0] ? -1 : 1).join() : "");
|
|
5665
5663
|
});
|
|
5666
5664
|
return createMemo(() => {
|
|
5667
5665
|
const key = cacheKey();
|
|
@@ -5678,7 +5676,7 @@ function createCollator(options) {
|
|
|
5678
5676
|
}
|
|
5679
5677
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5680
5678
|
var init_XHJPQEZP = __esm({
|
|
5681
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5679
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5682
5680
|
init_solid();
|
|
5683
5681
|
init_web();
|
|
5684
5682
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5723,7 +5721,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5723
5721
|
}
|
|
5724
5722
|
});
|
|
5725
5723
|
|
|
5726
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5724
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5727
5725
|
function createControllableSelectionSignal(props) {
|
|
5728
5726
|
const [_value, setValue] = createControllableSignal(props);
|
|
5729
5727
|
const value = () => _value() ?? new Selection();
|
|
@@ -5868,7 +5866,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
5868
5866
|
const { direction } = useLocale();
|
|
5869
5867
|
let scrollPos = { top: 0, left: 0 };
|
|
5870
5868
|
createEventListener(
|
|
5871
|
-
() => !access(mergedProps.isVirtualized) ? finalScrollRef() :
|
|
5869
|
+
() => !access(mergedProps.isVirtualized) ? finalScrollRef() : void 0,
|
|
5872
5870
|
"scroll",
|
|
5873
5871
|
() => {
|
|
5874
5872
|
const scrollEl = finalScrollRef();
|
|
@@ -6172,7 +6170,7 @@ function createSelectableCollection(props, ref, scrollRef) {
|
|
|
6172
6170
|
);
|
|
6173
6171
|
const tabIndex = createMemo(() => {
|
|
6174
6172
|
if (access(mergedProps.shouldUseVirtualFocus)) {
|
|
6175
|
-
return
|
|
6173
|
+
return void 0;
|
|
6176
6174
|
}
|
|
6177
6175
|
return access(mergedProps.selectionManager).focusedKey() == null ? 0 : -1;
|
|
6178
6176
|
});
|
|
@@ -6261,12 +6259,12 @@ function createSelectableItem(props, ref) {
|
|
|
6261
6259
|
};
|
|
6262
6260
|
const tabIndex = createMemo(() => {
|
|
6263
6261
|
if (shouldUseVirtualFocus() || isDisabled()) {
|
|
6264
|
-
return
|
|
6262
|
+
return void 0;
|
|
6265
6263
|
}
|
|
6266
6264
|
return key() === manager().focusedKey() ? 0 : -1;
|
|
6267
6265
|
});
|
|
6268
6266
|
const dataKey = createMemo(() => {
|
|
6269
|
-
return access(props.virtualized) ?
|
|
6267
|
+
return access(props.virtualized) ? void 0 : key();
|
|
6270
6268
|
});
|
|
6271
6269
|
createEffect(
|
|
6272
6270
|
on(
|
|
@@ -6322,7 +6320,7 @@ function createListState(props) {
|
|
|
6322
6320
|
createComputed(() => {
|
|
6323
6321
|
const focusedKey = selectionState.focusedKey();
|
|
6324
6322
|
if (focusedKey != null && !collection().getItem(focusedKey)) {
|
|
6325
|
-
selectionState.setFocusedKey(
|
|
6323
|
+
selectionState.setFocusedKey(void 0);
|
|
6326
6324
|
}
|
|
6327
6325
|
});
|
|
6328
6326
|
return {
|
|
@@ -6332,7 +6330,7 @@ function createListState(props) {
|
|
|
6332
6330
|
}
|
|
6333
6331
|
var Selection, SelectionManager, ListCollection;
|
|
6334
6332
|
var init_H6DSIDEC = __esm({
|
|
6335
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6333
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6336
6334
|
init_JMA2RWU6();
|
|
6337
6335
|
init_XHJPQEZP();
|
|
6338
6336
|
init_BLN63FDC();
|
|
@@ -6676,13 +6674,13 @@ var init_H6DSIDEC = __esm({
|
|
|
6676
6674
|
node.prevKey = last.key;
|
|
6677
6675
|
} else {
|
|
6678
6676
|
this.firstKey = key;
|
|
6679
|
-
node.prevKey =
|
|
6677
|
+
node.prevKey = void 0;
|
|
6680
6678
|
}
|
|
6681
6679
|
if (node.type === "item") {
|
|
6682
6680
|
node.index = index++;
|
|
6683
6681
|
}
|
|
6684
6682
|
last = node;
|
|
6685
|
-
last.nextKey =
|
|
6683
|
+
last.nextKey = void 0;
|
|
6686
6684
|
}
|
|
6687
6685
|
this.lastKey = last.key;
|
|
6688
6686
|
}
|
|
@@ -6718,25 +6716,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6718
6716
|
}
|
|
6719
6717
|
});
|
|
6720
6718
|
|
|
6721
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6719
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6722
6720
|
var access2;
|
|
6723
6721
|
var init_ZV6G25TT = __esm({
|
|
6724
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6722
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6725
6723
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6726
6724
|
}
|
|
6727
6725
|
});
|
|
6728
6726
|
|
|
6729
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6727
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6730
6728
|
var init_reactivity = __esm({
|
|
6731
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6729
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6732
6730
|
init_ZV6G25TT();
|
|
6733
6731
|
}
|
|
6734
6732
|
});
|
|
6735
6733
|
|
|
6736
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6734
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js
|
|
6737
6735
|
var createPresence, presence_default, src_default;
|
|
6738
6736
|
var init_dist13 = __esm({
|
|
6739
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6737
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js"() {
|
|
6740
6738
|
init_reactivity();
|
|
6741
6739
|
init_solid();
|
|
6742
6740
|
createPresence = (props) => {
|
|
@@ -6810,7 +6808,7 @@ var init_dist13 = __esm({
|
|
|
6810
6808
|
}
|
|
6811
6809
|
});
|
|
6812
6810
|
|
|
6813
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6811
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6814
6812
|
function indexOf(node) {
|
|
6815
6813
|
return layers.findIndex((layer) => layer.node === node);
|
|
6816
6814
|
}
|
|
@@ -6871,7 +6869,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6871
6869
|
}
|
|
6872
6870
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6873
6871
|
var init_ZKYDDHM6 = __esm({
|
|
6874
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6872
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6875
6873
|
init_dist12();
|
|
6876
6874
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6877
6875
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6892,7 +6890,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6892
6890
|
}
|
|
6893
6891
|
});
|
|
6894
6892
|
|
|
6895
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6893
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6896
6894
|
function isButton(element) {
|
|
6897
6895
|
const tagName = element.tagName.toLowerCase();
|
|
6898
6896
|
if (tagName === "button") {
|
|
@@ -6933,28 +6931,28 @@ function ButtonRoot(props) {
|
|
|
6933
6931
|
typeof _ref$ === "function" && _ref$(r$);
|
|
6934
6932
|
},
|
|
6935
6933
|
get type() {
|
|
6936
|
-
return isNativeButton() || isNativeInput() ? local.type :
|
|
6934
|
+
return isNativeButton() || isNativeInput() ? local.type : void 0;
|
|
6937
6935
|
},
|
|
6938
6936
|
get role() {
|
|
6939
|
-
return !isNativeButton() && !isNativeLink() ? "button" :
|
|
6937
|
+
return !isNativeButton() && !isNativeLink() ? "button" : void 0;
|
|
6940
6938
|
},
|
|
6941
6939
|
get tabIndex() {
|
|
6942
|
-
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 :
|
|
6940
|
+
return !isNativeButton() && !isNativeLink() && !local.disabled ? 0 : void 0;
|
|
6943
6941
|
},
|
|
6944
6942
|
get disabled() {
|
|
6945
|
-
return isNativeButton() || isNativeInput() ? local.disabled :
|
|
6943
|
+
return isNativeButton() || isNativeInput() ? local.disabled : void 0;
|
|
6946
6944
|
},
|
|
6947
6945
|
get ["aria-disabled"]() {
|
|
6948
|
-
return !isNativeButton() && !isNativeInput() && local.disabled ? true :
|
|
6946
|
+
return !isNativeButton() && !isNativeInput() && local.disabled ? true : void 0;
|
|
6949
6947
|
},
|
|
6950
6948
|
get ["data-disabled"]() {
|
|
6951
|
-
return local.disabled ? "" :
|
|
6949
|
+
return local.disabled ? "" : void 0;
|
|
6952
6950
|
}
|
|
6953
6951
|
}, others));
|
|
6954
6952
|
}
|
|
6955
6953
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6956
6954
|
var init_OVKXYPU = __esm({
|
|
6957
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6955
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6958
6956
|
init_ET5T45DO();
|
|
6959
6957
|
init_Y7B2NEO();
|
|
6960
6958
|
init_ZKAE4VZ();
|
|
@@ -7004,7 +7002,7 @@ function getAlignmentAxis(placement) {
|
|
|
7004
7002
|
return getOppositeAxis(getSideAxis(placement));
|
|
7005
7003
|
}
|
|
7006
7004
|
function getAlignmentSides(placement, rects, rtl) {
|
|
7007
|
-
if (rtl ===
|
|
7005
|
+
if (rtl === void 0) {
|
|
7008
7006
|
rtl = false;
|
|
7009
7007
|
}
|
|
7010
7008
|
const alignment = getAlignment(placement);
|
|
@@ -7173,7 +7171,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
7173
7171
|
}
|
|
7174
7172
|
async function detectOverflow(state, options) {
|
|
7175
7173
|
var _await$platform$isEle;
|
|
7176
|
-
if (options ===
|
|
7174
|
+
if (options === void 0) {
|
|
7177
7175
|
options = {};
|
|
7178
7176
|
}
|
|
7179
7177
|
const {
|
|
@@ -7195,7 +7193,7 @@ async function detectOverflow(state, options) {
|
|
|
7195
7193
|
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
7196
7194
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
7197
7195
|
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
7198
|
-
element: ((_await$platform$isEle = await (platform2.isElement == null ?
|
|
7196
|
+
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
7199
7197
|
boundary,
|
|
7200
7198
|
rootBoundary,
|
|
7201
7199
|
strategy
|
|
@@ -7206,8 +7204,8 @@ async function detectOverflow(state, options) {
|
|
|
7206
7204
|
width: rects.floating.width,
|
|
7207
7205
|
height: rects.floating.height
|
|
7208
7206
|
} : rects.reference;
|
|
7209
|
-
const offsetParent = await (platform2.getOffsetParent == null ?
|
|
7210
|
-
const offsetScale = await (platform2.isElement == null ?
|
|
7207
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
7208
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
7211
7209
|
x: 1,
|
|
7212
7210
|
y: 1
|
|
7213
7211
|
} : {
|
|
@@ -7244,7 +7242,7 @@ async function convertValueToCoords(state, options) {
|
|
|
7244
7242
|
platform: platform2,
|
|
7245
7243
|
elements
|
|
7246
7244
|
} = state;
|
|
7247
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7245
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7248
7246
|
const side = getSide(placement);
|
|
7249
7247
|
const alignment = getAlignment(placement);
|
|
7250
7248
|
const isVertical = getSideAxis(placement) === "y";
|
|
@@ -7289,7 +7287,7 @@ var init_floating_ui_core = __esm({
|
|
|
7289
7287
|
platform: platform2
|
|
7290
7288
|
} = config;
|
|
7291
7289
|
const validMiddleware = middleware.filter(Boolean);
|
|
7292
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7290
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
7293
7291
|
let rects = await platform2.getElementRects({
|
|
7294
7292
|
reference,
|
|
7295
7293
|
floating,
|
|
@@ -7398,9 +7396,9 @@ var init_floating_ui_core = __esm({
|
|
|
7398
7396
|
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
7399
7397
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
7400
7398
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
7401
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ?
|
|
7399
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
7402
7400
|
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
7403
|
-
if (!clientSize || !await (platform2.isElement == null ?
|
|
7401
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
7404
7402
|
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
7405
7403
|
}
|
|
7406
7404
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
@@ -7427,7 +7425,7 @@ var init_floating_ui_core = __esm({
|
|
|
7427
7425
|
}
|
|
7428
7426
|
});
|
|
7429
7427
|
flip = function(options) {
|
|
7430
|
-
if (options ===
|
|
7428
|
+
if (options === void 0) {
|
|
7431
7429
|
options = {};
|
|
7432
7430
|
}
|
|
7433
7431
|
return {
|
|
@@ -7458,7 +7456,7 @@ var init_floating_ui_core = __esm({
|
|
|
7458
7456
|
const side = getSide(placement);
|
|
7459
7457
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
7460
7458
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
7461
|
-
const rtl = await (platform2.isRTL == null ?
|
|
7459
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
7462
7460
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
7463
7461
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
7464
7462
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -7467,7 +7465,7 @@ var init_floating_ui_core = __esm({
|
|
|
7467
7465
|
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
7468
7466
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
7469
7467
|
const overflows = [];
|
|
7470
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
7468
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
7471
7469
|
if (checkMainAxis) {
|
|
7472
7470
|
overflows.push(overflow[side]);
|
|
7473
7471
|
}
|
|
@@ -7481,7 +7479,7 @@ var init_floating_ui_core = __esm({
|
|
|
7481
7479
|
}];
|
|
7482
7480
|
if (!overflows.every((side2) => side2 <= 0)) {
|
|
7483
7481
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
7484
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
7482
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
7485
7483
|
const nextPlacement = placements2[nextIndex];
|
|
7486
7484
|
if (nextPlacement) {
|
|
7487
7485
|
return {
|
|
@@ -7494,7 +7492,7 @@ var init_floating_ui_core = __esm({
|
|
|
7494
7492
|
}
|
|
7495
7493
|
};
|
|
7496
7494
|
}
|
|
7497
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ?
|
|
7495
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
7498
7496
|
if (!resetPlacement) {
|
|
7499
7497
|
switch (fallbackStrategy) {
|
|
7500
7498
|
case "bestFit": {
|
|
@@ -7507,7 +7505,7 @@ var init_floating_ui_core = __esm({
|
|
|
7507
7505
|
currentSideAxis === "y";
|
|
7508
7506
|
}
|
|
7509
7507
|
return true;
|
|
7510
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ?
|
|
7508
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
7511
7509
|
if (placement2) {
|
|
7512
7510
|
resetPlacement = placement2;
|
|
7513
7511
|
}
|
|
@@ -7531,7 +7529,7 @@ var init_floating_ui_core = __esm({
|
|
|
7531
7529
|
};
|
|
7532
7530
|
};
|
|
7533
7531
|
hide = function(options) {
|
|
7534
|
-
if (options ===
|
|
7532
|
+
if (options === void 0) {
|
|
7535
7533
|
options = {};
|
|
7536
7534
|
}
|
|
7537
7535
|
return {
|
|
@@ -7580,7 +7578,7 @@ var init_floating_ui_core = __esm({
|
|
|
7580
7578
|
};
|
|
7581
7579
|
};
|
|
7582
7580
|
offset = function(options) {
|
|
7583
|
-
if (options ===
|
|
7581
|
+
if (options === void 0) {
|
|
7584
7582
|
options = 0;
|
|
7585
7583
|
}
|
|
7586
7584
|
return {
|
|
@@ -7595,7 +7593,7 @@ var init_floating_ui_core = __esm({
|
|
|
7595
7593
|
middlewareData
|
|
7596
7594
|
} = state;
|
|
7597
7595
|
const diffCoords = await convertValueToCoords(state, options);
|
|
7598
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
7596
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
7599
7597
|
return {};
|
|
7600
7598
|
}
|
|
7601
7599
|
return {
|
|
@@ -7610,7 +7608,7 @@ var init_floating_ui_core = __esm({
|
|
|
7610
7608
|
};
|
|
7611
7609
|
};
|
|
7612
7610
|
shift = function(options) {
|
|
7613
|
-
if (options ===
|
|
7611
|
+
if (options === void 0) {
|
|
7614
7612
|
options = {};
|
|
7615
7613
|
}
|
|
7616
7614
|
return {
|
|
@@ -7678,7 +7676,7 @@ var init_floating_ui_core = __esm({
|
|
|
7678
7676
|
};
|
|
7679
7677
|
};
|
|
7680
7678
|
size = function(options) {
|
|
7681
|
-
if (options ===
|
|
7679
|
+
if (options === void 0) {
|
|
7682
7680
|
options = {};
|
|
7683
7681
|
}
|
|
7684
7682
|
return {
|
|
@@ -7708,7 +7706,7 @@ var init_floating_ui_core = __esm({
|
|
|
7708
7706
|
let widthSide;
|
|
7709
7707
|
if (side === "top" || side === "bottom") {
|
|
7710
7708
|
heightSide = side;
|
|
7711
|
-
widthSide = alignment === (await (platform2.isRTL == null ?
|
|
7709
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
7712
7710
|
} else {
|
|
7713
7711
|
widthSide = side;
|
|
7714
7712
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
@@ -7765,11 +7763,11 @@ function getNodeName(node) {
|
|
|
7765
7763
|
}
|
|
7766
7764
|
function getWindow2(node) {
|
|
7767
7765
|
var _node$ownerDocument;
|
|
7768
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
7766
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
7769
7767
|
}
|
|
7770
7768
|
function getDocumentElement(node) {
|
|
7771
7769
|
var _ref;
|
|
7772
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
7770
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
7773
7771
|
}
|
|
7774
7772
|
function isNode(value) {
|
|
7775
7773
|
return value instanceof Node || value instanceof getWindow2(value).Node;
|
|
@@ -7872,14 +7870,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
7872
7870
|
}
|
|
7873
7871
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
7874
7872
|
var _node$ownerDocument2;
|
|
7875
|
-
if (list ===
|
|
7873
|
+
if (list === void 0) {
|
|
7876
7874
|
list = [];
|
|
7877
7875
|
}
|
|
7878
|
-
if (traverseIframes ===
|
|
7876
|
+
if (traverseIframes === void 0) {
|
|
7879
7877
|
traverseIframes = true;
|
|
7880
7878
|
}
|
|
7881
7879
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
7882
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
7880
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
7883
7881
|
const win = getWindow2(scrollableAncestor);
|
|
7884
7882
|
if (isBody) {
|
|
7885
7883
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
@@ -7948,7 +7946,7 @@ function getVisualOffsets(element) {
|
|
|
7948
7946
|
};
|
|
7949
7947
|
}
|
|
7950
7948
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
7951
|
-
if (isFixed ===
|
|
7949
|
+
if (isFixed === void 0) {
|
|
7952
7950
|
isFixed = false;
|
|
7953
7951
|
}
|
|
7954
7952
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow2(element)) {
|
|
@@ -7957,10 +7955,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
7957
7955
|
return isFixed;
|
|
7958
7956
|
}
|
|
7959
7957
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
7960
|
-
if (includeScale ===
|
|
7958
|
+
if (includeScale === void 0) {
|
|
7961
7959
|
includeScale = false;
|
|
7962
7960
|
}
|
|
7963
|
-
if (isFixedStrategy ===
|
|
7961
|
+
if (isFixedStrategy === void 0) {
|
|
7964
7962
|
isFixedStrategy = false;
|
|
7965
7963
|
}
|
|
7966
7964
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -8277,10 +8275,10 @@ function observeMove(element, onMove) {
|
|
|
8277
8275
|
io = null;
|
|
8278
8276
|
}
|
|
8279
8277
|
function refresh(skip, threshold) {
|
|
8280
|
-
if (skip ===
|
|
8278
|
+
if (skip === void 0) {
|
|
8281
8279
|
skip = false;
|
|
8282
8280
|
}
|
|
8283
|
-
if (threshold ===
|
|
8281
|
+
if (threshold === void 0) {
|
|
8284
8282
|
threshold = 1;
|
|
8285
8283
|
}
|
|
8286
8284
|
cleanup();
|
|
@@ -8337,7 +8335,7 @@ function observeMove(element, onMove) {
|
|
|
8337
8335
|
return cleanup;
|
|
8338
8336
|
}
|
|
8339
8337
|
function autoUpdate(reference, floating, update, options) {
|
|
8340
|
-
if (options ===
|
|
8338
|
+
if (options === void 0) {
|
|
8341
8339
|
options = {};
|
|
8342
8340
|
}
|
|
8343
8341
|
const {
|
|
@@ -8461,10 +8459,10 @@ var init_floating_ui_dom = __esm({
|
|
|
8461
8459
|
}
|
|
8462
8460
|
});
|
|
8463
8461
|
|
|
8464
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8462
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8465
8463
|
function usePopperContext() {
|
|
8466
8464
|
const context = useContext(PopperContext);
|
|
8467
|
-
if (context ===
|
|
8465
|
+
if (context === void 0) {
|
|
8468
8466
|
throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
|
|
8469
8467
|
}
|
|
8470
8468
|
return context;
|
|
@@ -8634,14 +8632,14 @@ function PopperRoot(props) {
|
|
|
8634
8632
|
const hasAlignment = !!placement.split("-")[1];
|
|
8635
8633
|
return {
|
|
8636
8634
|
mainAxis: finalGutter,
|
|
8637
|
-
crossAxis: !hasAlignment ? mergedProps.shift :
|
|
8635
|
+
crossAxis: !hasAlignment ? mergedProps.shift : void 0,
|
|
8638
8636
|
alignmentAxis: mergedProps.shift
|
|
8639
8637
|
};
|
|
8640
8638
|
})
|
|
8641
8639
|
];
|
|
8642
8640
|
if (mergedProps.flip !== false) {
|
|
8643
|
-
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") :
|
|
8644
|
-
if (fallbackPlacements !==
|
|
8641
|
+
const fallbackPlacements = typeof mergedProps.flip === "string" ? mergedProps.flip.split(" ") : void 0;
|
|
8642
|
+
if (fallbackPlacements !== void 0 && !fallbackPlacements.every(isValidPlacement)) {
|
|
8645
8643
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
8646
8644
|
}
|
|
8647
8645
|
middleware.push(flip2({
|
|
@@ -8766,7 +8764,7 @@ function PopperRoot(props) {
|
|
|
8766
8764
|
}
|
|
8767
8765
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8768
8766
|
var init_X2EKUJ3 = __esm({
|
|
8769
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8767
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8770
8768
|
init_XHJPQEZP();
|
|
8771
8769
|
init_Y7B2NEO();
|
|
8772
8770
|
init_web();
|
|
@@ -8799,7 +8797,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8799
8797
|
}
|
|
8800
8798
|
});
|
|
8801
8799
|
|
|
8802
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8800
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8803
8801
|
function createEscapeKeyDown(props) {
|
|
8804
8802
|
const handleKeyDown = (event) => {
|
|
8805
8803
|
if (event.key === EventKey.Escape) {
|
|
@@ -8821,14 +8819,14 @@ function createEscapeKeyDown(props) {
|
|
|
8821
8819
|
});
|
|
8822
8820
|
}
|
|
8823
8821
|
var init_QEMPLYZX = __esm({
|
|
8824
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8822
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8825
8823
|
init_dist12();
|
|
8826
8824
|
init_solid();
|
|
8827
8825
|
init_web();
|
|
8828
8826
|
}
|
|
8829
8827
|
});
|
|
8830
8828
|
|
|
8831
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8829
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8832
8830
|
function createInteractOutside(props, ref) {
|
|
8833
8831
|
let pointerDownTimeoutId;
|
|
8834
8832
|
let clickHandler = noop3;
|
|
@@ -8929,7 +8927,7 @@ function createInteractOutside(props, ref) {
|
|
|
8929
8927
|
}
|
|
8930
8928
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8931
8929
|
var init_QGCMYLTA = __esm({
|
|
8932
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8930
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8933
8931
|
init_ZKYDDHM6();
|
|
8934
8932
|
init_dist12();
|
|
8935
8933
|
init_solid();
|
|
@@ -8939,7 +8937,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8939
8937
|
}
|
|
8940
8938
|
});
|
|
8941
8939
|
|
|
8942
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8940
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8943
8941
|
function useOptionalDismissableLayerContext() {
|
|
8944
8942
|
return useContext(DismissableLayerContext);
|
|
8945
8943
|
}
|
|
@@ -9058,7 +9056,7 @@ function DismissableLayer(props) {
|
|
|
9058
9056
|
}
|
|
9059
9057
|
var DismissableLayerContext;
|
|
9060
9058
|
var init_G7G3PFRJ = __esm({
|
|
9061
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9059
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9062
9060
|
init_QEMPLYZX();
|
|
9063
9061
|
init_QGCMYLTA();
|
|
9064
9062
|
init_ZKYDDHM6();
|
|
@@ -9070,7 +9068,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9070
9068
|
}
|
|
9071
9069
|
});
|
|
9072
9070
|
|
|
9073
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9071
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9074
9072
|
function createDisclosureState(props = {}) {
|
|
9075
9073
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9076
9074
|
value: () => access(props.open),
|
|
@@ -9095,23 +9093,23 @@ function createDisclosureState(props = {}) {
|
|
|
9095
9093
|
};
|
|
9096
9094
|
}
|
|
9097
9095
|
var init_LCANGHD = __esm({
|
|
9098
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9096
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9099
9097
|
init_BLN63FDC();
|
|
9100
9098
|
init_dist12();
|
|
9101
9099
|
}
|
|
9102
9100
|
});
|
|
9103
9101
|
|
|
9104
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9102
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9105
9103
|
function useRadioGroupContext() {
|
|
9106
9104
|
const context = useContext(RadioGroupContext);
|
|
9107
|
-
if (context ===
|
|
9105
|
+
if (context === void 0) {
|
|
9108
9106
|
throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");
|
|
9109
9107
|
}
|
|
9110
9108
|
return context;
|
|
9111
9109
|
}
|
|
9112
9110
|
function useRadioGroupItemContext() {
|
|
9113
9111
|
const context = useContext(RadioGroupItemContext);
|
|
9114
|
-
if (context ===
|
|
9112
|
+
if (context === void 0) {
|
|
9115
9113
|
throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");
|
|
9116
9114
|
}
|
|
9117
9115
|
return context;
|
|
@@ -9143,8 +9141,8 @@ function RadioGroupItem(props) {
|
|
|
9143
9141
|
};
|
|
9144
9142
|
const dataset = createMemo(() => ({
|
|
9145
9143
|
...formControlContext.dataset(),
|
|
9146
|
-
"data-disabled": isDisabled() ? "" :
|
|
9147
|
-
"data-checked": isSelected() ? "" :
|
|
9144
|
+
"data-disabled": isDisabled() ? "" : void 0,
|
|
9145
|
+
"data-checked": isSelected() ? "" : void 0
|
|
9148
9146
|
}));
|
|
9149
9147
|
const context = {
|
|
9150
9148
|
value: () => local.value,
|
|
@@ -9249,11 +9247,11 @@ function RadioGroupItemInput(props) {
|
|
|
9249
9247
|
local["aria-labelledby"],
|
|
9250
9248
|
radioContext.labelId(),
|
|
9251
9249
|
// If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
|
|
9252
|
-
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id :
|
|
9253
|
-
].filter(Boolean).join(" ") ||
|
|
9250
|
+
local["aria-labelledby"] != null && others["aria-label"] != null ? others.id : void 0
|
|
9251
|
+
].filter(Boolean).join(" ") || void 0;
|
|
9254
9252
|
};
|
|
9255
9253
|
const ariaDescribedBy = () => {
|
|
9256
|
-
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") ||
|
|
9254
|
+
return [local["aria-describedby"], radioContext.descriptionId(), radioGroupContext.ariaDescribedBy()].filter(Boolean).join(" ") || void 0;
|
|
9257
9255
|
};
|
|
9258
9256
|
const [isInternalChangeEvent, setIsInternalChangeEvent] = createSignal(false);
|
|
9259
9257
|
const onChange = (e2) => {
|
|
@@ -9408,16 +9406,16 @@ function RadioGroupRoot(props) {
|
|
|
9408
9406
|
return access(formControlProps.id);
|
|
9409
9407
|
},
|
|
9410
9408
|
get ["aria-invalid"]() {
|
|
9411
|
-
return formControlContext.validationState() === "invalid" ||
|
|
9409
|
+
return formControlContext.validationState() === "invalid" || void 0;
|
|
9412
9410
|
},
|
|
9413
9411
|
get ["aria-required"]() {
|
|
9414
|
-
return formControlContext.isRequired() ||
|
|
9412
|
+
return formControlContext.isRequired() || void 0;
|
|
9415
9413
|
},
|
|
9416
9414
|
get ["aria-disabled"]() {
|
|
9417
|
-
return formControlContext.isDisabled() ||
|
|
9415
|
+
return formControlContext.isDisabled() || void 0;
|
|
9418
9416
|
},
|
|
9419
9417
|
get ["aria-readonly"]() {
|
|
9420
|
-
return formControlContext.isReadOnly() ||
|
|
9418
|
+
return formControlContext.isReadOnly() || void 0;
|
|
9421
9419
|
},
|
|
9422
9420
|
get ["aria-orientation"]() {
|
|
9423
9421
|
return local.orientation;
|
|
@@ -9436,7 +9434,7 @@ function RadioGroupRoot(props) {
|
|
|
9436
9434
|
}
|
|
9437
9435
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9438
9436
|
var init_Q2BOFK7I = __esm({
|
|
9439
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9437
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9440
9438
|
init_Q2DJLZQE();
|
|
9441
9439
|
init_ANN3A2QM();
|
|
9442
9440
|
init_E4R2EMM4();
|
|
@@ -9478,7 +9476,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9478
9476
|
}
|
|
9479
9477
|
});
|
|
9480
9478
|
|
|
9481
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9479
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9482
9480
|
function createSelectableList(props, ref, scrollRef) {
|
|
9483
9481
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9484
9482
|
const delegate = createMemo(() => {
|
|
@@ -9508,7 +9506,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9508
9506
|
}
|
|
9509
9507
|
var ListKeyboardDelegate;
|
|
9510
9508
|
var init_GLKC2QFF = __esm({
|
|
9511
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9509
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9512
9510
|
init_H6DSIDEC();
|
|
9513
9511
|
init_XHJPQEZP();
|
|
9514
9512
|
init_dist12();
|
|
@@ -9622,7 +9620,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9622
9620
|
}
|
|
9623
9621
|
});
|
|
9624
9622
|
|
|
9625
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9623
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9626
9624
|
function createFocusScope(props, ref) {
|
|
9627
9625
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9628
9626
|
const focusScope = {
|
|
@@ -9800,7 +9798,7 @@ function createFocusScope(props, ref) {
|
|
|
9800
9798
|
}
|
|
9801
9799
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9802
9800
|
var init_ISKHZMHS = __esm({
|
|
9803
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9801
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9804
9802
|
init_ZKYDDHM6();
|
|
9805
9803
|
init_dist12();
|
|
9806
9804
|
init_solid();
|
|
@@ -9832,15 +9830,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9832
9830
|
}
|
|
9833
9831
|
});
|
|
9834
9832
|
|
|
9835
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9833
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9836
9834
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9837
9835
|
var init_YA7DCYMB = __esm({
|
|
9838
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9836
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9839
9837
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9840
9838
|
}
|
|
9841
9839
|
});
|
|
9842
9840
|
|
|
9843
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9841
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9844
9842
|
function createHideOutside(props) {
|
|
9845
9843
|
createEffect(() => {
|
|
9846
9844
|
if (access(props.isDisabled)) {
|
|
@@ -9959,7 +9957,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9959
9957
|
}
|
|
9960
9958
|
var refCountMap, observerStack;
|
|
9961
9959
|
var init_TZGE2AQH = __esm({
|
|
9962
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9960
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9963
9961
|
init_YA7DCYMB();
|
|
9964
9962
|
init_ZKYDDHM6();
|
|
9965
9963
|
init_dist12();
|
|
@@ -9969,10 +9967,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9969
9967
|
}
|
|
9970
9968
|
});
|
|
9971
9969
|
|
|
9972
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9970
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9973
9971
|
var activeStyles, createStyle, style_default;
|
|
9974
9972
|
var init_HD4B7J7A = __esm({
|
|
9975
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9973
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9976
9974
|
init_ZV6G25TT();
|
|
9977
9975
|
init_solid();
|
|
9978
9976
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -10024,17 +10022,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10024
10022
|
}
|
|
10025
10023
|
});
|
|
10026
10024
|
|
|
10027
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10025
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js
|
|
10028
10026
|
var init_style = __esm({
|
|
10029
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10027
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10030
10028
|
init_HD4B7J7A();
|
|
10031
10029
|
}
|
|
10032
10030
|
});
|
|
10033
10031
|
|
|
10034
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10032
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10035
10033
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10036
10034
|
var init_scroll = __esm({
|
|
10037
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
10035
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10038
10036
|
getScrollDimensions = (element, axis) => {
|
|
10039
10037
|
switch (axis) {
|
|
10040
10038
|
case "x":
|
|
@@ -10076,10 +10074,10 @@ var init_scroll = __esm({
|
|
|
10076
10074
|
}
|
|
10077
10075
|
});
|
|
10078
10076
|
|
|
10079
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10077
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js
|
|
10080
10078
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10081
10079
|
var init_dist14 = __esm({
|
|
10082
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
10080
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10083
10081
|
init_reactivity();
|
|
10084
10082
|
init_solid();
|
|
10085
10083
|
init_style();
|
|
@@ -10241,7 +10239,7 @@ var init_dist14 = __esm({
|
|
|
10241
10239
|
const [availableScroll, availableScrollTop] = getScrollAtLocation(
|
|
10242
10240
|
target,
|
|
10243
10241
|
axis,
|
|
10244
|
-
targetInWrapper ? wrapper :
|
|
10242
|
+
targetInWrapper ? wrapper : void 0
|
|
10245
10243
|
);
|
|
10246
10244
|
if (delta > 0 && Math.abs(availableScroll) <= 1) {
|
|
10247
10245
|
return false;
|
|
@@ -10267,27 +10265,27 @@ var init_dist14 = __esm({
|
|
|
10267
10265
|
}
|
|
10268
10266
|
});
|
|
10269
10267
|
|
|
10270
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10268
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10271
10269
|
function useOptionalMenuContext() {
|
|
10272
10270
|
return useContext(MenuContext);
|
|
10273
10271
|
}
|
|
10274
10272
|
function useMenuContext() {
|
|
10275
10273
|
const context = useOptionalMenuContext();
|
|
10276
|
-
if (context ===
|
|
10274
|
+
if (context === void 0) {
|
|
10277
10275
|
throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");
|
|
10278
10276
|
}
|
|
10279
10277
|
return context;
|
|
10280
10278
|
}
|
|
10281
10279
|
function useMenuItemContext() {
|
|
10282
10280
|
const context = useContext(MenuItemContext);
|
|
10283
|
-
if (context ===
|
|
10281
|
+
if (context === void 0) {
|
|
10284
10282
|
throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
|
|
10285
10283
|
}
|
|
10286
10284
|
return context;
|
|
10287
10285
|
}
|
|
10288
10286
|
function useMenuRootContext() {
|
|
10289
10287
|
const context = useContext(MenuRootContext);
|
|
10290
|
-
if (context ===
|
|
10288
|
+
if (context === void 0) {
|
|
10291
10289
|
throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
|
|
10292
10290
|
}
|
|
10293
10291
|
return context;
|
|
@@ -10379,15 +10377,15 @@ function MenuItemBase(props) {
|
|
|
10379
10377
|
return "mixed";
|
|
10380
10378
|
}
|
|
10381
10379
|
if (local.checked == null) {
|
|
10382
|
-
return
|
|
10380
|
+
return void 0;
|
|
10383
10381
|
}
|
|
10384
10382
|
return local.checked;
|
|
10385
10383
|
});
|
|
10386
10384
|
const dataset = createMemo(() => ({
|
|
10387
|
-
"data-indeterminate": local.indeterminate ? "" :
|
|
10388
|
-
"data-checked": local.checked && !local.indeterminate ? "" :
|
|
10389
|
-
"data-disabled": local.disabled ? "" :
|
|
10390
|
-
"data-highlighted": isHighlighted() ? "" :
|
|
10385
|
+
"data-indeterminate": local.indeterminate ? "" : void 0,
|
|
10386
|
+
"data-checked": local.checked && !local.indeterminate ? "" : void 0,
|
|
10387
|
+
"data-disabled": local.disabled ? "" : void 0,
|
|
10388
|
+
"data-highlighted": isHighlighted() ? "" : void 0
|
|
10391
10389
|
}));
|
|
10392
10390
|
const context = {
|
|
10393
10391
|
isChecked: () => local.checked,
|
|
@@ -10486,9 +10484,9 @@ function MenuTrigger(props) {
|
|
|
10486
10484
|
}, props);
|
|
10487
10485
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
|
|
10488
10486
|
let key = () => rootContext.value();
|
|
10489
|
-
if (optionalMenubarContext !==
|
|
10487
|
+
if (optionalMenubarContext !== void 0) {
|
|
10490
10488
|
key = () => rootContext.value() ?? local.id;
|
|
10491
|
-
if (optionalMenubarContext.lastValue() ===
|
|
10489
|
+
if (optionalMenubarContext.lastValue() === void 0)
|
|
10492
10490
|
optionalMenubarContext.setLastValue(key);
|
|
10493
10491
|
}
|
|
10494
10492
|
const tagName = createTagName(() => context.triggerRef(), () => "button");
|
|
@@ -10502,7 +10500,7 @@ function MenuTrigger(props) {
|
|
|
10502
10500
|
context.triggerRef()?.focus();
|
|
10503
10501
|
}));
|
|
10504
10502
|
const handleClick = () => {
|
|
10505
|
-
if (optionalMenubarContext !==
|
|
10503
|
+
if (optionalMenubarContext !== void 0) {
|
|
10506
10504
|
if (!context.isOpen()) {
|
|
10507
10505
|
if (!optionalMenubarContext.autoFocusMenu()) {
|
|
10508
10506
|
optionalMenubarContext.setAutoFocusMenu(true);
|
|
@@ -10558,14 +10556,14 @@ function MenuTrigger(props) {
|
|
|
10558
10556
|
context.open("last");
|
|
10559
10557
|
break;
|
|
10560
10558
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
10561
|
-
if (optionalMenubarContext ===
|
|
10559
|
+
if (optionalMenubarContext === void 0)
|
|
10562
10560
|
break;
|
|
10563
10561
|
e2.stopPropagation();
|
|
10564
10562
|
e2.preventDefault();
|
|
10565
10563
|
optionalMenubarContext.nextMenu();
|
|
10566
10564
|
break;
|
|
10567
10565
|
case MENUBAR_KEYS.previous(direction(), rootContext.orientation()):
|
|
10568
|
-
if (optionalMenubarContext ===
|
|
10566
|
+
if (optionalMenubarContext === void 0)
|
|
10569
10567
|
break;
|
|
10570
10568
|
e2.stopPropagation();
|
|
10571
10569
|
e2.preventDefault();
|
|
@@ -10577,13 +10575,13 @@ function MenuTrigger(props) {
|
|
|
10577
10575
|
callHandler(e2, local.onMouseOver);
|
|
10578
10576
|
if (context.triggerRef()?.dataset.pointerType === "touch")
|
|
10579
10577
|
return;
|
|
10580
|
-
if (!local.disabled && optionalMenubarContext !==
|
|
10578
|
+
if (!local.disabled && optionalMenubarContext !== void 0 && optionalMenubarContext.value() !== void 0) {
|
|
10581
10579
|
optionalMenubarContext.setValue(key);
|
|
10582
10580
|
}
|
|
10583
10581
|
};
|
|
10584
10582
|
const onFocus = (e2) => {
|
|
10585
10583
|
callHandler(e2, local.onFocus);
|
|
10586
|
-
if (optionalMenubarContext !==
|
|
10584
|
+
if (optionalMenubarContext !== void 0 && e2.currentTarget.dataset.pointerType !== "touch")
|
|
10587
10585
|
optionalMenubarContext.setValue(key);
|
|
10588
10586
|
};
|
|
10589
10587
|
createEffect(() => onCleanup(context.registerTriggerId(local.id)));
|
|
@@ -10606,20 +10604,20 @@ function MenuTrigger(props) {
|
|
|
10606
10604
|
return context.isOpen();
|
|
10607
10605
|
},
|
|
10608
10606
|
get ["aria-controls"]() {
|
|
10609
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
10607
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10610
10608
|
},
|
|
10611
10609
|
get ["data-highlighted"]() {
|
|
10612
|
-
return key() !==
|
|
10610
|
+
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
10613
10611
|
},
|
|
10614
10612
|
get tabIndex() {
|
|
10615
|
-
return optionalMenubarContext !==
|
|
10613
|
+
return optionalMenubarContext !== void 0 ? optionalMenubarContext.value() === key() || optionalMenubarContext.lastValue() === key() ? 0 : -1 : void 0;
|
|
10616
10614
|
},
|
|
10617
10615
|
onPointerDown,
|
|
10618
10616
|
onMouseOver,
|
|
10619
10617
|
onClick,
|
|
10620
10618
|
onKeyDown,
|
|
10621
10619
|
onFocus,
|
|
10622
|
-
role: optionalMenubarContext !==
|
|
10620
|
+
role: optionalMenubarContext !== void 0 ? "menuitem" : void 0
|
|
10623
10621
|
}, () => context.dataset(), others));
|
|
10624
10622
|
}
|
|
10625
10623
|
function useOptionalNavigationMenuContext() {
|
|
@@ -10640,7 +10638,7 @@ function MenuContentBase(props) {
|
|
|
10640
10638
|
const [local, others] = splitProps(mergedProps, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
|
|
10641
10639
|
let lastPointerX = 0;
|
|
10642
10640
|
const isRootModalContent = () => {
|
|
10643
|
-
return context.parentMenuContext() == null && optionalMenubarContext ===
|
|
10641
|
+
return context.parentMenuContext() == null && optionalMenubarContext === void 0 && rootContext.isModal();
|
|
10644
10642
|
};
|
|
10645
10643
|
const selectableList = createSelectableList({
|
|
10646
10644
|
selectionManager: context.listState().selectionManager,
|
|
@@ -10655,7 +10653,7 @@ function MenuContentBase(props) {
|
|
|
10655
10653
|
createFocusScope({
|
|
10656
10654
|
trapFocus: () => isRootModalContent() && context.isOpen(),
|
|
10657
10655
|
onMountAutoFocus: (event) => {
|
|
10658
|
-
if (optionalMenubarContext ===
|
|
10656
|
+
if (optionalMenubarContext === void 0)
|
|
10659
10657
|
local.onOpenAutoFocus?.(event);
|
|
10660
10658
|
},
|
|
10661
10659
|
onUnmountAutoFocus: local.onCloseAutoFocus
|
|
@@ -10667,7 +10665,7 @@ function MenuContentBase(props) {
|
|
|
10667
10665
|
if (e2.key === "Tab" && context.isOpen()) {
|
|
10668
10666
|
e2.preventDefault();
|
|
10669
10667
|
}
|
|
10670
|
-
if (optionalMenubarContext !==
|
|
10668
|
+
if (optionalMenubarContext !== void 0) {
|
|
10671
10669
|
if (e2.currentTarget.getAttribute("aria-haspopup") !== "true")
|
|
10672
10670
|
switch (e2.key) {
|
|
10673
10671
|
case MENUBAR_KEYS.next(direction(), rootContext.orientation()):
|
|
@@ -10706,7 +10704,7 @@ function MenuContentBase(props) {
|
|
|
10706
10704
|
return;
|
|
10707
10705
|
}
|
|
10708
10706
|
context.parentMenuContext()?.listState().selectionManager().setFocused(false);
|
|
10709
|
-
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(
|
|
10707
|
+
context.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0);
|
|
10710
10708
|
};
|
|
10711
10709
|
const onPointerMove = (e2) => {
|
|
10712
10710
|
callHandler(e2, local.onPointerMove);
|
|
@@ -10753,7 +10751,7 @@ function MenuContentBase(props) {
|
|
|
10753
10751
|
get children() {
|
|
10754
10752
|
return createComponent(Show, {
|
|
10755
10753
|
get when() {
|
|
10756
|
-
return optionalNavigationMenuContext ===
|
|
10754
|
+
return optionalNavigationMenuContext === void 0 || context.parentMenuContext() != null;
|
|
10757
10755
|
},
|
|
10758
10756
|
get fallback() {
|
|
10759
10757
|
return createComponent(Polymorphic, mergeProps({
|
|
@@ -10810,7 +10808,7 @@ function MenuContent(props) {
|
|
|
10810
10808
|
}
|
|
10811
10809
|
function useMenuGroupContext() {
|
|
10812
10810
|
const context = useContext(MenuGroupContext);
|
|
10813
|
-
if (context ===
|
|
10811
|
+
if (context === void 0) {
|
|
10814
10812
|
throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
|
|
10815
10813
|
}
|
|
10816
10814
|
return context;
|
|
@@ -10931,7 +10929,7 @@ function MenuPortal(props) {
|
|
|
10931
10929
|
}
|
|
10932
10930
|
function useMenuRadioGroupContext() {
|
|
10933
10931
|
const context = useContext(MenuRadioGroupContext);
|
|
10934
|
-
if (context ===
|
|
10932
|
+
if (context === void 0) {
|
|
10935
10933
|
throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
|
|
10936
10934
|
}
|
|
10937
10935
|
return context;
|
|
@@ -11083,7 +11081,7 @@ function Menu(props) {
|
|
|
11083
11081
|
if (content) {
|
|
11084
11082
|
focusWithoutScrolling(content);
|
|
11085
11083
|
listState.selectionManager().setFocused(true);
|
|
11086
|
-
listState.selectionManager().setFocusedKey(
|
|
11084
|
+
listState.selectionManager().setFocusedKey(void 0);
|
|
11087
11085
|
}
|
|
11088
11086
|
};
|
|
11089
11087
|
const focusContent = () => {
|
|
@@ -11137,12 +11135,12 @@ function Menu(props) {
|
|
|
11137
11135
|
});
|
|
11138
11136
|
});
|
|
11139
11137
|
createEffect(() => {
|
|
11140
|
-
if (parentMenuContext !==
|
|
11138
|
+
if (parentMenuContext !== void 0)
|
|
11141
11139
|
return;
|
|
11142
11140
|
optionalMenubarContext?.registerMenu(rootContext.value(), [contentRef(), ...nestedMenus()]);
|
|
11143
11141
|
});
|
|
11144
11142
|
createEffect(() => {
|
|
11145
|
-
if (parentMenuContext !==
|
|
11143
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11146
11144
|
return;
|
|
11147
11145
|
if (optionalMenubarContext.value() === rootContext.value()) {
|
|
11148
11146
|
triggerRef()?.focus();
|
|
@@ -11152,19 +11150,19 @@ function Menu(props) {
|
|
|
11152
11150
|
close();
|
|
11153
11151
|
});
|
|
11154
11152
|
createEffect(() => {
|
|
11155
|
-
if (parentMenuContext !==
|
|
11153
|
+
if (parentMenuContext !== void 0 || optionalMenubarContext === void 0)
|
|
11156
11154
|
return;
|
|
11157
11155
|
if (disclosureState.isOpen())
|
|
11158
11156
|
optionalMenubarContext.setValue(rootContext.value());
|
|
11159
11157
|
});
|
|
11160
11158
|
onCleanup(() => {
|
|
11161
|
-
if (parentMenuContext !==
|
|
11159
|
+
if (parentMenuContext !== void 0)
|
|
11162
11160
|
return;
|
|
11163
11161
|
optionalMenubarContext?.unregisterMenu(rootContext.value());
|
|
11164
11162
|
});
|
|
11165
11163
|
const dataset = createMemo(() => ({
|
|
11166
|
-
"data-expanded": disclosureState.isOpen() ? "" :
|
|
11167
|
-
"data-closed": !disclosureState.isOpen() ? "" :
|
|
11164
|
+
"data-expanded": disclosureState.isOpen() ? "" : void 0,
|
|
11165
|
+
"data-closed": !disclosureState.isOpen() ? "" : void 0
|
|
11168
11166
|
}));
|
|
11169
11167
|
const context = {
|
|
11170
11168
|
dataset,
|
|
@@ -11203,7 +11201,7 @@ function Menu(props) {
|
|
|
11203
11201
|
value: context,
|
|
11204
11202
|
get children() {
|
|
11205
11203
|
return createComponent(Show, {
|
|
11206
|
-
when: optionalNavigationMenuContext ===
|
|
11204
|
+
when: optionalNavigationMenuContext === void 0,
|
|
11207
11205
|
get fallback() {
|
|
11208
11206
|
return others.children;
|
|
11209
11207
|
},
|
|
@@ -11337,7 +11335,7 @@ function MenuSubTrigger(props) {
|
|
|
11337
11335
|
if (!e2.defaultPrevented) {
|
|
11338
11336
|
if (context.listState().selectionManager().isFocused()) {
|
|
11339
11337
|
context.listState().selectionManager().setFocused(false);
|
|
11340
|
-
context.listState().selectionManager().setFocusedKey(
|
|
11338
|
+
context.listState().selectionManager().setFocusedKey(void 0);
|
|
11341
11339
|
}
|
|
11342
11340
|
focusWithoutScrolling(e2.currentTarget);
|
|
11343
11341
|
parentMenuContext?.listState().selectionManager().setFocused(true);
|
|
@@ -11384,7 +11382,7 @@ function MenuSubTrigger(props) {
|
|
|
11384
11382
|
e2.stopPropagation();
|
|
11385
11383
|
e2.preventDefault();
|
|
11386
11384
|
parentSelectionManager().setFocused(false);
|
|
11387
|
-
parentSelectionManager().setFocusedKey(
|
|
11385
|
+
parentSelectionManager().setFocusedKey(void 0);
|
|
11388
11386
|
if (!context.isOpen()) {
|
|
11389
11387
|
context.open("first");
|
|
11390
11388
|
}
|
|
@@ -11437,7 +11435,7 @@ function MenuSubTrigger(props) {
|
|
|
11437
11435
|
return context.isOpen();
|
|
11438
11436
|
},
|
|
11439
11437
|
get ["aria-controls"]() {
|
|
11440
|
-
return createMemo(() => !!context.isOpen())() ? context.contentId() :
|
|
11438
|
+
return createMemo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11441
11439
|
},
|
|
11442
11440
|
get ["aria-disabled"]() {
|
|
11443
11441
|
return local.disabled;
|
|
@@ -11446,10 +11444,10 @@ function MenuSubTrigger(props) {
|
|
|
11446
11444
|
return selectableItem.dataKey();
|
|
11447
11445
|
},
|
|
11448
11446
|
get ["data-highlighted"]() {
|
|
11449
|
-
return isHighlighted() ? "" :
|
|
11447
|
+
return isHighlighted() ? "" : void 0;
|
|
11450
11448
|
},
|
|
11451
11449
|
get ["data-disabled"]() {
|
|
11452
|
-
return local.disabled ? "" :
|
|
11450
|
+
return local.disabled ? "" : void 0;
|
|
11453
11451
|
},
|
|
11454
11452
|
get onPointerDown() {
|
|
11455
11453
|
return composeEventHandlers([local.onPointerDown, selectableItem.onPointerDown]);
|
|
@@ -11510,7 +11508,7 @@ function MenuRoot(props) {
|
|
|
11510
11508
|
}
|
|
11511
11509
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11512
11510
|
var init_F4B62RP = __esm({
|
|
11513
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11511
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11514
11512
|
init_X2EKUJ3();
|
|
11515
11513
|
init_CVNMTYF();
|
|
11516
11514
|
init_GLKC2QFF();
|
|
@@ -11567,7 +11565,7 @@ var init_F4B62RP = __esm({
|
|
|
11567
11565
|
}
|
|
11568
11566
|
});
|
|
11569
11567
|
|
|
11570
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11568
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11571
11569
|
function SeparatorRoot(props) {
|
|
11572
11570
|
let ref;
|
|
11573
11571
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11582,10 +11580,10 @@ function SeparatorRoot(props) {
|
|
|
11582
11580
|
typeof _ref$ === "function" && _ref$(r$);
|
|
11583
11581
|
},
|
|
11584
11582
|
get role() {
|
|
11585
|
-
return tagName() !== "hr" ? "separator" :
|
|
11583
|
+
return tagName() !== "hr" ? "separator" : void 0;
|
|
11586
11584
|
},
|
|
11587
11585
|
get ["aria-orientation"]() {
|
|
11588
|
-
return local.orientation === "vertical" ? "vertical" :
|
|
11586
|
+
return local.orientation === "vertical" ? "vertical" : void 0;
|
|
11589
11587
|
},
|
|
11590
11588
|
get ["data-orientation"]() {
|
|
11591
11589
|
return local.orientation;
|
|
@@ -11594,7 +11592,7 @@ function SeparatorRoot(props) {
|
|
|
11594
11592
|
}
|
|
11595
11593
|
var separator_exports, Separator;
|
|
11596
11594
|
var init_STGRFJHZ = __esm({
|
|
11597
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11595
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11598
11596
|
init_ET5T45DO();
|
|
11599
11597
|
init_Y7B2NEO();
|
|
11600
11598
|
init_ZKAE4VZ();
|
|
@@ -11610,7 +11608,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11610
11608
|
}
|
|
11611
11609
|
});
|
|
11612
11610
|
|
|
11613
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11611
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11614
11612
|
function DropdownMenuContent(props) {
|
|
11615
11613
|
const rootContext = useMenuRootContext();
|
|
11616
11614
|
const context = useMenuContext();
|
|
@@ -11644,7 +11642,7 @@ function DropdownMenuRoot(props) {
|
|
|
11644
11642
|
}
|
|
11645
11643
|
var dropdown_menu_exports, DropdownMenu;
|
|
11646
11644
|
var init_V2JBZ7BJ = __esm({
|
|
11647
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11645
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11648
11646
|
init_F4B62RP();
|
|
11649
11647
|
init_STGRFJHZ();
|
|
11650
11648
|
init_X2EKUJ3();
|
|
@@ -11698,9 +11696,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11698
11696
|
}
|
|
11699
11697
|
});
|
|
11700
11698
|
|
|
11701
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11699
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js
|
|
11702
11700
|
var init_dist15 = __esm({
|
|
11703
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11701
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js"() {
|
|
11704
11702
|
init_Q2BOFK7I();
|
|
11705
11703
|
init_V2JBZ7BJ();
|
|
11706
11704
|
}
|
|
@@ -12257,11 +12255,11 @@ var init_QueryDevtoolsContext = __esm({
|
|
|
12257
12255
|
"src/contexts/QueryDevtoolsContext.ts"() {
|
|
12258
12256
|
init_solid();
|
|
12259
12257
|
QueryDevtoolsContext = createContext({
|
|
12260
|
-
client:
|
|
12261
|
-
onlineManager:
|
|
12258
|
+
client: void 0,
|
|
12259
|
+
onlineManager: void 0,
|
|
12262
12260
|
queryFlavor: "",
|
|
12263
12261
|
version: "",
|
|
12264
|
-
shadowDOMTarget:
|
|
12262
|
+
shadowDOMTarget: void 0
|
|
12265
12263
|
});
|
|
12266
12264
|
}
|
|
12267
12265
|
});
|
|
@@ -12275,7 +12273,7 @@ var init_PiPContext = __esm({
|
|
|
12275
12273
|
init_web();
|
|
12276
12274
|
init_constants();
|
|
12277
12275
|
init_QueryDevtoolsContext();
|
|
12278
|
-
PiPContext = createContext(
|
|
12276
|
+
PiPContext = createContext(void 0);
|
|
12279
12277
|
PiPProvider = (props) => {
|
|
12280
12278
|
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12281
12279
|
const closePipWindow = () => {
|
|
@@ -12504,7 +12502,7 @@ function Explorer(props) {
|
|
|
12504
12502
|
}), null);
|
|
12505
12503
|
insert(_el$14, createComponent(Show, {
|
|
12506
12504
|
get when() {
|
|
12507
|
-
return props.itemsDeletable && props.activeQuery !==
|
|
12505
|
+
return props.itemsDeletable && props.activeQuery !== void 0;
|
|
12508
12506
|
},
|
|
12509
12507
|
get children() {
|
|
12510
12508
|
return createComponent(DeleteItemButton, {
|
|
@@ -12517,7 +12515,7 @@ function Explorer(props) {
|
|
|
12517
12515
|
}), null);
|
|
12518
12516
|
insert(_el$14, createComponent(Show, {
|
|
12519
12517
|
get when() {
|
|
12520
|
-
return type() === "array" && props.activeQuery !==
|
|
12518
|
+
return type() === "array" && props.activeQuery !== void 0;
|
|
12521
12519
|
},
|
|
12522
12520
|
get children() {
|
|
12523
12521
|
return createComponent(ClearArrayButton, {
|
|
@@ -12553,9 +12551,9 @@ function Explorer(props) {
|
|
|
12553
12551
|
_v$5 !== _p$.a && className(_el$12, _p$.a = _v$5);
|
|
12554
12552
|
return _p$;
|
|
12555
12553
|
}, {
|
|
12556
|
-
e:
|
|
12557
|
-
t:
|
|
12558
|
-
a:
|
|
12554
|
+
e: void 0,
|
|
12555
|
+
t: void 0,
|
|
12556
|
+
a: void 0
|
|
12559
12557
|
});
|
|
12560
12558
|
return _el$7;
|
|
12561
12559
|
})(), createComponent(Show, {
|
|
@@ -12665,8 +12663,8 @@ function Explorer(props) {
|
|
|
12665
12663
|
_v$11 !== _p$.t && className(_el$25, _p$.t = _v$11);
|
|
12666
12664
|
return _p$;
|
|
12667
12665
|
}, {
|
|
12668
|
-
e:
|
|
12669
|
-
t:
|
|
12666
|
+
e: void 0,
|
|
12667
|
+
t: void 0
|
|
12670
12668
|
});
|
|
12671
12669
|
return _el$23;
|
|
12672
12670
|
})()
|
|
@@ -12688,7 +12686,7 @@ function Explorer(props) {
|
|
|
12688
12686
|
insert(_el$19, () => props.label, _el$20);
|
|
12689
12687
|
insert(_el$18, createComponent(Show, {
|
|
12690
12688
|
get when() {
|
|
12691
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12689
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12692
12690
|
},
|
|
12693
12691
|
get fallback() {
|
|
12694
12692
|
return (() => {
|
|
@@ -12701,7 +12699,7 @@ function Explorer(props) {
|
|
|
12701
12699
|
get children() {
|
|
12702
12700
|
return [createComponent(Show, {
|
|
12703
12701
|
get when() {
|
|
12704
|
-
return createMemo(() => !!(props.editable && props.activeQuery !==
|
|
12702
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12705
12703
|
},
|
|
12706
12704
|
get children() {
|
|
12707
12705
|
var _el$21 = _tmpl$92();
|
|
@@ -12716,8 +12714,8 @@ function Explorer(props) {
|
|
|
12716
12714
|
_v$7 !== _p$.t && className(_el$21, _p$.t = _v$7);
|
|
12717
12715
|
return _p$;
|
|
12718
12716
|
}, {
|
|
12719
|
-
e:
|
|
12720
|
-
t:
|
|
12717
|
+
e: void 0,
|
|
12718
|
+
t: void 0
|
|
12721
12719
|
});
|
|
12722
12720
|
createRenderEffect(() => _el$21.value = props.value);
|
|
12723
12721
|
return _el$21;
|
|
@@ -12746,7 +12744,7 @@ function Explorer(props) {
|
|
|
12746
12744
|
}), null);
|
|
12747
12745
|
insert(_el$18, createComponent(Show, {
|
|
12748
12746
|
get when() {
|
|
12749
|
-
return props.editable && props.itemsDeletable && props.activeQuery !==
|
|
12747
|
+
return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
|
|
12750
12748
|
},
|
|
12751
12749
|
get children() {
|
|
12752
12750
|
return createComponent(DeleteItemButton, {
|
|
@@ -12763,8 +12761,8 @@ function Explorer(props) {
|
|
|
12763
12761
|
_v$9 !== _p$.t && className(_el$19, _p$.t = _v$9);
|
|
12764
12762
|
return _p$;
|
|
12765
12763
|
}, {
|
|
12766
|
-
e:
|
|
12767
|
-
t:
|
|
12764
|
+
e: void 0,
|
|
12765
|
+
t: void 0
|
|
12768
12766
|
});
|
|
12769
12767
|
return _el$18;
|
|
12770
12768
|
}
|
|
@@ -12850,7 +12848,7 @@ var init_Explorer = __esm({
|
|
|
12850
12848
|
setCopyState("NoCopy");
|
|
12851
12849
|
}, 1500);
|
|
12852
12850
|
});
|
|
12853
|
-
} :
|
|
12851
|
+
} : void 0, true);
|
|
12854
12852
|
insert(_el$2, createComponent(Switch, {
|
|
12855
12853
|
get children() {
|
|
12856
12854
|
return [createComponent(Match, {
|
|
@@ -12887,8 +12885,8 @@ var init_Explorer = __esm({
|
|
|
12887
12885
|
_v$2 !== _p$.t && setAttribute(_el$2, "aria-label", _p$.t = _v$2);
|
|
12888
12886
|
return _p$;
|
|
12889
12887
|
}, {
|
|
12890
|
-
e:
|
|
12891
|
-
t:
|
|
12888
|
+
e: void 0,
|
|
12889
|
+
t: void 0
|
|
12892
12890
|
});
|
|
12893
12891
|
return _el$2;
|
|
12894
12892
|
})();
|
|
@@ -13540,11 +13538,11 @@ var init_Devtools = __esm({
|
|
|
13540
13538
|
_v$5 !== _p$.i && className(_el$9, _p$.i = _v$5);
|
|
13541
13539
|
return _p$;
|
|
13542
13540
|
}, {
|
|
13543
|
-
e:
|
|
13544
|
-
t:
|
|
13545
|
-
a:
|
|
13546
|
-
o:
|
|
13547
|
-
i:
|
|
13541
|
+
e: void 0,
|
|
13542
|
+
t: void 0,
|
|
13543
|
+
a: void 0,
|
|
13544
|
+
o: void 0,
|
|
13545
|
+
i: void 0
|
|
13548
13546
|
});
|
|
13549
13547
|
return _el$7;
|
|
13550
13548
|
})();
|
|
@@ -14028,26 +14026,26 @@ var init_Devtools = __esm({
|
|
|
14028
14026
|
_v$25 !== _p$.b && setAttribute(_el$29, "title", _p$.b = _v$25);
|
|
14029
14027
|
return _p$;
|
|
14030
14028
|
}, {
|
|
14031
|
-
e:
|
|
14032
|
-
t:
|
|
14033
|
-
a:
|
|
14034
|
-
o:
|
|
14035
|
-
i:
|
|
14036
|
-
n:
|
|
14037
|
-
s:
|
|
14038
|
-
h:
|
|
14039
|
-
r:
|
|
14040
|
-
d:
|
|
14041
|
-
l:
|
|
14042
|
-
u:
|
|
14043
|
-
c:
|
|
14044
|
-
w:
|
|
14045
|
-
m:
|
|
14046
|
-
f:
|
|
14047
|
-
y:
|
|
14048
|
-
g:
|
|
14049
|
-
p:
|
|
14050
|
-
b:
|
|
14029
|
+
e: void 0,
|
|
14030
|
+
t: void 0,
|
|
14031
|
+
a: void 0,
|
|
14032
|
+
o: void 0,
|
|
14033
|
+
i: void 0,
|
|
14034
|
+
n: void 0,
|
|
14035
|
+
s: void 0,
|
|
14036
|
+
h: void 0,
|
|
14037
|
+
r: void 0,
|
|
14038
|
+
d: void 0,
|
|
14039
|
+
l: void 0,
|
|
14040
|
+
u: void 0,
|
|
14041
|
+
c: void 0,
|
|
14042
|
+
w: void 0,
|
|
14043
|
+
m: void 0,
|
|
14044
|
+
f: void 0,
|
|
14045
|
+
y: void 0,
|
|
14046
|
+
g: void 0,
|
|
14047
|
+
p: void 0,
|
|
14048
|
+
b: void 0
|
|
14051
14049
|
});
|
|
14052
14050
|
createRenderEffect(() => _el$20.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
14053
14051
|
return _el$10;
|
|
@@ -14133,9 +14131,9 @@ var init_Devtools = __esm({
|
|
|
14133
14131
|
_v$28 !== _p$.a && className(_el$50, _p$.a = _v$28);
|
|
14134
14132
|
return _p$;
|
|
14135
14133
|
}, {
|
|
14136
|
-
e:
|
|
14137
|
-
t:
|
|
14138
|
-
a:
|
|
14134
|
+
e: void 0,
|
|
14135
|
+
t: void 0,
|
|
14136
|
+
a: void 0
|
|
14139
14137
|
});
|
|
14140
14138
|
return _el$49;
|
|
14141
14139
|
}
|
|
@@ -14246,9 +14244,9 @@ var init_Devtools = __esm({
|
|
|
14246
14244
|
_v$31 !== _p$.a && className(_el$54, _p$.a = _v$31);
|
|
14247
14245
|
return _p$;
|
|
14248
14246
|
}, {
|
|
14249
|
-
e:
|
|
14250
|
-
t:
|
|
14251
|
-
a:
|
|
14247
|
+
e: void 0,
|
|
14248
|
+
t: void 0,
|
|
14249
|
+
a: void 0
|
|
14252
14250
|
});
|
|
14253
14251
|
return _el$53;
|
|
14254
14252
|
}
|
|
@@ -14456,8 +14454,8 @@ var init_Devtools = __esm({
|
|
|
14456
14454
|
_v$33 !== _p$.t && className(_el$62, _p$.t = _v$33);
|
|
14457
14455
|
return _p$;
|
|
14458
14456
|
}, {
|
|
14459
|
-
e:
|
|
14460
|
-
t:
|
|
14457
|
+
e: void 0,
|
|
14458
|
+
t: void 0
|
|
14461
14459
|
});
|
|
14462
14460
|
return _el$58;
|
|
14463
14461
|
})();
|
|
@@ -14573,7 +14571,7 @@ var init_Devtools = __esm({
|
|
|
14573
14571
|
setSelectedQueryHash(null);
|
|
14574
14572
|
};
|
|
14575
14573
|
_el$86.$$click = () => {
|
|
14576
|
-
if (activeQuery()?.state.data ===
|
|
14574
|
+
if (activeQuery()?.state.data === void 0) {
|
|
14577
14575
|
setRestoringLoading(true);
|
|
14578
14576
|
restoreQueryAfterLoadingOrError();
|
|
14579
14577
|
} else {
|
|
@@ -14590,7 +14588,7 @@ var init_Devtools = __esm({
|
|
|
14590
14588
|
gcTime: -1
|
|
14591
14589
|
});
|
|
14592
14590
|
activeQueryVal.setState({
|
|
14593
|
-
data:
|
|
14591
|
+
data: void 0,
|
|
14594
14592
|
status: "pending",
|
|
14595
14593
|
fetchMeta: {
|
|
14596
14594
|
...activeQueryVal.state.fetchMeta,
|
|
@@ -14625,9 +14623,9 @@ var init_Devtools = __esm({
|
|
|
14625
14623
|
_v$36 !== _p$.a && className(_el$90, _p$.a = _v$36);
|
|
14626
14624
|
return _p$;
|
|
14627
14625
|
}, {
|
|
14628
|
-
e:
|
|
14629
|
-
t:
|
|
14630
|
-
a:
|
|
14626
|
+
e: void 0,
|
|
14627
|
+
t: void 0,
|
|
14628
|
+
a: void 0
|
|
14631
14629
|
});
|
|
14632
14630
|
return _el$89;
|
|
14633
14631
|
}
|
|
@@ -14663,9 +14661,9 @@ var init_Devtools = __esm({
|
|
|
14663
14661
|
_v$39 !== _p$.a && (_el$95.disabled = _p$.a = _v$39);
|
|
14664
14662
|
return _p$;
|
|
14665
14663
|
}, {
|
|
14666
|
-
e:
|
|
14667
|
-
t:
|
|
14668
|
-
a:
|
|
14664
|
+
e: void 0,
|
|
14665
|
+
t: void 0,
|
|
14666
|
+
a: void 0
|
|
14669
14667
|
});
|
|
14670
14668
|
return _el$92;
|
|
14671
14669
|
}
|
|
@@ -14733,14 +14731,14 @@ var init_Devtools = __esm({
|
|
|
14733
14731
|
_v$47 !== _p$.h && className(_el$106, _p$.h = _v$47);
|
|
14734
14732
|
return _p$;
|
|
14735
14733
|
}, {
|
|
14736
|
-
e:
|
|
14737
|
-
t:
|
|
14738
|
-
a:
|
|
14739
|
-
o:
|
|
14740
|
-
i:
|
|
14741
|
-
n:
|
|
14742
|
-
s:
|
|
14743
|
-
h:
|
|
14734
|
+
e: void 0,
|
|
14735
|
+
t: void 0,
|
|
14736
|
+
a: void 0,
|
|
14737
|
+
o: void 0,
|
|
14738
|
+
i: void 0,
|
|
14739
|
+
n: void 0,
|
|
14740
|
+
s: void 0,
|
|
14741
|
+
h: void 0
|
|
14744
14742
|
});
|
|
14745
14743
|
createRenderEffect(() => _el$101.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14746
14744
|
return _el$100;
|
|
@@ -14801,30 +14799,30 @@ var init_Devtools = __esm({
|
|
|
14801
14799
|
_v$71 !== _p$.I && ((_p$.I = _v$71) != null ? _el$108.style.setProperty("padding", _v$71) : _el$108.style.removeProperty("padding"));
|
|
14802
14800
|
return _p$;
|
|
14803
14801
|
}, {
|
|
14804
|
-
e:
|
|
14805
|
-
t:
|
|
14806
|
-
a:
|
|
14807
|
-
o:
|
|
14808
|
-
i:
|
|
14809
|
-
n:
|
|
14810
|
-
s:
|
|
14811
|
-
h:
|
|
14812
|
-
r:
|
|
14813
|
-
d:
|
|
14814
|
-
l:
|
|
14815
|
-
u:
|
|
14816
|
-
c:
|
|
14817
|
-
w:
|
|
14818
|
-
m:
|
|
14819
|
-
f:
|
|
14820
|
-
y:
|
|
14821
|
-
g:
|
|
14822
|
-
p:
|
|
14823
|
-
b:
|
|
14824
|
-
T:
|
|
14825
|
-
A:
|
|
14826
|
-
O:
|
|
14827
|
-
I:
|
|
14802
|
+
e: void 0,
|
|
14803
|
+
t: void 0,
|
|
14804
|
+
a: void 0,
|
|
14805
|
+
o: void 0,
|
|
14806
|
+
i: void 0,
|
|
14807
|
+
n: void 0,
|
|
14808
|
+
s: void 0,
|
|
14809
|
+
h: void 0,
|
|
14810
|
+
r: void 0,
|
|
14811
|
+
d: void 0,
|
|
14812
|
+
l: void 0,
|
|
14813
|
+
u: void 0,
|
|
14814
|
+
c: void 0,
|
|
14815
|
+
w: void 0,
|
|
14816
|
+
m: void 0,
|
|
14817
|
+
f: void 0,
|
|
14818
|
+
y: void 0,
|
|
14819
|
+
g: void 0,
|
|
14820
|
+
p: void 0,
|
|
14821
|
+
b: void 0,
|
|
14822
|
+
T: void 0,
|
|
14823
|
+
A: void 0,
|
|
14824
|
+
O: void 0,
|
|
14825
|
+
I: void 0
|
|
14828
14826
|
});
|
|
14829
14827
|
return _el$63;
|
|
14830
14828
|
}
|
|
@@ -14949,18 +14947,18 @@ var init_Devtools = __esm({
|
|
|
14949
14947
|
_v$83 !== _p$.u && ((_p$.u = _v$83) != null ? _el$127.style.setProperty("padding", _v$83) : _el$127.style.removeProperty("padding"));
|
|
14950
14948
|
return _p$;
|
|
14951
14949
|
}, {
|
|
14952
|
-
e:
|
|
14953
|
-
t:
|
|
14954
|
-
a:
|
|
14955
|
-
o:
|
|
14956
|
-
i:
|
|
14957
|
-
n:
|
|
14958
|
-
s:
|
|
14959
|
-
h:
|
|
14960
|
-
r:
|
|
14961
|
-
d:
|
|
14962
|
-
l:
|
|
14963
|
-
u:
|
|
14950
|
+
e: void 0,
|
|
14951
|
+
t: void 0,
|
|
14952
|
+
a: void 0,
|
|
14953
|
+
o: void 0,
|
|
14954
|
+
i: void 0,
|
|
14955
|
+
n: void 0,
|
|
14956
|
+
s: void 0,
|
|
14957
|
+
h: void 0,
|
|
14958
|
+
r: void 0,
|
|
14959
|
+
d: void 0,
|
|
14960
|
+
l: void 0,
|
|
14961
|
+
u: void 0
|
|
14964
14962
|
});
|
|
14965
14963
|
return _el$110;
|
|
14966
14964
|
}
|
|
@@ -14994,7 +14992,7 @@ var init_Devtools = __esm({
|
|
|
14994
14992
|
});
|
|
14995
14993
|
const [value, setValue] = createSignal(callback(queryCache), !equalityCheck ? {
|
|
14996
14994
|
equals: false
|
|
14997
|
-
} :
|
|
14995
|
+
} : void 0);
|
|
14998
14996
|
createEffect(() => {
|
|
14999
14997
|
setValue(callback(queryCache));
|
|
15000
14998
|
});
|
|
@@ -15033,7 +15031,7 @@ var init_Devtools = __esm({
|
|
|
15033
15031
|
});
|
|
15034
15032
|
const [value, setValue] = createSignal(callback(mutationCache), !equalityCheck ? {
|
|
15035
15033
|
equals: false
|
|
15036
|
-
} :
|
|
15034
|
+
} : void 0);
|
|
15037
15035
|
createEffect(() => {
|
|
15038
15036
|
setValue(callback(mutationCache));
|
|
15039
15037
|
});
|