@burdenoff/microfe-bigconsole 2026.1123.7 → 2026.1124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/bigconsole/asof/AsOfControl.js +2 -2
  2. package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
  3. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
  4. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
  5. package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
  6. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
  7. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
  8. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
  9. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
  10. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
  11. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
  12. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
  13. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
  14. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
  15. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
  16. package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
  17. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
  18. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
  19. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
  20. package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
  21. package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
  22. package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
  23. package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
  24. package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
  25. package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
  26. package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
  27. package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
  28. package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
  29. package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
  30. package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
  31. package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
  32. package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
  33. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
  34. package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
  35. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
  36. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
  37. package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
  38. package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
  39. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
  40. package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
  41. package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
  42. package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
  43. package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
  44. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
  45. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
  46. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
  47. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
  48. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
  49. package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
  50. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
  51. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
  52. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
  53. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
  54. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
  55. package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
  56. package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
  57. package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
  58. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
  59. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
  60. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
  61. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
  62. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
  63. package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
  64. package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
  65. package/dist/bigconsole/pages/AdminPage.js +147 -146
  66. package/dist/bigconsole/pages/DashboardViewPage.js +2 -0
  67. package/dist/bigconsole/pages/DashboardsPage.js +638 -855
  68. package/dist/bigconsole/pages/DataParsersPage.js +5 -0
  69. package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
  70. package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
  71. package/dist/bigconsole/pages/DataSinksPage.js +210 -186
  72. package/dist/bigconsole/pages/InsightsPage.js +386 -383
  73. package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
  74. package/dist/bigconsole/pages/ParserViewPage.js +2 -0
  75. package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
  76. package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
  77. package/dist/bigconsole/pages/PipelinesPage.js +198 -165
  78. package/dist/bigconsole/pages/SettingsPage.js +160 -160
  79. package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
  80. package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
  81. package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
  82. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
  83. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
  84. package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
  85. package/dist/bigconsole/utils/dashboardGallery.js +93 -0
  86. package/dist/bigconsole/utils/statusTone.d.ts +17 -0
  87. package/dist/bigconsole/utils/statusTone.js +44 -0
  88. package/package.json +4 -4
@@ -6,48 +6,48 @@ import { useBigConsoleSettingsSync as i } from "../hooks/useBigConsoleSettingsSy
6
6
  import { isDirty as a } from "../utils/formDirty.js";
7
7
  import { memo as o, useCallback as s, useEffect as c, useState as l } from "react";
8
8
  import { RotateCcw as u, Save as d, Settings as f } from "lucide-react";
9
- import { AuroraBackground as p, EmphasisPanel as m, GradientText as h, PagePurpose as g } from "@burdenoff/fe-libs/ui";
10
- import { useUnsavedChanges as _ } from "@burdenoff/fe-libs/shared/hooks";
11
- import { useI18n as v } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
12
- import { jsx as y, jsxs as b } from "react/jsx-runtime";
9
+ import { AuroraBackground as p, EmphasisPanel as m, GradientText as h, PagePurpose as g, ThemedSelect as _ } from "@burdenoff/fe-libs/ui";
10
+ import { useUnsavedChanges as v } from "@burdenoff/fe-libs/shared/hooks";
11
+ import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
12
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
13
13
  // src/bigconsole/pages/SettingsPage.tsx
