adonisjs-server-stats 1.11.6 → 1.11.7

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.
Files changed (62) hide show
  1. package/README.md +13 -0
  2. package/dist/core/types-diagnostics.d.ts +2 -0
  3. package/dist/react/{CacheSection-BYN53kYO.js → CacheSection-DOUnyUrw.js} +1 -1
  4. package/dist/react/{CacheTab-DOhuK05d.js → CacheTab-D9o6bsPc.js} +1 -1
  5. package/dist/react/{ConfigSection-B9EHh4Rp.js → ConfigSection-DzNC7pOJ.js} +1 -1
  6. package/dist/react/{ConfigTab-C8kriE2b.js → ConfigTab-CT-Tu-ct.js} +1 -1
  7. package/dist/react/{CustomPaneTab-CvzQS_Wh.js → CustomPaneTab-CvIPe7NP.js} +1 -1
  8. package/dist/react/{EmailsSection-BJyFJf7A.js → EmailsSection-B1LT7Nx3.js} +1 -1
  9. package/dist/react/{EmailsTab-Ch8jp10B.js → EmailsTab-DKxK322z.js} +1 -1
  10. package/dist/react/{EventsSection-DJPwHeT8.js → EventsSection-D3AK0mhw.js} +1 -1
  11. package/dist/react/{EventsTab-B-FoehXC.js → EventsTab-BRRSW6RI.js} +1 -1
  12. package/dist/react/InternalsContent-BNOnSoi9.js +393 -0
  13. package/dist/react/{InternalsSection-B6VlVx5f.js → InternalsSection-BwrTfpjA.js} +1 -1
  14. package/dist/react/{InternalsTab-CkEKpRMU.js → InternalsTab--RD-L1dX.js} +1 -1
  15. package/dist/react/{JobsSection-DWF4i1t_.js → JobsSection-BMvj5886.js} +1 -1
  16. package/dist/react/{JobsTab-DqnifQXV.js → JobsTab-CQXWCrl8.js} +1 -1
  17. package/dist/react/{LogEntryRow-CMMkqA9M.js → LogEntryRow-DFI52ZEw.js} +1 -1
  18. package/dist/react/{LogsSection-C1xC5aP4.js → LogsSection-CW2hQ976.js} +2 -2
  19. package/dist/react/{LogsTab-CS4sLfLw.js → LogsTab-CV4Gf_yb.js} +2 -2
  20. package/dist/react/{OverviewSection-CxvfOR0v.js → OverviewSection-CxF9cabq.js} +1 -1
  21. package/dist/react/{QueriesSection-CrMdU5Ax.js → QueriesSection-CZJ-imAb.js} +117 -101
  22. package/dist/react/{QueriesTab-x85PjkyS.js → QueriesTab-CQHa1ck3.js} +23 -14
  23. package/dist/react/{RequestsSection-DETN9oZb.js → RequestsSection-Cb5YeqvI.js} +2 -2
  24. package/dist/react/{RoutesSection-CmorkJeC.js → RoutesSection-B43olD9v.js} +1 -1
  25. package/dist/react/{RoutesTab-CbzBOzpc.js → RoutesTab-RfhCUbkx.js} +1 -1
  26. package/dist/react/{SplitPaneWrapper-BiIgT4ND.js → SplitPaneWrapper-B05Mg6Sg.js} +1 -1
  27. package/dist/react/{TimelineTab-Ue9tUD_n.js → TimelineTab-Dx4686Ti.js} +2 -2
  28. package/dist/react/components/Dashboard/shared/DataTable.d.ts +1 -1
  29. package/dist/react/{index-DwDK-4oX.js → index-C4EMJrkH.js} +2 -2
  30. package/dist/react/index.js +1 -1
  31. package/dist/react/style.css +1 -1
  32. package/dist/src/collectors/db_pool_collector.js +17 -23
  33. package/dist/src/edge/client/dashboard.js +2 -2
  34. package/dist/src/edge/client/debug-panel-deferred.js +1 -1
  35. package/dist/src/edge/client-vue/dashboard.js +3 -3
  36. package/dist/src/edge/client-vue/debug-panel-deferred.js +2 -2
  37. package/dist/src/provider/diagnostics.d.ts +3 -0
  38. package/dist/src/provider/diagnostics.js +1 -0
  39. package/dist/src/provider/server_stats_provider.d.ts +7 -0
  40. package/dist/src/provider/server_stats_provider.js +36 -0
  41. package/dist/src/styles/components.css +16 -0
  42. package/dist/src/styles/dashboard.css +20 -12
  43. package/dist/vue/{CacheSection-DT2Mwf_s.js → CacheSection-BAotiuQq.js} +1 -1
  44. package/dist/vue/{ConfigSection-BwKwS9lh.js → ConfigSection-JZjK5E5F.js} +1 -1
  45. package/dist/vue/{EmailsSection-B65g0FVS.js → EmailsSection-BLwyQO7B.js} +1 -1
  46. package/dist/vue/{EventsSection-CxqtVF-o.js → EventsSection-BUEwO-0A.js} +1 -1
  47. package/dist/vue/{InternalsSection-BJUXE-5F.js → InternalsSection-jhTCuK3j.js} +149 -130
  48. package/dist/vue/{InternalsTab-DEMjqtlw.js → InternalsTab-521fxYYj.js} +152 -133
  49. package/dist/vue/{JobsSection-rMIyMb-g.js → JobsSection-21A0yQMq.js} +1 -1
  50. package/dist/vue/{LogsSection-DmmZVJ7D.js → LogsSection-BmOx8SNa.js} +1 -1
  51. package/dist/vue/{OverviewSection-BMabyqw-.js → OverviewSection-BRDK3Ony.js} +1 -1
  52. package/dist/vue/QueriesSection-D2WGsuR4.js +444 -0
  53. package/dist/vue/QueriesTab-6D_xfi7Q.js +114 -0
  54. package/dist/vue/{RequestsSection-CTu4jPZ_.js → RequestsSection-DLrjCfcE.js} +1 -1
  55. package/dist/vue/{RoutesSection-zQZDedL7.js → RoutesSection-CPr9w42B.js} +1 -1
  56. package/dist/vue/{index-CM3yNVUR.js → index-CYaqRGIT.js} +2 -2
  57. package/dist/vue/index.js +1 -1
  58. package/dist/vue/style.css +1 -1
  59. package/package.json +1 -1
  60. package/dist/react/InternalsContent-O8ino9oM.js +0 -370
  61. package/dist/vue/QueriesSection-BfDFwGqH.js +0 -428
  62. package/dist/vue/QueriesTab-DuTG7cpC.js +0 -106
