@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/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.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 = [
|
|
@@ -2302,7 +2191,7 @@ var init_transformer = __esm({
|
|
|
2302
2191
|
}, (v, a2, superJson) => {
|
|
2303
2192
|
const clazz = superJson.classRegistry.getValue(a2[1]);
|
|
2304
2193
|
if (!clazz) {
|
|
2305
|
-
throw new Error(
|
|
2194
|
+
throw new Error(`Trying to deserialize unknown class '${a2[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
|
|
2306
2195
|
}
|
|
2307
2196
|
return Object.assign(Object.create(clazz.prototype), v);
|
|
2308
2197
|
});
|
|
@@ -2368,7 +2257,7 @@ var init_transformer = __esm({
|
|
|
2368
2257
|
}
|
|
2369
2258
|
});
|
|
2370
2259
|
|
|
2371
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2260
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.js
|
|
2372
2261
|
function validatePath(path) {
|
|
2373
2262
|
if (includes(path, "__proto__")) {
|
|
2374
2263
|
throw new Error("__proto__ is not allowed as a property");
|
|
@@ -2382,10 +2271,12 @@ function validatePath(path) {
|
|
|
2382
2271
|
}
|
|
2383
2272
|
var getNthKey, getDeep, setDeep;
|
|
2384
2273
|
var init_accessDeep = __esm({
|
|
2385
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2274
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.js"() {
|
|
2386
2275
|
init_is();
|
|
2387
2276
|
init_util();
|
|
2388
2277
|
getNthKey = (value, n2) => {
|
|
2278
|
+
if (n2 > value.size)
|
|
2279
|
+
throw new Error("index out of bounds");
|
|
2389
2280
|
const keys2 = value.keys();
|
|
2390
2281
|
while (n2 > 0) {
|
|
2391
2282
|
keys2.next();
|
|
@@ -2489,7 +2380,7 @@ var init_accessDeep = __esm({
|
|
|
2489
2380
|
}
|
|
2490
2381
|
});
|
|
2491
2382
|
|
|
2492
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2383
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.js
|
|
2493
2384
|
function traverse(tree, walker2, origin = []) {
|
|
2494
2385
|
if (!tree) {
|
|
2495
2386
|
return;
|
|
@@ -2569,7 +2460,7 @@ function generateReferentialEqualityAnnotations(identitites, dedupe) {
|
|
|
2569
2460
|
}
|
|
2570
2461
|
var isDeep, walker;
|
|
2571
2462
|
var init_plainer = __esm({
|
|
2572
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2463
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.js"() {
|
|
2573
2464
|
init_is();
|
|
2574
2465
|
init_pathstringifier();
|
|
2575
2466
|
init_transformer();
|
|
@@ -2696,10 +2587,10 @@ var init_dist2 = __esm({
|
|
|
2696
2587
|
}
|
|
2697
2588
|
});
|
|
2698
2589
|
|
|
2699
|
-
// ../../node_modules/.pnpm/superjson@2.2.
|
|
2590
|
+
// ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.js
|
|
2700
2591
|
var SuperJSON, serialize, stringify;
|
|
2701
2592
|
var init_dist3 = __esm({
|
|
2702
|
-
"../../node_modules/.pnpm/superjson@2.2.
|
|
2593
|
+
"../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.js"() {
|
|
2703
2594
|
init_class_registry();
|
|
2704
2595
|
init_registry();
|
|
2705
2596
|
init_custom_transformer_registry();
|
|
@@ -2964,7 +2855,7 @@ var init_utils = __esm({
|
|
|
2964
2855
|
}
|
|
2965
2856
|
});
|
|
2966
2857
|
|
|
2967
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2858
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
2968
2859
|
function chain(callbacks) {
|
|
2969
2860
|
return (...args) => {
|
|
2970
2861
|
for (const callback of callbacks)
|
|
@@ -3007,7 +2898,7 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3007
2898
|
}
|
|
3008
2899
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3009
2900
|
var init_R5675YMU = __esm({
|
|
3010
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2901
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3011
2902
|
init_solid();
|
|
3012
2903
|
init_web();
|
|
3013
2904
|
isClient = !isServer;
|
|
@@ -3021,14 +2912,14 @@ var init_R5675YMU = __esm({
|
|
|
3021
2912
|
}
|
|
3022
2913
|
});
|
|
3023
2914
|
|
|
3024
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2915
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3025
2916
|
var init_index = __esm({
|
|
3026
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2917
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.7/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3027
2918
|
init_R5675YMU();
|
|
3028
2919
|
}
|
|
3029
2920
|
});
|
|
3030
2921
|
|
|
3031
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
2922
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.7/node_modules/@solid-primitives/storage/dist/index.js
|
|
3032
2923
|
function createStorage(props) {
|
|
3033
2924
|
const [error, setError] = createSignal();
|
|
3034
2925
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3173,7 +3064,7 @@ function createStorage(props) {
|
|
|
3173
3064
|
}
|
|
3174
3065
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3175
3066
|
var init_dist4 = __esm({
|
|
3176
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3067
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.7/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3177
3068
|
init_solid();
|
|
3178
3069
|
createLocalStorage = createStorage;
|
|
3179
3070
|
addClearMethod = (storage) => {
|
|
@@ -3192,15 +3083,15 @@ var init_dist4 = __esm({
|
|
|
3192
3083
|
if (!options) {
|
|
3193
3084
|
return "";
|
|
3194
3085
|
}
|
|
3195
|
-
let
|
|
3086
|
+
let memo2 = "";
|
|
3196
3087
|
for (const key in options) {
|
|
3197
3088
|
if (!options.hasOwnProperty(key)) {
|
|
3198
3089
|
continue;
|
|
3199
3090
|
}
|
|
3200
3091
|
const value = options[key];
|
|
3201
|
-
|
|
3092
|
+
memo2 += value instanceof Date ? `; ${key}=${value.toUTCString()}` : typeof value === "boolean" ? `; ${key}` : `; ${key}=${value}`;
|
|
3202
3093
|
}
|
|
3203
|
-
return
|
|
3094
|
+
return memo2;
|
|
3204
3095
|
};
|
|
3205
3096
|
cookieStorage = addClearMethod({
|
|
3206
3097
|
_cookies: [globalThis.document, "cookie"],
|
|
@@ -3934,7 +3825,7 @@ var init_clsx = __esm({
|
|
|
3934
3825
|
}
|
|
3935
3826
|
});
|
|
3936
3827
|
|
|
3937
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3828
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.7/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
3938
3829
|
function createListTransition(source, options) {
|
|
3939
3830
|
const initSource = untrack(source);
|
|
3940
3831
|
if (isServer) {
|
|
@@ -4000,13 +3891,13 @@ function createListTransition(source, options) {
|
|
|
4000
3891
|
);
|
|
4001
3892
|
}
|
|
4002
3893
|
var init_dist5 = __esm({
|
|
4003
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3894
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.7/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4004
3895
|
init_solid();
|
|
4005
3896
|
init_web();
|
|
4006
3897
|
}
|
|
4007
3898
|
});
|
|
4008
3899
|
|
|
4009
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
3900
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.7/node_modules/@solid-primitives/refs/dist/index.js
|
|
4010
3901
|
function mergeRefs(...refs) {
|
|
4011
3902
|
return chain(refs);
|
|
4012
3903
|
}
|
|
@@ -4028,18 +3919,18 @@ function getResolvedElements(value, predicate) {
|
|
|
4028
3919
|
}
|
|
4029
3920
|
function resolveElements(fn, predicate = defaultElementPredicate, serverPredicate = defaultElementPredicate) {
|
|
4030
3921
|
const children2 = createMemo(fn);
|
|
4031
|
-
const
|
|
3922
|
+
const memo2 = createMemo(
|
|
4032
3923
|
() => getResolvedElements(children2(), isServer ? serverPredicate : predicate)
|
|
4033
3924
|
);
|
|
4034
|
-
|
|
4035
|
-
const value =
|
|
3925
|
+
memo2.toArray = () => {
|
|
3926
|
+
const value = memo2();
|
|
4036
3927
|
return Array.isArray(value) ? value : value ? [value] : [];
|
|
4037
3928
|
};
|
|
4038
|
-
return
|
|
3929
|
+
return memo2;
|
|
4039
3930
|
}
|
|
4040
3931
|
var defaultElementPredicate;
|
|
4041
3932
|
var init_dist6 = __esm({
|
|
4042
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
3933
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.7/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4043
3934
|
init_index();
|
|
4044
3935
|
init_solid();
|
|
4045
3936
|
init_web();
|
|
@@ -4047,7 +3938,7 @@ var init_dist6 = __esm({
|
|
|
4047
3938
|
}
|
|
4048
3939
|
});
|
|
4049
3940
|
|
|
4050
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
3941
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.7/node_modules/solid-transition-group/dist/index.js
|
|
4051
3942
|
function createClassnames(props) {
|
|
4052
3943
|
return createMemo(() => {
|
|
4053
3944
|
const name = props.name || "s";
|
|
@@ -4122,7 +4013,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4122
4013
|
}
|
|
4123
4014
|
var TransitionGroup;
|
|
4124
4015
|
var init_dist7 = __esm({
|
|
4125
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4016
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.7/node_modules/solid-transition-group/dist/index.js"() {
|
|
4126
4017
|
init_solid();
|
|
4127
4018
|
init_dist5();
|
|
4128
4019
|
init_dist6();
|
|
@@ -4175,7 +4066,7 @@ var init_dist7 = __esm({
|
|
|
4175
4066
|
}
|
|
4176
4067
|
});
|
|
4177
4068
|
|
|
4178
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4069
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4179
4070
|
function dispose2(list) {
|
|
4180
4071
|
for (const o2 of list)
|
|
4181
4072
|
o2.dispose();
|
|
@@ -4273,14 +4164,14 @@ function Key(props) {
|
|
|
4273
4164
|
}
|
|
4274
4165
|
var FALLBACK2;
|
|
4275
4166
|
var init_dist8 = __esm({
|
|
4276
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4167
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.7/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4277
4168
|
init_solid();
|
|
4278
4169
|
init_web();
|
|
4279
4170
|
FALLBACK2 = Symbol("fallback");
|
|
4280
4171
|
}
|
|
4281
4172
|
});
|
|
4282
4173
|
|
|
4283
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4174
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.7/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4284
4175
|
function makeEventListener(target, type, handler, options) {
|
|
4285
4176
|
target.addEventListener(type, handler, options);
|
|
4286
4177
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4300,14 +4191,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4300
4191
|
createRenderEffect(attachListeners);
|
|
4301
4192
|
}
|
|
4302
4193
|
var init_dist9 = __esm({
|
|
4303
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4194
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.7/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4304
4195
|
init_index();
|
|
4305
4196
|
init_solid();
|
|
4306
4197
|
init_web();
|
|
4307
4198
|
}
|
|
4308
4199
|
});
|
|
4309
4200
|
|
|
4310
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4201
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.7/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4311
4202
|
function makeResizeObserver(callback, options) {
|
|
4312
4203
|
if (isServer) {
|
|
4313
4204
|
return { observe: noop, unobserve: noop };
|
|
@@ -4338,14 +4229,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4338
4229
|
}, []);
|
|
4339
4230
|
}
|
|
4340
4231
|
var init_dist10 = __esm({
|
|
4341
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4232
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.7/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4342
4233
|
init_index();
|
|
4343
4234
|
init_solid();
|
|
4344
4235
|
init_web();
|
|
4345
4236
|
}
|
|
4346
4237
|
});
|
|
4347
4238
|
|
|
4348
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4239
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.7/node_modules/@solid-primitives/props/dist/index.js
|
|
4349
4240
|
function stringStyleToObject(style2) {
|
|
4350
4241
|
const object = {};
|
|
4351
4242
|
let match;
|
|
@@ -4366,12 +4257,12 @@ function combineStyle(a2, b2) {
|
|
|
4366
4257
|
}
|
|
4367
4258
|
var extractCSSregex;
|
|
4368
4259
|
var init_dist11 = __esm({
|
|
4369
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4260
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.7/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4370
4261
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4371
4262
|
}
|
|
4372
4263
|
});
|
|
4373
4264
|
|
|
4374
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4265
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.7/node_modules/@kobalte/utils/dist/index.js
|
|
4375
4266
|
function addItemToArray(array, item, index = -1) {
|
|
4376
4267
|
if (!(index in array)) {
|
|
4377
4268
|
return [...array, item];
|
|
@@ -4757,7 +4648,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4757
4648
|
}
|
|
4758
4649
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4759
4650
|
var init_dist12 = __esm({
|
|
4760
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4651
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.7/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4761
4652
|
init_solid();
|
|
4762
4653
|
init_dist9();
|
|
4763
4654
|
init_dist6();
|
|
@@ -4822,7 +4713,7 @@ var init_dist12 = __esm({
|
|
|
4822
4713
|
}
|
|
4823
4714
|
});
|
|
4824
4715
|
|
|
4825
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4716
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
4826
4717
|
function createRegisterId(setter) {
|
|
4827
4718
|
return (id) => {
|
|
4828
4719
|
setter(id);
|
|
@@ -4830,11 +4721,11 @@ function createRegisterId(setter) {
|
|
|
4830
4721
|
};
|
|
4831
4722
|
}
|
|
4832
4723
|
var init_E4R2EMM4 = __esm({
|
|
4833
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4724
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
4834
4725
|
}
|
|
4835
4726
|
});
|
|
4836
4727
|
|
|
4837
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4728
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
4838
4729
|
function createTagName(ref, fallback) {
|
|
4839
4730
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
4840
4731
|
createEffect(() => {
|
|
@@ -4846,13 +4737,13 @@ function stringOrUndefined(value) {
|
|
|
4846
4737
|
return isString2(value) ? value : void 0;
|
|
4847
4738
|
}
|
|
4848
4739
|
var init_ET5T45DO = __esm({
|
|
4849
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4740
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
4850
4741
|
init_dist12();
|
|
4851
4742
|
init_solid();
|
|
4852
4743
|
}
|
|
4853
4744
|
});
|
|
4854
4745
|
|
|
4855
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4746
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
4856
4747
|
function Polymorphic(props) {
|
|
4857
4748
|
const [local, others] = splitProps(props, ["as"]);
|
|
4858
4749
|
if (!local.as) {
|
|
@@ -4868,13 +4759,13 @@ function Polymorphic(props) {
|
|
|
4868
4759
|
);
|
|
4869
4760
|
}
|
|
4870
4761
|
var init_Y7B2NEO = __esm({
|
|
4871
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4762
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
4872
4763
|
init_web();
|
|
4873
4764
|
init_solid();
|
|
4874
4765
|
}
|
|
4875
4766
|
});
|
|
4876
4767
|
|
|
4877
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4768
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
4878
4769
|
function createFormControl(props) {
|
|
4879
4770
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
4880
4771
|
const mergedProps = mergeDefaultProps({
|
|
@@ -4989,13 +4880,13 @@ function FormControlLabel(props) {
|
|
|
4989
4880
|
typeof _ref$ === "function" && _ref$(r$);
|
|
4990
4881
|
},
|
|
4991
4882
|
get ["for"]() {
|
|
4992
|
-
return
|
|
4883
|
+
return memo(() => tagName() === "label")() ? context.fieldId() : void 0;
|
|
4993
4884
|
}
|
|
4994
4885
|
}, () => context.dataset(), others));
|
|
4995
4886
|
}
|
|
4996
4887
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
4997
4888
|
var init_Q2DJLZQE = __esm({
|
|
4998
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4889
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
4999
4890
|
init_E4R2EMM4();
|
|
5000
4891
|
init_ET5T45DO();
|
|
5001
4892
|
init_Y7B2NEO();
|
|
@@ -5007,7 +4898,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5007
4898
|
}
|
|
5008
4899
|
});
|
|
5009
4900
|
|
|
5010
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4901
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5011
4902
|
function createFormResetListener(element, handler) {
|
|
5012
4903
|
createEffect(
|
|
5013
4904
|
on(element, (element2) => {
|
|
@@ -5032,12 +4923,12 @@ function isFormElement(element) {
|
|
|
5032
4923
|
return element.matches("textarea, input, select, button");
|
|
5033
4924
|
}
|
|
5034
4925
|
var init_ANN3A2QM = __esm({
|
|
5035
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4926
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5036
4927
|
init_solid();
|
|
5037
4928
|
}
|
|
5038
4929
|
});
|
|
5039
4930
|
|
|
5040
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4931
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5041
4932
|
function createControllableSignal(props) {
|
|
5042
4933
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5043
4934
|
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
@@ -5067,13 +4958,13 @@ function createControllableArraySignal(props) {
|
|
|
5067
4958
|
return [value, setValue];
|
|
5068
4959
|
}
|
|
5069
4960
|
var init_BLN63FDC = __esm({
|
|
5070
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4961
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5071
4962
|
init_dist12();
|
|
5072
4963
|
init_solid();
|
|
5073
4964
|
}
|
|
5074
4965
|
});
|
|
5075
4966
|
|
|
5076
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4967
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5077
4968
|
function createToggleState(props = {}) {
|
|
5078
4969
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5079
4970
|
value: () => access(props.isSelected),
|
|
@@ -5097,16 +4988,16 @@ function createToggleState(props = {}) {
|
|
|
5097
4988
|
};
|
|
5098
4989
|
}
|
|
5099
4990
|
var init_YGDQXQ2B = __esm({
|
|
5100
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4991
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5101
4992
|
init_BLN63FDC();
|
|
5102
4993
|
init_dist12();
|
|
5103
4994
|
}
|
|
5104
4995
|
});
|
|
5105
4996
|
|
|
5106
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4997
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5107
4998
|
var __defProp2, __export2;
|
|
5108
4999
|
var init_ZKAE4VZ = __esm({
|
|
5109
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5000
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5110
5001
|
__defProp2 = Object.defineProperty;
|
|
5111
5002
|
__export2 = (target, all) => {
|
|
5112
5003
|
for (var name in all)
|
|
@@ -5115,7 +5006,7 @@ var init_ZKAE4VZ = __esm({
|
|
|
5115
5006
|
}
|
|
5116
5007
|
});
|
|
5117
5008
|
|
|
5118
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5009
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5119
5010
|
function useOptionalDomCollectionContext() {
|
|
5120
5011
|
return useContext(DomCollectionContext);
|
|
5121
5012
|
}
|
|
@@ -5279,7 +5170,7 @@ function createDomCollectionItem(props) {
|
|
|
5279
5170
|
}
|
|
5280
5171
|
var DomCollectionContext;
|
|
5281
5172
|
var init_CVNMTYF = __esm({
|
|
5282
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5173
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5283
5174
|
init_BLN63FDC();
|
|
5284
5175
|
init_dist12();
|
|
5285
5176
|
init_solid();
|
|
@@ -5287,7 +5178,7 @@ var init_CVNMTYF = __esm({
|
|
|
5287
5178
|
}
|
|
5288
5179
|
});
|
|
5289
5180
|
|
|
5290
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5181
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5291
5182
|
function buildNodes(params) {
|
|
5292
5183
|
let index = params.startIndex ?? 0;
|
|
5293
5184
|
const level = params.startLevel ?? 0;
|
|
@@ -5396,13 +5287,13 @@ function createCollection(props, deps = []) {
|
|
|
5396
5287
|
});
|
|
5397
5288
|
}
|
|
5398
5289
|
var init_JMA2RWU6 = __esm({
|
|
5399
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5290
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5400
5291
|
init_dist12();
|
|
5401
5292
|
init_solid();
|
|
5402
5293
|
}
|
|
5403
5294
|
});
|
|
5404
5295
|
|
|
5405
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5296
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5406
5297
|
function isRTL(locale) {
|
|
5407
5298
|
if (Intl.Locale) {
|
|
5408
5299
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5479,7 +5370,7 @@ function createCollator(options) {
|
|
|
5479
5370
|
}
|
|
5480
5371
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5481
5372
|
var init_XHJPQEZP = __esm({
|
|
5482
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5373
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5483
5374
|
init_solid();
|
|
5484
5375
|
init_web();
|
|
5485
5376
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5524,7 +5415,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5524
5415
|
}
|
|
5525
5416
|
});
|
|
5526
5417
|
|
|
5527
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5418
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5528
5419
|
function createControllableSelectionSignal(props) {
|
|
5529
5420
|
const [_value, setValue] = createControllableSignal(props);
|
|
5530
5421
|
const value = () => _value() ?? new Selection();
|
|
@@ -6133,7 +6024,7 @@ function createListState(props) {
|
|
|
6133
6024
|
}
|
|
6134
6025
|
var Selection, SelectionManager, ListCollection;
|
|
6135
6026
|
var init_H6DSIDEC = __esm({
|
|
6136
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6027
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6137
6028
|
init_JMA2RWU6();
|
|
6138
6029
|
init_XHJPQEZP();
|
|
6139
6030
|
init_BLN63FDC();
|
|
@@ -6519,25 +6410,25 @@ var init_H6DSIDEC = __esm({
|
|
|
6519
6410
|
}
|
|
6520
6411
|
});
|
|
6521
6412
|
|
|
6522
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6413
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6523
6414
|
var access2;
|
|
6524
6415
|
var init_ZV6G25TT = __esm({
|
|
6525
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6416
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6526
6417
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6527
6418
|
}
|
|
6528
6419
|
});
|
|
6529
6420
|
|
|
6530
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6421
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6531
6422
|
var init_reactivity = __esm({
|
|
6532
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6423
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6533
6424
|
init_ZV6G25TT();
|
|
6534
6425
|
}
|
|
6535
6426
|
});
|
|
6536
6427
|
|
|
6537
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6428
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.7/node_modules/solid-presence/dist/index.js
|
|
6538
6429
|
var createPresence, presence_default, src_default;
|
|
6539
6430
|
var init_dist13 = __esm({
|
|
6540
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6431
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.7/node_modules/solid-presence/dist/index.js"() {
|
|
6541
6432
|
init_reactivity();
|
|
6542
6433
|
init_solid();
|
|
6543
6434
|
createPresence = (props) => {
|
|
@@ -6608,7 +6499,7 @@ var init_dist13 = __esm({
|
|
|
6608
6499
|
}
|
|
6609
6500
|
});
|
|
6610
6501
|
|
|
6611
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6502
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6612
6503
|
function indexOf(node) {
|
|
6613
6504
|
return layers.findIndex((layer) => layer.node === node);
|
|
6614
6505
|
}
|
|
@@ -6669,7 +6560,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6669
6560
|
}
|
|
6670
6561
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6671
6562
|
var init_ZKYDDHM6 = __esm({
|
|
6672
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6563
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6673
6564
|
init_dist12();
|
|
6674
6565
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6675
6566
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6690,7 +6581,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6690
6581
|
}
|
|
6691
6582
|
});
|
|
6692
6583
|
|
|
6693
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6584
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6694
6585
|
function isButton(element) {
|
|
6695
6586
|
const tagName = element.tagName.toLowerCase();
|
|
6696
6587
|
if (tagName === "button") {
|
|
@@ -6752,7 +6643,7 @@ function ButtonRoot(props) {
|
|
|
6752
6643
|
}
|
|
6753
6644
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6754
6645
|
var init_OVKXYPU = __esm({
|
|
6755
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6646
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6756
6647
|
init_ET5T45DO();
|
|
6757
6648
|
init_Y7B2NEO();
|
|
6758
6649
|
init_ZKAE4VZ();
|
|
@@ -8257,7 +8148,7 @@ var init_floating_ui_dom = __esm({
|
|
|
8257
8148
|
}
|
|
8258
8149
|
});
|
|
8259
8150
|
|
|
8260
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8151
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8261
8152
|
function usePopperContext() {
|
|
8262
8153
|
const context = useContext(PopperContext);
|
|
8263
8154
|
if (context === void 0) {
|
|
@@ -8562,7 +8453,7 @@ function PopperRoot(props) {
|
|
|
8562
8453
|
}
|
|
8563
8454
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8564
8455
|
var init_X2EKUJ3 = __esm({
|
|
8565
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8456
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8566
8457
|
init_XHJPQEZP();
|
|
8567
8458
|
init_Y7B2NEO();
|
|
8568
8459
|
init_web();
|
|
@@ -8595,7 +8486,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8595
8486
|
}
|
|
8596
8487
|
});
|
|
8597
8488
|
|
|
8598
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8489
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8599
8490
|
function createEscapeKeyDown(props) {
|
|
8600
8491
|
const handleKeyDown = (event) => {
|
|
8601
8492
|
if (event.key === EventKey.Escape) {
|
|
@@ -8617,14 +8508,14 @@ function createEscapeKeyDown(props) {
|
|
|
8617
8508
|
});
|
|
8618
8509
|
}
|
|
8619
8510
|
var init_QEMPLYZX = __esm({
|
|
8620
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8511
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8621
8512
|
init_dist12();
|
|
8622
8513
|
init_solid();
|
|
8623
8514
|
init_web();
|
|
8624
8515
|
}
|
|
8625
8516
|
});
|
|
8626
8517
|
|
|
8627
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8518
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8628
8519
|
function createInteractOutside(props, ref) {
|
|
8629
8520
|
let pointerDownTimeoutId;
|
|
8630
8521
|
let clickHandler = noop3;
|
|
@@ -8725,7 +8616,7 @@ function createInteractOutside(props, ref) {
|
|
|
8725
8616
|
}
|
|
8726
8617
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8727
8618
|
var init_QGCMYLTA = __esm({
|
|
8728
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8619
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8729
8620
|
init_ZKYDDHM6();
|
|
8730
8621
|
init_dist12();
|
|
8731
8622
|
init_solid();
|
|
@@ -8735,7 +8626,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8735
8626
|
}
|
|
8736
8627
|
});
|
|
8737
8628
|
|
|
8738
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8629
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8739
8630
|
function useOptionalDismissableLayerContext() {
|
|
8740
8631
|
return useContext(DismissableLayerContext);
|
|
8741
8632
|
}
|
|
@@ -8854,7 +8745,7 @@ function DismissableLayer(props) {
|
|
|
8854
8745
|
}
|
|
8855
8746
|
var DismissableLayerContext;
|
|
8856
8747
|
var init_G7G3PFRJ = __esm({
|
|
8857
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8748
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
8858
8749
|
init_QEMPLYZX();
|
|
8859
8750
|
init_QGCMYLTA();
|
|
8860
8751
|
init_ZKYDDHM6();
|
|
@@ -8866,7 +8757,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
8866
8757
|
}
|
|
8867
8758
|
});
|
|
8868
8759
|
|
|
8869
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8760
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
8870
8761
|
function createDisclosureState(props = {}) {
|
|
8871
8762
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
8872
8763
|
value: () => access(props.open),
|
|
@@ -8891,13 +8782,13 @@ function createDisclosureState(props = {}) {
|
|
|
8891
8782
|
};
|
|
8892
8783
|
}
|
|
8893
8784
|
var init_LCANGHD = __esm({
|
|
8894
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8785
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
8895
8786
|
init_BLN63FDC();
|
|
8896
8787
|
init_dist12();
|
|
8897
8788
|
}
|
|
8898
8789
|
});
|
|
8899
8790
|
|
|
8900
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8791
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
8901
8792
|
function useRadioGroupContext() {
|
|
8902
8793
|
const context = useContext(RadioGroupContext);
|
|
8903
8794
|
if (context === void 0) {
|
|
@@ -9232,7 +9123,7 @@ function RadioGroupRoot(props) {
|
|
|
9232
9123
|
}
|
|
9233
9124
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9234
9125
|
var init_Q2BOFK7I = __esm({
|
|
9235
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9126
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9236
9127
|
init_Q2DJLZQE();
|
|
9237
9128
|
init_ANN3A2QM();
|
|
9238
9129
|
init_E4R2EMM4();
|
|
@@ -9274,7 +9165,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9274
9165
|
}
|
|
9275
9166
|
});
|
|
9276
9167
|
|
|
9277
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9168
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9278
9169
|
function createSelectableList(props, ref, scrollRef) {
|
|
9279
9170
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9280
9171
|
const delegate = createMemo(() => {
|
|
@@ -9304,7 +9195,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9304
9195
|
}
|
|
9305
9196
|
var ListKeyboardDelegate;
|
|
9306
9197
|
var init_GLKC2QFF = __esm({
|
|
9307
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9198
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9308
9199
|
init_H6DSIDEC();
|
|
9309
9200
|
init_XHJPQEZP();
|
|
9310
9201
|
init_dist12();
|
|
@@ -9418,7 +9309,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9418
9309
|
}
|
|
9419
9310
|
});
|
|
9420
9311
|
|
|
9421
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9312
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9422
9313
|
function createFocusScope(props, ref) {
|
|
9423
9314
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9424
9315
|
const focusScope = {
|
|
@@ -9596,7 +9487,7 @@ function createFocusScope(props, ref) {
|
|
|
9596
9487
|
}
|
|
9597
9488
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9598
9489
|
var init_ISKHZMHS = __esm({
|
|
9599
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9490
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9600
9491
|
init_ZKYDDHM6();
|
|
9601
9492
|
init_dist12();
|
|
9602
9493
|
init_solid();
|
|
@@ -9628,15 +9519,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9628
9519
|
}
|
|
9629
9520
|
});
|
|
9630
9521
|
|
|
9631
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9522
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9632
9523
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9633
9524
|
var init_YA7DCYMB = __esm({
|
|
9634
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9525
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9635
9526
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9636
9527
|
}
|
|
9637
9528
|
});
|
|
9638
9529
|
|
|
9639
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9530
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9640
9531
|
function createHideOutside(props) {
|
|
9641
9532
|
createEffect(() => {
|
|
9642
9533
|
if (access(props.isDisabled)) {
|
|
@@ -9755,7 +9646,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9755
9646
|
}
|
|
9756
9647
|
var refCountMap, observerStack;
|
|
9757
9648
|
var init_TZGE2AQH = __esm({
|
|
9758
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9649
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9759
9650
|
init_YA7DCYMB();
|
|
9760
9651
|
init_ZKYDDHM6();
|
|
9761
9652
|
init_dist12();
|
|
@@ -9765,10 +9656,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9765
9656
|
}
|
|
9766
9657
|
});
|
|
9767
9658
|
|
|
9768
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9659
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9769
9660
|
var activeStyles, createStyle, style_default;
|
|
9770
9661
|
var init_HD4B7J7A = __esm({
|
|
9771
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9662
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9772
9663
|
init_ZV6G25TT();
|
|
9773
9664
|
init_solid();
|
|
9774
9665
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -9819,17 +9710,17 @@ var init_HD4B7J7A = __esm({
|
|
|
9819
9710
|
}
|
|
9820
9711
|
});
|
|
9821
9712
|
|
|
9822
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9713
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/create/style.js
|
|
9823
9714
|
var init_style = __esm({
|
|
9824
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9715
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
9825
9716
|
init_HD4B7J7A();
|
|
9826
9717
|
}
|
|
9827
9718
|
});
|
|
9828
9719
|
|
|
9829
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9720
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/scroll/index.js
|
|
9830
9721
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
9831
9722
|
var init_scroll = __esm({
|
|
9832
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9723
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.7/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
9833
9724
|
getScrollDimensions = (element, axis) => {
|
|
9834
9725
|
switch (axis) {
|
|
9835
9726
|
case "x":
|
|
@@ -9871,10 +9762,10 @@ var init_scroll = __esm({
|
|
|
9871
9762
|
}
|
|
9872
9763
|
});
|
|
9873
9764
|
|
|
9874
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9765
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.7/node_modules/solid-prevent-scroll/dist/index.js
|
|
9875
9766
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
9876
9767
|
var init_dist14 = __esm({
|
|
9877
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9768
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.7/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
9878
9769
|
init_reactivity();
|
|
9879
9770
|
init_solid();
|
|
9880
9771
|
init_style();
|
|
@@ -10058,7 +9949,7 @@ var init_dist14 = __esm({
|
|
|
10058
9949
|
}
|
|
10059
9950
|
});
|
|
10060
9951
|
|
|
10061
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9952
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10062
9953
|
function useOptionalMenuContext() {
|
|
10063
9954
|
return useContext(MenuContext);
|
|
10064
9955
|
}
|
|
@@ -10397,7 +10288,7 @@ function MenuTrigger(props) {
|
|
|
10397
10288
|
return context.isOpen();
|
|
10398
10289
|
},
|
|
10399
10290
|
get ["aria-controls"]() {
|
|
10400
|
-
return
|
|
10291
|
+
return memo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
10401
10292
|
},
|
|
10402
10293
|
get ["data-highlighted"]() {
|
|
10403
10294
|
return key() !== void 0 && optionalMenubarContext?.value() === key() ? true : void 0;
|
|
@@ -10556,7 +10447,7 @@ function MenuContentBase(props) {
|
|
|
10556
10447
|
get children() {
|
|
10557
10448
|
return createComponent(DismissableLayer, mergeProps({
|
|
10558
10449
|
get disableOutsidePointerEvents() {
|
|
10559
|
-
return
|
|
10450
|
+
return memo(() => !!isRootModalContent())() && context.isOpen();
|
|
10560
10451
|
},
|
|
10561
10452
|
get excludedElements() {
|
|
10562
10453
|
return [context.triggerRef];
|
|
@@ -11228,7 +11119,7 @@ function MenuSubTrigger(props) {
|
|
|
11228
11119
|
return context.isOpen();
|
|
11229
11120
|
},
|
|
11230
11121
|
get ["aria-controls"]() {
|
|
11231
|
-
return
|
|
11122
|
+
return memo(() => !!context.isOpen())() ? context.contentId() : void 0;
|
|
11232
11123
|
},
|
|
11233
11124
|
get ["aria-disabled"]() {
|
|
11234
11125
|
return local.disabled;
|
|
@@ -11301,7 +11192,7 @@ function MenuRoot(props) {
|
|
|
11301
11192
|
}
|
|
11302
11193
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11303
11194
|
var init_F4B62RP = __esm({
|
|
11304
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11195
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11305
11196
|
init_X2EKUJ3();
|
|
11306
11197
|
init_CVNMTYF();
|
|
11307
11198
|
init_GLKC2QFF();
|
|
@@ -11358,7 +11249,7 @@ var init_F4B62RP = __esm({
|
|
|
11358
11249
|
}
|
|
11359
11250
|
});
|
|
11360
11251
|
|
|
11361
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11252
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11362
11253
|
function SeparatorRoot(props) {
|
|
11363
11254
|
let ref;
|
|
11364
11255
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11385,7 +11276,7 @@ function SeparatorRoot(props) {
|
|
|
11385
11276
|
}
|
|
11386
11277
|
var separator_exports, Separator;
|
|
11387
11278
|
var init_STGRFJHZ = __esm({
|
|
11388
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11279
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11389
11280
|
init_ET5T45DO();
|
|
11390
11281
|
init_Y7B2NEO();
|
|
11391
11282
|
init_ZKAE4VZ();
|
|
@@ -11401,7 +11292,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11401
11292
|
}
|
|
11402
11293
|
});
|
|
11403
11294
|
|
|
11404
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11295
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11405
11296
|
function DropdownMenuContent(props) {
|
|
11406
11297
|
const rootContext = useMenuRootContext();
|
|
11407
11298
|
const context = useMenuContext();
|
|
@@ -11435,7 +11326,7 @@ function DropdownMenuRoot(props) {
|
|
|
11435
11326
|
}
|
|
11436
11327
|
var dropdown_menu_exports, DropdownMenu;
|
|
11437
11328
|
var init_V2JBZ7BJ = __esm({
|
|
11438
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11329
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11439
11330
|
init_F4B62RP();
|
|
11440
11331
|
init_STGRFJHZ();
|
|
11441
11332
|
init_X2EKUJ3();
|
|
@@ -11489,9 +11380,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11489
11380
|
}
|
|
11490
11381
|
});
|
|
11491
11382
|
|
|
11492
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11383
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/index.js
|
|
11493
11384
|
var init_dist15 = __esm({
|
|
11494
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11385
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.7/node_modules/@kobalte/core/dist/index.js"() {
|
|
11495
11386
|
init_Q2BOFK7I();
|
|
11496
11387
|
init_V2JBZ7BJ();
|
|
11497
11388
|
}
|
|
@@ -12321,7 +12212,7 @@ function Explorer(props) {
|
|
|
12321
12212
|
}), null);
|
|
12322
12213
|
insert(_el$12, createComponent(Show, {
|
|
12323
12214
|
get when() {
|
|
12324
|
-
return
|
|
12215
|
+
return memo(() => !!!!props.onEdit)() && !serialize(props.value).meta;
|
|
12325
12216
|
},
|
|
12326
12217
|
get children() {
|
|
12327
12218
|
var _el$13 = _tmpl$62();
|
|
@@ -12479,7 +12370,7 @@ function Explorer(props) {
|
|
|
12479
12370
|
insert(_el$17, () => props.label, _el$18);
|
|
12480
12371
|
insert(_el$16, createComponent(Show, {
|
|
12481
12372
|
get when() {
|
|
12482
|
-
return
|
|
12373
|
+
return memo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
|
|
12483
12374
|
},
|
|
12484
12375
|
get fallback() {
|
|
12485
12376
|
return (() => {
|
|
@@ -12492,7 +12383,7 @@ function Explorer(props) {
|
|
|
12492
12383
|
get children() {
|
|
12493
12384
|
return [createComponent(Show, {
|
|
12494
12385
|
get when() {
|
|
12495
|
-
return
|
|
12386
|
+
return memo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
|
|
12496
12387
|
},
|
|
12497
12388
|
get children() {
|
|
12498
12389
|
var _el$19 = _tmpl$92();
|
|
@@ -12898,7 +12789,7 @@ var init_Explorer = __esm({
|
|
|
12898
12789
|
});
|
|
12899
12790
|
|
|
12900
12791
|
// src/Devtools.tsx
|
|
12901
|
-
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;
|
|
12792
|
+
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;
|
|
12902
12793
|
var init_Devtools = __esm({
|
|
12903
12794
|
"src/Devtools.tsx"() {
|
|
12904
12795
|
init_web();
|
|
@@ -12945,23 +12836,26 @@ var init_Devtools = __esm({
|
|
|
12945
12836
|
_tmpl$142 = /* @__PURE__ */ template(`<span>Light`);
|
|
12946
12837
|
_tmpl$152 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12947
12838
|
_tmpl$162 = /* @__PURE__ */ template(`<span>System`);
|
|
12948
|
-
_tmpl$172 = /* @__PURE__ */ template(`<
|
|
12949
|
-
_tmpl$182 = /* @__PURE__ */ template(`<
|
|
12950
|
-
_tmpl$192 = /* @__PURE__ */ template(`<
|
|
12951
|
-
_tmpl$202 = /* @__PURE__ */ template(`<
|
|
12952
|
-
_tmpl$212 = /* @__PURE__ */ template(`<div class=tsqd-
|
|
12953
|
-
_tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-
|
|
12954
|
-
_tmpl$232 = /* @__PURE__ */ template(`<
|
|
12955
|
-
_tmpl$242 = /* @__PURE__ */ template(`<div
|
|
12956
|
-
_tmpl$252 = /* @__PURE__ */ template(`<
|
|
12957
|
-
_tmpl$262 = /* @__PURE__ */ template(`<button><
|
|
12958
|
-
_tmpl$27 = /* @__PURE__ */ template(`<
|
|
12959
|
-
_tmpl$28 = /* @__PURE__ */ template(`<
|
|
12960
|
-
_tmpl$29 = /* @__PURE__ */ template(`<
|
|
12961
|
-
_tmpl$30 = /* @__PURE__ */ template(`<
|
|
12962
|
-
_tmpl$31 = /* @__PURE__ */ template(`<div><
|
|
12963
|
-
_tmpl$322 = /* @__PURE__ */ template(`<
|
|
12964
|
-
_tmpl$332 = /* @__PURE__ */ template(`<
|
|
12839
|
+
_tmpl$172 = /* @__PURE__ */ template(`<span>Disabled Queries`);
|
|
12840
|
+
_tmpl$182 = /* @__PURE__ */ template(`<span>Show`);
|
|
12841
|
+
_tmpl$192 = /* @__PURE__ */ template(`<span>Hide`);
|
|
12842
|
+
_tmpl$202 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
12843
|
+
_tmpl$212 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
12844
|
+
_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>`);
|
|
12845
|
+
_tmpl$232 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12846
|
+
_tmpl$242 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12847
|
+
_tmpl$252 = /* @__PURE__ */ template(`<div class=tsqd-query-static-indicator>static`);
|
|
12848
|
+
_tmpl$262 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12849
|
+
_tmpl$27 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12850
|
+
_tmpl$28 = /* @__PURE__ */ template(`<span>`);
|
|
12851
|
+
_tmpl$29 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12852
|
+
_tmpl$30 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12853
|
+
_tmpl$31 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12854
|
+
_tmpl$322 = /* @__PURE__ */ template(`<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">`);
|
|
12855
|
+
_tmpl$332 = /* @__PURE__ */ template(`<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save`);
|
|
12856
|
+
_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">`);
|
|
12857
|
+
_tmpl$35 = /* @__PURE__ */ template(`<option>`);
|
|
12858
|
+
_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">`);
|
|
12965
12859
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12966
12860
|
[selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
12967
12861
|
[panelWidth, setPanelWidth] = createSignal(0);
|
|
@@ -13017,7 +12911,7 @@ var init_Devtools = __esm({
|
|
|
13017
12911
|
const pip_open = createMemo(() => props.localStore.pip_open ?? "false");
|
|
13018
12912
|
return [createComponent(Show, {
|
|
13019
12913
|
get when() {
|
|
13020
|
-
return
|
|
12914
|
+
return memo(() => !!pip().pipWindow)() && pip_open() == "true";
|
|
13021
12915
|
},
|
|
13022
12916
|
get children() {
|
|
13023
12917
|
return createComponent(Portal, {
|
|
@@ -13042,7 +12936,7 @@ var init_Devtools = __esm({
|
|
|
13042
12936
|
get children() {
|
|
13043
12937
|
return createComponent(Show, {
|
|
13044
12938
|
get when() {
|
|
13045
|
-
return
|
|
12939
|
+
return memo(() => !!(isOpen() && !pip().pipWindow))() && pip_open() == "false";
|
|
13046
12940
|
},
|
|
13047
12941
|
get children() {
|
|
13048
12942
|
return createComponent(DraggablePanel, {
|
|
@@ -13376,9 +13270,12 @@ var init_Devtools = __esm({
|
|
|
13376
13270
|
const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
13377
13271
|
return queryCache().getAll().length;
|
|
13378
13272
|
}, false);
|
|
13379
|
-
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
|
|
13273
|
+
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder(), props.localStore.hideDisabledQueries], () => {
|
|
13380
13274
|
const curr = query_cache().getAll();
|
|
13381
|
-
|
|
13275
|
+
let filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
|
|
13276
|
+
if (props.localStore.hideDisabledQueries === "true") {
|
|
13277
|
+
filtered = filtered.filter((item) => !item.isDisabled());
|
|
13278
|
+
}
|
|
13382
13279
|
const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
|
|
13383
13280
|
return sorted;
|
|
13384
13281
|
}));
|
|
@@ -13403,7 +13300,7 @@ var init_Devtools = __esm({
|
|
|
13403
13300
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13404
13301
|
};
|
|
13405
13302
|
return [(() => {
|
|
13406
|
-
var _el$0 = _tmpl$
|
|
13303
|
+
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;
|
|
13407
13304
|
var _ref$4 = containerRef;
|
|
13408
13305
|
typeof _ref$4 === "function" ? use(_ref$4, _el$0) : containerRef = _el$0;
|
|
13409
13306
|
_el$11.$$click = () => {
|
|
@@ -13493,10 +13390,10 @@ var init_Devtools = __esm({
|
|
|
13493
13390
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13494
13391
|
});
|
|
13495
13392
|
insert(_el$20, () => Object.keys(sortFns).map((key) => (() => {
|
|
13496
|
-
var _el$
|
|
13497
|
-
_el$
|
|
13498
|
-
insert(_el$
|
|
13499
|
-
return _el$
|
|
13393
|
+
var _el$46 = _tmpl$232(); _el$46.firstChild;
|
|
13394
|
+
_el$46.value = key;
|
|
13395
|
+
insert(_el$46, key, null);
|
|
13396
|
+
return _el$46;
|
|
13500
13397
|
})()));
|
|
13501
13398
|
createRenderEffect(() => _el$20.value = sort());
|
|
13502
13399
|
return _el$20;
|
|
@@ -13512,10 +13409,10 @@ var init_Devtools = __esm({
|
|
|
13512
13409
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13513
13410
|
});
|
|
13514
13411
|
insert(_el$21, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
13515
|
-
var _el$
|
|
13516
|
-
_el$
|
|
13517
|
-
insert(_el$
|
|
13518
|
-
return _el$
|
|
13412
|
+
var _el$48 = _tmpl$232(); _el$48.firstChild;
|
|
13413
|
+
_el$48.value = key;
|
|
13414
|
+
insert(_el$48, key, null);
|
|
13415
|
+
return _el$48;
|
|
13519
13416
|
})()));
|
|
13520
13417
|
createRenderEffect(() => _el$21.value = mutationSort());
|
|
13521
13418
|
return _el$21;
|
|
@@ -13563,12 +13460,12 @@ var init_Devtools = __esm({
|
|
|
13563
13460
|
onlineManager().setOnline(!onlineManager().isOnline());
|
|
13564
13461
|
};
|
|
13565
13462
|
insert(_el$27, (() => {
|
|
13566
|
-
var _c$ =
|
|
13463
|
+
var _c$ = memo(() => !!offline());
|
|
13567
13464
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
13568
13465
|
})());
|
|
13569
13466
|
insert(_el$25, createComponent(Show, {
|
|
13570
13467
|
get when() {
|
|
13571
|
-
return
|
|
13468
|
+
return memo(() => !!!pip().pipWindow)() && !pip().disabled;
|
|
13572
13469
|
},
|
|
13573
13470
|
get children() {
|
|
13574
13471
|
var _el$28 = _tmpl$83();
|
|
@@ -13593,7 +13490,7 @@ var init_Devtools = __esm({
|
|
|
13593
13490
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13594
13491
|
ref: (el) => setComputedVariables(el),
|
|
13595
13492
|
get mount() {
|
|
13596
|
-
return
|
|
13493
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13597
13494
|
},
|
|
13598
13495
|
get children() {
|
|
13599
13496
|
return createComponent(dropdown_menu_exports.Content, {
|
|
@@ -13625,7 +13522,7 @@ var init_Devtools = __esm({
|
|
|
13625
13522
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13626
13523
|
ref: (el) => setComputedVariables(el),
|
|
13627
13524
|
get mount() {
|
|
13628
|
-
return
|
|
13525
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13629
13526
|
},
|
|
13630
13527
|
get children() {
|
|
13631
13528
|
return createComponent(dropdown_menu_exports.SubContent, {
|
|
@@ -13700,7 +13597,7 @@ var init_Devtools = __esm({
|
|
|
13700
13597
|
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13701
13598
|
ref: (el) => setComputedVariables(el),
|
|
13702
13599
|
get mount() {
|
|
13703
|
-
return
|
|
13600
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13704
13601
|
},
|
|
13705
13602
|
get children() {
|
|
13706
13603
|
return createComponent(dropdown_menu_exports.SubContent, {
|
|
@@ -13747,6 +13644,71 @@ var init_Devtools = __esm({
|
|
|
13747
13644
|
}
|
|
13748
13645
|
})];
|
|
13749
13646
|
}
|
|
13647
|
+
}), createComponent(dropdown_menu_exports.Sub, {
|
|
13648
|
+
overlap: true,
|
|
13649
|
+
gutter: 8,
|
|
13650
|
+
shift: -4,
|
|
13651
|
+
get children() {
|
|
13652
|
+
return [createComponent(dropdown_menu_exports.SubTrigger, {
|
|
13653
|
+
get ["class"]() {
|
|
13654
|
+
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-disabled-queries");
|
|
13655
|
+
},
|
|
13656
|
+
get children() {
|
|
13657
|
+
return [_tmpl$172(), createComponent(ChevronDown, {})];
|
|
13658
|
+
}
|
|
13659
|
+
}), createComponent(dropdown_menu_exports.Portal, {
|
|
13660
|
+
ref: (el) => setComputedVariables(el),
|
|
13661
|
+
get mount() {
|
|
13662
|
+
return memo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13663
|
+
},
|
|
13664
|
+
get children() {
|
|
13665
|
+
return createComponent(dropdown_menu_exports.SubContent, {
|
|
13666
|
+
get ["class"]() {
|
|
13667
|
+
return clsx(styles().settingsMenu, "tsqd-settings-submenu");
|
|
13668
|
+
},
|
|
13669
|
+
get children() {
|
|
13670
|
+
return [createComponent(dropdown_menu_exports.Item, {
|
|
13671
|
+
onSelect: () => {
|
|
13672
|
+
props.setLocalStore("hideDisabledQueries", "false");
|
|
13673
|
+
},
|
|
13674
|
+
as: "button",
|
|
13675
|
+
get ["class"]() {
|
|
13676
|
+
return clsx(styles().settingsSubButton, props.localStore.hideDisabledQueries !== "true" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-show");
|
|
13677
|
+
},
|
|
13678
|
+
get children() {
|
|
13679
|
+
return [_tmpl$182(), createComponent(Show, {
|
|
13680
|
+
get when() {
|
|
13681
|
+
return props.localStore.hideDisabledQueries !== "true";
|
|
13682
|
+
},
|
|
13683
|
+
get children() {
|
|
13684
|
+
return createComponent(CheckCircle, {});
|
|
13685
|
+
}
|
|
13686
|
+
})];
|
|
13687
|
+
}
|
|
13688
|
+
}), createComponent(dropdown_menu_exports.Item, {
|
|
13689
|
+
onSelect: () => {
|
|
13690
|
+
props.setLocalStore("hideDisabledQueries", "true");
|
|
13691
|
+
},
|
|
13692
|
+
as: "button",
|
|
13693
|
+
get ["class"]() {
|
|
13694
|
+
return clsx(styles().settingsSubButton, props.localStore.hideDisabledQueries === "true" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-hide");
|
|
13695
|
+
},
|
|
13696
|
+
get children() {
|
|
13697
|
+
return [_tmpl$192(), createComponent(Show, {
|
|
13698
|
+
get when() {
|
|
13699
|
+
return props.localStore.hideDisabledQueries === "true";
|
|
13700
|
+
},
|
|
13701
|
+
get children() {
|
|
13702
|
+
return createComponent(CheckCircle, {});
|
|
13703
|
+
}
|
|
13704
|
+
})];
|
|
13705
|
+
}
|
|
13706
|
+
})];
|
|
13707
|
+
}
|
|
13708
|
+
});
|
|
13709
|
+
}
|
|
13710
|
+
})];
|
|
13711
|
+
}
|
|
13750
13712
|
})];
|
|
13751
13713
|
}
|
|
13752
13714
|
});
|
|
@@ -13759,8 +13721,8 @@ var init_Devtools = __esm({
|
|
|
13759
13721
|
return selectedView() === "queries";
|
|
13760
13722
|
},
|
|
13761
13723
|
get children() {
|
|
13762
|
-
var _el$
|
|
13763
|
-
insert(_el$
|
|
13724
|
+
var _el$42 = _tmpl$202(), _el$43 = _el$42.firstChild;
|
|
13725
|
+
insert(_el$43, createComponent(Key, {
|
|
13764
13726
|
by: (q) => q.queryHash,
|
|
13765
13727
|
get each() {
|
|
13766
13728
|
return queries();
|
|
@@ -13771,8 +13733,8 @@ var init_Devtools = __esm({
|
|
|
13771
13733
|
}
|
|
13772
13734
|
})
|
|
13773
13735
|
}));
|
|
13774
|
-
createRenderEffect(() => className(_el$
|
|
13775
|
-
return _el$
|
|
13736
|
+
createRenderEffect(() => className(_el$42, clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container")));
|
|
13737
|
+
return _el$42;
|
|
13776
13738
|
}
|
|
13777
13739
|
}), null);
|
|
13778
13740
|
insert(_el$0, createComponent(Show, {
|
|
@@ -13780,8 +13742,8 @@ var init_Devtools = __esm({
|
|
|
13780
13742
|
return selectedView() === "mutations";
|
|
13781
13743
|
},
|
|
13782
13744
|
get children() {
|
|
13783
|
-
var _el$
|
|
13784
|
-
insert(_el$
|
|
13745
|
+
var _el$44 = _tmpl$212(), _el$45 = _el$44.firstChild;
|
|
13746
|
+
insert(_el$45, createComponent(Key, {
|
|
13785
13747
|
by: (m) => m.mutationId,
|
|
13786
13748
|
get each() {
|
|
13787
13749
|
return mutations();
|
|
@@ -13792,8 +13754,8 @@ var init_Devtools = __esm({
|
|
|
13792
13754
|
}
|
|
13793
13755
|
})
|
|
13794
13756
|
}));
|
|
13795
|
-
createRenderEffect(() => className(_el$
|
|
13796
|
-
return _el$
|
|
13757
|
+
createRenderEffect(() => className(_el$44, clsx(styles().overflowQueryContainer, "tsqd-mutations-overflow-container")));
|
|
13758
|
+
return _el$44;
|
|
13797
13759
|
}
|
|
13798
13760
|
}), null);
|
|
13799
13761
|
createRenderEffect((_p$) => {
|
|
@@ -13851,14 +13813,14 @@ var init_Devtools = __esm({
|
|
|
13851
13813
|
return _el$0;
|
|
13852
13814
|
})(), createComponent(Show, {
|
|
13853
13815
|
get when() {
|
|
13854
|
-
return
|
|
13816
|
+
return memo(() => selectedView() === "queries")() && selectedQueryHash();
|
|
13855
13817
|
},
|
|
13856
13818
|
get children() {
|
|
13857
13819
|
return createComponent(QueryDetails, {});
|
|
13858
13820
|
}
|
|
13859
13821
|
}), createComponent(Show, {
|
|
13860
13822
|
get when() {
|
|
13861
|
-
return
|
|
13823
|
+
return memo(() => selectedView() === "mutations")() && selectedMutationId();
|
|
13862
13824
|
},
|
|
13863
13825
|
get children() {
|
|
13864
13826
|
return createComponent(MutationDetails, {});
|
|
@@ -13915,38 +13877,38 @@ var init_Devtools = __esm({
|
|
|
13915
13877
|
return queryState();
|
|
13916
13878
|
},
|
|
13917
13879
|
get children() {
|
|
13918
|
-
var _el$
|
|
13919
|
-
_el$
|
|
13920
|
-
insert(_el$
|
|
13921
|
-
insert(_el$
|
|
13922
|
-
insert(_el$
|
|
13880
|
+
var _el$50 = _tmpl$262(), _el$51 = _el$50.firstChild, _el$52 = _el$51.nextSibling;
|
|
13881
|
+
_el$50.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13882
|
+
insert(_el$51, observers);
|
|
13883
|
+
insert(_el$52, () => props.query.queryHash);
|
|
13884
|
+
insert(_el$50, createComponent(Show, {
|
|
13923
13885
|
get when() {
|
|
13924
13886
|
return isDisabled();
|
|
13925
13887
|
},
|
|
13926
13888
|
get children() {
|
|
13927
|
-
return _tmpl$
|
|
13889
|
+
return _tmpl$242();
|
|
13928
13890
|
}
|
|
13929
13891
|
}), null);
|
|
13930
|
-
insert(_el$
|
|
13892
|
+
insert(_el$50, createComponent(Show, {
|
|
13931
13893
|
get when() {
|
|
13932
13894
|
return isStatic();
|
|
13933
13895
|
},
|
|
13934
13896
|
get children() {
|
|
13935
|
-
return _tmpl$
|
|
13897
|
+
return _tmpl$252();
|
|
13936
13898
|
}
|
|
13937
13899
|
}), null);
|
|
13938
13900
|
createRenderEffect((_p$) => {
|
|
13939
13901
|
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");
|
|
13940
|
-
_v$24 !== _p$.e && className(_el$
|
|
13941
|
-
_v$25 !== _p$.t && setAttribute(_el$
|
|
13942
|
-
_v$26 !== _p$.a && className(_el$
|
|
13902
|
+
_v$24 !== _p$.e && className(_el$50, _p$.e = _v$24);
|
|
13903
|
+
_v$25 !== _p$.t && setAttribute(_el$50, "aria-label", _p$.t = _v$25);
|
|
13904
|
+
_v$26 !== _p$.a && className(_el$51, _p$.a = _v$26);
|
|
13943
13905
|
return _p$;
|
|
13944
13906
|
}, {
|
|
13945
13907
|
e: void 0,
|
|
13946
13908
|
t: void 0,
|
|
13947
13909
|
a: void 0
|
|
13948
13910
|
});
|
|
13949
|
-
return _el$
|
|
13911
|
+
return _el$50;
|
|
13950
13912
|
}
|
|
13951
13913
|
});
|
|
13952
13914
|
};
|
|
@@ -14001,11 +13963,11 @@ var init_Devtools = __esm({
|
|
|
14001
13963
|
return mutationState();
|
|
14002
13964
|
},
|
|
14003
13965
|
get children() {
|
|
14004
|
-
var _el$
|
|
14005
|
-
_el$
|
|
13966
|
+
var _el$55 = _tmpl$262(), _el$56 = _el$55.firstChild, _el$57 = _el$56.nextSibling;
|
|
13967
|
+
_el$55.$$click = () => {
|
|
14006
13968
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
14007
13969
|
};
|
|
14008
|
-
insert(_el$
|
|
13970
|
+
insert(_el$56, createComponent(Show, {
|
|
14009
13971
|
get when() {
|
|
14010
13972
|
return color() === "purple";
|
|
14011
13973
|
},
|
|
@@ -14013,7 +13975,7 @@ var init_Devtools = __esm({
|
|
|
14013
13975
|
return createComponent(PauseCircle, {});
|
|
14014
13976
|
}
|
|
14015
13977
|
}), null);
|
|
14016
|
-
insert(_el$
|
|
13978
|
+
insert(_el$56, createComponent(Show, {
|
|
14017
13979
|
get when() {
|
|
14018
13980
|
return color() === "green";
|
|
14019
13981
|
},
|
|
@@ -14021,7 +13983,7 @@ var init_Devtools = __esm({
|
|
|
14021
13983
|
return createComponent(CheckCircle, {});
|
|
14022
13984
|
}
|
|
14023
13985
|
}), null);
|
|
14024
|
-
insert(_el$
|
|
13986
|
+
insert(_el$56, createComponent(Show, {
|
|
14025
13987
|
get when() {
|
|
14026
13988
|
return color() === "red";
|
|
14027
13989
|
},
|
|
@@ -14029,7 +13991,7 @@ var init_Devtools = __esm({
|
|
|
14029
13991
|
return createComponent(XCircle, {});
|
|
14030
13992
|
}
|
|
14031
13993
|
}), null);
|
|
14032
|
-
insert(_el$
|
|
13994
|
+
insert(_el$56, createComponent(Show, {
|
|
14033
13995
|
get when() {
|
|
14034
13996
|
return color() === "yellow";
|
|
14035
13997
|
},
|
|
@@ -14037,27 +13999,27 @@ var init_Devtools = __esm({
|
|
|
14037
13999
|
return createComponent(LoadingCircle, {});
|
|
14038
14000
|
}
|
|
14039
14001
|
}), null);
|
|
14040
|
-
insert(_el$
|
|
14002
|
+
insert(_el$57, createComponent(Show, {
|
|
14041
14003
|
get when() {
|
|
14042
14004
|
return props.mutation.options.mutationKey;
|
|
14043
14005
|
},
|
|
14044
14006
|
get children() {
|
|
14045
|
-
return [
|
|
14007
|
+
return [memo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
14046
14008
|
}
|
|
14047
14009
|
}), null);
|
|
14048
|
-
insert(_el$
|
|
14010
|
+
insert(_el$57, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
14049
14011
|
createRenderEffect((_p$) => {
|
|
14050
14012
|
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");
|
|
14051
|
-
_v$27 !== _p$.e && className(_el$
|
|
14052
|
-
_v$28 !== _p$.t && setAttribute(_el$
|
|
14053
|
-
_v$29 !== _p$.a && className(_el$
|
|
14013
|
+
_v$27 !== _p$.e && className(_el$55, _p$.e = _v$27);
|
|
14014
|
+
_v$28 !== _p$.t && setAttribute(_el$55, "aria-label", _p$.t = _v$28);
|
|
14015
|
+
_v$29 !== _p$.a && className(_el$56, _p$.a = _v$29);
|
|
14054
14016
|
return _p$;
|
|
14055
14017
|
}, {
|
|
14056
14018
|
e: void 0,
|
|
14057
14019
|
t: void 0,
|
|
14058
14020
|
a: void 0
|
|
14059
14021
|
});
|
|
14060
|
-
return _el$
|
|
14022
|
+
return _el$55;
|
|
14061
14023
|
}
|
|
14062
14024
|
});
|
|
14063
14025
|
};
|
|
@@ -14075,44 +14037,44 @@ var init_Devtools = __esm({
|
|
|
14075
14037
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
14076
14038
|
});
|
|
14077
14039
|
return (() => {
|
|
14078
|
-
var _el$
|
|
14079
|
-
insert(_el$
|
|
14040
|
+
var _el$58 = _tmpl$26();
|
|
14041
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14080
14042
|
label: "Fresh",
|
|
14081
14043
|
color: "green",
|
|
14082
14044
|
get count() {
|
|
14083
14045
|
return fresh();
|
|
14084
14046
|
}
|
|
14085
14047
|
}), null);
|
|
14086
|
-
insert(_el$
|
|
14048
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14087
14049
|
label: "Fetching",
|
|
14088
14050
|
color: "blue",
|
|
14089
14051
|
get count() {
|
|
14090
14052
|
return fetching();
|
|
14091
14053
|
}
|
|
14092
14054
|
}), null);
|
|
14093
|
-
insert(_el$
|
|
14055
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14094
14056
|
label: "Paused",
|
|
14095
14057
|
color: "purple",
|
|
14096
14058
|
get count() {
|
|
14097
14059
|
return paused();
|
|
14098
14060
|
}
|
|
14099
14061
|
}), null);
|
|
14100
|
-
insert(_el$
|
|
14062
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14101
14063
|
label: "Stale",
|
|
14102
14064
|
color: "yellow",
|
|
14103
14065
|
get count() {
|
|
14104
14066
|
return stale();
|
|
14105
14067
|
}
|
|
14106
14068
|
}), null);
|
|
14107
|
-
insert(_el$
|
|
14069
|
+
insert(_el$58, createComponent(QueryStatus, {
|
|
14108
14070
|
label: "Inactive",
|
|
14109
14071
|
color: "gray",
|
|
14110
14072
|
get count() {
|
|
14111
14073
|
return inactive();
|
|
14112
14074
|
}
|
|
14113
14075
|
}), null);
|
|
14114
|
-
createRenderEffect(() => className(_el$
|
|
14115
|
-
return _el$
|
|
14076
|
+
createRenderEffect(() => className(_el$58, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14077
|
+
return _el$58;
|
|
14116
14078
|
})();
|
|
14117
14079
|
};
|
|
14118
14080
|
MutationStatusCount = () => {
|
|
@@ -14140,37 +14102,37 @@ var init_Devtools = __esm({
|
|
|
14140
14102
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
14141
14103
|
});
|
|
14142
14104
|
return (() => {
|
|
14143
|
-
var _el$
|
|
14144
|
-
insert(_el$
|
|
14105
|
+
var _el$59 = _tmpl$26();
|
|
14106
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14145
14107
|
label: "Paused",
|
|
14146
14108
|
color: "purple",
|
|
14147
14109
|
get count() {
|
|
14148
14110
|
return paused();
|
|
14149
14111
|
}
|
|
14150
14112
|
}), null);
|
|
14151
|
-
insert(_el$
|
|
14113
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14152
14114
|
label: "Pending",
|
|
14153
14115
|
color: "yellow",
|
|
14154
14116
|
get count() {
|
|
14155
14117
|
return pending();
|
|
14156
14118
|
}
|
|
14157
14119
|
}), null);
|
|
14158
|
-
insert(_el$
|
|
14120
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14159
14121
|
label: "Success",
|
|
14160
14122
|
color: "green",
|
|
14161
14123
|
get count() {
|
|
14162
14124
|
return success();
|
|
14163
14125
|
}
|
|
14164
14126
|
}), null);
|
|
14165
|
-
insert(_el$
|
|
14127
|
+
insert(_el$59, createComponent(QueryStatus, {
|
|
14166
14128
|
label: "Error",
|
|
14167
14129
|
color: "red",
|
|
14168
14130
|
get count() {
|
|
14169
14131
|
return error();
|
|
14170
14132
|
}
|
|
14171
14133
|
}), null);
|
|
14172
|
-
createRenderEffect(() => className(_el$
|
|
14173
|
-
return _el$
|
|
14134
|
+
createRenderEffect(() => className(_el$59, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14135
|
+
return _el$59;
|
|
14174
14136
|
})();
|
|
14175
14137
|
};
|
|
14176
14138
|
QueryStatus = (props) => {
|
|
@@ -14201,17 +14163,17 @@ var init_Devtools = __esm({
|
|
|
14201
14163
|
return true;
|
|
14202
14164
|
});
|
|
14203
14165
|
return (() => {
|
|
14204
|
-
var _el$
|
|
14166
|
+
var _el$60 = _tmpl$29(), _el$62 = _el$60.firstChild, _el$64 = _el$62.nextSibling;
|
|
14205
14167
|
var _ref$5 = tagRef;
|
|
14206
|
-
typeof _ref$5 === "function" ? use(_ref$5, _el$
|
|
14207
|
-
_el$
|
|
14168
|
+
typeof _ref$5 === "function" ? use(_ref$5, _el$60) : tagRef = _el$60;
|
|
14169
|
+
_el$60.addEventListener("mouseleave", () => {
|
|
14208
14170
|
setMouseOver(false);
|
|
14209
14171
|
setFocused(false);
|
|
14210
14172
|
});
|
|
14211
|
-
_el$
|
|
14212
|
-
_el$
|
|
14213
|
-
_el$
|
|
14214
|
-
spread(_el$
|
|
14173
|
+
_el$60.addEventListener("mouseenter", () => setMouseOver(true));
|
|
14174
|
+
_el$60.addEventListener("blur", () => setFocused(false));
|
|
14175
|
+
_el$60.addEventListener("focus", () => setFocused(true));
|
|
14176
|
+
spread(_el$60, mergeProps({
|
|
14215
14177
|
get disabled() {
|
|
14216
14178
|
return showLabel();
|
|
14217
14179
|
},
|
|
@@ -14226,29 +14188,29 @@ var init_Devtools = __esm({
|
|
|
14226
14188
|
}, () => mouseOver() || focused() ? {
|
|
14227
14189
|
"aria-describedby": "tsqd-status-tooltip"
|
|
14228
14190
|
} : {}), false, true);
|
|
14229
|
-
insert(_el$
|
|
14191
|
+
insert(_el$60, createComponent(Show, {
|
|
14230
14192
|
get when() {
|
|
14231
|
-
return
|
|
14193
|
+
return memo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14232
14194
|
},
|
|
14233
14195
|
get children() {
|
|
14234
|
-
var _el$
|
|
14235
|
-
insert(_el$
|
|
14236
|
-
createRenderEffect(() => className(_el$
|
|
14237
|
-
return _el$
|
|
14196
|
+
var _el$61 = _tmpl$27();
|
|
14197
|
+
insert(_el$61, () => props.label);
|
|
14198
|
+
createRenderEffect(() => className(_el$61, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
14199
|
+
return _el$61;
|
|
14238
14200
|
}
|
|
14239
|
-
}), _el$
|
|
14240
|
-
insert(_el$
|
|
14201
|
+
}), _el$62);
|
|
14202
|
+
insert(_el$60, createComponent(Show, {
|
|
14241
14203
|
get when() {
|
|
14242
14204
|
return showLabel();
|
|
14243
14205
|
},
|
|
14244
14206
|
get children() {
|
|
14245
|
-
var _el$
|
|
14246
|
-
insert(_el$
|
|
14247
|
-
createRenderEffect(() => className(_el$
|
|
14248
|
-
return _el$
|
|
14207
|
+
var _el$63 = _tmpl$28();
|
|
14208
|
+
insert(_el$63, () => props.label);
|
|
14209
|
+
createRenderEffect(() => className(_el$63, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
14210
|
+
return _el$63;
|
|
14249
14211
|
}
|
|
14250
|
-
}), _el$
|
|
14251
|
-
insert(_el$
|
|
14212
|
+
}), _el$64);
|
|
14213
|
+
insert(_el$64, () => props.count);
|
|
14252
14214
|
createRenderEffect((_p$) => {
|
|
14253
14215
|
var _v$30 = clsx(css`
|
|
14254
14216
|
width: ${tokens.size[1.5]};
|
|
@@ -14259,14 +14221,14 @@ var init_Devtools = __esm({
|
|
|
14259
14221
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
14260
14222
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
14261
14223
|
`, "tsqd-query-status-tag-count");
|
|
14262
|
-
_v$30 !== _p$.e && className(_el$
|
|
14263
|
-
_v$31 !== _p$.t && className(_el$
|
|
14224
|
+
_v$30 !== _p$.e && className(_el$62, _p$.e = _v$30);
|
|
14225
|
+
_v$31 !== _p$.t && className(_el$64, _p$.t = _v$31);
|
|
14264
14226
|
return _p$;
|
|
14265
14227
|
}, {
|
|
14266
14228
|
e: void 0,
|
|
14267
14229
|
t: void 0
|
|
14268
14230
|
});
|
|
14269
|
-
return _el$
|
|
14231
|
+
return _el$60;
|
|
14270
14232
|
})();
|
|
14271
14233
|
};
|
|
14272
14234
|
QueryDetails = () => {
|
|
@@ -14380,30 +14342,30 @@ var init_Devtools = __esm({
|
|
|
14380
14342
|
};
|
|
14381
14343
|
return createComponent(Show, {
|
|
14382
14344
|
get when() {
|
|
14383
|
-
return
|
|
14345
|
+
return memo(() => !!activeQuery())() && activeQueryState();
|
|
14384
14346
|
},
|
|
14385
14347
|
get children() {
|
|
14386
|
-
var _el$
|
|
14387
|
-
insert(_el$
|
|
14388
|
-
insert(_el$
|
|
14389
|
-
insert(_el$
|
|
14390
|
-
insert(_el$
|
|
14391
|
-
_el$
|
|
14392
|
-
_el$
|
|
14348
|
+
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;
|
|
14349
|
+
insert(_el$70, () => displayValue(activeQuery().queryKey, true));
|
|
14350
|
+
insert(_el$71, statusLabel);
|
|
14351
|
+
insert(_el$74, observerCount);
|
|
14352
|
+
insert(_el$77, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
14353
|
+
_el$80.$$click = handleRefetch;
|
|
14354
|
+
_el$82.$$click = () => {
|
|
14393
14355
|
sendDevToolsEvent({
|
|
14394
14356
|
type: "INVALIDATE",
|
|
14395
14357
|
queryHash: activeQuery()?.queryHash
|
|
14396
14358
|
});
|
|
14397
14359
|
queryClient.invalidateQueries(activeQuery());
|
|
14398
14360
|
};
|
|
14399
|
-
_el$
|
|
14361
|
+
_el$84.$$click = () => {
|
|
14400
14362
|
sendDevToolsEvent({
|
|
14401
14363
|
type: "RESET",
|
|
14402
14364
|
queryHash: activeQuery()?.queryHash
|
|
14403
14365
|
});
|
|
14404
14366
|
queryClient.resetQueries(activeQuery());
|
|
14405
14367
|
};
|
|
14406
|
-
_el$
|
|
14368
|
+
_el$86.$$click = () => {
|
|
14407
14369
|
sendDevToolsEvent({
|
|
14408
14370
|
type: "REMOVE",
|
|
14409
14371
|
queryHash: activeQuery()?.queryHash
|
|
@@ -14411,7 +14373,7 @@ var init_Devtools = __esm({
|
|
|
14411
14373
|
queryClient.removeQueries(activeQuery());
|
|
14412
14374
|
setSelectedQueryHash(null);
|
|
14413
14375
|
};
|
|
14414
|
-
_el$
|
|
14376
|
+
_el$88.$$click = () => {
|
|
14415
14377
|
if (activeQuery()?.state.data === void 0) {
|
|
14416
14378
|
setRestoringLoading(true);
|
|
14417
14379
|
restoreQueryAfterLoadingOrError();
|
|
@@ -14441,14 +14403,14 @@ var init_Devtools = __esm({
|
|
|
14441
14403
|
});
|
|
14442
14404
|
}
|
|
14443
14405
|
};
|
|
14444
|
-
insert(_el$
|
|
14445
|
-
insert(_el$
|
|
14406
|
+
insert(_el$88, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$90);
|
|
14407
|
+
insert(_el$79, createComponent(Show, {
|
|
14446
14408
|
get when() {
|
|
14447
14409
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14448
14410
|
},
|
|
14449
14411
|
get children() {
|
|
14450
|
-
var _el$
|
|
14451
|
-
_el$
|
|
14412
|
+
var _el$91 = _tmpl$30(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling;
|
|
14413
|
+
_el$91.$$click = () => {
|
|
14452
14414
|
if (!activeQuery().state.error) {
|
|
14453
14415
|
triggerError();
|
|
14454
14416
|
} else {
|
|
@@ -14459,71 +14421,71 @@ var init_Devtools = __esm({
|
|
|
14459
14421
|
queryClient.resetQueries(activeQuery());
|
|
14460
14422
|
}
|
|
14461
14423
|
};
|
|
14462
|
-
insert(_el$
|
|
14424
|
+
insert(_el$91, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$93);
|
|
14463
14425
|
createRenderEffect((_p$) => {
|
|
14464
14426
|
var _v$32 = clsx(css`
|
|
14465
14427
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
14466
14428
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = css`
|
|
14467
14429
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
14468
14430
|
`;
|
|
14469
|
-
_v$32 !== _p$.e && className(_el$
|
|
14470
|
-
_v$33 !== _p$.t && (_el$
|
|
14471
|
-
_v$34 !== _p$.a && className(_el$
|
|
14431
|
+
_v$32 !== _p$.e && className(_el$91, _p$.e = _v$32);
|
|
14432
|
+
_v$33 !== _p$.t && (_el$91.disabled = _p$.t = _v$33);
|
|
14433
|
+
_v$34 !== _p$.a && className(_el$92, _p$.a = _v$34);
|
|
14472
14434
|
return _p$;
|
|
14473
14435
|
}, {
|
|
14474
14436
|
e: void 0,
|
|
14475
14437
|
t: void 0,
|
|
14476
14438
|
a: void 0
|
|
14477
14439
|
});
|
|
14478
|
-
return _el$
|
|
14440
|
+
return _el$91;
|
|
14479
14441
|
}
|
|
14480
14442
|
}), null);
|
|
14481
|
-
insert(_el$
|
|
14443
|
+
insert(_el$79, createComponent(Show, {
|
|
14482
14444
|
get when() {
|
|
14483
14445
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14484
14446
|
},
|
|
14485
14447
|
get children() {
|
|
14486
|
-
var _el$
|
|
14487
|
-
_el$
|
|
14448
|
+
var _el$94 = _tmpl$31(), _el$95 = _el$94.firstChild, _el$96 = _el$95.nextSibling, _el$97 = _el$96.nextSibling; _el$97.firstChild;
|
|
14449
|
+
_el$97.addEventListener("change", (e2) => {
|
|
14488
14450
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14489
14451
|
triggerError(errorType);
|
|
14490
14452
|
});
|
|
14491
|
-
insert(_el$
|
|
14453
|
+
insert(_el$97, createComponent(For, {
|
|
14492
14454
|
get each() {
|
|
14493
14455
|
return errorTypes();
|
|
14494
14456
|
},
|
|
14495
14457
|
children: (errorType) => (() => {
|
|
14496
|
-
var _el$
|
|
14497
|
-
insert(_el$
|
|
14498
|
-
createRenderEffect(() => _el$
|
|
14499
|
-
return _el$
|
|
14458
|
+
var _el$111 = _tmpl$35();
|
|
14459
|
+
insert(_el$111, () => errorType.name);
|
|
14460
|
+
createRenderEffect(() => _el$111.value = errorType.name);
|
|
14461
|
+
return _el$111;
|
|
14500
14462
|
})()
|
|
14501
14463
|
}), null);
|
|
14502
|
-
insert(_el$
|
|
14464
|
+
insert(_el$94, createComponent(ChevronDown, {}), null);
|
|
14503
14465
|
createRenderEffect((_p$) => {
|
|
14504
14466
|
var _v$35 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = css`
|
|
14505
14467
|
background-color: ${tokens.colors.red[400]};
|
|
14506
14468
|
`, _v$37 = queryStatus() === "pending";
|
|
14507
|
-
_v$35 !== _p$.e && className(_el$
|
|
14508
|
-
_v$36 !== _p$.t && className(_el$
|
|
14509
|
-
_v$37 !== _p$.a && (_el$
|
|
14469
|
+
_v$35 !== _p$.e && className(_el$94, _p$.e = _v$35);
|
|
14470
|
+
_v$36 !== _p$.t && className(_el$95, _p$.t = _v$36);
|
|
14471
|
+
_v$37 !== _p$.a && (_el$97.disabled = _p$.a = _v$37);
|
|
14510
14472
|
return _p$;
|
|
14511
14473
|
}, {
|
|
14512
14474
|
e: void 0,
|
|
14513
14475
|
t: void 0,
|
|
14514
14476
|
a: void 0
|
|
14515
14477
|
});
|
|
14516
|
-
return _el$
|
|
14478
|
+
return _el$94;
|
|
14517
14479
|
}
|
|
14518
14480
|
}), null);
|
|
14519
|
-
insert(_el$
|
|
14520
|
-
insert(_el$
|
|
14481
|
+
insert(_el$99, () => dataMode() === "view" ? "Explorer" : "Editor", null);
|
|
14482
|
+
insert(_el$65, createComponent(Show, {
|
|
14521
14483
|
get when() {
|
|
14522
14484
|
return dataMode() === "view";
|
|
14523
14485
|
},
|
|
14524
14486
|
get children() {
|
|
14525
|
-
var _el$
|
|
14526
|
-
insert(_el$
|
|
14487
|
+
var _el$101 = _tmpl$322();
|
|
14488
|
+
insert(_el$101, createComponent(Explorer, {
|
|
14527
14489
|
label: "Data",
|
|
14528
14490
|
defaultExpanded: ["Data"],
|
|
14529
14491
|
get value() {
|
|
@@ -14535,17 +14497,17 @@ var init_Devtools = __esm({
|
|
|
14535
14497
|
return activeQuery();
|
|
14536
14498
|
}
|
|
14537
14499
|
}));
|
|
14538
|
-
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$
|
|
14539
|
-
return _el$
|
|
14500
|
+
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$101.style.setProperty("padding", _$p) : _el$101.style.removeProperty("padding"));
|
|
14501
|
+
return _el$101;
|
|
14540
14502
|
}
|
|
14541
|
-
}), _el$
|
|
14542
|
-
insert(_el$
|
|
14503
|
+
}), _el$109);
|
|
14504
|
+
insert(_el$65, createComponent(Show, {
|
|
14543
14505
|
get when() {
|
|
14544
14506
|
return dataMode() === "edit";
|
|
14545
14507
|
},
|
|
14546
14508
|
get children() {
|
|
14547
|
-
var _el$
|
|
14548
|
-
_el$
|
|
14509
|
+
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;
|
|
14510
|
+
_el$102.addEventListener("submit", (e2) => {
|
|
14549
14511
|
e2.preventDefault();
|
|
14550
14512
|
const formData = new FormData(e2.currentTarget);
|
|
14551
14513
|
const data = formData.get("data");
|
|
@@ -14560,23 +14522,23 @@ var init_Devtools = __esm({
|
|
|
14560
14522
|
setDataEditError(true);
|
|
14561
14523
|
}
|
|
14562
14524
|
});
|
|
14563
|
-
_el$
|
|
14564
|
-
insert(_el$
|
|
14565
|
-
_el$
|
|
14525
|
+
_el$103.addEventListener("focus", () => setDataEditError(false));
|
|
14526
|
+
insert(_el$105, () => dataEditError() ? "Invalid Value" : "");
|
|
14527
|
+
_el$107.$$click = () => setDataMode("view");
|
|
14566
14528
|
createRenderEffect((_p$) => {
|
|
14567
14529
|
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`
|
|
14568
14530
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
14569
14531
|
`), _v$45 = clsx(styles().devtoolsEditFormAction, css`
|
|
14570
14532
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14571
14533
|
`);
|
|
14572
|
-
_v$38 !== _p$.e && className(_el$
|
|
14573
|
-
_v$39 !== _p$.t && className(_el$
|
|
14574
|
-
_v$40 !== _p$.a && setAttribute(_el$
|
|
14575
|
-
_v$41 !== _p$.o && className(_el$
|
|
14576
|
-
_v$42 !== _p$.i && className(_el$
|
|
14577
|
-
_v$43 !== _p$.n && className(_el$
|
|
14578
|
-
_v$44 !== _p$.s && className(_el$
|
|
14579
|
-
_v$45 !== _p$.h && className(_el$
|
|
14534
|
+
_v$38 !== _p$.e && className(_el$102, _p$.e = _v$38);
|
|
14535
|
+
_v$39 !== _p$.t && className(_el$103, _p$.t = _v$39);
|
|
14536
|
+
_v$40 !== _p$.a && setAttribute(_el$103, "data-error", _p$.a = _v$40);
|
|
14537
|
+
_v$41 !== _p$.o && className(_el$104, _p$.o = _v$41);
|
|
14538
|
+
_v$42 !== _p$.i && className(_el$105, _p$.i = _v$42);
|
|
14539
|
+
_v$43 !== _p$.n && className(_el$106, _p$.n = _v$43);
|
|
14540
|
+
_v$44 !== _p$.s && className(_el$107, _p$.s = _v$44);
|
|
14541
|
+
_v$45 !== _p$.h && className(_el$108, _p$.h = _v$45);
|
|
14580
14542
|
return _p$;
|
|
14581
14543
|
}, {
|
|
14582
14544
|
e: void 0,
|
|
@@ -14588,11 +14550,11 @@ var init_Devtools = __esm({
|
|
|
14588
14550
|
s: void 0,
|
|
14589
14551
|
h: void 0
|
|
14590
14552
|
});
|
|
14591
|
-
createRenderEffect(() => _el$
|
|
14592
|
-
return _el$
|
|
14553
|
+
createRenderEffect(() => _el$103.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
14554
|
+
return _el$102;
|
|
14593
14555
|
}
|
|
14594
|
-
}), _el$
|
|
14595
|
-
insert(_el$
|
|
14556
|
+
}), _el$109);
|
|
14557
|
+
insert(_el$110, createComponent(Explorer, {
|
|
14596
14558
|
label: "Query",
|
|
14597
14559
|
defaultExpanded: ["Query", "queryKey"],
|
|
14598
14560
|
get value() {
|
|
@@ -14621,30 +14583,30 @@ var init_Devtools = __esm({
|
|
|
14621
14583
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$65 = restoringLoading(), _v$66 = css`
|
|
14622
14584
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14623
14585
|
`, _v$67 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$68 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$69 = tokens.size[2];
|
|
14624
|
-
_v$46 !== _p$.e && className(_el$
|
|
14625
|
-
_v$47 !== _p$.t && className(_el$
|
|
14626
|
-
_v$48 !== _p$.a && className(_el$
|
|
14627
|
-
_v$49 !== _p$.o && className(_el$
|
|
14628
|
-
_v$50 !== _p$.i && className(_el$
|
|
14629
|
-
_v$51 !== _p$.n && className(_el$
|
|
14630
|
-
_v$52 !== _p$.s && className(_el$
|
|
14631
|
-
_v$53 !== _p$.h && (_el$
|
|
14632
|
-
_v$54 !== _p$.r && className(_el$
|
|
14633
|
-
_v$55 !== _p$.d && className(_el$
|
|
14634
|
-
_v$56 !== _p$.l && (_el$
|
|
14635
|
-
_v$57 !== _p$.u && className(_el$
|
|
14636
|
-
_v$58 !== _p$.c && className(_el$
|
|
14637
|
-
_v$59 !== _p$.w && (_el$
|
|
14638
|
-
_v$60 !== _p$.m && className(_el$
|
|
14639
|
-
_v$61 !== _p$.f && className(_el$
|
|
14640
|
-
_v$62 !== _p$.y && (_el$
|
|
14641
|
-
_v$63 !== _p$.g && className(_el$
|
|
14642
|
-
_v$64 !== _p$.p && className(_el$
|
|
14643
|
-
_v$65 !== _p$.b && (_el$
|
|
14644
|
-
_v$66 !== _p$.T && className(_el$
|
|
14645
|
-
_v$67 !== _p$.A && className(_el$
|
|
14646
|
-
_v$68 !== _p$.O && className(_el$
|
|
14647
|
-
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$
|
|
14586
|
+
_v$46 !== _p$.e && className(_el$65, _p$.e = _v$46);
|
|
14587
|
+
_v$47 !== _p$.t && className(_el$66, _p$.t = _v$47);
|
|
14588
|
+
_v$48 !== _p$.a && className(_el$67, _p$.a = _v$48);
|
|
14589
|
+
_v$49 !== _p$.o && className(_el$71, _p$.o = _v$49);
|
|
14590
|
+
_v$50 !== _p$.i && className(_el$78, _p$.i = _v$50);
|
|
14591
|
+
_v$51 !== _p$.n && className(_el$79, _p$.n = _v$51);
|
|
14592
|
+
_v$52 !== _p$.s && className(_el$80, _p$.s = _v$52);
|
|
14593
|
+
_v$53 !== _p$.h && (_el$80.disabled = _p$.h = _v$53);
|
|
14594
|
+
_v$54 !== _p$.r && className(_el$81, _p$.r = _v$54);
|
|
14595
|
+
_v$55 !== _p$.d && className(_el$82, _p$.d = _v$55);
|
|
14596
|
+
_v$56 !== _p$.l && (_el$82.disabled = _p$.l = _v$56);
|
|
14597
|
+
_v$57 !== _p$.u && className(_el$83, _p$.u = _v$57);
|
|
14598
|
+
_v$58 !== _p$.c && className(_el$84, _p$.c = _v$58);
|
|
14599
|
+
_v$59 !== _p$.w && (_el$84.disabled = _p$.w = _v$59);
|
|
14600
|
+
_v$60 !== _p$.m && className(_el$85, _p$.m = _v$60);
|
|
14601
|
+
_v$61 !== _p$.f && className(_el$86, _p$.f = _v$61);
|
|
14602
|
+
_v$62 !== _p$.y && (_el$86.disabled = _p$.y = _v$62);
|
|
14603
|
+
_v$63 !== _p$.g && className(_el$87, _p$.g = _v$63);
|
|
14604
|
+
_v$64 !== _p$.p && className(_el$88, _p$.p = _v$64);
|
|
14605
|
+
_v$65 !== _p$.b && (_el$88.disabled = _p$.b = _v$65);
|
|
14606
|
+
_v$66 !== _p$.T && className(_el$89, _p$.T = _v$66);
|
|
14607
|
+
_v$67 !== _p$.A && className(_el$99, _p$.A = _v$67);
|
|
14608
|
+
_v$68 !== _p$.O && className(_el$109, _p$.O = _v$68);
|
|
14609
|
+
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$110.style.setProperty("padding", _v$69) : _el$110.style.removeProperty("padding"));
|
|
14648
14610
|
return _p$;
|
|
14649
14611
|
}, {
|
|
14650
14612
|
e: void 0,
|
|
@@ -14672,7 +14634,7 @@ var init_Devtools = __esm({
|
|
|
14672
14634
|
O: void 0,
|
|
14673
14635
|
I: void 0
|
|
14674
14636
|
});
|
|
14675
|
-
return _el$
|
|
14637
|
+
return _el$65;
|
|
14676
14638
|
}
|
|
14677
14639
|
});
|
|
14678
14640
|
};
|
|
@@ -14724,8 +14686,8 @@ var init_Devtools = __esm({
|
|
|
14724
14686
|
return activeMutation();
|
|
14725
14687
|
},
|
|
14726
14688
|
get children() {
|
|
14727
|
-
var _el$
|
|
14728
|
-
insert(_el$
|
|
14689
|
+
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;
|
|
14690
|
+
insert(_el$117, createComponent(Show, {
|
|
14729
14691
|
get when() {
|
|
14730
14692
|
return activeMutation().options.mutationKey;
|
|
14731
14693
|
},
|
|
@@ -14734,13 +14696,13 @@ var init_Devtools = __esm({
|
|
|
14734
14696
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
14735
14697
|
}
|
|
14736
14698
|
}));
|
|
14737
|
-
insert(_el$
|
|
14699
|
+
insert(_el$118, createComponent(Show, {
|
|
14738
14700
|
get when() {
|
|
14739
14701
|
return color() === "purple";
|
|
14740
14702
|
},
|
|
14741
14703
|
children: "pending"
|
|
14742
14704
|
}), null);
|
|
14743
|
-
insert(_el$
|
|
14705
|
+
insert(_el$118, createComponent(Show, {
|
|
14744
14706
|
get when() {
|
|
14745
14707
|
return color() !== "purple";
|
|
14746
14708
|
},
|
|
@@ -14748,29 +14710,29 @@ var init_Devtools = __esm({
|
|
|
14748
14710
|
return status();
|
|
14749
14711
|
}
|
|
14750
14712
|
}), null);
|
|
14751
|
-
insert(_el$
|
|
14752
|
-
insert(_el$
|
|
14713
|
+
insert(_el$121, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14714
|
+
insert(_el$123, createComponent(Explorer, {
|
|
14753
14715
|
label: "Variables",
|
|
14754
14716
|
defaultExpanded: ["Variables"],
|
|
14755
14717
|
get value() {
|
|
14756
14718
|
return activeMutation().state.variables;
|
|
14757
14719
|
}
|
|
14758
14720
|
}));
|
|
14759
|
-
insert(_el$
|
|
14721
|
+
insert(_el$125, createComponent(Explorer, {
|
|
14760
14722
|
label: "Context",
|
|
14761
14723
|
defaultExpanded: ["Context"],
|
|
14762
14724
|
get value() {
|
|
14763
14725
|
return activeMutation().state.context;
|
|
14764
14726
|
}
|
|
14765
14727
|
}));
|
|
14766
|
-
insert(_el$
|
|
14728
|
+
insert(_el$127, createComponent(Explorer, {
|
|
14767
14729
|
label: "Data",
|
|
14768
14730
|
defaultExpanded: ["Data"],
|
|
14769
14731
|
get value() {
|
|
14770
14732
|
return activeMutation().state.data;
|
|
14771
14733
|
}
|
|
14772
14734
|
}));
|
|
14773
|
-
insert(_el$
|
|
14735
|
+
insert(_el$129, createComponent(Explorer, {
|
|
14774
14736
|
label: "Mutation",
|
|
14775
14737
|
defaultExpanded: ["Mutation"],
|
|
14776
14738
|
get value() {
|
|
@@ -14779,18 +14741,18 @@ var init_Devtools = __esm({
|
|
|
14779
14741
|
}));
|
|
14780
14742
|
createRenderEffect((_p$) => {
|
|
14781
14743
|
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];
|
|
14782
|
-
_v$70 !== _p$.e && className(_el$
|
|
14783
|
-
_v$71 !== _p$.t && className(_el$
|
|
14784
|
-
_v$72 !== _p$.a && className(_el$
|
|
14785
|
-
_v$73 !== _p$.o && className(_el$
|
|
14786
|
-
_v$74 !== _p$.i && className(_el$
|
|
14787
|
-
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$
|
|
14788
|
-
_v$76 !== _p$.s && className(_el$
|
|
14789
|
-
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$
|
|
14790
|
-
_v$78 !== _p$.r && className(_el$
|
|
14791
|
-
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$
|
|
14792
|
-
_v$80 !== _p$.l && className(_el$
|
|
14793
|
-
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$
|
|
14744
|
+
_v$70 !== _p$.e && className(_el$112, _p$.e = _v$70);
|
|
14745
|
+
_v$71 !== _p$.t && className(_el$113, _p$.t = _v$71);
|
|
14746
|
+
_v$72 !== _p$.a && className(_el$114, _p$.a = _v$72);
|
|
14747
|
+
_v$73 !== _p$.o && className(_el$118, _p$.o = _v$73);
|
|
14748
|
+
_v$74 !== _p$.i && className(_el$122, _p$.i = _v$74);
|
|
14749
|
+
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$123.style.setProperty("padding", _v$75) : _el$123.style.removeProperty("padding"));
|
|
14750
|
+
_v$76 !== _p$.s && className(_el$124, _p$.s = _v$76);
|
|
14751
|
+
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$125.style.setProperty("padding", _v$77) : _el$125.style.removeProperty("padding"));
|
|
14752
|
+
_v$78 !== _p$.r && className(_el$126, _p$.r = _v$78);
|
|
14753
|
+
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$127.style.setProperty("padding", _v$79) : _el$127.style.removeProperty("padding"));
|
|
14754
|
+
_v$80 !== _p$.l && className(_el$128, _p$.l = _v$80);
|
|
14755
|
+
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$129.style.setProperty("padding", _v$81) : _el$129.style.removeProperty("padding"));
|
|
14794
14756
|
return _p$;
|
|
14795
14757
|
}, {
|
|
14796
14758
|
e: void 0,
|
|
@@ -14806,7 +14768,7 @@ var init_Devtools = __esm({
|
|
|
14806
14768
|
l: void 0,
|
|
14807
14769
|
u: void 0
|
|
14808
14770
|
});
|
|
14809
|
-
return _el$
|
|
14771
|
+
return _el$112;
|
|
14810
14772
|
}
|
|
14811
14773
|
});
|
|
14812
14774
|
};
|
|
@@ -16074,6 +16036,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16074
16036
|
#position;
|
|
16075
16037
|
#initialIsOpen;
|
|
16076
16038
|
#errorTypes;
|
|
16039
|
+
#hideDisabledQueries;
|
|
16077
16040
|
#Component;
|
|
16078
16041
|
#dispose;
|
|
16079
16042
|
constructor(config) {
|
|
@@ -16087,7 +16050,8 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16087
16050
|
initialIsOpen,
|
|
16088
16051
|
errorTypes,
|
|
16089
16052
|
styleNonce,
|
|
16090
|
-
shadowDOMTarget
|
|
16053
|
+
shadowDOMTarget,
|
|
16054
|
+
hideDisabledQueries
|
|
16091
16055
|
} = config;
|
|
16092
16056
|
this.#client = createSignal(client);
|
|
16093
16057
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16099,6 +16063,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16099
16063
|
this.#position = createSignal(position);
|
|
16100
16064
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16101
16065
|
this.#errorTypes = createSignal(errorTypes);
|
|
16066
|
+
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16102
16067
|
}
|
|
16103
16068
|
setButtonPosition(position) {
|
|
16104
16069
|
this.#buttonPosition[1](position);
|
|
@@ -16125,6 +16090,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16125
16090
|
const [pos] = this.#position;
|
|
16126
16091
|
const [isOpen] = this.#initialIsOpen;
|
|
16127
16092
|
const [errors] = this.#errorTypes;
|
|
16093
|
+
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16128
16094
|
const [queryClient] = this.#client;
|
|
16129
16095
|
let Devtools2;
|
|
16130
16096
|
if (this.#Component) {
|
|
@@ -16162,6 +16128,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16162
16128
|
},
|
|
16163
16129
|
get errorTypes() {
|
|
16164
16130
|
return errors();
|
|
16131
|
+
},
|
|
16132
|
+
get hideDisabledQueries() {
|
|
16133
|
+
return hideDisabledQueries();
|
|
16165
16134
|
}
|
|
16166
16135
|
}));
|
|
16167
16136
|
}, el);
|
|
@@ -16195,6 +16164,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16195
16164
|
#position;
|
|
16196
16165
|
#initialIsOpen;
|
|
16197
16166
|
#errorTypes;
|
|
16167
|
+
#hideDisabledQueries;
|
|
16198
16168
|
#onClose;
|
|
16199
16169
|
#Component;
|
|
16200
16170
|
#dispose;
|
|
@@ -16210,7 +16180,8 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16210
16180
|
errorTypes,
|
|
16211
16181
|
styleNonce,
|
|
16212
16182
|
shadowDOMTarget,
|
|
16213
|
-
onClose
|
|
16183
|
+
onClose,
|
|
16184
|
+
hideDisabledQueries
|
|
16214
16185
|
} = config;
|
|
16215
16186
|
this.#client = createSignal(client);
|
|
16216
16187
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16222,6 +16193,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16222
16193
|
this.#position = createSignal(position);
|
|
16223
16194
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16224
16195
|
this.#errorTypes = createSignal(errorTypes);
|
|
16196
|
+
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16225
16197
|
this.#onClose = createSignal(onClose);
|
|
16226
16198
|
}
|
|
16227
16199
|
setButtonPosition(position) {
|
|
@@ -16252,6 +16224,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16252
16224
|
const [pos] = this.#position;
|
|
16253
16225
|
const [isOpen] = this.#initialIsOpen;
|
|
16254
16226
|
const [errors] = this.#errorTypes;
|
|
16227
|
+
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16255
16228
|
const [queryClient] = this.#client;
|
|
16256
16229
|
const [onClose] = this.#onClose;
|
|
16257
16230
|
let Devtools2;
|
|
@@ -16291,6 +16264,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16291
16264
|
get errorTypes() {
|
|
16292
16265
|
return errors();
|
|
16293
16266
|
},
|
|
16267
|
+
get hideDisabledQueries() {
|
|
16268
|
+
return hideDisabledQueries();
|
|
16269
|
+
},
|
|
16294
16270
|
get onClose() {
|
|
16295
16271
|
return onClose();
|
|
16296
16272
|
}
|