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