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