@burdenoff/microfe-bigconsole 2026.1012.4 → 2026.1012.6

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 (130) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +149 -140
  2. package/dist/bigconsole/assistant/assistantProduct.js +4 -1
  3. package/dist/bigconsole/assistant/displayCopy.d.ts +32 -0
  4. package/dist/bigconsole/assistant/pageContext.d.ts +14 -0
  5. package/dist/bigconsole/assistant/pageContext.js +6 -1
  6. package/dist/bigconsole/assistant/pageControls.d.ts +81 -0
  7. package/dist/bigconsole/assistant/pageControls.js +169 -0
  8. package/dist/bigconsole/assistant/previewControl.d.ts +16 -0
  9. package/dist/bigconsole/assistant/previewControl.js +10 -0
  10. package/dist/bigconsole/assistant/recordAdapters.js +27 -26
  11. package/dist/bigconsole/assistant/usePreviewControl.d.ts +2 -0
  12. package/dist/bigconsole/assistant/usePreviewControl.js +20 -0
  13. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +9 -9
  14. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  15. package/dist/bigconsole/components/common/SortBySelect.d.ts +11 -0
  16. package/dist/bigconsole/components/common/SortBySelect.js +29 -0
  17. package/dist/bigconsole/components/common/index.d.ts +1 -0
  18. package/dist/bigconsole/components/common/index.js +1 -0
  19. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  20. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  21. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  22. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
  23. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  24. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  25. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  26. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  27. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +153 -153
  28. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
  29. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  30. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +134 -134
  31. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  32. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  33. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  34. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  35. package/dist/bigconsole/components/dashboard/WidgetPalette.js +46 -46
  36. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  37. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  38. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  39. package/dist/bigconsole/components/datasink/DataSinkCard.js +51 -50
  40. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  41. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  42. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  43. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  44. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  45. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  46. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  47. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  48. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  49. package/dist/bigconsole/components/preview/AiPreviewContent.js +0 -1
  50. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +77 -76
  51. package/dist/bigconsole/components/preview/AiPreviewPanel.js +96 -95
  52. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  53. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  54. package/dist/bigconsole/components/widgets/PropertiesPanel.js +507 -499
  55. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +14 -14
  56. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +68 -67
  57. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +7 -0
  58. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.js +12 -0
  59. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  60. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  61. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  62. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  63. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  64. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  65. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  66. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  67. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  68. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  69. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  70. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  71. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  72. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  73. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  74. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  75. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  76. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  77. package/dist/bigconsole/constants/backendErrors.js +94 -0
  78. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
  79. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
  80. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +14 -0
  81. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +32 -0
  82. package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +23 -0
  83. package/dist/bigconsole/hooks/useDataSinkAlerts.js +138 -113
  84. package/dist/bigconsole/hooks/useDrilldown.js +3 -3
  85. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  86. package/dist/bigconsole/pages/AdminPage.js +130 -130
  87. package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
  88. package/dist/bigconsole/pages/DashboardViewPage.js +244 -221
  89. package/dist/bigconsole/pages/DashboardsPage.js +269 -221
  90. package/dist/bigconsole/pages/DataParsersPage.js +180 -157
  91. package/dist/bigconsole/pages/DataSinkAlertsPage.js +62 -55
  92. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -234
  93. package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
  94. package/dist/bigconsole/pages/DataSinksPage.js +335 -299
  95. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  96. package/dist/bigconsole/pages/InsightsPage.js +279 -265
  97. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  98. package/dist/bigconsole/pages/ParserBuilderPage.js +229 -213
  99. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  100. package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
  101. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  102. package/dist/bigconsole/pages/PipelinesPage.js +107 -88
  103. package/dist/bigconsole/pages/SettingsPage.js +179 -173
  104. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  105. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  106. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  107. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  108. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  109. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +69 -69
  110. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  111. package/dist/bigconsole/store/widgetStore.d.ts +12 -0
  112. package/dist/bigconsole/store/widgetStore.js +3 -1
  113. package/dist/bigconsole/utils/backendError.d.ts +18 -0
  114. package/dist/bigconsole/utils/backendError.js +42 -0
  115. package/dist/bigconsole/utils/dashboardList.d.ts +28 -0
  116. package/dist/bigconsole/utils/dashboardList.js +15 -0
  117. package/dist/bigconsole/utils/dataSinkList.d.ts +15 -0
  118. package/dist/bigconsole/utils/dataSinkList.js +15 -0
  119. package/dist/bigconsole/utils/formDirty.d.ts +82 -0
  120. package/dist/bigconsole/utils/formDirty.js +21 -0
  121. package/dist/bigconsole/utils/insightsDraft.d.ts +29 -0
  122. package/dist/bigconsole/utils/insightsDraft.js +8 -0
  123. package/dist/bigconsole/utils/layoutBaseline.d.ts +130 -0
  124. package/dist/bigconsole/utils/layoutBaseline.js +96 -0
  125. package/dist/bigconsole/utils/listSort.d.ts +80 -0
  126. package/dist/bigconsole/utils/listSort.js +85 -0
  127. package/dist/bigconsole/utils/widgetFormDirty.d.ts +16 -0
  128. package/dist/bigconsole/utils/widgetFormDirty.js +13 -0
  129. package/dist/bigconsole/workflowOpen.js +15 -14
  130. package/package.json +3 -3
