@tanstack/query-devtools 5.0.0-rc.9 → 5.0.3
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/Devtools/{XXDYGLB2.js → 3Y5CBXUA.js} +978 -598
- package/build/Devtools/{5OOWR6BQ.jsx → 7SMWYMBY.jsx} +849 -511
- package/build/Devtools/{CIR3WCBJ.js → B2H37NSB.js} +978 -598
- package/build/Devtools/{336SHOD5.jsx → Y2E2LEWB.jsx} +849 -511
- package/build/chunk/{PWC4YVZY.jsx → AHAJNSNO.jsx} +299 -177
- package/build/chunk/{7MNJIXJ6.js → Z53XT47W.js} +299 -178
- package/build/dev.cjs +1377 -880
- package/build/dev.js +43 -33
- package/build/dev.jsx +43 -33
- package/build/index.cjs +1376 -879
- package/build/index.d.cts +1 -14
- package/build/index.d.ts +1 -14
- package/build/index.js +43 -33
- package/build/index.jsx +43 -33
- package/package.json +2 -2
- package/src/Context.ts +9 -0
- package/src/Devtools.tsx +422 -206
- package/src/Explorer.tsx +140 -61
- package/src/icons/index.tsx +203 -97
- package/src/index.tsx +41 -41
- package/src/utils.tsx +17 -0
- package/build/chunk/L2WNRKEK.js +0 -1912
- package/build/chunk/LGDS24HT.jsx +0 -1948
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.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/dist/solid.js
|
|
14
14
|
function setHydrateContext(context) {
|
|
15
15
|
sharedConfig.context = context;
|
|
16
16
|
}
|
|
@@ -22,11 +22,11 @@ function nextHydrateContext() {
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
function createRoot(fn, detachedOwner) {
|
|
25
|
-
const listener = Listener, owner = Owner, unowned = fn.length === 0, root = unowned ? UNOWNED : {
|
|
25
|
+
const listener = Listener, owner = Owner, unowned = fn.length === 0, current = detachedOwner === void 0 ? owner : detachedOwner, root = unowned ? UNOWNED : {
|
|
26
26
|
owned: null,
|
|
27
27
|
cleanups: null,
|
|
28
|
-
context: null,
|
|
29
|
-
owner:
|
|
28
|
+
context: current ? current.context : null,
|
|
29
|
+
owner: current
|
|
30
30
|
}, updateFn = unowned ? fn : () => fn(() => untrack(() => cleanNode(root)));
|
|
31
31
|
Owner = root;
|
|
32
32
|
Listener = null;
|
|
@@ -72,7 +72,7 @@ function createRenderEffect(fn, value, options) {
|
|
|
72
72
|
}
|
|
73
73
|
function createEffect(fn, value, options) {
|
|
74
74
|
runEffects = runUserEffects;
|
|
75
|
-
const c2 = createComputation(fn, value, false, STALE), s2 = SuspenseContext &&
|
|
75
|
+
const c2 = createComputation(fn, value, false, STALE), s2 = SuspenseContext && useContext(SuspenseContext);
|
|
76
76
|
if (s2)
|
|
77
77
|
c2.suspense = s2;
|
|
78
78
|
if (!options || !options.render)
|
|
@@ -92,6 +92,9 @@ function createMemo(fn, value, options) {
|
|
|
92
92
|
updateComputation(c2);
|
|
93
93
|
return readSignal.bind(c2);
|
|
94
94
|
}
|
|
95
|
+
function isPromise(v) {
|
|
96
|
+
return v && typeof v === "object" && "then" in v;
|
|
97
|
+
}
|
|
95
98
|
function createResource(pSource, pFetcher, pOptions) {
|
|
96
99
|
let source;
|
|
97
100
|
let fetcher;
|
|
@@ -115,16 +118,18 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
115
118
|
if (options.ssrLoadFrom === "initial")
|
|
116
119
|
initP = options.initialValue;
|
|
117
120
|
else if (sharedConfig.load && (v = sharedConfig.load(id)))
|
|
118
|
-
initP = v
|
|
121
|
+
initP = isPromise(v) && "value" in v ? v.value : v;
|
|
119
122
|
}
|
|
120
123
|
function loadEnd(p2, v, error2, key) {
|
|
121
124
|
if (pr === p2) {
|
|
122
125
|
pr = null;
|
|
123
126
|
key !== void 0 && (resolved = true);
|
|
124
127
|
if ((p2 === initP || v === initP) && options.onHydrated)
|
|
125
|
-
queueMicrotask(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
queueMicrotask(
|
|
129
|
+
() => options.onHydrated(key, {
|
|
130
|
+
value: v
|
|
131
|
+
})
|
|
132
|
+
);
|
|
128
133
|
initP = NO_INIT;
|
|
129
134
|
if (Transition && p2 && loadedUnderTransition) {
|
|
130
135
|
Transition.promises.delete(p2);
|
|
@@ -150,7 +155,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
150
155
|
}, false);
|
|
151
156
|
}
|
|
152
157
|
function read() {
|
|
153
|
-
const c2 = SuspenseContext &&
|
|
158
|
+
const c2 = SuspenseContext && useContext(SuspenseContext), v = value(), err = error();
|
|
154
159
|
if (err !== void 0 && !pr)
|
|
155
160
|
throw err;
|
|
156
161
|
if (Listener && !Listener.user && c2) {
|
|
@@ -172,20 +177,22 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
172
177
|
if (refetching !== false && scheduled)
|
|
173
178
|
return;
|
|
174
179
|
scheduled = false;
|
|
175
|
-
const
|
|
180
|
+
const lookup = dynamic ? dynamic() : source;
|
|
176
181
|
loadedUnderTransition = Transition && Transition.running;
|
|
177
|
-
if (
|
|
182
|
+
if (lookup == null || lookup === false) {
|
|
178
183
|
loadEnd(pr, untrack(value));
|
|
179
184
|
return;
|
|
180
185
|
}
|
|
181
186
|
if (Transition && pr)
|
|
182
187
|
Transition.promises.delete(pr);
|
|
183
|
-
const p2 = initP !== NO_INIT ? initP : untrack(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
const p2 = initP !== NO_INIT ? initP : untrack(
|
|
189
|
+
() => fetcher(lookup, {
|
|
190
|
+
value: value(),
|
|
191
|
+
refetching
|
|
192
|
+
})
|
|
193
|
+
);
|
|
194
|
+
if (!isPromise(p2)) {
|
|
195
|
+
loadEnd(pr, p2, void 0, lookup);
|
|
189
196
|
return p2;
|
|
190
197
|
}
|
|
191
198
|
pr = p2;
|
|
@@ -195,7 +202,10 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
195
202
|
setState2(resolved ? "refreshing" : "pending");
|
|
196
203
|
trigger();
|
|
197
204
|
}, false);
|
|
198
|
-
return p2.then(
|
|
205
|
+
return p2.then(
|
|
206
|
+
(v) => loadEnd(p2, v, void 0, lookup),
|
|
207
|
+
(e2) => loadEnd(p2, void 0, castError(e2), lookup)
|
|
208
|
+
);
|
|
199
209
|
}
|
|
200
210
|
Object.defineProperties(read, {
|
|
201
211
|
state: {
|
|
@@ -225,10 +235,13 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
225
235
|
createComputed(() => load(false));
|
|
226
236
|
else
|
|
227
237
|
load(false);
|
|
228
|
-
return [
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
return [
|
|
239
|
+
read,
|
|
240
|
+
{
|
|
241
|
+
refetch: load,
|
|
242
|
+
mutate: setValue
|
|
243
|
+
}
|
|
244
|
+
];
|
|
232
245
|
}
|
|
233
246
|
function batch(fn) {
|
|
234
247
|
return runUpdates(fn, false);
|
|
@@ -247,7 +260,7 @@ function untrack(fn) {
|
|
|
247
260
|
function on(deps, fn, options) {
|
|
248
261
|
const isArray4 = Array.isArray(deps);
|
|
249
262
|
let prevInput;
|
|
250
|
-
let
|
|
263
|
+
let defer2 = options && options.defer;
|
|
251
264
|
return (prevValue) => {
|
|
252
265
|
let input;
|
|
253
266
|
if (isArray4) {
|
|
@@ -256,8 +269,8 @@ function on(deps, fn, options) {
|
|
|
256
269
|
input[i2] = deps[i2]();
|
|
257
270
|
} else
|
|
258
271
|
input = deps();
|
|
259
|
-
if (
|
|
260
|
-
|
|
272
|
+
if (defer2) {
|
|
273
|
+
defer2 = false;
|
|
261
274
|
return void 0;
|
|
262
275
|
}
|
|
263
276
|
const result = untrack(() => fn(input, prevInput, prevValue));
|
|
@@ -337,8 +350,7 @@ function createContext(defaultValue, options) {
|
|
|
337
350
|
};
|
|
338
351
|
}
|
|
339
352
|
function useContext(context) {
|
|
340
|
-
|
|
341
|
-
return (ctx = lookup(Owner, context.id)) !== void 0 ? ctx : context.defaultValue;
|
|
353
|
+
return Owner && Owner.context && Owner.context[context.id] !== void 0 ? Owner.context[context.id] : context.defaultValue;
|
|
342
354
|
}
|
|
343
355
|
function children(fn) {
|
|
344
356
|
const children2 = createMemo(fn);
|
|
@@ -432,7 +444,11 @@ function updateComputation(node) {
|
|
|
432
444
|
cleanNode(node);
|
|
433
445
|
const owner = Owner, listener = Listener, time = ExecCount;
|
|
434
446
|
Listener = Owner = node;
|
|
435
|
-
runComputation(
|
|
447
|
+
runComputation(
|
|
448
|
+
node,
|
|
449
|
+
Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
|
|
450
|
+
time
|
|
451
|
+
);
|
|
436
452
|
if (Transition && !Transition.running && Transition.sources.has(node)) {
|
|
437
453
|
queueMicrotask(() => {
|
|
438
454
|
runUpdates(() => {
|
|
@@ -487,7 +503,7 @@ function createComputation(fn, init, pure, state2 = STALE, options) {
|
|
|
487
503
|
cleanups: null,
|
|
488
504
|
value: init,
|
|
489
505
|
owner: Owner,
|
|
490
|
-
context: null,
|
|
506
|
+
context: Owner ? Owner.context : null,
|
|
491
507
|
pure
|
|
492
508
|
};
|
|
493
509
|
if (Transition && Transition.running) {
|
|
@@ -750,7 +766,6 @@ function cleanNode(node) {
|
|
|
750
766
|
node.tState = 0;
|
|
751
767
|
else
|
|
752
768
|
node.state = 0;
|
|
753
|
-
node.context = null;
|
|
754
769
|
}
|
|
755
770
|
function reset(node, top) {
|
|
756
771
|
if (!top) {
|
|
@@ -778,7 +793,7 @@ function runErrors(err, fns, owner) {
|
|
|
778
793
|
}
|
|
779
794
|
}
|
|
780
795
|
function handleError(err, owner = Owner) {
|
|
781
|
-
const fns = ERROR &&
|
|
796
|
+
const fns = ERROR && owner && owner.context && owner.context[ERROR];
|
|
782
797
|
const error = castError(err);
|
|
783
798
|
if (!fns)
|
|
784
799
|
throw error;
|
|
@@ -792,9 +807,6 @@ function handleError(err, owner = Owner) {
|
|
|
792
807
|
else
|
|
793
808
|
runErrors(error, fns, owner);
|
|
794
809
|
}
|
|
795
|
-
function lookup(owner, key) {
|
|
796
|
-
return owner ? owner.context && owner.context[key] !== void 0 ? owner.context[key] : lookup(owner.owner, key) : void 0;
|
|
797
|
-
}
|
|
798
810
|
function resolveChildren(children2) {
|
|
799
811
|
if (typeof children2 === "function" && !children2.length)
|
|
800
812
|
return resolveChildren(children2());
|
|
@@ -811,12 +823,16 @@ function resolveChildren(children2) {
|
|
|
811
823
|
function createProvider(id, options) {
|
|
812
824
|
return function provider(props) {
|
|
813
825
|
let res;
|
|
814
|
-
createRenderEffect(
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
826
|
+
createRenderEffect(
|
|
827
|
+
() => res = untrack(() => {
|
|
828
|
+
Owner.context = {
|
|
829
|
+
...Owner.context,
|
|
830
|
+
[id]: props.value
|
|
831
|
+
};
|
|
832
|
+
return children(() => props.children);
|
|
833
|
+
}),
|
|
834
|
+
void 0
|
|
835
|
+
);
|
|
820
836
|
return res;
|
|
821
837
|
};
|
|
822
838
|
}
|
|
@@ -1002,28 +1018,31 @@ function mergeProps(...sources) {
|
|
|
1002
1018
|
sources[i2] = typeof s2 === "function" ? (proxy = true, createMemo(s2)) : s2;
|
|
1003
1019
|
}
|
|
1004
1020
|
if (proxy) {
|
|
1005
|
-
return new Proxy(
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1021
|
+
return new Proxy(
|
|
1022
|
+
{
|
|
1023
|
+
get(property) {
|
|
1024
|
+
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1025
|
+
const v = resolveSource(sources[i2])[property];
|
|
1026
|
+
if (v !== void 0)
|
|
1027
|
+
return v;
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
has(property) {
|
|
1031
|
+
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1032
|
+
if (property in resolveSource(sources[i2]))
|
|
1033
|
+
return true;
|
|
1034
|
+
}
|
|
1035
|
+
return false;
|
|
1036
|
+
},
|
|
1037
|
+
keys() {
|
|
1038
|
+
const keys2 = [];
|
|
1039
|
+
for (let i2 = 0; i2 < sources.length; i2++)
|
|
1040
|
+
keys2.push(...Object.keys(resolveSource(sources[i2])));
|
|
1041
|
+
return [...new Set(keys2)];
|
|
1017
1042
|
}
|
|
1018
|
-
return false;
|
|
1019
1043
|
},
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
for (let i2 = 0; i2 < sources.length; i2++)
|
|
1023
|
-
keys3.push(...Object.keys(resolveSource(sources[i2])));
|
|
1024
|
-
return [...new Set(keys3)];
|
|
1025
|
-
}
|
|
1026
|
-
}, propTraps);
|
|
1044
|
+
propTraps
|
|
1045
|
+
);
|
|
1027
1046
|
}
|
|
1028
1047
|
const target = {};
|
|
1029
1048
|
const sourcesMap = {};
|
|
@@ -1066,43 +1085,51 @@ function mergeProps(...sources) {
|
|
|
1066
1085
|
}
|
|
1067
1086
|
return target;
|
|
1068
1087
|
}
|
|
1069
|
-
function splitProps(props, ...
|
|
1088
|
+
function splitProps(props, ...keys2) {
|
|
1070
1089
|
if ($PROXY in props) {
|
|
1071
|
-
const blocked = new Set(
|
|
1072
|
-
const res =
|
|
1073
|
-
return new Proxy(
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1090
|
+
const blocked = new Set(keys2.length > 1 ? keys2.flat() : keys2[0]);
|
|
1091
|
+
const res = keys2.map((k) => {
|
|
1092
|
+
return new Proxy(
|
|
1093
|
+
{
|
|
1094
|
+
get(property) {
|
|
1095
|
+
return k.includes(property) ? props[property] : void 0;
|
|
1096
|
+
},
|
|
1097
|
+
has(property) {
|
|
1098
|
+
return k.includes(property) && property in props;
|
|
1099
|
+
},
|
|
1100
|
+
keys() {
|
|
1101
|
+
return k.filter((property) => property in props);
|
|
1102
|
+
}
|
|
1079
1103
|
},
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
}
|
|
1083
|
-
}, propTraps);
|
|
1104
|
+
propTraps
|
|
1105
|
+
);
|
|
1084
1106
|
});
|
|
1085
|
-
res.push(
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1107
|
+
res.push(
|
|
1108
|
+
new Proxy(
|
|
1109
|
+
{
|
|
1110
|
+
get(property) {
|
|
1111
|
+
return blocked.has(property) ? void 0 : props[property];
|
|
1112
|
+
},
|
|
1113
|
+
has(property) {
|
|
1114
|
+
return blocked.has(property) ? false : property in props;
|
|
1115
|
+
},
|
|
1116
|
+
keys() {
|
|
1117
|
+
return Object.keys(props).filter((k) => !blocked.has(k));
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
propTraps
|
|
1121
|
+
)
|
|
1122
|
+
);
|
|
1096
1123
|
return res;
|
|
1097
1124
|
}
|
|
1098
1125
|
const otherObject = {};
|
|
1099
|
-
const objects =
|
|
1126
|
+
const objects = keys2.map(() => ({}));
|
|
1100
1127
|
for (const propName of Object.getOwnPropertyNames(props)) {
|
|
1101
1128
|
const desc = Object.getOwnPropertyDescriptor(props, propName);
|
|
1102
1129
|
const isDefaultDesc = !desc.get && !desc.set && desc.enumerable && desc.writable && desc.configurable;
|
|
1103
1130
|
let blocked = false;
|
|
1104
1131
|
let objectIndex = 0;
|
|
1105
|
-
for (const k of
|
|
1132
|
+
for (const k of keys2) {
|
|
1106
1133
|
if (k.includes(propName)) {
|
|
1107
1134
|
blocked = true;
|
|
1108
1135
|
isDefaultDesc ? objects[objectIndex][propName] = desc.value : Object.defineProperty(objects[objectIndex], propName, desc);
|
|
@@ -1136,17 +1163,19 @@ function lazy(fn) {
|
|
|
1136
1163
|
comp = s2;
|
|
1137
1164
|
}
|
|
1138
1165
|
let Comp;
|
|
1139
|
-
return createMemo(
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1166
|
+
return createMemo(
|
|
1167
|
+
() => (Comp = comp()) && untrack(() => {
|
|
1168
|
+
if (false)
|
|
1169
|
+
;
|
|
1170
|
+
if (!ctx)
|
|
1171
|
+
return Comp(props);
|
|
1172
|
+
const c2 = sharedConfig.context;
|
|
1173
|
+
setHydrateContext(ctx);
|
|
1174
|
+
const r2 = Comp(props);
|
|
1175
|
+
setHydrateContext(c2);
|
|
1176
|
+
return r2;
|
|
1177
|
+
})
|
|
1178
|
+
);
|
|
1150
1179
|
};
|
|
1151
1180
|
wrap.preload = () => p2 || ((p2 = fn()).then((mod) => comp = () => mod.default), p2);
|
|
1152
1181
|
return wrap;
|
|
@@ -1172,57 +1201,77 @@ function Show(props) {
|
|
|
1172
1201
|
const condition = createMemo(() => props.when, void 0, {
|
|
1173
1202
|
equals: (a2, b2) => keyed ? a2 === b2 : !a2 === !b2
|
|
1174
1203
|
});
|
|
1175
|
-
return createMemo(
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1204
|
+
return createMemo(
|
|
1205
|
+
() => {
|
|
1206
|
+
const c2 = condition();
|
|
1207
|
+
if (c2) {
|
|
1208
|
+
const child = props.children;
|
|
1209
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1210
|
+
return fn ? untrack(
|
|
1211
|
+
() => child(
|
|
1212
|
+
keyed ? c2 : () => {
|
|
1213
|
+
if (!untrack(condition))
|
|
1214
|
+
throw narrowedError("Show");
|
|
1215
|
+
return props.when;
|
|
1216
|
+
}
|
|
1217
|
+
)
|
|
1218
|
+
) : child;
|
|
1219
|
+
}
|
|
1220
|
+
return props.fallback;
|
|
1221
|
+
},
|
|
1222
|
+
void 0,
|
|
1223
|
+
void 0
|
|
1224
|
+
);
|
|
1188
1225
|
}
|
|
1189
1226
|
function Switch(props) {
|
|
1190
1227
|
let keyed = false;
|
|
1191
1228
|
const equals = (a2, b2) => a2[0] === b2[0] && (keyed ? a2[1] === b2[1] : !a2[1] === !b2[1]) && a2[2] === b2[2];
|
|
1192
|
-
const conditions = children(() => props.children), evalConditions = createMemo(
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1229
|
+
const conditions = children(() => props.children), evalConditions = createMemo(
|
|
1230
|
+
() => {
|
|
1231
|
+
let conds = conditions();
|
|
1232
|
+
if (!Array.isArray(conds))
|
|
1233
|
+
conds = [conds];
|
|
1234
|
+
for (let i2 = 0; i2 < conds.length; i2++) {
|
|
1235
|
+
const c2 = conds[i2].when;
|
|
1236
|
+
if (c2) {
|
|
1237
|
+
keyed = !!conds[i2].keyed;
|
|
1238
|
+
return [i2, c2, conds[i2]];
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
return [-1];
|
|
1242
|
+
},
|
|
1243
|
+
void 0,
|
|
1244
|
+
{
|
|
1245
|
+
equals
|
|
1202
1246
|
}
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1247
|
+
);
|
|
1248
|
+
return createMemo(
|
|
1249
|
+
() => {
|
|
1250
|
+
const [index, when, cond] = evalConditions();
|
|
1251
|
+
if (index < 0)
|
|
1252
|
+
return props.fallback;
|
|
1253
|
+
const c2 = cond.children;
|
|
1254
|
+
const fn = typeof c2 === "function" && c2.length > 0;
|
|
1255
|
+
return fn ? untrack(
|
|
1256
|
+
() => c2(
|
|
1257
|
+
keyed ? when : () => {
|
|
1258
|
+
if (untrack(evalConditions)[0] !== index)
|
|
1259
|
+
throw narrowedError("Match");
|
|
1260
|
+
return cond.when;
|
|
1261
|
+
}
|
|
1262
|
+
)
|
|
1263
|
+
) : c2;
|
|
1264
|
+
},
|
|
1265
|
+
void 0,
|
|
1266
|
+
void 0
|
|
1267
|
+
);
|
|
1219
1268
|
}
|
|
1220
1269
|
function Match(props) {
|
|
1221
1270
|
return props;
|
|
1222
1271
|
}
|
|
1223
|
-
var sharedConfig, equalFn, $PROXY, $TRACK,
|
|
1272
|
+
var sharedConfig, equalFn, $PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceFactory, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1224
1273
|
var init_solid = __esm({
|
|
1225
|
-
"../../node_modules/.pnpm/solid-js@1.
|
|
1274
|
+
"../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/dist/solid.js"() {
|
|
1226
1275
|
sharedConfig = {
|
|
1227
1276
|
context: void 0,
|
|
1228
1277
|
registry: void 0
|
|
@@ -1230,7 +1279,6 @@ var init_solid = __esm({
|
|
|
1230
1279
|
equalFn = (a2, b2) => a2 === b2;
|
|
1231
1280
|
$PROXY = Symbol("solid-proxy");
|
|
1232
1281
|
$TRACK = Symbol("solid-track");
|
|
1233
|
-
$DEVCOMP = Symbol("solid-dev-component");
|
|
1234
1282
|
signalOptions = {
|
|
1235
1283
|
equals: equalFn
|
|
1236
1284
|
};
|
|
@@ -1290,7 +1338,7 @@ var init_solid = __esm({
|
|
|
1290
1338
|
}
|
|
1291
1339
|
});
|
|
1292
1340
|
|
|
1293
|
-
// ../../node_modules/.pnpm/solid-js@1.
|
|
1341
|
+
// ../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/web/dist/web.js
|
|
1294
1342
|
function getPropAlias(prop, tagName) {
|
|
1295
1343
|
const a2 = PropAliases[prop];
|
|
1296
1344
|
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
@@ -1384,18 +1432,24 @@ function delegateEvents(eventNames, document2 = window.document) {
|
|
|
1384
1432
|
}
|
|
1385
1433
|
}
|
|
1386
1434
|
function setAttribute(node, name, value) {
|
|
1435
|
+
if (sharedConfig.context)
|
|
1436
|
+
return;
|
|
1387
1437
|
if (value == null)
|
|
1388
1438
|
node.removeAttribute(name);
|
|
1389
1439
|
else
|
|
1390
1440
|
node.setAttribute(name, value);
|
|
1391
1441
|
}
|
|
1392
1442
|
function setAttributeNS(node, namespace, name, value) {
|
|
1443
|
+
if (sharedConfig.context)
|
|
1444
|
+
return;
|
|
1393
1445
|
if (value == null)
|
|
1394
1446
|
node.removeAttributeNS(namespace, name);
|
|
1395
1447
|
else
|
|
1396
1448
|
node.setAttributeNS(namespace, name, value);
|
|
1397
1449
|
}
|
|
1398
1450
|
function className(node, value) {
|
|
1451
|
+
if (sharedConfig.context)
|
|
1452
|
+
return;
|
|
1399
1453
|
if (value == null)
|
|
1400
1454
|
node.removeAttribute("class");
|
|
1401
1455
|
else
|
|
@@ -1459,7 +1513,9 @@ function style(node, value, prev) {
|
|
|
1459
1513
|
function spread(node, props = {}, isSVG, skipChildren) {
|
|
1460
1514
|
const prevProps = {};
|
|
1461
1515
|
if (!skipChildren) {
|
|
1462
|
-
createRenderEffect(
|
|
1516
|
+
createRenderEffect(
|
|
1517
|
+
() => prevProps.children = insertExpression(node, props.children, prevProps.children)
|
|
1518
|
+
);
|
|
1463
1519
|
}
|
|
1464
1520
|
createRenderEffect(() => props.ref && props.ref(node));
|
|
1465
1521
|
createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
|
|
@@ -1497,10 +1553,6 @@ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = fals
|
|
|
1497
1553
|
function getNextElement(template2) {
|
|
1498
1554
|
let node, key;
|
|
1499
1555
|
if (!sharedConfig.context || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
|
|
1500
|
-
if (sharedConfig.context)
|
|
1501
|
-
console.warn("Unable to find DOM nodes for hydration key:", key);
|
|
1502
|
-
if (!template2)
|
|
1503
|
-
throw new Error("Unrecoverable Hydration Mismatch. No template for key: " + key);
|
|
1504
1556
|
return template2();
|
|
1505
1557
|
}
|
|
1506
1558
|
if (sharedConfig.completed)
|
|
@@ -1552,7 +1604,8 @@ function assignProp(node, prop, value, prev, isSVG, skipRef) {
|
|
|
1552
1604
|
if (forceProp) {
|
|
1553
1605
|
prop = prop.slice(5);
|
|
1554
1606
|
isProp = true;
|
|
1555
|
-
}
|
|
1607
|
+
} else if (sharedConfig.context)
|
|
1608
|
+
return value;
|
|
1556
1609
|
if (prop === "class" || prop === "className")
|
|
1557
1610
|
className(node, value);
|
|
1558
1611
|
else if (isCE && !isProp && !isChildProp)
|
|
@@ -1655,10 +1708,13 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1655
1708
|
if (sharedConfig.context) {
|
|
1656
1709
|
if (!array.length)
|
|
1657
1710
|
return current;
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1711
|
+
if (marker === void 0)
|
|
1712
|
+
return [...parent.childNodes];
|
|
1713
|
+
let node = array[0];
|
|
1714
|
+
let nodes = [node];
|
|
1715
|
+
while ((node = node.nextSibling) !== marker)
|
|
1716
|
+
nodes.push(node);
|
|
1717
|
+
return current = nodes;
|
|
1662
1718
|
}
|
|
1663
1719
|
if (array.length === 0) {
|
|
1664
1720
|
current = cleanChildren(parent, current, marker);
|
|
@@ -1687,7 +1743,7 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1687
1743
|
parent.replaceChild(value, parent.firstChild);
|
|
1688
1744
|
current = value;
|
|
1689
1745
|
} else
|
|
1690
|
-
|
|
1746
|
+
;
|
|
1691
1747
|
return current;
|
|
1692
1748
|
}
|
|
1693
1749
|
function normalizeIncomingArray(normalized, array, current, unwrap2) {
|
|
@@ -1704,7 +1760,11 @@ function normalizeIncomingArray(normalized, array, current, unwrap2) {
|
|
|
1704
1760
|
if (unwrap2) {
|
|
1705
1761
|
while (typeof item === "function")
|
|
1706
1762
|
item = item();
|
|
1707
|
-
dynamic = normalizeIncomingArray(
|
|
1763
|
+
dynamic = normalizeIncomingArray(
|
|
1764
|
+
normalized,
|
|
1765
|
+
Array.isArray(item) ? item : [item],
|
|
1766
|
+
Array.isArray(prev) ? prev : [prev]
|
|
1767
|
+
) || dynamic;
|
|
1708
1768
|
} else {
|
|
1709
1769
|
normalized.push(item);
|
|
1710
1770
|
dynamic = true;
|
|
@@ -1752,39 +1812,41 @@ function createElement(tagName, isSVG = false) {
|
|
|
1752
1812
|
return isSVG ? document.createElementNS(SVG_NAMESPACE, tagName) : document.createElement(tagName);
|
|
1753
1813
|
}
|
|
1754
1814
|
function Portal(props) {
|
|
1755
|
-
const {
|
|
1756
|
-
useShadow
|
|
1757
|
-
} = props, marker = document.createTextNode(""), mount = () => props.mount || document.body, owner = getOwner();
|
|
1815
|
+
const { useShadow } = props, marker = document.createTextNode(""), mount = () => props.mount || document.body, owner = getOwner();
|
|
1758
1816
|
let content;
|
|
1759
1817
|
let hydrating = !!sharedConfig.context;
|
|
1760
|
-
createEffect(
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1818
|
+
createEffect(
|
|
1819
|
+
() => {
|
|
1820
|
+
if (hydrating)
|
|
1821
|
+
getOwner().user = hydrating = false;
|
|
1822
|
+
content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
|
|
1823
|
+
const el = mount();
|
|
1824
|
+
if (el instanceof HTMLHeadElement) {
|
|
1825
|
+
const [clean, setClean] = createSignal(false);
|
|
1826
|
+
const cleanup = () => setClean(true);
|
|
1827
|
+
createRoot((dispose3) => insert(el, () => !clean() ? content() : dispose3(), null));
|
|
1828
|
+
onCleanup(cleanup);
|
|
1829
|
+
} else {
|
|
1830
|
+
const container = createElement(props.isSVG ? "g" : "div", props.isSVG), renderRoot = useShadow && container.attachShadow ? container.attachShadow({
|
|
1831
|
+
mode: "open"
|
|
1832
|
+
}) : container;
|
|
1833
|
+
Object.defineProperty(container, "_$host", {
|
|
1834
|
+
get() {
|
|
1835
|
+
return marker.parentNode;
|
|
1836
|
+
},
|
|
1837
|
+
configurable: true
|
|
1838
|
+
});
|
|
1839
|
+
insert(renderRoot, content);
|
|
1840
|
+
el.appendChild(container);
|
|
1841
|
+
props.ref && props.ref(container);
|
|
1842
|
+
onCleanup(() => el.removeChild(container));
|
|
1843
|
+
}
|
|
1844
|
+
},
|
|
1845
|
+
void 0,
|
|
1846
|
+
{
|
|
1847
|
+
render: !hydrating
|
|
1784
1848
|
}
|
|
1785
|
-
|
|
1786
|
-
render: !hydrating
|
|
1787
|
-
});
|
|
1849
|
+
);
|
|
1788
1850
|
return marker;
|
|
1789
1851
|
}
|
|
1790
1852
|
function Dynamic(props) {
|
|
@@ -1794,9 +1856,6 @@ function Dynamic(props) {
|
|
|
1794
1856
|
const component = cached();
|
|
1795
1857
|
switch (typeof component) {
|
|
1796
1858
|
case "function":
|
|
1797
|
-
Object.assign(component, {
|
|
1798
|
-
[$DEVCOMP]: true
|
|
1799
|
-
});
|
|
1800
1859
|
return untrack(() => component(others));
|
|
1801
1860
|
case "string":
|
|
1802
1861
|
const isSvg = SVGElements.has(component);
|
|
@@ -1808,12 +1867,51 @@ function Dynamic(props) {
|
|
|
1808
1867
|
}
|
|
1809
1868
|
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1810
1869
|
var init_web = __esm({
|
|
1811
|
-
"../../node_modules/.pnpm/solid-js@1.
|
|
1870
|
+
"../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/web/dist/web.js"() {
|
|
1812
1871
|
init_solid();
|
|
1813
1872
|
init_solid();
|
|
1814
|
-
booleans = [
|
|
1815
|
-
|
|
1816
|
-
|
|
1873
|
+
booleans = [
|
|
1874
|
+
"allowfullscreen",
|
|
1875
|
+
"async",
|
|
1876
|
+
"autofocus",
|
|
1877
|
+
"autoplay",
|
|
1878
|
+
"checked",
|
|
1879
|
+
"controls",
|
|
1880
|
+
"default",
|
|
1881
|
+
"disabled",
|
|
1882
|
+
"formnovalidate",
|
|
1883
|
+
"hidden",
|
|
1884
|
+
"indeterminate",
|
|
1885
|
+
"ismap",
|
|
1886
|
+
"loop",
|
|
1887
|
+
"multiple",
|
|
1888
|
+
"muted",
|
|
1889
|
+
"nomodule",
|
|
1890
|
+
"novalidate",
|
|
1891
|
+
"open",
|
|
1892
|
+
"playsinline",
|
|
1893
|
+
"readonly",
|
|
1894
|
+
"required",
|
|
1895
|
+
"reversed",
|
|
1896
|
+
"seamless",
|
|
1897
|
+
"selected"
|
|
1898
|
+
];
|
|
1899
|
+
Properties = /* @__PURE__ */ new Set([
|
|
1900
|
+
"className",
|
|
1901
|
+
"value",
|
|
1902
|
+
"readOnly",
|
|
1903
|
+
"formNoValidate",
|
|
1904
|
+
"isMap",
|
|
1905
|
+
"noModule",
|
|
1906
|
+
"playsInline",
|
|
1907
|
+
...booleans
|
|
1908
|
+
]);
|
|
1909
|
+
ChildProperties = /* @__PURE__ */ new Set([
|
|
1910
|
+
"innerHTML",
|
|
1911
|
+
"textContent",
|
|
1912
|
+
"innerText",
|
|
1913
|
+
"children"
|
|
1914
|
+
]);
|
|
1817
1915
|
Aliases = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
1818
1916
|
className: "class",
|
|
1819
1917
|
htmlFor: "for"
|
|
@@ -1843,7 +1941,30 @@ var init_web = __esm({
|
|
|
1843
1941
|
TEXTAREA: 1
|
|
1844
1942
|
}
|
|
1845
1943
|
});
|
|
1846
|
-
DelegatedEvents = /* @__PURE__ */ new Set([
|
|
1944
|
+
DelegatedEvents = /* @__PURE__ */ new Set([
|
|
1945
|
+
"beforeinput",
|
|
1946
|
+
"click",
|
|
1947
|
+
"dblclick",
|
|
1948
|
+
"contextmenu",
|
|
1949
|
+
"focusin",
|
|
1950
|
+
"focusout",
|
|
1951
|
+
"input",
|
|
1952
|
+
"keydown",
|
|
1953
|
+
"keyup",
|
|
1954
|
+
"mousedown",
|
|
1955
|
+
"mousemove",
|
|
1956
|
+
"mouseout",
|
|
1957
|
+
"mouseover",
|
|
1958
|
+
"mouseup",
|
|
1959
|
+
"pointerdown",
|
|
1960
|
+
"pointermove",
|
|
1961
|
+
"pointerout",
|
|
1962
|
+
"pointerover",
|
|
1963
|
+
"pointerup",
|
|
1964
|
+
"touchend",
|
|
1965
|
+
"touchmove",
|
|
1966
|
+
"touchstart"
|
|
1967
|
+
]);
|
|
1847
1968
|
SVGElements = /* @__PURE__ */ new Set([
|
|
1848
1969
|
"altGlyph",
|
|
1849
1970
|
"altGlyphDef",
|
|
@@ -2621,7 +2742,7 @@ var init_clsx = __esm({
|
|
|
2621
2742
|
}
|
|
2622
2743
|
});
|
|
2623
2744
|
|
|
2624
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.
|
|
2745
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.3_solid-js@1.8.1/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
2625
2746
|
function createListTransition(source, options) {
|
|
2626
2747
|
const initSource = untrack(source);
|
|
2627
2748
|
if (isServer) {
|
|
@@ -2688,7 +2809,7 @@ function createListTransition(source, options) {
|
|
|
2688
2809
|
}
|
|
2689
2810
|
var noop;
|
|
2690
2811
|
var init_dist = __esm({
|
|
2691
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.
|
|
2812
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.3_solid-js@1.8.1/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
2692
2813
|
init_solid();
|
|
2693
2814
|
init_web();
|
|
2694
2815
|
noop = () => {
|
|
@@ -2696,7 +2817,7 @@ var init_dist = __esm({
|
|
|
2696
2817
|
}
|
|
2697
2818
|
});
|
|
2698
2819
|
|
|
2699
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.
|
|
2820
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.8.1/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
2700
2821
|
function chain(callbacks) {
|
|
2701
2822
|
return (...args) => {
|
|
2702
2823
|
for (const callback of callbacks)
|
|
@@ -2714,27 +2835,64 @@ function reverseChain(callbacks) {
|
|
|
2714
2835
|
function accessWith(valueOrFn, ...args) {
|
|
2715
2836
|
return typeof valueOrFn === "function" ? valueOrFn(...args) : valueOrFn;
|
|
2716
2837
|
}
|
|
2717
|
-
|
|
2838
|
+
function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
2839
|
+
const currLength = current.length;
|
|
2840
|
+
const prevLength = prev.length;
|
|
2841
|
+
let i2 = 0;
|
|
2842
|
+
if (!prevLength) {
|
|
2843
|
+
for (; i2 < currLength; i2++)
|
|
2844
|
+
handleAdded(current[i2]);
|
|
2845
|
+
return;
|
|
2846
|
+
}
|
|
2847
|
+
if (!currLength) {
|
|
2848
|
+
for (; i2 < prevLength; i2++)
|
|
2849
|
+
handleRemoved(prev[i2]);
|
|
2850
|
+
return;
|
|
2851
|
+
}
|
|
2852
|
+
for (; i2 < prevLength; i2++) {
|
|
2853
|
+
if (prev[i2] !== current[i2])
|
|
2854
|
+
break;
|
|
2855
|
+
}
|
|
2856
|
+
let prevEl;
|
|
2857
|
+
let currEl;
|
|
2858
|
+
prev = prev.slice(i2);
|
|
2859
|
+
current = current.slice(i2);
|
|
2860
|
+
for (prevEl of prev) {
|
|
2861
|
+
if (!current.includes(prevEl))
|
|
2862
|
+
handleRemoved(prevEl);
|
|
2863
|
+
}
|
|
2864
|
+
for (currEl of current) {
|
|
2865
|
+
if (!prev.includes(currEl))
|
|
2866
|
+
handleAdded(currEl);
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
var isClient, isDev, noop2, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
2718
2870
|
var init_R5675YMU = __esm({
|
|
2719
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.
|
|
2871
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.8.1/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
2720
2872
|
init_solid();
|
|
2721
2873
|
init_web();
|
|
2722
2874
|
isClient = !isServer;
|
|
2723
2875
|
isDev = isClient && !!DEV;
|
|
2876
|
+
noop2 = () => void 0;
|
|
2877
|
+
isNonNullable = (i2) => i2 != null;
|
|
2878
|
+
filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
2724
2879
|
access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
2725
2880
|
asArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
|
|
2726
2881
|
tryOnCleanup = isDev ? (fn) => getOwner() ? onCleanup(fn) : fn : onCleanup;
|
|
2727
2882
|
}
|
|
2728
2883
|
});
|
|
2729
2884
|
|
|
2730
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.
|
|
2885
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.8.1/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
2731
2886
|
var init_index = __esm({
|
|
2732
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.
|
|
2887
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.1_solid-js@1.8.1/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
2733
2888
|
init_R5675YMU();
|
|
2734
2889
|
}
|
|
2735
2890
|
});
|
|
2736
2891
|
|
|
2737
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.
|
|
2892
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.5_solid-js@1.8.1/node_modules/@solid-primitives/refs/dist/index.js
|
|
2893
|
+
function mergeRefs(...refs) {
|
|
2894
|
+
return chain(refs);
|
|
2895
|
+
}
|
|
2738
2896
|
function getResolvedElements(value, predicate) {
|
|
2739
2897
|
if (predicate(value))
|
|
2740
2898
|
return value;
|
|
@@ -2764,14 +2922,15 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
2764
2922
|
}
|
|
2765
2923
|
var defaultElementPredicate;
|
|
2766
2924
|
var init_dist2 = __esm({
|
|
2767
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.
|
|
2925
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.5_solid-js@1.8.1/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
2926
|
+
init_index();
|
|
2768
2927
|
init_solid();
|
|
2769
2928
|
init_web();
|
|
2770
2929
|
defaultElementPredicate = isServer ? (item) => item != null && typeof item === "object" && "t" in item : (item) => item instanceof Element;
|
|
2771
2930
|
}
|
|
2772
2931
|
});
|
|
2773
2932
|
|
|
2774
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.2_solid-js@1.
|
|
2933
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.2_solid-js@1.8.1/node_modules/solid-transition-group/dist/index.js
|
|
2775
2934
|
function createClassnames(props) {
|
|
2776
2935
|
return createMemo(() => {
|
|
2777
2936
|
const name = props.name || "s";
|
|
@@ -2847,7 +3006,7 @@ function exitTransition(classnames, events, el, done) {
|
|
|
2847
3006
|
}
|
|
2848
3007
|
var TransitionGroup;
|
|
2849
3008
|
var init_dist3 = __esm({
|
|
2850
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.2_solid-js@1.
|
|
3009
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.2_solid-js@1.8.1/node_modules/solid-transition-group/dist/index.js"() {
|
|
2851
3010
|
init_solid();
|
|
2852
3011
|
init_dist();
|
|
2853
3012
|
init_dist2();
|
|
@@ -2901,7 +3060,7 @@ var init_dist3 = __esm({
|
|
|
2901
3060
|
}
|
|
2902
3061
|
});
|
|
2903
3062
|
|
|
2904
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.
|
|
3063
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.8.1/node_modules/@solid-primitives/keyed/dist/index.js
|
|
2905
3064
|
function dispose2(list) {
|
|
2906
3065
|
for (const o2 of list)
|
|
2907
3066
|
o2.dispose();
|
|
@@ -2956,11 +3115,11 @@ function keyArray(items, keyFn, mapFn, options = {}) {
|
|
|
2956
3115
|
const item = list[i2];
|
|
2957
3116
|
const key = keyFn(item, i2);
|
|
2958
3117
|
prevKeys.delete(key);
|
|
2959
|
-
const
|
|
2960
|
-
if (
|
|
2961
|
-
result[i2] =
|
|
2962
|
-
|
|
2963
|
-
|
|
3118
|
+
const lookup = prev.get(key);
|
|
3119
|
+
if (lookup) {
|
|
3120
|
+
result[i2] = lookup.mapped;
|
|
3121
|
+
lookup.setIndex?.(i2);
|
|
3122
|
+
lookup.setItem(() => item);
|
|
2964
3123
|
} else
|
|
2965
3124
|
addNewItem(result, item, i2, key);
|
|
2966
3125
|
}
|
|
@@ -2999,64 +3158,14 @@ function Key(props) {
|
|
|
2999
3158
|
}
|
|
3000
3159
|
var FALLBACK2;
|
|
3001
3160
|
var init_dist4 = __esm({
|
|
3002
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.
|
|
3161
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.8.1/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
3003
3162
|
init_solid();
|
|
3004
3163
|
init_web();
|
|
3005
3164
|
FALLBACK2 = Symbol("fallback");
|
|
3006
3165
|
}
|
|
3007
3166
|
});
|
|
3008
3167
|
|
|
3009
|
-
// ../../node_modules/.pnpm/@solid-primitives+
|
|
3010
|
-
function handleDiffArray2(current, prev, handleAdded, handleRemoved) {
|
|
3011
|
-
const currLength = current.length;
|
|
3012
|
-
const prevLength = prev.length;
|
|
3013
|
-
let i2 = 0;
|
|
3014
|
-
if (!prevLength) {
|
|
3015
|
-
for (; i2 < currLength; i2++)
|
|
3016
|
-
handleAdded(current[i2]);
|
|
3017
|
-
return;
|
|
3018
|
-
}
|
|
3019
|
-
if (!currLength) {
|
|
3020
|
-
for (; i2 < prevLength; i2++)
|
|
3021
|
-
handleRemoved(prev[i2]);
|
|
3022
|
-
return;
|
|
3023
|
-
}
|
|
3024
|
-
for (; i2 < prevLength; i2++) {
|
|
3025
|
-
if (prev[i2] !== current[i2])
|
|
3026
|
-
break;
|
|
3027
|
-
}
|
|
3028
|
-
let prevEl;
|
|
3029
|
-
let currEl;
|
|
3030
|
-
prev = prev.slice(i2);
|
|
3031
|
-
current = current.slice(i2);
|
|
3032
|
-
for (prevEl of prev) {
|
|
3033
|
-
if (!current.includes(prevEl))
|
|
3034
|
-
handleRemoved(prevEl);
|
|
3035
|
-
}
|
|
3036
|
-
for (currEl of current) {
|
|
3037
|
-
if (!prev.includes(currEl))
|
|
3038
|
-
handleAdded(currEl);
|
|
3039
|
-
}
|
|
3040
|
-
}
|
|
3041
|
-
var noop3, isNonNullable2, filterNonNullable2, access2, asArray2;
|
|
3042
|
-
var init_APG4HSEJ = __esm({
|
|
3043
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js"() {
|
|
3044
|
-
noop3 = () => void 0;
|
|
3045
|
-
isNonNullable2 = (i2) => i2 != null;
|
|
3046
|
-
filterNonNullable2 = (arr) => arr.filter(isNonNullable2);
|
|
3047
|
-
access2 = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
3048
|
-
asArray2 = (value) => Array.isArray(value) ? value : value ? [value] : [];
|
|
3049
|
-
}
|
|
3050
|
-
});
|
|
3051
|
-
|
|
3052
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3053
|
-
var init_index2 = __esm({
|
|
3054
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3055
|
-
init_APG4HSEJ();
|
|
3056
|
-
}
|
|
3057
|
-
});
|
|
3058
|
-
|
|
3059
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.7.8/node_modules/@solid-primitives/storage/dist/index.js
|
|
3168
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.8.1/node_modules/@solid-primitives/storage/dist/index.js
|
|
3060
3169
|
function createStorage(props) {
|
|
3061
3170
|
const [error, setError] = createSignal();
|
|
3062
3171
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3201,7 +3310,7 @@ function createStorage(props) {
|
|
|
3201
3310
|
}
|
|
3202
3311
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3203
3312
|
var init_dist5 = __esm({
|
|
3204
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.
|
|
3313
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.8.1/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3205
3314
|
init_solid();
|
|
3206
3315
|
createLocalStorage = createStorage;
|
|
3207
3316
|
addClearMethod = (storage) => {
|
|
@@ -3281,10 +3390,37 @@ var init_dist5 = __esm({
|
|
|
3281
3390
|
}
|
|
3282
3391
|
});
|
|
3283
3392
|
|
|
3284
|
-
// ../../node_modules/.pnpm/@solid-primitives+
|
|
3393
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.0_solid-js@1.8.1/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
3394
|
+
function makeEventListener(target, type, handler, options) {
|
|
3395
|
+
target.addEventListener(type, handler, options);
|
|
3396
|
+
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
3397
|
+
}
|
|
3398
|
+
function createEventListener(targets, type, handler, options) {
|
|
3399
|
+
if (isServer)
|
|
3400
|
+
return;
|
|
3401
|
+
const attachListeners = () => {
|
|
3402
|
+
asArray(access(targets)).forEach((el) => {
|
|
3403
|
+
if (el)
|
|
3404
|
+
asArray(access(type)).forEach((type2) => makeEventListener(el, type2, handler, options));
|
|
3405
|
+
});
|
|
3406
|
+
};
|
|
3407
|
+
if (typeof targets === "function")
|
|
3408
|
+
createEffect(attachListeners);
|
|
3409
|
+
else
|
|
3410
|
+
createRenderEffect(attachListeners);
|
|
3411
|
+
}
|
|
3412
|
+
var init_dist6 = __esm({
|
|
3413
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.0_solid-js@1.8.1/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
3414
|
+
init_index();
|
|
3415
|
+
init_solid();
|
|
3416
|
+
init_web();
|
|
3417
|
+
}
|
|
3418
|
+
});
|
|
3419
|
+
|
|
3420
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.18_solid-js@1.8.1/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
3285
3421
|
function makeResizeObserver(callback, options) {
|
|
3286
3422
|
if (isServer) {
|
|
3287
|
-
return { observe:
|
|
3423
|
+
return { observe: noop2, unobserve: noop2 };
|
|
3288
3424
|
}
|
|
3289
3425
|
const observer = new ResizeObserver(callback);
|
|
3290
3426
|
onCleanup(observer.disconnect.bind(observer));
|
|
@@ -3296,8 +3432,8 @@ function makeResizeObserver(callback, options) {
|
|
|
3296
3432
|
function createResizeObserver(targets, onResize, options) {
|
|
3297
3433
|
if (isServer)
|
|
3298
3434
|
return;
|
|
3299
|
-
const previousMap = /* @__PURE__ */ new WeakMap(), { observe, unobserve } = makeResizeObserver((
|
|
3300
|
-
for (const entry of
|
|
3435
|
+
const previousMap = /* @__PURE__ */ new WeakMap(), { observe, unobserve } = makeResizeObserver((entries2) => {
|
|
3436
|
+
for (const entry of entries2) {
|
|
3301
3437
|
const { contentRect, target } = entry, width = Math.round(contentRect.width), height = Math.round(contentRect.height), previous = previousMap.get(target);
|
|
3302
3438
|
if (!previous || previous.width !== width || previous.height !== height) {
|
|
3303
3439
|
onResize(contentRect, target, entry);
|
|
@@ -3306,48 +3442,21 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
3306
3442
|
}
|
|
3307
3443
|
}, options);
|
|
3308
3444
|
createEffect((prev) => {
|
|
3309
|
-
const refs =
|
|
3310
|
-
|
|
3445
|
+
const refs = filterNonNullable(asArray(access(targets)));
|
|
3446
|
+
handleDiffArray(refs, prev, observe, unobserve);
|
|
3311
3447
|
return refs;
|
|
3312
3448
|
}, []);
|
|
3313
3449
|
}
|
|
3314
|
-
var init_dist6 = __esm({
|
|
3315
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.18_solid-js@1.7.8/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
3316
|
-
init_index2();
|
|
3317
|
-
init_solid();
|
|
3318
|
-
init_web();
|
|
3319
|
-
}
|
|
3320
|
-
});
|
|
3321
|
-
|
|
3322
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.0_solid-js@1.7.8/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
3323
|
-
function makeEventListener(target, type, handler, options) {
|
|
3324
|
-
target.addEventListener(type, handler, options);
|
|
3325
|
-
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
3326
|
-
}
|
|
3327
|
-
function createEventListener(targets, type, handler, options) {
|
|
3328
|
-
if (isServer)
|
|
3329
|
-
return;
|
|
3330
|
-
const attachListeners = () => {
|
|
3331
|
-
asArray(access(targets)).forEach((el) => {
|
|
3332
|
-
if (el)
|
|
3333
|
-
asArray(access(type)).forEach((type2) => makeEventListener(el, type2, handler, options));
|
|
3334
|
-
});
|
|
3335
|
-
};
|
|
3336
|
-
if (typeof targets === "function")
|
|
3337
|
-
createEffect(attachListeners);
|
|
3338
|
-
else
|
|
3339
|
-
createRenderEffect(attachListeners);
|
|
3340
|
-
}
|
|
3341
3450
|
var init_dist7 = __esm({
|
|
3342
|
-
"../../node_modules/.pnpm/@solid-primitives+
|
|
3451
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.18_solid-js@1.8.1/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
3343
3452
|
init_index();
|
|
3344
3453
|
init_solid();
|
|
3345
3454
|
init_web();
|
|
3346
3455
|
}
|
|
3347
3456
|
});
|
|
3348
3457
|
|
|
3349
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.8_solid-js@1.
|
|
3350
|
-
function
|
|
3458
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.8_solid-js@1.8.1/node_modules/@solid-primitives/props/dist/index.js
|
|
3459
|
+
function trueFn3() {
|
|
3351
3460
|
return true;
|
|
3352
3461
|
}
|
|
3353
3462
|
function stringStyleToObject(style2) {
|
|
@@ -3431,7 +3540,7 @@ function combineProps(...args) {
|
|
|
3431
3540
|
}
|
|
3432
3541
|
var propTraps2, extractCSSregex, reduce;
|
|
3433
3542
|
var init_dist8 = __esm({
|
|
3434
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.8_solid-js@1.
|
|
3543
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.8_solid-js@1.8.1/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
3435
3544
|
init_solid();
|
|
3436
3545
|
init_index();
|
|
3437
3546
|
propTraps2 = {
|
|
@@ -3443,8 +3552,8 @@ var init_dist8 = __esm({
|
|
|
3443
3552
|
has(_, property) {
|
|
3444
3553
|
return _.has(property);
|
|
3445
3554
|
},
|
|
3446
|
-
set:
|
|
3447
|
-
deleteProperty:
|
|
3555
|
+
set: trueFn3,
|
|
3556
|
+
deleteProperty: trueFn3,
|
|
3448
3557
|
getOwnPropertyDescriptor(_, property) {
|
|
3449
3558
|
return {
|
|
3450
3559
|
configurable: true,
|
|
@@ -3452,8 +3561,8 @@ var init_dist8 = __esm({
|
|
|
3452
3561
|
get() {
|
|
3453
3562
|
return _.get(property);
|
|
3454
3563
|
},
|
|
3455
|
-
set:
|
|
3456
|
-
deleteProperty:
|
|
3564
|
+
set: trueFn3,
|
|
3565
|
+
deleteProperty: trueFn3
|
|
3457
3566
|
};
|
|
3458
3567
|
},
|
|
3459
3568
|
ownKeys(_) {
|
|
@@ -3475,17 +3584,7 @@ var init_dist8 = __esm({
|
|
|
3475
3584
|
}
|
|
3476
3585
|
});
|
|
3477
3586
|
|
|
3478
|
-
// ../../node_modules/.pnpm/@
|
|
3479
|
-
function mergeRefs(...refs) {
|
|
3480
|
-
return chain(refs);
|
|
3481
|
-
}
|
|
3482
|
-
var init_dist9 = __esm({
|
|
3483
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.5_solid-js@1.7.8/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
3484
|
-
init_index();
|
|
3485
|
-
}
|
|
3486
|
-
});
|
|
3487
|
-
|
|
3488
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.7.8/node_modules/@kobalte/utils/dist/index.js
|
|
3587
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.8.1/node_modules/@kobalte/utils/dist/index.js
|
|
3489
3588
|
function addItemToArray(array, item, index = -1) {
|
|
3490
3589
|
if (!(index in array)) {
|
|
3491
3590
|
return [...array, item];
|
|
@@ -3719,7 +3818,7 @@ function getFocusableTreeWalker(root, opts, scope) {
|
|
|
3719
3818
|
}
|
|
3720
3819
|
return walker2;
|
|
3721
3820
|
}
|
|
3722
|
-
function
|
|
3821
|
+
function noop3() {
|
|
3723
3822
|
return;
|
|
3724
3823
|
}
|
|
3725
3824
|
function isPointInPolygon(point, polygon) {
|
|
@@ -3845,12 +3944,12 @@ function relativeOffset(ancestor, child, axis) {
|
|
|
3845
3944
|
return sum;
|
|
3846
3945
|
}
|
|
3847
3946
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
3848
|
-
var
|
|
3849
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.
|
|
3947
|
+
var init_dist9 = __esm({
|
|
3948
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.8.1/node_modules/@kobalte/utils/dist/index.js"() {
|
|
3850
3949
|
init_solid();
|
|
3851
|
-
|
|
3950
|
+
init_dist6();
|
|
3852
3951
|
init_dist8();
|
|
3853
|
-
|
|
3952
|
+
init_dist2();
|
|
3854
3953
|
init_index();
|
|
3855
3954
|
EventKey = /* @__PURE__ */ ((EventKey2) => {
|
|
3856
3955
|
EventKey2["Escape"] = "Escape";
|
|
@@ -3912,7 +4011,7 @@ var init_dist10 = __esm({
|
|
|
3912
4011
|
}
|
|
3913
4012
|
});
|
|
3914
4013
|
|
|
3915
|
-
// ../../node_modules/.pnpm/solid-js@1.
|
|
4014
|
+
// ../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/store/dist/store.js
|
|
3916
4015
|
function wrap$1(value) {
|
|
3917
4016
|
let p2 = value[$PROXY];
|
|
3918
4017
|
if (!p2) {
|
|
@@ -3920,9 +4019,9 @@ function wrap$1(value) {
|
|
|
3920
4019
|
value: p2 = new Proxy(value, proxyTraps$1)
|
|
3921
4020
|
});
|
|
3922
4021
|
if (!Array.isArray(value)) {
|
|
3923
|
-
const
|
|
3924
|
-
for (let i2 = 0, l2 =
|
|
3925
|
-
const prop =
|
|
4022
|
+
const keys2 = Object.keys(value), desc = Object.getOwnPropertyDescriptors(value);
|
|
4023
|
+
for (let i2 = 0, l2 = keys2.length; i2 < l2; i2++) {
|
|
4024
|
+
const prop = keys2[i2];
|
|
3926
4025
|
if (desc[prop].get) {
|
|
3927
4026
|
Object.defineProperty(value, prop, {
|
|
3928
4027
|
enumerable: desc[prop].enumerable,
|
|
@@ -3959,9 +4058,9 @@ function unwrap(item, set = /* @__PURE__ */ new Set()) {
|
|
|
3959
4058
|
item = Object.assign({}, item);
|
|
3960
4059
|
else
|
|
3961
4060
|
set.add(item);
|
|
3962
|
-
const
|
|
3963
|
-
for (let i2 = 0, l2 =
|
|
3964
|
-
prop =
|
|
4061
|
+
const keys2 = Object.keys(item), desc = Object.getOwnPropertyDescriptors(item);
|
|
4062
|
+
for (let i2 = 0, l2 = keys2.length; i2 < l2; i2++) {
|
|
4063
|
+
prop = keys2[i2];
|
|
3965
4064
|
if (desc[prop].get)
|
|
3966
4065
|
continue;
|
|
3967
4066
|
v = item[prop];
|
|
@@ -3971,16 +4070,23 @@ function unwrap(item, set = /* @__PURE__ */ new Set()) {
|
|
|
3971
4070
|
}
|
|
3972
4071
|
return item;
|
|
3973
4072
|
}
|
|
3974
|
-
function
|
|
3975
|
-
let nodes = target[
|
|
4073
|
+
function getNodes(target, symbol) {
|
|
4074
|
+
let nodes = target[symbol];
|
|
3976
4075
|
if (!nodes)
|
|
3977
|
-
Object.defineProperty(target,
|
|
4076
|
+
Object.defineProperty(target, symbol, {
|
|
3978
4077
|
value: nodes = /* @__PURE__ */ Object.create(null)
|
|
3979
4078
|
});
|
|
3980
4079
|
return nodes;
|
|
3981
4080
|
}
|
|
3982
|
-
function
|
|
3983
|
-
|
|
4081
|
+
function getNode(nodes, property, value) {
|
|
4082
|
+
if (nodes[property])
|
|
4083
|
+
return nodes[property];
|
|
4084
|
+
const [s2, set] = createSignal(value, {
|
|
4085
|
+
equals: false,
|
|
4086
|
+
internal: true
|
|
4087
|
+
});
|
|
4088
|
+
s2.$ = set;
|
|
4089
|
+
return nodes[property] = s2;
|
|
3984
4090
|
}
|
|
3985
4091
|
function proxyDescriptor$1(target, property) {
|
|
3986
4092
|
const desc = Reflect.getOwnPropertyDescriptor(target, property);
|
|
@@ -3992,45 +4098,39 @@ function proxyDescriptor$1(target, property) {
|
|
|
3992
4098
|
return desc;
|
|
3993
4099
|
}
|
|
3994
4100
|
function trackSelf(target) {
|
|
3995
|
-
|
|
3996
|
-
const nodes = getDataNodes(target);
|
|
3997
|
-
(nodes._ || (nodes._ = createDataNode()))();
|
|
3998
|
-
}
|
|
4101
|
+
getListener() && getNode(getNodes(target, $NODE), $SELF)();
|
|
3999
4102
|
}
|
|
4000
4103
|
function ownKeys(target) {
|
|
4001
4104
|
trackSelf(target);
|
|
4002
4105
|
return Reflect.ownKeys(target);
|
|
4003
4106
|
}
|
|
4004
|
-
function createDataNode(value) {
|
|
4005
|
-
const [s2, set] = createSignal(value, {
|
|
4006
|
-
equals: false,
|
|
4007
|
-
internal: true
|
|
4008
|
-
});
|
|
4009
|
-
s2.$ = set;
|
|
4010
|
-
return s2;
|
|
4011
|
-
}
|
|
4012
4107
|
function setProperty(state2, property, value, deleting = false) {
|
|
4013
4108
|
if (!deleting && state2[property] === value)
|
|
4014
4109
|
return;
|
|
4015
4110
|
const prev = state2[property], len = state2.length;
|
|
4016
|
-
if (value === void 0)
|
|
4111
|
+
if (value === void 0) {
|
|
4017
4112
|
delete state2[property];
|
|
4018
|
-
|
|
4113
|
+
if (state2[$HAS] && state2[$HAS][property] && prev !== void 0)
|
|
4114
|
+
state2[$HAS][property].$();
|
|
4115
|
+
} else {
|
|
4019
4116
|
state2[property] = value;
|
|
4020
|
-
|
|
4021
|
-
|
|
4117
|
+
if (state2[$HAS] && state2[$HAS][property] && prev === void 0)
|
|
4118
|
+
state2[$HAS][property].$();
|
|
4119
|
+
}
|
|
4120
|
+
let nodes = getNodes(state2, $NODE), node;
|
|
4121
|
+
if (node = getNode(nodes, property, prev))
|
|
4022
4122
|
node.$(() => value);
|
|
4023
4123
|
if (Array.isArray(state2) && state2.length !== len) {
|
|
4024
4124
|
for (let i2 = state2.length; i2 < len; i2++)
|
|
4025
4125
|
(node = nodes[i2]) && node.$();
|
|
4026
|
-
(node =
|
|
4126
|
+
(node = getNode(nodes, "length", len)) && node.$(state2.length);
|
|
4027
4127
|
}
|
|
4028
|
-
(node = nodes
|
|
4128
|
+
(node = nodes[$SELF]) && node.$();
|
|
4029
4129
|
}
|
|
4030
4130
|
function mergeStoreNode(state2, value) {
|
|
4031
|
-
const
|
|
4032
|
-
for (let i2 = 0; i2 <
|
|
4033
|
-
const key =
|
|
4131
|
+
const keys2 = Object.keys(value);
|
|
4132
|
+
for (let i2 = 0; i2 < keys2.length; i2 += 1) {
|
|
4133
|
+
const key = keys2[i2];
|
|
4034
4134
|
setProperty(state2, key, value[key]);
|
|
4035
4135
|
}
|
|
4036
4136
|
}
|
|
@@ -4068,11 +4168,7 @@ function updatePath(current, path, traversed = []) {
|
|
|
4068
4168
|
}
|
|
4069
4169
|
return;
|
|
4070
4170
|
} else if (isArray4 && partType === "object") {
|
|
4071
|
-
const {
|
|
4072
|
-
from = 0,
|
|
4073
|
-
to = current.length - 1,
|
|
4074
|
-
by = 1
|
|
4075
|
-
} = part;
|
|
4171
|
+
const { from = 0, to = current.length - 1, by = 1 } = part;
|
|
4076
4172
|
for (let i2 = from; i2 <= to; i2 += by) {
|
|
4077
4173
|
updatePath(current, [i2].concat(path), traversed);
|
|
4078
4174
|
}
|
|
@@ -4109,12 +4205,14 @@ function createStore(...[store, options]) {
|
|
|
4109
4205
|
}
|
|
4110
4206
|
return [wrappedStore, setStore];
|
|
4111
4207
|
}
|
|
4112
|
-
var $RAW, $NODE, proxyTraps$1;
|
|
4208
|
+
var $RAW, $NODE, $HAS, $SELF, proxyTraps$1;
|
|
4113
4209
|
var init_store = __esm({
|
|
4114
|
-
"../../node_modules/.pnpm/solid-js@1.
|
|
4210
|
+
"../../node_modules/.pnpm/solid-js@1.8.1/node_modules/solid-js/store/dist/store.js"() {
|
|
4115
4211
|
init_solid();
|
|
4116
4212
|
$RAW = Symbol("store-raw");
|
|
4117
4213
|
$NODE = Symbol("store-node");
|
|
4214
|
+
$HAS = Symbol("store-has");
|
|
4215
|
+
$SELF = Symbol("store-self");
|
|
4118
4216
|
proxyTraps$1 = {
|
|
4119
4217
|
get(target, property, receiver) {
|
|
4120
4218
|
if (property === $RAW)
|
|
@@ -4125,22 +4223,22 @@ var init_store = __esm({
|
|
|
4125
4223
|
trackSelf(target);
|
|
4126
4224
|
return receiver;
|
|
4127
4225
|
}
|
|
4128
|
-
const nodes =
|
|
4226
|
+
const nodes = getNodes(target, $NODE);
|
|
4129
4227
|
const tracked = nodes[property];
|
|
4130
4228
|
let value = tracked ? tracked() : target[property];
|
|
4131
|
-
if (property === $NODE || property === "__proto__")
|
|
4229
|
+
if (property === $NODE || property === $HAS || property === "__proto__")
|
|
4132
4230
|
return value;
|
|
4133
4231
|
if (!tracked) {
|
|
4134
4232
|
const desc = Object.getOwnPropertyDescriptor(target, property);
|
|
4135
4233
|
if (getListener() && (typeof value !== "function" || target.hasOwnProperty(property)) && !(desc && desc.get))
|
|
4136
|
-
value =
|
|
4234
|
+
value = getNode(nodes, property, value)();
|
|
4137
4235
|
}
|
|
4138
4236
|
return isWrappable(value) ? wrap$1(value) : value;
|
|
4139
4237
|
},
|
|
4140
4238
|
has(target, property) {
|
|
4141
|
-
if (property === $RAW || property === $PROXY || property === $TRACK || property === $NODE || property === "__proto__")
|
|
4239
|
+
if (property === $RAW || property === $PROXY || property === $TRACK || property === $NODE || property === $HAS || property === "__proto__")
|
|
4142
4240
|
return true;
|
|
4143
|
-
|
|
4241
|
+
getListener() && getNode(getNodes(target, $HAS), property)();
|
|
4144
4242
|
return property in target;
|
|
4145
4243
|
},
|
|
4146
4244
|
set() {
|
|
@@ -4198,8 +4296,8 @@ var init_import = __esm({
|
|
|
4198
4296
|
}
|
|
4199
4297
|
});
|
|
4200
4298
|
|
|
4201
|
-
// ../../node_modules/.pnpm/@floating-ui+utils@0.1.
|
|
4202
|
-
function
|
|
4299
|
+
// ../../node_modules/.pnpm/@floating-ui+utils@0.1.6/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
4300
|
+
function clamp2(start, value, end) {
|
|
4203
4301
|
return max(start, min(value, end));
|
|
4204
4302
|
}
|
|
4205
4303
|
function evaluate(value, param) {
|
|
@@ -4303,7 +4401,7 @@ function rectToClientRect(rect) {
|
|
|
4303
4401
|
}
|
|
4304
4402
|
var sides, min, max, round, floor, createCoords, oppositeSideMap, oppositeAlignmentMap;
|
|
4305
4403
|
var init_floating_ui_utils = __esm({
|
|
4306
|
-
"../../node_modules/.pnpm/@floating-ui+utils@0.1.
|
|
4404
|
+
"../../node_modules/.pnpm/@floating-ui+utils@0.1.6/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"() {
|
|
4307
4405
|
sides = ["top", "right", "bottom", "left"];
|
|
4308
4406
|
min = Math.min;
|
|
4309
4407
|
max = Math.max;
|
|
@@ -4620,7 +4718,7 @@ var init_floating_ui_core = __esm({
|
|
|
4620
4718
|
const min$1 = minPadding;
|
|
4621
4719
|
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
4622
4720
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
4623
|
-
const offset2 =
|
|
4721
|
+
const offset2 = clamp2(min$1, center, max2);
|
|
4624
4722
|
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
4625
4723
|
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
4626
4724
|
return {
|
|
@@ -4844,14 +4942,14 @@ var init_floating_ui_core = __esm({
|
|
|
4844
4942
|
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
4845
4943
|
const min2 = mainAxisCoord + overflow[minSide];
|
|
4846
4944
|
const max2 = mainAxisCoord - overflow[maxSide];
|
|
4847
|
-
mainAxisCoord =
|
|
4945
|
+
mainAxisCoord = clamp2(min2, mainAxisCoord, max2);
|
|
4848
4946
|
}
|
|
4849
4947
|
if (checkCrossAxis) {
|
|
4850
4948
|
const minSide = crossAxis === "y" ? "top" : "left";
|
|
4851
4949
|
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
4852
4950
|
const min2 = crossAxisCoord + overflow[minSide];
|
|
4853
4951
|
const max2 = crossAxisCoord - overflow[maxSide];
|
|
4854
|
-
crossAxisCoord =
|
|
4952
|
+
crossAxisCoord = clamp2(min2, crossAxisCoord, max2);
|
|
4855
4953
|
}
|
|
4856
4954
|
const limitedCoords = limiter.fn({
|
|
4857
4955
|
...state2,
|
|
@@ -4947,7 +5045,7 @@ var init_floating_ui_core = __esm({
|
|
|
4947
5045
|
}
|
|
4948
5046
|
});
|
|
4949
5047
|
|
|
4950
|
-
// ../../node_modules/.pnpm/@floating-ui+utils@0.1.
|
|
5048
|
+
// ../../node_modules/.pnpm/@floating-ui+utils@0.1.6/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
|
|
4951
5049
|
function getNodeName(node) {
|
|
4952
5050
|
if (isNode(node)) {
|
|
4953
5051
|
return (node.nodeName || "").toLowerCase();
|
|
@@ -5068,7 +5166,7 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
5068
5166
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
5069
5167
|
}
|
|
5070
5168
|
var init_floating_ui_utils_dom = __esm({
|
|
5071
|
-
"../../node_modules/.pnpm/@floating-ui+utils@0.1.
|
|
5169
|
+
"../../node_modules/.pnpm/@floating-ui+utils@0.1.6/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs"() {
|
|
5072
5170
|
}
|
|
5073
5171
|
});
|
|
5074
5172
|
|
|
@@ -5459,8 +5557,8 @@ function observeMove(element, onMove) {
|
|
|
5459
5557
|
threshold: max(0, min(1, threshold)) || 1
|
|
5460
5558
|
};
|
|
5461
5559
|
let isFirstUpdate = true;
|
|
5462
|
-
function handleObserve(
|
|
5463
|
-
const ratio =
|
|
5560
|
+
function handleObserve(entries2) {
|
|
5561
|
+
const ratio = entries2[0].intersectionRatio;
|
|
5464
5562
|
if (ratio !== threshold) {
|
|
5465
5563
|
if (!isFirstUpdate) {
|
|
5466
5564
|
return refresh();
|
|
@@ -6149,7 +6247,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
6149
6247
|
}
|
|
6150
6248
|
function createInteractOutside(props, ref) {
|
|
6151
6249
|
let pointerDownTimeoutId;
|
|
6152
|
-
let clickHandler =
|
|
6250
|
+
let clickHandler = noop3;
|
|
6153
6251
|
const ownerDocument = () => getDocument(ref());
|
|
6154
6252
|
const onPointerDownOutside = (e2) => props.onPointerDownOutside?.(e2);
|
|
6155
6253
|
const onFocusOutside = (e2) => props.onFocusOutside?.(e2);
|
|
@@ -6645,9 +6743,9 @@ function createMultipleSelectionState(props) {
|
|
|
6645
6743
|
const [selectionBehavior, setSelectionBehavior] = createSignal(access(props.selectionBehavior));
|
|
6646
6744
|
const selectionMode = () => access(props.selectionMode);
|
|
6647
6745
|
const disallowEmptySelection = () => access(props.disallowEmptySelection) ?? false;
|
|
6648
|
-
const setSelectedKeys = (
|
|
6649
|
-
if (access(props.allowDuplicateSelectionEvents) || !isSameSelection(
|
|
6650
|
-
_setSelectedKeys(
|
|
6746
|
+
const setSelectedKeys = (keys2) => {
|
|
6747
|
+
if (access(props.allowDuplicateSelectionEvents) || !isSameSelection(keys2, selectedKeys())) {
|
|
6748
|
+
_setSelectedKeys(keys2);
|
|
6651
6749
|
}
|
|
6652
6750
|
};
|
|
6653
6751
|
createEffect(() => {
|
|
@@ -8956,8 +9054,8 @@ function DropdownMenuRoot(props) {
|
|
|
8956
9054
|
}
|
|
8957
9055
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack, AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack, DATA_LIVE_ANNOUNCER_ATTR, refCountMap, observerStack, POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT, SCROLL_LOCK_IDENTIFIER, AS_COMPONENT_SYMBOL, RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache$1, Selection, SelectionManager, ListCollection, ListKeyboardDelegate, BUTTON_INPUT_TYPES, DomCollectionContext, DismissableLayerContext, PopperContext, _tmpl$$e, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, MenuContext, MenuRootContext, MenuItemContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS, index$d;
|
|
8958
9056
|
var init_esm = __esm({
|
|
8959
|
-
"../../node_modules/.pnpm/@kobalte+core@0.11.0_solid-js@1.
|
|
8960
|
-
|
|
9057
|
+
"../../node_modules/.pnpm/@kobalte+core@0.11.0_solid-js@1.8.1/node_modules/@kobalte/core/dist/esm/index.js"() {
|
|
9058
|
+
init_dist9();
|
|
8961
9059
|
init_store();
|
|
8962
9060
|
init_web();
|
|
8963
9061
|
init_solid();
|
|
@@ -9017,11 +9115,11 @@ var init_esm = __esm({
|
|
|
9017
9115
|
I18nContext = createContext();
|
|
9018
9116
|
cache$1 = /* @__PURE__ */ new Map();
|
|
9019
9117
|
Selection = class _Selection extends Set {
|
|
9020
|
-
constructor(
|
|
9021
|
-
super(
|
|
9022
|
-
if (
|
|
9023
|
-
this.anchorKey = anchorKey ||
|
|
9024
|
-
this.currentKey = currentKey ||
|
|
9118
|
+
constructor(keys2, anchorKey, currentKey) {
|
|
9119
|
+
super(keys2);
|
|
9120
|
+
if (keys2 instanceof _Selection) {
|
|
9121
|
+
this.anchorKey = anchorKey || keys2.anchorKey;
|
|
9122
|
+
this.currentKey = currentKey || keys2.currentKey;
|
|
9025
9123
|
} else {
|
|
9026
9124
|
this.anchorKey = anchorKey;
|
|
9027
9125
|
this.currentKey = currentKey;
|
|
@@ -9154,15 +9252,15 @@ var init_esm = __esm({
|
|
|
9154
9252
|
return [];
|
|
9155
9253
|
}
|
|
9156
9254
|
getKeyRangeInternal(from, to) {
|
|
9157
|
-
const
|
|
9255
|
+
const keys2 = [];
|
|
9158
9256
|
let key = from;
|
|
9159
9257
|
while (key != null) {
|
|
9160
9258
|
const item = this.collection().getItem(key);
|
|
9161
9259
|
if (item && item.type === "item") {
|
|
9162
|
-
|
|
9260
|
+
keys2.push(key);
|
|
9163
9261
|
}
|
|
9164
9262
|
if (key === to) {
|
|
9165
|
-
return
|
|
9263
|
+
return keys2;
|
|
9166
9264
|
}
|
|
9167
9265
|
key = this.collection().getKeyAfter(key);
|
|
9168
9266
|
}
|
|
@@ -9191,18 +9289,18 @@ var init_esm = __esm({
|
|
|
9191
9289
|
if (retrievedKey == null) {
|
|
9192
9290
|
return;
|
|
9193
9291
|
}
|
|
9194
|
-
const
|
|
9195
|
-
if (
|
|
9196
|
-
|
|
9292
|
+
const keys2 = new Selection(this.state.selectedKeys());
|
|
9293
|
+
if (keys2.has(retrievedKey)) {
|
|
9294
|
+
keys2.delete(retrievedKey);
|
|
9197
9295
|
} else if (this.canSelectItem(retrievedKey)) {
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9296
|
+
keys2.add(retrievedKey);
|
|
9297
|
+
keys2.anchorKey = retrievedKey;
|
|
9298
|
+
keys2.currentKey = retrievedKey;
|
|
9201
9299
|
}
|
|
9202
|
-
if (this.disallowEmptySelection() &&
|
|
9300
|
+
if (this.disallowEmptySelection() && keys2.size === 0) {
|
|
9203
9301
|
return;
|
|
9204
9302
|
}
|
|
9205
|
-
this.state.setSelectedKeys(
|
|
9303
|
+
this.state.setSelectedKeys(keys2);
|
|
9206
9304
|
}
|
|
9207
9305
|
/** Replaces the selection with only the given key. */
|
|
9208
9306
|
replaceSelection(key) {
|
|
@@ -9217,12 +9315,12 @@ var init_esm = __esm({
|
|
|
9217
9315
|
this.state.setSelectedKeys(selection);
|
|
9218
9316
|
}
|
|
9219
9317
|
/** Replaces the selection with the given keys. */
|
|
9220
|
-
setSelectedKeys(
|
|
9318
|
+
setSelectedKeys(keys2) {
|
|
9221
9319
|
if (this.selectionMode() === "none") {
|
|
9222
9320
|
return;
|
|
9223
9321
|
}
|
|
9224
9322
|
const selection = new Selection();
|
|
9225
|
-
for (const key of
|
|
9323
|
+
for (const key of keys2) {
|
|
9226
9324
|
const retrievedKey = this.getKey(key);
|
|
9227
9325
|
if (retrievedKey != null) {
|
|
9228
9326
|
selection.add(retrievedKey);
|
|
@@ -9307,7 +9405,7 @@ var init_esm = __esm({
|
|
|
9307
9405
|
return !item || item.disabled;
|
|
9308
9406
|
}
|
|
9309
9407
|
getAllSelectableKeys() {
|
|
9310
|
-
const
|
|
9408
|
+
const keys2 = [];
|
|
9311
9409
|
const addKeys = (key) => {
|
|
9312
9410
|
while (key != null) {
|
|
9313
9411
|
if (this.canSelectItem(key)) {
|
|
@@ -9316,14 +9414,14 @@ var init_esm = __esm({
|
|
|
9316
9414
|
continue;
|
|
9317
9415
|
}
|
|
9318
9416
|
if (item.type === "item") {
|
|
9319
|
-
|
|
9417
|
+
keys2.push(key);
|
|
9320
9418
|
}
|
|
9321
9419
|
}
|
|
9322
9420
|
key = this.collection().getKeyAfter(key);
|
|
9323
9421
|
}
|
|
9324
9422
|
};
|
|
9325
9423
|
addKeys(this.collection().getFirstKey());
|
|
9326
|
-
return
|
|
9424
|
+
return keys2;
|
|
9327
9425
|
}
|
|
9328
9426
|
};
|
|
9329
9427
|
ListCollection = class {
|
|
@@ -9379,8 +9477,8 @@ var init_esm = __esm({
|
|
|
9379
9477
|
return this.keyMap.get(key);
|
|
9380
9478
|
}
|
|
9381
9479
|
at(idx) {
|
|
9382
|
-
const
|
|
9383
|
-
return this.getItem(
|
|
9480
|
+
const keys2 = [...this.getKeys()];
|
|
9481
|
+
return this.getItem(keys2[idx]);
|
|
9384
9482
|
}
|
|
9385
9483
|
};
|
|
9386
9484
|
ListKeyboardDelegate = class {
|
|
@@ -10859,12 +10957,12 @@ var init_accessDeep = __esm({
|
|
|
10859
10957
|
init_is();
|
|
10860
10958
|
init_util();
|
|
10861
10959
|
getNthKey = function(value, n2) {
|
|
10862
|
-
var
|
|
10960
|
+
var keys2 = value.keys();
|
|
10863
10961
|
while (n2 > 0) {
|
|
10864
|
-
|
|
10962
|
+
keys2.next();
|
|
10865
10963
|
n2--;
|
|
10866
10964
|
}
|
|
10867
|
-
return
|
|
10965
|
+
return keys2.next().value;
|
|
10868
10966
|
};
|
|
10869
10967
|
getDeep = function(object, path) {
|
|
10870
10968
|
validatePath(path);
|
|
@@ -11165,12 +11263,12 @@ function isPlainObject2(payload) {
|
|
|
11165
11263
|
function isArray3(payload) {
|
|
11166
11264
|
return getType2(payload) === "Array";
|
|
11167
11265
|
}
|
|
11168
|
-
var
|
|
11266
|
+
var init_dist10 = __esm({
|
|
11169
11267
|
"../../node_modules/.pnpm/is-what@4.1.15/node_modules/is-what/dist/index.js"() {
|
|
11170
11268
|
}
|
|
11171
11269
|
});
|
|
11172
11270
|
|
|
11173
|
-
// ../../node_modules/.pnpm/copy-anything@3.0.
|
|
11271
|
+
// ../../node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.js
|
|
11174
11272
|
function assignProp2(carry, key, newVal, originalObject, includeNonenumerable) {
|
|
11175
11273
|
const propType = {}.propertyIsEnumerable.call(originalObject, key) ? "enumerable" : "nonenumerable";
|
|
11176
11274
|
if (propType === "enumerable")
|
|
@@ -11203,9 +11301,9 @@ function copy(target, options = {}) {
|
|
|
11203
11301
|
return carry;
|
|
11204
11302
|
}, {});
|
|
11205
11303
|
}
|
|
11206
|
-
var
|
|
11207
|
-
"../../node_modules/.pnpm/copy-anything@3.0.
|
|
11208
|
-
|
|
11304
|
+
var init_dist11 = __esm({
|
|
11305
|
+
"../../node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.js"() {
|
|
11306
|
+
init_dist10();
|
|
11209
11307
|
}
|
|
11210
11308
|
});
|
|
11211
11309
|
|
|
@@ -11217,7 +11315,7 @@ var init_esm2 = __esm({
|
|
|
11217
11315
|
init_registry();
|
|
11218
11316
|
init_custom_transformer_registry();
|
|
11219
11317
|
init_plainer();
|
|
11220
|
-
|
|
11318
|
+
init_dist11();
|
|
11221
11319
|
__assign2 = function() {
|
|
11222
11320
|
__assign2 = Object.assign || function(t2) {
|
|
11223
11321
|
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
@@ -11355,10 +11453,11 @@ function getQueryStatusColor({
|
|
|
11355
11453
|
function getQueryStatusColorByLabel(label) {
|
|
11356
11454
|
return label === "fresh" ? "green" : label === "stale" ? "yellow" : label === "paused" ? "purple" : label === "inactive" ? "gray" : "blue";
|
|
11357
11455
|
}
|
|
11358
|
-
var displayValue, getStatusRank, queryHashSort, dateSort, statusAndDateSort, sortFns, convertRemToPixels, updateNestedDataByPath, deleteNestedDataByPath;
|
|
11456
|
+
var displayValue, getStatusRank, queryHashSort, dateSort, statusAndDateSort, sortFns, convertRemToPixels, getPreferredColorScheme, updateNestedDataByPath, deleteNestedDataByPath;
|
|
11359
11457
|
var init_utils = __esm({
|
|
11360
11458
|
"src/utils.tsx"() {
|
|
11361
11459
|
init_esm2();
|
|
11460
|
+
init_solid();
|
|
11362
11461
|
displayValue = (value, beautify = false) => {
|
|
11363
11462
|
const {
|
|
11364
11463
|
json
|
|
@@ -11382,6 +11481,19 @@ var init_utils = __esm({
|
|
|
11382
11481
|
convertRemToPixels = (rem) => {
|
|
11383
11482
|
return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
11384
11483
|
};
|
|
11484
|
+
getPreferredColorScheme = () => {
|
|
11485
|
+
const [colorScheme, setColorScheme] = createSignal("dark");
|
|
11486
|
+
onMount(() => {
|
|
11487
|
+
const query = window.matchMedia("(prefers-color-scheme: dark)");
|
|
11488
|
+
setColorScheme(query.matches ? "dark" : "light");
|
|
11489
|
+
const listener = (e2) => {
|
|
11490
|
+
setColorScheme(e2.matches ? "dark" : "light");
|
|
11491
|
+
};
|
|
11492
|
+
query.addEventListener("change", listener);
|
|
11493
|
+
onCleanup(() => query.removeEventListener("change", listener));
|
|
11494
|
+
});
|
|
11495
|
+
return colorScheme;
|
|
11496
|
+
};
|
|
11385
11497
|
updateNestedDataByPath = (oldData, updatePath2, value) => {
|
|
11386
11498
|
if (updatePath2.length === 0) {
|
|
11387
11499
|
return value;
|
|
@@ -11495,62 +11607,171 @@ function ArrowRight() {
|
|
|
11495
11607
|
return _el$7;
|
|
11496
11608
|
})();
|
|
11497
11609
|
}
|
|
11498
|
-
function
|
|
11610
|
+
function Sun() {
|
|
11499
11611
|
return _tmpl$6();
|
|
11500
11612
|
}
|
|
11501
|
-
function
|
|
11502
|
-
return (
|
|
11503
|
-
const _el$9 = _tmpl$7();
|
|
11504
|
-
createRenderEffect((_p$) => {
|
|
11505
|
-
const _v$ = tokens.colors.yellow[500], _v$2 = tokens.colors.yellow[500];
|
|
11506
|
-
_v$ !== _p$._v$ && setAttribute(_el$9, "stroke", _p$._v$ = _v$);
|
|
11507
|
-
_v$2 !== _p$._v$2 && setAttribute(_el$9, "fill", _p$._v$2 = _v$2);
|
|
11508
|
-
return _p$;
|
|
11509
|
-
}, {
|
|
11510
|
-
_v$: void 0,
|
|
11511
|
-
_v$2: void 0
|
|
11512
|
-
});
|
|
11513
|
-
return _el$9;
|
|
11514
|
-
})();
|
|
11613
|
+
function Moon() {
|
|
11614
|
+
return _tmpl$7();
|
|
11515
11615
|
}
|
|
11516
|
-
function
|
|
11616
|
+
function Monitor() {
|
|
11517
11617
|
return _tmpl$8();
|
|
11518
11618
|
}
|
|
11519
|
-
function
|
|
11619
|
+
function Wifi() {
|
|
11520
11620
|
return _tmpl$9();
|
|
11521
11621
|
}
|
|
11522
|
-
function
|
|
11622
|
+
function Offline() {
|
|
11523
11623
|
return _tmpl$10();
|
|
11524
11624
|
}
|
|
11525
|
-
function
|
|
11625
|
+
function Settings() {
|
|
11526
11626
|
return _tmpl$11();
|
|
11527
11627
|
}
|
|
11528
|
-
function
|
|
11628
|
+
function Copier() {
|
|
11529
11629
|
return _tmpl$12();
|
|
11530
11630
|
}
|
|
11631
|
+
function CopiedCopier(props) {
|
|
11632
|
+
return (() => {
|
|
11633
|
+
const _el$15 = _tmpl$13(), _el$16 = _el$15.firstChild;
|
|
11634
|
+
createRenderEffect(() => setAttribute(_el$16, "stroke", props.theme === "dark" ? "#12B76A" : "#027A48"));
|
|
11635
|
+
return _el$15;
|
|
11636
|
+
})();
|
|
11637
|
+
}
|
|
11638
|
+
function ErrorCopier() {
|
|
11639
|
+
return _tmpl$14();
|
|
11640
|
+
}
|
|
11641
|
+
function List() {
|
|
11642
|
+
return _tmpl$15();
|
|
11643
|
+
}
|
|
11644
|
+
function Check(props) {
|
|
11645
|
+
return [createComponent(Show, {
|
|
11646
|
+
get when() {
|
|
11647
|
+
return props.checked;
|
|
11648
|
+
},
|
|
11649
|
+
get children() {
|
|
11650
|
+
const _el$19 = _tmpl$13(), _el$20 = _el$19.firstChild;
|
|
11651
|
+
createRenderEffect(() => setAttribute(_el$20, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
11652
|
+
return _el$19;
|
|
11653
|
+
}
|
|
11654
|
+
}), createComponent(Show, {
|
|
11655
|
+
get when() {
|
|
11656
|
+
return !props.checked;
|
|
11657
|
+
},
|
|
11658
|
+
get children() {
|
|
11659
|
+
const _el$21 = _tmpl$16(), _el$22 = _el$21.firstChild;
|
|
11660
|
+
createRenderEffect(() => setAttribute(_el$22, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
11661
|
+
return _el$21;
|
|
11662
|
+
}
|
|
11663
|
+
})];
|
|
11664
|
+
}
|
|
11531
11665
|
function TanstackLogo() {
|
|
11532
|
-
|
|
11666
|
+
const id = createUniqueId();
|
|
11667
|
+
return (() => {
|
|
11668
|
+
const _el$23 = _tmpl$17(), _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$26 = _el$25.nextSibling, _el$27 = _el$26.firstChild, _el$28 = _el$26.nextSibling, _el$29 = _el$28.firstChild, _el$30 = _el$28.nextSibling, _el$31 = _el$30.nextSibling, _el$32 = _el$31.firstChild, _el$33 = _el$31.nextSibling, _el$34 = _el$33.firstChild, _el$35 = _el$33.nextSibling, _el$36 = _el$35.nextSibling, _el$37 = _el$36.firstChild, _el$38 = _el$36.nextSibling, _el$39 = _el$38.firstChild, _el$40 = _el$38.nextSibling, _el$41 = _el$40.nextSibling, _el$42 = _el$41.firstChild, _el$43 = _el$41.nextSibling, _el$44 = _el$43.firstChild, _el$45 = _el$43.nextSibling, _el$46 = _el$45.nextSibling, _el$47 = _el$46.firstChild, _el$48 = _el$46.nextSibling, _el$49 = _el$48.firstChild, _el$50 = _el$48.nextSibling, _el$51 = _el$50.nextSibling, _el$52 = _el$51.firstChild, _el$53 = _el$51.nextSibling, _el$54 = _el$53.firstChild, _el$55 = _el$53.nextSibling, _el$56 = _el$55.nextSibling, _el$57 = _el$56.firstChild, _el$58 = _el$56.nextSibling, _el$59 = _el$58.firstChild, _el$60 = _el$58.nextSibling, _el$61 = _el$60.firstChild, _el$62 = _el$61.nextSibling, _el$63 = _el$62.nextSibling, _el$64 = _el$63.nextSibling, _el$65 = _el$64.nextSibling, _el$66 = _el$60.nextSibling, _el$67 = _el$66.firstChild, _el$68 = _el$66.nextSibling, _el$69 = _el$68.firstChild, _el$70 = _el$68.nextSibling, _el$71 = _el$70.firstChild, _el$72 = _el$71.nextSibling, _el$73 = _el$72.nextSibling, _el$74 = _el$73.firstChild, _el$75 = _el$74.nextSibling, _el$76 = _el$75.nextSibling, _el$77 = _el$76.nextSibling, _el$78 = _el$77.nextSibling, _el$79 = _el$78.nextSibling, _el$80 = _el$79.nextSibling, _el$81 = _el$80.nextSibling, _el$82 = _el$81.nextSibling, _el$83 = _el$82.nextSibling, _el$84 = _el$83.nextSibling, _el$85 = _el$84.nextSibling, _el$86 = _el$70.nextSibling, _el$87 = _el$86.firstChild, _el$88 = _el$86.nextSibling, _el$89 = _el$88.firstChild, _el$90 = _el$88.nextSibling, _el$91 = _el$90.firstChild, _el$92 = _el$91.nextSibling, _el$93 = _el$90.nextSibling, _el$94 = _el$93.firstChild, _el$95 = _el$93.nextSibling, _el$96 = _el$95.firstChild, _el$97 = _el$95.nextSibling, _el$98 = _el$97.firstChild, _el$99 = _el$98.nextSibling, _el$100 = _el$99.nextSibling, _el$101 = _el$100.nextSibling, _el$102 = _el$101.nextSibling, _el$103 = _el$102.nextSibling, _el$104 = _el$103.nextSibling, _el$105 = _el$104.nextSibling, _el$106 = _el$105.nextSibling, _el$107 = _el$106.nextSibling, _el$108 = _el$107.nextSibling, _el$109 = _el$108.nextSibling, _el$110 = _el$109.nextSibling, _el$111 = _el$110.nextSibling, _el$112 = _el$111.nextSibling, _el$113 = _el$112.nextSibling, _el$114 = _el$113.nextSibling, _el$115 = _el$114.nextSibling;
|
|
11669
|
+
setAttribute(_el$24, "id", `a-${id}`);
|
|
11670
|
+
setAttribute(_el$25, "fill", `url(#a-${id})`);
|
|
11671
|
+
setAttribute(_el$27, "id", `am-${id}`);
|
|
11672
|
+
setAttribute(_el$28, "id", `b-${id}`);
|
|
11673
|
+
setAttribute(_el$29, "filter", `url(#am-${id})`);
|
|
11674
|
+
setAttribute(_el$30, "mask", `url(#b-${id})`);
|
|
11675
|
+
setAttribute(_el$32, "id", `ah-${id}`);
|
|
11676
|
+
setAttribute(_el$33, "id", `k-${id}`);
|
|
11677
|
+
setAttribute(_el$34, "filter", `url(#ah-${id})`);
|
|
11678
|
+
setAttribute(_el$35, "mask", `url(#k-${id})`);
|
|
11679
|
+
setAttribute(_el$37, "id", `ae-${id}`);
|
|
11680
|
+
setAttribute(_el$38, "id", `j-${id}`);
|
|
11681
|
+
setAttribute(_el$39, "filter", `url(#ae-${id})`);
|
|
11682
|
+
setAttribute(_el$40, "mask", `url(#j-${id})`);
|
|
11683
|
+
setAttribute(_el$42, "id", `ai-${id}`);
|
|
11684
|
+
setAttribute(_el$43, "id", `i-${id}`);
|
|
11685
|
+
setAttribute(_el$44, "filter", `url(#ai-${id})`);
|
|
11686
|
+
setAttribute(_el$45, "mask", `url(#i-${id})`);
|
|
11687
|
+
setAttribute(_el$47, "id", `aj-${id}`);
|
|
11688
|
+
setAttribute(_el$48, "id", `h-${id}`);
|
|
11689
|
+
setAttribute(_el$49, "filter", `url(#aj-${id})`);
|
|
11690
|
+
setAttribute(_el$50, "mask", `url(#h-${id})`);
|
|
11691
|
+
setAttribute(_el$52, "id", `ag-${id}`);
|
|
11692
|
+
setAttribute(_el$53, "id", `g-${id}`);
|
|
11693
|
+
setAttribute(_el$54, "filter", `url(#ag-${id})`);
|
|
11694
|
+
setAttribute(_el$55, "mask", `url(#g-${id})`);
|
|
11695
|
+
setAttribute(_el$57, "id", `af-${id}`);
|
|
11696
|
+
setAttribute(_el$58, "id", `f-${id}`);
|
|
11697
|
+
setAttribute(_el$59, "filter", `url(#af-${id})`);
|
|
11698
|
+
setAttribute(_el$60, "mask", `url(#f-${id})`);
|
|
11699
|
+
setAttribute(_el$64, "id", `m-${id}`);
|
|
11700
|
+
setAttribute(_el$65, "fill", `url(#m-${id})`);
|
|
11701
|
+
setAttribute(_el$67, "id", `ak-${id}`);
|
|
11702
|
+
setAttribute(_el$68, "id", `e-${id}`);
|
|
11703
|
+
setAttribute(_el$69, "filter", `url(#ak-${id})`);
|
|
11704
|
+
setAttribute(_el$70, "mask", `url(#e-${id})`);
|
|
11705
|
+
setAttribute(_el$71, "id", `n-${id}`);
|
|
11706
|
+
setAttribute(_el$72, "fill", `url(#n-${id})`);
|
|
11707
|
+
setAttribute(_el$74, "id", `r-${id}`);
|
|
11708
|
+
setAttribute(_el$75, "fill", `url(#r-${id})`);
|
|
11709
|
+
setAttribute(_el$76, "id", `s-${id}`);
|
|
11710
|
+
setAttribute(_el$77, "fill", `url(#s-${id})`);
|
|
11711
|
+
setAttribute(_el$78, "id", `q-${id}`);
|
|
11712
|
+
setAttribute(_el$79, "fill", `url(#q-${id})`);
|
|
11713
|
+
setAttribute(_el$80, "id", `p-${id}`);
|
|
11714
|
+
setAttribute(_el$81, "fill", `url(#p-${id})`);
|
|
11715
|
+
setAttribute(_el$82, "id", `o-${id}`);
|
|
11716
|
+
setAttribute(_el$83, "fill", `url(#o-${id})`);
|
|
11717
|
+
setAttribute(_el$84, "id", `l-${id}`);
|
|
11718
|
+
setAttribute(_el$85, "fill", `url(#l-${id})`);
|
|
11719
|
+
setAttribute(_el$87, "id", `al-${id}`);
|
|
11720
|
+
setAttribute(_el$88, "id", `d-${id}`);
|
|
11721
|
+
setAttribute(_el$89, "filter", `url(#al-${id})`);
|
|
11722
|
+
setAttribute(_el$90, "mask", `url(#d-${id})`);
|
|
11723
|
+
setAttribute(_el$91, "id", `u-${id}`);
|
|
11724
|
+
setAttribute(_el$92, "fill", `url(#u-${id})`);
|
|
11725
|
+
setAttribute(_el$94, "id", `ad-${id}`);
|
|
11726
|
+
setAttribute(_el$95, "id", `c-${id}`);
|
|
11727
|
+
setAttribute(_el$96, "filter", `url(#ad-${id})`);
|
|
11728
|
+
setAttribute(_el$97, "mask", `url(#c-${id})`);
|
|
11729
|
+
setAttribute(_el$98, "id", `t-${id}`);
|
|
11730
|
+
setAttribute(_el$99, "fill", `url(#t-${id})`);
|
|
11731
|
+
setAttribute(_el$100, "id", `v-${id}`);
|
|
11732
|
+
setAttribute(_el$101, "stroke", `url(#v-${id})`);
|
|
11733
|
+
setAttribute(_el$102, "id", `aa-${id}`);
|
|
11734
|
+
setAttribute(_el$103, "stroke", `url(#aa-${id})`);
|
|
11735
|
+
setAttribute(_el$104, "id", `w-${id}`);
|
|
11736
|
+
setAttribute(_el$105, "stroke", `url(#w-${id})`);
|
|
11737
|
+
setAttribute(_el$106, "id", `ac-${id}`);
|
|
11738
|
+
setAttribute(_el$107, "stroke", `url(#ac-${id})`);
|
|
11739
|
+
setAttribute(_el$108, "id", `ab-${id}`);
|
|
11740
|
+
setAttribute(_el$109, "stroke", `url(#ab-${id})`);
|
|
11741
|
+
setAttribute(_el$110, "id", `y-${id}`);
|
|
11742
|
+
setAttribute(_el$111, "stroke", `url(#y-${id})`);
|
|
11743
|
+
setAttribute(_el$112, "id", `x-${id}`);
|
|
11744
|
+
setAttribute(_el$113, "stroke", `url(#x-${id})`);
|
|
11745
|
+
setAttribute(_el$114, "id", `z-${id}`);
|
|
11746
|
+
setAttribute(_el$115, "stroke", `url(#z-${id})`);
|
|
11747
|
+
return _el$23;
|
|
11748
|
+
})();
|
|
11533
11749
|
}
|
|
11534
|
-
var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12, _tmpl$13;
|
|
11750
|
+
var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12, _tmpl$13, _tmpl$14, _tmpl$15, _tmpl$16, _tmpl$17;
|
|
11535
11751
|
var init_icons = __esm({
|
|
11536
11752
|
"src/icons/index.tsx"() {
|
|
11537
11753
|
init_web();
|
|
11538
11754
|
init_web();
|
|
11539
11755
|
init_web();
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
_tmpl$
|
|
11543
|
-
_tmpl$
|
|
11544
|
-
_tmpl$
|
|
11545
|
-
_tmpl$
|
|
11546
|
-
_tmpl$
|
|
11547
|
-
_tmpl$
|
|
11548
|
-
_tmpl$
|
|
11549
|
-
_tmpl$
|
|
11550
|
-
_tmpl$
|
|
11551
|
-
_tmpl$
|
|
11552
|
-
_tmpl$
|
|
11553
|
-
_tmpl$13 = /* @__PURE__ */ template(`<svg version="1.0" viewBox="0 0 633 633"><linearGradient id="a" x1="-666.45" x2="-666.45" y1="163.28" y2="163.99" gradientTransform="matrix(633 0 0 633 422177 -103358)" gradientUnits="userSpaceOnUse"><stop stop-color="#6BDAFF" offset="0"></stop><stop stop-color="#F9FFB5" offset=".32"></stop><stop stop-color="#FFA770" offset=".71"></stop><stop stop-color="#FF7373" offset="1"></stop></linearGradient><circle cx="316.5" cy="316.5" r="316.5" fill="url(#a)"></circle><defs><filter id="am" x="-137.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="b" x="-137.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#am)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#b)"><ellipse cx="89.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ah" x="316.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="k" x="316.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ah)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#k)"><ellipse cx="543.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ae" x="-137.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="j" x="-137.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ae)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#j)"><ellipse cx="89.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="ai" x="316.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="i" x="316.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ai)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#i)"><ellipse cx="543.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="aj" x="-137.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="h" x="-137.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#aj)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#h)"><ellipse cx="89.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="ag" x="316.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="g" x="316.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ag)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#g)"><ellipse cx="543.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="af" x="272.2" y="308" width="176.9" height="129.3" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="f" x="272.2" y="308" width="176.9" height="129.3" maskUnits="userSpaceOnUse"><g filter="url(#af)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#f)"><line x1="436" x2="431" y1="403.2" y2="431.8" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="291" x2="280" y1="341.5" y2="403.5" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="332.9" x2="328.6" y1="384.1" y2="411.2" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><linearGradient id="m" x1="-670.75" x2="-671.59" y1="164.4" y2="164.49" gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)" gradientUnits="userSpaceOnUse"><stop stop-color="#EE2700" offset="0"></stop><stop stop-color="#FF008E" offset="1"></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z" clip-rule="evenodd" fill="url(#m)" fill-rule="evenodd"></path><line x1="428.2" x2="429.1" y1="384.5" y2="378" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="395.2" x2="396.1" y1="379.5" y2="373" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="362.2" x2="363.1" y1="373.5" y2="367.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="324.2" x2="328.4" y1="351.3" y2="347.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="303.2" x2="307.4" y1="331.3" y2="327.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line></g><defs><filter id="ak" x="73.2" y="113.8" width="280.6" height="317.4" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="e" x="73.2" y="113.8" width="280.6" height="317.4" maskUnits="userSpaceOnUse"><g filter="url(#ak)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#e)"><linearGradient id="n" x1="-672.16" x2="-672.16" y1="165.03" y2="166.03" gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)" gradientUnits="userSpaceOnUse"><stop stop-color="#A17500" offset="0"></stop><stop stop-color="#5D2100" offset="1"></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6" clip-rule="evenodd" fill="url(#n)" fill-rule="evenodd"></path><g stroke="#2F8A00"><linearGradient id="r" x1="-660.23" x2="-660.23" y1="166.72" y2="167.72" gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z" clip-rule="evenodd" fill="url(#r)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="s" x1="-661.36" x2="-661.36" y1="164.18" y2="165.18" gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z" clip-rule="evenodd" fill="url(#s)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="q" x1="-656.79" x2="-656.79" y1="165.15" y2="166.15" gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z" clip-rule="evenodd" fill="url(#q)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="p" x1="-663.07" x2="-663.07" y1="165.44" y2="166.44" gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z" clip-rule="evenodd" fill="url(#p)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="o" x1="-662.57" x2="-662.57" y1="164.44" y2="165.44" gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z" clip-rule="evenodd" fill="url(#o)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="l" x1="-656.43" x2="-656.43" y1="163.86" y2="164.86" gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z" clip-rule="evenodd" fill="url(#l)" fill-rule="evenodd" stroke-width="13"></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32" fill="none" stroke-linecap="round" stroke-width="8"></path></g></g><defs><filter id="al" x="50.5" y="399" width="532" height="633" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="d" x="50.5" y="399" width="532" height="633" maskUnits="userSpaceOnUse"><g filter="url(#al)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#d)"><linearGradient id="u" x1="-666.06" x2="-666.23" y1="163.36" y2="163.75" gradientTransform="matrix(532 0 0 633 354760 -102959)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF400" offset="0"></stop><stop stop-color="#3C8700" offset="1"></stop></linearGradient><ellipse cx="316.5" cy="715.5" rx="266" ry="316.5" fill="url(#u)"></ellipse></g><defs><filter id="ad" x="391" y="-24" width="288" height="283" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="c" x="391" y="-24" width="288" height="283" maskUnits="userSpaceOnUse"><g filter="url(#ad)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#c)"><linearGradient id="t" x1="-664.56" x2="-664.56" y1="163.79" y2="164.79" gradientTransform="matrix(227 0 0 227 151421 -37204)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFDF00" offset="0"></stop><stop stop-color="#FF9D00" offset="1"></stop></linearGradient><circle cx="565.5" cy="89.5" r="113.5" fill="url(#t)"></circle><linearGradient id="v" x1="-644.5" x2="-645.77" y1="342" y2="342" gradientTransform="matrix(30 0 0 1 19770 -253)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="427" x2="397" y1="89" y2="89" fill="none" stroke="url(#v)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="aa" x1="-641.56" x2="-642.83" y1="196.02" y2="196.07" gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="430.5" x2="404" y1="55.5" y2="50" fill="none" stroke="url(#aa)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="w" x1="-643.73" x2="-645" y1="185.83" y2="185.9" gradientTransform="matrix(29 0 0 8 19107 -1361)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="431" x2="402" y1="122" y2="130" fill="none" stroke="url(#w)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ac" x1="-638.94" x2="-640.22" y1="177.09" y2="177.39" gradientTransform="matrix(24 0 0 13 15783 -2145)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="442" x2="418" y1="153" y2="166" fill="none" stroke="url(#ac)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ab" x1="-633.42" x2="-634.7" y1="172.41" y2="173.31" gradientTransform="matrix(20 0 0 19 13137 -3096)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="464" x2="444" y1="180" y2="199" fill="none" stroke="url(#ab)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="y" x1="-619.05" x2="-619.52" y1="170.82" y2="171.82" gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="491.4" x2="477.5" y1="203" y2="225.9" fill="none" stroke="url(#y)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="x" x1="-578.5" x2="-578.63" y1="170.31" y2="171.31" gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="524.5" x2="517" y1="219.5" y2="244" fill="none" stroke="url(#x)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="z" x1="666.5" x2="666.5" y1="170.31" y2="171.31" gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="564.5" x2="565" y1="228.5" y2="253" fill="none" stroke="url(#z)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12">`);
|
|
11756
|
+
init_web();
|
|
11757
|
+
init_solid();
|
|
11758
|
+
_tmpl$ = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=none xmlns=http://www.w3.org/2000/svg><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>`);
|
|
11759
|
+
_tmpl$2 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 3H15M3 6H21M19 6L18.2987 16.5193C18.1935 18.0975 18.1409 18.8867 17.8 19.485C17.4999 20.0118 17.0472 20.4353 16.5017 20.6997C15.882 21 15.0911 21 13.5093 21H10.4907C8.90891 21 8.11803 21 7.49834 20.6997C6.95276 20.4353 6.50009 20.0118 6.19998 19.485C5.85911 18.8867 5.8065 18.0975 5.70129 16.5193L5 6M10 10.5V15.5M14 10.5V15.5"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11760
|
+
_tmpl$3 = /* @__PURE__ */ template(`<svg width=10 height=6 viewBox="0 0 10 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1 1L5 5L9 1"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>`);
|
|
11761
|
+
_tmpl$4 = /* @__PURE__ */ template(`<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>`);
|
|
11762
|
+
_tmpl$5 = /* @__PURE__ */ template(`<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>`);
|
|
11763
|
+
_tmpl$6 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2v2m0 16v2M4 12H2m4.314-5.686L4.9 4.9m12.786 1.414L19.1 4.9M6.314 17.69 4.9 19.104m12.786-1.414 1.414 1.414M22 12h-2m-3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11764
|
+
_tmpl$7 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M22 15.844a10.424 10.424 0 0 1-4.306.925c-5.779 0-10.463-4.684-10.463-10.462 0-1.536.33-2.994.925-4.307A10.464 10.464 0 0 0 2 11.538C2 17.316 6.684 22 12.462 22c4.243 0 7.896-2.526 9.538-6.156Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11765
|
+
_tmpl$8 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11766
|
+
_tmpl$9 = /* @__PURE__ */ template(`<svg stroke=currentColor fill=currentColor stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">`);
|
|
11767
|
+
_tmpl$10 = /* @__PURE__ */ template(`<svg stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">`);
|
|
11768
|
+
_tmpl$11 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11769
|
+
_tmpl$12 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path class=copier d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round stroke=currentColor>`);
|
|
11770
|
+
_tmpl$13 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11771
|
+
_tmpl$14 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke=#F04438 stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11772
|
+
_tmpl$15 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 xmlns=http://www.w3.org/2000/svg><rect class=list width=20 height=20 y=2 x=2 rx=2></rect><line class=list-item y1=7 y2=7 x1=6 x2=18></line><line class=list-item y2=12 y1=12 x1=6 x2=18></line><line class=list-item y1=17 y2=17 x1=6 x2=18>`);
|
|
11773
|
+
_tmpl$16 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"height=20 width=20 fill=none xmlns=http://www.w3.org/2000/svg><path d="M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11774
|
+
_tmpl$17 = /* @__PURE__ */ template(`<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>`);
|
|
11554
11775
|
}
|
|
11555
11776
|
});
|
|
11556
11777
|
|
|
@@ -11558,7 +11779,10 @@ var init_icons = __esm({
|
|
|
11558
11779
|
function useQueryDevtoolsContext() {
|
|
11559
11780
|
return useContext(QueryDevtoolsContext);
|
|
11560
11781
|
}
|
|
11561
|
-
|
|
11782
|
+
function useTheme() {
|
|
11783
|
+
return useContext(ThemeContext);
|
|
11784
|
+
}
|
|
11785
|
+
var QueryDevtoolsContext, ThemeContext;
|
|
11562
11786
|
var init_Context = __esm({
|
|
11563
11787
|
"src/Context.ts"() {
|
|
11564
11788
|
init_solid();
|
|
@@ -11568,6 +11792,9 @@ var init_Context = __esm({
|
|
|
11568
11792
|
queryFlavor: "",
|
|
11569
11793
|
version: ""
|
|
11570
11794
|
});
|
|
11795
|
+
ThemeContext = createContext(
|
|
11796
|
+
() => "dark"
|
|
11797
|
+
);
|
|
11571
11798
|
}
|
|
11572
11799
|
});
|
|
11573
11800
|
|
|
@@ -11587,7 +11814,10 @@ function isIterable(x) {
|
|
|
11587
11814
|
return Symbol.iterator in x;
|
|
11588
11815
|
}
|
|
11589
11816
|
function Explorer(props) {
|
|
11590
|
-
const
|
|
11817
|
+
const theme = useTheme();
|
|
11818
|
+
const styles = createMemo(() => {
|
|
11819
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
11820
|
+
});
|
|
11591
11821
|
const queryClient = useQueryDevtoolsContext().client;
|
|
11592
11822
|
const [expanded, setExpanded] = createSignal((props.defaultExpanded || []).includes(props.label));
|
|
11593
11823
|
const toggleExpanded = () => setExpanded((old) => !old);
|
|
@@ -11630,36 +11860,36 @@ function Explorer(props) {
|
|
|
11630
11860
|
const subEntryPages = createMemo(() => chunkArray(subEntries(), 100));
|
|
11631
11861
|
const currentDataPath = props.dataPath ?? [];
|
|
11632
11862
|
return (() => {
|
|
11633
|
-
const _el$
|
|
11634
|
-
insert(_el$
|
|
11863
|
+
const _el$6 = _tmpl$62();
|
|
11864
|
+
insert(_el$6, createComponent(Show, {
|
|
11635
11865
|
get when() {
|
|
11636
11866
|
return subEntryPages().length;
|
|
11637
11867
|
},
|
|
11638
11868
|
get children() {
|
|
11639
11869
|
return [(() => {
|
|
11640
|
-
const _el$
|
|
11641
|
-
_el$
|
|
11642
|
-
insert(_el$
|
|
11870
|
+
const _el$7 = _tmpl$72(), _el$8 = _el$7.firstChild, _el$9 = _el$8.firstChild, _el$10 = _el$9.nextSibling, _el$11 = _el$10.nextSibling, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild;
|
|
11871
|
+
_el$8.$$click = () => toggleExpanded();
|
|
11872
|
+
insert(_el$8, createComponent(Expander, {
|
|
11643
11873
|
get expanded() {
|
|
11644
11874
|
return expanded();
|
|
11645
11875
|
}
|
|
11646
|
-
}), _el$
|
|
11647
|
-
insert(_el$
|
|
11648
|
-
insert(_el$
|
|
11649
|
-
insert(_el$
|
|
11650
|
-
insert(_el$
|
|
11651
|
-
insert(_el$
|
|
11876
|
+
}), _el$9);
|
|
11877
|
+
insert(_el$10, () => props.label);
|
|
11878
|
+
insert(_el$12, () => String(type()).toLowerCase() === "iterable" ? "(Iterable) " : "", _el$13);
|
|
11879
|
+
insert(_el$12, () => subEntries().length, _el$13);
|
|
11880
|
+
insert(_el$12, () => subEntries().length > 1 ? `items` : `item`, null);
|
|
11881
|
+
insert(_el$7, createComponent(Show, {
|
|
11652
11882
|
get when() {
|
|
11653
11883
|
return props.editable;
|
|
11654
11884
|
},
|
|
11655
11885
|
get children() {
|
|
11656
|
-
const _el$
|
|
11657
|
-
insert(_el$
|
|
11886
|
+
const _el$14 = _tmpl$62();
|
|
11887
|
+
insert(_el$14, createComponent(CopyButton, {
|
|
11658
11888
|
get value() {
|
|
11659
11889
|
return props.value;
|
|
11660
11890
|
}
|
|
11661
11891
|
}), null);
|
|
11662
|
-
insert(_el$
|
|
11892
|
+
insert(_el$14, createComponent(Show, {
|
|
11663
11893
|
get when() {
|
|
11664
11894
|
return props.itemsDeletable && props.activeQuery !== void 0;
|
|
11665
11895
|
},
|
|
@@ -11672,7 +11902,7 @@ function Explorer(props) {
|
|
|
11672
11902
|
});
|
|
11673
11903
|
}
|
|
11674
11904
|
}), null);
|
|
11675
|
-
insert(_el$
|
|
11905
|
+
insert(_el$14, createComponent(Show, {
|
|
11676
11906
|
get when() {
|
|
11677
11907
|
return type() === "array" && props.activeQuery !== void 0;
|
|
11678
11908
|
},
|
|
@@ -11685,22 +11915,22 @@ function Explorer(props) {
|
|
|
11685
11915
|
});
|
|
11686
11916
|
}
|
|
11687
11917
|
}), null);
|
|
11688
|
-
createRenderEffect(() => className(_el$
|
|
11689
|
-
return _el$
|
|
11918
|
+
createRenderEffect(() => className(_el$14, styles().actions));
|
|
11919
|
+
return _el$14;
|
|
11690
11920
|
}
|
|
11691
11921
|
}), null);
|
|
11692
11922
|
createRenderEffect((_p$) => {
|
|
11693
|
-
const _v$3 = styles.expanderButtonContainer, _v$4 = styles.expanderButton, _v$5 = styles.info;
|
|
11694
|
-
_v$3 !== _p$._v$3 && className(_el$
|
|
11695
|
-
_v$4 !== _p$._v$4 && className(_el$
|
|
11696
|
-
_v$5 !== _p$._v$5 && className(_el$
|
|
11923
|
+
const _v$3 = styles().expanderButtonContainer, _v$4 = styles().expanderButton, _v$5 = styles().info;
|
|
11924
|
+
_v$3 !== _p$._v$3 && className(_el$7, _p$._v$3 = _v$3);
|
|
11925
|
+
_v$4 !== _p$._v$4 && className(_el$8, _p$._v$4 = _v$4);
|
|
11926
|
+
_v$5 !== _p$._v$5 && className(_el$12, _p$._v$5 = _v$5);
|
|
11697
11927
|
return _p$;
|
|
11698
11928
|
}, {
|
|
11699
11929
|
_v$3: void 0,
|
|
11700
11930
|
_v$4: void 0,
|
|
11701
11931
|
_v$5: void 0
|
|
11702
11932
|
});
|
|
11703
|
-
return _el$
|
|
11933
|
+
return _el$7;
|
|
11704
11934
|
})(), createComponent(Show, {
|
|
11705
11935
|
get when() {
|
|
11706
11936
|
return expanded();
|
|
@@ -11711,8 +11941,8 @@ function Explorer(props) {
|
|
|
11711
11941
|
return subEntryPages().length === 1;
|
|
11712
11942
|
},
|
|
11713
11943
|
get children() {
|
|
11714
|
-
const _el$
|
|
11715
|
-
insert(_el$
|
|
11944
|
+
const _el$15 = _tmpl$62();
|
|
11945
|
+
insert(_el$15, createComponent(Key, {
|
|
11716
11946
|
get each() {
|
|
11717
11947
|
return subEntries();
|
|
11718
11948
|
},
|
|
@@ -11743,38 +11973,38 @@ function Explorer(props) {
|
|
|
11743
11973
|
});
|
|
11744
11974
|
}
|
|
11745
11975
|
}));
|
|
11746
|
-
createRenderEffect(() => className(_el$
|
|
11747
|
-
return _el$
|
|
11976
|
+
createRenderEffect(() => className(_el$15, styles().subEntry));
|
|
11977
|
+
return _el$15;
|
|
11748
11978
|
}
|
|
11749
11979
|
}), createComponent(Show, {
|
|
11750
11980
|
get when() {
|
|
11751
11981
|
return subEntryPages().length > 1;
|
|
11752
11982
|
},
|
|
11753
11983
|
get children() {
|
|
11754
|
-
const _el$
|
|
11755
|
-
insert(_el$
|
|
11984
|
+
const _el$16 = _tmpl$62();
|
|
11985
|
+
insert(_el$16, createComponent(Index, {
|
|
11756
11986
|
get each() {
|
|
11757
11987
|
return subEntryPages();
|
|
11758
11988
|
},
|
|
11759
|
-
children: (
|
|
11760
|
-
const _el$
|
|
11761
|
-
_el$
|
|
11762
|
-
insert(_el$
|
|
11989
|
+
children: (entries2, index) => (() => {
|
|
11990
|
+
const _el$22 = _tmpl$112(), _el$23 = _el$22.firstChild, _el$24 = _el$23.firstChild, _el$25 = _el$24.firstChild, _el$29 = _el$25.nextSibling, _el$27 = _el$29.nextSibling, _el$30 = _el$27.nextSibling; _el$30.nextSibling;
|
|
11991
|
+
_el$24.$$click = () => setExpandedPages((old) => old.includes(index) ? old.filter((d) => d !== index) : [...old, index]);
|
|
11992
|
+
insert(_el$24, createComponent(Expander, {
|
|
11763
11993
|
get expanded() {
|
|
11764
11994
|
return expandedPages().includes(index);
|
|
11765
11995
|
}
|
|
11766
|
-
}), _el$
|
|
11767
|
-
insert(_el$
|
|
11768
|
-
insert(_el$
|
|
11769
|
-
insert(_el$
|
|
11996
|
+
}), _el$25);
|
|
11997
|
+
insert(_el$24, index * 100, _el$29);
|
|
11998
|
+
insert(_el$24, index * 100 + 100 - 1, _el$30);
|
|
11999
|
+
insert(_el$23, createComponent(Show, {
|
|
11770
12000
|
get when() {
|
|
11771
12001
|
return expandedPages().includes(index);
|
|
11772
12002
|
},
|
|
11773
12003
|
get children() {
|
|
11774
|
-
const _el$
|
|
11775
|
-
insert(_el$
|
|
12004
|
+
const _el$31 = _tmpl$62();
|
|
12005
|
+
insert(_el$31, createComponent(Key, {
|
|
11776
12006
|
get each() {
|
|
11777
|
-
return
|
|
12007
|
+
return entries2();
|
|
11778
12008
|
},
|
|
11779
12009
|
by: (entry) => entry.label,
|
|
11780
12010
|
children: (entry) => createComponent(Explorer, {
|
|
@@ -11798,70 +12028,96 @@ function Explorer(props) {
|
|
|
11798
12028
|
}
|
|
11799
12029
|
})
|
|
11800
12030
|
}));
|
|
11801
|
-
createRenderEffect(() => className(_el$
|
|
11802
|
-
return _el$
|
|
12031
|
+
createRenderEffect(() => className(_el$31, styles().subEntry));
|
|
12032
|
+
return _el$31;
|
|
11803
12033
|
}
|
|
11804
12034
|
}), null);
|
|
11805
12035
|
createRenderEffect((_p$) => {
|
|
11806
|
-
const _v$10 = styles.entry, _v$11 = styles.expanderButton;
|
|
11807
|
-
_v$10 !== _p$._v$10 && className(_el$
|
|
11808
|
-
_v$11 !== _p$._v$11 && className(_el$
|
|
12036
|
+
const _v$10 = styles().entry, _v$11 = styles().expanderButton;
|
|
12037
|
+
_v$10 !== _p$._v$10 && className(_el$23, _p$._v$10 = _v$10);
|
|
12038
|
+
_v$11 !== _p$._v$11 && className(_el$24, _p$._v$11 = _v$11);
|
|
11809
12039
|
return _p$;
|
|
11810
12040
|
}, {
|
|
11811
12041
|
_v$10: void 0,
|
|
11812
12042
|
_v$11: void 0
|
|
11813
12043
|
});
|
|
11814
|
-
return _el$
|
|
12044
|
+
return _el$22;
|
|
11815
12045
|
})()
|
|
11816
12046
|
}));
|
|
11817
|
-
createRenderEffect(() => className(_el$
|
|
11818
|
-
return _el$
|
|
12047
|
+
createRenderEffect(() => className(_el$16, styles().subEntry));
|
|
12048
|
+
return _el$16;
|
|
11819
12049
|
}
|
|
11820
12050
|
})];
|
|
11821
12051
|
}
|
|
11822
12052
|
})];
|
|
11823
12053
|
}
|
|
11824
12054
|
}), null);
|
|
11825
|
-
insert(_el$
|
|
12055
|
+
insert(_el$6, createComponent(Show, {
|
|
11826
12056
|
get when() {
|
|
11827
12057
|
return subEntryPages().length === 0;
|
|
11828
12058
|
},
|
|
11829
12059
|
get children() {
|
|
11830
|
-
const _el$
|
|
11831
|
-
insert(_el$
|
|
11832
|
-
insert(_el$
|
|
12060
|
+
const _el$17 = _tmpl$102(), _el$18 = _el$17.firstChild, _el$19 = _el$18.firstChild;
|
|
12061
|
+
insert(_el$18, () => props.label, _el$19);
|
|
12062
|
+
insert(_el$17, createComponent(Show, {
|
|
11833
12063
|
get when() {
|
|
11834
|
-
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12064
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
11835
12065
|
},
|
|
11836
12066
|
get fallback() {
|
|
11837
12067
|
return (() => {
|
|
11838
|
-
const _el$
|
|
11839
|
-
insert(_el$
|
|
11840
|
-
createRenderEffect(() => className(_el$
|
|
11841
|
-
return _el$
|
|
12068
|
+
const _el$32 = _tmpl$92();
|
|
12069
|
+
insert(_el$32, () => displayValue(props.value));
|
|
12070
|
+
createRenderEffect(() => className(_el$32, styles().value));
|
|
12071
|
+
return _el$32;
|
|
11842
12072
|
})();
|
|
11843
12073
|
},
|
|
11844
12074
|
get children() {
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
12075
|
+
return [createComponent(Show, {
|
|
12076
|
+
get when() {
|
|
12077
|
+
return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12078
|
+
},
|
|
12079
|
+
get children() {
|
|
12080
|
+
const _el$20 = _tmpl$82();
|
|
12081
|
+
_el$20.addEventListener("change", (changeEvent) => {
|
|
12082
|
+
const oldData = props.activeQuery.state.data;
|
|
12083
|
+
const newData = updateNestedDataByPath(oldData, currentDataPath, type() === "number" ? changeEvent.target.valueAsNumber : changeEvent.target.value);
|
|
12084
|
+
queryClient.setQueryData(props.activeQuery.queryKey, newData);
|
|
12085
|
+
});
|
|
12086
|
+
createRenderEffect((_p$) => {
|
|
12087
|
+
const _v$6 = type() === "number" ? "number" : "text", _v$7 = clsx(styles().value, styles().editableInput);
|
|
12088
|
+
_v$6 !== _p$._v$6 && setAttribute(_el$20, "type", _p$._v$6 = _v$6);
|
|
12089
|
+
_v$7 !== _p$._v$7 && className(_el$20, _p$._v$7 = _v$7);
|
|
12090
|
+
return _p$;
|
|
12091
|
+
}, {
|
|
12092
|
+
_v$6: void 0,
|
|
12093
|
+
_v$7: void 0
|
|
12094
|
+
});
|
|
12095
|
+
createRenderEffect(() => _el$20.value = props.value);
|
|
12096
|
+
return _el$20;
|
|
12097
|
+
}
|
|
12098
|
+
}), createComponent(Show, {
|
|
12099
|
+
get when() {
|
|
12100
|
+
return type() === "boolean";
|
|
12101
|
+
},
|
|
12102
|
+
get children() {
|
|
12103
|
+
const _el$21 = _tmpl$92();
|
|
12104
|
+
insert(_el$21, createComponent(ToggleValueButton, {
|
|
12105
|
+
get activeQuery() {
|
|
12106
|
+
return props.activeQuery;
|
|
12107
|
+
},
|
|
12108
|
+
dataPath: currentDataPath,
|
|
12109
|
+
get value() {
|
|
12110
|
+
return props.value;
|
|
12111
|
+
}
|
|
12112
|
+
}), null);
|
|
12113
|
+
insert(_el$21, () => displayValue(props.value), null);
|
|
12114
|
+
createRenderEffect(() => className(_el$21, clsx(styles().value, styles().actions, styles().editableInput)));
|
|
12115
|
+
return _el$21;
|
|
12116
|
+
}
|
|
12117
|
+
})];
|
|
11862
12118
|
}
|
|
11863
12119
|
}), null);
|
|
11864
|
-
insert(_el$
|
|
12120
|
+
insert(_el$17, createComponent(Show, {
|
|
11865
12121
|
get when() {
|
|
11866
12122
|
return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
|
|
11867
12123
|
},
|
|
@@ -11875,22 +12131,22 @@ function Explorer(props) {
|
|
|
11875
12131
|
}
|
|
11876
12132
|
}), null);
|
|
11877
12133
|
createRenderEffect((_p$) => {
|
|
11878
|
-
const _v$8 = styles.row, _v$9 = styles.label;
|
|
11879
|
-
_v$8 !== _p$._v$8 && className(_el$
|
|
11880
|
-
_v$9 !== _p$._v$9 && className(_el$
|
|
12134
|
+
const _v$8 = styles().row, _v$9 = styles().label;
|
|
12135
|
+
_v$8 !== _p$._v$8 && className(_el$17, _p$._v$8 = _v$8);
|
|
12136
|
+
_v$9 !== _p$._v$9 && className(_el$18, _p$._v$9 = _v$9);
|
|
11881
12137
|
return _p$;
|
|
11882
12138
|
}, {
|
|
11883
12139
|
_v$8: void 0,
|
|
11884
12140
|
_v$9: void 0
|
|
11885
12141
|
});
|
|
11886
|
-
return _el$
|
|
12142
|
+
return _el$17;
|
|
11887
12143
|
}
|
|
11888
12144
|
}), null);
|
|
11889
|
-
createRenderEffect(() => className(_el$
|
|
11890
|
-
return _el$
|
|
12145
|
+
createRenderEffect(() => className(_el$6, styles().entry));
|
|
12146
|
+
return _el$6;
|
|
11891
12147
|
})();
|
|
11892
12148
|
}
|
|
11893
|
-
var _tmpl$
|
|
12149
|
+
var _tmpl$18, _tmpl$22, _tmpl$32, _tmpl$42, _tmpl$52, _tmpl$62, _tmpl$72, _tmpl$82, _tmpl$92, _tmpl$102, _tmpl$112, Expander, CopyButton, ClearArrayButton, DeleteItemButton, ToggleValueButton, stylesFactory, lightStyles, darkStyles;
|
|
11894
12150
|
var init_Explorer = __esm({
|
|
11895
12151
|
"src/Explorer.tsx"() {
|
|
11896
12152
|
init_web();
|
|
@@ -11911,21 +12167,25 @@ var init_Explorer = __esm({
|
|
|
11911
12167
|
init_utils();
|
|
11912
12168
|
init_icons();
|
|
11913
12169
|
init_Context();
|
|
11914
|
-
_tmpl$
|
|
12170
|
+
_tmpl$18 = /* @__PURE__ */ template(`<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
11915
12171
|
_tmpl$22 = /* @__PURE__ */ template(`<button title="Copy object to clipboard">`);
|
|
11916
|
-
_tmpl$32 = /* @__PURE__ */ template(`<button title="Remove all items"
|
|
11917
|
-
_tmpl$42 = /* @__PURE__ */ template(`<button title="Delete item"
|
|
11918
|
-
_tmpl$52 = /* @__PURE__ */ template(`<
|
|
11919
|
-
_tmpl$62 = /* @__PURE__ */ template(`<div
|
|
11920
|
-
_tmpl$72 = /* @__PURE__ */ template(`<
|
|
11921
|
-
_tmpl$82 = /* @__PURE__ */ template(`<
|
|
11922
|
-
_tmpl$92 = /* @__PURE__ */ template(`<
|
|
11923
|
-
_tmpl$102 = /* @__PURE__ */ template(`<span
|
|
12172
|
+
_tmpl$32 = /* @__PURE__ */ template(`<button title="Remove all items"aria-label="Remove all items">`);
|
|
12173
|
+
_tmpl$42 = /* @__PURE__ */ template(`<button title="Delete item"aria-label="Delete item">`);
|
|
12174
|
+
_tmpl$52 = /* @__PURE__ */ template(`<button title="Toggle value"aria-label="Toggle value">`);
|
|
12175
|
+
_tmpl$62 = /* @__PURE__ */ template(`<div>`);
|
|
12176
|
+
_tmpl$72 = /* @__PURE__ */ template(`<div><button> <span></span> <span> `);
|
|
12177
|
+
_tmpl$82 = /* @__PURE__ */ template(`<input>`);
|
|
12178
|
+
_tmpl$92 = /* @__PURE__ */ template(`<span>`);
|
|
12179
|
+
_tmpl$102 = /* @__PURE__ */ template(`<div><span>:`);
|
|
12180
|
+
_tmpl$112 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
|
|
11924
12181
|
Expander = (props) => {
|
|
11925
|
-
const
|
|
12182
|
+
const theme = useTheme();
|
|
12183
|
+
const styles = createMemo(() => {
|
|
12184
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12185
|
+
});
|
|
11926
12186
|
return (() => {
|
|
11927
|
-
const _el$ = _tmpl$
|
|
11928
|
-
createRenderEffect(() => className(_el$, clsx(styles.expander, u`
|
|
12187
|
+
const _el$ = _tmpl$18();
|
|
12188
|
+
createRenderEffect(() => className(_el$, clsx(styles().expander, u`
|
|
11929
12189
|
transform: rotate(${props.expanded ? 90 : 0}deg);
|
|
11930
12190
|
`, props.expanded && u`
|
|
11931
12191
|
& svg {
|
|
@@ -11936,7 +12196,10 @@ var init_Explorer = __esm({
|
|
|
11936
12196
|
})();
|
|
11937
12197
|
};
|
|
11938
12198
|
CopyButton = (props) => {
|
|
11939
|
-
const
|
|
12199
|
+
const theme = useTheme();
|
|
12200
|
+
const styles = createMemo(() => {
|
|
12201
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12202
|
+
});
|
|
11940
12203
|
const [copyState, setCopyState] = createSignal("NoCopy");
|
|
11941
12204
|
return (() => {
|
|
11942
12205
|
const _el$2 = _tmpl$22();
|
|
@@ -11968,7 +12231,11 @@ var init_Explorer = __esm({
|
|
|
11968
12231
|
return copyState() === "SuccessCopy";
|
|
11969
12232
|
},
|
|
11970
12233
|
get children() {
|
|
11971
|
-
return createComponent(CopiedCopier, {
|
|
12234
|
+
return createComponent(CopiedCopier, {
|
|
12235
|
+
get theme() {
|
|
12236
|
+
return theme();
|
|
12237
|
+
}
|
|
12238
|
+
});
|
|
11972
12239
|
}
|
|
11973
12240
|
}), createComponent(Match, {
|
|
11974
12241
|
get when() {
|
|
@@ -11981,7 +12248,7 @@ var init_Explorer = __esm({
|
|
|
11981
12248
|
}
|
|
11982
12249
|
}));
|
|
11983
12250
|
createRenderEffect((_p$) => {
|
|
11984
|
-
const _v$ = styles.actionButton, _v$2 = `${copyState() === "NoCopy" ? "Copy object to clipboard" : copyState() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
|
|
12251
|
+
const _v$ = styles().actionButton, _v$2 = `${copyState() === "NoCopy" ? "Copy object to clipboard" : copyState() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
|
|
11985
12252
|
_v$ !== _p$._v$ && className(_el$2, _p$._v$ = _v$);
|
|
11986
12253
|
_v$2 !== _p$._v$2 && setAttribute(_el$2, "aria-label", _p$._v$2 = _v$2);
|
|
11987
12254
|
return _p$;
|
|
@@ -11993,7 +12260,10 @@ var init_Explorer = __esm({
|
|
|
11993
12260
|
})();
|
|
11994
12261
|
};
|
|
11995
12262
|
ClearArrayButton = (props) => {
|
|
11996
|
-
const
|
|
12263
|
+
const theme = useTheme();
|
|
12264
|
+
const styles = createMemo(() => {
|
|
12265
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12266
|
+
});
|
|
11997
12267
|
const queryClient = useQueryDevtoolsContext().client;
|
|
11998
12268
|
return (() => {
|
|
11999
12269
|
const _el$3 = _tmpl$32();
|
|
@@ -12003,12 +12273,15 @@ var init_Explorer = __esm({
|
|
|
12003
12273
|
queryClient.setQueryData(props.activeQuery.queryKey, newData);
|
|
12004
12274
|
};
|
|
12005
12275
|
insert(_el$3, createComponent(List, {}));
|
|
12006
|
-
createRenderEffect(() => className(_el$3, styles.actionButton));
|
|
12276
|
+
createRenderEffect(() => className(_el$3, styles().actionButton));
|
|
12007
12277
|
return _el$3;
|
|
12008
12278
|
})();
|
|
12009
12279
|
};
|
|
12010
12280
|
DeleteItemButton = (props) => {
|
|
12011
|
-
const
|
|
12281
|
+
const theme = useTheme();
|
|
12282
|
+
const styles = createMemo(() => {
|
|
12283
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12284
|
+
});
|
|
12012
12285
|
const queryClient = useQueryDevtoolsContext().client;
|
|
12013
12286
|
return (() => {
|
|
12014
12287
|
const _el$4 = _tmpl$42();
|
|
@@ -12018,17 +12291,46 @@ var init_Explorer = __esm({
|
|
|
12018
12291
|
queryClient.setQueryData(props.activeQuery.queryKey, newData);
|
|
12019
12292
|
};
|
|
12020
12293
|
insert(_el$4, createComponent(Trash, {}));
|
|
12021
|
-
createRenderEffect(() => className(_el$4, clsx(styles.actionButton)));
|
|
12294
|
+
createRenderEffect(() => className(_el$4, clsx(styles().actionButton)));
|
|
12022
12295
|
return _el$4;
|
|
12023
12296
|
})();
|
|
12024
12297
|
};
|
|
12025
|
-
|
|
12298
|
+
ToggleValueButton = (props) => {
|
|
12299
|
+
const theme = useTheme();
|
|
12300
|
+
const styles = createMemo(() => {
|
|
12301
|
+
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12302
|
+
});
|
|
12303
|
+
const queryClient = useQueryDevtoolsContext().client;
|
|
12304
|
+
return (() => {
|
|
12305
|
+
const _el$5 = _tmpl$52();
|
|
12306
|
+
_el$5.$$click = () => {
|
|
12307
|
+
const oldData = props.activeQuery.state.data;
|
|
12308
|
+
const newData = updateNestedDataByPath(oldData, props.dataPath, !props.value);
|
|
12309
|
+
queryClient.setQueryData(props.activeQuery.queryKey, newData);
|
|
12310
|
+
};
|
|
12311
|
+
insert(_el$5, createComponent(Check, {
|
|
12312
|
+
get theme() {
|
|
12313
|
+
return theme();
|
|
12314
|
+
},
|
|
12315
|
+
get checked() {
|
|
12316
|
+
return props.value;
|
|
12317
|
+
}
|
|
12318
|
+
}));
|
|
12319
|
+
createRenderEffect(() => className(_el$5, clsx(styles().actionButton, u`
|
|
12320
|
+
width: ${tokens.size[3.5]};
|
|
12321
|
+
height: ${tokens.size[3.5]};
|
|
12322
|
+
`)));
|
|
12323
|
+
return _el$5;
|
|
12324
|
+
})();
|
|
12325
|
+
};
|
|
12326
|
+
stylesFactory = (theme) => {
|
|
12026
12327
|
const {
|
|
12027
12328
|
colors,
|
|
12028
12329
|
font,
|
|
12029
12330
|
size: size2,
|
|
12030
12331
|
border
|
|
12031
12332
|
} = tokens;
|
|
12333
|
+
const t2 = (light, dark) => theme === "light" ? light : dark;
|
|
12032
12334
|
return {
|
|
12033
12335
|
entry: u`
|
|
12034
12336
|
& * {
|
|
@@ -12042,7 +12344,7 @@ var init_Explorer = __esm({
|
|
|
12042
12344
|
subEntry: u`
|
|
12043
12345
|
margin: 0 0 0 0.5em;
|
|
12044
12346
|
padding-left: 0.75em;
|
|
12045
|
-
border-left: 2px solid ${colors.darkGray[400]};
|
|
12347
|
+
border-left: 2px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
12046
12348
|
/* outline: 1px solid ${colors.teal[400]}; */
|
|
12047
12349
|
`,
|
|
12048
12350
|
expander: u`
|
|
@@ -12091,21 +12393,22 @@ var init_Explorer = __esm({
|
|
|
12091
12393
|
}
|
|
12092
12394
|
`,
|
|
12093
12395
|
info: u`
|
|
12094
|
-
color: ${colors.gray[500]};
|
|
12396
|
+
color: ${t2(colors.gray[500], colors.gray[500])};
|
|
12095
12397
|
font-size: ${font.size.xs};
|
|
12096
12398
|
margin-left: ${size2[1]};
|
|
12097
12399
|
/* outline: 1px solid ${colors.yellow[400]}; */
|
|
12098
12400
|
`,
|
|
12099
12401
|
label: u`
|
|
12100
|
-
color: ${colors.gray[300]};
|
|
12402
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
12101
12403
|
`,
|
|
12102
12404
|
value: u`
|
|
12103
|
-
color: ${colors.purple[400]};
|
|
12405
|
+
color: ${t2(colors.purple[600], colors.purple[400])};
|
|
12104
12406
|
flex-grow: 1;
|
|
12105
12407
|
`,
|
|
12106
12408
|
actions: u`
|
|
12107
12409
|
display: inline-flex;
|
|
12108
12410
|
gap: ${size2[2]};
|
|
12411
|
+
align-items: center;
|
|
12109
12412
|
`,
|
|
12110
12413
|
row: u`
|
|
12111
12414
|
display: inline-flex;
|
|
@@ -12113,19 +12416,22 @@ var init_Explorer = __esm({
|
|
|
12113
12416
|
width: 100%;
|
|
12114
12417
|
margin-bottom: ${size2[0.5]};
|
|
12115
12418
|
line-height: 1.125rem;
|
|
12419
|
+
align-items: center;
|
|
12116
12420
|
`,
|
|
12117
12421
|
editableInput: u`
|
|
12118
12422
|
border: none;
|
|
12119
|
-
padding:
|
|
12423
|
+
padding: ${size2[0.5]} ${size2[1]} ${size2[0.5]} ${size2[1.5]};
|
|
12120
12424
|
flex-grow: 1;
|
|
12121
|
-
|
|
12425
|
+
border-radius: ${border.radius.xs};
|
|
12426
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
12122
12427
|
|
|
12123
12428
|
&:hover {
|
|
12124
|
-
background-color: ${colors.gray[
|
|
12429
|
+
background-color: ${t2(colors.gray[300], colors.darkGray[600])};
|
|
12125
12430
|
}
|
|
12126
12431
|
`,
|
|
12127
12432
|
actionButton: u`
|
|
12128
12433
|
background-color: transparent;
|
|
12434
|
+
color: ${t2(colors.gray[500], colors.gray[500])};
|
|
12129
12435
|
border: none;
|
|
12130
12436
|
display: inline-flex;
|
|
12131
12437
|
padding: 0px;
|
|
@@ -12138,14 +12444,7 @@ var init_Explorer = __esm({
|
|
|
12138
12444
|
z-index: 1;
|
|
12139
12445
|
|
|
12140
12446
|
&:hover svg {
|
|
12141
|
-
.
|
|
12142
|
-
.list {
|
|
12143
|
-
stroke: ${colors.gray[500]} !important;
|
|
12144
|
-
}
|
|
12145
|
-
|
|
12146
|
-
.list-item {
|
|
12147
|
-
stroke: ${colors.gray[700]};
|
|
12148
|
-
}
|
|
12447
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
12149
12448
|
}
|
|
12150
12449
|
|
|
12151
12450
|
&:focus-visible {
|
|
@@ -12156,6 +12455,8 @@ var init_Explorer = __esm({
|
|
|
12156
12455
|
`
|
|
12157
12456
|
};
|
|
12158
12457
|
};
|
|
12458
|
+
lightStyles = stylesFactory("light");
|
|
12459
|
+
darkStyles = stylesFactory("dark");
|
|
12159
12460
|
delegateEvents(["click"]);
|
|
12160
12461
|
}
|
|
12161
12462
|
});
|
|
@@ -12184,7 +12485,7 @@ __export(Devtools_exports, {
|
|
|
12184
12485
|
QueryStatusCount: () => QueryStatusCount,
|
|
12185
12486
|
default: () => Devtools_default
|
|
12186
12487
|
});
|
|
12187
|
-
var _tmpl$
|
|
12488
|
+
var _tmpl$19, _tmpl$23, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$20, _tmpl$21, _tmpl$222, _tmpl$232, _tmpl$24, _tmpl$25, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, selectedQueryHash, setSelectedQueryHash, panelWidth, setPanelWidth, DevtoolsComponent, Devtools_default, Devtools, DevtoolsPanel, QueryRow, QueryStatusCount, QueryStatus, QueryDetails, signalsMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
|
|
12188
12489
|
var init_Devtools = __esm({
|
|
12189
12490
|
"src/Devtools.tsx"() {
|
|
12190
12491
|
init_web();
|
|
@@ -12205,7 +12506,7 @@ var init_Devtools = __esm({
|
|
|
12205
12506
|
init_dist3();
|
|
12206
12507
|
init_dist4();
|
|
12207
12508
|
init_dist5();
|
|
12208
|
-
|
|
12509
|
+
init_dist7();
|
|
12209
12510
|
init_esm();
|
|
12210
12511
|
init_theme();
|
|
12211
12512
|
init_utils();
|
|
@@ -12213,7 +12514,7 @@ var init_Devtools = __esm({
|
|
|
12213
12514
|
init_Explorer();
|
|
12214
12515
|
init_Context();
|
|
12215
12516
|
init_fonts();
|
|
12216
|
-
_tmpl$
|
|
12517
|
+
_tmpl$19 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools">`);
|
|
12217
12518
|
_tmpl$23 = /* @__PURE__ */ template(`<div>`);
|
|
12218
12519
|
_tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
|
|
12219
12520
|
_tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
|
|
@@ -12223,22 +12524,27 @@ var init_Devtools = __esm({
|
|
|
12223
12524
|
_tmpl$83 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
12224
12525
|
_tmpl$93 = /* @__PURE__ */ template(`<span>Left`);
|
|
12225
12526
|
_tmpl$103 = /* @__PURE__ */ template(`<span>Right`);
|
|
12226
|
-
_tmpl$
|
|
12227
|
-
_tmpl$122 = /* @__PURE__ */ template(`<
|
|
12228
|
-
_tmpl$132 = /* @__PURE__ */ template(`<
|
|
12229
|
-
_tmpl$142 = /* @__PURE__ */ template(`<
|
|
12230
|
-
_tmpl$152 = /* @__PURE__ */ template(`<div
|
|
12231
|
-
_tmpl$
|
|
12232
|
-
_tmpl$
|
|
12233
|
-
_tmpl$
|
|
12234
|
-
_tmpl$
|
|
12235
|
-
_tmpl$20 = /* @__PURE__ */ template(`<
|
|
12236
|
-
_tmpl$21 = /* @__PURE__ */ template(`<
|
|
12527
|
+
_tmpl$113 = /* @__PURE__ */ template(`<span>Theme`);
|
|
12528
|
+
_tmpl$122 = /* @__PURE__ */ template(`<span>Light`);
|
|
12529
|
+
_tmpl$132 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12530
|
+
_tmpl$142 = /* @__PURE__ */ template(`<span>System`);
|
|
12531
|
+
_tmpl$152 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools"></button><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter class=tsqd-query-filter-textfield></div><div><select></select></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"title="Clear query cache"></button><button></button></div></div><div><div class=tsqd-queries-container>`);
|
|
12532
|
+
_tmpl$162 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12533
|
+
_tmpl$172 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12534
|
+
_tmpl$182 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12535
|
+
_tmpl$192 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12536
|
+
_tmpl$20 = /* @__PURE__ */ template(`<span>`);
|
|
12537
|
+
_tmpl$21 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12538
|
+
_tmpl$222 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12539
|
+
_tmpl$232 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12540
|
+
_tmpl$24 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
12541
|
+
_tmpl$25 = /* @__PURE__ */ template(`<option>`);
|
|
12237
12542
|
firstBreakpoint = 1024;
|
|
12238
12543
|
secondBreakpoint = 796;
|
|
12239
12544
|
thirdBreakpoint = 700;
|
|
12240
12545
|
BUTTON_POSITION = "bottom-right";
|
|
12241
12546
|
POSITION = "bottom";
|
|
12547
|
+
THEME_PREFERENCE = "system";
|
|
12242
12548
|
INITIAL_IS_OPEN = false;
|
|
12243
12549
|
DEFAULT_HEIGHT = 500;
|
|
12244
12550
|
DEFAULT_WIDTH = 500;
|
|
@@ -12247,33 +12553,51 @@ var init_Devtools = __esm({
|
|
|
12247
12553
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12248
12554
|
[panelWidth, setPanelWidth] = createSignal(0);
|
|
12249
12555
|
DevtoolsComponent = (props) => {
|
|
12556
|
+
const [localStore, setLocalStore] = createLocalStorage({
|
|
12557
|
+
prefix: "TanstackQueryDevtools"
|
|
12558
|
+
});
|
|
12559
|
+
const colorScheme = getPreferredColorScheme();
|
|
12560
|
+
const theme = createMemo(() => {
|
|
12561
|
+
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
12562
|
+
if (preference !== "system")
|
|
12563
|
+
return preference;
|
|
12564
|
+
return colorScheme();
|
|
12565
|
+
});
|
|
12250
12566
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
12251
12567
|
value: props,
|
|
12252
12568
|
get children() {
|
|
12253
|
-
return createComponent(
|
|
12569
|
+
return createComponent(ThemeContext.Provider, {
|
|
12570
|
+
value: theme,
|
|
12571
|
+
get children() {
|
|
12572
|
+
return createComponent(Devtools, {
|
|
12573
|
+
localStore,
|
|
12574
|
+
setLocalStore
|
|
12575
|
+
});
|
|
12576
|
+
}
|
|
12577
|
+
});
|
|
12254
12578
|
}
|
|
12255
12579
|
});
|
|
12256
12580
|
};
|
|
12257
12581
|
Devtools_default = DevtoolsComponent;
|
|
12258
|
-
Devtools = () => {
|
|
12582
|
+
Devtools = (props) => {
|
|
12259
12583
|
loadFonts();
|
|
12260
|
-
const
|
|
12261
|
-
const
|
|
12262
|
-
|
|
12584
|
+
const theme = useTheme();
|
|
12585
|
+
const styles = createMemo(() => {
|
|
12586
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
12263
12587
|
});
|
|
12264
12588
|
const buttonPosition = createMemo(() => {
|
|
12265
12589
|
return useQueryDevtoolsContext().buttonPosition || BUTTON_POSITION;
|
|
12266
12590
|
});
|
|
12267
12591
|
const isOpen = createMemo(() => {
|
|
12268
|
-
return localStore.open === "true" ? true : localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
|
|
12592
|
+
return props.localStore.open === "true" ? true : props.localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
|
|
12269
12593
|
});
|
|
12270
12594
|
const position = createMemo(() => {
|
|
12271
|
-
return localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
12595
|
+
return props.localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
12272
12596
|
});
|
|
12273
12597
|
createEffect(() => {
|
|
12274
12598
|
const root = document.querySelector(".tsqd-parent-container");
|
|
12275
|
-
const height = localStore.height || DEFAULT_HEIGHT;
|
|
12276
|
-
const width = localStore.width || DEFAULT_WIDTH;
|
|
12599
|
+
const height = props.localStore.height || DEFAULT_HEIGHT;
|
|
12600
|
+
const width = props.localStore.width || DEFAULT_WIDTH;
|
|
12277
12601
|
const panelPosition = position();
|
|
12278
12602
|
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
12279
12603
|
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
@@ -12289,8 +12613,12 @@ var init_Devtools = __esm({
|
|
|
12289
12613
|
},
|
|
12290
12614
|
get children() {
|
|
12291
12615
|
return createComponent(DevtoolsPanel, {
|
|
12292
|
-
localStore
|
|
12293
|
-
|
|
12616
|
+
get localStore() {
|
|
12617
|
+
return props.localStore;
|
|
12618
|
+
},
|
|
12619
|
+
get setLocalStore() {
|
|
12620
|
+
return props.setLocalStore;
|
|
12621
|
+
}
|
|
12294
12622
|
});
|
|
12295
12623
|
}
|
|
12296
12624
|
});
|
|
@@ -12304,11 +12632,11 @@ var init_Devtools = __esm({
|
|
|
12304
12632
|
return !isOpen();
|
|
12305
12633
|
},
|
|
12306
12634
|
get children() {
|
|
12307
|
-
const _el$2 = _tmpl$
|
|
12635
|
+
const _el$2 = _tmpl$19(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
12308
12636
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
12309
|
-
_el$4.$$click = () => setLocalStore("open", "true");
|
|
12637
|
+
_el$4.$$click = () => props.setLocalStore("open", "true");
|
|
12310
12638
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
12311
|
-
createRenderEffect(() => className(_el$2, clsx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
12639
|
+
createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
12312
12640
|
return _el$2;
|
|
12313
12641
|
}
|
|
12314
12642
|
});
|
|
@@ -12339,7 +12667,10 @@ var init_Devtools = __esm({
|
|
|
12339
12667
|
})();
|
|
12340
12668
|
};
|
|
12341
12669
|
DevtoolsPanel = (props) => {
|
|
12342
|
-
const
|
|
12670
|
+
const theme = useTheme();
|
|
12671
|
+
const styles = createMemo(() => {
|
|
12672
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
12673
|
+
});
|
|
12343
12674
|
const [isResizing, setIsResizing] = createSignal(false);
|
|
12344
12675
|
const sort = createMemo(() => props.localStore.sort || DEFAULT_SORT_FN_NAME);
|
|
12345
12676
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
@@ -12448,8 +12779,24 @@ var init_Devtools = __esm({
|
|
|
12448
12779
|
});
|
|
12449
12780
|
});
|
|
12450
12781
|
});
|
|
12782
|
+
const getPanelDynamicStyles = () => {
|
|
12783
|
+
const {
|
|
12784
|
+
colors
|
|
12785
|
+
} = tokens;
|
|
12786
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
12787
|
+
if (panelWidth() < secondBreakpoint) {
|
|
12788
|
+
return u`
|
|
12789
|
+
flex-direction: column;
|
|
12790
|
+
background-color: ${t2(colors.gray[300], colors.gray[600])};
|
|
12791
|
+
`;
|
|
12792
|
+
}
|
|
12793
|
+
return u`
|
|
12794
|
+
flex-direction: row;
|
|
12795
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[900])};
|
|
12796
|
+
`;
|
|
12797
|
+
};
|
|
12451
12798
|
return (() => {
|
|
12452
|
-
const _el$5 = _tmpl$
|
|
12799
|
+
const _el$5 = _tmpl$152(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$9.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$15.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$36 = _el$14.nextSibling, _el$37 = _el$36.firstChild;
|
|
12453
12800
|
const _ref$ = panelRef;
|
|
12454
12801
|
typeof _ref$ === "function" ? use(_ref$, _el$5) : panelRef = _el$5;
|
|
12455
12802
|
_el$6.$$mousedown = handleDragStart;
|
|
@@ -12465,10 +12812,10 @@ var init_Devtools = __esm({
|
|
|
12465
12812
|
_el$17.$$input = (e2) => props.setLocalStore("filter", e2.currentTarget.value);
|
|
12466
12813
|
_el$19.addEventListener("change", (e2) => props.setLocalStore("sort", e2.currentTarget.value));
|
|
12467
12814
|
insert(_el$19, () => Object.keys(sortFns).map((key) => (() => {
|
|
12468
|
-
const _el$
|
|
12469
|
-
_el$
|
|
12470
|
-
insert(_el$
|
|
12471
|
-
return _el$
|
|
12815
|
+
const _el$38 = _tmpl$162(); _el$38.firstChild;
|
|
12816
|
+
_el$38.value = key;
|
|
12817
|
+
insert(_el$38, key, null);
|
|
12818
|
+
return _el$38;
|
|
12472
12819
|
})()));
|
|
12473
12820
|
insert(_el$18, createComponent(ChevronDown, {}), null);
|
|
12474
12821
|
_el$20.$$click = () => {
|
|
@@ -12512,7 +12859,7 @@ var init_Devtools = __esm({
|
|
|
12512
12859
|
get children() {
|
|
12513
12860
|
return [createComponent(index$d.Trigger, {
|
|
12514
12861
|
get ["class"]() {
|
|
12515
|
-
return clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-settings");
|
|
12862
|
+
return clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-settings");
|
|
12516
12863
|
},
|
|
12517
12864
|
get children() {
|
|
12518
12865
|
return createComponent(Settings, {});
|
|
@@ -12521,12 +12868,12 @@ var init_Devtools = __esm({
|
|
|
12521
12868
|
get children() {
|
|
12522
12869
|
return createComponent(index$d.Content, {
|
|
12523
12870
|
get ["class"]() {
|
|
12524
|
-
return clsx(styles.settingsMenu, "tsqd-settings-menu");
|
|
12871
|
+
return clsx(styles().settingsMenu, "tsqd-settings-menu");
|
|
12525
12872
|
},
|
|
12526
12873
|
get children() {
|
|
12527
12874
|
return [(() => {
|
|
12528
12875
|
const _el$26 = _tmpl$53();
|
|
12529
|
-
createRenderEffect(() => className(_el$26, clsx(styles.settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
12876
|
+
createRenderEffect(() => className(_el$26, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
12530
12877
|
return _el$26;
|
|
12531
12878
|
})(), createComponent(index$d.Sub, {
|
|
12532
12879
|
overlap: true,
|
|
@@ -12535,7 +12882,7 @@ var init_Devtools = __esm({
|
|
|
12535
12882
|
get children() {
|
|
12536
12883
|
return [createComponent(index$d.SubTrigger, {
|
|
12537
12884
|
get ["class"]() {
|
|
12538
|
-
return clsx(styles.settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
12885
|
+
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
12539
12886
|
},
|
|
12540
12887
|
get children() {
|
|
12541
12888
|
return [_tmpl$63(), createComponent(ChevronDown, {})];
|
|
@@ -12544,7 +12891,7 @@ var init_Devtools = __esm({
|
|
|
12544
12891
|
get children() {
|
|
12545
12892
|
return createComponent(index$d.SubContent, {
|
|
12546
12893
|
get ["class"]() {
|
|
12547
|
-
return clsx(styles.settingsMenu, "tsqd-settings-submenu");
|
|
12894
|
+
return clsx(styles().settingsMenu, "tsqd-settings-submenu");
|
|
12548
12895
|
},
|
|
12549
12896
|
get children() {
|
|
12550
12897
|
return [createComponent(index$d.Item, {
|
|
@@ -12553,7 +12900,7 @@ var init_Devtools = __esm({
|
|
|
12553
12900
|
},
|
|
12554
12901
|
as: "button",
|
|
12555
12902
|
get ["class"]() {
|
|
12556
|
-
return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
12903
|
+
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
12557
12904
|
},
|
|
12558
12905
|
get children() {
|
|
12559
12906
|
return [_tmpl$73(), createComponent(ArrowUp, {})];
|
|
@@ -12564,7 +12911,7 @@ var init_Devtools = __esm({
|
|
|
12564
12911
|
},
|
|
12565
12912
|
as: "button",
|
|
12566
12913
|
get ["class"]() {
|
|
12567
|
-
return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
12914
|
+
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
12568
12915
|
},
|
|
12569
12916
|
get children() {
|
|
12570
12917
|
return [_tmpl$83(), createComponent(ArrowDown, {})];
|
|
@@ -12575,7 +12922,7 @@ var init_Devtools = __esm({
|
|
|
12575
12922
|
},
|
|
12576
12923
|
as: "button",
|
|
12577
12924
|
get ["class"]() {
|
|
12578
|
-
return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
12925
|
+
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
12579
12926
|
},
|
|
12580
12927
|
get children() {
|
|
12581
12928
|
return [_tmpl$93(), createComponent(ArrowLeft, {})];
|
|
@@ -12586,7 +12933,7 @@ var init_Devtools = __esm({
|
|
|
12586
12933
|
},
|
|
12587
12934
|
as: "button",
|
|
12588
12935
|
get ["class"]() {
|
|
12589
|
-
return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
12936
|
+
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
12590
12937
|
},
|
|
12591
12938
|
get children() {
|
|
12592
12939
|
return [_tmpl$103(), createComponent(ArrowRight, {})];
|
|
@@ -12597,6 +12944,64 @@ var init_Devtools = __esm({
|
|
|
12597
12944
|
}
|
|
12598
12945
|
})];
|
|
12599
12946
|
}
|
|
12947
|
+
}), createComponent(index$d.Sub, {
|
|
12948
|
+
overlap: true,
|
|
12949
|
+
gutter: 8,
|
|
12950
|
+
shift: -4,
|
|
12951
|
+
get children() {
|
|
12952
|
+
return [createComponent(index$d.SubTrigger, {
|
|
12953
|
+
get ["class"]() {
|
|
12954
|
+
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
12955
|
+
},
|
|
12956
|
+
get children() {
|
|
12957
|
+
return [_tmpl$113(), createComponent(ChevronDown, {})];
|
|
12958
|
+
}
|
|
12959
|
+
}), createComponent(index$d.Portal, {
|
|
12960
|
+
get children() {
|
|
12961
|
+
return createComponent(index$d.SubContent, {
|
|
12962
|
+
get ["class"]() {
|
|
12963
|
+
return clsx(styles().settingsMenu, "tsqd-settings-submenu");
|
|
12964
|
+
},
|
|
12965
|
+
get children() {
|
|
12966
|
+
return [createComponent(index$d.Item, {
|
|
12967
|
+
onSelect: () => {
|
|
12968
|
+
props.setLocalStore("theme_preference", "light");
|
|
12969
|
+
},
|
|
12970
|
+
as: "button",
|
|
12971
|
+
get ["class"]() {
|
|
12972
|
+
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
12973
|
+
},
|
|
12974
|
+
get children() {
|
|
12975
|
+
return [_tmpl$122(), createComponent(Sun, {})];
|
|
12976
|
+
}
|
|
12977
|
+
}), createComponent(index$d.Item, {
|
|
12978
|
+
onSelect: () => {
|
|
12979
|
+
props.setLocalStore("theme_preference", "dark");
|
|
12980
|
+
},
|
|
12981
|
+
as: "button",
|
|
12982
|
+
get ["class"]() {
|
|
12983
|
+
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
12984
|
+
},
|
|
12985
|
+
get children() {
|
|
12986
|
+
return [_tmpl$132(), createComponent(Moon, {})];
|
|
12987
|
+
}
|
|
12988
|
+
}), createComponent(index$d.Item, {
|
|
12989
|
+
onSelect: () => {
|
|
12990
|
+
props.setLocalStore("theme_preference", "system");
|
|
12991
|
+
},
|
|
12992
|
+
as: "button",
|
|
12993
|
+
get ["class"]() {
|
|
12994
|
+
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
12995
|
+
},
|
|
12996
|
+
get children() {
|
|
12997
|
+
return [_tmpl$142(), createComponent(Monitor, {})];
|
|
12998
|
+
}
|
|
12999
|
+
})];
|
|
13000
|
+
}
|
|
13001
|
+
});
|
|
13002
|
+
}
|
|
13003
|
+
})];
|
|
13004
|
+
}
|
|
12600
13005
|
})];
|
|
12601
13006
|
}
|
|
12602
13007
|
});
|
|
@@ -12604,7 +13009,7 @@ var init_Devtools = __esm({
|
|
|
12604
13009
|
})];
|
|
12605
13010
|
}
|
|
12606
13011
|
}), null);
|
|
12607
|
-
insert(_el$
|
|
13012
|
+
insert(_el$37, createComponent(Key, {
|
|
12608
13013
|
by: (q) => q.queryHash,
|
|
12609
13014
|
get each() {
|
|
12610
13015
|
return queries();
|
|
@@ -12624,19 +13029,16 @@ var init_Devtools = __esm({
|
|
|
12624
13029
|
}
|
|
12625
13030
|
}), null);
|
|
12626
13031
|
createRenderEffect((_p$) => {
|
|
12627
|
-
const _v$ = clsx(styles.panel, styles[`panel-position-${position()}`],
|
|
12628
|
-
flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
|
|
12629
|
-
background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
|
|
12630
|
-
`, {
|
|
13032
|
+
const _v$ = clsx(styles().panel, styles()[`panel-position-${position()}`], getPanelDynamicStyles(), {
|
|
12631
13033
|
[u`
|
|
12632
13034
|
min-width: min-content;
|
|
12633
13035
|
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
12634
|
-
}, "tsqd-main-panel"), _v$2 = position() === "bottom" || position() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$3 = position() === "right" || position() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$4 = clsx(styles.dragHandle, styles[`dragHandle-position-${position()}`], "tsqd-drag-handle"), _v$5 = clsx(styles.closeBtn, styles[`closeBtn-position-${position()}`], "tsqd-minimize-btn"), _v$6 = clsx(styles.queriesContainer, panelWidth() < secondBreakpoint && selectedQueryHash() && u`
|
|
13036
|
+
}, "tsqd-main-panel"), _v$2 = position() === "bottom" || position() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$3 = position() === "right" || position() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$4 = clsx(styles().dragHandle, styles()[`dragHandle-position-${position()}`], "tsqd-drag-handle"), _v$5 = clsx(styles().closeBtn, styles()[`closeBtn-position-${position()}`], "tsqd-minimize-btn"), _v$6 = clsx(styles().queriesContainer, panelWidth() < secondBreakpoint && selectedQueryHash() && u`
|
|
12635
13037
|
height: 50%;
|
|
12636
13038
|
max-height: 50%;
|
|
12637
|
-
`, "tsqd-queries-container"), _v$7 = clsx(styles.row, "tsqd-header"), _v$8 = clsx(styles.logo, "tsqd-text-logo-container"), _v$9 = clsx(styles.tanstackLogo, "tsqd-text-logo-tanstack"), _v$10 = clsx(styles.queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$11 = clsx(styles.row, u`
|
|
13039
|
+
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = clsx(styles().logo, "tsqd-text-logo-container"), _v$9 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$10 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$11 = clsx(styles().row, u`
|
|
12638
13040
|
gap: ${tokens.size[2.5]};
|
|
12639
|
-
`, "tsqd-filters-actions-container"), _v$12 = clsx(styles.filtersContainer, "tsqd-filters-container"), _v$13 = clsx(styles.filterInput, "tsqd-query-filter-textfield-container"), _v$14 = clsx(styles.filterSelect, "tsqd-query-filter-sort-container"), _v$15 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$16 = sortOrder() === -1, _v$17 = clsx(styles.actionsContainer, "tsqd-actions-container"), _v$18 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$19 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$20 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$21 = offline(), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = clsx(styles.overflowQueryContainer, "tsqd-queries-overflow-container");
|
|
13041
|
+
`, "tsqd-filters-actions-container"), _v$12 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$13 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$14 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$15 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$16 = sortOrder() === -1, _v$17 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$18 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$19 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$20 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$21 = offline(), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container");
|
|
12640
13042
|
_v$ !== _p$._v$ && className(_el$5, _p$._v$ = _v$);
|
|
12641
13043
|
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$5.style.setProperty("height", _v$2) : _el$5.style.removeProperty("height"));
|
|
12642
13044
|
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$5.style.setProperty("width", _v$3) : _el$5.style.removeProperty("width"));
|
|
@@ -12659,7 +13061,7 @@ var init_Devtools = __esm({
|
|
|
12659
13061
|
_v$20 !== _p$._v$20 && setAttribute(_el$25, "aria-label", _p$._v$20 = _v$20);
|
|
12660
13062
|
_v$21 !== _p$._v$21 && setAttribute(_el$25, "aria-pressed", _p$._v$21 = _v$21);
|
|
12661
13063
|
_v$22 !== _p$._v$22 && setAttribute(_el$25, "title", _p$._v$22 = _v$22);
|
|
12662
|
-
_v$23 !== _p$._v$23 && className(_el$
|
|
13064
|
+
_v$23 !== _p$._v$23 && className(_el$36, _p$._v$23 = _v$23);
|
|
12663
13065
|
return _p$;
|
|
12664
13066
|
}, {
|
|
12665
13067
|
_v$: void 0,
|
|
@@ -12692,7 +13094,15 @@ var init_Devtools = __esm({
|
|
|
12692
13094
|
})();
|
|
12693
13095
|
};
|
|
12694
13096
|
QueryRow = (props) => {
|
|
12695
|
-
const
|
|
13097
|
+
const theme = useTheme();
|
|
13098
|
+
const styles = createMemo(() => {
|
|
13099
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13100
|
+
});
|
|
13101
|
+
const {
|
|
13102
|
+
colors,
|
|
13103
|
+
alpha
|
|
13104
|
+
} = tokens;
|
|
13105
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
12696
13106
|
const queryState = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
|
|
12697
13107
|
queryKey: props.query.queryKey
|
|
12698
13108
|
})?.state);
|
|
@@ -12710,41 +13120,47 @@ var init_Devtools = __esm({
|
|
|
12710
13120
|
observerCount: observers(),
|
|
12711
13121
|
isStale: isStale()
|
|
12712
13122
|
}));
|
|
13123
|
+
const getObserverCountColorStyles = () => {
|
|
13124
|
+
if (color() === "gray") {
|
|
13125
|
+
return u`
|
|
13126
|
+
background-color: ${t2(colors[color()][200], colors[color()][700])};
|
|
13127
|
+
color: ${t2(colors[color()][700], colors[color()][300])};
|
|
13128
|
+
`;
|
|
13129
|
+
}
|
|
13130
|
+
return u`
|
|
13131
|
+
background-color: ${t2(colors[color()][200] + alpha[80], colors[color()][900])};
|
|
13132
|
+
color: ${t2(colors[color()][800], colors[color()][300])};
|
|
13133
|
+
`;
|
|
13134
|
+
};
|
|
12713
13135
|
return createComponent(Show, {
|
|
12714
13136
|
get when() {
|
|
12715
13137
|
return queryState();
|
|
12716
13138
|
},
|
|
12717
13139
|
get children() {
|
|
12718
|
-
const _el$
|
|
12719
|
-
_el$
|
|
12720
|
-
insert(_el$
|
|
12721
|
-
insert(_el$
|
|
12722
|
-
insert(_el$
|
|
13140
|
+
const _el$40 = _tmpl$182(), _el$41 = _el$40.firstChild, _el$42 = _el$41.nextSibling;
|
|
13141
|
+
_el$40.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13142
|
+
insert(_el$41, observers);
|
|
13143
|
+
insert(_el$42, () => props.query.queryHash);
|
|
13144
|
+
insert(_el$40, createComponent(Show, {
|
|
12723
13145
|
get when() {
|
|
12724
13146
|
return isDisabled();
|
|
12725
13147
|
},
|
|
12726
13148
|
get children() {
|
|
12727
|
-
return _tmpl$
|
|
13149
|
+
return _tmpl$172();
|
|
12728
13150
|
}
|
|
12729
13151
|
}), null);
|
|
12730
13152
|
createRenderEffect((_p$) => {
|
|
12731
|
-
const _v$24 = clsx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow, "tsqd-query-row"), _v$25 = `Query key ${props.query.queryHash}`, _v$26 = clsx(
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
background-color: ${tokens.colors[color()][900]};
|
|
12736
|
-
color: ${tokens.colors[color()][300]};
|
|
12737
|
-
`, "tsqd-query-observer-count");
|
|
12738
|
-
_v$24 !== _p$._v$24 && className(_el$36, _p$._v$24 = _v$24);
|
|
12739
|
-
_v$25 !== _p$._v$25 && setAttribute(_el$36, "aria-label", _p$._v$25 = _v$25);
|
|
12740
|
-
_v$26 !== _p$._v$26 && className(_el$37, _p$._v$26 = _v$26);
|
|
13153
|
+
const _v$24 = clsx(styles().queryRow, selectedQueryHash() === props.query.queryHash && styles().selectedQueryRow, "tsqd-query-row"), _v$25 = `Query key ${props.query.queryHash}`, _v$26 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
13154
|
+
_v$24 !== _p$._v$24 && className(_el$40, _p$._v$24 = _v$24);
|
|
13155
|
+
_v$25 !== _p$._v$25 && setAttribute(_el$40, "aria-label", _p$._v$25 = _v$25);
|
|
13156
|
+
_v$26 !== _p$._v$26 && className(_el$41, _p$._v$26 = _v$26);
|
|
12741
13157
|
return _p$;
|
|
12742
13158
|
}, {
|
|
12743
13159
|
_v$24: void 0,
|
|
12744
13160
|
_v$25: void 0,
|
|
12745
13161
|
_v$26: void 0
|
|
12746
13162
|
});
|
|
12747
|
-
return _el$
|
|
13163
|
+
return _el$40;
|
|
12748
13164
|
}
|
|
12749
13165
|
});
|
|
12750
13166
|
};
|
|
@@ -12754,50 +13170,61 @@ var init_Devtools = __esm({
|
|
|
12754
13170
|
const fetching = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().filter((q) => getQueryStatusLabel(q) === "fetching").length);
|
|
12755
13171
|
const paused = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().filter((q) => getQueryStatusLabel(q) === "paused").length);
|
|
12756
13172
|
const inactive = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().filter((q) => getQueryStatusLabel(q) === "inactive").length);
|
|
12757
|
-
const
|
|
13173
|
+
const theme = useTheme();
|
|
13174
|
+
const styles = createMemo(() => {
|
|
13175
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13176
|
+
});
|
|
12758
13177
|
return (() => {
|
|
12759
|
-
const _el$
|
|
12760
|
-
insert(_el$
|
|
13178
|
+
const _el$44 = _tmpl$23();
|
|
13179
|
+
insert(_el$44, createComponent(QueryStatus, {
|
|
12761
13180
|
label: "Fresh",
|
|
12762
13181
|
color: "green",
|
|
12763
13182
|
get count() {
|
|
12764
13183
|
return fresh();
|
|
12765
13184
|
}
|
|
12766
13185
|
}), null);
|
|
12767
|
-
insert(_el$
|
|
13186
|
+
insert(_el$44, createComponent(QueryStatus, {
|
|
12768
13187
|
label: "Fetching",
|
|
12769
13188
|
color: "blue",
|
|
12770
13189
|
get count() {
|
|
12771
13190
|
return fetching();
|
|
12772
13191
|
}
|
|
12773
13192
|
}), null);
|
|
12774
|
-
insert(_el$
|
|
13193
|
+
insert(_el$44, createComponent(QueryStatus, {
|
|
12775
13194
|
label: "Paused",
|
|
12776
13195
|
color: "purple",
|
|
12777
13196
|
get count() {
|
|
12778
13197
|
return paused();
|
|
12779
13198
|
}
|
|
12780
13199
|
}), null);
|
|
12781
|
-
insert(_el$
|
|
13200
|
+
insert(_el$44, createComponent(QueryStatus, {
|
|
12782
13201
|
label: "Stale",
|
|
12783
13202
|
color: "yellow",
|
|
12784
13203
|
get count() {
|
|
12785
13204
|
return stale();
|
|
12786
13205
|
}
|
|
12787
13206
|
}), null);
|
|
12788
|
-
insert(_el$
|
|
13207
|
+
insert(_el$44, createComponent(QueryStatus, {
|
|
12789
13208
|
label: "Inactive",
|
|
12790
13209
|
color: "gray",
|
|
12791
13210
|
get count() {
|
|
12792
13211
|
return inactive();
|
|
12793
13212
|
}
|
|
12794
13213
|
}), null);
|
|
12795
|
-
createRenderEffect(() => className(_el$
|
|
12796
|
-
return _el$
|
|
13214
|
+
createRenderEffect(() => className(_el$44, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
13215
|
+
return _el$44;
|
|
12797
13216
|
})();
|
|
12798
13217
|
};
|
|
12799
13218
|
QueryStatus = (props) => {
|
|
12800
|
-
const
|
|
13219
|
+
const theme = useTheme();
|
|
13220
|
+
const styles = createMemo(() => {
|
|
13221
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13222
|
+
});
|
|
13223
|
+
const {
|
|
13224
|
+
colors,
|
|
13225
|
+
alpha
|
|
13226
|
+
} = tokens;
|
|
13227
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
12801
13228
|
let tagRef;
|
|
12802
13229
|
const [mouseOver, setMouseOver] = createSignal(false);
|
|
12803
13230
|
const [focused, setFocused] = createSignal(false);
|
|
@@ -12813,78 +13240,83 @@ var init_Devtools = __esm({
|
|
|
12813
13240
|
return true;
|
|
12814
13241
|
});
|
|
12815
13242
|
return (() => {
|
|
12816
|
-
const _el$
|
|
13243
|
+
const _el$45 = _tmpl$21(), _el$47 = _el$45.firstChild, _el$49 = _el$47.nextSibling;
|
|
12817
13244
|
const _ref$3 = tagRef;
|
|
12818
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
12819
|
-
_el$
|
|
13245
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$45) : tagRef = _el$45;
|
|
13246
|
+
_el$45.addEventListener("mouseleave", () => {
|
|
12820
13247
|
setMouseOver(false);
|
|
12821
13248
|
setFocused(false);
|
|
12822
13249
|
});
|
|
12823
|
-
_el$
|
|
12824
|
-
_el$
|
|
12825
|
-
_el$
|
|
12826
|
-
spread(_el$
|
|
13250
|
+
_el$45.addEventListener("mouseenter", () => setMouseOver(true));
|
|
13251
|
+
_el$45.addEventListener("blur", () => setFocused(false));
|
|
13252
|
+
_el$45.addEventListener("focus", () => setFocused(true));
|
|
13253
|
+
spread(_el$45, mergeProps({
|
|
12827
13254
|
get disabled() {
|
|
12828
13255
|
return showLabel();
|
|
12829
13256
|
},
|
|
12830
13257
|
get ["class"]() {
|
|
12831
|
-
return clsx(styles.queryStatusTag, !showLabel() && u`
|
|
13258
|
+
return clsx(styles().queryStatusTag, !showLabel() && u`
|
|
12832
13259
|
cursor: pointer;
|
|
12833
13260
|
&:hover {
|
|
12834
|
-
background: ${
|
|
13261
|
+
background: ${t2(colors.gray[200], colors.darkGray[400])}${alpha[80]};
|
|
12835
13262
|
}
|
|
12836
13263
|
`, "tsqd-query-status-tag", `tsqd-query-status-tag-${props.label.toLowerCase()}`);
|
|
12837
13264
|
}
|
|
12838
13265
|
}, () => mouseOver() || focused() ? {
|
|
12839
13266
|
"aria-describedby": "tsqd-status-tooltip"
|
|
12840
13267
|
} : {}), false, true);
|
|
12841
|
-
insert(_el$
|
|
13268
|
+
insert(_el$45, createComponent(Show, {
|
|
12842
13269
|
get when() {
|
|
12843
13270
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
12844
13271
|
},
|
|
12845
13272
|
get children() {
|
|
12846
|
-
const _el$
|
|
12847
|
-
insert(_el$
|
|
12848
|
-
createRenderEffect(() => className(_el$
|
|
12849
|
-
return _el$
|
|
13273
|
+
const _el$46 = _tmpl$192();
|
|
13274
|
+
insert(_el$46, () => props.label);
|
|
13275
|
+
createRenderEffect(() => className(_el$46, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
13276
|
+
return _el$46;
|
|
12850
13277
|
}
|
|
12851
|
-
}), _el$
|
|
12852
|
-
insert(_el$
|
|
13278
|
+
}), _el$47);
|
|
13279
|
+
insert(_el$45, createComponent(Show, {
|
|
12853
13280
|
get when() {
|
|
12854
13281
|
return showLabel();
|
|
12855
13282
|
},
|
|
12856
13283
|
get children() {
|
|
12857
|
-
const _el$
|
|
12858
|
-
insert(_el$
|
|
12859
|
-
createRenderEffect(() => className(_el$
|
|
12860
|
-
return _el$
|
|
13284
|
+
const _el$48 = _tmpl$20();
|
|
13285
|
+
insert(_el$48, () => props.label);
|
|
13286
|
+
createRenderEffect(() => className(_el$48, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
13287
|
+
return _el$48;
|
|
12861
13288
|
}
|
|
12862
|
-
}), _el$
|
|
12863
|
-
insert(_el$
|
|
13289
|
+
}), _el$49);
|
|
13290
|
+
insert(_el$49, () => props.count);
|
|
12864
13291
|
createRenderEffect((_p$) => {
|
|
12865
13292
|
const _v$27 = clsx(u`
|
|
12866
13293
|
width: ${tokens.size[1.5]};
|
|
12867
13294
|
height: ${tokens.size[1.5]};
|
|
12868
13295
|
border-radius: ${tokens.border.radius.full};
|
|
12869
13296
|
background-color: ${tokens.colors[props.color][500]};
|
|
12870
|
-
`, "tsqd-query-status-tag-dot"), _v$28 = clsx(styles.queryStatusCount, props.count > 0 && props.color !== "gray"
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
_v$27 !== _p$._v$27 && className(_el$43, _p$._v$27 = _v$27);
|
|
12877
|
-
_v$28 !== _p$._v$28 && className(_el$45, _p$._v$28 = _v$28);
|
|
13297
|
+
`, "tsqd-query-status-tag-dot"), _v$28 = clsx(styles().queryStatusCount, props.count > 0 && props.color !== "gray" && u`
|
|
13298
|
+
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
13299
|
+
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
13300
|
+
`, "tsqd-query-status-tag-count");
|
|
13301
|
+
_v$27 !== _p$._v$27 && className(_el$47, _p$._v$27 = _v$27);
|
|
13302
|
+
_v$28 !== _p$._v$28 && className(_el$49, _p$._v$28 = _v$28);
|
|
12878
13303
|
return _p$;
|
|
12879
13304
|
}, {
|
|
12880
13305
|
_v$27: void 0,
|
|
12881
13306
|
_v$28: void 0
|
|
12882
13307
|
});
|
|
12883
|
-
return _el$
|
|
13308
|
+
return _el$45;
|
|
12884
13309
|
})();
|
|
12885
13310
|
};
|
|
12886
13311
|
QueryDetails = () => {
|
|
12887
|
-
const
|
|
13312
|
+
const theme = useTheme();
|
|
13313
|
+
const styles = createMemo(() => {
|
|
13314
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13315
|
+
});
|
|
13316
|
+
const {
|
|
13317
|
+
colors
|
|
13318
|
+
} = tokens;
|
|
13319
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
12888
13320
|
const queryClient = useQueryDevtoolsContext().client;
|
|
12889
13321
|
const [restoringLoading, setRestoringLoading] = createSignal(false);
|
|
12890
13322
|
const errorTypes = createMemo(() => {
|
|
@@ -12941,24 +13373,38 @@ var init_Devtools = __esm({
|
|
|
12941
13373
|
setRestoringLoading(false);
|
|
12942
13374
|
}
|
|
12943
13375
|
});
|
|
13376
|
+
const getQueryStatusColors = () => {
|
|
13377
|
+
if (color() === "gray") {
|
|
13378
|
+
return u`
|
|
13379
|
+
background-color: ${t2(colors[color()][200], colors[color()][700])};
|
|
13380
|
+
color: ${t2(colors[color()][700], colors[color()][300])};
|
|
13381
|
+
border-color: ${t2(colors[color()][400], colors[color()][600])};
|
|
13382
|
+
`;
|
|
13383
|
+
}
|
|
13384
|
+
return u`
|
|
13385
|
+
background-color: ${t2(colors[color()][100], colors[color()][900])};
|
|
13386
|
+
color: ${t2(colors[color()][700], colors[color()][300])};
|
|
13387
|
+
border-color: ${t2(colors[color()][400], colors[color()][600])};
|
|
13388
|
+
`;
|
|
13389
|
+
};
|
|
12944
13390
|
return createComponent(Show, {
|
|
12945
13391
|
get when() {
|
|
12946
13392
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
12947
13393
|
},
|
|
12948
13394
|
get children() {
|
|
12949
|
-
const _el$
|
|
12950
|
-
insert(_el$
|
|
12951
|
-
insert(_el$
|
|
12952
|
-
insert(_el$
|
|
12953
|
-
insert(_el$
|
|
12954
|
-
_el$
|
|
12955
|
-
_el$
|
|
12956
|
-
_el$
|
|
12957
|
-
_el$
|
|
13395
|
+
const _el$50 = _tmpl$24(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling, _el$53 = _el$52.firstChild, _el$54 = _el$53.firstChild, _el$55 = _el$54.firstChild, _el$56 = _el$54.nextSibling, _el$57 = _el$53.nextSibling, _el$58 = _el$57.firstChild, _el$59 = _el$58.nextSibling, _el$60 = _el$57.nextSibling, _el$61 = _el$60.firstChild, _el$62 = _el$61.nextSibling, _el$63 = _el$52.nextSibling, _el$64 = _el$63.nextSibling, _el$65 = _el$64.firstChild, _el$66 = _el$65.firstChild, _el$67 = _el$65.nextSibling, _el$68 = _el$67.firstChild, _el$69 = _el$67.nextSibling, _el$70 = _el$69.firstChild, _el$71 = _el$69.nextSibling, _el$72 = _el$71.firstChild, _el$73 = _el$71.nextSibling, _el$74 = _el$73.firstChild, _el$75 = _el$74.nextSibling, _el$84 = _el$64.nextSibling, _el$85 = _el$84.nextSibling, _el$86 = _el$85.nextSibling, _el$87 = _el$86.nextSibling;
|
|
13396
|
+
insert(_el$55, () => displayValue(activeQuery().queryKey, true));
|
|
13397
|
+
insert(_el$56, statusLabel);
|
|
13398
|
+
insert(_el$59, observerCount);
|
|
13399
|
+
insert(_el$62, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
13400
|
+
_el$65.$$click = handleRefetch;
|
|
13401
|
+
_el$67.$$click = () => queryClient.invalidateQueries(activeQuery());
|
|
13402
|
+
_el$69.$$click = () => queryClient.resetQueries(activeQuery());
|
|
13403
|
+
_el$71.$$click = () => {
|
|
12958
13404
|
queryClient.removeQueries(activeQuery());
|
|
12959
13405
|
setSelectedQueryHash(null);
|
|
12960
13406
|
};
|
|
12961
|
-
_el$
|
|
13407
|
+
_el$73.$$click = () => {
|
|
12962
13408
|
if (activeQuery()?.state.data === void 0) {
|
|
12963
13409
|
setRestoringLoading(true);
|
|
12964
13410
|
restoreQueryAfterLoadingOrError();
|
|
@@ -12986,79 +13432,79 @@ var init_Devtools = __esm({
|
|
|
12986
13432
|
});
|
|
12987
13433
|
}
|
|
12988
13434
|
};
|
|
12989
|
-
insert(_el$
|
|
12990
|
-
insert(_el$
|
|
13435
|
+
insert(_el$73, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$75);
|
|
13436
|
+
insert(_el$64, createComponent(Show, {
|
|
12991
13437
|
get when() {
|
|
12992
13438
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
12993
13439
|
},
|
|
12994
13440
|
get children() {
|
|
12995
|
-
const _el$
|
|
12996
|
-
_el$
|
|
13441
|
+
const _el$76 = _tmpl$222(), _el$77 = _el$76.firstChild, _el$78 = _el$77.nextSibling;
|
|
13442
|
+
_el$76.$$click = () => {
|
|
12997
13443
|
if (!activeQuery().state.error) {
|
|
12998
13444
|
triggerError();
|
|
12999
13445
|
} else {
|
|
13000
13446
|
queryClient.resetQueries(activeQuery());
|
|
13001
13447
|
}
|
|
13002
13448
|
};
|
|
13003
|
-
insert(_el$
|
|
13449
|
+
insert(_el$76, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$78);
|
|
13004
13450
|
createRenderEffect((_p$) => {
|
|
13005
13451
|
const _v$29 = clsx(u`
|
|
13006
|
-
color: ${
|
|
13452
|
+
color: ${t2(colors.red[500], colors.red[400])};
|
|
13007
13453
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$30 = queryStatus() === "pending", _v$31 = u`
|
|
13008
|
-
background-color: ${
|
|
13454
|
+
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
13009
13455
|
`;
|
|
13010
|
-
_v$29 !== _p$._v$29 && className(_el$
|
|
13011
|
-
_v$30 !== _p$._v$30 && (_el$
|
|
13012
|
-
_v$31 !== _p$._v$31 && className(_el$
|
|
13456
|
+
_v$29 !== _p$._v$29 && className(_el$76, _p$._v$29 = _v$29);
|
|
13457
|
+
_v$30 !== _p$._v$30 && (_el$76.disabled = _p$._v$30 = _v$30);
|
|
13458
|
+
_v$31 !== _p$._v$31 && className(_el$77, _p$._v$31 = _v$31);
|
|
13013
13459
|
return _p$;
|
|
13014
13460
|
}, {
|
|
13015
13461
|
_v$29: void 0,
|
|
13016
13462
|
_v$30: void 0,
|
|
13017
13463
|
_v$31: void 0
|
|
13018
13464
|
});
|
|
13019
|
-
return _el$
|
|
13465
|
+
return _el$76;
|
|
13020
13466
|
}
|
|
13021
13467
|
}), null);
|
|
13022
|
-
insert(_el$
|
|
13468
|
+
insert(_el$64, createComponent(Show, {
|
|
13023
13469
|
get when() {
|
|
13024
13470
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
13025
13471
|
},
|
|
13026
13472
|
get children() {
|
|
13027
|
-
const _el$
|
|
13028
|
-
_el$
|
|
13029
|
-
const errorType = errorTypes().find((
|
|
13473
|
+
const _el$79 = _tmpl$232(), _el$80 = _el$79.firstChild, _el$81 = _el$80.nextSibling, _el$82 = _el$81.nextSibling; _el$82.firstChild;
|
|
13474
|
+
_el$82.addEventListener("change", (e2) => {
|
|
13475
|
+
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
13030
13476
|
triggerError(errorType);
|
|
13031
13477
|
});
|
|
13032
|
-
insert(_el$
|
|
13478
|
+
insert(_el$82, createComponent(For, {
|
|
13033
13479
|
get each() {
|
|
13034
13480
|
return errorTypes();
|
|
13035
13481
|
},
|
|
13036
13482
|
children: (errorType) => (() => {
|
|
13037
|
-
const _el$
|
|
13038
|
-
insert(_el$
|
|
13039
|
-
createRenderEffect(() => _el$
|
|
13040
|
-
return _el$
|
|
13483
|
+
const _el$88 = _tmpl$25();
|
|
13484
|
+
insert(_el$88, () => errorType.name);
|
|
13485
|
+
createRenderEffect(() => _el$88.value = errorType.name);
|
|
13486
|
+
return _el$88;
|
|
13041
13487
|
})()
|
|
13042
13488
|
}), null);
|
|
13043
|
-
insert(_el$
|
|
13489
|
+
insert(_el$79, createComponent(ChevronDown, {}), null);
|
|
13044
13490
|
createRenderEffect((_p$) => {
|
|
13045
|
-
const _v$32 = clsx(styles.actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$33 = u`
|
|
13491
|
+
const _v$32 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$33 = u`
|
|
13046
13492
|
background-color: ${tokens.colors.red[400]};
|
|
13047
13493
|
`, _v$34 = queryStatus() === "pending";
|
|
13048
|
-
_v$32 !== _p$._v$32 && className(_el$
|
|
13049
|
-
_v$33 !== _p$._v$33 && className(_el$
|
|
13050
|
-
_v$34 !== _p$._v$34 && (_el$
|
|
13494
|
+
_v$32 !== _p$._v$32 && className(_el$79, _p$._v$32 = _v$32);
|
|
13495
|
+
_v$33 !== _p$._v$33 && className(_el$80, _p$._v$33 = _v$33);
|
|
13496
|
+
_v$34 !== _p$._v$34 && (_el$82.disabled = _p$._v$34 = _v$34);
|
|
13051
13497
|
return _p$;
|
|
13052
13498
|
}, {
|
|
13053
13499
|
_v$32: void 0,
|
|
13054
13500
|
_v$33: void 0,
|
|
13055
13501
|
_v$34: void 0
|
|
13056
13502
|
});
|
|
13057
|
-
return _el$
|
|
13503
|
+
return _el$79;
|
|
13058
13504
|
}
|
|
13059
13505
|
}), null);
|
|
13060
|
-
_el$
|
|
13061
|
-
insert(_el$
|
|
13506
|
+
_el$85.style.setProperty("padding", "0.5rem");
|
|
13507
|
+
insert(_el$85, createComponent(Explorer, {
|
|
13062
13508
|
label: "Data",
|
|
13063
13509
|
defaultExpanded: ["Data"],
|
|
13064
13510
|
get value() {
|
|
@@ -13069,8 +13515,8 @@ var init_Devtools = __esm({
|
|
|
13069
13515
|
return activeQuery();
|
|
13070
13516
|
}
|
|
13071
13517
|
}));
|
|
13072
|
-
_el$
|
|
13073
|
-
insert(_el$
|
|
13518
|
+
_el$87.style.setProperty("padding", "0.5rem");
|
|
13519
|
+
insert(_el$87, createComponent(Explorer, {
|
|
13074
13520
|
label: "Query",
|
|
13075
13521
|
defaultExpanded: ["Query", "queryKey"],
|
|
13076
13522
|
get value() {
|
|
@@ -13078,58 +13524,50 @@ var init_Devtools = __esm({
|
|
|
13078
13524
|
}
|
|
13079
13525
|
}));
|
|
13080
13526
|
createRenderEffect((_p$) => {
|
|
13081
|
-
const _v$35 = clsx(styles.detailsContainer, "tsqd-query-details-container"), _v$36 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$37 = clsx(styles.detailsBody, "tsqd-query-details-summary-container"), _v$38 = clsx(styles.queryDetailsStatus,
|
|
13082
|
-
|
|
13083
|
-
color: ${tokens.colors[color()][300]};
|
|
13084
|
-
border-color: ${tokens.colors[color()][600]};
|
|
13085
|
-
` : u`
|
|
13086
|
-
background-color: ${tokens.colors[color()][900]};
|
|
13087
|
-
color: ${tokens.colors[color()][300]};
|
|
13088
|
-
border-color: ${tokens.colors[color()][600]};
|
|
13089
|
-
`), _v$39 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$40 = clsx(styles.actionsBody, "tsqd-query-details-actions-container"), _v$41 = clsx(u`
|
|
13090
|
-
color: ${tokens.colors.blue[400]};
|
|
13527
|
+
const _v$35 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$36 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$37 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$38 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$39 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$40 = clsx(styles().actionsBody, "tsqd-query-details-actions-container"), _v$41 = clsx(u`
|
|
13528
|
+
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
13091
13529
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$42 = statusLabel() === "fetching", _v$43 = u`
|
|
13092
|
-
background-color: ${
|
|
13530
|
+
background-color: ${t2(colors.blue[600], colors.blue[400])};
|
|
13093
13531
|
`, _v$44 = clsx(u`
|
|
13094
|
-
color: ${
|
|
13532
|
+
color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
13095
13533
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$45 = queryStatus() === "pending", _v$46 = u`
|
|
13096
|
-
background-color: ${
|
|
13534
|
+
background-color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
13097
13535
|
`, _v$47 = clsx(u`
|
|
13098
|
-
color: ${
|
|
13536
|
+
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
13099
13537
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$48 = queryStatus() === "pending", _v$49 = u`
|
|
13100
|
-
background-color: ${
|
|
13538
|
+
background-color: ${t2(colors.gray[600], colors.gray[400])};
|
|
13101
13539
|
`, _v$50 = clsx(u`
|
|
13102
|
-
color: ${
|
|
13540
|
+
color: ${t2(colors.pink[500], colors.pink[400])};
|
|
13103
13541
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$51 = statusLabel() === "fetching", _v$52 = u`
|
|
13104
|
-
background-color: ${
|
|
13542
|
+
background-color: ${t2(colors.pink[500], colors.pink[400])};
|
|
13105
13543
|
`, _v$53 = clsx(u`
|
|
13106
|
-
color: ${
|
|
13544
|
+
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
13107
13545
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$54 = restoringLoading(), _v$55 = u`
|
|
13108
|
-
background-color: ${
|
|
13109
|
-
`, _v$56 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$57 = clsx(styles.detailsHeader, "tsqd-query-details-header");
|
|
13110
|
-
_v$35 !== _p$._v$35 && className(_el$
|
|
13111
|
-
_v$36 !== _p$._v$36 && className(_el$
|
|
13112
|
-
_v$37 !== _p$._v$37 && className(_el$
|
|
13113
|
-
_v$38 !== _p$._v$38 && className(_el$
|
|
13114
|
-
_v$39 !== _p$._v$39 && className(_el$
|
|
13115
|
-
_v$40 !== _p$._v$40 && className(_el$
|
|
13116
|
-
_v$41 !== _p$._v$41 && className(_el$
|
|
13117
|
-
_v$42 !== _p$._v$42 && (_el$
|
|
13118
|
-
_v$43 !== _p$._v$43 && className(_el$
|
|
13119
|
-
_v$44 !== _p$._v$44 && className(_el$
|
|
13120
|
-
_v$45 !== _p$._v$45 && (_el$
|
|
13121
|
-
_v$46 !== _p$._v$46 && className(_el$
|
|
13122
|
-
_v$47 !== _p$._v$47 && className(_el$
|
|
13123
|
-
_v$48 !== _p$._v$48 && (_el$
|
|
13124
|
-
_v$49 !== _p$._v$49 && className(_el$
|
|
13125
|
-
_v$50 !== _p$._v$50 && className(_el$
|
|
13126
|
-
_v$51 !== _p$._v$51 && (_el$
|
|
13127
|
-
_v$52 !== _p$._v$52 && className(_el$
|
|
13128
|
-
_v$53 !== _p$._v$53 && className(_el$
|
|
13129
|
-
_v$54 !== _p$._v$54 && (_el$
|
|
13130
|
-
_v$55 !== _p$._v$55 && className(_el$
|
|
13131
|
-
_v$56 !== _p$._v$56 && className(_el$
|
|
13132
|
-
_v$57 !== _p$._v$57 && className(_el$
|
|
13546
|
+
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
13547
|
+
`, _v$56 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$57 = clsx(styles().detailsHeader, "tsqd-query-details-header");
|
|
13548
|
+
_v$35 !== _p$._v$35 && className(_el$50, _p$._v$35 = _v$35);
|
|
13549
|
+
_v$36 !== _p$._v$36 && className(_el$51, _p$._v$36 = _v$36);
|
|
13550
|
+
_v$37 !== _p$._v$37 && className(_el$52, _p$._v$37 = _v$37);
|
|
13551
|
+
_v$38 !== _p$._v$38 && className(_el$56, _p$._v$38 = _v$38);
|
|
13552
|
+
_v$39 !== _p$._v$39 && className(_el$63, _p$._v$39 = _v$39);
|
|
13553
|
+
_v$40 !== _p$._v$40 && className(_el$64, _p$._v$40 = _v$40);
|
|
13554
|
+
_v$41 !== _p$._v$41 && className(_el$65, _p$._v$41 = _v$41);
|
|
13555
|
+
_v$42 !== _p$._v$42 && (_el$65.disabled = _p$._v$42 = _v$42);
|
|
13556
|
+
_v$43 !== _p$._v$43 && className(_el$66, _p$._v$43 = _v$43);
|
|
13557
|
+
_v$44 !== _p$._v$44 && className(_el$67, _p$._v$44 = _v$44);
|
|
13558
|
+
_v$45 !== _p$._v$45 && (_el$67.disabled = _p$._v$45 = _v$45);
|
|
13559
|
+
_v$46 !== _p$._v$46 && className(_el$68, _p$._v$46 = _v$46);
|
|
13560
|
+
_v$47 !== _p$._v$47 && className(_el$69, _p$._v$47 = _v$47);
|
|
13561
|
+
_v$48 !== _p$._v$48 && (_el$69.disabled = _p$._v$48 = _v$48);
|
|
13562
|
+
_v$49 !== _p$._v$49 && className(_el$70, _p$._v$49 = _v$49);
|
|
13563
|
+
_v$50 !== _p$._v$50 && className(_el$71, _p$._v$50 = _v$50);
|
|
13564
|
+
_v$51 !== _p$._v$51 && (_el$71.disabled = _p$._v$51 = _v$51);
|
|
13565
|
+
_v$52 !== _p$._v$52 && className(_el$72, _p$._v$52 = _v$52);
|
|
13566
|
+
_v$53 !== _p$._v$53 && className(_el$73, _p$._v$53 = _v$53);
|
|
13567
|
+
_v$54 !== _p$._v$54 && (_el$73.disabled = _p$._v$54 = _v$54);
|
|
13568
|
+
_v$55 !== _p$._v$55 && className(_el$74, _p$._v$55 = _v$55);
|
|
13569
|
+
_v$56 !== _p$._v$56 && className(_el$84, _p$._v$56 = _v$56);
|
|
13570
|
+
_v$57 !== _p$._v$57 && className(_el$86, _p$._v$57 = _v$57);
|
|
13133
13571
|
return _p$;
|
|
13134
13572
|
}, {
|
|
13135
13573
|
_v$35: void 0,
|
|
@@ -13156,7 +13594,7 @@ var init_Devtools = __esm({
|
|
|
13156
13594
|
_v$56: void 0,
|
|
13157
13595
|
_v$57: void 0
|
|
13158
13596
|
});
|
|
13159
|
-
return _el$
|
|
13597
|
+
return _el$50;
|
|
13160
13598
|
}
|
|
13161
13599
|
});
|
|
13162
13600
|
};
|
|
@@ -13196,7 +13634,7 @@ var init_Devtools = __esm({
|
|
|
13196
13634
|
});
|
|
13197
13635
|
return value;
|
|
13198
13636
|
};
|
|
13199
|
-
|
|
13637
|
+
stylesFactory2 = (theme) => {
|
|
13200
13638
|
const {
|
|
13201
13639
|
colors,
|
|
13202
13640
|
font,
|
|
@@ -13205,6 +13643,7 @@ var init_Devtools = __esm({
|
|
|
13205
13643
|
shadow,
|
|
13206
13644
|
border
|
|
13207
13645
|
} = tokens;
|
|
13646
|
+
const t2 = (light, dark) => theme === "light" ? light : dark;
|
|
13208
13647
|
return {
|
|
13209
13648
|
devtoolsBtn: u`
|
|
13210
13649
|
z-index: 100000;
|
|
@@ -13266,8 +13705,6 @@ var init_Devtools = __esm({
|
|
|
13266
13705
|
display: flex;
|
|
13267
13706
|
gap: ${tokens.size[0.5]};
|
|
13268
13707
|
& * {
|
|
13269
|
-
font-family: 'Inter', sans-serif;
|
|
13270
|
-
color: ${colors.gray[300]};
|
|
13271
13708
|
box-sizing: border-box;
|
|
13272
13709
|
text-transform: none;
|
|
13273
13710
|
}
|
|
@@ -13294,7 +13731,7 @@ var init_Devtools = __esm({
|
|
|
13294
13731
|
left: 0;
|
|
13295
13732
|
max-height: 90%;
|
|
13296
13733
|
min-height: 3.5rem;
|
|
13297
|
-
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
13734
|
+
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13298
13735
|
`,
|
|
13299
13736
|
"panel-position-bottom": u`
|
|
13300
13737
|
bottom: 0;
|
|
@@ -13302,20 +13739,20 @@ var init_Devtools = __esm({
|
|
|
13302
13739
|
left: 0;
|
|
13303
13740
|
max-height: 90%;
|
|
13304
13741
|
min-height: 3.5rem;
|
|
13305
|
-
border-top: ${colors.darkGray[300]} 1px solid;
|
|
13742
|
+
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13306
13743
|
`,
|
|
13307
13744
|
"panel-position-right": u`
|
|
13308
13745
|
bottom: 0;
|
|
13309
13746
|
right: 0;
|
|
13310
13747
|
top: 0;
|
|
13311
|
-
border-left: ${colors.darkGray[300]} 1px solid;
|
|
13748
|
+
border-left: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13312
13749
|
max-width: 90%;
|
|
13313
13750
|
`,
|
|
13314
13751
|
"panel-position-left": u`
|
|
13315
13752
|
bottom: 0;
|
|
13316
13753
|
left: 0;
|
|
13317
13754
|
top: 0;
|
|
13318
|
-
border-right: ${colors.darkGray[300]} 1px solid;
|
|
13755
|
+
border-right: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13319
13756
|
max-width: 90%;
|
|
13320
13757
|
`,
|
|
13321
13758
|
closeBtn: u`
|
|
@@ -13326,13 +13763,15 @@ var init_Devtools = __esm({
|
|
|
13326
13763
|
align-items: center;
|
|
13327
13764
|
justify-content: center;
|
|
13328
13765
|
outline: none;
|
|
13766
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
13329
13767
|
&:hover {
|
|
13330
|
-
background-color: ${colors.darkGray[500]};
|
|
13768
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13331
13769
|
}
|
|
13332
13770
|
&:focus-visible {
|
|
13333
13771
|
outline: 2px solid ${colors.blue[600]};
|
|
13334
13772
|
}
|
|
13335
13773
|
& svg {
|
|
13774
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
13336
13775
|
width: ${size2[2]};
|
|
13337
13776
|
height: ${size2[2]};
|
|
13338
13777
|
}
|
|
@@ -13341,11 +13780,10 @@ var init_Devtools = __esm({
|
|
|
13341
13780
|
bottom: 0;
|
|
13342
13781
|
right: ${size2[2]};
|
|
13343
13782
|
transform: translate(0, 100%);
|
|
13344
|
-
|
|
13345
|
-
border-
|
|
13346
|
-
border-left: ${colors.darkGray[300]} 1px solid;
|
|
13783
|
+
border-right: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13784
|
+
border-left: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13347
13785
|
border-top: none;
|
|
13348
|
-
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
13786
|
+
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13349
13787
|
border-radius: 0px 0px ${border.radius.sm} ${border.radius.sm};
|
|
13350
13788
|
padding: ${size2[0.5]} ${size2[1.5]} ${size2[1]} ${size2[1.5]};
|
|
13351
13789
|
|
|
@@ -13366,10 +13804,9 @@ var init_Devtools = __esm({
|
|
|
13366
13804
|
top: 0;
|
|
13367
13805
|
right: ${size2[2]};
|
|
13368
13806
|
transform: translate(0, -100%);
|
|
13369
|
-
|
|
13370
|
-
border-
|
|
13371
|
-
border-
|
|
13372
|
-
border-top: ${colors.darkGray[300]} 1px solid;
|
|
13807
|
+
border-right: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13808
|
+
border-left: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13809
|
+
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13373
13810
|
border-bottom: none;
|
|
13374
13811
|
border-radius: ${border.radius.sm} ${border.radius.sm} 0px 0px;
|
|
13375
13812
|
padding: ${size2[1]} ${size2[1.5]} ${size2[0.5]} ${size2[1.5]};
|
|
@@ -13387,11 +13824,10 @@ var init_Devtools = __esm({
|
|
|
13387
13824
|
bottom: ${size2[2]};
|
|
13388
13825
|
left: 0;
|
|
13389
13826
|
transform: translate(-100%, 0);
|
|
13390
|
-
background-color: ${colors.darkGray[700]};
|
|
13391
13827
|
border-right: none;
|
|
13392
|
-
border-left: ${colors.darkGray[300]} 1px solid;
|
|
13393
|
-
border-top: ${colors.darkGray[300]} 1px solid;
|
|
13394
|
-
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
13828
|
+
border-left: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13829
|
+
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13830
|
+
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13395
13831
|
border-radius: ${border.radius.sm} 0px 0px ${border.radius.sm};
|
|
13396
13832
|
padding: ${size2[1.5]} ${size2[0.5]} ${size2[1.5]} ${size2[1]};
|
|
13397
13833
|
|
|
@@ -13411,11 +13847,10 @@ var init_Devtools = __esm({
|
|
|
13411
13847
|
bottom: ${size2[2]};
|
|
13412
13848
|
right: 0;
|
|
13413
13849
|
transform: translate(100%, 0);
|
|
13414
|
-
background-color: ${colors.darkGray[700]};
|
|
13415
13850
|
border-left: none;
|
|
13416
|
-
border-right: ${colors.darkGray[300]} 1px solid;
|
|
13417
|
-
border-top: ${colors.darkGray[300]} 1px solid;
|
|
13418
|
-
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
13851
|
+
border-right: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13852
|
+
border-top: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13853
|
+
border-bottom: ${t2(colors.gray[400], colors.darkGray[300])} 1px solid;
|
|
13419
13854
|
border-radius: 0px ${border.radius.sm} ${border.radius.sm} 0px;
|
|
13420
13855
|
padding: ${size2[1.5]} ${size2[1]} ${size2[1.5]} ${size2[0.5]};
|
|
13421
13856
|
|
|
@@ -13433,15 +13868,18 @@ var init_Devtools = __esm({
|
|
|
13433
13868
|
`,
|
|
13434
13869
|
queriesContainer: u`
|
|
13435
13870
|
flex: 1 1 700px;
|
|
13436
|
-
background-color: ${colors.darkGray[700]};
|
|
13871
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
13437
13872
|
display: flex;
|
|
13438
13873
|
flex-direction: column;
|
|
13874
|
+
& * {
|
|
13875
|
+
font-family: 'Inter', sans-serif;
|
|
13876
|
+
}
|
|
13439
13877
|
`,
|
|
13440
13878
|
dragHandle: u`
|
|
13441
13879
|
position: absolute;
|
|
13442
13880
|
transition: background-color 0.125s ease;
|
|
13443
13881
|
&:hover {
|
|
13444
|
-
background-color: ${colors.purple[400]}${alpha[90]};
|
|
13882
|
+
background-color: ${colors.purple[400]}${t2("", alpha[90])};
|
|
13445
13883
|
}
|
|
13446
13884
|
z-index: 4;
|
|
13447
13885
|
`,
|
|
@@ -13475,7 +13913,7 @@ var init_Devtools = __esm({
|
|
|
13475
13913
|
align-items: center;
|
|
13476
13914
|
padding: ${tokens.size[2]} ${tokens.size[2.5]};
|
|
13477
13915
|
gap: ${tokens.size[3]};
|
|
13478
|
-
border-bottom: ${colors.darkGray[500]} 1px solid;
|
|
13916
|
+
border-bottom: ${t2(colors.gray[300], colors.darkGray[500])} 1px solid;
|
|
13479
13917
|
align-items: center;
|
|
13480
13918
|
& > button {
|
|
13481
13919
|
padding: 0;
|
|
@@ -13502,11 +13940,15 @@ var init_Devtools = __esm({
|
|
|
13502
13940
|
font-weight: ${font.weight.bold};
|
|
13503
13941
|
line-height: ${font.lineHeight.xs};
|
|
13504
13942
|
white-space: nowrap;
|
|
13943
|
+
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
13505
13944
|
`,
|
|
13506
13945
|
queryFlavorLogo: u`
|
|
13507
13946
|
font-weight: ${font.weight.semibold};
|
|
13508
13947
|
font-size: ${font.size.xs};
|
|
13509
|
-
background: linear-gradient(
|
|
13948
|
+
background: linear-gradient(
|
|
13949
|
+
to right,
|
|
13950
|
+
${t2("#ea4037, #ff9b11", "#dd524b, #e9a03b")}
|
|
13951
|
+
);
|
|
13510
13952
|
background-clip: text;
|
|
13511
13953
|
-webkit-background-clip: text;
|
|
13512
13954
|
line-height: 1;
|
|
@@ -13521,14 +13963,17 @@ var init_Devtools = __esm({
|
|
|
13521
13963
|
queryStatusTag: u`
|
|
13522
13964
|
display: flex;
|
|
13523
13965
|
gap: ${tokens.size[1.5]};
|
|
13524
|
-
|
|
13966
|
+
box-sizing: border-box;
|
|
13967
|
+
height: ${tokens.size[6.5]};
|
|
13968
|
+
background: ${t2(colors.gray[50], colors.darkGray[500])};
|
|
13969
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13525
13970
|
border-radius: ${tokens.border.radius.sm};
|
|
13526
13971
|
font-size: ${font.size.sm};
|
|
13527
13972
|
padding: ${tokens.size[1]};
|
|
13528
|
-
padding-left: ${tokens.size[
|
|
13973
|
+
padding-left: ${tokens.size[1.5]};
|
|
13529
13974
|
align-items: center;
|
|
13530
13975
|
font-weight: ${font.weight.medium};
|
|
13531
|
-
border:
|
|
13976
|
+
border: ${t2("1px solid " + colors.gray[300], "1px solid transparent")};
|
|
13532
13977
|
user-select: none;
|
|
13533
13978
|
position: relative;
|
|
13534
13979
|
&:focus-visible {
|
|
@@ -13545,8 +13990,8 @@ var init_Devtools = __esm({
|
|
|
13545
13990
|
display: flex;
|
|
13546
13991
|
align-items: center;
|
|
13547
13992
|
justify-content: center;
|
|
13548
|
-
color: ${colors.gray[400]};
|
|
13549
|
-
background-color: ${colors.darkGray[300]};
|
|
13993
|
+
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
13994
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[300])};
|
|
13550
13995
|
border-radius: 2px;
|
|
13551
13996
|
font-variant-numeric: tabular-nums;
|
|
13552
13997
|
height: ${tokens.size[4.5]};
|
|
@@ -13554,15 +13999,15 @@ var init_Devtools = __esm({
|
|
|
13554
13999
|
statusTooltip: u`
|
|
13555
14000
|
position: absolute;
|
|
13556
14001
|
z-index: 1;
|
|
13557
|
-
background-color: ${colors.darkGray[500]};
|
|
14002
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[500])};
|
|
13558
14003
|
top: 100%;
|
|
13559
14004
|
left: 50%;
|
|
13560
14005
|
transform: translate(-50%, calc(${tokens.size[2]}));
|
|
13561
14006
|
padding: ${tokens.size[0.5]} ${tokens.size[2]};
|
|
13562
|
-
border-radius: ${tokens.border.radius.
|
|
14007
|
+
border-radius: ${tokens.border.radius.sm};
|
|
13563
14008
|
font-size: ${font.size.xs};
|
|
13564
|
-
border: 1px solid ${colors.gray[600]};
|
|
13565
|
-
color: ${
|
|
14009
|
+
border: 1px solid ${t2(colors.gray[400], colors.gray[600])};
|
|
14010
|
+
color: ${t2(colors["gray"][600], colors["gray"][300])};
|
|
13566
14011
|
|
|
13567
14012
|
&::before {
|
|
13568
14013
|
top: 0px;
|
|
@@ -13571,7 +14016,8 @@ var init_Devtools = __esm({
|
|
|
13571
14016
|
left: 50%;
|
|
13572
14017
|
transform: translate(-50%, -100%);
|
|
13573
14018
|
position: absolute;
|
|
13574
|
-
border-color: transparent transparent
|
|
14019
|
+
border-color: transparent transparent
|
|
14020
|
+
${t2(colors.gray[400], colors.gray[600])} transparent;
|
|
13575
14021
|
border-style: solid;
|
|
13576
14022
|
border-width: 7px;
|
|
13577
14023
|
/* transform: rotate(180deg); */
|
|
@@ -13582,16 +14028,13 @@ var init_Devtools = __esm({
|
|
|
13582
14028
|
content: ' ';
|
|
13583
14029
|
display: block;
|
|
13584
14030
|
left: 50%;
|
|
13585
|
-
transform: translate(-50%, calc(-100% +
|
|
14031
|
+
transform: translate(-50%, calc(-100% + 2px));
|
|
13586
14032
|
position: absolute;
|
|
13587
|
-
border-color: transparent transparent
|
|
13588
|
-
transparent;
|
|
14033
|
+
border-color: transparent transparent
|
|
14034
|
+
${t2(colors.gray[100], colors.darkGray[500])} transparent;
|
|
13589
14035
|
border-style: solid;
|
|
13590
14036
|
border-width: 7px;
|
|
13591
14037
|
}
|
|
13592
|
-
`,
|
|
13593
|
-
selectedQueryRow: u`
|
|
13594
|
-
background-color: ${colors.darkGray[500]};
|
|
13595
14038
|
`,
|
|
13596
14039
|
filtersContainer: u`
|
|
13597
14040
|
display: flex;
|
|
@@ -13601,47 +14044,52 @@ var init_Devtools = __esm({
|
|
|
13601
14044
|
padding: ${tokens.size[0.5]} ${tokens.size[2]};
|
|
13602
14045
|
padding-right: ${tokens.size[1.5]};
|
|
13603
14046
|
border-radius: ${tokens.border.radius.sm};
|
|
13604
|
-
background-color: ${colors.darkGray[400]};
|
|
14047
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
14048
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
14049
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13605
14050
|
font-size: ${font.size.xs};
|
|
13606
14051
|
display: flex;
|
|
13607
14052
|
align-items: center;
|
|
13608
14053
|
line-height: ${font.lineHeight.sm};
|
|
13609
14054
|
gap: ${tokens.size[1.5]};
|
|
13610
14055
|
max-width: 160px;
|
|
13611
|
-
border: 1px solid ${colors.darkGray[200]};
|
|
13612
14056
|
&:focus-visible {
|
|
13613
14057
|
outline-offset: 2px;
|
|
13614
14058
|
border-radius: ${border.radius.xs};
|
|
13615
14059
|
outline: 2px solid ${colors.blue[800]};
|
|
13616
14060
|
}
|
|
14061
|
+
& svg {
|
|
14062
|
+
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
14063
|
+
}
|
|
13617
14064
|
}
|
|
13618
14065
|
`,
|
|
13619
14066
|
filterInput: u`
|
|
13620
|
-
padding: ${
|
|
14067
|
+
padding: ${size2[0.5]} ${size2[2]};
|
|
13621
14068
|
border-radius: ${tokens.border.radius.sm};
|
|
13622
|
-
background-color: ${colors.darkGray[400]};
|
|
14069
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
13623
14070
|
display: flex;
|
|
13624
14071
|
box-sizing: content-box;
|
|
13625
14072
|
align-items: center;
|
|
13626
14073
|
gap: ${tokens.size[1.5]};
|
|
13627
14074
|
max-width: 160px;
|
|
13628
14075
|
min-width: 100px;
|
|
13629
|
-
border: 1px solid ${colors.darkGray[200]};
|
|
14076
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
13630
14077
|
height: min-content;
|
|
14078
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
13631
14079
|
& > svg {
|
|
13632
|
-
width: ${
|
|
13633
|
-
height: ${
|
|
14080
|
+
width: ${size2[3]};
|
|
14081
|
+
height: ${size2[3]};
|
|
13634
14082
|
}
|
|
13635
14083
|
& input {
|
|
13636
14084
|
font-size: ${font.size.xs};
|
|
13637
14085
|
width: 100%;
|
|
13638
|
-
background-color: ${colors.darkGray[400]};
|
|
14086
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
13639
14087
|
border: none;
|
|
13640
14088
|
padding: 0;
|
|
13641
14089
|
line-height: ${font.lineHeight.sm};
|
|
13642
|
-
color: ${colors.gray[300]};
|
|
14090
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13643
14091
|
&::placeholder {
|
|
13644
|
-
color: ${colors.gray[300]};
|
|
14092
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13645
14093
|
}
|
|
13646
14094
|
&:focus {
|
|
13647
14095
|
outline: none;
|
|
@@ -13657,24 +14105,26 @@ var init_Devtools = __esm({
|
|
|
13657
14105
|
filterSelect: u`
|
|
13658
14106
|
padding: ${tokens.size[0.5]} ${tokens.size[2]};
|
|
13659
14107
|
border-radius: ${tokens.border.radius.sm};
|
|
13660
|
-
background-color: ${colors.darkGray[400]};
|
|
14108
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
13661
14109
|
display: flex;
|
|
13662
14110
|
align-items: center;
|
|
13663
14111
|
gap: ${tokens.size[1.5]};
|
|
13664
14112
|
box-sizing: content-box;
|
|
13665
14113
|
max-width: 160px;
|
|
13666
|
-
border: 1px solid ${colors.darkGray[200]};
|
|
14114
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
13667
14115
|
height: min-content;
|
|
13668
14116
|
& > svg {
|
|
14117
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
13669
14118
|
width: ${tokens.size[2]};
|
|
13670
14119
|
height: ${tokens.size[2]};
|
|
13671
14120
|
}
|
|
13672
14121
|
& > select {
|
|
13673
14122
|
appearance: none;
|
|
14123
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13674
14124
|
min-width: 100px;
|
|
13675
14125
|
line-height: ${font.lineHeight.sm};
|
|
13676
14126
|
font-size: ${font.size.xs};
|
|
13677
|
-
background-color: ${colors.darkGray[400]};
|
|
14127
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
13678
14128
|
border: none;
|
|
13679
14129
|
&:focus {
|
|
13680
14130
|
outline: none;
|
|
@@ -13692,7 +14142,8 @@ var init_Devtools = __esm({
|
|
|
13692
14142
|
`,
|
|
13693
14143
|
actionsBtn: u`
|
|
13694
14144
|
border-radius: ${tokens.border.radius.sm};
|
|
13695
|
-
background-color: ${colors.darkGray[400]};
|
|
14145
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
14146
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
13696
14147
|
width: 1.625rem;
|
|
13697
14148
|
height: 1.625rem;
|
|
13698
14149
|
justify-content: center;
|
|
@@ -13700,13 +14151,13 @@ var init_Devtools = __esm({
|
|
|
13700
14151
|
align-items: center;
|
|
13701
14152
|
gap: ${tokens.size[1.5]};
|
|
13702
14153
|
max-width: 160px;
|
|
13703
|
-
border: 1px solid ${colors.darkGray[200]};
|
|
13704
14154
|
cursor: pointer;
|
|
13705
14155
|
padding: 0;
|
|
13706
14156
|
&:hover {
|
|
13707
|
-
background-color: ${colors.darkGray[500]};
|
|
14157
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13708
14158
|
}
|
|
13709
14159
|
& svg {
|
|
14160
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13710
14161
|
width: ${tokens.size[3]};
|
|
13711
14162
|
height: ${tokens.size[3]};
|
|
13712
14163
|
}
|
|
@@ -13715,6 +14166,12 @@ var init_Devtools = __esm({
|
|
|
13715
14166
|
border-radius: ${border.radius.xs};
|
|
13716
14167
|
outline: 2px solid ${colors.blue[800]};
|
|
13717
14168
|
}
|
|
14169
|
+
`,
|
|
14170
|
+
actionsBtnOffline: u`
|
|
14171
|
+
& svg {
|
|
14172
|
+
stroke: ${t2(colors.yellow[700], colors.yellow[500])};
|
|
14173
|
+
fill: ${t2(colors.yellow[700], colors.yellow[500])};
|
|
14174
|
+
}
|
|
13718
14175
|
`,
|
|
13719
14176
|
overflowQueryContainer: u`
|
|
13720
14177
|
flex: 1;
|
|
@@ -13728,9 +14185,11 @@ var init_Devtools = __esm({
|
|
|
13728
14185
|
display: flex;
|
|
13729
14186
|
align-items: center;
|
|
13730
14187
|
padding: 0;
|
|
13731
|
-
background-color: inherit;
|
|
13732
14188
|
border: none;
|
|
13733
14189
|
cursor: pointer;
|
|
14190
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
14191
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
14192
|
+
line-height: 1;
|
|
13734
14193
|
&:focus {
|
|
13735
14194
|
outline: none;
|
|
13736
14195
|
}
|
|
@@ -13740,7 +14199,7 @@ var init_Devtools = __esm({
|
|
|
13740
14199
|
outline: 2px solid ${colors.blue[800]};
|
|
13741
14200
|
}
|
|
13742
14201
|
&:hover .tsqd-query-hash {
|
|
13743
|
-
background-color: ${colors.darkGray[600]};
|
|
14202
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[600])};
|
|
13744
14203
|
}
|
|
13745
14204
|
|
|
13746
14205
|
& .tsqd-query-observer-count {
|
|
@@ -13755,7 +14214,7 @@ var init_Devtools = __esm({
|
|
|
13755
14214
|
font-weight: ${font.weight.medium};
|
|
13756
14215
|
border-bottom-width: 1px;
|
|
13757
14216
|
border-bottom-style: solid;
|
|
13758
|
-
border-bottom: 1px solid ${colors.darkGray[700]};
|
|
14217
|
+
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[700])};
|
|
13759
14218
|
}
|
|
13760
14219
|
& .tsqd-query-hash {
|
|
13761
14220
|
user-select: text;
|
|
@@ -13766,7 +14225,7 @@ var init_Devtools = __esm({
|
|
|
13766
14225
|
flex: 1;
|
|
13767
14226
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
13768
14227
|
font-family: 'Menlo', 'Fira Code', monospace;
|
|
13769
|
-
border-bottom: 1px solid ${colors.darkGray[400]};
|
|
14228
|
+
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
13770
14229
|
text-align: left;
|
|
13771
14230
|
text-overflow: clip;
|
|
13772
14231
|
word-break: break-word;
|
|
@@ -13777,15 +14236,20 @@ var init_Devtools = __esm({
|
|
|
13777
14236
|
display: flex;
|
|
13778
14237
|
align-items: center;
|
|
13779
14238
|
padding: 0 ${tokens.size[2]};
|
|
13780
|
-
color: ${colors.gray[300]};
|
|
13781
|
-
background-color: ${colors.darkGray[600]};
|
|
13782
|
-
border-bottom: 1px solid ${colors.darkGray[400]};
|
|
14239
|
+
color: ${t2(colors.gray[800], colors.gray[300])};
|
|
14240
|
+
background-color: ${t2(colors.gray[300], colors.darkGray[600])};
|
|
14241
|
+
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
13783
14242
|
font-size: ${font.size.xs};
|
|
13784
14243
|
}
|
|
14244
|
+
`,
|
|
14245
|
+
selectedQueryRow: u`
|
|
14246
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13785
14247
|
`,
|
|
13786
14248
|
detailsContainer: u`
|
|
13787
14249
|
flex: 1 1 700px;
|
|
13788
|
-
background-color: ${colors.darkGray[700]};
|
|
14250
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
14251
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
14252
|
+
font-family: 'Inter', sans-serif;
|
|
13789
14253
|
display: flex;
|
|
13790
14254
|
flex-direction: column;
|
|
13791
14255
|
overflow-y: auto;
|
|
@@ -13793,10 +14257,11 @@ var init_Devtools = __esm({
|
|
|
13793
14257
|
text-align: left;
|
|
13794
14258
|
`,
|
|
13795
14259
|
detailsHeader: u`
|
|
14260
|
+
font-family: 'Inter', sans-serif;
|
|
13796
14261
|
position: sticky;
|
|
13797
14262
|
top: 0;
|
|
13798
14263
|
z-index: 2;
|
|
13799
|
-
background-color: ${colors.darkGray[600]};
|
|
14264
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[600])};
|
|
13800
14265
|
padding: ${tokens.size[1.5]} ${tokens.size[2]};
|
|
13801
14266
|
font-weight: ${font.weight.medium};
|
|
13802
14267
|
font-size: ${font.size.xs};
|
|
@@ -13829,6 +14294,10 @@ var init_Devtools = __esm({
|
|
|
13829
14294
|
font-size: ${font.size.xs};
|
|
13830
14295
|
line-height: ${font.lineHeight.xs};
|
|
13831
14296
|
}
|
|
14297
|
+
|
|
14298
|
+
& pre {
|
|
14299
|
+
margin: 0;
|
|
14300
|
+
}
|
|
13832
14301
|
`,
|
|
13833
14302
|
queryDetailsStatus: u`
|
|
13834
14303
|
border: 1px solid ${colors.darkGray[200]};
|
|
@@ -13843,12 +14312,13 @@ var init_Devtools = __esm({
|
|
|
13843
14312
|
gap: ${tokens.size[2]};
|
|
13844
14313
|
padding: 0px ${tokens.size[2]};
|
|
13845
14314
|
& > button {
|
|
14315
|
+
font-family: 'Inter', sans-serif;
|
|
13846
14316
|
font-size: ${font.size.xs};
|
|
13847
14317
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
13848
14318
|
display: flex;
|
|
13849
14319
|
border-radius: ${tokens.border.radius.sm};
|
|
13850
|
-
|
|
13851
|
-
|
|
14320
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[600])};
|
|
14321
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
13852
14322
|
align-items: center;
|
|
13853
14323
|
gap: ${tokens.size[2]};
|
|
13854
14324
|
font-weight: ${font.weight.medium};
|
|
@@ -13860,7 +14330,7 @@ var init_Devtools = __esm({
|
|
|
13860
14330
|
outline: 2px solid ${colors.blue[800]};
|
|
13861
14331
|
}
|
|
13862
14332
|
&:hover {
|
|
13863
|
-
background-color: ${colors.darkGray[500]};
|
|
14333
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13864
14334
|
}
|
|
13865
14335
|
|
|
13866
14336
|
&:disabled {
|
|
@@ -13881,17 +14351,17 @@ var init_Devtools = __esm({
|
|
|
13881
14351
|
display: flex;
|
|
13882
14352
|
border-radius: ${tokens.border.radius.sm};
|
|
13883
14353
|
overflow: hidden;
|
|
13884
|
-
|
|
13885
|
-
|
|
14354
|
+
background-color: ${t2(colors.gray[100], colors.darkGray[600])};
|
|
14355
|
+
border: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
13886
14356
|
align-items: center;
|
|
13887
14357
|
gap: ${tokens.size[2]};
|
|
13888
14358
|
font-weight: ${font.weight.medium};
|
|
13889
14359
|
line-height: ${font.lineHeight.sm};
|
|
13890
|
-
color: ${
|
|
14360
|
+
color: ${t2(colors.red[500], colors.red[400])};
|
|
13891
14361
|
cursor: pointer;
|
|
13892
14362
|
position: relative;
|
|
13893
14363
|
&:hover {
|
|
13894
|
-
background-color: ${colors.darkGray[500]};
|
|
14364
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13895
14365
|
}
|
|
13896
14366
|
& > span {
|
|
13897
14367
|
width: ${size2[1.5]};
|
|
@@ -13932,10 +14402,10 @@ var init_Devtools = __esm({
|
|
|
13932
14402
|
flex-direction: column;
|
|
13933
14403
|
gap: ${size2[0.5]};
|
|
13934
14404
|
border-radius: ${tokens.border.radius.sm};
|
|
13935
|
-
border: 1px solid ${colors.gray[700]};
|
|
13936
|
-
background-color: ${colors.darkGray[600]};
|
|
14405
|
+
border: 1px solid ${t2(colors.gray[300], colors.gray[700])};
|
|
14406
|
+
background-color: ${t2(colors.gray[50], colors.darkGray[600])};
|
|
13937
14407
|
font-size: ${font.size.xs};
|
|
13938
|
-
color: ${colors.gray[300]};
|
|
14408
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13939
14409
|
z-index: 99999;
|
|
13940
14410
|
min-width: 120px;
|
|
13941
14411
|
padding: ${size2[0.5]};
|
|
@@ -13945,17 +14415,19 @@ var init_Devtools = __esm({
|
|
|
13945
14415
|
align-items: center;
|
|
13946
14416
|
justify-content: space-between;
|
|
13947
14417
|
border-radius: ${tokens.border.radius.xs};
|
|
13948
|
-
padding: ${tokens.size[
|
|
14418
|
+
padding: ${tokens.size[1]} ${tokens.size[1]};
|
|
13949
14419
|
cursor: pointer;
|
|
13950
14420
|
background-color: transparent;
|
|
13951
14421
|
border: none;
|
|
14422
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13952
14423
|
& svg {
|
|
14424
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
13953
14425
|
transform: rotate(-90deg);
|
|
13954
14426
|
width: ${tokens.size[2]};
|
|
13955
14427
|
height: ${tokens.size[2]};
|
|
13956
14428
|
}
|
|
13957
14429
|
&:hover {
|
|
13958
|
-
background-color: ${colors.darkGray[500]};
|
|
14430
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13959
14431
|
}
|
|
13960
14432
|
&:focus-visible {
|
|
13961
14433
|
outline-offset: 2px;
|
|
@@ -13967,33 +14439,48 @@ var init_Devtools = __esm({
|
|
|
13967
14439
|
}
|
|
13968
14440
|
`,
|
|
13969
14441
|
settingsMenuHeader: u`
|
|
13970
|
-
padding: ${tokens.size[
|
|
14442
|
+
padding: ${tokens.size[1]} ${tokens.size[1]};
|
|
13971
14443
|
font-weight: ${font.weight.medium};
|
|
13972
|
-
border-bottom: 1px solid ${colors.darkGray[400]};
|
|
13973
|
-
color: ${colors.gray[400]};
|
|
14444
|
+
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
14445
|
+
color: ${t2(colors.gray[500], colors.gray[400])};
|
|
13974
14446
|
font-size: ${font.size["xs"]};
|
|
13975
14447
|
`,
|
|
13976
14448
|
settingsSubButton: u`
|
|
13977
14449
|
display: flex;
|
|
13978
14450
|
align-items: center;
|
|
13979
14451
|
justify-content: space-between;
|
|
13980
|
-
color: ${colors.gray[300]};
|
|
14452
|
+
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
13981
14453
|
font-size: ${font.size["xs"]};
|
|
13982
14454
|
border-radius: ${tokens.border.radius.xs};
|
|
13983
|
-
padding: ${tokens.size[
|
|
14455
|
+
padding: ${tokens.size[1]} ${tokens.size[1]};
|
|
13984
14456
|
cursor: pointer;
|
|
13985
14457
|
background-color: transparent;
|
|
13986
14458
|
border: none;
|
|
14459
|
+
& svg {
|
|
14460
|
+
color: ${t2(colors.gray[600], colors.gray[400])};
|
|
14461
|
+
}
|
|
13987
14462
|
&:hover {
|
|
13988
|
-
background-color: ${colors.darkGray[500]};
|
|
14463
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|
|
13989
14464
|
}
|
|
13990
14465
|
&:focus-visible {
|
|
13991
14466
|
outline-offset: 2px;
|
|
13992
14467
|
outline: 2px solid ${colors.blue[800]};
|
|
13993
14468
|
}
|
|
14469
|
+
`,
|
|
14470
|
+
themeSelectedButton: u`
|
|
14471
|
+
background-color: ${t2(colors.purple[100], colors.purple[900])};
|
|
14472
|
+
color: ${t2(colors.purple[700], colors.purple[300])};
|
|
14473
|
+
& svg {
|
|
14474
|
+
color: ${t2(colors.purple[700], colors.purple[300])};
|
|
14475
|
+
}
|
|
14476
|
+
&:hover {
|
|
14477
|
+
background-color: ${t2(colors.purple[100], colors.purple[900])};
|
|
14478
|
+
}
|
|
13994
14479
|
`
|
|
13995
14480
|
};
|
|
13996
14481
|
};
|
|
14482
|
+
lightStyles2 = stylesFactory2("light");
|
|
14483
|
+
darkStyles2 = stylesFactory2("dark");
|
|
13997
14484
|
delegateEvents(["click", "mousedown", "input"]);
|
|
13998
14485
|
}
|
|
13999
14486
|
});
|
|
@@ -14004,7 +14491,17 @@ init_web();
|
|
|
14004
14491
|
init_web();
|
|
14005
14492
|
init_solid();
|
|
14006
14493
|
exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
14007
|
-
|
|
14494
|
+
#client;
|
|
14495
|
+
#onlineManager;
|
|
14496
|
+
#queryFlavor;
|
|
14497
|
+
#version;
|
|
14498
|
+
#isMounted = false;
|
|
14499
|
+
#buttonPosition;
|
|
14500
|
+
#position;
|
|
14501
|
+
#initialIsOpen;
|
|
14502
|
+
#errorTypes;
|
|
14503
|
+
#Component;
|
|
14504
|
+
#dispose;
|
|
14008
14505
|
constructor(config) {
|
|
14009
14506
|
const {
|
|
14010
14507
|
client,
|
|
@@ -14016,57 +14513,57 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
14016
14513
|
initialIsOpen,
|
|
14017
14514
|
errorTypes
|
|
14018
14515
|
} = config;
|
|
14019
|
-
this
|
|
14020
|
-
this
|
|
14021
|
-
this
|
|
14022
|
-
this
|
|
14023
|
-
this
|
|
14024
|
-
this
|
|
14025
|
-
this
|
|
14026
|
-
this
|
|
14516
|
+
this.#client = createSignal(client);
|
|
14517
|
+
this.#queryFlavor = queryFlavor;
|
|
14518
|
+
this.#version = version;
|
|
14519
|
+
this.#onlineManager = onlineManager;
|
|
14520
|
+
this.#buttonPosition = createSignal(buttonPosition);
|
|
14521
|
+
this.#position = createSignal(position);
|
|
14522
|
+
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
14523
|
+
this.#errorTypes = createSignal(errorTypes);
|
|
14027
14524
|
}
|
|
14028
14525
|
setButtonPosition(position) {
|
|
14029
|
-
this
|
|
14526
|
+
this.#buttonPosition[1](position);
|
|
14030
14527
|
}
|
|
14031
14528
|
setPosition(position) {
|
|
14032
|
-
this
|
|
14529
|
+
this.#position[1](position);
|
|
14033
14530
|
}
|
|
14034
14531
|
setInitialIsOpen(isOpen) {
|
|
14035
|
-
this
|
|
14532
|
+
this.#initialIsOpen[1](isOpen);
|
|
14036
14533
|
}
|
|
14037
14534
|
setErrorTypes(errorTypes) {
|
|
14038
|
-
this
|
|
14535
|
+
this.#errorTypes[1](errorTypes);
|
|
14039
14536
|
}
|
|
14040
14537
|
setClient(client) {
|
|
14041
|
-
this
|
|
14538
|
+
this.#client[1](client);
|
|
14042
14539
|
}
|
|
14043
14540
|
mount(el) {
|
|
14044
|
-
if (this
|
|
14541
|
+
if (this.#isMounted) {
|
|
14045
14542
|
throw new Error("Devtools is already mounted");
|
|
14046
14543
|
}
|
|
14047
14544
|
const dispose3 = render(() => {
|
|
14048
|
-
const [btnPosition] = this
|
|
14049
|
-
const [pos] = this
|
|
14050
|
-
const [isOpen] = this
|
|
14051
|
-
const [errors] = this
|
|
14052
|
-
const [queryClient] = this
|
|
14545
|
+
const [btnPosition] = this.#buttonPosition;
|
|
14546
|
+
const [pos] = this.#position;
|
|
14547
|
+
const [isOpen] = this.#initialIsOpen;
|
|
14548
|
+
const [errors] = this.#errorTypes;
|
|
14549
|
+
const [queryClient] = this.#client;
|
|
14053
14550
|
let Devtools2;
|
|
14054
|
-
if (this
|
|
14055
|
-
Devtools2 = this
|
|
14551
|
+
if (this.#Component) {
|
|
14552
|
+
Devtools2 = this.#Component;
|
|
14056
14553
|
} else {
|
|
14057
14554
|
Devtools2 = lazy(() => Promise.resolve().then(() => (init_Devtools(), Devtools_exports)));
|
|
14058
|
-
this
|
|
14555
|
+
this.#Component = Devtools2;
|
|
14059
14556
|
}
|
|
14060
14557
|
const _self$ = this;
|
|
14061
14558
|
return createComponent(Devtools2, mergeProps({
|
|
14062
14559
|
get queryFlavor() {
|
|
14063
|
-
return _self
|
|
14560
|
+
return _self$.#queryFlavor;
|
|
14064
14561
|
},
|
|
14065
14562
|
get version() {
|
|
14066
|
-
return _self
|
|
14563
|
+
return _self$.#version;
|
|
14067
14564
|
},
|
|
14068
14565
|
get onlineManager() {
|
|
14069
|
-
return _self
|
|
14566
|
+
return _self$.#onlineManager;
|
|
14070
14567
|
}
|
|
14071
14568
|
}, {
|
|
14072
14569
|
get client() {
|
|
@@ -14086,15 +14583,15 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
14086
14583
|
}
|
|
14087
14584
|
}));
|
|
14088
14585
|
}, el);
|
|
14089
|
-
this
|
|
14090
|
-
this
|
|
14586
|
+
this.#isMounted = true;
|
|
14587
|
+
this.#dispose = dispose3;
|
|
14091
14588
|
}
|
|
14092
14589
|
unmount() {
|
|
14093
|
-
if (!this
|
|
14590
|
+
if (!this.#isMounted) {
|
|
14094
14591
|
throw new Error("Devtools is not mounted");
|
|
14095
14592
|
}
|
|
14096
|
-
this
|
|
14097
|
-
this
|
|
14593
|
+
this.#dispose?.();
|
|
14594
|
+
this.#isMounted = false;
|
|
14098
14595
|
}
|
|
14099
14596
|
};
|
|
14100
14597
|
/*! Bundled license information:
|