@tanstack/query-devtools 5.81.2 → 5.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/DevtoolsComponent/{HH7B3BHX.js → EDEL3XIZ.js} +2 -2
- package/build/DevtoolsComponent/{I3HPI4QX.js → LNWAZHJI.js} +2 -2
- package/build/DevtoolsPanelComponent/{CXEL7IU7.js → MWZ6AO7Z.js} +2 -2
- package/build/DevtoolsPanelComponent/{JZI2RDCT.js → RN252AT2.js} +2 -2
- package/build/chunk/{V5T5VJKG.js → CXOMC62J.js} +177 -286
- package/build/chunk/{HR7YXZ5H.js → EIDV623S.js} +177 -286
- package/build/chunk/{HASRA6WW.js → YPM2AS64.js} +341 -270
- package/build/chunk/{L7Z3HDK6.js → YTSEMULZ.js} +341 -270
- package/build/dev.cjs +598 -622
- package/build/dev.js +19 -5
- package/build/index.cjs +598 -622
- package/build/index.d.cts +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +19 -5
- package/package.json +24 -5
- package/src/Devtools.tsx +85 -2
- package/src/TanstackQueryDevtools.tsx +7 -0
- package/src/TanstackQueryDevtoolsPanel.tsx +7 -0
- package/src/contexts/QueryDevtoolsContext.ts +1 -0
package/build/dev.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
|
|
14
14
|
function getContextId(count) {
|
|
15
15
|
const num = String(count), len = num.length - 1;
|
|
16
16
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -112,12 +112,9 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
112
112
|
if (pr === p2) {
|
|
113
113
|
pr = null;
|
|
114
114
|
key !== void 0 && (resolved = true);
|
|
115
|
-
if ((p2 === initP || v === initP) && options.onHydrated)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
value: v
|
|
119
|
-
})
|
|
120
|
-
);
|
|
115
|
+
if ((p2 === initP || v === initP) && options.onHydrated) queueMicrotask(() => options.onHydrated(key, {
|
|
116
|
+
value: v
|
|
117
|
+
}));
|
|
121
118
|
initP = NO_INIT;
|
|
122
119
|
if (Transition && p2 && loadedUnderTransition) {
|
|
123
120
|
Transition.promises.delete(p2);
|
|
@@ -166,20 +163,28 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
166
163
|
return;
|
|
167
164
|
}
|
|
168
165
|
if (Transition && pr) Transition.promises.delete(pr);
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
166
|
+
let error2;
|
|
167
|
+
const p2 = initP !== NO_INIT ? initP : untrack(() => {
|
|
168
|
+
try {
|
|
169
|
+
return fetcher(lookup, {
|
|
170
|
+
value: value(),
|
|
171
|
+
refetching
|
|
172
|
+
});
|
|
173
|
+
} catch (fetcherError) {
|
|
174
|
+
error2 = fetcherError;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
if (error2 !== void 0) {
|
|
178
|
+
loadEnd(pr, void 0, castError(error2), lookup);
|
|
179
|
+
return;
|
|
180
|
+
} else if (!isPromise(p2)) {
|
|
176
181
|
loadEnd(pr, p2, void 0, lookup);
|
|
177
182
|
return p2;
|
|
178
183
|
}
|
|
179
184
|
pr = p2;
|
|
180
|
-
if ("
|
|
181
|
-
if (p2.
|
|
182
|
-
else loadEnd(pr, void 0, castError(p2.
|
|
185
|
+
if ("v" in p2) {
|
|
186
|
+
if (p2.s === 1) loadEnd(pr, p2.v, void 0, lookup);
|
|
187
|
+
else loadEnd(pr, void 0, castError(p2.v), lookup);
|
|
183
188
|
return p2;
|
|
184
189
|
}
|
|
185
190
|
scheduled = true;
|
|
@@ -188,10 +193,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
188
193
|
setState(resolved ? "refreshing" : "pending");
|
|
189
194
|
trigger();
|
|
190
195
|
}, false);
|
|
191
|
-
return p2.then(
|
|
192
|
-
(v) => loadEnd(p2, v, void 0, lookup),
|
|
193
|
-
(e2) => loadEnd(p2, void 0, castError(e2), lookup)
|
|
194
|
-
);
|
|
196
|
+
return p2.then((v) => loadEnd(p2, v, void 0, lookup), (e2) => loadEnd(p2, void 0, castError(e2), lookup));
|
|
195
197
|
}
|
|
196
198
|
Object.defineProperties(read, {
|
|
197
199
|
state: {
|
|
@@ -215,15 +217,13 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
215
217
|
}
|
|
216
218
|
}
|
|
217
219
|
});
|
|
218
|
-
|
|
220
|
+
let owner = Owner;
|
|
221
|
+
if (dynamic) createComputed(() => (owner = Owner, load(false)));
|
|
219
222
|
else load(false);
|
|
220
|
-
return [
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
mutate: setValue
|
|
225
|
-
}
|
|
226
|
-
];
|
|
223
|
+
return [read, {
|
|
224
|
+
refetch: (info) => runWithOwner(owner, () => load(info)),
|
|
225
|
+
mutate: setValue
|
|
226
|
+
}];
|
|
227
227
|
}
|
|
228
228
|
function batch(fn) {
|
|
229
229
|
return runUpdates(fn, false);
|
|
@@ -329,12 +329,12 @@ function useContext(context) {
|
|
|
329
329
|
}
|
|
330
330
|
function children(fn) {
|
|
331
331
|
const children2 = createMemo(fn);
|
|
332
|
-
const
|
|
333
|
-
|
|
334
|
-
const c2 =
|
|
332
|
+
const memo2 = createMemo(() => resolveChildren(children2()));
|
|
333
|
+
memo2.toArray = () => {
|
|
334
|
+
const c2 = memo2();
|
|
335
335
|
return Array.isArray(c2) ? c2 : c2 != null ? [c2] : [];
|
|
336
336
|
};
|
|
337
|
-
return
|
|
337
|
+
return memo2;
|
|
338
338
|
}
|
|
339
339
|
function readSignal() {
|
|
340
340
|
const runningTransition = Transition && Transition.running;
|
|
@@ -406,11 +406,7 @@ function updateComputation(node) {
|
|
|
406
406
|
if (!node.fn) return;
|
|
407
407
|
cleanNode(node);
|
|
408
408
|
const time = ExecCount;
|
|
409
|
-
runComputation(
|
|
410
|
-
node,
|
|
411
|
-
Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
|
|
412
|
-
time
|
|
413
|
-
);
|
|
409
|
+
runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
|
|
414
410
|
if (Transition && !Transition.running && Transition.sources.has(node)) {
|
|
415
411
|
queueMicrotask(() => {
|
|
416
412
|
runUpdates(() => {
|
|
@@ -641,8 +637,7 @@ function lookUpstream(node, ignore) {
|
|
|
641
637
|
if (source.sources) {
|
|
642
638
|
const state = runningTransition ? source.tState : source.state;
|
|
643
639
|
if (state === STALE) {
|
|
644
|
-
if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
|
|
645
|
-
runTop(source);
|
|
640
|
+
if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
|
|
646
641
|
} else if (state === PENDING) lookUpstream(source, ignore);
|
|
647
642
|
}
|
|
648
643
|
}
|
|
@@ -718,13 +713,12 @@ function handleError(err, owner = Owner) {
|
|
|
718
713
|
const fns = ERROR && owner && owner.context && owner.context[ERROR];
|
|
719
714
|
const error = castError(err);
|
|
720
715
|
if (!fns) throw error;
|
|
721
|
-
if (Effects)
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
});
|
|
716
|
+
if (Effects) Effects.push({
|
|
717
|
+
fn() {
|
|
718
|
+
runErrors(error, fns, owner);
|
|
719
|
+
},
|
|
720
|
+
state: STALE
|
|
721
|
+
});
|
|
728
722
|
else runErrors(error, fns, owner);
|
|
729
723
|
}
|
|
730
724
|
function resolveChildren(children2) {
|
|
@@ -742,16 +736,13 @@ function resolveChildren(children2) {
|
|
|
742
736
|
function createProvider(id, options) {
|
|
743
737
|
return function provider(props) {
|
|
744
738
|
let res;
|
|
745
|
-
createRenderEffect(
|
|
746
|
-
|
|
747
|
-
Owner.context
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
}),
|
|
753
|
-
void 0
|
|
754
|
-
);
|
|
739
|
+
createRenderEffect(() => res = untrack(() => {
|
|
740
|
+
Owner.context = {
|
|
741
|
+
...Owner.context,
|
|
742
|
+
[id]: props.value
|
|
743
|
+
};
|
|
744
|
+
return children(() => props.children);
|
|
745
|
+
}), void 0);
|
|
755
746
|
return res;
|
|
756
747
|
};
|
|
757
748
|
}
|
|
@@ -932,29 +923,25 @@ function mergeProps(...sources) {
|
|
|
932
923
|
sources[i2] = typeof s2 === "function" ? (proxy = true, createMemo(s2)) : s2;
|
|
933
924
|
}
|
|
934
925
|
if (SUPPORTS_PROXY && proxy) {
|
|
935
|
-
return new Proxy(
|
|
936
|
-
{
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
if (v !== void 0) return v;
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
has(property) {
|
|
944
|
-
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
945
|
-
if (property in resolveSource(sources[i2])) return true;
|
|
946
|
-
}
|
|
947
|
-
return false;
|
|
948
|
-
},
|
|
949
|
-
keys() {
|
|
950
|
-
const keys2 = [];
|
|
951
|
-
for (let i2 = 0; i2 < sources.length; i2++)
|
|
952
|
-
keys2.push(...Object.keys(resolveSource(sources[i2])));
|
|
953
|
-
return [...new Set(keys2)];
|
|
926
|
+
return new Proxy({
|
|
927
|
+
get(property) {
|
|
928
|
+
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
929
|
+
const v = resolveSource(sources[i2])[property];
|
|
930
|
+
if (v !== void 0) return v;
|
|
954
931
|
}
|
|
955
932
|
},
|
|
956
|
-
|
|
957
|
-
|
|
933
|
+
has(property) {
|
|
934
|
+
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
935
|
+
if (property in resolveSource(sources[i2])) return true;
|
|
936
|
+
}
|
|
937
|
+
return false;
|
|
938
|
+
},
|
|
939
|
+
keys() {
|
|
940
|
+
const keys2 = [];
|
|
941
|
+
for (let i2 = 0; i2 < sources.length; i2++) keys2.push(...Object.keys(resolveSource(sources[i2])));
|
|
942
|
+
return [...new Set(keys2)];
|
|
943
|
+
}
|
|
944
|
+
}, propTraps);
|
|
958
945
|
}
|
|
959
946
|
const sourcesMap = {};
|
|
960
947
|
const defined = /* @__PURE__ */ Object.create(null);
|
|
@@ -994,37 +981,29 @@ function splitProps(props, ...keys2) {
|
|
|
994
981
|
if (SUPPORTS_PROXY && $PROXY in props) {
|
|
995
982
|
const blocked = new Set(keys2.length > 1 ? keys2.flat() : keys2[0]);
|
|
996
983
|
const res = keys2.map((k) => {
|
|
997
|
-
return new Proxy(
|
|
998
|
-
{
|
|
999
|
-
|
|
1000
|
-
return k.includes(property) ? props[property] : void 0;
|
|
1001
|
-
},
|
|
1002
|
-
has(property) {
|
|
1003
|
-
return k.includes(property) && property in props;
|
|
1004
|
-
},
|
|
1005
|
-
keys() {
|
|
1006
|
-
return k.filter((property) => property in props);
|
|
1007
|
-
}
|
|
984
|
+
return new Proxy({
|
|
985
|
+
get(property) {
|
|
986
|
+
return k.includes(property) ? props[property] : void 0;
|
|
1008
987
|
},
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
});
|
|
1012
|
-
res.push(
|
|
1013
|
-
new Proxy(
|
|
1014
|
-
{
|
|
1015
|
-
get(property) {
|
|
1016
|
-
return blocked.has(property) ? void 0 : props[property];
|
|
1017
|
-
},
|
|
1018
|
-
has(property) {
|
|
1019
|
-
return blocked.has(property) ? false : property in props;
|
|
1020
|
-
},
|
|
1021
|
-
keys() {
|
|
1022
|
-
return Object.keys(props).filter((k) => !blocked.has(k));
|
|
1023
|
-
}
|
|
988
|
+
has(property) {
|
|
989
|
+
return k.includes(property) && property in props;
|
|
1024
990
|
},
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
991
|
+
keys() {
|
|
992
|
+
return k.filter((property) => property in props);
|
|
993
|
+
}
|
|
994
|
+
}, propTraps);
|
|
995
|
+
});
|
|
996
|
+
res.push(new Proxy({
|
|
997
|
+
get(property) {
|
|
998
|
+
return blocked.has(property) ? void 0 : props[property];
|
|
999
|
+
},
|
|
1000
|
+
has(property) {
|
|
1001
|
+
return blocked.has(property) ? false : property in props;
|
|
1002
|
+
},
|
|
1003
|
+
keys() {
|
|
1004
|
+
return Object.keys(props).filter((k) => !blocked.has(k));
|
|
1005
|
+
}
|
|
1006
|
+
}, propTraps));
|
|
1028
1007
|
return res;
|
|
1029
1008
|
}
|
|
1030
1009
|
const otherObject = {};
|
|
@@ -1068,17 +1047,15 @@ function lazy(fn) {
|
|
|
1068
1047
|
comp = s2;
|
|
1069
1048
|
}
|
|
1070
1049
|
let Comp;
|
|
1071
|
-
return createMemo(
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
}) : ""
|
|
1081
|
-
);
|
|
1050
|
+
return createMemo(() => (Comp = comp()) ? untrack(() => {
|
|
1051
|
+
if (IS_DEV) ;
|
|
1052
|
+
if (!ctx || sharedConfig.done) return Comp(props);
|
|
1053
|
+
const c2 = sharedConfig.context;
|
|
1054
|
+
setHydrateContext(ctx);
|
|
1055
|
+
const r2 = Comp(props);
|
|
1056
|
+
setHydrateContext(c2);
|
|
1057
|
+
return r2;
|
|
1058
|
+
}) : "");
|
|
1082
1059
|
};
|
|
1083
1060
|
wrap.preload = () => p2 || ((p2 = fn()).then((mod) => comp = () => mod.default), p2);
|
|
1084
1061
|
return wrap;
|
|
@@ -1105,26 +1082,18 @@ function Show(props) {
|
|
|
1105
1082
|
const condition = keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1106
1083
|
equals: (a2, b2) => !a2 === !b2
|
|
1107
1084
|
});
|
|
1108
|
-
return createMemo(
|
|
1109
|
-
()
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
)
|
|
1121
|
-
) : child;
|
|
1122
|
-
}
|
|
1123
|
-
return props.fallback;
|
|
1124
|
-
},
|
|
1125
|
-
void 0,
|
|
1126
|
-
void 0
|
|
1127
|
-
);
|
|
1085
|
+
return createMemo(() => {
|
|
1086
|
+
const c2 = condition();
|
|
1087
|
+
if (c2) {
|
|
1088
|
+
const child = props.children;
|
|
1089
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1090
|
+
return fn ? untrack(() => child(keyed ? c2 : () => {
|
|
1091
|
+
if (!untrack(condition)) throw narrowedError("Show");
|
|
1092
|
+
return conditionValue();
|
|
1093
|
+
})) : child;
|
|
1094
|
+
}
|
|
1095
|
+
return props.fallback;
|
|
1096
|
+
}, void 0, void 0);
|
|
1128
1097
|
}
|
|
1129
1098
|
function Switch(props) {
|
|
1130
1099
|
const chs = children(() => props.children);
|
|
@@ -1136,11 +1105,7 @@ function Switch(props) {
|
|
|
1136
1105
|
const index = i2;
|
|
1137
1106
|
const mp = mps[i2];
|
|
1138
1107
|
const prevFunc = func;
|
|
1139
|
-
const conditionValue = createMemo(
|
|
1140
|
-
() => prevFunc() ? void 0 : mp.when,
|
|
1141
|
-
void 0,
|
|
1142
|
-
void 0
|
|
1143
|
-
);
|
|
1108
|
+
const conditionValue = createMemo(() => prevFunc() ? void 0 : mp.when, void 0, void 0);
|
|
1144
1109
|
const condition = mp.keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1145
1110
|
equals: (a2, b2) => !a2 === !b2
|
|
1146
1111
|
});
|
|
@@ -1148,32 +1113,24 @@ function Switch(props) {
|
|
|
1148
1113
|
}
|
|
1149
1114
|
return func;
|
|
1150
1115
|
});
|
|
1151
|
-
return createMemo(
|
|
1152
|
-
()
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
return conditionValue();
|
|
1163
|
-
}
|
|
1164
|
-
)
|
|
1165
|
-
) : child;
|
|
1166
|
-
},
|
|
1167
|
-
void 0,
|
|
1168
|
-
void 0
|
|
1169
|
-
);
|
|
1116
|
+
return createMemo(() => {
|
|
1117
|
+
const sel = switchFunc()();
|
|
1118
|
+
if (!sel) return props.fallback;
|
|
1119
|
+
const [index, conditionValue, mp] = sel;
|
|
1120
|
+
const child = mp.children;
|
|
1121
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1122
|
+
return fn ? untrack(() => child(mp.keyed ? conditionValue() : () => {
|
|
1123
|
+
if (untrack(switchFunc)()?.[0] !== index) throw narrowedError("Match");
|
|
1124
|
+
return conditionValue();
|
|
1125
|
+
})) : child;
|
|
1126
|
+
}, void 0, void 0);
|
|
1170
1127
|
}
|
|
1171
1128
|
function Match(props) {
|
|
1172
1129
|
return props;
|
|
1173
1130
|
}
|
|
1174
1131
|
var sharedConfig, IS_DEV, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1175
1132
|
var init_solid = __esm({
|
|
1176
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1133
|
+
"../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js"() {
|
|
1177
1134
|
sharedConfig = {
|
|
1178
1135
|
context: void 0,
|
|
1179
1136
|
registry: void 0,
|
|
@@ -1248,7 +1205,7 @@ var init_solid = __esm({
|
|
|
1248
1205
|
}
|
|
1249
1206
|
});
|
|
1250
1207
|
|
|
1251
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1208
|
+
// ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js
|
|
1252
1209
|
function getPropAlias(prop, tagName) {
|
|
1253
1210
|
const a2 = PropAliases[prop];
|
|
1254
1211
|
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
@@ -1410,9 +1367,7 @@ function style(node, value, prev) {
|
|
|
1410
1367
|
function spread(node, props = {}, isSVG, skipChildren) {
|
|
1411
1368
|
const prevProps = {};
|
|
1412
1369
|
if (!skipChildren) {
|
|
1413
|
-
createRenderEffect(
|
|
1414
|
-
() => prevProps.children = insertExpression(node, props.children, prevProps.children)
|
|
1415
|
-
);
|
|
1370
|
+
createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
|
|
1416
1371
|
}
|
|
1417
1372
|
createRenderEffect(() => typeof props.ref === "function" && use(props.ref, node));
|
|
1418
1373
|
createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
|
|
@@ -1459,8 +1414,7 @@ function toPropertyName(name) {
|
|
|
1459
1414
|
}
|
|
1460
1415
|
function toggleClassKey(node, key, value) {
|
|
1461
1416
|
const classNames = key.trim().split(/\s+/);
|
|
1462
|
-
for (let i2 = 0, nameLen = classNames.length; i2 < nameLen; i2++)
|
|
1463
|
-
node.classList.toggle(classNames[i2], value);
|
|
1417
|
+
for (let i2 = 0, nameLen = classNames.length; i2 < nameLen; i2++) node.classList.toggle(classNames[i2], value);
|
|
1464
1418
|
}
|
|
1465
1419
|
function assignProp(node, prop, value, prev, isSVG, skipRef, props) {
|
|
1466
1420
|
let isCE, isProp, isChildProp, propAlias, forceProp;
|
|
@@ -1652,11 +1606,7 @@ function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
|
1652
1606
|
} else if (t2 === "function") {
|
|
1653
1607
|
if (unwrap) {
|
|
1654
1608
|
while (typeof item === "function") item = item();
|
|
1655
|
-
dynamic = normalizeIncomingArray(
|
|
1656
|
-
normalized,
|
|
1657
|
-
Array.isArray(item) ? item : [item],
|
|
1658
|
-
Array.isArray(prev) ? prev : [prev]
|
|
1659
|
-
) || dynamic;
|
|
1609
|
+
dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
|
|
1660
1610
|
} else {
|
|
1661
1611
|
normalized.push(item);
|
|
1662
1612
|
dynamic = true;
|
|
@@ -1681,8 +1631,7 @@ function cleanChildren(parent, current, marker, replacement) {
|
|
|
1681
1631
|
const el = current[i2];
|
|
1682
1632
|
if (node !== el) {
|
|
1683
1633
|
const isParent = el.parentNode === parent;
|
|
1684
|
-
if (!inserted && !i2)
|
|
1685
|
-
isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
|
|
1634
|
+
if (!inserted && !i2) isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
|
|
1686
1635
|
else isParent && el.remove();
|
|
1687
1636
|
} else inserted = true;
|
|
1688
1637
|
}
|
|
@@ -1696,40 +1645,38 @@ function createElement(tagName, isSVG = false) {
|
|
|
1696
1645
|
return isSVG ? document.createElementNS(SVG_NAMESPACE, tagName) : document.createElement(tagName);
|
|
1697
1646
|
}
|
|
1698
1647
|
function Portal(props) {
|
|
1699
|
-
const {
|
|
1648
|
+
const {
|
|
1649
|
+
useShadow
|
|
1650
|
+
} = props, marker = document.createTextNode(""), mount = () => props.mount || document.body, owner = getOwner();
|
|
1700
1651
|
let content;
|
|
1701
1652
|
let hydrating = !!sharedConfig.context;
|
|
1702
|
-
createEffect(
|
|
1703
|
-
()
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
onCleanup(() => el.removeChild(container));
|
|
1726
|
-
}
|
|
1727
|
-
},
|
|
1728
|
-
void 0,
|
|
1729
|
-
{
|
|
1730
|
-
render: !hydrating
|
|
1653
|
+
createEffect(() => {
|
|
1654
|
+
if (hydrating) getOwner().user = hydrating = false;
|
|
1655
|
+
content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
|
|
1656
|
+
const el = mount();
|
|
1657
|
+
if (el instanceof HTMLHeadElement) {
|
|
1658
|
+
const [clean, setClean] = createSignal(false);
|
|
1659
|
+
const cleanup = () => setClean(true);
|
|
1660
|
+
createRoot((dispose3) => insert(el, () => !clean() ? content() : dispose3(), null));
|
|
1661
|
+
onCleanup(cleanup);
|
|
1662
|
+
} else {
|
|
1663
|
+
const container = createElement(props.isSVG ? "g" : "div", props.isSVG), renderRoot = useShadow && container.attachShadow ? container.attachShadow({
|
|
1664
|
+
mode: "open"
|
|
1665
|
+
}) : container;
|
|
1666
|
+
Object.defineProperty(container, "_$host", {
|
|
1667
|
+
get() {
|
|
1668
|
+
return marker.parentNode;
|
|
1669
|
+
},
|
|
1670
|
+
configurable: true
|
|
1671
|
+
});
|
|
1672
|
+
insert(renderRoot, content);
|
|
1673
|
+
el.appendChild(container);
|
|
1674
|
+
props.ref && props.ref(container);
|
|
1675
|
+
onCleanup(() => el.removeChild(container));
|
|
1731
1676
|
}
|
|
1732
|
-
|
|
1677
|
+
}, void 0, {
|
|
1678
|
+
render: !hydrating
|
|
1679
|
+
});
|
|
1733
1680
|
return marker;
|
|
1734
1681
|
}
|
|
1735
1682
|
function createDynamic(component, props) {
|
|
@@ -1751,60 +1698,24 @@ function Dynamic(props) {
|
|
|
1751
1698
|
const [, others] = splitProps(props, ["component"]);
|
|
1752
1699
|
return createDynamic(() => props.component, others);
|
|
1753
1700
|
}
|
|
1754
|
-
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1701
|
+
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, memo, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1755
1702
|
var init_web = __esm({
|
|
1756
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1703
|
+
"../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js"() {
|
|
1757
1704
|
init_solid();
|
|
1758
1705
|
init_solid();
|
|
1759
|
-
booleans = [
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
"autofocus",
|
|
1763
|
-
"autoplay",
|
|
1764
|
-
"checked",
|
|
1765
|
-
"controls",
|
|
1766
|
-
"default",
|
|
1767
|
-
"disabled",
|
|
1768
|
-
"formnovalidate",
|
|
1769
|
-
"hidden",
|
|
1770
|
-
"indeterminate",
|
|
1771
|
-
"inert",
|
|
1772
|
-
"ismap",
|
|
1773
|
-
"loop",
|
|
1774
|
-
"multiple",
|
|
1775
|
-
"muted",
|
|
1776
|
-
"nomodule",
|
|
1777
|
-
"novalidate",
|
|
1778
|
-
"open",
|
|
1779
|
-
"playsinline",
|
|
1780
|
-
"readonly",
|
|
1781
|
-
"required",
|
|
1782
|
-
"reversed",
|
|
1783
|
-
"seamless",
|
|
1784
|
-
"selected"
|
|
1785
|
-
];
|
|
1786
|
-
Properties = /* @__PURE__ */ new Set([
|
|
1787
|
-
"className",
|
|
1788
|
-
"value",
|
|
1789
|
-
"readOnly",
|
|
1790
|
-
"formNoValidate",
|
|
1791
|
-
"isMap",
|
|
1792
|
-
"noModule",
|
|
1793
|
-
"playsInline",
|
|
1794
|
-
...booleans
|
|
1795
|
-
]);
|
|
1796
|
-
ChildProperties = /* @__PURE__ */ new Set([
|
|
1797
|
-
"innerHTML",
|
|
1798
|
-
"textContent",
|
|
1799
|
-
"innerText",
|
|
1800
|
-
"children"
|
|
1801
|
-
]);
|
|
1706
|
+
booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
|
|
1707
|
+
Properties = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
1708
|
+
ChildProperties = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]);
|
|
1802
1709
|
Aliases = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
1803
1710
|
className: "class",
|
|
1804
1711
|
htmlFor: "for"
|
|
1805
1712
|
});
|
|
1806
1713
|
PropAliases = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
1807
1714
|
class: "className",
|
|
1715
|
+
novalidate: {
|
|
1716
|
+
$: "noValidate",
|
|
1717
|
+
FORM: 1
|
|
1718
|
+
},
|
|
1808
1719
|
formnovalidate: {
|
|
1809
1720
|
$: "formNoValidate",
|
|
1810
1721
|
BUTTON: 1,
|
|
@@ -1828,30 +1739,7 @@ var init_web = __esm({
|
|
|
1828
1739
|
TEXTAREA: 1
|
|
1829
1740
|
}
|
|
1830
1741
|
});
|
|
1831
|
-
DelegatedEvents = /* @__PURE__ */ new Set([
|
|
1832
|
-
"beforeinput",
|
|
1833
|
-
"click",
|
|
1834
|
-
"dblclick",
|
|
1835
|
-
"contextmenu",
|
|
1836
|
-
"focusin",
|
|
1837
|
-
"focusout",
|
|
1838
|
-
"input",
|
|
1839
|
-
"keydown",
|
|
1840
|
-
"keyup",
|
|
1841
|
-
"mousedown",
|
|
1842
|
-
"mousemove",
|
|
1843
|
-
"mouseout",
|
|
1844
|
-
"mouseover",
|
|
1845
|
-
"mouseup",
|
|
1846
|
-
"pointerdown",
|
|
1847
|
-
"pointermove",
|
|
1848
|
-
"pointerout",
|
|
1849
|
-
"pointerover",
|
|
1850
|
-
"pointerup",
|
|
1851
|
-
"touchend",
|
|
1852
|
-
"touchmove",
|
|
1853
|
-
"touchstart"
|
|
1854
|
-
]);
|
|
1742
|
+
DelegatedEvents = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
|
|
1855
1743
|
SVGElements = /* @__PURE__ */ new Set([
|
|
1856
1744
|
"altGlyph",
|
|
1857
1745
|
"altGlyphDef",
|
|
@@ -1935,16 +1823,17 @@ var init_web = __esm({
|
|
|
1935
1823
|
xlink: "http://www.w3.org/1999/xlink",
|
|
1936
1824
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
1937
1825
|
};
|
|
1826
|
+
memo = (fn) => createMemo(() => fn());
|
|
1938
1827
|
$$EVENTS = "_$DX_DELEGATE";
|
|
1939
1828
|
isServer = false;
|
|
1940
1829
|
SVG_NAMESPACE = "http://www.w3.org/2000/svg";
|
|
1941
1830
|
}
|
|
1942
1831
|
});
|
|
1943
1832
|
|
|
1944
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1833
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.js
|
|
1945
1834
|
var DoubleIndexedKV;
|
|
1946
1835
|
var init_double_indexed_kv = __esm({
|
|
1947
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1836
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.js"() {
|
|
1948
1837
|
DoubleIndexedKV = class {
|
|
1949
1838
|
constructor() {
|
|
1950
1839
|
this.keyToValue = /* @__PURE__ */ new Map();
|
|
@@ -1968,10 +1857,10 @@ var init_double_indexed_kv = __esm({
|
|
|
1968
1857
|
}
|
|
1969
1858
|
});
|
|
1970
1859
|
|
|
1971
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1860
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.js
|
|
1972
1861
|
var Registry;
|
|
1973
1862
|
var init_registry = __esm({
|
|
1974
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1863
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.js"() {
|
|
1975
1864
|
init_double_indexed_kv();
|
|
1976
1865
|
Registry = class {
|
|
1977
1866
|
constructor(generateIdentifier) {
|
|
@@ -2000,10 +1889,10 @@ var init_registry = __esm({
|
|
|
2000
1889
|
}
|
|
2001
1890
|
});
|
|
2002
1891
|
|
|
2003
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1892
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.js
|
|
2004
1893
|
var ClassRegistry;
|
|
2005
1894
|
var init_class_registry = __esm({
|
|
2006
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1895
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.js"() {
|
|
2007
1896
|
init_registry();
|
|
2008
1897
|
ClassRegistry = class extends Registry {
|
|
2009
1898
|
constructor() {
|
|
@@ -2027,7 +1916,7 @@ var init_class_registry = __esm({
|
|
|
2027
1916
|
}
|
|
2028
1917
|
});
|
|
2029
1918
|
|
|
2030
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1919
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.js
|
|
2031
1920
|
function valuesOfObj(record) {
|
|
2032
1921
|
if ("values" in Object) {
|
|
2033
1922
|
return Object.values(record);
|
|
@@ -2070,14 +1959,14 @@ function findArr(record, predicate) {
|
|
|
2070
1959
|
return void 0;
|
|
2071
1960
|
}
|
|
2072
1961
|
var init_util = __esm({
|
|
2073
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1962
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.js"() {
|
|
2074
1963
|
}
|
|
2075
1964
|
});
|
|
2076
1965
|
|
|
2077
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1966
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.js
|
|
2078
1967
|
var CustomTransformerRegistry;
|
|
2079
1968
|
var init_custom_transformer_registry = __esm({
|
|
2080
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1969
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.js"() {
|
|
2081
1970
|
init_util();
|
|
2082
1971
|
CustomTransformerRegistry = class {
|
|
2083
1972
|
constructor() {
|
|
@@ -2096,10 +1985,10 @@ var init_custom_transformer_registry = __esm({
|
|
|
2096
1985
|
}
|
|
2097
1986
|
});
|
|
2098
1987
|
|
|
2099
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
1988
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.js
|
|
2100
1989
|
var getType, isUndefined, isNull, isPlainObject, isEmptyObject, isArray, isString, isNumber, isBoolean, isRegExp, isMap, isSet, isSymbol, isDate, isError, isNaNValue, isPrimitive, isBigint, isInfinite, isTypedArray, isURL;
|
|
2101
1990
|
var init_is = __esm({
|
|
2102
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
1991
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.js"() {
|
|
2103
1992
|
getType = (payload) => Object.prototype.toString.call(payload).slice(8, -1);
|
|
2104
1993
|
isUndefined = (payload) => typeof payload === "undefined";
|
|
2105
1994
|
isNull = (payload) => payload === null;
|
|
@@ -2132,10 +2021,10 @@ var init_is = __esm({
|
|
|
2132
2021
|
}
|
|
2133
2022
|
});
|
|
2134
2023
|
|
|
2135
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2024
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.js
|
|
2136
2025
|
var escapeKey, stringifyPath, parsePath;
|
|
2137
2026
|
var init_pathstringifier = __esm({
|
|
2138
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2027
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.js"() {
|
|
2139
2028
|
escapeKey = (key) => key.replace(/\./g, "\\.");
|
|
2140
2029
|
stringifyPath = (path) => path.map(String).map(escapeKey).join(".");
|
|
2141
2030
|
parsePath = (string) => {
|
|
@@ -2164,7 +2053,7 @@ var init_pathstringifier = __esm({
|
|
|
2164
2053
|
}
|
|
2165
2054
|
});
|
|
2166
2055
|
|
|
2167
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2056
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.js
|
|
2168
2057
|
function simpleTransformation(isApplicable, annotation, transform, untransform) {
|
|
2169
2058
|
return {
|
|
2170
2059
|
isApplicable,
|
|
@@ -2190,7 +2079,7 @@ function isInstanceOfRegisteredClass(potentialClass, superJson) {
|
|
|
2190
2079
|
}
|
|
2191
2080
|
var simpleRules, symbolRule, constructorToName, typedArrayRule, classRule, customRule, compositeRules, transformValue, simpleRulesByAnnotation, untransformValue;
|
|
2192
2081
|
var init_transformer = __esm({
|
|
2193
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2082
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.js"() {
|
|
2194
2083
|
init_is();
|
|
2195
2084
|
init_util();
|
|
2196
2085
|
simpleRules = [
|
|
@@ -2303,7 +2192,7 @@ var init_transformer = __esm({
|
|
|
2303
2192
|
}, (v, a2, superJson) => {
|
|
2304
2193
|
const clazz = superJson.classRegistry.getValue(a2[1]);
|
|
2305
2194
|
if (!clazz) {
|
|
2306
|
-
throw new Error(
|
|
2195
|
+
throw new Error(`Trying to deserialize unknown class '${a2[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
|
|
2307
2196
|
}
|
|
2308
2197
|
return Object.assign(Object.create(clazz.prototype), v);
|
|
2309
2198
|
});
|
|
@@ -2369,7 +2258,7 @@ var init_transformer = __esm({
|
|
|
2369
2258
|
}
|
|
2370
2259
|
});
|
|
2371
2260
|
|
|
2372
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2261
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.js
|
|
2373
2262
|
function validatePath(path) {
|
|
2374
2263
|
if (includes(path, "__proto__")) {
|
|
2375
2264
|
throw new Error("__proto__ is not allowed as a property");
|
|
@@ -2383,10 +2272,12 @@ function validatePath(path) {
|
|
|
2383
2272
|
}
|
|
2384
2273
|
var getNthKey, getDeep, setDeep;
|
|
2385
2274
|
var init_accessDeep = __esm({
|
|
2386
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2275
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.js"() {
|
|
2387
2276
|
init_is();
|
|
2388
2277
|
init_util();
|
|
2389
2278
|
getNthKey = (value, n2) => {
|
|
2279
|
+
if (n2 > value.size)
|
|
2280
|
+
throw new Error("index out of bounds");
|
|
2390
2281
|
const keys2 = value.keys();
|
|
2391
2282
|
while (n2 > 0) {
|
|
2392
2283
|
keys2.next();
|
|
@@ -2490,7 +2381,7 @@ var init_accessDeep = __esm({
|
|
|
2490
2381
|
}
|
|
2491
2382
|
});
|
|
2492
2383
|
|
|
2493
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2384
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.js
|
|
2494
2385
|
function traverse(tree, walker2, origin = []) {
|
|
2495
2386
|
if (!tree) {
|
|
2496
2387
|
return;
|
|
@@ -2570,7 +2461,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2570
2461
|
}
|
|
2571
2462
|
var isDeep, walker;
|
|
2572
2463
|
var init_plainer = __esm({
|
|
2573
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2464
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.js"() {
|
|
2574
2465
|
init_is();
|
|
2575
2466
|
init_pathstringifier();
|
|
2576
2467
|
init_transformer();
|
|
@@ -2697,10 +2588,10 @@ var init_dist2 = __esm({
|
|
|
2697
2588
|
}
|
|
2698
2589
|
});
|
|
2699
2590
|
|
|
2700
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2591
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.js
|
|
2701
2592
|
var SuperJSON, serialize, stringify;
|
|
2702
2593
|
var init_dist3 = __esm({
|
|
2703
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2594
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.js"() {
|
|
2704
2595
|
init_class_registry();
|
|
2705
2596
|
init_registry();
|
|
2706
2597
|
init_custom_transformer_registry();
|
|
@@ -2965,7 +2856,7 @@ var init_utils = __esm({
|
|
|
2965
2856
|
}
|
|
2966
2857
|
});
|
|
2967
2858
|
|
|
2968
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2859
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
2969
2860
|
function chain(callbacks) {
|
|
2970
2861
|
return (...args) => {
|
|
2971
2862
|
for (const callback of callbacks)
|
|
@@ -3008,7 +2899,7 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3008
2899
|
}
|
|
3009
2900
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3010
2901
|
var init_R5675YMU = __esm({
|
|
3011
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2902
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3012
2903
|
init_solid();
|
|
3013
2904
|
init_web();
|
|
3014
2905
|
isClient = !isServer;
|
|
@@ -3022,14 +2913,14 @@ var init_R5675YMU = __esm({
|
|
|
3022
2913
|
}
|
|
3023
2914
|
});
|
|
3024
2915
|
|
|
3025
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2916
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3026
2917
|
var init_index = __esm({
|
|
3027
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2918
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3028
2919
|
init_R5675YMU();
|
|
3029
2920
|
}
|
|
3030
2921
|
});
|
|
3031
2922
|
|
|
3032
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
2923
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.7/node_modules/@solid-primitives/storage/dist/index.js
|
|
3033
2924
|
function createStorage(props) {
|
|
3034
2925
|
const [error, setError] = createSignal();
|
|
3035
2926
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3174,7 +3065,7 @@ function createStorage(props) {
|
|
|
3174
3065
|
}
|
|
3175
3066
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3176
3067
|
var init_dist4 = __esm({
|
|
3177
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3068
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.7/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3178
3069
|
init_solid();
|
|
3179
3070
|
createLocalStorage = createStorage;
|
|
3180
3071
|
addClearMethod = (storage) => {
|
|
@@ -3193,15 +3084,15 @@ var init_dist4 = __esm({
|
|
|
3193
3084
|
if (!options) {
|
|
3194
3085
|
return "";
|
|
3195
3086
|
}
|
|
3196
|
-
let
|
|
3087
|
+
let memo2 = "";
|
|
3197
3088
|
for (const key in options) {
|
|
3198
3089
|
if (!options.hasOwnProperty(key)) {
|
|
3199
3090
|
continue;
|
|
3200
3091
|
}
|
|
3201
3092
|
const value = options[key];
|
|
3202
|
-
|
|
3093
|
+
memo2 += value instanceof Date ? `; ${key}=${value.toUTCString()}` : typeof value === "boolean" ? `; ${key}` : `; ${key}=${value}`;
|
|
3203
3094
|
}
|
|
3204
|
-
return
|
|
3095
|
+
return memo2;
|
|
3205
3096
|
};
|
|
3206
3097
|
cookieStorage = addClearMethod({
|
|
3207
3098
|
_cookies: [globalThis.document, "cookie"],
|
|
@@ -3935,7 +3826,7 @@ var init_clsx = __esm({
|
|
|
3935
3826
|
}
|
|
3936
3827
|
});
|
|
3937
3828
|
|
|
3938
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3829
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.7/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
3939
3830
|
function createListTransition(source, options) {
|
|
3940
3831
|
const initSource = untrack(source);
|
|
3941
3832
|
if (isServer) {
|
|
@@ -4001,13 +3892,13 @@ function createListTransition(source, options) {
|
|
|
4001
3892
|
);
|
|
4002
3893
|
}
|
|
4003
3894
|
var init_dist5 = __esm({
|
|
4004
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3895
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.7/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4005
3896
|
init_solid();
|
|
4006
3897
|
init_web();
|
|
4007
3898
|
}
|
|
4008
3899
|
});
|
|
4009
3900
|
|
|
4010
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
3901
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.7/node_modules/@solid-primitives/refs/dist/index.js
|
|
4011
3902
|
function mergeRefs(...refs) {
|
|
4012
3903
|
return chain(refs);
|
|
4013
3904
|
}
|
|
@@ -4029,18 +3920,18 @@ function getResolvedElements(value, predicate) {
|
|
|
4029
3920
|
}
|
|
4030
3921
|
function resolveElements(fn, predicate = defaultElementPredicate, serverPredicate = defaultElementPredicate) {
|
|
4031
3922
|
const children2 = createMemo(fn);
|
|
4032
|
-
const
|
|
3923
|
+
const memo2 = createMemo(
|
|
4033
3924
|
() => getResolvedElements(children2(), isServer ? serverPredicate : predicate)
|
|
4034
3925
|
);
|
|
4035
|
-
|
|
4036
|
-
const value =
|
|
3926
|
+
memo2.toArray = () => {
|
|
3927
|
+
const value = memo2();
|
|
4037
3928
|
return Array.isArray(value) ? value : value ? [value] : [];
|
|
4038
3929
|
};
|
|
4039
|
-
return
|
|
3930
|
+
return memo2;
|
|
4040
3931
|
}
|
|
4041
3932
|
var defaultElementPredicate;
|
|
4042
3933
|
var init_dist6 = __esm({
|
|
4043
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
3934
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.7/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4044
3935
|
init_index();
|
|
4045
3936
|
init_solid();
|
|
4046
3937
|
init_web();
|
|
@@ -4048,7 +3939,7 @@ var init_dist6 = __esm({
|
|
|
4048
3939
|
}
|
|
4049
3940
|
});
|
|
4050
3941
|
|
|
4051
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
3942
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.7/node_modules/solid-transition-group/dist/index.js
|
|
4052
3943
|
function createClassnames(props) {
|
|
4053
3944
|
return createMemo(() => {
|
|
4054
3945
|
const name = props.name || "s";
|
|
@@ -4123,7 +4014,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4123
4014
|
}
|
|
4124
4015
|
var TransitionGroup;
|
|
4125
4016
|
var init_dist7 = __esm({
|
|
4126
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4017
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.7/node_modules/solid-transition-group/dist/index.js"() {
|
|
4127
4018
|
init_solid();
|
|
4128
4019
|
init_dist5();
|
|
4129
4020
|
init_dist6();
|
|
@@ -4176,7 +4067,7 @@ var init_dist7 = __esm({
|
|
|
4176
4067
|
}
|
|
4177
4068
|
});
|
|
4178
4069
|
|
|
4179
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4070
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4180
4071
|
function dispose2(list) {
|
|
4181
4072
|
for (const o2 of list)
|
|
4182
4073
|
o2.dispose();
|
|
@@ -4274,14 +4165,14 @@ function Key(props) {
|
|
|
4274
4165
|
}
|
|
4275
4166
|
var FALLBACK2;
|
|
4276
4167
|
var init_dist8 = __esm({
|
|
4277
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4168
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4278
4169
|
init_solid();
|
|
4279
4170
|
init_web();
|
|
4280
4171
|
FALLBACK2 = Symbol("fallback");
|
|
4281
4172
|
}
|
|
4282
4173
|
});
|
|
4283
4174
|
|
|
4284
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4175
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.7/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4285
4176
|
function makeEventListener(target, type, handler, options) {
|
|
4286
4177
|
target.addEventListener(type, handler, options);
|
|
4287
4178
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4301,14 +4192,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4301
4192
|
createRenderEffect(attachListeners);
|
|
4302
4193
|
}
|
|
4303
4194
|
var init_dist9 = __esm({
|
|
4304
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4195
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.7/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4305
4196
|
init_index();
|
|
4306
4197
|
init_solid();
|
|
4307
4198
|
init_web();
|
|
4308
4199
|
}
|
|
4309
4200
|
});
|
|
4310
4201
|
|
|
4311
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4202
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.7/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4312
4203
|
function makeResizeObserver(callback, options) {
|
|
4313
4204
|
if (isServer) {
|
|
4314
4205
|
return { observe: noop, unobserve: noop };
|
|
@@ -4339,14 +4230,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4339
4230
|
}, []);
|
|
4340
4231
|
}
|
|
4341
4232
|
var init_dist10 = __esm({
|
|
4342
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4233
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.7/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4343
4234
|
init_index();
|
|
4344
4235
|
init_solid();
|
|
4345
4236
|
init_web();
|
|
4346
4237
|
}
|
|
4347
4238
|
});
|
|
4348
4239
|
|
|
4349
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4240
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.7/node_modules/@solid-primitives/props/dist/index.js
|
|
4350
4241
|
function stringStyleToObject(style2) {
|
|
4351
4242
|
const object = {};
|
|
4352
4243
|
let match;
|
|
@@ -4367,12 +4258,12 @@ function combineStyle(a2, b2) {
|
|
|
4367
4258
|
}
|
|
4368
4259
|
var extractCSSregex;
|
|
4369
4260
|
var init_dist11 = __esm({
|
|
4370
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4261
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.7/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4371
4262
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4372
4263
|
}
|
|
4373
4264
|
});
|
|
4374
4265
|
|
|
4375
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4266
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.7/node_modules/@kobalte/utils/dist/index.js
|
|
4376
4267
|
function addItemToArray(array, item, index = -1) {
|
|
4377
4268
|
if (!(index in array)) {
|
|
4378
4269
|
return [...array, item];
|
|
@@ -4758,7 +4649,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4758
4649
|
}
|
|
4759
4650
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4760
4651
|
var init_dist12 = __esm({
|
|
4761
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4652
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.7/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4762
4653
|
init_solid();
|
|
4763
4654
|
init_dist9();
|
|
4764
4655
|
init_dist6();
|
|
@@ -4823,7 +4714,7 @@ var init_dist12 = __esm({
|
|
|
4823
4714
|
}
|
|
4824
4715
|
});
|
|
4825
4716
|
|
|
4826
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4717
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
4827
4718
|
function createRegisterId(setter) {
|
|
4828
4719
|
return (id) => {
|
|
4829
4720
|
setter(id);
|
|
@@ -4831,11 +4722,11 @@ function createRegisterId(setter) {
|
|
|
4831
4722
|
};
|
|
4832
4723
|
}
|
|
4833
4724
|
var init_E4R2EMM4 = __esm({
|
|
4834
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4725
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
4835
4726
|
}
|
|
4836
4727
|
});
|
|
4837
4728
|
|
|
4838
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4729
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
4839
4730
|
function createTagName(ref, fallback) {
|
|
4840
4731
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
4841
4732
|
createEffect(() => {
|
|
@@ -4847,13 +4738,13 @@ function stringOrUndefined(value) {
|
|
|
4847
4738
|
return isString2(value) ? value : void 0;
|
|
4848
4739
|
}
|
|
4849
4740
|
var init_ET5T45DO = __esm({
|
|
4850
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4741
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
4851
4742
|
init_dist12();
|
|
4852
4743
|
init_solid();
|
|
4853
4744
|
}
|
|
4854
4745
|
});
|
|
4855
4746
|
|
|
4856
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4747
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
4857
4748
|
function Polymorphic(props) {
|
|
4858
4749
|
const [local, others] = splitProps(props, ["as"]);
|
|
4859
4750
|
if (!local.as) {
|
|
@@ -4869,13 +4760,13 @@ function Polymorphic(props) {
|
|
|
4869
4760
|
);
|
|
4870
4761
|
}
|
|
4871
4762
|
var init_Y7B2NEO = __esm({
|
|
4872
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4763
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
4873
4764
|
init_web();
|
|
4874
4765
|
init_solid();
|
|
4875
4766
|
}
|
|
4876
4767
|
});
|
|
4877
4768
|
|
|
4878
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4769
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
4879
4770
|
function createFormControl(props) {
|
|
4880
4771
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
4881
4772
|
const mergedProps = mergeDefaultProps({
|
|
@@ -4990,13 +4881,13 @@ function FormControlLabel(props) {
|
|
|
4990
4881
|
typeof _ref$ === "function" && _ref$(r$);
|
|
4991
4882
|
},
|
|
4992
4883
|
get ["for"]() {
|
|
4993
|
-
return
|
|
4884
|
+
return memo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
4994
4885
|
}
|
|
4995
4886
|
}, () => context.dataset(), others));
|
|
4996
4887
|
}
|
|
4997
4888
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
4998
4889
|
var init_Q2DJLZQE = __esm({
|
|
4999
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4890
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5000
4891
|
init_E4R2EMM4();
|
|
5001
4892
|
init_ET5T45DO();
|
|
5002
4893
|
init_Y7B2NEO();
|
|
@@ -5008,7 +4899,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5008
4899
|
}
|
|
5009
4900
|
});
|
|
5010
4901
|
|
|
5011
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4902
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5012
4903
|
function createFormResetListener(element, handler) {
|
|
5013
4904
|
createEffect(
|
|
5014
4905
|
on(element, (element2) => {
|
|
@@ -5033,12 +4924,12 @@ function isFormElement(element) {
|
|
|
5033
4924
|
return element.matches("textarea, input, select, button");
|
|
5034
4925
|
}
|
|
5035
4926
|
var init_ANN3A2QM = __esm({
|
|
5036
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4927
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5037
4928
|
init_solid();
|
|
5038
4929
|
}
|
|
5039
4930
|
});
|
|
5040
4931
|
|
|
5041
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4932
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5042
4933
|
function createControllableSignal(props) {
|
|
5043
4934
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5044
4935
|
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
@@ -5068,13 +4959,13 @@ function createControllableArraySignal(props) {
|
|
|
5068
4959
|
return [value, setValue];
|
|
5069
4960
|
}
|
|
5070
4961
|
var init_BLN63FDC = __esm({
|
|
5071
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4962
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5072
4963
|
init_dist12();
|
|
5073
4964
|
init_solid();
|
|
5074
4965
|
}
|
|
5075
4966
|
});
|
|
5076
4967
|
|
|
5077
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4968
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5078
4969
|
function createToggleState(props = {}) {
|
|
5079
4970
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5080
4971
|
value: () => access(props.isSelected),
|
|
@@ -5098,16 +4989,16 @@ function createToggleState(props = {}) {
|
|
|
5098
4989
|
};
|
|
5099
4990
|
}
|
|
5100
4991
|
var init_YGDQXQ2B = __esm({
|
|
5101
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4992
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5102
4993
|
init_BLN63FDC();
|
|
5103
4994
|
init_dist12();
|
|
5104
4995
|
}
|
|
5105
4996
|
});
|
|
5106
4997
|
|
|
5107
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4998
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5108
4999
|
var __defProp2, __export2;
|
|
5109
5000
|
var init_ZKAE4VZ = __esm({
|
|
5110
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5001
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5111
5002
|
__defProp2 = Object.defineProperty;
|
|
5112
5003
|
__export2 = (target, all) => {
|
|
5113
5004
|
for (var name in all)
|
|
@@ -5116,7 +5007,7 @@ var init_ZKAE4VZ = __esm({
|
|
|
5116
5007
|
}
|
|
5117
5008
|
});
|
|
5118
5009
|
|
|
5119
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5010
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5120
5011
|
function useOptionalDomCollectionContext() {
|
|
5121
5012
|
return useContext(DomCollectionContext);
|
|
5122
5013
|
}
|
|
@@ -5280,7 +5171,7 @@ function createDomCollectionItem(props) {
|
|
|
5280
5171
|
}
|
|
5281
5172
|
var DomCollectionContext;
|
|
5282
5173
|
var init_CVNMTYF = __esm({
|
|
5283
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5174
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5284
5175
|
init_BLN63FDC();
|
|
5285
5176
|
init_dist12();
|
|
5286
5177
|
init_solid();
|
|
@@ -5288,7 +5179,7 @@ var init_CVNMTYF = __esm({
|
|
|
5288
5179
|
}
|
|
5289
5180
|
});
|
|
5290
5181
|
|
|
5291
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5182
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5292
5183
|
function buildNodes(params) {
|
|
5293
5184
|
let index = params.startIndex ?? 0;
|
|
5294
5185
|
const level = params.startLevel ?? 0;
|
|
@@ -5397,13 +5288,13 @@ function createCollection(props, deps = []) {
|
|
|
5397
5288
|
});
|
|
5398
5289
|
}
|
|
5399
5290
|
var init_JMA2RWU6 = __esm({
|
|
5400
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5291
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5401
5292
|
init_dist12();
|
|
5402
5293
|
init_solid();
|
|
5403
5294
|
}
|
|
5404
5295
|
});
|
|
5405
5296
|
|
|
5406
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5297
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5407
5298
|
function isRTL(locale) {
|
|
5408
5299
|
if (Intl.Locale) {
|
|
5409
5300
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5480,7 +5371,7 @@ function createCollator(options) {
|
|
|
5480
5371
|
}
|
|
5481
5372
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5482
5373
|
var init_XHJPQEZP = __esm({
|
|
5483
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5374
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5484
5375
|
init_solid();
|
|
5485
5376
|
init_web();
|
|
5486
5377
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5525,7 +5416,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5525
5416
|
}
|
|
5526
5417
|
});
|
|
5527
5418
|
|
|
5528
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5419
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5529
5420
|
function createControllableSelectionSignal(props) {
|
|
5530
5421
|
const [_value, setValue] = createControllableSignal(props);
|
|
5531
5422
|
const value = () => _value() ?? new Selection();
|
|
@@ -6134,7 +6025,7 @@ function createListState(props) {
|
|
|
6134
6025
|
}
|
|
6135
6026
|
var Selection, SelectionManager, ListCollection;
|
|
6136
6027
|
var init_H6DSIDEC = __esm({
|
|
6137
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6028
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6138
6029
|
init_JMA2RWU6();
|
|
6139
6030
|
init_XHJPQEZP();
|
|
6140
6031
|
init_BLN63FDC();
|
|
@@ -6520,25 +6411,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6520
6411
|
}
|
|
6521
6412
|
});
|
|
6522
6413
|
|
|
6523
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6414
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6524
6415
|
var access2;
|
|
6525
6416
|
var init_ZV6G25TT = __esm({
|
|
6526
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6417
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6527
6418
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6528
6419
|
}
|
|
6529
6420
|
});
|
|
6530
6421
|
|
|
6531
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6422
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6532
6423
|
var init_reactivity = __esm({
|
|
6533
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6424
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6534
6425
|
init_ZV6G25TT();
|
|
6535
6426
|
}
|
|
6536
6427
|
});
|
|
6537
6428
|
|
|
6538
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6429
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.7/node_modules/solid-presence/dist/index.js
|
|
6539
6430
|
var createPresence, presence_default, src_default;
|
|
6540
6431
|
var init_dist13 = __esm({
|
|
6541
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6432
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.7/node_modules/solid-presence/dist/index.js"() {
|
|
6542
6433
|
init_reactivity();
|
|
6543
6434
|
init_solid();
|
|
6544
6435
|
createPresence = (props) => {
|
|
@@ -6609,7 +6500,7 @@ var init_dist13 = __esm({
|
|
|
6609
6500
|
}
|
|
6610
6501
|
});
|
|
6611
6502
|
|
|
6612
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6503
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6613
6504
|
function indexOf(node) {
|
|
6614
6505
|
return layers.findIndex((layer) => layer.node === node);
|
|
6615
6506
|
}
|
|
@@ -6670,7 +6561,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6670
6561
|
}
|
|
6671
6562
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6672
6563
|
var init_ZKYDDHM6 = __esm({
|
|
6673
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6564
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6674
6565
|
init_dist12();
|
|
6675
6566
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6676
6567
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6691,7 +6582,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6691
6582
|
}
|
|
6692
6583
|
});
|
|
6693
6584
|
|
|
6694
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6585
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6695
6586
|
function isButton(element) {
|
|
6696
6587
|
const tagName = element.tagName.toLowerCase();
|
|
6697
6588
|
if (tagName === "button") {
|
|
@@ -6753,7 +6644,7 @@ function ButtonRoot(props) {
|
|
|
6753
6644
|
}
|
|
6754
6645
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6755
6646
|
var init_OVKXYPU = __esm({
|
|
6756
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6647
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6757
6648
|
init_ET5T45DO();
|
|
6758
6649
|
init_Y7B2NEO();
|
|
6759
6650
|
init_ZKAE4VZ();
|
|
@@ -8258,7 +8149,7 @@ var init_floating_ui_dom = __esm({
|
|
|
8258
8149
|
}
|
|
8259
8150
|
});
|
|
8260
8151
|
|
|
8261
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8152
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8262
8153
|
function usePopperContext() {
|
|
8263
8154
|
const context = useContext(PopperContext);
|
|
8264
8155
|
if (context === void 0) {
|
|
@@ -8563,7 +8454,7 @@ function PopperRoot(props) {
|
|
|
8563
8454
|
}
|
|
8564
8455
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8565
8456
|
var init_X2EKUJ3 = __esm({
|
|
8566
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8457
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8567
8458
|
init_XHJPQEZP();
|
|
8568
8459
|
init_Y7B2NEO();
|
|
8569
8460
|
init_web();
|
|
@@ -8596,7 +8487,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8596
8487
|
}
|
|
8597
8488
|
});
|
|
8598
8489
|
|
|
8599
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8490
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8600
8491
|
function createEscapeKeyDown(props) {
|
|
8601
8492
|
const handleKeyDown = (event) => {
|
|
8602
8493
|
if (event.key === EventKey.Escape) {
|
|
@@ -8618,14 +8509,14 @@ function createEscapeKeyDown(props) {
|
|
|
8618
8509
|
});
|
|
8619
8510
|
}
|
|
8620
8511
|
var init_QEMPLYZX = __esm({
|
|
8621
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8512
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8622
8513
|
init_dist12();
|
|
8623
8514
|
init_solid();
|
|
8624
8515
|
init_web();
|
|
8625
8516
|
}
|
|
8626
8517
|
});
|
|
8627
8518
|
|
|
8628
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8519
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8629
8520
|
function createInteractOutside(props, ref) {
|
|
8630
8521
|
let pointerDownTimeoutId;
|
|
8631
8522
|
let clickHandler = noop3;
|
|
@@ -8726,7 +8617,7 @@ function createInteractOutside(props, ref) {
|
|
|
8726
8617
|
}
|
|
8727
8618
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8728
8619
|
var init_QGCMYLTA = __esm({
|
|
8729
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8620
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8730
8621
|
init_ZKYDDHM6();
|
|
8731
8622
|
init_dist12();
|
|
8732
8623
|
init_solid();
|
|
@@ -8736,7 +8627,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8736
8627
|
}
|
|
8737
8628
|
});
|
|
8738
8629
|
|
|
8739
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8630
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8740
8631
|
function useOptionalDismissableLayerContext() {
|
|
8741
8632
|
return useContext(DismissableLayerContext);
|
|
8742
8633
|
}
|
|
@@ -8855,7 +8746,7 @@ function DismissableLayer(props) {
|
|
|
8855
8746
|
}
|
|
8856
8747
|
var DismissableLayerContext;
|
|
8857
8748
|
var init_G7G3PFRJ = __esm({
|
|
8858
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8749
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
8859
8750
|
init_QEMPLYZX();
|
|
8860
8751
|
init_QGCMYLTA();
|
|
8861
8752
|
init_ZKYDDHM6();
|
|
@@ -8867,7 +8758,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
8867
8758
|
}
|
|
8868
8759
|
});
|
|
8869
8760
|
|
|
8870
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8761
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
8871
8762
|
function createDisclosureState(props = {}) {
|
|
8872
8763
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
8873
8764
|
value: () => access(props.open),
|
|
@@ -8892,13 +8783,13 @@ function createDisclosureState(props = {}) {
|
|
|
8892
8783
|
};
|
|
8893
8784
|
}
|
|
8894
8785
|
var init_LCANGHD = __esm({
|
|
8895
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8786
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
8896
8787
|
init_BLN63FDC();
|
|
8897
8788
|
init_dist12();
|
|
8898
8789
|
}
|
|
8899
8790
|
});
|
|
8900
8791
|
|
|
8901
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8792
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
8902
8793
|
function useRadioGroupContext() {
|
|
8903
8794
|
const context = useContext(RadioGroupContext);
|
|
8904
8795
|
if (context === void 0) {
|
|
@@ -9233,7 +9124,7 @@ function RadioGroupRoot(props) {
|
|
|
9233
9124
|
}
|
|
9234
9125
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9235
9126
|
var init_Q2BOFK7I = __esm({
|
|
9236
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9127
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9237
9128
|
init_Q2DJLZQE();
|
|
9238
9129
|
init_ANN3A2QM();
|
|
9239
9130
|
init_E4R2EMM4();
|
|
@@ -9275,7 +9166,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9275
9166
|
}
|
|
9276
9167
|
});
|
|
9277
9168
|
|
|
9278
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9169
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9279
9170
|
function createSelectableList(props, ref, scrollRef) {
|
|
9280
9171
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9281
9172
|
const delegate = createMemo(() => {
|
|
@@ -9305,7 +9196,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9305
9196
|
}
|
|
9306
9197
|
var ListKeyboardDelegate;
|
|
9307
9198
|
var init_GLKC2QFF = __esm({
|
|
9308
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9199
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9309
9200
|
init_H6DSIDEC();
|
|
9310
9201
|
init_XHJPQEZP();
|
|
9311
9202
|
init_dist12();
|
|
@@ -9419,7 +9310,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9419
9310
|
}
|
|
9420
9311
|
});
|
|
9421
9312
|
|
|
9422
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9313
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9423
9314
|
function createFocusScope(props, ref) {
|
|
9424
9315
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9425
9316
|
const focusScope = {
|
|
@@ -9597,7 +9488,7 @@ function createFocusScope(props, ref) {
|
|
|
9597
9488
|
}
|
|
9598
9489
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9599
9490
|
var init_ISKHZMHS = __esm({
|
|
9600
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9491
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9601
9492
|
init_ZKYDDHM6();
|
|
9602
9493
|
init_dist12();
|
|
9603
9494
|
init_solid();
|
|
@@ -9629,15 +9520,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9629
9520
|
}
|
|
9630
9521
|
});
|
|
9631
9522
|
|
|
9632
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9523
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9633
9524
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9634
9525
|
var init_YA7DCYMB = __esm({
|
|
9635
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9526
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9636
9527
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9637
9528
|
}
|
|
9638
9529
|
});
|
|
9639
9530
|
|
|
9640
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9531
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9641
9532
|
function createHideOutside(props) {
|
|
9642
9533
|
createEffect(() => {
|
|
9643
9534
|
if (access(props.isDisabled)) {
|
|
@@ -9756,7 +9647,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9756
9647
|
}
|
|
9757
9648
|
var refCountMap, observerStack;
|
|
9758
9649
|
var init_TZGE2AQH = __esm({
|
|
9759
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9650
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9760
9651
|
init_YA7DCYMB();
|
|
9761
9652
|
init_ZKYDDHM6();
|
|
9762
9653
|
init_dist12();
|
|
@@ -9766,10 +9657,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9766
9657
|
}
|
|
9767
9658
|
});
|
|
9768
9659
|
|
|
9769
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9660
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9770
9661
|
var activeStyles, createStyle, style_default;
|
|
9771
9662
|
var init_HD4B7J7A = __esm({
|
|
9772
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9663
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9773
9664
|
init_ZV6G25TT();
|
|
9774
9665
|
init_solid();
|
|
9775
9666
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -9820,17 +9711,17 @@ var init_HD4B7J7A = __esm({
|
|
|
9820
9711
|
}
|
|
9821
9712
|
});
|
|
9822
9713
|
|
|
9823
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9714
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/create/style.js
|
|
9824
9715
|
var init_style = __esm({
|
|
9825
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9716
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
9826
9717
|
init_HD4B7J7A();
|
|
9827
9718
|
}
|
|
9828
9719
|
});
|
|
9829
9720
|
|
|
9830
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9721
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/scroll/index.js
|
|
9831
9722
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
9832
9723
|
var init_scroll = __esm({
|
|
9833
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9724
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
9834
9725
|
getScrollDimensions = (element, axis) => {
|
|
9835
9726
|
switch (axis) {
|
|
9836
9727
|
case "x":
|
|
@@ -9872,10 +9763,10 @@ var init_scroll = __esm({
|
|
|
9872
9763
|
}
|
|
9873
9764
|
});
|
|
9874
9765
|
|
|
9875
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9766
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.7/node_modules/solid-prevent-scroll/dist/index.js
|
|
9876
9767
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
9877
9768
|
var init_dist14 = __esm({
|
|
9878
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9769
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.7/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
9879
9770
|
init_reactivity();
|
|
9880
9771
|
init_solid();
|
|
9881
9772
|
init_style();
|
|
@@ -10059,7 +9950,7 @@ var init_dist14 = __esm({
|
|
|
10059
9950
|
}
|
|
10060
9951
|
});
|
|
10061
9952
|
|
|
10062
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9953
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10063
9954
|
function useOptionalMenuContext() {
|
|
10064
9955
|
return useContext(MenuContext);
|
|
10065
9956
|
}
|
|
@@ -10398,7 +10289,7 @@ function MenuTrigger(props) {
|
|
|
10398
10289
|
return context.isOpen();
|
|
10399
10290
|
},
|
|
10400
10291
|
get ["aria-controls"]() {
|
|
10401
|
-
return
|
|
10292
|
+
return memo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10402
10293
|
},
|
|
10403
10294
|
get ["data-highlighted"]() {
|
|
10404
10295
|
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
@@ -10557,7 +10448,7 @@ function MenuContentBase(props) {
|
|
|
10557
10448
|
get children() {
|
|
10558
10449
|
return createComponent(DismissableLayer, mergeProps({
|
|
10559
10450
|
get disableOutsidePointerEvents() {
|
|
10560
|
-
return
|
|
10451
|
+
return memo(() => !!isRootModalContent())() && context.isOpen();
|
|
10561
10452
|
},
|
|
10562
10453
|
get excludedElements() {
|
|
10563
10454
|
return [context.triggerRef];
|
|
@@ -11229,7 +11120,7 @@ function MenuSubTrigger(props) {
|
|
|
11229
11120
|
return context.isOpen();
|
|
11230
11121
|
},
|
|
11231
11122
|
get ["aria-controls"]() {
|
|
11232
|
-
return
|
|
11123
|
+
return memo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11233
11124
|
},
|
|
11234
11125
|
get ["aria-disabled"]() {
|
|
11235
11126
|
return local.disabled;
|
|
@@ -11302,7 +11193,7 @@ function MenuRoot(props) {
|
|
|
11302
11193
|
}
|
|
11303
11194
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11304
11195
|
var init_F4B62RP = __esm({
|
|
11305
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11196
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11306
11197
|
init_X2EKUJ3();
|
|
11307
11198
|
init_CVNMTYF();
|
|
11308
11199
|
init_GLKC2QFF();
|
|
@@ -11359,7 +11250,7 @@ var init_F4B62RP = __esm({
|
|
|
11359
11250
|
}
|
|
11360
11251
|
});
|
|
11361
11252
|
|
|
11362
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11253
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11363
11254
|
function SeparatorRoot(props) {
|
|
11364
11255
|
let ref;
|
|
11365
11256
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11386,7 +11277,7 @@ function SeparatorRoot(props) {
|
|
|
11386
11277
|
}
|
|
11387
11278
|
var separator_exports, Separator;
|
|
11388
11279
|
var init_STGRFJHZ = __esm({
|
|
11389
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11280
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11390
11281
|
init_ET5T45DO();
|
|
11391
11282
|
init_Y7B2NEO();
|
|
11392
11283
|
init_ZKAE4VZ();
|
|
@@ -11402,7 +11293,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11402
11293
|
}
|
|
11403
11294
|
});
|
|
11404
11295
|
|
|
11405
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11296
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11406
11297
|
function DropdownMenuContent(props) {
|
|
11407
11298
|
const rootContext = useMenuRootContext();
|
|
11408
11299
|
const context = useMenuContext();
|
|
@@ -11436,7 +11327,7 @@ function DropdownMenuRoot(props) {
|
|
|
11436
11327
|
}
|
|
11437
11328
|
var dropdown_menu_exports, DropdownMenu;
|
|
11438
11329
|
var init_V2JBZ7BJ = __esm({
|
|
11439
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11330
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11440
11331
|
init_F4B62RP();
|
|
11441
11332
|
init_STGRFJHZ();
|
|
11442
11333
|
init_X2EKUJ3();
|
|
@@ -11490,9 +11381,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11490
11381
|
}
|
|
11491
11382
|
});
|
|
11492
11383
|
|
|
11493
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11384
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/index.js
|
|
11494
11385
|
var init_dist15 = __esm({
|
|
11495
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11386
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/index.js"() {
|
|
11496
11387
|
init_Q2BOFK7I();
|
|
11497
11388
|
init_V2JBZ7BJ();
|
|
11498
11389
|
}
|
|
@@ -12322,7 +12213,7 @@ function Explorer(props) {
|
|
|
12322
12213
|
}), null);
|
|
12323
12214
|
insert(_el$12, createComponent(Show, {
|
|
12324
12215
|
get when() {
|
|
12325
|
-
return
|
|
12216
|
+
return memo(() => !!!!props.onEdit)() && !serialize(props.value).meta;
|
|
12326
12217
|
},
|
|
12327
12218
|
get children() {
|
|
12328
12219
|
var _el$13 = _tmpl$62();
|
|
@@ -12480,7 +12371,7 @@ function Explorer(props) {
|
|
|
12480
12371
|
insert(_el$17, () => props.label, _el$18);
|
|
12481
12372
|
insert(_el$16, createComponent(Show, {
|
|
12482
12373
|
get when() {
|
|
12483
|
-
return
|
|
12374
|
+
return memo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12484
12375
|
},
|
|
12485
12376
|
get fallback() {
|
|
12486
12377
|
return (() => {
|
|
@@ -12493,7 +12384,7 @@ function Explorer(props) {
|
|
|
12493
12384
|
get children() {
|
|
12494
12385
|
return [createComponent(Show, {
|
|
12495
12386
|
get when() {
|
|
12496
|
-
return
|
|
12387
|
+
return memo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12497
12388
|
},
|
|
12498
12389
|
get children() {
|
|
12499
12390
|
var _el$19 = _tmpl$92();
|
|
@@ -12900,7 +12791,7 @@ var init_Explorer = __esm({
|
|
|
12900
12791
|
});
|
|
12901
12792
|
|
|
12902
12793
|
// src/Devtools.tsx
|
|
12903
|
-
var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$03, _tmpl$111, _tmpl$103, _tmpl$112, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, _tmpl$332, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, offline, setOffline, Devtools, PiPPanel, ParentPanel, DraggablePanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, DEV_TOOLS_EVENT, sendDevToolsEvent, stylesFactory2, lightStyles2, darkStyles2;
|
|
12794
|
+
var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$03, _tmpl$111, _tmpl$103, _tmpl$112, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, _tmpl$332, _tmpl$34, _tmpl$35, _tmpl$36, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, offline, setOffline, Devtools, PiPPanel, ParentPanel, DraggablePanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, DEV_TOOLS_EVENT, sendDevToolsEvent, stylesFactory2, lightStyles2, darkStyles2;
|
|
12904
12795
|
var init_Devtools = __esm({
|
|
12905
12796
|
"src/Devtools.tsx"() {
|
|
12906
12797
|
init_web();
|
|
@@ -12947,23 +12838,26 @@ var init_Devtools = __esm({
|
|
|
12947
12838
|
_tmpl$142 = /* @__PURE__ */ template(`<span>Light`);
|
|
12948
12839
|
_tmpl$152 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12949
12840
|
_tmpl$162 = /* @__PURE__ */ template(`<span>System`);
|
|
12950
|
-
_tmpl$172 = /* @__PURE__ */ template(`<
|
|
12951
|
-
_tmpl$182 = /* @__PURE__ */ template(`<
|
|
12952
|
-
_tmpl$192 = /* @__PURE__ */ template(`<
|
|
12953
|
-
_tmpl$202 = /* @__PURE__ */ template(`<
|
|
12954
|
-
_tmpl$212 = /* @__PURE__ */ template(`<div class=tsqd-
|
|
12955
|
-
_tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-
|
|
12956
|
-
_tmpl$232 = /* @__PURE__ */ template(`<
|
|
12957
|
-
_tmpl$242 = /* @__PURE__ */ template(`<div
|
|
12958
|
-
_tmpl$252 = /* @__PURE__ */ template(`<
|
|
12959
|
-
_tmpl$262 = /* @__PURE__ */ template(`<button><
|
|
12960
|
-
_tmpl$27 = /* @__PURE__ */ template(`<
|
|
12961
|
-
_tmpl$28 = /* @__PURE__ */ template(`<
|
|
12962
|
-
_tmpl$29 = /* @__PURE__ */ template(`<
|
|
12963
|
-
_tmpl$30 = /* @__PURE__ */ template(`<
|
|
12964
|
-
_tmpl$31 = /* @__PURE__ */ template(`<div><
|
|
12965
|
-
_tmpl$322 = /* @__PURE__ */ template(`<
|
|
12966
|
-
_tmpl$332 = /* @__PURE__ */ template(`<
|
|
12841
|
+
_tmpl$172 = /* @__PURE__ */ template(`<span>Disabled Queries`);
|
|
12842
|
+
_tmpl$182 = /* @__PURE__ */ template(`<span>Show`);
|
|
12843
|
+
_tmpl$192 = /* @__PURE__ */ template(`<span>Hide`);
|
|
12844
|
+
_tmpl$202 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
12845
|
+
_tmpl$212 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
12846
|
+
_tmpl$222 = /* @__PURE__ */ template(`<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>`);
|
|
12847
|
+
_tmpl$232 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12848
|
+
_tmpl$242 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12849
|
+
_tmpl$252 = /* @__PURE__ */ template(`<div class=tsqd-query-static-indicator>static`);
|
|
12850
|
+
_tmpl$262 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12851
|
+
_tmpl$27 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12852
|
+
_tmpl$28 = /* @__PURE__ */ template(`<span>`);
|
|
12853
|
+
_tmpl$29 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12854
|
+
_tmpl$30 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12855
|
+
_tmpl$31 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12856
|
+
_tmpl$322 = /* @__PURE__ */ template(`<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">`);
|
|
12857
|
+
_tmpl$332 = /* @__PURE__ */ template(`<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save`);
|
|
12858
|
+
_tmpl$34 = /* @__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 </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
12859
|
+
_tmpl$35 = /* @__PURE__ */ template(`<option>`);
|
|
12860
|
+
_tmpl$36 = /* @__PURE__ */ template(`<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
12967
12861
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12968
12862
|
[selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
12969
12863
|
[panelWidth, setPanelWidth] = createSignal(0);
|
|
@@ -13019,7 +12913,7 @@ var init_Devtools = __esm({
|
|
|
13019
12913
|
const pip_open = createMemo(() => props.localStore.pip_open ?? "false");
|
|
13020
12914
|
return [createComponent(Show, {
|
|
13021
12915
|
get when() {
|
|
13022
|
-
return
|
|
12916
|
+
return memo(() => !!pip().pipWindow)() && pip_open() == "true";
|
|
13023
12917
|
},
|
|
13024
12918
|
get children() {
|
|
13025
12919
|
return createComponent(Portal, {
|
|
@@ -13044,7 +12938,7 @@ var init_Devtools = __esm({
|
|
|
13044
12938
|
get children() {
|
|
13045
12939
|
return createComponent(Show, {
|
|
13046
12940
|
get when() {
|
|
13047
|
-
return
|
|
12941
|
+
return memo(() => !!(isOpen() && !pip().pipWindow))() && pip_open() == "false";
|
|
13048
12942
|
},
|
|
13049
12943
|
get children() {
|
|
13050
12944
|
return createComponent(DraggablePanel, {
|
|
@@ -13378,9 +13272,12 @@ var init_Devtools = __esm({
|
|
|
13378
13272
|
const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
13379
13273
|
return queryCache().getAll().length;
|
|
13380
13274
|
}, false);
|
|
13381
|
-
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
|
|
13275
|
+
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder(), props.localStore.hideDisabledQueries], () => {
|
|
13382
13276
|
const curr = query_cache().getAll();
|
|
13383
|
-
|
|
13277
|
+
let filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
|
|
13278
|
+
if (props.localStore.hideDisabledQueries === "true") {
|
|
13279
|
+
filtered = filtered.filter((item) => !item.isDisabled());
|
|
13280
|
+
}
|
|
13384
13281
|
const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
|
|
13385
13282
|
return sorted;
|
|
13386
13283
|
}));
|
|
@@ -13405,7 +13302,7 @@ var init_Devtools = __esm({
|
|
|
13405
13302
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13406
13303
|
};
|
|
13407
13304
|
return [(() => {
|
|
13408
|
-
var _el$0 = _tmpl$
|
|
13305
|
+
var _el$0 = _tmpl$222(), _el$1 = _el$0.firstChild, _el$10 = _el$1.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling, _el$14 = _el$13.firstChild, _el$15 = _el$1.nextSibling, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$17.firstChild, _el$19 = _el$17.nextSibling, _el$22 = _el$19.nextSibling, _el$25 = _el$16.nextSibling, _el$26 = _el$25.firstChild, _el$27 = _el$26.nextSibling;
|
|
13409
13306
|
var _ref$4 = containerRef;
|
|
13410
13307
|
typeof _ref$4 === "function" ? use(_ref$4, _el$0) : containerRef = _el$0;
|
|
13411
13308
|
_el$11.$$click = () => {
|
|
@@ -13495,10 +13392,10 @@ var init_Devtools = __esm({
|
|
|
13495
13392
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13496
13393
|
});
|
|
13497
13394
|
insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
|
|
13498
|
-
var _el$
|
|
13499
|
-
_el$
|
|
13500
|
-
insert(_el$
|
|
13501
|
-
return _el$
|
|
13395
|
+
var _el$46 = _tmpl$232(); _el$46.firstChild;
|
|
13396
|
+
_el$46.value = key;
|
|
13397
|
+
insert(_el$46, key, null);
|
|
13398
|
+
return _el$46;
|
|
13502
13399
|
})()));
|
|
13503
13400
|
createRenderEffect(() => _el$20.value = sort());
|
|
13504
13401
|
return _el$20;
|
|
@@ -13514,10 +13411,10 @@ var init_Devtools = __esm({
|
|
|
13514
13411
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13515
13412
|
});
|
|
13516
13413
|
insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
13517
|
-
var _el$
|
|
13518
|
-
_el$
|
|
13519
|
-
insert(_el$
|
|
13520
|
-
return _el$
|
|
13414
|
+
var _el$48 = _tmpl$232(); _el$48.firstChild;
|
|
13415
|
+
_el$48.value = key;
|
|
13416
|
+
insert(_el$48, key, null);
|
|
13417
|
+
return _el$48;
|
|
13521
13418
|
})()));
|
|
13522
13419
|
createRenderEffect(() => _el$21.value = mutationSort());
|
|
13523
13420
|
return _el$21;
|
|
@@ -13565,12 +13462,12 @@ var init_Devtools = __esm({
|
|
|
13565
13462
|
onlineManager().setOnline(!onlineManager().isOnline());
|
|
13566
13463
|
};
|
|
13567
13464
|
insert(_el$27, (() => {
|
|
13568
|
-
var _c$ =
|
|
13465
|
+
var _c$ = memo(() => !!offline());
|
|
13569
13466
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
13570
13467
|
})());
|
|
13571
13468
|
insert(_el$25, createComponent(Show, {
|
|
13572
13469
|
get when() {
|
|
13573
|
-
return
|
|
13470
|
+
return memo(() => !!!pip().pipWindow)() && !pip().disabled;
|
|
13574
13471
|
},
|
|
13575
13472
|
get children() {
|
|
13576
13473
|
var _el$28 = _tmpl$83();
|
|
@@ -13595,7 +13492,7 @@ var init_Devtools = __esm({
|
|
|
13595
13492
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13596
13493
|
ref: (el) => setComputedVariables(el),
|
|
13597
13494
|
get mount() {
|
|
13598
|
-
return
|
|
13495
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13599
13496
|
},
|
|
13600
13497
|
get children() {
|
|
13601
13498
|
return createComponent(dropdown_menu_exports.Content, {
|
|
@@ -13627,7 +13524,7 @@ var init_Devtools = __esm({
|
|
|
13627
13524
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13628
13525
|
ref: (el) => setComputedVariables(el),
|
|
13629
13526
|
get mount() {
|
|
13630
|
-
return
|
|
13527
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13631
13528
|
},
|
|
13632
13529
|
get children() {
|
|
13633
13530
|
return createComponent(dropdown_menu_exports.SubContent, {
|
|
@@ -13702,7 +13599,7 @@ var init_Devtools = __esm({
|
|
|
13702
13599
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13703
13600
|
ref: (el) => setComputedVariables(el),
|
|
13704
13601
|
get mount() {
|
|
13705
|
-
return
|
|
13602
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13706
13603
|
},
|
|
13707
13604
|
get children() {
|
|
13708
13605
|
return createComponent(dropdown_menu_exports.SubContent, {
|
|
@@ -13749,6 +13646,71 @@ var init_Devtools = __esm({
|
|
|
13749
13646
|
}
|
|
13750
13647
|
})];
|
|
13751
13648
|
}
|
|
13649
|
+
}), createComponent(dropdown_menu_exports.Sub, {
|
|
13650
|
+
overlap: true,
|
|
13651
|
+
gutter: 8,
|
|
13652
|
+
shift: -4,
|
|
13653
|
+
get children() {
|
|
13654
|
+
return [createComponent(dropdown_menu_exports.SubTrigger, {
|
|
13655
|
+
get ["class"]() {
|
|
13656
|
+
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-disabled-queries");
|
|
13657
|
+
},
|
|
13658
|
+
get children() {
|
|
13659
|
+
return [_tmpl$172(), createComponent(ChevronDown, {})];
|
|
13660
|
+
}
|
|
13661
|
+
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13662
|
+
ref: (el) => setComputedVariables(el),
|
|
13663
|
+
get mount() {
|
|
13664
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13665
|
+
},
|
|
13666
|
+
get children() {
|
|
13667
|
+
return createComponent(dropdown_menu_exports.SubContent, {
|
|
13668
|
+
get ["class"]() {
|
|
13669
|
+
return clsx(styles().settingsMenu, "tsqd-settings-submenu");
|
|
13670
|
+
},
|
|
13671
|
+
get children() {
|
|
13672
|
+
return [createComponent(dropdown_menu_exports.Item, {
|
|
13673
|
+
onSelect: () => {
|
|
13674
|
+
props.setLocalStore("hideDisabledQueries", "false");
|
|
13675
|
+
},
|
|
13676
|
+
as: "button",
|
|
13677
|
+
get ["class"]() {
|
|
13678
|
+
return clsx(styles().settingsSubButton, props.localStore.hideDisabledQueries !== "true" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-show");
|
|
13679
|
+
},
|
|
13680
|
+
get children() {
|
|
13681
|
+
return [_tmpl$182(), createComponent(Show, {
|
|
13682
|
+
get when() {
|
|
13683
|
+
return props.localStore.hideDisabledQueries !== "true";
|
|
13684
|
+
},
|
|
13685
|
+
get children() {
|
|
13686
|
+
return createComponent(CheckCircle, {});
|
|
13687
|
+
}
|
|
13688
|
+
})];
|
|
13689
|
+
}
|
|
13690
|
+
}), createComponent(dropdown_menu_exports.Item, {
|
|
13691
|
+
onSelect: () => {
|
|
13692
|
+
props.setLocalStore("hideDisabledQueries", "true");
|
|
13693
|
+
},
|
|
13694
|
+
as: "button",
|
|
13695
|
+
get ["class"]() {
|
|
13696
|
+
return clsx(styles().settingsSubButton, props.localStore.hideDisabledQueries === "true" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-hide");
|
|
13697
|
+
},
|
|
13698
|
+
get children() {
|
|
13699
|
+
return [_tmpl$192(), createComponent(Show, {
|
|
13700
|
+
get when() {
|
|
13701
|
+
return props.localStore.hideDisabledQueries === "true";
|
|
13702
|
+
},
|
|
13703
|
+
get children() {
|
|
13704
|
+
return createComponent(CheckCircle, {});
|
|
13705
|
+
}
|
|
13706
|
+
})];
|
|
13707
|
+
}
|
|
13708
|
+
})];
|
|
13709
|
+
}
|
|
13710
|
+
});
|
|
13711
|
+
}
|
|
13712
|
+
})];
|
|
13713
|
+
}
|
|
13752
13714
|
})];
|
|
13753
13715
|
}
|
|
13754
13716
|
});
|
|
@@ -13761,8 +13723,8 @@ var init_Devtools = __esm({
|
|
|
13761
13723
|
return selectedView() === "queries";
|
|
13762
13724
|
},
|
|
13763
13725
|
get children() {
|
|
13764
|
-
var _el$
|
|
13765
|
-
insert(_el$
|
|
13726
|
+
var _el$42 = _tmpl$202(), _el$43 = _el$42.firstChild;
|
|
13727
|
+
insert(_el$43, createComponent(Key, {
|
|
13766
13728
|
by: (q) => q.queryHash,
|
|
13767
13729
|
get each() {
|
|
13768
13730
|
return queries();
|
|
@@ -13773,8 +13735,8 @@ var init_Devtools = __esm({
|
|
|
13773
13735
|
}
|
|
13774
13736
|
})
|
|
13775
13737
|
}));
|
|
13776
|
-
createRenderEffect(() => className(_el$
|
|
13777
|
-
return _el$
|
|
13738
|
+
createRenderEffect(() => className(_el$42, clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container")));
|
|
13739
|
+
return _el$42;
|
|
13778
13740
|
}
|
|
13779
13741
|
}), null);
|
|
13780
13742
|
insert(_el$0, createComponent(Show, {
|
|
@@ -13782,8 +13744,8 @@ var init_Devtools = __esm({
|
|
|
13782
13744
|
return selectedView() === "mutations";
|
|
13783
13745
|
},
|
|
13784
13746
|
get children() {
|
|
13785
|
-
var _el$
|
|
13786
|
-
insert(_el$
|
|
13747
|
+
var _el$44 = _tmpl$212(), _el$45 = _el$44.firstChild;
|
|
13748
|
+
insert(_el$45, createComponent(Key, {
|
|
13787
13749
|
by: (m) => m.mutationId,
|
|
13788
13750
|
get each() {
|
|
13789
13751
|
return mutations();
|
|
@@ -13794,8 +13756,8 @@ var init_Devtools = __esm({
|
|
|
13794
13756
|
}
|
|
13795
13757
|
})
|
|
13796
13758
|
}));
|
|
13797
|
-
createRenderEffect(() => className(_el$
|
|
13798
|
-
return _el$
|
|
13759
|
+
createRenderEffect(() => className(_el$44, clsx(styles().overflowQueryContainer, "tsqd-mutations-overflow-container")));
|
|
13760
|
+
return _el$44;
|
|
13799
13761
|
}
|
|
13800
13762
|
}), null);
|
|
13801
13763
|
createRenderEffect((_p$) => {
|
|
@@ -13853,14 +13815,14 @@ var init_Devtools = __esm({
|
|
|
13853
13815
|
return _el$0;
|
|
13854
13816
|
})(), createComponent(Show, {
|
|
13855
13817
|
get when() {
|
|
13856
|
-
return
|
|
13818
|
+
return memo(() => selectedView() === "queries")() && selectedQueryHash();
|
|
13857
13819
|
},
|
|
13858
13820
|
get children() {
|
|
13859
13821
|
return createComponent(QueryDetails, {});
|
|
13860
13822
|
}
|
|
13861
13823
|
}), createComponent(Show, {
|
|
13862
13824
|
get when() {
|
|
13863
|
-
return
|
|
13825
|
+
return memo(() => selectedView() === "mutations")() && selectedMutationId();
|
|
13864
13826
|
},
|
|
13865
13827
|
get children() {
|
|
13866
13828
|
return createComponent(MutationDetails, {});
|
|
@@ -13917,38 +13879,38 @@ var init_Devtools = __esm({
|
|
|
13917
13879
|
return queryState();
|
|
13918
13880
|
},
|
|
13919
13881
|
get children() {
|
|
13920
|
-
var _el$
|
|
13921
|
-
_el$
|
|
13922
|
-
insert(_el$
|
|
13923
|
-
insert(_el$
|
|
13924
|
-
insert(_el$
|
|
13882
|
+
var _el$50 = _tmpl$262(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
|
|
13883
|
+
_el$50.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13884
|
+
insert(_el$51, observers);
|
|
13885
|
+
insert(_el$52, () => props.query.queryHash);
|
|
13886
|
+
insert(_el$50, createComponent(Show, {
|
|
13925
13887
|
get when() {
|
|
13926
13888
|
return isDisabled();
|
|
13927
13889
|
},
|
|
13928
13890
|
get children() {
|
|
13929
|
-
return _tmpl$
|
|
13891
|
+
return _tmpl$242();
|
|
13930
13892
|
}
|
|
13931
13893
|
}), null);
|
|
13932
|
-
insert(_el$
|
|
13894
|
+
insert(_el$50, createComponent(Show, {
|
|
13933
13895
|
get when() {
|
|
13934
13896
|
return isStatic();
|
|
13935
13897
|
},
|
|
13936
13898
|
get children() {
|
|
13937
|
-
return _tmpl$
|
|
13899
|
+
return _tmpl$252();
|
|
13938
13900
|
}
|
|
13939
13901
|
}), null);
|
|
13940
13902
|
createRenderEffect((_p$) => {
|
|
13941
13903
|
var _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");
|
|
13942
|
-
_v$24 !== _p$.e && className(_el$
|
|
13943
|
-
_v$25 !== _p$.t && setAttribute(_el$
|
|
13944
|
-
_v$26 !== _p$.a && className(_el$
|
|
13904
|
+
_v$24 !== _p$.e && className(_el$50, _p$.e = _v$24);
|
|
13905
|
+
_v$25 !== _p$.t && setAttribute(_el$50, "aria-label", _p$.t = _v$25);
|
|
13906
|
+
_v$26 !== _p$.a && className(_el$51, _p$.a = _v$26);
|
|
13945
13907
|
return _p$;
|
|
13946
13908
|
}, {
|
|
13947
13909
|
e: void 0,
|
|
13948
13910
|
t: void 0,
|
|
13949
13911
|
a: void 0
|
|
13950
13912
|
});
|
|
13951
|
-
return _el$
|
|
13913
|
+
return _el$50;
|
|
13952
13914
|
}
|
|
13953
13915
|
});
|
|
13954
13916
|
};
|
|
@@ -14003,11 +13965,11 @@ var init_Devtools = __esm({
|
|
|
14003
13965
|
return mutationState();
|
|
14004
13966
|
},
|
|
14005
13967
|
get children() {
|
|
14006
|
-
var _el$
|
|
14007
|
-
_el$
|
|
13968
|
+
var _el$55 = _tmpl$262(), _el$56 = _el$55.firstChild, _el$57 = _el$56.nextSibling;
|
|
13969
|
+
_el$55.$$click = () => {
|
|
14008
13970
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
14009
13971
|
};
|
|
14010
|
-
insert(_el$
|
|
13972
|
+
insert(_el$56, createComponent(Show, {
|
|
14011
13973
|
get when() {
|
|
14012
13974
|
return color() === "purple";
|
|
14013
13975
|
},
|
|
@@ -14015,7 +13977,7 @@ var init_Devtools = __esm({
|
|
|
14015
13977
|
return createComponent(PauseCircle, {});
|
|
14016
13978
|
}
|
|
14017
13979
|
}), null);
|
|
14018
|
-
insert(_el$
|
|
13980
|
+
insert(_el$56, createComponent(Show, {
|
|
14019
13981
|
get when() {
|
|
14020
13982
|
return color() === "green";
|
|
14021
13983
|
},
|
|
@@ -14023,7 +13985,7 @@ var init_Devtools = __esm({
|
|
|
14023
13985
|
return createComponent(CheckCircle, {});
|
|
14024
13986
|
}
|
|
14025
13987
|
}), null);
|
|
14026
|
-
insert(_el$
|
|
13988
|
+
insert(_el$56, createComponent(Show, {
|
|
14027
13989
|
get when() {
|
|
14028
13990
|
return color() === "red";
|
|
14029
13991
|
},
|
|
@@ -14031,7 +13993,7 @@ var init_Devtools = __esm({
|
|
|
14031
13993
|
return createComponent(XCircle, {});
|
|
14032
13994
|
}
|
|
14033
13995
|
}), null);
|
|
14034
|
-
insert(_el$
|
|
13996
|
+
insert(_el$56, createComponent(Show, {
|
|
14035
13997
|
get when() {
|
|
14036
13998
|
return color() === "yellow";
|
|
14037
13999
|
},
|
|
@@ -14039,27 +14001,27 @@ var init_Devtools = __esm({
|
|
|
14039
14001
|
return createComponent(LoadingCircle, {});
|
|
14040
14002
|
}
|
|
14041
14003
|
}), null);
|
|
14042
|
-
insert(_el$
|
|
14004
|
+
insert(_el$57, createComponent(Show, {
|
|
14043
14005
|
get when() {
|
|
14044
14006
|
return props.mutation.options.mutationKey;
|
|
14045
14007
|
},
|
|
14046
14008
|
get children() {
|
|
14047
|
-
return [
|
|
14009
|
+
return [memo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
14048
14010
|
}
|
|
14049
14011
|
}), null);
|
|
14050
|
-
insert(_el$
|
|
14012
|
+
insert(_el$57, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
14051
14013
|
createRenderEffect((_p$) => {
|
|
14052
14014
|
var _v$27 = clsx(styles().queryRow, selectedMutationId() === props.mutation.mutationId && styles().selectedQueryRow, "tsqd-query-row"), _v$28 = `Mutation submitted at ${new Date(props.mutation.state.submittedAt).toLocaleString()}`, _v$29 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
14053
|
-
_v$27 !== _p$.e && className(_el$
|
|
14054
|
-
_v$28 !== _p$.t && setAttribute(_el$
|
|
14055
|
-
_v$29 !== _p$.a && className(_el$
|
|
14015
|
+
_v$27 !== _p$.e && className(_el$55, _p$.e = _v$27);
|
|
14016
|
+
_v$28 !== _p$.t && setAttribute(_el$55, "aria-label", _p$.t = _v$28);
|
|
14017
|
+
_v$29 !== _p$.a && className(_el$56, _p$.a = _v$29);
|
|
14056
14018
|
return _p$;
|
|
14057
14019
|
}, {
|
|
14058
14020
|
e: void 0,
|
|
14059
14021
|
t: void 0,
|
|
14060
14022
|
a: void 0
|
|
14061
14023
|
});
|
|
14062
|
-
return _el$
|
|
14024
|
+
return _el$55;
|
|
14063
14025
|
}
|
|
14064
14026
|
});
|
|
14065
14027
|
};
|
|
@@ -14077,44 +14039,44 @@ var init_Devtools = __esm({
|
|
|
14077
14039
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
14078
14040
|
});
|
|
14079
14041
|
return (() => {
|
|
14080
|
-
var _el$
|
|
14081
|
-
insert(_el$
|
|
14042
|
+
var _el$58 = _tmpl$26();
|
|
14043
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14082
14044
|
label: "Fresh",
|
|
14083
14045
|
color: "green",
|
|
14084
14046
|
get count() {
|
|
14085
14047
|
return fresh();
|
|
14086
14048
|
}
|
|
14087
14049
|
}), null);
|
|
14088
|
-
insert(_el$
|
|
14050
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14089
14051
|
label: "Fetching",
|
|
14090
14052
|
color: "blue",
|
|
14091
14053
|
get count() {
|
|
14092
14054
|
return fetching();
|
|
14093
14055
|
}
|
|
14094
14056
|
}), null);
|
|
14095
|
-
insert(_el$
|
|
14057
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14096
14058
|
label: "Paused",
|
|
14097
14059
|
color: "purple",
|
|
14098
14060
|
get count() {
|
|
14099
14061
|
return paused();
|
|
14100
14062
|
}
|
|
14101
14063
|
}), null);
|
|
14102
|
-
insert(_el$
|
|
14064
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14103
14065
|
label: "Stale",
|
|
14104
14066
|
color: "yellow",
|
|
14105
14067
|
get count() {
|
|
14106
14068
|
return stale();
|
|
14107
14069
|
}
|
|
14108
14070
|
}), null);
|
|
14109
|
-
insert(_el$
|
|
14071
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14110
14072
|
label: "Inactive",
|
|
14111
14073
|
color: "gray",
|
|
14112
14074
|
get count() {
|
|
14113
14075
|
return inactive();
|
|
14114
14076
|
}
|
|
14115
14077
|
}), null);
|
|
14116
|
-
createRenderEffect(() => className(_el$
|
|
14117
|
-
return _el$
|
|
14078
|
+
createRenderEffect(() => className(_el$58, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14079
|
+
return _el$58;
|
|
14118
14080
|
})();
|
|
14119
14081
|
};
|
|
14120
14082
|
MutationStatusCount = () => {
|
|
@@ -14142,37 +14104,37 @@ var init_Devtools = __esm({
|
|
|
14142
14104
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
14143
14105
|
});
|
|
14144
14106
|
return (() => {
|
|
14145
|
-
var _el$
|
|
14146
|
-
insert(_el$
|
|
14107
|
+
var _el$59 = _tmpl$26();
|
|
14108
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14147
14109
|
label: "Paused",
|
|
14148
14110
|
color: "purple",
|
|
14149
14111
|
get count() {
|
|
14150
14112
|
return paused();
|
|
14151
14113
|
}
|
|
14152
14114
|
}), null);
|
|
14153
|
-
insert(_el$
|
|
14115
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14154
14116
|
label: "Pending",
|
|
14155
14117
|
color: "yellow",
|
|
14156
14118
|
get count() {
|
|
14157
14119
|
return pending();
|
|
14158
14120
|
}
|
|
14159
14121
|
}), null);
|
|
14160
|
-
insert(_el$
|
|
14122
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14161
14123
|
label: "Success",
|
|
14162
14124
|
color: "green",
|
|
14163
14125
|
get count() {
|
|
14164
14126
|
return success();
|
|
14165
14127
|
}
|
|
14166
14128
|
}), null);
|
|
14167
|
-
insert(_el$
|
|
14129
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14168
14130
|
label: "Error",
|
|
14169
14131
|
color: "red",
|
|
14170
14132
|
get count() {
|
|
14171
14133
|
return error();
|
|
14172
14134
|
}
|
|
14173
14135
|
}), null);
|
|
14174
|
-
createRenderEffect(() => className(_el$
|
|
14175
|
-
return _el$
|
|
14136
|
+
createRenderEffect(() => className(_el$59, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14137
|
+
return _el$59;
|
|
14176
14138
|
})();
|
|
14177
14139
|
};
|
|
14178
14140
|
QueryStatus = (props) => {
|
|
@@ -14203,17 +14165,17 @@ var init_Devtools = __esm({
|
|
|
14203
14165
|
return true;
|
|
14204
14166
|
});
|
|
14205
14167
|
return (() => {
|
|
14206
|
-
var _el$
|
|
14168
|
+
var _el$60 = _tmpl$29(), _el$62 = _el$60.firstChild, _el$64 = _el$62.nextSibling;
|
|
14207
14169
|
var _ref$5 = tagRef;
|
|
14208
|
-
typeof _ref$5 === "function" ? use(_ref$5, _el$
|
|
14209
|
-
_el$
|
|
14170
|
+
typeof _ref$5 === "function" ? use(_ref$5, _el$60) : tagRef = _el$60;
|
|
14171
|
+
_el$60.addEventListener("mouseleave", () => {
|
|
14210
14172
|
setMouseOver(false);
|
|
14211
14173
|
setFocused(false);
|
|
14212
14174
|
});
|
|
14213
|
-
_el$
|
|
14214
|
-
_el$
|
|
14215
|
-
_el$
|
|
14216
|
-
spread(_el$
|
|
14175
|
+
_el$60.addEventListener("mouseenter", () => setMouseOver(true));
|
|
14176
|
+
_el$60.addEventListener("blur", () => setFocused(false));
|
|
14177
|
+
_el$60.addEventListener("focus", () => setFocused(true));
|
|
14178
|
+
spread(_el$60, mergeProps({
|
|
14217
14179
|
get disabled() {
|
|
14218
14180
|
return showLabel();
|
|
14219
14181
|
},
|
|
@@ -14228,29 +14190,29 @@ var init_Devtools = __esm({
|
|
|
14228
14190
|
}, () => mouseOver() || focused() ? {
|
|
14229
14191
|
"aria-describedby": "tsqd-status-tooltip"
|
|
14230
14192
|
} : {}), false, true);
|
|
14231
|
-
insert(_el$
|
|
14193
|
+
insert(_el$60, createComponent(Show, {
|
|
14232
14194
|
get when() {
|
|
14233
|
-
return
|
|
14195
|
+
return memo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14234
14196
|
},
|
|
14235
14197
|
get children() {
|
|
14236
|
-
var _el$
|
|
14237
|
-
insert(_el$
|
|
14238
|
-
createRenderEffect(() => className(_el$
|
|
14239
|
-
return _el$
|
|
14198
|
+
var _el$61 = _tmpl$27();
|
|
14199
|
+
insert(_el$61, () => props.label);
|
|
14200
|
+
createRenderEffect(() => className(_el$61, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
14201
|
+
return _el$61;
|
|
14240
14202
|
}
|
|
14241
|
-
}), _el$
|
|
14242
|
-
insert(_el$
|
|
14203
|
+
}), _el$62);
|
|
14204
|
+
insert(_el$60, createComponent(Show, {
|
|
14243
14205
|
get when() {
|
|
14244
14206
|
return showLabel();
|
|
14245
14207
|
},
|
|
14246
14208
|
get children() {
|
|
14247
|
-
var _el$
|
|
14248
|
-
insert(_el$
|
|
14249
|
-
createRenderEffect(() => className(_el$
|
|
14250
|
-
return _el$
|
|
14209
|
+
var _el$63 = _tmpl$28();
|
|
14210
|
+
insert(_el$63, () => props.label);
|
|
14211
|
+
createRenderEffect(() => className(_el$63, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
14212
|
+
return _el$63;
|
|
14251
14213
|
}
|
|
14252
|
-
}), _el$
|
|
14253
|
-
insert(_el$
|
|
14214
|
+
}), _el$64);
|
|
14215
|
+
insert(_el$64, () => props.count);
|
|
14254
14216
|
createRenderEffect((_p$) => {
|
|
14255
14217
|
var _v$30 = clsx(css`
|
|
14256
14218
|
width: ${tokens.size[1.5]};
|
|
@@ -14261,14 +14223,14 @@ var init_Devtools = __esm({
|
|
|
14261
14223
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
14262
14224
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
14263
14225
|
`, "tsqd-query-status-tag-count");
|
|
14264
|
-
_v$30 !== _p$.e && className(_el$
|
|
14265
|
-
_v$31 !== _p$.t && className(_el$
|
|
14226
|
+
_v$30 !== _p$.e && className(_el$62, _p$.e = _v$30);
|
|
14227
|
+
_v$31 !== _p$.t && className(_el$64, _p$.t = _v$31);
|
|
14266
14228
|
return _p$;
|
|
14267
14229
|
}, {
|
|
14268
14230
|
e: void 0,
|
|
14269
14231
|
t: void 0
|
|
14270
14232
|
});
|
|
14271
|
-
return _el$
|
|
14233
|
+
return _el$60;
|
|
14272
14234
|
})();
|
|
14273
14235
|
};
|
|
14274
14236
|
QueryDetails = () => {
|
|
@@ -14382,30 +14344,30 @@ var init_Devtools = __esm({
|
|
|
14382
14344
|
};
|
|
14383
14345
|
return createComponent(Show, {
|
|
14384
14346
|
get when() {
|
|
14385
|
-
return
|
|
14347
|
+
return memo(() => !!activeQuery())() && activeQueryState();
|
|
14386
14348
|
},
|
|
14387
14349
|
get children() {
|
|
14388
|
-
var _el$
|
|
14389
|
-
insert(_el$
|
|
14390
|
-
insert(_el$
|
|
14391
|
-
insert(_el$
|
|
14392
|
-
insert(_el$
|
|
14393
|
-
_el$
|
|
14394
|
-
_el$
|
|
14350
|
+
var _el$65 = _tmpl$34(), _el$66 = _el$65.firstChild, _el$67 = _el$66.nextSibling, _el$68 = _el$67.firstChild, _el$69 = _el$68.firstChild, _el$70 = _el$69.firstChild, _el$71 = _el$69.nextSibling, _el$72 = _el$68.nextSibling, _el$73 = _el$72.firstChild, _el$74 = _el$73.nextSibling, _el$75 = _el$72.nextSibling, _el$76 = _el$75.firstChild, _el$77 = _el$76.nextSibling, _el$78 = _el$67.nextSibling, _el$79 = _el$78.nextSibling, _el$80 = _el$79.firstChild, _el$81 = _el$80.firstChild, _el$82 = _el$80.nextSibling, _el$83 = _el$82.firstChild, _el$84 = _el$82.nextSibling, _el$85 = _el$84.firstChild, _el$86 = _el$84.nextSibling, _el$87 = _el$86.firstChild, _el$88 = _el$86.nextSibling, _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling, _el$99 = _el$79.nextSibling; _el$99.firstChild; var _el$109 = _el$99.nextSibling, _el$110 = _el$109.nextSibling;
|
|
14351
|
+
insert(_el$70, () => displayValue(activeQuery().queryKey, true));
|
|
14352
|
+
insert(_el$71, statusLabel);
|
|
14353
|
+
insert(_el$74, observerCount);
|
|
14354
|
+
insert(_el$77, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
14355
|
+
_el$80.$$click = handleRefetch;
|
|
14356
|
+
_el$82.$$click = () => {
|
|
14395
14357
|
sendDevToolsEvent({
|
|
14396
14358
|
type: "INVALIDATE",
|
|
14397
14359
|
queryHash: activeQuery()?.queryHash
|
|
14398
14360
|
});
|
|
14399
14361
|
queryClient.invalidateQueries(activeQuery());
|
|
14400
14362
|
};
|
|
14401
|
-
_el$
|
|
14363
|
+
_el$84.$$click = () => {
|
|
14402
14364
|
sendDevToolsEvent({
|
|
14403
14365
|
type: "RESET",
|
|
14404
14366
|
queryHash: activeQuery()?.queryHash
|
|
14405
14367
|
});
|
|
14406
14368
|
queryClient.resetQueries(activeQuery());
|
|
14407
14369
|
};
|
|
14408
|
-
_el$
|
|
14370
|
+
_el$86.$$click = () => {
|
|
14409
14371
|
sendDevToolsEvent({
|
|
14410
14372
|
type: "REMOVE",
|
|
14411
14373
|
queryHash: activeQuery()?.queryHash
|
|
@@ -14413,7 +14375,7 @@ var init_Devtools = __esm({
|
|
|
14413
14375
|
queryClient.removeQueries(activeQuery());
|
|
14414
14376
|
setSelectedQueryHash(null);
|
|
14415
14377
|
};
|
|
14416
|
-
_el$
|
|
14378
|
+
_el$88.$$click = () => {
|
|
14417
14379
|
if (activeQuery()?.state.data === void 0) {
|
|
14418
14380
|
setRestoringLoading(true);
|
|
14419
14381
|
restoreQueryAfterLoadingOrError();
|
|
@@ -14443,14 +14405,14 @@ var init_Devtools = __esm({
|
|
|
14443
14405
|
});
|
|
14444
14406
|
}
|
|
14445
14407
|
};
|
|
14446
|
-
insert(_el$
|
|
14447
|
-
insert(_el$
|
|
14408
|
+
insert(_el$88, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$90);
|
|
14409
|
+
insert(_el$79, createComponent(Show, {
|
|
14448
14410
|
get when() {
|
|
14449
14411
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14450
14412
|
},
|
|
14451
14413
|
get children() {
|
|
14452
|
-
var _el$
|
|
14453
|
-
_el$
|
|
14414
|
+
var _el$91 = _tmpl$30(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling;
|
|
14415
|
+
_el$91.$$click = () => {
|
|
14454
14416
|
if (!activeQuery().state.error) {
|
|
14455
14417
|
triggerError();
|
|
14456
14418
|
} else {
|
|
@@ -14461,71 +14423,71 @@ var init_Devtools = __esm({
|
|
|
14461
14423
|
queryClient.resetQueries(activeQuery());
|
|
14462
14424
|
}
|
|
14463
14425
|
};
|
|
14464
|
-
insert(_el$
|
|
14426
|
+
insert(_el$91, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$93);
|
|
14465
14427
|
createRenderEffect((_p$) => {
|
|
14466
14428
|
var _v$32 = clsx(css`
|
|
14467
14429
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
14468
14430
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = css`
|
|
14469
14431
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
14470
14432
|
`;
|
|
14471
|
-
_v$32 !== _p$.e && className(_el$
|
|
14472
|
-
_v$33 !== _p$.t && (_el$
|
|
14473
|
-
_v$34 !== _p$.a && className(_el$
|
|
14433
|
+
_v$32 !== _p$.e && className(_el$91, _p$.e = _v$32);
|
|
14434
|
+
_v$33 !== _p$.t && (_el$91.disabled = _p$.t = _v$33);
|
|
14435
|
+
_v$34 !== _p$.a && className(_el$92, _p$.a = _v$34);
|
|
14474
14436
|
return _p$;
|
|
14475
14437
|
}, {
|
|
14476
14438
|
e: void 0,
|
|
14477
14439
|
t: void 0,
|
|
14478
14440
|
a: void 0
|
|
14479
14441
|
});
|
|
14480
|
-
return _el$
|
|
14442
|
+
return _el$91;
|
|
14481
14443
|
}
|
|
14482
14444
|
}), null);
|
|
14483
|
-
insert(_el$
|
|
14445
|
+
insert(_el$79, createComponent(Show, {
|
|
14484
14446
|
get when() {
|
|
14485
14447
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14486
14448
|
},
|
|
14487
14449
|
get children() {
|
|
14488
|
-
var _el$
|
|
14489
|
-
_el$
|
|
14450
|
+
var _el$94 = _tmpl$31(), _el$95 = _el$94.firstChild, _el$96 = _el$95.nextSibling, _el$97 = _el$96.nextSibling; _el$97.firstChild;
|
|
14451
|
+
_el$97.addEventListener("change", (e2) => {
|
|
14490
14452
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14491
14453
|
triggerError(errorType);
|
|
14492
14454
|
});
|
|
14493
|
-
insert(_el$
|
|
14455
|
+
insert(_el$97, createComponent(For, {
|
|
14494
14456
|
get each() {
|
|
14495
14457
|
return errorTypes();
|
|
14496
14458
|
},
|
|
14497
14459
|
children: (errorType) => (() => {
|
|
14498
|
-
var _el$
|
|
14499
|
-
insert(_el$
|
|
14500
|
-
createRenderEffect(() => _el$
|
|
14501
|
-
return _el$
|
|
14460
|
+
var _el$111 = _tmpl$35();
|
|
14461
|
+
insert(_el$111, () => errorType.name);
|
|
14462
|
+
createRenderEffect(() => _el$111.value = errorType.name);
|
|
14463
|
+
return _el$111;
|
|
14502
14464
|
})()
|
|
14503
14465
|
}), null);
|
|
14504
|
-
insert(_el$
|
|
14466
|
+
insert(_el$94, createComponent(ChevronDown, {}), null);
|
|
14505
14467
|
createRenderEffect((_p$) => {
|
|
14506
14468
|
var _v$35 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = css`
|
|
14507
14469
|
background-color: ${tokens.colors.red[400]};
|
|
14508
14470
|
`, _v$37 = queryStatus() === "pending";
|
|
14509
|
-
_v$35 !== _p$.e && className(_el$
|
|
14510
|
-
_v$36 !== _p$.t && className(_el$
|
|
14511
|
-
_v$37 !== _p$.a && (_el$
|
|
14471
|
+
_v$35 !== _p$.e && className(_el$94, _p$.e = _v$35);
|
|
14472
|
+
_v$36 !== _p$.t && className(_el$95, _p$.t = _v$36);
|
|
14473
|
+
_v$37 !== _p$.a && (_el$97.disabled = _p$.a = _v$37);
|
|
14512
14474
|
return _p$;
|
|
14513
14475
|
}, {
|
|
14514
14476
|
e: void 0,
|
|
14515
14477
|
t: void 0,
|
|
14516
14478
|
a: void 0
|
|
14517
14479
|
});
|
|
14518
|
-
return _el$
|
|
14480
|
+
return _el$94;
|
|
14519
14481
|
}
|
|
14520
14482
|
}), null);
|
|
14521
|
-
insert(_el$
|
|
14522
|
-
insert(_el$
|
|
14483
|
+
insert(_el$99, () => dataMode() === "view" ? "Explorer" : "Editor", null);
|
|
14484
|
+
insert(_el$65, createComponent(Show, {
|
|
14523
14485
|
get when() {
|
|
14524
14486
|
return dataMode() === "view";
|
|
14525
14487
|
},
|
|
14526
14488
|
get children() {
|
|
14527
|
-
var _el$
|
|
14528
|
-
insert(_el$
|
|
14489
|
+
var _el$101 = _tmpl$322();
|
|
14490
|
+
insert(_el$101, createComponent(Explorer, {
|
|
14529
14491
|
label: "Data",
|
|
14530
14492
|
defaultExpanded: ["Data"],
|
|
14531
14493
|
get value() {
|
|
@@ -14537,17 +14499,17 @@ var init_Devtools = __esm({
|
|
|
14537
14499
|
return activeQuery();
|
|
14538
14500
|
}
|
|
14539
14501
|
}));
|
|
14540
|
-
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$
|
|
14541
|
-
return _el$
|
|
14502
|
+
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$101.style.setProperty("padding", _$p) : _el$101.style.removeProperty("padding"));
|
|
14503
|
+
return _el$101;
|
|
14542
14504
|
}
|
|
14543
|
-
}), _el$
|
|
14544
|
-
insert(_el$
|
|
14505
|
+
}), _el$109);
|
|
14506
|
+
insert(_el$65, createComponent(Show, {
|
|
14545
14507
|
get when() {
|
|
14546
14508
|
return dataMode() === "edit";
|
|
14547
14509
|
},
|
|
14548
14510
|
get children() {
|
|
14549
|
-
var _el$
|
|
14550
|
-
_el$
|
|
14511
|
+
var _el$102 = _tmpl$332(), _el$103 = _el$102.firstChild, _el$104 = _el$103.nextSibling, _el$105 = _el$104.firstChild, _el$106 = _el$105.nextSibling, _el$107 = _el$106.firstChild, _el$108 = _el$107.nextSibling;
|
|
14512
|
+
_el$102.addEventListener("submit", (e2) => {
|
|
14551
14513
|
e2.preventDefault();
|
|
14552
14514
|
const formData = new FormData(e2.currentTarget);
|
|
14553
14515
|
const data = formData.get("data");
|
|
@@ -14562,23 +14524,23 @@ var init_Devtools = __esm({
|
|
|
14562
14524
|
setDataEditError(true);
|
|
14563
14525
|
}
|
|
14564
14526
|
});
|
|
14565
|
-
_el$
|
|
14566
|
-
insert(_el$
|
|
14567
|
-
_el$
|
|
14527
|
+
_el$103.addEventListener("focus", () => setDataEditError(false));
|
|
14528
|
+
insert(_el$105, () => dataEditError() ? "Invalid Value" : "");
|
|
14529
|
+
_el$107.$$click = () => setDataMode("view");
|
|
14568
14530
|
createRenderEffect((_p$) => {
|
|
14569
14531
|
var _v$38 = clsx(styles().devtoolsEditForm, "tsqd-query-details-data-editor"), _v$39 = styles().devtoolsEditTextarea, _v$40 = dataEditError(), _v$41 = styles().devtoolsEditFormActions, _v$42 = styles().devtoolsEditFormError, _v$43 = styles().devtoolsEditFormActionContainer, _v$44 = clsx(styles().devtoolsEditFormAction, css`
|
|
14570
14532
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
14571
14533
|
`), _v$45 = clsx(styles().devtoolsEditFormAction, css`
|
|
14572
14534
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14573
14535
|
`);
|
|
14574
|
-
_v$38 !== _p$.e && className(_el$
|
|
14575
|
-
_v$39 !== _p$.t && className(_el$
|
|
14576
|
-
_v$40 !== _p$.a && setAttribute(_el$
|
|
14577
|
-
_v$41 !== _p$.o && className(_el$
|
|
14578
|
-
_v$42 !== _p$.i && className(_el$
|
|
14579
|
-
_v$43 !== _p$.n && className(_el$
|
|
14580
|
-
_v$44 !== _p$.s && className(_el$
|
|
14581
|
-
_v$45 !== _p$.h && className(_el$
|
|
14536
|
+
_v$38 !== _p$.e && className(_el$102, _p$.e = _v$38);
|
|
14537
|
+
_v$39 !== _p$.t && className(_el$103, _p$.t = _v$39);
|
|
14538
|
+
_v$40 !== _p$.a && setAttribute(_el$103, "data-error", _p$.a = _v$40);
|
|
14539
|
+
_v$41 !== _p$.o && className(_el$104, _p$.o = _v$41);
|
|
14540
|
+
_v$42 !== _p$.i && className(_el$105, _p$.i = _v$42);
|
|
14541
|
+
_v$43 !== _p$.n && className(_el$106, _p$.n = _v$43);
|
|
14542
|
+
_v$44 !== _p$.s && className(_el$107, _p$.s = _v$44);
|
|
14543
|
+
_v$45 !== _p$.h && className(_el$108, _p$.h = _v$45);
|
|
14582
14544
|
return _p$;
|
|
14583
14545
|
}, {
|
|
14584
14546
|
e: void 0,
|
|
@@ -14590,11 +14552,11 @@ var init_Devtools = __esm({
|
|
|
14590
14552
|
s: void 0,
|
|
14591
14553
|
h: void 0
|
|
14592
14554
|
});
|
|
14593
|
-
createRenderEffect(() => _el$
|
|
14594
|
-
return _el$
|
|
14555
|
+
createRenderEffect(() => _el$103.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14556
|
+
return _el$102;
|
|
14595
14557
|
}
|
|
14596
|
-
}), _el$
|
|
14597
|
-
insert(_el$
|
|
14558
|
+
}), _el$109);
|
|
14559
|
+
insert(_el$110, createComponent(Explorer, {
|
|
14598
14560
|
label: "Query",
|
|
14599
14561
|
defaultExpanded: ["Query", "queryKey"],
|
|
14600
14562
|
get value() {
|
|
@@ -14623,30 +14585,30 @@ var init_Devtools = __esm({
|
|
|
14623
14585
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$65 = restoringLoading(), _v$66 = css`
|
|
14624
14586
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14625
14587
|
`, _v$67 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$68 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$69 = tokens.size[2];
|
|
14626
|
-
_v$46 !== _p$.e && className(_el$
|
|
14627
|
-
_v$47 !== _p$.t && className(_el$
|
|
14628
|
-
_v$48 !== _p$.a && className(_el$
|
|
14629
|
-
_v$49 !== _p$.o && className(_el$
|
|
14630
|
-
_v$50 !== _p$.i && className(_el$
|
|
14631
|
-
_v$51 !== _p$.n && className(_el$
|
|
14632
|
-
_v$52 !== _p$.s && className(_el$
|
|
14633
|
-
_v$53 !== _p$.h && (_el$
|
|
14634
|
-
_v$54 !== _p$.r && className(_el$
|
|
14635
|
-
_v$55 !== _p$.d && className(_el$
|
|
14636
|
-
_v$56 !== _p$.l && (_el$
|
|
14637
|
-
_v$57 !== _p$.u && className(_el$
|
|
14638
|
-
_v$58 !== _p$.c && className(_el$
|
|
14639
|
-
_v$59 !== _p$.w && (_el$
|
|
14640
|
-
_v$60 !== _p$.m && className(_el$
|
|
14641
|
-
_v$61 !== _p$.f && className(_el$
|
|
14642
|
-
_v$62 !== _p$.y && (_el$
|
|
14643
|
-
_v$63 !== _p$.g && className(_el$
|
|
14644
|
-
_v$64 !== _p$.p && className(_el$
|
|
14645
|
-
_v$65 !== _p$.b && (_el$
|
|
14646
|
-
_v$66 !== _p$.T && className(_el$
|
|
14647
|
-
_v$67 !== _p$.A && className(_el$
|
|
14648
|
-
_v$68 !== _p$.O && className(_el$
|
|
14649
|
-
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$
|
|
14588
|
+
_v$46 !== _p$.e && className(_el$65, _p$.e = _v$46);
|
|
14589
|
+
_v$47 !== _p$.t && className(_el$66, _p$.t = _v$47);
|
|
14590
|
+
_v$48 !== _p$.a && className(_el$67, _p$.a = _v$48);
|
|
14591
|
+
_v$49 !== _p$.o && className(_el$71, _p$.o = _v$49);
|
|
14592
|
+
_v$50 !== _p$.i && className(_el$78, _p$.i = _v$50);
|
|
14593
|
+
_v$51 !== _p$.n && className(_el$79, _p$.n = _v$51);
|
|
14594
|
+
_v$52 !== _p$.s && className(_el$80, _p$.s = _v$52);
|
|
14595
|
+
_v$53 !== _p$.h && (_el$80.disabled = _p$.h = _v$53);
|
|
14596
|
+
_v$54 !== _p$.r && className(_el$81, _p$.r = _v$54);
|
|
14597
|
+
_v$55 !== _p$.d && className(_el$82, _p$.d = _v$55);
|
|
14598
|
+
_v$56 !== _p$.l && (_el$82.disabled = _p$.l = _v$56);
|
|
14599
|
+
_v$57 !== _p$.u && className(_el$83, _p$.u = _v$57);
|
|
14600
|
+
_v$58 !== _p$.c && className(_el$84, _p$.c = _v$58);
|
|
14601
|
+
_v$59 !== _p$.w && (_el$84.disabled = _p$.w = _v$59);
|
|
14602
|
+
_v$60 !== _p$.m && className(_el$85, _p$.m = _v$60);
|
|
14603
|
+
_v$61 !== _p$.f && className(_el$86, _p$.f = _v$61);
|
|
14604
|
+
_v$62 !== _p$.y && (_el$86.disabled = _p$.y = _v$62);
|
|
14605
|
+
_v$63 !== _p$.g && className(_el$87, _p$.g = _v$63);
|
|
14606
|
+
_v$64 !== _p$.p && className(_el$88, _p$.p = _v$64);
|
|
14607
|
+
_v$65 !== _p$.b && (_el$88.disabled = _p$.b = _v$65);
|
|
14608
|
+
_v$66 !== _p$.T && className(_el$89, _p$.T = _v$66);
|
|
14609
|
+
_v$67 !== _p$.A && className(_el$99, _p$.A = _v$67);
|
|
14610
|
+
_v$68 !== _p$.O && className(_el$109, _p$.O = _v$68);
|
|
14611
|
+
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$110.style.setProperty("padding", _v$69) : _el$110.style.removeProperty("padding"));
|
|
14650
14612
|
return _p$;
|
|
14651
14613
|
}, {
|
|
14652
14614
|
e: void 0,
|
|
@@ -14674,7 +14636,7 @@ var init_Devtools = __esm({
|
|
|
14674
14636
|
O: void 0,
|
|
14675
14637
|
I: void 0
|
|
14676
14638
|
});
|
|
14677
|
-
return _el$
|
|
14639
|
+
return _el$65;
|
|
14678
14640
|
}
|
|
14679
14641
|
});
|
|
14680
14642
|
};
|
|
@@ -14726,8 +14688,8 @@ var init_Devtools = __esm({
|
|
|
14726
14688
|
return activeMutation();
|
|
14727
14689
|
},
|
|
14728
14690
|
get children() {
|
|
14729
|
-
var _el$
|
|
14730
|
-
insert(_el$
|
|
14691
|
+
var _el$112 = _tmpl$36(), _el$113 = _el$112.firstChild, _el$114 = _el$113.nextSibling, _el$115 = _el$114.firstChild, _el$116 = _el$115.firstChild, _el$117 = _el$116.firstChild, _el$118 = _el$116.nextSibling, _el$119 = _el$115.nextSibling, _el$120 = _el$119.firstChild, _el$121 = _el$120.nextSibling, _el$122 = _el$114.nextSibling, _el$123 = _el$122.nextSibling, _el$124 = _el$123.nextSibling, _el$125 = _el$124.nextSibling, _el$126 = _el$125.nextSibling, _el$127 = _el$126.nextSibling, _el$128 = _el$127.nextSibling, _el$129 = _el$128.nextSibling;
|
|
14692
|
+
insert(_el$117, createComponent(Show, {
|
|
14731
14693
|
get when() {
|
|
14732
14694
|
return activeMutation().options.mutationKey;
|
|
14733
14695
|
},
|
|
@@ -14736,13 +14698,13 @@ var init_Devtools = __esm({
|
|
|
14736
14698
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
14737
14699
|
}
|
|
14738
14700
|
}));
|
|
14739
|
-
insert(_el$
|
|
14701
|
+
insert(_el$118, createComponent(Show, {
|
|
14740
14702
|
get when() {
|
|
14741
14703
|
return color() === "purple";
|
|
14742
14704
|
},
|
|
14743
14705
|
children: "pending"
|
|
14744
14706
|
}), null);
|
|
14745
|
-
insert(_el$
|
|
14707
|
+
insert(_el$118, createComponent(Show, {
|
|
14746
14708
|
get when() {
|
|
14747
14709
|
return color() !== "purple";
|
|
14748
14710
|
},
|
|
@@ -14750,29 +14712,29 @@ var init_Devtools = __esm({
|
|
|
14750
14712
|
return status();
|
|
14751
14713
|
}
|
|
14752
14714
|
}), null);
|
|
14753
|
-
insert(_el$
|
|
14754
|
-
insert(_el$
|
|
14715
|
+
insert(_el$121, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14716
|
+
insert(_el$123, createComponent(Explorer, {
|
|
14755
14717
|
label: "Variables",
|
|
14756
14718
|
defaultExpanded: ["Variables"],
|
|
14757
14719
|
get value() {
|
|
14758
14720
|
return activeMutation().state.variables;
|
|
14759
14721
|
}
|
|
14760
14722
|
}));
|
|
14761
|
-
insert(_el$
|
|
14723
|
+
insert(_el$125, createComponent(Explorer, {
|
|
14762
14724
|
label: "Context",
|
|
14763
14725
|
defaultExpanded: ["Context"],
|
|
14764
14726
|
get value() {
|
|
14765
14727
|
return activeMutation().state.context;
|
|
14766
14728
|
}
|
|
14767
14729
|
}));
|
|
14768
|
-
insert(_el$
|
|
14730
|
+
insert(_el$127, createComponent(Explorer, {
|
|
14769
14731
|
label: "Data",
|
|
14770
14732
|
defaultExpanded: ["Data"],
|
|
14771
14733
|
get value() {
|
|
14772
14734
|
return activeMutation().state.data;
|
|
14773
14735
|
}
|
|
14774
14736
|
}));
|
|
14775
|
-
insert(_el$
|
|
14737
|
+
insert(_el$129, createComponent(Explorer, {
|
|
14776
14738
|
label: "Mutation",
|
|
14777
14739
|
defaultExpanded: ["Mutation"],
|
|
14778
14740
|
get value() {
|
|
@@ -14781,18 +14743,18 @@ var init_Devtools = __esm({
|
|
|
14781
14743
|
}));
|
|
14782
14744
|
createRenderEffect((_p$) => {
|
|
14783
14745
|
var _v$70 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$71 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$72 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$73 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$74 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$75 = tokens.size[2], _v$76 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$77 = tokens.size[2], _v$78 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$79 = tokens.size[2], _v$80 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$81 = tokens.size[2];
|
|
14784
|
-
_v$70 !== _p$.e && className(_el$
|
|
14785
|
-
_v$71 !== _p$.t && className(_el$
|
|
14786
|
-
_v$72 !== _p$.a && className(_el$
|
|
14787
|
-
_v$73 !== _p$.o && className(_el$
|
|
14788
|
-
_v$74 !== _p$.i && className(_el$
|
|
14789
|
-
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$
|
|
14790
|
-
_v$76 !== _p$.s && className(_el$
|
|
14791
|
-
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$
|
|
14792
|
-
_v$78 !== _p$.r && className(_el$
|
|
14793
|
-
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$
|
|
14794
|
-
_v$80 !== _p$.l && className(_el$
|
|
14795
|
-
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$
|
|
14746
|
+
_v$70 !== _p$.e && className(_el$112, _p$.e = _v$70);
|
|
14747
|
+
_v$71 !== _p$.t && className(_el$113, _p$.t = _v$71);
|
|
14748
|
+
_v$72 !== _p$.a && className(_el$114, _p$.a = _v$72);
|
|
14749
|
+
_v$73 !== _p$.o && className(_el$118, _p$.o = _v$73);
|
|
14750
|
+
_v$74 !== _p$.i && className(_el$122, _p$.i = _v$74);
|
|
14751
|
+
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$123.style.setProperty("padding", _v$75) : _el$123.style.removeProperty("padding"));
|
|
14752
|
+
_v$76 !== _p$.s && className(_el$124, _p$.s = _v$76);
|
|
14753
|
+
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$125.style.setProperty("padding", _v$77) : _el$125.style.removeProperty("padding"));
|
|
14754
|
+
_v$78 !== _p$.r && className(_el$126, _p$.r = _v$78);
|
|
14755
|
+
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$127.style.setProperty("padding", _v$79) : _el$127.style.removeProperty("padding"));
|
|
14756
|
+
_v$80 !== _p$.l && className(_el$128, _p$.l = _v$80);
|
|
14757
|
+
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$129.style.setProperty("padding", _v$81) : _el$129.style.removeProperty("padding"));
|
|
14796
14758
|
return _p$;
|
|
14797
14759
|
}, {
|
|
14798
14760
|
e: void 0,
|
|
@@ -14808,7 +14770,7 @@ var init_Devtools = __esm({
|
|
|
14808
14770
|
l: void 0,
|
|
14809
14771
|
u: void 0
|
|
14810
14772
|
});
|
|
14811
|
-
return _el$
|
|
14773
|
+
return _el$112;
|
|
14812
14774
|
}
|
|
14813
14775
|
});
|
|
14814
14776
|
};
|
|
@@ -16076,6 +16038,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16076
16038
|
#position;
|
|
16077
16039
|
#initialIsOpen;
|
|
16078
16040
|
#errorTypes;
|
|
16041
|
+
#hideDisabledQueries;
|
|
16079
16042
|
#Component;
|
|
16080
16043
|
#dispose;
|
|
16081
16044
|
constructor(config) {
|
|
@@ -16089,7 +16052,8 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16089
16052
|
initialIsOpen,
|
|
16090
16053
|
errorTypes,
|
|
16091
16054
|
styleNonce,
|
|
16092
|
-
shadowDOMTarget
|
|
16055
|
+
shadowDOMTarget,
|
|
16056
|
+
hideDisabledQueries
|
|
16093
16057
|
} = config;
|
|
16094
16058
|
this.#client = createSignal(client);
|
|
16095
16059
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16101,6 +16065,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16101
16065
|
this.#position = createSignal(position);
|
|
16102
16066
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16103
16067
|
this.#errorTypes = createSignal(errorTypes);
|
|
16068
|
+
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16104
16069
|
}
|
|
16105
16070
|
setButtonPosition(position) {
|
|
16106
16071
|
this.#buttonPosition[1](position);
|
|
@@ -16127,6 +16092,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16127
16092
|
const [pos] = this.#position;
|
|
16128
16093
|
const [isOpen] = this.#initialIsOpen;
|
|
16129
16094
|
const [errors] = this.#errorTypes;
|
|
16095
|
+
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16130
16096
|
const [queryClient] = this.#client;
|
|
16131
16097
|
let Devtools2;
|
|
16132
16098
|
if (this.#Component) {
|
|
@@ -16164,6 +16130,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16164
16130
|
},
|
|
16165
16131
|
get errorTypes() {
|
|
16166
16132
|
return errors();
|
|
16133
|
+
},
|
|
16134
|
+
get hideDisabledQueries() {
|
|
16135
|
+
return hideDisabledQueries();
|
|
16167
16136
|
}
|
|
16168
16137
|
}));
|
|
16169
16138
|
}, el);
|
|
@@ -16197,6 +16166,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16197
16166
|
#position;
|
|
16198
16167
|
#initialIsOpen;
|
|
16199
16168
|
#errorTypes;
|
|
16169
|
+
#hideDisabledQueries;
|
|
16200
16170
|
#onClose;
|
|
16201
16171
|
#Component;
|
|
16202
16172
|
#dispose;
|
|
@@ -16212,7 +16182,8 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16212
16182
|
errorTypes,
|
|
16213
16183
|
styleNonce,
|
|
16214
16184
|
shadowDOMTarget,
|
|
16215
|
-
onClose
|
|
16185
|
+
onClose,
|
|
16186
|
+
hideDisabledQueries
|
|
16216
16187
|
} = config;
|
|
16217
16188
|
this.#client = createSignal(client);
|
|
16218
16189
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16224,6 +16195,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16224
16195
|
this.#position = createSignal(position);
|
|
16225
16196
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16226
16197
|
this.#errorTypes = createSignal(errorTypes);
|
|
16198
|
+
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16227
16199
|
this.#onClose = createSignal(onClose);
|
|
16228
16200
|
}
|
|
16229
16201
|
setButtonPosition(position) {
|
|
@@ -16254,6 +16226,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16254
16226
|
const [pos] = this.#position;
|
|
16255
16227
|
const [isOpen] = this.#initialIsOpen;
|
|
16256
16228
|
const [errors] = this.#errorTypes;
|
|
16229
|
+
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16257
16230
|
const [queryClient] = this.#client;
|
|
16258
16231
|
const [onClose] = this.#onClose;
|
|
16259
16232
|
let Devtools2;
|
|
@@ -16293,6 +16266,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16293
16266
|
get errorTypes() {
|
|
16294
16267
|
return errors();
|
|
16295
16268
|
},
|
|
16269
|
+
get hideDisabledQueries() {
|
|
16270
|
+
return hideDisabledQueries();
|
|
16271
|
+
},
|
|
16296
16272
|
get onClose() {
|
|
16297
16273
|
return onClose();
|
|
16298
16274
|
}
|