14
- var x = o(function() {
14
+ var S = o(function() {
15
15
  let { currentUser: t, workspaceId: r, settingsExtension: i } = e();
16
- return /* @__PURE__ */ y(S, { extension: i }, n(t?.id, r));
17
- }), S = function({ extension: e }) {
18
- let { t: n } = v(), o = i(), [x, S] = l(r), [C, w] = l(!1), [T, E] = l(!1), [D, O] = l(!1), [k, A] = l(x), j = a(x, k), M = o.loaded || o.loadError, N = o.settings, [P, F] = l(N);
19
- a(N, P) && (F(N), j || (S(N), A(N))), _({
16
+ return /* @__PURE__ */ b(C, { extension: i }, n(t?.id, r));
17
+ }), C = function({ extension: e }) {
18
+ let { t: n } = y(), o = i(), [S, C] = l(r), [w, T] = l(!1), [E, D] = l(!1), [O, k] = l(!1), [A, j] = l(S), M = a(S, A), N = o.loaded || o.loadError, P = o.settings, [F, I] = l(P);
19
+ a(P, F) && (I(P), M || (C(P), j(P))), v({
20
20
  id: "bigconsole-settings",
21
21
  label: n("bigconsole.assistant.unsaved.settingsPage", "the settings page"),
22
- dirty: j
22
+ dirty: M
23
23
  }), c(() => {
24
- if (C) {
25
- let e = setTimeout(() => w(!1), 2e3);
24
+ if (w) {
25
+ let e = setTimeout(() => T(!1), 2e3);
26
26
  return () => clearTimeout(e);
27
27
  }
28
- }, [C]);
29
- let I = s((e, t) => {
30
- S((n) => ({
28
+ }, [w]);
29
+ let L = s((e, t) => {
30
+ C((n) => ({
31
31
  ...n,
32
32
  [e]: t
33
33
  }));
34
- }, []), { save: L, reset: R } = o, z = s((e, t) => {
35
- O(!1), w(t !== null), E(t === null), t && (A(t), F(t), S((n) => a(n, e) ? n : t));
36
- }, []), B = s(async () => {
37
- let e = x;
38
- O(!0), E(!1), z(e, await L(e));
34
+ }, []), { save: R, reset: z } = o, B = s((e, t) => {
35
+ k(!1), T(t !== null), D(t === null), t && (j(t), I(t), C((n) => a(n, e) ? n : t));
36
+ }, []), V = s(async () => {
37
+ let e = S;
38
+ k(!0), D(!1), B(e, await R(e));
39
39
  }, [
40
- z,
41
- L,
42
- x
43
- ]), V = s(async () => {
44
- let e = x;
45
- O(!0), E(!1), z(e, await R());
40
+ B,
41
+ R,
42
+ S
43
+ ]), H = s(async () => {
44
+ let e = S;
45
+ k(!0), D(!1), B(e, await z());
46
46
  }, [
47
+ B,
47
48
  z,
48
- R,
49
- x
50
- ]), H = {
49
+ S
50
+ ]), U = {
51
51
  width: "100%",
52
52
  padding: "8px 12px",
53
53
  borderRadius: "var(--radius-button)",
@@ -55,17 +55,17 @@ var x = o(function() {
55
55
  backgroundColor: "var(--color-bg-canvas)",
56
56
  color: "var(--color-text-primary)",
57
57
  fontSize: "var(--font-size-body-sm)"
58
- }, U = {
58
+ }, W = {
59
59
  display: "block",
60
60
  fontSize: "var(--font-size-body-sm)",
61
61
  fontWeight: "var(--font-weight-medium)",
62
62
  color: "var(--color-text-primary)",
63
63
  marginBottom: 4
64
- }, W = {
64
+ }, G = {
65
65
  fontSize: "var(--font-size-body-sm)",
66
66
  color: "var(--color-text-muted)",
67
67
  marginTop: 4
68
- }, G = {
68
+ }, K = {
69
69
  backgroundColor: "var(--color-bg-surface)",
70
70
  border: "1px solid var(--color-border-seam)",
71
71
  borderRadius: "var(--radius-card)",
@@ -73,19 +73,19 @@ var x = o(function() {
73
73
  marginBottom: "var(--space-sectionGap)",
74
74
  boxShadow: "var(--shadow-pop)"
75
75
  };
76
- return /* @__PURE__ */ y("div", {
76
+ return /* @__PURE__ */ b("div", {
77
77
  style: {
78
78
  minHeight: "100vh",
79
79
  backgroundColor: "var(--color-bg-canvas)"
80
80
  },
81
- children: /* @__PURE__ */ b("div", {
81
+ children: /* @__PURE__ */ x("div", {
82
82
  style: {
83
83
  padding: "var(--space-pagePadding)",
84
84
  maxWidth: 1440,
85
85
  margin: "0 auto"
86
86
  },
87
87
  children: [
88
- /* @__PURE__ */ b("div", {
88
+ /* @__PURE__ */ x("div", {
89
89
  className: "relative overflow-hidden rounded-card border border-border-seam bg-gloss-card p-6",
90
90
  style: {
91
91
  display: "flex",
@@ -96,25 +96,25 @@ var x = o(function() {
96
96
  gap: "var(--space-formGap)"
97
97
  },
98
98
  children: [
99
- /* @__PURE__ */ y(p, { intensity: "subtle" }),
100
- /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("div", {
99
+ /* @__PURE__ */ b(p, { intensity: "subtle" }),
100
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
101
101
  style: {
102
102
  display: "flex",
103
103
  alignItems: "center",
104
104
  gap: "var(--space-iconGap)"
105
105
  },
106
- children: [/* @__PURE__ */ y(f, {
106
+ children: [/* @__PURE__ */ b(f, {
107
107
  size: 24,
108
108
  style: { color: "var(--color-text-primary)" }
109
- }), /* @__PURE__ */ y("h1", {
109
+ }), /* @__PURE__ */ b("h1", {
110
110
  style: {
111
111
  fontSize: "var(--font-size-heading-h4)",
112
112
  fontWeight: "var(--font-weight-bold)",
113
113
  color: "var(--color-text-primary)"
114
114
  },
115
- children: /* @__PURE__ */ y(h, { children: n("bigconsole.settings.header.title", "Settings") })
115
+ children: /* @__PURE__ */ b(h, { children: n("bigconsole.settings.header.title", "Settings") })
116
116
  })]
117
- }), /* @__PURE__ */ y("p", {
117
+ }), /* @__PURE__ */ b("p", {
118
118
  style: {
119
119
  fontSize: "var(--font-size-body-md)",
120
120
  color: "var(--color-text-secondary)",
@@ -122,14 +122,14 @@ var x = o(function() {
122
122
  },
123
123
  children: n("bigconsole.settings.header.subtitle", "Configure BigConsole preferences")
124
124
  })] }),
125
- /* @__PURE__ */ b("div", {
125
+ /* @__PURE__ */ x("div", {
126
126
  style: {
127
127
  display: "flex",
128
128
  gap: 8
129
129
  },
130
- children: [/* @__PURE__ */ b("button", {
131
- onClick: () => void V(),
132
- disabled: D || !M,
130
+ children: [/* @__PURE__ */ x("button", {
131
+ onClick: () => void H(),
132
+ disabled: O || !N,
133
133
  style: {
134
134
  display: "flex",
135
135
  alignItems: "center",
@@ -143,22 +143,22 @@ var x = o(function() {
143
143
  cursor: "pointer"
144
144
  },
145
145
  children: [
146
- /* @__PURE__ */ y(u, { size: 14 }),
146
+ /* @__PURE__ */ b(u, { size: 14 }),
147
147
  " ",
148
148
  n("bigconsole.settings.actions.reset", "Reset")
149
149
  ]
150
- }), /* @__PURE__ */ b("button", {
151
- onClick: () => void B(),
152
- disabled: D || !M,
153
- "aria-busy": D,
150
+ }), /* @__PURE__ */ x("button", {
151
+ onClick: () => void V(),
152
+ disabled: O || !N,
153
+ "aria-busy": O,
154
154
  style: {
155
155
  display: "flex",
156
156
  alignItems: "center",
157
157
  gap: 6,
158
158
  padding: "8px 16px",
159
159
  borderRadius: "var(--radius-button)",
160
- backgroundColor: C ? "var(--color-status-success-bg)" : "var(--color-action-primary-bg)",
161
- color: "var(--color-action-primary-text)",
160
+ backgroundColor: w ? "var(--color-status-success-bgSubtle)" : "var(--color-action-primary-bg)",
161
+ color: w ? "var(--color-status-success-text)" : "var(--color-action-primary-text)",
162
162
  fontWeight: "var(--font-weight-medium)",
163
163
  fontSize: "var(--font-size-body-sm)",
164
164
  border: "none",
@@ -166,36 +166,36 @@ var x = o(function() {
166
166
  transition: "background-color 200ms"
167
167
  },
168
168
  children: [
169
- /* @__PURE__ */ y(d, { size: 14 }),
169
+ /* @__PURE__ */ b(d, { size: 14 }),
170
170
  " ",
171
- D ? n("bigconsole.settings.actions.saving", "Saving…") : C ? n("bigconsole.settings.actions.savedToAccount", "Saved") : n("bigconsole.settings.actions.saveToAccount", "Save")
171
+ O ? n("bigconsole.settings.actions.saving", "Saving…") : w ? n("bigconsole.settings.actions.savedToAccount", "Saved") : n("bigconsole.settings.actions.saveToAccount", "Save")
172
172
  ]
173
173
  })]
174
174
  })
175
175
  ]
176
176
  }),
177
- T && /* @__PURE__ */ y("p", {
177
+ E && /* @__PURE__ */ b("p", {
178
178
  role: "alert",
179
179
  className: "mb-form-gap text-status-error-text",
180
180
  children: n("bigconsole.settings.actions.saveFailed", "Your preferences could not be saved. Check your connection and try again.")
181
181
  }),
182
- o.loadError && /* @__PURE__ */ y("p", {
182
+ o.loadError && /* @__PURE__ */ b("p", {
183
183
  role: "status",
184
184
  className: "mb-form-gap text-text-muted",
185
185
  children: n("bigconsole.settings.loadFailed", "Your saved preferences could not be loaded. The values shown are the last ones this browser used.")
186
186
  }),
187
- /* @__PURE__ */ y(g, {
187
+ /* @__PURE__ */ b(g, {
188
188
  className: "mb-[var(--space-sectionGap)]",
189
189
  children: n("bigconsole.settings.accountDefaultsPurpose", "These defaults apply when you add dashboard pages, widgets and data sinks, and display preferences update existing widgets. They are saved to your account for this workspace, so they follow you on every device and browser. They do not change existing page layouts, widget refresh schedules or data sink cache settings, and are not shared with your team.")
190
190
  }),
191
- /* @__PURE__ */ b("fieldset", {
192
- disabled: !M,
193
- "aria-busy": !M,
191
+ /* @__PURE__ */ x("fieldset", {
192
+ disabled: !N,
193
+ "aria-busy": !N,
194
194
  className: "m-0 min-w-0 border-0 p-0",
195
195
  children: [
196
- /* @__PURE__ */ b(m, {
196
+ /* @__PURE__ */ x(m, {
197
197
  className: "mb-[var(--space-sectionGap)] p-[var(--space-cardPadding)]",
198
- children: [/* @__PURE__ */ y("h2", {
198
+ children: [/* @__PURE__ */ b("h2", {
199
199
  style: {
200
200
  fontSize: "var(--font-size-body-md)",
201
201
  fontWeight: "var(--font-weight-semibold)",
@@ -203,98 +203,98 @@ var x = o(function() {
203
203
  marginBottom: 16
204
204
  },
205
205
  children: n("bigconsole.settings.dashboardDefaults.title", "Dashboard Defaults")
206
- }), /* @__PURE__ */ b("div", {
206
+ }), /* @__PURE__ */ x("div", {
207
207
  className: "grid gap-form-gap md:grid-cols-3",
208
208
  children: [
209
- /* @__PURE__ */ b("div", { children: [
210
- /* @__PURE__ */ y("label", {
209
+ /* @__PURE__ */ x("div", { children: [
210
+ /* @__PURE__ */ b("label", {
211
211
  htmlFor: "grid-cols",
212
- style: U,
212
+ style: W,
213
213
  children: n("bigconsole.settings.dashboardDefaults.gridColumns.label", "Grid Columns")
214
214
  }),
215
- /* @__PURE__ */ y("input", {
215
+ /* @__PURE__ */ b("input", {
216
216
  id: "grid-cols",
217
217
  type: "number",
218
218
  min: 4,
219
219
  max: 24,
220
- value: x.defaultGridColumns,
221
- onChange: (e) => I("defaultGridColumns", Math.min(24, Math.max(4, Number(e.target.value) || 12))),
222
- style: H
220
+ value: S.defaultGridColumns,
221
+ onChange: (e) => L("defaultGridColumns", Math.min(24, Math.max(4, Number(e.target.value) || 12))),
222
+ style: U
223
223
  }),
224
- /* @__PURE__ */ y("p", {
225
- style: W,
224
+ /* @__PURE__ */ b("p", {
225
+ style: G,
226
226
  children: n("bigconsole.settings.dashboardDefaults.gridColumns.help", "Number of columns in the dashboard grid (4-24)")
227
227
  })
228
228
  ] }),
229
- /* @__PURE__ */ b("div", { children: [
230
- /* @__PURE__ */ y("label", {
229
+ /* @__PURE__ */ x("div", { children: [
230
+ /* @__PURE__ */ b("label", {
231
231
  htmlFor: "widget-height",
232
- style: U,
232
+ style: W,
233
233
  children: n("bigconsole.settings.dashboardDefaults.widgetHeight.label", "Default Widget Height")
234
234
  }),
235
- /* @__PURE__ */ y("input", {
235
+ /* @__PURE__ */ b("input", {
236
236
  id: "widget-height",
237
237
  type: "number",
238
238
  min: 2,
239
239
  max: 12,
240
- value: x.defaultWidgetHeight,
241
- onChange: (e) => I("defaultWidgetHeight", Math.min(12, Math.max(2, Number(e.target.value) || 4))),
242
- style: H
240
+ value: S.defaultWidgetHeight,
241
+ onChange: (e) => L("defaultWidgetHeight", Math.min(12, Math.max(2, Number(e.target.value) || 4))),
242
+ style: U
243
243
  }),
244
- /* @__PURE__ */ y("p", {
245
- style: W,
244
+ /* @__PURE__ */ b("p", {
245
+ style: G,
246
246
  children: n("bigconsole.settings.dashboardDefaults.widgetHeight.help", "Default height units for new widgets (2-12)")
247
247
  })
248
248
  ] }),
249
- /* @__PURE__ */ b("div", { children: [
250
- /* @__PURE__ */ y("label", {
249
+ /* @__PURE__ */ x("div", { children: [
250
+ /* @__PURE__ */ b("label", {
251
251
  htmlFor: "refresh-interval",
252
- style: U,
252
+ style: W,
253
253
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.label", "Auto-Refresh Interval (seconds)")
254
254
  }),
255
- /* @__PURE__ */ b("select", {
255
+ /* @__PURE__ */ x(_, {
256
256
  id: "refresh-interval",
257
- value: x.defaultRefreshInterval,
258
- onChange: (e) => I("defaultRefreshInterval", parseInt(e.target.value)),
259
- style: H,
257
+ value: S.defaultRefreshInterval,
258
+ onChange: (e) => L("defaultRefreshInterval", parseInt(e.target.value)),
259
+ style: U,
260
260
  children: [
261
- /* @__PURE__ */ y("option", {
261
+ /* @__PURE__ */ b("option", {
262
262
  value: 0,
263
263
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.disabled", "Disabled")
264
264
  }),
265
- /* @__PURE__ */ y("option", {
265
+ /* @__PURE__ */ b("option", {
266
266
  value: 10,
267
267
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.seconds10", "10 seconds")
268
268
  }),
269
- /* @__PURE__ */ y("option", {
269
+ /* @__PURE__ */ b("option", {
270
270
  value: 30,
271
271
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.seconds30", "30 seconds")
272
272
  }),
273
- /* @__PURE__ */ y("option", {
273
+ /* @__PURE__ */ b("option", {
274
274
  value: 60,
275
275
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.minute1", "1 minute")
276
276
  }),
277
- /* @__PURE__ */ y("option", {
277
+ /* @__PURE__ */ b("option", {
278
278
  value: 300,
279
279
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.minutes5", "5 minutes")
280
280
  }),
281
- /* @__PURE__ */ y("option", {
281
+ /* @__PURE__ */ b("option", {
282
282
  value: 600,
283
283
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.minutes10", "10 minutes")
284
284
  })
285
285
  ]
286
286
  }),
287
- /* @__PURE__ */ y("p", {
288
- style: W,
287
+ /* @__PURE__ */ b("p", {
288
+ style: G,
289
289
  children: n("bigconsole.settings.dashboardDefaults.refreshInterval.help", "How often widgets refresh their data automatically")
290
290
  })
291
291
  ] })
292
292
  ]
293
293
  })]
294
294
  }),
295
- /* @__PURE__ */ b("div", {
296
- style: G,
297
- children: [/* @__PURE__ */ y("h2", {
295
+ /* @__PURE__ */ x("div", {
296
+ style: K,
297
+ children: [/* @__PURE__ */ b("h2", {
298
298
  style: {
299
299
  fontSize: "var(--font-size-body-md)",
300
300
  fontWeight: "var(--font-weight-semibold)",
@@ -302,72 +302,72 @@ var x = o(function() {
302
302
  marginBottom: 16
303
303
  },
304
304
  children: n("bigconsole.settings.cache.title", "Cache")
305
- }), /* @__PURE__ */ b("div", {
305
+ }), /* @__PURE__ */ x("div", {
306
306
  className: "grid gap-form-gap md:grid-cols-2",
307
- children: [/* @__PURE__ */ b("div", {
307
+ children: [/* @__PURE__ */ x("div", {
308
308
  style: {
309
309
  display: "flex",
310
310
  alignItems: "center",
311
311
  justifyContent: "space-between"
312
312
  },
313
- children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
314
- style: U,
315
- children: n("bigconsole.settings.cache.enable.label", "Enable Cache")
316
- }), /* @__PURE__ */ y("p", {
313
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
317
314
  style: W,
315
+ children: n("bigconsole.settings.cache.enable.label", "Enable Cache")
316
+ }), /* @__PURE__ */ b("p", {
317
+ style: G,
318
318
  children: n("bigconsole.settings.cache.newSinkHelp", "Enable caching by default for new data sinks")
319
- })] }), /* @__PURE__ */ y("button", {
320
- onClick: () => I("cacheEnabled", !x.cacheEnabled),
319
+ })] }), /* @__PURE__ */ b("button", {
320
+ onClick: () => L("cacheEnabled", !S.cacheEnabled),
321
321
  role: "switch",
322
- "aria-checked": x.cacheEnabled,
322
+ "aria-checked": S.cacheEnabled,
323
323
  "aria-label": n("bigconsole.settings.cache.enable.label", "Enable Cache"),
324
324
  style: {
325
325
  width: 44,
326
326
  flexShrink: 0,
327
327
  height: 24,
328
328
  borderRadius: 12,
329
- backgroundColor: x.cacheEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
329
+ backgroundColor: S.cacheEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
330
330
  border: "none",
331
331
  cursor: "pointer",
332
332
  position: "relative",
333
333
  transition: "background-color 200ms"
334
334
  },
335
- children: /* @__PURE__ */ y("div", { style: {
335
+ children: /* @__PURE__ */ b("div", { style: {
336
336
  width: 18,
337
337
  height: 18,
338
338
  borderRadius: "50%",
339
339
  backgroundColor: "var(--color-action-primary-text)",
340
340
  position: "absolute",
341
341
  top: 3,
342
- left: x.cacheEnabled ? 23 : 3,
342
+ left: S.cacheEnabled ? 23 : 3,
343
343
  transition: "left 200ms"
344
344
  } })
345
345
  })]
346
- }), x.cacheEnabled && /* @__PURE__ */ b("div", { children: [
347
- /* @__PURE__ */ y("label", {
346
+ }), S.cacheEnabled && /* @__PURE__ */ x("div", { children: [
347
+ /* @__PURE__ */ b("label", {
348
348
  htmlFor: "cache-ttl",
349
- style: U,
349
+ style: W,
350
350
  children: n("bigconsole.settings.cache.ttl.label", "Cache TTL (seconds)")
351
351
  }),
352
- /* @__PURE__ */ y("input", {
352
+ /* @__PURE__ */ b("input", {
353
353
  id: "cache-ttl",
354
354
  type: "number",
355
355
  min: 30,
356
356
  max: 3600,
357
- value: x.cacheTTLSeconds,
358
- onChange: (e) => I("cacheTTLSeconds", Math.min(3600, Math.max(30, Number(e.target.value) || 300))),
359
- style: H
357
+ value: S.cacheTTLSeconds,
358
+ onChange: (e) => L("cacheTTLSeconds", Math.min(3600, Math.max(30, Number(e.target.value) || 300))),
359
+ style: U
360
360
  }),
361
- /* @__PURE__ */ y("p", {
362
- style: W,
361
+ /* @__PURE__ */ b("p", {
362
+ style: G,
363
363
  children: n("bigconsole.settings.cache.ttl.help", "How long cached data is considered fresh (30-3600)")
364
364
  })
365
365
  ] })]
366
366
  })]
367
367
  }),
368
- /* @__PURE__ */ b("div", {
369
- style: G,
370
- children: [/* @__PURE__ */ y("h2", {
368
+ /* @__PURE__ */ x("div", {
369
+ style: K,
370
+ children: [/* @__PURE__ */ b("h2", {
371
371
  style: {
372
372
  fontSize: "var(--font-size-body-md)",
373
373
  fontWeight: "var(--font-weight-semibold)",
@@ -375,125 +375,125 @@ var x = o(function() {
375
375
  marginBottom: 16
376
376
  },
377
377
  children: n("bigconsole.settings.display.title", "Display")
378
- }), /* @__PURE__ */ b("div", {
378
+ }), /* @__PURE__ */ x("div", {
379
379
  className: "grid gap-form-gap md:grid-cols-3",
380
380
  children: [
381
- /* @__PURE__ */ b("div", {
381
+ /* @__PURE__ */ x("div", {
382
382
  style: {
383
383
  display: "flex",
384
384
  alignItems: "center",
385
385
  justifyContent: "space-between"
386
386
  },
387
- children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
388
- style: U,
389
- children: n("bigconsole.settings.display.widgetBorders.label", "Show Widget Borders")
390
- }), /* @__PURE__ */ y("p", {
387
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
391
388
  style: W,
389
+ children: n("bigconsole.settings.display.widgetBorders.label", "Show Widget Borders")
390
+ }), /* @__PURE__ */ b("p", {
391
+ style: G,
392
392
  children: n("bigconsole.settings.display.widgetBorders.help", "Display borders around widgets in dashboards")
393
- })] }), /* @__PURE__ */ y("button", {
394
- onClick: () => I("showWidgetBorders", !x.showWidgetBorders),
393
+ })] }), /* @__PURE__ */ b("button", {
394
+ onClick: () => L("showWidgetBorders", !S.showWidgetBorders),
395
395
  role: "switch",
396
- "aria-checked": x.showWidgetBorders,
396
+ "aria-checked": S.showWidgetBorders,
397
397
  "aria-label": n("bigconsole.settings.display.widgetBorders.label", "Show Widget Borders"),
398
398
  style: {
399
399
  width: 44,
400
400
  flexShrink: 0,
401
401
  height: 24,
402
402
  borderRadius: 12,
403
- backgroundColor: x.showWidgetBorders ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
403
+ backgroundColor: S.showWidgetBorders ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
404
404
  border: "none",
405
405
  cursor: "pointer",
406
406
  position: "relative",
407
407
  transition: "background-color 200ms"
408
408
  },
409
- children: /* @__PURE__ */ y("div", { style: {
409
+ children: /* @__PURE__ */ b("div", { style: {
410
410
  width: 18,
411
411
  height: 18,
412
412
  borderRadius: "50%",
413
413
  backgroundColor: "var(--color-action-primary-text)",
414
414
  position: "absolute",
415
415
  top: 3,
416
- left: x.showWidgetBorders ? 23 : 3,
416
+ left: S.showWidgetBorders ? 23 : 3,
417
417
  transition: "left 200ms"
418
418
  } })
419
419
  })]
420
420
  }),
421
- /* @__PURE__ */ b("div", {
421
+ /* @__PURE__ */ x("div", {
422
422
  style: {
423
423
  display: "flex",
424
424
  alignItems: "center",
425
425
  justifyContent: "space-between"
426
426
  },
427
- children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
428
- style: U,
429
- children: n("bigconsole.settings.display.compactMode.label", "Compact Mode")
430
- }), /* @__PURE__ */ y("p", {
427
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
431
428
  style: W,
429
+ children: n("bigconsole.settings.display.compactMode.label", "Compact Mode")
430
+ }), /* @__PURE__ */ b("p", {
431
+ style: G,
432
432
  children: n("bigconsole.settings.display.compactMode.help", "Reduce padding and spacing for more content")
433
- })] }), /* @__PURE__ */ y("button", {
434
- onClick: () => I("compactMode", !x.compactMode),
433
+ })] }), /* @__PURE__ */ b("button", {
434
+ onClick: () => L("compactMode", !S.compactMode),
435
435
  role: "switch",
436
- "aria-checked": x.compactMode,
436
+ "aria-checked": S.compactMode,
437
437
  "aria-label": n("bigconsole.settings.display.compactMode.label", "Compact Mode"),
438
438
  style: {
439
439
  width: 44,
440
440
  flexShrink: 0,
441
441
  height: 24,
442
442
  borderRadius: 12,
443
- backgroundColor: x.compactMode ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
443
+ backgroundColor: S.compactMode ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
444
444
  border: "none",
445
445
  cursor: "pointer",
446
446
  position: "relative",
447
447
  transition: "background-color 200ms"
448
448
  },
449
- children: /* @__PURE__ */ y("div", { style: {
449
+ children: /* @__PURE__ */ b("div", { style: {
450
450
  width: 18,
451
451
  height: 18,
452
452
  borderRadius: "50%",
453
453
  backgroundColor: "var(--color-action-primary-text)",
454
454
  position: "absolute",
455
455
  top: 3,
456
- left: x.compactMode ? 23 : 3,
456
+ left: S.compactMode ? 23 : 3,
457
457
  transition: "left 200ms"
458
458
  } })
459
459
  })]
460
460
  }),
461
- /* @__PURE__ */ b("div", {
461
+ /* @__PURE__ */ x("div", {
462
462
  style: {
463
463
  display: "flex",
464
464
  alignItems: "center",
465
465
  justifyContent: "space-between"
466
466
  },
467
- children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
468
- style: U,
469
- children: n("bigconsole.settings.display.animations.label", "Animations")
470
- }), /* @__PURE__ */ y("p", {
467
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
471
468
  style: W,
469
+ children: n("bigconsole.settings.display.animations.label", "Animations")
470
+ }), /* @__PURE__ */ b("p", {
471
+ style: G,
472
472
  children: n("bigconsole.settings.display.animations.help", "Enable transition animations and effects")
473
- })] }), /* @__PURE__ */ y("button", {
474
- onClick: () => I("animationsEnabled", !x.animationsEnabled),
473
+ })] }), /* @__PURE__ */ b("button", {
474
+ onClick: () => L("animationsEnabled", !S.animationsEnabled),
475
475
  role: "switch",
476
- "aria-checked": x.animationsEnabled,
476
+ "aria-checked": S.animationsEnabled,
477
477
  "aria-label": n("bigconsole.settings.display.animations.label", "Animations"),
478
478
  style: {
479
479
  width: 44,
480
480
  flexShrink: 0,
481
481
  height: 24,
482
482
  borderRadius: 12,
483
- backgroundColor: x.animationsEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
483
+ backgroundColor: S.animationsEnabled ? "var(--color-action-primary-bg)" : "var(--color-bg-sunken)",
484
484
  border: "none",
485
485
  cursor: "pointer",
486
486
  position: "relative",
487
487
  transition: "background-color 200ms"
488
488
  },
489
- children: /* @__PURE__ */ y("div", { style: {
489
+ children: /* @__PURE__ */ b("div", { style: {
490
490
  width: 18,
491
491
  height: 18,
492
492
  borderRadius: "50%",
493
493
  backgroundColor: "var(--color-action-primary-text)",
494
494
  position: "absolute",
495
495
  top: 3,
496
- left: x.animationsEnabled ? 23 : 3,
496
+ left: S.animationsEnabled ? 23 : 3,
497
497
  transition: "left 200ms"
498
498
  } })
499
499
  })]
@@ -503,8 +503,8 @@ var x = o(function() {
503
503
  })
504
504
  ]
505
505
  }),
506
- /* @__PURE__ */ y(t, {}),
507
- e ? /* @__PURE__ */ y("div", {
506
+ /* @__PURE__ */ b(t, {}),
507
+ e ? /* @__PURE__ */ b("div", {
508
508
  "data-testid": "bigconsole-settings-extension",
509
509
  children: e
510
510
  }) : null
@@ -512,4 +512,4 @@ var x = o(function() {
512
512
  })
513
513
  });
514
514
  };
515
- export { x as SettingsPage, x as default };
515
+ export { S as SettingsPage, S as default };