@tanstack/query-devtools 5.21.5 → 5.24.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/Devtools/{MY47IRH5.js → 335X72D7.js} +670 -440
- package/build/Devtools/{OQR5HZUS.jsx → 36BZFNWK.jsx} +285 -53
- package/build/Devtools/{TETPQZKA.jsx → VAXLBYTT.jsx} +285 -53
- package/build/Devtools/{OWP7E64P.js → XYYT2JS6.js} +670 -440
- package/build/chunk/{O2PITFF6.js → 7LTSZCE6.js} +8 -2
- package/build/chunk/{PQZZ5Z2E.jsx → IQDKCOXE.jsx} +8 -0
- package/build/chunk/{XKKA3NOX.js → KQZGNKMT.js} +9 -1
- package/build/chunk/{AZNCIVVX.jsx → LJVATCV2.jsx} +8 -0
- package/build/dev.cjs +680 -442
- package/build/dev.js +2 -2
- package/build/dev.jsx +2 -2
- package/build/index.cjs +680 -442
- package/build/index.js +2 -2
- package/build/index.jsx +2 -2
- package/package.json +2 -2
- package/src/Devtools.tsx +374 -74
- package/src/icons/index.tsx +20 -0
package/build/index.cjs
CHANGED
|
@@ -1391,6 +1391,13 @@ function delegateEvents(eventNames, document2 = window.document) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
+
function clearDelegatedEvents(document2 = window.document) {
|
|
1395
|
+
if (document2[$$EVENTS]) {
|
|
1396
|
+
for (let name of document2[$$EVENTS].keys())
|
|
1397
|
+
document2.removeEventListener(name, eventHandler);
|
|
1398
|
+
delete document2[$$EVENTS];
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1394
1401
|
function setAttribute(node, name, value) {
|
|
1395
1402
|
if (sharedConfig.context)
|
|
1396
1403
|
return;
|
|
@@ -12016,21 +12023,24 @@ function Offline() {
|
|
|
12016
12023
|
function Settings() {
|
|
12017
12024
|
return _tmpl$11();
|
|
12018
12025
|
}
|
|
12019
|
-
function
|
|
12026
|
+
function PiPIcon() {
|
|
12020
12027
|
return _tmpl$12();
|
|
12021
12028
|
}
|
|
12029
|
+
function Copier() {
|
|
12030
|
+
return _tmpl$13();
|
|
12031
|
+
}
|
|
12022
12032
|
function CopiedCopier(props) {
|
|
12023
12033
|
return (() => {
|
|
12024
|
-
const _el$
|
|
12025
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12026
|
-
return _el$
|
|
12034
|
+
const _el$16 = _tmpl$14(), _el$17 = _el$16.firstChild;
|
|
12035
|
+
createRenderEffect(() => setAttribute(_el$17, "stroke", props.theme === "dark" ? "#12B76A" : "#027A48"));
|
|
12036
|
+
return _el$16;
|
|
12027
12037
|
})();
|
|
12028
12038
|
}
|
|
12029
12039
|
function ErrorCopier() {
|
|
12030
|
-
return _tmpl$
|
|
12040
|
+
return _tmpl$15();
|
|
12031
12041
|
}
|
|
12032
12042
|
function List() {
|
|
12033
|
-
return _tmpl$
|
|
12043
|
+
return _tmpl$16();
|
|
12034
12044
|
}
|
|
12035
12045
|
function Check(props) {
|
|
12036
12046
|
return [createComponent(Show, {
|
|
@@ -12038,119 +12048,119 @@ function Check(props) {
|
|
|
12038
12048
|
return props.checked;
|
|
12039
12049
|
},
|
|
12040
12050
|
get children() {
|
|
12041
|
-
const _el$
|
|
12042
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12043
|
-
return _el$
|
|
12051
|
+
const _el$20 = _tmpl$14(), _el$21 = _el$20.firstChild;
|
|
12052
|
+
createRenderEffect(() => setAttribute(_el$21, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
12053
|
+
return _el$20;
|
|
12044
12054
|
}
|
|
12045
12055
|
}), createComponent(Show, {
|
|
12046
12056
|
get when() {
|
|
12047
12057
|
return !props.checked;
|
|
12048
12058
|
},
|
|
12049
12059
|
get children() {
|
|
12050
|
-
const _el$
|
|
12051
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12052
|
-
return _el$
|
|
12060
|
+
const _el$22 = _tmpl$17(), _el$23 = _el$22.firstChild;
|
|
12061
|
+
createRenderEffect(() => setAttribute(_el$23, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
12062
|
+
return _el$22;
|
|
12053
12063
|
}
|
|
12054
12064
|
})];
|
|
12055
12065
|
}
|
|
12056
12066
|
function CheckCircle() {
|
|
12057
|
-
return _tmpl$
|
|
12067
|
+
return _tmpl$18();
|
|
12058
12068
|
}
|
|
12059
12069
|
function LoadingCircle() {
|
|
12060
|
-
return _tmpl$
|
|
12070
|
+
return _tmpl$19();
|
|
12061
12071
|
}
|
|
12062
12072
|
function XCircle() {
|
|
12063
|
-
return _tmpl$
|
|
12073
|
+
return _tmpl$20();
|
|
12064
12074
|
}
|
|
12065
12075
|
function PauseCircle() {
|
|
12066
|
-
return _tmpl$
|
|
12076
|
+
return _tmpl$21();
|
|
12067
12077
|
}
|
|
12068
12078
|
function TanstackLogo() {
|
|
12069
12079
|
const id = createUniqueId();
|
|
12070
12080
|
return (() => {
|
|
12071
|
-
const _el$
|
|
12072
|
-
setAttribute(_el$
|
|
12073
|
-
setAttribute(_el$
|
|
12074
|
-
setAttribute(_el$
|
|
12075
|
-
setAttribute(_el$
|
|
12076
|
-
setAttribute(_el$
|
|
12077
|
-
setAttribute(_el$
|
|
12078
|
-
setAttribute(_el$
|
|
12079
|
-
setAttribute(_el$
|
|
12080
|
-
setAttribute(_el$
|
|
12081
|
-
setAttribute(_el$
|
|
12082
|
-
setAttribute(_el$
|
|
12083
|
-
setAttribute(_el$
|
|
12084
|
-
setAttribute(_el$
|
|
12085
|
-
setAttribute(_el$
|
|
12086
|
-
setAttribute(_el$
|
|
12087
|
-
setAttribute(_el$
|
|
12088
|
-
setAttribute(_el$
|
|
12089
|
-
setAttribute(_el$
|
|
12090
|
-
setAttribute(_el$
|
|
12091
|
-
setAttribute(_el$
|
|
12092
|
-
setAttribute(_el$
|
|
12093
|
-
setAttribute(_el$
|
|
12094
|
-
setAttribute(_el$
|
|
12095
|
-
setAttribute(_el$
|
|
12096
|
-
setAttribute(_el$
|
|
12097
|
-
setAttribute(_el$
|
|
12098
|
-
setAttribute(_el$
|
|
12099
|
-
setAttribute(_el$
|
|
12100
|
-
setAttribute(_el$
|
|
12101
|
-
setAttribute(_el$
|
|
12102
|
-
setAttribute(_el$
|
|
12103
|
-
setAttribute(_el$
|
|
12104
|
-
setAttribute(_el$
|
|
12105
|
-
setAttribute(_el$
|
|
12106
|
-
setAttribute(_el$
|
|
12107
|
-
setAttribute(_el$
|
|
12108
|
-
setAttribute(_el$
|
|
12109
|
-
setAttribute(_el$
|
|
12110
|
-
setAttribute(_el$
|
|
12111
|
-
setAttribute(_el$
|
|
12112
|
-
setAttribute(_el$
|
|
12113
|
-
setAttribute(_el$
|
|
12114
|
-
setAttribute(_el$
|
|
12115
|
-
setAttribute(_el$
|
|
12116
|
-
setAttribute(_el$
|
|
12117
|
-
setAttribute(_el$
|
|
12118
|
-
setAttribute(_el$
|
|
12119
|
-
setAttribute(_el$
|
|
12120
|
-
setAttribute(_el$
|
|
12121
|
-
setAttribute(_el$
|
|
12122
|
-
setAttribute(_el$
|
|
12123
|
-
setAttribute(_el$
|
|
12124
|
-
setAttribute(_el$
|
|
12125
|
-
setAttribute(_el$
|
|
12126
|
-
setAttribute(_el$
|
|
12127
|
-
setAttribute(_el$
|
|
12128
|
-
setAttribute(_el$
|
|
12129
|
-
setAttribute(_el$
|
|
12130
|
-
setAttribute(_el$
|
|
12131
|
-
setAttribute(_el$
|
|
12132
|
-
setAttribute(_el$
|
|
12133
|
-
setAttribute(_el$
|
|
12134
|
-
setAttribute(_el$
|
|
12135
|
-
setAttribute(_el$
|
|
12136
|
-
setAttribute(_el$
|
|
12137
|
-
setAttribute(_el$
|
|
12138
|
-
setAttribute(_el$
|
|
12139
|
-
setAttribute(_el$
|
|
12140
|
-
setAttribute(_el$
|
|
12141
|
-
setAttribute(_el$
|
|
12142
|
-
setAttribute(_el$
|
|
12143
|
-
setAttribute(_el$
|
|
12144
|
-
setAttribute(_el$
|
|
12145
|
-
setAttribute(_el$
|
|
12146
|
-
setAttribute(_el$
|
|
12147
|
-
setAttribute(_el$
|
|
12148
|
-
setAttribute(_el$
|
|
12149
|
-
setAttribute(_el$
|
|
12150
|
-
return _el$
|
|
12081
|
+
const _el$28 = _tmpl$22(), _el$29 = _el$28.firstChild, _el$30 = _el$29.nextSibling, _el$31 = _el$30.nextSibling, _el$32 = _el$31.firstChild, _el$33 = _el$31.nextSibling, _el$34 = _el$33.firstChild, _el$35 = _el$33.nextSibling, _el$36 = _el$35.nextSibling, _el$37 = _el$36.firstChild, _el$38 = _el$36.nextSibling, _el$39 = _el$38.firstChild, _el$40 = _el$38.nextSibling, _el$41 = _el$40.nextSibling, _el$42 = _el$41.firstChild, _el$43 = _el$41.nextSibling, _el$44 = _el$43.firstChild, _el$45 = _el$43.nextSibling, _el$46 = _el$45.nextSibling, _el$47 = _el$46.firstChild, _el$48 = _el$46.nextSibling, _el$49 = _el$48.firstChild, _el$50 = _el$48.nextSibling, _el$51 = _el$50.nextSibling, _el$52 = _el$51.firstChild, _el$53 = _el$51.nextSibling, _el$54 = _el$53.firstChild, _el$55 = _el$53.nextSibling, _el$56 = _el$55.nextSibling, _el$57 = _el$56.firstChild, _el$58 = _el$56.nextSibling, _el$59 = _el$58.firstChild, _el$60 = _el$58.nextSibling, _el$61 = _el$60.nextSibling, _el$62 = _el$61.firstChild, _el$63 = _el$61.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$63.nextSibling, _el$66 = _el$65.firstChild, _el$67 = _el$66.nextSibling, _el$68 = _el$67.nextSibling, _el$69 = _el$68.nextSibling, _el$70 = _el$69.nextSibling, _el$71 = _el$65.nextSibling, _el$72 = _el$71.firstChild, _el$73 = _el$71.nextSibling, _el$74 = _el$73.firstChild, _el$75 = _el$73.nextSibling, _el$76 = _el$75.firstChild, _el$77 = _el$76.nextSibling, _el$78 = _el$77.nextSibling, _el$79 = _el$78.firstChild, _el$80 = _el$79.nextSibling, _el$81 = _el$80.nextSibling, _el$82 = _el$81.nextSibling, _el$83 = _el$82.nextSibling, _el$84 = _el$83.nextSibling, _el$85 = _el$84.nextSibling, _el$86 = _el$85.nextSibling, _el$87 = _el$86.nextSibling, _el$88 = _el$87.nextSibling, _el$89 = _el$88.nextSibling, _el$90 = _el$89.nextSibling, _el$91 = _el$75.nextSibling, _el$92 = _el$91.firstChild, _el$93 = _el$91.nextSibling, _el$94 = _el$93.firstChild, _el$95 = _el$93.nextSibling, _el$96 = _el$95.firstChild, _el$97 = _el$96.nextSibling, _el$98 = _el$95.nextSibling, _el$99 = _el$98.firstChild, _el$100 = _el$98.nextSibling, _el$101 = _el$100.firstChild, _el$102 = _el$100.nextSibling, _el$103 = _el$102.firstChild, _el$104 = _el$103.nextSibling, _el$105 = _el$104.nextSibling, _el$106 = _el$105.nextSibling, _el$107 = _el$106.nextSibling, _el$108 = _el$107.nextSibling, _el$109 = _el$108.nextSibling, _el$110 = _el$109.nextSibling, _el$111 = _el$110.nextSibling, _el$112 = _el$111.nextSibling, _el$113 = _el$112.nextSibling, _el$114 = _el$113.nextSibling, _el$115 = _el$114.nextSibling, _el$116 = _el$115.nextSibling, _el$117 = _el$116.nextSibling, _el$118 = _el$117.nextSibling, _el$119 = _el$118.nextSibling, _el$120 = _el$119.nextSibling;
|
|
12082
|
+
setAttribute(_el$29, "id", `a-${id}`);
|
|
12083
|
+
setAttribute(_el$30, "fill", `url(#a-${id})`);
|
|
12084
|
+
setAttribute(_el$32, "id", `am-${id}`);
|
|
12085
|
+
setAttribute(_el$33, "id", `b-${id}`);
|
|
12086
|
+
setAttribute(_el$34, "filter", `url(#am-${id})`);
|
|
12087
|
+
setAttribute(_el$35, "mask", `url(#b-${id})`);
|
|
12088
|
+
setAttribute(_el$37, "id", `ah-${id}`);
|
|
12089
|
+
setAttribute(_el$38, "id", `k-${id}`);
|
|
12090
|
+
setAttribute(_el$39, "filter", `url(#ah-${id})`);
|
|
12091
|
+
setAttribute(_el$40, "mask", `url(#k-${id})`);
|
|
12092
|
+
setAttribute(_el$42, "id", `ae-${id}`);
|
|
12093
|
+
setAttribute(_el$43, "id", `j-${id}`);
|
|
12094
|
+
setAttribute(_el$44, "filter", `url(#ae-${id})`);
|
|
12095
|
+
setAttribute(_el$45, "mask", `url(#j-${id})`);
|
|
12096
|
+
setAttribute(_el$47, "id", `ai-${id}`);
|
|
12097
|
+
setAttribute(_el$48, "id", `i-${id}`);
|
|
12098
|
+
setAttribute(_el$49, "filter", `url(#ai-${id})`);
|
|
12099
|
+
setAttribute(_el$50, "mask", `url(#i-${id})`);
|
|
12100
|
+
setAttribute(_el$52, "id", `aj-${id}`);
|
|
12101
|
+
setAttribute(_el$53, "id", `h-${id}`);
|
|
12102
|
+
setAttribute(_el$54, "filter", `url(#aj-${id})`);
|
|
12103
|
+
setAttribute(_el$55, "mask", `url(#h-${id})`);
|
|
12104
|
+
setAttribute(_el$57, "id", `ag-${id}`);
|
|
12105
|
+
setAttribute(_el$58, "id", `g-${id}`);
|
|
12106
|
+
setAttribute(_el$59, "filter", `url(#ag-${id})`);
|
|
12107
|
+
setAttribute(_el$60, "mask", `url(#g-${id})`);
|
|
12108
|
+
setAttribute(_el$62, "id", `af-${id}`);
|
|
12109
|
+
setAttribute(_el$63, "id", `f-${id}`);
|
|
12110
|
+
setAttribute(_el$64, "filter", `url(#af-${id})`);
|
|
12111
|
+
setAttribute(_el$65, "mask", `url(#f-${id})`);
|
|
12112
|
+
setAttribute(_el$69, "id", `m-${id}`);
|
|
12113
|
+
setAttribute(_el$70, "fill", `url(#m-${id})`);
|
|
12114
|
+
setAttribute(_el$72, "id", `ak-${id}`);
|
|
12115
|
+
setAttribute(_el$73, "id", `e-${id}`);
|
|
12116
|
+
setAttribute(_el$74, "filter", `url(#ak-${id})`);
|
|
12117
|
+
setAttribute(_el$75, "mask", `url(#e-${id})`);
|
|
12118
|
+
setAttribute(_el$76, "id", `n-${id}`);
|
|
12119
|
+
setAttribute(_el$77, "fill", `url(#n-${id})`);
|
|
12120
|
+
setAttribute(_el$79, "id", `r-${id}`);
|
|
12121
|
+
setAttribute(_el$80, "fill", `url(#r-${id})`);
|
|
12122
|
+
setAttribute(_el$81, "id", `s-${id}`);
|
|
12123
|
+
setAttribute(_el$82, "fill", `url(#s-${id})`);
|
|
12124
|
+
setAttribute(_el$83, "id", `q-${id}`);
|
|
12125
|
+
setAttribute(_el$84, "fill", `url(#q-${id})`);
|
|
12126
|
+
setAttribute(_el$85, "id", `p-${id}`);
|
|
12127
|
+
setAttribute(_el$86, "fill", `url(#p-${id})`);
|
|
12128
|
+
setAttribute(_el$87, "id", `o-${id}`);
|
|
12129
|
+
setAttribute(_el$88, "fill", `url(#o-${id})`);
|
|
12130
|
+
setAttribute(_el$89, "id", `l-${id}`);
|
|
12131
|
+
setAttribute(_el$90, "fill", `url(#l-${id})`);
|
|
12132
|
+
setAttribute(_el$92, "id", `al-${id}`);
|
|
12133
|
+
setAttribute(_el$93, "id", `d-${id}`);
|
|
12134
|
+
setAttribute(_el$94, "filter", `url(#al-${id})`);
|
|
12135
|
+
setAttribute(_el$95, "mask", `url(#d-${id})`);
|
|
12136
|
+
setAttribute(_el$96, "id", `u-${id}`);
|
|
12137
|
+
setAttribute(_el$97, "fill", `url(#u-${id})`);
|
|
12138
|
+
setAttribute(_el$99, "id", `ad-${id}`);
|
|
12139
|
+
setAttribute(_el$100, "id", `c-${id}`);
|
|
12140
|
+
setAttribute(_el$101, "filter", `url(#ad-${id})`);
|
|
12141
|
+
setAttribute(_el$102, "mask", `url(#c-${id})`);
|
|
12142
|
+
setAttribute(_el$103, "id", `t-${id}`);
|
|
12143
|
+
setAttribute(_el$104, "fill", `url(#t-${id})`);
|
|
12144
|
+
setAttribute(_el$105, "id", `v-${id}`);
|
|
12145
|
+
setAttribute(_el$106, "stroke", `url(#v-${id})`);
|
|
12146
|
+
setAttribute(_el$107, "id", `aa-${id}`);
|
|
12147
|
+
setAttribute(_el$108, "stroke", `url(#aa-${id})`);
|
|
12148
|
+
setAttribute(_el$109, "id", `w-${id}`);
|
|
12149
|
+
setAttribute(_el$110, "stroke", `url(#w-${id})`);
|
|
12150
|
+
setAttribute(_el$111, "id", `ac-${id}`);
|
|
12151
|
+
setAttribute(_el$112, "stroke", `url(#ac-${id})`);
|
|
12152
|
+
setAttribute(_el$113, "id", `ab-${id}`);
|
|
12153
|
+
setAttribute(_el$114, "stroke", `url(#ab-${id})`);
|
|
12154
|
+
setAttribute(_el$115, "id", `y-${id}`);
|
|
12155
|
+
setAttribute(_el$116, "stroke", `url(#y-${id})`);
|
|
12156
|
+
setAttribute(_el$117, "id", `x-${id}`);
|
|
12157
|
+
setAttribute(_el$118, "stroke", `url(#x-${id})`);
|
|
12158
|
+
setAttribute(_el$119, "id", `z-${id}`);
|
|
12159
|
+
setAttribute(_el$120, "stroke", `url(#z-${id})`);
|
|
12160
|
+
return _el$28;
|
|
12151
12161
|
})();
|
|
12152
12162
|
}
|
|
12153
|
-
var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12, _tmpl$13, _tmpl$14, _tmpl$15, _tmpl$16, _tmpl$17, _tmpl$18, _tmpl$19, _tmpl$20, _tmpl$21;
|
|
12163
|
+
var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12, _tmpl$13, _tmpl$14, _tmpl$15, _tmpl$16, _tmpl$17, _tmpl$18, _tmpl$19, _tmpl$20, _tmpl$21, _tmpl$22;
|
|
12154
12164
|
var init_icons = __esm({
|
|
12155
12165
|
"src/icons/index.tsx"() {
|
|
12156
12166
|
init_web();
|
|
@@ -12169,16 +12179,17 @@ var init_icons = __esm({
|
|
|
12169
12179
|
_tmpl$9 = /* @__PURE__ */ template(`<svg stroke=currentColor fill=currentColor stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">`);
|
|
12170
12180
|
_tmpl$10 = /* @__PURE__ */ template(`<svg stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">`);
|
|
12171
12181
|
_tmpl$11 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12172
|
-
_tmpl$12 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path
|
|
12173
|
-
_tmpl$13 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="
|
|
12174
|
-
_tmpl$14 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="
|
|
12175
|
-
_tmpl$15 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none
|
|
12176
|
-
_tmpl$16 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"
|
|
12177
|
-
_tmpl$17 = /* @__PURE__ */ template(`<svg
|
|
12178
|
-
_tmpl$18 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="
|
|
12179
|
-
_tmpl$19 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="
|
|
12180
|
-
_tmpl$20 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="
|
|
12181
|
-
_tmpl$21 = /* @__PURE__ */ template(`<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>`);
|
|
12182
|
+
_tmpl$12 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M16 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V8M11.5 12.5L17 7M17 7H12M17 7V12M6.2 21H8.8C9.9201 21 10.4802 21 10.908 20.782C11.2843 20.5903 11.5903 20.2843 11.782 19.908C12 19.4802 12 18.9201 12 17.8V15.2C12 14.0799 12 13.5198 11.782 13.092C11.5903 12.7157 11.2843 12.4097 10.908 12.218C10.4802 12 9.92011 12 8.8 12H6.2C5.0799 12 4.51984 12 4.09202 12.218C3.71569 12.4097 3.40973 12.7157 3.21799 13.092C3 13.5198 3 14.0799 3 15.2V17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12183
|
+
_tmpl$13 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path class=copier d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round stroke=currentColor>`);
|
|
12184
|
+
_tmpl$14 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12185
|
+
_tmpl$15 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke=#F04438 stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12186
|
+
_tmpl$16 = /* @__PURE__ */ template(`<svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 xmlns=http://www.w3.org/2000/svg><rect class=list width=20 height=20 y=2 x=2 rx=2></rect><line class=list-item y1=7 y2=7 x1=6 x2=18></line><line class=list-item y2=12 y1=12 x1=6 x2=18></line><line class=list-item y1=17 y2=17 x1=6 x2=18>`);
|
|
12187
|
+
_tmpl$17 = /* @__PURE__ */ template(`<svg viewBox="0 0 24 24"height=20 width=20 fill=none xmlns=http://www.w3.org/2000/svg><path d="M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12188
|
+
_tmpl$18 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12189
|
+
_tmpl$19 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2V6M12 18V22M6 12H2M22 12H18M19.0784 19.0784L16.25 16.25M19.0784 4.99994L16.25 7.82837M4.92157 19.0784L7.75 16.25M4.92157 4.99994L7.75 7.82837"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><animateTransform attributeName=transform attributeType=XML type=rotate from=0 to=360 dur=2s repeatCount=indefinite>`);
|
|
12190
|
+
_tmpl$20 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M15 9L9 15M9 9L15 15M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12191
|
+
_tmpl$21 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.5 15V9M14.5 15V9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12192
|
+
_tmpl$22 = /* @__PURE__ */ template(`<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>`);
|
|
12182
12193
|
}
|
|
12183
12194
|
});
|
|
12184
12195
|
|
|
@@ -12553,7 +12564,7 @@ function Explorer(props) {
|
|
|
12553
12564
|
return _el$6;
|
|
12554
12565
|
})();
|
|
12555
12566
|
}
|
|
12556
|
-
var _tmpl$
|
|
12567
|
+
var _tmpl$23, _tmpl$24, _tmpl$32, _tmpl$42, _tmpl$52, _tmpl$62, _tmpl$72, _tmpl$82, _tmpl$92, _tmpl$102, _tmpl$112, Expander, CopyButton, ClearArrayButton, DeleteItemButton, ToggleValueButton, stylesFactory, lightStyles, darkStyles;
|
|
12557
12568
|
var init_Explorer = __esm({
|
|
12558
12569
|
"src/Explorer.tsx"() {
|
|
12559
12570
|
init_web();
|
|
@@ -12574,8 +12585,8 @@ var init_Explorer = __esm({
|
|
|
12574
12585
|
init_utils();
|
|
12575
12586
|
init_icons();
|
|
12576
12587
|
init_Context();
|
|
12577
|
-
_tmpl$
|
|
12578
|
-
_tmpl$
|
|
12588
|
+
_tmpl$23 = /* @__PURE__ */ template(`<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>`);
|
|
12589
|
+
_tmpl$24 = /* @__PURE__ */ template(`<button title="Copy object to clipboard">`);
|
|
12579
12590
|
_tmpl$32 = /* @__PURE__ */ template(`<button title="Remove all items"aria-label="Remove all items">`);
|
|
12580
12591
|
_tmpl$42 = /* @__PURE__ */ template(`<button title="Delete item"aria-label="Delete item">`);
|
|
12581
12592
|
_tmpl$52 = /* @__PURE__ */ template(`<button title="Toggle value"aria-label="Toggle value">`);
|
|
@@ -12591,7 +12602,7 @@ var init_Explorer = __esm({
|
|
|
12591
12602
|
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12592
12603
|
});
|
|
12593
12604
|
return (() => {
|
|
12594
|
-
const _el$ = _tmpl$
|
|
12605
|
+
const _el$ = _tmpl$23();
|
|
12595
12606
|
createRenderEffect(() => className(_el$, clsx(styles().expander, u`
|
|
12596
12607
|
transform: rotate(${props.expanded ? 90 : 0}deg);
|
|
12597
12608
|
`, props.expanded && u`
|
|
@@ -12609,7 +12620,7 @@ var init_Explorer = __esm({
|
|
|
12609
12620
|
});
|
|
12610
12621
|
const [copyState, setCopyState] = createSignal("NoCopy");
|
|
12611
12622
|
return (() => {
|
|
12612
|
-
const _el$2 = _tmpl$
|
|
12623
|
+
const _el$2 = _tmpl$24();
|
|
12613
12624
|
addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
|
|
12614
12625
|
navigator.clipboard.writeText(stringify(props.value)).then(() => {
|
|
12615
12626
|
setCopyState("SuccessCopy");
|
|
@@ -12874,7 +12885,7 @@ var Devtools_exports = {};
|
|
|
12874
12885
|
__export(Devtools_exports, {
|
|
12875
12886
|
default: () => Devtools_default
|
|
12876
12887
|
});
|
|
12877
|
-
var _tmpl$
|
|
12888
|
+
var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$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, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, DEFAULT_MUTATION_SORT_FN_NAME, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, PiPContext, PiPProvider, usePiPWindow, DevtoolsComponent, Devtools_default, Devtools, PiPPanel, DevtoolsPanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
|
|
12878
12889
|
var init_Devtools = __esm({
|
|
12879
12890
|
"src/Devtools.tsx"() {
|
|
12880
12891
|
init_web();
|
|
@@ -12897,42 +12908,44 @@ var init_Devtools = __esm({
|
|
|
12897
12908
|
init_dist7();
|
|
12898
12909
|
init_dist9();
|
|
12899
12910
|
init_esm2();
|
|
12911
|
+
init_web();
|
|
12900
12912
|
init_theme();
|
|
12901
12913
|
init_utils();
|
|
12902
12914
|
init_icons();
|
|
12903
12915
|
init_Explorer();
|
|
12904
12916
|
init_Context();
|
|
12905
|
-
_tmpl$
|
|
12906
|
-
_tmpl$
|
|
12917
|
+
_tmpl$25 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>`);
|
|
12918
|
+
_tmpl$26 = /* @__PURE__ */ template(`<div>`);
|
|
12907
12919
|
_tmpl$33 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">`);
|
|
12908
12920
|
_tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
12909
12921
|
_tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
12910
12922
|
_tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
12911
12923
|
_tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
|
|
12912
|
-
_tmpl$83 = /* @__PURE__ */ template(`<
|
|
12913
|
-
_tmpl$93 = /* @__PURE__ */ template(`<
|
|
12914
|
-
_tmpl$103 = /* @__PURE__ */ template(`<span>
|
|
12915
|
-
_tmpl$113 = /* @__PURE__ */ template(`<span>
|
|
12916
|
-
_tmpl$122 = /* @__PURE__ */ template(`<span>
|
|
12917
|
-
_tmpl$132 = /* @__PURE__ */ template(`<span>
|
|
12918
|
-
_tmpl$142 = /* @__PURE__ */ template(`<span>
|
|
12919
|
-
_tmpl$152 = /* @__PURE__ */ template(`<span>
|
|
12920
|
-
_tmpl$162 = /* @__PURE__ */ template(`<span>
|
|
12921
|
-
_tmpl$172 = /* @__PURE__ */ template(`<span>
|
|
12922
|
-
_tmpl$182 = /* @__PURE__ */ template(`<
|
|
12923
|
-
_tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-
|
|
12924
|
-
_tmpl$202 = /* @__PURE__ */ template(`<div><div
|
|
12925
|
-
_tmpl$212 = /* @__PURE__ */ template(`<
|
|
12926
|
-
_tmpl$222 = /* @__PURE__ */ template(`<
|
|
12927
|
-
_tmpl$232 = /* @__PURE__ */ template(`<
|
|
12928
|
-
_tmpl$242 = /* @__PURE__ */ template(`<div
|
|
12929
|
-
_tmpl$252 = /* @__PURE__ */ template(`<
|
|
12930
|
-
_tmpl$
|
|
12931
|
-
_tmpl$27 = /* @__PURE__ */ template(`<button><span></span
|
|
12932
|
-
_tmpl$28 = /* @__PURE__ */ template(`<
|
|
12933
|
-
_tmpl$29 = /* @__PURE__ */ template(`<div><
|
|
12934
|
-
_tmpl$30 = /* @__PURE__ */ template(`<
|
|
12935
|
-
_tmpl$31 = /* @__PURE__ */ template(`<
|
|
12924
|
+
_tmpl$83 = /* @__PURE__ */ template(`<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">`);
|
|
12925
|
+
_tmpl$93 = /* @__PURE__ */ template(`<div>Settings`);
|
|
12926
|
+
_tmpl$103 = /* @__PURE__ */ template(`<span>Position`);
|
|
12927
|
+
_tmpl$113 = /* @__PURE__ */ template(`<span>Top`);
|
|
12928
|
+
_tmpl$122 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
12929
|
+
_tmpl$132 = /* @__PURE__ */ template(`<span>Left`);
|
|
12930
|
+
_tmpl$142 = /* @__PURE__ */ template(`<span>Right`);
|
|
12931
|
+
_tmpl$152 = /* @__PURE__ */ template(`<span>Theme`);
|
|
12932
|
+
_tmpl$162 = /* @__PURE__ */ template(`<span>Light`);
|
|
12933
|
+
_tmpl$172 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12934
|
+
_tmpl$182 = /* @__PURE__ */ template(`<span>System`);
|
|
12935
|
+
_tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
12936
|
+
_tmpl$202 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
12937
|
+
_tmpl$212 = /* @__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>`);
|
|
12938
|
+
_tmpl$222 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12939
|
+
_tmpl$232 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12940
|
+
_tmpl$242 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12941
|
+
_tmpl$252 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12942
|
+
_tmpl$262 = /* @__PURE__ */ template(`<span>`);
|
|
12943
|
+
_tmpl$27 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12944
|
+
_tmpl$28 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12945
|
+
_tmpl$29 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12946
|
+
_tmpl$30 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
12947
|
+
_tmpl$31 = /* @__PURE__ */ template(`<option>`);
|
|
12948
|
+
_tmpl$322 = /* @__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">`);
|
|
12936
12949
|
firstBreakpoint = 1024;
|
|
12937
12950
|
secondBreakpoint = 796;
|
|
12938
12951
|
thirdBreakpoint = 700;
|
|
@@ -12948,6 +12961,114 @@ var init_Devtools = __esm({
|
|
|
12948
12961
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12949
12962
|
[selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
12950
12963
|
[panelWidth, setPanelWidth] = createSignal(0);
|
|
12964
|
+
PiPContext = createContext(void 0);
|
|
12965
|
+
PiPProvider = (props) => {
|
|
12966
|
+
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12967
|
+
const closePipWindow = () => {
|
|
12968
|
+
const w = pipWindow();
|
|
12969
|
+
if (w != null) {
|
|
12970
|
+
w.close();
|
|
12971
|
+
setPipWindow(null);
|
|
12972
|
+
}
|
|
12973
|
+
};
|
|
12974
|
+
const requestPipWindow = async (width, height) => {
|
|
12975
|
+
if (pipWindow() != null) {
|
|
12976
|
+
return;
|
|
12977
|
+
}
|
|
12978
|
+
const pip = window.open("", "TSQD-Devtools-Panel", `width=${width},height=${height},popup`);
|
|
12979
|
+
if (!pip) {
|
|
12980
|
+
throw new Error("Failed to open popup. Please allow popups for this site to view the devtools in picture-in-picture mode.");
|
|
12981
|
+
}
|
|
12982
|
+
pip.document.head.innerHTML = "";
|
|
12983
|
+
pip.document.body.innerHTML = "";
|
|
12984
|
+
clearDelegatedEvents(pip.document);
|
|
12985
|
+
pip.document.title = "TanStack Query Devtools";
|
|
12986
|
+
pip.document.body.style.margin = "0";
|
|
12987
|
+
pip.addEventListener("pagehide", () => {
|
|
12988
|
+
props.setLocalStore("pip_open", "false");
|
|
12989
|
+
setPipWindow(null);
|
|
12990
|
+
});
|
|
12991
|
+
[...document.styleSheets].forEach((styleSheet) => {
|
|
12992
|
+
try {
|
|
12993
|
+
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
12994
|
+
const style2 = document.createElement("style");
|
|
12995
|
+
const style_node = styleSheet.ownerNode;
|
|
12996
|
+
let style_id = "";
|
|
12997
|
+
if (style_node && "id" in style_node) {
|
|
12998
|
+
style_id = style_node.id;
|
|
12999
|
+
}
|
|
13000
|
+
if (style_id) {
|
|
13001
|
+
style2.setAttribute("id", style_id);
|
|
13002
|
+
}
|
|
13003
|
+
style2.textContent = cssRules;
|
|
13004
|
+
pip.document.head.appendChild(style2);
|
|
13005
|
+
} catch (e2) {
|
|
13006
|
+
const link = document.createElement("link");
|
|
13007
|
+
if (styleSheet.href == null) {
|
|
13008
|
+
return;
|
|
13009
|
+
}
|
|
13010
|
+
link.rel = "stylesheet";
|
|
13011
|
+
link.type = styleSheet.type;
|
|
13012
|
+
link.media = styleSheet.media.toString();
|
|
13013
|
+
link.href = styleSheet.href;
|
|
13014
|
+
pip.document.head.appendChild(link);
|
|
13015
|
+
}
|
|
13016
|
+
});
|
|
13017
|
+
delegateEvents(["focusin", "focusout", "pointermove", "keydown", "pointerdown", "pointerup", "click", "mousedown", "input"], pip.document);
|
|
13018
|
+
props.setLocalStore("pip_open", "true");
|
|
13019
|
+
setPipWindow(pip);
|
|
13020
|
+
};
|
|
13021
|
+
createEffect(() => {
|
|
13022
|
+
const pip_open = props.localStore.pip_open ?? "false";
|
|
13023
|
+
if (pip_open === "true") {
|
|
13024
|
+
requestPipWindow(Number(window.innerWidth), Number(props.localStore.height || DEFAULT_HEIGHT));
|
|
13025
|
+
}
|
|
13026
|
+
});
|
|
13027
|
+
createEffect(() => {
|
|
13028
|
+
const gooberStyles = document.getElementById("_goober");
|
|
13029
|
+
const w = pipWindow();
|
|
13030
|
+
if (gooberStyles && w) {
|
|
13031
|
+
const observer = new MutationObserver(() => {
|
|
13032
|
+
const pip_style = w.document.getElementById("_goober");
|
|
13033
|
+
if (pip_style) {
|
|
13034
|
+
pip_style.textContent = gooberStyles.textContent;
|
|
13035
|
+
}
|
|
13036
|
+
});
|
|
13037
|
+
observer.observe(gooberStyles, {
|
|
13038
|
+
childList: true,
|
|
13039
|
+
// observe direct children
|
|
13040
|
+
subtree: true,
|
|
13041
|
+
// and lower descendants too
|
|
13042
|
+
characterDataOldValue: true
|
|
13043
|
+
// pass old data to callback
|
|
13044
|
+
});
|
|
13045
|
+
onCleanup(() => {
|
|
13046
|
+
observer.disconnect();
|
|
13047
|
+
});
|
|
13048
|
+
}
|
|
13049
|
+
});
|
|
13050
|
+
const value = createMemo(() => ({
|
|
13051
|
+
pipWindow: pipWindow(),
|
|
13052
|
+
requestPipWindow,
|
|
13053
|
+
closePipWindow
|
|
13054
|
+
}));
|
|
13055
|
+
return createComponent(PiPContext.Provider, {
|
|
13056
|
+
value,
|
|
13057
|
+
get children() {
|
|
13058
|
+
return props.children;
|
|
13059
|
+
}
|
|
13060
|
+
});
|
|
13061
|
+
};
|
|
13062
|
+
usePiPWindow = () => {
|
|
13063
|
+
const context = createMemo(() => {
|
|
13064
|
+
const ctx = useContext(PiPContext);
|
|
13065
|
+
if (!ctx) {
|
|
13066
|
+
throw new Error("usePiPWindow must be used within a PiPProvider");
|
|
13067
|
+
}
|
|
13068
|
+
return ctx();
|
|
13069
|
+
});
|
|
13070
|
+
return context;
|
|
13071
|
+
};
|
|
12951
13072
|
DevtoolsComponent = (props) => {
|
|
12952
13073
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
12953
13074
|
prefix: "TanstackQueryDevtools"
|
|
@@ -12962,12 +13083,18 @@ var init_Devtools = __esm({
|
|
|
12962
13083
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
12963
13084
|
value: props,
|
|
12964
13085
|
get children() {
|
|
12965
|
-
return createComponent(
|
|
12966
|
-
|
|
13086
|
+
return createComponent(PiPProvider, {
|
|
13087
|
+
localStore,
|
|
13088
|
+
setLocalStore,
|
|
12967
13089
|
get children() {
|
|
12968
|
-
return createComponent(
|
|
12969
|
-
|
|
12970
|
-
|
|
13090
|
+
return createComponent(ThemeContext.Provider, {
|
|
13091
|
+
value: theme,
|
|
13092
|
+
get children() {
|
|
13093
|
+
return createComponent(Devtools, {
|
|
13094
|
+
localStore,
|
|
13095
|
+
setLocalStore
|
|
13096
|
+
});
|
|
13097
|
+
}
|
|
12971
13098
|
});
|
|
12972
13099
|
}
|
|
12973
13100
|
});
|
|
@@ -12980,6 +13107,7 @@ var init_Devtools = __esm({
|
|
|
12980
13107
|
const styles = createMemo(() => {
|
|
12981
13108
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
12982
13109
|
});
|
|
13110
|
+
const pip = usePiPWindow();
|
|
12983
13111
|
const buttonPosition = createMemo(() => {
|
|
12984
13112
|
return useQueryDevtoolsContext().buttonPosition || BUTTON_POSITION;
|
|
12985
13113
|
});
|
|
@@ -13010,8 +13138,34 @@ var init_Devtools = __esm({
|
|
|
13010
13138
|
window.removeEventListener("focus", onFocus);
|
|
13011
13139
|
});
|
|
13012
13140
|
});
|
|
13013
|
-
|
|
13014
|
-
|
|
13141
|
+
const pip_open = createMemo(() => props.localStore.pip_open ?? "false");
|
|
13142
|
+
return [createComponent(Show, {
|
|
13143
|
+
get when() {
|
|
13144
|
+
return createMemo(() => !!pip().pipWindow)() && pip_open() == "true";
|
|
13145
|
+
},
|
|
13146
|
+
get children() {
|
|
13147
|
+
return createComponent(Portal, {
|
|
13148
|
+
get mount() {
|
|
13149
|
+
return pip().pipWindow?.document.body;
|
|
13150
|
+
},
|
|
13151
|
+
get children() {
|
|
13152
|
+
return createComponent(PiPPanel, {
|
|
13153
|
+
get children() {
|
|
13154
|
+
return createComponent(ContentView, {
|
|
13155
|
+
get localStore() {
|
|
13156
|
+
return props.localStore;
|
|
13157
|
+
},
|
|
13158
|
+
get setLocalStore() {
|
|
13159
|
+
return props.setLocalStore;
|
|
13160
|
+
}
|
|
13161
|
+
});
|
|
13162
|
+
}
|
|
13163
|
+
});
|
|
13164
|
+
}
|
|
13165
|
+
});
|
|
13166
|
+
}
|
|
13167
|
+
}), (() => {
|
|
13168
|
+
const _el$ = _tmpl$26();
|
|
13015
13169
|
const _ref$ = transitionsContainerRef;
|
|
13016
13170
|
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
13017
13171
|
insert(_el$, createComponent(TransitionGroup, {
|
|
@@ -13019,7 +13173,7 @@ var init_Devtools = __esm({
|
|
|
13019
13173
|
get children() {
|
|
13020
13174
|
return createComponent(Show, {
|
|
13021
13175
|
get when() {
|
|
13022
|
-
return isOpen();
|
|
13176
|
+
return createMemo(() => !!(isOpen() && !pip().pipWindow))() && pip_open() == "false";
|
|
13023
13177
|
},
|
|
13024
13178
|
get children() {
|
|
13025
13179
|
return createComponent(DevtoolsPanel, {
|
|
@@ -13042,7 +13196,7 @@ var init_Devtools = __esm({
|
|
|
13042
13196
|
return !isOpen();
|
|
13043
13197
|
},
|
|
13044
13198
|
get children() {
|
|
13045
|
-
const _el$2 = _tmpl$
|
|
13199
|
+
const _el$2 = _tmpl$25(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
13046
13200
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
13047
13201
|
_el$4.$$click = () => props.setLocalStore("open", "true");
|
|
13048
13202
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
@@ -13053,33 +13207,87 @@ var init_Devtools = __esm({
|
|
|
13053
13207
|
}
|
|
13054
13208
|
}), null);
|
|
13055
13209
|
createRenderEffect(() => className(_el$, clsx(u`
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13210
|
+
& .tsqd-panel-transition-exit-active,
|
|
13211
|
+
& .tsqd-panel-transition-enter-active {
|
|
13212
|
+
transition:
|
|
13213
|
+
opacity 0.3s,
|
|
13214
|
+
transform 0.3s;
|
|
13215
|
+
}
|
|
13062
13216
|
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13217
|
+
& .tsqd-panel-transition-exit-to,
|
|
13218
|
+
& .tsqd-panel-transition-enter {
|
|
13219
|
+
${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
|
|
13220
|
+
}
|
|
13067
13221
|
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13222
|
+
& .tsqd-button-transition-exit-active,
|
|
13223
|
+
& .tsqd-button-transition-enter-active {
|
|
13224
|
+
transition:
|
|
13225
|
+
opacity 0.3s,
|
|
13226
|
+
transform 0.3s;
|
|
13227
|
+
opacity: 1;
|
|
13228
|
+
}
|
|
13075
13229
|
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13230
|
+
& .tsqd-button-transition-exit-to,
|
|
13231
|
+
& .tsqd-button-transition-enter {
|
|
13232
|
+
transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
13233
|
+
opacity: 0;
|
|
13234
|
+
}
|
|
13235
|
+
`, "tsqd-transitions-container")));
|
|
13082
13236
|
return _el$;
|
|
13237
|
+
})()];
|
|
13238
|
+
};
|
|
13239
|
+
PiPPanel = (props) => {
|
|
13240
|
+
const pip = usePiPWindow();
|
|
13241
|
+
const theme = useTheme();
|
|
13242
|
+
const styles = createMemo(() => {
|
|
13243
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13244
|
+
});
|
|
13245
|
+
const getPanelDynamicStyles = () => {
|
|
13246
|
+
const {
|
|
13247
|
+
colors
|
|
13248
|
+
} = tokens;
|
|
13249
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
13250
|
+
if (panelWidth() < secondBreakpoint) {
|
|
13251
|
+
return u`
|
|
13252
|
+
flex-direction: column;
|
|
13253
|
+
background-color: ${t2(colors.gray[300], colors.gray[600])};
|
|
13254
|
+
`;
|
|
13255
|
+
}
|
|
13256
|
+
return u`
|
|
13257
|
+
flex-direction: row;
|
|
13258
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[900])};
|
|
13259
|
+
`;
|
|
13260
|
+
};
|
|
13261
|
+
createEffect(() => {
|
|
13262
|
+
const win = pip().pipWindow;
|
|
13263
|
+
const resizeCB = () => {
|
|
13264
|
+
if (!win)
|
|
13265
|
+
return;
|
|
13266
|
+
setPanelWidth(win.innerWidth);
|
|
13267
|
+
};
|
|
13268
|
+
if (win) {
|
|
13269
|
+
win.addEventListener("resize", resizeCB);
|
|
13270
|
+
resizeCB();
|
|
13271
|
+
}
|
|
13272
|
+
onCleanup(() => {
|
|
13273
|
+
if (win) {
|
|
13274
|
+
win.removeEventListener("resize", resizeCB);
|
|
13275
|
+
}
|
|
13276
|
+
});
|
|
13277
|
+
});
|
|
13278
|
+
return (() => {
|
|
13279
|
+
const _el$5 = _tmpl$26();
|
|
13280
|
+
_el$5.style.setProperty("--tsqd-font-size", "16px");
|
|
13281
|
+
_el$5.style.setProperty("max-height", "100vh");
|
|
13282
|
+
_el$5.style.setProperty("height", "100vh");
|
|
13283
|
+
_el$5.style.setProperty("width", "100vw");
|
|
13284
|
+
insert(_el$5, () => props.children);
|
|
13285
|
+
createRenderEffect(() => className(_el$5, clsx(styles().panel, getPanelDynamicStyles(), {
|
|
13286
|
+
[u`
|
|
13287
|
+
min-width: min-content;
|
|
13288
|
+
`]: panelWidth() < thirdBreakpoint
|
|
13289
|
+
}, "tsqd-main-panel")));
|
|
13290
|
+
return _el$5;
|
|
13083
13291
|
})();
|
|
13084
13292
|
};
|
|
13085
13293
|
DevtoolsPanel = (props) => {
|
|
@@ -13190,13 +13398,13 @@ var init_Devtools = __esm({
|
|
|
13190
13398
|
`;
|
|
13191
13399
|
};
|
|
13192
13400
|
return (() => {
|
|
13193
|
-
const _el$
|
|
13401
|
+
const _el$6 = _tmpl$33(), _el$7 = _el$6.firstChild, _el$8 = _el$7.nextSibling;
|
|
13194
13402
|
const _ref$2 = panelRef;
|
|
13195
|
-
typeof _ref$2 === "function" ? use(_ref$2, _el$
|
|
13196
|
-
_el$
|
|
13197
|
-
_el$
|
|
13198
|
-
insert(_el$
|
|
13199
|
-
insert(_el$
|
|
13403
|
+
typeof _ref$2 === "function" ? use(_ref$2, _el$6) : panelRef = _el$6;
|
|
13404
|
+
_el$7.$$mousedown = handleDragStart;
|
|
13405
|
+
_el$8.$$click = () => props.setLocalStore("open", "false");
|
|
13406
|
+
insert(_el$8, createComponent(ChevronDown, {}));
|
|
13407
|
+
insert(_el$6, createComponent(ContentView, {
|
|
13200
13408
|
get localStore() {
|
|
13201
13409
|
return props.localStore;
|
|
13202
13410
|
},
|
|
@@ -13210,11 +13418,11 @@ var init_Devtools = __esm({
|
|
|
13210
13418
|
min-width: min-content;
|
|
13211
13419
|
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
13212
13420
|
}, "tsqd-main-panel"), _v$2 = position() === "bottom" || position() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$3 = position() === "right" || position() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$4 = clsx(styles().dragHandle, styles()[`dragHandle-position-${position()}`], "tsqd-drag-handle"), _v$5 = clsx(styles().closeBtn, styles()[`closeBtn-position-${position()}`], "tsqd-minimize-btn");
|
|
13213
|
-
_v$ !== _p$._v$ && className(_el$
|
|
13214
|
-
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$
|
|
13215
|
-
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$
|
|
13216
|
-
_v$4 !== _p$._v$4 && className(_el$
|
|
13217
|
-
_v$5 !== _p$._v$5 && className(_el$
|
|
13421
|
+
_v$ !== _p$._v$ && className(_el$6, _p$._v$ = _v$);
|
|
13422
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$6.style.setProperty("height", _v$2) : _el$6.style.removeProperty("height"));
|
|
13423
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$6.style.setProperty("width", _v$3) : _el$6.style.removeProperty("width"));
|
|
13424
|
+
_v$4 !== _p$._v$4 && className(_el$7, _p$._v$4 = _v$4);
|
|
13425
|
+
_v$5 !== _p$._v$5 && className(_el$8, _p$._v$5 = _v$5);
|
|
13218
13426
|
return _p$;
|
|
13219
13427
|
}, {
|
|
13220
13428
|
_v$: void 0,
|
|
@@ -13223,7 +13431,7 @@ var init_Devtools = __esm({
|
|
|
13223
13431
|
_v$4: void 0,
|
|
13224
13432
|
_v$5: void 0
|
|
13225
13433
|
});
|
|
13226
|
-
return _el$
|
|
13434
|
+
return _el$6;
|
|
13227
13435
|
})();
|
|
13228
13436
|
};
|
|
13229
13437
|
ContentView = (props) => {
|
|
@@ -13234,6 +13442,7 @@ var init_Devtools = __esm({
|
|
|
13234
13442
|
const styles = createMemo(() => {
|
|
13235
13443
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13236
13444
|
});
|
|
13445
|
+
const pip = usePiPWindow();
|
|
13237
13446
|
const [selectedView, setSelectedView] = createSignal("queries");
|
|
13238
13447
|
const sort = createMemo(() => props.localStore.sort || DEFAULT_SORT_FN_NAME);
|
|
13239
13448
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
@@ -13279,13 +13488,17 @@ var init_Devtools = __esm({
|
|
|
13279
13488
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13280
13489
|
};
|
|
13281
13490
|
return [(() => {
|
|
13282
|
-
const _el$
|
|
13491
|
+
const _el$9 = _tmpl$212(), _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.firstChild, _el$13 = _el$12.firstChild, _el$14 = _el$13.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$10.nextSibling, _el$17 = _el$16.firstChild, _el$18 = _el$17.firstChild, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$20.nextSibling, _el$26 = _el$17.nextSibling, _el$27 = _el$26.firstChild, _el$28 = _el$27.nextSibling;
|
|
13283
13492
|
const _ref$3 = containerRef;
|
|
13284
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
13285
|
-
_el$
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13493
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$9) : containerRef = _el$9;
|
|
13494
|
+
_el$12.$$click = () => {
|
|
13495
|
+
if (!pip().pipWindow) {
|
|
13496
|
+
props.setLocalStore("open", "false");
|
|
13497
|
+
}
|
|
13498
|
+
};
|
|
13499
|
+
insert(_el$14, () => useQueryDevtoolsContext().queryFlavor, _el$15);
|
|
13500
|
+
insert(_el$14, () => useQueryDevtoolsContext().version, null);
|
|
13501
|
+
insert(_el$11, createComponent(index$9.Root, {
|
|
13289
13502
|
get ["class"]() {
|
|
13290
13503
|
return clsx(styles().viewToggle);
|
|
13291
13504
|
},
|
|
@@ -13327,7 +13540,7 @@ var init_Devtools = __esm({
|
|
|
13327
13540
|
})];
|
|
13328
13541
|
}
|
|
13329
13542
|
}), null);
|
|
13330
|
-
insert(_el$
|
|
13543
|
+
insert(_el$10, createComponent(Show, {
|
|
13331
13544
|
get when() {
|
|
13332
13545
|
return selectedView() === "queries";
|
|
13333
13546
|
},
|
|
@@ -13335,7 +13548,7 @@ var init_Devtools = __esm({
|
|
|
13335
13548
|
return createComponent(QueryStatusCount, {});
|
|
13336
13549
|
}
|
|
13337
13550
|
}), null);
|
|
13338
|
-
insert(_el$
|
|
13551
|
+
insert(_el$10, createComponent(Show, {
|
|
13339
13552
|
get when() {
|
|
13340
13553
|
return selectedView() === "mutations";
|
|
13341
13554
|
},
|
|
@@ -13343,61 +13556,61 @@ var init_Devtools = __esm({
|
|
|
13343
13556
|
return createComponent(MutationStatusCount, {});
|
|
13344
13557
|
}
|
|
13345
13558
|
}), null);
|
|
13346
|
-
insert(_el$
|
|
13347
|
-
_el$
|
|
13559
|
+
insert(_el$18, createComponent(Search, {}), _el$19);
|
|
13560
|
+
_el$19.$$input = (e2) => {
|
|
13348
13561
|
if (selectedView() === "queries") {
|
|
13349
13562
|
props.setLocalStore("filter", e2.currentTarget.value);
|
|
13350
13563
|
} else {
|
|
13351
13564
|
props.setLocalStore("mutationFilter", e2.currentTarget.value);
|
|
13352
13565
|
}
|
|
13353
13566
|
};
|
|
13354
|
-
insert(_el$
|
|
13567
|
+
insert(_el$20, createComponent(Show, {
|
|
13355
13568
|
get when() {
|
|
13356
13569
|
return selectedView() === "queries";
|
|
13357
13570
|
},
|
|
13358
13571
|
get children() {
|
|
13359
|
-
const _el$
|
|
13360
|
-
_el$
|
|
13572
|
+
const _el$21 = _tmpl$43();
|
|
13573
|
+
_el$21.addEventListener("change", (e2) => {
|
|
13361
13574
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13362
13575
|
});
|
|
13363
|
-
insert(_el$
|
|
13364
|
-
const _el$
|
|
13365
|
-
_el$
|
|
13366
|
-
insert(_el$
|
|
13367
|
-
return _el$
|
|
13576
|
+
insert(_el$21, () => Object.keys(sortFns).map((key) => (() => {
|
|
13577
|
+
const _el$44 = _tmpl$222(); _el$44.firstChild;
|
|
13578
|
+
_el$44.value = key;
|
|
13579
|
+
insert(_el$44, key, null);
|
|
13580
|
+
return _el$44;
|
|
13368
13581
|
})()));
|
|
13369
|
-
createRenderEffect(() => _el$
|
|
13370
|
-
return _el$
|
|
13582
|
+
createRenderEffect(() => _el$21.value = sort());
|
|
13583
|
+
return _el$21;
|
|
13371
13584
|
}
|
|
13372
13585
|
}), null);
|
|
13373
|
-
insert(_el$
|
|
13586
|
+
insert(_el$20, createComponent(Show, {
|
|
13374
13587
|
get when() {
|
|
13375
13588
|
return selectedView() === "mutations";
|
|
13376
13589
|
},
|
|
13377
13590
|
get children() {
|
|
13378
|
-
const _el$
|
|
13379
|
-
_el$
|
|
13591
|
+
const _el$22 = _tmpl$53();
|
|
13592
|
+
_el$22.addEventListener("change", (e2) => {
|
|
13380
13593
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13381
13594
|
});
|
|
13382
|
-
insert(_el$
|
|
13383
|
-
const _el$
|
|
13384
|
-
_el$
|
|
13385
|
-
insert(_el$
|
|
13386
|
-
return _el$
|
|
13595
|
+
insert(_el$22, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
13596
|
+
const _el$46 = _tmpl$222(); _el$46.firstChild;
|
|
13597
|
+
_el$46.value = key;
|
|
13598
|
+
insert(_el$46, key, null);
|
|
13599
|
+
return _el$46;
|
|
13387
13600
|
})()));
|
|
13388
|
-
createRenderEffect(() => _el$
|
|
13389
|
-
return _el$
|
|
13601
|
+
createRenderEffect(() => _el$22.value = mutationSort());
|
|
13602
|
+
return _el$22;
|
|
13390
13603
|
}
|
|
13391
13604
|
}), null);
|
|
13392
|
-
insert(_el$
|
|
13393
|
-
_el$
|
|
13605
|
+
insert(_el$20, createComponent(ChevronDown, {}), null);
|
|
13606
|
+
_el$23.$$click = () => {
|
|
13394
13607
|
if (selectedView() === "queries") {
|
|
13395
13608
|
props.setLocalStore("sortOrder", String(sortOrder() * -1));
|
|
13396
13609
|
} else {
|
|
13397
13610
|
props.setLocalStore("mutationSortOrder", String(mutationSortOrder() * -1));
|
|
13398
13611
|
}
|
|
13399
13612
|
};
|
|
13400
|
-
insert(_el$
|
|
13613
|
+
insert(_el$23, createComponent(Show, {
|
|
13401
13614
|
get when() {
|
|
13402
13615
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
13403
13616
|
},
|
|
@@ -13405,7 +13618,7 @@ var init_Devtools = __esm({
|
|
|
13405
13618
|
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
13406
13619
|
}
|
|
13407
13620
|
}), null);
|
|
13408
|
-
insert(_el$
|
|
13621
|
+
insert(_el$23, createComponent(Show, {
|
|
13409
13622
|
get when() {
|
|
13410
13623
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
13411
13624
|
},
|
|
@@ -13413,15 +13626,15 @@ var init_Devtools = __esm({
|
|
|
13413
13626
|
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
13414
13627
|
}
|
|
13415
13628
|
}), null);
|
|
13416
|
-
_el$
|
|
13629
|
+
_el$27.$$click = () => {
|
|
13417
13630
|
if (selectedView() === "queries") {
|
|
13418
13631
|
query_cache().clear();
|
|
13419
13632
|
} else {
|
|
13420
13633
|
mutation_cache().clear();
|
|
13421
13634
|
}
|
|
13422
13635
|
};
|
|
13423
|
-
insert(_el$
|
|
13424
|
-
_el$
|
|
13636
|
+
insert(_el$27, createComponent(Trash, {}));
|
|
13637
|
+
_el$28.$$click = () => {
|
|
13425
13638
|
if (offline()) {
|
|
13426
13639
|
onlineManager().setOnline(true);
|
|
13427
13640
|
setOffline(false);
|
|
@@ -13430,11 +13643,25 @@ var init_Devtools = __esm({
|
|
|
13430
13643
|
setOffline(true);
|
|
13431
13644
|
}
|
|
13432
13645
|
};
|
|
13433
|
-
insert(_el$
|
|
13646
|
+
insert(_el$28, (() => {
|
|
13434
13647
|
const _c$ = createMemo(() => !!offline());
|
|
13435
13648
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
13436
13649
|
})());
|
|
13437
|
-
insert(_el$
|
|
13650
|
+
insert(_el$26, createComponent(Show, {
|
|
13651
|
+
get when() {
|
|
13652
|
+
return !pip().pipWindow;
|
|
13653
|
+
},
|
|
13654
|
+
get children() {
|
|
13655
|
+
const _el$29 = _tmpl$83();
|
|
13656
|
+
_el$29.$$click = () => {
|
|
13657
|
+
pip().requestPipWindow(Number(window.innerWidth), Number(props.localStore.height ?? 500));
|
|
13658
|
+
};
|
|
13659
|
+
insert(_el$29, createComponent(PiPIcon, {}));
|
|
13660
|
+
createRenderEffect(() => className(_el$29, clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-open-pip")));
|
|
13661
|
+
return _el$29;
|
|
13662
|
+
}
|
|
13663
|
+
}), null);
|
|
13664
|
+
insert(_el$26, createComponent(index$f.Root, {
|
|
13438
13665
|
gutter: 4,
|
|
13439
13666
|
get children() {
|
|
13440
13667
|
return [createComponent(index$f.Trigger, {
|
|
@@ -13446,6 +13673,9 @@ var init_Devtools = __esm({
|
|
|
13446
13673
|
}
|
|
13447
13674
|
}), createComponent(index$f.Portal, {
|
|
13448
13675
|
ref: (el) => setComputedVariables(el),
|
|
13676
|
+
get mount() {
|
|
13677
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13678
|
+
},
|
|
13449
13679
|
get children() {
|
|
13450
13680
|
return createComponent(index$f.Content, {
|
|
13451
13681
|
get ["class"]() {
|
|
@@ -13453,9 +13683,9 @@ var init_Devtools = __esm({
|
|
|
13453
13683
|
},
|
|
13454
13684
|
get children() {
|
|
13455
13685
|
return [(() => {
|
|
13456
|
-
const _el$
|
|
13457
|
-
createRenderEffect(() => className(_el$
|
|
13458
|
-
return _el$
|
|
13686
|
+
const _el$30 = _tmpl$93();
|
|
13687
|
+
createRenderEffect(() => className(_el$30, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
13688
|
+
return _el$30;
|
|
13459
13689
|
})(), createComponent(index$f.Sub, {
|
|
13460
13690
|
overlap: true,
|
|
13461
13691
|
gutter: 8,
|
|
@@ -13466,10 +13696,13 @@ var init_Devtools = __esm({
|
|
|
13466
13696
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13467
13697
|
},
|
|
13468
13698
|
get children() {
|
|
13469
|
-
return [_tmpl$
|
|
13699
|
+
return [_tmpl$103(), createComponent(ChevronDown, {})];
|
|
13470
13700
|
}
|
|
13471
13701
|
}), createComponent(index$f.Portal, {
|
|
13472
13702
|
ref: (el) => setComputedVariables(el),
|
|
13703
|
+
get mount() {
|
|
13704
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13705
|
+
},
|
|
13473
13706
|
get children() {
|
|
13474
13707
|
return createComponent(index$f.SubContent, {
|
|
13475
13708
|
get ["class"]() {
|
|
@@ -13485,7 +13718,7 @@ var init_Devtools = __esm({
|
|
|
13485
13718
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13486
13719
|
},
|
|
13487
13720
|
get children() {
|
|
13488
|
-
return [_tmpl$
|
|
13721
|
+
return [_tmpl$113(), createComponent(ArrowUp, {})];
|
|
13489
13722
|
}
|
|
13490
13723
|
}), createComponent(index$f.Item, {
|
|
13491
13724
|
onSelect: () => {
|
|
@@ -13496,7 +13729,7 @@ var init_Devtools = __esm({
|
|
|
13496
13729
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13497
13730
|
},
|
|
13498
13731
|
get children() {
|
|
13499
|
-
return [_tmpl$
|
|
13732
|
+
return [_tmpl$122(), createComponent(ArrowDown, {})];
|
|
13500
13733
|
}
|
|
13501
13734
|
}), createComponent(index$f.Item, {
|
|
13502
13735
|
onSelect: () => {
|
|
@@ -13507,7 +13740,7 @@ var init_Devtools = __esm({
|
|
|
13507
13740
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13508
13741
|
},
|
|
13509
13742
|
get children() {
|
|
13510
|
-
return [_tmpl$
|
|
13743
|
+
return [_tmpl$132(), createComponent(ArrowLeft, {})];
|
|
13511
13744
|
}
|
|
13512
13745
|
}), createComponent(index$f.Item, {
|
|
13513
13746
|
onSelect: () => {
|
|
@@ -13518,7 +13751,7 @@ var init_Devtools = __esm({
|
|
|
13518
13751
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
13519
13752
|
},
|
|
13520
13753
|
get children() {
|
|
13521
|
-
return [_tmpl$
|
|
13754
|
+
return [_tmpl$142(), createComponent(ArrowRight, {})];
|
|
13522
13755
|
}
|
|
13523
13756
|
})];
|
|
13524
13757
|
}
|
|
@@ -13536,10 +13769,13 @@ var init_Devtools = __esm({
|
|
|
13536
13769
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13537
13770
|
},
|
|
13538
13771
|
get children() {
|
|
13539
|
-
return [_tmpl$
|
|
13772
|
+
return [_tmpl$152(), createComponent(ChevronDown, {})];
|
|
13540
13773
|
}
|
|
13541
13774
|
}), createComponent(index$f.Portal, {
|
|
13542
13775
|
ref: (el) => setComputedVariables(el),
|
|
13776
|
+
get mount() {
|
|
13777
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13778
|
+
},
|
|
13543
13779
|
get children() {
|
|
13544
13780
|
return createComponent(index$f.SubContent, {
|
|
13545
13781
|
get ["class"]() {
|
|
@@ -13555,7 +13791,7 @@ var init_Devtools = __esm({
|
|
|
13555
13791
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13556
13792
|
},
|
|
13557
13793
|
get children() {
|
|
13558
|
-
return [_tmpl$
|
|
13794
|
+
return [_tmpl$162(), createComponent(Sun, {})];
|
|
13559
13795
|
}
|
|
13560
13796
|
}), createComponent(index$f.Item, {
|
|
13561
13797
|
onSelect: () => {
|
|
@@ -13566,7 +13802,7 @@ var init_Devtools = __esm({
|
|
|
13566
13802
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13567
13803
|
},
|
|
13568
13804
|
get children() {
|
|
13569
|
-
return [_tmpl$
|
|
13805
|
+
return [_tmpl$172(), createComponent(Moon, {})];
|
|
13570
13806
|
}
|
|
13571
13807
|
}), createComponent(index$f.Item, {
|
|
13572
13808
|
onSelect: () => {
|
|
@@ -13577,7 +13813,7 @@ var init_Devtools = __esm({
|
|
|
13577
13813
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13578
13814
|
},
|
|
13579
13815
|
get children() {
|
|
13580
|
-
return [_tmpl$
|
|
13816
|
+
return [_tmpl$182(), createComponent(Monitor, {})];
|
|
13581
13817
|
}
|
|
13582
13818
|
})];
|
|
13583
13819
|
}
|
|
@@ -13592,13 +13828,13 @@ var init_Devtools = __esm({
|
|
|
13592
13828
|
})];
|
|
13593
13829
|
}
|
|
13594
13830
|
}), null);
|
|
13595
|
-
insert(_el$
|
|
13831
|
+
insert(_el$9, createComponent(Show, {
|
|
13596
13832
|
get when() {
|
|
13597
13833
|
return selectedView() === "queries";
|
|
13598
13834
|
},
|
|
13599
13835
|
get children() {
|
|
13600
|
-
const _el$
|
|
13601
|
-
insert(_el$
|
|
13836
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
13837
|
+
insert(_el$41, createComponent(Key, {
|
|
13602
13838
|
by: (q) => q.queryHash,
|
|
13603
13839
|
get each() {
|
|
13604
13840
|
return queries();
|
|
@@ -13609,17 +13845,17 @@ var init_Devtools = __esm({
|
|
|
13609
13845
|
}
|
|
13610
13846
|
})
|
|
13611
13847
|
}));
|
|
13612
|
-
createRenderEffect(() => className(_el$
|
|
13613
|
-
return _el$
|
|
13848
|
+
createRenderEffect(() => className(_el$40, clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container")));
|
|
13849
|
+
return _el$40;
|
|
13614
13850
|
}
|
|
13615
13851
|
}), null);
|
|
13616
|
-
insert(_el$
|
|
13852
|
+
insert(_el$9, createComponent(Show, {
|
|
13617
13853
|
get when() {
|
|
13618
13854
|
return selectedView() === "mutations";
|
|
13619
13855
|
},
|
|
13620
13856
|
get children() {
|
|
13621
|
-
const _el$
|
|
13622
|
-
insert(_el$
|
|
13857
|
+
const _el$42 = _tmpl$202(), _el$43 = _el$42.firstChild;
|
|
13858
|
+
insert(_el$43, createComponent(Key, {
|
|
13623
13859
|
by: (m) => m.mutationId,
|
|
13624
13860
|
get each() {
|
|
13625
13861
|
return mutations();
|
|
@@ -13630,8 +13866,8 @@ var init_Devtools = __esm({
|
|
|
13630
13866
|
}
|
|
13631
13867
|
})
|
|
13632
13868
|
}));
|
|
13633
|
-
createRenderEffect(() => className(_el$
|
|
13634
|
-
return _el$
|
|
13869
|
+
createRenderEffect(() => className(_el$42, clsx(styles().overflowQueryContainer, "tsqd-mutations-overflow-container")));
|
|
13870
|
+
return _el$42;
|
|
13635
13871
|
}
|
|
13636
13872
|
}), null);
|
|
13637
13873
|
createRenderEffect((_p$) => {
|
|
@@ -13641,26 +13877,27 @@ var init_Devtools = __esm({
|
|
|
13641
13877
|
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
13642
13878
|
height: 100%;
|
|
13643
13879
|
max-height: 100%;
|
|
13644
|
-
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$
|
|
13645
|
-
_v$6 !== _p$._v$6 && className(_el$
|
|
13646
|
-
_v$7 !== _p$._v$7 && className(_el$
|
|
13647
|
-
_v$8 !== _p$._v$8 && className(_el$
|
|
13648
|
-
_v$9 !== _p$._v$9 && className(_el$
|
|
13649
|
-
_v$10 !== _p$._v$10 && className(_el$
|
|
13650
|
-
_v$11 !== _p$._v$11 && className(_el$
|
|
13651
|
-
_v$12 !== _p$._v$12 && className(_el$
|
|
13652
|
-
_v$13 !== _p$._v$13 && className(_el$
|
|
13653
|
-
_v$14 !== _p$._v$14 && className(_el$
|
|
13880
|
+
`, "tsqd-queries-container"), _v$7 = clsx(styles().row, "tsqd-header"), _v$8 = styles().logoAndToggleContainer, _v$9 = clsx(styles().logo, "tsqd-text-logo-container"), _v$10 = clsx(styles().tanstackLogo, "tsqd-text-logo-tanstack"), _v$11 = clsx(styles().queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$12 = clsx(styles().row, "tsqd-filters-actions-container"), _v$13 = clsx(styles().filtersContainer, "tsqd-filters-container"), _v$14 = clsx(styles().filterInput, "tsqd-query-filter-textfield-container"), _v$15 = clsx("tsqd-query-filter-textfield"), _v$16 = clsx(styles().filterSelect, "tsqd-query-filter-sort-container"), _v$17 = `Sort order ${(selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1 ? "descending" : "ascending"}`, _v$18 = (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1, _v$19 = clsx(styles().actionsContainer, "tsqd-actions-container"), _v$20 = clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), _v$21 = `Clear ${selectedView()} cache`, _v$22 = clsx(styles().actionsBtn, offline() && styles().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$23 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$24 = offline(), _v$25 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
13881
|
+
_v$6 !== _p$._v$6 && className(_el$9, _p$._v$6 = _v$6);
|
|
13882
|
+
_v$7 !== _p$._v$7 && className(_el$10, _p$._v$7 = _v$7);
|
|
13883
|
+
_v$8 !== _p$._v$8 && className(_el$11, _p$._v$8 = _v$8);
|
|
13884
|
+
_v$9 !== _p$._v$9 && className(_el$12, _p$._v$9 = _v$9);
|
|
13885
|
+
_v$10 !== _p$._v$10 && className(_el$13, _p$._v$10 = _v$10);
|
|
13886
|
+
_v$11 !== _p$._v$11 && className(_el$14, _p$._v$11 = _v$11);
|
|
13887
|
+
_v$12 !== _p$._v$12 && className(_el$16, _p$._v$12 = _v$12);
|
|
13888
|
+
_v$13 !== _p$._v$13 && className(_el$17, _p$._v$13 = _v$13);
|
|
13889
|
+
_v$14 !== _p$._v$14 && className(_el$18, _p$._v$14 = _v$14);
|
|
13654
13890
|
_v$15 !== _p$._v$15 && className(_el$19, _p$._v$15 = _v$15);
|
|
13655
|
-
_v$16 !== _p$._v$16 &&
|
|
13656
|
-
_v$17 !== _p$._v$17 && setAttribute(_el$
|
|
13657
|
-
_v$18 !== _p$._v$18 &&
|
|
13891
|
+
_v$16 !== _p$._v$16 && className(_el$20, _p$._v$16 = _v$16);
|
|
13892
|
+
_v$17 !== _p$._v$17 && setAttribute(_el$23, "aria-label", _p$._v$17 = _v$17);
|
|
13893
|
+
_v$18 !== _p$._v$18 && setAttribute(_el$23, "aria-pressed", _p$._v$18 = _v$18);
|
|
13658
13894
|
_v$19 !== _p$._v$19 && className(_el$26, _p$._v$19 = _v$19);
|
|
13659
|
-
_v$20 !== _p$._v$20 &&
|
|
13660
|
-
_v$21 !== _p$._v$21 &&
|
|
13661
|
-
_v$22 !== _p$._v$22 &&
|
|
13662
|
-
_v$23 !== _p$._v$23 && setAttribute(_el$
|
|
13663
|
-
_v$24 !== _p$._v$24 && setAttribute(_el$
|
|
13895
|
+
_v$20 !== _p$._v$20 && className(_el$27, _p$._v$20 = _v$20);
|
|
13896
|
+
_v$21 !== _p$._v$21 && setAttribute(_el$27, "title", _p$._v$21 = _v$21);
|
|
13897
|
+
_v$22 !== _p$._v$22 && className(_el$28, _p$._v$22 = _v$22);
|
|
13898
|
+
_v$23 !== _p$._v$23 && setAttribute(_el$28, "aria-label", _p$._v$23 = _v$23);
|
|
13899
|
+
_v$24 !== _p$._v$24 && setAttribute(_el$28, "aria-pressed", _p$._v$24 = _v$24);
|
|
13900
|
+
_v$25 !== _p$._v$25 && setAttribute(_el$28, "title", _p$._v$25 = _v$25);
|
|
13664
13901
|
return _p$;
|
|
13665
13902
|
}, {
|
|
13666
13903
|
_v$6: void 0,
|
|
@@ -13681,10 +13918,11 @@ var init_Devtools = __esm({
|
|
|
13681
13918
|
_v$21: void 0,
|
|
13682
13919
|
_v$22: void 0,
|
|
13683
13920
|
_v$23: void 0,
|
|
13684
|
-
_v$24: void 0
|
|
13921
|
+
_v$24: void 0,
|
|
13922
|
+
_v$25: void 0
|
|
13685
13923
|
});
|
|
13686
|
-
createRenderEffect(() => _el$
|
|
13687
|
-
return _el$
|
|
13924
|
+
createRenderEffect(() => _el$19.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
13925
|
+
return _el$9;
|
|
13688
13926
|
})(), createComponent(Show, {
|
|
13689
13927
|
get when() {
|
|
13690
13928
|
return createMemo(() => selectedView() === "queries")() && selectedQueryHash();
|
|
@@ -13745,30 +13983,30 @@ var init_Devtools = __esm({
|
|
|
13745
13983
|
return queryState();
|
|
13746
13984
|
},
|
|
13747
13985
|
get children() {
|
|
13748
|
-
const _el$
|
|
13749
|
-
_el$
|
|
13750
|
-
insert(_el$
|
|
13751
|
-
insert(_el$
|
|
13752
|
-
insert(_el$
|
|
13986
|
+
const _el$48 = _tmpl$242(), _el$49 = _el$48.firstChild, _el$50 = _el$49.nextSibling;
|
|
13987
|
+
_el$48.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13988
|
+
insert(_el$49, observers);
|
|
13989
|
+
insert(_el$50, () => props.query.queryHash);
|
|
13990
|
+
insert(_el$48, createComponent(Show, {
|
|
13753
13991
|
get when() {
|
|
13754
13992
|
return isDisabled();
|
|
13755
13993
|
},
|
|
13756
13994
|
get children() {
|
|
13757
|
-
return _tmpl$
|
|
13995
|
+
return _tmpl$232();
|
|
13758
13996
|
}
|
|
13759
13997
|
}), null);
|
|
13760
13998
|
createRenderEffect((_p$) => {
|
|
13761
|
-
const _v$
|
|
13762
|
-
_v$
|
|
13763
|
-
_v$
|
|
13764
|
-
_v$
|
|
13999
|
+
const _v$26 = clsx(styles().queryRow, selectedQueryHash() === props.query.queryHash && styles().selectedQueryRow, "tsqd-query-row"), _v$27 = `Query key ${props.query.queryHash}`, _v$28 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
14000
|
+
_v$26 !== _p$._v$26 && className(_el$48, _p$._v$26 = _v$26);
|
|
14001
|
+
_v$27 !== _p$._v$27 && setAttribute(_el$48, "aria-label", _p$._v$27 = _v$27);
|
|
14002
|
+
_v$28 !== _p$._v$28 && className(_el$49, _p$._v$28 = _v$28);
|
|
13765
14003
|
return _p$;
|
|
13766
14004
|
}, {
|
|
13767
|
-
_v$25: void 0,
|
|
13768
14005
|
_v$26: void 0,
|
|
13769
|
-
_v$27: void 0
|
|
14006
|
+
_v$27: void 0,
|
|
14007
|
+
_v$28: void 0
|
|
13770
14008
|
});
|
|
13771
|
-
return _el$
|
|
14009
|
+
return _el$48;
|
|
13772
14010
|
}
|
|
13773
14011
|
});
|
|
13774
14012
|
};
|
|
@@ -13822,11 +14060,11 @@ var init_Devtools = __esm({
|
|
|
13822
14060
|
return mutationState();
|
|
13823
14061
|
},
|
|
13824
14062
|
get children() {
|
|
13825
|
-
const _el$
|
|
13826
|
-
_el$
|
|
14063
|
+
const _el$52 = _tmpl$242(), _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling;
|
|
14064
|
+
_el$52.$$click = () => {
|
|
13827
14065
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
13828
14066
|
};
|
|
13829
|
-
insert(_el$
|
|
14067
|
+
insert(_el$53, createComponent(Show, {
|
|
13830
14068
|
get when() {
|
|
13831
14069
|
return color() === "purple";
|
|
13832
14070
|
},
|
|
@@ -13834,7 +14072,7 @@ var init_Devtools = __esm({
|
|
|
13834
14072
|
return createComponent(PauseCircle, {});
|
|
13835
14073
|
}
|
|
13836
14074
|
}), null);
|
|
13837
|
-
insert(_el$
|
|
14075
|
+
insert(_el$53, createComponent(Show, {
|
|
13838
14076
|
get when() {
|
|
13839
14077
|
return color() === "green";
|
|
13840
14078
|
},
|
|
@@ -13842,7 +14080,7 @@ var init_Devtools = __esm({
|
|
|
13842
14080
|
return createComponent(CheckCircle, {});
|
|
13843
14081
|
}
|
|
13844
14082
|
}), null);
|
|
13845
|
-
insert(_el$
|
|
14083
|
+
insert(_el$53, createComponent(Show, {
|
|
13846
14084
|
get when() {
|
|
13847
14085
|
return color() === "red";
|
|
13848
14086
|
},
|
|
@@ -13850,7 +14088,7 @@ var init_Devtools = __esm({
|
|
|
13850
14088
|
return createComponent(XCircle, {});
|
|
13851
14089
|
}
|
|
13852
14090
|
}), null);
|
|
13853
|
-
insert(_el$
|
|
14091
|
+
insert(_el$53, createComponent(Show, {
|
|
13854
14092
|
get when() {
|
|
13855
14093
|
return color() === "yellow";
|
|
13856
14094
|
},
|
|
@@ -13858,7 +14096,7 @@ var init_Devtools = __esm({
|
|
|
13858
14096
|
return createComponent(LoadingCircle, {});
|
|
13859
14097
|
}
|
|
13860
14098
|
}), null);
|
|
13861
|
-
insert(_el$
|
|
14099
|
+
insert(_el$54, createComponent(Show, {
|
|
13862
14100
|
get when() {
|
|
13863
14101
|
return props.mutation.options.mutationKey;
|
|
13864
14102
|
},
|
|
@@ -13866,19 +14104,19 @@ var init_Devtools = __esm({
|
|
|
13866
14104
|
return [createMemo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
13867
14105
|
}
|
|
13868
14106
|
}), null);
|
|
13869
|
-
insert(_el$
|
|
14107
|
+
insert(_el$54, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
13870
14108
|
createRenderEffect((_p$) => {
|
|
13871
|
-
const _v$
|
|
13872
|
-
_v$
|
|
13873
|
-
_v$
|
|
13874
|
-
_v$
|
|
14109
|
+
const _v$29 = clsx(styles().queryRow, selectedMutationId() === props.mutation.mutationId && styles().selectedQueryRow, "tsqd-query-row"), _v$30 = `Mutation submitted at ${new Date(props.mutation.state.submittedAt).toLocaleString()}`, _v$31 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
14110
|
+
_v$29 !== _p$._v$29 && className(_el$52, _p$._v$29 = _v$29);
|
|
14111
|
+
_v$30 !== _p$._v$30 && setAttribute(_el$52, "aria-label", _p$._v$30 = _v$30);
|
|
14112
|
+
_v$31 !== _p$._v$31 && className(_el$53, _p$._v$31 = _v$31);
|
|
13875
14113
|
return _p$;
|
|
13876
14114
|
}, {
|
|
13877
|
-
_v$28: void 0,
|
|
13878
14115
|
_v$29: void 0,
|
|
13879
|
-
_v$30: void 0
|
|
14116
|
+
_v$30: void 0,
|
|
14117
|
+
_v$31: void 0
|
|
13880
14118
|
});
|
|
13881
|
-
return _el$
|
|
14119
|
+
return _el$52;
|
|
13882
14120
|
}
|
|
13883
14121
|
});
|
|
13884
14122
|
};
|
|
@@ -13893,44 +14131,44 @@ var init_Devtools = __esm({
|
|
|
13893
14131
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13894
14132
|
});
|
|
13895
14133
|
return (() => {
|
|
13896
|
-
const _el$
|
|
13897
|
-
insert(_el$
|
|
14134
|
+
const _el$55 = _tmpl$26();
|
|
14135
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13898
14136
|
label: "Fresh",
|
|
13899
14137
|
color: "green",
|
|
13900
14138
|
get count() {
|
|
13901
14139
|
return fresh();
|
|
13902
14140
|
}
|
|
13903
14141
|
}), null);
|
|
13904
|
-
insert(_el$
|
|
14142
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13905
14143
|
label: "Fetching",
|
|
13906
14144
|
color: "blue",
|
|
13907
14145
|
get count() {
|
|
13908
14146
|
return fetching();
|
|
13909
14147
|
}
|
|
13910
14148
|
}), null);
|
|
13911
|
-
insert(_el$
|
|
14149
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13912
14150
|
label: "Paused",
|
|
13913
14151
|
color: "purple",
|
|
13914
14152
|
get count() {
|
|
13915
14153
|
return paused();
|
|
13916
14154
|
}
|
|
13917
14155
|
}), null);
|
|
13918
|
-
insert(_el$
|
|
14156
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13919
14157
|
label: "Stale",
|
|
13920
14158
|
color: "yellow",
|
|
13921
14159
|
get count() {
|
|
13922
14160
|
return stale();
|
|
13923
14161
|
}
|
|
13924
14162
|
}), null);
|
|
13925
|
-
insert(_el$
|
|
14163
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13926
14164
|
label: "Inactive",
|
|
13927
14165
|
color: "gray",
|
|
13928
14166
|
get count() {
|
|
13929
14167
|
return inactive();
|
|
13930
14168
|
}
|
|
13931
14169
|
}), null);
|
|
13932
|
-
createRenderEffect(() => className(_el$
|
|
13933
|
-
return _el$
|
|
14170
|
+
createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14171
|
+
return _el$55;
|
|
13934
14172
|
})();
|
|
13935
14173
|
};
|
|
13936
14174
|
MutationStatusCount = () => {
|
|
@@ -13955,37 +14193,37 @@ var init_Devtools = __esm({
|
|
|
13955
14193
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13956
14194
|
});
|
|
13957
14195
|
return (() => {
|
|
13958
|
-
const _el$
|
|
13959
|
-
insert(_el$
|
|
14196
|
+
const _el$56 = _tmpl$26();
|
|
14197
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13960
14198
|
label: "Paused",
|
|
13961
14199
|
color: "purple",
|
|
13962
14200
|
get count() {
|
|
13963
14201
|
return paused();
|
|
13964
14202
|
}
|
|
13965
14203
|
}), null);
|
|
13966
|
-
insert(_el$
|
|
14204
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13967
14205
|
label: "Pending",
|
|
13968
14206
|
color: "yellow",
|
|
13969
14207
|
get count() {
|
|
13970
14208
|
return pending();
|
|
13971
14209
|
}
|
|
13972
14210
|
}), null);
|
|
13973
|
-
insert(_el$
|
|
14211
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13974
14212
|
label: "Success",
|
|
13975
14213
|
color: "green",
|
|
13976
14214
|
get count() {
|
|
13977
14215
|
return success();
|
|
13978
14216
|
}
|
|
13979
14217
|
}), null);
|
|
13980
|
-
insert(_el$
|
|
14218
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13981
14219
|
label: "Error",
|
|
13982
14220
|
color: "red",
|
|
13983
14221
|
get count() {
|
|
13984
14222
|
return error();
|
|
13985
14223
|
}
|
|
13986
14224
|
}), null);
|
|
13987
|
-
createRenderEffect(() => className(_el$
|
|
13988
|
-
return _el$
|
|
14225
|
+
createRenderEffect(() => className(_el$56, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14226
|
+
return _el$56;
|
|
13989
14227
|
})();
|
|
13990
14228
|
};
|
|
13991
14229
|
QueryStatus = (props) => {
|
|
@@ -14013,17 +14251,17 @@ var init_Devtools = __esm({
|
|
|
14013
14251
|
return true;
|
|
14014
14252
|
});
|
|
14015
14253
|
return (() => {
|
|
14016
|
-
const _el$
|
|
14254
|
+
const _el$57 = _tmpl$27(), _el$59 = _el$57.firstChild, _el$61 = _el$59.nextSibling;
|
|
14017
14255
|
const _ref$4 = tagRef;
|
|
14018
|
-
typeof _ref$4 === "function" ? use(_ref$4, _el$
|
|
14019
|
-
_el$
|
|
14256
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$57) : tagRef = _el$57;
|
|
14257
|
+
_el$57.addEventListener("mouseleave", () => {
|
|
14020
14258
|
setMouseOver(false);
|
|
14021
14259
|
setFocused(false);
|
|
14022
14260
|
});
|
|
14023
|
-
_el$
|
|
14024
|
-
_el$
|
|
14025
|
-
_el$
|
|
14026
|
-
spread(_el$
|
|
14261
|
+
_el$57.addEventListener("mouseenter", () => setMouseOver(true));
|
|
14262
|
+
_el$57.addEventListener("blur", () => setFocused(false));
|
|
14263
|
+
_el$57.addEventListener("focus", () => setFocused(true));
|
|
14264
|
+
spread(_el$57, mergeProps({
|
|
14027
14265
|
get disabled() {
|
|
14028
14266
|
return showLabel();
|
|
14029
14267
|
},
|
|
@@ -14038,47 +14276,47 @@ var init_Devtools = __esm({
|
|
|
14038
14276
|
}, () => mouseOver() || focused() ? {
|
|
14039
14277
|
"aria-describedby": "tsqd-status-tooltip"
|
|
14040
14278
|
} : {}), false, true);
|
|
14041
|
-
insert(_el$
|
|
14279
|
+
insert(_el$57, createComponent(Show, {
|
|
14042
14280
|
get when() {
|
|
14043
14281
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14044
14282
|
},
|
|
14045
14283
|
get children() {
|
|
14046
|
-
const _el$
|
|
14047
|
-
insert(_el$
|
|
14048
|
-
createRenderEffect(() => className(_el$
|
|
14049
|
-
return _el$
|
|
14284
|
+
const _el$58 = _tmpl$252();
|
|
14285
|
+
insert(_el$58, () => props.label);
|
|
14286
|
+
createRenderEffect(() => className(_el$58, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
14287
|
+
return _el$58;
|
|
14050
14288
|
}
|
|
14051
|
-
}), _el$
|
|
14052
|
-
insert(_el$
|
|
14289
|
+
}), _el$59);
|
|
14290
|
+
insert(_el$57, createComponent(Show, {
|
|
14053
14291
|
get when() {
|
|
14054
14292
|
return showLabel();
|
|
14055
14293
|
},
|
|
14056
14294
|
get children() {
|
|
14057
|
-
const _el$
|
|
14058
|
-
insert(_el$
|
|
14059
|
-
createRenderEffect(() => className(_el$
|
|
14060
|
-
return _el$
|
|
14295
|
+
const _el$60 = _tmpl$262();
|
|
14296
|
+
insert(_el$60, () => props.label);
|
|
14297
|
+
createRenderEffect(() => className(_el$60, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
14298
|
+
return _el$60;
|
|
14061
14299
|
}
|
|
14062
|
-
}), _el$
|
|
14063
|
-
insert(_el$
|
|
14300
|
+
}), _el$61);
|
|
14301
|
+
insert(_el$61, () => props.count);
|
|
14064
14302
|
createRenderEffect((_p$) => {
|
|
14065
|
-
const _v$
|
|
14303
|
+
const _v$32 = clsx(u`
|
|
14066
14304
|
width: ${tokens.size[1.5]};
|
|
14067
14305
|
height: ${tokens.size[1.5]};
|
|
14068
14306
|
border-radius: ${tokens.border.radius.full};
|
|
14069
14307
|
background-color: ${tokens.colors[props.color][500]};
|
|
14070
|
-
`, "tsqd-query-status-tag-dot"), _v$
|
|
14308
|
+
`, "tsqd-query-status-tag-dot"), _v$33 = clsx(styles().queryStatusCount, props.count > 0 && props.color !== "gray" && u`
|
|
14071
14309
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
14072
14310
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
14073
14311
|
`, "tsqd-query-status-tag-count");
|
|
14074
|
-
_v$31 !== _p$._v$31 && className(_el$57, _p$._v$31 = _v$31);
|
|
14075
14312
|
_v$32 !== _p$._v$32 && className(_el$59, _p$._v$32 = _v$32);
|
|
14313
|
+
_v$33 !== _p$._v$33 && className(_el$61, _p$._v$33 = _v$33);
|
|
14076
14314
|
return _p$;
|
|
14077
14315
|
}, {
|
|
14078
|
-
_v$
|
|
14079
|
-
_v$
|
|
14316
|
+
_v$32: void 0,
|
|
14317
|
+
_v$33: void 0
|
|
14080
14318
|
});
|
|
14081
|
-
return _el$
|
|
14319
|
+
return _el$57;
|
|
14082
14320
|
})();
|
|
14083
14321
|
};
|
|
14084
14322
|
QueryDetails = () => {
|
|
@@ -14164,19 +14402,19 @@ var init_Devtools = __esm({
|
|
|
14164
14402
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
14165
14403
|
},
|
|
14166
14404
|
get children() {
|
|
14167
|
-
const _el$
|
|
14168
|
-
insert(_el$
|
|
14169
|
-
insert(_el$
|
|
14170
|
-
insert(_el$
|
|
14171
|
-
insert(_el$
|
|
14172
|
-
_el$
|
|
14173
|
-
_el$
|
|
14174
|
-
_el$
|
|
14175
|
-
_el$
|
|
14405
|
+
const _el$62 = _tmpl$30(), _el$63 = _el$62.firstChild, _el$64 = _el$63.nextSibling, _el$65 = _el$64.firstChild, _el$66 = _el$65.firstChild, _el$67 = _el$66.firstChild, _el$68 = _el$66.nextSibling, _el$69 = _el$65.nextSibling, _el$70 = _el$69.firstChild, _el$71 = _el$70.nextSibling, _el$72 = _el$69.nextSibling, _el$73 = _el$72.firstChild, _el$74 = _el$73.nextSibling, _el$75 = _el$64.nextSibling, _el$76 = _el$75.nextSibling, _el$77 = _el$76.firstChild, _el$78 = _el$77.firstChild, _el$79 = _el$77.nextSibling, _el$80 = _el$79.firstChild, _el$81 = _el$79.nextSibling, _el$82 = _el$81.firstChild, _el$83 = _el$81.nextSibling, _el$84 = _el$83.firstChild, _el$85 = _el$83.nextSibling, _el$86 = _el$85.firstChild, _el$87 = _el$86.nextSibling, _el$96 = _el$76.nextSibling, _el$97 = _el$96.nextSibling, _el$98 = _el$97.nextSibling, _el$99 = _el$98.nextSibling;
|
|
14406
|
+
insert(_el$67, () => displayValue(activeQuery().queryKey, true));
|
|
14407
|
+
insert(_el$68, statusLabel);
|
|
14408
|
+
insert(_el$71, observerCount);
|
|
14409
|
+
insert(_el$74, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
14410
|
+
_el$77.$$click = handleRefetch;
|
|
14411
|
+
_el$79.$$click = () => queryClient.invalidateQueries(activeQuery());
|
|
14412
|
+
_el$81.$$click = () => queryClient.resetQueries(activeQuery());
|
|
14413
|
+
_el$83.$$click = () => {
|
|
14176
14414
|
queryClient.removeQueries(activeQuery());
|
|
14177
14415
|
setSelectedQueryHash(null);
|
|
14178
14416
|
};
|
|
14179
|
-
_el$
|
|
14417
|
+
_el$85.$$click = () => {
|
|
14180
14418
|
if (activeQuery()?.state.data === void 0) {
|
|
14181
14419
|
setRestoringLoading(true);
|
|
14182
14420
|
restoreQueryAfterLoadingOrError();
|
|
@@ -14203,78 +14441,78 @@ var init_Devtools = __esm({
|
|
|
14203
14441
|
});
|
|
14204
14442
|
}
|
|
14205
14443
|
};
|
|
14206
|
-
insert(_el$
|
|
14207
|
-
insert(_el$
|
|
14444
|
+
insert(_el$85, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$87);
|
|
14445
|
+
insert(_el$76, createComponent(Show, {
|
|
14208
14446
|
get when() {
|
|
14209
14447
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14210
14448
|
},
|
|
14211
14449
|
get children() {
|
|
14212
|
-
const _el$
|
|
14213
|
-
_el$
|
|
14450
|
+
const _el$88 = _tmpl$28(), _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling;
|
|
14451
|
+
_el$88.$$click = () => {
|
|
14214
14452
|
if (!activeQuery().state.error) {
|
|
14215
14453
|
triggerError();
|
|
14216
14454
|
} else {
|
|
14217
14455
|
queryClient.resetQueries(activeQuery());
|
|
14218
14456
|
}
|
|
14219
14457
|
};
|
|
14220
|
-
insert(_el$
|
|
14458
|
+
insert(_el$88, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$90);
|
|
14221
14459
|
createRenderEffect((_p$) => {
|
|
14222
|
-
const _v$
|
|
14460
|
+
const _v$34 = clsx(u`
|
|
14223
14461
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
14224
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$
|
|
14462
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$35 = queryStatus() === "pending", _v$36 = u`
|
|
14225
14463
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
14226
14464
|
`;
|
|
14227
|
-
_v$
|
|
14228
|
-
_v$
|
|
14229
|
-
_v$
|
|
14465
|
+
_v$34 !== _p$._v$34 && className(_el$88, _p$._v$34 = _v$34);
|
|
14466
|
+
_v$35 !== _p$._v$35 && (_el$88.disabled = _p$._v$35 = _v$35);
|
|
14467
|
+
_v$36 !== _p$._v$36 && className(_el$89, _p$._v$36 = _v$36);
|
|
14230
14468
|
return _p$;
|
|
14231
14469
|
}, {
|
|
14232
|
-
_v$33: void 0,
|
|
14233
14470
|
_v$34: void 0,
|
|
14234
|
-
_v$35: void 0
|
|
14471
|
+
_v$35: void 0,
|
|
14472
|
+
_v$36: void 0
|
|
14235
14473
|
});
|
|
14236
|
-
return _el$
|
|
14474
|
+
return _el$88;
|
|
14237
14475
|
}
|
|
14238
14476
|
}), null);
|
|
14239
|
-
insert(_el$
|
|
14477
|
+
insert(_el$76, createComponent(Show, {
|
|
14240
14478
|
get when() {
|
|
14241
14479
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14242
14480
|
},
|
|
14243
14481
|
get children() {
|
|
14244
|
-
const _el$
|
|
14245
|
-
_el$
|
|
14482
|
+
const _el$91 = _tmpl$29(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling, _el$94 = _el$93.nextSibling; _el$94.firstChild;
|
|
14483
|
+
_el$94.addEventListener("change", (e2) => {
|
|
14246
14484
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14247
14485
|
triggerError(errorType);
|
|
14248
14486
|
});
|
|
14249
|
-
insert(_el$
|
|
14487
|
+
insert(_el$94, createComponent(For, {
|
|
14250
14488
|
get each() {
|
|
14251
14489
|
return errorTypes();
|
|
14252
14490
|
},
|
|
14253
14491
|
children: (errorType) => (() => {
|
|
14254
|
-
const _el$
|
|
14255
|
-
insert(_el$
|
|
14256
|
-
createRenderEffect(() => _el$
|
|
14257
|
-
return _el$
|
|
14492
|
+
const _el$100 = _tmpl$31();
|
|
14493
|
+
insert(_el$100, () => errorType.name);
|
|
14494
|
+
createRenderEffect(() => _el$100.value = errorType.name);
|
|
14495
|
+
return _el$100;
|
|
14258
14496
|
})()
|
|
14259
14497
|
}), null);
|
|
14260
|
-
insert(_el$
|
|
14498
|
+
insert(_el$91, createComponent(ChevronDown, {}), null);
|
|
14261
14499
|
createRenderEffect((_p$) => {
|
|
14262
|
-
const _v$
|
|
14500
|
+
const _v$37 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$38 = u`
|
|
14263
14501
|
background-color: ${tokens.colors.red[400]};
|
|
14264
|
-
`, _v$
|
|
14265
|
-
_v$
|
|
14266
|
-
_v$
|
|
14267
|
-
_v$
|
|
14502
|
+
`, _v$39 = queryStatus() === "pending";
|
|
14503
|
+
_v$37 !== _p$._v$37 && className(_el$91, _p$._v$37 = _v$37);
|
|
14504
|
+
_v$38 !== _p$._v$38 && className(_el$92, _p$._v$38 = _v$38);
|
|
14505
|
+
_v$39 !== _p$._v$39 && (_el$94.disabled = _p$._v$39 = _v$39);
|
|
14268
14506
|
return _p$;
|
|
14269
14507
|
}, {
|
|
14270
|
-
_v$36: void 0,
|
|
14271
14508
|
_v$37: void 0,
|
|
14272
|
-
_v$38: void 0
|
|
14509
|
+
_v$38: void 0,
|
|
14510
|
+
_v$39: void 0
|
|
14273
14511
|
});
|
|
14274
|
-
return _el$
|
|
14512
|
+
return _el$91;
|
|
14275
14513
|
}
|
|
14276
14514
|
}), null);
|
|
14277
|
-
insert(_el$
|
|
14515
|
+
insert(_el$97, createComponent(Explorer, {
|
|
14278
14516
|
label: "Data",
|
|
14279
14517
|
defaultExpanded: ["Data"],
|
|
14280
14518
|
get value() {
|
|
@@ -14285,7 +14523,7 @@ var init_Devtools = __esm({
|
|
|
14285
14523
|
return activeQuery();
|
|
14286
14524
|
}
|
|
14287
14525
|
}));
|
|
14288
|
-
insert(_el$
|
|
14526
|
+
insert(_el$99, createComponent(Explorer, {
|
|
14289
14527
|
label: "Query",
|
|
14290
14528
|
defaultExpanded: ["Query", "queryKey"],
|
|
14291
14529
|
get value() {
|
|
@@ -14293,55 +14531,54 @@ var init_Devtools = __esm({
|
|
|
14293
14531
|
}
|
|
14294
14532
|
}));
|
|
14295
14533
|
createRenderEffect((_p$) => {
|
|
14296
|
-
const _v$
|
|
14534
|
+
const _v$40 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$41 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$42 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$43 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$44 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$45 = clsx(styles().actionsBody, "tsqd-query-details-actions-container"), _v$46 = clsx(u`
|
|
14297
14535
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14298
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$
|
|
14536
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$47 = statusLabel() === "fetching", _v$48 = u`
|
|
14299
14537
|
background-color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14300
|
-
`, _v$
|
|
14538
|
+
`, _v$49 = clsx(u`
|
|
14301
14539
|
color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14302
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$
|
|
14540
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$50 = queryStatus() === "pending", _v$51 = u`
|
|
14303
14541
|
background-color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14304
|
-
`, _v$
|
|
14542
|
+
`, _v$52 = clsx(u`
|
|
14305
14543
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
14306
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$
|
|
14544
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$53 = queryStatus() === "pending", _v$54 = u`
|
|
14307
14545
|
background-color: ${t2(colors.gray[600], colors.gray[400])};
|
|
14308
|
-
`, _v$
|
|
14546
|
+
`, _v$55 = clsx(u`
|
|
14309
14547
|
color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14310
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$
|
|
14548
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$56 = statusLabel() === "fetching", _v$57 = u`
|
|
14311
14549
|
background-color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14312
|
-
`, _v$
|
|
14550
|
+
`, _v$58 = clsx(u`
|
|
14313
14551
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14314
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$
|
|
14552
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$59 = restoringLoading(), _v$60 = u`
|
|
14315
14553
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14316
|
-
`, _v$
|
|
14317
|
-
_v$
|
|
14318
|
-
_v$
|
|
14319
|
-
_v$
|
|
14320
|
-
_v$
|
|
14321
|
-
_v$
|
|
14322
|
-
_v$
|
|
14323
|
-
_v$
|
|
14324
|
-
_v$
|
|
14325
|
-
_v$
|
|
14326
|
-
_v$
|
|
14327
|
-
_v$
|
|
14328
|
-
_v$
|
|
14329
|
-
_v$
|
|
14330
|
-
_v$
|
|
14331
|
-
_v$
|
|
14332
|
-
_v$
|
|
14333
|
-
_v$
|
|
14334
|
-
_v$
|
|
14335
|
-
_v$
|
|
14336
|
-
_v$
|
|
14337
|
-
_v$
|
|
14338
|
-
_v$
|
|
14339
|
-
_v$
|
|
14340
|
-
_v$
|
|
14341
|
-
_v$
|
|
14554
|
+
`, _v$61 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$62 = tokens.size[2], _v$63 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$64 = tokens.size[2];
|
|
14555
|
+
_v$40 !== _p$._v$40 && className(_el$62, _p$._v$40 = _v$40);
|
|
14556
|
+
_v$41 !== _p$._v$41 && className(_el$63, _p$._v$41 = _v$41);
|
|
14557
|
+
_v$42 !== _p$._v$42 && className(_el$64, _p$._v$42 = _v$42);
|
|
14558
|
+
_v$43 !== _p$._v$43 && className(_el$68, _p$._v$43 = _v$43);
|
|
14559
|
+
_v$44 !== _p$._v$44 && className(_el$75, _p$._v$44 = _v$44);
|
|
14560
|
+
_v$45 !== _p$._v$45 && className(_el$76, _p$._v$45 = _v$45);
|
|
14561
|
+
_v$46 !== _p$._v$46 && className(_el$77, _p$._v$46 = _v$46);
|
|
14562
|
+
_v$47 !== _p$._v$47 && (_el$77.disabled = _p$._v$47 = _v$47);
|
|
14563
|
+
_v$48 !== _p$._v$48 && className(_el$78, _p$._v$48 = _v$48);
|
|
14564
|
+
_v$49 !== _p$._v$49 && className(_el$79, _p$._v$49 = _v$49);
|
|
14565
|
+
_v$50 !== _p$._v$50 && (_el$79.disabled = _p$._v$50 = _v$50);
|
|
14566
|
+
_v$51 !== _p$._v$51 && className(_el$80, _p$._v$51 = _v$51);
|
|
14567
|
+
_v$52 !== _p$._v$52 && className(_el$81, _p$._v$52 = _v$52);
|
|
14568
|
+
_v$53 !== _p$._v$53 && (_el$81.disabled = _p$._v$53 = _v$53);
|
|
14569
|
+
_v$54 !== _p$._v$54 && className(_el$82, _p$._v$54 = _v$54);
|
|
14570
|
+
_v$55 !== _p$._v$55 && className(_el$83, _p$._v$55 = _v$55);
|
|
14571
|
+
_v$56 !== _p$._v$56 && (_el$83.disabled = _p$._v$56 = _v$56);
|
|
14572
|
+
_v$57 !== _p$._v$57 && className(_el$84, _p$._v$57 = _v$57);
|
|
14573
|
+
_v$58 !== _p$._v$58 && className(_el$85, _p$._v$58 = _v$58);
|
|
14574
|
+
_v$59 !== _p$._v$59 && (_el$85.disabled = _p$._v$59 = _v$59);
|
|
14575
|
+
_v$60 !== _p$._v$60 && className(_el$86, _p$._v$60 = _v$60);
|
|
14576
|
+
_v$61 !== _p$._v$61 && className(_el$96, _p$._v$61 = _v$61);
|
|
14577
|
+
_v$62 !== _p$._v$62 && ((_p$._v$62 = _v$62) != null ? _el$97.style.setProperty("padding", _v$62) : _el$97.style.removeProperty("padding"));
|
|
14578
|
+
_v$63 !== _p$._v$63 && className(_el$98, _p$._v$63 = _v$63);
|
|
14579
|
+
_v$64 !== _p$._v$64 && ((_p$._v$64 = _v$64) != null ? _el$99.style.setProperty("padding", _v$64) : _el$99.style.removeProperty("padding"));
|
|
14342
14580
|
return _p$;
|
|
14343
14581
|
}, {
|
|
14344
|
-
_v$39: void 0,
|
|
14345
14582
|
_v$40: void 0,
|
|
14346
14583
|
_v$41: void 0,
|
|
14347
14584
|
_v$42: void 0,
|
|
@@ -14365,9 +14602,10 @@ var init_Devtools = __esm({
|
|
|
14365
14602
|
_v$60: void 0,
|
|
14366
14603
|
_v$61: void 0,
|
|
14367
14604
|
_v$62: void 0,
|
|
14368
|
-
_v$63: void 0
|
|
14605
|
+
_v$63: void 0,
|
|
14606
|
+
_v$64: void 0
|
|
14369
14607
|
});
|
|
14370
|
-
return _el$
|
|
14608
|
+
return _el$62;
|
|
14371
14609
|
}
|
|
14372
14610
|
});
|
|
14373
14611
|
};
|
|
@@ -14418,8 +14656,8 @@ var init_Devtools = __esm({
|
|
|
14418
14656
|
return activeMutation();
|
|
14419
14657
|
},
|
|
14420
14658
|
get children() {
|
|
14421
|
-
const _el$
|
|
14422
|
-
insert(_el$
|
|
14659
|
+
const _el$101 = _tmpl$322(), _el$102 = _el$101.firstChild, _el$103 = _el$102.nextSibling, _el$104 = _el$103.firstChild, _el$105 = _el$104.firstChild, _el$106 = _el$105.firstChild, _el$107 = _el$105.nextSibling, _el$108 = _el$104.nextSibling, _el$109 = _el$108.firstChild, _el$110 = _el$109.nextSibling, _el$111 = _el$103.nextSibling, _el$112 = _el$111.nextSibling, _el$113 = _el$112.nextSibling, _el$114 = _el$113.nextSibling, _el$115 = _el$114.nextSibling, _el$116 = _el$115.nextSibling, _el$117 = _el$116.nextSibling, _el$118 = _el$117.nextSibling;
|
|
14660
|
+
insert(_el$106, createComponent(Show, {
|
|
14423
14661
|
get when() {
|
|
14424
14662
|
return activeMutation().options.mutationKey;
|
|
14425
14663
|
},
|
|
@@ -14428,13 +14666,13 @@ var init_Devtools = __esm({
|
|
|
14428
14666
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
14429
14667
|
}
|
|
14430
14668
|
}));
|
|
14431
|
-
insert(_el$
|
|
14669
|
+
insert(_el$107, createComponent(Show, {
|
|
14432
14670
|
get when() {
|
|
14433
14671
|
return color() === "purple";
|
|
14434
14672
|
},
|
|
14435
14673
|
children: "pending"
|
|
14436
14674
|
}), null);
|
|
14437
|
-
insert(_el$
|
|
14675
|
+
insert(_el$107, createComponent(Show, {
|
|
14438
14676
|
get when() {
|
|
14439
14677
|
return color() !== "purple";
|
|
14440
14678
|
},
|
|
@@ -14442,29 +14680,29 @@ var init_Devtools = __esm({
|
|
|
14442
14680
|
return status();
|
|
14443
14681
|
}
|
|
14444
14682
|
}), null);
|
|
14445
|
-
insert(_el$
|
|
14446
|
-
insert(_el$
|
|
14683
|
+
insert(_el$110, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14684
|
+
insert(_el$112, createComponent(Explorer, {
|
|
14447
14685
|
label: "Variables",
|
|
14448
14686
|
defaultExpanded: ["Variables"],
|
|
14449
14687
|
get value() {
|
|
14450
14688
|
return activeMutation().state.variables;
|
|
14451
14689
|
}
|
|
14452
14690
|
}));
|
|
14453
|
-
insert(_el$
|
|
14691
|
+
insert(_el$114, createComponent(Explorer, {
|
|
14454
14692
|
label: "Context",
|
|
14455
14693
|
defaultExpanded: ["Context"],
|
|
14456
14694
|
get value() {
|
|
14457
14695
|
return activeMutation().state.context;
|
|
14458
14696
|
}
|
|
14459
14697
|
}));
|
|
14460
|
-
insert(_el$
|
|
14698
|
+
insert(_el$116, createComponent(Explorer, {
|
|
14461
14699
|
label: "Data",
|
|
14462
14700
|
defaultExpanded: ["Data"],
|
|
14463
14701
|
get value() {
|
|
14464
14702
|
return activeMutation().state.data;
|
|
14465
14703
|
}
|
|
14466
14704
|
}));
|
|
14467
|
-
insert(_el$
|
|
14705
|
+
insert(_el$118, createComponent(Explorer, {
|
|
14468
14706
|
label: "Mutation",
|
|
14469
14707
|
defaultExpanded: ["Mutation"],
|
|
14470
14708
|
get value() {
|
|
@@ -14472,22 +14710,21 @@ var init_Devtools = __esm({
|
|
|
14472
14710
|
}
|
|
14473
14711
|
}));
|
|
14474
14712
|
createRenderEffect((_p$) => {
|
|
14475
|
-
const _v$
|
|
14476
|
-
_v$
|
|
14477
|
-
_v$
|
|
14478
|
-
_v$
|
|
14479
|
-
_v$
|
|
14480
|
-
_v$
|
|
14481
|
-
_v$
|
|
14482
|
-
_v$
|
|
14483
|
-
_v$
|
|
14484
|
-
_v$
|
|
14485
|
-
_v$
|
|
14486
|
-
_v$
|
|
14487
|
-
_v$
|
|
14713
|
+
const _v$65 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$66 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$67 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$68 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$69 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$70 = tokens.size[2], _v$71 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$72 = tokens.size[2], _v$73 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$74 = tokens.size[2], _v$75 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$76 = tokens.size[2];
|
|
14714
|
+
_v$65 !== _p$._v$65 && className(_el$101, _p$._v$65 = _v$65);
|
|
14715
|
+
_v$66 !== _p$._v$66 && className(_el$102, _p$._v$66 = _v$66);
|
|
14716
|
+
_v$67 !== _p$._v$67 && className(_el$103, _p$._v$67 = _v$67);
|
|
14717
|
+
_v$68 !== _p$._v$68 && className(_el$107, _p$._v$68 = _v$68);
|
|
14718
|
+
_v$69 !== _p$._v$69 && className(_el$111, _p$._v$69 = _v$69);
|
|
14719
|
+
_v$70 !== _p$._v$70 && ((_p$._v$70 = _v$70) != null ? _el$112.style.setProperty("padding", _v$70) : _el$112.style.removeProperty("padding"));
|
|
14720
|
+
_v$71 !== _p$._v$71 && className(_el$113, _p$._v$71 = _v$71);
|
|
14721
|
+
_v$72 !== _p$._v$72 && ((_p$._v$72 = _v$72) != null ? _el$114.style.setProperty("padding", _v$72) : _el$114.style.removeProperty("padding"));
|
|
14722
|
+
_v$73 !== _p$._v$73 && className(_el$115, _p$._v$73 = _v$73);
|
|
14723
|
+
_v$74 !== _p$._v$74 && ((_p$._v$74 = _v$74) != null ? _el$116.style.setProperty("padding", _v$74) : _el$116.style.removeProperty("padding"));
|
|
14724
|
+
_v$75 !== _p$._v$75 && className(_el$117, _p$._v$75 = _v$75);
|
|
14725
|
+
_v$76 !== _p$._v$76 && ((_p$._v$76 = _v$76) != null ? _el$118.style.setProperty("padding", _v$76) : _el$118.style.removeProperty("padding"));
|
|
14488
14726
|
return _p$;
|
|
14489
14727
|
}, {
|
|
14490
|
-
_v$64: void 0,
|
|
14491
14728
|
_v$65: void 0,
|
|
14492
14729
|
_v$66: void 0,
|
|
14493
14730
|
_v$67: void 0,
|
|
@@ -14498,9 +14735,10 @@ var init_Devtools = __esm({
|
|
|
14498
14735
|
_v$72: void 0,
|
|
14499
14736
|
_v$73: void 0,
|
|
14500
14737
|
_v$74: void 0,
|
|
14501
|
-
_v$75: void 0
|
|
14738
|
+
_v$75: void 0,
|
|
14739
|
+
_v$76: void 0
|
|
14502
14740
|
});
|
|
14503
|
-
return _el$
|
|
14741
|
+
return _el$101;
|
|
14504
14742
|
}
|
|
14505
14743
|
});
|
|
14506
14744
|
};
|
|
@@ -15018,8 +15256,8 @@ var init_Devtools = __esm({
|
|
|
15018
15256
|
gap: ${tokens.size[2]};
|
|
15019
15257
|
& > button {
|
|
15020
15258
|
cursor: pointer;
|
|
15021
|
-
padding: ${tokens.size[0.5]} ${tokens.size[
|
|
15022
|
-
|
|
15259
|
+
padding: ${tokens.size[0.5]} ${tokens.size[1.5]} ${tokens.size[0.5]}
|
|
15260
|
+
${tokens.size[2]};
|
|
15023
15261
|
border-radius: ${tokens.border.radius.sm};
|
|
15024
15262
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
15025
15263
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|