@pinia/colada-devtools 0.1.6 → 0.1.8
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/dist/index.js +232 -265
- package/dist/index.js.map +1 -1
- package/dist-panel/{_queryId_-13o6pDV6.js → _queryId_-B8mNYXBL.js} +211 -218
- package/dist-panel/_queryId_-B8mNYXBL.js.map +1 -0
- package/dist-panel/{index-DgZ0YYsh.js → index-CWKID_IB.js} +2 -2
- package/dist-panel/{index-DgZ0YYsh.js.map → index-CWKID_IB.js.map} +1 -1
- package/dist-panel/index-UPnYYHaa.js +6340 -0
- package/dist-panel/index-UPnYYHaa.js.map +1 -0
- package/dist-panel/{index-DcKBZRe1.js → index-oPdQg_Hb.js} +4 -4
- package/dist-panel/{index-DcKBZRe1.js.map → index-oPdQg_Hb.js.map} +1 -1
- package/dist-panel/index.js +1 -1
- package/dist-panel/{loader-Dx4_68Bp.js → loader-DJMHHUla.js} +6 -6
- package/dist-panel/loader-DJMHHUla.js.map +1 -0
- package/dist-panel/{mouse-pointer-click-BeSJo9Pm.js → mouse-pointer-click-C2_foU25.js} +4 -4
- package/dist-panel/mouse-pointer-click-C2_foU25.js.map +1 -0
- package/dist-panel/mutations-DJc8p7YC.js +13 -0
- package/dist-panel/mutations-DJc8p7YC.js.map +1 -0
- package/dist-panel/{queries-BWAwqUDO.js → queries-CLrIueL2.js} +219 -219
- package/dist-panel/queries-CLrIueL2.js.map +1 -0
- package/dist-panel/{settings-CAkjqhkP.js → settings-T9huR8_1.js} +2 -2
- package/dist-panel/{settings-CAkjqhkP.js.map → settings-T9huR8_1.js.map} +1 -1
- package/dist-shared/index.js +1 -1
- package/dist-shared/index.js.map +1 -1
- package/package.json +9 -9
- package/dist-panel/_queryId_-13o6pDV6.js.map +0 -1
- package/dist-panel/index-BgTq8RHl.js +0 -6497
- package/dist-panel/index-BgTq8RHl.js.map +0 -1
- package/dist-panel/loader-Dx4_68Bp.js.map +0 -1
- package/dist-panel/mouse-pointer-click-BeSJo9Pm.js.map +0 -1
- package/dist-panel/mutations-4_Hc86Rz.js +0 -13
- package/dist-panel/mutations-4_Hc86Rz.js.map +0 -1
- package/dist-panel/queries-BWAwqUDO.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as W } from "./mouse-pointer-click-
|
|
1
|
+
import { _ as W } from "./mouse-pointer-click-C2_foU25.js";
|
|
2
2
|
import { isPlainObject as H, getValueTypeClass as D, formatValue as L } from "@pinia/colada-devtools/shared";
|
|
3
|
-
import { m as
|
|
4
|
-
import { _ as ue, a as ce } from "./loader-
|
|
3
|
+
import { m as g, c as i, o as l, a as e, d as z, x as Y, b as j, r as G, n as C, H as X, h as M, g as b, t as u, i as a, F as q, j as V, Q as K, l as Z, p as ee, R as te, C as T, P as h, S as oe, _ as ne, M as se, T as le, O, y as ie, k as d, w as p, U as E, V as ae, W as re, X as I, Y as de } from "./index-UPnYYHaa.js";
|
|
4
|
+
import { _ as ue, a as ce } from "./loader-DJMHHUla.js";
|
|
5
5
|
const pe = {
|
|
6
6
|
viewBox: "0 0 24 24",
|
|
7
7
|
width: "1.2em",
|
|
8
8
|
height: "1.2em"
|
|
9
9
|
};
|
|
10
|
-
function me(
|
|
11
|
-
return
|
|
10
|
+
function me(s, n) {
|
|
11
|
+
return l(), i("svg", pe, [...n[0] || (n[0] = [
|
|
12
12
|
e("path", {
|
|
13
13
|
fill: "none",
|
|
14
14
|
stroke: "currentColor",
|
|
@@ -17,77 +17,77 @@ function me(l, s) {
|
|
|
17
17
|
"stroke-width": "2",
|
|
18
18
|
d: "m9 18l6-6l-6-6"
|
|
19
19
|
}, null, -1)
|
|
20
|
-
]));
|
|
20
|
+
])]);
|
|
21
21
|
}
|
|
22
|
-
const ve =
|
|
22
|
+
const ve = g({ name: "lucide-chevron-right", render: me }), he = ["title"], fe = /* @__PURE__ */ z({
|
|
23
23
|
__name: "JsonItem",
|
|
24
24
|
props: {
|
|
25
25
|
itemKey: {},
|
|
26
26
|
value: { type: [String, Number, Boolean, null, Array, Object, Map, Set] },
|
|
27
27
|
depth: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
const { value:
|
|
32
|
-
return Array.isArray(
|
|
29
|
+
setup(s) {
|
|
30
|
+
const n = s, m = Y(!1), o = j(() => {
|
|
31
|
+
const { value: r } = n;
|
|
32
|
+
return Array.isArray(r) && r.length > 0 || H(r) && Object.keys(r).length > 0 || r instanceof Map && r.size > 0 || r instanceof Set && r.size > 0;
|
|
33
33
|
}), y = j(() => {
|
|
34
|
-
const { value:
|
|
35
|
-
return Array.isArray(
|
|
34
|
+
const { value: r } = n;
|
|
35
|
+
return Array.isArray(r) ? r.map((f, v) => [v, f]) : H(r) ? Object.entries(r) : r instanceof Map ? r.entries() : r instanceof Set ? Array.from(r).map((f, v) => [v, f]) : [];
|
|
36
36
|
});
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function x() {
|
|
38
|
+
o.value && (m.value = !m.value);
|
|
39
39
|
}
|
|
40
|
-
return (
|
|
40
|
+
return (r, f) => {
|
|
41
41
|
const v = ve, B = G("JsonItem", !0);
|
|
42
|
-
return
|
|
43
|
-
style: X({ paddingLeft: `${
|
|
42
|
+
return l(), i("div", {
|
|
43
|
+
style: X({ paddingLeft: `${s.depth * 0.35}em` }),
|
|
44
44
|
class: C(["ring-(--ui-bg-muted)", {
|
|
45
|
-
"hover:ring":
|
|
46
|
-
"rounded-tl":
|
|
45
|
+
"hover:ring": o.value,
|
|
46
|
+
"rounded-tl": s.depth > 0
|
|
47
47
|
}])
|
|
48
48
|
}, [
|
|
49
49
|
e("div", {
|
|
50
|
-
class: C(["flex items-center gap-2 py-0.5 bg-transparent hover:bg-(--ui-bg-muted) duration-200 transition-colors",
|
|
50
|
+
class: C(["flex items-center gap-2 py-0.5 bg-transparent hover:bg-(--ui-bg-muted) duration-200 transition-colors", s.depth > 0 && "rounded-l"])
|
|
51
51
|
}, [
|
|
52
|
-
|
|
52
|
+
o.value ? (l(), b(v, {
|
|
53
53
|
key: 0,
|
|
54
54
|
class: C(["size-3 text-(--ui-text-dimmed) transition-transform duration-200 cursor-pointer", { "rotate-90": m.value }]),
|
|
55
|
-
onClick:
|
|
55
|
+
onClick: x
|
|
56
56
|
}, null, 8, ["class"])) : M("", !0),
|
|
57
57
|
e("span", {
|
|
58
|
-
class: C(["text-(--devtools-syntax-gray)", !
|
|
59
|
-
}, u(
|
|
58
|
+
class: C(["text-(--devtools-syntax-gray)", !o.value && "ml-5"])
|
|
59
|
+
}, u(s.itemKey) + ": ", 3),
|
|
60
60
|
e("span", {
|
|
61
|
-
class: C([a(D)(
|
|
62
|
-
title:
|
|
63
|
-
onClick:
|
|
64
|
-
}, u(a(L)(
|
|
61
|
+
class: C([a(D)(s.value), o.value && "cursor-pointer"]),
|
|
62
|
+
title: o.value ? "Click to expand" : void 0,
|
|
63
|
+
onClick: x
|
|
64
|
+
}, u(a(L)(s.value)), 11, he)
|
|
65
65
|
], 2),
|
|
66
|
-
|
|
66
|
+
o.value && m.value ? (l(!0), i(q, { key: 0 }, V(y.value, ([S, w]) => (l(), b(B, {
|
|
67
67
|
key: S,
|
|
68
68
|
"item-key": String(S),
|
|
69
|
-
value:
|
|
70
|
-
depth:
|
|
69
|
+
value: w,
|
|
70
|
+
depth: s.depth + 1
|
|
71
71
|
}, null, 8, ["item-key", "value", "depth"]))), 128)) : M("", !0)
|
|
72
72
|
], 6);
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
function
|
|
77
|
-
return !!
|
|
76
|
+
function ge(s) {
|
|
77
|
+
return !!s && (Array.isArray(s) || H(s) || s instanceof Map || s instanceof Set);
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const _e = /* @__PURE__ */ z({
|
|
80
80
|
__name: "JsonViewer",
|
|
81
81
|
props: {
|
|
82
82
|
data: {}
|
|
83
83
|
},
|
|
84
|
-
setup(
|
|
85
|
-
return (
|
|
86
|
-
key:
|
|
87
|
-
"item-key":
|
|
84
|
+
setup(s) {
|
|
85
|
+
return (n, m) => ge(s.data) ? (l(!0), i(q, { key: 0 }, V(Object.entries(s.data), ([o, y]) => (l(), b(fe, {
|
|
86
|
+
key: o,
|
|
87
|
+
"item-key": o,
|
|
88
88
|
value: y,
|
|
89
89
|
depth: 0
|
|
90
|
-
}, null, 8, ["item-key", "value"]))), 128)) : (
|
|
90
|
+
}, null, 8, ["item-key", "value"]))), 128)) : (l(), i("span", {
|
|
91
91
|
key: 1,
|
|
92
92
|
class: C(a(D)(s.data))
|
|
93
93
|
}, u(a(L)(s.data)), 3));
|
|
@@ -97,8 +97,8 @@ const ge = /* @__PURE__ */ z({
|
|
|
97
97
|
width: "1.2em",
|
|
98
98
|
height: "1.2em"
|
|
99
99
|
};
|
|
100
|
-
function ke(
|
|
101
|
-
return
|
|
100
|
+
function ke(s, n) {
|
|
101
|
+
return l(), i("svg", ye, [...n[0] || (n[0] = [
|
|
102
102
|
e("path", {
|
|
103
103
|
fill: "none",
|
|
104
104
|
stroke: "currentColor",
|
|
@@ -107,15 +107,15 @@ function ke(l, s) {
|
|
|
107
107
|
"stroke-width": "2",
|
|
108
108
|
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
|
|
109
109
|
}, null, -1)
|
|
110
|
-
]));
|
|
110
|
+
])]);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
const xe = g({ name: "lucide-trash", render: ke }), be = {
|
|
113
113
|
viewBox: "0 0 24 24",
|
|
114
114
|
width: "1.2em",
|
|
115
115
|
height: "1.2em"
|
|
116
116
|
};
|
|
117
|
-
function
|
|
118
|
-
return
|
|
117
|
+
function we(s, n) {
|
|
118
|
+
return l(), i("svg", be, [...n[0] || (n[0] = [
|
|
119
119
|
e("g", {
|
|
120
120
|
fill: "none",
|
|
121
121
|
stroke: "currentColor",
|
|
@@ -126,15 +126,15 @@ function xe(l, s) {
|
|
|
126
126
|
e("path", { d: "M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8" }),
|
|
127
127
|
e("path", { d: "M3 3v5h5" })
|
|
128
128
|
], -1)
|
|
129
|
-
]));
|
|
129
|
+
])]);
|
|
130
130
|
}
|
|
131
|
-
const $e =
|
|
131
|
+
const $e = g({ name: "lucide-rotate-ccw", render: we }), Ce = {
|
|
132
132
|
viewBox: "0 0 24 24",
|
|
133
133
|
width: "1.2em",
|
|
134
134
|
height: "1.2em"
|
|
135
135
|
};
|
|
136
|
-
function Me(
|
|
137
|
-
return
|
|
136
|
+
function Me(s, n) {
|
|
137
|
+
return l(), i("svg", Ce, [...n[0] || (n[0] = [
|
|
138
138
|
e("g", {
|
|
139
139
|
fill: "none",
|
|
140
140
|
stroke: "currentColor",
|
|
@@ -145,15 +145,15 @@ function Me(l, s) {
|
|
|
145
145
|
e("path", { d: "M10 2h4m-2 12v-4m-8 3a8 8 0 0 1 8-7a8 8 0 1 1-5.3 14L4 17.6" }),
|
|
146
146
|
e("path", { d: "M9 17H4v5" })
|
|
147
147
|
], -1)
|
|
148
|
-
]));
|
|
148
|
+
])]);
|
|
149
149
|
}
|
|
150
|
-
const Se =
|
|
150
|
+
const Se = g({ name: "lucide-timer-reset", render: Me }), qe = {
|
|
151
151
|
viewBox: "0 0 24 24",
|
|
152
152
|
width: "1.2em",
|
|
153
153
|
height: "1.2em"
|
|
154
154
|
};
|
|
155
|
-
function Be(
|
|
156
|
-
return
|
|
155
|
+
function Be(s, n) {
|
|
156
|
+
return l(), i("svg", qe, [...n[0] || (n[0] = [
|
|
157
157
|
e("g", {
|
|
158
158
|
fill: "none",
|
|
159
159
|
stroke: "currentColor",
|
|
@@ -165,9 +165,9 @@ function Be(l, s) {
|
|
|
165
165
|
e("path", { d: "M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16" }),
|
|
166
166
|
e("path", { d: "M8 16H3v5" })
|
|
167
167
|
], -1)
|
|
168
|
-
]));
|
|
168
|
+
])]);
|
|
169
169
|
}
|
|
170
|
-
const je =
|
|
170
|
+
const je = g({ name: "lucide-refresh-cw", render: Be }), ze = { class: "collapse collapse-arrow" }, Te = { class: "collapse-title px-2 py-0.5 bg-neutral-200 dark:bg-neutral-800 theme-neutral" }, Ie = { class: "font-semibold text-sm flex gap-x-1 items-center" }, He = /* @__PURE__ */ z({
|
|
171
171
|
__name: "UCollapse.ce",
|
|
172
172
|
props: /* @__PURE__ */ K({
|
|
173
173
|
title: { type: String },
|
|
@@ -178,85 +178,85 @@ const je = _({ name: "lucide-refresh-cw", render: Be }), ze = { class: "collapse
|
|
|
178
178
|
openModifiers: {}
|
|
179
179
|
}),
|
|
180
180
|
emits: ["update:open"],
|
|
181
|
-
setup(
|
|
182
|
-
const
|
|
183
|
-
function m(
|
|
184
|
-
if (
|
|
181
|
+
setup(s) {
|
|
182
|
+
const n = Z(s, "open");
|
|
183
|
+
function m(o) {
|
|
184
|
+
if (o.target instanceof HTMLElement) {
|
|
185
185
|
const y = {
|
|
186
186
|
block: "nearest",
|
|
187
187
|
inline: "nearest",
|
|
188
188
|
behavior: "smooth"
|
|
189
189
|
};
|
|
190
|
-
|
|
190
|
+
o.target.scrollIntoView(y);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
return (
|
|
193
|
+
return (o, y) => (l(), i("div", ze, [
|
|
194
194
|
ee(e("input", {
|
|
195
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
195
|
+
"onUpdate:modelValue": y[0] || (y[0] = (x) => n.value = x),
|
|
196
196
|
type: "checkbox"
|
|
197
197
|
}, null, 512), [
|
|
198
|
-
[te,
|
|
198
|
+
[te, n.value]
|
|
199
199
|
]),
|
|
200
200
|
e("div", Te, [
|
|
201
|
-
T(
|
|
202
|
-
open:
|
|
203
|
-
title:
|
|
201
|
+
T(o.$slots, "title", {
|
|
202
|
+
open: n.value,
|
|
203
|
+
title: s.title
|
|
204
204
|
}, () => [
|
|
205
205
|
e("h3", Ie, [
|
|
206
|
-
T(
|
|
207
|
-
|
|
206
|
+
T(o.$slots, "icon", {}, () => [
|
|
207
|
+
s.icon ? (l(), b(oe(s.icon), {
|
|
208
208
|
key: 0,
|
|
209
209
|
class: "size-4"
|
|
210
210
|
})) : M("", !0)
|
|
211
211
|
], !0),
|
|
212
|
-
|
|
212
|
+
h(" " + u(s.title ?? "Group"), 1)
|
|
213
213
|
])
|
|
214
214
|
], !0)
|
|
215
215
|
]),
|
|
216
216
|
e("div", {
|
|
217
|
-
class: C([!
|
|
217
|
+
class: C([!s.noPadding && "px-2", "collapse-content text-sm overflow-hidden"]),
|
|
218
218
|
onTransitionend: m
|
|
219
219
|
}, [
|
|
220
|
-
T(
|
|
220
|
+
T(o.$slots, "default", { open: n.value }, void 0, !0)
|
|
221
221
|
], 34)
|
|
222
222
|
]));
|
|
223
223
|
}
|
|
224
|
-
}), Ve = '.collapse[data-v-
|
|
225
|
-
function Oe(
|
|
226
|
-
if (
|
|
227
|
-
return `${Math.round(
|
|
228
|
-
const
|
|
229
|
-
if (
|
|
230
|
-
return `${
|
|
231
|
-
if (
|
|
232
|
-
return `${Math.floor(
|
|
233
|
-
const m = Math.floor(
|
|
234
|
-
return
|
|
224
|
+
}), Ve = '.collapse[data-v-46c2be51]:not(td,tr,colgroup){visibility:visible}.collapse[data-v-46c2be51]{position:relative;display:grid;overflow:hidden;width:100%;grid-template-rows:max-content 0fr;transition:grid-template-rows .2s;isolation:isolate}.collapse>input[data-v-46c2be51]:is([type=checkbox],[type=radio]){grid-column-start:1;grid-row-start:1;appearance:none;opacity:0}.collapse[data-v-46c2be51]:is([open],:focus),.collapse[data-v-46c2be51]:has(>input:is([type=checkbox],[type=radio]):checked){grid-template-rows:max-content 1fr}.collapse:is([open],:focus)>.collapse-content[data-v-46c2be51],.collapse[data-v-46c2be51]:not(.collapse-close)>:where(input:is([type=checkbox],[type=radio]):checked~.collapse-content){visibility:visible;min-height:fit-content}.collapse[data-v-46c2be51]:focus-visible,.collapse[data-v-46c2be51]:has(>input:is([type=checkbox],[type=radio]):focus-visible){outline-color:var(--ui-text);outline-style:solid;outline-width:2px;outline-offset:2px}.collapse:not(.collapse-close)>input[type=checkbox][data-v-46c2be51],.collapse:not(.collapse-close)>input[type=radio][data-v-46c2be51]:not(:checked),.collapse:not(.collapse-close)>.collapse-title[data-v-46c2be51]{cursor:pointer}.collapse:focus:not(.collapse-close,.collapse[open])>.collapse-title[data-v-46c2be51]{cursor:unset}.collapse:is([open]).collapse-arrow>.collapse-title[data-v-46c2be51]:after{transform:translateY(-50%) rotate(225deg)}.collapse.collapse-arrow:focus>.collapse-title[data-v-46c2be51]:after{transform:translateY(-50%) rotate(225deg)}.collapse.collapse-arrow>input:is([type=checkbox],[type=radio]):checked~.collapse-title[data-v-46c2be51]:after{transform:translateY(-50%) rotate(225deg)}.collapse>input[data-v-46c2be51]:is([type=checkbox],[type=radio]){z-index:1;width:100%}.collapse-title[data-v-46c2be51],.collapse-content[data-v-46c2be51]{grid-column-start:1;grid-row-start:1}.collapse-content[data-v-46c2be51]{visibility:hidden;grid-column-start:1;grid-row-start:2;min-height:0;cursor:unset;transition:visibility .2s}.collapse-arrow>.collapse-title[data-v-46c2be51]:after{position:absolute;display:block;height:.5rem;width:.5rem;transform:translateY(-100%) rotate(45deg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;top:50%;right:.8em;inset-inline-end:.75rem;content:"";transform-origin:75% 75%;box-shadow:2px 2px;pointer-events:none}.collapse-title[data-v-46c2be51]{position:relative;width:100%;transition:background-color .2s ease-out}', Ae = /* @__PURE__ */ ne(He, [["styles", [Ve]], ["__scopeId", "data-v-46c2be51"]]);
|
|
225
|
+
function Oe(s) {
|
|
226
|
+
if (s < 1e3)
|
|
227
|
+
return `${Math.round(s)} ms`;
|
|
228
|
+
const n = s / 1e3;
|
|
229
|
+
if (s < 1e4)
|
|
230
|
+
return `${n.toFixed(3)} seconds`;
|
|
231
|
+
if (s < 6e4)
|
|
232
|
+
return `${Math.floor(n)} seconds`;
|
|
233
|
+
const m = Math.floor(n / 60);
|
|
234
|
+
return s < 36e5 ? `${m} minute${m > 1 ? "s" : ""}` : `${Math.floor(m / 60)}h${m % 60}m${n % 60}s`;
|
|
235
235
|
}
|
|
236
236
|
const Ee = {
|
|
237
237
|
viewBox: "0 0 24 24",
|
|
238
238
|
width: "1.2em",
|
|
239
239
|
height: "1.2em"
|
|
240
240
|
};
|
|
241
|
-
function De(
|
|
242
|
-
return
|
|
241
|
+
function De(s, n) {
|
|
242
|
+
return l(), i("svg", Ee, [...n[0] || (n[0] = [
|
|
243
243
|
e("path", {
|
|
244
244
|
fill: "none",
|
|
245
245
|
stroke: "currentColor",
|
|
246
246
|
"stroke-linecap": "round",
|
|
247
247
|
"stroke-linejoin": "round",
|
|
248
248
|
"stroke-width": "2",
|
|
249
|
-
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.
|
|
249
|
+
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"
|
|
250
250
|
}, null, -1)
|
|
251
|
-
]));
|
|
251
|
+
])]);
|
|
252
252
|
}
|
|
253
|
-
const Le =
|
|
253
|
+
const Le = g({ name: "lucide-wrench", render: De }), Re = {
|
|
254
254
|
viewBox: "0 0 24 24",
|
|
255
255
|
width: "1.2em",
|
|
256
256
|
height: "1.2em"
|
|
257
257
|
};
|
|
258
|
-
function Ne(
|
|
259
|
-
return
|
|
258
|
+
function Ne(s, n) {
|
|
259
|
+
return l(), i("svg", Re, [...n[0] || (n[0] = [
|
|
260
260
|
e("g", {
|
|
261
261
|
fill: "none",
|
|
262
262
|
stroke: "currentColor",
|
|
@@ -271,15 +271,15 @@ function Ne(l, s) {
|
|
|
271
271
|
}),
|
|
272
272
|
e("path", { d: "M12 16v-4m0-4h.01" })
|
|
273
273
|
], -1)
|
|
274
|
-
]));
|
|
274
|
+
])]);
|
|
275
275
|
}
|
|
276
|
-
const Ue =
|
|
276
|
+
const Ue = g({ name: "lucide-info", render: Ne }), Fe = {
|
|
277
277
|
viewBox: "0 0 24 24",
|
|
278
278
|
width: "1.2em",
|
|
279
279
|
height: "1.2em"
|
|
280
280
|
};
|
|
281
|
-
function Je(
|
|
282
|
-
return
|
|
281
|
+
function Je(s, n) {
|
|
282
|
+
return l(), i("svg", Fe, [...n[0] || (n[0] = [
|
|
283
283
|
e("g", {
|
|
284
284
|
fill: "none",
|
|
285
285
|
stroke: "currentColor",
|
|
@@ -290,15 +290,15 @@ function Je(l, s) {
|
|
|
290
290
|
e("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
|
|
291
291
|
e("path", { d: "M14 2v4a2 2 0 0 0 2 2h4M10 9H8m8 4H8m8 4H8" })
|
|
292
292
|
], -1)
|
|
293
|
-
]));
|
|
293
|
+
])]);
|
|
294
294
|
}
|
|
295
|
-
const Pe =
|
|
295
|
+
const Pe = g({ name: "lucide-file-text", render: Je }), Qe = {
|
|
296
296
|
viewBox: "0 0 24 24",
|
|
297
297
|
width: "1.2em",
|
|
298
298
|
height: "1.2em"
|
|
299
299
|
};
|
|
300
|
-
function We(
|
|
301
|
-
return
|
|
300
|
+
function We(s, n) {
|
|
301
|
+
return l(), i("svg", Qe, [...n[0] || (n[0] = [
|
|
302
302
|
e("g", {
|
|
303
303
|
fill: "none",
|
|
304
304
|
stroke: "currentColor",
|
|
@@ -313,15 +313,15 @@ function We(l, s) {
|
|
|
313
313
|
}),
|
|
314
314
|
e("path", { d: "m15 9l-6 6m0-6l6 6" })
|
|
315
315
|
], -1)
|
|
316
|
-
]));
|
|
316
|
+
])]);
|
|
317
317
|
}
|
|
318
|
-
const Ye =
|
|
318
|
+
const Ye = g({ name: "lucide-circle-x", render: We }), Ge = {
|
|
319
319
|
viewBox: "0 0 24 24",
|
|
320
320
|
width: "1.2em",
|
|
321
321
|
height: "1.2em"
|
|
322
322
|
};
|
|
323
|
-
function Xe(
|
|
324
|
-
return
|
|
323
|
+
function Xe(s, n) {
|
|
324
|
+
return l(), i("svg", Ge, [...n[0] || (n[0] = [
|
|
325
325
|
e("path", {
|
|
326
326
|
fill: "none",
|
|
327
327
|
stroke: "currentColor",
|
|
@@ -330,15 +330,15 @@ function Xe(l, s) {
|
|
|
330
330
|
"stroke-width": "2",
|
|
331
331
|
d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"
|
|
332
332
|
}, null, -1)
|
|
333
|
-
]));
|
|
333
|
+
])]);
|
|
334
334
|
}
|
|
335
|
-
const Ke =
|
|
335
|
+
const Ke = g({ name: "lucide-braces", render: Xe }), Ze = {
|
|
336
336
|
viewBox: "0 0 24 24",
|
|
337
337
|
width: "1.2em",
|
|
338
338
|
height: "1.2em"
|
|
339
339
|
};
|
|
340
|
-
function et(
|
|
341
|
-
return
|
|
340
|
+
function et(s, n) {
|
|
341
|
+
return l(), i("svg", Ze, [...n[0] || (n[0] = [
|
|
342
342
|
e("g", {
|
|
343
343
|
fill: "none",
|
|
344
344
|
stroke: "currentColor",
|
|
@@ -349,15 +349,15 @@ function et(l, s) {
|
|
|
349
349
|
e("path", { d: "M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8" }),
|
|
350
350
|
e("path", { d: "M3 3v5h5m4-1v5l4 2" })
|
|
351
351
|
], -1)
|
|
352
|
-
]));
|
|
352
|
+
])]);
|
|
353
353
|
}
|
|
354
|
-
const tt =
|
|
354
|
+
const tt = g({ name: "lucide-history", render: et }), ot = {
|
|
355
355
|
viewBox: "0 0 24 24",
|
|
356
356
|
width: "1.2em",
|
|
357
357
|
height: "1.2em"
|
|
358
358
|
};
|
|
359
|
-
function
|
|
360
|
-
return
|
|
359
|
+
function nt(s, n) {
|
|
360
|
+
return l(), i("svg", ot, [...n[0] || (n[0] = [
|
|
361
361
|
e("g", {
|
|
362
362
|
fill: "none",
|
|
363
363
|
stroke: "currentColor",
|
|
@@ -374,9 +374,9 @@ function st(l, s) {
|
|
|
374
374
|
}),
|
|
375
375
|
e("path", { d: "M16 8.9V7H8l4 5l-4 5h8v-1.9" })
|
|
376
376
|
], -1)
|
|
377
|
-
]));
|
|
377
|
+
])]);
|
|
378
378
|
}
|
|
379
|
-
const
|
|
379
|
+
const st = g({ name: "lucide-sigma-square", render: nt }), lt = { class: "flex flex-col divide-y dark:divide-(--ui-border) divide-(--ui-border-accented)" }, it = { class: "py-1 text-sm" }, at = { class: "grid grid-cols-[auto_1fr] gap-1" }, rt = { class: "rounded bg-neutral-500/20 p-0.5" }, dt = {
|
|
380
380
|
class: "grid grid-cols-[auto_1fr] gap-x-2",
|
|
381
381
|
title: "When was the query entry last updated"
|
|
382
382
|
}, ut = { class: "font-bold" }, ct = {
|
|
@@ -387,20 +387,20 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
387
387
|
key: 1,
|
|
388
388
|
class: "grid grid-cols-[auto_1fr] gap-x-2",
|
|
389
389
|
title: "How long did the last query take to fetch"
|
|
390
|
-
}, vt = { class: "font-bold" },
|
|
390
|
+
}, vt = { class: "font-bold" }, ht = {
|
|
391
391
|
class: "grid grid-cols-[auto_1fr] gap-x-2",
|
|
392
392
|
title: "How many components and effects are using this query"
|
|
393
|
-
},
|
|
393
|
+
}, ft = { class: "font-bold" }, gt = {
|
|
394
394
|
key: 2,
|
|
395
395
|
class: "grid grid-cols-[auto_1fr] gap-x-2",
|
|
396
396
|
title: "When is this query entry garbace collected"
|
|
397
|
-
},
|
|
397
|
+
}, _t = { class: "font-bold" }, yt = { class: "py-2 gap-2 flex flex-wrap items-center justify-items-start" }, kt = { class: "py-1" }, xt = {
|
|
398
398
|
key: 0,
|
|
399
399
|
class: "rounded p-1 overflow-auto max-h-[1200px]"
|
|
400
|
-
},
|
|
400
|
+
}, bt = {
|
|
401
401
|
key: 1,
|
|
402
402
|
class: "text-neutral-500/50"
|
|
403
|
-
},
|
|
403
|
+
}, wt = { class: "py-1" }, $t = { class: "grid grid-cols-[auto_1fr] gap-1" }, Ct = { class: "font-bold" }, Mt = { class: "font-bold" }, St = { class: "font-bold" }, qt = { class: "font-bold" }, Bt = { class: "py-1" }, jt = { class: "rounded p-1 overflow-auto max-h-[1200px]" }, zt = { class: "py-1" }, Tt = {
|
|
404
404
|
key: 0,
|
|
405
405
|
class: "rounded bg-neutral-500/20 p-1 overflow-auto max-h-[1200px]"
|
|
406
406
|
}, It = { key: 1 }, Ht = {
|
|
@@ -408,83 +408,83 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
408
408
|
class: "py-6 mx-auto"
|
|
409
409
|
}, Vt = { class: "flex flex-col text-center items-center gap-2 text-lg px-2" }, Lt = /* @__PURE__ */ z({
|
|
410
410
|
__name: "[queryId]",
|
|
411
|
-
setup(
|
|
412
|
-
const
|
|
413
|
-
let
|
|
411
|
+
setup(s) {
|
|
412
|
+
const n = ae(), m = se(), o = j(() => m.value.find((_) => _.keyHash === n.params.queryId) ?? null), y = j(() => o.value?.devtools.history.map((_) => {
|
|
413
|
+
let t;
|
|
414
414
|
try {
|
|
415
|
-
|
|
415
|
+
t = JSON.stringify(_, null, 2);
|
|
416
416
|
} catch (k) {
|
|
417
|
-
|
|
417
|
+
t = `Error serializing entry: ${String(k)}`;
|
|
418
418
|
}
|
|
419
419
|
return {
|
|
420
|
-
...
|
|
421
|
-
data:
|
|
420
|
+
..._,
|
|
421
|
+
data: t
|
|
422
422
|
};
|
|
423
|
-
}) ?? []),
|
|
423
|
+
}) ?? []), x = {
|
|
424
424
|
showSecond: !0,
|
|
425
425
|
rounding: "floor",
|
|
426
426
|
max: 1e3 * 60 * 5
|
|
427
427
|
// 5 minutes
|
|
428
|
-
},
|
|
429
|
-
...
|
|
428
|
+
}, r = re(() => o.value?.devtools.updatedAt ?? 0, {
|
|
429
|
+
...x,
|
|
430
430
|
updateInterval: 3e3
|
|
431
|
-
}),
|
|
431
|
+
}), f = le(), v = O("pc:query:details:data:open", !1, {});
|
|
432
432
|
let B = v.value, S = null;
|
|
433
|
-
const
|
|
433
|
+
const w = O("pc:query:details:error:open", !1, {});
|
|
434
434
|
return ie(
|
|
435
|
-
() =>
|
|
436
|
-
(
|
|
437
|
-
!
|
|
435
|
+
() => o.value?.state,
|
|
436
|
+
(_) => {
|
|
437
|
+
!_ || S === _.status || (S = _.status, _.status === "error" ? (w.value = !0, B = v.value, v.value = !1) : _.status === "success" && (v.value = B, w.value = !1));
|
|
438
438
|
}
|
|
439
|
-
), (
|
|
440
|
-
const k = Ae, R = je, $ = de, N = Se, A = ue, U = ce, F = $e, J =
|
|
441
|
-
return
|
|
442
|
-
|
|
439
|
+
), (_, t) => {
|
|
440
|
+
const k = Ae, R = je, $ = de, N = Se, A = ue, U = ce, F = $e, J = xe, P = _e, Q = W;
|
|
441
|
+
return l(), i("div", lt, [
|
|
442
|
+
o.value ? (l(), i(q, { key: 0 }, [
|
|
443
443
|
d(k, {
|
|
444
444
|
title: "Details",
|
|
445
445
|
icon: a(Ue)
|
|
446
446
|
}, {
|
|
447
447
|
default: p(() => [
|
|
448
|
-
e("div",
|
|
449
|
-
e("p",
|
|
450
|
-
|
|
448
|
+
e("div", it, [
|
|
449
|
+
e("p", at, [
|
|
450
|
+
t[9] || (t[9] = e("span", null, "key:", -1)),
|
|
451
451
|
e("span", null, [
|
|
452
|
-
e("code",
|
|
452
|
+
e("code", rt, u(o.value.key), 1)
|
|
453
453
|
])
|
|
454
454
|
]),
|
|
455
455
|
e("p", dt, [
|
|
456
|
-
|
|
457
|
-
e("span", ut, u(a(
|
|
456
|
+
t[10] || (t[10] = e("span", null, "Last update:", -1)),
|
|
457
|
+
e("span", ut, u(a(r)), 1)
|
|
458
458
|
]),
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
e("span", pt, u(a(I)(new Date(
|
|
462
|
-
...
|
|
459
|
+
o.value.devtools.history.at(0)?.fetchTime ? (l(), i("p", ct, [
|
|
460
|
+
t[11] || (t[11] = e("span", null, "Last fetch:", -1)),
|
|
461
|
+
e("span", pt, u(a(I)(new Date(o.value.devtools.history.at(0).fetchTime.start), {
|
|
462
|
+
...x,
|
|
463
463
|
max: void 0
|
|
464
464
|
})), 1)
|
|
465
465
|
])) : M("", !0),
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
o.value.devtools.history.at(0)?.fetchTime?.end ? (l(), i("p", mt, [
|
|
467
|
+
t[12] || (t[12] = e("span", null, "Fetch duration:", -1)),
|
|
468
468
|
e("span", vt, u(a(Oe)(
|
|
469
|
-
|
|
469
|
+
o.value.devtools.history.at(0).fetchTime.end - o.value.devtools.history.at(0).fetchTime.start
|
|
470
470
|
)), 1)
|
|
471
471
|
])) : M("", !0),
|
|
472
|
-
e("p",
|
|
472
|
+
e("p", ht, [
|
|
473
473
|
e("span", null, [
|
|
474
|
-
|
|
475
|
-
e("span",
|
|
474
|
+
t[13] || (t[13] = h("Observers: ", -1)),
|
|
475
|
+
e("span", ft, u(o.value.deps.length), 1)
|
|
476
476
|
])
|
|
477
477
|
]),
|
|
478
|
-
!
|
|
479
|
-
typeof
|
|
480
|
-
|
|
481
|
-
|
|
478
|
+
!o.value.active && o.value.options ? (l(), i("p", gt, [
|
|
479
|
+
typeof o.value.options.gcTime == "number" && Number.isFinite(o.value.options.gcTime) ? (l(), i(q, { key: 0 }, [
|
|
480
|
+
t[14] || (t[14] = e("span", null, [
|
|
481
|
+
h("Will be "),
|
|
482
482
|
e("i", null, "gced")
|
|
483
483
|
], -1)),
|
|
484
|
-
e("span",
|
|
485
|
-
new Date(
|
|
484
|
+
e("span", _t, u(a(I)(
|
|
485
|
+
new Date(o.value.devtools.inactiveAt + o.value.options.gcTime),
|
|
486
486
|
{
|
|
487
|
-
...
|
|
487
|
+
...x,
|
|
488
488
|
max: void 0
|
|
489
489
|
}
|
|
490
490
|
)), 1)
|
|
@@ -504,95 +504,88 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
504
504
|
class: "theme-info",
|
|
505
505
|
size: "sm",
|
|
506
506
|
title: "Refetch this query",
|
|
507
|
-
disabled:
|
|
508
|
-
onClick:
|
|
507
|
+
disabled: o.value.options?.enabled === !1,
|
|
508
|
+
onClick: t[0] || (t[0] = (c) => a(f).emit("queries:refetch", o.value.key))
|
|
509
509
|
}, {
|
|
510
510
|
default: p(() => [
|
|
511
511
|
d(R, { class: "size-3.5" }),
|
|
512
|
-
|
|
512
|
+
t[15] || (t[15] = h(" Refetch ", -1))
|
|
513
513
|
]),
|
|
514
|
-
_: 1
|
|
515
|
-
__: [15]
|
|
514
|
+
_: 1
|
|
516
515
|
}, 8, ["disabled"]),
|
|
517
516
|
d($, {
|
|
518
517
|
class: "theme-neutral",
|
|
519
518
|
size: "sm",
|
|
520
519
|
title: "Invalidate this query",
|
|
521
|
-
onClick:
|
|
520
|
+
onClick: t[1] || (t[1] = (c) => a(f).emit("queries:invalidate", o.value.key))
|
|
522
521
|
}, {
|
|
523
522
|
default: p(() => [
|
|
524
523
|
d(N),
|
|
525
|
-
|
|
524
|
+
t[16] || (t[16] = h(" Invalidate ", -1))
|
|
526
525
|
]),
|
|
527
|
-
_: 1
|
|
528
|
-
__: [16]
|
|
526
|
+
_: 1
|
|
529
527
|
}),
|
|
530
|
-
|
|
528
|
+
o.value.devtools.simulate !== "loading" ? (l(), b($, {
|
|
531
529
|
key: 0,
|
|
532
530
|
class: "theme-purple",
|
|
533
531
|
size: "sm",
|
|
534
532
|
title: "Restore the previous state",
|
|
535
|
-
onClick:
|
|
533
|
+
onClick: t[2] || (t[2] = (c) => a(f).emit("queries:simulate:loading", o.value.key))
|
|
536
534
|
}, {
|
|
537
535
|
default: p(() => [
|
|
538
536
|
d(A),
|
|
539
|
-
|
|
537
|
+
t[17] || (t[17] = h(" Simulate loading ", -1))
|
|
540
538
|
]),
|
|
541
|
-
_: 1
|
|
542
|
-
|
|
543
|
-
})) : (n(), w($, {
|
|
539
|
+
_: 1
|
|
540
|
+
})) : (l(), b($, {
|
|
544
541
|
key: 1,
|
|
545
542
|
class: "theme-purple",
|
|
546
543
|
size: "sm",
|
|
547
544
|
title: "Simulate a loading state",
|
|
548
|
-
onClick:
|
|
545
|
+
onClick: t[3] || (t[3] = (c) => a(f).emit("queries:simulate:loading:stop", o.value.key))
|
|
549
546
|
}, {
|
|
550
547
|
default: p(() => [
|
|
551
548
|
d(A, { class: "animate-spin" }),
|
|
552
|
-
|
|
549
|
+
t[18] || (t[18] = h(" Stop loading ", -1))
|
|
553
550
|
]),
|
|
554
|
-
_: 1
|
|
555
|
-
__: [18]
|
|
551
|
+
_: 1
|
|
556
552
|
})),
|
|
557
|
-
|
|
553
|
+
o.value.devtools.simulate !== "error" ? (l(), b($, {
|
|
558
554
|
key: 2,
|
|
559
555
|
class: "theme-error",
|
|
560
556
|
size: "sm",
|
|
561
557
|
title: "Simulate an Error state",
|
|
562
|
-
onClick:
|
|
558
|
+
onClick: t[4] || (t[4] = (c) => a(f).emit("queries:simulate:error", o.value.key))
|
|
563
559
|
}, {
|
|
564
560
|
default: p(() => [
|
|
565
561
|
d(U),
|
|
566
|
-
|
|
562
|
+
t[19] || (t[19] = h(" Simulate error ", -1))
|
|
567
563
|
]),
|
|
568
|
-
_: 1
|
|
569
|
-
|
|
570
|
-
})) : (n(), w($, {
|
|
564
|
+
_: 1
|
|
565
|
+
})) : (l(), b($, {
|
|
571
566
|
key: 3,
|
|
572
567
|
class: "theme-error",
|
|
573
568
|
size: "sm",
|
|
574
569
|
title: "Restore the previous state",
|
|
575
|
-
onClick:
|
|
570
|
+
onClick: t[5] || (t[5] = (c) => a(f).emit("queries:simulate:error:stop", o.value.key))
|
|
576
571
|
}, {
|
|
577
572
|
default: p(() => [
|
|
578
573
|
d(F),
|
|
579
|
-
|
|
574
|
+
t[20] || (t[20] = h(" Remove error ", -1))
|
|
580
575
|
]),
|
|
581
|
-
_: 1
|
|
582
|
-
__: [20]
|
|
576
|
+
_: 1
|
|
583
577
|
})),
|
|
584
578
|
d($, {
|
|
585
579
|
class: "theme-warning",
|
|
586
580
|
size: "sm",
|
|
587
581
|
title: "Reset this query to its initial (pending) state",
|
|
588
|
-
onClick:
|
|
582
|
+
onClick: t[6] || (t[6] = (c) => a(f).emit("queries:reset", o.value.key))
|
|
589
583
|
}, {
|
|
590
584
|
default: p(() => [
|
|
591
585
|
d(J),
|
|
592
|
-
|
|
586
|
+
t[21] || (t[21] = h(" Reset ", -1))
|
|
593
587
|
]),
|
|
594
|
-
_: 1
|
|
595
|
-
__: [21]
|
|
588
|
+
_: 1
|
|
596
589
|
})
|
|
597
590
|
])
|
|
598
591
|
]),
|
|
@@ -600,7 +593,7 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
600
593
|
}, 8, ["icon"]),
|
|
601
594
|
d(k, {
|
|
602
595
|
open: a(v),
|
|
603
|
-
"onUpdate:open":
|
|
596
|
+
"onUpdate:open": t[7] || (t[7] = (c) => E(v) ? v.value = c : null),
|
|
604
597
|
title: "Data",
|
|
605
598
|
icon: a(Pe),
|
|
606
599
|
class: "font-mono",
|
|
@@ -608,47 +601,47 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
608
601
|
}, {
|
|
609
602
|
default: p(() => [
|
|
610
603
|
d(P, {
|
|
611
|
-
data:
|
|
604
|
+
data: o.value.state.data
|
|
612
605
|
}, null, 8, ["data"])
|
|
613
606
|
]),
|
|
614
607
|
_: 1
|
|
615
608
|
}, 8, ["open", "icon"]),
|
|
616
609
|
d(k, {
|
|
617
|
-
open: a(
|
|
618
|
-
"onUpdate:open":
|
|
619
|
-
title: `Error${
|
|
610
|
+
open: a(w),
|
|
611
|
+
"onUpdate:open": t[8] || (t[8] = (c) => E(w) ? w.value = c : null),
|
|
612
|
+
title: `Error${o.value.state.status === "error" ? " (!)" : ""}`,
|
|
620
613
|
icon: a(Ye)
|
|
621
614
|
}, {
|
|
622
615
|
default: p(() => [
|
|
623
616
|
e("div", kt, [
|
|
624
|
-
|
|
617
|
+
o.value.state.error ? (l(), i("pre", xt, u(o.value.state.error), 1)) : (l(), i("p", bt, "No error"))
|
|
625
618
|
])
|
|
626
619
|
]),
|
|
627
620
|
_: 1
|
|
628
621
|
}, 8, ["open", "title", "icon"]),
|
|
629
622
|
d(k, {
|
|
630
623
|
title: "Call count",
|
|
631
|
-
icon: a(
|
|
624
|
+
icon: a(st),
|
|
632
625
|
open: !1
|
|
633
626
|
}, {
|
|
634
627
|
default: p(() => [
|
|
635
|
-
e("div",
|
|
628
|
+
e("div", wt, [
|
|
636
629
|
e("p", $t, [
|
|
637
|
-
|
|
630
|
+
t[22] || (t[22] = e("span", null, "Calls:", -1)),
|
|
638
631
|
e("span", null, [
|
|
639
|
-
e("code", Ct, u(
|
|
632
|
+
e("code", Ct, u(o.value.devtools.count.total), 1)
|
|
640
633
|
]),
|
|
641
|
-
|
|
634
|
+
t[23] || (t[23] = e("span", null, "Success:", -1)),
|
|
642
635
|
e("span", null, [
|
|
643
|
-
e("code", Mt, u(
|
|
636
|
+
e("code", Mt, u(o.value.devtools.count.succeed), 1)
|
|
644
637
|
]),
|
|
645
|
-
|
|
638
|
+
t[24] || (t[24] = e("span", null, "Errors:", -1)),
|
|
646
639
|
e("span", null, [
|
|
647
|
-
e("code", St, u(
|
|
640
|
+
e("code", St, u(o.value.devtools.count.errored), 1)
|
|
648
641
|
]),
|
|
649
|
-
|
|
642
|
+
t[25] || (t[25] = e("span", null, "Cancelled:", -1)),
|
|
650
643
|
e("span", null, [
|
|
651
|
-
e("code", qt, u(
|
|
644
|
+
e("code", qt, u(o.value.devtools.count.cancelled), 1)
|
|
652
645
|
])
|
|
653
646
|
])
|
|
654
647
|
])
|
|
@@ -656,15 +649,15 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
656
649
|
_: 1
|
|
657
650
|
}, 8, ["icon"]),
|
|
658
651
|
d(k, {
|
|
659
|
-
title: `History (${
|
|
652
|
+
title: `History (${o.value.devtools.history.length})`,
|
|
660
653
|
icon: a(tt),
|
|
661
654
|
open: !1
|
|
662
655
|
}, {
|
|
663
656
|
default: p(() => [
|
|
664
657
|
e("div", Bt, [
|
|
665
|
-
(
|
|
658
|
+
(l(!0), i(q, null, V(y.value, (c) => (l(), b(k, {
|
|
666
659
|
key: c.updatedAt,
|
|
667
|
-
title: `Entry nº${c.id} (${a(I)(new Date(c.updatedAt),
|
|
660
|
+
title: `Entry nº${c.id} (${a(I)(new Date(c.updatedAt), x)})`,
|
|
668
661
|
open: !1
|
|
669
662
|
}, {
|
|
670
663
|
default: p(() => [
|
|
@@ -683,18 +676,18 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
683
676
|
}, {
|
|
684
677
|
default: p(() => [
|
|
685
678
|
e("div", zt, [
|
|
686
|
-
|
|
687
|
-
|
|
679
|
+
o.value.options ? (l(), i("pre", Tt, u(o.value.options), 1)) : (l(), i("p", It, [...t[26] || (t[26] = [
|
|
680
|
+
h(" This Query entry has no options. It might have been created from the server or manually set with ", -1),
|
|
688
681
|
e("code", null, "queryCache.setQueryData()", -1),
|
|
689
|
-
|
|
690
|
-
])))
|
|
682
|
+
h(" for prefetching. ", -1)
|
|
683
|
+
])]))
|
|
691
684
|
])
|
|
692
685
|
]),
|
|
693
686
|
_: 1
|
|
694
687
|
}, 8, ["icon"])
|
|
695
|
-
], 64)) : (
|
|
688
|
+
], 64)) : (l(), i("div", Ht, [
|
|
696
689
|
e("p", Vt, [
|
|
697
|
-
|
|
690
|
+
t[27] || (t[27] = h(" Select a Query to inspect ", -1)),
|
|
698
691
|
d(Q)
|
|
699
692
|
])
|
|
700
693
|
]))
|
|
@@ -705,4 +698,4 @@ const nt = _({ name: "lucide-sigma-square", render: st }), lt = { class: "flex f
|
|
|
705
698
|
export {
|
|
706
699
|
Lt as default
|
|
707
700
|
};
|
|
708
|
-
//# sourceMappingURL=_queryId_-
|
|
701
|
+
//# sourceMappingURL=_queryId_-B8mNYXBL.js.map
|