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