@tanstack/query-devtools 5.21.3 → 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/{VAJS2OS4.jsx → 6EDF3GZQ.jsx} +281 -58
- package/build/Devtools/{PZY6I5TR.js → NXICSXP3.js} +676 -449
- package/build/Devtools/{SUV2KM2F.js → QUGYIDRL.js} +676 -449
- package/build/Devtools/{Z62CHOQ7.jsx → T73WTYCS.jsx} +281 -58
- package/build/dev.cjs +679 -451
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +679 -451
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +2 -2
- package/src/Devtools.tsx +364 -79
- package/src/Explorer.tsx +2 -1
- 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");
|
|
@@ -12741,7 +12745,8 @@ var init_Explorer = __esm({
|
|
|
12741
12745
|
entry: u`
|
|
12742
12746
|
& * {
|
|
12743
12747
|
font-size: ${font.size.xs};
|
|
12744
|
-
font-family:
|
|
12748
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
12749
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
12745
12750
|
}
|
|
12746
12751
|
position: relative;
|
|
12747
12752
|
outline: none;
|
|
@@ -12873,7 +12878,7 @@ var Devtools_exports = {};
|
|
|
12873
12878
|
__export(Devtools_exports, {
|
|
12874
12879
|
default: () => Devtools_default
|
|
12875
12880
|
});
|
|
12876
|
-
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;
|
|
12877
12882
|
var init_Devtools = __esm({
|
|
12878
12883
|
"src/Devtools.tsx"() {
|
|
12879
12884
|
init_web();
|
|
@@ -12896,42 +12901,44 @@ var init_Devtools = __esm({
|
|
|
12896
12901
|
init_dist7();
|
|
12897
12902
|
init_dist9();
|
|
12898
12903
|
init_esm2();
|
|
12904
|
+
init_web();
|
|
12899
12905
|
init_theme();
|
|
12900
12906
|
init_utils();
|
|
12901
12907
|
init_icons();
|
|
12902
12908
|
init_Explorer();
|
|
12903
12909
|
init_Context();
|
|
12904
|
-
_tmpl$
|
|
12905
|
-
_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>`);
|
|
12906
12912
|
_tmpl$33 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">`);
|
|
12907
12913
|
_tmpl$43 = /* @__PURE__ */ template(`<select name=tsqd-queries-filter-sort>`);
|
|
12908
12914
|
_tmpl$53 = /* @__PURE__ */ template(`<select name=tsqd-mutations-filter-sort>`);
|
|
12909
12915
|
_tmpl$63 = /* @__PURE__ */ template(`<span>Asc`);
|
|
12910
12916
|
_tmpl$73 = /* @__PURE__ */ template(`<span>Desc`);
|
|
12911
|
-
_tmpl$83 = /* @__PURE__ */ template(`<
|
|
12912
|
-
_tmpl$93 = /* @__PURE__ */ template(`<
|
|
12913
|
-
_tmpl$103 = /* @__PURE__ */ template(`<span>
|
|
12914
|
-
_tmpl$113 = /* @__PURE__ */ template(`<span>
|
|
12915
|
-
_tmpl$122 = /* @__PURE__ */ template(`<span>
|
|
12916
|
-
_tmpl$132 = /* @__PURE__ */ template(`<span>
|
|
12917
|
-
_tmpl$142 = /* @__PURE__ */ template(`<span>
|
|
12918
|
-
_tmpl$152 = /* @__PURE__ */ template(`<span>
|
|
12919
|
-
_tmpl$162 = /* @__PURE__ */ template(`<span>
|
|
12920
|
-
_tmpl$172 = /* @__PURE__ */ template(`<span>
|
|
12921
|
-
_tmpl$182 = /* @__PURE__ */ template(`<
|
|
12922
|
-
_tmpl$192 = /* @__PURE__ */ template(`<div><div class=tsqd-
|
|
12923
|
-
_tmpl$202 = /* @__PURE__ */ template(`<div><div
|
|
12924
|
-
_tmpl$212 = /* @__PURE__ */ template(`<
|
|
12925
|
-
_tmpl$222 = /* @__PURE__ */ template(`<
|
|
12926
|
-
_tmpl$232 = /* @__PURE__ */ template(`<
|
|
12927
|
-
_tmpl$242 = /* @__PURE__ */ template(`<div
|
|
12928
|
-
_tmpl$252 = /* @__PURE__ */ template(`<
|
|
12929
|
-
_tmpl$
|
|
12930
|
-
_tmpl$27 = /* @__PURE__ */ template(`<button><span></span
|
|
12931
|
-
_tmpl$28 = /* @__PURE__ */ template(`<
|
|
12932
|
-
_tmpl$29 = /* @__PURE__ */ template(`<div><
|
|
12933
|
-
_tmpl$30 = /* @__PURE__ */ template(`<
|
|
12934
|
-
_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">`);
|
|
12935
12942
|
firstBreakpoint = 1024;
|
|
12936
12943
|
secondBreakpoint = 796;
|
|
12937
12944
|
thirdBreakpoint = 700;
|
|
@@ -12947,6 +12954,112 @@ var init_Devtools = __esm({
|
|
|
12947
12954
|
[selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
12948
12955
|
[selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
12949
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
|
+
};
|
|
12950
13063
|
DevtoolsComponent = (props) => {
|
|
12951
13064
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
12952
13065
|
prefix: "TanstackQueryDevtools"
|
|
@@ -12961,12 +13074,16 @@ var init_Devtools = __esm({
|
|
|
12961
13074
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
12962
13075
|
value: props,
|
|
12963
13076
|
get children() {
|
|
12964
|
-
return createComponent(
|
|
12965
|
-
value: theme,
|
|
13077
|
+
return createComponent(PiPProvider, {
|
|
12966
13078
|
get children() {
|
|
12967
|
-
return createComponent(
|
|
12968
|
-
|
|
12969
|
-
|
|
13079
|
+
return createComponent(ThemeContext.Provider, {
|
|
13080
|
+
value: theme,
|
|
13081
|
+
get children() {
|
|
13082
|
+
return createComponent(Devtools, {
|
|
13083
|
+
localStore,
|
|
13084
|
+
setLocalStore
|
|
13085
|
+
});
|
|
13086
|
+
}
|
|
12970
13087
|
});
|
|
12971
13088
|
}
|
|
12972
13089
|
});
|
|
@@ -12979,6 +13096,7 @@ var init_Devtools = __esm({
|
|
|
12979
13096
|
const styles = createMemo(() => {
|
|
12980
13097
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
12981
13098
|
});
|
|
13099
|
+
const pip = usePiPWindow();
|
|
12982
13100
|
const buttonPosition = createMemo(() => {
|
|
12983
13101
|
return useQueryDevtoolsContext().buttonPosition || BUTTON_POSITION;
|
|
12984
13102
|
});
|
|
@@ -13009,8 +13127,33 @@ var init_Devtools = __esm({
|
|
|
13009
13127
|
window.removeEventListener("focus", onFocus);
|
|
13010
13128
|
});
|
|
13011
13129
|
});
|
|
13012
|
-
return (
|
|
13013
|
-
|
|
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();
|
|
13014
13157
|
const _ref$ = transitionsContainerRef;
|
|
13015
13158
|
typeof _ref$ === "function" ? use(_ref$, _el$) : transitionsContainerRef = _el$;
|
|
13016
13159
|
insert(_el$, createComponent(TransitionGroup, {
|
|
@@ -13018,7 +13161,7 @@ var init_Devtools = __esm({
|
|
|
13018
13161
|
get children() {
|
|
13019
13162
|
return createComponent(Show, {
|
|
13020
13163
|
get when() {
|
|
13021
|
-
return isOpen();
|
|
13164
|
+
return createMemo(() => !!isOpen())() && !pip().pipWindow;
|
|
13022
13165
|
},
|
|
13023
13166
|
get children() {
|
|
13024
13167
|
return createComponent(DevtoolsPanel, {
|
|
@@ -13041,44 +13184,97 @@ var init_Devtools = __esm({
|
|
|
13041
13184
|
return !isOpen();
|
|
13042
13185
|
},
|
|
13043
13186
|
get children() {
|
|
13044
|
-
const _el$2 = _tmpl$
|
|
13187
|
+
const _el$2 = _tmpl$25(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
13045
13188
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
13046
13189
|
_el$4.$$click = () => props.setLocalStore("open", "true");
|
|
13047
13190
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
13048
|
-
createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
13191
|
+
createRenderEffect(() => className(_el$2, clsx(styles().devtoolsBtn, styles()[`devtoolsBtn-position-${buttonPosition()}`], "tsqd-open-btn-container")));
|
|
13049
13192
|
return _el$2;
|
|
13050
13193
|
}
|
|
13051
13194
|
});
|
|
13052
13195
|
}
|
|
13053
13196
|
}), null);
|
|
13054
13197
|
createRenderEffect(() => className(_el$, clsx(u`
|
|
13055
|
-
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13198
|
+
& .tsqd-panel-transition-exit-active,
|
|
13199
|
+
& .tsqd-panel-transition-enter-active {
|
|
13200
|
+
transition:
|
|
13201
|
+
opacity 0.3s,
|
|
13202
|
+
transform 0.3s;
|
|
13203
|
+
}
|
|
13061
13204
|
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
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
|
+
}
|
|
13066
13209
|
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
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
|
+
}
|
|
13074
13217
|
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
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")));
|
|
13081
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;
|
|
13082
13278
|
})();
|
|
13083
13279
|
};
|
|
13084
13280
|
DevtoolsPanel = (props) => {
|
|
@@ -13189,13 +13385,13 @@ var init_Devtools = __esm({
|
|
|
13189
13385
|
`;
|
|
13190
13386
|
};
|
|
13191
13387
|
return (() => {
|
|
13192
|
-
const _el$
|
|
13388
|
+
const _el$6 = _tmpl$33(), _el$7 = _el$6.firstChild, _el$8 = _el$7.nextSibling;
|
|
13193
13389
|
const _ref$2 = panelRef;
|
|
13194
|
-
typeof _ref$2 === "function" ? use(_ref$2, _el$
|
|
13195
|
-
_el$
|
|
13196
|
-
_el$
|
|
13197
|
-
insert(_el$
|
|
13198
|
-
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, {
|
|
13199
13395
|
get localStore() {
|
|
13200
13396
|
return props.localStore;
|
|
13201
13397
|
},
|
|
@@ -13209,11 +13405,11 @@ var init_Devtools = __esm({
|
|
|
13209
13405
|
min-width: min-content;
|
|
13210
13406
|
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
13211
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");
|
|
13212
|
-
_v$ !== _p$._v$ && className(_el$
|
|
13213
|
-
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$
|
|
13214
|
-
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$
|
|
13215
|
-
_v$4 !== _p$._v$4 && className(_el$
|
|
13216
|
-
_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);
|
|
13217
13413
|
return _p$;
|
|
13218
13414
|
}, {
|
|
13219
13415
|
_v$: void 0,
|
|
@@ -13222,7 +13418,7 @@ var init_Devtools = __esm({
|
|
|
13222
13418
|
_v$4: void 0,
|
|
13223
13419
|
_v$5: void 0
|
|
13224
13420
|
});
|
|
13225
|
-
return _el$
|
|
13421
|
+
return _el$6;
|
|
13226
13422
|
})();
|
|
13227
13423
|
};
|
|
13228
13424
|
ContentView = (props) => {
|
|
@@ -13233,6 +13429,7 @@ var init_Devtools = __esm({
|
|
|
13233
13429
|
const styles = createMemo(() => {
|
|
13234
13430
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13235
13431
|
});
|
|
13432
|
+
const pip = usePiPWindow();
|
|
13236
13433
|
const [selectedView, setSelectedView] = createSignal("queries");
|
|
13237
13434
|
const sort = createMemo(() => props.localStore.sort || DEFAULT_SORT_FN_NAME);
|
|
13238
13435
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
@@ -13278,13 +13475,17 @@ var init_Devtools = __esm({
|
|
|
13278
13475
|
el.style.setProperty("--tsqd-font-size", variable);
|
|
13279
13476
|
};
|
|
13280
13477
|
return [(() => {
|
|
13281
|
-
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;
|
|
13282
13479
|
const _ref$3 = containerRef;
|
|
13283
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
13284
|
-
_el$
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
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, {
|
|
13288
13489
|
get ["class"]() {
|
|
13289
13490
|
return clsx(styles().viewToggle);
|
|
13290
13491
|
},
|
|
@@ -13326,7 +13527,7 @@ var init_Devtools = __esm({
|
|
|
13326
13527
|
})];
|
|
13327
13528
|
}
|
|
13328
13529
|
}), null);
|
|
13329
|
-
insert(_el$
|
|
13530
|
+
insert(_el$10, createComponent(Show, {
|
|
13330
13531
|
get when() {
|
|
13331
13532
|
return selectedView() === "queries";
|
|
13332
13533
|
},
|
|
@@ -13334,7 +13535,7 @@ var init_Devtools = __esm({
|
|
|
13334
13535
|
return createComponent(QueryStatusCount, {});
|
|
13335
13536
|
}
|
|
13336
13537
|
}), null);
|
|
13337
|
-
insert(_el$
|
|
13538
|
+
insert(_el$10, createComponent(Show, {
|
|
13338
13539
|
get when() {
|
|
13339
13540
|
return selectedView() === "mutations";
|
|
13340
13541
|
},
|
|
@@ -13342,61 +13543,61 @@ var init_Devtools = __esm({
|
|
|
13342
13543
|
return createComponent(MutationStatusCount, {});
|
|
13343
13544
|
}
|
|
13344
13545
|
}), null);
|
|
13345
|
-
insert(_el$
|
|
13346
|
-
_el$
|
|
13546
|
+
insert(_el$18, createComponent(Search, {}), _el$19);
|
|
13547
|
+
_el$19.$$input = (e2) => {
|
|
13347
13548
|
if (selectedView() === "queries") {
|
|
13348
13549
|
props.setLocalStore("filter", e2.currentTarget.value);
|
|
13349
13550
|
} else {
|
|
13350
13551
|
props.setLocalStore("mutationFilter", e2.currentTarget.value);
|
|
13351
13552
|
}
|
|
13352
13553
|
};
|
|
13353
|
-
insert(_el$
|
|
13554
|
+
insert(_el$20, createComponent(Show, {
|
|
13354
13555
|
get when() {
|
|
13355
13556
|
return selectedView() === "queries";
|
|
13356
13557
|
},
|
|
13357
13558
|
get children() {
|
|
13358
|
-
const _el$
|
|
13359
|
-
_el$
|
|
13559
|
+
const _el$21 = _tmpl$43();
|
|
13560
|
+
_el$21.addEventListener("change", (e2) => {
|
|
13360
13561
|
props.setLocalStore("sort", e2.currentTarget.value);
|
|
13361
13562
|
});
|
|
13362
|
-
insert(_el$
|
|
13363
|
-
const _el$
|
|
13364
|
-
_el$
|
|
13365
|
-
insert(_el$
|
|
13366
|
-
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;
|
|
13367
13568
|
})()));
|
|
13368
|
-
createRenderEffect(() => _el$
|
|
13369
|
-
return _el$
|
|
13569
|
+
createRenderEffect(() => _el$21.value = sort());
|
|
13570
|
+
return _el$21;
|
|
13370
13571
|
}
|
|
13371
13572
|
}), null);
|
|
13372
|
-
insert(_el$
|
|
13573
|
+
insert(_el$20, createComponent(Show, {
|
|
13373
13574
|
get when() {
|
|
13374
13575
|
return selectedView() === "mutations";
|
|
13375
13576
|
},
|
|
13376
13577
|
get children() {
|
|
13377
|
-
const _el$
|
|
13378
|
-
_el$
|
|
13578
|
+
const _el$22 = _tmpl$53();
|
|
13579
|
+
_el$22.addEventListener("change", (e2) => {
|
|
13379
13580
|
props.setLocalStore("mutationSort", e2.currentTarget.value);
|
|
13380
13581
|
});
|
|
13381
|
-
insert(_el$
|
|
13382
|
-
const _el$
|
|
13383
|
-
_el$
|
|
13384
|
-
insert(_el$
|
|
13385
|
-
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;
|
|
13386
13587
|
})()));
|
|
13387
|
-
createRenderEffect(() => _el$
|
|
13388
|
-
return _el$
|
|
13588
|
+
createRenderEffect(() => _el$22.value = mutationSort());
|
|
13589
|
+
return _el$22;
|
|
13389
13590
|
}
|
|
13390
13591
|
}), null);
|
|
13391
|
-
insert(_el$
|
|
13392
|
-
_el$
|
|
13592
|
+
insert(_el$20, createComponent(ChevronDown, {}), null);
|
|
13593
|
+
_el$23.$$click = () => {
|
|
13393
13594
|
if (selectedView() === "queries") {
|
|
13394
13595
|
props.setLocalStore("sortOrder", String(sortOrder() * -1));
|
|
13395
13596
|
} else {
|
|
13396
13597
|
props.setLocalStore("mutationSortOrder", String(mutationSortOrder() * -1));
|
|
13397
13598
|
}
|
|
13398
13599
|
};
|
|
13399
|
-
insert(_el$
|
|
13600
|
+
insert(_el$23, createComponent(Show, {
|
|
13400
13601
|
get when() {
|
|
13401
13602
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === 1;
|
|
13402
13603
|
},
|
|
@@ -13404,7 +13605,7 @@ var init_Devtools = __esm({
|
|
|
13404
13605
|
return [_tmpl$63(), createComponent(ArrowUp, {})];
|
|
13405
13606
|
}
|
|
13406
13607
|
}), null);
|
|
13407
|
-
insert(_el$
|
|
13608
|
+
insert(_el$23, createComponent(Show, {
|
|
13408
13609
|
get when() {
|
|
13409
13610
|
return (selectedView() === "queries" ? sortOrder() : mutationSortOrder()) === -1;
|
|
13410
13611
|
},
|
|
@@ -13412,15 +13613,15 @@ var init_Devtools = __esm({
|
|
|
13412
13613
|
return [_tmpl$73(), createComponent(ArrowDown, {})];
|
|
13413
13614
|
}
|
|
13414
13615
|
}), null);
|
|
13415
|
-
_el$
|
|
13616
|
+
_el$27.$$click = () => {
|
|
13416
13617
|
if (selectedView() === "queries") {
|
|
13417
13618
|
query_cache().clear();
|
|
13418
13619
|
} else {
|
|
13419
13620
|
mutation_cache().clear();
|
|
13420
13621
|
}
|
|
13421
13622
|
};
|
|
13422
|
-
insert(_el$
|
|
13423
|
-
_el$
|
|
13623
|
+
insert(_el$27, createComponent(Trash, {}));
|
|
13624
|
+
_el$28.$$click = () => {
|
|
13424
13625
|
if (offline()) {
|
|
13425
13626
|
onlineManager().setOnline(true);
|
|
13426
13627
|
setOffline(false);
|
|
@@ -13429,11 +13630,25 @@ var init_Devtools = __esm({
|
|
|
13429
13630
|
setOffline(true);
|
|
13430
13631
|
}
|
|
13431
13632
|
};
|
|
13432
|
-
insert(_el$
|
|
13633
|
+
insert(_el$28, (() => {
|
|
13433
13634
|
const _c$ = createMemo(() => !!offline());
|
|
13434
13635
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
13435
13636
|
})());
|
|
13436
|
-
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, {
|
|
13437
13652
|
gutter: 4,
|
|
13438
13653
|
get children() {
|
|
13439
13654
|
return [createComponent(index$f.Trigger, {
|
|
@@ -13445,6 +13660,9 @@ var init_Devtools = __esm({
|
|
|
13445
13660
|
}
|
|
13446
13661
|
}), createComponent(index$f.Portal, {
|
|
13447
13662
|
ref: (el) => setComputedVariables(el),
|
|
13663
|
+
get mount() {
|
|
13664
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13665
|
+
},
|
|
13448
13666
|
get children() {
|
|
13449
13667
|
return createComponent(index$f.Content, {
|
|
13450
13668
|
get ["class"]() {
|
|
@@ -13452,9 +13670,9 @@ var init_Devtools = __esm({
|
|
|
13452
13670
|
},
|
|
13453
13671
|
get children() {
|
|
13454
13672
|
return [(() => {
|
|
13455
|
-
const _el$
|
|
13456
|
-
createRenderEffect(() => className(_el$
|
|
13457
|
-
return _el$
|
|
13673
|
+
const _el$30 = _tmpl$93();
|
|
13674
|
+
createRenderEffect(() => className(_el$30, clsx(styles().settingsMenuHeader, "tsqd-settings-menu-header")));
|
|
13675
|
+
return _el$30;
|
|
13458
13676
|
})(), createComponent(index$f.Sub, {
|
|
13459
13677
|
overlap: true,
|
|
13460
13678
|
gutter: 8,
|
|
@@ -13465,10 +13683,13 @@ var init_Devtools = __esm({
|
|
|
13465
13683
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13466
13684
|
},
|
|
13467
13685
|
get children() {
|
|
13468
|
-
return [_tmpl$
|
|
13686
|
+
return [_tmpl$103(), createComponent(ChevronDown, {})];
|
|
13469
13687
|
}
|
|
13470
13688
|
}), createComponent(index$f.Portal, {
|
|
13471
13689
|
ref: (el) => setComputedVariables(el),
|
|
13690
|
+
get mount() {
|
|
13691
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13692
|
+
},
|
|
13472
13693
|
get children() {
|
|
13473
13694
|
return createComponent(index$f.SubContent, {
|
|
13474
13695
|
get ["class"]() {
|
|
@@ -13484,7 +13705,7 @@ var init_Devtools = __esm({
|
|
|
13484
13705
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13485
13706
|
},
|
|
13486
13707
|
get children() {
|
|
13487
|
-
return [_tmpl$
|
|
13708
|
+
return [_tmpl$113(), createComponent(ArrowUp, {})];
|
|
13488
13709
|
}
|
|
13489
13710
|
}), createComponent(index$f.Item, {
|
|
13490
13711
|
onSelect: () => {
|
|
@@ -13495,7 +13716,7 @@ var init_Devtools = __esm({
|
|
|
13495
13716
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13496
13717
|
},
|
|
13497
13718
|
get children() {
|
|
13498
|
-
return [_tmpl$
|
|
13719
|
+
return [_tmpl$122(), createComponent(ArrowDown, {})];
|
|
13499
13720
|
}
|
|
13500
13721
|
}), createComponent(index$f.Item, {
|
|
13501
13722
|
onSelect: () => {
|
|
@@ -13506,7 +13727,7 @@ var init_Devtools = __esm({
|
|
|
13506
13727
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13507
13728
|
},
|
|
13508
13729
|
get children() {
|
|
13509
|
-
return [_tmpl$
|
|
13730
|
+
return [_tmpl$132(), createComponent(ArrowLeft, {})];
|
|
13510
13731
|
}
|
|
13511
13732
|
}), createComponent(index$f.Item, {
|
|
13512
13733
|
onSelect: () => {
|
|
@@ -13517,7 +13738,7 @@ var init_Devtools = __esm({
|
|
|
13517
13738
|
return clsx(styles().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
13518
13739
|
},
|
|
13519
13740
|
get children() {
|
|
13520
|
-
return [_tmpl$
|
|
13741
|
+
return [_tmpl$142(), createComponent(ArrowRight, {})];
|
|
13521
13742
|
}
|
|
13522
13743
|
})];
|
|
13523
13744
|
}
|
|
@@ -13535,10 +13756,13 @@ var init_Devtools = __esm({
|
|
|
13535
13756
|
return clsx(styles().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
13536
13757
|
},
|
|
13537
13758
|
get children() {
|
|
13538
|
-
return [_tmpl$
|
|
13759
|
+
return [_tmpl$152(), createComponent(ChevronDown, {})];
|
|
13539
13760
|
}
|
|
13540
13761
|
}), createComponent(index$f.Portal, {
|
|
13541
13762
|
ref: (el) => setComputedVariables(el),
|
|
13763
|
+
get mount() {
|
|
13764
|
+
return createMemo(() => !!pip().pipWindow)() ? pip().pipWindow.document.body : document.body;
|
|
13765
|
+
},
|
|
13542
13766
|
get children() {
|
|
13543
13767
|
return createComponent(index$f.SubContent, {
|
|
13544
13768
|
get ["class"]() {
|
|
@@ -13554,7 +13778,7 @@ var init_Devtools = __esm({
|
|
|
13554
13778
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "light" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
13555
13779
|
},
|
|
13556
13780
|
get children() {
|
|
13557
|
-
return [_tmpl$
|
|
13781
|
+
return [_tmpl$162(), createComponent(Sun, {})];
|
|
13558
13782
|
}
|
|
13559
13783
|
}), createComponent(index$f.Item, {
|
|
13560
13784
|
onSelect: () => {
|
|
@@ -13565,7 +13789,7 @@ var init_Devtools = __esm({
|
|
|
13565
13789
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "dark" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
13566
13790
|
},
|
|
13567
13791
|
get children() {
|
|
13568
|
-
return [_tmpl$
|
|
13792
|
+
return [_tmpl$172(), createComponent(Moon, {})];
|
|
13569
13793
|
}
|
|
13570
13794
|
}), createComponent(index$f.Item, {
|
|
13571
13795
|
onSelect: () => {
|
|
@@ -13576,7 +13800,7 @@ var init_Devtools = __esm({
|
|
|
13576
13800
|
return clsx(styles().settingsSubButton, props.localStore.theme_preference === "system" && styles().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
13577
13801
|
},
|
|
13578
13802
|
get children() {
|
|
13579
|
-
return [_tmpl$
|
|
13803
|
+
return [_tmpl$182(), createComponent(Monitor, {})];
|
|
13580
13804
|
}
|
|
13581
13805
|
})];
|
|
13582
13806
|
}
|
|
@@ -13591,13 +13815,13 @@ var init_Devtools = __esm({
|
|
|
13591
13815
|
})];
|
|
13592
13816
|
}
|
|
13593
13817
|
}), null);
|
|
13594
|
-
insert(_el$
|
|
13818
|
+
insert(_el$9, createComponent(Show, {
|
|
13595
13819
|
get when() {
|
|
13596
13820
|
return selectedView() === "queries";
|
|
13597
13821
|
},
|
|
13598
13822
|
get children() {
|
|
13599
|
-
const _el$
|
|
13600
|
-
insert(_el$
|
|
13823
|
+
const _el$40 = _tmpl$192(), _el$41 = _el$40.firstChild;
|
|
13824
|
+
insert(_el$41, createComponent(Key, {
|
|
13601
13825
|
by: (q) => q.queryHash,
|
|
13602
13826
|
get each() {
|
|
13603
13827
|
return queries();
|
|
@@ -13608,17 +13832,17 @@ var init_Devtools = __esm({
|
|
|
13608
13832
|
}
|
|
13609
13833
|
})
|
|
13610
13834
|
}));
|
|
13611
|
-
createRenderEffect(() => className(_el$
|
|
13612
|
-
return _el$
|
|
13835
|
+
createRenderEffect(() => className(_el$40, clsx(styles().overflowQueryContainer, "tsqd-queries-overflow-container")));
|
|
13836
|
+
return _el$40;
|
|
13613
13837
|
}
|
|
13614
13838
|
}), null);
|
|
13615
|
-
insert(_el$
|
|
13839
|
+
insert(_el$9, createComponent(Show, {
|
|
13616
13840
|
get when() {
|
|
13617
13841
|
return selectedView() === "mutations";
|
|
13618
13842
|
},
|
|
13619
13843
|
get children() {
|
|
13620
|
-
const _el$
|
|
13621
|
-
insert(_el$
|
|
13844
|
+
const _el$42 = _tmpl$202(), _el$43 = _el$42.firstChild;
|
|
13845
|
+
insert(_el$43, createComponent(Key, {
|
|
13622
13846
|
by: (m) => m.mutationId,
|
|
13623
13847
|
get each() {
|
|
13624
13848
|
return mutations();
|
|
@@ -13629,8 +13853,8 @@ var init_Devtools = __esm({
|
|
|
13629
13853
|
}
|
|
13630
13854
|
})
|
|
13631
13855
|
}));
|
|
13632
|
-
createRenderEffect(() => className(_el$
|
|
13633
|
-
return _el$
|
|
13856
|
+
createRenderEffect(() => className(_el$42, clsx(styles().overflowQueryContainer, "tsqd-mutations-overflow-container")));
|
|
13857
|
+
return _el$42;
|
|
13634
13858
|
}
|
|
13635
13859
|
}), null);
|
|
13636
13860
|
createRenderEffect((_p$) => {
|
|
@@ -13640,26 +13864,27 @@ var init_Devtools = __esm({
|
|
|
13640
13864
|
`, panelWidth() < secondBreakpoint && !(selectedQueryHash() || selectedMutationId()) && u`
|
|
13641
13865
|
height: 100%;
|
|
13642
13866
|
max-height: 100%;
|
|
13643
|
-
`, "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$
|
|
13644
|
-
_v$6 !== _p$._v$6 && className(_el$
|
|
13645
|
-
_v$7 !== _p$._v$7 && className(_el$
|
|
13646
|
-
_v$8 !== _p$._v$8 && className(_el$
|
|
13647
|
-
_v$9 !== _p$._v$9 && className(_el$
|
|
13648
|
-
_v$10 !== _p$._v$10 && className(_el$
|
|
13649
|
-
_v$11 !== _p$._v$11 && className(_el$
|
|
13650
|
-
_v$12 !== _p$._v$12 && className(_el$
|
|
13651
|
-
_v$13 !== _p$._v$13 && className(_el$
|
|
13652
|
-
_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);
|
|
13653
13877
|
_v$15 !== _p$._v$15 && className(_el$19, _p$._v$15 = _v$15);
|
|
13654
|
-
_v$16 !== _p$._v$16 &&
|
|
13655
|
-
_v$17 !== _p$._v$17 && setAttribute(_el$
|
|
13656
|
-
_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);
|
|
13657
13881
|
_v$19 !== _p$._v$19 && className(_el$26, _p$._v$19 = _v$19);
|
|
13658
|
-
_v$20 !== _p$._v$20 &&
|
|
13659
|
-
_v$21 !== _p$._v$21 &&
|
|
13660
|
-
_v$22 !== _p$._v$22 &&
|
|
13661
|
-
_v$23 !== _p$._v$23 && setAttribute(_el$
|
|
13662
|
-
_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);
|
|
13663
13888
|
return _p$;
|
|
13664
13889
|
}, {
|
|
13665
13890
|
_v$6: void 0,
|
|
@@ -13680,10 +13905,11 @@ var init_Devtools = __esm({
|
|
|
13680
13905
|
_v$21: void 0,
|
|
13681
13906
|
_v$22: void 0,
|
|
13682
13907
|
_v$23: void 0,
|
|
13683
|
-
_v$24: void 0
|
|
13908
|
+
_v$24: void 0,
|
|
13909
|
+
_v$25: void 0
|
|
13684
13910
|
});
|
|
13685
|
-
createRenderEffect(() => _el$
|
|
13686
|
-
return _el$
|
|
13911
|
+
createRenderEffect(() => _el$19.value = selectedView() === "queries" ? props.localStore.filter || "" : props.localStore.mutationFilter || "");
|
|
13912
|
+
return _el$9;
|
|
13687
13913
|
})(), createComponent(Show, {
|
|
13688
13914
|
get when() {
|
|
13689
13915
|
return createMemo(() => selectedView() === "queries")() && selectedQueryHash();
|
|
@@ -13744,30 +13970,30 @@ var init_Devtools = __esm({
|
|
|
13744
13970
|
return queryState();
|
|
13745
13971
|
},
|
|
13746
13972
|
get children() {
|
|
13747
|
-
const _el$
|
|
13748
|
-
_el$
|
|
13749
|
-
insert(_el$
|
|
13750
|
-
insert(_el$
|
|
13751
|
-
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, {
|
|
13752
13978
|
get when() {
|
|
13753
13979
|
return isDisabled();
|
|
13754
13980
|
},
|
|
13755
13981
|
get children() {
|
|
13756
|
-
return _tmpl$
|
|
13982
|
+
return _tmpl$232();
|
|
13757
13983
|
}
|
|
13758
13984
|
}), null);
|
|
13759
13985
|
createRenderEffect((_p$) => {
|
|
13760
|
-
const _v$
|
|
13761
|
-
_v$
|
|
13762
|
-
_v$
|
|
13763
|
-
_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);
|
|
13764
13990
|
return _p$;
|
|
13765
13991
|
}, {
|
|
13766
|
-
_v$25: void 0,
|
|
13767
13992
|
_v$26: void 0,
|
|
13768
|
-
_v$27: void 0
|
|
13993
|
+
_v$27: void 0,
|
|
13994
|
+
_v$28: void 0
|
|
13769
13995
|
});
|
|
13770
|
-
return _el$
|
|
13996
|
+
return _el$48;
|
|
13771
13997
|
}
|
|
13772
13998
|
});
|
|
13773
13999
|
};
|
|
@@ -13821,11 +14047,11 @@ var init_Devtools = __esm({
|
|
|
13821
14047
|
return mutationState();
|
|
13822
14048
|
},
|
|
13823
14049
|
get children() {
|
|
13824
|
-
const _el$
|
|
13825
|
-
_el$
|
|
14050
|
+
const _el$52 = _tmpl$242(), _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling;
|
|
14051
|
+
_el$52.$$click = () => {
|
|
13826
14052
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
13827
14053
|
};
|
|
13828
|
-
insert(_el$
|
|
14054
|
+
insert(_el$53, createComponent(Show, {
|
|
13829
14055
|
get when() {
|
|
13830
14056
|
return color() === "purple";
|
|
13831
14057
|
},
|
|
@@ -13833,7 +14059,7 @@ var init_Devtools = __esm({
|
|
|
13833
14059
|
return createComponent(PauseCircle, {});
|
|
13834
14060
|
}
|
|
13835
14061
|
}), null);
|
|
13836
|
-
insert(_el$
|
|
14062
|
+
insert(_el$53, createComponent(Show, {
|
|
13837
14063
|
get when() {
|
|
13838
14064
|
return color() === "green";
|
|
13839
14065
|
},
|
|
@@ -13841,7 +14067,7 @@ var init_Devtools = __esm({
|
|
|
13841
14067
|
return createComponent(CheckCircle, {});
|
|
13842
14068
|
}
|
|
13843
14069
|
}), null);
|
|
13844
|
-
insert(_el$
|
|
14070
|
+
insert(_el$53, createComponent(Show, {
|
|
13845
14071
|
get when() {
|
|
13846
14072
|
return color() === "red";
|
|
13847
14073
|
},
|
|
@@ -13849,7 +14075,7 @@ var init_Devtools = __esm({
|
|
|
13849
14075
|
return createComponent(XCircle, {});
|
|
13850
14076
|
}
|
|
13851
14077
|
}), null);
|
|
13852
|
-
insert(_el$
|
|
14078
|
+
insert(_el$53, createComponent(Show, {
|
|
13853
14079
|
get when() {
|
|
13854
14080
|
return color() === "yellow";
|
|
13855
14081
|
},
|
|
@@ -13857,7 +14083,7 @@ var init_Devtools = __esm({
|
|
|
13857
14083
|
return createComponent(LoadingCircle, {});
|
|
13858
14084
|
}
|
|
13859
14085
|
}), null);
|
|
13860
|
-
insert(_el$
|
|
14086
|
+
insert(_el$54, createComponent(Show, {
|
|
13861
14087
|
get when() {
|
|
13862
14088
|
return props.mutation.options.mutationKey;
|
|
13863
14089
|
},
|
|
@@ -13865,19 +14091,19 @@ var init_Devtools = __esm({
|
|
|
13865
14091
|
return [createMemo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
13866
14092
|
}
|
|
13867
14093
|
}), null);
|
|
13868
|
-
insert(_el$
|
|
14094
|
+
insert(_el$54, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
13869
14095
|
createRenderEffect((_p$) => {
|
|
13870
|
-
const _v$
|
|
13871
|
-
_v$
|
|
13872
|
-
_v$
|
|
13873
|
-
_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);
|
|
13874
14100
|
return _p$;
|
|
13875
14101
|
}, {
|
|
13876
|
-
_v$28: void 0,
|
|
13877
14102
|
_v$29: void 0,
|
|
13878
|
-
_v$30: void 0
|
|
14103
|
+
_v$30: void 0,
|
|
14104
|
+
_v$31: void 0
|
|
13879
14105
|
});
|
|
13880
|
-
return _el$
|
|
14106
|
+
return _el$52;
|
|
13881
14107
|
}
|
|
13882
14108
|
});
|
|
13883
14109
|
};
|
|
@@ -13892,44 +14118,44 @@ var init_Devtools = __esm({
|
|
|
13892
14118
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13893
14119
|
});
|
|
13894
14120
|
return (() => {
|
|
13895
|
-
const _el$
|
|
13896
|
-
insert(_el$
|
|
14121
|
+
const _el$55 = _tmpl$26();
|
|
14122
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13897
14123
|
label: "Fresh",
|
|
13898
14124
|
color: "green",
|
|
13899
14125
|
get count() {
|
|
13900
14126
|
return fresh();
|
|
13901
14127
|
}
|
|
13902
14128
|
}), null);
|
|
13903
|
-
insert(_el$
|
|
14129
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13904
14130
|
label: "Fetching",
|
|
13905
14131
|
color: "blue",
|
|
13906
14132
|
get count() {
|
|
13907
14133
|
return fetching();
|
|
13908
14134
|
}
|
|
13909
14135
|
}), null);
|
|
13910
|
-
insert(_el$
|
|
14136
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13911
14137
|
label: "Paused",
|
|
13912
14138
|
color: "purple",
|
|
13913
14139
|
get count() {
|
|
13914
14140
|
return paused();
|
|
13915
14141
|
}
|
|
13916
14142
|
}), null);
|
|
13917
|
-
insert(_el$
|
|
14143
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13918
14144
|
label: "Stale",
|
|
13919
14145
|
color: "yellow",
|
|
13920
14146
|
get count() {
|
|
13921
14147
|
return stale();
|
|
13922
14148
|
}
|
|
13923
14149
|
}), null);
|
|
13924
|
-
insert(_el$
|
|
14150
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
13925
14151
|
label: "Inactive",
|
|
13926
14152
|
color: "gray",
|
|
13927
14153
|
get count() {
|
|
13928
14154
|
return inactive();
|
|
13929
14155
|
}
|
|
13930
14156
|
}), null);
|
|
13931
|
-
createRenderEffect(() => className(_el$
|
|
13932
|
-
return _el$
|
|
14157
|
+
createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14158
|
+
return _el$55;
|
|
13933
14159
|
})();
|
|
13934
14160
|
};
|
|
13935
14161
|
MutationStatusCount = () => {
|
|
@@ -13954,37 +14180,37 @@ var init_Devtools = __esm({
|
|
|
13954
14180
|
return theme() === "dark" ? darkStyles2 : lightStyles2;
|
|
13955
14181
|
});
|
|
13956
14182
|
return (() => {
|
|
13957
|
-
const _el$
|
|
13958
|
-
insert(_el$
|
|
14183
|
+
const _el$56 = _tmpl$26();
|
|
14184
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13959
14185
|
label: "Paused",
|
|
13960
14186
|
color: "purple",
|
|
13961
14187
|
get count() {
|
|
13962
14188
|
return paused();
|
|
13963
14189
|
}
|
|
13964
14190
|
}), null);
|
|
13965
|
-
insert(_el$
|
|
14191
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13966
14192
|
label: "Pending",
|
|
13967
14193
|
color: "yellow",
|
|
13968
14194
|
get count() {
|
|
13969
14195
|
return pending();
|
|
13970
14196
|
}
|
|
13971
14197
|
}), null);
|
|
13972
|
-
insert(_el$
|
|
14198
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13973
14199
|
label: "Success",
|
|
13974
14200
|
color: "green",
|
|
13975
14201
|
get count() {
|
|
13976
14202
|
return success();
|
|
13977
14203
|
}
|
|
13978
14204
|
}), null);
|
|
13979
|
-
insert(_el$
|
|
14205
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
13980
14206
|
label: "Error",
|
|
13981
14207
|
color: "red",
|
|
13982
14208
|
get count() {
|
|
13983
14209
|
return error();
|
|
13984
14210
|
}
|
|
13985
14211
|
}), null);
|
|
13986
|
-
createRenderEffect(() => className(_el$
|
|
13987
|
-
return _el$
|
|
14212
|
+
createRenderEffect(() => className(_el$56, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
14213
|
+
return _el$56;
|
|
13988
14214
|
})();
|
|
13989
14215
|
};
|
|
13990
14216
|
QueryStatus = (props) => {
|
|
@@ -14012,17 +14238,17 @@ var init_Devtools = __esm({
|
|
|
14012
14238
|
return true;
|
|
14013
14239
|
});
|
|
14014
14240
|
return (() => {
|
|
14015
|
-
const _el$
|
|
14241
|
+
const _el$57 = _tmpl$27(), _el$59 = _el$57.firstChild, _el$61 = _el$59.nextSibling;
|
|
14016
14242
|
const _ref$4 = tagRef;
|
|
14017
|
-
typeof _ref$4 === "function" ? use(_ref$4, _el$
|
|
14018
|
-
_el$
|
|
14243
|
+
typeof _ref$4 === "function" ? use(_ref$4, _el$57) : tagRef = _el$57;
|
|
14244
|
+
_el$57.addEventListener("mouseleave", () => {
|
|
14019
14245
|
setMouseOver(false);
|
|
14020
14246
|
setFocused(false);
|
|
14021
14247
|
});
|
|
14022
|
-
_el$
|
|
14023
|
-
_el$
|
|
14024
|
-
_el$
|
|
14025
|
-
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({
|
|
14026
14252
|
get disabled() {
|
|
14027
14253
|
return showLabel();
|
|
14028
14254
|
},
|
|
@@ -14037,47 +14263,47 @@ var init_Devtools = __esm({
|
|
|
14037
14263
|
}, () => mouseOver() || focused() ? {
|
|
14038
14264
|
"aria-describedby": "tsqd-status-tooltip"
|
|
14039
14265
|
} : {}), false, true);
|
|
14040
|
-
insert(_el$
|
|
14266
|
+
insert(_el$57, createComponent(Show, {
|
|
14041
14267
|
get when() {
|
|
14042
14268
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
14043
14269
|
},
|
|
14044
14270
|
get children() {
|
|
14045
|
-
const _el$
|
|
14046
|
-
insert(_el$
|
|
14047
|
-
createRenderEffect(() => className(_el$
|
|
14048
|
-
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;
|
|
14049
14275
|
}
|
|
14050
|
-
}), _el$
|
|
14051
|
-
insert(_el$
|
|
14276
|
+
}), _el$59);
|
|
14277
|
+
insert(_el$57, createComponent(Show, {
|
|
14052
14278
|
get when() {
|
|
14053
14279
|
return showLabel();
|
|
14054
14280
|
},
|
|
14055
14281
|
get children() {
|
|
14056
|
-
const _el$
|
|
14057
|
-
insert(_el$
|
|
14058
|
-
createRenderEffect(() => className(_el$
|
|
14059
|
-
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;
|
|
14060
14286
|
}
|
|
14061
|
-
}), _el$
|
|
14062
|
-
insert(_el$
|
|
14287
|
+
}), _el$61);
|
|
14288
|
+
insert(_el$61, () => props.count);
|
|
14063
14289
|
createRenderEffect((_p$) => {
|
|
14064
|
-
const _v$
|
|
14290
|
+
const _v$32 = clsx(u`
|
|
14065
14291
|
width: ${tokens.size[1.5]};
|
|
14066
14292
|
height: ${tokens.size[1.5]};
|
|
14067
14293
|
border-radius: ${tokens.border.radius.full};
|
|
14068
14294
|
background-color: ${tokens.colors[props.color][500]};
|
|
14069
|
-
`, "tsqd-query-status-tag-dot"), _v$
|
|
14295
|
+
`, "tsqd-query-status-tag-dot"), _v$33 = clsx(styles().queryStatusCount, props.count > 0 && props.color !== "gray" && u`
|
|
14070
14296
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
14071
14297
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
14072
14298
|
`, "tsqd-query-status-tag-count");
|
|
14073
|
-
_v$31 !== _p$._v$31 && className(_el$57, _p$._v$31 = _v$31);
|
|
14074
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);
|
|
14075
14301
|
return _p$;
|
|
14076
14302
|
}, {
|
|
14077
|
-
_v$
|
|
14078
|
-
_v$
|
|
14303
|
+
_v$32: void 0,
|
|
14304
|
+
_v$33: void 0
|
|
14079
14305
|
});
|
|
14080
|
-
return _el$
|
|
14306
|
+
return _el$57;
|
|
14081
14307
|
})();
|
|
14082
14308
|
};
|
|
14083
14309
|
QueryDetails = () => {
|
|
@@ -14163,19 +14389,19 @@ var init_Devtools = __esm({
|
|
|
14163
14389
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
14164
14390
|
},
|
|
14165
14391
|
get children() {
|
|
14166
|
-
const _el$
|
|
14167
|
-
insert(_el$
|
|
14168
|
-
insert(_el$
|
|
14169
|
-
insert(_el$
|
|
14170
|
-
insert(_el$
|
|
14171
|
-
_el$
|
|
14172
|
-
_el$
|
|
14173
|
-
_el$
|
|
14174
|
-
_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 = () => {
|
|
14175
14401
|
queryClient.removeQueries(activeQuery());
|
|
14176
14402
|
setSelectedQueryHash(null);
|
|
14177
14403
|
};
|
|
14178
|
-
_el$
|
|
14404
|
+
_el$85.$$click = () => {
|
|
14179
14405
|
if (activeQuery()?.state.data === void 0) {
|
|
14180
14406
|
setRestoringLoading(true);
|
|
14181
14407
|
restoreQueryAfterLoadingOrError();
|
|
@@ -14202,78 +14428,78 @@ var init_Devtools = __esm({
|
|
|
14202
14428
|
});
|
|
14203
14429
|
}
|
|
14204
14430
|
};
|
|
14205
|
-
insert(_el$
|
|
14206
|
-
insert(_el$
|
|
14431
|
+
insert(_el$85, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$87);
|
|
14432
|
+
insert(_el$76, createComponent(Show, {
|
|
14207
14433
|
get when() {
|
|
14208
14434
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
14209
14435
|
},
|
|
14210
14436
|
get children() {
|
|
14211
|
-
const _el$
|
|
14212
|
-
_el$
|
|
14437
|
+
const _el$88 = _tmpl$28(), _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling;
|
|
14438
|
+
_el$88.$$click = () => {
|
|
14213
14439
|
if (!activeQuery().state.error) {
|
|
14214
14440
|
triggerError();
|
|
14215
14441
|
} else {
|
|
14216
14442
|
queryClient.resetQueries(activeQuery());
|
|
14217
14443
|
}
|
|
14218
14444
|
};
|
|
14219
|
-
insert(_el$
|
|
14445
|
+
insert(_el$88, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$90);
|
|
14220
14446
|
createRenderEffect((_p$) => {
|
|
14221
|
-
const _v$
|
|
14447
|
+
const _v$34 = clsx(u`
|
|
14222
14448
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
14223
|
-
`, "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`
|
|
14224
14450
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
14225
14451
|
`;
|
|
14226
|
-
_v$
|
|
14227
|
-
_v$
|
|
14228
|
-
_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);
|
|
14229
14455
|
return _p$;
|
|
14230
14456
|
}, {
|
|
14231
|
-
_v$33: void 0,
|
|
14232
14457
|
_v$34: void 0,
|
|
14233
|
-
_v$35: void 0
|
|
14458
|
+
_v$35: void 0,
|
|
14459
|
+
_v$36: void 0
|
|
14234
14460
|
});
|
|
14235
|
-
return _el$
|
|
14461
|
+
return _el$88;
|
|
14236
14462
|
}
|
|
14237
14463
|
}), null);
|
|
14238
|
-
insert(_el$
|
|
14464
|
+
insert(_el$76, createComponent(Show, {
|
|
14239
14465
|
get when() {
|
|
14240
14466
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
14241
14467
|
},
|
|
14242
14468
|
get children() {
|
|
14243
|
-
const _el$
|
|
14244
|
-
_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) => {
|
|
14245
14471
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
14246
14472
|
triggerError(errorType);
|
|
14247
14473
|
});
|
|
14248
|
-
insert(_el$
|
|
14474
|
+
insert(_el$94, createComponent(For, {
|
|
14249
14475
|
get each() {
|
|
14250
14476
|
return errorTypes();
|
|
14251
14477
|
},
|
|
14252
14478
|
children: (errorType) => (() => {
|
|
14253
|
-
const _el$
|
|
14254
|
-
insert(_el$
|
|
14255
|
-
createRenderEffect(() => _el$
|
|
14256
|
-
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;
|
|
14257
14483
|
})()
|
|
14258
14484
|
}), null);
|
|
14259
|
-
insert(_el$
|
|
14485
|
+
insert(_el$91, createComponent(ChevronDown, {}), null);
|
|
14260
14486
|
createRenderEffect((_p$) => {
|
|
14261
|
-
const _v$
|
|
14487
|
+
const _v$37 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$38 = u`
|
|
14262
14488
|
background-color: ${tokens.colors.red[400]};
|
|
14263
|
-
`, _v$
|
|
14264
|
-
_v$
|
|
14265
|
-
_v$
|
|
14266
|
-
_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);
|
|
14267
14493
|
return _p$;
|
|
14268
14494
|
}, {
|
|
14269
|
-
_v$36: void 0,
|
|
14270
14495
|
_v$37: void 0,
|
|
14271
|
-
_v$38: void 0
|
|
14496
|
+
_v$38: void 0,
|
|
14497
|
+
_v$39: void 0
|
|
14272
14498
|
});
|
|
14273
|
-
return _el$
|
|
14499
|
+
return _el$91;
|
|
14274
14500
|
}
|
|
14275
14501
|
}), null);
|
|
14276
|
-
insert(_el$
|
|
14502
|
+
insert(_el$97, createComponent(Explorer, {
|
|
14277
14503
|
label: "Data",
|
|
14278
14504
|
defaultExpanded: ["Data"],
|
|
14279
14505
|
get value() {
|
|
@@ -14284,7 +14510,7 @@ var init_Devtools = __esm({
|
|
|
14284
14510
|
return activeQuery();
|
|
14285
14511
|
}
|
|
14286
14512
|
}));
|
|
14287
|
-
insert(_el$
|
|
14513
|
+
insert(_el$99, createComponent(Explorer, {
|
|
14288
14514
|
label: "Query",
|
|
14289
14515
|
defaultExpanded: ["Query", "queryKey"],
|
|
14290
14516
|
get value() {
|
|
@@ -14292,55 +14518,54 @@ var init_Devtools = __esm({
|
|
|
14292
14518
|
}
|
|
14293
14519
|
}));
|
|
14294
14520
|
createRenderEffect((_p$) => {
|
|
14295
|
-
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`
|
|
14296
14522
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14297
|
-
`, "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`
|
|
14298
14524
|
background-color: ${t2(colors.blue[600], colors.blue[400])};
|
|
14299
|
-
`, _v$
|
|
14525
|
+
`, _v$49 = clsx(u`
|
|
14300
14526
|
color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14301
|
-
`, "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`
|
|
14302
14528
|
background-color: ${t2(colors.yellow[600], colors.yellow[400])};
|
|
14303
|
-
`, _v$
|
|
14529
|
+
`, _v$52 = clsx(u`
|
|
14304
14530
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
14305
|
-
`, "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`
|
|
14306
14532
|
background-color: ${t2(colors.gray[600], colors.gray[400])};
|
|
14307
|
-
`, _v$
|
|
14533
|
+
`, _v$55 = clsx(u`
|
|
14308
14534
|
color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14309
|
-
`, "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`
|
|
14310
14536
|
background-color: ${t2(colors.pink[500], colors.pink[400])};
|
|
14311
|
-
`, _v$
|
|
14537
|
+
`, _v$58 = clsx(u`
|
|
14312
14538
|
color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14313
|
-
`, "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`
|
|
14314
14540
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
14315
|
-
`, _v$
|
|
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$
|
|
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"));
|
|
14341
14567
|
return _p$;
|
|
14342
14568
|
}, {
|
|
14343
|
-
_v$39: void 0,
|
|
14344
14569
|
_v$40: void 0,
|
|
14345
14570
|
_v$41: void 0,
|
|
14346
14571
|
_v$42: void 0,
|
|
@@ -14364,9 +14589,10 @@ var init_Devtools = __esm({
|
|
|
14364
14589
|
_v$60: void 0,
|
|
14365
14590
|
_v$61: void 0,
|
|
14366
14591
|
_v$62: void 0,
|
|
14367
|
-
_v$63: void 0
|
|
14592
|
+
_v$63: void 0,
|
|
14593
|
+
_v$64: void 0
|
|
14368
14594
|
});
|
|
14369
|
-
return _el$
|
|
14595
|
+
return _el$62;
|
|
14370
14596
|
}
|
|
14371
14597
|
});
|
|
14372
14598
|
};
|
|
@@ -14417,8 +14643,8 @@ var init_Devtools = __esm({
|
|
|
14417
14643
|
return activeMutation();
|
|
14418
14644
|
},
|
|
14419
14645
|
get children() {
|
|
14420
|
-
const _el$
|
|
14421
|
-
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, {
|
|
14422
14648
|
get when() {
|
|
14423
14649
|
return activeMutation().options.mutationKey;
|
|
14424
14650
|
},
|
|
@@ -14427,13 +14653,13 @@ var init_Devtools = __esm({
|
|
|
14427
14653
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
14428
14654
|
}
|
|
14429
14655
|
}));
|
|
14430
|
-
insert(_el$
|
|
14656
|
+
insert(_el$107, createComponent(Show, {
|
|
14431
14657
|
get when() {
|
|
14432
14658
|
return color() === "purple";
|
|
14433
14659
|
},
|
|
14434
14660
|
children: "pending"
|
|
14435
14661
|
}), null);
|
|
14436
|
-
insert(_el$
|
|
14662
|
+
insert(_el$107, createComponent(Show, {
|
|
14437
14663
|
get when() {
|
|
14438
14664
|
return color() !== "purple";
|
|
14439
14665
|
},
|
|
@@ -14441,29 +14667,29 @@ var init_Devtools = __esm({
|
|
|
14441
14667
|
return status();
|
|
14442
14668
|
}
|
|
14443
14669
|
}), null);
|
|
14444
|
-
insert(_el$
|
|
14445
|
-
insert(_el$
|
|
14670
|
+
insert(_el$110, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
14671
|
+
insert(_el$112, createComponent(Explorer, {
|
|
14446
14672
|
label: "Variables",
|
|
14447
14673
|
defaultExpanded: ["Variables"],
|
|
14448
14674
|
get value() {
|
|
14449
14675
|
return activeMutation().state.variables;
|
|
14450
14676
|
}
|
|
14451
14677
|
}));
|
|
14452
|
-
insert(_el$
|
|
14678
|
+
insert(_el$114, createComponent(Explorer, {
|
|
14453
14679
|
label: "Context",
|
|
14454
14680
|
defaultExpanded: ["Context"],
|
|
14455
14681
|
get value() {
|
|
14456
14682
|
return activeMutation().state.context;
|
|
14457
14683
|
}
|
|
14458
14684
|
}));
|
|
14459
|
-
insert(_el$
|
|
14685
|
+
insert(_el$116, createComponent(Explorer, {
|
|
14460
14686
|
label: "Data",
|
|
14461
14687
|
defaultExpanded: ["Data"],
|
|
14462
14688
|
get value() {
|
|
14463
14689
|
return activeMutation().state.data;
|
|
14464
14690
|
}
|
|
14465
14691
|
}));
|
|
14466
|
-
insert(_el$
|
|
14692
|
+
insert(_el$118, createComponent(Explorer, {
|
|
14467
14693
|
label: "Mutation",
|
|
14468
14694
|
defaultExpanded: ["Mutation"],
|
|
14469
14695
|
get value() {
|
|
@@ -14471,22 +14697,21 @@ var init_Devtools = __esm({
|
|
|
14471
14697
|
}
|
|
14472
14698
|
}));
|
|
14473
14699
|
createRenderEffect((_p$) => {
|
|
14474
|
-
const _v$
|
|
14475
|
-
_v$
|
|
14476
|
-
_v$
|
|
14477
|
-
_v$
|
|
14478
|
-
_v$
|
|
14479
|
-
_v$
|
|
14480
|
-
_v$
|
|
14481
|
-
_v$
|
|
14482
|
-
_v$
|
|
14483
|
-
_v$
|
|
14484
|
-
_v$
|
|
14485
|
-
_v$
|
|
14486
|
-
_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"));
|
|
14487
14713
|
return _p$;
|
|
14488
14714
|
}, {
|
|
14489
|
-
_v$64: void 0,
|
|
14490
14715
|
_v$65: void 0,
|
|
14491
14716
|
_v$66: void 0,
|
|
14492
14717
|
_v$67: void 0,
|
|
@@ -14497,9 +14722,10 @@ var init_Devtools = __esm({
|
|
|
14497
14722
|
_v$72: void 0,
|
|
14498
14723
|
_v$73: void 0,
|
|
14499
14724
|
_v$74: void 0,
|
|
14500
|
-
_v$75: void 0
|
|
14725
|
+
_v$75: void 0,
|
|
14726
|
+
_v$76: void 0
|
|
14501
14727
|
});
|
|
14502
|
-
return _el$
|
|
14728
|
+
return _el$101;
|
|
14503
14729
|
}
|
|
14504
14730
|
});
|
|
14505
14731
|
};
|
|
@@ -14837,7 +15063,7 @@ var init_Devtools = __esm({
|
|
|
14837
15063
|
display: flex;
|
|
14838
15064
|
flex-direction: column;
|
|
14839
15065
|
& * {
|
|
14840
|
-
font-family:
|
|
15066
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
14841
15067
|
}
|
|
14842
15068
|
`,
|
|
14843
15069
|
dragHandle: u`
|
|
@@ -15017,8 +15243,8 @@ var init_Devtools = __esm({
|
|
|
15017
15243
|
gap: ${tokens.size[2]};
|
|
15018
15244
|
& > button {
|
|
15019
15245
|
cursor: pointer;
|
|
15020
|
-
padding: ${tokens.size[0.5]} ${tokens.size[
|
|
15021
|
-
|
|
15246
|
+
padding: ${tokens.size[0.5]} ${tokens.size[1.5]} ${tokens.size[0.5]}
|
|
15247
|
+
${tokens.size[2]};
|
|
15022
15248
|
border-radius: ${tokens.border.radius.sm};
|
|
15023
15249
|
background-color: ${t2(colors.gray[100], colors.darkGray[400])};
|
|
15024
15250
|
border: 1px solid ${t2(colors.gray[300], colors.darkGray[200])};
|
|
@@ -15202,7 +15428,8 @@ var init_Devtools = __esm({
|
|
|
15202
15428
|
min-height: ${tokens.size[6]};
|
|
15203
15429
|
flex: 1;
|
|
15204
15430
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
15205
|
-
font-family:
|
|
15431
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
15432
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
15206
15433
|
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
15207
15434
|
text-align: left;
|
|
15208
15435
|
text-overflow: clip;
|
|
@@ -15227,7 +15454,7 @@ var init_Devtools = __esm({
|
|
|
15227
15454
|
flex: 1 1 700px;
|
|
15228
15455
|
background-color: ${t2(colors.gray[50], colors.darkGray[700])};
|
|
15229
15456
|
color: ${t2(colors.gray[700], colors.gray[300])};
|
|
15230
|
-
font-family:
|
|
15457
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
15231
15458
|
display: flex;
|
|
15232
15459
|
flex-direction: column;
|
|
15233
15460
|
overflow-y: auto;
|
|
@@ -15235,7 +15462,7 @@ var init_Devtools = __esm({
|
|
|
15235
15462
|
text-align: left;
|
|
15236
15463
|
`,
|
|
15237
15464
|
detailsHeader: u`
|
|
15238
|
-
font-family:
|
|
15465
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
15239
15466
|
position: sticky;
|
|
15240
15467
|
top: 0;
|
|
15241
15468
|
z-index: 2;
|
|
@@ -15267,7 +15494,8 @@ var init_Devtools = __esm({
|
|
|
15267
15494
|
}
|
|
15268
15495
|
|
|
15269
15496
|
& code {
|
|
15270
|
-
font-family:
|
|
15497
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
15498
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
15271
15499
|
margin: 0;
|
|
15272
15500
|
font-size: ${font.size.xs};
|
|
15273
15501
|
line-height: ${font.lineHeight.xs};
|
|
@@ -15292,7 +15520,7 @@ var init_Devtools = __esm({
|
|
|
15292
15520
|
gap: ${tokens.size[2]};
|
|
15293
15521
|
padding: 0px ${tokens.size[2]};
|
|
15294
15522
|
& > button {
|
|
15295
|
-
font-family:
|
|
15523
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
15296
15524
|
font-size: ${font.size.xs};
|
|
15297
15525
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
15298
15526
|
display: flex;
|
|
@@ -15377,7 +15605,7 @@ var init_Devtools = __esm({
|
|
|
15377
15605
|
settingsMenu: u`
|
|
15378
15606
|
display: flex;
|
|
15379
15607
|
& * {
|
|
15380
|
-
font-family:
|
|
15608
|
+
font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
|
|
15381
15609
|
}
|
|
15382
15610
|
flex-direction: column;
|
|
15383
15611
|
gap: ${size2[0.5]};
|