adonisjs-server-stats 1.10.3 → 1.11.1

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 (89) hide show
  1. package/dist/core/field-resolvers.d.ts +64 -0
  2. package/dist/core/formatters.d.ts +15 -0
  3. package/dist/core/index.d.ts +1 -1
  4. package/dist/core/index.js +208 -203
  5. package/dist/react/CacheSection-BYN53kYO.js +135 -0
  6. package/dist/react/CacheStatsBar-CRodCOeP.js +27 -0
  7. package/dist/react/CacheTab-DOhuK05d.js +106 -0
  8. package/dist/react/{ConfigSection-DGgqjAal.js → ConfigSection-B9EHh4Rp.js} +1 -1
  9. package/dist/react/{ConfigTab-H3OnYqmK.js → ConfigTab-C8kriE2b.js} +1 -1
  10. package/dist/react/CustomPaneTab-CvzQS_Wh.js +99 -0
  11. package/dist/react/EmailPreviewOverlay-BmXOAvqG.js +58 -0
  12. package/dist/react/EmailsSection-BJyFJf7A.js +226 -0
  13. package/dist/react/EmailsTab-Ch8jp10B.js +110 -0
  14. package/dist/react/{EventsSection-C7RQW_LY.js → EventsSection-DJPwHeT8.js} +27 -26
  15. package/dist/react/EventsTab-B-FoehXC.js +58 -0
  16. package/dist/react/{InternalsContent-DBzsI0CG.js → InternalsContent-O8ino9oM.js} +133 -109
  17. package/dist/react/InternalsSection-B6VlVx5f.js +22 -0
  18. package/dist/react/InternalsTab-CkEKpRMU.js +17 -0
  19. package/dist/react/JobStatsBar-C7RslAFE.js +30 -0
  20. package/dist/react/JobsSection-DWF4i1t_.js +167 -0
  21. package/dist/react/JobsTab-DqnifQXV.js +129 -0
  22. package/dist/react/LogEntryRow-CMMkqA9M.js +43 -0
  23. package/dist/react/LogsSection-C1xC5aP4.js +198 -0
  24. package/dist/react/LogsTab-CS4sLfLw.js +79 -0
  25. package/dist/react/{OverviewSection-ABP9ueBo.js → OverviewSection-CxvfOR0v.js} +70 -80
  26. package/dist/react/QueriesSection-CrMdU5Ax.js +458 -0
  27. package/dist/react/{QueriesTab-BQzcxEiW.js → QueriesTab-x85PjkyS.js} +22 -21
  28. package/dist/react/RequestsSection-DETN9oZb.js +321 -0
  29. package/dist/react/{RoutesSection-BRhxrtjZ.js → RoutesSection-CmorkJeC.js} +1 -1
  30. package/dist/react/{RoutesTab-CpYH5lUw.js → RoutesTab-CbzBOzpc.js} +12 -12
  31. package/dist/react/SplitPaneWrapper-BiIgT4ND.js +49 -0
  32. package/dist/react/TimeAgoCell-o3KigGfM.js +8 -0
  33. package/dist/react/{TimelineTab-DjLR35Ce.js → TimelineTab-Ue9tUD_n.js} +71 -91
  34. package/dist/react/{index-CsImORX6.js → index-DwDK-4oX.js} +4 -4
  35. package/dist/react/index.js +6 -6
  36. package/dist/react/react/components/shared/CacheStatsBar.d.ts +13 -0
  37. package/dist/react/react/components/shared/EmailPreviewOverlay.d.ts +29 -0
  38. package/dist/react/react/components/shared/JobStatsBar.d.ts +12 -0
  39. package/dist/react/react/components/shared/LogEntryRow.d.ts +9 -0
  40. package/dist/react/react/components/shared/RelatedLogs.d.ts +2 -2
  41. package/dist/react/react/components/shared/SplitPaneWrapper.d.ts +7 -0
  42. package/dist/react/react/components/shared/TimeAgoCell.d.ts +17 -0
  43. package/dist/react/react/hooks/useDiagnosticsData.d.ts +14 -0
  44. package/dist/react/style.css +1 -1
  45. package/dist/src/edge/client/dashboard.js +2 -2
  46. package/dist/src/edge/client/debug-panel-deferred.js +1 -1
  47. package/dist/src/edge/client-vue/dashboard.js +3 -3
  48. package/dist/src/edge/client-vue/debug-panel-deferred.js +4 -4
  49. package/dist/src/styles/components.css +67 -0
  50. package/dist/src/styles/dashboard.css +5 -15
  51. package/dist/src/styles/debug-panel.css +1 -22
  52. package/dist/src/styles/utilities.css +3 -1
  53. package/dist/vue/{CacheSection-ITqvpfH5.js → CacheSection-DT2Mwf_s.js} +1 -1
  54. package/dist/vue/{ConfigSection-DTn3GslE.js → ConfigSection-BwKwS9lh.js} +1 -1
  55. package/dist/vue/CustomPaneTab-Hr1IBHfz.js +172 -0
  56. package/dist/vue/{EmailsSection-DtLJ4XoS.js → EmailsSection-B65g0FVS.js} +1 -1
  57. package/dist/vue/{EventsSection-BOYYz0Ty.js → EventsSection-CxqtVF-o.js} +1 -1
  58. package/dist/vue/{JobsSection-BazTxcJL.js → JobsSection-rMIyMb-g.js} +1 -1
  59. package/dist/vue/{LogsSection-D55PjTKX.js → LogsSection-DmmZVJ7D.js} +1 -1
  60. package/dist/vue/{OverviewSection-1uBKo-Tu.js → OverviewSection-BMabyqw-.js} +49 -50
  61. package/dist/vue/{QueriesSection-rpoZ4ogd.js → QueriesSection-BfDFwGqH.js} +44 -45
  62. package/dist/vue/{QueriesTab-C8_7oprC.js → QueriesTab-DuTG7cpC.js} +30 -31
  63. package/dist/vue/RelatedLogs.vue_vue_type_script_setup_true_lang-Py1iu9GU.js +77 -0
  64. package/dist/vue/{RequestsSection-x7LvT0MC.js → RequestsSection-CTu4jPZ_.js} +143 -147
  65. package/dist/vue/{RoutesSection-CCD0zZqQ.js → RoutesSection-zQZDedL7.js} +1 -1
  66. package/dist/vue/TimelineTab-DHfXsX7t.js +334 -0
  67. package/dist/vue/components/shared/RelatedLogs.vue.d.ts +1 -4
  68. package/dist/vue/{index-C8MxnS7Q.js → index-CM3yNVUR.js} +2 -2
  69. package/dist/vue/index.js +1 -1
  70. package/dist/vue/style.css +1 -1
  71. package/package.json +7 -7
  72. package/dist/react/CacheSection-baMZotSn.js +0 -146
  73. package/dist/react/CacheTab-2cw_rMzj.js +0 -117
  74. package/dist/react/CustomPaneTab-B6r7ha0u.js +0 -98
  75. package/dist/react/EmailsSection-C-UZISG-.js +0 -262
  76. package/dist/react/EmailsTab-DbK4Eobn.js +0 -139
  77. package/dist/react/EventsTab-CfVr7AiM.js +0 -57
  78. package/dist/react/InternalsSection-t7ihcWO-.js +0 -32
  79. package/dist/react/InternalsTab-Oij0A2fN.js +0 -30
  80. package/dist/react/JobsSection-CQHNK_Ls.js +0 -187
  81. package/dist/react/JobsTab-znzf6jzk.js +0 -153
  82. package/dist/react/LogsSection-Dmm3rE2B.js +0 -233
  83. package/dist/react/LogsTab-D8unMV5P.js +0 -108
  84. package/dist/react/QueriesSection-CnmSkznA.js +0 -461
  85. package/dist/react/RelatedLogs-3A8RuGKH.js +0 -52
  86. package/dist/react/RequestsSection-kW79_M7k.js +0 -341
  87. package/dist/vue/CustomPaneTab-BJxT5Dp7.js +0 -172
  88. package/dist/vue/RelatedLogs.vue_vue_type_script_setup_true_lang-CB2_TzYW.js +0 -84
  89. package/dist/vue/TimelineTab-zj5Z5OdT.js +0 -338
