@burdenoff/microfe-bigconsole 2026.510.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts +29 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoot.js +215 -0
- package/dist/bigconsole/BigConsoleRoot.js.map +1 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts +6 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoutes.js +239 -0
- package/dist/bigconsole/BigConsoleRoutes.js.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +11 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +199 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -0
- package/dist/bigconsole/components/DrilldownModal.d.ts +11 -0
- package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownModal.js +117 -0
- package/dist/bigconsole/components/DrilldownModal.js.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +19 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +430 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +44 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +342 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +25 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.js +88 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.js.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +27 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +131 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts +26 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +107 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +17 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +342 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +449 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +16 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +415 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +315 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +19 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +365 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts +8 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.js +3 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +10 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +486 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +26 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +224 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.js +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +494 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.js +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +11 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +477 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/index.js +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +19 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +905 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.js +1 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +23 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +462 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -0
- package/dist/bigconsole/components/dashboard/index.d.ts +19 -0
- package/dist/bigconsole/components/dashboard/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/index.js +20 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +18 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +247 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -0
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +21 -0
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts +20 -0
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +23 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.js +137 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.js.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts +18 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +43 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +87 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts +22 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +88 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +98 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts +13 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +174 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js.map +1 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +322 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js.map +1 -0
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts +31 -0
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +10 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +402 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts +12 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +128 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +11 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +204 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js.map +1 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts +26 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +301 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +13 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +107 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.js.map +1 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +30 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +163 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js.map +1 -0
- package/dist/bigconsole/components/datasink/index.d.ts +24 -0
- package/dist/bigconsole/components/datasink/index.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +21 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.js +174 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +17 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.js +322 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.js.map +1 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +25 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.js +119 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.js.map +1 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +12 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.js +427 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -0
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts +41 -0
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserCard.d.ts +23 -0
- package/dist/bigconsole/components/parser/ParserCard.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserCard.js +248 -0
- package/dist/bigconsole/components/parser/ParserCard.js.map +1 -0
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +42 -0
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserSelector.d.ts +27 -0
- package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserSelector.js +263 -0
- package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +74 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.js.map +1 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +11 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.js +48 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.js.map +1 -0
- package/dist/bigconsole/components/parser/TestPanel.d.ts +25 -0
- package/dist/bigconsole/components/parser/TestPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/index.d.ts +17 -0
- package/dist/bigconsole/components/parser/index.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +12 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.js +159 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.js.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +11 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +94 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +9 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +36 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js.map +1 -0
- package/dist/bigconsole/components/pipeline/index.d.ts +9 -0
- package/dist/bigconsole/components/pipeline/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +13 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +671 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +26 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +378 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +9 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +1594 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts +25 -0
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +882 -0
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +23 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +75 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +31 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.js +265 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +18 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.js +296 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +113 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +836 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +16 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +291 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.js.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +31 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +516 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +38 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +106 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.js +2 -0
- package/dist/bigconsole/components/widgets/area-chart/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/area-chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/bar-chart/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/bar-chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +25 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +113 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/calendar/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/index.js +2 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +254 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +25 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.js +40 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +24 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.js +34 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.js +151 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +104 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +90 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +18 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js +70 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +96 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +18 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.js +98 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.js +5 -0
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +45 -0
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/index.js +11 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +13 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js +201 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/custom/config.d.ts +9 -0
- package/dist/bigconsole/components/widgets/custom/config.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/config.js +21 -0
- package/dist/bigconsole/components/widgets/custom/config.js.map +1 -0
- package/dist/bigconsole/components/widgets/custom/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/custom/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/index.js +3 -0
- package/dist/bigconsole/components/widgets/custom/utils.d.ts +4 -0
- package/dist/bigconsole/components/widgets/custom/utils.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/utils.js +13 -0
- package/dist/bigconsole/components/widgets/custom/utils.js.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +16 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +377 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/index.js +1 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +27 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.js +486 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/form/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/form/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/form/index.js +2 -0
- package/dist/bigconsole/components/widgets/funnel/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/funnel/index.js +22 -0
- package/dist/bigconsole/components/widgets/funnel/index.js.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +31 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +77 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.js.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +180 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +22 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +217 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +28 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +92 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.js.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/index.d.ts +10 -0
- package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/index.js +5 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +23 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js +98 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/index.js +2 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +45 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +2 -0
- package/dist/bigconsole/components/widgets/index.d.ts +34 -0
- package/dist/bigconsole/components/widgets/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/index.js +51 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +29 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +92 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/kanban/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/index.js +2 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +23 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.js +83 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/kpi/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/kpi/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi/index.js +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +25 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +188 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/index.js +2 -0
- package/dist/bigconsole/components/widgets/line-chart/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/line-chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.js +131 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts +39 -0
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListItem.js +103 -0
- package/dist/bigconsole/components/widgets/list/ListItem.js.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.js +106 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/list/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/list/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/index.js +4 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +29 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +125 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/map-widget/index.js +2 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +15 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js +34 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +158 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +36 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +195 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +23 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +94 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +14 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +55 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/index.js +6 -0
- package/dist/bigconsole/components/widgets/pie-chart/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/pie-chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +26 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +281 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.js +2 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +29 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.js +94 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.js.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +187 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +28 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +201 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/progress/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/progress/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/index.js +4 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +25 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +159 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/retention/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/retention/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/retention/index.js +2 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +14 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.js +61 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.js.map +1 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +11 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.js +56 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.js.map +1 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +9 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.js +21 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.js.map +1 -0
- package/dist/bigconsole/components/widgets/states/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/states/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/index.js +3 -0
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts +31 -0
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableCell.js +65 -0
- package/dist/bigconsole/components/widgets/table/TableCell.js.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.js +254 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +32 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.js +85 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.js.map +1 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +23 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.js +166 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.js.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +16 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.js +258 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/table/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/table/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/index.js +6 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +14 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +47 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/index.js +2 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +31 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +147 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/timeline/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/index.js +2 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts +45 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.js +58 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.js.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +16 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +500 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.js +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +26 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +467 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js.map +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.js +1 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +19 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +11 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.js +158 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.js.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +11 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +94 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +115 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js.map +1 -0
- package/dist/bigconsole/components/workflow/index.d.ts +10 -0
- package/dist/bigconsole/components/workflow/index.d.ts.map +1 -0
- package/dist/bigconsole/constants.d.ts +15 -0
- package/dist/bigconsole/constants.d.ts.map +1 -0
- package/dist/bigconsole/constants.js +6 -0
- package/dist/bigconsole/constants.js.map +1 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts +25 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts.map +1 -0
- package/dist/bigconsole/context/BigConsoleContext.js +53 -0
- package/dist/bigconsole/context/BigConsoleContext.js.map +1 -0
- package/dist/bigconsole/context/index.d.ts +2 -0
- package/dist/bigconsole/context/index.d.ts.map +1 -0
- package/dist/bigconsole/context/index.js +1 -0
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts +48 -0
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts.map +1 -0
- package/dist/bigconsole/contexts/CrossFilterContext.js +92 -0
- package/dist/bigconsole/contexts/CrossFilterContext.js.map +1 -0
- package/dist/bigconsole/contexts/NavigationContext.d.ts +45 -0
- package/dist/bigconsole/contexts/NavigationContext.d.ts.map +1 -0
- package/dist/bigconsole/contexts/NavigationContext.js +43 -0
- package/dist/bigconsole/contexts/NavigationContext.js.map +1 -0
- package/dist/bigconsole/contexts/index.d.ts +8 -0
- package/dist/bigconsole/contexts/index.d.ts.map +1 -0
- package/dist/bigconsole/contexts/index.js +2 -0
- package/dist/bigconsole/graphql/apollo-compat.d.ts +16 -0
- package/dist/bigconsole/graphql/apollo-compat.d.ts.map +1 -0
- package/dist/bigconsole/hooks/index.d.ts +35 -0
- package/dist/bigconsole/hooks/index.d.ts.map +1 -0
- package/dist/bigconsole/hooks/index.js +29 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts +51 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useAutoRefresh.js +93 -0
- package/dist/bigconsole/hooks/useAutoRefresh.js.map +1 -0
- package/dist/bigconsole/hooks/useCrossFilter.d.ts +79 -0
- package/dist/bigconsole/hooks/useCrossFilter.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useCrossFilter.js +63 -0
- package/dist/bigconsole/hooks/useCrossFilter.js.map +1 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts +43 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardOperations.js +187 -0
- package/dist/bigconsole/hooks/useDashboardOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts +60 -0
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardSharing.js +157 -0
- package/dist/bigconsole/hooks/useDashboardSharing.js.map +1 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts +135 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.js +298 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.js.map +1 -0
- package/dist/bigconsole/hooks/useDashboardViews.d.ts +58 -0
- package/dist/bigconsole/hooks/useDashboardViews.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardViews.js +170 -0
- package/dist/bigconsole/hooks/useDashboardViews.js.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +55 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.js +245 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +31 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +127 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.js.map +1 -0
- package/dist/bigconsole/hooks/useDrilldown.d.ts +63 -0
- package/dist/bigconsole/hooks/useDrilldown.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDrilldown.js +192 -0
- package/dist/bigconsole/hooks/useDrilldown.js.map +1 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +42 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.js +62 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useEventLogs.d.ts +94 -0
- package/dist/bigconsole/hooks/useEventLogs.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useEventLogs.js +116 -0
- package/dist/bigconsole/hooks/useEventLogs.js.map +1 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts +91 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useEventWebhooks.js +138 -0
- package/dist/bigconsole/hooks/useEventWebhooks.js.map +1 -0
- package/dist/bigconsole/hooks/useExportDashboard.d.ts +28 -0
- package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportDashboard.js +65 -0
- package/dist/bigconsole/hooks/useExportDashboard.js.map +1 -0
- package/dist/bigconsole/hooks/useExportDataSink.d.ts +27 -0
- package/dist/bigconsole/hooks/useExportDataSink.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportDataSink.js +87 -0
- package/dist/bigconsole/hooks/useExportDataSink.js.map +1 -0
- package/dist/bigconsole/hooks/useExportParser.d.ts +25 -0
- package/dist/bigconsole/hooks/useExportParser.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportParser.js +81 -0
- package/dist/bigconsole/hooks/useExportParser.js.map +1 -0
- package/dist/bigconsole/hooks/useFilterPresets.d.ts +47 -0
- package/dist/bigconsole/hooks/useFilterPresets.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useFilterPresets.js +157 -0
- package/dist/bigconsole/hooks/useFilterPresets.js.map +1 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +46 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.js +179 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.js.map +1 -0
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts +69 -0
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useGlobalFilters.js +154 -0
- package/dist/bigconsole/hooks/useGlobalFilters.js.map +1 -0
- package/dist/bigconsole/hooks/useImportDashboard.d.ts +88 -0
- package/dist/bigconsole/hooks/useImportDashboard.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportDashboard.js +157 -0
- package/dist/bigconsole/hooks/useImportDashboard.js.map +1 -0
- package/dist/bigconsole/hooks/useImportDataSink.d.ts +74 -0
- package/dist/bigconsole/hooks/useImportDataSink.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportDataSink.js +219 -0
- package/dist/bigconsole/hooks/useImportDataSink.js.map +1 -0
- package/dist/bigconsole/hooks/useImportParser.d.ts +77 -0
- package/dist/bigconsole/hooks/useImportParser.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportParser.js +222 -0
- package/dist/bigconsole/hooks/useImportParser.js.map +1 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +15 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.js +81 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.js.map +1 -0
- package/dist/bigconsole/hooks/usePageOperations.d.ts +35 -0
- package/dist/bigconsole/hooks/usePageOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/usePageOperations.js +95 -0
- package/dist/bigconsole/hooks/usePageOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useParserOperations.d.ts +64 -0
- package/dist/bigconsole/hooks/useParserOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useParserOperations.js +151 -0
- package/dist/bigconsole/hooks/useParserOperations.js.map +1 -0
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts +76 -0
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/usePipelineOperations.js +260 -0
- package/dist/bigconsole/hooks/usePipelineOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useWidgetActions.d.ts +69 -0
- package/dist/bigconsole/hooks/useWidgetActions.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetActions.js +114 -0
- package/dist/bigconsole/hooks/useWidgetActions.js.map +1 -0
- package/dist/bigconsole/hooks/useWidgetData.d.ts +45 -0
- package/dist/bigconsole/hooks/useWidgetData.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetData.js +83 -0
- package/dist/bigconsole/hooks/useWidgetData.js.map +1 -0
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts +60 -0
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetEvents.js +35 -0
- package/dist/bigconsole/hooks/useWidgetEvents.js.map +1 -0
- package/dist/bigconsole/hooks/useWidgetExport.d.ts +19 -0
- package/dist/bigconsole/hooks/useWidgetExport.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetExport.js +77 -0
- package/dist/bigconsole/hooks/useWidgetExport.js.map +1 -0
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts +61 -0
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetOperations.js +248 -0
- package/dist/bigconsole/hooks/useWidgetOperations.js.map +1 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +54 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.js +237 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.js.map +1 -0
- package/dist/bigconsole/index.d.ts +30 -0
- package/dist/bigconsole/index.d.ts.map +1 -0
- package/dist/bigconsole/index.js +8 -0
- package/dist/bigconsole/modules/dashboard/index.d.ts +15 -0
- package/dist/bigconsole/modules/dashboard/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/index.d.ts +15 -0
- package/dist/bigconsole/modules/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/renderer/index.d.ts +8 -0
- package/dist/bigconsole/modules/renderer/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/widget/index.d.ts +20 -0
- package/dist/bigconsole/modules/widget/index.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.js +398 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -0
- package/dist/bigconsole/pages/DashboardViewPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardViewPage.js +325 -0
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -0
- package/dist/bigconsole/pages/DashboardsPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardsPage.js +555 -0
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -0
- package/dist/bigconsole/pages/DataParsersPage.d.ts +9 -0
- package/dist/bigconsole/pages/DataParsersPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataParsersPage.js +444 -0
- package/dist/bigconsole/pages/DataParsersPage.js.map +1 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts +10 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +538 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -0
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts +8 -0
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinkViewPage.js +342 -0
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -0
- package/dist/bigconsole/pages/DataSinksPage.d.ts +5 -0
- package/dist/bigconsole/pages/DataSinksPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinksPage.js +835 -0
- package/dist/bigconsole/pages/DataSinksPage.js.map +1 -0
- package/dist/bigconsole/pages/DataSourcesPage.d.ts +10 -0
- package/dist/bigconsole/pages/DataSourcesPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSourcesPage.js +18 -0
- package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -0
- package/dist/bigconsole/pages/HomePage.d.ts +5 -0
- package/dist/bigconsole/pages/HomePage.d.ts.map +1 -0
- package/dist/bigconsole/pages/HomePage.js +338 -0
- package/dist/bigconsole/pages/HomePage.js.map +1 -0
- package/dist/bigconsole/pages/InsightsPage.d.ts +5 -0
- package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/InsightsPage.js +586 -0
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts +9 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/ParserBuilderPage.js +727 -0
- package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -0
- package/dist/bigconsole/pages/ParserViewPage.d.ts +8 -0
- package/dist/bigconsole/pages/ParserViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/ParserViewPage.js +394 -0
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts +9 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.js +585 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts +9 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelineViewPage.js +483 -0
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts +9 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelinesPage.js +375 -0
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -0
- package/dist/bigconsole/pages/SettingsPage.d.ts +5 -0
- package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/SettingsPage.js +478 -0
- package/dist/bigconsole/pages/SettingsPage.js.map +1 -0
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts +5 -0
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WidgetDemoPage.js +257 -0
- package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts +9 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowViewPage.js +532 -0
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts +9 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowsPage.js +384 -0
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -0
- package/dist/bigconsole/pages/index.d.ts +14 -0
- package/dist/bigconsole/pages/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +6 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +471 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js.map +1 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +9 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +66 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js.map +1 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +384 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js.map +1 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +46 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +172 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js.map +1 -0
- package/dist/bigconsole/renderers/adapters/index.d.ts +10 -0
- package/dist/bigconsole/renderers/adapters/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +46 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts.map +1 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js +55 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js.map +1 -0
- package/dist/bigconsole/renderers/index.d.ts +10 -0
- package/dist/bigconsole/renderers/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +42 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts.map +1 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.js +139 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.js.map +1 -0
- package/dist/bigconsole/renderers/types/index.d.ts +7 -0
- package/dist/bigconsole/renderers/types/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/types/renderer.d.ts +228 -0
- package/dist/bigconsole/renderers/types/renderer.d.ts.map +1 -0
- package/dist/bigconsole/store/dashboardStore.d.ts +132 -0
- package/dist/bigconsole/store/dashboardStore.d.ts.map +1 -0
- package/dist/bigconsole/store/dashboardStore.js +246 -0
- package/dist/bigconsole/store/dashboardStore.js.map +1 -0
- package/dist/bigconsole/store/dataSinkStore.d.ts +94 -0
- package/dist/bigconsole/store/dataSinkStore.d.ts.map +1 -0
- package/dist/bigconsole/store/dataSinkStore.js +138 -0
- package/dist/bigconsole/store/dataSinkStore.js.map +1 -0
- package/dist/bigconsole/store/drilldownStore.d.ts +63 -0
- package/dist/bigconsole/store/drilldownStore.d.ts.map +1 -0
- package/dist/bigconsole/store/drilldownStore.js +69 -0
- package/dist/bigconsole/store/drilldownStore.js.map +1 -0
- package/dist/bigconsole/store/index.d.ts +13 -0
- package/dist/bigconsole/store/index.d.ts.map +1 -0
- package/dist/bigconsole/store/index.js +7 -0
- package/dist/bigconsole/store/parserStore.d.ts +106 -0
- package/dist/bigconsole/store/parserStore.d.ts.map +1 -0
- package/dist/bigconsole/store/parserStore.js +175 -0
- package/dist/bigconsole/store/parserStore.js.map +1 -0
- package/dist/bigconsole/store/pipelineStore.d.ts +113 -0
- package/dist/bigconsole/store/pipelineStore.d.ts.map +1 -0
- package/dist/bigconsole/store/pipelineStore.js +231 -0
- package/dist/bigconsole/store/pipelineStore.js.map +1 -0
- package/dist/bigconsole/store/widgetStore.d.ts +106 -0
- package/dist/bigconsole/store/widgetStore.d.ts.map +1 -0
- package/dist/bigconsole/store/widgetStore.js +217 -0
- package/dist/bigconsole/store/widgetStore.js.map +1 -0
- package/dist/bigconsole/store/workflowStore.d.ts +120 -0
- package/dist/bigconsole/store/workflowStore.d.ts.map +1 -0
- package/dist/bigconsole/store/workflowStore.js +193 -0
- package/dist/bigconsole/store/workflowStore.js.map +1 -0
- package/dist/bigconsole/types/index.d.ts +1233 -0
- package/dist/bigconsole/types/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/index.d.ts +9 -0
- package/dist/bigconsole/utils/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/semanticTokens.d.ts +88 -0
- package/dist/bigconsole/utils/semanticTokens.d.ts.map +1 -0
- package/dist/bigconsole/utils/semanticTokens.js +41 -0
- package/dist/bigconsole/utils/semanticTokens.js.map +1 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts +81 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetPositioning.js +44 -0
- package/dist/bigconsole/utils/widgetPositioning.js.map +1 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts +34 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetTypeMapping.js +56 -0
- package/dist/bigconsole/utils/widgetTypeMapping.js.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +9514 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +1993 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/microfe-bigconsole.css +2 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +118 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { ListDashboardSharesDocument as e, ListSharedWithMeDocument as t, RevokeAllSharesDocument as n, RevokeDashboardShareDocument as r, ShareDashboardDocument as i, UpdateDashboardShareDocument as a } from "../../generated/wspace-operations.js";
|
|
2
|
+
import { useCallback as o, useState as s } from "react";
|
|
3
|
+
import { useApolloClient as c } from "@apollo/client/react";
|
|
4
|
+
//#region src/bigconsole/hooks/useDashboardSharing.ts
|
|
5
|
+
function l(e) {
|
|
6
|
+
return {
|
|
7
|
+
id: e.id,
|
|
8
|
+
dashboardId: e.dashboardId,
|
|
9
|
+
sharedByUserId: e.sharedByUserId,
|
|
10
|
+
recipientType: e.recipientType,
|
|
11
|
+
recipientId: e.recipientId,
|
|
12
|
+
permission: e.permission,
|
|
13
|
+
expiresAt: e.expiresAt,
|
|
14
|
+
isActive: e.isActive ?? !0,
|
|
15
|
+
version: e.version || 1,
|
|
16
|
+
metadata: e.metadata,
|
|
17
|
+
createdAt: e.createdAt || (/* @__PURE__ */ new Date()).toISOString(),
|
|
18
|
+
updatedAt: e.updatedAt || (/* @__PURE__ */ new Date()).toISOString()
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function u() {
|
|
22
|
+
let [u, d] = s([]), [f, p] = s([]), [m, h] = s(!1), [g, _] = s(null), v = c();
|
|
23
|
+
return {
|
|
24
|
+
shares: u,
|
|
25
|
+
sharedWithMe: f,
|
|
26
|
+
loading: m,
|
|
27
|
+
error: g,
|
|
28
|
+
fetchShares: o(async (t) => {
|
|
29
|
+
try {
|
|
30
|
+
h(!0), _(null);
|
|
31
|
+
let n = ((await v.query({
|
|
32
|
+
query: e,
|
|
33
|
+
variables: {
|
|
34
|
+
dashboardId: t,
|
|
35
|
+
first: 100
|
|
36
|
+
},
|
|
37
|
+
fetchPolicy: "network-only"
|
|
38
|
+
})).data?.listDashboardShares?.edges || []).map((e) => l(e.node));
|
|
39
|
+
return d(n), n;
|
|
40
|
+
} catch (e) {
|
|
41
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch shares")), [];
|
|
42
|
+
} finally {
|
|
43
|
+
h(!1);
|
|
44
|
+
}
|
|
45
|
+
}, [v]),
|
|
46
|
+
fetchSharedWithMe: o(async (e) => {
|
|
47
|
+
try {
|
|
48
|
+
h(!0), _(null);
|
|
49
|
+
let n = ((await v.query({
|
|
50
|
+
query: t,
|
|
51
|
+
variables: {
|
|
52
|
+
permission: e,
|
|
53
|
+
first: 100
|
|
54
|
+
},
|
|
55
|
+
fetchPolicy: "network-only"
|
|
56
|
+
})).data?.listSharedWithMe?.edges || []).map((e) => l(e.node));
|
|
57
|
+
return p(n), n;
|
|
58
|
+
} catch (e) {
|
|
59
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch shared dashboards")), [];
|
|
60
|
+
} finally {
|
|
61
|
+
h(!1);
|
|
62
|
+
}
|
|
63
|
+
}, [v]),
|
|
64
|
+
shareWithUser: o(async (e, t, n = "VIEW") => {
|
|
65
|
+
try {
|
|
66
|
+
h(!0), _(null);
|
|
67
|
+
let r = await v.mutate({
|
|
68
|
+
mutation: i,
|
|
69
|
+
variables: { input: {
|
|
70
|
+
dashboardId: e,
|
|
71
|
+
recipientType: "USER",
|
|
72
|
+
recipientId: t,
|
|
73
|
+
permission: n
|
|
74
|
+
} }
|
|
75
|
+
});
|
|
76
|
+
if (r.data?.shareDashboard) {
|
|
77
|
+
let e = l(r.data.shareDashboard);
|
|
78
|
+
return d((t) => [...t, e]), e;
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
} catch (e) {
|
|
82
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to share with user")), null;
|
|
83
|
+
} finally {
|
|
84
|
+
h(!1);
|
|
85
|
+
}
|
|
86
|
+
}, [v]),
|
|
87
|
+
shareWithGroup: o(async (e, t, n = "VIEW") => {
|
|
88
|
+
try {
|
|
89
|
+
h(!0), _(null);
|
|
90
|
+
let r = await v.mutate({
|
|
91
|
+
mutation: i,
|
|
92
|
+
variables: { input: {
|
|
93
|
+
dashboardId: e,
|
|
94
|
+
recipientType: "GROUP",
|
|
95
|
+
recipientId: t,
|
|
96
|
+
permission: n
|
|
97
|
+
} }
|
|
98
|
+
});
|
|
99
|
+
if (r.data?.shareDashboard) {
|
|
100
|
+
let e = l(r.data.shareDashboard);
|
|
101
|
+
return d((t) => [...t, e]), e;
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
} catch (e) {
|
|
105
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to share with group")), null;
|
|
106
|
+
} finally {
|
|
107
|
+
h(!1);
|
|
108
|
+
}
|
|
109
|
+
}, [v]),
|
|
110
|
+
updateShare: o(async (e) => {
|
|
111
|
+
try {
|
|
112
|
+
h(!0), _(null);
|
|
113
|
+
let t = await v.mutate({
|
|
114
|
+
mutation: a,
|
|
115
|
+
variables: { input: e }
|
|
116
|
+
});
|
|
117
|
+
if (t.data?.updateDashboardShare) {
|
|
118
|
+
let e = l(t.data.updateDashboardShare);
|
|
119
|
+
return d((t) => t.map((t) => t.id === e.id ? e : t)), e;
|
|
120
|
+
}
|
|
121
|
+
return null;
|
|
122
|
+
} catch (e) {
|
|
123
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update share")), null;
|
|
124
|
+
} finally {
|
|
125
|
+
h(!1);
|
|
126
|
+
}
|
|
127
|
+
}, [v]),
|
|
128
|
+
revokeShare: o(async (e) => {
|
|
129
|
+
try {
|
|
130
|
+
return h(!0), _(null), (await v.mutate({
|
|
131
|
+
mutation: r,
|
|
132
|
+
variables: { id: e }
|
|
133
|
+
})).data?.revokeDashboardShare ? (d((t) => t.filter((t) => t.id !== e)), !0) : !1;
|
|
134
|
+
} catch (e) {
|
|
135
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to revoke share")), !1;
|
|
136
|
+
} finally {
|
|
137
|
+
h(!1);
|
|
138
|
+
}
|
|
139
|
+
}, [v]),
|
|
140
|
+
revokeAllShares: o(async (e) => {
|
|
141
|
+
try {
|
|
142
|
+
return h(!0), _(null), (await v.mutate({
|
|
143
|
+
mutation: n,
|
|
144
|
+
variables: { dashboardId: e }
|
|
145
|
+
})).data?.revokeAllShares ? (d([]), !0) : !1;
|
|
146
|
+
} catch (e) {
|
|
147
|
+
return _(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to revoke all shares")), !1;
|
|
148
|
+
} finally {
|
|
149
|
+
h(!1);
|
|
150
|
+
}
|
|
151
|
+
}, [v])
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
export { u as default };
|
|
156
|
+
|
|
157
|
+
//# sourceMappingURL=useDashboardSharing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDashboardSharing.js","names":[],"sources":["../../../src/bigconsole/hooks/useDashboardSharing.ts"],"sourcesContent":["/**\n * useDashboardSharing Hook\n *\n * Provides operations for managing dashboard sharing.\n */\n\nimport { useCallback, useState } from 'react';\nimport { useApolloClient } from '@apollo/client/react';\nimport {\n ListDashboardSharesDocument,\n ListSharedWithMeDocument,\n ShareDashboardDocument,\n UpdateDashboardShareDocument,\n RevokeDashboardShareDocument,\n RevokeAllSharesDocument,\n} from '../../generated/wspace-operations';\n\n// ============================================================================\n// Types\n// ============================================================================\n\n/**\n * Share recipient type as per spec (03-graphql-contract.md)\n * Spec values: user, group\n */\nexport type ShareRecipientType = 'USER' | 'GROUP';\n\n/**\n * Share permission level as per spec (03-graphql-contract.md)\n * Spec values: view, edit\n */\nexport type SharePermission = 'VIEW' | 'EDIT';\n\nexport interface DashboardShare {\n id: string;\n dashboardId: string;\n sharedByUserId: string;\n recipientType: ShareRecipientType;\n recipientId: string;\n permission: SharePermission;\n expiresAt?: string;\n isActive: boolean;\n version: number;\n metadata?: Record<string, unknown>;\n createdAt: string;\n updatedAt: string;\n}\n\nexport interface ShareDashboardInput {\n dashboardId: string;\n recipientType: ShareRecipientType;\n recipientId: string;\n permission?: SharePermission;\n expiresAt?: string;\n metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateShareInput {\n id: string;\n permission?: SharePermission;\n expiresAt?: string;\n isActive?: boolean;\n metadata?: Record<string, unknown>;\n}\n\nexport interface UseDashboardSharingResult {\n shares: DashboardShare[];\n sharedWithMe: DashboardShare[];\n loading: boolean;\n error: Error | null;\n\n // Operations\n fetchShares: (dashboardId: string) => Promise<DashboardShare[]>;\n fetchSharedWithMe: (permission?: SharePermission) => Promise<DashboardShare[]>;\n shareWithUser: (dashboardId: string, userId: string, permission?: SharePermission) => Promise<DashboardShare | null>;\n shareWithGroup: (\n dashboardId: string,\n groupId: string,\n permission?: SharePermission\n ) => Promise<DashboardShare | null>;\n updateShare: (input: UpdateShareInput) => Promise<DashboardShare | null>;\n revokeShare: (id: string) => Promise<boolean>;\n revokeAllShares: (dashboardId: string) => Promise<boolean>;\n}\n\n// ============================================================================\n// Helper Functions\n// ============================================================================\n\ninterface RawShareData {\n id: string;\n dashboardId: string;\n sharedByUserId: string;\n recipientType: ShareRecipientType;\n recipientId: string;\n permission: SharePermission;\n expiresAt?: string;\n isActive?: boolean;\n version?: number;\n metadata?: Record<string, unknown>;\n createdAt?: string;\n updatedAt?: string;\n}\n\nfunction normalizeShare(data: RawShareData): DashboardShare {\n return {\n id: data.id,\n dashboardId: data.dashboardId,\n sharedByUserId: data.sharedByUserId,\n recipientType: data.recipientType,\n recipientId: data.recipientId,\n permission: data.permission,\n expiresAt: data.expiresAt,\n isActive: data.isActive ?? true,\n version: data.version || 1,\n metadata: data.metadata,\n createdAt: data.createdAt || new Date().toISOString(),\n updatedAt: data.updatedAt || new Date().toISOString(),\n };\n}\n\n// ============================================================================\n// Hook\n// ============================================================================\n\nexport function useDashboardSharing(): UseDashboardSharingResult {\n const [shares, setShares] = useState<DashboardShare[]>([]);\n const [sharedWithMe, setSharedWithMe] = useState<DashboardShare[]>([]);\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState<Error | null>(null);\n\n const apolloClient = useApolloClient();\n\n // Fetch shares for a dashboard\n const fetchShares = useCallback(\n async (dashboardId: string): Promise<DashboardShare[]> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.query<{ listDashboardShares?: { edges?: Array<{ node: RawShareData }> } }>({\n query: ListDashboardSharesDocument,\n variables: { dashboardId, first: 100 },\n fetchPolicy: 'network-only',\n });\n\n const edges = result.data?.listDashboardShares?.edges || [];\n const normalizedShares = edges.map((edge) => normalizeShare(edge.node));\n setShares(normalizedShares);\n return normalizedShares;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch shares');\n setError(error);\n return [];\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Fetch dashboards shared with current user\n const fetchSharedWithMe = useCallback(\n async (permission?: SharePermission): Promise<DashboardShare[]> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.query<{ listSharedWithMe?: { edges?: Array<{ node: RawShareData }> } }>({\n query: ListSharedWithMeDocument,\n variables: { permission, first: 100 },\n fetchPolicy: 'network-only',\n });\n\n const edges = result.data?.listSharedWithMe?.edges || [];\n const normalizedShares = edges.map((edge) => normalizeShare(edge.node));\n setSharedWithMe(normalizedShares);\n return normalizedShares;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch shared dashboards');\n setError(error);\n return [];\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Share with user\n const shareWithUser = useCallback(\n async (\n dashboardId: string,\n userId: string,\n permission: SharePermission = 'VIEW'\n ): Promise<DashboardShare | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.mutate<{ shareDashboard?: RawShareData }>({\n mutation: ShareDashboardDocument,\n variables: {\n input: {\n dashboardId,\n recipientType: 'USER',\n recipientId: userId,\n permission,\n },\n },\n });\n\n if (result.data?.shareDashboard) {\n const newShare = normalizeShare(result.data.shareDashboard);\n setShares((prev) => [...prev, newShare]);\n return newShare;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to share with user');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Share with group\n const shareWithGroup = useCallback(\n async (\n dashboardId: string,\n groupId: string,\n permission: SharePermission = 'VIEW'\n ): Promise<DashboardShare | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.mutate<{ shareDashboard?: RawShareData }>({\n mutation: ShareDashboardDocument,\n variables: {\n input: {\n dashboardId,\n recipientType: 'GROUP',\n recipientId: groupId,\n permission,\n },\n },\n });\n\n if (result.data?.shareDashboard) {\n const newShare = normalizeShare(result.data.shareDashboard);\n setShares((prev) => [...prev, newShare]);\n return newShare;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to share with group');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Update a share\n const updateShare = useCallback(\n async (input: UpdateShareInput): Promise<DashboardShare | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.mutate<{ updateDashboardShare?: RawShareData }>({\n mutation: UpdateDashboardShareDocument,\n variables: { input },\n });\n\n if (result.data?.updateDashboardShare) {\n const updatedShare = normalizeShare(result.data.updateDashboardShare);\n setShares((prev) => prev.map((s) => (s.id === updatedShare.id ? updatedShare : s)));\n return updatedShare;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to update share');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Revoke a share\n const revokeShare = useCallback(\n async (id: string): Promise<boolean> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.mutate<{ revokeDashboardShare?: boolean }>({\n mutation: RevokeDashboardShareDocument,\n variables: { id },\n });\n\n if (result.data?.revokeDashboardShare) {\n setShares((prev) => prev.filter((s) => s.id !== id));\n return true;\n }\n\n return false;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to revoke share');\n setError(error);\n return false;\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n // Revoke all shares for a dashboard\n const revokeAllShares = useCallback(\n async (dashboardId: string): Promise<boolean> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await apolloClient.mutate<{ revokeAllShares?: boolean }>({\n mutation: RevokeAllSharesDocument,\n variables: { dashboardId },\n });\n\n if (result.data?.revokeAllShares) {\n setShares([]);\n return true;\n }\n\n return false;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to revoke all shares');\n setError(error);\n return false;\n } finally {\n setLoading(false);\n }\n },\n [apolloClient]\n );\n\n return {\n shares,\n sharedWithMe,\n loading,\n error,\n fetchShares,\n fetchSharedWithMe,\n shareWithUser,\n shareWithGroup,\n updateShare,\n revokeShare,\n revokeAllShares,\n };\n}\n\nexport default useDashboardSharing;\n"],"mappings":";;;;AAwGA,SAAS,EAAe,GAAoC;AAC1D,QAAO;EACL,IAAI,EAAK;EACT,aAAa,EAAK;EAClB,gBAAgB,EAAK;EACrB,eAAe,EAAK;EACpB,aAAa,EAAK;EAClB,YAAY,EAAK;EACjB,WAAW,EAAK;EAChB,UAAU,EAAK,YAAY;EAC3B,SAAS,EAAK,WAAW;EACzB,UAAU,EAAK;EACf,WAAW,EAAK,8BAAa,IAAI,MAAM,EAAC,aAAa;EACrD,WAAW,EAAK,8BAAa,IAAI,MAAM,EAAC,aAAa;EACtD;;AAOH,SAAgB,IAAiD;CAC/D,IAAM,CAAC,GAAQ,KAAa,EAA2B,EAAE,CAAC,EACpD,CAAC,GAAc,KAAmB,EAA2B,EAAE,CAAC,EAChE,CAAC,GAAS,KAAc,EAAS,GAAM,EACvC,CAAC,GAAO,KAAY,EAAuB,KAAK,EAEhD,IAAe,GAAiB;AAoOtC,QAAO;EACL;EACA;EACA;EACA;EACA,aAtOkB,EAClB,OAAO,MAAmD;AACxD,OAAI;AAEF,IADA,EAAW,GAAK,EAChB,EAAS,KAAK;IASd,IAAM,MA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M,EAAE,OAAO,EAAG,CAAC,EAC7C,MAGF;YACA,GAAK;AAGZ,WADA,EADc,aAAe,QAAQ,IAAM,gBAAI,MAAM,yBAAyB,CAC/D,EACR;aACC;AACR,MAAW,GAAM;;KAGrB,CAAC,EAAa,CACf;EA0CC,iBAvCsB,EACtB,OAAO,MAA0C;AAC/C,OAAI;AAcF,WAbA,EAAW,GAAK,EAChB,EAAS,KAAK,GAEC,MAAM,EAAa,OAAsC;KACtE,UAAU;KACV,WAAW,EAAE,gBAAa;KAC3B,CAAC,EAES,MAAM,mBACf,EAAU,EAAE,CAAC,EACN,MAGF;YACA,GAAK;AAGZ,WADA,EADc,aAAe,QAAQ,IAAM,gBAAI,MAAM,8BAA8B,CACpE,EACR;aACC;AACR,MAAW,GAAM;;KAGrB,CAAC,EAAa,CACf;EAcA"}
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,cAAc,GAAG,UAAU,CAAC;AAC1E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;AACtE,MAAM,MAAM,cA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,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACpE;AA4FD,wBAAgB,qBAAqB,IAAI,2BAA2B,CAmZnE;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { ArchiveTemplateDocument as e, CreateTemplateDocument as t, DeleteTemplateDocument as n, DeprecateTemplateDocument as r, GetTemplateDocument as i, InstantiateTemplateDocument as a, ListFeaturedTemplatesDocument as o, ListTemplatesDocument as s, PublishTemplateDocument as c, RateTemplateDocument as l, SearchTemplatesDocument as u, UpdateTemplateDocument as d } from "../../generated/wspace-operations.js";
|
|
2
|
+
import { useCallback as f, useState as p } from "react";
|
|
3
|
+
import { useApolloClient as m } from "@apollo/client/react";
|
|
4
|
+
//#region src/bigconsole/hooks/useDashboardTemplates.ts
|
|
5
|
+
function h(e) {
|
|
6
|
+
return {
|
|
7
|
+
id: e.id,
|
|
8
|
+
workspaceId: e.workspaceId,
|
|
9
|
+
tenantId: e.tenantId,
|
|
10
|
+
name: e.name,
|
|
11
|
+
description: e.description,
|
|
12
|
+
category: e.category,
|
|
13
|
+
tags: e.tags || [],
|
|
14
|
+
definition: e.definition || {},
|
|
15
|
+
definitionVersion: e.definitionVersion || "1.0",
|
|
16
|
+
placeholders: e.placeholders || {},
|
|
17
|
+
thumbnailFileId: e.thumbnailFileId,
|
|
18
|
+
previewUrl: e.previewUrl,
|
|
19
|
+
authorType: e.authorType || "WORKSPACE",
|
|
20
|
+
isPublic: e.isPublic ?? !1,
|
|
21
|
+
isActive: e.isActive ?? !0,
|
|
22
|
+
isFeatured: e.isFeatured ?? !1,
|
|
23
|
+
complexity: e.complexity || "BEGINNER",
|
|
24
|
+
usageCount: e.usageCount || 0,
|
|
25
|
+
rating: e.rating,
|
|
26
|
+
ratingCount: e.ratingCount || 0,
|
|
27
|
+
status: e.status || "DRAFT",
|
|
28
|
+
version: e.version || 1,
|
|
29
|
+
metadata: e.metadata,
|
|
30
|
+
createdAt: e.createdAt || (/* @__PURE__ */ new Date()).toISOString(),
|
|
31
|
+
createdBy: e.createdBy,
|
|
32
|
+
updatedAt: e.updatedAt || (/* @__PURE__ */ new Date()).toISOString()
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function g(e) {
|
|
36
|
+
return {
|
|
37
|
+
id: e.id,
|
|
38
|
+
workspaceId: e.workspaceId,
|
|
39
|
+
name: e.name,
|
|
40
|
+
description: e.description,
|
|
41
|
+
category: e.category,
|
|
42
|
+
tags: e.tags || [],
|
|
43
|
+
thumbnailFileId: e.thumbnailFileId,
|
|
44
|
+
previewUrl: e.previewUrl,
|
|
45
|
+
authorType: e.authorType || "WORKSPACE",
|
|
46
|
+
isPublic: e.isPublic ?? !1,
|
|
47
|
+
isFeatured: e.isFeatured ?? !1,
|
|
48
|
+
complexity: e.complexity || "BEGINNER",
|
|
49
|
+
usageCount: e.usageCount || 0,
|
|
50
|
+
rating: e.rating,
|
|
51
|
+
ratingCount: e.ratingCount || 0,
|
|
52
|
+
status: e.status || "DRAFT",
|
|
53
|
+
createdAt: e.createdAt || (/* @__PURE__ */ new Date()).toISOString()
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function _() {
|
|
57
|
+
let [_, v] = p([]), [y, b] = p([]), [x, S] = p(!1), [C, w] = p(null), T = m(), E = [
|
|
58
|
+
"ANALYTICS",
|
|
59
|
+
"OPERATIONS",
|
|
60
|
+
"SALES",
|
|
61
|
+
"MARKETING",
|
|
62
|
+
"FINANCE",
|
|
63
|
+
"HR",
|
|
64
|
+
"CUSTOM"
|
|
65
|
+
], D = f(async (e) => {
|
|
66
|
+
try {
|
|
67
|
+
S(!0), w(null);
|
|
68
|
+
let t = ((await T.query({
|
|
69
|
+
query: s,
|
|
70
|
+
variables: {
|
|
71
|
+
...e,
|
|
72
|
+
first: 100
|
|
73
|
+
},
|
|
74
|
+
fetchPolicy: "network-only"
|
|
75
|
+
})).data?.listTemplates?.edges || []).map((e) => g(e.node));
|
|
76
|
+
return v(t), t;
|
|
77
|
+
} catch (e) {
|
|
78
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch templates")), [];
|
|
79
|
+
} finally {
|
|
80
|
+
S(!1);
|
|
81
|
+
}
|
|
82
|
+
}, [T]);
|
|
83
|
+
return {
|
|
84
|
+
templates: _,
|
|
85
|
+
featuredTemplates: y,
|
|
86
|
+
categories: E,
|
|
87
|
+
loading: x,
|
|
88
|
+
error: C,
|
|
89
|
+
fetchTemplates: D,
|
|
90
|
+
fetchFeaturedTemplates: f(async (e) => {
|
|
91
|
+
try {
|
|
92
|
+
S(!0), w(null);
|
|
93
|
+
let t = ((await T.query({
|
|
94
|
+
query: o,
|
|
95
|
+
variables: {
|
|
96
|
+
category: e,
|
|
97
|
+
first: 50
|
|
98
|
+
},
|
|
99
|
+
fetchPolicy: "network-only"
|
|
100
|
+
})).data?.listFeaturedTemplates?.edges || []).map((e) => g(e.node));
|
|
101
|
+
return b(t), t;
|
|
102
|
+
} catch (e) {
|
|
103
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch featured templates")), [];
|
|
104
|
+
} finally {
|
|
105
|
+
S(!1);
|
|
106
|
+
}
|
|
107
|
+
}, [T]),
|
|
108
|
+
searchTemplates: f(async (e, t, n) => {
|
|
109
|
+
try {
|
|
110
|
+
S(!0), w(null);
|
|
111
|
+
let r = ((await T.query({
|
|
112
|
+
query: u,
|
|
113
|
+
variables: {
|
|
114
|
+
query: e,
|
|
115
|
+
category: t,
|
|
116
|
+
complexity: n,
|
|
117
|
+
first: 50
|
|
118
|
+
},
|
|
119
|
+
fetchPolicy: "network-only"
|
|
120
|
+
})).data?.searchTemplates?.edges || []).map((e) => g(e.node));
|
|
121
|
+
return v(r), r;
|
|
122
|
+
} catch (e) {
|
|
123
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to search templates")), [];
|
|
124
|
+
} finally {
|
|
125
|
+
S(!1);
|
|
126
|
+
}
|
|
127
|
+
}, [T]),
|
|
128
|
+
getTemplate: f(async (e) => {
|
|
129
|
+
try {
|
|
130
|
+
S(!0), w(null);
|
|
131
|
+
let t = await T.query({
|
|
132
|
+
query: i,
|
|
133
|
+
variables: { id: e },
|
|
134
|
+
fetchPolicy: "network-only"
|
|
135
|
+
});
|
|
136
|
+
return t.data?.getTemplate ? h(t.data.getTemplate) : null;
|
|
137
|
+
} catch (e) {
|
|
138
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get template")), null;
|
|
139
|
+
} finally {
|
|
140
|
+
S(!1);
|
|
141
|
+
}
|
|
142
|
+
}, [T]),
|
|
143
|
+
createTemplate: f(async (e) => {
|
|
144
|
+
try {
|
|
145
|
+
S(!0), w(null);
|
|
146
|
+
let n = await T.mutate({
|
|
147
|
+
mutation: t,
|
|
148
|
+
variables: { input: e }
|
|
149
|
+
});
|
|
150
|
+
if (n.data?.createTemplate) {
|
|
151
|
+
let e = h(n.data.createTemplate);
|
|
152
|
+
return await D(), e;
|
|
153
|
+
}
|
|
154
|
+
return null;
|
|
155
|
+
} catch (e) {
|
|
156
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create template")), null;
|
|
157
|
+
} finally {
|
|
158
|
+
S(!1);
|
|
159
|
+
}
|
|
160
|
+
}, [T, D]),
|
|
161
|
+
updateTemplate: f(async (e) => {
|
|
162
|
+
try {
|
|
163
|
+
S(!0), w(null);
|
|
164
|
+
let t = await T.mutate({
|
|
165
|
+
mutation: d,
|
|
166
|
+
variables: { input: e }
|
|
167
|
+
});
|
|
168
|
+
if (t.data?.updateTemplate) {
|
|
169
|
+
let e = t.data.updateTemplate, n = h(e);
|
|
170
|
+
return v((t) => t.map((t) => t.id === n.id ? g(e) : t)), n;
|
|
171
|
+
}
|
|
172
|
+
return null;
|
|
173
|
+
} catch (e) {
|
|
174
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update template")), null;
|
|
175
|
+
} finally {
|
|
176
|
+
S(!1);
|
|
177
|
+
}
|
|
178
|
+
}, [T]),
|
|
179
|
+
deleteTemplate: f(async (e) => {
|
|
180
|
+
try {
|
|
181
|
+
return S(!0), w(null), (await T.mutate({
|
|
182
|
+
mutation: n,
|
|
183
|
+
variables: { id: e }
|
|
184
|
+
})).data?.deleteTemplate ? (v((t) => t.filter((t) => t.id !== e)), b((t) => t.filter((t) => t.id !== e)), !0) : !1;
|
|
185
|
+
} catch (e) {
|
|
186
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete template")), !1;
|
|
187
|
+
} finally {
|
|
188
|
+
S(!1);
|
|
189
|
+
}
|
|
190
|
+
}, [T]),
|
|
191
|
+
instantiateTemplate: f(async (e) => {
|
|
192
|
+
try {
|
|
193
|
+
S(!0), w(null);
|
|
194
|
+
let t = await T.mutate({
|
|
195
|
+
mutation: a,
|
|
196
|
+
variables: { input: e }
|
|
197
|
+
});
|
|
198
|
+
return t.data?.instantiateTemplate ? (v((t) => t.map((t) => t.id === e.templateId ? {
|
|
199
|
+
...t,
|
|
200
|
+
usageCount: t.usageCount + 1
|
|
201
|
+
} : t)), t.data.instantiateTemplate) : null;
|
|
202
|
+
} catch (e) {
|
|
203
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to instantiate template")), null;
|
|
204
|
+
} finally {
|
|
205
|
+
S(!1);
|
|
206
|
+
}
|
|
207
|
+
}, [T]),
|
|
208
|
+
rateTemplate: f(async (e) => {
|
|
209
|
+
try {
|
|
210
|
+
S(!0), w(null);
|
|
211
|
+
let t = await T.mutate({
|
|
212
|
+
mutation: l,
|
|
213
|
+
variables: { input: e }
|
|
214
|
+
});
|
|
215
|
+
if (t.data?.rateTemplate) {
|
|
216
|
+
let e = h(t.data.rateTemplate);
|
|
217
|
+
return v((t) => t.map((t) => t.id === e.id ? {
|
|
218
|
+
...t,
|
|
219
|
+
rating: e.rating,
|
|
220
|
+
ratingCount: e.ratingCount
|
|
221
|
+
} : t)), e;
|
|
222
|
+
}
|
|
223
|
+
return null;
|
|
224
|
+
} catch (e) {
|
|
225
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to rate template")), null;
|
|
226
|
+
} finally {
|
|
227
|
+
S(!1);
|
|
228
|
+
}
|
|
229
|
+
}, [T]),
|
|
230
|
+
publishTemplate: f(async (e) => {
|
|
231
|
+
try {
|
|
232
|
+
S(!0), w(null);
|
|
233
|
+
let t = await T.mutate({
|
|
234
|
+
mutation: c,
|
|
235
|
+
variables: { id: e }
|
|
236
|
+
});
|
|
237
|
+
if (t.data?.publishTemplate) {
|
|
238
|
+
let n = h(t.data.publishTemplate);
|
|
239
|
+
return v((t) => t.map((t) => t.id === e ? {
|
|
240
|
+
...t,
|
|
241
|
+
status: "ACTIVE"
|
|
242
|
+
} : t)), n;
|
|
243
|
+
}
|
|
244
|
+
return null;
|
|
245
|
+
} catch (e) {
|
|
246
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to publish template")), null;
|
|
247
|
+
} finally {
|
|
248
|
+
S(!1);
|
|
249
|
+
}
|
|
250
|
+
}, [T]),
|
|
251
|
+
deprecateTemplate: f(async (e) => {
|
|
252
|
+
try {
|
|
253
|
+
S(!0), w(null);
|
|
254
|
+
let t = await T.mutate({
|
|
255
|
+
mutation: r,
|
|
256
|
+
variables: { id: e }
|
|
257
|
+
});
|
|
258
|
+
if (t.data?.deprecateTemplate) {
|
|
259
|
+
let n = h(t.data.deprecateTemplate);
|
|
260
|
+
return v((t) => t.map((t) => t.id === e ? {
|
|
261
|
+
...t,
|
|
262
|
+
status: "DEPRECATED"
|
|
263
|
+
} : t)), n;
|
|
264
|
+
}
|
|
265
|
+
return null;
|
|
266
|
+
} catch (e) {
|
|
267
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to deprecate template")), null;
|
|
268
|
+
} finally {
|
|
269
|
+
S(!1);
|
|
270
|
+
}
|
|
271
|
+
}, [T]),
|
|
272
|
+
archiveTemplate: f(async (t) => {
|
|
273
|
+
try {
|
|
274
|
+
S(!0), w(null);
|
|
275
|
+
let n = await T.mutate({
|
|
276
|
+
mutation: e,
|
|
277
|
+
variables: { id: t }
|
|
278
|
+
});
|
|
279
|
+
if (n.data?.archiveTemplate) {
|
|
280
|
+
let e = h(n.data.archiveTemplate);
|
|
281
|
+
return v((e) => e.map((e) => e.id === t ? {
|
|
282
|
+
...e,
|
|
283
|
+
status: "ARCHIVED"
|
|
284
|
+
} : e)), e;
|
|
285
|
+
}
|
|
286
|
+
return null;
|
|
287
|
+
} catch (e) {
|
|
288
|
+
return w(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to archive template")), null;
|
|
289
|
+
} finally {
|
|
290
|
+
S(!1);
|
|
291
|
+
}
|
|
292
|
+
}, [T])
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
//#endregion
|
|
296
|
+
export { _ as default };
|
|
297
|
+
|
|
298
|
+
//# sourceMappingURL=useDashboardTemplates.js.map
|