@burdenoff/microfe-bigconsole 2026.522.1 → 2026.526.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/package.json +1 -1
- package/dist/bigconsole/BigConsoleRoot.d.ts +0 -29
- package/dist/bigconsole/BigConsoleRoot.d.ts.map +0 -1
- package/dist/bigconsole/BigConsoleRoutes.d.ts +0 -6
- package/dist/bigconsole/BigConsoleRoutes.d.ts.map +0 -1
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +0 -11
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +0 -1
- package/dist/bigconsole/components/DrilldownModal.d.ts +0 -11
- package/dist/bigconsole/components/DrilldownModal.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +0 -19
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +0 -44
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +0 -25
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +0 -27
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts +0 -26
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +0 -17
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +0 -12
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +0 -16
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +0 -13
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +0 -19
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts +0 -8
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +0 -10
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +0 -26
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts +0 -6
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +0 -12
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts +0 -6
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +0 -11
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts +0 -6
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +0 -19
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts +0 -6
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +0 -23
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +0 -1
- package/dist/bigconsole/components/dashboard/index.d.ts +0 -19
- package/dist/bigconsole/components/dashboard/index.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +0 -18
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +0 -21
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts +0 -20
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +0 -23
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts +0 -18
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +0 -17
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts +0 -22
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +0 -17
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +0 -13
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts +0 -13
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +0 -17
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts +0 -31
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +0 -10
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts +0 -12
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +0 -11
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts +0 -26
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +0 -13
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +0 -30
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/datasink/index.d.ts +0 -24
- package/dist/bigconsole/components/datasink/index.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +0 -21
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +0 -17
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +0 -25
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +0 -12
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts +0 -41
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserCard.d.ts +0 -23
- package/dist/bigconsole/components/parser/ParserCard.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +0 -42
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserSelector.d.ts +0 -27
- package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +0 -13
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +0 -11
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/TestPanel.d.ts +0 -25
- package/dist/bigconsole/components/parser/TestPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/parser/index.d.ts +0 -17
- package/dist/bigconsole/components/parser/index.d.ts.map +0 -1
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +0 -12
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +0 -1
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +0 -11
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +0 -9
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/pipeline/index.d.ts +0 -9
- package/dist/bigconsole/components/pipeline/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +0 -13
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +0 -26
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +0 -9
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts +0 -25
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +0 -23
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +0 -31
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +0 -18
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +0 -113
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +0 -16
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +0 -31
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +0 -38
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts +0 -7
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/area-chart/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/area-chart/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/bar-chart/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/bar-chart/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +0 -25
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/calendar/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/calendar/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +0 -25
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +0 -24
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +0 -17
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +0 -16
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +0 -16
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +0 -18
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +0 -16
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +0 -18
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +0 -45
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/chart/index.d.ts +0 -11
- package/dist/bigconsole/components/widgets/chart/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +0 -13
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/custom/config.d.ts +0 -9
- package/dist/bigconsole/components/widgets/custom/config.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/custom/index.d.ts +0 -8
- package/dist/bigconsole/components/widgets/custom/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/custom/utils.d.ts +0 -4
- package/dist/bigconsole/components/widgets/custom/utils.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +0 -16
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts +0 -6
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +0 -27
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/form/index.d.ts +0 -6
- package/dist/bigconsole/components/widgets/form/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/funnel/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +0 -31
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +0 -22
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +0 -28
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/gauge/index.d.ts +0 -10
- package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +0 -23
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts +0 -7
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +0 -17
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/index.d.ts +0 -34
- package/dist/bigconsole/components/widgets/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +0 -29
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kanban/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/kanban/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +0 -23
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kpi/index.d.ts +0 -7
- package/dist/bigconsole/components/widgets/kpi/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +0 -25
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/line-chart/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/line-chart/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts +0 -39
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +0 -17
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/list/index.d.ts +0 -9
- package/dist/bigconsole/components/widgets/list/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +0 -29
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +0 -15
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +0 -36
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +0 -23
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +0 -14
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts +0 -11
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/pie-chart/index.d.ts +0 -12
- package/dist/bigconsole/components/widgets/pie-chart/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +0 -26
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts +0 -6
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +0 -29
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +0 -28
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/progress/index.d.ts +0 -9
- package/dist/bigconsole/components/widgets/progress/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +0 -25
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/retention/index.d.ts +0 -7
- package/dist/bigconsole/components/widgets/retention/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +0 -14
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +0 -11
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +0 -9
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/states/index.d.ts +0 -9
- package/dist/bigconsole/components/widgets/states/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts +0 -31
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +0 -12
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +0 -32
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +0 -23
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +0 -16
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/table/index.d.ts +0 -11
- package/dist/bigconsole/components/widgets/table/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +0 -14
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +0 -31
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/timeline/index.d.ts +0 -3
- package/dist/bigconsole/components/widgets/timeline/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts +0 -45
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +0 -16
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts +0 -6
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +0 -26
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts.map +0 -1
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts +0 -8
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +0 -1
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +0 -19
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +0 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +0 -11
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.map +0 -1
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +0 -11
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts.map +0 -1
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +0 -13
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.map +0 -1
- package/dist/bigconsole/components/workflow/index.d.ts +0 -10
- package/dist/bigconsole/components/workflow/index.d.ts.map +0 -1
- package/dist/bigconsole/constants.d.ts +0 -15
- package/dist/bigconsole/constants.d.ts.map +0 -1
- package/dist/bigconsole/context/BigConsoleContext.d.ts +0 -25
- package/dist/bigconsole/context/BigConsoleContext.d.ts.map +0 -1
- package/dist/bigconsole/context/index.d.ts +0 -2
- package/dist/bigconsole/context/index.d.ts.map +0 -1
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts +0 -48
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts.map +0 -1
- package/dist/bigconsole/contexts/NavigationContext.d.ts +0 -45
- package/dist/bigconsole/contexts/NavigationContext.d.ts.map +0 -1
- package/dist/bigconsole/contexts/index.d.ts +0 -8
- package/dist/bigconsole/contexts/index.d.ts.map +0 -1
- package/dist/bigconsole/graphql/apollo-compat.d.ts +0 -16
- package/dist/bigconsole/graphql/apollo-compat.d.ts.map +0 -1
- package/dist/bigconsole/hooks/index.d.ts +0 -35
- package/dist/bigconsole/hooks/index.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts +0 -51
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useCrossFilter.d.ts +0 -79
- package/dist/bigconsole/hooks/useCrossFilter.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts +0 -43
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts +0 -60
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts +0 -135
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDashboardViews.d.ts +0 -58
- package/dist/bigconsole/hooks/useDashboardViews.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +0 -55
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +0 -31
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDrilldown.d.ts +0 -63
- package/dist/bigconsole/hooks/useDrilldown.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +0 -42
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useEventLogs.d.ts +0 -94
- package/dist/bigconsole/hooks/useEventLogs.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts +0 -91
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useExportDashboard.d.ts +0 -28
- package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useExportDataSink.d.ts +0 -27
- package/dist/bigconsole/hooks/useExportDataSink.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useExportParser.d.ts +0 -25
- package/dist/bigconsole/hooks/useExportParser.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useFilterPresets.d.ts +0 -47
- package/dist/bigconsole/hooks/useFilterPresets.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +0 -46
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts +0 -69
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useImportDashboard.d.ts +0 -88
- package/dist/bigconsole/hooks/useImportDashboard.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useImportDataSink.d.ts +0 -74
- package/dist/bigconsole/hooks/useImportDataSink.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useImportParser.d.ts +0 -77
- package/dist/bigconsole/hooks/useImportParser.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +0 -15
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +0 -1
- package/dist/bigconsole/hooks/usePageOperations.d.ts +0 -35
- package/dist/bigconsole/hooks/usePageOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useParserOperations.d.ts +0 -64
- package/dist/bigconsole/hooks/useParserOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts +0 -76
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWidgetActions.d.ts +0 -69
- package/dist/bigconsole/hooks/useWidgetActions.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWidgetData.d.ts +0 -45
- package/dist/bigconsole/hooks/useWidgetData.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts +0 -60
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWidgetExport.d.ts +0 -19
- package/dist/bigconsole/hooks/useWidgetExport.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts +0 -61
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts.map +0 -1
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +0 -54
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts.map +0 -1
- package/dist/bigconsole/index.d.ts +0 -30
- package/dist/bigconsole/index.d.ts.map +0 -1
- package/dist/bigconsole/modules/dashboard/index.d.ts +0 -15
- package/dist/bigconsole/modules/dashboard/index.d.ts.map +0 -1
- package/dist/bigconsole/modules/index.d.ts +0 -15
- package/dist/bigconsole/modules/index.d.ts.map +0 -1
- package/dist/bigconsole/modules/renderer/index.d.ts +0 -8
- package/dist/bigconsole/modules/renderer/index.d.ts.map +0 -1
- package/dist/bigconsole/modules/widget/index.d.ts +0 -20
- package/dist/bigconsole/modules/widget/index.d.ts.map +0 -1
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +0 -5
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DashboardViewPage.d.ts +0 -5
- package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DashboardsPage.d.ts +0 -5
- package/dist/bigconsole/pages/DashboardsPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DataParsersPage.d.ts +0 -9
- package/dist/bigconsole/pages/DataParsersPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts +0 -10
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts +0 -8
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DataSinksPage.d.ts +0 -5
- package/dist/bigconsole/pages/DataSinksPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/DataSourcesPage.d.ts +0 -10
- package/dist/bigconsole/pages/DataSourcesPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/HomePage.d.ts +0 -5
- package/dist/bigconsole/pages/HomePage.d.ts.map +0 -1
- package/dist/bigconsole/pages/InsightsPage.d.ts +0 -5
- package/dist/bigconsole/pages/InsightsPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts +0 -9
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/ParserViewPage.d.ts +0 -8
- package/dist/bigconsole/pages/ParserViewPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts +0 -9
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/PipelineViewPage.d.ts +0 -9
- package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/PipelinesPage.d.ts +0 -9
- package/dist/bigconsole/pages/PipelinesPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/SettingsPage.d.ts +0 -5
- package/dist/bigconsole/pages/SettingsPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts +0 -5
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts +0 -9
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/WorkflowsPage.d.ts +0 -9
- package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +0 -1
- package/dist/bigconsole/pages/index.d.ts +0 -14
- package/dist/bigconsole/pages/index.d.ts.map +0 -1
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +0 -6
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts.map +0 -1
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +0 -9
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.map +0 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +0 -6
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts.map +0 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +0 -46
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.map +0 -1
- package/dist/bigconsole/renderers/adapters/index.d.ts +0 -10
- package/dist/bigconsole/renderers/adapters/index.d.ts.map +0 -1
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +0 -46
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts.map +0 -1
- package/dist/bigconsole/renderers/index.d.ts +0 -10
- package/dist/bigconsole/renderers/index.d.ts.map +0 -1
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +0 -42
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts.map +0 -1
- package/dist/bigconsole/renderers/types/index.d.ts +0 -7
- package/dist/bigconsole/renderers/types/index.d.ts.map +0 -1
- package/dist/bigconsole/renderers/types/renderer.d.ts +0 -228
- package/dist/bigconsole/renderers/types/renderer.d.ts.map +0 -1
- package/dist/bigconsole/store/dashboardStore.d.ts +0 -132
- package/dist/bigconsole/store/dashboardStore.d.ts.map +0 -1
- package/dist/bigconsole/store/dataSinkStore.d.ts +0 -94
- package/dist/bigconsole/store/dataSinkStore.d.ts.map +0 -1
- package/dist/bigconsole/store/drilldownStore.d.ts +0 -63
- package/dist/bigconsole/store/drilldownStore.d.ts.map +0 -1
- package/dist/bigconsole/store/index.d.ts +0 -13
- package/dist/bigconsole/store/index.d.ts.map +0 -1
- package/dist/bigconsole/store/parserStore.d.ts +0 -106
- package/dist/bigconsole/store/parserStore.d.ts.map +0 -1
- package/dist/bigconsole/store/pipelineStore.d.ts +0 -113
- package/dist/bigconsole/store/pipelineStore.d.ts.map +0 -1
- package/dist/bigconsole/store/widgetStore.d.ts +0 -106
- package/dist/bigconsole/store/widgetStore.d.ts.map +0 -1
- package/dist/bigconsole/store/workflowStore.d.ts +0 -120
- package/dist/bigconsole/store/workflowStore.d.ts.map +0 -1
- package/dist/bigconsole/types/index.d.ts +0 -1233
- package/dist/bigconsole/types/index.d.ts.map +0 -1
- package/dist/bigconsole/utils/index.d.ts +0 -9
- package/dist/bigconsole/utils/index.d.ts.map +0 -1
- package/dist/bigconsole/utils/semanticTokens.d.ts +0 -88
- package/dist/bigconsole/utils/semanticTokens.d.ts.map +0 -1
- package/dist/bigconsole/utils/widgetPositioning.d.ts +0 -81
- package/dist/bigconsole/utils/widgetPositioning.d.ts.map +0 -1
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts +0 -34
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -9514
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useDashboardSharing Hook
|
|
3
|
-
*
|
|
4
|
-
* Provides operations for managing dashboard sharing.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Share recipient type as per spec (03-graphql-contract.md)
|
|
8
|
-
* Spec values: user, group
|
|
9
|
-
*/
|
|
10
|
-
export type ShareRecipientType = 'USER' | 'GROUP';
|
|
11
|
-
/**
|
|
12
|
-
* Share permission level as per spec (03-graphql-contract.md)
|
|
13
|
-
* Spec values: view, edit
|
|
14
|
-
*/
|
|
15
|
-
export type SharePermission = 'VIEW' | 'EDIT';
|
|
16
|
-
export interface DashboardShare {
|
|
17
|
-
id: string;
|
|
18
|
-
dashboardId: string;
|
|
19
|
-
sharedByUserId: string;
|
|
20
|
-
recipientType: ShareRecipientType;
|
|
21
|
-
recipientId: string;
|
|
22
|
-
permission: SharePermission;
|
|
23
|
-
expiresAt?: string;
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
version: number;
|
|
26
|
-
metadata?: Record<string, unknown>;
|
|
27
|
-
createdAt: string;
|
|
28
|
-
updatedAt: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ShareDashboardInput {
|
|
31
|
-
dashboardId: string;
|
|
32
|
-
recipientType: ShareRecipientType;
|
|
33
|
-
recipientId: string;
|
|
34
|
-
permission?: SharePermission;
|
|
35
|
-
expiresAt?: string;
|
|
36
|
-
metadata?: Record<string, unknown>;
|
|
37
|
-
}
|
|
38
|
-
export interface UpdateShareInput {
|
|
39
|
-
id: string;
|
|
40
|
-
permission?: SharePermission;
|
|
41
|
-
expiresAt?: string;
|
|
42
|
-
isActive?: boolean;
|
|
43
|
-
metadata?: Record<string, unknown>;
|
|
44
|
-
}
|
|
45
|
-
export interface UseDashboardSharingResult {
|
|
46
|
-
shares: DashboardShare[];
|
|
47
|
-
sharedWithMe: DashboardShare[];
|
|
48
|
-
loading: boolean;
|
|
49
|
-
error: Error | null;
|
|
50
|
-
fetchShares: (dashboardId: string) => Promise<DashboardShare[]>;
|
|
51
|
-
fetchSharedWithMe: (permission?: SharePermission) => Promise<DashboardShare[]>;
|
|
52
|
-
shareWithUser: (dashboardId: string, userId: string, permission?: SharePermission) => Promise<DashboardShare | null>;
|
|
53
|
-
shareWithGroup: (dashboardId: string, groupId: string, permission?: SharePermission) => Promise<DashboardShare | null>;
|
|
54
|
-
updateShare: (input: UpdateShareInput) => Promise<DashboardShare | null>;
|
|
55
|
-
revokeShare: (id: string) => Promise<boolean>;
|
|
56
|
-
revokeAllShares: (dashboardId: string) => Promise<boolean>;
|
|
57
|
-
}
|
|
58
|
-
export declare function useDashboardSharing(): UseDashboardSharingResult;
|
|
59
|
-
export default useDashboardSharing;
|
|
60
|
-
//# sourceMappingURL=useDashboardSharing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboardSharing.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDashboardSharing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,OAAO,CAAC;AAElD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,EAAE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cAAc,EAAE,CAAC,CAAC;IAC/E,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACrH,cAAc,EAAE,CACd,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,eAAe,KACzB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACzE,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9C,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC5D;AA0CD,wBAAgB,mBAAmB,IAAI,yBAAyB,CAuP/D;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useDashboardTemplates Hook
|
|
3
|
-
*
|
|
4
|
-
* Provides operations for managing dashboard templates.
|
|
5
|
-
*/
|
|
6
|
-
export type DashboardCategory = 'ANALYTICS' | 'OPERATIONS' | 'SALES' | 'MARKETING' | 'FINANCE' | 'HR' | 'CUSTOM';
|
|
7
|
-
export type TemplateComplexity = 'BEGINNER' | 'INTERMEDIATE' | 'ADVANCED';
|
|
8
|
-
/**
|
|
9
|
-
* Template author type as per spec (03-graphql-contract.md)
|
|
10
|
-
* Spec values: system, workspace, community
|
|
11
|
-
*/
|
|
12
|
-
export type TemplateAuthorType = 'SYSTEM' | 'WORKSPACE' | 'COMMUNITY';
|
|
13
|
-
export type TemplateStatus = 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED';
|
|
14
|
-
export interface DashboardTemplate {
|
|
15
|
-
id: string;
|
|
16
|
-
workspaceId?: string;
|
|
17
|
-
tenantId?: string;
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
category: DashboardCategory;
|
|
21
|
-
tags: string[];
|
|
22
|
-
definition: Record<string, unknown>;
|
|
23
|
-
definitionVersion: string;
|
|
24
|
-
placeholders: Record<string, unknown>;
|
|
25
|
-
thumbnailFileId?: string;
|
|
26
|
-
previewUrl?: string;
|
|
27
|
-
authorType: TemplateAuthorType;
|
|
28
|
-
isPublic: boolean;
|
|
29
|
-
isActive: boolean;
|
|
30
|
-
isFeatured: boolean;
|
|
31
|
-
complexity: TemplateComplexity;
|
|
32
|
-
usageCount: number;
|
|
33
|
-
rating?: number;
|
|
34
|
-
ratingCount: number;
|
|
35
|
-
status: TemplateStatus;
|
|
36
|
-
version: number;
|
|
37
|
-
metadata?: Record<string, unknown>;
|
|
38
|
-
createdAt: string;
|
|
39
|
-
createdBy?: string;
|
|
40
|
-
updatedAt: string;
|
|
41
|
-
}
|
|
42
|
-
export interface DashboardTemplateListItem {
|
|
43
|
-
id: string;
|
|
44
|
-
workspaceId?: string;
|
|
45
|
-
name: string;
|
|
46
|
-
description?: string;
|
|
47
|
-
category: DashboardCategory;
|
|
48
|
-
tags: string[];
|
|
49
|
-
thumbnailFileId?: string;
|
|
50
|
-
previewUrl?: string;
|
|
51
|
-
authorType: TemplateAuthorType;
|
|
52
|
-
isPublic: boolean;
|
|
53
|
-
isFeatured: boolean;
|
|
54
|
-
complexity: TemplateComplexity;
|
|
55
|
-
usageCount: number;
|
|
56
|
-
rating?: number;
|
|
57
|
-
ratingCount: number;
|
|
58
|
-
status: TemplateStatus;
|
|
59
|
-
createdAt: string;
|
|
60
|
-
}
|
|
61
|
-
export interface CreateTemplateInput {
|
|
62
|
-
workspaceId?: string;
|
|
63
|
-
name: string;
|
|
64
|
-
description?: string;
|
|
65
|
-
category: DashboardCategory;
|
|
66
|
-
tags?: string[];
|
|
67
|
-
definition: Record<string, unknown>;
|
|
68
|
-
placeholders: Record<string, unknown>;
|
|
69
|
-
thumbnailFileId?: string;
|
|
70
|
-
previewUrl?: string;
|
|
71
|
-
authorType?: TemplateAuthorType;
|
|
72
|
-
isPublic?: boolean;
|
|
73
|
-
isFeatured?: boolean;
|
|
74
|
-
complexity?: TemplateComplexity;
|
|
75
|
-
metadata?: Record<string, unknown>;
|
|
76
|
-
}
|
|
77
|
-
export interface UpdateTemplateInput {
|
|
78
|
-
id: string;
|
|
79
|
-
name?: string;
|
|
80
|
-
description?: string;
|
|
81
|
-
category?: DashboardCategory;
|
|
82
|
-
tags?: string[];
|
|
83
|
-
definition?: Record<string, unknown>;
|
|
84
|
-
placeholders?: Record<string, unknown>;
|
|
85
|
-
thumbnailFileId?: string;
|
|
86
|
-
previewUrl?: string;
|
|
87
|
-
isPublic?: boolean;
|
|
88
|
-
isActive?: boolean;
|
|
89
|
-
isFeatured?: boolean;
|
|
90
|
-
complexity?: TemplateComplexity;
|
|
91
|
-
status?: TemplateStatus;
|
|
92
|
-
metadata?: Record<string, unknown>;
|
|
93
|
-
}
|
|
94
|
-
export interface InstantiateTemplateInput {
|
|
95
|
-
templateId: string;
|
|
96
|
-
name: string;
|
|
97
|
-
description?: string;
|
|
98
|
-
placeholderValues: Record<string, unknown>;
|
|
99
|
-
visibility?: 'PRIVATE' | 'WORKSPACE' | 'PUBLIC';
|
|
100
|
-
metadata?: Record<string, unknown>;
|
|
101
|
-
}
|
|
102
|
-
export interface RateTemplateInput {
|
|
103
|
-
templateId: string;
|
|
104
|
-
rating: number;
|
|
105
|
-
}
|
|
106
|
-
export interface ListTemplatesFilters {
|
|
107
|
-
category?: DashboardCategory;
|
|
108
|
-
complexity?: TemplateComplexity;
|
|
109
|
-
authorType?: TemplateAuthorType;
|
|
110
|
-
isFeatured?: boolean;
|
|
111
|
-
status?: TemplateStatus;
|
|
112
|
-
search?: string;
|
|
113
|
-
}
|
|
114
|
-
export interface UseDashboardTemplatesResult {
|
|
115
|
-
templates: DashboardTemplateListItem[];
|
|
116
|
-
featuredTemplates: DashboardTemplateListItem[];
|
|
117
|
-
categories: DashboardCategory[];
|
|
118
|
-
loading: boolean;
|
|
119
|
-
error: Error | null;
|
|
120
|
-
fetchTemplates: (filters?: ListTemplatesFilters) => Promise<DashboardTemplateListItem[]>;
|
|
121
|
-
fetchFeaturedTemplates: (category?: DashboardCategory) => Promise<DashboardTemplateListItem[]>;
|
|
122
|
-
searchTemplates: (query: string, category?: DashboardCategory, complexity?: TemplateComplexity) => Promise<DashboardTemplateListItem[]>;
|
|
123
|
-
getTemplate: (id: string) => Promise<DashboardTemplate | null>;
|
|
124
|
-
createTemplate: (input: CreateTemplateInput) => Promise<DashboardTemplate | null>;
|
|
125
|
-
updateTemplate: (input: UpdateTemplateInput) => Promise<DashboardTemplate | null>;
|
|
126
|
-
deleteTemplate: (id: string) => Promise<boolean>;
|
|
127
|
-
instantiateTemplate: (input: InstantiateTemplateInput) => Promise<unknown>;
|
|
128
|
-
rateTemplate: (input: RateTemplateInput) => Promise<DashboardTemplate | null>;
|
|
129
|
-
publishTemplate: (id: string) => Promise<DashboardTemplate | null>;
|
|
130
|
-
deprecateTemplate: (id: string) => Promise<DashboardTemplate | null>;
|
|
131
|
-
archiveTemplate: (id: string) => Promise<DashboardTemplate | null>;
|
|
132
|
-
}
|
|
133
|
-
export declare function useDashboardTemplates(): UseDashboardTemplatesResult;
|
|
134
|
-
export default useDashboardTemplates;
|
|
135
|
-
//# sourceMappingURL=useDashboardTemplates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboardTemplates.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDashboardTemplates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAuBH,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,IAAI,GAAG,QAAQ,CAAC;AACjH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG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B,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrE,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACpE;AA4FD,wBAAgB,qBAAqB,IAAI,2BAA2B,CAmZnE;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useDashboardViews Hook
|
|
3
|
-
*
|
|
4
|
-
* Provides operations for managing dashboard saved views.
|
|
5
|
-
*/
|
|
6
|
-
export interface DashboardView {
|
|
7
|
-
id: string;
|
|
8
|
-
dashboardId: string;
|
|
9
|
-
workspaceId: string;
|
|
10
|
-
name: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
filters?: Record<string, unknown>;
|
|
13
|
-
layout?: Record<string, unknown>;
|
|
14
|
-
isDefault: boolean;
|
|
15
|
-
version: number;
|
|
16
|
-
metadata?: Record<string, unknown>;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
createdBy?: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
updatedBy?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface CreateDashboardViewInput {
|
|
23
|
-
dashboardId: string;
|
|
24
|
-
name: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
filters?: Record<string, unknown>;
|
|
27
|
-
layout?: Record<string, unknown>;
|
|
28
|
-
isDefault?: boolean;
|
|
29
|
-
metadata?: Record<string, unknown>;
|
|
30
|
-
}
|
|
31
|
-
export interface UpdateDashboardViewInput {
|
|
32
|
-
id: string;
|
|
33
|
-
name?: string;
|
|
34
|
-
description?: string;
|
|
35
|
-
filters?: Record<string, unknown>;
|
|
36
|
-
layout?: Record<string, unknown>;
|
|
37
|
-
isDefault?: boolean;
|
|
38
|
-
metadata?: Record<string, unknown>;
|
|
39
|
-
}
|
|
40
|
-
export interface UseDashboardViewsResult {
|
|
41
|
-
views: DashboardView[];
|
|
42
|
-
defaultView: DashboardView | null;
|
|
43
|
-
currentView: DashboardView | null;
|
|
44
|
-
loading: boolean;
|
|
45
|
-
error: Error | null;
|
|
46
|
-
fetchViews: (dashboardId: string) => Promise<DashboardView[]>;
|
|
47
|
-
fetchDefaultView: (dashboardId: string) => Promise<DashboardView | null>;
|
|
48
|
-
getView: (id: string) => Promise<DashboardView | null>;
|
|
49
|
-
saveCurrentView: (input: CreateDashboardViewInput) => Promise<DashboardView | null>;
|
|
50
|
-
loadView: (viewId: string) => void;
|
|
51
|
-
updateView: (input: UpdateDashboardViewInput) => Promise<DashboardView | null>;
|
|
52
|
-
deleteView: (id: string) => Promise<boolean>;
|
|
53
|
-
setAsDefault: (viewId: string) => Promise<DashboardView | null>;
|
|
54
|
-
clearCurrentView: () => void;
|
|
55
|
-
}
|
|
56
|
-
export declare function useDashboardViews(): UseDashboardViewsResult;
|
|
57
|
-
export default useDashboardViews;
|
|
58
|
-
//# sourceMappingURL=useDashboardViews.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboardViews.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDashboardViews.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAkBH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,SAAS,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G,IAAI,CAAC,CAAC;IACzE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACvD,eAAe,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACpF,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC/E,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAChE,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AA8CD,wBAAgB,iBAAiB,IAAI,uBAAuB,CA+R3D;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { DataSink, DataSinkStatus, CreateDataSinkInput, UpdateDataSinkInput } from '../types';
|
|
2
|
-
|
|
3
|
-
interface UseDataSinkOperationsOptions {
|
|
4
|
-
workspaceId?: string;
|
|
5
|
-
skipFetch?: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface DataSinkFilters {
|
|
8
|
-
status?: DataSinkStatus;
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
search?: string;
|
|
11
|
-
}
|
|
12
|
-
interface RefreshDataSinkInput {
|
|
13
|
-
id: string;
|
|
14
|
-
forceRefresh?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface InvalidateCacheResult {
|
|
17
|
-
count: number;
|
|
18
|
-
invalidatedIds: string[];
|
|
19
|
-
success: boolean;
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
interface DataSinkDataResult {
|
|
23
|
-
raw: unknown;
|
|
24
|
-
extracted: unknown;
|
|
25
|
-
cached: boolean;
|
|
26
|
-
version: number;
|
|
27
|
-
fetchedAt: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function useDataSinkOperations(options?: UseDataSinkOperationsOptions): {
|
|
30
|
-
loading: boolean;
|
|
31
|
-
error: Error | null;
|
|
32
|
-
dataSinks: DataSink[];
|
|
33
|
-
fetchDataSinks: (filters?: DataSinkFilters) => Promise<DataSink[]>;
|
|
34
|
-
fetchDataSink: (id: string) => Promise<DataSink | null>;
|
|
35
|
-
getDataSinkData: (idOrKey: {
|
|
36
|
-
id?: string;
|
|
37
|
-
key?: string;
|
|
38
|
-
}, options?: {
|
|
39
|
-
dataPath?: string;
|
|
40
|
-
forceRefresh?: boolean;
|
|
41
|
-
}) => Promise<DataSinkDataResult | null>;
|
|
42
|
-
createDataSink: (input: CreateDataSinkInput) => Promise<DataSink | null>;
|
|
43
|
-
updateDataSink: (input: UpdateDataSinkInput) => Promise<DataSink | null>;
|
|
44
|
-
deleteDataSink: (id: string) => Promise<boolean>;
|
|
45
|
-
refreshDataSink: (input: RefreshDataSinkInput) => Promise<DataSink | null>;
|
|
46
|
-
invalidateCache: (id?: string) => Promise<InvalidateCacheResult>;
|
|
47
|
-
batchCreateDataSinks: (inputs: CreateDataSinkInput[]) => Promise<DataSink[]>;
|
|
48
|
-
batchDeleteDataSinks: (ids: string[]) => Promise<{
|
|
49
|
-
id: string;
|
|
50
|
-
deletedAt: string;
|
|
51
|
-
}[]>;
|
|
52
|
-
refetch: () => Promise<void>;
|
|
53
|
-
};
|
|
54
|
-
export default useDataSinkOperations;
|
|
55
|
-
//# sourceMappingURL=useDataSinkOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDataSinkOperations.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDataSinkOperations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH,OAAO,KAAK,EAAE,QAAQ,EAAE,cA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AAM,KAAG,OAAO,CAAC,OAAO,CAAC;6BA+BtB,oBAAoB,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;2BAwCjD,MAAM,KAAG,OAAO,CAAC,qBAAqB,CAAC;mCAuCpC,mBAAmB,EAAE,KAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;gCAgC9C,MAAM,EAAE,KAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;;EAyDtE;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { DataSink } from '../types';
|
|
2
|
-
|
|
3
|
-
interface UseDataSinkSubscriptionOptions {
|
|
4
|
-
/** Specific DataSink ID to subscribe to (sink-level updates) */
|
|
5
|
-
dataSinkId?: string;
|
|
6
|
-
/** Workspace ID for workspace-level events */
|
|
7
|
-
workspaceId?: string;
|
|
8
|
-
/** Whether subscriptions are enabled */
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
/** Callback when sink-level update received */
|
|
11
|
-
onUpdate?: (dataSink: DataSink) => void;
|
|
12
|
-
/** Callback when workspace-level event received */
|
|
13
|
-
onWorkspaceEvent?: (event: DataSinkWorkspaceEvent) => void;
|
|
14
|
-
}
|
|
15
|
-
interface DataSinkWorkspaceEvent {
|
|
16
|
-
type: 'CREATED' | 'UPDATED' | 'REFRESHED' | 'DELETED';
|
|
17
|
-
dataSink: DataSink;
|
|
18
|
-
timestamp: string;
|
|
19
|
-
userId?: string;
|
|
20
|
-
}
|
|
21
|
-
interface UseDataSinkSubscriptionResult {
|
|
22
|
-
/** Whether subscriptions are active */
|
|
23
|
-
isSubscribed: boolean;
|
|
24
|
-
/** Last update timestamp */
|
|
25
|
-
lastUpdate: Date | null;
|
|
26
|
-
/** Subscription error */
|
|
27
|
-
error: Error | null;
|
|
28
|
-
}
|
|
29
|
-
export declare function useDataSinkSubscription({ dataSinkId, workspaceId, enabled, onUpdate, onWorkspaceEvent, }: UseDataSinkSubscriptionOptions): UseDataSinkSubscriptionResult;
|
|
30
|
-
export default useDataSinkSubscription;
|
|
31
|
-
//# sourceMappingURL=useDataSinkSubscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDataSinkSubscription.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDataSinkSubscription.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,UAAU,8BAA8B;IACtC,gEAAgE;IAChE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxC,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;CAC5D;AAED,UAAU,sBAAsB;IAC9B,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IACtD,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,6BAA6B;IACrC,uCAAuC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,4BAA4B;IAC5B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,yBAAyB;IACzB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAmFD,wBAAgB,uBAAuB,CAAC,EACtC,UAAU,EACV,WAAW,EACX,OAAc,EACd,QAAQ,EACR,gBAAgB,GACjB,EAAE,8BAA8B,GAAG,6BAA6B,CA4HhE;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Widget, WidgetDrilldown, NavigationMode } from '../types';
|
|
2
|
-
|
|
3
|
-
/** Prefix for context parameters (clicked item data) */
|
|
4
|
-
export declare const CONTEXT_PARAM_PREFIX = "ctx_";
|
|
5
|
-
/** Prefix for filter parameters (global filters) */
|
|
6
|
-
export declare const FILTER_PARAM_PREFIX = "filter_";
|
|
7
|
-
/** Prefix for drilldown metadata */
|
|
8
|
-
export declare const DRILLDOWN_PARAM_PREFIX = "drilldown_";
|
|
9
|
-
/** Default maximum drilldown depth */
|
|
10
|
-
export declare const DEFAULT_MAX_DEPTH = 3;
|
|
11
|
-
export interface DrilldownContext {
|
|
12
|
-
/** Data from the clicked element (row, point, cell, etc.) */
|
|
13
|
-
selectedData?: Record<string, unknown>;
|
|
14
|
-
/** Current global filters from the dashboard */
|
|
15
|
-
globalFilters?: Record<string, unknown>;
|
|
16
|
-
/** Full widget data */
|
|
17
|
-
widgetData?: Record<string, unknown>;
|
|
18
|
-
/** Widget metadata */
|
|
19
|
-
metadata?: Record<string, unknown>;
|
|
20
|
-
/** Current drilldown depth (0 = root dashboard) */
|
|
21
|
-
currentDepth?: number;
|
|
22
|
-
/** Current drilldown path (array of dashboard IDs) */
|
|
23
|
-
currentPath?: string[];
|
|
24
|
-
/** Source dashboard ID */
|
|
25
|
-
sourceDashboardId?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface DrilldownMetadata {
|
|
28
|
-
/** Current drilldown depth */
|
|
29
|
-
depth: number;
|
|
30
|
-
/** Parent dashboard ID */
|
|
31
|
-
parent: string | null;
|
|
32
|
-
/** Array of dashboard IDs in the drilldown path */
|
|
33
|
-
path: string[];
|
|
34
|
-
}
|
|
35
|
-
export interface UseDrilldownOptions {
|
|
36
|
-
/** Base URL for dashboards (default: /dashboards) */
|
|
37
|
-
basePath?: string;
|
|
38
|
-
/** Callback when drilldown is triggered */
|
|
39
|
-
onDrilldown?: (params: Record<string, unknown>, mode: NavigationMode) => void;
|
|
40
|
-
/** Callback when drilldown modal opens */
|
|
41
|
-
onModalOpen?: (dashboardId: string, params: Record<string, unknown>) => void;
|
|
42
|
-
/** Callback when max depth is reached */
|
|
43
|
-
onMaxDepthReached?: (currentDepth: number, maxDepth: number) => void;
|
|
44
|
-
}
|
|
45
|
-
export interface UseDrilldownResult {
|
|
46
|
-
/** Execute drilldown navigation */
|
|
47
|
-
executeDrilldown: (drilldown: WidgetDrilldown, context: DrilldownContext) => void;
|
|
48
|
-
/** Check if drilldown is enabled and configured */
|
|
49
|
-
canDrilldown: (widget: Widget) => boolean;
|
|
50
|
-
/** Check if drilldown depth allows navigation */
|
|
51
|
-
canNavigate: (drilldown: WidgetDrilldown, currentDepth: number) => boolean;
|
|
52
|
-
/** Build drilldown URL with parameters */
|
|
53
|
-
buildDrilldownUrl: (dashboardId: string, contextParams: Record<string, unknown>, filterParams: Record<string, unknown>, metadata: DrilldownMetadata) => string;
|
|
54
|
-
/** Extract parameters using JSONPath mapping */
|
|
55
|
-
extractParameters: (mapping: Record<string, unknown>, context: DrilldownContext) => Record<string, unknown>;
|
|
56
|
-
/** Parse drilldown metadata from URL */
|
|
57
|
-
parseUrlMetadata: () => DrilldownMetadata;
|
|
58
|
-
/** Parse context params from URL */
|
|
59
|
-
parseUrlContext: () => Record<string, unknown>;
|
|
60
|
-
}
|
|
61
|
-
export declare function useDrilldown(options?: UseDrilldownOptions): UseDrilldownResult;
|
|
62
|
-
export default useDrilldown;
|
|
63
|
-
//# sourceMappingURL=useDrilldown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDrilldown.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDrilldown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAOxE,wDAAwD;AACxD,eAAO,MAAM,oBAAoB,SA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7E,yCAAyC;IACzC,iBAAiB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACtE;AAED,MAAM,WAAW,kBAAkB;IACjC,mCAAmC;IACnC,gBAAgB,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClF,mDAAmD;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1C,iDAAiD;IACjD,WAAW,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3E,0CAA0C;IAC1C,iBAAiB,EAAE,CACjB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,QAAQ,EAAE,iBAAiB,KACxB,MAAM,CAAC;IACZ,gDAAgD;IAChD,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,gBAAgB,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5G,wCAAwC;IACxC,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;IAC1C,oCAAoC;IACpC,eAAe,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD;AAqKD,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,kBAAkB,CA4VlF;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { WidgetDrilldown, NavigationMode } from '../types';
|
|
2
|
-
|
|
3
|
-
export interface CreateDrilldownInput {
|
|
4
|
-
sourceWidgetId: string;
|
|
5
|
-
targetDashboardId: string;
|
|
6
|
-
parameterMapping: Record<string, string>;
|
|
7
|
-
navigationMode?: NavigationMode;
|
|
8
|
-
/** Whether to pass global filters to target dashboard */
|
|
9
|
-
passGlobalFilters?: boolean;
|
|
10
|
-
/** Maximum drilldown depth allowed (default: 3) */
|
|
11
|
-
maxDepth?: number;
|
|
12
|
-
/** Open in same tab or new tab */
|
|
13
|
-
openIn?: 'same' | 'new';
|
|
14
|
-
}
|
|
15
|
-
export interface UpdateDrilldownInput {
|
|
16
|
-
id: string;
|
|
17
|
-
targetDashboardId?: string;
|
|
18
|
-
parameterMapping?: Record<string, string>;
|
|
19
|
-
navigationMode?: NavigationMode;
|
|
20
|
-
enabled?: boolean;
|
|
21
|
-
/** Whether to pass global filters to target dashboard */
|
|
22
|
-
passGlobalFilters?: boolean;
|
|
23
|
-
/** Maximum drilldown depth allowed (default: 3) */
|
|
24
|
-
maxDepth?: number;
|
|
25
|
-
/** Open in same tab or new tab */
|
|
26
|
-
openIn?: 'same' | 'new';
|
|
27
|
-
}
|
|
28
|
-
export interface UseDrilldownOperationsResult {
|
|
29
|
-
/** Create a new drilldown configuration */
|
|
30
|
-
createDrilldown: (input: CreateDrilldownInput) => Promise<WidgetDrilldown | null>;
|
|
31
|
-
/** Update an existing drilldown configuration */
|
|
32
|
-
updateDrilldown: (input: UpdateDrilldownInput) => Promise<WidgetDrilldown | null>;
|
|
33
|
-
/** Delete a drilldown configuration */
|
|
34
|
-
deleteDrilldown: (id: string) => Promise<boolean>;
|
|
35
|
-
/** Loading state */
|
|
36
|
-
loading: boolean;
|
|
37
|
-
/** Error state */
|
|
38
|
-
error: Error | null;
|
|
39
|
-
}
|
|
40
|
-
export declare function useDrilldownOperations(): UseDrilldownOperationsResult;
|
|
41
|
-
export default useDrilldownOperations;
|
|
42
|
-
//# sourceMappingURL=useDrilldownOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDrilldownOperations.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useDrilldownOperations.ts"],"names":[],"mappings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,CAAC;IACjB,kBAAkB;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAMD,wBAAgB,sBAAsB,IAAI,4BAA4B,CAoHrE;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useEventLogs Hook (v2.0)
|
|
3
|
-
*
|
|
4
|
-
* Hook for viewing and managing event logs.
|
|
5
|
-
* Provides query operations for event history and retry functionality.
|
|
6
|
-
*/
|
|
7
|
-
export type EventStatus = 'PENDING' | 'PROCESSING' | 'DELIVERED' | 'FAILED' | 'RETRYING' | 'IGNORED';
|
|
8
|
-
export interface EventLog {
|
|
9
|
-
id: string;
|
|
10
|
-
workspaceId: string;
|
|
11
|
-
dashboardId: string;
|
|
12
|
-
pageId: string | null;
|
|
13
|
-
widgetId: string | null;
|
|
14
|
-
eventName: string;
|
|
15
|
-
actionName: string | null;
|
|
16
|
-
payload: Record<string, unknown>;
|
|
17
|
-
context: Record<string, unknown> | null;
|
|
18
|
-
status: EventStatus;
|
|
19
|
-
webhookUrl: string | null;
|
|
20
|
-
responseCode: number | null;
|
|
21
|
-
errorMessage: string | null;
|
|
22
|
-
attempts: number;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
completedAt: string | null;
|
|
25
|
-
}
|
|
26
|
-
export interface EventLogEdge {
|
|
27
|
-
cursor: string;
|
|
28
|
-
node: EventLog;
|
|
29
|
-
}
|
|
30
|
-
export interface EventLogConnection {
|
|
31
|
-
edges: EventLogEdge[];
|
|
32
|
-
pageInfo: {
|
|
33
|
-
hasNextPage: boolean;
|
|
34
|
-
hasPreviousPage: boolean;
|
|
35
|
-
startCursor: string | null;
|
|
36
|
-
endCursor: string | null;
|
|
37
|
-
};
|
|
38
|
-
totalCount: number;
|
|
39
|
-
}
|
|
40
|
-
export interface UseEventLogsOptions {
|
|
41
|
-
/** Dashboard ID to filter logs */
|
|
42
|
-
dashboardId?: string;
|
|
43
|
-
/** Widget ID to filter logs */
|
|
44
|
-
widgetId?: string;
|
|
45
|
-
/** Event name to filter */
|
|
46
|
-
eventName?: string;
|
|
47
|
-
/** Status to filter */
|
|
48
|
-
status?: EventStatus;
|
|
49
|
-
/** Number of items per page */
|
|
50
|
-
pageSize?: number;
|
|
51
|
-
/** Skip fetching on mount */
|
|
52
|
-
skipFetch?: boolean;
|
|
53
|
-
/** Callback when logs are loaded */
|
|
54
|
-
onLogsLoaded?: (logs: EventLog[]) => void;
|
|
55
|
-
/** Callback on error */
|
|
56
|
-
onError?: (error: Error) => void;
|
|
57
|
-
}
|
|
58
|
-
export interface UseEventLogsResult {
|
|
59
|
-
/** Loading state */
|
|
60
|
-
loading: boolean;
|
|
61
|
-
/** Error state */
|
|
62
|
-
error: Error | null;
|
|
63
|
-
/** List of event logs */
|
|
64
|
-
logs: EventLog[];
|
|
65
|
-
/** Total count of logs */
|
|
66
|
-
totalCount: number;
|
|
67
|
-
/** Whether more logs are available */
|
|
68
|
-
hasMore: boolean;
|
|
69
|
-
/** End cursor for pagination */
|
|
70
|
-
endCursor: string | null;
|
|
71
|
-
/** Load more logs */
|
|
72
|
-
loadMore: () => Promise<void>;
|
|
73
|
-
/** Retry a failed event delivery */
|
|
74
|
-
retryDelivery: (eventLogId: string) => Promise<EventLog | null>;
|
|
75
|
-
/** Get a single event log by ID */
|
|
76
|
-
getEventLog: (id: string) => Promise<EventLog | null>;
|
|
77
|
-
/** Refetch logs */
|
|
78
|
-
refetch: () => void;
|
|
79
|
-
}
|
|
80
|
-
export declare function useEventLogs(options?: UseEventLogsOptions): UseEventLogsResult;
|
|
81
|
-
/**
|
|
82
|
-
* Get status color for display
|
|
83
|
-
*/
|
|
84
|
-
export declare function getEventStatusColor(status: EventStatus): string;
|
|
85
|
-
/**
|
|
86
|
-
* Get status label for display
|
|
87
|
-
*/
|
|
88
|
-
export declare function getEventStatusLabel(status: EventStatus): string;
|
|
89
|
-
/**
|
|
90
|
-
* Get status icon for display
|
|
91
|
-
*/
|
|
92
|
-
export declare function getEventStatusIcon(status: EventStatus): string;
|
|
93
|
-
export default useEventLogs;
|
|
94
|
-
//# sourceMappingURL=useEventLogs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEventLogs.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useEventLogs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAErG,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxC,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE;QACR,WAAW,EAAE,OAAO,CAAC;QACrB,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