adonisjs-server-stats 1.16.1 → 1.17.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/README.md +14 -2
- package/dist/core/core/dashboard-api.d.ts +6 -4
- package/dist/core/index.js +9 -6
- package/dist/core/types.d.ts +24 -1
- package/dist/react/{CacheSection-DkLtukWz.js → CacheSection-C-X2Tnca.js} +48 -44
- package/dist/react/{CacheTab-DWeXnEBI.js → CacheTab-D55mfmeE.js} +1 -1
- package/dist/react/{ConfigSection-DaVbFPDg.js → ConfigSection-C-HGnZfd.js} +1 -1
- package/dist/react/{ConfigTab-D4640WJZ.js → ConfigTab-CNnsOXBh.js} +1 -1
- package/dist/react/{CustomPaneTab-DglmAVMC.js → CustomPaneTab-D-267UVd.js} +1 -1
- package/dist/react/{EmailsSection-vYx6ExTb.js → EmailsSection-Bqw4DI4r.js} +65 -57
- package/dist/react/{EmailsTab-DKDrRmRH.js → EmailsTab-CkHOhj2F.js} +1 -1
- package/dist/react/{EventsSection-CapH5xut.js → EventsSection-CMeyjzVC.js} +1 -1
- package/dist/react/{EventsTab-BNVEySAm.js → EventsTab-DgS2v1HX.js} +1 -1
- package/dist/react/{JobsSection-ZIQsJWid.js → JobsSection-oWH6pbrG.js} +1 -1
- package/dist/react/{JobsTab-DXQzXrDt.js → JobsTab-zdxX_as-.js} +1 -1
- package/dist/react/{LogEntryRow-BWkHE51-.js → LogEntryRow-Cn8Ee_X0.js} +1 -1
- package/dist/react/{LogsSection-ConXdBkL.js → LogsSection-XmiI2MMs.js} +2 -2
- package/dist/react/{LogsTab-CJM47LPn.js → LogsTab-ixusY4v7.js} +2 -2
- package/dist/react/{OverviewSection-DOMu2qvl.js → OverviewSection-CvhObTLP.js} +119 -111
- package/dist/react/{QueriesSection-DFsaOSJI.js → QueriesSection-BvledwBI.js} +1 -1
- package/dist/react/{QueriesTab-CY9CG_7L.js → QueriesTab-smQQJvJa.js} +1 -1
- package/dist/react/{RequestsSection-CC-eVHsl.js → RequestsSection-DKuYpViv.js} +2 -2
- package/dist/react/{RoutesSection-p1DMq41y.js → RoutesSection-5RNVurQ6.js} +1 -1
- package/dist/react/{RoutesTab-Cnqy8UcK.js → RoutesTab-CpXNO-Rx.js} +1 -1
- package/dist/react/{SplitPaneWrapper-XgkA0QxE.js → SplitPaneWrapper-DQvJnsuk.js} +1 -1
- package/dist/react/{TimelineTab-1YOERxe5.js → TimelineTab-LHQHHKkO.js} +2 -2
- package/dist/react/components/Dashboard/overview-data-context.d.ts +15 -0
- package/dist/react/components/Dashboard/sections/OverviewSection.d.ts +9 -0
- package/dist/react/{index-DOSlCpZ9.js → index-LlFvooUN.js} +148 -141
- package/dist/react/index.js +1 -1
- package/dist/src/collectors/app_collector.d.ts +11 -0
- package/dist/src/collectors/app_collector.js +11 -0
- package/dist/src/collectors/redis_collector.js +13 -13
- package/dist/src/dashboard/cache_handlers.d.ts +17 -3
- package/dist/src/dashboard/cache_handlers.js +14 -19
- package/dist/src/dashboard/coalesce_cache.d.ts +2 -8
- package/dist/src/dashboard/coalesce_cache.js +25 -0
- package/dist/src/dashboard/dashboard_controller.d.ts +1 -0
- package/dist/src/dashboard/dashboard_controller.js +8 -3
- package/dist/src/dashboard/dashboard_store.d.ts +0 -1
- package/dist/src/dashboard/dashboard_store.js +14 -6
- package/dist/src/dashboard/filter_handlers.js +26 -4
- package/dist/src/dashboard/flush_manager.d.ts +1 -0
- package/dist/src/dashboard/flush_manager.js +6 -1
- package/dist/src/dashboard/format_helpers.d.ts +0 -4
- package/dist/src/dashboard/format_helpers.js +0 -19
- package/dist/src/dashboard/integrations/config_inspector.js +6 -3
- package/dist/src/dashboard/migrator_tables.js +4 -0
- package/dist/src/dashboard/paginate_helper.js +21 -11
- package/dist/src/dashboard/sensitive_patterns.d.ts +37 -0
- package/dist/src/dashboard/sensitive_patterns.js +146 -5
- package/dist/src/dashboard/write_queue.d.ts +20 -21
- package/dist/src/dashboard/write_queue.js +37 -60
- package/dist/src/debug/query_collector.js +6 -1
- package/dist/src/debug/trace_collector.js +26 -13
- package/dist/src/edge/client/dashboard.js +2 -2
- package/dist/src/edge/client-vue/dashboard.js +5 -5
- package/dist/src/edge/views/dashboard.edge +1 -1
- package/dist/src/edge/views/debug-panel.edge +1 -1
- package/dist/src/edge/views/stats-bar.edge +1 -1
- package/dist/src/middleware/request_tracking_middleware.js +7 -2
- package/dist/src/provider/dashboard_init.d.ts +9 -1
- package/dist/src/provider/dashboard_init.js +10 -0
- package/dist/src/provider/email_helpers.js +20 -5
- package/dist/src/provider/server_stats_provider.d.ts +9 -0
- package/dist/src/provider/server_stats_provider.js +26 -7
- package/dist/src/provider/shutdown_helpers.js +3 -1
- package/dist/src/provider/toolbar_setup.js +21 -15
- package/dist/src/types.d.ts +24 -1
- package/dist/vue/CacheSection-Bm0goqX6.js +161 -0
- package/dist/vue/{ConfigSection-BiRAiaHj.js → ConfigSection-BrYslIMN.js} +1 -1
- package/dist/vue/{EmailsSection-Dl44qyqY.js → EmailsSection-B8N5vaWA.js} +89 -85
- package/dist/vue/{EventsSection-CWjeitjU.js → EventsSection-D2Y_xt0m.js} +1 -1
- package/dist/vue/{JobsSection-DOBb4LjZ.js → JobsSection-cEKqELLC.js} +1 -1
- package/dist/vue/{LogsSection-CXx-HOWJ.js → LogsSection-C3H2c0S3.js} +1 -1
- package/dist/vue/{OverviewSection-CyfNQ8uV.js → OverviewSection-I2swuHDa.js} +1 -1
- package/dist/vue/{QueriesSection-CXBsFp-y.js → QueriesSection-CF1IE3SN.js} +1 -1
- package/dist/vue/{RequestsSection-YTIaZGZd.js → RequestsSection-CuwgXzmU.js} +1 -1
- package/dist/vue/{RoutesSection-CDKMey49.js → RoutesSection-BhJCF7Rn.js} +1 -1
- package/dist/vue/composables/useDashboardData.d.ts +1 -1
- package/dist/vue/{index-14x39RI_.js → index-DUsImuIN.js} +95 -95
- package/dist/vue/index.js +1 -1
- package/package.json +12 -3
- package/dist/src/dashboard/explain_query.d.ts +0 -8
- package/dist/src/dashboard/explain_query.js +0 -22
- package/dist/src/provider/boot_initializer.d.ts +0 -28
- package/dist/src/provider/boot_initializer.js +0 -35
- package/dist/vue/CacheSection-CxEBVVkF.js +0 -156
|
@@ -1,88 +1,92 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { formatTime as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as B, inject as f, ref as w, computed as g, onUnmounted as D, openBlock as s, createElementBlock as n, createElementVNode as t, Fragment as m, createTextVNode as d, toDisplayString as i, createCommentVNode as _, normalizeClass as k, createVNode as R, unref as r, renderList as U, createBlock as z } from "vue";
|
|
2
|
+
import { formatTime as L, timeAgo as M } from "adonisjs-server-stats/core";
|
|
3
|
+
import { u as q } from "./index-DUsImuIN.js";
|
|
4
|
+
import { u as H } from "./useResizableTable-BoivAevK.js";
|
|
5
|
+
import { _ as I } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
6
|
+
import { _ as K } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
|
|
7
|
+
const G = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "ss-dash-email-preview",
|
|
10
10
|
id: "ss-dash-email-preview"
|
|
11
|
-
},
|
|
11
|
+
}, J = { class: "ss-dash-email-preview-header" }, O = {
|
|
12
12
|
class: "ss-dash-email-preview-meta",
|
|
13
13
|
id: "ss-dash-email-preview-meta"
|
|
14
|
-
},
|
|
14
|
+
}, Q = ["srcdoc"], W = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "ss-dash-empty"
|
|
17
|
-
},
|
|
17
|
+
}, X = { class: "ss-dash-table-wrap" }, Y = ["onClick"], Z = { style: { color: "var(--ss-dim)" } }, tt = ["title"], et = ["title"], lt = ["title"], st = {
|
|
18
18
|
key: 0,
|
|
19
19
|
style: { color: "var(--ss-dim)", "text-align": "center", display: "block" }
|
|
20
|
-
},
|
|
20
|
+
}, at = {
|
|
21
21
|
key: 1,
|
|
22
22
|
style: { color: "var(--ss-dim)", "text-align": "center", display: "block" }
|
|
23
|
-
},
|
|
23
|
+
}, ot = ["title"], nt = ["title"], it = {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "ss-dash-empty"
|
|
26
|
-
},
|
|
26
|
+
}, yt = /* @__PURE__ */ B({
|
|
27
27
|
__name: "EmailsSection",
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
28
|
+
setup(rt) {
|
|
29
|
+
const x = f("ss-refresh-key", w(0)), C = f("ss-dashboard-endpoint", "/__stats/api"), T = f("ss-auth-token", void 0), P = f("ss-base-url", ""), { data: h, loading: S, pagination: p, goToPage: E, setSearch: j, fetchEmailPreview: A } = q(
|
|
30
30
|
() => "emails",
|
|
31
31
|
{
|
|
32
|
-
baseUrl:
|
|
33
|
-
dashboardEndpoint:
|
|
34
|
-
authToken:
|
|
35
|
-
refreshKey:
|
|
32
|
+
baseUrl: P,
|
|
33
|
+
dashboardEndpoint: C,
|
|
34
|
+
authToken: T,
|
|
35
|
+
refreshKey: x
|
|
36
36
|
}
|
|
37
|
-
),
|
|
38
|
-
if (!
|
|
39
|
-
const o =
|
|
40
|
-
return o.data || o.emails ||
|
|
41
|
-
}), a =
|
|
42
|
-
() => u.value === null ? void 0 :
|
|
37
|
+
), b = w(""), u = w(null), v = w(null), y = g(() => {
|
|
38
|
+
if (!h.value) return [];
|
|
39
|
+
const o = h.value;
|
|
40
|
+
return o.data || o.emails || h.value || [];
|
|
41
|
+
}), a = g(
|
|
42
|
+
() => u.value === null ? void 0 : y.value.find((o) => o.id === u.value)
|
|
43
43
|
);
|
|
44
44
|
function $(o) {
|
|
45
|
-
|
|
45
|
+
b.value = o, j(o);
|
|
46
46
|
}
|
|
47
|
+
let c = null;
|
|
47
48
|
async function N(o) {
|
|
48
|
-
if (o.html) {
|
|
49
|
-
u.value = o.id,
|
|
49
|
+
if (c?.abort(), c = null, o.html) {
|
|
50
|
+
u.value = o.id, v.value = o.html;
|
|
50
51
|
return;
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
-
|
|
53
|
+
const l = new AbortController();
|
|
54
|
+
c = l;
|
|
55
|
+
const e = await A(o.id, { signal: l.signal });
|
|
56
|
+
c === l && (u.value = o.id, v.value = e);
|
|
54
57
|
}
|
|
55
58
|
function V() {
|
|
56
|
-
u.value = null,
|
|
59
|
+
c?.abort(), u.value = null, v.value = null;
|
|
57
60
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
D(() => c?.abort());
|
|
62
|
+
const { tableRef: F } = H(() => y.value);
|
|
63
|
+
return (o, l) => (s(), n("div", null, [
|
|
64
|
+
u.value && v.value ? (s(), n("div", G, [
|
|
65
|
+
t("div", J, [
|
|
66
|
+
t("div", O, [
|
|
67
|
+
a.value ? (s(), n(m, { key: 0 }, [
|
|
68
|
+
l[4] || (l[4] = t("strong", null, "Subject:", -1)),
|
|
65
69
|
d(" " + i(a.value.subject) + " | ", 1),
|
|
66
|
-
|
|
70
|
+
l[5] || (l[5] = t("strong", null, "From:", -1)),
|
|
67
71
|
d(" " + i(a.value.from_addr || a.value.from) + " | ", 1),
|
|
68
|
-
|
|
72
|
+
l[6] || (l[6] = t("strong", null, "To:", -1)),
|
|
69
73
|
d(" " + i(a.value.to_addr || a.value.to) + " ", 1),
|
|
70
|
-
a.value.cc || a.value.cc_addr ? (
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
a.value.cc || a.value.cc_addr ? (s(), n(m, { key: 0 }, [
|
|
75
|
+
l[0] || (l[0] = d(" | ", -1)),
|
|
76
|
+
l[1] || (l[1] = t("strong", null, "CC:", -1)),
|
|
73
77
|
d(" " + i(a.value.cc || a.value.cc_addr), 1)
|
|
74
|
-
], 64)) :
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
], 64)) : _("", !0),
|
|
79
|
+
l[7] || (l[7] = d(" | ", -1)),
|
|
80
|
+
l[8] || (l[8] = t("strong", null, "Status:", -1)),
|
|
77
81
|
t("span", {
|
|
78
|
-
class:
|
|
82
|
+
class: k(`ss-dash-badge ss-dash-email-status-${a.value.status}`)
|
|
79
83
|
}, i(a.value.status), 3),
|
|
80
|
-
a.value.mailer ? (
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
a.value.mailer ? (s(), n(m, { key: 1 }, [
|
|
85
|
+
l[2] || (l[2] = d(" | ", -1)),
|
|
86
|
+
l[3] || (l[3] = t("strong", null, "Mailer:", -1)),
|
|
83
87
|
d(" " + i(a.value.mailer), 1)
|
|
84
|
-
], 64)) :
|
|
85
|
-
], 64)) :
|
|
88
|
+
], 64)) : _("", !0)
|
|
89
|
+
], 64)) : _("", !0)
|
|
86
90
|
]),
|
|
87
91
|
t("button", {
|
|
88
92
|
type: "button",
|
|
@@ -94,26 +98,26 @@ const I = {
|
|
|
94
98
|
t("iframe", {
|
|
95
99
|
class: "ss-dash-email-iframe",
|
|
96
100
|
id: "ss-dash-email-iframe",
|
|
97
|
-
srcdoc:
|
|
101
|
+
srcdoc: v.value,
|
|
98
102
|
title: "Email preview",
|
|
99
103
|
sandbox: ""
|
|
100
|
-
}, null, 8,
|
|
101
|
-
])) : (
|
|
102
|
-
|
|
103
|
-
"model-value":
|
|
104
|
+
}, null, 8, Q)
|
|
105
|
+
])) : (s(), n(m, { key: 1 }, [
|
|
106
|
+
R(I, {
|
|
107
|
+
"model-value": b.value,
|
|
104
108
|
placeholder: "Filter emails...",
|
|
105
|
-
summary: `${r(
|
|
109
|
+
summary: `${r(p).total ?? 0} emails`,
|
|
106
110
|
"onUpdate:modelValue": $
|
|
107
111
|
}, null, 8, ["model-value", "summary"]),
|
|
108
|
-
r(
|
|
109
|
-
t("div",
|
|
110
|
-
|
|
112
|
+
r(S) && !r(h) ? (s(), n("div", W, "Loading emails...")) : (s(), n(m, { key: 1 }, [
|
|
113
|
+
t("div", X, [
|
|
114
|
+
y.value.length > 0 ? (s(), n("table", {
|
|
111
115
|
key: 0,
|
|
112
116
|
ref_key: "tableRef",
|
|
113
|
-
ref:
|
|
117
|
+
ref: F,
|
|
114
118
|
class: "ss-dash-table"
|
|
115
119
|
}, [
|
|
116
|
-
|
|
120
|
+
l[9] || (l[9] = t("colgroup", null, [
|
|
117
121
|
t("col", { style: { width: "40px" } }),
|
|
118
122
|
t("col", { style: { width: "150px" } }),
|
|
119
123
|
t("col", { style: { width: "150px" } }),
|
|
@@ -123,7 +127,7 @@ const I = {
|
|
|
123
127
|
t("col", { style: { width: "70px" } }),
|
|
124
128
|
t("col", { style: { width: "80px" } })
|
|
125
129
|
], -1)),
|
|
126
|
-
|
|
130
|
+
l[10] || (l[10] = t("thead", null, [
|
|
127
131
|
t("tr", null, [
|
|
128
132
|
t("th", null, "#"),
|
|
129
133
|
t("th", null, "From"),
|
|
@@ -136,73 +140,73 @@ const I = {
|
|
|
136
140
|
])
|
|
137
141
|
], -1)),
|
|
138
142
|
t("tbody", null, [
|
|
139
|
-
(
|
|
143
|
+
(s(!0), n(m, null, U(y.value, (e) => (s(), n("tr", {
|
|
140
144
|
key: e.id,
|
|
141
145
|
class: "ss-dash-clickable ss-dash-email-row",
|
|
142
|
-
onClick: (
|
|
146
|
+
onClick: (dt) => N(e)
|
|
143
147
|
}, [
|
|
144
148
|
t("td", null, [
|
|
145
|
-
t("span",
|
|
149
|
+
t("span", Z, i(e.id), 1)
|
|
146
150
|
]),
|
|
147
151
|
t("td", null, [
|
|
148
152
|
t("span", {
|
|
149
153
|
title: e.from_addr || e.from || "",
|
|
150
154
|
style: { color: "var(--ss-text-secondary)", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap", display: "block" }
|
|
151
|
-
}, i(e.from_addr || e.from || ""), 9,
|
|
155
|
+
}, i(e.from_addr || e.from || ""), 9, tt)
|
|
152
156
|
]),
|
|
153
157
|
t("td", null, [
|
|
154
158
|
t("span", {
|
|
155
159
|
title: e.to_addr || e.to || "",
|
|
156
160
|
style: { color: "var(--ss-text-secondary)", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap", display: "block" }
|
|
157
|
-
}, i(e.to_addr || e.to || ""), 9,
|
|
161
|
+
}, i(e.to_addr || e.to || ""), 9, et)
|
|
158
162
|
]),
|
|
159
163
|
t("td", null, [
|
|
160
164
|
t("span", {
|
|
161
165
|
title: e.subject || "",
|
|
162
166
|
style: { color: "var(--ss-sql-color)", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap", display: "block" }
|
|
163
|
-
}, i(e.subject || ""), 9,
|
|
167
|
+
}, i(e.subject || ""), 9, lt)
|
|
164
168
|
]),
|
|
165
169
|
t("td", null, [
|
|
166
170
|
t("span", {
|
|
167
|
-
class:
|
|
171
|
+
class: k(`ss-dash-badge ss-dash-email-status-${e.status || ""}`)
|
|
168
172
|
}, i(e.status), 3)
|
|
169
173
|
]),
|
|
170
174
|
t("td", null, [
|
|
171
|
-
(e.attachment_count || e.attachmentCount || 0) > 0 ? (
|
|
175
|
+
(e.attachment_count || e.attachmentCount || 0) > 0 ? (s(), n("span", st, i(e.attachment_count || e.attachmentCount || 0), 1)) : (s(), n("span", at, "-"))
|
|
172
176
|
]),
|
|
173
177
|
t("td", null, [
|
|
174
178
|
t("span", {
|
|
175
179
|
title: e.mailer || "",
|
|
176
180
|
style: { color: "var(--ss-muted)", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap", display: "block" }
|
|
177
|
-
}, i(e.mailer || ""), 9,
|
|
181
|
+
}, i(e.mailer || ""), 9, ot)
|
|
178
182
|
]),
|
|
179
183
|
t("td", null, [
|
|
180
184
|
t("span", {
|
|
181
185
|
class: "ss-dash-event-time",
|
|
182
186
|
style: { "white-space": "nowrap" },
|
|
183
|
-
title: r(
|
|
187
|
+
title: r(L)(
|
|
184
188
|
e.createdAt || e.created_at || e.timestamp
|
|
185
189
|
)
|
|
186
|
-
}, i(r(
|
|
190
|
+
}, i(r(M)(
|
|
187
191
|
e.createdAt || e.created_at || e.timestamp
|
|
188
|
-
)), 9,
|
|
192
|
+
)), 9, nt)
|
|
189
193
|
])
|
|
190
|
-
], 8,
|
|
194
|
+
], 8, Y))), 128))
|
|
191
195
|
])
|
|
192
|
-
], 512)) : (
|
|
196
|
+
], 512)) : (s(), n("div", it, "No emails captured yet"))
|
|
193
197
|
]),
|
|
194
|
-
r(
|
|
198
|
+
r(p).totalPages > 1 ? (s(), z(K, {
|
|
195
199
|
key: 0,
|
|
196
|
-
page: r(
|
|
197
|
-
"last-page": r(
|
|
198
|
-
total: r(
|
|
199
|
-
onPageChange: r(
|
|
200
|
-
}, null, 8, ["page", "last-page", "total", "onPageChange"])) :
|
|
200
|
+
page: r(p).page,
|
|
201
|
+
"last-page": r(p).totalPages,
|
|
202
|
+
total: r(p).total,
|
|
203
|
+
onPageChange: r(E)
|
|
204
|
+
}, null, 8, ["page", "last-page", "total", "onPageChange"])) : _("", !0)
|
|
201
205
|
], 64))
|
|
202
206
|
], 64))
|
|
203
207
|
]));
|
|
204
208
|
}
|
|
205
209
|
});
|
|
206
210
|
export {
|
|
207
|
-
|
|
211
|
+
yt as default
|
|
208
212
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as E, inject as i, ref as p, computed as P, openBlock as s, createElementBlock as l, createVNode as v, unref as a, Fragment as h, createElementVNode as e, renderList as T, toDisplayString as c, createBlock as C, createCommentVNode as D } from "vue";
|
|
2
2
|
import { formatTime as S, timeAgo as V } from "adonisjs-server-stats/core";
|
|
3
|
-
import { u as $ } from "./index-
|
|
3
|
+
import { u as $ } from "./index-DUsImuIN.js";
|
|
4
4
|
import { u as A } from "./useResizableTable-BoivAevK.js";
|
|
5
5
|
import { _ as B } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
6
6
|
import { _ as R } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as L, inject as h, ref as p, computed as g, openBlock as o, createElementBlock as d, createElementVNode as s, toDisplayString as n, createCommentVNode as v, createVNode as k, unref as a, withCtx as z, Fragment as _, renderList as x, normalizeClass as w, withModifiers as K, createBlock as M } from "vue";
|
|
2
2
|
import { extractJobs as O, extractJobStats as Q, JOB_STATUS_FILTERS as W, getJobStatusBadgeColor as q, formatDuration as G, formatTime as H, timeAgo as X } from "adonisjs-server-stats/core";
|
|
3
|
-
import { u as Y } from "./index-
|
|
3
|
+
import { u as Y } from "./index-DUsImuIN.js";
|
|
4
4
|
import { u as Z } from "./useResizableTable-BoivAevK.js";
|
|
5
5
|
import { _ as I } from "./JsonViewer.vue_vue_type_script_setup_true_lang-Bid05zpm.js";
|
|
6
6
|
import { _ as j } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ne, inject as b, ref as r, computed as U, openBlock as a, createElementBlock as o, createVNode as M, unref as s, withCtx as ue, createElementVNode as n, Fragment as q, renderList as x, normalizeClass as $, toDisplayString as u, withKeys as V, createCommentVNode as _, createStaticVNode as ie, createTextVNode as w, withModifiers as O, createBlock as re } from "vue";
|
|
2
2
|
import { LOG_LEVELS as de, getStructuredData as m, getLogLevelCssClass as ce, resolveLogLevel as j, resolveLogTimestamp as F, formatTime as ve, timeAgo as pe, resolveLogRequestId as g, resolveLogMessage as he } from "adonisjs-server-stats/core";
|
|
3
3
|
import { _ as _e } from "./JsonViewer.vue_vue_type_script_setup_true_lang-Bid05zpm.js";
|
|
4
|
-
import { u as fe } from "./index-
|
|
4
|
+
import { u as fe } from "./index-DUsImuIN.js";
|
|
5
5
|
import { _ as me } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
6
6
|
import { _ as ge } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
|
|
7
7
|
const ye = { class: "ss-dash-log-filters" }, ke = ["onClick"], Ce = ["value"], be = { class: "ss-dash-structured-search" }, qe = ["value"], $e = ["value"], Fe = ["value"], Le = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Rs, openBlock as o, createElementBlock as n, Fragment as _, renderList as k, createElementVNode as s, normalizeClass as b, toDisplayString as r, inject as S, ref as N, watch as ks, computed as d, onUnmounted as Hs, unref as x, createVNode as F, createCommentVNode as v, normalizeStyle as ns, createTextVNode as ws } from "vue";
|
|
2
2
|
import { formatDuration as Q, formatTime as Ks, timeAgo as Gs, durationClassName as Xs } from "adonisjs-server-stats/core";
|
|
3
|
-
import { u as bs, _ as O } from "./index-
|
|
3
|
+
import { u as bs, _ as O } from "./index-DUsImuIN.js";
|
|
4
4
|
const Ys = { class: "ss-dash-btn-group" }, Zs = ["onClick"], Js = /* @__PURE__ */ Rs({
|
|
5
5
|
__name: "TimeRangeSelector",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as he, inject as z, ref as T, computed as p, openBlock as a, createElementBlock as l, createVNode as me, withCtx as ve, createElementVNode as s, normalizeClass as f, unref as c, Fragment as d, renderList as x, createTextVNode as v, toDisplayString as o, createCommentVNode as h, withKeys as G, withModifiers as F, normalizeStyle as H, createBlock as ye } from "vue";
|
|
2
2
|
import { QueriesController as fe, getDashboardListColumns as _e, getDashboardGroupedColumns as xe, resolveField as b, normalizeDashboardQuery as ge, buildSqlCounts as be, computeDashboardQuerySummary as ke, formatTime as we, timeAgo as Ce, formatCellValue as $e, flattenPlanTree as De, getExplainColumns as Ee, hasNestedPlan as Se, durationClassName as Ne } from "adonisjs-server-stats/core";
|
|
3
|
-
import { u as ze } from "./index-
|
|
3
|
+
import { u as ze } from "./index-DUsImuIN.js";
|
|
4
4
|
import { u as Pe } from "./useResizableTable-BoivAevK.js";
|
|
5
5
|
import { _ as Te } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
6
6
|
import { _ as Fe } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Y, computed as q, openBlock as l, createElementBlock as o, normalizeClass as v, createElementVNode as t, Fragment as f, renderList as A, normalizeStyle as W, toDisplayString as i, createTextVNode as b, createCommentVNode as p, inject as T, ref as m, watch as at, nextTick as lt, onUnmounted as nt, createVNode as G, createBlock as I, unref as d } from "vue";
|
|
2
2
|
import { initSplitPane as ot, formatTime as rt, timeAgo as it, normalizeTraceFields as dt, durationClassName as ut } from "adonisjs-server-stats/core";
|
|
3
3
|
import { u as ct } from "./useApiClient-BQQ9CF-q.js";
|
|
4
|
-
import { u as ht } from "./index-
|
|
4
|
+
import { u as ht } from "./index-DUsImuIN.js";
|
|
5
5
|
import { u as mt } from "./useResizableTable-BoivAevK.js";
|
|
6
6
|
import { _ as pt } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
7
7
|
import { _ as vt } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, inject as d, ref as c, computed as A, openBlock as l, createElementBlock as o, createVNode as N, unref as u, createElementVNode as e, Fragment as R, renderList as S, normalizeClass as j, toDisplayString as a } from "vue";
|
|
2
|
-
import { u as z } from "./index-
|
|
2
|
+
import { u as z } from "./index-DUsImuIN.js";
|
|
3
3
|
import { u as C } from "./useResizableTable-BoivAevK.js";
|
|
4
4
|
import { _ as D } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
|
|
5
5
|
const E = {
|
|
@@ -43,6 +43,6 @@ export declare function useDashboardData(section: () => DashboardSection | strin
|
|
|
43
43
|
deleteCacheKey: (key: string) => Promise<boolean>;
|
|
44
44
|
fetchGroupedQueries: () => Promise<Record<string, unknown>[] | null>;
|
|
45
45
|
explainQuery: (queryId: number) => Promise<Record<string, unknown> | null>;
|
|
46
|
-
fetchEmailPreview: (emailId: number) => Promise<string | null>;
|
|
46
|
+
fetchEmailPreview: (emailId: number, init?: RequestInit) => Promise<string | null>;
|
|
47
47
|
fetchChart: (range: TimeRange) => Promise<unknown>;
|
|
48
48
|
};
|