@burdenoff/microfe-bigconsole 2026.805.2 → 2026.805.3

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