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