@burdenoff/microfe-bigconsole 2026.1010.12 → 2026.1012.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.
- package/README.md +19 -0
- package/dist/bigconsole/BigConsoleRoot.js +88 -82
- package/dist/bigconsole/BigConsoleRoutes.js +163 -136
- package/dist/bigconsole/assistant/assistantProduct.js +1 -4
- package/dist/bigconsole/assistant/pageContext.d.ts +0 -14
- package/dist/bigconsole/assistant/pageContext.js +1 -6
- package/dist/bigconsole/assistant/recordAdapters.js +26 -27
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
- package/dist/bigconsole/components/common/index.d.ts +0 -1
- package/dist/bigconsole/components/common/index.js +0 -1
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +58 -57
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +110 -110
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +164 -173
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
- package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +165 -163
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
- package/dist/bigconsole/components/datasink/DataSinkCard.js +50 -51
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
- package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
- package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
- package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +76 -77
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -96
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +499 -507
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +0 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js +73 -131
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
- package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +28 -9
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +115 -42
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.d.ts +20 -0
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.js +10 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +2 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +3 -2
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
- package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
- package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +110 -27
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +6 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.js +17 -14
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
- package/dist/bigconsole/context/BigConsoleContext.d.ts +10 -0
- package/dist/bigconsole/context/BigConsoleContext.js +47 -30
- package/dist/bigconsole/context/index.d.ts +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +58 -49
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +74 -72
- package/dist/bigconsole/customWidget/proposalPreview.d.ts +5 -0
- package/dist/bigconsole/customWidget/proposalPreview.js +31 -0
- package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +0 -23
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +113 -138
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +7 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.js +109 -98
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +0 -1
- package/dist/bigconsole/hooks/useDrilldown.js +68 -67
- package/dist/bigconsole/hooks/useExportDataSink.js +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
- package/dist/bigconsole/hooks/useImportDataSink.js +102 -90
- package/dist/bigconsole/pages/AdminPage.js +130 -130
- package/dist/bigconsole/pages/DashboardBuilderPage.js +60 -72
- package/dist/bigconsole/pages/DashboardViewPage.js +235 -258
- package/dist/bigconsole/pages/DashboardsPage.js +221 -269
- package/dist/bigconsole/pages/DataParsersPage.js +157 -180
- package/dist/bigconsole/pages/DataSinkAlertsPage.js +55 -62
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +318 -295
- package/dist/bigconsole/pages/DataSinkViewPage.js +256 -255
- package/dist/bigconsole/pages/DataSinksPage.js +216 -251
- package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
- package/dist/bigconsole/pages/InsightsPage.js +265 -279
- package/dist/bigconsole/pages/OverviewPage.js +47 -47
- package/dist/bigconsole/pages/ParserBuilderPage.js +213 -229
- package/dist/bigconsole/pages/ParserViewPage.js +97 -97
- package/dist/bigconsole/pages/PipelineBuilderPage.js +214 -256
- package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
- package/dist/bigconsole/pages/PipelinesPage.js +88 -107
- package/dist/bigconsole/pages/SettingsPage.js +173 -179
- package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
- package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +235 -122
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +151 -151
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.d.ts +29 -0
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.js +51 -0
- package/dist/bigconsole/store/widgetStore.d.ts +0 -12
- package/dist/bigconsole/store/widgetStore.js +1 -3
- package/dist/bigconsole/types/index.d.ts +17 -2
- package/dist/bigconsole/utils/backendError.d.ts +0 -18
- package/dist/bigconsole/utils/dataSinkPayload.d.ts +48 -0
- package/dist/bigconsole/utils/dataSinkPayload.js +38 -0
- package/dist/bigconsole/utils/index.d.ts +2 -0
- package/dist/bigconsole/utils/safeUrl.d.ts +79 -0
- package/dist/bigconsole/utils/safeUrl.js +93 -0
- package/dist/bigconsole/utils/sanitizeHtml.d.ts +16 -0
- package/dist/bigconsole/utils/sanitizeHtml.js +67 -0
- package/dist/bigconsole/workflowOpen.js +14 -15
- package/dist/generated/wspace-operations.d.ts +138 -8
- package/dist/generated/wspace-operations.js +281 -240
- package/dist/node_modules/dompurify/dist/purify.es.js +800 -0
- package/package.json +9 -5
- package/dist/bigconsole/assistant/displayCopy.d.ts +0 -32
- package/dist/bigconsole/assistant/pageControls.d.ts +0 -81
- package/dist/bigconsole/assistant/pageControls.js +0 -169
- package/dist/bigconsole/assistant/previewControl.d.ts +0 -16
- package/dist/bigconsole/assistant/previewControl.js +0 -10
- package/dist/bigconsole/assistant/usePreviewControl.d.ts +0 -2
- package/dist/bigconsole/assistant/usePreviewControl.js +0 -20
- package/dist/bigconsole/components/common/SortBySelect.d.ts +0 -11
- package/dist/bigconsole/components/common/SortBySelect.js +0 -29
- package/dist/bigconsole/constants/backendErrors.js +0 -94
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +0 -14
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +0 -32
- package/dist/bigconsole/utils/backendError.js +0 -42
- package/dist/bigconsole/utils/dashboardList.d.ts +0 -28
- package/dist/bigconsole/utils/dashboardList.js +0 -15
- package/dist/bigconsole/utils/dataSinkList.d.ts +0 -15
- package/dist/bigconsole/utils/dataSinkList.js +0 -15
- package/dist/bigconsole/utils/formDirty.d.ts +0 -82
- package/dist/bigconsole/utils/formDirty.js +0 -21
- package/dist/bigconsole/utils/insightsDraft.d.ts +0 -29
- package/dist/bigconsole/utils/insightsDraft.js +0 -8
- package/dist/bigconsole/utils/layoutBaseline.d.ts +0 -130
- package/dist/bigconsole/utils/layoutBaseline.js +0 -96
- package/dist/bigconsole/utils/listSort.d.ts +0 -80
- package/dist/bigconsole/utils/listSort.js +0 -85
- package/dist/bigconsole/utils/widgetFormDirty.d.ts +0 -16
- package/dist/bigconsole/utils/widgetFormDirty.js +0 -13
|
@@ -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 {
|
|
7
|
-
import {
|
|
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";
|
|
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 } =
|
|
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({
|
|
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__ */
|
|
98
|
+
}, [O]), X = k ? d(/* @__PURE__ */ l("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__ */
|
|
114
|
+
/* @__PURE__ */ l("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__ */
|
|
122
|
+
children: [/* @__PURE__ */ c("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__ */
|
|
129
|
+
}), /* @__PURE__ */ c("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__ */
|
|
143
|
+
/* @__PURE__ */ c("div", {
|
|
144
144
|
style: {
|
|
145
145
|
maxHeight: "300px",
|
|
146
146
|
overflowY: "auto"
|
|
147
147
|
},
|
|
148
|
-
children: x && y.length === 0 ? /* @__PURE__ */
|
|
148
|
+
children: x && y.length === 0 ? /* @__PURE__ */ c("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__ */
|
|
155
|
+
}) : y.length === 0 ? /* @__PURE__ */ c("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__ */
|
|
162
|
+
}) : /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c("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__ */
|
|
175
|
+
children: /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("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__ */
|
|
182
|
+
}), /* @__PURE__ */ c("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__ */
|
|
189
|
+
}), y.map((e) => /* @__PURE__ */ l("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__ */
|
|
200
|
+
children: [/* @__PURE__ */ l("div", {
|
|
201
201
|
style: { flex: 1 },
|
|
202
202
|
children: [
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ l("div", {
|
|
204
204
|
style: {
|
|
205
205
|
display: "flex",
|
|
206
206
|
alignItems: "center",
|
|
207
207
|
gap: "6px"
|
|
208
208
|
},
|
|
209
|
-
children: [/* @__PURE__ */
|
|
209
|
+
children: [/* @__PURE__ */ c("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__ */
|
|
216
|
+
}), e.isDefault && /* @__PURE__ */ c("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__ */
|
|
229
|
+
e.description && /* @__PURE__ */ c("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__ */
|
|
237
|
+
/* @__PURE__ */ c("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__ */
|
|
246
|
+
}), /* @__PURE__ */ l("div", {
|
|
247
247
|
style: {
|
|
248
248
|
display: "flex",
|
|
249
249
|
alignItems: "center",
|
|
250
250
|
gap: "4px"
|
|
251
251
|
},
|
|
252
|
-
children: [!e.isDefault && /* @__PURE__ */
|
|
252
|
+
children: [!e.isDefault && /* @__PURE__ */ c("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__ */
|
|
264
|
+
}), /* @__PURE__ */ c("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__ */
|
|
280
|
+
b && /* @__PURE__ */ c("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__ */
|
|
286
|
+
children: /* @__PURE__ */ c("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__ */
|
|
302
|
+
}), document.body) : null, Z = j ? d(/* @__PURE__ */ c("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__ */
|
|
318
|
+
children: /* @__PURE__ */ l("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__ */
|
|
337
|
+
/* @__PURE__ */ c("div", {
|
|
338
338
|
style: {
|
|
339
339
|
padding: "16px 20px",
|
|
340
340
|
borderBottom: `1px solid ${n.borderDefault}`
|
|
341
341
|
},
|
|
342
|
-
children: /* @__PURE__ */
|
|
342
|
+
children: /* @__PURE__ */ c("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__ */
|
|
353
|
+
/* @__PURE__ */ l("div", {
|
|
354
354
|
style: { padding: "20px" },
|
|
355
355
|
children: [
|
|
356
|
-
/* @__PURE__ */
|
|
356
|
+
/* @__PURE__ */ l("div", {
|
|
357
357
|
style: { marginBottom: "16px" },
|
|
358
|
-
children: [/* @__PURE__ */
|
|
358
|
+
children: [/* @__PURE__ */ c("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__ */
|
|
367
|
+
}), /* @__PURE__ */ c("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__ */
|
|
384
|
+
/* @__PURE__ */ l("div", {
|
|
385
385
|
style: { marginBottom: "16px" },
|
|
386
|
-
children: [/* @__PURE__ */
|
|
386
|
+
children: [/* @__PURE__ */ c("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__ */
|
|
395
|
+
}), /* @__PURE__ */ c("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__ */
|
|
413
|
+
/* @__PURE__ */ l("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__ */
|
|
420
|
+
children: [/* @__PURE__ */ c("input", {
|
|
421
421
|
type: "checkbox",
|
|
422
422
|
checked: L,
|
|
423
423
|
onChange: (e) => R(e.target.checked)
|
|
424
|
-
}), /* @__PURE__ */
|
|
424
|
+
}), /* @__PURE__ */ c("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__ */
|
|
434
|
+
/* @__PURE__ */ l("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__ */
|
|
443
|
+
children: [/* @__PURE__ */ c("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__ */
|
|
455
|
+
}), /* @__PURE__ */ c("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__ */
|
|
474
|
+
return /* @__PURE__ */ l("div", {
|
|
475
475
|
className: _,
|
|
476
476
|
style: {
|
|
477
477
|
position: "relative",
|
|
478
478
|
display: "inline-block"
|
|
479
479
|
},
|
|
480
480
|
children: [
|
|
481
|
-
/* @__PURE__ */
|
|
481
|
+
/* @__PURE__ */ l("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__ */
|
|
496
|
+
children: [/* @__PURE__ */ c("span", {
|
|
497
497
|
style: { fontWeight: 500 },
|
|
498
498
|
children: b ? b.name : v("bigconsole.dashboards.savedViews.triggerLabel", "Views")
|
|
499
|
-
}), /* @__PURE__ */
|
|
499
|
+
}), /* @__PURE__ */ c("span", {
|
|
500
500
|
style: { fontSize: "10px" },
|
|
501
501
|
children: k ? "▲" : "▼"
|
|
502
502
|
})]
|