@@ -1,14 +1,14 @@
1
1
  import e from "../../hooks/useStoreDashboardTemplates.js";
2
2
  import { memo as t, useCallback as n, useEffect as r, useState as i } from "react";
3
3
  import { Button as a, Dialog as o, DialogContent as s, DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d, Input as f, Spinner as p, Textarea as m } from "@burdenoff/fe-libs/ui";
4
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
5
- import { useI18n as _ } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
4
+ import { useI18n as h } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
5
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
6
6
  //#region src/bigconsole/components/dashboard/PublishToStoreDialog.tsx
7
7
  function v(e) {
8
8
  return e.toLowerCase().split(/[^a-z0-9]+/).filter(Boolean).join("-").slice(0, 60);
9
9
  }
10
10
  var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescription: x, onClose: S, onPublished: C }) {
11
- let { t: w } = _(), { publishToStore: T } = e({ autoLoad: !1 }), [E, D] = i(b), [O, k] = i(v(b)), [A, j] = i(x ?? ""), [M, N] = i(!1), [P, F] = i(!1), [I, L] = i(null), [R, z] = i(null);
11
+ let { t: w } = h(), { publishToStore: T } = e({ autoLoad: !1 }), [E, D] = i(b), [O, k] = i(v(b)), [A, j] = i(x ?? ""), [M, N] = i(!1), [P, F] = i(!1), [I, L] = i(null), [R, z] = i(null);
12
12
  r(() => {
13
13
  t && (D(b), k(v(b)), j(x ?? ""), N(!1), L(null), z(null));
14
14
  }, [
@@ -60,28 +60,28 @@ var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescr
60
60
  marginBottom: "var(--space-2xs)",
61
61
  fontSize: "var(--font-size-sm)"
62
62
  };
63
- return /* @__PURE__ */ h(o, {
63
+ return /* @__PURE__ */ g(o, {
64
64
  open: t,
65
65
  onOpenChange: (e) => !e && !P && S(),
66
- children: /* @__PURE__ */ g(s, {
66
+ children: /* @__PURE__ */ _(s, {
67
67
  style: { maxWidth: "520px" },
68
68
  children: [
69
- /* @__PURE__ */ g(u, { children: [/* @__PURE__ */ h(d, { children: w("bigconsole.dashboards.publishStore.title", "Publish as Template") }), /* @__PURE__ */ h(c, { children: w("bigconsole.dashboards.publishStore.subtitle", "Share this dashboard as a reusable template. Your data sources are replaced with named slots, so nothing from this workspace is published.") })] }),
70
- R ? /* @__PURE__ */ g("div", {
69
+ /* @__PURE__ */ _(u, { children: [/* @__PURE__ */ g(d, { children: w("bigconsole.dashboards.publishStore.title", "Publish as Template") }), /* @__PURE__ */ g(c, { children: w("bigconsole.dashboards.publishStore.subtitle", "Share this dashboard as a reusable template. Your data sources are replaced with named slots, so nothing from this workspace is published.") })] }),
70
+ R ? /* @__PURE__ */ _("div", {
71
71
  style: { padding: "var(--space-md) 0" },
72
72
  children: [
73
- /* @__PURE__ */ h("p", {
73
+ /* @__PURE__ */ g("p", {
74
74
  style: { fontWeight: "var(--font-weight-medium)" },
75
75
  children: w("bigconsole.dashboards.publishStore.result.title", "Draft template created")
76
76
  }),
77
- /* @__PURE__ */ h("p", {
77
+ /* @__PURE__ */ g("p", {
78
78
  style: {
79
79
  fontSize: "var(--font-size-sm)",
80
80
  color: "var(--color-text-muted)"
81
81
  },
82
82
  children: R.sinkCount === 1 ? w("bigconsole.dashboards.publishStore.result.sinksOne", "{{count}} data source turned into slots. Finish in the Developer Portal: review the listing, then submit it for approval. It appears in the gallery once approved.", { count: R.sinkCount ?? "" }) : w("bigconsole.dashboards.publishStore.result.sinksMany", "{{count}} data sources turned into slots. Finish in the Developer Portal: review the listing, then submit it for approval. It appears in the gallery once approved.", { count: R.sinkCount ?? "" })
83
83
  }),
84
- R.unknownSinkIds.length > 0 && /* @__PURE__ */ h("p", {
84
+ R.unknownSinkIds.length > 0 && /* @__PURE__ */ g("p", {
85
85
  style: {
86
86
  fontSize: "var(--font-size-sm)",
87
87
  color: "var(--color-text-warning)"
@@ -89,18 +89,18 @@ var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescr
89
89
  children: R.unknownSinkIds.length === 1 ? w("bigconsole.dashboards.publishStore.result.unknownOne", "{{count}} data source could not be named — those slots use generic labels.", { count: R.unknownSinkIds.length ?? "" }) : w("bigconsole.dashboards.publishStore.result.unknownMany", "{{count}} data sources could not be named — those slots use generic labels.", { count: R.unknownSinkIds.length ?? "" })
90
90
  })
91
91
  ]
92
- }) : /* @__PURE__ */ g("div", {
92
+ }) : /* @__PURE__ */ _("div", {
93
93
  style: {
94
94
  display: "flex",
95
95
  flexDirection: "column",
96
96
  gap: "var(--space-sm)"
97
97
  },
98
98
  children: [
99
- /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
99
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
100
100
  htmlFor: "tpl-name",
101
101
  style: V,
102
102
  children: w("bigconsole.dashboards.publishStore.field.name", "Template name")
103
- }), /* @__PURE__ */ h(f, {
103
+ }), /* @__PURE__ */ g(f, {
104
104
  id: "tpl-name",
105
105
  value: E,
106
106
  disabled: P,
@@ -108,21 +108,21 @@ var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescr
108
108
  D(e.target.value), k(v(e.target.value));
109
109
  }
110
110
  })] }),
111
- /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
111
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
112
112
  htmlFor: "tpl-slug",
113
113
  style: V,
114
114
  children: w("bigconsole.dashboards.publishStore.field.slug", "Slug")
115
- }), /* @__PURE__ */ h(f, {
115
+ }), /* @__PURE__ */ g(f, {
116
116
  id: "tpl-slug",
117
117
  value: O,
118
118
  disabled: P,
119
119
  onChange: (e) => k(v(e.target.value))
120
120
  })] }),
121
- /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
121
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
122
122
  htmlFor: "tpl-desc",
123
123
  style: V,
124
124
  children: w("bigconsole.dashboards.publishStore.field.description", "Description")
125
- }), /* @__PURE__ */ h(m, {
125
+ }), /* @__PURE__ */ g(m, {
126
126
  id: "tpl-desc",
127
127
  rows: 3,
128
128
  value: A,
@@ -130,7 +130,7 @@ var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescr
130
130
  placeholder: w("bigconsole.dashboards.publishStore.field.descriptionPlaceholder", "What is this dashboard for, and what data does it need?"),
131
131
  onChange: (e) => j(e.target.value)
132
132
  })] }),
133
- I && /* @__PURE__ */ h("p", {
133
+ I && /* @__PURE__ */ g("p", {
134
134
  style: {
135
135
  color: "var(--color-text-danger)",
136
136
  fontSize: "var(--font-size-sm)"
@@ -139,15 +139,15 @@ var y = t(function({ isOpen: t, dashboardId: y, dashboardName: b, dashboardDescr
139
139
  })
140
140
  ]
141
141
  }),
142
- /* @__PURE__ */ g(l, { children: [/* @__PURE__ */ h(a, {
142
+ /* @__PURE__ */ _(l, { children: [/* @__PURE__ */ g(a, {
143
143
  variant: "outline",
144
144
  onClick: S,
145
145
  disabled: P,
146
146
  children: R ? w("bigconsole.dashboards.publishStore.action.done", "Done") : w("bigconsole.dashboards.publishStore.action.cancel", "Cancel")
147
- }), !R && /* @__PURE__ */ h(a, {
147
+ }), !R && /* @__PURE__ */ g(a, {
148
148
  onClick: B,
149
149
  disabled: P,
150
- children: P ? /* @__PURE__ */ h(p, {}) : w("bigconsole.dashboards.publishStore.action.publish", "Publish")
150
+ children: P ? /* @__PURE__ */ g(p, {}) : w("bigconsole.dashboards.publishStore.action.publish", "Publish")
151
151
  })] })
152
152
  ]
153
153
  })
@@ -3,8 +3,8 @@ import t from "../../../hooks/useDashboardViews.js";
3
3
  import "../../../hooks/index.js";
4
4
  import { SEMANTIC_COLORS as n } from "../../../utils/semanticTokens.js";
5
5
  import { useCallback as r, useEffect as i, useRef as a, useState as o } from "react";
6
- import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
7
- import { useI18n as u } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
6
+ import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
7
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  import { createPortal as d } from "react-dom";
9
9
  //#region src/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.tsx
10
10
  function f() {
@@ -22,7 +22,7 @@ function f() {
22
22
  }, []), e ? "#1f2937" : "#ffffff";
23
23
  }
24
24
  function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g, className: _ = "" }) {
25
- let { t: v } = u(), { views: y, currentView: b, loading: x, fetchViews: S, saveCurrentView: C, loadView: w, updateView: T, deleteView: E, setAsDefault: D, clearCurrentView: O } = t(), [k, A] = o(!1), [j, M] = o(!1), [N, P] = o(""), [F, I] = o(""), [L, R] = o(!1), [z, B] = o({
25
+ let { t: v } = s(), { views: y, currentView: b, loading: x, fetchViews: S, saveCurrentView: C, loadView: w, updateView: T, deleteView: E, setAsDefault: D, clearCurrentView: O } = t(), [k, A] = o(!1), [j, M] = o(!1), [N, P] = o(""), [F, I] = o(""), [L, R] = o(!1), [z, B] = o({
26
26
  top: 0,
27
27
  left: 0
28
28
  }), V = a(null), H = a(null), U = f();
@@ -95,7 +95,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
95
95
  t.stopPropagation(), await D(e);
96
96
  }, [D]), Y = r(() => {
97
97
  O(), A(!1);
98
- }, [O]), X = k ? d(/* @__PURE__ */ l("div", {
98
+ }, [O]), X = k ? d(/* @__PURE__ */ u("div", {
99
99
  ref: H,
100
100
  style: {
101
101
  position: "fixed",
@@ -111,7 +111,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
111
111
  overflow: "hidden"
112
112
  },
113
113
  children: [
114
- /* @__PURE__ */ l("div", {
114
+ /* @__PURE__ */ u("div", {
115
115
  style: {
116
116
  padding: "12px 16px",
117
117
  borderBottom: `1px solid ${n.borderDefault}`,
@@ -119,14 +119,14 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
119
119
  alignItems: "center",
120
120
  justifyContent: "space-between"
121
121
  },
122
- children: [/* @__PURE__ */ c("span", {
122
+ children: [/* @__PURE__ */ l("span", {
123
123
  style: {
124
124
  fontSize: "13px",
125
125
  fontWeight: 600,
126
126
  color: n.textPrimary
127
127
  },
128
128
  children: v("bigconsole.dashboards.savedViews.header", "Saved Views")
129
- }), /* @__PURE__ */ c("button", {
129
+ }), /* @__PURE__ */ l("button", {
130
130
  onClick: () => M(!0),
131
131
  style: {
132
132
  padding: "4px 10px",
@@ -140,26 +140,26 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
140
140
  children: v("bigconsole.dashboards.savedViews.saveCurrent", "+ Save Current")
141
141
  })]
142
142
  }),
143
- /* @__PURE__ */ c("div", {
143
+ /* @__PURE__ */ l("div", {
144
144
  style: {
145
145
  maxHeight: "300px",
146
146
  overflowY: "auto"
147
147
  },
148
- children: x && y.length === 0 ? /* @__PURE__ */ c("div", {
148
+ children: x && y.length === 0 ? /* @__PURE__ */ l("div", {
149
149
  style: {
150
150
  padding: "16px",
151
151
  color: n.textSecondary,
152
152
  fontSize: "13px"
153
153
  },
154
154
  children: v("bigconsole.dashboards.savedViews.loading", "Loading views...")
155
- }) : y.length === 0 ? /* @__PURE__ */ c("div", {
155
+ }) : y.length === 0 ? /* @__PURE__ */ l("div", {
156
156
  style: {
157
157
  padding: "16px",
158
158
  color: n.textSecondary,
159
159
  fontSize: "13px"
160
160
  },
161
161
  children: v("bigconsole.dashboards.savedViews.empty", "No saved views yet. Save your current view to get started.")
162
- }) : /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c("button", {
162
+ }) : /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("button", {
163
163
  onClick: Y,
164
164
  style: {
165
165
  display: "flex",
@@ -172,21 +172,21 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
172
172
  textAlign: "left",
173
173
  borderBottom: `1px solid ${n.borderDefault}`
174
174
  },
175
- children: /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("div", {
175
+ children: /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("div", {
176
176
  style: {
177
177
  fontSize: "13px",
178
178
  fontWeight: 500,
179
179
  color: n.textPrimary
180
180
  },
181
181
  children: v("bigconsole.dashboards.savedViews.defaultView", "Default View")
182
- }), /* @__PURE__ */ c("div", {
182
+ }), /* @__PURE__ */ l("div", {
183
183
  style: {
184
184
  fontSize: "11px",
185
185
  color: n.textSecondary
186
186
  },
187
187
  children: v("bigconsole.dashboards.savedViews.defaultViewHint", "Reset to original dashboard state")
188
188
  })] })
189
- }), y.map((e) => /* @__PURE__ */ l("div", {
189
+ }), y.map((e) => /* @__PURE__ */ u("div", {
190
190
  onClick: () => W(e.id),
191
191
  style: {
192
192
  display: "flex",
@@ -197,23 +197,23 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
197
197
  cursor: "pointer",
198
198
  borderBottom: `1px solid ${n.borderDefault}`
199
199
  },
200
- children: [/* @__PURE__ */ l("div", {
200
+ children: [/* @__PURE__ */ u("div", {
201
201
  style: { flex: 1 },
202
202
  children: [
203
- /* @__PURE__ */ l("div", {
203
+ /* @__PURE__ */ u("div", {
204
204
  style: {
205
205
  display: "flex",
206
206
  alignItems: "center",
207
207
  gap: "6px"
208
208
  },
209
- children: [/* @__PURE__ */ c("span", {
209
+ children: [/* @__PURE__ */ l("span", {
210
210
  style: {
211
211
  fontSize: "13px",
212
212
  fontWeight: 500,
213
213
  color: n.textPrimary
214
214
  },
215
215
  children: e.name
216
- }), e.isDefault && /* @__PURE__ */ c("span", {
216
+ }), e.isDefault && /* @__PURE__ */ l("span", {
217
217
  style: {
218
218
  fontSize: "9px",
219
219
  padding: "2px 4px",
@@ -226,7 +226,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
226
226
  children: v("bigconsole.dashboards.savedViews.defaultBadge", "Default")
227
227
  })]
228
228
  }),
229
- e.description && /* @__PURE__ */ c("div", {
229
+ e.description && /* @__PURE__ */ l("div", {
230
230
  style: {
231
231
  fontSize: "11px",
232
232
  color: n.textSecondary,
@@ -234,7 +234,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
234
234
  },
235
235
  children: e.description
236
236
  }),
237
- /* @__PURE__ */ c("div", {
237
+ /* @__PURE__ */ l("div", {
238
238
  style: {
239
239
  fontSize: "10px",
240
240
  color: n.textSecondary,
@@ -243,13 +243,13 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
243
243
  children: new Date(e.updatedAt).toLocaleDateString()
244
244
  })
245
245
  ]
246
- }), /* @__PURE__ */ l("div", {
246
+ }), /* @__PURE__ */ u("div", {
247
247
  style: {
248
248
  display: "flex",
249
249
  alignItems: "center",
250
250
  gap: "4px"
251
251
  },
252
- children: [!e.isDefault && /* @__PURE__ */ c("button", {
252
+ children: [!e.isDefault && /* @__PURE__ */ l("button", {
253
253
  onClick: (t) => J(e.id, t),
254
254
  title: v("bigconsole.dashboards.savedViews.setAsDefaultTitle", "Set as default"),
255
255
  style: {
@@ -261,7 +261,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
261
261
  fontSize: "11px"
262
262
  },
263
263
  children: v("bigconsole.dashboards.savedViews.setDefault", "Set Default")
264
- }), /* @__PURE__ */ c("button", {
264
+ }), /* @__PURE__ */ l("button", {
265
265
  onClick: (t) => q(e.id, t),
266
266
  title: v("bigconsole.dashboards.savedViews.deleteViewTitle", "Delete view"),
267
267
  style: {
@@ -277,13 +277,13 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
277
277
  })]
278
278
  }, e.id))] })
279
279
  }),
280
- b && /* @__PURE__ */ c("div", {
280
+ b && /* @__PURE__ */ l("div", {
281
281
  style: {
282
282
  padding: "12px 16px",
283
283
  borderTop: `1px solid ${n.borderDefault}`,
284
284
  backgroundColor: n.bgSecondary
285
285
  },
286
- children: /* @__PURE__ */ c("button", {
286
+ children: /* @__PURE__ */ l("button", {
287
287
  onClick: K,
288
288
  style: {
289
289
  width: "100%",
@@ -299,7 +299,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
299
299
  })
300
300
  })
301
301
  ]
302
- }), document.body) : null, Z = j ? d(/* @__PURE__ */ c("div", {
302
+ }), document.body) : null, Z = j ? d(/* @__PURE__ */ l("div", {
303
303
  style: {
304
304
  position: "fixed",
305
305
  top: 0,
@@ -315,7 +315,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
315
315
  isolation: "isolate"
316
316
  },
317
317
  onClick: () => M(!1),
318
- children: /* @__PURE__ */ l("div", {
318
+ children: /* @__PURE__ */ u("div", {
319
319
  role: "dialog",
320
320
  "aria-modal": "true",
321
321
  "aria-labelledby": "saved-view-dialog-title",
@@ -334,12 +334,12 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
334
334
  },
335
335
  onClick: (e) => e.stopPropagation(),
336
336
  children: [
337
- /* @__PURE__ */ c("div", {
337
+ /* @__PURE__ */ l("div", {
338
338
  style: {
339
339
  padding: "16px 20px",
340
340
  borderBottom: `1px solid ${n.borderDefault}`
341
341
  },
342
- children: /* @__PURE__ */ c("h3", {
342
+ children: /* @__PURE__ */ l("h3", {
343
343
  id: "saved-view-dialog-title",
344
344
  style: {
345
345
  margin: 0,
@@ -350,12 +350,12 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
350
350
  children: v("bigconsole.dashboards.savedViews.saveDialog.title", "Save Current View")
351
351
  })
352
352
  }),
353
- /* @__PURE__ */ l("div", {
353
+ /* @__PURE__ */ u("div", {
354
354
  style: { padding: "20px" },
355
355
  children: [
356
- /* @__PURE__ */ l("div", {
356
+ /* @__PURE__ */ u("div", {
357
357
  style: { marginBottom: "16px" },
358
- children: [/* @__PURE__ */ c("label", {
358
+ children: [/* @__PURE__ */ l("label", {
359
359
  style: {
360
360
  display: "block",
361
361
  marginBottom: "6px",
@@ -364,7 +364,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
364
364
  color: n.textPrimary
365
365
  },
366
366
  children: v("bigconsole.dashboards.savedViews.saveDialog.nameLabel", "View Name *")
367
- }), /* @__PURE__ */ c("input", {
367
+ }), /* @__PURE__ */ l("input", {
368
368
  type: "text",
369
369
  value: N,
370
370
  onChange: (e) => P(e.target.value),
@@ -381,9 +381,9 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
381
381
  }
382
382
  })]
383
383
  }),
384
- /* @__PURE__ */ l("div", {
384
+ /* @__PURE__ */ u("div", {
385
385
  style: { marginBottom: "16px" },
386
- children: [/* @__PURE__ */ c("label", {
386
+ children: [/* @__PURE__ */ l("label", {
387
387
  style: {
388
388
  display: "block",
389
389
  marginBottom: "6px",
@@ -392,7 +392,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
392
392
  color: n.textPrimary
393
393
  },
394
394
  children: v("bigconsole.dashboards.savedViews.saveDialog.descriptionLabel", "Description")
395
- }), /* @__PURE__ */ c("textarea", {
395
+ }), /* @__PURE__ */ l("textarea", {
396
396
  value: F,
397
397
  onChange: (e) => I(e.target.value),
398
398
  placeholder: v("bigconsole.dashboards.savedViews.saveDialog.descriptionPlaceholder", "Optional description..."),
@@ -410,18 +410,18 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
410
410
  }
411
411
  })]
412
412
  }),
413
- /* @__PURE__ */ l("label", {
413
+ /* @__PURE__ */ u("label", {
414
414
  style: {
415
415
  display: "flex",
416
416
  alignItems: "center",
417
417
  gap: "8px",
418
418
  cursor: "pointer"
419
419
  },
420
- children: [/* @__PURE__ */ c("input", {
420
+ children: [/* @__PURE__ */ l("input", {
421
421
  type: "checkbox",
422
422
  checked: L,
423
423
  onChange: (e) => R(e.target.checked)
424
- }), /* @__PURE__ */ c("span", {
424
+ }), /* @__PURE__ */ l("span", {
425
425
  style: {
426
426
  fontSize: "13px",
427
427
  color: n.textPrimary
@@ -431,7 +431,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
431
431
  })
432
432
  ]
433
433
  }),
434
- /* @__PURE__ */ l("div", {
434
+ /* @__PURE__ */ u("div", {
435
435
  style: {
436
436
  padding: "16px 20px",
437
437
  borderTop: `1px solid ${n.borderDefault}`,
@@ -440,7 +440,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
440
440
  gap: "12px",
441
441
  backgroundColor: n.bgSecondary
442
442
  },
443
- children: [/* @__PURE__ */ c("button", {
443
+ children: [/* @__PURE__ */ l("button", {
444
444
  onClick: () => M(!1),
445
445
  style: {
446
446
  padding: "10px 20px",
@@ -452,7 +452,7 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
452
452
  color: n.textPrimary
453
453
  },
454
454
  children: v("bigconsole.dashboards.savedViews.saveDialog.cancel", "Cancel")
455
- }), /* @__PURE__ */ c("button", {
455
+ }), /* @__PURE__ */ l("button", {
456
456
  onClick: G,
457
457
  disabled: !N.trim(),
458
458
  style: {
@@ -471,14 +471,14 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
471
471
  ]
472
472
  })
473
473
  }), document.body) : null;
474
- return /* @__PURE__ */ l("div", {
474
+ return /* @__PURE__ */ u("div", {
475
475
  className: _,
476
476
  style: {
477
477
  position: "relative",
478
478
  display: "inline-block"
479
479
  },
480
480
  children: [
481
- /* @__PURE__ */ l("button", {
481
+ /* @__PURE__ */ u("button", {
482
482
  ref: V,
483
483
  onClick: () => A(!k),
484
484
  style: {
@@ -493,10 +493,10 @@ function p({ dashboardId: p, currentFilters: m, currentLayout: h, onViewLoad: g,
493
493
  fontSize: "13px",
494
494
  color: b ? n.actionPrimaryBg : n.textPrimary
495
495
  },
496
- children: [/* @__PURE__ */ c("span", {
496
+ children: [/* @__PURE__ */ l("span", {
497
497
  style: { fontWeight: 500 },
498
498
  children: b ? b.name : v("bigconsole.dashboards.savedViews.triggerLabel", "Views")
499
- }), /* @__PURE__ */ c("span", {
499
+ }), /* @__PURE__ */ l("span", {
500
500
  style: { fontSize: "10px" },
501
501
  children: k ? "▲" : "▼"
502
502
  })]