@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
@@ -1,9 +1,10 @@
1
1
  import { memo as e, useCallback as t, useEffect as n, useState as r } from "react";
2
2
  import { RotateCcw as i, Save as a, Settings as o } from "lucide-react";
3
- import { AuroraBackground as s, EmphasisPanel as c, GradientText as l, PagePurpose as u } from "@burdenoff/fe-libs/ui";
4
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
3
+ import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
4
+ import { AuroraBackground as c, EmphasisPanel as l, GradientText as u, PagePurpose as d } from "@burdenoff/fe-libs/ui";
5
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
5
6
  //#region src/bigconsole/pages/SettingsPage.tsx
6
- var p = "bigconsole-settings", m = {
7
+ var m = "bigconsole-settings", h = {
7
8
  defaultRefreshInterval: 0,
8
9
  defaultGridColumns: 12,
9
10
  defaultWidgetHeight: 4,
@@ -13,37 +14,37 @@ var p = "bigconsole-settings", m = {
13
14
  compactMode: !1,
14
15
  animationsEnabled: !0
15
16
  };
16
- function h() {
17
+ function g() {
17
18
  try {
18
- let e = localStorage.getItem(p);
19
+ let e = localStorage.getItem(m);
19
20
  if (e) return {
20
- ...m,
21
+ ...h,
21
22
  ...JSON.parse(e)
22
23
  };
23
24
  } catch {}
24
- return { ...m };
25
+ return { ...h };
25
26
  }
26
- function g(e) {
27
- localStorage.setItem(p, JSON.stringify(e));
27
+ function _(e) {
28
+ localStorage.setItem(m, JSON.stringify(e));
28
29
  }
29
- var _ = e(function() {
30
- let [e, p] = r(h), [_, v] = r(!1);
30
+ var v = e(function() {
31
+ let { t: e } = s(), [m, v] = r(g), [y, b] = r(!1);
31
32
  n(() => {
32
- if (_) {
33
- let e = setTimeout(() => v(!1), 2e3);
33
+ if (y) {
34
+ let e = setTimeout(() => b(!1), 2e3);
34
35
  return () => clearTimeout(e);
35
36
  }
36
- }, [_]);
37
- let y = t((e, t) => {
38
- p((n) => ({
37
+ }, [y]);
38
+ let x = t((e, t) => {
39
+ v((n) => ({
39
40
  ...n,
40
41
  [e]: t
41
42
  }));
42
- }, []), b = t(() => {
43
- g(e), v(!0);
44
- }, [e]), x = t(() => {
45
- p({ ...m }), g(m), v(!0);
46
- }, []), S = {
43
+ }, []), S = t(() => {
44
+ _(m), b(!0);
45
+ }, [m]), C = t(() => {
46
+ v({ ...h }), _(h), b(!0);
47
+ }, []), w = {
47
48
  width: "100%",
48
49
  padding: "8px 12px",
49
50
  borderRadius: "var(--radius-button)",
@@ -52,17 +53,17 @@ var _ = e(function() {
52
53
  color: "var(--color-text-primary)",
53
54
  fontSize: "var(--font-size-body-sm)",
54
55
  outline: "none"
55
- }, C = {
56
+ }, T = {
56
57
  display: "block",
57
58
  fontSize: "var(--font-size-body-sm)",
58
59
  fontWeight: "var(--font-weight-medium)",
59
60
  color: "var(--color-text-primary)",
60
61
  marginBottom: 4
61
- }, w = {
62
+ }, E = {
62
63
  fontSize: 11,
63
64
  color: "var(--color-text-muted)",
64
65
  marginTop: 4
65
- }, T = {
66
+ }, D = {
66
67
  backgroundColor: "var(--color-bg-surface)",
67
68
  border: "1px solid var(--color-border-seam)",
68
69
  borderRadius: "var(--radius-card)",
@@ -70,19 +71,19 @@ var _ = e(function() {
70
71
  marginBottom: "var(--space-sectionGap)",
71
72
  boxShadow: "var(--shadow-pop)"
72
73
  };
73
- return /* @__PURE__ */ d("div", {
74
+ return /* @__PURE__ */ f("div", {
74
75
  style: {
75
76
  minHeight: "100vh",
76
77
  backgroundColor: "var(--color-bg-canvas)"
77
78
  },
78
- children: /* @__PURE__ */ f("div", {
79
+ children: /* @__PURE__ */ p("div", {
79
80
  style: {
80
81
  padding: "var(--space-pagePadding)",
81
82
  maxWidth: 720,
82
83
  margin: "0 auto"
83
84
  },
84
85
  children: [
85
- /* @__PURE__ */ f("div", {
86
+ /* @__PURE__ */ p("div", {
86
87
  className: "relative overflow-hidden rounded-card border border-border-seam bg-gloss-card p-6",
87
88
  style: {
88
89
  display: "flex",
@@ -93,39 +94,39 @@ var _ = e(function() {
93
94
  gap: "var(--space-formGap)"
94
95
  },
95
96
  children: [
96
- /* @__PURE__ */ d(s, { intensity: "subtle" }),
97
- /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ f("div", {
97
+ /* @__PURE__ */ f(c, { intensity: "subtle" }),
98
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("div", {
98
99
  style: {
99
100
  display: "flex",
100
101
  alignItems: "center",
101
102
  gap: "var(--space-iconGap)"
102
103
  },
103
- children: [/* @__PURE__ */ d(o, {
104
+ children: [/* @__PURE__ */ f(o, {
104
105
  size: 24,
105
106
  style: { color: "var(--color-text-primary)" }
106
- }), /* @__PURE__ */ d("h1", {
107
+ }), /* @__PURE__ */ f("h1", {
107
108
  style: {
108
109
  fontSize: "var(--font-size-heading-h4)",
109
110
  fontWeight: "var(--font-weight-bold)",
110
111
  color: "var(--color-text-primary)"
111
112
  },
112
- children: /* @__PURE__ */ d(l, { children: "Settings" })
113
+ children: /* @__PURE__ */ f(u, { children: e("bigconsole.settings.header.title", "Settings") })
113
114
  })]
114
- }), /* @__PURE__ */ d("p", {
115
+ }), /* @__PURE__ */ f("p", {
115
116
  style: {
116
117
  fontSize: "var(--font-size-body-md)",
117
118
  color: "var(--color-text-secondary)",
118
119
  marginTop: 4
119
120
  },
120
- children: "Configure BigConsole preferences"
121
+ children: e("bigconsole.settings.header.subtitle", "Configure BigConsole preferences")
121
122
  })] }),
122
- /* @__PURE__ */ f("div", {
123
+ /* @__PURE__ */ p("div", {
123
124
  style: {
124
125
  display: "flex",
125
126
  gap: 8
126
127
  },
127
- children: [/* @__PURE__ */ f("button", {
128
- onClick: x,
128
+ children: [/* @__PURE__ */ p("button", {
129
+ onClick: C,
129
130
  style: {
130
131
  display: "flex",
131
132
  alignItems: "center",
@@ -138,16 +139,20 @@ var _ = e(function() {
138
139
  fontSize: "var(--font-size-body-sm)",
139
140
  cursor: "pointer"
140
141
  },
141
- children: [/* @__PURE__ */ d(i, { size: 14 }), " Reset"]
142
- }), /* @__PURE__ */ f("button", {
143
- onClick: b,
142
+ children: [
143
+ /* @__PURE__ */ f(i, { size: 14 }),
144
+ " ",
145
+ e("bigconsole.settings.actions.reset", "Reset")
146
+ ]
147
+ }), /* @__PURE__ */ p("button", {
148
+ onClick: S,
144
149
  style: {
145
150
  display: "flex",
146
151
  alignItems: "center",
147
152
  gap: 6,
148
153
  padding: "8px 16px",
149
154
  borderRadius: "var(--radius-button)",
150
- backgroundColor: _ ? "var(--color-status-success-bg)" : "var(--color-action-primary-bg)",
155
+ backgroundColor: y ? "var(--color-status-success-bg)" : "var(--color-action-primary-bg)",
151
156
  color: "var(--color-action-primary-text)",
152
157
  fontWeight: "var(--font-weight-medium)",
153
158
  fontSize: "var(--font-size-body-sm)",
@@ -156,324 +161,324 @@ var _ = e(function() {
156
161
  transition: "background-color 200ms"
157
162
  },
158
163
  children: [
159
- /* @__PURE__ */ d(a, { size: 14 }),
164
+ /* @__PURE__ */ f(a, { size: 14 }),
160
165
  " ",
161
- _ ? "Saved locally" : "Save locally"
166
+ y ? e("bigconsole.settings.actions.savedLocally", "Saved locally") : e("bigconsole.settings.actions.saveLocally", "Save locally")
162
167
  ]
163
168
  })]
164
169
  })
165
170
  ]
166
171
  }),
167
- /* @__PURE__ */ d(u, {
172
+ /* @__PURE__ */ f(d, {
168
173
  className: "mb-[var(--space-sectionGap)]",
169
- children: "Settings control the defaults BigConsole applies everywhere — how new dashboards are laid out, how aggressively widget data is cached, and how the UI is displayed. Tune these once to match how your team works; they apply across every dashboard you build. These preferences are saved locally in this browser until the backend settings API is available."
174
+ children: e("bigconsole.settings.purpose", "Settings control the defaults BigConsole applies everywhere — how new dashboards are laid out, how aggressively widget data is cached, and how the UI is displayed. Tune these once to match how your team works; they apply across every dashboard you build. These preferences are saved locally in this browser until the backend settings API is available.")
170
175
  }),
171
- /* @__PURE__ */ f(c, {
176
+ /* @__PURE__ */ p(l, {
172
177
  className: "mb-[var(--space-sectionGap)] p-[var(--space-cardPadding)]",
173
- children: [/* @__PURE__ */ d("h2", {
178
+ children: [/* @__PURE__ */ f("h2", {
174
179
  style: {
175
180
  fontSize: "var(--font-size-body-md)",
176
181
  fontWeight: "var(--font-weight-semibold)",
177
182
  color: "var(--color-text-primary)",
178
183
  marginBottom: 16
179
184
  },
180
- children: "Dashboard Defaults"
181
- }), /* @__PURE__ */ f("div", {
185
+ children: e("bigconsole.settings.dashboardDefaults.title", "Dashboard Defaults")
186
+ }), /* @__PURE__ */ p("div", {
182
187
  style: {
183
188
  display: "grid",
184
189
  gap: 16
185
190
  },
186
191
  children: [
187
- /* @__PURE__ */ f("div", { children: [
188
- /* @__PURE__ */ d("label", {
192
+ /* @__PURE__ */ p("div", { children: [
193
+ /* @__PURE__ */ f("label", {
189
194
  htmlFor: "grid-cols",
190
- style: C,
191
- children: "Grid Columns"
195
+ style: T,
196
+ children: e("bigconsole.settings.dashboardDefaults.gridColumns.label", "Grid Columns")
192
197
  }),
193
- /* @__PURE__ */ d("input", {
198
+ /* @__PURE__ */ f("input", {
194
199
  id: "grid-cols",
195
200
  type: "number",
196
201
  min: 4,
197
202
  max: 24,
198
- value: e.defaultGridColumns,
199
- onChange: (e) => y("defaultGridColumns", parseInt(e.target.value) || 12),
200
- style: S
203
+ value: m.defaultGridColumns,
204
+ onChange: (e) => x("defaultGridColumns", parseInt(e.target.value) || 12),
205
+ style: w
201
206
  }),
202
- /* @__PURE__ */ d("p", {
203
- style: w,
204
- children: "Number of columns in the dashboard grid (4-24)"
207
+ /* @__PURE__ */ f("p", {
208
+ style: E,
209
+ children: e("bigconsole.settings.dashboardDefaults.gridColumns.help", "Number of columns in the dashboard grid (4-24)")
205
210
  })
206
211
  ] }),
207
- /* @__PURE__ */ f("div", { children: [
208
- /* @__PURE__ */ d("label", {
212
+ /* @__PURE__ */ p("div", { children: [
213
+ /* @__PURE__ */ f("label", {
209
214
  htmlFor: "widget-height",
210
- style: C,
211
- children: "Default Widget Height"
215
+ style: T,
216
+ children: e("bigconsole.settings.dashboardDefaults.widgetHeight.label", "Default Widget Height")
212
217
  }),
213
- /* @__PURE__ */ d("input", {
218
+ /* @__PURE__ */ f("input", {
214
219
  id: "widget-height",
215
220
  type: "number",
216
221
  min: 2,
217
222
  max: 12,
218
- value: e.defaultWidgetHeight,
219
- onChange: (e) => y("defaultWidgetHeight", parseInt(e.target.value) || 4),
220
- style: S
223
+ value: m.defaultWidgetHeight,
224
+ onChange: (e) => x("defaultWidgetHeight", parseInt(e.target.value) || 4),
225
+ style: w
221
226
  }),
222
- /* @__PURE__ */ d("p", {
223
- style: w,
224
- children: "Default height units for new widgets (2-12)"
227
+ /* @__PURE__ */ f("p", {
228
+ style: E,
229
+ children: e("bigconsole.settings.dashboardDefaults.widgetHeight.help", "Default height units for new widgets (2-12)")
225
230
  })
226
231
  ] }),
227
- /* @__PURE__ */ f("div", { children: [
228
- /* @__PURE__ */ d("label", {
232
+ /* @__PURE__ */ p("div", { children: [
233
+ /* @__PURE__ */ f("label", {
229
234
  htmlFor: "refresh-interval",
230
- style: C,
231
- children: "Auto-Refresh Interval (seconds)"
235
+ style: T,
236
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.label", "Auto-Refresh Interval (seconds)")
232
237
  }),
233
- /* @__PURE__ */ f("select", {
238
+ /* @__PURE__ */ p("select", {
234
239
  id: "refresh-interval",
235
- value: e.defaultRefreshInterval,
236
- onChange: (e) => y("defaultRefreshInterval", parseInt(e.target.value)),
237
- style: S,
240
+ value: m.defaultRefreshInterval,
241
+ onChange: (e) => x("defaultRefreshInterval", parseInt(e.target.value)),
242
+ style: w,
238
243
  children: [
239
- /* @__PURE__ */ d("option", {
244
+ /* @__PURE__ */ f("option", {
240
245
  value: 0,
241
- children: "Disabled"
246
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.disabled", "Disabled")
242
247
  }),
243
- /* @__PURE__ */ d("option", {
248
+ /* @__PURE__ */ f("option", {
244
249
  value: 10,
245
- children: "10 seconds"
250
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.seconds10", "10 seconds")
246
251
  }),
247
- /* @__PURE__ */ d("option", {
252
+ /* @__PURE__ */ f("option", {
248
253
  value: 30,
249
- children: "30 seconds"
254
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.seconds30", "30 seconds")
250
255
  }),
251
- /* @__PURE__ */ d("option", {
256
+ /* @__PURE__ */ f("option", {
252
257
  value: 60,
253
- children: "1 minute"
258
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.minute1", "1 minute")
254
259
  }),
255
- /* @__PURE__ */ d("option", {
260
+ /* @__PURE__ */ f("option", {
256
261
  value: 300,
257
- children: "5 minutes"
262
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.minutes5", "5 minutes")
258
263
  }),
259
- /* @__PURE__ */ d("option", {
264
+ /* @__PURE__ */ f("option", {
260
265
  value: 600,
261
- children: "10 minutes"
266
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.minutes10", "10 minutes")
262
267
  })
263
268
  ]
264
269
  }),
265
- /* @__PURE__ */ d("p", {
266
- style: w,
267
- children: "How often widgets refresh their data automatically"
270
+ /* @__PURE__ */ f("p", {
271
+ style: E,
272
+ children: e("bigconsole.settings.dashboardDefaults.refreshInterval.help", "How often widgets refresh their data automatically")
268
273
  })
269
274
  ] })
270
275
  ]
271
276
  })]
272
277
  }),
273
- /* @__PURE__ */ f("div", {
274
- style: T,
275
- children: [/* @__PURE__ */ d("h2", {
278
+ /* @__PURE__ */ p("div", {
279
+ style: D,
280
+ children: [/* @__PURE__ */ f("h2", {
276
281
  style: {
277
282
  fontSize: "var(--font-size-body-md)",
278
283
  fontWeight: "var(--font-weight-semibold)",
279
284
  color: "var(--color-text-primary)",
280
285
  marginBottom: 16
281
286
  },
282
- children: "Cache"
283
- }), /* @__PURE__ */ f("div", {
287
+ children: e("bigconsole.settings.cache.title", "Cache")
288
+ }), /* @__PURE__ */ p("div", {
284
289
  style: {
285
290
  display: "grid",
286
291
  gap: 16
287
292
  },
288
- children: [/* @__PURE__ */ f("div", {
293
+ children: [/* @__PURE__ */ p("div", {
289
294
  style: {
290
295
  display: "flex",
291
296
  alignItems: "center",
292
297
  justifyContent: "space-between"
293
298
  },
294
- children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
295
- style: C,
296
- children: "Enable Cache"
297
- }), /* @__PURE__ */ d("p", {
298
- style: w,
299
- children: "Cache widget data to reduce API calls"
300
- })] }), /* @__PURE__ */ d("button", {
301
- onClick: () => y("cacheEnabled", !e.cacheEnabled),
299
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
300
+ style: T,
301
+ children: e("bigconsole.settings.cache.enable.label", "Enable Cache")
302
+ }), /* @__PURE__ */ f("p", {
303
+ style: E,
304
+ children: e("bigconsole.settings.cache.enable.help", "Cache widget data to reduce API calls")
305
+ })] }), /* @__PURE__ */ f("button", {
306
+ onClick: () => x("cacheEnabled", !m.cacheEnabled),
302
307
  role: "switch",
303
- "aria-checked": e.cacheEnabled,
304
- "aria-label": "Enable cache",
308
+ "aria-checked": m.cacheEnabled,
309
+ "aria-label": e("bigconsole.settings.cache.enable.label", "Enable Cache"),
305
310
  style: {
306
311
  width: 44,
307
312
  height: 24,
308
313
  borderRadius: 12,
309
- backgroundColor: e.cacheEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
314
+ backgroundColor: m.cacheEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
310
315
  border: "none",
311
316
  cursor: "pointer",
312
317
  position: "relative",
313
318
  transition: "background-color 200ms"
314
319
  },
315
- children: /* @__PURE__ */ d("div", { style: {
320
+ children: /* @__PURE__ */ f("div", { style: {
316
321
  width: 18,
317
322
  height: 18,
318
323
  borderRadius: "50%",
319
324
  backgroundColor: "white",
320
325
  position: "absolute",
321
326
  top: 3,
322
- left: e.cacheEnabled ? 23 : 3,
327
+ left: m.cacheEnabled ? 23 : 3,
323
328
  transition: "left 200ms"
324
329
  } })
325
330
  })]
326
- }), e.cacheEnabled && /* @__PURE__ */ f("div", { children: [
327
- /* @__PURE__ */ d("label", {
331
+ }), m.cacheEnabled && /* @__PURE__ */ p("div", { children: [
332
+ /* @__PURE__ */ f("label", {
328
333
  htmlFor: "cache-ttl",
329
- style: C,
330
- children: "Cache TTL (seconds)"
334
+ style: T,
335
+ children: e("bigconsole.settings.cache.ttl.label", "Cache TTL (seconds)")
331
336
  }),
332
- /* @__PURE__ */ d("input", {
337
+ /* @__PURE__ */ f("input", {
333
338
  id: "cache-ttl",
334
339
  type: "number",
335
340
  min: 30,
336
341
  max: 3600,
337
- value: e.cacheTTLSeconds,
338
- onChange: (e) => y("cacheTTLSeconds", parseInt(e.target.value) || 300),
339
- style: S
342
+ value: m.cacheTTLSeconds,
343
+ onChange: (e) => x("cacheTTLSeconds", parseInt(e.target.value) || 300),
344
+ style: w
340
345
  }),
341
- /* @__PURE__ */ d("p", {
342
- style: w,
343
- children: "How long cached data is considered fresh (30-3600)"
346
+ /* @__PURE__ */ f("p", {
347
+ style: E,
348
+ children: e("bigconsole.settings.cache.ttl.help", "How long cached data is considered fresh (30-3600)")
344
349
  })
345
350
  ] })]
346
351
  })]
347
352
  }),
348
- /* @__PURE__ */ f("div", {
349
- style: T,
350
- children: [/* @__PURE__ */ d("h2", {
353
+ /* @__PURE__ */ p("div", {
354
+ style: D,
355
+ children: [/* @__PURE__ */ f("h2", {
351
356
  style: {
352
357
  fontSize: "var(--font-size-body-md)",
353
358
  fontWeight: "var(--font-weight-semibold)",
354
359
  color: "var(--color-text-primary)",
355
360
  marginBottom: 16
356
361
  },
357
- children: "Display"
358
- }), /* @__PURE__ */ f("div", {
362
+ children: e("bigconsole.settings.display.title", "Display")
363
+ }), /* @__PURE__ */ p("div", {
359
364
  style: {
360
365
  display: "grid",
361
366
  gap: 16
362
367
  },
363
368
  children: [
364
- /* @__PURE__ */ f("div", {
369
+ /* @__PURE__ */ p("div", {
365
370
  style: {
366
371
  display: "flex",
367
372
  alignItems: "center",
368
373
  justifyContent: "space-between"
369
374
  },
370
- children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
371
- style: C,
372
- children: "Show Widget Borders"
373
- }), /* @__PURE__ */ d("p", {
374
- style: w,
375
- children: "Display borders around widgets in dashboards"
376
- })] }), /* @__PURE__ */ d("button", {
377
- onClick: () => y("showWidgetBorders", !e.showWidgetBorders),
375
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
376
+ style: T,
377
+ children: e("bigconsole.settings.display.widgetBorders.label", "Show Widget Borders")
378
+ }), /* @__PURE__ */ f("p", {
379
+ style: E,
380
+ children: e("bigconsole.settings.display.widgetBorders.help", "Display borders around widgets in dashboards")
381
+ })] }), /* @__PURE__ */ f("button", {
382
+ onClick: () => x("showWidgetBorders", !m.showWidgetBorders),
378
383
  role: "switch",
379
- "aria-checked": e.showWidgetBorders,
380
- "aria-label": "Show widget borders",
384
+ "aria-checked": m.showWidgetBorders,
385
+ "aria-label": e("bigconsole.settings.display.widgetBorders.label", "Show Widget Borders"),
381
386
  style: {
382
387
  width: 44,
383
388
  height: 24,
384
389
  borderRadius: 12,
385
- backgroundColor: e.showWidgetBorders ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
390
+ backgroundColor: m.showWidgetBorders ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
386
391
  border: "none",
387
392
  cursor: "pointer",
388
393
  position: "relative",
389
394
  transition: "background-color 200ms"
390
395
  },
391
- children: /* @__PURE__ */ d("div", { style: {
396
+ children: /* @__PURE__ */ f("div", { style: {
392
397
  width: 18,
393
398
  height: 18,
394
399
  borderRadius: "50%",
395
400
  backgroundColor: "white",
396
401
  position: "absolute",
397
402
  top: 3,
398
- left: e.showWidgetBorders ? 23 : 3,
403
+ left: m.showWidgetBorders ? 23 : 3,
399
404
  transition: "left 200ms"
400
405
  } })
401
406
  })]
402
407
  }),
403
- /* @__PURE__ */ f("div", {
408
+ /* @__PURE__ */ p("div", {
404
409
  style: {
405
410
  display: "flex",
406
411
  alignItems: "center",
407
412
  justifyContent: "space-between"
408
413
  },
409
- children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
410
- style: C,
411
- children: "Compact Mode"
412
- }), /* @__PURE__ */ d("p", {
413
- style: w,
414
- children: "Reduce padding and spacing for more content"
415
- })] }), /* @__PURE__ */ d("button", {
416
- onClick: () => y("compactMode", !e.compactMode),
414
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
415
+ style: T,
416
+ children: e("bigconsole.settings.display.compactMode.label", "Compact Mode")
417
+ }), /* @__PURE__ */ f("p", {
418
+ style: E,
419
+ children: e("bigconsole.settings.display.compactMode.help", "Reduce padding and spacing for more content")
420
+ })] }), /* @__PURE__ */ f("button", {
421
+ onClick: () => x("compactMode", !m.compactMode),
417
422
  role: "switch",
418
- "aria-checked": e.compactMode,
419
- "aria-label": "Compact mode",
423
+ "aria-checked": m.compactMode,
424
+ "aria-label": e("bigconsole.settings.display.compactMode.label", "Compact Mode"),
420
425
  style: {
421
426
  width: 44,
422
427
  height: 24,
423
428
  borderRadius: 12,
424
- backgroundColor: e.compactMode ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
429
+ backgroundColor: m.compactMode ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
425
430
  border: "none",
426
431
  cursor: "pointer",
427
432
  position: "relative",
428
433
  transition: "background-color 200ms"
429
434
  },
430
- children: /* @__PURE__ */ d("div", { style: {
435
+ children: /* @__PURE__ */ f("div", { style: {
431
436
  width: 18,
432
437
  height: 18,
433
438
  borderRadius: "50%",
434
439
  backgroundColor: "white",
435
440
  position: "absolute",
436
441
  top: 3,
437
- left: e.compactMode ? 23 : 3,
442
+ left: m.compactMode ? 23 : 3,
438
443
  transition: "left 200ms"
439
444
  } })
440
445
  })]
441
446
  }),
442
- /* @__PURE__ */ f("div", {
447
+ /* @__PURE__ */ p("div", {
443
448
  style: {
444
449
  display: "flex",
445
450
  alignItems: "center",
446
451
  justifyContent: "space-between"
447
452
  },
448
- children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
449
- style: C,
450
- children: "Animations"
451
- }), /* @__PURE__ */ d("p", {
452
- style: w,
453
- children: "Enable transition animations and effects"
454
- })] }), /* @__PURE__ */ d("button", {
455
- onClick: () => y("animationsEnabled", !e.animationsEnabled),
453
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
454
+ style: T,
455
+ children: e("bigconsole.settings.display.animations.label", "Animations")
456
+ }), /* @__PURE__ */ f("p", {
457
+ style: E,
458
+ children: e("bigconsole.settings.display.animations.help", "Enable transition animations and effects")
459
+ })] }), /* @__PURE__ */ f("button", {
460
+ onClick: () => x("animationsEnabled", !m.animationsEnabled),
456
461
  role: "switch",
457
- "aria-checked": e.animationsEnabled,
458
- "aria-label": "Animations",
462
+ "aria-checked": m.animationsEnabled,
463
+ "aria-label": e("bigconsole.settings.display.animations.label", "Animations"),
459
464
  style: {
460
465
  width: 44,
461
466
  height: 24,
462
467
  borderRadius: 12,
463
- backgroundColor: e.animationsEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
468
+ backgroundColor: m.animationsEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
464
469
  border: "none",
465
470
  cursor: "pointer",
466
471
  position: "relative",
467
472
  transition: "background-color 200ms"
468
473
  },
469
- children: /* @__PURE__ */ d("div", { style: {
474
+ children: /* @__PURE__ */ f("div", { style: {
470
475
  width: 18,
471
476
  height: 18,
472
477
  borderRadius: "50%",
473
478
  backgroundColor: "white",
474
479
  position: "absolute",
475
480
  top: 3,
476
- left: e.animationsEnabled ? 23 : 3,
481
+ left: m.animationsEnabled ? 23 : 3,
477
482
  transition: "left 200ms"
478
483
  } })
479
484
  })]
@@ -486,6 +491,6 @@ var _ = e(function() {
486
491
  });
487
492
  });
488
493
  //#endregion
489
- export { _ as SettingsPage, _ as default };
494
+ export { v as SettingsPage, v as default };
490
495
 
491
496
  //# sourceMappingURL=SettingsPage.js.map