@@ -1,5 +1,5 @@
1
- import { defineComponent as A, inject as c, ref as k, onMounted as B, onUnmounted as R, watch as U, computed as C, openBlock as a, createElementBlock as o, toDisplayString as s, Fragment as u, createElementVNode as l, renderList as v, unref as x, createCommentVNode as T, normalizeClass as y, createTextVNode as d, normalizeStyle as D } from "vue";
2
- import { SECTION_REFRESH_MS as O, fillPercent as H, getTimerLabel as Q, getIntegrationDetails as K, getIntegrationStatus as J, getIntegrationLabel as W, formatUptime as q, timeAgo as I, formatCollectorConfig as G, UnauthorizedError as X, classifyStatus as Y, formatDuration as M } from "adonisjs-server-stats/core";
1
+ import { defineComponent as B, inject as x, ref as k, onMounted as F, onUnmounted as R, watch as U, computed as C, openBlock as a, createElementBlock as o, toDisplayString as s, Fragment as u, createElementVNode as l, createTextVNode as d, createCommentVNode as h, renderList as v, unref as T, normalizeClass as y, normalizeStyle as w } from "vue";
2
+ import { SECTION_REFRESH_MS as O, fillPercent as Q, getTimerLabel as H, getIntegrationDetails as K, getIntegrationStatus as q, getIntegrationLabel as J, formatUptime as W, timeAgo as I, formatCollectorConfig as G, UnauthorizedError as X, classifyStatus as Y, formatDuration as M } from "adonisjs-server-stats/core";
3
3
  import { u as Z } from "./useApiClient-BQQ9CF-q.js";
