@burdenoff/microfe-bigconsole 2026.1118.9 → 2026.1119.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 (46) hide show
  1. package/dist/bigconsole/asof/AsOfBanner.d.ts +3 -0
  2. package/dist/bigconsole/asof/AsOfBanner.js +38 -0
  3. package/dist/bigconsole/asof/AsOfControl.d.ts +4 -0
  4. package/dist/bigconsole/asof/AsOfControl.js +96 -0
  5. package/dist/bigconsole/asof/AsOfProvider.d.ts +24 -0
  6. package/dist/bigconsole/asof/AsOfProvider.js +76 -0
  7. package/dist/bigconsole/asof/asOfMessage.d.ts +12 -0
  8. package/dist/bigconsole/asof/asOfMessage.js +12 -0
  9. package/dist/bigconsole/asof/asOfParam.d.ts +48 -0
  10. package/dist/bigconsole/asof/asOfParam.js +34 -0
  11. package/dist/bigconsole/asof/index.d.ts +7 -0
  12. package/dist/bigconsole/asof/index.js +6 -0
  13. package/dist/bigconsole/components/dashboard/BoardMigrationReport.d.ts +7 -0
  14. package/dist/bigconsole/components/dashboard/BoardMigrationReport.js +136 -0
  15. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +142 -138
  16. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +97 -92
  17. package/dist/bigconsole/components/dashboard/ImportFromToolDialog.d.ts +8 -0
  18. package/dist/bigconsole/components/dashboard/ImportFromToolDialog.js +464 -0
  19. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +78 -74
  20. package/dist/bigconsole/components/dashboard/index.d.ts +2 -0
  21. package/dist/bigconsole/components/dashboard/index.js +2 -0
  22. package/dist/bigconsole/components/widgets/WidgetMenu.js +98 -96
  23. package/dist/bigconsole/components/widgets/WidgetWrapper.js +345 -306
  24. package/dist/bigconsole/constants/backendErrors.js +1 -0
  25. package/dist/bigconsole/hooks/index.d.ts +1 -0
  26. package/dist/bigconsole/hooks/index.js +14 -13
  27. package/dist/bigconsole/hooks/useBoardMigrationPreview.d.ts +22 -0
  28. package/dist/bigconsole/hooks/useBoardMigrationPreview.js +62 -0
  29. package/dist/bigconsole/hooks/useFilterFieldValues.js +52 -22
  30. package/dist/bigconsole/hooks/useWidgetData.d.ts +7 -0
  31. package/dist/bigconsole/hooks/useWidgetData.js +53 -43
  32. package/dist/bigconsole/pages/DashboardViewPage.d.ts +7 -1
  33. package/dist/bigconsole/pages/DashboardViewPage.js +300 -278
  34. package/dist/bigconsole/pages/DashboardsPage.js +396 -376
  35. package/dist/bigconsole/pages/index.d.ts +1 -1
  36. package/dist/bigconsole/types/index.d.ts +13 -0
  37. package/dist/bigconsole/utils/backendError.js +46 -24
  38. package/dist/bigconsole/utils/boardMigration.d.ts +53 -0
  39. package/dist/bigconsole/utils/boardMigration.js +92 -0
  40. package/dist/bigconsole/utils/widgetDisplayData.d.ts +6 -0
  41. package/dist/bigconsole/utils/widgetDisplayData.js +4 -0
  42. package/dist/generated/wspace-operations.d.ts +116 -0
  43. package/dist/generated/wspace-operations.js +793 -183
  44. package/dist/generated/wspace-types.d.ts +78 -0
  45. package/dist/generated/wspace-types.js +12 -10
  46. package/package.json +1 -1
@@ -5,29 +5,30 @@ import { Section as r, SectionStack as i } from "../components/common/Section.js
5
5
  import { SortBySelect as a } from "../components/common/SortBySelect.js";
6
6
  import "../context/index.js";
7
7
  import o from "../hooks/useDashboardOperations.js";
8
- import { isNative as s, nativeConfirm as ee, nativeImpact as te, nativeNotify as c } from "../../utils/nativeBridge.js";
8
+ import { isNative as s, nativeConfirm as ee, nativeImpact as c, nativeNotify as l } from "../../utils/nativeBridge.js";
9
9
  import "../hooks/index.js";
10
- import { CreateDashboardDialog as ne } from "../components/dashboard/CreateDashboardDialog.js";
11
- import { DashboardStatusPill as l, useDashboardStatusLabel as re } from "../components/dashboard/DashboardStatusPill.js";
10
+ import { CreateDashboardDialog as te } from "../components/dashboard/CreateDashboardDialog.js";
11
+ import { DashboardStatusPill as ne, useDashboardStatusLabel as re } from "../components/dashboard/DashboardStatusPill.js";
12
12
  import { ImportDashboardDialog as ie } from "../components/dashboard/ImportDashboardDialog.js";
13
+ import { ImportFromToolDialog as ae } from "../components/dashboard/ImportFromToolDialog.js";
13
14
  import "../components/common/index.js";
14
- import { dashboardsListControls as ae } from "../assistant/pageControls.js";
15
- import { LIST_SORT_COPY as oe, listSortOptions as se } from "../utils/listSort.js";
16
- import { selectDashboards as ce } from "../utils/dashboardList.js";
17
- import { isBigConsoleQuotaError as le, reportBigConsoleQuotaError as ue } from "../utils/quota.js";
18
- import { resolveCreateParam as de, withoutCreateParam as fe } from "../utils/createDialogParam.js";
19
- import { dashboardSuggestAnchorProps as pe } from "../proactive/entities.js";
15
+ import { dashboardsListControls as oe } from "../assistant/pageControls.js";
16
+ import { LIST_SORT_COPY as se, listSortOptions as ce } from "../utils/listSort.js";
17
+ import { selectDashboards as le } from "../utils/dashboardList.js";
18
+ import { isBigConsoleQuotaError as ue, reportBigConsoleQuotaError as de } from "../utils/quota.js";
19
+ import { resolveCreateParam as fe, withoutCreateParam as pe } from "../utils/createDialogParam.js";
20
+ import { dashboardSuggestAnchorProps as me } from "../proactive/entities.js";
20
21
  import { memo as u, useCallback as d, useEffect as f, useMemo as p, useState as m } from "react";
21
- import { useSearchParams as me } from "react-router";
22
- import { AccessDenied as he, PermissionButton as h } from "@burdenoff/fe-libs/shared/components";
23
- import { usePermissions as ge } from "@burdenoff/fe-libs/shared/providers/shell";
24
- import { Calendar as _e, ChevronLeft as ve, ChevronRight as ye, Copy as be, FileText as xe, Layers as Se, LayoutDashboard as g, LayoutGrid as Ce, List as we, Pencil as Te, Plus as Ee, Search as De, Trash2 as Oe, Upload as ke } from "lucide-react";
25
- import { AuroraBackground as _, Badge as v, Button as y, CTAOverflowMenu as b, Card as Ae, CardContent as x, GlassCard as je, GradientText as S, IllustratedEmptyState as Me, Input as Ne, PagePurpose as Pe, Spinner as C } from "@burdenoff/fe-libs/ui";
26
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
27
- import { useAssistantPageControls as Fe } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
22
+ import { useSearchParams as he } from "react-router";
23
+ import { AccessDenied as ge, PermissionButton as h } from "@burdenoff/fe-libs/shared/components";
24
+ import { usePermissions as _e } from "@burdenoff/fe-libs/shared/providers/shell";
25
+ import { ArrowRightLeft as g, Calendar as ve, ChevronLeft as ye, ChevronRight as be, Copy as xe, FileText as Se, Layers as Ce, LayoutDashboard as _, LayoutGrid as we, List as Te, Pencil as Ee, Plus as De, Search as Oe, Trash2 as ke, Upload as Ae } from "lucide-react";
26
+ import { AuroraBackground as v, Badge as y, Button as b, CTAOverflowMenu as x, Card as S, CardContent as C, GlassCard as je, GradientText as w, IllustratedEmptyState as Me, Input as Ne, PagePurpose as Pe, Spinner as Fe } from "@burdenoff/fe-libs/ui";
27
+ import { jsx as T, jsxs as E } from "react/jsx-runtime";
28
+ import { useAssistantPageControls as Ie } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
28
29
  // src/bigconsole/pages/DashboardsPage.tsx
