@tanstack/query-devtools 5.21.5 → 5.23.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/{OQR5HZUS.jsx → 6EDF3GZQ.jsx} +270 -52
- package/build/Devtools/{OWP7E64P.js → NXICSXP3.js} +664 -440
- package/build/Devtools/{MY47IRH5.js → QUGYIDRL.js} +664 -440
- package/build/Devtools/{TETPQZKA.jsx → T73WTYCS.jsx} +270 -52
- package/build/dev.cjs +667 -442
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +667 -442
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +355 -74
- package/src/icons/index.tsx +20 -0
package/build/index.cjs
CHANGED
|
@@ -12016,21 +12016,24 @@ function Offline() {
|
|
|
12016
12016
|
function Settings() {
|
|
12017
12017
|
return _tmpl$11();
|
|
12018
12018
|
}
|
|
12019
|
-
function
|
|
12019
|
+
function PiPIcon() {
|
|
12020
12020
|
return _tmpl$12();
|
|
12021
12021
|
}
|
|
12022
|
+
function Copier() {
|
|
12023
|
+
return _tmpl$13();
|
|
12024
|
+
}
|
|
12022
12025
|
function CopiedCopier(props) {
|
|
12023
12026
|
return (() => {
|
|
12024
|
-
const _el$
|
|
12025
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12026
|
-
return _el$
|
|
12027
|
+
const _el$16 = _tmpl$14(), _el$17 = _el$16.firstChild;
|
|
12028
|
+
createRenderEffect(() => setAttribute(_el$17, "stroke", props.theme === "dark" ? "#12B76A" : "#027A48"));
|
|
12029
|
+
return _el$16;
|
|
12027
12030
|
})();
|
|
12028
12031
|
}
|
|
12029
12032
|
function ErrorCopier() {
|
|
12030
|
-
return _tmpl$
|
|
12033
|
+
return _tmpl$15();
|
|
12031
12034
|
}
|
|
12032
12035
|
function List() {
|
|
12033
|
-
return _tmpl$
|
|
12036
|
+
return _tmpl$16();
|
|
12034
12037
|
}
|
|
12035
12038
|
function Check(props) {
|
|
12036
12039
|
return [createComponent(Show, {
|
|
@@ -12038,119 +12041,119 @@ function Check(props) {
|
|
|
12038
12041
|
return props.checked;
|
|
12039
12042
|
},
|
|
12040
12043
|
get children() {
|
|
12041
|
-
const _el$
|
|
12042
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12043
|
-
return _el$
|
|
12044
|
+
const _el$20 = _tmpl$14(), _el$21 = _el$20.firstChild;
|
|
12045
|
+
createRenderEffect(() => setAttribute(_el$21, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
12046
|
+
return _el$20;
|
|
12044
12047
|
}
|
|
12045
12048
|
}), createComponent(Show, {
|
|
12046
12049
|
get when() {
|
|
12047
12050
|
return !props.checked;
|
|
12048
12051
|
},
|
|
12049
12052
|
get children() {
|
|
12050
|
-
const _el$
|
|
12051
|
-
createRenderEffect(() => setAttribute(_el$
|
|
12052
|
-
return _el$
|
|
12053
|
+
const _el$22 = _tmpl$17(), _el$23 = _el$22.firstChild;
|
|
12054
|
+
createRenderEffect(() => setAttribute(_el$23, "stroke", props.theme === "dark" ? "#9B8AFB" : "#6938EF"));
|
|
12055
|
+
return _el$22;
|
|
12053
12056
|
}
|
|
12054
12057
|
})];
|
|
12055
12058
|
}
|
|
12056
12059
|
function CheckCircle() {
|
|
12057
|
-
return _tmpl$
|
|
12060
|
+
return _tmpl$18();
|
|
12058
12061
|
}
|
|
12059
12062
|
function LoadingCircle() {
|
|
12060
|
-
return _tmpl$
|
|
12063
|
+
return _tmpl$19();
|
|
12061
12064
|
}
|
|
12062
12065
|
function XCircle() {
|
|
12063
|
-
return _tmpl$
|
|
12066
|
+
return _tmpl$20();
|
|
12064
12067
|
}
|
|
12065
12068
|
function PauseCircle() {
|
|
12066
|
-
return _tmpl$
|
|
12069
|
+
return _tmpl$21();
|
|
12067
12070
|
}
|
|
12068
12071
|
function TanstackLogo() {
|
|
12069
12072
|
const id = createUniqueId();
|
|
12070
12073
|
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$
|
|
12074
|
+
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;
|
|
12075
|
+
setAttribute(_el$29, "id", `a-${id}`);
|
|
12076
|
+
setAttribute(_el$30, "fill", `url(#a-${id})`);
|
|
12077
|
+
setAttribute(_el$32, "id", `am-${id}`);
|
|
12078
|
+
setAttribute(_el$33, "id", `b-${id}`);
|
|
12079
|
+
setAttribute(_el$34, "filter", `url(#am-${id})`);
|
|
12080
|
+
setAttribute(_el$35, "mask", `url(#b-${id})`);
|
|
12081
|
+
setAttribute(_el$37, "id", `ah-${id}`);
|
|
12082
|
+
setAttribute(_el$38, "id", `k-${id}`);
|
|
12083
|
+
setAttribute(_el$39, "filter", `url(#ah-${id})`);
|
|
12084
|
+
setAttribute(_el$40, "mask", `url(#k-${id})`);
|
|
12085
|
+
setAttribute(_el$42, "id", `ae-${id}`);
|
|
12086
|
+
setAttribute(_el$43, "id", `j-${id}`);
|
|
12087
|
+
setAttribute(_el$44, "filter", `url(#ae-${id})`);
|
|
12088
|
+
setAttribute(_el$45, "mask", `url(#j-${id})`);
|
|
12089
|
+
setAttribute(_el$47, "id", `ai-${id}`);
|
|
12090
|
+
setAttribute(_el$48, "id", `i-${id}`);
|
|
12091
|
+
setAttribute(_el$49, "filter", `url(#ai-${id})`);
|
|
12092
|
+
setAttribute(_el$50, "mask", `url(#i-${id})`);
|
|
12093
|
+
setAttribute(_el$52, "id", `aj-${id}`);
|
|
12094
|
+
setAttribute(_el$53, "id", `h-${id}`);
|
|
12095
|
+
setAttribute(_el$54, "filter", `url(#aj-${id})`);
|
|
12096
|
+
setAttribute(_el$55, "mask", `url(#h-${id})`);
|
|
12097
|
+
setAttribute(_el$57, "id", `ag-${id}`);
|
|
12098
|
+
setAttribute(_el$58, "id", `g-${id}`);
|
|
12099
|
+
setAttribute(_el$59, "filter", `url(#ag-${id})`);
|
|
12100
|
+
setAttribute(_el$60, "mask", `url(#g-${id})`);
|
|
12101
|
+
setAttribute(_el$62, "id", `af-${id}`);
|
|
12102
|
+
setAttribute(_el$63, "id", `f-${id}`);
|
|
12103
|
+
setAttribute(_el$64, "filter", `url(#af-${id})`);
|
|
12104
|
+
setAttribute(_el$65, "mask", `url(#f-${id})`);
|
|
12105
|
+
setAttribute(_el$69, "id", `m-${id}`);
|
|
12106
|
+
setAttribute(_el$70, "fill", `url(#m-${id})`);
|
|
12107
|
+
setAttribute(_el$72, "id", `ak-${id}`);
|
|
12108
|
+
setAttribute(_el$73, "id", `e-${id}`);
|
|
12109
|
+
setAttribute(_el$74, "filter", `url(#ak-${id})`);
|
|
12110
|
+
setAttribute(_el$75, "mask", `url(#e-${id})`);
|
|
12111
|
+
setAttribute(_el$76, "id", `n-${id}`);
|
|
12112
|
+
setAttribute(_el$77, "fill", `url(#n-${id})`);
|
|
12113
|
+
setAttribute(_el$79, "id", `r-${id}`);
|
|
12114
|
+
setAttribute(_el$80, "fill", `url(#r-${id})`);
|
|
12115
|
+
setAttribute(_el$81, "id", `s-${id}`);
|
|
12116
|
+
setAttribute(_el$82, "fill", `url(#s-${id})`);
|
|
12117
|
+
setAttribute(_el$83, "id", `q-${id}`);
|
|
12118
|
+
setAttribute(_el$84, "fill", `url(#q-${id})`);
|
|
12119
|
+
setAttribute(_el$85, "id", `p-${id}`);
|
|
12120
|
+
setAttribute(_el$86, "fill", `url(#p-${id})`);
|
|
12121
|
+
setAttribute(_el$87, "id", `o-${id}`);
|
|
12122
|
+
setAttribute(_el$88, "fill", `url(#o-${id})`);
|
|
12123
|
+
setAttribute(_el$89, "id", `l-${id}`);
|
|
12124
|
+
setAttribute(_el$90, "fill", `url(#l-${id})`);
|
|
12125
|
+
setAttribute(_el$92, "id", `al-${id}`);
|
|
12126
|
+
setAttribute(_el$93, "id", `d-${id}`);
|
|
12127
|
+
setAttribute(_el$94, "filter", `url(#al-${id})`);
|
|
12128
|
+
setAttribute(_el$95, "mask", `url(#d-${id})`);
|
|
12129
|
+
setAttribute(_el$96, "id", `u-${id}`);
|
|
12130
|
+
setAttribute(_el$97, "fill", `url(#u-${id})`);
|
|
12131
|
+
setAttribute(_el$99, "id", `ad-${id}`);
|
|
12132
|
+
setAttribute(_el$100, "id", `c-${id}`);
|
|
12133
|
+
setAttribute(_el$101, "filter", `url(#ad-${id})`);
|
|
12134
|
+
setAttribute(_el$102, "mask", `url(#c-${id})`);
|
|
12135
|
+
setAttribute(_el$103, "id", `t-${id}`);
|
|
12136
|
+
setAttribute(_el$104, "fill", `url(#t-${id})`);
|
|
12137
|
+
setAttribute(_el$105, "id", `v-${id}`);
|
|
12138
|
+
setAttribute(_el$106, "stroke", `url(#v-${id})`);
|
|
12139
|
+
setAttribute(_el$107, "id", `aa-${id}`);
|
|
12140
|
+
setAttribute(_el$108, "stroke", `url(#aa-${id})`);
|
|
12141
|
+
setAttribute(_el$109, "id", `w-${id}`);
|
|
12142
|
+
setAttribute(_el$110, "stroke", `url(#w-${id})`);
|
|
12143
|
+
setAttribute(_el$111, "id", `ac-${id}`);
|
|
12144
|
+
setAttribute(_el$112, "stroke", `url(#ac-${id})`);
|
|
12145
|
+
setAttribute(_el$113, "id", `ab-${id}`);
|
|
12146
|
+
setAttribute(_el$114, "stroke", `url(#ab-${id})`);
|
|
12147
|
+
setAttribute(_el$115, "id", `y-${id}`);
|
|
12148
|
+
setAttribute(_el$116, "stroke", `url(#y-${id})`);
|
|
12149
|
+
setAttribute(_el$117, "id", `x-${id}`);
|
|
12150
|
+
setAttribute(_el$118, "stroke", `url(#x-${id})`);
|
|
12151
|
+
setAttribute(_el$119, "id", `z-${id}`);
|
|
12152
|
+
setAttribute(_el$120, "stroke", `url(#z-${id})`);
|
|
12153
|
+
return _el$28;
|
|
12151
12154
|
})();
|
|
12152
12155
|
}
|
|
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;
|
|
12156
|
+
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
12157
|
var init_icons = __esm({
|
|
12155
12158
|
"src/icons/index.tsx"() {
|
|
12156
12159
|
init_web();
|
|
@@ -12169,16 +12172,17 @@ var init_icons = __esm({
|
|
|
12169
12172
|
_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
12173
|
_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
12174
|
_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>`);
|
|
12175
|
+
_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>`);
|
|
12176
|
+
_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>`);
|
|
12177
|
+
_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>`);
|
|
12178
|
+
_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>`);
|
|
12179
|
+
_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>`);
|
|
12180
|
+
_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>`);
|
|
12181
|
+
_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>`);
|
|
12182
|
+
_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>`);
|
|
12183
|
+
_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>`);
|
|
12184
|
+
_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>`);
|
|
12185
|
+
_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
12186
|
}
|
|
12183
12187
|
});
|
|
12184
12188
|
|
|
@@ -12553,7 +12557,7 @@ function Explorer(props) {
|
|
|
12553
12557
|
return _el$6;
|
|
12554
12558
|
})();
|
|
12555
12559
|
}
|
|
12556
|
-
var _tmpl$
|
|
12560
|
+
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
12561
|
var init_Explorer = __esm({
|
|
12558
12562
|
"src/Explorer.tsx"() {
|
|
12559
12563
|
init_web();
|
|
@@ -12574,8 +12578,8 @@ var init_Explorer = __esm({
|
|
|
12574
12578
|
init_utils();
|
|
12575
12579
|
init_icons();
|
|
12576
12580
|
init_Context();
|
|
12577
|
-
_tmpl$
|
|
12578
|
-
_tmpl$
|
|
12581
|
+
_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>`);
|
|
12582
|
+
_tmpl$24 = /* @__PURE__ */ template(`<button title="Copy object to clipboard">`);
|
|
12579
12583
|
_tmpl$32 = /* @__PURE__ */ template(`<button title="Remove all items"aria-label="Remove all items">`);
|
|
12580
12584
|
_tmpl$42 = /* @__PURE__ */ template(`<button title="Delete item"aria-label="Delete item">`);
|
|
12581
12585
|
_tmpl$52 = /* @__PURE__ */ template(`<button title="Toggle value"aria-label="Toggle value">`);
|
|
@@ -12591,7 +12595,7 @@ var init_Explorer = __esm({
|
|
|
12591
12595
|
return theme() === "dark" ? darkStyles : lightStyles;
|
|
12592
12596
|
});
|
|
12593
12597
|
return (() => {
|
|
12594
|
-
const _el$ = _tmpl$
|
|
12598
|
+
const _el$ = _tmpl$23();
|
|
12595
12599
|
createRenderEffect(() => className(_el$, clsx(styles().expander, u`
|
|
12596
12600
|
transform: rotate(${props.expanded ? 90 : 0}deg);
|
|
12597
12601
|
`, props.expanded && u`
|
|
@@ -12609,7 +12613,7 @@ var init_Explorer = __esm({
|
|
|
12609
12613
|
});
|
|
12610
12614
|
const [copyState, setCopyState] = createSignal("NoCopy");
|
|
12611
12615
|
return (() => {
|
|
12612
|
-
const _el$2 = _tmpl$
|
|
12616
|
+
const _el$2 = _tmpl$24();
|
|
12613
12617
|
addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
|
|
12614
12618
|
navigator.clipboard.writeText(stringify(props.value)).then(() => {
|
|
12615
12619
|
setCopyState("SuccessCopy");
|
|
@@ -12874,7 +12878,7 @@ var Devtools_exports = {};
|
|
|
12874
12878
|
__export(Devtools_exports, {
|
|
12875
12879
|
default: () => Devtools_default
|
|
12876
12880
|
});
|
|
12877
|
-
var _tmpl$
|
|
12881
|
+
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
12882
|
var init_Devtools = __esm({
|
|
12879
12883
|
"src/Devtools.tsx"() {
|
|
12880
12884
|
init_web();
|
|
@@ -12897,42 +12901,44 @@ var init_Devtools = __esm({
|
|
|
12897
12901
|
init_dist7();
|
|
12898
12902
|
init_dist9();
|
|
12899
12903
|
init_esm2();
|
|
12904
|
+
init_web();
|
|
12900
12905
|
init_theme();
|
|
12901
12906
|
init_utils();
|
|
12902
12907
|
init_icons();
|
|
12903
12908
|
init_Explorer();
|
|
12904
12909
|
init_Context();
|
|
12905
|
-
_tmpl$
|
|
12906
|
-
_tmpl$
|
|
12910
|
+
_tmpl$25 = /* @__PURE__ */ template(`<div><div aria-hidden=true></div><button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>`);
|
|
12911
|
+
_tmpl$26 = /* @__PURE__ */ template(`<div>`);
|
|
12907
12912
|
_tmpl$33 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">`);
|
|
12908
12913
|
_tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
12909
12914
|
_tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
12910
12915
|
_tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
12911
12916
|
_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(`<
|
|
12917
|
+
_tmpl$83 = /* @__PURE__ */ template(`<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">`);
|
|
12918
|
+
_tmpl$93 = /* @__PURE__ */ template(`<div>Settings`);
|
|
12919
|
+
_tmpl$103 = /* @__PURE__ */ template(`<span>Position`);
|
|
12920
|
+
_tmpl$113 = /* @__PURE__ */ template(`<span>Top`);
|
|
12921
|
+
_tmpl$122 = /* @__PURE__ */ template(`<span>Bottom`);
|
|
12922
|
+
_tmpl$132 = /* @__PURE__ */ template(`<span>Left`);
|
|
12923
|
+
_tmpl$142 = /* @__PURE__ */ template(`<span>Right`);
|
|
12924
|
+
_tmpl$152 = /* @__PURE__ */ template(`<span>Theme`);
|
|
12925
|
+
_tmpl$162 = /* @__PURE__ */ template(`<span>Light`);
|
|
12926
|
+
_tmpl$172 = /* @__PURE__ */ template(`<span>Dark`);
|
|
12927
|
+
_tmpl$182 = /* @__PURE__ */ template(`<span>System`);
|
|
12928
|
+
_tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-queries-container>`);
|
|
12929
|
+
_tmpl$202 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-container>`);
|
|
12930
|
+
_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>`);
|
|
12931
|
+
_tmpl$222 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
12932
|
+
_tmpl$232 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
12933
|
+
_tmpl$242 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
12934
|
+
_tmpl$252 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
12935
|
+
_tmpl$262 = /* @__PURE__ */ template(`<span>`);
|
|
12936
|
+
_tmpl$27 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
12937
|
+
_tmpl$28 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
12938
|
+
_tmpl$29 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
12939
|
+
_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">`);
|
|
12940
|
+
_tmpl$31 = /* @__PURE__ */ template(`<option>`);
|
|
12941
|
+
_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
12942
|
firstBreakpoint = 1024;
|
|
12937
12943
|
secondBreakpoint = 796;
|
|
12938
12944
|
thirdBreakpoint = 700;
|
|
@@ -12948,6 +12954,112 @@ var init_Devtools = __esm({
|
|
|
12948
12954
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12949
12955
|
[selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
12950
12956
|
[panelWidth, setPanelWidth] = createSignal(0);
|
|
12957
|
+
PiPContext = createContext(void 0);
|
|
12958
|
+
PiPProvider = (props) => {
|
|
12959
|
+
const [pipWindow, setPipWindow] = createSignal(null);
|
|
12960
|
+
const closePipWindow = () => {
|
|
12961
|
+
const w = pipWindow();
|
|
12962
|
+
if (w != null) {
|
|
12963
|
+
w.close();
|
|
12964
|
+
setPipWindow(null);
|
|
12965
|
+
}
|
|
12966
|
+
};
|
|
12967
|
+
const requestPipWindow = async (width, height) => {
|
|
12968
|
+
if (pipWindow() != null) {
|
|
12969
|
+
return;
|
|
12970
|
+
}
|
|
12971
|
+
const pip = window.open("", "", `width=${width},height=${height},popup`);
|
|
12972
|
+
if (!pip) {
|
|
12973
|
+
throw new Error("Failed to open popup. Please allow popups for this site to view the devtools in picture-in-picture mode.");
|
|
12974
|
+
}
|
|
12975
|
+
pip.document.title = "TanStack Query Devtools";
|
|
12976
|
+
pip.document.body.style.margin = "0";
|
|
12977
|
+
pip.addEventListener("pagehide", () => {
|
|
12978
|
+
setPipWindow(null);
|
|
12979
|
+
});
|
|
12980
|
+
[...document.styleSheets].forEach((styleSheet) => {
|
|
12981
|
+
try {
|
|
12982
|
+
const cssRules = [...styleSheet.cssRules].map((rule) => rule.cssText).join("");
|
|
12983
|
+
const style2 = document.createElement("style");
|
|
12984
|
+
const style_node = styleSheet.ownerNode;
|
|
12985
|
+
let style_id = "";
|
|
12986
|
+
if (style_node && "id" in style_node) {
|
|
12987
|
+
style_id = style_node.id;
|
|
12988
|
+
}
|
|
12989
|
+
if (style_id) {
|
|
12990
|
+
style2.setAttribute("id", style_id);
|
|
12991
|
+
}
|
|
12992
|
+
style2.textContent = cssRules;
|
|
12993
|
+
pip.document.head.appendChild(style2);
|
|
12994
|
+
} catch (e2) {
|
|
12995
|
+
const link = document.createElement("link");
|
|
12996
|
+
if (styleSheet.href == null) {
|
|
12997
|
+
return;
|
|
12998
|
+
}
|
|
12999
|
+
link.rel = "stylesheet";
|
|
13000
|
+
link.type = styleSheet.type;
|
|
13001
|
+
link.media = styleSheet.media.toString();
|
|
13002
|
+
link.href = styleSheet.href;
|
|
13003
|
+
pip.document.head.appendChild(link);
|
|
13004
|
+
}
|
|
13005
|
+
});
|
|
13006
|
+
delegateEvents(["focusin", "focusout", "pointermove", "keydown", "pointerdown", "pointerup", "click", "mousedown", "input"], pip.document);
|
|
13007
|
+
setPipWindow(pip);
|
|
13008
|
+
};
|
|
13009
|
+
createEffect(() => {
|
|
13010
|
+
const closePipWindowOnUnload = () => {
|
|
13011
|
+
closePipWindow();
|
|
13012
|
+
};
|
|
13013
|
+
window.addEventListener("beforeunload", closePipWindowOnUnload);
|
|
13014
|
+
onCleanup(() => {
|
|
13015
|
+
window.removeEventListener("beforeunload", closePipWindowOnUnload);
|
|
13016
|
+
});
|
|
13017
|
+
});
|
|
13018
|
+
createEffect(() => {
|
|
13019
|
+
const gooberStyles = document.getElementById("_goober");
|
|
13020
|
+
const w = pipWindow();
|
|
13021
|
+
if (gooberStyles && w) {
|
|
13022
|
+
const observer = new MutationObserver(() => {
|
|
13023
|
+
const pip_style = w.document.getElementById("_goober");
|
|
13024
|
+
if (pip_style) {
|
|
13025
|
+
pip_style.textContent = gooberStyles.textContent;
|
|
13026
|
+
}
|
|
13027
|
+
});
|
|
13028
|
+
observer.observe(gooberStyles, {
|
|
13029
|
+
childList: true,
|
|
13030
|
+
// observe direct children
|
|
13031
|
+
subtree: true,
|
|
13032
|
+
// and lower descendants too
|
|
13033
|
+
characterDataOldValue: true
|
|
13034
|
+
// pass old data to callback
|
|
13035
|
+
});
|
|
13036
|
+
onCleanup(() => {
|
|
13037
|
+
observer.disconnect();
|
|
13038
|
+
});
|
|
13039
|
+
}
|
|
13040
|
+
});
|
|
13041
|
+
const value = createMemo(() => ({
|
|
13042
|
+
pipWindow: pipWindow(),
|
|
13043
|
+
requestPipWindow,
|
|
13044
|
+
closePipWindow
|
|
13045
|
+
}));
|
|
13046
|
+
return createComponent(PiPContext.Provider, {
|
|
13047
|
+
value,
|
|
13048
|
+
get children() {
|
|
13049
|
+
return props.children;
|
|
13050
|
+
}
|
|
13051
|
+
});
|
|
13052
|
+
};
|
|
13053
|
+
usePiPWindow = () => {
|
|
13054
|
+
const context = createMemo(() => {
|
|
13055
|
+
const ctx = useContext(PiPContext);
|
|
13056
|
+
if (!ctx) {
|
|
13057
|
+
throw new Error("usePiPWindow must be used within a PiPProvider");
|
|
13058
|
+
}
|
|
13059
|
+
return ctx();
|
|
13060
|
+
});
|
|
13061
|
+
return context;
|
|
13062
|
+
};
|
|
12951
13063
|
DevtoolsComponent = (props) => {
|
|
12952
13064
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
12953
13065
|
prefix: "TanstackQueryDevtools"
|
|
@@ -12962,12 +13074,16 @@ var init_Devtools = __esm({
|
|
|
12962
13074
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
12963
13075
|
value: props,
|
|
12964
13076
|
get children() {
|
|
12965
|
-
return createComponent(
|
|
12966
|
-
value: theme,
|
|
13077
|
+
return createComponent(PiPProvider, {
|
|
12967
13078
|
get children() {
|
|
12968
|
-
return createComponent(
|
|
12969
|
-
|
|
12970
|
-
|
|
13079
|
+
return createComponent(ThemeContext.Provider, {
|
|
13080
|
+
value: theme,
|
|
13081
|
+
get children() {
|
|
13082
|
+
return createComponent(Devtools, {
|
|
13083
|
+
localStore,
|
|
13084
|
+
setLocalStore
|
|
13085
|
+
});
|
|
13086
|
+
}
|
|
12971
13087
|
});
|
|
12972
13088
|
}
|
|
12973
13089
|
});
|
|
@@ -12980,6 +13096,7 @@ var init_Devtools = __esm({
|
|
|
12980
13096
|
const styles = createMemo(() => {
|
|
12981
13097
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
12982
13098
|
});
|
|
13099
|
+
const pip = usePiPWindow();
|
|
12983
13100
|
const buttonPosition = createMemo(() => {
|
|
12984
13101
|
return useQueryDevtoolsContext().buttonPosition || BUTTON_POSITION;
|
|
12985
13102
|
});
|
|
@@ -13010,8 +13127,33 @@ var init_Devtools = __esm({
|
|
|
13010
13127
|
window.removeEventListener("focus", onFocus);
|
|
13011
13128
|
});
|
|
13012
13129
|
});
|
|
13013
|
-
return (
|
|
13014
|
-
|
|
13130
|
+
return [createComponent(Show, {
|
|
13131
|
+
get when() {
|
|
13132
|
+
return pip().pipWindow;
|
|
13133
|
+
},
|
|
13134
|
+
get children() {
|
|
13135
|
+
return createComponent(Portal, {
|
|
13136
|
+
get mount() {
|
|
13137
|
+
return pip().pipWindow?.document.body;
|
|
13138
|
+
},
|
|
13139
|
+
get children() {
|
|
13140
|
+
return createComponent(PiPPanel, {
|
|
13141
|
+
get children() {
|
|
13142
|
+
return createComponent(ContentView, {
|
|
13143
|
+
get localStore() {
|
|
13144
|
+
return props.localStore;
|
|
13145
|
+
},
|
|
13146
|
+
get setLocalStore() {
|
|
13147
|
+
return props.setLocalStore;
|
|
13148
|
+
}
|
|
13149
|
+
});
|
|
13150
|
+
}
|
|
13151
|
+
});
|
|
13152
|
+
}
|
|
13153
|
+
});
|
|
13154
|
+
}
|
|
13155
|
+
}), (() => {
|
|
13156
|
+
const _el$ = _tmpl$26();
|
|
13015
13157
|
const _ref$ = transitionsContainerRef;
|
|
13016
13158
|
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
13017
13159
|
insert(_el$, createComponent(TransitionGroup, {
|
|
@@ -13019,7 +13161,7 @@ var init_Devtools = __esm({
|
|
|
13019
13161
|
get children() {
|
|
13020
13162
|
return createComponent(Show, {
|
|
13021
13163
|
get when() {
|
|
13022
|
-
return isOpen();
|
|
13164
|
+
return createMemo(() => !!isOpen())() && !pip().pipWindow;
|
|
13023
13165
|
},
|
|
13024
13166
|
get children() {
|
|
13025
13167
|
return createComponent(DevtoolsPanel, {
|
|
@@ -13042,7 +13184,7 @@ var init_Devtools = __esm({
|
|
|
13042
13184
|
return !isOpen();
|
|
13043
13185
|
},
|
|
13044
13186
|
get children() {
|
|
13045
|
-
const _el$2 = _tmpl$
|
|
13187
|
+
const _el$2 = _tmpl$25(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
13046
13188
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
13047
13189
|
_el$4.$$click = () => props.setLocalStore("open", "true");
|
|
13048
13190
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
@@ -13053,33 +13195,86 @@ var init_Devtools = __esm({
|
|
|
13053
13195
|
}
|
|
13054
13196
|
}), null);
|
|
13055
13197
|
createRenderEffect(() => className(_el$, clsx(u`
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13198
|
+
& .tsqd-panel-transition-exit-active,
|
|
13199
|
+
& .tsqd-panel-transition-enter-active {
|
|
13200
|
+
transition:
|
|
13201
|
+
opacity 0.3s,
|
|
13202
|
+
transform 0.3s;
|
|
13203
|
+
}
|
|
13062
13204
|
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13205
|
+
& .tsqd-panel-transition-exit-to,
|
|
13206
|
+
& .tsqd-panel-transition-enter {
|
|
13207
|
+
${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
|
|
13208
|
+
}
|
|
13067
13209
|
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13210
|
+
& .tsqd-button-transition-exit-active,
|
|
13211
|
+
& .tsqd-button-transition-enter-active {
|
|
13212
|
+
transition:
|
|
13213
|
+
opacity 0.3s,
|
|
13214
|
+
transform 0.3s;
|
|
13215
|
+
opacity: 1;
|
|
13216
|
+
}
|
|
13075
13217
|
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13218
|
+
& .tsqd-button-transition-exit-to,
|
|
13219
|
+
& .tsqd-button-transition-enter {
|
|
13220
|
+
transform: ${buttonPosition() === "relative" ? `none;` : buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
13221
|
+
opacity: 0;
|
|
13222
|
+
}
|
|
13223
|
+
`, "tsqd-transitions-container")));
|
|
13082
13224
|
return _el$;
|
|
13225
|
+
})()];
|
|
13226
|
+
};
|
|
13227
|
+
PiPPanel = (props) => {
|
|
13228
|
+
const pip = usePiPWindow();
|
|
13229
|
+
const theme = useTheme();
|
|
13230
|
+
const styles = createMemo(() => {
|
|
13231
|
+
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13232
|
+
});
|
|
13233
|
+
const getPanelDynamicStyles = () => {
|
|
13234
|
+
const {
|
|
13235
|
+
colors
|
|
13236
|
+
} = tokens;
|
|
13237
|
+
const t2 = (light, dark) => theme() === "dark" ? dark : light;
|
|
13238
|
+
if (panelWidth() < secondBreakpoint) {
|
|
13239
|
+
return u`
|
|
13240
|
+
flex-direction: column;
|
|
13241
|
+
background-color: ${t2(colors.gray[300], colors.gray[600])};
|
|
13242
|
+
`;
|
|
13243
|
+
}
|
|
13244
|
+
return u`
|
|
13245
|
+
flex-direction: row;
|
|
13246
|
+
background-color: ${t2(colors.gray[200], colors.darkGray[900])};
|
|
13247
|
+
`;
|
|
13248
|
+
};
|
|
13249
|
+
createEffect(() => {
|
|
13250
|
+
const win = pip().pipWindow;
|
|
13251
|
+
const resizeCB = () => {
|
|
13252
|
+
if (!win)
|
|
13253
|
+
return;
|
|
13254
|
+
setPanelWidth(win.innerWidth);
|
|
13255
|
+
};
|
|
13256
|
+
if (win) {
|
|
13257
|
+
win.addEventListener("resize", resizeCB);
|
|
13258
|
+
}
|
|
13259
|
+
onCleanup(() => {
|
|
13260
|
+
if (win) {
|
|
13261
|
+
win.removeEventListener("resize", resizeCB);
|
|
13262
|
+
}
|
|
13263
|
+
});
|
|
13264
|
+
});
|
|
13265
|
+
return (() => {
|
|
13266
|
+
const _el$5 = _tmpl$26();
|
|
13267
|
+
_el$5.style.setProperty("--tsqd-font-size", "16px");
|
|
13268
|
+
_el$5.style.setProperty("max-height", "100vh");
|
|
13269
|
+
_el$5.style.setProperty("height", "100vh");
|
|
13270
|
+
_el$5.style.setProperty("width", "100vw");
|
|
13271
|
+
insert(_el$5, () => props.children);
|
|
13272
|
+
createRenderEffect(() => className(_el$5, clsx(styles().panel, getPanelDynamicStyles(), {
|
|
13273
|
+
[u`
|
|
13274
|
+
min-width: min-content;
|
|
13275
|
+
`]: panelWidth() < thirdBreakpoint
|
|
13276
|
+
}, "tsqd-main-panel")));
|
|
13277
|
+
return _el$5;
|
|
13083
13278
|
})();
|
|
13084
13279
|
};
|
|
13085
13280
|
DevtoolsPanel = (props) => {
|
|
@@ -13190,13 +13385,13 @@ var init_Devtools = __esm({
|
|
|
13190
13385
|
`;
|
|
13191
13386
|
};
|
|
13192
13387
|
return (() => {
|
|
13193
|
-
const _el$
|
|
13388
|
+
const _el$6 = _tmpl$33(), _el$7 = _el$6.firstChild, _el$8 = _el$7.nextSibling;
|
|
13194
13389
|
const _ref$2 = panelRef;
|
|
13195
|
-
typeof _ref$2 === "function" ? use(_ref$2, _el$
|
|
13196
|
-
_el$
|
|
13197
|
-
_el$
|
|
13198
|
-
insert(_el$
|
|
13199
|
-
insert(_el$
|
|
13390
|
+
typeof _ref$2 === "function" ? use(_ref$2, _el$6) : panelRef = _el$6;
|
|
13391
|
+
_el$7.$$mousedown = handleDragStart;
|
|
13392
|
+
_el$8.$$click = () => props.setLocalStore("open", "false");
|
|
13393
|
+
insert(_el$8, createComponent(ChevronDown, {}));
|
|
13394
|
+
insert(_el$6, createComponent(ContentView, {
|
|
13200
13395
|
get localStore() {
|
|
13201
13396
|
return props.localStore;
|
|
13202
13397
|
},
|
|
@@ -13210,11 +13405,11 @@ var init_Devtools = __esm({
|
|
|
13210
13405
|
min-width: min-content;
|
|
13211
13406
|
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
13212
13407
|
}, "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$
|
|
13408
|
+
_v$ !== _p$._v$ && className(_el$6, _p$._v$ = _v$);
|
|
13409
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$6.style.setProperty("height", _v$2) : _el$6.style.removeProperty("height"));
|
|
13410
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$6.style.setProperty("width", _v$3) : _el$6.style.removeProperty("width"));
|
|
13411
|
+
_v$4 !== _p$._v$4 && className(_el$7, _p$._v$4 = _v$4);
|
|
13412
|
+
_v$5 !== _p$._v$5 && className(_el$8, _p$._v$5 = _v$5);
|
|
13218
13413
|
return _p$;
|
|
13219
13414
|
}, {
|
|
13220
13415
|
_v$: void 0,
|
|
@@ -13223,7 +13418,7 @@ var init_Devtools = __esm({
|
|
|
13223
13418
|
_v$4: void 0,
|
|
13224
13419
|
_v$5: void 0
|
|
13225
13420
|
});
|
|
13226
|
-
return _el$
|
|
13421
|
+
return _el$6;
|
|
13227
13422
|
})();
|
|
13228
13423
|
};
|
|
13229
13424
|
ContentView = (props) => {
|
|
@@ -13234,6 +13429,7 @@ var init_Devtools = __esm({
|
|
|
13234
13429
|
const styles = createMemo(() => {
|
|
13235
13430
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13236
13431
|
});
|
|
13432
|
+
const pip = usePiPWindow();
|
|
13237
13433
|
const [selectedView, setSelectedView] = createSignal("queries");
|
|
13238
13434
|
const sort = createMemo(() => props.localStore.sort || DEFAULT_SORT_FN_NAME);
|
|
13239
13435
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
@@ -13279,13 +13475,17 @@ var init_Devtools = __esm({
|
|
|
13279
13475
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13280
13476
|
};
|
|
13281
13477
|
return [(() => {
|
|
13282
|
-
const _el$
|
|
13478
|
+
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
13479
|
const _ref$3 = containerRef;
|
|
13284
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
13285
|
-
_el$
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13480
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$9) : containerRef = _el$9;
|
|
13481
|
+
_el$12.$$click = () => {
|
|
13482
|
+
if (!pip().pipWindow) {
|
|
13483
|
+
props.setLocalStore("open", "false");
|
|
13484
|
+
}
|
|
13485
|
+
};
|
|
13486
|
+
insert(_el$14, () => useQueryDevtoolsContext().queryFlavor, _el$15);
|
|
13487
|
+
insert(_el$14, () => useQueryDevtoolsContext().version, null);
|
|
13488
|
+
insert(_el$11, createComponent(index$9.Root, {
|
|
13289
13489
|
get ["class"]() {
|
|
13290
13490
|
return clsx(styles().viewToggle);
|
|
13291
13491
|
},
|
|
@@ -13327,7 +13527,7 @@ var init_Devtools = __esm({
|
|
|
13327
13527
|
})];
|
|
13328
13528
|
}
|
|
13329
13529
|
}), null);
|
|
13330
|
-
insert(_el$
|
|
13530
|
+
insert(_el$10, createComponent(Show, {
|
|
13331
13531
|
get when() {
|
|
13332
13532
|
return selectedView() === "queries";
|
|
13333
13533
|
},
|
|
@@ -13335,7 +13535,7 @@ var init_Devtools = __esm({
|
|
|
13335
13535
|
return createComponent(QueryStatusCount, {});
|
|
13336
13536
|
}
|
|
13337
13537
|
}), null);
|
|
13338
|
-
insert(_el$
|
|
13538
|
+
insert(_el$10, createComponent(Show, {
|
|
13339
13539
|
get when() {
|
|
13340
13540
|
return selectedView() === "mutations";
|
|
13341
13541
|
},
|
|
@@ -13343,61 +13543,61 @@ var init_Devtools = __esm({
|
|
|
13343
13543
|
return createComponent(MutationStatusCount, {});
|
|
13344
13544
|
}
|
|
13345
13545
|
}), null);
|
|
13346
|
-
insert(_el$
|
|
13347
|
-
_el$
|
|
13546
|
+
insert(_el$18, createComponent(Search, {}), _el$19);
|
|
13547
|
+
_el$19.$$input = (e2) => {
|
|
13348
13548
|
if (selectedView() === "queries") {
|
|
13349
13549
|
props.setLocalStore("filter", e2.currentTarget.value);
|
|
13350
13550
|
} else {
|
|
13351
13551
|
props.setLocalStore("mutationFilter", e2.currentTarget.value);
|
|
13352
13552
|
}
|
|
13353
13553
|
};
|
|
13354
|
-
insert(_el$
|
|
13554
|
+
insert(_el$20, createComponent(Show, {
|
|
13355
13555
|
get when() {
|
|
13356
13556
|
return selectedView() === "queries";
|
|
13357
13557
|
},
|
|
13358
13558
|
get children() {
|
|
13359
|
-
const _el$
|
|
13360
|
-
_el$
|
|
13559
|
+
const _el$21 = _tmpl$43();
|
|
13560
|
+
_el$21.addEventListener("change", (e2) => {
|
|
13361
13561
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13362
13562
|
});
|
|
13363
|
-
insert(_el$
|
|
13364
|
-
const _el$
|
|
13365
|
-
_el$
|
|
13366
|
-
insert(_el$
|
|
13367
|
-
return _el$
|
|
13563
|
+
insert(_el$21, () => Object.keys(sortFns).map((key) => (() => {
|
|
13564
|
+
const _el$44 = _tmpl$222(); _el$44.firstChild;
|
|
13565
|
+
_el$44.value = key;
|
|
13566
|
+
insert(_el$44, key, null);
|
|
13567
|
+
return _el$44;
|
|
13368
13568
|
})()));
|
|
13369
|
-
createRenderEffect(() => _el$
|
|
13370
|
-
return _el$
|
|
13569
|
+
createRenderEffect(() => _el$21.value = sort());
|
|
13570
|
+
return _el$21;
|
|
13371
13571
|
}
|
|
13372
13572
|
}), null);
|
|
13373
|
-
insert(_el$
|
|
13573
|
+
insert(_el$20, createComponent(Show, {
|
|
13374
13574
|
get when() {
|
|
13375
13575
|
return selectedView() === "mutations";
|
|
13376
13576
|
},
|
|
13377
13577
|
get children() {
|
|
13378
|
-
const _el$
|
|
13379
|
-
_el$
|
|
13578
|
+
const _el$22 = _tmpl$53();
|
|
13579
|
+
_el$22.addEventListener("change", (e2) => {
|
|
13380
13580
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13381
13581
|
});
|
|
13382
|
-
insert(_el$
|
|
13383
|
-
const _el$
|
|
13384
|
-
_el$
|
|
13385
|
-
insert(_el$
|
|
13386
|
-
return _el$
|
|
13582
|
+
insert(_el$22, () => Object.keys(mutationSortFns).map((key) => (() => {
|
|
13583
|
+
const _el$46 = _tmpl$222(); _el$46.firstChild;
|
|
13584
|
+
_el$46.value = key;
|
|
13585
|
+
insert(_el$46, key, null);
|
|
13586
|
+
return _el$46;
|
|
13387
13587
|
})()));
|
|
13388
|
-
createRenderEffect(() => _el$
|
|
13389
|
-
return _el$
|
|
13588
|
+
createRenderEffect(() => _el$22.value = mutationSort());
|
|
13589
|
+
return _el$22;
|
|
13390
13590
|
}
|
|
13391
13591
|
}), null);
|
|
13392
|
-
insert(_el$
|
|
13393
|
-
_el$
|
|
13592
|
+
insert(_el$20, createComponent(ChevronDown, {}), null);
|
|
13593
|
+
_el$23.$$click = () => {
|
|
13394
13594
|
if (selectedView() === "queries") {
|
|
13395
13595
|
props.setLocalStore("sortOrder", String(sortOrder() * -1));
|
|
13396
13596
|
} else {
|
|
13397
13597
|
props.setLocalStore("mutationSortOrder", String(mutationSortOrder() * -1));
|
|
13398
13598
|
}
|
|
13399
13599
|
};
|
|
13400
|
-
insert(_el$
|
|
13600
|
+
insert(_el$23, createComponent(Show, {
|
|
13401
13601
|
get when() {
|
|
13402
13602
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
13403
13603
|
},
|
|
@@ -13405,7 +13605,7 @@ var init_Devtools = __esm({
|
|
|
13405
13605
|
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
13406
13606
|
}
|
|
13407
13607
|
}), null);
|
|
13408
|
-
insert(_el$
|
|
13608
|
+
insert(_el$23, createComponent(Show, {
|
|
13409
13609
|
get when() {
|
|
13410
13610
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
13411
13611
|
},
|
|
@@ -13413,15 +13613,15 @@ var init_Devtools = __esm({
|
|
|
13413
13613
|
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
13414
13614
|
}
|
|
13415
13615
|
}), null);
|
|
13416
|
-
_el$
|
|
13616
|
+
_el$27.$$click = () => {
|
|
13417
13617
|
if (selectedView() === "queries") {
|
|
13418
13618
|
query_cache().clear();
|
|
13419
13619
|
} else {
|
|
13420
13620
|
mutation_cache().clear();
|
|
13421
13621
|
}
|
|
13422
13622
|
};
|
|
13423
|
-
insert(_el$
|
|
13424
|
-
_el$
|
|
13623
|
+
insert(_el$27, createComponent(Trash, {}));
|
|
13624
|
+
_el$28.$$click = () => {
|
|
13425
13625
|
if (offline()) {
|
|
13426
13626
|
onlineManager().setOnline(true);
|
|
13427
13627
|
setOffline(false);
|
|
@@ -13430,11 +13630,25 @@ var init_Devtools = __esm({
|
|
|
13430
13630
|
setOffline(true);
|
|
13431
13631
|
}
|
|
13432
13632
|
};
|
|
13433
|
-
insert(_el$
|
|
13633
|
+
insert(_el$28, (() => {
|
|
13434
13634
|
const _c$ = createMemo(() => !!offline());
|
|
13435
13635
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
13436
13636
|
})());
|
|
13437
|
-
insert(_el$
|
|
13637
|
+
insert(_el$26, createComponent(Show, {
|
|
13638
|
+
get when() {
|
|
13639
|
+
return !pip().pipWindow;
|
|
13640
|
+
},
|
|
13641
|
+
get children() {
|
|
13642
|
+
const _el$29 = _tmpl$83();
|
|
13643
|
+
_el$29.$$click = () => {
|
|
13644
|
+
pip().requestPipWindow(Number(window.innerWidth), Number(props.localStore.height ?? 500));
|
|
13645
|
+
};
|
|
13646
|
+
insert(_el$29, createComponent(PiPIcon, {}));
|
|
13647
|
+
createRenderEffect(() => className(_el$29, clsx(styles().actionsBtn, "tsqd-actions-btn", "tsqd-action-open-pip")));
|
|
13648
|
+
return _el$29;
|
|
13649
|
+
}
|
|
13650
|
+
}), null);
|
|
13651
|
+
insert(_el$26, createComponent(index$f.Root, {
|
|
13438
13652
|
gutter: 4,
|
|
13439
13653
|
get children() {
|
|
13440
13654
|
return [createComponent(index$f.Trigger, {
|
|
@@ -13446,6 +13660,9 @@ var init_Devtools = __esm({
|
|
|
13446
13660
|
}
|
|
13447
13661
|
}), createComponent(index$f.Portal, {
|
|
13448
13662
|
ref: (el) => setComputedVariables(el),
|
|
13663
|
+
get mount() {
|
|
13664
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13665
|
+
},
|
|
13449
13666
|
get children() {
|
|
13450
13667
|
return createComponent(index$f.Content, {
|
|
13451
13668
|
get ["class"]() {
|
|
@@ -13453,9 +13670,9 @@ var init_Devtools = __esm({
|
|
|
13453
13670
|
},
|
|
13454
13671
|
get children() {
|
|
13455
13672
|
return [(() => {
|
|
13456
|
-
const _el$
|
|
13457
|
-
createRenderEffect(() => className(_el$
|
|
13458
|
-
return _el$
|
|
13673
|
+
const _el$30 = _tmpl$93();
|
|
13674
|
+
createRenderEffect(() => className(_el$30, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
13675
|
+
return _el$30;
|
|
13459
13676
|
})(), createComponent(index$f.Sub, {
|
|
13460
13677
|
overlap: true,
|
|
13461
13678
|
gutter: 8,
|
|
@@ -13466,10 +13683,13 @@ var init_Devtools = __esm({
|
|
|
13466
13683
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13467
13684
|
},
|
|
13468
13685
|
get children() {
|
|
13469
|
-
return [_tmpl$
|
|
13686
|
+
return [_tmpl$103(), createComponent(ChevronDown, {})];
|
|
13470
13687
|
}
|
|
13471
13688
|
}), createComponent(index$f.Portal, {
|
|
13472
13689
|
ref: (el) => setComputedVariables(el),
|
|
13690
|
+
get mount() {
|
|
13691
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13692
|
+
},
|
|
13473
13693
|
get children() {
|
|
13474
13694
|
return createComponent(index$f.SubContent, {
|
|
13475
13695
|
get ["class"]() {
|
|
@@ -13485,7 +13705,7 @@ var init_Devtools = __esm({
|
|
|
13485
13705
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13486
13706
|
},
|
|
13487
13707
|
get children() {
|
|
13488
|
-
return [_tmpl$
|
|
13708
|
+
return [_tmpl$113(), createComponent(ArrowUp, {})];
|
|
13489
13709
|
}
|
|
13490
13710
|
}), createComponent(index$f.Item, {
|
|
13491
13711
|
onSelect: () => {
|
|
@@ -13496,7 +13716,7 @@ var init_Devtools = __esm({
|
|
|
13496
13716
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13497
13717
|
},
|
|
13498
13718
|
get children() {
|
|
13499
|
-
return [_tmpl$
|
|
13719
|
+
return [_tmpl$122(), createComponent(ArrowDown, {})];
|
|
13500
13720
|
}
|
|
13501
13721
|
}), createComponent(index$f.Item, {
|
|
13502
13722
|
onSelect: () => {
|
|
@@ -13507,7 +13727,7 @@ var init_Devtools = __esm({
|
|
|
13507
13727
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13508
13728
|
},
|
|
13509
13729
|
get children() {
|
|
13510
|
-
return [_tmpl$
|
|
13730
|
+
return [_tmpl$132(), createComponent(ArrowLeft, {})];
|
|
13511
13731
|
}
|
|
13512
13732
|
}), createComponent(index$f.Item, {
|
|
13513
13733
|
onSelect: () => {
|
|
@@ -13518,7 +13738,7 @@ var init_Devtools = __esm({
|
|
|
13518
13738
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
13519
13739
|
},
|
|
13520
13740
|
get children() {
|
|
13521
|
-
return [_tmpl$
|
|
13741
|
+
return [_tmpl$142(), createComponent(ArrowRight, {})];
|
|
13522
13742
|
}
|
|
13523
13743
|
})];
|
|
13524
13744
|
}
|
|
@@ -13536,10 +13756,13 @@ var init_Devtools = __esm({
|
|
|
13536
13756
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13537
13757
|
},
|
|
13538
13758
|
get children() {
|
|
13539
|
-
return [_tmpl$
|
|
13759
|
+
return [_tmpl$152(), createComponent(ChevronDown, {})];
|
|
13540
13760
|
}
|
|
13541
13761
|
}), createComponent(index$f.Portal, {
|
|
13542
13762
|
ref: (el) => setComputedVariables(el),
|
|
13763
|
+
get mount() {
|
|
13764
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13765
|
+
},
|
|
13543
13766
|
get children() {
|
|
13544
13767
|
return createComponent(index$f.SubContent, {
|
|
13545
13768
|
get ["class"]() {
|
|
@@ -13555,7 +13778,7 @@ var init_Devtools = __esm({
|
|
|
13555
13778
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13556
13779
|
},
|
|
13557
13780
|
get children() {
|
|
13558
|
-
return [_tmpl$
|
|
13781
|
+
return [_tmpl$162(), createComponent(Sun, {})];
|
|
13559
13782
|
}
|
|
13560
13783
|
}), createComponent(index$f.Item, {
|
|
13561
13784
|
onSelect: () => {
|
|
@@ -13566,7 +13789,7 @@ var init_Devtools = __esm({
|
|
|
13566
13789
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13567
13790
|
},
|
|
13568
13791
|
get children() {
|
|
13569
|
-
return [_tmpl$
|
|
13792
|
+
return [_tmpl$172(), createComponent(Moon, {})];
|
|
13570
13793
|
}
|
|
13571
13794
|
}), createComponent(index$f.Item, {
|
|
13572
13795
|
onSelect: () => {
|
|
@@ -13577,7 +13800,7 @@ var init_Devtools = __esm({
|
|
|
13577
13800
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13578
13801
|
},
|
|
13579
13802
|
get children() {
|
|
13580
|
-
return [_tmpl$
|
|
13803
|
+
return [_tmpl$182(), createComponent(Monitor, {})];
|
|
13581
13804
|
}
|
|
13582
13805
|
})];
|
|
13583
13806
|
}
|
|
@@ -13592,13 +13815,13 @@ var init_Devtools = __esm({
|
|
|
13592
13815
|
})];
|
|
13593
13816
|
}
|
|
13594
13817
|
}), null);
|
|
13595
|
-
insert(_el$
|
|
13818
|
+
insert(_el$9, createComponent(Show, {
|
|
13596
13819
|
get when() {
|
|
13597
13820
|
return selectedView() === "queries";
|
|
13598
13821
|
},
|
|
13599
13822
|
get children() {
|
|
13600
|
-
const _el$
|
|
13601
|
-
insert(_el$
|
|
13823
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
13824
|
+
insert(_el$41, createComponent(Key, {
|
|
13602
13825
|
by: (q) => q.queryHash,
|
|
13603
13826
|
get each() {
|
|
13604
13827
|
return queries();
|
|
@@ -13609,17 +13832,17 @@ var init_Devtools = __esm({
|
|
|
13609
13832
|
}
|
|
13610
13833
|
})
|
|
13611
13834
|
}));
|
|
13612
|
-
createRenderEffect(() => className(_el$
|
|
13613
|
-
return _el$
|
|
13835
|
+
createRenderEffect(() => className(_el$40, clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container")));
|
|
13836
|
+
return _el$40;
|
|
13614
13837
|
}
|
|
13615
13838
|
}), null);
|
|
13616
|
-
insert(_el$
|
|
13839
|
+
insert(_el$9, createComponent(Show, {
|
|
13617
13840
|
get when() {
|
|
13618
13841
|
return selectedView() === "mutations";
|
|
13619
13842
|
},
|
|
13620
13843
|
get children() {
|
|
13621
|
-
const _el$
|
|
13622
|
-
insert(_el$
|
|
13844
|
+
const _el$42 = _tmpl$202(), _el$43 = _el$42.firstChild;
|
|
13845
|
+
insert(_el$43, createComponent(Key, {
|
|
13623
13846
|
by: (m) => m.mutationId,
|
|
13624
13847
|
get each() {
|
|
13625
13848
|
return mutations();
|
|
@@ -13630,8 +13853,8 @@ var init_Devtools = __esm({
|
|
|
13630
13853
|
}
|
|
13631
13854
|
})
|
|
13632
13855
|
}));
|
|
13633
|
-
createRenderEffect(() => className(_el$
|
|
13634
|
-
return _el$
|
|
13856
|
+
createRenderEffect(() => className(_el$42, clsx(styles().overflowQueryContainer, "tsqd-mutations-overflow-container")));
|
|
13857
|
+
return _el$42;
|
|
13635
13858
|
}
|
|
13636
13859
|
}), null);
|
|
13637
13860
|
createRenderEffect((_p$) => {
|
|
@@ -13641,26 +13864,27 @@ var init_Devtools = __esm({
|
|
|
13641
13864
|
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
13642
13865
|
height: 100%;
|
|
13643
13866
|
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$
|
|
13867
|
+
`, "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"}`;
|
|
13868
|
+
_v$6 !== _p$._v$6 && className(_el$9, _p$._v$6 = _v$6);
|
|
13869
|
+
_v$7 !== _p$._v$7 && className(_el$10, _p$._v$7 = _v$7);
|
|
13870
|
+
_v$8 !== _p$._v$8 && className(_el$11, _p$._v$8 = _v$8);
|
|
13871
|
+
_v$9 !== _p$._v$9 && className(_el$12, _p$._v$9 = _v$9);
|
|
13872
|
+
_v$10 !== _p$._v$10 && className(_el$13, _p$._v$10 = _v$10);
|
|
13873
|
+
_v$11 !== _p$._v$11 && className(_el$14, _p$._v$11 = _v$11);
|
|
13874
|
+
_v$12 !== _p$._v$12 && className(_el$16, _p$._v$12 = _v$12);
|
|
13875
|
+
_v$13 !== _p$._v$13 && className(_el$17, _p$._v$13 = _v$13);
|
|
13876
|
+
_v$14 !== _p$._v$14 && className(_el$18, _p$._v$14 = _v$14);
|
|
13654
13877
|
_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 &&
|
|
13878
|
+
_v$16 !== _p$._v$16 && className(_el$20, _p$._v$16 = _v$16);
|
|
13879
|
+
_v$17 !== _p$._v$17 && setAttribute(_el$23, "aria-label", _p$._v$17 = _v$17);
|
|
13880
|
+
_v$18 !== _p$._v$18 && setAttribute(_el$23, "aria-pressed", _p$._v$18 = _v$18);
|
|
13658
13881
|
_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$
|
|
13882
|
+
_v$20 !== _p$._v$20 && className(_el$27, _p$._v$20 = _v$20);
|
|
13883
|
+
_v$21 !== _p$._v$21 && setAttribute(_el$27, "title", _p$._v$21 = _v$21);
|
|
13884
|
+
_v$22 !== _p$._v$22 && className(_el$28, _p$._v$22 = _v$22);
|
|
13885
|
+
_v$23 !== _p$._v$23 && setAttribute(_el$28, "aria-label", _p$._v$23 = _v$23);
|
|
13886
|
+
_v$24 !== _p$._v$24 && setAttribute(_el$28, "aria-pressed", _p$._v$24 = _v$24);
|
|
13887
|
+
_v$25 !== _p$._v$25 && setAttribute(_el$28, "title", _p$._v$25 = _v$25);
|
|
13664
13888
|
return _p$;
|
|
13665
13889
|
}, {
|
|
13666
13890
|
_v$6: void 0,
|
|
@@ -13681,10 +13905,11 @@ var init_Devtools = __esm({
|
|
|
13681
13905
|
_v$21: void 0,
|
|
13682
13906
|
_v$22: void 0,
|
|
13683
13907
|
_v$23: void 0,
|
|
13684
|
-
_v$24: void 0
|
|
13908
|
+
_v$24: void 0,
|
|
13909
|
+
_v$25: void 0
|
|
13685
13910
|
});
|
|
13686
|
-
createRenderEffect(() => _el$
|
|
13687
|
-
return _el$
|
|
13911
|
+
createRenderEffect(() => _el$19.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
13912
|
+
return _el$9;
|
|
13688
13913
|
})(), createComponent(Show, {
|
|
13689
13914
|
get when() {
|
|
13690
13915
|
return createMemo(() => selectedView() === "queries")() && selectedQueryHash();
|
|
@@ -13745,30 +13970,30 @@ var init_Devtools = __esm({
|
|
|
13745
13970
|
return queryState();
|
|
13746
13971
|
},
|
|
13747
13972
|
get children() {
|
|
13748
|
-
const _el$
|
|
13749
|
-
_el$
|
|
13750
|
-
insert(_el$
|
|
13751
|
-
insert(_el$
|
|
13752
|
-
insert(_el$
|
|
13973
|
+
const _el$48 = _tmpl$242(), _el$49 = _el$48.firstChild, _el$50 = _el$49.nextSibling;
|
|
13974
|
+
_el$48.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
13975
|
+
insert(_el$49, observers);
|
|
13976
|
+
insert(_el$50, () => props.query.queryHash);
|
|
13977
|
+
insert(_el$48, createComponent(Show, {
|
|
13753
13978
|
get when() {
|
|
13754
13979
|
return isDisabled();
|
|
13755
13980
|
},
|
|
13756
13981
|
get children() {
|
|
13757
|
-
return _tmpl$
|
|
13982
|
+
return _tmpl$232();
|
|
13758
13983
|
}
|
|
13759
13984
|
}), null);
|
|
13760
13985
|
createRenderEffect((_p$) => {
|
|
13761
|
-
const _v$
|
|
13762
|
-
_v$
|
|
13763
|
-
_v$
|
|
13764
|
-
_v$
|
|
13986
|
+
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");
|
|
13987
|
+
_v$26 !== _p$._v$26 && className(_el$48, _p$._v$26 = _v$26);
|
|
13988
|
+
_v$27 !== _p$._v$27 && setAttribute(_el$48, "aria-label", _p$._v$27 = _v$27);
|
|
13989
|
+
_v$28 !== _p$._v$28 && className(_el$49, _p$._v$28 = _v$28);
|
|
13765
13990
|
return _p$;
|
|
13766
13991
|
}, {
|
|
13767
|
-
_v$25: void 0,
|
|
13768
13992
|
_v$26: void 0,
|
|
13769
|
-
_v$27: void 0
|
|
13993
|
+
_v$27: void 0,
|
|
13994
|
+
_v$28: void 0
|
|
13770
13995
|
});
|
|
13771
|
-
return _el$
|
|
13996
|
+
return _el$48;
|
|
13772
13997
|
}
|
|
13773
13998
|
});
|
|
13774
13999
|
};
|
|
@@ -13822,11 +14047,11 @@ var init_Devtools = __esm({
|
|
|
13822
14047
|
return mutationState();
|
|
13823
14048
|
},
|
|
13824
14049
|
get children() {
|
|
13825
|
-
const _el$
|
|
13826
|
-
_el$
|
|
14050
|
+
const _el$52 = _tmpl$242(), _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling;
|
|
14051
|
+
_el$52.$$click = () => {
|
|
13827
14052
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
13828
14053
|
};
|
|
13829
|
-
insert(_el$
|
|
14054
|
+
insert(_el$53, createComponent(Show, {
|
|
13830
14055
|
get when() {
|
|
13831
14056
|
return color() === "purple";
|
|
13832
14057
|
},
|
|
@@ -13834,7 +14059,7 @@ var init_Devtools = __esm({
|
|
|
13834
14059
|
return createComponent(PauseCircle, {});
|
|
13835
14060
|
}
|
|
13836
14061
|
}), null);
|
|
13837
|
-
insert(_el$
|
|
14062
|
+
insert(_el$53, createComponent(Show, {
|
|
13838
14063
|
get when() {
|
|
13839
14064
|
return color() === "green";
|
|
13840
14065
|
},
|
|
@@ -13842,7 +14067,7 @@ var init_Devtools = __esm({
|
|
|
13842
14067
|
return createComponent(CheckCircle, {});
|
|
13843
14068
|
}
|
|
13844
14069
|
}), null);
|
|
13845
|
-
insert(_el$
|
|
14070
|
+
insert(_el$53, createComponent(Show, {
|
|
13846
14071
|
get when() {
|
|
13847
14072
|
return color() === "red";
|
|
13848
14073
|
},
|
|
@@ -13850,7 +14075,7 @@ var init_Devtools = __esm({
|
|
|
13850
14075
|
return createComponent(XCircle, {});
|
|
13851
14076
|
}
|
|
13852
14077
|
}), null);
|
|
13853
|
-
insert(_el$
|
|
14078
|
+
insert(_el$53, createComponent(Show, {
|
|
13854
14079
|
get when() {
|
|
13855
14080
|
return color() === "yellow";
|
|
13856
14081
|
},
|
|
@@ -13858,7 +14083,7 @@ var init_Devtools = __esm({
|
|
|
13858
14083
|
return createComponent(LoadingCircle, {});
|
|
13859
14084
|
}
|
|
13860
14085
|
}), null);
|
|
13861
|
-
insert(_el$
|
|
14086
|
+
insert(_el$54, createComponent(Show, {
|
|
13862
14087
|
get when() {
|
|
13863
14088
|
return props.mutation.options.mutationKey;
|
|
13864
14089
|
},
|
|
@@ -13866,19 +14091,19 @@ var init_Devtools = __esm({
|
|
|
13866
14091
|
return [createMemo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
13867
14092
|
}
|
|
13868
14093
|
}), null);
|
|
13869
|
-
insert(_el$
|
|
14094
|
+
insert(_el$54, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
13870
14095
|
createRenderEffect((_p$) => {
|
|
13871
|
-
const _v$
|
|
13872
|
-
_v$
|
|
13873
|
-
_v$
|
|
13874
|
-
_v$
|
|
14096
|
+
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");
|
|
14097
|
+
_v$29 !== _p$._v$29 && className(_el$52, _p$._v$29 = _v$29);
|
|
14098
|
+
_v$30 !== _p$._v$30 && setAttribute(_el$52, "aria-label", _p$._v$30 = _v$30);
|
|
14099
|
+
_v$31 !== _p$._v$31 && className(_el$53, _p$._v$31 = _v$31);
|
|
13875
14100
|
return _p$;
|
|
13876
14101
|
}, {
|
|
13877
|
-
_v$28: void 0,
|
|
13878
14102
|
_v$29: void 0,
|
|
13879
|
-
_v$30: void 0
|
|
14103
|
+
_v$30: void 0,
|
|
14104
|
+
_v$31: void 0
|
|
13880
14105
|
});
|
|
13881
|
-
return _el$
|
|
14106
|
+
return _el$52;
|
|
13882
14107
|
}
|
|
13883
14108
|
});
|
|
13884
14109
|
};
|
|
@@ -13893,44 +14118,44 @@ var init_Devtools = __esm({
|
|
|
13893
14118
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13894
14119
|
});
|
|
13895
14120
|
return (() => {
|
|
13896
|
-
const _el$
|
|
13897
|
-
insert(_el$
|
|
14121
|
+
const _el$55 = _tmpl$26();
|
|
14122
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13898
14123
|
label: "Fresh",
|
|
13899
14124
|
color: "green",
|
|
13900
14125
|
get count() {
|
|
13901
14126
|
return fresh();
|
|
13902
14127
|
}
|
|
13903
14128
|
}), null);
|
|
13904
|
-
insert(_el$
|
|
14129
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13905
14130
|
label: "Fetching",
|
|
13906
14131
|
color: "blue",
|
|
13907
14132
|
get count() {
|
|
13908
14133
|
return fetching();
|
|
13909
14134
|
}
|
|
13910
14135
|
}), null);
|
|
13911
|
-
insert(_el$
|
|
14136
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13912
14137
|
label: "Paused",
|
|
13913
14138
|
color: "purple",
|
|
13914
14139
|
get count() {
|
|
13915
14140
|
return paused();
|
|
13916
14141
|
}
|
|
13917
14142
|
}), null);
|
|
13918
|
-
insert(_el$
|
|
14143
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13919
14144
|
label: "Stale",
|
|
13920
14145
|
color: "yellow",
|
|
13921
14146
|
get count() {
|
|
13922
14147
|
return stale();
|
|
13923
14148
|
}
|
|
13924
14149
|
}), null);
|
|
13925
|
-
insert(_el$
|
|
14150
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13926
14151
|
label: "Inactive",
|
|
13927
14152
|
color: "gray",
|
|
13928
14153
|
get count() {
|
|
13929
14154
|
return inactive();
|
|
13930
14155
|
}
|
|
13931
14156
|
}), null);
|
|
13932
|
-
createRenderEffect(() => className(_el$
|
|
13933
|
-
return _el$
|
|
14157
|
+
createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14158
|
+
return _el$55;
|
|
13934
14159
|
})();
|
|
13935
14160
|
};
|
|
13936
14161
|
MutationStatusCount = () => {
|
|
@@ -13955,37 +14180,37 @@ var init_Devtools = __esm({
|
|
|
13955
14180
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13956
14181
|
});
|
|
13957
14182
|
return (() => {
|
|
13958
|
-
const _el$
|
|
13959
|
-
insert(_el$
|
|
14183
|
+
const _el$56 = _tmpl$26();
|
|
14184
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13960
14185
|
label: "Paused",
|
|
13961
14186
|
color: "purple",
|
|
13962
14187
|
get count() {
|
|
13963
14188
|
return paused();
|
|
13964
14189
|
}
|
|
13965
14190
|
}), null);
|
|
13966
|
-
insert(_el$
|
|
14191
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13967
14192
|
label: "Pending",
|
|
13968
14193
|
color: "yellow",
|
|
13969
14194
|
get count() {
|
|
13970
14195
|
return pending();
|
|
13971
14196
|
}
|
|
13972
14197
|
}), null);
|
|
13973
|
-
insert(_el$
|
|
14198
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13974
14199
|
label: "Success",
|
|
13975
14200
|
color: "green",
|
|
13976
14201
|
get count() {
|
|
13977
14202
|
return success();
|
|
13978
14203
|
}
|
|
13979
14204
|
}), null);
|
|
13980
|
-
insert(_el$
|
|
14205
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13981
14206
|
label: "Error",
|
|
13982
14207
|
color: "red",
|
|
13983
14208
|
get count() {
|
|
13984
14209
|
return error();
|
|
13985
14210
|
}
|
|
13986
14211
|
}), null);
|
|
13987
|
-
createRenderEffect(() => className(_el$
|
|
13988
|
-
return _el$
|
|
14212
|
+
createRenderEffect(() => className(_el$56, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14213
|
+
return _el$56;
|
|
13989
14214
|
})();
|
|
13990
14215
|
};
|
|
13991
14216
|
QueryStatus = (props) => {
|
|
@@ -14013,17 +14238,17 @@ var init_Devtools = __esm({
|
|
|
14013
14238
|
return true;
|
|
14014
14239
|
});
|
|
14015
14240
|
return (() => {
|
|
14016
|
-
const _el$
|
|
14241
|
+
const _el$57 = _tmpl$27(), _el$59 = _el$57.firstChild, _el$61 = _el$59.nextSibling;
|
|
14017
14242
|
const _ref$4 = tagRef;
|
|
14018
|
-
typeof _ref$4 === "function" ? use(_ref$4, _el$
|
|
14019
|
-
_el$
|
|
14243
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$57) : tagRef = _el$57;
|
|
14244
|
+
_el$57.addEventListener("mouseleave", () => {
|
|
14020
14245
|
setMouseOver(false);
|
|
14021
14246
|
setFocused(false);
|
|
14022
14247
|
});
|
|
14023
|
-
_el$
|
|
14024
|
-
_el$
|
|
14025
|
-
_el$
|
|
14026
|
-
spread(_el$
|
|
14248
|
+
_el$57.addEventListener("mouseenter", () => setMouseOver(true));
|
|
14249
|
+
_el$57.addEventListener("blur", () => setFocused(false));
|
|
14250
|
+
_el$57.addEventListener("focus", () => setFocused(true));
|
|
14251
|
+
spread(_el$57, mergeProps({
|
|
14027
14252
|
get disabled() {
|
|
14028
14253
|
return showLabel();
|
|
14029
14254
|
},
|
|
@@ -14038,47 +14263,47 @@ var init_Devtools = __esm({
|
|
|
14038
14263
|
}, () => mouseOver() || focused() ? {
|
|
14039
14264
|
"aria-describedby": "tsqd-status-tooltip"
|
|
14040
14265
|
} : {}), false, true);
|
|
14041
|
-
insert(_el$
|
|
14266
|
+
insert(_el$57, createComponent(Show, {
|
|
14042
14267
|
get when() {
|
|
14043
14268
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14044
14269
|
},
|
|
14045
14270
|
get children() {
|
|
14046
|
-
const _el$
|
|
14047
|
-
insert(_el$
|
|
14048
|
-
createRenderEffect(() => className(_el$
|
|
14049
|
-
return _el$
|
|
14271
|
+
const _el$58 = _tmpl$252();
|
|
14272
|
+
insert(_el$58, () => props.label);
|
|
14273
|
+
createRenderEffect(() => className(_el$58, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
14274
|
+
return _el$58;
|
|
14050
14275
|
}
|
|
14051
|
-
}), _el$
|
|
14052
|
-
insert(_el$
|
|
14276
|
+
}), _el$59);
|
|
14277
|
+
insert(_el$57, createComponent(Show, {
|
|
14053
14278
|
get when() {
|
|
14054
14279
|
return showLabel();
|
|
14055
14280
|
},
|
|
14056
14281
|
get children() {
|
|
14057
|
-
const _el$
|
|
14058
|
-
insert(_el$
|
|
14059
|
-
createRenderEffect(() => className(_el$
|
|
14060
|
-
return _el$
|
|
14282
|
+
const _el$60 = _tmpl$262();
|
|
14283
|
+
insert(_el$60, () => props.label);
|
|
14284
|
+
createRenderEffect(() => className(_el$60, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
14285
|
+
return _el$60;
|
|
14061
14286
|
}
|
|
14062
|
-
}), _el$
|
|
14063
|
-
insert(_el$
|
|
14287
|
+
}), _el$61);
|
|
14288
|
+
insert(_el$61, () => props.count);
|
|
14064
14289
|
createRenderEffect((_p$) => {
|
|
14065
|
-
const _v$
|
|
14290
|
+
const _v$32 = clsx(u`
|
|
14066
14291
|
width: ${tokens.size[1.5]};
|
|
14067
14292
|
height: ${tokens.size[1.5]};
|
|
14068
14293
|
border-radius: ${tokens.border.radius.full};
|
|
14069
14294
|
background-color: ${tokens.colors[props.color][500]};
|
|
14070
|
-
`, "tsqd-query-status-tag-dot"), _v$
|
|
14295
|
+
`, "tsqd-query-status-tag-dot"), _v$33 = clsx(styles().queryStatusCount, props.count > 0 && props.color !== "gray" && u`
|
|
14071
14296
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
14072
14297
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
14073
14298
|
`, "tsqd-query-status-tag-count");
|
|
14074
|
-
_v$31 !== _p$._v$31 && className(_el$57, _p$._v$31 = _v$31);
|
|
14075
14299
|
_v$32 !== _p$._v$32 && className(_el$59, _p$._v$32 = _v$32);
|
|
14300
|
+
_v$33 !== _p$._v$33 && className(_el$61, _p$._v$33 = _v$33);
|
|
14076
14301
|
return _p$;
|
|
14077
14302
|
}, {
|
|
14078
|
-
_v$
|
|
14079
|
-
_v$
|
|
14303
|
+
_v$32: void 0,
|
|
14304
|
+
_v$33: void 0
|
|
14080
14305
|
});
|
|
14081
|
-
return _el$
|
|
14306
|
+
return _el$57;
|
|
14082
14307
|
})();
|
|
14083
14308
|
};
|
|
14084
14309
|
QueryDetails = () => {
|
|
@@ -14164,19 +14389,19 @@ var init_Devtools = __esm({
|
|
|
14164
14389
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
14165
14390
|
},
|
|
14166
14391
|
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$
|
|
14392
|
+
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;
|
|
14393
|
+
insert(_el$67, () => displayValue(activeQuery().queryKey, true));
|
|
14394
|
+
insert(_el$68, statusLabel);
|
|
14395
|
+
insert(_el$71, observerCount);
|
|
14396
|
+
insert(_el$74, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
14397
|
+
_el$77.$$click = handleRefetch;
|
|
14398
|
+
_el$79.$$click = () => queryClient.invalidateQueries(activeQuery());
|
|
14399
|
+
_el$81.$$click = () => queryClient.resetQueries(activeQuery());
|
|
14400
|
+
_el$83.$$click = () => {
|
|
14176
14401
|
queryClient.removeQueries(activeQuery());
|
|
14177
14402
|
setSelectedQueryHash(null);
|
|
14178
14403
|
};
|
|
14179
|
-
_el$
|
|
14404
|
+
_el$85.$$click = () => {
|
|
14180
14405
|
if (activeQuery()?.state.data === void 0) {
|
|
14181
14406
|
setRestoringLoading(true);
|
|
14182
14407
|
restoreQueryAfterLoadingOrError();
|
|
@@ -14203,78 +14428,78 @@ var init_Devtools = __esm({
|
|
|
14203
14428
|
});
|
|
14204
14429
|
}
|
|
14205
14430
|
};
|
|
14206
|
-
insert(_el$
|
|
14207
|
-
insert(_el$
|
|
14431
|
+
insert(_el$85, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$87);
|
|
14432
|
+
insert(_el$76, createComponent(Show, {
|
|
14208
14433
|
get when() {
|
|
14209
14434
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14210
14435
|
},
|
|
14211
14436
|
get children() {
|
|
14212
|
-
const _el$
|
|
14213
|
-
_el$
|
|
14437
|
+
const _el$88 = _tmpl$28(), _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling;
|
|
14438
|
+
_el$88.$$click = () => {
|
|
14214
14439
|
if (!activeQuery().state.error) {
|
|
14215
14440
|
triggerError();
|
|
14216
14441
|
} else {
|
|
14217
14442
|
queryClient.resetQueries(activeQuery());
|
|
14218
14443
|
}
|
|
14219
14444
|
};
|
|
14220
|
-
insert(_el$
|
|
14445
|
+
insert(_el$88, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$90);
|
|
14221
14446
|
createRenderEffect((_p$) => {
|
|
14222
|
-
const _v$
|
|
14447
|
+
const _v$34 = clsx(u`
|
|
14223
14448
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
14224
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$
|
|
14449
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$35 = queryStatus() === "pending", _v$36 = u`
|
|
14225
14450
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
14226
14451
|
`;
|
|
14227
|
-
_v$
|
|
14228
|
-
_v$
|
|
14229
|
-
_v$
|
|
14452
|
+
_v$34 !== _p$._v$34 && className(_el$88, _p$._v$34 = _v$34);
|
|
14453
|
+
_v$35 !== _p$._v$35 && (_el$88.disabled = _p$._v$35 = _v$35);
|
|
14454
|
+
_v$36 !== _p$._v$36 && className(_el$89, _p$._v$36 = _v$36);
|
|
14230
14455
|
return _p$;
|
|
14231
14456
|
}, {
|
|
14232
|
-
_v$33: void 0,
|
|
14233
14457
|
_v$34: void 0,
|
|
14234
|
-
_v$35: void 0
|
|
14458
|
+
_v$35: void 0,
|
|
14459
|
+
_v$36: void 0
|
|
14235
14460
|
});
|
|
14236
|
-
return _el$
|
|
14461
|
+
return _el$88;
|
|
14237
14462
|
}
|
|
14238
14463
|
}), null);
|
|
14239
|
-
insert(_el$
|
|
14464
|
+
insert(_el$76, createComponent(Show, {
|
|
14240
14465
|
get when() {
|
|
14241
14466
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14242
14467
|
},
|
|
14243
14468
|
get children() {
|
|
14244
|
-
const _el$
|
|
14245
|
-
_el$
|
|
14469
|
+
const _el$91 = _tmpl$29(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling, _el$94 = _el$93.nextSibling; _el$94.firstChild;
|
|
14470
|
+
_el$94.addEventListener("change", (e2) => {
|
|
14246
14471
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14247
14472
|
triggerError(errorType);
|
|
14248
14473
|
});
|
|
14249
|
-
insert(_el$
|
|
14474
|
+
insert(_el$94, createComponent(For, {
|
|
14250
14475
|
get each() {
|
|
14251
14476
|
return errorTypes();
|
|
14252
14477
|
},
|
|
14253
14478
|
children: (errorType) => (() => {
|
|
14254
|
-
const _el$
|
|
14255
|
-
insert(_el$
|
|
14256
|
-
createRenderEffect(() => _el$
|
|
14257
|
-
return _el$
|
|
14479
|
+
const _el$100 = _tmpl$31();
|
|
14480
|
+
insert(_el$100, () => errorType.name);
|
|
14481
|
+
createRenderEffect(() => _el$100.value = errorType.name);
|
|
14482
|
+
return _el$100;
|
|
14258
14483
|
})()
|
|
14259
14484
|
}), null);
|
|
14260
|
-
insert(_el$
|
|
14485
|
+
insert(_el$91, createComponent(ChevronDown, {}), null);
|
|
14261
14486
|
createRenderEffect((_p$) => {
|
|
14262
|
-
const _v$
|
|
14487
|
+
const _v$37 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$38 = u`
|
|
14263
14488
|
background-color: ${tokens.colors.red[400]};
|
|
14264
|
-
`, _v$
|
|
14265
|
-
_v$
|
|
14266
|
-
_v$
|
|
14267
|
-
_v$
|
|
14489
|
+
`, _v$39 = queryStatus() === "pending";
|
|
14490
|
+
_v$37 !== _p$._v$37 && className(_el$91, _p$._v$37 = _v$37);
|
|
14491
|
+
_v$38 !== _p$._v$38 && className(_el$92, _p$._v$38 = _v$38);
|
|
14492
|
+
_v$39 !== _p$._v$39 && (_el$94.disabled = _p$._v$39 = _v$39);
|
|
14268
14493
|
return _p$;
|
|
14269
14494
|
}, {
|
|
14270
|
-
_v$36: void 0,
|
|
14271
14495
|
_v$37: void 0,
|
|
14272
|
-
_v$38: void 0
|
|
14496
|
+
_v$38: void 0,
|
|
14497
|
+
_v$39: void 0
|
|
14273
14498
|
});
|
|
14274
|
-
return _el$
|
|
14499
|
+
return _el$91;
|
|
14275
14500
|
}
|
|
14276
14501
|
}), null);
|
|
14277
|
-
insert(_el$
|
|
14502
|
+
insert(_el$97, createComponent(Explorer, {
|
|
14278
14503
|
label: "Data",
|
|
14279
14504
|
defaultExpanded: ["Data"],
|
|
14280
14505
|
get value() {
|
|
@@ -14285,7 +14510,7 @@ var init_Devtools = __esm({
|
|
|
14285
14510
|
return activeQuery();
|
|
14286
14511
|
}
|
|
14287
14512
|
}));
|
|
14288
|
-
insert(_el$
|
|
14513
|
+
insert(_el$99, createComponent(Explorer, {
|
|
14289
14514
|
label: "Query",
|
|
14290
14515
|
defaultExpanded: ["Query", "queryKey"],
|
|
14291
14516
|
get value() {
|
|
@@ -14293,55 +14518,54 @@ var init_Devtools = __esm({
|
|
|
14293
14518
|
}
|
|
14294
14519
|
}));
|
|
14295
14520
|
createRenderEffect((_p$) => {
|
|
14296
|
-
const _v$
|
|
14521
|
+
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
14522
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14298
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$
|
|
14523
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$47 = statusLabel() === "fetching", _v$48 = u`
|
|
14299
14524
|
background-color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14300
|
-
`, _v$
|
|
14525
|
+
`, _v$49 = clsx(u`
|
|
14301
14526
|
color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14302
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$
|
|
14527
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$50 = queryStatus() === "pending", _v$51 = u`
|
|
14303
14528
|
background-color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14304
|
-
`, _v$
|
|
14529
|
+
`, _v$52 = clsx(u`
|
|
14305
14530
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
14306
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$
|
|
14531
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$53 = queryStatus() === "pending", _v$54 = u`
|
|
14307
14532
|
background-color: ${t2(colors.gray[600], colors.gray[400])};
|
|
14308
|
-
`, _v$
|
|
14533
|
+
`, _v$55 = clsx(u`
|
|
14309
14534
|
color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14310
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$
|
|
14535
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$56 = statusLabel() === "fetching", _v$57 = u`
|
|
14311
14536
|
background-color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14312
|
-
`, _v$
|
|
14537
|
+
`, _v$58 = clsx(u`
|
|
14313
14538
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14314
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$
|
|
14539
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$59 = restoringLoading(), _v$60 = u`
|
|
14315
14540
|
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$
|
|
14541
|
+
`, _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];
|
|
14542
|
+
_v$40 !== _p$._v$40 && className(_el$62, _p$._v$40 = _v$40);
|
|
14543
|
+
_v$41 !== _p$._v$41 && className(_el$63, _p$._v$41 = _v$41);
|
|
14544
|
+
_v$42 !== _p$._v$42 && className(_el$64, _p$._v$42 = _v$42);
|
|
14545
|
+
_v$43 !== _p$._v$43 && className(_el$68, _p$._v$43 = _v$43);
|
|
14546
|
+
_v$44 !== _p$._v$44 && className(_el$75, _p$._v$44 = _v$44);
|
|
14547
|
+
_v$45 !== _p$._v$45 && className(_el$76, _p$._v$45 = _v$45);
|
|
14548
|
+
_v$46 !== _p$._v$46 && className(_el$77, _p$._v$46 = _v$46);
|
|
14549
|
+
_v$47 !== _p$._v$47 && (_el$77.disabled = _p$._v$47 = _v$47);
|
|
14550
|
+
_v$48 !== _p$._v$48 && className(_el$78, _p$._v$48 = _v$48);
|
|
14551
|
+
_v$49 !== _p$._v$49 && className(_el$79, _p$._v$49 = _v$49);
|
|
14552
|
+
_v$50 !== _p$._v$50 && (_el$79.disabled = _p$._v$50 = _v$50);
|
|
14553
|
+
_v$51 !== _p$._v$51 && className(_el$80, _p$._v$51 = _v$51);
|
|
14554
|
+
_v$52 !== _p$._v$52 && className(_el$81, _p$._v$52 = _v$52);
|
|
14555
|
+
_v$53 !== _p$._v$53 && (_el$81.disabled = _p$._v$53 = _v$53);
|
|
14556
|
+
_v$54 !== _p$._v$54 && className(_el$82, _p$._v$54 = _v$54);
|
|
14557
|
+
_v$55 !== _p$._v$55 && className(_el$83, _p$._v$55 = _v$55);
|
|
14558
|
+
_v$56 !== _p$._v$56 && (_el$83.disabled = _p$._v$56 = _v$56);
|
|
14559
|
+
_v$57 !== _p$._v$57 && className(_el$84, _p$._v$57 = _v$57);
|
|
14560
|
+
_v$58 !== _p$._v$58 && className(_el$85, _p$._v$58 = _v$58);
|
|
14561
|
+
_v$59 !== _p$._v$59 && (_el$85.disabled = _p$._v$59 = _v$59);
|
|
14562
|
+
_v$60 !== _p$._v$60 && className(_el$86, _p$._v$60 = _v$60);
|
|
14563
|
+
_v$61 !== _p$._v$61 && className(_el$96, _p$._v$61 = _v$61);
|
|
14564
|
+
_v$62 !== _p$._v$62 && ((_p$._v$62 = _v$62) != null ? _el$97.style.setProperty("padding", _v$62) : _el$97.style.removeProperty("padding"));
|
|
14565
|
+
_v$63 !== _p$._v$63 && className(_el$98, _p$._v$63 = _v$63);
|
|
14566
|
+
_v$64 !== _p$._v$64 && ((_p$._v$64 = _v$64) != null ? _el$99.style.setProperty("padding", _v$64) : _el$99.style.removeProperty("padding"));
|
|
14342
14567
|
return _p$;
|
|
14343
14568
|
}, {
|
|
14344
|
-
_v$39: void 0,
|
|
14345
14569
|
_v$40: void 0,
|
|
14346
14570
|
_v$41: void 0,
|
|
14347
14571
|
_v$42: void 0,
|
|
@@ -14365,9 +14589,10 @@ var init_Devtools = __esm({
|
|
|
14365
14589
|
_v$60: void 0,
|
|
14366
14590
|
_v$61: void 0,
|
|
14367
14591
|
_v$62: void 0,
|
|
14368
|
-
_v$63: void 0
|
|
14592
|
+
_v$63: void 0,
|
|
14593
|
+
_v$64: void 0
|
|
14369
14594
|
});
|
|
14370
|
-
return _el$
|
|
14595
|
+
return _el$62;
|
|
14371
14596
|
}
|
|
14372
14597
|
});
|
|
14373
14598
|
};
|
|
@@ -14418,8 +14643,8 @@ var init_Devtools = __esm({
|
|
|
14418
14643
|
return activeMutation();
|
|
14419
14644
|
},
|
|
14420
14645
|
get children() {
|
|
14421
|
-
const _el$
|
|
14422
|
-
insert(_el$
|
|
14646
|
+
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;
|
|
14647
|
+
insert(_el$106, createComponent(Show, {
|
|
14423
14648
|
get when() {
|
|
14424
14649
|
return activeMutation().options.mutationKey;
|
|
14425
14650
|
},
|
|
@@ -14428,13 +14653,13 @@ var init_Devtools = __esm({
|
|
|
14428
14653
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
14429
14654
|
}
|
|
14430
14655
|
}));
|
|
14431
|
-
insert(_el$
|
|
14656
|
+
insert(_el$107, createComponent(Show, {
|
|
14432
14657
|
get when() {
|
|
14433
14658
|
return color() === "purple";
|
|
14434
14659
|
},
|
|
14435
14660
|
children: "pending"
|
|
14436
14661
|
}), null);
|
|
14437
|
-
insert(_el$
|
|
14662
|
+
insert(_el$107, createComponent(Show, {
|
|
14438
14663
|
get when() {
|
|
14439
14664
|
return color() !== "purple";
|
|
14440
14665
|
},
|
|
@@ -14442,29 +14667,29 @@ var init_Devtools = __esm({
|
|
|
14442
14667
|
return status();
|
|
14443
14668
|
}
|
|
14444
14669
|
}), null);
|
|
14445
|
-
insert(_el$
|
|
14446
|
-
insert(_el$
|
|
14670
|
+
insert(_el$110, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14671
|
+
insert(_el$112, createComponent(Explorer, {
|
|
14447
14672
|
label: "Variables",
|
|
14448
14673
|
defaultExpanded: ["Variables"],
|
|
14449
14674
|
get value() {
|
|
14450
14675
|
return activeMutation().state.variables;
|
|
14451
14676
|
}
|
|
14452
14677
|
}));
|
|
14453
|
-
insert(_el$
|
|
14678
|
+
insert(_el$114, createComponent(Explorer, {
|
|
14454
14679
|
label: "Context",
|
|
14455
14680
|
defaultExpanded: ["Context"],
|
|
14456
14681
|
get value() {
|
|
14457
14682
|
return activeMutation().state.context;
|
|
14458
14683
|
}
|
|
14459
14684
|
}));
|
|
14460
|
-
insert(_el$
|
|
14685
|
+
insert(_el$116, createComponent(Explorer, {
|
|
14461
14686
|
label: "Data",
|
|
14462
14687
|
defaultExpanded: ["Data"],
|
|
14463
14688
|
get value() {
|
|
14464
14689
|
return activeMutation().state.data;
|
|
14465
14690
|
}
|
|
14466
14691
|
}));
|
|
14467
|
-
insert(_el$
|
|
14692
|
+
insert(_el$118, createComponent(Explorer, {
|
|
14468
14693
|
label: "Mutation",
|
|
14469
14694
|
defaultExpanded: ["Mutation"],
|
|
14470
14695
|
get value() {
|
|
@@ -14472,22 +14697,21 @@ var init_Devtools = __esm({
|
|
|
14472
14697
|
}
|
|
14473
14698
|
}));
|
|
14474
14699
|
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$
|
|
14700
|
+
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];
|
|
14701
|
+
_v$65 !== _p$._v$65 && className(_el$101, _p$._v$65 = _v$65);
|
|
14702
|
+
_v$66 !== _p$._v$66 && className(_el$102, _p$._v$66 = _v$66);
|
|
14703
|
+
_v$67 !== _p$._v$67 && className(_el$103, _p$._v$67 = _v$67);
|
|
14704
|
+
_v$68 !== _p$._v$68 && className(_el$107, _p$._v$68 = _v$68);
|
|
14705
|
+
_v$69 !== _p$._v$69 && className(_el$111, _p$._v$69 = _v$69);
|
|
14706
|
+
_v$70 !== _p$._v$70 && ((_p$._v$70 = _v$70) != null ? _el$112.style.setProperty("padding", _v$70) : _el$112.style.removeProperty("padding"));
|
|
14707
|
+
_v$71 !== _p$._v$71 && className(_el$113, _p$._v$71 = _v$71);
|
|
14708
|
+
_v$72 !== _p$._v$72 && ((_p$._v$72 = _v$72) != null ? _el$114.style.setProperty("padding", _v$72) : _el$114.style.removeProperty("padding"));
|
|
14709
|
+
_v$73 !== _p$._v$73 && className(_el$115, _p$._v$73 = _v$73);
|
|
14710
|
+
_v$74 !== _p$._v$74 && ((_p$._v$74 = _v$74) != null ? _el$116.style.setProperty("padding", _v$74) : _el$116.style.removeProperty("padding"));
|
|
14711
|
+
_v$75 !== _p$._v$75 && className(_el$117, _p$._v$75 = _v$75);
|
|
14712
|
+
_v$76 !== _p$._v$76 && ((_p$._v$76 = _v$76) != null ? _el$118.style.setProperty("padding", _v$76) : _el$118.style.removeProperty("padding"));
|
|
14488
14713
|
return _p$;
|
|
14489
14714
|
}, {
|
|
14490
|
-
_v$64: void 0,
|
|
14491
14715
|
_v$65: void 0,
|
|
14492
14716
|
_v$66: void 0,
|
|
14493
14717
|
_v$67: void 0,
|
|
@@ -14498,9 +14722,10 @@ var init_Devtools = __esm({
|
|
|
14498
14722
|
_v$72: void 0,
|
|
14499
14723
|
_v$73: void 0,
|
|
14500
14724
|
_v$74: void 0,
|
|
14501
|
-
_v$75: void 0
|
|
14725
|
+
_v$75: void 0,
|
|
14726
|
+
_v$76: void 0
|
|
14502
14727
|
});
|
|
14503
|
-
return _el$
|
|
14728
|
+
return _el$101;
|
|
14504
14729
|
}
|
|
14505
14730
|
});
|
|
14506
14731
|
};
|
|
@@ -15018,8 +15243,8 @@ var init_Devtools = __esm({
|
|
|
15018
15243
|
gap: ${tokens.size[2]};
|
|
15019
15244
|
& > button {
|
|
15020
15245
|
cursor: pointer;
|
|
15021
|
-
padding: ${tokens.size[0.5]} ${tokens.size[
|
|
15022
|
-
|
|
15246
|
+
padding: ${tokens.size[0.5]} ${tokens.size[1.5]} ${tokens.size[0.5]}
|
|
15247
|
+
${tokens.size[2]};
|
|
15023
15248
|
border-radius: ${tokens.border.radius.sm};
|
|
15024
15249
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
15025
15250
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|