@burdenoff/microfe-bigconsole 2026.624.2 → 2026.626.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 (72) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +175 -118
  2. package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
  3. package/dist/bigconsole/assistant/assistantApi.js +215 -0
  4. package/dist/bigconsole/assistant/assistantApi.js.map +1 -0
  5. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +119 -0
  6. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js.map +1 -0
  7. package/dist/bigconsole/assistant/index.js +2 -0
  8. package/dist/bigconsole/assistant/pageContext.js +51 -0
  9. package/dist/bigconsole/assistant/pageContext.js.map +1 -0
  10. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +48 -48
  11. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +52 -52
  12. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  13. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +33 -33
  14. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +179 -179
  15. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  16. package/dist/bigconsole/components/dashboard/WidgetPalette.js +38 -38
  17. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +32 -32
  18. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +31 -31
  19. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +98 -98
  20. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  21. package/dist/bigconsole/components/parser/ExportParserDialog.js +31 -31
  22. package/dist/bigconsole/components/parser/ImportParserDialog.js +162 -162
  23. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  24. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +79 -79
  25. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
  26. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  27. package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -307
  28. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  29. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +222 -222
  30. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -1
  31. package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +23 -23
  32. package/dist/bigconsole/index.js +3 -0
  33. package/dist/bigconsole/pages/DashboardBuilderPage.js +74 -74
  34. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  35. package/dist/bigconsole/pages/DashboardViewPage.js +168 -189
  36. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  37. package/dist/bigconsole/pages/DashboardsPage.js +266 -310
  38. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  39. package/dist/bigconsole/pages/DataParsersPage.js +148 -194
  40. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
  41. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -246
  42. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  43. package/dist/bigconsole/pages/DataSinkViewPage.js +256 -231
  44. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  45. package/dist/bigconsole/pages/DataSinksPage.js +173 -219
  46. package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
  47. package/dist/bigconsole/pages/HomePage.js +125 -141
  48. package/dist/bigconsole/pages/HomePage.js.map +1 -1
  49. package/dist/bigconsole/pages/InsightsPage.js +159 -184
  50. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  51. package/dist/bigconsole/pages/ParserBuilderPage.js +401 -393
  52. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  53. package/dist/bigconsole/pages/ParserViewPage.js +220 -201
  54. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  55. package/dist/bigconsole/pages/PipelineBuilderPage.js +212 -206
  56. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  57. package/dist/bigconsole/pages/PipelineViewPage.js +204 -181
  58. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  59. package/dist/bigconsole/pages/PipelinesPage.js +107 -150
  60. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  61. package/dist/bigconsole/pages/SettingsPage.js +184 -171
  62. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  63. package/dist/bigconsole/pages/WidgetDemoPage.js +69 -81
  64. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  65. package/dist/bigconsole/pages/WorkflowViewPage.js +230 -216
  66. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  67. package/dist/bigconsole/pages/WorkflowsPage.js +106 -149
  68. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  69. package/dist/generated/wspace-operations.js +87 -36
  70. package/dist/generated/wspace-operations.js.map +1 -1
  71. package/dist/index.js +3 -1
  72. package/package.json +6 -2
@@ -6,64 +6,64 @@ import n from "../components/dashboard/CreateDashboardDialog.js";
6
6
  import r from "../components/dashboard/ImportDashboardDialog.js";
7
7
  import { isNative as i, nativeConfirm as a, nativeImpact as o, nativeNotify as s } from "../../utils/nativeBridge.js";
8
8
  import { memo as c, useCallback as l, useEffect as u, useState as d } from "react";
9
- import { Calendar as f, ChevronLeft as ee, ChevronRight as te, Copy as p, FileText as m, FolderOpen as ne, Layers as h, LayoutDashboard as g, LayoutGrid as re, List as ie, Pencil as _, Plus as v, Search as ae, Trash2 as y, Upload as b } from "lucide-react";
10
- import { useI18n as oe } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
- import { jsx as x, jsxs as S } from "react/jsx-runtime";
12
- import { Badge as se, Button as C, Card as w, CardContent as T, Input as ce, Spinner as le } from "@burdenoff/fe-libs/ui";
9
+ import { Calendar as f, ChevronLeft as ee, ChevronRight as te, Copy as p, FileText as m, Layers as h, LayoutDashboard as g, LayoutGrid as ne, List as re, Pencil as _, Plus as v, Search as ie, Trash2 as y, Upload as b } from "lucide-react";
10
+ import { useI18n as ae } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
+ import { AuroraBackground as oe, Badge as x, Button as S, CTAOverflowMenu as se, Card as C, CardContent as w, GlassCard as ce, GradientText as le, IllustratedEmptyState as ue, Input as de, PagePurpose as fe, Spinner as pe } from "@burdenoff/fe-libs/ui";
12
+ import { jsx as T, jsxs as E } from "react/jsx-runtime";
13
13
  //#region src/bigconsole/pages/DashboardsPage.tsx