4
4
  const _ = {
5
5
  key: 0,
@@ -10,84 +10,95 @@ const _ = {
10
10
  }, tl = {
11
11
  key: 2,
12
12
  class: "ss-dash-empty"
13
- }, el = { class: "ss-dash-info-cards" }, nl = { class: "ss-dash-info-card-label" }, sl = { class: "ss-dash-info-card-value" }, al = {
13
+ }, el = {
14
14
  key: 0,
15
- class: "ss-dash-empty"
16
- }, ol = {
15
+ style: {
16
+ background: "var(--ss-amber-bg)",
17
+ color: "var(--ss-amber-fg)",
18
+ padding: "8px 12px",
19
+ borderRadius: "6px",
20
+ fontSize: "12px",
21
+ marginBottom: "12px",
22
+ lineHeight: "1.5"
23
+ }
24
+ }, nl = { class: "ss-dash-info-cards" }, sl = { class: "ss-dash-info-card-label" }, al = { class: "ss-dash-info-card-value" }, ol = {
17
25
  key: 1,
26
+ class: "ss-dash-empty"
27
+ }, rl = {
28
+ key: 2,
18
29
  class: "ss-dash-table"
19
- }, rl = { style: { "font-family": "monospace", "font-size": "11px" } }, ul = {
30
+ }, ul = { style: { "font-family": "monospace", "font-size": "11px" } }, dl = {
20
31
  key: 0,
21
32
  style: { "margin-left": "6px", "font-size": "11px", color: "var(--ss-dim)" }
22
- }, dl = { style: { color: "var(--ss-dim)", "margin-left": "4px" } }, il = { style: { "font-size": "11px" } }, vl = ["onClick"], fl = ["onClick"], bl = {
23
- key: 2,
24
- class: "ss-dash-empty"
25
- }, pl = {
33
+ }, il = { style: { color: "var(--ss-dim)", "margin-left": "4px" } }, vl = { style: { "font-size": "11px" } }, bl = ["onClick"], fl = ["onClick"], pl = {
26
34
  key: 3,
35
+ class: "ss-dash-empty"
36
+ }, gl = {
37
+ key: 4,
27
38
  class: "ss-dash-table"
28
- }, gl = { class: "ss-dash-bar" }, yl = {
39
+ }, yl = { class: "ss-dash-bar" }, ml = {
29
40
  class: "ss-dash-bar-track",
30
41
  style: { "max-width": "120px" }
31
- }, ml = {
32
- key: 4,
33
- class: "ss-dash-empty"
34
42
  }, kl = {
35
43
  key: 5,
36
- class: "ss-dash-table"
37
- }, hl = { style: { color: "var(--ss-dim)" } }, cl = {
38
- key: 6,
39
44
  class: "ss-dash-empty"
40
- }, xl = {
45
+ }, hl = {
46
+ key: 6,
47
+ class: "ss-dash-table"
48
+ }, cl = { style: { color: "var(--ss-dim)" } }, xl = {
41
49
  key: 7,
50
+ class: "ss-dash-empty"
51
+ }, Tl = {
52
+ key: 8,
42
53
  class: "ss-dash-table"
43
- }, Tl = { style: { color: "var(--ss-dim)", "font-size": "11px" } }, Sl = { class: "ss-dash-table" }, Cl = { style: { "font-family": "monospace", "font-size": "11px" } }, El = {
54
+ }, Sl = { style: { color: "var(--ss-dim)", "font-size": "11px" } }, Cl = { class: "ss-dash-table" }, El = { style: { "font-family": "monospace", "font-size": "11px" } }, zl = {
44
55
  key: 0,
45
56
  class: "ss-dash-table",
46
57
  style: { "margin-top": "8px" }
47
- }, zl = { style: { "font-family": "monospace", "font-size": "11px" } }, wl = { class: "ss-dash-table" }, Dl = { class: "ss-dash-table" }, Il = { style: { "font-family": "monospace", "font-size": "11px" } }, Ml = { style: { "font-family": "monospace", "font-size": "11px" } }, $l = { style: { "font-family": "monospace", "font-size": "11px" } }, Pl = { style: { "font-size": "11px" } }, Fl = /* @__PURE__ */ A({
58
+ }, Dl = { style: { "font-family": "monospace", "font-size": "11px" } }, wl = { class: "ss-dash-table" }, Il = { class: "ss-dash-table" }, Ml = { style: { "font-family": "monospace", "font-size": "11px" } }, $l = { style: { "font-family": "monospace", "font-size": "11px" } }, Pl = { style: { "font-family": "monospace", "font-size": "11px" } }, Ll = { style: { "font-size": "11px" } }, Bl = /* @__PURE__ */ B({
48
59
  __name: "InternalsSection",
49
60
  setup(Nl) {
50
- const $ = c("ss-refresh-key", k(0)), P = c("ss-base-url", ""), N = c("ss-debug-endpoint", "/admin/api/debug"), L = c("ss-auth-token", void 0), e = k(null), m = k(!0), f = k(null), b = k(/* @__PURE__ */ new Set()), V = Z(P, L);
61
+ const $ = x("ss-refresh-key", k(0)), P = x("ss-base-url", ""), L = x("ss-debug-endpoint", "/admin/api/debug"), N = x("ss-auth-token", void 0), e = k(null), m = k(!0), b = k(null), f = k(/* @__PURE__ */ new Set()), A = Z(P, N);
51
62
  let p = null;
52
63
  async function S() {
53
64
  try {
54
- const r = await V().fetch(`${N}/diagnostics`);
55
- e.value = r, f.value = null, m.value = !1;
65
+ const r = await A().fetch(`${L}/diagnostics`);
66
+ e.value = r, b.value = null, m.value = !1;
56
67
  } catch (r) {
57
68
  if (r instanceof X) {
58
- f.value = r, m.value = !1, p && (clearInterval(p), p = null);
69
+ b.value = r, m.value = !1, p && (clearInterval(p), p = null);
59
70
  return;
60
71
  }
61
- f.value = r instanceof Error ? r : new Error(String(r)), m.value = !1;
72
+ b.value = r instanceof Error ? r : new Error(String(r)), m.value = !1;
62
73
  }
63
74
  }
64
- B(() => {
65
- m.value = !0, f.value = null, S(), p = setInterval(S, O);
75
+ F(() => {
76
+ m.value = !0, b.value = null, S(), p = setInterval(S, O);
66
77
  }), R(() => {
67
78
  p && clearInterval(p);
68
79
  }), U($, () => {
69
80
  S();
70
81
  });
71
82
  function g(r) {
72
- b.value.has(r) ? b.value.delete(r) : b.value.add(r);
83
+ f.value.has(r) ? f.value.delete(r) : f.value.add(r);
73
84
  }
74
- function h(r) {
85
+ function c(r) {
75
86
  const t = Y(r);
76
87
  return t === "ok" ? "ss-dash-dot-ok" : t === "err" ? "ss-dash-dot-err" : "";
77
88
  }
78
- function j(r) {
89
+ function V(r) {
79
90
  return r.debounceMs !== void 0 ? `${M(r.debounceMs)} (debounce)` : r.intervalMs !== void 0 ? M(r.intervalMs) : "-";
80
91
  }
81
92
  const E = C(() => e.value?.buffers ? Object.entries(e.value.buffers).map(([r, t]) => ({
82
93
  name: r.charAt(0).toUpperCase() + r.slice(1),
83
94
  ...t,
84
- percent: H(t.current, t.max)
95
+ percent: Q(t.current, t.max)
85
96
  })) : []), z = C(() => e.value?.timers ? Object.entries(e.value.timers).map(([r, t]) => ({
86
97
  key: r,
87
- label: Q(r),
98
+ label: H(r),
88
99
  ...t,
89
- interval: j(t)
90
- })) : []), w = C(() => {
100
+ interval: V(t)
101
+ })) : []), D = C(() => {
91
102
  if (!e.value) return [];
92
103
  const r = [];
93
104
  if (e.value.transmit && r.push({
@@ -99,36 +110,44 @@ const _ = {
99
110
  for (const [t, n] of Object.entries(e.value.integrations))
100
111
  r.push({
101
112
  key: t,
102
- label: W(t),
103
- status: J(n),
113
+ label: J(t),
114
+ status: q(n),
104
115
  details: K(t, n)
105
116
  });
106
117
  return r;
107
118
  });
108
119
  return (r, t) => (a(), o("div", null, [
109
- m.value && !e.value ? (a(), o("div", _, "Loading diagnostics...")) : f.value && !e.value ? (a(), o("div", ll, "Error: " + s(f.value.message), 1)) : e.value ? (a(), o(u, { key: 3 }, [
110
- t[41] || (t[41] = l("h3", { class: "ss-dash-section-title" }, "Package Info", -1)),
111
- l("div", el, [
120
+ m.value && !e.value ? (a(), o("div", _, "Loading diagnostics...")) : b.value && !e.value ? (a(), o("div", ll, "Error: " + s(b.value.message), 1)) : e.value ? (a(), o(u, { key: 3 }, [
121
+ e.value.collectors?.some((n) => n.name === "db_pool" || n.name === "app") && Array.isArray(e.value.lucidDebugConnections) && e.value.lucidDebugConnections.length === 0 ? (a(), o("div", el, [...t[4] || (t[4] = [
122
+ l("strong", null, "Query capture disabled", -1),
123
+ d(" — no Lucid connections have ", -1),
124
+ l("code", { style: { "font-size": "11px" } }, "debug: true", -1),
125
+ d(". Add it to your database connection in ", -1),
126
+ l("code", { style: { "font-size": "11px" } }, "config/database.ts", -1),
127
+ d(" to see queries in the Queries panel. ", -1)
128
+ ])])) : h("", !0),
129
+ t[42] || (t[42] = l("h3", { class: "ss-dash-section-title" }, "Package Info", -1)),
130
+ l("div", nl, [
112
131
  (a(!0), o(u, null, v([
113
132
  { label: "Version", value: e.value.package?.version || "-" },
114
133
  { label: "Node.js", value: e.value.package?.nodeVersion || "-" },
115
134
  { label: "AdonisJS", value: e.value.package?.adonisVersion || "-" },
116
135
  {
117
136
  label: "Uptime",
118
- value: x(q)(e.value.uptime || e.value.package?.uptime)
137
+ value: T(W)(e.value.uptime || e.value.package?.uptime)
119
138
  },
120
139
  { label: "Renderer", value: e.value.devToolbar?.renderer || "preact" }
121
140
  ], (n) => (a(), o("div", {
122
141
  key: n.label,
123
142
  class: "ss-dash-info-card"
124
143
  }, [
125
- l("span", nl, s(n.label), 1),
126
- l("span", sl, s(n.value), 1)
144
+ l("span", sl, s(n.label), 1),
145
+ l("span", al, s(n.value), 1)
127
146
  ]))), 128))
128
147
  ]),
129
- t[42] || (t[42] = l("h3", { class: "ss-dash-section-title" }, "Collectors", -1)),
130
- e.value.collectors?.length ? (a(), o("table", ol, [
131
- t[4] || (t[4] = l("thead", null, [
148
+ t[43] || (t[43] = l("h3", { class: "ss-dash-section-title" }, "Collectors", -1)),
149
+ e.value.collectors?.length ? (a(), o("table", rl, [
150
+ t[5] || (t[5] = l("thead", null, [
132
151
  l("tr", null, [
133
152
  l("th", null, "Collector"),
134
153
  l("th", null, "Status"),
@@ -141,42 +160,42 @@ const _ = {
141
160
  key: n.name
142
161
  }, [
143
162
  l("td", null, [
144
- l("span", rl, s(n.name), 1),
145
- n.label && n.label !== n.name ? (a(), o("span", ul, s(n.label), 1)) : T("", !0)
163
+ l("span", ul, s(n.name), 1),
164
+ n.label && n.label !== n.name ? (a(), o("span", dl, s(n.label), 1)) : h("", !0)
146
165
  ]),
147
166
  l("td", null, [
148
167
  l("span", {
149
- class: y(["ss-dash-dot", h(n.status)])
168
+ class: y(["ss-dash-dot", c(n.status)])
150
169
  }, null, 2),
151
170
  d(" " + s(n.status), 1)
152
171
  ]),
153
172
  l("td", {
154
- style: D(n.lastError ? { color: "var(--ss-red-fg)" } : {})
173
+ style: w(n.lastError ? { color: "var(--ss-red-fg)" } : {})
155
174
  }, [
156
175
  n.lastError ? (a(), o(u, { key: 0 }, [
157
176
  d(s(n.lastError) + " ", 1),
158
- l("span", dl, s(x(I)(n.lastErrorAt ?? 0)), 1)
177
+ l("span", il, s(T(I)(n.lastErrorAt ?? 0)), 1)
159
178
  ], 64)) : (a(), o(u, { key: 1 }, [
160
179
  d("-")
161
180
  ], 64))
162
181
  ], 4),
163
- l("td", il, [
164
- Object.keys(n.config || {}).length ? (a(!0), o(u, { key: 0 }, v(x(G)(n.config), (i) => (a(), o("span", {
182
+ l("td", vl, [
183
+ Object.keys(n.config || {}).length ? (a(!0), o(u, { key: 0 }, v(T(G)(n.config), (i) => (a(), o("span", {
165
184
  key: i.key,
166
185
  style: { "margin-right": "8px" }
167
186
  }, [
168
187
  d(s(i.key) + "=", 1),
169
- i.secret && !b.value.has(`collector-${n.name}-${i.key}`) ? (a(), o("span", {
188
+ i.secret && !f.value.has(`collector-${n.name}-${i.key}`) ? (a(), o("span", {
170
189
  key: 0,
171
190
  style: { color: "var(--ss-muted)", cursor: "pointer" },
172
- onClick: (F) => g(`collector-${n.name}-${i.key}`)
173
- }, "••••••••", 8, vl)) : (a(), o(u, { key: 1 }, [
191
+ onClick: (j) => g(`collector-${n.name}-${i.key}`)
192
+ }, "••••••••", 8, bl)) : (a(), o(u, { key: 1 }, [
174
193
  l("span", null, s(i.value), 1),
175
194
  i.secret ? (a(), o("button", {
176
195
  key: 0,
177
196
  style: { background: "none", border: "none", color: "var(--ss-link-color, #3b82f6)", cursor: "pointer", "font-size": "10px", "margin-left": "4px", padding: "0" },
178
- onClick: (F) => g(`collector-${n.name}-${i.key}`)
179
- }, " Hide ", 8, fl)) : T("", !0)
197
+ onClick: (j) => g(`collector-${n.name}-${i.key}`)
198
+ }, " Hide ", 8, fl)) : h("", !0)
180
199
  ], 64))
181
200
  ]))), 128)) : (a(), o(u, { key: 1 }, [
182
201
  d("-")
@@ -184,10 +203,10 @@ const _ = {
184
203
  ])
185
204
  ]))), 128))
186
205
  ])
187
- ])) : (a(), o("div", al, "No collectors")),
188
- t[43] || (t[43] = l("h3", { class: "ss-dash-section-title" }, "Buffers", -1)),
189
- E.value.length ? (a(), o("table", pl, [
190
- t[5] || (t[5] = l("thead", null, [
206
+ ])) : (a(), o("div", ol, "No collectors")),
207
+ t[44] || (t[44] = l("h3", { class: "ss-dash-section-title" }, "Buffers", -1)),
208
+ E.value.length ? (a(), o("table", gl, [
209
+ t[6] || (t[6] = l("thead", null, [
191
210
  l("tr", null, [
192
211
  l("th", null, "Buffer"),
193
212
  l("th", null, "Usage"),
@@ -201,11 +220,11 @@ const _ = {
201
220
  l("td", null, s(n.name), 1),
202
221
  l("td", null, s(n.current.toLocaleString()) + " / " + s(n.max.toLocaleString()), 1),
203
222
  l("td", null, [
204
- l("div", gl, [
205
- l("div", yl, [
223
+ l("div", yl, [
224
+ l("div", ml, [
206
225
  l("div", {
207
226
  class: y(["ss-dash-bar-fill", n.percent >= 100 ? "ss-dash-bar-fill-warn" : ""]),
208
- style: D({ width: n.percent + "%" })
227
+ style: w({ width: n.percent + "%" })
209
228
  }, null, 6)
210
229
  ]),
211
230
  l("span", {
@@ -215,10 +234,10 @@ const _ = {
215
234
  ])
216
235
  ]))), 128))
217
236
  ])
218
- ])) : (a(), o("div", bl, "No buffer data")),
219
- t[44] || (t[44] = l("h3", { class: "ss-dash-section-title" }, "Timers", -1)),
220
- z.value.length ? (a(), o("table", kl, [
221
- t[6] || (t[6] = l("thead", null, [
237
+ ])) : (a(), o("div", pl, "No buffer data")),
238
+ t[45] || (t[45] = l("h3", { class: "ss-dash-section-title" }, "Timers", -1)),
239
+ z.value.length ? (a(), o("table", hl, [
240
+ t[7] || (t[7] = l("thead", null, [
222
241
  l("tr", null, [
223
242
  l("th", null, "Timer"),
224
243
  l("th", null, "Status"),
@@ -232,17 +251,17 @@ const _ = {
232
251
  l("td", null, s(n.label), 1),
233
252
  l("td", null, [
234
253
  l("span", {
235
- class: y(["ss-dash-dot", h(n.active ? "active" : "inactive")])
254
+ class: y(["ss-dash-dot", c(n.active ? "active" : "inactive")])
236
255
  }, null, 2),
237
256
  d(" " + s(n.active ? "active" : "inactive"), 1)
238
257
  ]),
239
- l("td", hl, s(n.interval), 1)
258
+ l("td", cl, s(n.interval), 1)
240
259
  ]))), 128))
241
260
  ])
242
- ])) : (a(), o("div", ml, "No timer data")),
243
- t[45] || (t[45] = l("h3", { class: "ss-dash-section-title" }, "Integrations", -1)),
244
- w.value.length ? (a(), o("table", xl, [
245
- t[7] || (t[7] = l("thead", null, [
261
+ ])) : (a(), o("div", kl, "No timer data")),
262
+ t[46] || (t[46] = l("h3", { class: "ss-dash-section-title" }, "Integrations", -1)),
263
+ D.value.length ? (a(), o("table", Tl, [
264
+ t[8] || (t[8] = l("thead", null, [
246
265
  l("tr", null, [
247
266
  l("th", null, "Integration"),
248
267
  l("th", null, "Status"),
@@ -250,24 +269,24 @@ const _ = {
250
269
  ])
251
270
  ], -1)),
252
271
  l("tbody", null, [
253
- (a(!0), o(u, null, v(w.value, (n) => (a(), o("tr", {
272
+ (a(!0), o(u, null, v(D.value, (n) => (a(), o("tr", {
254
273
  key: n.key
255
274
  }, [
256
275
  l("td", null, s(n.label), 1),
257
276
  l("td", null, [
258
277
  l("span", {
259
- class: y(["ss-dash-dot", h(n.status)])
278
+ class: y(["ss-dash-dot", c(n.status)])
260
279
  }, null, 2),
261
280
  d(" " + s(n.status), 1)
262
281
  ]),
263
- l("td", Tl, s(n.details), 1)
282
+ l("td", Sl, s(n.details), 1)
264
283
  ]))), 128))
265
284
  ])
266
- ])) : (a(), o("div", cl, "No integration data")),
267
- e.value.storage ? (a(), o(u, { key: 8 }, [
268
- t[16] || (t[16] = l("h3", { class: "ss-dash-section-title" }, "Storage", -1)),
269
- l("table", Sl, [
270
- t[14] || (t[14] = l("thead", null, [
285
+ ])) : (a(), o("div", xl, "No integration data")),
286
+ e.value.storage ? (a(), o(u, { key: 9 }, [
287
+ t[17] || (t[17] = l("h3", { class: "ss-dash-section-title" }, "Storage", -1)),
288
+ l("table", Cl, [
289
+ t[15] || (t[15] = l("thead", null, [
271
290
  l("tr", null, [
272
291
  l("th", null, "Metric"),
273
292
  l("th", null, "Value")
@@ -275,41 +294,41 @@ const _ = {
275
294
  ], -1)),
276
295
  l("tbody", null, [
277
296
  l("tr", null, [
278
- t[8] || (t[8] = l("td", null, "Status", -1)),
297
+ t[9] || (t[9] = l("td", null, "Status", -1)),
279
298
  l("td", null, [
280
299
  l("span", {
281
300
  class: y([
282
301
  "ss-dash-dot",
283
- h(e.value.storage.ready ? "ready" : "unavailable")
302
+ c(e.value.storage.ready ? "ready" : "unavailable")
284
303
  ])
285
304
  }, null, 2),
286
305
  d(" " + s(e.value.storage.ready ? "ready" : "not ready"), 1)
287
306
  ])
288
307
  ]),
289
308
  l("tr", null, [
290
- t[9] || (t[9] = l("td", null, "DB Path", -1)),
291
- l("td", Cl, s(e.value.storage.dbPath), 1)
309
+ t[10] || (t[10] = l("td", null, "DB Path", -1)),
310
+ l("td", El, s(e.value.storage.dbPath), 1)
292
311
  ]),
293
312
  l("tr", null, [
294
- t[10] || (t[10] = l("td", null, "File Size", -1)),
313
+ t[11] || (t[11] = l("td", null, "File Size", -1)),
295
314
  l("td", null, s(e.value.storage.fileSizeMb.toFixed(1)) + " MB", 1)
296
315
  ]),
297
316
  l("tr", null, [
298
- t[11] || (t[11] = l("td", null, "WAL Size", -1)),
317
+ t[12] || (t[12] = l("td", null, "WAL Size", -1)),
299
318
  l("td", null, s(e.value.storage.walSizeMb.toFixed(1)) + " MB", 1)
300
319
  ]),
301
320
  l("tr", null, [
302
- t[12] || (t[12] = l("td", null, "Retention", -1)),
321
+ t[13] || (t[13] = l("td", null, "Retention", -1)),
303
322
  l("td", null, s(e.value.storage.retentionDays) + " days", 1)
304
323
  ]),
305
324
  l("tr", null, [
306
- t[13] || (t[13] = l("td", null, "Last Cleanup", -1)),
307
- l("td", null, s(x(I)(e.value.storage.lastCleanupAt ?? 0)), 1)
325
+ t[14] || (t[14] = l("td", null, "Last Cleanup", -1)),
326
+ l("td", null, s(T(I)(e.value.storage.lastCleanupAt ?? 0)), 1)
308
327
  ])
309
328
  ])
310
329
  ]),
311
- e.value.storage.tables?.length ? (a(), o("table", El, [
312
- t[15] || (t[15] = l("thead", null, [
330
+ e.value.storage.tables?.length ? (a(), o("table", zl, [
331
+ t[16] || (t[16] = l("thead", null, [
313
332
  l("tr", null, [
314
333
  l("th", null, "Table"),
315
334
  l("th", null, "Rows")
@@ -319,15 +338,15 @@ const _ = {
319
338
  (a(!0), o(u, null, v(e.value.storage.tables, (n) => (a(), o("tr", {
320
339
  key: n.name
321
340
  }, [
322
- l("td", zl, s(n.name), 1),
341
+ l("td", Dl, s(n.name), 1),
323
342
  l("td", null, s(n.rowCount.toLocaleString()), 1)
324
343
  ]))), 128))
325
344
  ])
326
- ])) : T("", !0)
327
- ], 64)) : T("", !0),
328
- t[46] || (t[46] = l("h3", { class: "ss-dash-section-title" }, "Resolved Config", -1)),
345
+ ])) : h("", !0)
346
+ ], 64)) : h("", !0),
347
+ t[47] || (t[47] = l("h3", { class: "ss-dash-section-title" }, "Resolved Config", -1)),
329
348
  l("table", wl, [
330
- t[24] || (t[24] = l("thead", null, [
349
+ t[25] || (t[25] = l("thead", null, [
331
350
  l("tr", null, [
332
351
  l("th", null, "Setting"),
333
352
  l("th", null, "Value")
@@ -335,38 +354,38 @@ const _ = {
335
354
  ], -1)),
336
355
  l("tbody", null, [
337
356
  l("tr", null, [
338
- t[17] || (t[17] = l("td", null, "intervalMs", -1)),
357
+ t[18] || (t[18] = l("td", null, "intervalMs", -1)),
339
358
  l("td", null, s(e.value.config?.intervalMs), 1)
340
359
  ]),
341
360
  l("tr", null, [
342
- t[18] || (t[18] = l("td", null, "transport", -1)),
361
+ t[19] || (t[19] = l("td", null, "transport", -1)),
343
362
  l("td", null, s(e.value.config?.transport), 1)
344
363
  ]),
345
364
  l("tr", null, [
346
- t[19] || (t[19] = l("td", null, "channelName", -1)),
365
+ t[20] || (t[20] = l("td", null, "channelName", -1)),
347
366
  l("td", null, s(e.value.config?.channelName), 1)
348
367
  ]),
349
368
  l("tr", null, [
350
- t[20] || (t[20] = l("td", null, "endpoint", -1)),
369
+ t[21] || (t[21] = l("td", null, "endpoint", -1)),
351
370
  l("td", null, s(e.value.config?.endpoint === !1 ? "false" : e.value.config?.endpoint), 1)
352
371
  ]),
353
372
  l("tr", null, [
354
- t[21] || (t[21] = l("td", null, "skipInTest", -1)),
373
+ t[22] || (t[22] = l("td", null, "skipInTest", -1)),
355
374
  l("td", null, s(e.value.config?.skipInTest), 1)
356
375
  ]),
357
376
  l("tr", null, [
358
- t[22] || (t[22] = l("td", null, "onStats callback", -1)),
377
+ t[23] || (t[23] = l("td", null, "onStats callback", -1)),
359
378
  l("td", null, s(e.value.config?.hasOnStatsCallback ? "defined" : "not defined"), 1)
360
379
  ]),
361
380
  l("tr", null, [
362
- t[23] || (t[23] = l("td", null, "shouldShow callback", -1)),
381
+ t[24] || (t[24] = l("td", null, "shouldShow callback", -1)),
363
382
  l("td", null, s(e.value.config?.hasShouldShowCallback ? "defined" : "not defined"), 1)
364
383
  ])
365
384
  ])
366
385
  ]),
367
- t[47] || (t[47] = l("h4", { class: "ss-dash-section-title" }, "DevToolbar", -1)),
368
- l("table", Dl, [
369
- t[40] || (t[40] = l("thead", null, [
386
+ t[48] || (t[48] = l("h4", { class: "ss-dash-section-title" }, "DevToolbar", -1)),
387
+ l("table", Il, [
388
+ t[41] || (t[41] = l("thead", null, [
370
389
  l("tr", null, [
371
390
  l("th", null, "Setting"),
372
391
  l("th", null, "Value")
@@ -374,25 +393,25 @@ const _ = {
374
393
  ], -1)),
375
394
  l("tbody", null, [
376
395
  l("tr", null, [
377
- t[25] || (t[25] = l("td", null, "enabled", -1)),
396
+ t[26] || (t[26] = l("td", null, "enabled", -1)),
378
397
  l("td", null, s(e.value.devToolbar?.enabled), 1)
379
398
  ]),
380
399
  l("tr", null, [
381
- t[26] || (t[26] = l("td", null, "tracing", -1)),
400
+ t[27] || (t[27] = l("td", null, "tracing", -1)),
382
401
  l("td", null, s(e.value.devToolbar?.tracing), 1)
383
402
  ]),
384
403
  l("tr", null, [
385
- t[27] || (t[27] = l("td", null, "dashboard", -1)),
404
+ t[28] || (t[28] = l("td", null, "dashboard", -1)),
386
405
  l("td", null, s(e.value.devToolbar?.dashboard), 1)
387
406
  ]),
388
407
  l("tr", null, [
389
- t[28] || (t[28] = l("td", null, "dashboardPath", -1)),
390
- l("td", Il, s(e.value.devToolbar?.dashboardPath), 1)
408
+ t[29] || (t[29] = l("td", null, "dashboardPath", -1)),
409
+ l("td", Ml, s(e.value.devToolbar?.dashboardPath), 1)
391
410
  ]),
392
411
  l("tr", null, [
393
- t[29] || (t[29] = l("td", null, "debugEndpoint", -1)),
394
- l("td", Ml, [
395
- b.value.has("cfg-debugEndpoint") ? (a(), o(u, { key: 1 }, [
412
+ t[30] || (t[30] = l("td", null, "debugEndpoint", -1)),
413
+ l("td", $l, [
414
+ f.value.has("cfg-debugEndpoint") ? (a(), o(u, { key: 1 }, [
396
415
  d(s(e.value.devToolbar?.debugEndpoint) + " ", 1),
397
416
  l("button", {
398
417
  style: { background: "none", border: "none", color: "var(--ss-link-color, #3b82f6)", cursor: "pointer", "font-size": "10px", "margin-left": "4px", padding: "0" },
@@ -406,33 +425,33 @@ const _ = {
406
425
  ])
407
426
  ]),
408
427
  l("tr", null, [
409
- t[30] || (t[30] = l("td", null, "maxQueries", -1)),
428
+ t[31] || (t[31] = l("td", null, "maxQueries", -1)),
410
429
  l("td", null, s(e.value.devToolbar?.maxQueries), 1)
411
430
  ]),
412
431
  l("tr", null, [
413
- t[31] || (t[31] = l("td", null, "maxEvents", -1)),
432
+ t[32] || (t[32] = l("td", null, "maxEvents", -1)),
414
433
  l("td", null, s(e.value.devToolbar?.maxEvents), 1)
415
434
  ]),
416
435
  l("tr", null, [
417
- t[32] || (t[32] = l("td", null, "maxEmails", -1)),
436
+ t[33] || (t[33] = l("td", null, "maxEmails", -1)),
418
437
  l("td", null, s(e.value.devToolbar?.maxEmails), 1)
419
438
  ]),
420
439
  l("tr", null, [
421
- t[33] || (t[33] = l("td", null, "maxTraces", -1)),
440
+ t[34] || (t[34] = l("td", null, "maxTraces", -1)),
422
441
  l("td", null, s(e.value.devToolbar?.maxTraces), 1)
423
442
  ]),
424
443
  l("tr", null, [
425
- t[34] || (t[34] = l("td", null, "slowQueryThresholdMs", -1)),
444
+ t[35] || (t[35] = l("td", null, "slowQueryThresholdMs", -1)),
426
445
  l("td", null, s(e.value.devToolbar?.slowQueryThresholdMs), 1)
427
446
  ]),
428
447
  l("tr", null, [
429
- t[35] || (t[35] = l("td", null, "retentionDays", -1)),
448
+ t[36] || (t[36] = l("td", null, "retentionDays", -1)),
430
449
  l("td", null, s(e.value.devToolbar?.retentionDays), 1)
431
450
  ]),
432
451
  l("tr", null, [
433
- t[36] || (t[36] = l("td", null, "dbPath", -1)),
434
- l("td", $l, [
435
- b.value.has("cfg-dbPath") ? (a(), o(u, { key: 1 }, [
452
+ t[37] || (t[37] = l("td", null, "dbPath", -1)),
453
+ l("td", Pl, [
454
+ f.value.has("cfg-dbPath") ? (a(), o(u, { key: 1 }, [
436
455
  d(s(e.value.devToolbar?.dbPath) + " ", 1),
437
456
  l("button", {
438
457
  style: { background: "none", border: "none", color: "var(--ss-link-color, #3b82f6)", cursor: "pointer", "font-size": "10px", "margin-left": "4px", padding: "0" },
@@ -446,15 +465,15 @@ const _ = {
446
465
  ])
447
466
  ]),
448
467
  l("tr", null, [
449
- t[37] || (t[37] = l("td", null, "persistDebugData", -1)),
468
+ t[38] || (t[38] = l("td", null, "persistDebugData", -1)),
450
469
  l("td", null, s(e.value.devToolbar?.persistDebugData), 1)
451
470
  ]),
452
471
  l("tr", null, [
453
- t[38] || (t[38] = l("td", null, "excludeFromTracing", -1)),
454
- l("td", Pl, s(e.value.devToolbar?.excludeFromTracing?.join(", ") || "-"), 1)
472
+ t[39] || (t[39] = l("td", null, "excludeFromTracing", -1)),
473
+ l("td", Ll, s(e.value.devToolbar?.excludeFromTracing?.join(", ") || "-"), 1)
455
474
  ]),
456
475
  l("tr", null, [
457
- t[39] || (t[39] = l("td", null, "customPanes", -1)),
476
+ t[40] || (t[40] = l("td", null, "customPanes", -1)),
458
477
  l("td", null, s(e.value.devToolbar?.customPaneCount ?? 0) + " registered", 1)
459
478
  ])
460
479
  ])
@@ -464,5 +483,5 @@ const _ = {
464
483
  }
465
484
  });
466
485
  export {
467
- Fl as default
486
+ Bl as default
468
487
  };