@burdenoff/microfe-bigconsole 2026.805.2 → 2026.812.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/dist/bigconsole/components/DrilldownDashboardRenderer.js +118 -106
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
- package/dist/bigconsole/components/DrilldownModal.js +54 -50
- package/dist/bigconsole/components/DrilldownModal.js.map +1 -1
- package/dist/bigconsole/components/builder/BuilderCanvas.js +2 -2
- package/dist/bigconsole/components/builder/BuilderCanvas.js.map +1 -1
- package/dist/bigconsole/components/builder/BuilderTopbar.js +3 -3
- package/dist/bigconsole/components/builder/BuilderTopbar.js.map +1 -1
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.js +24 -25
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.js.map +1 -1
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +40 -29
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.js.map +1 -1
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +145 -111
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js.map +1 -1
- package/dist/bigconsole/components/builder/inspector/GeneralSection.js +58 -44
- package/dist/bigconsole/components/builder/inspector/GeneralSection.js.map +1 -1
- package/dist/bigconsole/components/common/Section.js +70 -0
- package/dist/bigconsole/components/common/Section.js.map +1 -0
- package/dist/bigconsole/components/common/index.js +2 -0
- package/dist/bigconsole/components/common/sectionStyles.js +42 -0
- package/dist/bigconsole/components/common/sectionStyles.js.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +269 -251
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +214 -223
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardGrid.js +12 -18
- package/dist/bigconsole/components/dashboard/DashboardGrid.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +110 -102
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +81 -68
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +125 -159
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +147 -144
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +154 -153
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +82 -79
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +171 -284
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +250 -273
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.js +45 -53
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.js.map +1 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +157 -148
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js.map +1 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +75 -83
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +167 -161
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +181 -190
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -95
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +20 -18
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js.map +1 -1
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js +26 -58
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js.map +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +307 -229
- package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -1
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +128 -129
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkCard.js +78 -79
- package/dist/bigconsole/components/datasink/DataSinkCard.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +33 -34
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +79 -61
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +75 -64
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +20 -19
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js.map +1 -1
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +127 -171
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +113 -117
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +312 -307
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +65 -66
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js.map +1 -1
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +121 -127
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js.map +1 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +194 -189
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -1
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +3 -3
- package/dist/bigconsole/components/datasink/SetupStateBadge.js.map +1 -1
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +95 -95
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js.map +1 -1
- package/dist/bigconsole/components/parser/DataSinkSelector.js +163 -131
- package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -1
- package/dist/bigconsole/components/parser/ExpressionEditor.js +3 -3
- package/dist/bigconsole/components/parser/ExpressionEditor.js.map +1 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.js +205 -260
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserCard.js +133 -114
- package/dist/bigconsole/components/parser/ParserCard.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserSelector.js +193 -174
- package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +2 -2
- package/dist/bigconsole/components/parser/ParserStatusBadge.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserTypeBadge.js +4 -4
- package/dist/bigconsole/components/parser/ParserTypeBadge.js.map +1 -1
- package/dist/bigconsole/components/pipeline/PipelineCard.js +134 -89
- package/dist/bigconsole/components/pipeline/PipelineCard.js.map +1 -1
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +77 -64
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js.map +1 -1
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +7 -10
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewContent.js +31 -32
- package/dist/bigconsole/components/preview/AiPreviewContent.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +152 -103
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +193 -148
- package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/previewShared.js +41 -23
- package/dist/bigconsole/components/preview/previewShared.js.map +1 -1
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +405 -364
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +265 -237
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +764 -821
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +7 -5
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +7 -8
- package/dist/bigconsole/components/widgets/WidgetHeader.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +8 -7
- package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -1
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +1 -1
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +46 -49
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +154 -147
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +118 -101
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js.map +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +244 -191
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.js +167 -159
- package/dist/bigconsole/components/widgets/form/FormWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +92 -76
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +89 -86
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +2 -2
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +64 -63
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +2 -2
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.js +65 -58
- package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/list/ListItem.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListItem.js.map +1 -1
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +1 -1
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +79 -72
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +35 -34
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +20 -19
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js.map +1 -1
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +181 -180
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +100 -90
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +3 -3
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/states/EmptyState.js +6 -4
- package/dist/bigconsole/components/widgets/states/EmptyState.js.map +1 -1
- package/dist/bigconsole/components/widgets/states/ErrorState.js +7 -5
- package/dist/bigconsole/components/widgets/states/ErrorState.js.map +1 -1
- package/dist/bigconsole/components/widgets/states/LoadingState.js +5 -4
- package/dist/bigconsole/components/widgets/states/LoadingState.js.map +1 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.js +193 -172
- package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/table/TableHeader.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableHeader.js.map +1 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +1 -1
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +3 -3
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +2 -2
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.js.map +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +283 -249
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +28 -20
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js.map +1 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.js +92 -77
- package/dist/bigconsole/components/workflow/WorkflowCard.js.map +1 -1
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +70 -51
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js.map +1 -1
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +16 -17
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js.map +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +46 -42
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js.map +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +372 -348
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
- package/dist/bigconsole/hooks/useModalFocusTrap.js +53 -0
- package/dist/bigconsole/hooks/useModalFocusTrap.js.map +1 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.js +153 -142
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardViewPage.js +230 -220
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +832 -790
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataParsersPage.js +249 -304
- package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +324 -349
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +336 -323
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +356 -458
- package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSourcesPage.js +14 -8
- package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -1
- package/dist/bigconsole/pages/HomePage.js +186 -193
- package/dist/bigconsole/pages/HomePage.js.map +1 -1
- package/dist/bigconsole/pages/InsightsPage.js +901 -724
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserBuilderPage.js +769 -675
- package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +382 -354
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.js +540 -420
- package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +416 -384
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelinesPage.js +260 -309
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
- package/dist/bigconsole/pages/SettingsPage.js +177 -172
- package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
- package/dist/bigconsole/pages/WidgetDemoPage.js +278 -142
- package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +382 -366
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +202 -316
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +111 -109
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +127 -126
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +103 -103
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,66 +1,69 @@
|
|
|
1
1
|
import { useWidgetStore as e } from "../store/widgetStore.js";
|
|
2
2
|
import { useDashboardStore as t } from "../store/dashboardStore.js";
|
|
3
3
|
import "../store/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Section as n } from "../components/common/Section.js";
|
|
5
|
+
import "../components/common/index.js";
|
|
6
|
+
import { useBigConsoleNavigate as r } from "../context/BigConsoleContext.js";
|
|
5
7
|
import "../context/index.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
+
import i from "../hooks/useWidgetOperations.js";
|
|
9
|
+
import a from "../hooks/useDashboardOperations.js";
|
|
8
10
|
import ee from "../hooks/useFilterUrlSync.js";
|
|
9
|
-
import
|
|
11
|
+
import te from "../hooks/usePageOperations.js";
|
|
10
12
|
import "../hooks/index.js";
|
|
11
13
|
import { BIGCONSOLE_PERMISSIONS as o } from "../../constants/permissions.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import ne from "../components/dashboard/DashboardCanvas.js";
|
|
15
|
+
import s from "../components/dashboard/LiveCanvasToggle.js";
|
|
16
|
+
import re from "../components/dashboard/ExportDashboardDialog.js";
|
|
17
|
+
import ie from "../components/dashboard/DrilldownBreadcrumb.js";
|
|
18
|
+
import ae from "../components/dashboard/PublishToStoreDialog.js";
|
|
17
19
|
import "../components/dashboard/index.js";
|
|
18
|
-
import { memo as c, useCallback as l, useEffect as u, useRef as
|
|
19
|
-
import { useParams as
|
|
20
|
-
import { AccessDenied as
|
|
21
|
-
import { usePermissions as
|
|
22
|
-
import { ArrowLeft as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
20
|
+
import { memo as c, useCallback as l, useEffect as u, useRef as oe, useState as d } from "react";
|
|
21
|
+
import { useParams as se } from "react-router";
|
|
22
|
+
import { AccessDenied as ce } from "@burdenoff/fe-libs/shared/components";
|
|
23
|
+
import { usePermissions as le } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
24
|
+
import { ArrowLeft as ue } from "lucide-react";
|
|
25
|
+
import { useI18n as f } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
26
|
+
import { Button as p, IllustratedEmptyState as m } from "@burdenoff/fe-libs/ui";
|
|
27
|
+
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
25
28
|
//#region src/bigconsole/pages/DashboardViewPage.tsx
|
|
26
29
|
var v = c(function() {
|
|
27
|
-
let { dashboardId: c } =
|
|
30
|
+
let { dashboardId: c } = se(), v = r(), { t: y } = f(), { hasPermission: b, isLoading: de } = le(), fe = b(o.DASHBOARD_READ), pe = b(o.DASHBOARD_UPDATE), me = b(o.DASHBOARD_EXPORT), he = b(o.DASHBOARD_PUBLISH), [x, S] = d(null), [ge, C] = d(!1), [_e, w] = d(!1), [ve, T] = d(!1), [E, ye] = d(!1), { isInDrilldown: D, getContextFromUrl: O, getDrilldownMetadata: k } = ee(), A = t((e) => e.currentDashboard), j = t((e) => e.setCurrentDashboard), M = t((e) => e.setGlobalFilterValue), N = t((e) => e.clearAllGlobalFilters), P = e((e) => e.widgets), F = e((e) => e.clipboardWidgetId), I = e((e) => e.clipboardAction), L = e((e) => e.clearClipboard), R = e((e) => e.selectWidget), { loading: be, error: z, fetchDashboard: B, updateDashboard: V } = a(), { createWidget: H, deleteWidget: U, duplicateWidget: W, batchUpdatePositions: G, refetch: K } = i(x || void 0, c), { createPage: q, updatePage: J, deletePage: Y, reorderPages: X } = te();
|
|
28
31
|
u(() => {
|
|
29
32
|
if (!c) {
|
|
30
33
|
v("/dashboards");
|
|
31
34
|
return;
|
|
32
35
|
}
|
|
33
|
-
return
|
|
34
|
-
e ? e.pages && e.pages.length > 0 &&
|
|
36
|
+
return N(), w(!1), B(c).then((e) => {
|
|
37
|
+
e ? e.pages && e.pages.length > 0 && S(e.pages[0].id) : w(!0);
|
|
35
38
|
}), () => {
|
|
36
|
-
|
|
39
|
+
j(null), N(), w(!1);
|
|
37
40
|
};
|
|
38
41
|
}, [
|
|
39
42
|
c,
|
|
40
43
|
v,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
B,
|
|
45
|
+
j,
|
|
46
|
+
N
|
|
44
47
|
]), u(() => {
|
|
45
|
-
if (!
|
|
46
|
-
let e =
|
|
48
|
+
if (!D) return;
|
|
49
|
+
let e = O(), t = k();
|
|
47
50
|
Object.entries(e).forEach(([e, t]) => {
|
|
48
|
-
|
|
49
|
-
}), t.depth > 0 && (
|
|
51
|
+
M(`ctx_${e}`, t);
|
|
52
|
+
}), t.depth > 0 && (M("__drilldown_depth", t.depth), M("__drilldown_parent", t.parent), M("__drilldown_path", t.path)), Object.keys(e).length > 0 && console.debug("[DashboardViewPage] Loaded drilldown context:", {
|
|
50
53
|
context: e,
|
|
51
54
|
metadata: t
|
|
52
55
|
});
|
|
53
56
|
}, [
|
|
57
|
+
D,
|
|
54
58
|
O,
|
|
55
59
|
k,
|
|
56
|
-
|
|
57
|
-
N
|
|
60
|
+
M
|
|
58
61
|
]);
|
|
59
|
-
let
|
|
60
|
-
|
|
61
|
-
if (!
|
|
62
|
+
let Z = oe(K);
|
|
63
|
+
Z.current = K, u(() => {
|
|
64
|
+
if (!E || !c) return;
|
|
62
65
|
let e = () => {
|
|
63
|
-
typeof document < "u" && document.visibilityState !== "visible" || t.getState().viewMode !== "edit" && (
|
|
66
|
+
typeof document < "u" && document.visibilityState !== "visible" || t.getState().viewMode !== "edit" && (B(c, { silent: !0 }), Z.current());
|
|
64
67
|
};
|
|
65
68
|
e();
|
|
66
69
|
let n = window.setInterval(e, 3500), r = () => {
|
|
@@ -70,58 +73,58 @@ var v = c(function() {
|
|
|
70
73
|
window.clearInterval(n), document.removeEventListener("visibilitychange", r);
|
|
71
74
|
};
|
|
72
75
|
}, [
|
|
73
|
-
|
|
76
|
+
E,
|
|
74
77
|
c,
|
|
75
|
-
|
|
78
|
+
B
|
|
76
79
|
]);
|
|
77
|
-
let
|
|
80
|
+
let xe = l(async () => {
|
|
78
81
|
if (c) {
|
|
79
|
-
|
|
82
|
+
C(!0);
|
|
80
83
|
try {
|
|
81
|
-
let e = Array.from(
|
|
82
|
-
e.length > 0 && await
|
|
84
|
+
let e = Array.from(P.values());
|
|
85
|
+
e.length > 0 && await G(e.map((e) => ({
|
|
83
86
|
id: e.id,
|
|
84
87
|
position: e.position
|
|
85
|
-
}))),
|
|
88
|
+
}))), A && await V({
|
|
86
89
|
id: c,
|
|
87
|
-
name:
|
|
88
|
-
description:
|
|
90
|
+
name: A.name,
|
|
91
|
+
description: A.description
|
|
89
92
|
});
|
|
90
93
|
} catch {} finally {
|
|
91
|
-
|
|
94
|
+
C(!1);
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
}, [
|
|
95
98
|
c,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
]),
|
|
99
|
+
P,
|
|
100
|
+
A,
|
|
101
|
+
G,
|
|
102
|
+
V
|
|
103
|
+
]), Se = l(() => {
|
|
101
104
|
v("/dashboards");
|
|
102
|
-
}, [v]),
|
|
103
|
-
|
|
104
|
-
}, []),
|
|
105
|
-
let e =
|
|
106
|
-
if (!
|
|
107
|
-
let t =
|
|
105
|
+
}, [v]), Ce = l((e) => {
|
|
106
|
+
S(e);
|
|
107
|
+
}, []), we = l(async () => {
|
|
108
|
+
let e = x || A?.pages?.[0]?.id;
|
|
109
|
+
if (!F || !c || !e) return;
|
|
110
|
+
let t = P.get(F);
|
|
108
111
|
if (!t) {
|
|
109
|
-
|
|
112
|
+
L();
|
|
110
113
|
return;
|
|
111
114
|
}
|
|
112
115
|
let n = {
|
|
113
116
|
x: 0,
|
|
114
|
-
y: Array.from(
|
|
117
|
+
y: Array.from(P.values()).reduce((e, t) => {
|
|
115
118
|
let n = (t.positionY ?? 0) + (t.positionHeight ?? 4);
|
|
116
119
|
return Math.max(e, n);
|
|
117
120
|
}, 0),
|
|
118
121
|
width: t.positionWidth ?? 4,
|
|
119
122
|
height: t.positionHeight ?? 4
|
|
120
|
-
}, r =
|
|
123
|
+
}, r = I === "copy" ? y("bigconsole.dashboards.view.widgetCopyTitle", "{{title}} (Copy)", { title: t.title }) : t.title, i = null;
|
|
121
124
|
try {
|
|
122
|
-
i = await
|
|
125
|
+
i = await W(F, n, r);
|
|
123
126
|
} catch {}
|
|
124
|
-
i ||= await
|
|
127
|
+
i ||= await H({
|
|
125
128
|
pageId: e,
|
|
126
129
|
dashboardId: c,
|
|
127
130
|
type: t.type,
|
|
@@ -135,238 +138,245 @@ var v = c(function() {
|
|
|
135
138
|
position: n,
|
|
136
139
|
refreshInterval: t.refreshInterval ?? void 0,
|
|
137
140
|
metadata: t.metadata
|
|
138
|
-
}), i && (
|
|
141
|
+
}), i && (R(i.id), I === "cut" && await U(F)), L();
|
|
139
142
|
}, [
|
|
143
|
+
F,
|
|
140
144
|
I,
|
|
141
|
-
L,
|
|
142
145
|
c,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
G,
|
|
147
|
-
U,
|
|
146
|
+
x,
|
|
147
|
+
A,
|
|
148
|
+
P,
|
|
148
149
|
W,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
150
|
+
H,
|
|
151
|
+
U,
|
|
152
|
+
R,
|
|
153
|
+
L,
|
|
154
|
+
y
|
|
155
|
+
]), Te = l(() => {
|
|
156
|
+
T(!0);
|
|
157
|
+
}, []), [Ee, Q] = d(!1), De = l(() => {
|
|
158
|
+
Q(!0);
|
|
159
|
+
}, []), $ = l(() => {
|
|
160
|
+
Q(!1);
|
|
161
|
+
}, []), Oe = l(() => {
|
|
162
|
+
T(!1);
|
|
163
|
+
}, []), ke = l(async () => {
|
|
164
|
+
if (!A || !c) return;
|
|
165
|
+
let e = await q({
|
|
162
166
|
dashboardId: c,
|
|
163
|
-
name:
|
|
167
|
+
name: y("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: (A.pages?.length || 0) + 1 })
|
|
164
168
|
});
|
|
165
|
-
e && (
|
|
166
|
-
...
|
|
167
|
-
pages: [...
|
|
168
|
-
}),
|
|
169
|
+
e && (j({
|
|
170
|
+
...A,
|
|
171
|
+
pages: [...A.pages || [], e]
|
|
172
|
+
}), S(e.id));
|
|
169
173
|
}, [
|
|
170
|
-
|
|
174
|
+
A,
|
|
171
175
|
c,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
j,
|
|
177
|
+
q,
|
|
178
|
+
y
|
|
179
|
+
]), Ae = l(async (e, t) => {
|
|
180
|
+
A && await J({
|
|
176
181
|
id: e,
|
|
177
182
|
name: t
|
|
178
|
-
}) &&
|
|
179
|
-
...
|
|
180
|
-
pages:
|
|
183
|
+
}) && j({
|
|
184
|
+
...A,
|
|
185
|
+
pages: A.pages?.map((n) => n.id === e ? {
|
|
181
186
|
...n,
|
|
182
187
|
name: t
|
|
183
188
|
} : n)
|
|
184
189
|
});
|
|
185
190
|
}, [
|
|
191
|
+
A,
|
|
186
192
|
j,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
let t = j.pages?.find((t) => t.id === e);
|
|
193
|
+
J
|
|
194
|
+
]), je = l(async (e) => {
|
|
195
|
+
if (!A || !c) return;
|
|
196
|
+
let t = A.pages?.find((t) => t.id === e);
|
|
192
197
|
if (!t) return;
|
|
193
|
-
let n = await
|
|
198
|
+
let n = await q({
|
|
194
199
|
dashboardId: c,
|
|
195
|
-
name:
|
|
200
|
+
name: y("bigconsole.dashboards.view.pageCopyName", "{{name}} (Copy)", { name: t.name ?? "" })
|
|
196
201
|
});
|
|
197
|
-
n && (
|
|
198
|
-
...
|
|
199
|
-
pages: [...
|
|
200
|
-
}),
|
|
202
|
+
n && (j({
|
|
203
|
+
...A,
|
|
204
|
+
pages: [...A.pages || [], n]
|
|
205
|
+
}), S(n.id));
|
|
201
206
|
}, [
|
|
202
|
-
|
|
207
|
+
A,
|
|
203
208
|
c,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
+
j,
|
|
210
|
+
q,
|
|
211
|
+
y
|
|
212
|
+
]), Me = l(async (e) => {
|
|
213
|
+
if (!(!A || (A.pages?.length || 0) <= 1) && await Y(e)) {
|
|
214
|
+
let t = A.pages?.filter((t) => t.id !== e).map((e, t) => ({
|
|
209
215
|
...e,
|
|
210
216
|
order: t
|
|
211
217
|
}));
|
|
212
|
-
|
|
213
|
-
...
|
|
218
|
+
j({
|
|
219
|
+
...A,
|
|
214
220
|
pages: t
|
|
215
|
-
}),
|
|
221
|
+
}), x === e && S(t?.[0]?.id || null);
|
|
216
222
|
}
|
|
217
223
|
}, [
|
|
224
|
+
A,
|
|
218
225
|
j,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
...j,
|
|
226
|
+
x,
|
|
227
|
+
Y
|
|
228
|
+
]), Ne = l(async (e) => {
|
|
229
|
+
!A || !c || (j({
|
|
230
|
+
...A,
|
|
225
231
|
pages: e.map((e, t) => ({
|
|
226
232
|
...e,
|
|
227
233
|
order: t
|
|
228
234
|
}))
|
|
229
|
-
}), await
|
|
235
|
+
}), await X(c, e.map((e) => e.id)));
|
|
230
236
|
}, [
|
|
231
|
-
|
|
237
|
+
A,
|
|
232
238
|
c,
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
j,
|
|
240
|
+
X
|
|
235
241
|
]);
|
|
236
|
-
return
|
|
242
|
+
return de ? /* @__PURE__ */ g("div", {
|
|
237
243
|
className: "flex items-center justify-center h-full",
|
|
238
244
|
children: /* @__PURE__ */ g("div", { className: "animate-spin w-8 h-8 border-4 border-action-primary-bg border-t-transparent rounded-full" })
|
|
239
|
-
}) :
|
|
240
|
-
className: "flex flex-col items-center justify-center
|
|
245
|
+
}) : fe ? z ? /* @__PURE__ */ g("div", {
|
|
246
|
+
className: "flex h-full flex-col items-center justify-center",
|
|
241
247
|
style: { padding: "var(--space-pagePadding)" },
|
|
242
|
-
children: /* @__PURE__ */
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
onClick: () => v("/dashboards"),
|
|
263
|
-
className: "px-4 py-2 text-sm font-medium text-text-secondary bg-bg-sunken hover:bg-bg-sunken/80 rounded-md",
|
|
264
|
-
children: "Back to Dashboards"
|
|
265
|
-
})]
|
|
266
|
-
})
|
|
267
|
-
]
|
|
248
|
+
children: /* @__PURE__ */ g(n, {
|
|
249
|
+
headingLevel: 2,
|
|
250
|
+
tone: "danger",
|
|
251
|
+
title: y("bigconsole.dashboards.view.errorTitle", "Error loading dashboard"),
|
|
252
|
+
description: /* @__PURE__ */ g("span", {
|
|
253
|
+
className: "break-words",
|
|
254
|
+
children: z.message
|
|
255
|
+
}),
|
|
256
|
+
className: "w-full max-w-md",
|
|
257
|
+
"data-testid": "dashboard-view-error",
|
|
258
|
+
actions: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(p, {
|
|
259
|
+
size: "sm",
|
|
260
|
+
onClick: () => B(c),
|
|
261
|
+
children: y("bigconsole.dashboards.view.retry", "Retry")
|
|
262
|
+
}), /* @__PURE__ */ g(p, {
|
|
263
|
+
size: "sm",
|
|
264
|
+
variant: "outline",
|
|
265
|
+
onClick: () => v("/dashboards"),
|
|
266
|
+
children: y("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards")
|
|
267
|
+
})] })
|
|
268
268
|
})
|
|
269
|
-
}) :
|
|
269
|
+
}) : _e ? /* @__PURE__ */ g("div", {
|
|
270
270
|
className: "flex flex-col items-center justify-center h-full",
|
|
271
271
|
style: { padding: "var(--space-pagePadding)" },
|
|
272
|
-
children: /* @__PURE__ */ g(
|
|
272
|
+
children: /* @__PURE__ */ g(m, {
|
|
273
273
|
illustration: "empty-data",
|
|
274
|
-
title: "Dashboard not found",
|
|
275
|
-
description: /* @__PURE__ */ _(
|
|
276
|
-
className: "mt-2 block font-mono text-xs text-text-
|
|
277
|
-
children:
|
|
274
|
+
title: y("bigconsole.dashboards.view.notFoundTitle", "Dashboard not found"),
|
|
275
|
+
description: /* @__PURE__ */ _(h, { children: [y("bigconsole.dashboards.view.notFoundDescription", "The dashboard you're looking for doesn't exist or has been deleted."), /* @__PURE__ */ g("span", {
|
|
276
|
+
className: "mt-2 block font-mono text-xs text-text-muted break-all",
|
|
277
|
+
children: y("bigconsole.dashboards.view.idLabel", "ID: {{id}}", { id: c ?? "" })
|
|
278
278
|
})] }),
|
|
279
|
-
action: /* @__PURE__ */ g(
|
|
280
|
-
type: "button",
|
|
279
|
+
action: /* @__PURE__ */ g(p, {
|
|
281
280
|
onClick: () => v("/dashboards"),
|
|
282
|
-
|
|
283
|
-
children: "Back to Dashboards"
|
|
281
|
+
children: y("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards")
|
|
284
282
|
})
|
|
285
283
|
})
|
|
286
|
-
}) :
|
|
284
|
+
}) : be || !A ? /* @__PURE__ */ g("div", {
|
|
287
285
|
className: "flex items-center justify-center h-full",
|
|
286
|
+
role: "status",
|
|
287
|
+
"aria-live": "polite",
|
|
288
288
|
children: /* @__PURE__ */ _("div", {
|
|
289
289
|
className: "flex flex-col items-center gap-4",
|
|
290
290
|
children: [/* @__PURE__ */ g("div", { className: "animate-spin w-8 h-8 border-4 border-action-primary-bg border-t-transparent rounded-full" }), /* @__PURE__ */ g("p", {
|
|
291
291
|
className: "text-sm text-text-secondary",
|
|
292
|
-
children: "Loading dashboard..."
|
|
292
|
+
children: y("bigconsole.dashboards.view.loading", "Loading dashboard...")
|
|
293
293
|
})]
|
|
294
294
|
})
|
|
295
295
|
}) : /* @__PURE__ */ _("div", {
|
|
296
296
|
className: "h-full flex flex-col overflow-hidden",
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
298
|
+
/* @__PURE__ */ g(n, {
|
|
299
|
+
emphasis: "bare",
|
|
300
|
+
padding: "none",
|
|
301
|
+
"data-testid": "dashboard-route-header",
|
|
302
|
+
"aria-label": "Dashboard",
|
|
303
|
+
className: "flex-shrink-0 border-b border-[var(--color-border-subtle)] bg-bg-surface px-3 py-2",
|
|
304
|
+
headerClassName: "",
|
|
305
|
+
header: /* @__PURE__ */ _("div", {
|
|
306
|
+
className: "flex flex-wrap items-center gap-control-gap",
|
|
307
|
+
children: [
|
|
308
|
+
/* @__PURE__ */ _(p, {
|
|
309
|
+
onClick: Se,
|
|
310
|
+
variant: "ghost",
|
|
311
|
+
size: "sm",
|
|
312
|
+
title: y("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards"),
|
|
313
|
+
"aria-label": y("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards"),
|
|
314
|
+
className: "flex-shrink-0",
|
|
315
|
+
children: [/* @__PURE__ */ g(ue, { className: "w-4 h-4 mr-2" }), y("bigconsole.dashboards.view.back", "Back")]
|
|
316
|
+
}),
|
|
317
|
+
/* @__PURE__ */ g("h1", {
|
|
318
|
+
className: "min-w-0 flex-1 truncate text-sm font-semibold text-text-primary",
|
|
319
|
+
title: A.name,
|
|
320
|
+
children: A.name
|
|
321
|
+
}),
|
|
322
|
+
/* @__PURE__ */ g("div", {
|
|
323
|
+
className: "flex-shrink-0",
|
|
324
|
+
children: /* @__PURE__ */ g(s, {
|
|
325
|
+
isLive: E,
|
|
326
|
+
onToggle: () => ye((e) => !e)
|
|
327
|
+
})
|
|
318
328
|
})
|
|
319
|
-
|
|
320
|
-
|
|
329
|
+
]
|
|
330
|
+
})
|
|
321
331
|
}),
|
|
322
|
-
|
|
323
|
-
currentDashboardId:
|
|
324
|
-
currentDashboardName:
|
|
332
|
+
D && /* @__PURE__ */ g(ie, {
|
|
333
|
+
currentDashboardId: A.id,
|
|
334
|
+
currentDashboardName: A.name,
|
|
325
335
|
basePath: "/bigconsole/dashboards"
|
|
326
336
|
}),
|
|
327
337
|
/* @__PURE__ */ g("div", {
|
|
328
338
|
className: "flex-1 min-w-0 overflow-hidden",
|
|
329
|
-
children: /* @__PURE__ */ g(
|
|
330
|
-
dashboardId:
|
|
331
|
-
pageId:
|
|
332
|
-
title:
|
|
333
|
-
onPaste:
|
|
334
|
-
onSave:
|
|
335
|
-
isSaving:
|
|
336
|
-
onExport:
|
|
337
|
-
onPublishTemplate:
|
|
338
|
-
pages: (
|
|
339
|
+
children: /* @__PURE__ */ g(ne, {
|
|
340
|
+
dashboardId: A.id,
|
|
341
|
+
pageId: x || A.pages?.[0]?.id,
|
|
342
|
+
title: A.name,
|
|
343
|
+
onPaste: we,
|
|
344
|
+
onSave: pe ? xe : void 0,
|
|
345
|
+
isSaving: ge,
|
|
346
|
+
onExport: me ? Te : void 0,
|
|
347
|
+
onPublishTemplate: he ? De : void 0,
|
|
348
|
+
pages: (A.pages || []).map((e, t) => ({
|
|
339
349
|
id: e.id,
|
|
340
|
-
name: e.name ||
|
|
350
|
+
name: e.name || y("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: t + 1 }),
|
|
341
351
|
order: e.order ?? 0
|
|
342
352
|
})),
|
|
343
|
-
activePageId:
|
|
344
|
-
onPageChange:
|
|
345
|
-
onPageAdd:
|
|
346
|
-
onPageRename:
|
|
347
|
-
onPageDuplicate:
|
|
348
|
-
onPageDelete:
|
|
349
|
-
onPagesReorder:
|
|
353
|
+
activePageId: x || A.pages?.[0]?.id,
|
|
354
|
+
onPageChange: Ce,
|
|
355
|
+
onPageAdd: ke,
|
|
356
|
+
onPageRename: Ae,
|
|
357
|
+
onPageDuplicate: je,
|
|
358
|
+
onPageDelete: Me,
|
|
359
|
+
onPagesReorder: Ne,
|
|
350
360
|
showPageTabs: !0
|
|
351
361
|
})
|
|
352
362
|
}),
|
|
353
|
-
/* @__PURE__ */ g(
|
|
354
|
-
isOpen:
|
|
355
|
-
dashboardId:
|
|
356
|
-
dashboardName:
|
|
357
|
-
onClose:
|
|
363
|
+
/* @__PURE__ */ g(re, {
|
|
364
|
+
isOpen: ve,
|
|
365
|
+
dashboardId: A.id,
|
|
366
|
+
dashboardName: A.name,
|
|
367
|
+
onClose: Oe
|
|
358
368
|
}),
|
|
359
|
-
/* @__PURE__ */ g(
|
|
360
|
-
isOpen:
|
|
361
|
-
dashboardId:
|
|
362
|
-
dashboardName:
|
|
363
|
-
dashboardDescription:
|
|
364
|
-
onClose:
|
|
369
|
+
/* @__PURE__ */ g(ae, {
|
|
370
|
+
isOpen: Ee,
|
|
371
|
+
dashboardId: A.id,
|
|
372
|
+
dashboardName: A.name,
|
|
373
|
+
dashboardDescription: A.description,
|
|
374
|
+
onClose: $
|
|
365
375
|
})
|
|
366
376
|
]
|
|
367
|
-
}) : /* @__PURE__ */ g(
|
|
368
|
-
title: "Access Denied",
|
|
369
|
-
description: "You don't have permission to view this dashboard."
|
|
377
|
+
}) : /* @__PURE__ */ g(ce, {
|
|
378
|
+
title: y("bigconsole.dashboards.view.accessDeniedTitle", "Access Denied"),
|
|
379
|
+
description: y("bigconsole.dashboards.view.accessDeniedDescription", "You don't have permission to view this dashboard.")
|
|
370
380
|
});
|
|
371
381
|
});
|
|
372
382
|
//#endregion
|