14
- var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
15
- let c = e(), { t: O } = oe(), k = l((e, t) => {
16
- let n = O(e);
14
+ var D = "bf-bigconsole-dashboards-view", O = 12, k = c(function() {
15
+ let c = e(), { t: k } = ae(), A = l((e, t) => {
16
+ let n = k(e);
17
17
  return n === e ? t : n;
18
- }, [O]), [A, ue] = d(""), [j, M] = d(1), [de, N] = d(!1), [P, F] = d(!1), [fe, I] = d(!1), [L, pe] = d(() => {
18
+ }, [k]), [j, me] = d(""), [M, N] = d(1), [he, P] = d(!1), [F, I] = d(!1), [ge, L] = d(!1), [R, _e] = d(() => {
19
19
  try {
20
- return window.localStorage.getItem(E) === "list" ? "list" : "grid";
20
+ return window.localStorage.getItem(D) === "list" ? "list" : "grid";
21
21
  } catch {
22
22
  return "grid";
23
23
  }
24
- }), R = l((e) => {
25
- pe(e);
24
+ }), z = l((e) => {
25
+ _e(e);
26
26
  try {
27
- window.localStorage.setItem(E, e);
27
+ window.localStorage.setItem(D, e);
28
28
  } catch {}
29
- }, []), { loading: z, error: B, dashboards: me, createDashboard: V, deleteDashboard: H, cloneDashboard: U, refetch: W } = t(), G = me.filter((e) => e.name.toLowerCase().includes(A.toLowerCase()) || e.description?.toLowerCase().includes(A.toLowerCase())), K = Math.max(1, Math.ceil(G.length / D)), q = (j - 1) * D, J = G.slice(q, q + D);
29
+ }, []), { loading: B, error: V, dashboards: H, createDashboard: U, deleteDashboard: W, cloneDashboard: G, refetch: K } = t(), q = H.filter((e) => e.name.toLowerCase().includes(j.toLowerCase()) || e.description?.toLowerCase().includes(j.toLowerCase())), J = Math.max(1, Math.ceil(q.length / O)), Y = (M - 1) * O, X = q.slice(Y, Y + O);
30
30
  u(() => {
31
- M(1);
32
- }, [A, L]), u(() => {
33
- j > K && M(K);
34
- }, [j, K]);
35
- let he = l(() => {
36
- M((e) => Math.max(1, e - 1));
37
- }, []), ge = l(() => {
38
- M((e) => Math.min(K, e + 1));
39
- }, [K]), _e = l((e) => {
40
- M(e);
41
- }, []), Y = l(() => {
42
- N(!0);
43
- }, []), ve = l(() => {
44
- P || N(!1);
45
- }, [P]), ye = l(async (e) => {
46
- F(!0);
31
+ N(1);
32
+ }, [j, R]), u(() => {
33
+ M > J && N(J);
34
+ }, [M, J]);
35
+ let ve = l(() => {
36
+ N((e) => Math.max(1, e - 1));
37
+ }, []), ye = l(() => {
38
+ N((e) => Math.min(J, e + 1));
39
+ }, [J]), be = l((e) => {
40
+ N(e);
41
+ }, []), Z = l(() => {
42
+ P(!0);
43
+ }, []), xe = l(() => {
44
+ F || P(!1);
45
+ }, [F]), Se = l(async (e) => {
46
+ I(!0);
47
47
  try {
48
- let t = await V({
48
+ let t = await U({
49
49
  name: e.name,
50
50
  description: e.description,
51
51
  category: e.category,
52
52
  tags: e.tags
53
53
  });
54
- t && (N(!1), c(`/dashboards/${t.id}/builder`));
54
+ t && (P(!1), c(`/dashboards/${t.id}/builder`));
55
55
  } catch (e) {
56
56
  throw console.error("Failed to create dashboard:", e), i() && s("error"), e;
57
57
  } finally {
58
- F(!1);
58
+ I(!1);
59
59
  }
60
- }, [V, c]), X = l((e) => {
60
+ }, [U, c]), Q = l((e) => {
61
61
  c(`/dashboards/${e}`);
62
- }, [c]), Z = l((e, t) => {
62
+ }, [c]), $ = l((e, t) => {
63
63
  t.stopPropagation(), c(`/dashboards/${e}/builder`);
64
- }, [c]), Q = l(async (e, t) => {
64
+ }, [c]), Ce = l(async (e, t) => {
65
65
  t.stopPropagation();
66
- let n = k("bigconsole.dashboards.confirmDelete", "Are you sure you want to delete this dashboard?"), r = await a({
66
+ let n = A("bigconsole.dashboards.confirmDelete", "Are you sure you want to delete this dashboard?"), r = await a({
67
67
  title: "Delete dashboard?",
68
68
  message: n,
69
69
  okButtonTitle: "Delete",
@@ -72,90 +72,87 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
72
72
  if (r === null ? window.confirm(n) : r) {
73
73
  o("medium");
74
74
  try {
75
- await H(e), i() && s("success");
75
+ await W(e), i() && s("success");
76
76
  } catch (e) {
77
77
  throw i() && s("error"), e;
78
78
  }
79
79
  }
80
- }, [H, k]), be = l(async (e, t, n) => {
80
+ }, [W, A]), we = l(async (e, t, n) => {
81
81
  n.stopPropagation();
82
- let r = k("bigconsole.dashboards.clone.defaultSuffix", `${t} (Copy)`), a = window.prompt(k("bigconsole.dashboards.clone.namePrompt", "Name for the cloned dashboard:"), r);
82
+ let r = A("bigconsole.dashboards.clone.defaultSuffix", `${t} (Copy)`), a = window.prompt(A("bigconsole.dashboards.clone.namePrompt", "Name for the cloned dashboard:"), r);
83
83
  if (!(!a || !a.trim())) {
84
84
  o("medium");
85
85
  try {
86
- let t = await U(e, a.trim());
86
+ let t = await G(e, a.trim());
87
87
  t && (i() && s("success"), c(`/dashboards/${t.id}`));
88
88
  } catch (e) {
89
89
  throw i() && s("error"), e;
90
90
  }
91
91
  }
92
92
  }, [
93
- U,
93
+ G,
94
94
  c,
95
- k
96
- ]), $ = l(() => {
97
- I(!0);
98
- }, []), xe = l(() => {
99
- I(!1);
100
- }, []), Se = l((e, t) => {
101
- W();
102
- }, [W]), Ce = (e) => {
95
+ A
96
+ ]), Te = l(() => {
97
+ L(!0);
98
+ }, []), Ee = l(() => {
99
+ L(!1);
100
+ }, []), De = l((e, t) => {
101
+ K();
102
+ }, [K]), Oe = (e) => {
103
103
  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);
104
- return i < 1 ? k("bigconsole.dashboards.time.justNow", "Just now") : i < 60 ? `${i}${k("bigconsole.dashboards.time.minutesAgoSuffix", "m ago")}` : a < 24 ? `${a}${k("bigconsole.dashboards.time.hoursAgoSuffix", "h ago")}` : o < 7 ? `${o}${k("bigconsole.dashboards.time.daysAgoSuffix", "d ago")}` : new Intl.DateTimeFormat("en-US", {
104
+ return i < 1 ? A("bigconsole.dashboards.time.justNow", "Just now") : i < 60 ? `${i}${A("bigconsole.dashboards.time.minutesAgoSuffix", "m ago")}` : a < 24 ? `${a}${A("bigconsole.dashboards.time.hoursAgoSuffix", "h ago")}` : o < 7 ? `${o}${A("bigconsole.dashboards.time.daysAgoSuffix", "d ago")}` : new Intl.DateTimeFormat("en-US", {
105
105
  month: "short",
106
106
  day: "numeric",
107
107
  year: t.getFullYear() === n.getFullYear() ? void 0 : "numeric"
108
108
  }).format(t);
109
- }, we = (e) => e.widgetCount ?? 0, Te = (e) => e.pageCount || 0;
110
- return B ? /* @__PURE__ */ x("div", {
109
+ }, ke = (e) => e.widgetCount ?? 0, Ae = (e) => e.pageCount || 0;
110
+ return V ? /* @__PURE__ */ T("div", {
111
111
  style: { padding: "var(--space-pagePadding)" },
112
- children: /* @__PURE__ */ x(w, {
112
+ children: /* @__PURE__ */ T(C, {
113
113
  style: {
114
114
  borderColor: "var(--color-status-error-border)",
115
115
  backgroundColor: "var(--color-status-error-bgSubtle)"
116
116
  },
117
- children: /* @__PURE__ */ S(T, {
117
+ children: /* @__PURE__ */ E(w, {
118
118
  style: { padding: "var(--space-pagePadding)" },
119
119
  children: [
120
- /* @__PURE__ */ x("h3", {
120
+ /* @__PURE__ */ T("h3", {
121
121
  style: {
122
122
  fontSize: "var(--font-size-body-sm)",
123
123
  fontWeight: "var(--font-weight-medium)",
124
124
  color: "var(--color-status-error-text)"
125
125
  },
126
- children: k("bigconsole.dashboards.error.title", "Error loading dashboards")
126
+ children: A("bigconsole.dashboards.error.title", "Error loading dashboards")
127
127
  }),
128
- /* @__PURE__ */ x("p", {
128
+ /* @__PURE__ */ T("p", {
129
129
  style: {
130
130
  fontSize: "var(--font-size-body-sm)",
131
131
  color: "var(--color-text-secondary)",
132
132
  marginTop: "var(--space-controlGap)"
133
133
  },
134
- children: B.message
134
+ children: V.message
135
135
  }),
136
- /* @__PURE__ */ x(C, {
136
+ /* @__PURE__ */ T(S, {
137
137
  size: "sm",
138
- onClick: () => W(),
138
+ onClick: () => K(),
139
139
  style: { marginTop: "var(--space-formGap)" },
140
- children: k("bigconsole.dashboards.error.retry", "Retry")
140
+ children: A("bigconsole.dashboards.error.retry", "Retry")
141
141
  })
142
142
  ]
143
143
  })
144
144
  })
145
- }) : /* @__PURE__ */ S("div", {
145
+ }) : /* @__PURE__ */ E("div", {
146
146
  style: {
147
147
  minHeight: "100vh",
148
148
  backgroundColor: "var(--color-bg-canvas)"
149
149
  },
150
150
  children: [
151
- /* @__PURE__ */ x("div", {
152
- style: {
153
- borderBottom: "1px solid var(--color-border)",
154
- backgroundColor: "var(--color-bg-surface)"
155
- },
156
- children: /* @__PURE__ */ x("div", {
151
+ /* @__PURE__ */ E("div", {
152
+ className: "relative overflow-hidden border-b border-border-seam bg-gloss-card",
153
+ children: [/* @__PURE__ */ T(oe, { intensity: "subtle" }), /* @__PURE__ */ T("div", {
157
154
  style: { padding: "var(--space-pagePadding)" },
158
- children: /* @__PURE__ */ S("div", {
155
+ children: /* @__PURE__ */ E("div", {
159
156
  style: {
160
157
  display: "flex",
161
158
  alignItems: "center",
@@ -163,14 +160,14 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
163
160
  flexWrap: "wrap",
164
161
  gap: "var(--space-formGap)"
165
162
  },
166
- children: [/* @__PURE__ */ S("div", {
163
+ children: [/* @__PURE__ */ E("div", {
167
164
  style: {
168
165
  display: "flex",
169
166
  alignItems: "center",
170
167
  gap: "var(--space-formGap)",
171
168
  minWidth: 0
172
169
  },
173
- children: [/* @__PURE__ */ x("div", {
170
+ children: [/* @__PURE__ */ T("div", {
174
171
  style: {
175
172
  display: "flex",
176
173
  height: "var(--size-controlHeight-lg)",
@@ -180,58 +177,57 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
180
177
  borderRadius: "var(--radius-card)",
181
178
  backgroundColor: "var(--color-action-primary-bg)"
182
179
  },
183
- children: /* @__PURE__ */ x(g, { style: {
180
+ children: /* @__PURE__ */ T(g, { style: {
184
181
  height: "var(--size-icon-lg)",
185
182
  width: "var(--size-icon-lg)",
186
183
  color: "var(--color-action-primary-text)"
187
184
  } })
188
- }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h1", {
185
+ }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h1", {
189
186
  style: {
190
187
  fontSize: "var(--font-size-heading-h4)",
191
188
  fontWeight: "var(--font-weight-bold)",
192
189
  margin: 0,
193
190
  color: "var(--color-text-primary)"
194
191
  },
195
- children: k("bigconsole.dashboards.title", "Dashboards")
196
- }), /* @__PURE__ */ x("p", {
192
+ children: /* @__PURE__ */ T(le, { children: A("bigconsole.dashboards.title", "Dashboards") })
193
+ }), /* @__PURE__ */ T("p", {
197
194
  style: {
198
195
  fontSize: "var(--font-size-body-sm)",
199
196
  color: "var(--color-text-secondary)",
200
197
  margin: 0
201
198
  },
202
- children: k("bigconsole.dashboards.subtitle", "Create and manage your analytics dashboards")
199
+ children: A("bigconsole.dashboards.subtitle", "Create and manage your analytics dashboards")
203
200
  })] })]
204
- }), /* @__PURE__ */ S("div", {
205
- style: {
206
- display: "flex",
207
- alignItems: "center",
208
- gap: "var(--space-controlGap)",
209
- flexWrap: "wrap"
210
- },
211
- children: [/* @__PURE__ */ S(C, {
212
- variant: "outline",
213
- onClick: $,
214
- children: [/* @__PURE__ */ x(b, { style: {
201
+ }), /* @__PURE__ */ T(se, {
202
+ primary: {
203
+ label: A("bigconsole.dashboards.actions.create", "Create Dashboard"),
204
+ onSelect: Z,
205
+ icon: /* @__PURE__ */ T(v, { style: {
215
206
  marginRight: "var(--space-iconGap)",
216
207
  height: "var(--size-icon-sm)",
217
208
  width: "var(--size-icon-sm)"
218
- } }), k("bigconsole.dashboards.actions.import", "Import")]
219
- }), /* @__PURE__ */ S(C, {
220
- onClick: Y,
221
- children: [/* @__PURE__ */ x(v, { style: {
222
- marginRight: "var(--space-iconGap)",
209
+ } })
210
+ },
211
+ actions: [{
212
+ label: A("bigconsole.dashboards.actions.import", "Import"),
213
+ onSelect: Te,
214
+ icon: /* @__PURE__ */ T(b, { style: {
223
215
  height: "var(--size-icon-sm)",
224
216
  width: "var(--size-icon-sm)"
225
- } }), k("bigconsole.dashboards.actions.create", "Create Dashboard")]
226
- })]
217
+ } })
218
+ }]
227
219
  })]
228
220
  })
229
- })
221
+ })]
230
222
  }),
231
- /* @__PURE__ */ S("div", {
223
+ /* @__PURE__ */ E("div", {
232
224
  style: { padding: "var(--space-pagePadding)" },
233
225
  children: [
234
- /* @__PURE__ */ S("div", {
226
+ /* @__PURE__ */ T(fe, {
227
+ className: "mb-[var(--space-sectionGap)]",
228
+ 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."
229
+ }),
230
+ /* @__PURE__ */ E("div", {
235
231
  style: {
236
232
  marginBottom: "var(--space-sectionGap)",
237
233
  display: "flex",
@@ -240,14 +236,14 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
240
236
  flexWrap: "wrap",
241
237
  gap: "var(--space-formGap)"
242
238
  },
243
- children: [/* @__PURE__ */ S("div", {
239
+ children: [/* @__PURE__ */ E("div", {
244
240
  style: {
245
241
  position: "relative",
246
242
  flex: 1,
247
243
  minWidth: 0,
248
244
  maxWidth: "400px"
249
245
  },
250
- children: [/* @__PURE__ */ x(ae, { style: {
246
+ children: [/* @__PURE__ */ T(ie, { style: {
251
247
  position: "absolute",
252
248
  left: "var(--space-controlGap)",
253
249
  top: "50%",
@@ -255,17 +251,17 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
255
251
  height: "var(--size-icon-sm)",
256
252
  width: "var(--size-icon-sm)",
257
253
  color: "var(--color-text-muted)"
258
- } }), /* @__PURE__ */ x(ce, {
254
+ } }), /* @__PURE__ */ T(de, {
259
255
  type: "text",
260
- placeholder: k("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
261
- value: A,
262
- onChange: (e) => ue(e.target.value),
256
+ placeholder: A("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
257
+ value: j,
258
+ onChange: (e) => me(e.target.value),
263
259
  style: {
264
260
  paddingLeft: "var(--size-controlHeight-md)",
265
261
  height: "var(--size-controlHeight-md)"
266
262
  }
267
263
  })]
268
- }), /* @__PURE__ */ S("div", {
264
+ }), /* @__PURE__ */ E("div", {
269
265
  style: {
270
266
  display: "flex",
271
267
  alignItems: "center",
@@ -274,89 +270,89 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
274
270
  borderRadius: "var(--radius-button)",
275
271
  backgroundColor: "var(--color-bg-sunken)"
276
272
  },
277
- children: [/* @__PURE__ */ x(C, {
278
- variant: L === "grid" ? "default" : "ghost",
273
+ children: [/* @__PURE__ */ T(S, {
274
+ variant: R === "grid" ? "default" : "ghost",
279
275
  size: "sm",
280
- onClick: () => R("grid"),
281
- "aria-label": k("bigconsole.dashboards.view.grid", "Grid view"),
282
- "aria-pressed": L === "grid",
283
- title: k("bigconsole.dashboards.view.grid", "Grid view"),
276
+ onClick: () => z("grid"),
277
+ "aria-label": A("bigconsole.dashboards.view.grid", "Grid view"),
278
+ "aria-pressed": R === "grid",
279
+ title: A("bigconsole.dashboards.view.grid", "Grid view"),
284
280
  style: {
285
281
  height: "var(--size-controlHeight-sm)",
286
282
  width: "var(--size-controlHeight-sm)",
287
283
  padding: 0,
288
284
  borderRadius: "var(--radius-button)"
289
285
  },
290
- children: /* @__PURE__ */ x(re, { style: {
286
+ children: /* @__PURE__ */ T(ne, { style: {
291
287
  height: "var(--size-icon-sm)",
292
288
  width: "var(--size-icon-sm)"
293
289
  } })
294
- }), /* @__PURE__ */ x(C, {
295
- variant: L === "list" ? "default" : "ghost",
290
+ }), /* @__PURE__ */ T(S, {
291
+ variant: R === "list" ? "default" : "ghost",
296
292
  size: "sm",
297
- onClick: () => R("list"),
298
- "aria-label": k("bigconsole.dashboards.view.list", "List view"),
299
- "aria-pressed": L === "list",
300
- title: k("bigconsole.dashboards.view.list", "List view"),
293
+ onClick: () => z("list"),
294
+ "aria-label": A("bigconsole.dashboards.view.list", "List view"),
295
+ "aria-pressed": R === "list",
296
+ title: A("bigconsole.dashboards.view.list", "List view"),
301
297
  style: {
302
298
  height: "var(--size-controlHeight-sm)",
303
299
  width: "var(--size-controlHeight-sm)",
304
300
  padding: 0,
305
301
  borderRadius: "var(--radius-button)"
306
302
  },
307
- children: /* @__PURE__ */ x(ie, { style: {
303
+ children: /* @__PURE__ */ T(re, { style: {
308
304
  height: "var(--size-icon-sm)",
309
305
  width: "var(--size-icon-sm)"
310
306
  } })
311
307
  })]
312
308
  })]
313
309
  }),
314
- z && me.length === 0 && /* @__PURE__ */ x("div", {
310
+ B && H.length === 0 && /* @__PURE__ */ T("div", {
315
311
  style: {
316
312
  display: "flex",
317
313
  alignItems: "center",
318
314
  justifyContent: "center",
319
315
  padding: "80px 0"
320
316
  },
321
- children: /* @__PURE__ */ S("div", {
317
+ children: /* @__PURE__ */ E("div", {
322
318
  style: { textAlign: "center" },
323
- children: [/* @__PURE__ */ x(le, { style: {
319
+ children: [/* @__PURE__ */ T(pe, { style: {
324
320
  height: "var(--size-icon-xl)",
325
321
  width: "var(--size-icon-xl)",
326
322
  margin: "0 auto var(--space-formGap)"
327
- } }), /* @__PURE__ */ x("p", {
323
+ } }), /* @__PURE__ */ T("p", {
328
324
  style: {
329
325
  fontSize: "var(--font-size-body-sm)",
330
326
  color: "var(--color-text-muted)"
331
327
  },
332
- children: k("bigconsole.dashboards.loading", "Loading dashboards...")
328
+ children: A("bigconsole.dashboards.loading", "Loading dashboards...")
333
329
  })]
334
330
  })
335
331
  }),
336
- !z && L === "grid" && G.length > 0 && /* @__PURE__ */ x("div", {
332
+ !B && R === "grid" && q.length > 0 && /* @__PURE__ */ T("div", {
337
333
  style: {
338
334
  display: "grid",
339
335
  gridTemplateColumns: "repeat(auto-fill, minmax(min(320px, 100%), 1fr))",
340
336
  gap: "var(--space-formGap)"
341
337
  },
342
- children: J.map((e) => /* @__PURE__ */ x(w, {
343
- onClick: () => X(e.id),
338
+ children: X.map((e) => /* @__PURE__ */ T(C, {
339
+ onClick: () => Q(e.id),
344
340
  style: {
345
341
  cursor: "pointer",
346
342
  transition: "all 0.2s ease"
347
343
  },
348
344
  className: "hover:shadow-md hover:border-primary/50",
349
- children: /* @__PURE__ */ S(T, {
345
+ children: /* @__PURE__ */ E(w, {
350
346
  style: { padding: "var(--space-cardPadding)" },
351
347
  children: [
352
- /* @__PURE__ */ S("div", {
348
+ /* @__PURE__ */ E("div", {
353
349
  style: {
354
350
  display: "flex",
355
351
  alignItems: "center",
356
352
  gap: "var(--space-controlGap)",
357
353
  marginBottom: "var(--space-formGap)"
358
354
  },
359
- children: [/* @__PURE__ */ x("div", {
355
+ children: [/* @__PURE__ */ T("div", {
360
356
  style: {
361
357
  display: "flex",
362
358
  height: "var(--size-controlHeight-lg)",
@@ -367,17 +363,17 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
367
363
  borderRadius: "var(--radius-button)",
368
364
  backgroundColor: "var(--color-action-primary-bg)"
369
365
  },
370
- children: /* @__PURE__ */ x(g, { style: {
366
+ children: /* @__PURE__ */ T(g, { style: {
371
367
  height: "var(--size-icon-md)",
372
368
  width: "var(--size-icon-md)",
373
369
  color: "var(--color-action-primary-text)"
374
370
  } })
375
- }), /* @__PURE__ */ S("div", {
371
+ }), /* @__PURE__ */ E("div", {
376
372
  style: {
377
373
  flex: 1,
378
374
  minWidth: 0
379
375
  },
380
- children: [/* @__PURE__ */ x("h3", {
376
+ children: [/* @__PURE__ */ T("h3", {
381
377
  style: {
382
378
  fontWeight: "var(--font-weight-bold)",
383
379
  fontSize: "var(--font-size-body-md)",
@@ -388,7 +384,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
388
384
  whiteSpace: "nowrap"
389
385
  },
390
386
  children: e.name
391
- }), e.category && /* @__PURE__ */ x(se, {
387
+ }), e.category && /* @__PURE__ */ T(x, {
392
388
  variant: "secondary",
393
389
  style: {
394
390
  marginTop: "var(--space-controlGap)",
@@ -400,7 +396,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
400
396
  })]
401
397
  })]
402
398
  }),
403
- /* @__PURE__ */ x("p", {
399
+ /* @__PURE__ */ T("p", {
404
400
  style: {
405
401
  fontSize: "var(--font-size-body-sm)",
406
402
  lineHeight: "var(--font-lineHeight-normal)",
@@ -412,9 +408,9 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
412
408
  WebkitBoxOrient: "vertical",
413
409
  overflow: "hidden"
414
410
  },
415
- children: e.description || k("bigconsole.dashboards.card.noDescription", "No description provided")
411
+ children: e.description || A("bigconsole.dashboards.card.noDescription", "No description provided")
416
412
  }),
417
- /* @__PURE__ */ S("div", {
413
+ /* @__PURE__ */ E("div", {
418
414
  style: {
419
415
  display: "flex",
420
416
  alignItems: "center",
@@ -425,72 +421,72 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
425
421
  borderRadius: "var(--radius-button)"
426
422
  },
427
423
  children: [
428
- /* @__PURE__ */ S("div", {
424
+ /* @__PURE__ */ E("div", {
429
425
  style: {
430
426
  display: "flex",
431
427
  alignItems: "center",
432
428
  gap: "var(--space-iconGap)"
433
429
  },
434
430
  children: [
435
- /* @__PURE__ */ x(h, { style: {
431
+ /* @__PURE__ */ T(h, { style: {
436
432
  height: "var(--size-icon-sm)",
437
433
  width: "var(--size-icon-sm)",
438
434
  color: "var(--color-action-primary-bg)"
439
435
  } }),
440
- /* @__PURE__ */ x("span", {
436
+ /* @__PURE__ */ T("span", {
441
437
  style: {
442
438
  fontSize: "var(--font-size-body-sm)",
443
439
  fontWeight: "var(--font-weight-semibold)",
444
440
  color: "var(--color-text-primary)"
445
441
  },
446
- children: Te(e)
442
+ children: Ae(e)
447
443
  }),
448
- /* @__PURE__ */ x("span", {
444
+ /* @__PURE__ */ T("span", {
449
445
  style: {
450
446
  fontSize: "var(--font-size-body-sm)",
451
447
  color: "var(--color-text-muted)"
452
448
  },
453
- children: k("bigconsole.dashboards.card.pages", "pages")
449
+ children: A("bigconsole.dashboards.card.pages", "pages")
454
450
  })
455
451
  ]
456
452
  }),
457
- /* @__PURE__ */ x("div", { style: {
453
+ /* @__PURE__ */ T("div", { style: {
458
454
  width: "1px",
459
455
  height: "var(--size-icon-sm)",
460
456
  backgroundColor: "var(--color-border)"
461
457
  } }),
462
- /* @__PURE__ */ S("div", {
458
+ /* @__PURE__ */ E("div", {
463
459
  style: {
464
460
  display: "flex",
465
461
  alignItems: "center",
466
462
  gap: "var(--space-iconGap)"
467
463
  },
468
464
  children: [
469
- /* @__PURE__ */ x(m, { style: {
465
+ /* @__PURE__ */ T(m, { style: {
470
466
  height: "var(--size-icon-sm)",
471
467
  width: "var(--size-icon-sm)",
472
468
  color: "var(--color-action-primary-bg)"
473
469
  } }),
474
- /* @__PURE__ */ x("span", {
470
+ /* @__PURE__ */ T("span", {
475
471
  style: {
476
472
  fontSize: "var(--font-size-body-sm)",
477
473
  fontWeight: "var(--font-weight-semibold)",
478
474
  color: "var(--color-text-primary)"
479
475
  },
480
- children: we(e)
476
+ children: ke(e)
481
477
  }),
482
- /* @__PURE__ */ x("span", {
478
+ /* @__PURE__ */ T("span", {
483
479
  style: {
484
480
  fontSize: "var(--font-size-body-sm)",
485
481
  color: "var(--color-text-muted)"
486
482
  },
487
- children: k("bigconsole.dashboards.card.widgets", "widgets")
483
+ children: A("bigconsole.dashboards.card.widgets", "widgets")
488
484
  })
489
485
  ]
490
486
  })
491
487
  ]
492
488
  }),
493
- /* @__PURE__ */ S("div", {
489
+ /* @__PURE__ */ E("div", {
494
490
  style: {
495
491
  display: "flex",
496
492
  alignItems: "center",
@@ -498,67 +494,67 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
498
494
  paddingTop: "var(--space-controlGap)",
499
495
  borderTop: "1px solid var(--color-border)"
500
496
  },
501
- children: [/* @__PURE__ */ S("div", {
497
+ children: [/* @__PURE__ */ E("div", {
502
498
  style: {
503
499
  display: "flex",
504
500
  alignItems: "center",
505
501
  gap: "var(--space-iconGap)"
506
502
  },
507
- children: [/* @__PURE__ */ x(f, { style: {
503
+ children: [/* @__PURE__ */ T(f, { style: {
508
504
  height: "var(--size-icon-sm)",
509
505
  width: "var(--size-icon-sm)",
510
506
  color: "var(--color-text-muted)"
511
- } }), /* @__PURE__ */ x("span", {
507
+ } }), /* @__PURE__ */ T("span", {
512
508
  style: {
513
509
  fontSize: "var(--font-size-body-sm)",
514
510
  fontWeight: "var(--font-weight-medium)",
515
511
  color: "var(--color-text-muted)"
516
512
  },
517
- children: Ce(e.updatedAt)
513
+ children: Oe(e.updatedAt)
518
514
  })]
519
- }), /* @__PURE__ */ S("div", {
515
+ }), /* @__PURE__ */ E("div", {
520
516
  style: {
521
517
  display: "flex",
522
518
  alignItems: "center",
523
519
  gap: "var(--space-controlGap)"
524
520
  },
525
521
  children: [
526
- /* @__PURE__ */ x(C, {
522
+ /* @__PURE__ */ T(S, {
527
523
  variant: "ghost",
528
524
  size: "sm",
529
- onClick: (t) => Z(e.id, t),
525
+ onClick: (t) => $(e.id, t),
530
526
  style: {
531
527
  height: "var(--size-controlHeight-sm)",
532
528
  width: "var(--size-controlHeight-sm)",
533
529
  padding: 0,
534
530
  borderRadius: "var(--radius-button)"
535
531
  },
536
- title: k("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
537
- children: /* @__PURE__ */ x(_, { style: {
532
+ title: A("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
533
+ children: /* @__PURE__ */ T(_, { style: {
538
534
  height: "var(--size-icon-sm)",
539
535
  width: "var(--size-icon-sm)"
540
536
  } })
541
537
  }),
542
- /* @__PURE__ */ x(C, {
538
+ /* @__PURE__ */ T(S, {
543
539
  variant: "ghost",
544
540
  size: "sm",
545
- onClick: (t) => be(e.id, e.name, t),
541
+ onClick: (t) => we(e.id, e.name, t),
546
542
  style: {
547
543
  height: "var(--size-controlHeight-sm)",
548
544
  width: "var(--size-controlHeight-sm)",
549
545
  padding: 0,
550
546
  borderRadius: "var(--radius-button)"
551
547
  },
552
- title: k("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
553
- children: /* @__PURE__ */ x(p, { style: {
548
+ title: A("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
549
+ children: /* @__PURE__ */ T(p, { style: {
554
550
  height: "var(--size-icon-sm)",
555
551
  width: "var(--size-icon-sm)"
556
552
  } })
557
553
  }),
558
- /* @__PURE__ */ x(C, {
554
+ /* @__PURE__ */ T(S, {
559
555
  variant: "ghost",
560
556
  size: "sm",
561
- onClick: (t) => Q(e.id, t),
557
+ onClick: (t) => Ce(e.id, t),
562
558
  style: {
563
559
  height: "var(--size-controlHeight-sm)",
564
560
  width: "var(--size-controlHeight-sm)",
@@ -566,8 +562,8 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
566
562
  borderRadius: "var(--radius-button)"
567
563
  },
568
564
  className: "hover:text-status-error-text hover:bg-status-error-bg/10",
569
- title: k("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
570
- children: /* @__PURE__ */ x(y, { style: {
565
+ title: A("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
566
+ children: /* @__PURE__ */ T(y, { style: {
571
567
  height: "var(--size-icon-sm)",
572
568
  width: "var(--size-icon-sm)"
573
569
  } })
@@ -579,22 +575,22 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
579
575
  })
580
576
  }, e.id))
581
577
  }),
582
- !z && L === "list" && G.length > 0 && /* @__PURE__ */ x("div", {
578
+ !B && R === "list" && q.length > 0 && /* @__PURE__ */ T("div", {
583
579
  style: {
584
580
  display: "flex",
585
581
  flexDirection: "column",
586
582
  gap: "var(--space-controlGap)"
587
583
  },
588
- children: J.map((e) => /* @__PURE__ */ x(w, {
589
- onClick: () => X(e.id),
584
+ children: X.map((e) => /* @__PURE__ */ T(C, {
585
+ onClick: () => Q(e.id),
590
586
  style: {
591
587
  cursor: "pointer",
592
588
  transition: "all 0.2s ease"
593
589
  },
594
590
  className: "hover:shadow-md hover:border-primary/50",
595
- children: /* @__PURE__ */ x(T, {
591
+ children: /* @__PURE__ */ T(w, {
596
592
  style: { padding: "var(--space-cardPadding)" },
597
- children: /* @__PURE__ */ S("div", {
593
+ children: /* @__PURE__ */ E("div", {
598
594
  style: {
599
595
  display: "flex",
600
596
  alignItems: "center",
@@ -602,7 +598,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
602
598
  flexWrap: "wrap"
603
599
  },
604
600
  children: [
605
- /* @__PURE__ */ x("div", {
601
+ /* @__PURE__ */ T("div", {
606
602
  style: {
607
603
  display: "flex",
608
604
  height: "var(--size-controlHeight-lg)",
@@ -613,25 +609,25 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
613
609
  borderRadius: "var(--radius-button)",
614
610
  backgroundColor: "var(--color-action-primary-bg)"
615
611
  },
616
- children: /* @__PURE__ */ x(g, { style: {
612
+ children: /* @__PURE__ */ T(g, { style: {
617
613
  height: "var(--size-icon-md)",
618
614
  width: "var(--size-icon-md)",
619
615
  color: "var(--color-action-primary-text)"
620
616
  } })
621
617
  }),
622
- /* @__PURE__ */ S("div", {
618
+ /* @__PURE__ */ E("div", {
623
619
  style: {
624
620
  flex: 1,
625
621
  minWidth: "180px"
626
622
  },
627
- children: [/* @__PURE__ */ S("div", {
623
+ children: [/* @__PURE__ */ E("div", {
628
624
  style: {
629
625
  display: "flex",
630
626
  alignItems: "center",
631
627
  gap: "var(--space-controlGap)",
632
628
  flexWrap: "wrap"
633
629
  },
634
- children: [/* @__PURE__ */ x("h3", {
630
+ children: [/* @__PURE__ */ T("h3", {
635
631
  style: {
636
632
  fontWeight: "var(--font-weight-bold)",
637
633
  fontSize: "var(--font-size-body-md)",
@@ -643,7 +639,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
643
639
  maxWidth: "100%"
644
640
  },
645
641
  children: e.name
646
- }), e.category && /* @__PURE__ */ x(se, {
642
+ }), e.category && /* @__PURE__ */ T(x, {
647
643
  variant: "secondary",
648
644
  style: {
649
645
  fontSize: "10px",
@@ -652,7 +648,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
652
648
  },
653
649
  children: e.category
654
650
  })]
655
- }), /* @__PURE__ */ x("p", {
651
+ }), /* @__PURE__ */ T("p", {
656
652
  style: {
657
653
  fontSize: "var(--font-size-body-sm)",
658
654
  lineHeight: "var(--font-lineHeight-normal)",
@@ -662,10 +658,10 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
662
658
  textOverflow: "ellipsis",
663
659
  whiteSpace: "nowrap"
664
660
  },
665
- children: e.description || k("bigconsole.dashboards.card.noDescription", "No description provided")
661
+ children: e.description || A("bigconsole.dashboards.card.noDescription", "No description provided")
666
662
  })]
667
663
  }),
668
- /* @__PURE__ */ S("div", {
664
+ /* @__PURE__ */ E("div", {
669
665
  style: {
670
666
  display: "flex",
671
667
  alignItems: "center",
@@ -673,128 +669,128 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
673
669
  flexWrap: "wrap"
674
670
  },
675
671
  children: [
676
- /* @__PURE__ */ S("div", {
672
+ /* @__PURE__ */ E("div", {
677
673
  style: {
678
674
  display: "flex",
679
675
  alignItems: "center",
680
676
  gap: "var(--space-iconGap)"
681
677
  },
682
678
  children: [
683
- /* @__PURE__ */ x(h, { style: {
679
+ /* @__PURE__ */ T(h, { style: {
684
680
  height: "var(--size-icon-sm)",
685
681
  width: "var(--size-icon-sm)",
686
682
  color: "var(--color-action-primary-bg)"
687
683
  } }),
688
- /* @__PURE__ */ x("span", {
684
+ /* @__PURE__ */ T("span", {
689
685
  style: {
690
686
  fontSize: "var(--font-size-body-sm)",
691
687
  fontWeight: "var(--font-weight-semibold)",
692
688
  color: "var(--color-text-primary)"
693
689
  },
694
- children: Te(e)
690
+ children: Ae(e)
695
691
  }),
696
- /* @__PURE__ */ x("span", {
692
+ /* @__PURE__ */ T("span", {
697
693
  style: {
698
694
  fontSize: "var(--font-size-body-sm)",
699
695
  color: "var(--color-text-muted)"
700
696
  },
701
- children: k("bigconsole.dashboards.card.pages", "pages")
697
+ children: A("bigconsole.dashboards.card.pages", "pages")
702
698
  })
703
699
  ]
704
700
  }),
705
- /* @__PURE__ */ S("div", {
701
+ /* @__PURE__ */ E("div", {
706
702
  style: {
707
703
  display: "flex",
708
704
  alignItems: "center",
709
705
  gap: "var(--space-iconGap)"
710
706
  },
711
707
  children: [
712
- /* @__PURE__ */ x(m, { style: {
708
+ /* @__PURE__ */ T(m, { style: {
713
709
  height: "var(--size-icon-sm)",
714
710
  width: "var(--size-icon-sm)",
715
711
  color: "var(--color-action-primary-bg)"
716
712
  } }),
717
- /* @__PURE__ */ x("span", {
713
+ /* @__PURE__ */ T("span", {
718
714
  style: {
719
715
  fontSize: "var(--font-size-body-sm)",
720
716
  fontWeight: "var(--font-weight-semibold)",
721
717
  color: "var(--color-text-primary)"
722
718
  },
723
- children: we(e)
719
+ children: ke(e)
724
720
  }),
725
- /* @__PURE__ */ x("span", {
721
+ /* @__PURE__ */ T("span", {
726
722
  style: {
727
723
  fontSize: "var(--font-size-body-sm)",
728
724
  color: "var(--color-text-muted)"
729
725
  },
730
- children: k("bigconsole.dashboards.card.widgets", "widgets")
726
+ children: A("bigconsole.dashboards.card.widgets", "widgets")
731
727
  })
732
728
  ]
733
729
  }),
734
- /* @__PURE__ */ S("div", {
730
+ /* @__PURE__ */ E("div", {
735
731
  style: {
736
732
  display: "flex",
737
733
  alignItems: "center",
738
734
  gap: "var(--space-iconGap)"
739
735
  },
740
- children: [/* @__PURE__ */ x(f, { style: {
736
+ children: [/* @__PURE__ */ T(f, { style: {
741
737
  height: "var(--size-icon-sm)",
742
738
  width: "var(--size-icon-sm)",
743
739
  color: "var(--color-text-muted)"
744
- } }), /* @__PURE__ */ x("span", {
740
+ } }), /* @__PURE__ */ T("span", {
745
741
  style: {
746
742
  fontSize: "var(--font-size-body-sm)",
747
743
  fontWeight: "var(--font-weight-medium)",
748
744
  color: "var(--color-text-muted)"
749
745
  },
750
- children: Ce(e.updatedAt)
746
+ children: Oe(e.updatedAt)
751
747
  })]
752
748
  })
753
749
  ]
754
750
  }),
755
- /* @__PURE__ */ S("div", {
751
+ /* @__PURE__ */ E("div", {
756
752
  style: {
757
753
  display: "flex",
758
754
  alignItems: "center",
759
755
  gap: "var(--space-controlGap)"
760
756
  },
761
757
  children: [
762
- /* @__PURE__ */ x(C, {
758
+ /* @__PURE__ */ T(S, {
763
759
  variant: "ghost",
764
760
  size: "sm",
765
- onClick: (t) => Z(e.id, t),
761
+ onClick: (t) => $(e.id, t),
766
762
  style: {
767
763
  height: "var(--size-controlHeight-sm)",
768
764
  width: "var(--size-controlHeight-sm)",
769
765
  padding: 0,
770
766
  borderRadius: "var(--radius-button)"
771
767
  },
772
- title: k("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
773
- children: /* @__PURE__ */ x(_, { style: {
768
+ title: A("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
769
+ children: /* @__PURE__ */ T(_, { style: {
774
770
  height: "var(--size-icon-sm)",
775
771
  width: "var(--size-icon-sm)"
776
772
  } })
777
773
  }),
778
- /* @__PURE__ */ x(C, {
774
+ /* @__PURE__ */ T(S, {
779
775
  variant: "ghost",
780
776
  size: "sm",
781
- onClick: (t) => be(e.id, e.name, t),
777
+ onClick: (t) => we(e.id, e.name, t),
782
778
  style: {
783
779
  height: "var(--size-controlHeight-sm)",
784
780
  width: "var(--size-controlHeight-sm)",
785
781
  padding: 0,
786
782
  borderRadius: "var(--radius-button)"
787
783
  },
788
- title: k("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
789
- children: /* @__PURE__ */ x(p, { style: {
784
+ title: A("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
785
+ children: /* @__PURE__ */ T(p, { style: {
790
786
  height: "var(--size-icon-sm)",
791
787
  width: "var(--size-icon-sm)"
792
788
  } })
793
789
  }),
794
- /* @__PURE__ */ x(C, {
790
+ /* @__PURE__ */ T(S, {
795
791
  variant: "ghost",
796
792
  size: "sm",
797
- onClick: (t) => Q(e.id, t),
793
+ onClick: (t) => Ce(e.id, t),
798
794
  style: {
799
795
  height: "var(--size-controlHeight-sm)",
800
796
  width: "var(--size-controlHeight-sm)",
@@ -802,8 +798,8 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
802
798
  borderRadius: "var(--radius-button)"
803
799
  },
804
800
  className: "hover:text-status-error-text hover:bg-status-error-bg/10",
805
- title: k("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
806
- children: /* @__PURE__ */ x(y, { style: {
801
+ title: A("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
802
+ children: /* @__PURE__ */ T(y, { style: {
807
803
  height: "var(--size-icon-sm)",
808
804
  width: "var(--size-icon-sm)"
809
805
  } })
@@ -815,7 +811,7 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
815
811
  })
816
812
  }, e.id))
817
813
  }),
818
- !z && G.length > D && /* @__PURE__ */ S("div", {
814
+ !B && q.length > O && /* @__PURE__ */ E("div", {
819
815
  style: {
820
816
  display: "flex",
821
817
  alignItems: "center",
@@ -825,30 +821,30 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
825
821
  marginTop: "var(--space-sectionGap)"
826
822
  },
827
823
  children: [
828
- /* @__PURE__ */ S(C, {
824
+ /* @__PURE__ */ E(S, {
829
825
  variant: "outline",
830
826
  size: "sm",
831
- onClick: he,
832
- disabled: j <= 1,
833
- "aria-label": k("bigconsole.dashboards.pagination.previous", "Previous"),
834
- children: [/* @__PURE__ */ x(ee, { style: {
827
+ onClick: ve,
828
+ disabled: M <= 1,
829
+ "aria-label": A("bigconsole.dashboards.pagination.previous", "Previous"),
830
+ children: [/* @__PURE__ */ T(ee, { style: {
835
831
  marginRight: "var(--space-iconGap)",
836
832
  height: "var(--size-icon-sm)",
837
833
  width: "var(--size-icon-sm)"
838
- } }), k("bigconsole.dashboards.pagination.previous", "Previous")]
834
+ } }), A("bigconsole.dashboards.pagination.previous", "Previous")]
839
835
  }),
840
- /* @__PURE__ */ x("div", {
836
+ /* @__PURE__ */ T("div", {
841
837
  style: {
842
838
  display: "flex",
843
839
  alignItems: "center",
844
840
  gap: "var(--space-iconGap)",
845
841
  flexWrap: "wrap"
846
842
  },
847
- children: Array.from({ length: K }, (e, t) => t + 1).map((e) => /* @__PURE__ */ x(C, {
848
- variant: e === j ? "default" : "ghost",
843
+ children: Array.from({ length: J }, (e, t) => t + 1).map((e) => /* @__PURE__ */ T(S, {
844
+ variant: e === M ? "default" : "ghost",
849
845
  size: "sm",
850
- onClick: () => _e(e),
851
- "aria-current": e === j ? "page" : void 0,
846
+ onClick: () => be(e),
847
+ "aria-current": e === M ? "page" : void 0,
852
848
  style: {
853
849
  minWidth: "var(--size-controlHeight-sm)",
854
850
  height: "var(--size-controlHeight-sm)",
@@ -858,118 +854,78 @@ var E = "bf-bigconsole-dashboards-view", D = 12, O = c(function() {
858
854
  children: e
859
855
  }, e))
860
856
  }),
861
- /* @__PURE__ */ S(C, {
857
+ /* @__PURE__ */ E(S, {
862
858
  variant: "outline",
863
859
  size: "sm",
864
- onClick: ge,
865
- disabled: j >= K,
866
- "aria-label": k("bigconsole.dashboards.pagination.next", "Next"),
867
- children: [k("bigconsole.dashboards.pagination.next", "Next"), /* @__PURE__ */ x(te, { style: {
860
+ onClick: ye,
861
+ disabled: M >= J,
862
+ "aria-label": A("bigconsole.dashboards.pagination.next", "Next"),
863
+ children: [A("bigconsole.dashboards.pagination.next", "Next"), /* @__PURE__ */ T(te, { style: {
868
864
  marginLeft: "var(--space-iconGap)",
869
865
  height: "var(--size-icon-sm)",
870
866
  width: "var(--size-icon-sm)"
871
867
  } })]
872
868
  }),
873
- /* @__PURE__ */ x("span", {
869
+ /* @__PURE__ */ T("span", {
874
870
  style: {
875
871
  fontSize: "var(--font-size-body-sm)",
876
872
  color: "var(--color-text-muted)",
877
873
  marginLeft: "var(--space-controlGap)"
878
874
  },
879
- children: k("bigconsole.dashboards.pagination.pageOf", `Page ${j} of ${K}`)
875
+ children: A("bigconsole.dashboards.pagination.pageOf", `Page ${M} of ${J}`)
880
876
  })
881
877
  ]
882
878
  }),
883
- !z && G.length === 0 && /* @__PURE__ */ x(w, {
884
- className: "border-dashed",
885
- children: /* @__PURE__ */ S(T, {
886
- style: {
887
- display: "flex",
888
- flexDirection: "column",
889
- alignItems: "center",
890
- justifyContent: "center",
891
- padding: "64px var(--space-pagePadding)"
892
- },
893
- children: [
894
- /* @__PURE__ */ x("div", {
895
- style: {
896
- display: "flex",
897
- height: "80px",
898
- width: "80px",
899
- alignItems: "center",
900
- justifyContent: "center",
901
- borderRadius: "50%",
902
- backgroundColor: "var(--color-bg-sunken)",
903
- marginBottom: "var(--space-sectionGap)"
904
- },
905
- children: /* @__PURE__ */ x(ne, { style: {
906
- height: "var(--size-icon-xl)",
907
- width: "var(--size-icon-xl)",
908
- color: "var(--color-text-muted)"
909
- } })
910
- }),
911
- /* @__PURE__ */ x("h3", {
912
- style: {
913
- fontSize: "var(--font-size-heading-h4)",
914
- fontWeight: "var(--font-weight-semibold)",
915
- marginBottom: "var(--space-controlGap)"
916
- },
917
- children: A ? k("bigconsole.dashboards.empty.filteredTitle", "No dashboards found") : k("bigconsole.dashboards.empty.title", "No dashboards yet")
918
- }),
919
- /* @__PURE__ */ x("p", {
920
- style: {
921
- fontSize: "var(--font-size-body-sm)",
922
- color: "var(--color-text-muted)",
923
- marginBottom: "var(--space-sectionGap)",
924
- textAlign: "center",
925
- maxWidth: "360px"
926
- },
927
- children: A ? k("bigconsole.dashboards.empty.filteredDescription", "Try adjusting your search terms") : k("bigconsole.dashboards.empty.description", "Get started by creating your first dashboard to visualize your data")
928
- }),
929
- !A && /* @__PURE__ */ S("div", {
930
- style: {
931
- display: "flex",
932
- gap: "var(--space-controlGap)",
933
- flexWrap: "wrap",
934
- justifyContent: "center"
935
- },
936
- children: [/* @__PURE__ */ S(C, {
937
- variant: "outline",
938
- onClick: $,
939
- children: [/* @__PURE__ */ x(b, { style: {
940
- marginRight: "var(--space-iconGap)",
941
- height: "var(--size-icon-sm)",
942
- width: "var(--size-icon-sm)"
943
- } }), k("bigconsole.dashboards.actions.importDashboard", "Import Dashboard")]
944
- }), /* @__PURE__ */ S(C, {
945
- onClick: Y,
946
- children: [/* @__PURE__ */ x(v, { style: {
947
- marginRight: "var(--space-iconGap)",
948
- height: "var(--size-icon-sm)",
949
- width: "var(--size-icon-sm)"
950
- } }), k("bigconsole.dashboards.actions.create", "Create Dashboard")]
951
- })]
952
- })
953
- ]
879
+ !B && q.length === 0 && /* @__PURE__ */ T(ce, {
880
+ treatment: "insight",
881
+ className: "border-border-seam",
882
+ children: /* @__PURE__ */ T(ue, {
883
+ illustration: j ? "empty-search" : "empty-data",
884
+ title: j ? A("bigconsole.dashboards.empty.filteredTitle", "No dashboards found") : A("bigconsole.dashboards.empty.title", "No dashboards yet"),
885
+ description: j ? A("bigconsole.dashboards.empty.filteredDescription", "Try adjusting your search terms") : A("bigconsole.dashboards.empty.description", "Get started by creating your first dashboard to visualize your data"),
886
+ action: j ? void 0 : /* @__PURE__ */ E("div", {
887
+ style: {
888
+ display: "flex",
889
+ gap: "var(--space-controlGap)",
890
+ flexWrap: "wrap",
891
+ justifyContent: "center"
892
+ },
893
+ children: [/* @__PURE__ */ E(S, {
894
+ onClick: Z,
895
+ children: [/* @__PURE__ */ T(v, { style: {
896
+ marginRight: "var(--space-iconGap)",
897
+ height: "var(--size-icon-sm)",
898
+ width: "var(--size-icon-sm)"
899
+ } }), A("bigconsole.dashboards.actions.create", "Create Dashboard")]
900
+ }), /* @__PURE__ */ E(S, {
901
+ variant: "outline",
902
+ onClick: Te,
903
+ children: [/* @__PURE__ */ T(b, { style: {
904
+ marginRight: "var(--space-iconGap)",
905
+ height: "var(--size-icon-sm)",
906
+ width: "var(--size-icon-sm)"
907
+ } }), A("bigconsole.dashboards.actions.importDashboard", "Import Dashboard")]
908
+ })]
909
+ })
954
910
  })
955
911
  })
956
912
  ]
957
913
  }),
958
- /* @__PURE__ */ x(n, {
959
- isOpen: de,
960
- isCreating: P,
961
- onClose: ve,
962
- onCreate: ye
963
- }),
964
- /* @__PURE__ */ x(r, {
965
- isOpen: fe,
914
+ /* @__PURE__ */ T(n, {
915
+ isOpen: he,
916
+ isCreating: F,
966
917
  onClose: xe,
967
- onSuccess: Se
918
+ onCreate: Se
919
+ }),
920
+ /* @__PURE__ */ T(r, {
921
+ isOpen: ge,
922
+ onClose: Ee,
923
+ onSuccess: De
968
924
  })
969
925
  ]
970
926
  });
971
927
  });
972
928
  //#endregion
973
- export { O as DashboardsPage, O as default };
929
+ export { k as DashboardsPage, k as default };
974
930
 
975
931
  //# sourceMappingURL=DashboardsPage.js.map