29
- var E = "bf-bigconsole-dashboards-view", D = 12, O = 7;
30
- function Ie(e, t) {
30
+ var Le = "bf-bigconsole-dashboards-view", D = 12, O = 7;
31
+ function Re(e, t) {
31
32
  if (t <= O) return Array.from({ length: t }, (e, t) => t + 1);
32
33
  let n = /* @__PURE__ */ new Set([
33
34
  1,
@@ -40,12 +41,12 @@ function Ie(e, t) {
40
41
  t > 0 && e - r[t - 1] > 1 && i.push(null), i.push(e);
41
42
  }), i;
42
43
  }
43
- var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onCreate: i, onImport: a, canCreate: o, canImport: s }) {
44
- return /* @__PURE__ */ T("div", {
44
+ var ze = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, importFromToolLabel: i, onCreate: a, onImport: o, onImportFromTool: s, canCreate: ee, canImport: c }) {
45
+ return /* @__PURE__ */ E("div", {
45
46
  className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
46
- children: [/* @__PURE__ */ w(_, { intensity: "subtle" }), /* @__PURE__ */ w("div", {
47
+ children: [/* @__PURE__ */ T(v, { intensity: "subtle" }), /* @__PURE__ */ T("div", {
47
48
  style: { padding: "var(--space-pagePadding)" },
48
- children: /* @__PURE__ */ T("div", {
49
+ children: /* @__PURE__ */ E("div", {
49
50
  style: {
50
51
  display: "flex",
51
52
  alignItems: "center",
@@ -53,14 +54,14 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
53
54
  flexWrap: "wrap",
54
55
  gap: "var(--space-formGap)"
55
56
  },
56
- children: [/* @__PURE__ */ T("div", {
57
+ children: [/* @__PURE__ */ E("div", {
57
58
  style: {
58
59
  display: "flex",
59
60
  alignItems: "center",
60
61
  gap: "var(--space-formGap)",
61
62
  minWidth: 0
62
63
  },
63
- children: [/* @__PURE__ */ w("div", {
64
+ children: [/* @__PURE__ */ T("div", {
64
65
  style: {
65
66
  display: "flex",
66
67
  height: "var(--size-controlHeight-lg)",
@@ -71,22 +72,22 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
71
72
  borderRadius: "var(--radius-card)",
72
73
  backgroundColor: "var(--color-action-primary-bg)"
73
74
  },
74
- children: /* @__PURE__ */ w(g, { style: {
75
+ children: /* @__PURE__ */ T(_, { style: {
75
76
  height: "var(--size-icon-lg)",
76
77
  width: "var(--size-icon-lg)",
77
78
  color: "var(--color-action-primary-text)"
78
79
  } })
79
- }), /* @__PURE__ */ T("div", {
80
+ }), /* @__PURE__ */ E("div", {
80
81
  style: { minWidth: 0 },
81
- children: [/* @__PURE__ */ w("h1", {
82
+ children: [/* @__PURE__ */ T("h1", {
82
83
  style: {
83
84
  fontSize: "var(--font-size-heading-h4)",
84
85
  fontWeight: "var(--font-weight-bold)",
85
86
  margin: 0,
86
87
  color: "var(--color-text-primary)"
87
88
  },
88
- children: /* @__PURE__ */ w(S, { children: e })
89
- }), /* @__PURE__ */ w("p", {
89
+ children: /* @__PURE__ */ T(w, { children: e })
90
+ }), /* @__PURE__ */ T("p", {
90
91
  style: {
91
92
  fontSize: "var(--font-size-body-sm)",
92
93
  color: "var(--color-text-secondary)",
@@ -95,14 +96,14 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
95
96
  children: t
96
97
  })]
97
98
  })]
98
- }), /* @__PURE__ */ w("div", {
99
+ }), /* @__PURE__ */ T("div", {
99
100
  "data-tour": "bigconsole-dashboard-create",
100
- children: /* @__PURE__ */ w(b, {
101
+ children: /* @__PURE__ */ T(x, {
101
102
  primary: {
102
103
  label: n,
103
- onSelect: i,
104
- disabled: !o,
105
- icon: /* @__PURE__ */ w(Ee, { style: {
104
+ onSelect: a,
105
+ disabled: !ee,
106
+ icon: /* @__PURE__ */ T(De, { style: {
106
107
  marginRight: "var(--space-iconGap)",
107
108
  height: "var(--size-icon-sm)",
108
109
  width: "var(--size-icon-sm)"
@@ -110,9 +111,17 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
110
111
  },
111
112
  actions: [{
112
113
  label: r,
113
- onSelect: a,
114
- disabled: !s,
115
- icon: /* @__PURE__ */ w(ke, { style: {
114
+ onSelect: o,
115
+ disabled: !c,
116
+ icon: /* @__PURE__ */ T(Ae, { style: {
117
+ height: "var(--size-icon-sm)",
118
+ width: "var(--size-icon-sm)"
119
+ } })
120
+ }, {
121
+ label: i,
122
+ onSelect: s,
123
+ disabled: !c,
124
+ icon: /* @__PURE__ */ T(g, { style: {
116
125
  height: "var(--size-icon-sm)",
117
126
  width: "var(--size-icon-sm)"
118
127
  } })
@@ -123,240 +132,246 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
123
132
  })]
124
133
  });
125
134
  }), k = u(function() {
126
- let u = e(), _ = t(), [b, S] = m(""), [O, k] = m(""), [A, Re] = m(""), [j, M] = m("default"), [N, P] = m(1), [ze, F] = m(!1), [I, Be] = m(!1), [Ve, He] = m(!1), [L, Ue] = m(() => {
135
+ let u = e(), g = t(), [v, x] = m(""), [w, O] = m(""), [k, Be] = m(""), [A, j] = m("default"), [M, N] = m(1), [Ve, P] = m(!1), [F, He] = m(!1), [Ue, We] = m(!1), [Ge, Ke] = m(!1), [I, qe] = m(() => {
127
136
  try {
128
- return window.localStorage.getItem(E) === "list" ? "list" : "grid";
137
+ return window.localStorage.getItem(Le) === "list" ? "list" : "grid";
129
138
  } catch {
130
139
  return "grid";
131
140
  }
132
- }), We = d((e) => {
133
- Ue(e);
141
+ }), Je = d((e) => {
142
+ qe(e);
134
143
  try {
135
- window.localStorage.setItem(E, e);
144
+ window.localStorage.setItem(Le, e);
136
145
  } catch {}
137
- }, []), { loading: R, error: z, dashboards: B, createDashboard: Ge, deleteDashboard: Ke, cloneDashboard: qe, refetch: V } = o(), { hasPermission: H, isLoading: U } = ge(), W = H(n.DASHBOARD_READ), G = H(n.DASHBOARD_CREATE), Je = H(n.DASHBOARD_IMPORT), [K, Ye] = me();
146
+ }, []), { loading: L, error: R, dashboards: z, createDashboard: Ye, deleteDashboard: Xe, cloneDashboard: Ze, refetch: B } = o(), { hasPermission: V, isLoading: H } = _e(), U = V(n.DASHBOARD_READ), W = V(n.DASHBOARD_CREATE), Qe = V(n.DASHBOARD_IMPORT), [G, $e] = he();
138
147
  f(() => {
139
- let e = de(K, {
140
- permissionsLoading: U,
141
- canRead: W,
142
- canCreate: G
148
+ let e = fe(G, {
149
+ permissionsLoading: H,
150
+ canRead: U,
151
+ canCreate: W
143
152
  });
144
- e !== "none" && e !== "wait" && (e === "open" && F(!0), Ye(fe(K), { replace: !0 }));
153
+ e !== "none" && e !== "wait" && (e === "open" && P(!0), $e(pe(G), { replace: !0 }));
145
154
  }, [
146
- K,
147
- Ye,
155
+ G,
156
+ $e,
157
+ H,
148
158
  U,
149
- W,
150
- G
159
+ W
151
160
  ]);
152
- let q = p(() => Array.from(new Set(B.flatMap((e) => e.category ? [e.category] : []))).sort(), [B]), { filtered: J, totalPages: Y, pageItems: X } = ce(B, {
153
- search: b,
154
- category: O,
155
- status: A,
156
- sort: j,
157
- page: N,
161
+ let K = p(() => Array.from(new Set(z.flatMap((e) => e.category ? [e.category] : []))).sort(), [z]), { filtered: q, totalPages: J, pageItems: Y } = le(z, {
162
+ search: v,
163
+ category: w,
164
+ status: k,
165
+ sort: A,
166
+ page: M,
158
167
  pageSize: D
159
- }), Xe = (Math.min(N, Y) - 1) * D;
168
+ }), et = (Math.min(M, J) - 1) * D;
160
169
  f(() => {
161
- P(1);
170
+ N(1);
162
171
  }, [
163
- b,
164
- L,
165
- O,
166
- A,
167
- j
172
+ v,
173
+ I,
174
+ w,
175
+ k,
176
+ A
168
177
  ]), f(() => {
169
- N > Y && P(Y);
170
- }, [N, Y]);
171
- let Ze = d(() => {
172
- P((e) => Math.max(1, e - 1));
173
- }, []), Qe = d(() => {
174
- P((e) => Math.min(Y, e + 1));
175
- }, [Y]), $e = d((e) => {
176
- P(e);
177
- }, []), et = d(() => {
178
- F(!0);
179
- }, []), tt = d(({ dashboardId: e }) => {
180
- V(), u(`/dashboards/${e}`);
181
- }, [V, u]), nt = d(() => {
182
- I || F(!1);
183
- }, [I]), rt = d(async (e) => {
184
- Be(!0);
178
+ M > J && N(J);
179
+ }, [M, J]);
180
+ let tt = d(() => {
181
+ N((e) => Math.max(1, e - 1));
182
+ }, []), nt = d(() => {
183
+ N((e) => Math.min(J, e + 1));
184
+ }, [J]), rt = d((e) => {
185
+ N(e);
186
+ }, []), it = d(() => {
187
+ P(!0);
188
+ }, []), at = d(({ dashboardId: e }) => {
189
+ B(), u(`/dashboards/${e}`);
190
+ }, [B, u]), ot = d(() => {
191
+ F || P(!1);
192
+ }, [F]), st = d(async (e) => {
193
+ He(!0);
185
194
  try {
186
- let t = await Ge({
195
+ let t = await Ye({
187
196
  name: e.name,
188
197
  description: e.description,
189
198
  category: e.category,
190
199
  tags: e.tags
191
200
  });
192
- if (!t) throw Error(_("bigconsole.dashboards.createDialog.error.createFailed", "Failed to create dashboard. Please try again."));
193
- F(!1), u(`/dashboards/${t.id}/builder`);
201
+ if (!t) throw Error(g("bigconsole.dashboards.createDialog.error.createFailed", "Failed to create dashboard. Please try again."));
202
+ P(!1), u(`/dashboards/${t.id}/builder`);
194
203
  } catch (e) {
195
- throw le(e) || console.error("Failed to create dashboard:", e), s() && c("error"), e;
204
+ throw ue(e) || console.error("Failed to create dashboard:", e), s() && l("error"), e;
196
205
  } finally {
197
- Be(!1);
206
+ He(!1);
198
207
  }
199
208
  }, [
200
- Ge,
209
+ Ye,
201
210
  u,
202
- _
203
- ]), Z = d((e) => {
211
+ g
212
+ ]), X = d((e) => {
204
213
  u(`/dashboards/${e}`);
205
- }, [u]), it = d((e, t) => {
214
+ }, [u]), ct = d((e, t) => {
206
215
  t.stopPropagation(), u(`/dashboards/${e}/builder`);
207
- }, [u]), at = d(async (e, t) => {
216
+ }, [u]), lt = d(async (e, t) => {
208
217
  t.stopPropagation();
209
- let n = _("bigconsole.dashboards.confirmDelete", "Are you sure you want to delete this dashboard?"), r = await ee({
218
+ let n = g("bigconsole.dashboards.confirmDelete", "Are you sure you want to delete this dashboard?"), r = await ee({
210
219
  title: "Delete dashboard?",
211
220
  message: n,
212
221
  okButtonTitle: "Delete",
213
222
  cancelButtonTitle: "Cancel"
214
223
  });
215
224
  if (r === null ? window.confirm(n) : r) {
216
- te("medium");
225
+ c("medium");
217
226
  try {
218
- await Ke(e), s() && c("success");
227
+ await Xe(e), s() && l("success");
219
228
  } catch (e) {
220
- throw s() && c("error"), e;
229
+ throw s() && l("error"), e;
221
230
  }
222
231
  }
223
- }, [Ke, _]), ot = d(async (e, t, n) => {
232
+ }, [Xe, g]), ut = d(async (e, t, n) => {
224
233
  n.stopPropagation();
225
- let r = _("bigconsole.dashboards.clone.defaultSuffix", "{{sourceName}} (Copy)", { sourceName: t }), i = window.prompt(_("bigconsole.dashboards.clone.namePrompt", "Name for the cloned dashboard:"), r);
234
+ let r = g("bigconsole.dashboards.clone.defaultSuffix", "{{sourceName}} (Copy)", { sourceName: t }), i = window.prompt(g("bigconsole.dashboards.clone.namePrompt", "Name for the cloned dashboard:"), r);
226
235
  if (i && i.trim()) {
227
- te("medium");
236
+ c("medium");
228
237
  try {
229
- let t = await qe(e, i.trim());
230
- t && (s() && c("success"), u(`/dashboards/${t.id}`));
238
+ let t = await Ze(e, i.trim());
239
+ t && (s() && l("success"), u(`/dashboards/${t.id}`));
231
240
  } catch (e) {
232
- if (ue(e, "project")) return;
233
- throw s() && c("error"), e;
241
+ if (de(e, "project")) return;
242
+ throw s() && l("error"), e;
234
243
  }
235
244
  }
236
245
  }, [
237
- qe,
246
+ Ze,
238
247
  u,
239
- _
240
- ]), st = d(() => {
241
- He(!0);
242
- }, []), ct = d(() => {
243
- He(!1);
244
- }, []), lt = d((e, t) => {
245
- V();
246
- }, [V]), ut = (e) => {
248
+ g
249
+ ]), dt = d(() => {
250
+ We(!0);
251
+ }, []), ft = d(() => {
252
+ We(!1);
253
+ }, []), pt = d(() => {
254
+ Ke(!0);
255
+ }, []), mt = d(() => {
256
+ Ke(!1);
257
+ }, []), ht = d((e, t) => {
258
+ B();
259
+ }, [B]), gt = (e) => {
247
260
  let t = new Date(e), n = /* @__PURE__ */ new Date(), r = n.getTime() - t.getTime(), i = Math.floor(r / 6e4), a = Math.floor(r / 36e5), o = Math.floor(r / 864e5);
248
- return i < 1 ? _("bigconsole.dashboards.time.justNow", "Just now") : i < 60 ? `${i}${_("bigconsole.dashboards.time.minutesAgoSuffix", "m ago")}` : a < 24 ? `${a}${_("bigconsole.dashboards.time.hoursAgoSuffix", "h ago")}` : o < 7 ? `${o}${_("bigconsole.dashboards.time.daysAgoSuffix", "d ago")}` : new Intl.DateTimeFormat("en-US", {
261
+ return i < 1 ? g("bigconsole.dashboards.time.justNow", "Just now") : i < 60 ? `${i}${g("bigconsole.dashboards.time.minutesAgoSuffix", "m ago")}` : a < 24 ? `${a}${g("bigconsole.dashboards.time.hoursAgoSuffix", "h ago")}` : o < 7 ? `${o}${g("bigconsole.dashboards.time.daysAgoSuffix", "d ago")}` : new Intl.DateTimeFormat("en-US", {
249
262
  month: "short",
250
263
  day: "numeric",
251
264
  year: t.getFullYear() === n.getFullYear() ? void 0 : "numeric"
252
265
  }).format(t);
253
- }, Q = re(), $ = p(() => Array.from(new Set(B.map((e) => e.status).filter((e) => e !== void 0))).sort().map((e) => ({
266
+ }, Z = re(), Q = p(() => Array.from(new Set(z.map((e) => e.status).filter((e) => e !== void 0))).sort().map((e) => ({
254
267
  value: e,
255
- label: Q(e)
256
- })), [B, Q]), dt = p(() => se(_, !0), [_]), ft = p(() => !U && W && !z ? ae({
257
- tr: _,
258
- categories: q,
259
- statuses: $,
260
- category: O,
261
- status: A,
262
- setCategory: k,
263
- setStatus: Re,
264
- setSearch: S,
265
- sort: j,
266
- setSort: M
268
+ label: Z(e)
269
+ })), [z, Z]), _t = p(() => ce(g, !0), [g]), vt = p(() => !H && U && !R ? oe({
270
+ tr: g,
271
+ categories: K,
272
+ statuses: Q,
273
+ category: w,
274
+ status: k,
275
+ setCategory: O,
276
+ setStatus: Be,
277
+ setSearch: x,
278
+ sort: A,
279
+ setSort: j
267
280
  }) : null, [
268
- _,
281
+ g,
282
+ H,
269
283
  U,
270
- W,
271
- z,
272
- q,
273
- $,
274
- O,
275
- A,
276
- j
284
+ R,
285
+ K,
286
+ Q,
287
+ w,
288
+ k,
289
+ A
277
290
  ]);
278
- Fe(ft);
279
- let pt = (e) => e.widgetCount ?? 0, mt = (e) => e.pageCount || 0, ht = /* @__PURE__ */ w(Le, {
280
- title: _("bigconsole.dashboards.title", "Dashboards"),
281
- subtitle: _("bigconsole.dashboards.subtitle", "Create and manage your analytics dashboards"),
282
- createLabel: _("bigconsole.dashboards.actions.create", "Create Dashboard"),
283
- importLabel: _("bigconsole.dashboards.actions.import", "Import"),
284
- onCreate: et,
285
- onImport: st,
286
- canCreate: G,
287
- canImport: Je
291
+ Ie(vt);
292
+ let yt = (e) => e.widgetCount ?? 0, bt = (e) => e.pageCount || 0, xt = /* @__PURE__ */ T(ze, {
293
+ title: g("bigconsole.dashboards.title", "Dashboards"),
294
+ subtitle: g("bigconsole.dashboards.subtitle", "Create and manage your analytics dashboards"),
295
+ createLabel: g("bigconsole.dashboards.actions.create", "Create Dashboard"),
296
+ importLabel: g("bigconsole.dashboards.actions.import", "Import"),
297
+ importFromToolLabel: g("bigconsole.dashboards.actions.importFromTool", "Import from another tool"),
298
+ onCreate: it,
299
+ onImport: dt,
300
+ onImportFromTool: pt,
301
+ canCreate: W,
302
+ canImport: Qe
288
303
  });
289
- if (U) return /* @__PURE__ */ w("div", {
304
+ if (H) return /* @__PURE__ */ T("div", {
290
305
  style: {
291
306
  display: "flex",
292
307
  alignItems: "center",
293
308
  justifyContent: "center",
294
309
  padding: "80px 0"
295
310
  },
296
- children: /* @__PURE__ */ w(C, { style: {
311
+ children: /* @__PURE__ */ T(Fe, { style: {
297
312
  height: "var(--size-icon-xl)",
298
313
  width: "var(--size-icon-xl)"
299
314
  } })
300
315
  });
301
- if (!W) return /* @__PURE__ */ w(he, {
302
- title: _("bigconsole.dashboards.accessDenied.title", "Access Denied"),
303
- description: _("bigconsole.dashboards.accessDenied.description", "You don't have permission to view dashboards.")
316
+ if (!U) return /* @__PURE__ */ T(ge, {
317
+ title: g("bigconsole.dashboards.accessDenied.title", "Access Denied"),
318
+ description: g("bigconsole.dashboards.accessDenied.description", "You don't have permission to view dashboards.")
304
319
  });
305
- if (z) return /* @__PURE__ */ T("div", {
320
+ if (R) return /* @__PURE__ */ E("div", {
306
321
  "data-tour": "bigconsole-dashboards-list",
307
322
  style: {
308
323
  minHeight: "100vh",
309
324
  backgroundColor: "var(--color-bg-canvas)"
310
325
  },
311
- children: [ht, /* @__PURE__ */ w("div", {
326
+ children: [xt, /* @__PURE__ */ T("div", {
312
327
  style: { padding: "var(--space-pagePadding)" },
313
- children: /* @__PURE__ */ w(r, {
328
+ children: /* @__PURE__ */ T(r, {
314
329
  headingLevel: 2,
315
330
  tone: "danger",
316
- title: _("bigconsole.dashboards.error.title", "Error loading dashboards"),
317
- description: z.message,
331
+ title: g("bigconsole.dashboards.error.title", "Error loading dashboards"),
332
+ description: R.message,
318
333
  "data-testid": "dashboards-error",
319
- actions: /* @__PURE__ */ w(y, {
334
+ actions: /* @__PURE__ */ T(b, {
320
335
  size: "sm",
321
- onClick: () => V(),
322
- children: _("bigconsole.dashboards.error.retry", "Retry")
336
+ onClick: () => B(),
337
+ children: g("bigconsole.dashboards.error.retry", "Retry")
323
338
  })
324
339
  })
325
340
  })]
326
341
  });
327
- let gt = J.length;
328
- return /* @__PURE__ */ T("div", {
342
+ let $ = q.length;
343
+ return /* @__PURE__ */ E("div", {
329
344
  "data-tour": "bigconsole-dashboards-list",
330
345
  style: {
331
346
  minHeight: "100vh",
332
347
  backgroundColor: "var(--color-bg-canvas)"
333
348
  },
334
349
  children: [
335
- ht,
336
- /* @__PURE__ */ w("div", {
350
+ xt,
351
+ /* @__PURE__ */ T("div", {
337
352
  style: { padding: "var(--space-pagePadding)" },
338
- children: /* @__PURE__ */ T(i, { children: [/* @__PURE__ */ w(r, {
353
+ children: /* @__PURE__ */ E(i, { children: [/* @__PURE__ */ T(r, {
339
354
  emphasis: "muted",
340
355
  padding: "compact",
341
- "aria-label": _("bigconsole.dashboards.about", "About dashboards"),
342
- children: /* @__PURE__ */ w(Pe, {
356
+ "aria-label": g("bigconsole.dashboards.about", "About dashboards"),
357
+ children: /* @__PURE__ */ T(Pe, {
343
358
  className: "max-w-[80ch]",
344
359
  children: "Dashboards are live, shareable views built from widgets that query your data sinks — charts, tables, metrics, and drill-downs in one place. Compose a board to monitor a system, share KPIs with your team, or explore data interactively."
345
360
  })
346
- }), /* @__PURE__ */ T(r, {
361
+ }), /* @__PURE__ */ E(r, {
347
362
  headingLevel: 2,
348
363
  emphasis: "primary",
349
364
  "data-testid": "dashboards-results",
350
- title: _("bigconsole.dashboards.results.title", "Your dashboards"),
351
- description: _("bigconsole.dashboards.results.description", "Open a board to view it, or use the card actions to edit, duplicate or delete."),
352
- meta: /* @__PURE__ */ w(v, {
365
+ title: g("bigconsole.dashboards.results.title", "Your dashboards"),
366
+ description: g("bigconsole.dashboards.results.description", "Open a board to view it, or use the card actions to edit, duplicate or delete."),
367
+ meta: /* @__PURE__ */ T(y, {
353
368
  variant: "secondary",
354
- "aria-label": _("bigconsole.dashboards.results.count", `${gt} dashboards`),
355
- children: gt
369
+ "aria-label": g("bigconsole.dashboards.results.count", `${$} dashboards`),
370
+ children: $
356
371
  }),
357
- actions: /* @__PURE__ */ T("div", {
372
+ actions: /* @__PURE__ */ E("div", {
358
373
  role: "group",
359
- "aria-label": _("bigconsole.dashboards.view.label", "Result layout"),
374
+ "aria-label": g("bigconsole.dashboards.view.label", "Result layout"),
360
375
  style: {
361
376
  display: "flex",
362
377
  alignItems: "center",
@@ -365,37 +380,37 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
365
380
  borderRadius: "var(--radius-button)",
366
381
  backgroundColor: "var(--color-bg-sunken)"
367
382
  },
368
- children: [/* @__PURE__ */ w(y, {
369
- variant: L === "grid" ? "default" : "ghost",
383
+ children: [/* @__PURE__ */ T(b, {
384
+ variant: I === "grid" ? "default" : "ghost",
370
385
  size: "sm",
371
- onClick: () => We("grid"),
372
- "aria-label": _("bigconsole.dashboards.view.grid", "Grid view"),
373
- "aria-pressed": L === "grid",
374
- title: _("bigconsole.dashboards.view.grid", "Grid view"),
386
+ onClick: () => Je("grid"),
387
+ "aria-label": g("bigconsole.dashboards.view.grid", "Grid view"),
388
+ "aria-pressed": I === "grid",
389
+ title: g("bigconsole.dashboards.view.grid", "Grid view"),
375
390
  style: {
376
391
  height: "var(--size-controlHeight-md)",
377
392
  width: "var(--size-controlHeight-md)",
378
393
  padding: 0,
379
394
  borderRadius: "var(--radius-button)"
380
395
  },
381
- children: /* @__PURE__ */ w(Ce, { style: {
396
+ children: /* @__PURE__ */ T(we, { style: {
382
397
  height: "var(--size-icon-sm)",
383
398
  width: "var(--size-icon-sm)"
384
399
  } })
385
- }), /* @__PURE__ */ w(y, {
386
- variant: L === "list" ? "default" : "ghost",
400
+ }), /* @__PURE__ */ T(b, {
401
+ variant: I === "list" ? "default" : "ghost",
387
402
  size: "sm",
388
- onClick: () => We("list"),
389
- "aria-label": _("bigconsole.dashboards.view.list", "List view"),
390
- "aria-pressed": L === "list",
391
- title: _("bigconsole.dashboards.view.list", "List view"),
403
+ onClick: () => Je("list"),
404
+ "aria-label": g("bigconsole.dashboards.view.list", "List view"),
405
+ "aria-pressed": I === "list",
406
+ title: g("bigconsole.dashboards.view.list", "List view"),
392
407
  style: {
393
408
  height: "var(--size-controlHeight-md)",
394
409
  width: "var(--size-controlHeight-md)",
395
410
  padding: 0,
396
411
  borderRadius: "var(--radius-button)"
397
412
  },
398
- children: /* @__PURE__ */ w(we, { style: {
413
+ children: /* @__PURE__ */ T(Te, { style: {
399
414
  height: "var(--size-icon-sm)",
400
415
  width: "var(--size-icon-sm)"
401
416
  } })
@@ -403,13 +418,13 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
403
418
  }),
404
419
  bodyClassName: "flex flex-col gap-form-gap",
405
420
  children: [
406
- /* @__PURE__ */ T("div", {
421
+ /* @__PURE__ */ E("div", {
407
422
  style: {
408
423
  position: "relative",
409
424
  width: "100%",
410
425
  maxWidth: "420px"
411
426
  },
412
- children: [/* @__PURE__ */ w(De, {
427
+ children: [/* @__PURE__ */ T(Oe, {
413
428
  "aria-hidden": "true",
414
429
  style: {
415
430
  position: "absolute",
@@ -420,99 +435,99 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
420
435
  width: "var(--size-icon-sm)",
421
436
  color: "var(--color-text-muted)"
422
437
  }
423
- }), /* @__PURE__ */ w(Ne, {
438
+ }), /* @__PURE__ */ T(Ne, {
424
439
  type: "search",
425
- "aria-label": _("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
426
- placeholder: _("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
427
- value: b,
428
- onChange: (e) => S(e.target.value),
440
+ "aria-label": g("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
441
+ placeholder: g("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
442
+ value: v,
443
+ onChange: (e) => x(e.target.value),
429
444
  style: {
430
445
  paddingLeft: "var(--size-controlHeight-md)",
431
446
  height: "var(--size-controlHeight-md)"
432
447
  }
433
448
  })]
434
449
  }),
435
- /* @__PURE__ */ T("div", {
450
+ /* @__PURE__ */ E("div", {
436
451
  className: "flex flex-wrap gap-control-gap",
437
452
  children: [
438
- /* @__PURE__ */ T("select", {
439
- "aria-label": _("bigconsole.dashboards.filters.category", "Category"),
440
- value: O,
441
- onChange: (e) => k(e.target.value),
453
+ /* @__PURE__ */ E("select", {
454
+ "aria-label": g("bigconsole.dashboards.filters.category", "Category"),
455
+ value: w,
456
+ onChange: (e) => O(e.target.value),
442
457
  className: "min-w-0 max-w-full rounded-button border border-border-subtle bg-bg-surface p-2 text-sm text-text-primary",
443
- children: [/* @__PURE__ */ w("option", {
458
+ children: [/* @__PURE__ */ T("option", {
444
459
  value: "",
445
- children: _("bigconsole.dashboards.filters.allCategories", "All categories")
446
- }), q.map((e) => /* @__PURE__ */ w("option", {
460
+ children: g("bigconsole.dashboards.filters.allCategories", "All categories")
461
+ }), K.map((e) => /* @__PURE__ */ T("option", {
447
462
  value: e,
448
463
  children: e
449
464
  }, e))]
450
465
  }),
451
- /* @__PURE__ */ T("select", {
452
- "aria-label": _("bigconsole.dashboards.filters.status", "Status"),
453
- value: A,
454
- onChange: (e) => Re(e.target.value),
466
+ /* @__PURE__ */ E("select", {
467
+ "aria-label": g("bigconsole.dashboards.filters.status", "Status"),
468
+ value: k,
469
+ onChange: (e) => Be(e.target.value),
455
470
  className: "min-w-0 max-w-full rounded-button border border-border-subtle bg-bg-surface p-2 text-sm text-text-primary",
456
- children: [/* @__PURE__ */ w("option", {
471
+ children: [/* @__PURE__ */ T("option", {
457
472
  value: "",
458
- children: _("bigconsole.dashboards.filters.allStatuses", "All statuses")
459
- }), $.map((e) => /* @__PURE__ */ w("option", {
473
+ children: g("bigconsole.dashboards.filters.allStatuses", "All statuses")
474
+ }), Q.map((e) => /* @__PURE__ */ T("option", {
460
475
  value: e.value,
461
476
  children: e.label
462
477
  }, e.value))]
463
478
  }),
464
- /* @__PURE__ */ w(a, {
465
- label: _(oe.label.key, oe.label.en),
466
- value: j,
467
- options: dt,
468
- onChange: M
479
+ /* @__PURE__ */ T(a, {
480
+ label: g(se.label.key, se.label.en),
481
+ value: A,
482
+ options: _t,
483
+ onChange: j
469
484
  })
470
485
  ]
471
486
  }),
472
- R && B.length === 0 && /* @__PURE__ */ w("div", {
487
+ L && z.length === 0 && /* @__PURE__ */ T("div", {
473
488
  style: {
474
489
  display: "flex",
475
490
  alignItems: "center",
476
491
  justifyContent: "center",
477
492
  padding: "80px 0"
478
493
  },
479
- children: /* @__PURE__ */ T("div", {
494
+ children: /* @__PURE__ */ E("div", {
480
495
  style: { textAlign: "center" },
481
- children: [/* @__PURE__ */ w(C, { style: {
496
+ children: [/* @__PURE__ */ T(Fe, { style: {
482
497
  height: "var(--size-icon-xl)",
483
498
  width: "var(--size-icon-xl)",
484
499
  margin: "0 auto var(--space-formGap)"
485
- } }), /* @__PURE__ */ w("p", {
500
+ } }), /* @__PURE__ */ T("p", {
486
501
  style: {
487
502
  fontSize: "var(--font-size-body-sm)",
488
503
  color: "var(--color-text-muted)"
489
504
  },
490
- children: _("bigconsole.dashboards.loading", "Loading dashboards...")
505
+ children: g("bigconsole.dashboards.loading", "Loading dashboards...")
491
506
  })]
492
507
  })
493
508
  }),
494
- !R && L === "grid" && J.length > 0 && /* @__PURE__ */ w("div", {
509
+ !L && I === "grid" && q.length > 0 && /* @__PURE__ */ T("div", {
495
510
  style: {
496
511
  display: "grid",
497
512
  gridTemplateColumns: "repeat(auto-fill, minmax(min(320px, 100%), 1fr))",
498
513
  gap: "var(--space-formGap)"
499
514
  },
500
- children: X.map((e) => /* @__PURE__ */ w(Ae, {
501
- ...pe(e.id),
502
- onClick: () => Z(e.id),
515
+ children: Y.map((e) => /* @__PURE__ */ T(S, {
516
+ ...me(e.id),
517
+ onClick: () => X(e.id),
503
518
  style: { cursor: "pointer" },
504
519
  className: "motion-safe:transition-[box-shadow,border-color] hover:border-[var(--color-border-hover)] hover:shadow-[var(--shadow-elevation-2)]",
505
- children: /* @__PURE__ */ T(x, {
520
+ children: /* @__PURE__ */ E(C, {
506
521
  style: { padding: "var(--space-cardPadding)" },
507
522
  children: [
508
- /* @__PURE__ */ T("div", {
523
+ /* @__PURE__ */ E("div", {
509
524
  style: {
510
525
  display: "flex",
511
526
  alignItems: "center",
512
527
  gap: "var(--space-controlGap)",
513
528
  marginBottom: "var(--space-formGap)"
514
529
  },
515
- children: [/* @__PURE__ */ w("div", {
530
+ children: [/* @__PURE__ */ T("div", {
516
531
  style: {
517
532
  display: "flex",
518
533
  height: "var(--size-controlHeight-lg)",
@@ -523,7 +538,7 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
523
538
  borderRadius: "var(--radius-button)",
524
539
  backgroundColor: "var(--color-bg-accentSubtle)"
525
540
  },
526
- children: /* @__PURE__ */ w(g, {
541
+ children: /* @__PURE__ */ T(_, {
527
542
  "aria-hidden": "true",
528
543
  style: {
529
544
  height: "var(--size-icon-md)",
@@ -531,12 +546,12 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
531
546
  color: "var(--color-action-primary-bg)"
532
547
  }
533
548
  })
534
- }), /* @__PURE__ */ T("div", {
549
+ }), /* @__PURE__ */ E("div", {
535
550
  style: {
536
551
  flex: 1,
537
552
  minWidth: 0
538
553
  },
539
- children: [/* @__PURE__ */ w("h3", {
554
+ children: [/* @__PURE__ */ T("h3", {
540
555
  style: {
541
556
  fontWeight: "var(--font-weight-bold)",
542
557
  fontSize: "var(--font-size-body-md)",
@@ -546,15 +561,15 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
546
561
  textOverflow: "ellipsis",
547
562
  whiteSpace: "nowrap"
548
563
  },
549
- children: /* @__PURE__ */ w("button", {
564
+ children: /* @__PURE__ */ T("button", {
550
565
  type: "button",
551
566
  className: "max-w-full truncate text-left hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
552
567
  onClick: (t) => {
553
- t.stopPropagation(), Z(e.id);
568
+ t.stopPropagation(), X(e.id);
554
569
  },
555
570
  children: e.name
556
571
  })
557
- }), /* @__PURE__ */ T("div", {
572
+ }), /* @__PURE__ */ E("div", {
558
573
  style: {
559
574
  display: "flex",
560
575
  alignItems: "center",
@@ -562,7 +577,7 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
562
577
  flexWrap: "wrap",
563
578
  marginTop: "var(--space-controlGap)"
564
579
  },
565
- children: [e.category && /* @__PURE__ */ w(v, {
580
+ children: [e.category && /* @__PURE__ */ T(y, {
566
581
  variant: "secondary",
567
582
  style: {
568
583
  fontSize: "10px",
@@ -570,14 +585,14 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
570
585
  textTransform: "uppercase"
571
586
  },
572
587
  children: e.category
573
- }), e.status && /* @__PURE__ */ w(l, {
588
+ }), e.status && /* @__PURE__ */ T(ne, {
574
589
  status: e.status,
575
- label: Q(e.status)
590
+ label: Z(e.status)
576
591
  })]
577
592
  })]
578
593
  })]
579
594
  }),
580
- /* @__PURE__ */ w("p", {
595
+ /* @__PURE__ */ T("p", {
581
596
  style: {
582
597
  fontSize: "var(--font-size-body-sm)",
583
598
  lineHeight: "var(--font-lineHeight-normal)",
@@ -589,9 +604,9 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
589
604
  WebkitBoxOrient: "vertical",
590
605
  overflow: "hidden"
591
606
  },
592
- children: e.description || _("bigconsole.dashboards.card.noDescription", "No description provided")
607
+ children: e.description || g("bigconsole.dashboards.card.noDescription", "No description provided")
593
608
  }),
594
- /* @__PURE__ */ T("div", {
609
+ /* @__PURE__ */ E("div", {
595
610
  style: {
596
611
  display: "flex",
597
612
  alignItems: "center",
@@ -602,72 +617,72 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
602
617
  borderRadius: "var(--radius-button)"
603
618
  },
604
619
  children: [
605
- /* @__PURE__ */ T("div", {
620
+ /* @__PURE__ */ E("div", {
606
621
  style: {
607
622
  display: "flex",
608
623
  alignItems: "center",
609
624
  gap: "var(--space-iconGap)"
610
625
  },
611
626
  children: [
612
- /* @__PURE__ */ w(Se, { style: {
627
+ /* @__PURE__ */ T(Ce, { style: {
613
628
  height: "var(--size-icon-sm)",
614
629
  width: "var(--size-icon-sm)",
615
630
  color: "var(--color-action-primary-bg)"
616
631
  } }),
617
- /* @__PURE__ */ w("span", {
632
+ /* @__PURE__ */ T("span", {
618
633
  style: {
619
634
  fontSize: "var(--font-size-body-sm)",
620
635
  fontWeight: "var(--font-weight-semibold)",
621
636
  color: "var(--color-text-primary)"
622
637
  },
623
- children: mt(e)
638
+ children: bt(e)
624
639
  }),
625
- /* @__PURE__ */ w("span", {
640
+ /* @__PURE__ */ T("span", {
626
641
  style: {
627
642
  fontSize: "var(--font-size-body-sm)",
628
643
  color: "var(--color-text-muted)"
629
644
  },
630
- children: _("bigconsole.dashboards.card.pages", "pages")
645
+ children: g("bigconsole.dashboards.card.pages", "pages")
631
646
  })
632
647
  ]
633
648
  }),
634
- /* @__PURE__ */ w("div", { style: {
649
+ /* @__PURE__ */ T("div", { style: {
635
650
  width: "1px",
636
651
  height: "var(--size-icon-sm)",
637
652
  backgroundColor: "var(--color-border-subtle)"
638
653
  } }),
639
- /* @__PURE__ */ T("div", {
654
+ /* @__PURE__ */ E("div", {
640
655
  style: {
641
656
  display: "flex",
642
657
  alignItems: "center",
643
658
  gap: "var(--space-iconGap)"
644
659
  },
645
660
  children: [
646
- /* @__PURE__ */ w(xe, { style: {
661
+ /* @__PURE__ */ T(Se, { style: {
647
662
  height: "var(--size-icon-sm)",
648
663
  width: "var(--size-icon-sm)",
649
664
  color: "var(--color-action-primary-bg)"
650
665
  } }),
651
- /* @__PURE__ */ w("span", {
666
+ /* @__PURE__ */ T("span", {
652
667
  style: {
653
668
  fontSize: "var(--font-size-body-sm)",
654
669
  fontWeight: "var(--font-weight-semibold)",
655
670
  color: "var(--color-text-primary)"
656
671
  },
657
- children: pt(e)
672
+ children: yt(e)
658
673
  }),
659
- /* @__PURE__ */ w("span", {
674
+ /* @__PURE__ */ T("span", {
660
675
  style: {
661
676
  fontSize: "var(--font-size-body-sm)",
662
677
  color: "var(--color-text-muted)"
663
678
  },
664
- children: _("bigconsole.dashboards.card.widgets", "widgets")
679
+ children: g("bigconsole.dashboards.card.widgets", "widgets")
665
680
  })
666
681
  ]
667
682
  })
668
683
  ]
669
684
  }),
670
- /* @__PURE__ */ T("div", {
685
+ /* @__PURE__ */ E("div", {
671
686
  style: {
672
687
  display: "flex",
673
688
  alignItems: "center",
@@ -677,78 +692,78 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
677
692
  paddingTop: "var(--space-controlGap)",
678
693
  borderTop: "1px solid var(--color-border-subtle)"
679
694
  },
680
- children: [/* @__PURE__ */ T("div", {
695
+ children: [/* @__PURE__ */ E("div", {
681
696
  style: {
682
697
  display: "flex",
683
698
  alignItems: "center",
684
699
  gap: "var(--space-iconGap)"
685
700
  },
686
- children: [/* @__PURE__ */ w(_e, { style: {
701
+ children: [/* @__PURE__ */ T(ve, { style: {
687
702
  height: "var(--size-icon-sm)",
688
703
  width: "var(--size-icon-sm)",
689
704
  color: "var(--color-text-muted)"
690
- } }), /* @__PURE__ */ w("span", {
705
+ } }), /* @__PURE__ */ T("span", {
691
706
  style: {
692
707
  fontSize: "var(--font-size-body-sm)",
693
708
  fontWeight: "var(--font-weight-medium)",
694
709
  color: "var(--color-text-muted)"
695
710
  },
696
- children: ut(e.updatedAt)
711
+ children: gt(e.updatedAt)
697
712
  })]
698
- }), /* @__PURE__ */ T("div", {
713
+ }), /* @__PURE__ */ E("div", {
699
714
  style: {
700
715
  display: "flex",
701
716
  alignItems: "center",
702
717
  gap: "var(--space-controlGap)"
703
718
  },
704
719
  children: [
705
- /* @__PURE__ */ w(h, {
720
+ /* @__PURE__ */ T(h, {
706
721
  permission: n.DASHBOARD_UPDATE,
707
722
  deniedBehavior: "hide",
708
- children: /* @__PURE__ */ w(y, {
723
+ children: /* @__PURE__ */ T(b, {
709
724
  variant: "ghost",
710
725
  size: "sm",
711
- onClick: (t) => it(e.id, t),
726
+ onClick: (t) => ct(e.id, t),
712
727
  style: {
713
728
  height: "var(--size-controlHeight-md)",
714
729
  width: "var(--size-controlHeight-md)",
715
730
  padding: 0,
716
731
  borderRadius: "var(--radius-button)"
717
732
  },
718
- title: _("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
719
- children: /* @__PURE__ */ w(Te, { style: {
733
+ title: g("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
734
+ children: /* @__PURE__ */ T(Ee, { style: {
720
735
  height: "var(--size-icon-sm)",
721
736
  width: "var(--size-icon-sm)"
722
737
  } })
723
738
  })
724
739
  }),
725
- /* @__PURE__ */ w(h, {
740
+ /* @__PURE__ */ T(h, {
726
741
  permission: n.DASHBOARD_CREATE,
727
742
  deniedBehavior: "hide",
728
- children: /* @__PURE__ */ w(y, {
743
+ children: /* @__PURE__ */ T(b, {
729
744
  variant: "ghost",
730
745
  size: "sm",
731
- onClick: (t) => ot(e.id, e.name, t),
746
+ onClick: (t) => ut(e.id, e.name, t),
732
747
  style: {
733
748
  height: "var(--size-controlHeight-md)",
734
749
  width: "var(--size-controlHeight-md)",
735
750
  padding: 0,
736
751
  borderRadius: "var(--radius-button)"
737
752
  },
738
- title: _("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
739
- children: /* @__PURE__ */ w(be, { style: {
753
+ title: g("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
754
+ children: /* @__PURE__ */ T(xe, { style: {
740
755
  height: "var(--size-icon-sm)",
741
756
  width: "var(--size-icon-sm)"
742
757
  } })
743
758
  })
744
759
  }),
745
- /* @__PURE__ */ w(h, {
760
+ /* @__PURE__ */ T(h, {
746
761
  permission: n.DASHBOARD_DELETE,
747
762
  deniedBehavior: "hide",
748
- children: /* @__PURE__ */ w(y, {
763
+ children: /* @__PURE__ */ T(b, {
749
764
  variant: "ghost",
750
765
  size: "sm",
751
- onClick: (t) => at(e.id, t),
766
+ onClick: (t) => lt(e.id, t),
752
767
  style: {
753
768
  height: "var(--size-controlHeight-md)",
754
769
  width: "var(--size-controlHeight-md)",
@@ -756,8 +771,8 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
756
771
  borderRadius: "var(--radius-button)"
757
772
  },
758
773
  className: "hover:text-status-error-text hover:bg-status-error-bg/10",
759
- title: _("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
760
- children: /* @__PURE__ */ w(Oe, { style: {
774
+ title: g("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
775
+ children: /* @__PURE__ */ T(ke, { style: {
761
776
  height: "var(--size-icon-sm)",
762
777
  width: "var(--size-icon-sm)"
763
778
  } })
@@ -770,20 +785,20 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
770
785
  })
771
786
  }, e.id))
772
787
  }),
773
- !R && L === "list" && J.length > 0 && /* @__PURE__ */ w("div", {
788
+ !L && I === "list" && q.length > 0 && /* @__PURE__ */ T("div", {
774
789
  style: {
775
790
  display: "flex",
776
791
  flexDirection: "column",
777
792
  gap: "var(--space-controlGap)"
778
793
  },
779
- children: X.map((e) => /* @__PURE__ */ w(Ae, {
780
- ...pe(e.id),
781
- onClick: () => Z(e.id),
794
+ children: Y.map((e) => /* @__PURE__ */ T(S, {
795
+ ...me(e.id),
796
+ onClick: () => X(e.id),
782
797
  style: { cursor: "pointer" },
783
798
  className: "motion-safe:transition-[box-shadow,border-color] hover:border-[var(--color-border-hover)] hover:shadow-[var(--shadow-elevation-2)]",
784
- children: /* @__PURE__ */ w(x, {
799
+ children: /* @__PURE__ */ T(C, {
785
800
  style: { padding: "var(--space-cardPadding)" },
786
- children: /* @__PURE__ */ T("div", {
801
+ children: /* @__PURE__ */ E("div", {
787
802
  style: {
788
803
  display: "flex",
789
804
  alignItems: "center",
@@ -791,7 +806,7 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
791
806
  flexWrap: "wrap"
792
807
  },
793
808
  children: [
794
- /* @__PURE__ */ w("div", {
809
+ /* @__PURE__ */ T("div", {
795
810
  style: {
796
811
  display: "flex",
797
812
  height: "var(--size-controlHeight-lg)",
@@ -802,7 +817,7 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
802
817
  borderRadius: "var(--radius-button)",
803
818
  backgroundColor: "var(--color-bg-accentSubtle)"
804
819
  },
805
- children: /* @__PURE__ */ w(g, {
820
+ children: /* @__PURE__ */ T(_, {
806
821
  "aria-hidden": "true",
807
822
  style: {
808
823
  height: "var(--size-icon-md)",
@@ -811,12 +826,12 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
811
826
  }
812
827
  })
813
828
  }),
814
- /* @__PURE__ */ T("div", {
829
+ /* @__PURE__ */ E("div", {
815
830
  style: {
816
831
  flex: "1 1 12rem",
817
832
  minWidth: 0
818
833
  },
819
- children: [/* @__PURE__ */ T("div", {
834
+ children: [/* @__PURE__ */ E("div", {
820
835
  style: {
821
836
  display: "flex",
822
837
  alignItems: "center",
@@ -824,7 +839,7 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
824
839
  flexWrap: "wrap"
825
840
  },
826
841
  children: [
827
- /* @__PURE__ */ w("h3", {
842
+ /* @__PURE__ */ T("h3", {
828
843
  style: {
829
844
  fontWeight: "var(--font-weight-bold)",
830
845
  fontSize: "var(--font-size-body-md)",
@@ -835,16 +850,16 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
835
850
  whiteSpace: "nowrap",
836
851
  maxWidth: "100%"
837
852
  },
838
- children: /* @__PURE__ */ w("button", {
853
+ children: /* @__PURE__ */ T("button", {
839
854
  type: "button",
840
855
  className: "max-w-full truncate text-left hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
841
856
  onClick: (t) => {
842
- t.stopPropagation(), Z(e.id);
857
+ t.stopPropagation(), X(e.id);
843
858
  },
844
859
  children: e.name
845
860
  })
846
861
  }),
847
- e.category && /* @__PURE__ */ w(v, {
862
+ e.category && /* @__PURE__ */ T(y, {
848
863
  variant: "secondary",
849
864
  style: {
850
865
  fontSize: "10px",
@@ -853,12 +868,12 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
853
868
  },
854
869
  children: e.category
855
870
  }),
856
- e.status && /* @__PURE__ */ w(l, {
871
+ e.status && /* @__PURE__ */ T(ne, {
857
872
  status: e.status,
858
- label: Q(e.status)
873
+ label: Z(e.status)
859
874
  })
860
875
  ]
861
- }), /* @__PURE__ */ w("p", {
876
+ }), /* @__PURE__ */ T("p", {
862
877
  style: {
863
878
  fontSize: "var(--font-size-body-sm)",
864
879
  lineHeight: "var(--font-lineHeight-normal)",
@@ -868,10 +883,10 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
868
883
  textOverflow: "ellipsis",
869
884
  whiteSpace: "nowrap"
870
885
  },
871
- children: e.description || _("bigconsole.dashboards.card.noDescription", "No description provided")
886
+ children: e.description || g("bigconsole.dashboards.card.noDescription", "No description provided")
872
887
  })]
873
888
  }),
874
- /* @__PURE__ */ T("div", {
889
+ /* @__PURE__ */ E("div", {
875
890
  style: {
876
891
  display: "flex",
877
892
  alignItems: "center",
@@ -879,139 +894,139 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
879
894
  flexWrap: "wrap"
880
895
  },
881
896
  children: [
882
- /* @__PURE__ */ T("div", {
897
+ /* @__PURE__ */ E("div", {
883
898
  style: {
884
899
  display: "flex",
885
900
  alignItems: "center",
886
901
  gap: "var(--space-iconGap)"
887
902
  },
888
903
  children: [
889
- /* @__PURE__ */ w(Se, { style: {
904
+ /* @__PURE__ */ T(Ce, { style: {
890
905
  height: "var(--size-icon-sm)",
891
906
  width: "var(--size-icon-sm)",
892
907
  color: "var(--color-action-primary-bg)"
893
908
  } }),
894
- /* @__PURE__ */ w("span", {
909
+ /* @__PURE__ */ T("span", {
895
910
  style: {
896
911
  fontSize: "var(--font-size-body-sm)",
897
912
  fontWeight: "var(--font-weight-semibold)",
898
913
  color: "var(--color-text-primary)"
899
914
  },
900
- children: mt(e)
915
+ children: bt(e)
901
916
  }),
902
- /* @__PURE__ */ w("span", {
917
+ /* @__PURE__ */ T("span", {
903
918
  style: {
904
919
  fontSize: "var(--font-size-body-sm)",
905
920
  color: "var(--color-text-muted)"
906
921
  },
907
- children: _("bigconsole.dashboards.card.pages", "pages")
922
+ children: g("bigconsole.dashboards.card.pages", "pages")
908
923
  })
909
924
  ]
910
925
  }),
911
- /* @__PURE__ */ T("div", {
926
+ /* @__PURE__ */ E("div", {
912
927
  style: {
913
928
  display: "flex",
914
929
  alignItems: "center",
915
930
  gap: "var(--space-iconGap)"
916
931
  },
917
932
  children: [
918
- /* @__PURE__ */ w(xe, { style: {
933
+ /* @__PURE__ */ T(Se, { style: {
919
934
  height: "var(--size-icon-sm)",
920
935
  width: "var(--size-icon-sm)",
921
936
  color: "var(--color-action-primary-bg)"
922
937
  } }),
923
- /* @__PURE__ */ w("span", {
938
+ /* @__PURE__ */ T("span", {
924
939
  style: {
925
940
  fontSize: "var(--font-size-body-sm)",
926
941
  fontWeight: "var(--font-weight-semibold)",
927
942
  color: "var(--color-text-primary)"
928
943
  },
929
- children: pt(e)
944
+ children: yt(e)
930
945
  }),
931
- /* @__PURE__ */ w("span", {
946
+ /* @__PURE__ */ T("span", {
932
947
  style: {
933
948
  fontSize: "var(--font-size-body-sm)",
934
949
  color: "var(--color-text-muted)"
935
950
  },
936
- children: _("bigconsole.dashboards.card.widgets", "widgets")
951
+ children: g("bigconsole.dashboards.card.widgets", "widgets")
937
952
  })
938
953
  ]
939
954
  }),
940
- /* @__PURE__ */ T("div", {
955
+ /* @__PURE__ */ E("div", {
941
956
  style: {
942
957
  display: "flex",
943
958
  alignItems: "center",
944
959
  gap: "var(--space-iconGap)"
945
960
  },
946
- children: [/* @__PURE__ */ w(_e, { style: {
961
+ children: [/* @__PURE__ */ T(ve, { style: {
947
962
  height: "var(--size-icon-sm)",
948
963
  width: "var(--size-icon-sm)",
949
964
  color: "var(--color-text-muted)"
950
- } }), /* @__PURE__ */ w("span", {
965
+ } }), /* @__PURE__ */ T("span", {
951
966
  style: {
952
967
  fontSize: "var(--font-size-body-sm)",
953
968
  fontWeight: "var(--font-weight-medium)",
954
969
  color: "var(--color-text-muted)"
955
970
  },
956
- children: ut(e.updatedAt)
971
+ children: gt(e.updatedAt)
957
972
  })]
958
973
  })
959
974
  ]
960
975
  }),
961
- /* @__PURE__ */ T("div", {
976
+ /* @__PURE__ */ E("div", {
962
977
  style: {
963
978
  display: "flex",
964
979
  alignItems: "center",
965
980
  gap: "var(--space-controlGap)"
966
981
  },
967
982
  children: [
968
- /* @__PURE__ */ w(h, {
983
+ /* @__PURE__ */ T(h, {
969
984
  permission: n.DASHBOARD_UPDATE,
970
985
  deniedBehavior: "hide",
971
- children: /* @__PURE__ */ w(y, {
986
+ children: /* @__PURE__ */ T(b, {
972
987
  variant: "ghost",
973
988
  size: "sm",
974
- onClick: (t) => it(e.id, t),
989
+ onClick: (t) => ct(e.id, t),
975
990
  style: {
976
991
  height: "var(--size-controlHeight-md)",
977
992
  width: "var(--size-controlHeight-md)",
978
993
  padding: 0,
979
994
  borderRadius: "var(--radius-button)"
980
995
  },
981
- title: _("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
982
- children: /* @__PURE__ */ w(Te, { style: {
996
+ title: g("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
997
+ children: /* @__PURE__ */ T(Ee, { style: {
983
998
  height: "var(--size-icon-sm)",
984
999
  width: "var(--size-icon-sm)"
985
1000
  } })
986
1001
  })
987
1002
  }),
988
- /* @__PURE__ */ w(h, {
1003
+ /* @__PURE__ */ T(h, {
989
1004
  permission: n.DASHBOARD_CREATE,
990
1005
  deniedBehavior: "hide",
991
- children: /* @__PURE__ */ w(y, {
1006
+ children: /* @__PURE__ */ T(b, {
992
1007
  variant: "ghost",
993
1008
  size: "sm",
994
- onClick: (t) => ot(e.id, e.name, t),
1009
+ onClick: (t) => ut(e.id, e.name, t),
995
1010
  style: {
996
1011
  height: "var(--size-controlHeight-md)",
997
1012
  width: "var(--size-controlHeight-md)",
998
1013
  padding: 0,
999
1014
  borderRadius: "var(--radius-button)"
1000
1015
  },
1001
- title: _("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
1002
- children: /* @__PURE__ */ w(be, { style: {
1016
+ title: g("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
1017
+ children: /* @__PURE__ */ T(xe, { style: {
1003
1018
  height: "var(--size-icon-sm)",
1004
1019
  width: "var(--size-icon-sm)"
1005
1020
  } })
1006
1021
  })
1007
1022
  }),
1008
- /* @__PURE__ */ w(h, {
1023
+ /* @__PURE__ */ T(h, {
1009
1024
  permission: n.DASHBOARD_DELETE,
1010
1025
  deniedBehavior: "hide",
1011
- children: /* @__PURE__ */ w(y, {
1026
+ children: /* @__PURE__ */ T(b, {
1012
1027
  variant: "ghost",
1013
1028
  size: "sm",
1014
- onClick: (t) => at(e.id, t),
1029
+ onClick: (t) => lt(e.id, t),
1015
1030
  style: {
1016
1031
  height: "var(--size-controlHeight-md)",
1017
1032
  width: "var(--size-controlHeight-md)",
@@ -1019,8 +1034,8 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
1019
1034
  borderRadius: "var(--radius-button)"
1020
1035
  },
1021
1036
  className: "hover:text-status-error-text hover:bg-status-error-bg/10",
1022
- title: _("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
1023
- children: /* @__PURE__ */ w(Oe, { style: {
1037
+ title: g("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
1038
+ children: /* @__PURE__ */ T(ke, { style: {
1024
1039
  height: "var(--size-icon-sm)",
1025
1040
  width: "var(--size-icon-sm)"
1026
1041
  } })
@@ -1033,56 +1048,56 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
1033
1048
  })
1034
1049
  }, e.id))
1035
1050
  }),
1036
- !R && J.length > 0 && /* @__PURE__ */ w("p", {
1051
+ !L && q.length > 0 && /* @__PURE__ */ T("p", {
1037
1052
  "data-testid": "dashboards-range",
1038
1053
  style: {
1039
1054
  margin: 0,
1040
1055
  fontSize: "var(--font-size-body-sm)",
1041
1056
  color: "var(--color-text-muted)"
1042
1057
  },
1043
- children: _("bigconsole.dashboards.pagination.range", "Showing {{from}}–{{to}} of {{total}} dashboards", {
1044
- from: Xe + 1,
1045
- to: Xe + X.length,
1046
- total: J.length
1058
+ children: g("bigconsole.dashboards.pagination.range", "Showing {{from}}–{{to}} of {{total}} dashboards", {
1059
+ from: et + 1,
1060
+ to: et + Y.length,
1061
+ total: q.length
1047
1062
  })
1048
1063
  }),
1049
- !R && J.length > D && /* @__PURE__ */ T("nav", {
1050
- "aria-label": _("bigconsole.dashboards.pagination.label", "Dashboard pages"),
1064
+ !L && q.length > D && /* @__PURE__ */ E("nav", {
1065
+ "aria-label": g("bigconsole.dashboards.pagination.label", "Dashboard pages"),
1051
1066
  className: "flex flex-wrap items-center justify-center gap-control-gap border-t border-[var(--color-border-subtle)] pt-control-gap",
1052
1067
  children: [
1053
- /* @__PURE__ */ T(y, {
1068
+ /* @__PURE__ */ E(b, {
1054
1069
  variant: "outline",
1055
1070
  size: "sm",
1056
- onClick: Ze,
1057
- disabled: N <= 1,
1058
- "aria-label": _("bigconsole.dashboards.pagination.previous", "Previous"),
1071
+ onClick: tt,
1072
+ disabled: M <= 1,
1073
+ "aria-label": g("bigconsole.dashboards.pagination.previous", "Previous"),
1059
1074
  style: { minHeight: "var(--size-controlHeight-md)" },
1060
- children: [/* @__PURE__ */ w(ve, { style: {
1075
+ children: [/* @__PURE__ */ T(ye, { style: {
1061
1076
  marginRight: "var(--space-iconGap)",
1062
1077
  height: "var(--size-icon-sm)",
1063
1078
  width: "var(--size-icon-sm)"
1064
- } }), _("bigconsole.dashboards.pagination.previous", "Previous")]
1079
+ } }), g("bigconsole.dashboards.pagination.previous", "Previous")]
1065
1080
  }),
1066
- /* @__PURE__ */ w("div", {
1081
+ /* @__PURE__ */ T("div", {
1067
1082
  style: {
1068
1083
  display: "flex",
1069
1084
  alignItems: "center",
1070
1085
  gap: "var(--space-iconGap)",
1071
1086
  flexWrap: "wrap"
1072
1087
  },
1073
- children: Ie(N, Y).map((e, t) => e === null ? /* @__PURE__ */ w("span", {
1088
+ children: Re(M, J).map((e, t) => e === null ? /* @__PURE__ */ T("span", {
1074
1089
  "aria-hidden": "true",
1075
1090
  style: {
1076
1091
  color: "var(--color-text-muted)",
1077
1092
  padding: "0 var(--space-iconGap)"
1078
1093
  },
1079
1094
  children: "…"
1080
- }, `gap-${t}`) : /* @__PURE__ */ w(y, {
1081
- variant: e === N ? "default" : "ghost",
1095
+ }, `gap-${t}`) : /* @__PURE__ */ T(b, {
1096
+ variant: e === M ? "default" : "ghost",
1082
1097
  size: "sm",
1083
- onClick: () => $e(e),
1084
- "aria-current": e === N ? "page" : void 0,
1085
- "aria-label": _("bigconsole.dashboards.pagination.page", `Page ${e}`),
1098
+ onClick: () => rt(e),
1099
+ "aria-current": e === M ? "page" : void 0,
1100
+ "aria-label": g("bigconsole.dashboards.pagination.page", `Page ${e}`),
1086
1101
  style: {
1087
1102
  minWidth: "var(--size-controlHeight-md)",
1088
1103
  height: "var(--size-controlHeight-md)",
@@ -1092,67 +1107,67 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
1092
1107
  children: e
1093
1108
  }, e))
1094
1109
  }),
1095
- /* @__PURE__ */ T(y, {
1110
+ /* @__PURE__ */ E(b, {
1096
1111
  variant: "outline",
1097
1112
  size: "sm",
1098
- onClick: Qe,
1099
- disabled: N >= Y,
1100
- "aria-label": _("bigconsole.dashboards.pagination.next", "Next"),
1113
+ onClick: nt,
1114
+ disabled: M >= J,
1115
+ "aria-label": g("bigconsole.dashboards.pagination.next", "Next"),
1101
1116
  style: { minHeight: "var(--size-controlHeight-md)" },
1102
- children: [_("bigconsole.dashboards.pagination.next", "Next"), /* @__PURE__ */ w(ye, { style: {
1117
+ children: [g("bigconsole.dashboards.pagination.next", "Next"), /* @__PURE__ */ T(be, { style: {
1103
1118
  marginLeft: "var(--space-iconGap)",
1104
1119
  height: "var(--size-icon-sm)",
1105
1120
  width: "var(--size-icon-sm)"
1106
1121
  } })]
1107
1122
  }),
1108
- /* @__PURE__ */ w("span", {
1123
+ /* @__PURE__ */ T("span", {
1109
1124
  style: {
1110
1125
  fontSize: "var(--font-size-body-sm)",
1111
1126
  color: "var(--color-text-muted)"
1112
1127
  },
1113
- children: _("bigconsole.dashboards.pagination.pageOf", "Page {{currentPage}} of {{totalPages}}", {
1114
- currentPage: N,
1115
- totalPages: Y
1128
+ children: g("bigconsole.dashboards.pagination.pageOf", "Page {{currentPage}} of {{totalPages}}", {
1129
+ currentPage: M,
1130
+ totalPages: J
1116
1131
  })
1117
1132
  })
1118
1133
  ]
1119
1134
  }),
1120
- !R && J.length === 0 && /* @__PURE__ */ w(je, {
1135
+ !L && q.length === 0 && /* @__PURE__ */ T(je, {
1121
1136
  treatment: "insight",
1122
1137
  className: "border-[var(--color-border-seam)]",
1123
- children: /* @__PURE__ */ w(Me, {
1124
- illustration: b ? "empty-search" : "empty-data",
1125
- title: b ? _("bigconsole.dashboards.empty.filteredTitle", "No dashboards found") : _("bigconsole.dashboards.empty.title", "No dashboards yet"),
1126
- description: b ? _("bigconsole.dashboards.empty.filteredDescription", "Try adjusting your search terms") : _("bigconsole.dashboards.empty.description", "Get started by creating your first dashboard to visualize your data"),
1127
- action: b ? void 0 : /* @__PURE__ */ T("div", {
1138
+ children: /* @__PURE__ */ T(Me, {
1139
+ illustration: v ? "empty-search" : "empty-data",
1140
+ title: v ? g("bigconsole.dashboards.empty.filteredTitle", "No dashboards found") : g("bigconsole.dashboards.empty.title", "No dashboards yet"),
1141
+ description: v ? g("bigconsole.dashboards.empty.filteredDescription", "Try adjusting your search terms") : g("bigconsole.dashboards.empty.description", "Get started by creating your first dashboard to visualize your data"),
1142
+ action: v ? void 0 : /* @__PURE__ */ E("div", {
1128
1143
  style: {
1129
1144
  display: "flex",
1130
1145
  gap: "var(--space-controlGap)",
1131
1146
  flexWrap: "wrap",
1132
1147
  justifyContent: "center"
1133
1148
  },
1134
- children: [/* @__PURE__ */ w(h, {
1149
+ children: [/* @__PURE__ */ T(h, {
1135
1150
  permission: n.DASHBOARD_CREATE,
1136
1151
  deniedBehavior: "hide",
1137
- children: /* @__PURE__ */ T(y, {
1138
- onClick: et,
1139
- children: [/* @__PURE__ */ w(Ee, { style: {
1152
+ children: /* @__PURE__ */ E(b, {
1153
+ onClick: it,
1154
+ children: [/* @__PURE__ */ T(De, { style: {
1140
1155
  marginRight: "var(--space-iconGap)",
1141
1156
  height: "var(--size-icon-sm)",
1142
1157
  width: "var(--size-icon-sm)"
1143
- } }), _("bigconsole.dashboards.actions.create", "Create Dashboard")]
1158
+ } }), g("bigconsole.dashboards.actions.create", "Create Dashboard")]
1144
1159
  })
1145
- }), /* @__PURE__ */ w(h, {
1160
+ }), /* @__PURE__ */ T(h, {
1146
1161
  permission: n.DASHBOARD_IMPORT,
1147
1162
  deniedBehavior: "hide",
1148
- children: /* @__PURE__ */ T(y, {
1163
+ children: /* @__PURE__ */ E(b, {
1149
1164
  variant: "outline",
1150
- onClick: st,
1151
- children: [/* @__PURE__ */ w(ke, { style: {
1165
+ onClick: dt,
1166
+ children: [/* @__PURE__ */ T(Ae, { style: {
1152
1167
  marginRight: "var(--space-iconGap)",
1153
1168
  height: "var(--size-icon-sm)",
1154
1169
  width: "var(--size-icon-sm)"
1155
- } }), _("bigconsole.dashboards.actions.importDashboard", "Import Dashboard")]
1170
+ } }), g("bigconsole.dashboards.actions.importDashboard", "Import Dashboard")]
1156
1171
  })
1157
1172
  })]
1158
1173
  })
@@ -1161,17 +1176,22 @@ var Le = u(function({ title: e, subtitle: t, createLabel: n, importLabel: r, onC
1161
1176
  ]
1162
1177
  })] })
1163
1178
  }),
1164
- /* @__PURE__ */ w(ne, {
1165
- isOpen: ze,
1166
- isCreating: I,
1167
- onClose: nt,
1168
- onCreate: rt,
1169
- onTemplateInstalled: tt
1170
- }),
1171
- /* @__PURE__ */ w(ie, {
1179
+ /* @__PURE__ */ T(te, {
1172
1180
  isOpen: Ve,
1173
- onClose: ct,
1174
- onSuccess: lt
1181
+ isCreating: F,
1182
+ onClose: ot,
1183
+ onCreate: st,
1184
+ onTemplateInstalled: at
1185
+ }),
1186
+ /* @__PURE__ */ T(ie, {
1187
+ isOpen: Ue,
1188
+ onClose: ft,
1189
+ onSuccess: ht
1190
+ }),
1191
+ /* @__PURE__ */ T(ae, {
1192
+ isOpen: Ge,
1193
+ onClose: mt,
1194
+ onSuccess: ht
1175
1195
  })
1176
1196
  ]
1177
1197
  });