@@ -1,6 +1,6 @@
1
- import { defineComponent as ws, openBlock as o, createElementBlock as n, Fragment as _, renderList as k, createElementVNode as s, normalizeClass as b, toDisplayString as r, inject as P, ref as D, watch as ms, computed as d, onUnmounted as Ws, unref as x, createVNode as F, createCommentVNode as v, normalizeStyle as ts, createTextVNode as gs } from "vue";
2
- import { formatDuration as N, formatTime as Os, timeAgo as Hs, durationSeverity as Ks } from "adonisjs-server-stats/core";
3
- import { u as xs, _ as U } from "./index-C8MxnS7Q.js";
1
+ import { defineComponent as ws, openBlock as o, createElementBlock as n, Fragment as _, renderList as k, createElementVNode as s, normalizeClass as b, toDisplayString as r, inject as P, ref as D, watch as fs, computed as d, onUnmounted as Ws, unref as x, createVNode as N, createCommentVNode as v, normalizeStyle as ts, createTextVNode as gs } from "vue";
2
+ import { formatDuration as F, formatTime as Os, timeAgo as Hs, durationClassName as Ks } from "adonisjs-server-stats/core";
3
+ import { u as xs, _ as U } from "./index-CM3yNVUR.js";
4
4
  const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ */ ws({
5
5
  __name: "TimeRangeSelector",
6
6
  props: {
@@ -18,12 +18,12 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
18
18
  { value: "7d", label: "7d" }
19
19
  ];
20
20
  return (C, I) => (o(), n("div", Gs, [
21
- (o(), n(_, null, k($, (m) => s("button", {
22
- key: m.value,
21
+ (o(), n(_, null, k($, (f) => s("button", {
22
+ key: f.value,
23
23
  type: "button",
24
- class: b(`ss-dash-btn ${S.modelValue === m.value ? "ss-dash-active" : ""}`),
25
- onClick: (ls) => w("update:modelValue", m.value)
26
- }, r(m.label), 11, Xs)), 64))
24
+ class: b(`ss-dash-btn ${S.modelValue === f.value ? "ss-dash-active" : ""}`),
25
+ onClick: (ls) => w("update:modelValue", f.value)
26
+ }, r(f.label), 11, Xs)), 64))
27
27
  ]));
28
28
  }
29
29
  }), Zs = { class: "ss-dash-overview" }, Js = {
@@ -36,7 +36,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
36
36
  key: 0,
37
37
  class: "ss-dash-empty",
38
38
  style: { "min-height": "120px" }
39
- }, he = ["viewBox"], pe = ["id"], ye = ["id"], _e = ["x1", "y1", "x2", "y2"], fe = ["x", "y"], me = ["d", "fill"], ge = ["d"], xe = ["d", "fill"], ke = ["d"], we = ["x", "y", "width", "height", "data-idx", "onMouseenter"], be = ["cx", "cy", "r", "data-idx", "opacity"], Re = ["cx", "cy", "r", "data-idx", "opacity"], $e = ["x", "y"], qe = {
39
+ }, he = ["viewBox"], pe = ["id"], ye = ["id"], _e = ["x1", "y1", "x2", "y2"], me = ["x", "y"], fe = ["d", "fill"], ge = ["d"], xe = ["d", "fill"], ke = ["d"], we = ["x", "y", "width", "height", "data-idx", "onMouseenter"], be = ["cx", "cy", "r", "data-idx", "opacity"], Re = ["cx", "cy", "r", "data-idx", "opacity"], $e = ["x", "y"], qe = {
40
40
  key: 0,
41
41
  style: { color: "var(--ss-red-fg)" }
42
42
  }, Se = {
@@ -52,7 +52,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
52
52
  }, Le = {
53
53
  key: 1,
54
54
  class: "ss-dash-secondary-list"
55
- }, De = ["href"], Fe = ["title"], Ne = { class: "ss-dash-secondary-card" }, Qe = { class: "ss-dash-secondary-list" }, je = { class: "ss-dash-secondary-list-value" }, Ae = { class: "ss-dash-secondary-list-value" }, Ve = { class: "ss-dash-secondary-list-value" }, ze = { class: "ss-dash-secondary-card" }, Be = {
55
+ }, De = ["href"], Ne = ["title"], Fe = { class: "ss-dash-secondary-card" }, Qe = { class: "ss-dash-secondary-list" }, je = { class: "ss-dash-secondary-list-value" }, Ae = { class: "ss-dash-secondary-list-value" }, Ve = { class: "ss-dash-secondary-list-value" }, ze = { class: "ss-dash-secondary-card" }, Be = {
56
56
  key: 0,
57
57
  class: "ss-dash-empty",
58
58
  style: { "min-height": "60px" }
@@ -93,7 +93,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
93
93
  }, yt = { class: "ss-dash-secondary-list" }, _t = {
94
94
  href: "#cache",
95
95
  class: "ss-dash-widget-row-link"
96
- }, ft = { class: "ss-dash-secondary-list-value" }, mt = {
96
+ }, mt = { class: "ss-dash-secondary-list-value" }, ft = {
97
97
  href: "#cache",
98
98
  class: "ss-dash-widget-row-link"
99
99
  }, gt = { class: "ss-dash-secondary-list-value" }, xt = {
@@ -117,7 +117,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
117
117
  }, Tt = { class: "ss-dash-secondary-list-value" }, Et = { class: "ss-dash-secondary-card" }, Lt = { class: "ss-dash-secondary-list" }, Dt = {
118
118
  href: "#requests?status=2xx",
119
119
  class: "ss-dash-widget-row-link"
120
- }, Ft = { class: "ss-dash-secondary-list-value" }, Nt = {
120
+ }, Nt = { class: "ss-dash-secondary-list-value" }, Ft = {
121
121
  href: "#requests?status=3xx",
122
122
  class: "ss-dash-widget-row-link"
123
123
  }, Qt = { class: "ss-dash-secondary-list-value" }, jt = {
@@ -136,7 +136,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
136
136
  }, It = ["href"], Wt = ["title"], as = 220, ks = 120, Ot = /* @__PURE__ */ ws({
137
137
  __name: "OverviewSection",
138
138
  setup(S) {
139
- const R = P("ss-refresh-key", D(0)), w = P("ss-base-url", ""), $ = P("ss-dashboard-endpoint", "/__stats/api"), C = P("ss-auth-token", void 0), I = Math.random().toString(36).slice(2, 8), m = D("1h"), { data: ls, loading: bs } = xs(() => "overview", {
139
+ const R = P("ss-refresh-key", D(0)), w = P("ss-base-url", ""), $ = P("ss-dashboard-endpoint", "/__stats/api"), C = P("ss-auth-token", void 0), I = Math.random().toString(36).slice(2, 8), f = D("1h"), { data: ls, loading: bs } = xs(() => "overview", {
140
140
  baseUrl: w,
141
141
  dashboardEndpoint: $,
142
142
  authToken: C,
@@ -150,7 +150,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
150
150
  refreshKey: R
151
151
  }
152
152
  );
153
- ms(m, (t) => {
153
+ fs(f, (t) => {
154
154
  $s(t);
155
155
  });
156
156
  const os = d(() => ls.value), l = d(() => os.value || {
@@ -188,9 +188,9 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
188
188
  ), ns = d(() => `ss-cg-total-${I}`), rs = d(() => `ss-cg-error-${I}`);
189
189
  function Ls(t, e) {
190
190
  if (t <= 0) return [0];
191
- const a = t / e, i = Math.pow(10, Math.floor(Math.log10(a))), f = a / i;
191
+ const a = t / e, i = Math.pow(10, Math.floor(Math.log10(a))), m = a / i;
192
192
  let y;
193
- f <= 1 ? y = i : f <= 2 ? y = 2 * i : f <= 5 ? y = 5 * i : y = 10 * i;
193
+ m <= 1 ? y = i : m <= 2 ? y = 2 * i : m <= 5 ? y = 5 * i : y = 10 * i;
194
194
  const B = [];
195
195
  for (let es = y; es <= t + y * 0.5; es += y) B.push(Math.round(es));
196
196
  return B.length === 0 && B.push(Math.ceil(t)), B;
@@ -211,18 +211,17 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
211
211
  if (t.length === 1) return `M${t[0].x},${t[0].y}`;
212
212
  let e = `M${t[0].x.toFixed(1)},${t[0].y.toFixed(1)}`;
213
213
  for (let a = 0; a < t.length - 1; a++) {
214
- const i = t[a], f = t[a + 1], y = (i.x + f.x) / 2;
215
- e += ` C${y.toFixed(1)},${i.y.toFixed(1)} ${y.toFixed(1)},${f.y.toFixed(1)} ${f.x.toFixed(1)},${f.y.toFixed(1)}`;
214
+ const i = t[a], m = t[a + 1], y = (i.x + m.x) / 2;
215
+ e += ` C${y.toFixed(1)},${i.y.toFixed(1)} ${y.toFixed(1)},${m.y.toFixed(1)} ${m.x.toFixed(1)},${m.y.toFixed(1)}`;
216
216
  }
217
217
  return e;
218
218
  }
219
219
  function ds(t) {
220
- const e = Ks(t);
221
- return e === "very-slow" ? "ss-dash-very-slow" : e === "slow" ? "ss-dash-slow" : "";
220
+ return Ks(t, "ss-dash");
222
221
  }
223
222
  const us = D(null), G = D(0);
224
223
  let T = null;
225
- ms(us, (t) => {
224
+ fs(us, (t) => {
226
225
  T?.disconnect(), T = null, t && (G.value = t.clientWidth, T = new ResizeObserver((e) => {
227
226
  for (const a of e)
228
227
  G.value = a.contentRect.width;
@@ -240,14 +239,14 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
240
239
  const e = t;
241
240
  return (t.errorCount ?? 0) + (Number(e.error_count) || 0);
242
241
  })
243
- ), Ds = d(() => Math.max(...V.value, 1)), vs = d(() => Math.ceil(Ds.value * 1.1)), hs = d(() => E.value.some((t) => t > 0)), z = d(() => Ls(vs.value, 4)), Fs = d(
242
+ ), Ds = d(() => Math.max(...V.value, 1)), vs = d(() => Math.ceil(Ds.value * 1.1)), hs = d(() => E.value.some((t) => t > 0)), z = d(() => Ls(vs.value, 4)), Ns = d(
244
243
  () => z.value.length > 0 ? z.value[z.value.length - 1] : vs.value
245
244
  );
246
245
  function X(t) {
247
246
  return h.left + t / Math.max(u.value.length - 1, 1) * cs.value;
248
247
  }
249
248
  function L(t) {
250
- return h.top + j.value - t / (Fs.value || 1) * j.value;
249
+ return h.top + j.value - t / (Ns.value || 1) * j.value;
251
250
  }
252
251
  const p = d(
253
252
  () => u.value.map((t, e) => ({ x: X(e), y: L(V.value[e]) }))
@@ -257,8 +256,8 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
257
256
  () => p.value.length > 1 ? `${Y.value} L${p.value[p.value.length - 1].x.toFixed(1)},${A.value} L${p.value[0].x.toFixed(1)},${A.value} Z` : ""
258
257
  ), ys = d(
259
258
  () => hs.value && q.value.length > 1 ? `${Z.value} L${q.value[q.value.length - 1].x.toFixed(1)},${A.value} L${q.value[0].x.toFixed(1)},${A.value} Z` : ""
260
- ), Ns = d(() => Math.min(10, u.value.length)), Qs = d(
261
- () => Math.max(1, Math.ceil(u.value.length / Ns.value))
259
+ ), Fs = d(() => Math.min(10, u.value.length)), Qs = d(
260
+ () => Math.max(1, Math.ceil(u.value.length / Fs.value))
262
261
  ), c = D({ visible: !1, x: 0, idx: -1 });
263
262
  function js(t) {
264
263
  const e = p.value[t].x;
@@ -288,7 +287,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
288
287
  function J(t) {
289
288
  return t.url || t.pattern || "-";
290
289
  }
291
- function fs(t) {
290
+ function ms(t) {
292
291
  return t.name || t.eventName || t.event_name || t.event || "";
293
292
  }
294
293
  function ss(t) {
@@ -301,9 +300,9 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
301
300
  e[1] || (e[1] = s("div", { class: "ss-dash-card-title" }, "Avg Response Time", -1)),
302
301
  s("div", {
303
302
  class: b(["ss-dash-card-value", Bs()])
304
- }, r(g.value ? x(N)(W.value) : "-"), 3),
303
+ }, r(g.value ? x(F)(W.value) : "-"), 3),
305
304
  s("div", te, [
306
- F(U, {
305
+ N(U, {
307
306
  data: Cs.value,
308
307
  color: "#34d399",
309
308
  width: 160,
@@ -315,9 +314,9 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
315
314
  e[2] || (e[2] = s("div", { class: "ss-dash-card-title" }, "P95 Response Time", -1)),
316
315
  s("div", {
317
316
  class: b(["ss-dash-card-value", Ps()])
318
- }, r(g.value ? x(N)(O.value) : "-"), 3),
317
+ }, r(g.value ? x(F)(O.value) : "-"), 3),
319
318
  s("div", le, [
320
- F(U, {
319
+ N(U, {
321
320
  data: Ms.value,
322
321
  color: "#60a5fa",
323
322
  width: 160,
@@ -331,7 +330,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
331
330
  class: b(["ss-dash-card-value", Us()])
332
331
  }, r(g.value ? qs.value.toFixed(1) : "-"), 3),
333
332
  s("div", ne, [
334
- F(U, {
333
+ N(U, {
335
334
  data: Ts.value,
336
335
  color: "#34d399",
337
336
  width: 160,
@@ -345,7 +344,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
345
344
  class: b(["ss-dash-card-value", Is()])
346
345
  }, r(g.value ? `${H.value.toFixed(1)}%` : "-"), 3),
347
346
  s("div", ie, [
348
- F(U, {
347
+ N(U, {
349
348
  data: Es.value,
350
349
  color: "#f87171",
351
350
  width: 160,
@@ -357,9 +356,9 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
357
356
  s("div", de, [
358
357
  s("div", ue, [
359
358
  e[5] || (e[5] = s("span", { class: "ss-dash-chart-title" }, "Request Volume", -1)),
360
- F(Ys, {
361
- "model-value": m.value,
362
- "onUpdate:modelValue": e[0] || (e[0] = (a) => m.value = a)
359
+ N(Ys, {
360
+ "model-value": f.value,
361
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => f.value = a)
363
362
  }, null, 8, ["model-value"])
364
363
  ]),
365
364
  s("div", ce, [
@@ -430,13 +429,13 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
430
429
  fill: "var(--ss-dim)",
431
430
  "font-size": "9",
432
431
  "dominant-baseline": "middle"
433
- }, r(a), 9, fe)
432
+ }, r(a), 9, me)
434
433
  ]))), 128)),
435
434
  ps.value ? (o(), n("path", {
436
435
  key: 0,
437
436
  d: ps.value,
438
437
  fill: `url(#${ns.value})`
439
- }, null, 8, me)) : v("", !0),
438
+ }, null, 8, fe)) : v("", !0),
440
439
  Y.value ? (o(), n("path", {
441
440
  key: 1,
442
441
  d: Y.value,
@@ -470,7 +469,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
470
469
  fill: "transparent",
471
470
  class: "ss-dash-chart-hover-zone",
472
471
  "data-idx": i,
473
- onMouseenter: (f) => js(i),
472
+ onMouseenter: (m) => js(i),
474
473
  onMouseleave: As
475
474
  }, null, 40, we),
476
475
  V.value[i] > 0 ? (o(), n("circle", {
@@ -559,19 +558,19 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
559
558
  }, [
560
559
  s("span", {
561
560
  title: J(a)
562
- }, r(J(a)), 9, Fe),
561
+ }, r(J(a)), 9, Ne),
563
562
  s("span", {
564
563
  class: b([
565
564
  "ss-dash-secondary-list-value",
566
565
  "ss-dash-duration",
567
566
  ds(a.avgDuration)
568
567
  ])
569
- }, r(x(N)(a.avgDuration)), 3)
568
+ }, r(x(F)(a.avgDuration)), 3)
570
569
  ], 8, De)
571
570
  ]))), 128))
572
571
  ]))
573
572
  ]),
574
- s("div", Ne, [
573
+ s("div", Fe, [
575
574
  e[14] || (e[14] = s("div", { class: "ss-dash-secondary-card-title" }, [
576
575
  s("a", {
577
576
  href: "#queries",
@@ -585,7 +584,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
585
584
  ]),
586
585
  s("li", null, [
587
586
  e[12] || (e[12] = s("span", null, "Avg Duration", -1)),
588
- s("span", Ae, r(x(N)(l.value.queryStats.avgDuration)), 1)
587
+ s("span", Ae, r(x(F)(l.value.queryStats.avgDuration)), 1)
589
588
  ]),
590
589
  s("li", null, [
591
590
  e[13] || (e[13] = s("span", null, "Queries / Request", -1)),
@@ -630,10 +629,10 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
630
629
  l.value.topEvents.length === 0 ? (o(), n("div", He, " No events yet ")) : (o(), n("ul", Ke, [
631
630
  (o(!0), n(_, null, k(l.value.topEvents.slice(0, 5), (a, i) => (o(), n("li", { key: i }, [
632
631
  s("a", {
633
- href: `#events?event_name=${encodeURIComponent(fs(a))}`,
632
+ href: `#events?event_name=${encodeURIComponent(ms(a))}`,
634
633
  class: "ss-dash-widget-row-link"
635
634
  }, [
636
- s("span", null, r(fs(a)), 1),
635
+ s("span", null, r(ms(a)), 1),
637
636
  s("span", Xe, r(a.count), 1)
638
637
  ], 8, Ge)
639
638
  ]))), 128))
@@ -717,11 +716,11 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
717
716
  s("li", null, [
718
717
  s("a", _t, [
719
718
  e[26] || (e[26] = s("span", null, "Keys", -1)),
720
- s("span", ft, r(l.value.cacheStats.totalKeys), 1)
719
+ s("span", mt, r(l.value.cacheStats.totalKeys), 1)
721
720
  ])
722
721
  ]),
723
722
  s("li", null, [
724
- s("a", mt, [
723
+ s("a", ft, [
725
724
  e[27] || (e[27] = s("span", null, "Hit Rate", -1)),
726
725
  s("span", gt, r(l.value.cacheStats.hitRate.toFixed(1)) + "%", 1)
727
726
  ])
@@ -784,11 +783,11 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
784
783
  s("li", null, [
785
784
  s("a", Dt, [
786
785
  e[35] || (e[35] = s("span", { style: { color: "var(--ss-green-fg)" } }, "2xx", -1)),
787
- s("span", Ft, r(l.value.statusDistribution["2xx"]), 1)
786
+ s("span", Nt, r(l.value.statusDistribution["2xx"]), 1)
788
787
  ])
789
788
  ]),
790
789
  s("li", null, [
791
- s("a", Nt, [
790
+ s("a", Ft, [
792
791
  e[36] || (e[36] = s("span", { style: { color: "var(--ss-blue-fg)" } }, "3xx", -1)),
793
792
  s("span", Qt, r(l.value.statusDistribution["3xx"]), 1)
794
793
  ])
@@ -829,7 +828,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
829
828
  "ss-dash-duration",
830
829
  ds(a.avgDuration)
831
830
  ])
832
- }, r(x(N)(a.avgDuration)), 3)
831
+ }, r(x(F)(a.avgDuration)), 3)
833
832
  ], 8, It)
834
833
  ]))), 128))
835
834
  ]))
@@ -843,7 +842,7 @@ const Gs = { class: "ss-dash-btn-group" }, Xs = ["onClick"], Ys = /* @__PURE__ *
843
842
  for (const [$, C] of R)
844
843
  w[$] = C;
845
844
  return w;
846
- }, Yt = /* @__PURE__ */ Ht(Ot, [["__scopeId", "data-v-1e96b18b"]]);
845
+ }, Yt = /* @__PURE__ */ Ht(Ot, [["__scopeId", "data-v-6c6eb892"]]);
847
846
  export {
848
847
  Yt as default
849
848
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as H, inject as A, ref as C, computed as g, openBlock as o, createElementBlock as i, createVNode as W, withCtx as it, createElementVNode as e, normalizeClass as f, unref as u, createTextVNode as b, toDisplayString as r, createCommentVNode as v, Fragment as k, renderList as T, withKeys as B, withModifiers as L, createBlock as rt, h as D } from "vue";
2
- import { formatTime as ut, timeAgo as dt, SLOW_DURATION_MS as pt, durationSeverity as ct } from "adonisjs-server-stats/core";
3
- import { u as vt } from "./index-C8MxnS7Q.js";
1
+ import { defineComponent as H, inject as A, ref as $, computed as g, openBlock as o, createElementBlock as i, createVNode as W, withCtx as it, createElementVNode as e, normalizeClass as f, unref as r, createTextVNode as b, toDisplayString as u, createCommentVNode as v, Fragment as k, renderList as T, withKeys as B, withModifiers as L, createBlock as ut, h as D } from "vue";
2
+ import { formatTime as rt, timeAgo as dt, SLOW_DURATION_MS as pt, durationClassName as ct } from "adonisjs-server-stats/core";
3
+ import { u as vt } from "./index-CM3yNVUR.js";
4
4
  import { u as ht } from "./useResizableTable-BoivAevK.js";
5
5
  import { _ as mt } from "./FilterBar.vue_vue_type_script_setup_true_lang-ClJ37hhT.js";
6
6
  import { _ as ft } from "./PaginationControls.vue_vue_type_script_setup_true_lang-CuN7g_8Z.js";
@@ -19,7 +19,7 @@ const yt = { class: "ss-dash-btn-group" }, xt = {
19
19
  }, wt = {
20
20
  key: 0,
21
21
  class: "ss-dash-sort-arrow"
22
- }, $t = ["onClick", "onKeydown"], Ct = {
22
+ }, Ct = ["onClick", "onKeydown"], $t = {
23
23
  key: 0,
24
24
  class: "ss-dash-dup"
25
25
  }, gt = { style: { color: "var(--ss-muted)", "text-align": "center", display: "block" } }, Dt = { class: "ss-dash-duration" }, Nt = { class: "ss-dash-duration" }, Pt = { style: { color: "var(--ss-muted)", "text-align": "center", display: "block" } }, St = {
@@ -88,12 +88,12 @@ const J = H({
88
88
  ...Gt,
89
89
  __name: "QueriesSection",
90
90
  setup(n) {
91
- const z = A("ss-refresh-key", C(0)), F = A("ss-dashboard-endpoint", "/__stats/api"), K = A("ss-auth-token", void 0), j = A("ss-base-url", ""), c = C("list"), d = C(null), a = C(null), y = C(null), N = g(() => c.value === "grouped" ? "queries/grouped" : "queries"), { data: w, loading: G, pagination: P, sort: h, goToPage: X, setSearch: Y, setSort: Z, explainQuery: tt } = vt(() => N.value, {
91
+ const z = A("ss-refresh-key", $(0)), F = A("ss-dashboard-endpoint", "/__stats/api"), K = A("ss-auth-token", void 0), j = A("ss-base-url", ""), c = $("list"), d = $(null), a = $(null), y = $(null), N = g(() => c.value === "grouped" ? "queries/grouped" : "queries"), { data: w, loading: G, pagination: P, sort: h, goToPage: X, setSearch: Y, setSort: Z, explainQuery: tt } = vt(() => N.value, {
92
92
  baseUrl: j,
93
93
  dashboardEndpoint: F,
94
94
  authToken: K,
95
95
  refreshKey: z
96
- }), M = C(""), O = g(() => w.value ? c.value === "grouped" ? w.value.groups || [] : w.value.data || w.value || [] : []), m = g(() => c.value !== "grouped" ? O.value : O.value.map((s) => {
96
+ }), M = $(""), O = g(() => w.value ? c.value === "grouped" ? w.value.groups || [] : w.value.data || w.value || [] : []), m = g(() => c.value !== "grouped" ? O.value : O.value.map((s) => {
97
97
  const t = { ...s };
98
98
  return (t.sqlNormalized === null || t.sqlNormalized === void 0 && (s.sql_normalized || s.pattern)) && (t.sqlNormalized = s.sql_normalized || s.pattern || ""), (t.count === null || t.count === void 0) && s.total_count !== null && s.total_count !== void 0 && (t.count = s.total_count), (t.avgDuration === null || t.avgDuration === void 0) && s.avg_duration !== null && s.avg_duration !== void 0 && (t.avgDuration = s.avg_duration), (t.maxDuration === null || t.maxDuration === void 0) && s.max_duration !== null && s.max_duration !== void 0 && (t.maxDuration = s.max_duration), (t.minDuration === null || t.minDuration === void 0) && s.min_duration !== null && s.min_duration !== void 0 && (t.minDuration = s.min_duration), (t.totalDuration === null || t.totalDuration === void 0) && s.total_duration !== null && s.total_duration !== void 0 && (t.totalDuration = s.total_duration), (t.percentOfTotal === null || t.percentOfTotal === void 0) && s.pct_time !== null && s.pct_time !== void 0 && (t.percentOfTotal = s.pct_time), t;
99
99
  })), R = g(() => {
@@ -103,7 +103,7 @@ const J = H({
103
103
  s.set(l, (s.get(l) || 0) + 1);
104
104
  }
105
105
  return s;
106
- }), $ = g(() => {
106
+ }), C = g(() => {
107
107
  const s = P.total ?? m.value.length;
108
108
  let t = 0, l = 0, p = 0, x = 0;
109
109
  for (const _ of m.value) {
@@ -115,8 +115,8 @@ const J = H({
115
115
  return { total: s, slow: t, duplicates: l, avgDuration: x > 0 ? p / x : 0 };
116
116
  }), st = g(() => {
117
117
  if (c.value === "grouped") return `${m.value.length} query patterns`;
118
- const s = [`${$.value.total} queries`];
119
- return $.value.slow > 0 && s.push(`${$.value.slow} slow`), $.value.duplicates > 0 && s.push(`${$.value.duplicates} dup`), s.push(`avg ${($.value.avgDuration || 0).toFixed(1)}ms`), s.join(", ");
118
+ const s = [`${C.value.total} queries`];
119
+ return C.value.slow > 0 && s.push(`${C.value.slow} slow`), C.value.duplicates > 0 && s.push(`${C.value.duplicates} dup`), s.push(`avg ${(C.value.avgDuration || 0).toFixed(1)}ms`), s.join(", ");
120
120
  });
121
121
  function et(s) {
122
122
  M.value = s, Y(s);
@@ -147,8 +147,7 @@ const J = H({
147
147
  }
148
148
  }
149
149
  function E(s) {
150
- const t = ct(s);
151
- return t === "very-slow" ? "ss-dash-very-slow" : t === "slow" ? "ss-dash-slow" : "";
150
+ return ct(s, "ss-dash");
152
151
  }
153
152
  function q() {
154
153
  const s = a.value?.plan;
@@ -191,7 +190,7 @@ const J = H({
191
190
  ]),
192
191
  _: 1
193
192
  }, 8, ["model-value", "summary"]),
194
- u(G) && !u(w) ? (o(), i("div", xt, "Loading queries...")) : c.value === "grouped" ? (o(), i("div", _t, [
193
+ r(G) && !r(w) ? (o(), i("div", xt, "Loading queries...")) : c.value === "grouped" ? (o(), i("div", _t, [
195
194
  m.value.length > 0 ? (o(), i("table", {
196
195
  key: 0,
197
196
  ref_key: "tableRef",
@@ -206,14 +205,14 @@ const J = H({
206
205
  onClick: t[2] || (t[2] = (l) => S("count"))
207
206
  }, [
208
207
  t[8] || (t[8] = b(" Count ", -1)),
209
- u(h).column === "count" ? (o(), i("span", bt, r(u(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
208
+ r(h).column === "count" ? (o(), i("span", bt, u(r(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
210
209
  ]),
211
210
  e("th", {
212
211
  class: "ss-dash-sortable",
213
212
  onClick: t[3] || (t[3] = (l) => S("avgDuration"))
214
213
  }, [
215
214
  t[9] || (t[9] = b(" Avg ", -1)),
216
- u(h).column === "avgDuration" ? (o(), i("span", kt, r(u(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
215
+ r(h).column === "avgDuration" ? (o(), i("span", kt, u(r(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
217
216
  ]),
218
217
  t[12] || (t[12] = e("th", null, "Min", -1)),
219
218
  t[13] || (t[13] = e("th", null, "Max", -1)),
@@ -222,7 +221,7 @@ const J = H({
222
221
  onClick: t[4] || (t[4] = (l) => S("totalDuration"))
223
222
  }, [
224
223
  t[10] || (t[10] = b(" Total ", -1)),
225
- u(h).column === "totalDuration" ? (o(), i("span", wt, r(u(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
224
+ r(h).column === "totalDuration" ? (o(), i("span", wt, u(r(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
226
225
  ]),
227
226
  t[14] || (t[14] = e("th", null, "% Time", -1))
228
227
  ])
@@ -237,30 +236,30 @@ const J = H({
237
236
  tabindex: "0",
238
237
  onClick: L((x) => d.value = d.value === l.sqlNormalized ? null : l.sqlNormalized, ["stop"]),
239
238
  onKeydown: B((x) => d.value = d.value === l.sqlNormalized ? null : l.sqlNormalized, ["enter"])
240
- }, r(l.sqlNormalized), 43, $t),
241
- (l.count || 0) >= 3 ? (o(), i("span", Ct, "DUP")) : v("", !0)
239
+ }, u(l.sqlNormalized), 43, Ct),
240
+ (l.count || 0) >= 3 ? (o(), i("span", $t, "DUP")) : v("", !0)
242
241
  ]),
243
242
  e("td", null, [
244
- e("span", gt, r(l.count || 0), 1)
243
+ e("span", gt, u(l.count || 0), 1)
245
244
  ]),
246
245
  e("td", null, [
247
246
  e("span", {
248
247
  class: f(`ss-dash-duration ${E(l.avgDuration || 0)}`)
249
- }, r((l.avgDuration || 0).toFixed(2)) + "ms ", 3)
248
+ }, u((l.avgDuration || 0).toFixed(2)) + "ms ", 3)
250
249
  ]),
251
250
  e("td", null, [
252
- e("span", Dt, r((l.minDuration || 0).toFixed(2)) + "ms", 1)
251
+ e("span", Dt, u((l.minDuration || 0).toFixed(2)) + "ms", 1)
253
252
  ]),
254
253
  e("td", null, [
255
254
  e("span", {
256
255
  class: f(`ss-dash-duration ${E(l.maxDuration || 0)}`)
257
- }, r((l.maxDuration || 0).toFixed(2)) + "ms ", 3)
256
+ }, u((l.maxDuration || 0).toFixed(2)) + "ms ", 3)
258
257
  ]),
259
258
  e("td", null, [
260
- e("span", Nt, r((l.totalDuration || 0).toFixed(1)) + "ms", 1)
259
+ e("span", Nt, u((l.totalDuration || 0).toFixed(1)) + "ms", 1)
261
260
  ]),
262
261
  e("td", null, [
263
- e("span", Pt, r((l.percentOfTotal || 0).toFixed(1)) + "%", 1)
262
+ e("span", Pt, u((l.percentOfTotal || 0).toFixed(1)) + "%", 1)
264
263
  ])
265
264
  ]))), 128))
266
265
  ])
@@ -292,7 +291,7 @@ const J = H({
292
291
  onClick: t[5] || (t[5] = (l) => S("duration"))
293
292
  }, [
294
293
  t[15] || (t[15] = b(" Duration ", -1)),
295
- u(h).column === "duration" ? (o(), i("span", zt, r(u(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
294
+ r(h).column === "duration" ? (o(), i("span", zt, u(r(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
296
295
  ]),
297
296
  t[19] || (t[19] = e("th", null, "Method", -1)),
298
297
  t[20] || (t[20] = e("th", null, "Model", -1)),
@@ -302,7 +301,7 @@ const J = H({
302
301
  onClick: t[6] || (t[6] = (l) => S("createdAt"))
303
302
  }, [
304
303
  t[16] || (t[16] = b(" Time ", -1)),
305
- u(h).column === "createdAt" ? (o(), i("span", jt, r(u(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
304
+ r(h).column === "createdAt" ? (o(), i("span", jt, u(r(h).direction === "asc" ? " ▲" : " ▼"), 1)) : v("", !0)
306
305
  ]),
307
306
  t[22] || (t[22] = e("th", null, null, -1))
308
307
  ])
@@ -313,7 +312,7 @@ const J = H({
313
312
  }, [
314
313
  e("tr", null, [
315
314
  e("td", null, [
316
- e("span", At, r(l.id), 1)
315
+ e("span", At, u(l.id), 1)
317
316
  ]),
318
317
  e("td", null, [
319
318
  e("div", null, [
@@ -324,10 +323,10 @@ const J = H({
324
323
  tabindex: "0",
325
324
  onClick: L((p) => d.value = d.value === l.id ? null : l.id, ["stop"]),
326
325
  onKeydown: B((p) => d.value = d.value === l.id ? null : l.id, ["enter"])
327
- }, r(l.sql || l.sql_text || ""), 43, Ft),
326
+ }, u(l.sql || l.sql_text || ""), 43, Ft),
328
327
  (R.value.get(
329
328
  (l.sqlNormalized || l.sql || l.sql_text) ?? ""
330
- ) ?? 0) > 1 ? (o(), i("span", Kt, " ×" + r(R.value.get(
329
+ ) ?? 0) > 1 ? (o(), i("span", Kt, " ×" + u(R.value.get(
331
330
  (l.sqlNormalized || l.sql || l.sql_text) ?? ""
332
331
  )), 1)) : v("", !0)
333
332
  ])
@@ -335,29 +334,29 @@ const J = H({
335
334
  e("td", null, [
336
335
  e("span", {
337
336
  class: f(`ss-dash-duration ${E(l.duration || 0)}`)
338
- }, r((l.duration || 0).toFixed(2)) + "ms ", 3)
337
+ }, u((l.duration || 0).toFixed(2)) + "ms ", 3)
339
338
  ]),
340
339
  e("td", null, [
341
340
  e("span", {
342
341
  class: f(`ss-dash-method ss-dash-method-${(l.method || l.sql_method || "").toLowerCase()}`)
343
- }, r(l.method || l.sql_method || ""), 3)
342
+ }, u(l.method || l.sql_method || ""), 3)
344
343
  ]),
345
344
  e("td", null, [
346
345
  e("span", {
347
346
  style: { color: "var(--ss-muted)", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
348
347
  title: l.model
349
- }, r(l.model || "-"), 9, Rt)
348
+ }, u(l.model || "-"), 9, Rt)
350
349
  ]),
351
350
  e("td", null, [
352
- e("span", Et, r(l.connection || "-"), 1)
351
+ e("span", Et, u(l.connection || "-"), 1)
353
352
  ]),
354
353
  e("td", null, [
355
354
  e("span", {
356
355
  class: "ss-dash-event-time",
357
- title: u(ut)(
356
+ title: r(rt)(
358
357
  l.createdAt || l.created_at || l.timestamp || ""
359
358
  )
360
- }, r(u(dt)(
359
+ }, u(r(dt)(
361
360
  l.createdAt || l.created_at || l.timestamp || ""
362
361
  )), 9, Lt)
363
362
  ]),
@@ -368,7 +367,7 @@ const J = H({
368
367
  class: f(`ss-dash-explain-btn${a.value?.queryId === l.id && !a.value?.error ? " ss-dash-explain-btn-active" : ""}`),
369
368
  disabled: y.value === l.id,
370
369
  onClick: L((p) => lt(l.id), ["stop"])
371
- }, r(y.value === l.id ? "..." : "EXPLAIN"), 11, Mt)) : v("", !0)
370
+ }, u(y.value === l.id ? "..." : "EXPLAIN"), 11, Mt)) : v("", !0)
372
371
  ])
373
372
  ]),
374
373
  a.value && a.value.queryId === l.id ? (o(), i("tr", Ot, [
@@ -377,11 +376,11 @@ const J = H({
377
376
  e("div", Ut, [
378
377
  a.value.error ? (o(), i("div", Qt, [
379
378
  t[23] || (t[23] = e("strong", null, "Error:", -1)),
380
- b(" " + r(a.value.error) + " ", 1),
379
+ b(" " + u(a.value.error) + " ", 1),
381
380
  a.value.message ? (o(), i("br", Wt)) : v("", !0),
382
- b(" " + r(a.value.message), 1)
381
+ b(" " + u(a.value.message), 1)
383
382
  ])) : at() ? (o(), i("div", Bt, [
384
- W(u(J), {
383
+ W(r(J), {
385
384
  node: ot(),
386
385
  depth: 0
387
386
  }, null, 8, ["node"])
@@ -389,12 +388,12 @@ const J = H({
389
388
  e("table", null, [
390
389
  e("thead", null, [
391
390
  e("tr", null, [
392
- (o(!0), i(k, null, T(q(), (p) => (o(), i("th", { key: p }, r(p), 1))), 128))
391
+ (o(!0), i(k, null, T(q(), (p) => (o(), i("th", { key: p }, u(p), 1))), 128))
393
392
  ])
394
393
  ]),
395
394
  e("tbody", null, [
396
395
  (o(!0), i(k, null, T(a.value.plan, (p, x) => (o(), i("tr", { key: x }, [
397
- (o(!0), i(k, null, T(q(), (_) => (o(), i("td", { key: _ }, r(nt(p, _)), 1))), 128))
396
+ (o(!0), i(k, null, T(q(), (_) => (o(), i("td", { key: _ }, u(nt(p, _)), 1))), 128))
398
397
  ]))), 128))
399
398
  ])
400
399
  ])
@@ -413,12 +412,12 @@ const J = H({
413
412
  ])
414
413
  ], 512)) : (o(), i("div", Jt, "No queries recorded"))
415
414
  ]),
416
- u(P).totalPages > 1 ? (o(), rt(ft, {
415
+ r(P).totalPages > 1 ? (o(), ut(ft, {
417
416
  key: 0,
418
- page: u(P).page,
419
- "last-page": u(P).totalPages,
420
- total: u(P).total,
421
- onPageChange: u(X)
417
+ page: r(P).page,
418
+ "last-page": r(P).totalPages,
419
+ total: r(P).total,
420
+ onPageChange: r(X)
422
421
  }, null, 8, ["page", "last-page", "total", "onPageChange"])) : v("", !0)
423
422
  ], 64))
424
423
  ]));