@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 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineWidget.js","names":[],"sources":["../../../../../src/bigconsole/components/widgets/timeline/TimelineWidget.tsx"],"sourcesContent":["/**\n * TimelineWidget Component\n *\n * Simple timeline/gantt view showing project tasks and milestones.\n */\n\nimport { type FC, memo, useMemo } from 'react';\nimport type { Widget } from '../../../types';\n\n// ============================================================================\n// Types\n// ============================================================================\n\nexport interface TimelineWidgetProps {\n widget: Widget;\n data?: TimelineData;\n onClick?: (task: TimelineTask) => void;\n}\n\nexport interface TimelineTask {\n id: string;\n name: string;\n start: string;\n end: string;\n progress?: number;\n color?: string;\n duration?: number;\n dependencies?: string[];\n}\n\nexport interface TimelineMilestone {\n id: string;\n name: string;\n date: string;\n color?: string;\n}\n\nexport interface TimelineData {\n tasks?: TimelineTask[];\n milestones?: TimelineMilestone[];\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\nfunction getProgressColor(progress: number): string {\n if (progress >= 100) return 'bg-state-success';\n if (progress >= 50) return 'bg-action-primary-bg';\n if (progress > 0) return 'bg-state-warning';\n return 'bg-bg-muted';\n}\n\n// ============================================================================\n// Component\n// ============================================================================\n\nexport const TimelineWidget: FC<TimelineWidgetProps> = memo(function TimelineWidget({\n widget: _widget,\n data,\n onClick,\n}) {\n const tasks = useMemo(() => data?.tasks || [], [data?.tasks]);\n const milestones = data?.milestones || [];\n\n // Calculate date range\n const { minDate, maxDate, totalDays } = useMemo(() => {\n if (!tasks.length) {\n return { minDate: new Date(), maxDate: new Date(), totalDays: 1 };\n }\n\n const dates = tasks.flatMap((t) => [new Date(t.start), new Date(t.end)]);\n const min = new Date(Math.min(...dates.map((d) => d.getTime())));\n const max = new Date(Math.max(...dates.map((d) => d.getTime())));\n const days = Math.ceil((max.getTime() - min.getTime()) / (1000 * 60 * 60 * 24)) + 1;\n\n return { minDate: min, maxDate: max, totalDays: days };\n }, [tasks]);\n\n if (!tasks.length) {\n return (\n <div className=\"flex items-center justify-center h-full text-text-secondary text-sm\">\n <div className=\"text-center\">\n <svg\n className=\"w-12 h-12 mx-auto mb-2 text-text-tertiary\"\n fill=\"none\"\n stroke=\"currentColor\"\n viewBox=\"0 0 24 24\"\n >\n <path\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth={1.5}\n d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"\n />\n </svg>\n <p>No timeline data</p>\n </div>\n </div>\n );\n }\n\n return (\n <div className=\"flex flex-col h-full p-4 overflow-auto\">\n {/* Header with date range */}\n <div className=\"flex items-center justify-between mb-4\">\n <h3 className=\"text-sm font-medium text-text-primary\">Project Timeline</h3>\n <span className=\"text-xs text-text-secondary\">\n {minDate.toLocaleDateString('en-US', { month: 'short', day: 'numeric' })} -{' '}\n {maxDate.toLocaleDateString('en-US', { month: 'short', day: 'numeric' })}\n </span>\n </div>\n\n {/* Timeline content */}\n <div className=\"flex-1 space-y-3 overflow-auto\">\n {tasks.map((task) => {\n const startDate = new Date(task.start);\n const endDate = new Date(task.end);\n const taskDays = Math.ceil((endDate.getTime() - startDate.getTime()) / (1000 * 60 * 60 * 24)) + 1;\n const startOffset = Math.ceil((startDate.getTime() - minDate.getTime()) / (1000 * 60 * 60 * 24));\n const progress = task.progress ?? 0;\n\n // Calculate bar position and width as percentages\n const leftPercent = (startOffset / totalDays) * 100;\n const widthPercent = (taskDays / totalDays) * 100;\n\n return (\n <div\n key={task.id}\n className={`\n ${onClick ? 'cursor-pointer' : ''}\n `}\n onClick={() => onClick?.(task)}\n >\n {/* Task name and progress */}\n <div className=\"flex items-center justify-between mb-1\">\n <span className=\"text-xs font-medium text-text-primary truncate max-w-[60%]\">{task.name}</span>\n <span className=\"text-[10px] text-text-secondary\">{progress}%</span>\n </div>\n\n {/* Timeline bar */}\n <div className=\"relative h-6 bg-bg-muted rounded overflow-hidden\">\n {/* Task bar */}\n <div\n className=\"absolute top-1 bottom-1 rounded\"\n style={{\n left: `${leftPercent}%`,\n width: `${Math.max(widthPercent, 5)}%`,\n backgroundColor: task.color || '#3b82f6',\n opacity: 0.3,\n }}\n />\n\n {/* Progress fill */}\n <div\n className={`absolute top-1 bottom-1 rounded ${getProgressColor(progress)}`}\n style={{\n left: `${leftPercent}%`,\n width: `${Math.max((widthPercent * progress) / 100, 2)}%`,\n }}\n />\n\n {/* Date labels */}\n <div\n className=\"absolute top-1/2 -translate-y-1/2 text-[9px] text-text-tertiary\"\n style={{ left: `${leftPercent + 1}%` }}\n >\n {startDate.toLocaleDateString('en-US', { month: 'short', day: 'numeric' })}\n </div>\n </div>\n </div>\n );\n })}\n </div>\n\n {/* Milestones */}\n {milestones.length > 0 && (\n <div className=\"mt-4 pt-3 border-t border-border-default\">\n <p className=\"text-xs font-medium text-text-secondary mb-2\">Milestones</p>\n <div className=\"flex flex-wrap gap-2\">\n {milestones.map((milestone) => (\n <div key={milestone.id} className=\"flex items-center gap-1.5 px-2 py-1 rounded bg-bg-muted\">\n <div className=\"w-2 h-2 rounded-full\" style={{ backgroundColor: milestone.color || '#ef4444' }} />\n <span className=\"text-[10px] text-text-primary\">{milestone.name}</span>\n <span className=\"text-[10px] text-text-tertiary\">\n {new Date(milestone.date).toLocaleDateString('en-US', { month: 'short', day: 'numeric' })}\n </span>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n});\n\nexport default TimelineWidget;\n"],"mappings":";;;AA8CA,SAAS,EAAiB,GAA0B;AAIlD,QAHI,KAAY,MAAY,qBACxB,KAAY,KAAW,yBACvB,IAAW,IAAU,qBAClB;;AAOT,IAAa,IAA0C,EAAK,SAAwB,EAClF,QAAQ,GACR,SACA,cACC;CACD,IAAM,IAAQ,QAAc,GAAM,SAAS,EAAE,EAAE,CAAC,GAAM,MAAM,CAAC,EACvD,IAAa,GAAM,cAAc,EAAE,EAGnC,EAAE,YAAS,YAAS,iBAAc,QAAc;AACpD,MAAI,CAAC,EAAM,OACT,QAAO;GAAE,yBAAS,IAAI,MAAM;GAAE,yBAAS,IAAI,MAAM;GAAE,WAAW;GAAG;EAGnE,IAAM,IAAQ,EAAM,SAAS,MAAM,CAAC,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,KAAK,EAAE,IAAI,CAAC,CAAC,EAClE,IAAM,IAAI,KAAK,KAAK,IAAI,GAAG,EAAM,KAAK,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,EAC1D,IAAM,IAAI,KAAK,KAAK,IAAI,GAAG,EAAM,KAAK,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAGhE,SAAO;GAAE,SAAS;GAAK,SAAS;GAAK,WAFxB,KAAK,MAAM,EAAI,SAAS,GAAG,EAAI,SAAS,KAAK,MAAO,KAAK,KAAK,IAAI,GAAG;GAE5B;IACrD,CAAC,EAAM,CAAC;AAyBX,QAvBK,EAAM,SAwBT,kBAAC,OAAD;EAAK,WAAU;YAAf;GAEE,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,MAAD;KAAI,WAAU;eAAwC;KAAqB,CAAA,EAC3E,kBAAC,QAAD;KAAM,WAAU;eAAhB;MACG,EAAQ,mBAAmB,SAAS;OAAE,OAAO;OAAS,KAAK;OAAW,CAAC;MAAC;MAAG;MAC3E,EAAQ,mBAAmB,SAAS;OAAE,OAAO;OAAS,KAAK;OAAW,CAAC;MACnE;OACH;;GAGN,kBAAC,OAAD;IAAK,WAAU;cACZ,EAAM,KAAK,MAAS;KACnB,IAAM,IAAY,IAAI,KAAK,EAAK,MAAM,EAChC,IAAU,IAAI,KAAK,EAAK,IAAI,EAC5B,IAAW,KAAK,MAAM,EAAQ,SAAS,GAAG,EAAU,SAAS,KAAK,MAAO,KAAK,KAAK,IAAI,GAAG,GAC1F,IAAc,KAAK,MAAM,EAAU,SAAS,GAAG,EAAQ,SAAS,KAAK,MAAO,KAAK,KAAK,IAAI,EAC1F,IAAW,EAAK,YAAY,GAG5B,IAAe,IAAc,IAAa,KAC1C,IAAgB,IAAW,IAAa;AAE9C,YACE,kBAAC,OAAD;MAEE,WAAW;oBACL,IAAU,mBAAmB,GAAG;;MAEtC,eAAe,IAAU,EAAK;gBALhC,CAQE,kBAAC,OAAD;OAAK,WAAU;iBAAf,CACE,kBAAC,QAAD;QAAM,WAAU;kBAA8D,EAAK;QAAY,CAAA,EAC/F,kBAAC,QAAD;QAAM,WAAU;kBAAhB,CAAmD,GAAS,IAAQ;UAChE;UAGN,kBAAC,OAAD;OAAK,WAAU;iBAAf;QAEE,kBAAC,OAAD;SACE,WAAU;SACV,OAAO;UACL,MAAM,GAAG,EAAY;UACrB,OAAO,GAAG,KAAK,IAAI,GAAc,EAAE,CAAC;UACpC,iBAAiB,EAAK,SAAS;UAC/B,SAAS;UACV;SACD,CAAA;QAGF,kBAAC,OAAD;SACE,WAAW,mCAAmC,EAAiB,EAAS;SACxE,OAAO;UACL,MAAM,GAAG,EAAY;UACrB,OAAO,GAAG,KAAK,IAAK,IAAe,IAAY,KAAK,EAAE,CAAC;UACxD;SACD,CAAA;QAGF,kBAAC,OAAD;SACE,WAAU;SACV,OAAO,EAAE,MAAM,GAAG,IAAc,EAAE,IAAI;mBAErC,EAAU,mBAAmB,SAAS;UAAE,OAAO;UAAS,KAAK;UAAW,CAAC;SACtE,CAAA;QACF;SACF;QA1CC,EAAK,GA0CN;MAER;IACE,CAAA;GAGL,EAAW,SAAS,KACnB,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,KAAD;KAAG,WAAU;eAA+C;KAAc,CAAA,EAC1E,kBAAC,OAAD;KAAK,WAAU;eACZ,EAAW,KAAK,MACf,kBAAC,OAAD;MAAwB,WAAU;gBAAlC;OACE,kBAAC,OAAD;QAAK,WAAU;QAAuB,OAAO,EAAE,iBAAiB,EAAU,SAAS,WAAW;QAAI,CAAA;OAClG,kBAAC,QAAD;QAAM,WAAU;kBAAiC,EAAU;QAAY,CAAA;OACvE,kBAAC,QAAD;QAAM,WAAU;kBACb,IAAI,KAAK,EAAU,KAAK,CAAC,mBAAmB,SAAS;SAAE,OAAO;SAAS,KAAK;SAAW,CAAC;QACpF,CAAA;OACH;QANI,EAAU,GAMd,CACN;KACE,CAAA,CACF;;GAEJ;MA/GJ,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,OAAD;IACE,WAAU;IACV,MAAK;IACL,QAAO;IACP,SAAQ;cAER,kBAAC,QAAD;KACE,eAAc;KACd,gBAAe;KACf,aAAa;KACb,GAAE;KACF,CAAA;IACE,CAAA,EACN,kBAAC,KAAD,EAAA,UAAG,oBAAoB,CAAA,CACnB;;EACF,CAAA;EAgGV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,iBAAiB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return the full row array from `data`, unwrapping common envelopes
|
|
3
|
+
* (`{data: [...]}`, `{items: [...]}`, `{rows: [...]}`) so callers can scan
|
|
4
|
+
* every row — not just the first. Widgets use this to honor a configured
|
|
5
|
+
* `valueField` authoritatively on sparse/heterogeneous payloads where the
|
|
6
|
+
* first row happens not to carry the field.
|
|
7
|
+
*/
|
|
8
|
+
export declare function unwrapRows(data: unknown): unknown[] | null;
|
|
9
|
+
/**
|
|
10
|
+
* Return the first object-shaped row of `data`, unwrapping common envelopes
|
|
11
|
+
* (`{data: [...]}`, `{items: [...]}`, `{rows: [...]}`) so parsers that emit
|
|
12
|
+
* either a bare array or a wrapped one both work.
|
|
13
|
+
*/
|
|
14
|
+
export declare function firstObjectRow(data: unknown): Record<string, unknown> | null;
|
|
15
|
+
/**
|
|
16
|
+
* First numeric-like key of the first row, or null. "Numeric-like" includes
|
|
17
|
+
* numeric primitives and strings that parse to finite numbers, so parsers
|
|
18
|
+
* that serialize metrics as strings (`{ value: "42" }`) are still matched.
|
|
19
|
+
*
|
|
20
|
+
* Accepts either a dataset (array or envelope) OR an already-unwrapped row.
|
|
21
|
+
* When the input is a non-array object, the row interpretation is tried
|
|
22
|
+
* first — otherwise a row that happens to contain a nested `data`/`items`/
|
|
23
|
+
* `rows` array would be re-unwrapped, and the inferred key would come from
|
|
24
|
+
* the nested object rather than the caller's actual row.
|
|
25
|
+
*/
|
|
26
|
+
export declare function inferValueField(data: unknown): string | null;
|
|
27
|
+
/**
|
|
28
|
+
* First string key of the first row whose value is a non-numeric string.
|
|
29
|
+
* Skips numeric-looking strings so they remain available for
|
|
30
|
+
* `inferValueField` and don't accidentally become labels.
|
|
31
|
+
*
|
|
32
|
+
* Same row-first / unwrap-fallback ordering as `inferValueField` for
|
|
33
|
+
* consistency with already-unwrapped row inputs.
|
|
34
|
+
*/
|
|
35
|
+
export declare function inferLabelField(data: unknown): string | null;
|
|
36
|
+
/**
|
|
37
|
+
* For a dataset with more than one row, pick the max numeric value of
|
|
38
|
+
* `field` (defaulting to `inferValueField`). `field` may be a dotted path
|
|
39
|
+
* and is resolved per-row; row values may be numbers or numeric strings
|
|
40
|
+
* (parsed via `toFiniteNumber`). For single-row or non-array data, returns
|
|
41
|
+
* null so callers fall back to their own defaults — avoids the degenerate
|
|
42
|
+
* case where `max === value` renders progress as 100%.
|
|
43
|
+
*/
|
|
44
|
+
export declare function inferMaxValue(data: unknown, field?: string | null): number | null;
|
|
45
|
+
//# sourceMappingURL=inferFields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inferFields.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/utils/inferFields.ts"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,EAAE,GAAG,IAAI,CAc1D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAK5E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAa5D;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAe5D;AAeD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAcjF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//#region src/bigconsole/components/widgets/utils/inferFields.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (typeof e == "number") return Number.isFinite(e) ? e : null;
|
|
4
|
+
if (typeof e == "string" && e.trim() !== "") {
|
|
5
|
+
let t = Number(e);
|
|
6
|
+
if (Number.isFinite(t)) return t;
|
|
7
|
+
}
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
function t(e) {
|
|
11
|
+
if (Array.isArray(e)) return e;
|
|
12
|
+
if (e && typeof e == "object") {
|
|
13
|
+
let t = e;
|
|
14
|
+
for (let e of [
|
|
15
|
+
"data",
|
|
16
|
+
"items",
|
|
17
|
+
"rows"
|
|
18
|
+
]) {
|
|
19
|
+
let n = t[e];
|
|
20
|
+
if (Array.isArray(n)) return n;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
function n(e) {
|
|
26
|
+
let n = t(e);
|
|
27
|
+
if (!n || n.length === 0) return null;
|
|
28
|
+
let r = n[0];
|
|
29
|
+
return r && typeof r == "object" ? r : null;
|
|
30
|
+
}
|
|
31
|
+
function r(t) {
|
|
32
|
+
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
33
|
+
for (let [n, r] of Object.entries(t)) if (e(r) !== null) return n;
|
|
34
|
+
}
|
|
35
|
+
let r = n(t);
|
|
36
|
+
if (!r) return null;
|
|
37
|
+
for (let [t, n] of Object.entries(r)) if (e(n) !== null) return t;
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
function i(e, t) {
|
|
41
|
+
if (!(!e || typeof e != "object")) return t.includes(".") ? t.split(".").reduce((e, t) => e && typeof e == "object" ? e[t] : void 0, e) : e[t];
|
|
42
|
+
}
|
|
43
|
+
function a(n, a) {
|
|
44
|
+
let o = t(n);
|
|
45
|
+
if (!o || o.length < 2) return null;
|
|
46
|
+
let s = a ?? r(o);
|
|
47
|
+
if (!s) return null;
|
|
48
|
+
let c = -Infinity;
|
|
49
|
+
for (let t of o) {
|
|
50
|
+
let n = e(i(t, s));
|
|
51
|
+
n !== null && n > c && (c = n);
|
|
52
|
+
}
|
|
53
|
+
return c === -Infinity ? null : c;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
export { n as firstObjectRow, a as inferMaxValue, r as inferValueField, t as unwrapRows };
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=inferFields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inferFields.js","names":[],"sources":["../../../../../src/bigconsole/components/widgets/utils/inferFields.ts"],"sourcesContent":["// Shared helpers for inferring widget field mappings from parser output\n// when the user hasn't set them explicitly (BOFF-2246). The goal is that\n// binding a widget to a valid parser produces something visible by default\n// — not a permanent \"No data\" state until the user opens config.\n\n/**\n * Coerce a value to a finite number. Accepts numeric primitives and\n * numeric-looking non-empty strings (`\"42\"`, `\"3.14\"`). Empty strings,\n * `NaN`, `Infinity`, and non-numeric strings return null. Used so the\n * widget helpers handle parsers that serialize metrics as strings.\n */\nfunction toFiniteNumber(v: unknown): number | null {\n if (typeof v === 'number') return Number.isFinite(v) ? v : null;\n if (typeof v === 'string' && v.trim() !== '') {\n const n = Number(v);\n if (Number.isFinite(n)) return n;\n }\n return null;\n}\n\n/**\n * Return the full row array from `data`, unwrapping common envelopes\n * (`{data: [...]}`, `{items: [...]}`, `{rows: [...]}`) so callers can scan\n * every row — not just the first. Widgets use this to honor a configured\n * `valueField` authoritatively on sparse/heterogeneous payloads where the\n * first row happens not to carry the field.\n */\nexport function unwrapRows(data: unknown): unknown[] | null {\n if (Array.isArray(data)) return data;\n if (data && typeof data === 'object') {\n const obj = data as Record<string, unknown>;\n // Pick the first envelope key whose value is actually an array. Using\n // `obj.data ?? obj.items ?? obj.rows` would short-circuit on any non-null\n // value — including non-array metadata like `data: { page: 1 }` — and\n // leave a valid row array under `items`/`rows` unreachable.\n for (const key of ['data', 'items', 'rows'] as const) {\n const candidate = obj[key];\n if (Array.isArray(candidate)) return candidate;\n }\n }\n return null;\n}\n\n/**\n * Return the first object-shaped row of `data`, unwrapping common envelopes\n * (`{data: [...]}`, `{items: [...]}`, `{rows: [...]}`) so parsers that emit\n * either a bare array or a wrapped one both work.\n */\nexport function firstObjectRow(data: unknown): Record<string, unknown> | null {\n const rows = unwrapRows(data);\n if (!rows || rows.length === 0) return null;\n const first = rows[0];\n return first && typeof first === 'object' ? (first as Record<string, unknown>) : null;\n}\n\n/**\n * First numeric-like key of the first row, or null. \"Numeric-like\" includes\n * numeric primitives and strings that parse to finite numbers, so parsers\n * that serialize metrics as strings (`{ value: \"42\" }`) are still matched.\n *\n * Accepts either a dataset (array or envelope) OR an already-unwrapped row.\n * When the input is a non-array object, the row interpretation is tried\n * first — otherwise a row that happens to contain a nested `data`/`items`/\n * `rows` array would be re-unwrapped, and the inferred key would come from\n * the nested object rather than the caller's actual row.\n */\nexport function inferValueField(data: unknown): string | null {\n if (data && typeof data === 'object' && !Array.isArray(data)) {\n for (const [k, v] of Object.entries(data as Record<string, unknown>)) {\n if (toFiniteNumber(v) !== null) return k;\n }\n // No numeric at top level — fall through to envelope/array unwrap.\n }\n const row = firstObjectRow(data);\n if (!row) return null;\n for (const [k, v] of Object.entries(row)) {\n if (toFiniteNumber(v) !== null) return k;\n }\n return null;\n}\n\n/**\n * First string key of the first row whose value is a non-numeric string.\n * Skips numeric-looking strings so they remain available for\n * `inferValueField` and don't accidentally become labels.\n *\n * Same row-first / unwrap-fallback ordering as `inferValueField` for\n * consistency with already-unwrapped row inputs.\n */\nexport function inferLabelField(data: unknown): string | null {\n const isStringLabel = (v: unknown): boolean =>\n typeof v === 'string' && v.trim().length > 0 && toFiniteNumber(v) === null;\n\n if (data && typeof data === 'object' && !Array.isArray(data)) {\n for (const [k, v] of Object.entries(data as Record<string, unknown>)) {\n if (isStringLabel(v)) return k;\n }\n }\n const row = firstObjectRow(data);\n if (!row) return null;\n for (const [k, v] of Object.entries(row)) {\n if (isStringLabel(v)) return k;\n }\n return null;\n}\n\n/**\n * Resolve a possibly-dotted field path on a row. `inferMaxValue` uses this\n * so dotted `config.valueField` (e.g. `metrics.revenue`) works the same as\n * flat (e.g. `revenue`).\n */\nfunction getFieldValue(row: unknown, field: string): unknown {\n if (!row || typeof row !== 'object') return undefined;\n if (!field.includes('.')) return (row as Record<string, unknown>)[field];\n return field.split('.').reduce<unknown>((current, key) => {\n return current && typeof current === 'object' ? (current as Record<string, unknown>)[key] : undefined;\n }, row);\n}\n\n/**\n * For a dataset with more than one row, pick the max numeric value of\n * `field` (defaulting to `inferValueField`). `field` may be a dotted path\n * and is resolved per-row; row values may be numbers or numeric strings\n * (parsed via `toFiniteNumber`). For single-row or non-array data, returns\n * null so callers fall back to their own defaults — avoids the degenerate\n * case where `max === value` renders progress as 100%.\n */\nexport function inferMaxValue(data: unknown, field?: string | null): number | null {\n const rows = unwrapRows(data);\n // Need at least 2 rows to infer a meaningful max.\n if (!rows || rows.length < 2) return null;\n\n const key = field ?? inferValueField(rows);\n if (!key) return null;\n\n let max = -Infinity;\n for (const row of rows) {\n const coerced = toFiniteNumber(getFieldValue(row, key));\n if (coerced !== null && coerced > max) max = coerced;\n }\n return max === -Infinity ? null : max;\n}\n"],"mappings":";AAWA,SAAS,EAAe,GAA2B;AACjD,KAAI,OAAO,KAAM,SAAU,QAAO,OAAO,SAAS,EAAE,GAAG,IAAI;AAC3D,KAAI,OAAO,KAAM,YAAY,EAAE,MAAM,KAAK,IAAI;EAC5C,IAAM,IAAI,OAAO,EAAE;AACnB,MAAI,OAAO,SAAS,EAAE,CAAE,QAAO;;AAEjC,QAAO;;AAUT,SAAgB,EAAW,GAAiC;AAC1D,KAAI,MAAM,QAAQ,EAAK,CAAE,QAAO;AAChC,KAAI,KAAQ,OAAO,KAAS,UAAU;EACpC,IAAM,IAAM;AAKZ,OAAK,IAAM,KAAO;GAAC;GAAQ;GAAS;GAAO,EAAW;GACpD,IAAM,IAAY,EAAI;AACtB,OAAI,MAAM,QAAQ,EAAU,CAAE,QAAO;;;AAGzC,QAAO;;AAQT,SAAgB,EAAe,GAA+C;CAC5E,IAAM,IAAO,EAAW,EAAK;AAC7B,KAAI,CAAC,KAAQ,EAAK,WAAW,EAAG,QAAO;CACvC,IAAM,IAAQ,EAAK;AACnB,QAAO,KAAS,OAAO,KAAU,WAAY,IAAoC;;AAcnF,SAAgB,EAAgB,GAA8B;AAC5D,KAAI,KAAQ,OAAO,KAAS,YAAY,CAAC,MAAM,QAAQ,EAAK;OACrD,IAAM,CAAC,GAAG,MAAM,OAAO,QAAQ,EAAgC,CAClE,KAAI,EAAe,EAAE,KAAK,KAAM,QAAO;;CAI3C,IAAM,IAAM,EAAe,EAAK;AAChC,KAAI,CAAC,EAAK,QAAO;AACjB,MAAK,IAAM,CAAC,GAAG,MAAM,OAAO,QAAQ,EAAI,CACtC,KAAI,EAAe,EAAE,KAAK,KAAM,QAAO;AAEzC,QAAO;;AAiCT,SAAS,EAAc,GAAc,GAAwB;AACvD,QAAC,KAAO,OAAO,KAAQ,UAE3B,QADK,EAAM,SAAS,IAAI,GACjB,EAAM,MAAM,IAAI,CAAC,QAAiB,GAAS,MACzC,KAAW,OAAO,KAAY,WAAY,EAAoC,KAAO,KAAA,GAC3F,EAAI,GAH2B,EAAgC;;AAcpE,SAAgB,EAAc,GAAe,GAAsC;CACjF,IAAM,IAAO,EAAW,EAAK;AAE7B,KAAI,CAAC,KAAQ,EAAK,SAAS,EAAG,QAAO;CAErC,IAAM,IAAM,KAAS,EAAgB,EAAK;AAC1C,KAAI,CAAC,EAAK,QAAO;CAEjB,IAAI,IAAM;AACV,MAAK,IAAM,KAAO,GAAM;EACtB,IAAM,IAAU,EAAe,EAAc,GAAK,EAAI,CAAC;AACvD,EAAI,MAAY,QAAQ,IAAU,MAAK,IAAM;;AAE/C,QAAO,MAAQ,YAAY,OAAO"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { EventWebhookMapping } from '../../../hooks/useEventWebhooks';
|
|
3
|
+
|
|
4
|
+
export interface WebhookConfigPanelProps {
|
|
5
|
+
/** Dashboard ID for webhook scope */
|
|
6
|
+
dashboardId?: string;
|
|
7
|
+
/** Widget ID for webhook scope */
|
|
8
|
+
widgetId?: string;
|
|
9
|
+
/** Callback when webhook is created */
|
|
10
|
+
onWebhookCreated?: (webhook: EventWebhookMapping) => void;
|
|
11
|
+
/** Callback when webhook is deleted */
|
|
12
|
+
onWebhookDeleted?: (id: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const WebhookConfigPanel: React.FC<WebhookConfigPanelProps>;
|
|
15
|
+
export default WebhookConfigPanel;
|
|
16
|
+
//# sourceMappingURL=WebhookConfigPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhookConfigPanel.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAGL,KAAK,mBAAmB,EAIzB,MAAM,iCAAiC,CAAC;AAMzC,MAAM,WAAW,uBAAuB;IACtC,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC1D,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AA+ZD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyH/D,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import e from "../../../hooks/useEventWebhooks.js";
|
|
2
|
+
import { memo as t, useCallback as n, useState as r } from "react";
|
|
3
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
|
+
//#region src/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.tsx
|
|
5
|
+
var s = {
|
|
6
|
+
container: {
|
|
7
|
+
padding: "16px",
|
|
8
|
+
backgroundColor: "#ffffff",
|
|
9
|
+
borderRadius: "8px"
|
|
10
|
+
},
|
|
11
|
+
header: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
justifyContent: "space-between",
|
|
14
|
+
alignItems: "center",
|
|
15
|
+
marginBottom: "16px"
|
|
16
|
+
},
|
|
17
|
+
title: {
|
|
18
|
+
fontSize: "16px",
|
|
19
|
+
fontWeight: 600,
|
|
20
|
+
color: "#111827",
|
|
21
|
+
margin: 0
|
|
22
|
+
},
|
|
23
|
+
addButton: {
|
|
24
|
+
padding: "8px 16px",
|
|
25
|
+
backgroundColor: "#2563eb",
|
|
26
|
+
color: "#ffffff",
|
|
27
|
+
border: "none",
|
|
28
|
+
borderRadius: "6px",
|
|
29
|
+
fontSize: "14px",
|
|
30
|
+
fontWeight: 500,
|
|
31
|
+
cursor: "pointer"
|
|
32
|
+
},
|
|
33
|
+
webhookList: {
|
|
34
|
+
display: "flex",
|
|
35
|
+
flexDirection: "column",
|
|
36
|
+
gap: "12px"
|
|
37
|
+
},
|
|
38
|
+
webhookCard: {
|
|
39
|
+
padding: "16px",
|
|
40
|
+
backgroundColor: "#f9fafb",
|
|
41
|
+
borderRadius: "8px",
|
|
42
|
+
border: "1px solid #e5e7eb"
|
|
43
|
+
},
|
|
44
|
+
webhookHeader: {
|
|
45
|
+
display: "flex",
|
|
46
|
+
justifyContent: "space-between",
|
|
47
|
+
alignItems: "flex-start",
|
|
48
|
+
marginBottom: "8px"
|
|
49
|
+
},
|
|
50
|
+
webhookTitle: {
|
|
51
|
+
display: "flex",
|
|
52
|
+
alignItems: "center",
|
|
53
|
+
gap: "8px"
|
|
54
|
+
},
|
|
55
|
+
webhookName: {
|
|
56
|
+
fontSize: "14px",
|
|
57
|
+
fontWeight: 600,
|
|
58
|
+
color: "#111827"
|
|
59
|
+
},
|
|
60
|
+
statusBadge: {
|
|
61
|
+
padding: "2px 8px",
|
|
62
|
+
borderRadius: "12px",
|
|
63
|
+
fontSize: "12px",
|
|
64
|
+
fontWeight: 500
|
|
65
|
+
},
|
|
66
|
+
activeBadge: {
|
|
67
|
+
backgroundColor: "#d1fae5",
|
|
68
|
+
color: "#065f46"
|
|
69
|
+
},
|
|
70
|
+
inactiveBadge: {
|
|
71
|
+
backgroundColor: "#fef3c7",
|
|
72
|
+
color: "#92400e"
|
|
73
|
+
},
|
|
74
|
+
webhookDetails: {
|
|
75
|
+
fontSize: "13px",
|
|
76
|
+
color: "#6b7280",
|
|
77
|
+
marginBottom: "4px"
|
|
78
|
+
},
|
|
79
|
+
webhookUrl: {
|
|
80
|
+
fontSize: "12px",
|
|
81
|
+
color: "#9ca3af",
|
|
82
|
+
fontFamily: "monospace",
|
|
83
|
+
wordBreak: "break-all"
|
|
84
|
+
},
|
|
85
|
+
webhookActions: {
|
|
86
|
+
display: "flex",
|
|
87
|
+
gap: "8px",
|
|
88
|
+
marginTop: "12px"
|
|
89
|
+
},
|
|
90
|
+
actionButton: {
|
|
91
|
+
padding: "6px 12px",
|
|
92
|
+
fontSize: "12px",
|
|
93
|
+
fontWeight: 500,
|
|
94
|
+
borderRadius: "4px",
|
|
95
|
+
border: "none",
|
|
96
|
+
cursor: "pointer"
|
|
97
|
+
},
|
|
98
|
+
editButton: {
|
|
99
|
+
backgroundColor: "#e5e7eb",
|
|
100
|
+
color: "#374151"
|
|
101
|
+
},
|
|
102
|
+
testButton: {
|
|
103
|
+
backgroundColor: "#dbeafe",
|
|
104
|
+
color: "#1d4ed8"
|
|
105
|
+
},
|
|
106
|
+
deleteButton: {
|
|
107
|
+
backgroundColor: "#fee2e2",
|
|
108
|
+
color: "#dc2626"
|
|
109
|
+
},
|
|
110
|
+
toggleButton: {
|
|
111
|
+
backgroundColor: "#f3f4f6",
|
|
112
|
+
color: "#6b7280"
|
|
113
|
+
},
|
|
114
|
+
emptyState: {
|
|
115
|
+
textAlign: "center",
|
|
116
|
+
padding: "32px",
|
|
117
|
+
color: "#9ca3af"
|
|
118
|
+
},
|
|
119
|
+
form: {
|
|
120
|
+
padding: "16px",
|
|
121
|
+
backgroundColor: "#f9fafb",
|
|
122
|
+
borderRadius: "8px",
|
|
123
|
+
marginBottom: "16px"
|
|
124
|
+
},
|
|
125
|
+
formGroup: { marginBottom: "12px" },
|
|
126
|
+
label: {
|
|
127
|
+
display: "block",
|
|
128
|
+
fontSize: "13px",
|
|
129
|
+
fontWeight: 500,
|
|
130
|
+
color: "#374151",
|
|
131
|
+
marginBottom: "4px"
|
|
132
|
+
},
|
|
133
|
+
input: {
|
|
134
|
+
width: "100%",
|
|
135
|
+
padding: "8px 12px",
|
|
136
|
+
fontSize: "14px",
|
|
137
|
+
border: "1px solid #d1d5db",
|
|
138
|
+
borderRadius: "6px",
|
|
139
|
+
boxSizing: "border-box"
|
|
140
|
+
},
|
|
141
|
+
select: {
|
|
142
|
+
width: "100%",
|
|
143
|
+
padding: "8px 12px",
|
|
144
|
+
fontSize: "14px",
|
|
145
|
+
border: "1px solid #d1d5db",
|
|
146
|
+
borderRadius: "6px",
|
|
147
|
+
boxSizing: "border-box",
|
|
148
|
+
backgroundColor: "#ffffff"
|
|
149
|
+
},
|
|
150
|
+
textarea: {
|
|
151
|
+
width: "100%",
|
|
152
|
+
padding: "8px 12px",
|
|
153
|
+
fontSize: "14px",
|
|
154
|
+
border: "1px solid #d1d5db",
|
|
155
|
+
borderRadius: "6px",
|
|
156
|
+
boxSizing: "border-box",
|
|
157
|
+
fontFamily: "monospace",
|
|
158
|
+
minHeight: "80px",
|
|
159
|
+
resize: "vertical"
|
|
160
|
+
},
|
|
161
|
+
formActions: {
|
|
162
|
+
display: "flex",
|
|
163
|
+
gap: "8px",
|
|
164
|
+
justifyContent: "flex-end",
|
|
165
|
+
marginTop: "16px"
|
|
166
|
+
},
|
|
167
|
+
cancelButton: {
|
|
168
|
+
padding: "8px 16px",
|
|
169
|
+
backgroundColor: "#f3f4f6",
|
|
170
|
+
color: "#374151",
|
|
171
|
+
border: "none",
|
|
172
|
+
borderRadius: "6px",
|
|
173
|
+
fontSize: "14px",
|
|
174
|
+
cursor: "pointer"
|
|
175
|
+
},
|
|
176
|
+
saveButton: {
|
|
177
|
+
padding: "8px 16px",
|
|
178
|
+
backgroundColor: "#2563eb",
|
|
179
|
+
color: "#ffffff",
|
|
180
|
+
border: "none",
|
|
181
|
+
borderRadius: "6px",
|
|
182
|
+
fontSize: "14px",
|
|
183
|
+
fontWeight: 500,
|
|
184
|
+
cursor: "pointer"
|
|
185
|
+
},
|
|
186
|
+
testResult: {
|
|
187
|
+
marginTop: "12px",
|
|
188
|
+
padding: "12px",
|
|
189
|
+
borderRadius: "6px",
|
|
190
|
+
fontSize: "13px"
|
|
191
|
+
},
|
|
192
|
+
testSuccess: {
|
|
193
|
+
backgroundColor: "#d1fae5",
|
|
194
|
+
color: "#065f46"
|
|
195
|
+
},
|
|
196
|
+
testFailure: {
|
|
197
|
+
backgroundColor: "#fee2e2",
|
|
198
|
+
color: "#991b1b"
|
|
199
|
+
},
|
|
200
|
+
helpText: {
|
|
201
|
+
fontSize: "12px",
|
|
202
|
+
color: "#9ca3af",
|
|
203
|
+
marginTop: "4px"
|
|
204
|
+
}
|
|
205
|
+
}, c = t(function({ webhook: e, dashboardId: t, widgetId: n, onSave: i, onCancel: c, loading: l }) {
|
|
206
|
+
let [u, d] = r(e?.eventPattern || "widget:*:clicked"), [f, p] = r(e?.webhookUrl || ""), [m, h] = r(e?.method || "POST"), [g, _] = r(e?.headers ? JSON.stringify(e.headers, null, 2) : "");
|
|
207
|
+
return /* @__PURE__ */ o("form", {
|
|
208
|
+
style: s.form,
|
|
209
|
+
onSubmit: async (r) => {
|
|
210
|
+
r.preventDefault();
|
|
211
|
+
let a;
|
|
212
|
+
if (g.trim()) try {
|
|
213
|
+
a = JSON.parse(g);
|
|
214
|
+
} catch {
|
|
215
|
+
alert("Invalid JSON in headers field");
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
e ? await i({
|
|
219
|
+
id: e.id,
|
|
220
|
+
eventPattern: u,
|
|
221
|
+
webhookUrl: f,
|
|
222
|
+
method: m,
|
|
223
|
+
headers: a || null
|
|
224
|
+
}) : await i({
|
|
225
|
+
dashboardId: t,
|
|
226
|
+
widgetId: n,
|
|
227
|
+
eventPattern: u,
|
|
228
|
+
webhookUrl: f,
|
|
229
|
+
method: m,
|
|
230
|
+
headers: a
|
|
231
|
+
});
|
|
232
|
+
},
|
|
233
|
+
children: [
|
|
234
|
+
/* @__PURE__ */ o("div", {
|
|
235
|
+
style: s.formGroup,
|
|
236
|
+
children: [
|
|
237
|
+
/* @__PURE__ */ a("label", {
|
|
238
|
+
style: s.label,
|
|
239
|
+
children: "Event Pattern *"
|
|
240
|
+
}),
|
|
241
|
+
/* @__PURE__ */ a("input", {
|
|
242
|
+
type: "text",
|
|
243
|
+
value: u,
|
|
244
|
+
onChange: (e) => d(e.target.value),
|
|
245
|
+
placeholder: "widget:*:clicked",
|
|
246
|
+
style: s.input,
|
|
247
|
+
required: !0
|
|
248
|
+
}),
|
|
249
|
+
/* @__PURE__ */ a("p", {
|
|
250
|
+
style: s.helpText,
|
|
251
|
+
children: "Use * as wildcard. Examples: widget:*:clicked, *:submit, button:save:*"
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
}),
|
|
255
|
+
/* @__PURE__ */ o("div", {
|
|
256
|
+
style: s.formGroup,
|
|
257
|
+
children: [/* @__PURE__ */ a("label", {
|
|
258
|
+
style: s.label,
|
|
259
|
+
children: "Webhook URL *"
|
|
260
|
+
}), /* @__PURE__ */ a("input", {
|
|
261
|
+
type: "url",
|
|
262
|
+
value: f,
|
|
263
|
+
onChange: (e) => p(e.target.value),
|
|
264
|
+
placeholder: "https://your-api.com/webhooks/bigconsole",
|
|
265
|
+
style: s.input,
|
|
266
|
+
required: !0
|
|
267
|
+
})]
|
|
268
|
+
}),
|
|
269
|
+
/* @__PURE__ */ o("div", {
|
|
270
|
+
style: s.formGroup,
|
|
271
|
+
children: [/* @__PURE__ */ a("label", {
|
|
272
|
+
style: s.label,
|
|
273
|
+
children: "HTTP Method"
|
|
274
|
+
}), /* @__PURE__ */ o("select", {
|
|
275
|
+
value: m,
|
|
276
|
+
onChange: (e) => h(e.target.value),
|
|
277
|
+
style: s.select,
|
|
278
|
+
children: [
|
|
279
|
+
/* @__PURE__ */ a("option", {
|
|
280
|
+
value: "POST",
|
|
281
|
+
children: "POST"
|
|
282
|
+
}),
|
|
283
|
+
/* @__PURE__ */ a("option", {
|
|
284
|
+
value: "PUT",
|
|
285
|
+
children: "PUT"
|
|
286
|
+
}),
|
|
287
|
+
/* @__PURE__ */ a("option", {
|
|
288
|
+
value: "PATCH",
|
|
289
|
+
children: "PATCH"
|
|
290
|
+
}),
|
|
291
|
+
/* @__PURE__ */ a("option", {
|
|
292
|
+
value: "GET",
|
|
293
|
+
children: "GET"
|
|
294
|
+
}),
|
|
295
|
+
/* @__PURE__ */ a("option", {
|
|
296
|
+
value: "DELETE",
|
|
297
|
+
children: "DELETE"
|
|
298
|
+
})
|
|
299
|
+
]
|
|
300
|
+
})]
|
|
301
|
+
}),
|
|
302
|
+
/* @__PURE__ */ o("div", {
|
|
303
|
+
style: s.formGroup,
|
|
304
|
+
children: [/* @__PURE__ */ a("label", {
|
|
305
|
+
style: s.label,
|
|
306
|
+
children: "Custom Headers (JSON)"
|
|
307
|
+
}), /* @__PURE__ */ a("textarea", {
|
|
308
|
+
value: g,
|
|
309
|
+
onChange: (e) => _(e.target.value),
|
|
310
|
+
placeholder: "{\n \"Authorization\": \"Bearer your-token\"\n}",
|
|
311
|
+
style: s.textarea
|
|
312
|
+
})]
|
|
313
|
+
}),
|
|
314
|
+
/* @__PURE__ */ o("div", {
|
|
315
|
+
style: s.formActions,
|
|
316
|
+
children: [/* @__PURE__ */ a("button", {
|
|
317
|
+
type: "button",
|
|
318
|
+
onClick: c,
|
|
319
|
+
style: s.cancelButton,
|
|
320
|
+
children: "Cancel"
|
|
321
|
+
}), /* @__PURE__ */ a("button", {
|
|
322
|
+
type: "submit",
|
|
323
|
+
disabled: l,
|
|
324
|
+
style: s.saveButton,
|
|
325
|
+
children: l ? "Saving..." : e ? "Update Webhook" : "Create Webhook"
|
|
326
|
+
})]
|
|
327
|
+
})
|
|
328
|
+
]
|
|
329
|
+
});
|
|
330
|
+
}), l = t(function({ webhook: e, onEdit: t, onDelete: n, onToggle: r, onTest: c, testResult: l, testing: u }) {
|
|
331
|
+
return /* @__PURE__ */ o("div", {
|
|
332
|
+
style: s.webhookCard,
|
|
333
|
+
children: [
|
|
334
|
+
/* @__PURE__ */ a("div", {
|
|
335
|
+
style: s.webhookHeader,
|
|
336
|
+
children: /* @__PURE__ */ o("div", {
|
|
337
|
+
style: s.webhookTitle,
|
|
338
|
+
children: [
|
|
339
|
+
/* @__PURE__ */ a("span", {
|
|
340
|
+
style: { fontSize: "16px" },
|
|
341
|
+
children: "📡"
|
|
342
|
+
}),
|
|
343
|
+
/* @__PURE__ */ a("span", {
|
|
344
|
+
style: s.webhookName,
|
|
345
|
+
children: e.eventPattern
|
|
346
|
+
}),
|
|
347
|
+
/* @__PURE__ */ a("span", {
|
|
348
|
+
style: {
|
|
349
|
+
...s.statusBadge,
|
|
350
|
+
...e.isActive ? s.activeBadge : s.inactiveBadge
|
|
351
|
+
},
|
|
352
|
+
children: e.isActive ? "Active" : "Inactive"
|
|
353
|
+
})
|
|
354
|
+
]
|
|
355
|
+
})
|
|
356
|
+
}),
|
|
357
|
+
/* @__PURE__ */ o("div", {
|
|
358
|
+
style: s.webhookDetails,
|
|
359
|
+
children: ["Method: ", /* @__PURE__ */ a("strong", { children: e.method })]
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ a("div", {
|
|
362
|
+
style: s.webhookUrl,
|
|
363
|
+
children: e.webhookUrl
|
|
364
|
+
}),
|
|
365
|
+
l && /* @__PURE__ */ a("div", {
|
|
366
|
+
style: {
|
|
367
|
+
...s.testResult,
|
|
368
|
+
...l.success ? s.testSuccess : s.testFailure
|
|
369
|
+
},
|
|
370
|
+
children: l.success ? /* @__PURE__ */ o(i, { children: [
|
|
371
|
+
"✅ Test successful! Status: ",
|
|
372
|
+
l.statusCode,
|
|
373
|
+
", Latency: ",
|
|
374
|
+
l.latencyMs,
|
|
375
|
+
"ms"
|
|
376
|
+
] }) : /* @__PURE__ */ o(i, { children: ["❌ Test failed: ", l.errorMessage || "Unknown error"] })
|
|
377
|
+
}),
|
|
378
|
+
/* @__PURE__ */ o("div", {
|
|
379
|
+
style: s.webhookActions,
|
|
380
|
+
children: [
|
|
381
|
+
/* @__PURE__ */ a("button", {
|
|
382
|
+
onClick: t,
|
|
383
|
+
style: {
|
|
384
|
+
...s.actionButton,
|
|
385
|
+
...s.editButton
|
|
386
|
+
},
|
|
387
|
+
children: "Edit"
|
|
388
|
+
}),
|
|
389
|
+
/* @__PURE__ */ a("button", {
|
|
390
|
+
onClick: c,
|
|
391
|
+
disabled: u,
|
|
392
|
+
style: {
|
|
393
|
+
...s.actionButton,
|
|
394
|
+
...s.testButton
|
|
395
|
+
},
|
|
396
|
+
children: u ? "Testing..." : "Test"
|
|
397
|
+
}),
|
|
398
|
+
/* @__PURE__ */ a("button", {
|
|
399
|
+
onClick: r,
|
|
400
|
+
style: {
|
|
401
|
+
...s.actionButton,
|
|
402
|
+
...s.toggleButton
|
|
403
|
+
},
|
|
404
|
+
children: e.isActive ? "Disable" : "Enable"
|
|
405
|
+
}),
|
|
406
|
+
/* @__PURE__ */ a("button", {
|
|
407
|
+
onClick: n,
|
|
408
|
+
style: {
|
|
409
|
+
...s.actionButton,
|
|
410
|
+
...s.deleteButton
|
|
411
|
+
},
|
|
412
|
+
children: "Delete"
|
|
413
|
+
})
|
|
414
|
+
]
|
|
415
|
+
})
|
|
416
|
+
]
|
|
417
|
+
});
|
|
418
|
+
}), u = t(function({ dashboardId: t, widgetId: i, onWebhookCreated: u, onWebhookDeleted: d }) {
|
|
419
|
+
let [f, p] = r(!1), [m, h] = r(null), [g, _] = r({}), [v, y] = r(null), { webhooks: b, loading: x, createWebhook: S, updateWebhook: C, deleteWebhook: w, toggleWebhook: T, testWebhook: E } = e({
|
|
420
|
+
dashboardId: t,
|
|
421
|
+
widgetId: i
|
|
422
|
+
}), D = n(async (e) => {
|
|
423
|
+
if ("id" in e) await C(e) && (h(null), p(!1));
|
|
424
|
+
else {
|
|
425
|
+
let t = await S(e);
|
|
426
|
+
t && (p(!1), u?.(t));
|
|
427
|
+
}
|
|
428
|
+
}, [
|
|
429
|
+
S,
|
|
430
|
+
C,
|
|
431
|
+
u
|
|
432
|
+
]), O = n(async (e) => {
|
|
433
|
+
confirm("Are you sure you want to delete this webhook?") && await w(e) && d?.(e);
|
|
434
|
+
}, [w, d]), k = n(async (e) => {
|
|
435
|
+
await T(e.id, !e.isActive);
|
|
436
|
+
}, [T]), A = n(async (e) => {
|
|
437
|
+
y(e);
|
|
438
|
+
let t = await E(e);
|
|
439
|
+
_((n) => ({
|
|
440
|
+
...n,
|
|
441
|
+
[e]: t
|
|
442
|
+
})), y(null);
|
|
443
|
+
}, [E]), j = n((e) => {
|
|
444
|
+
h(e), p(!0);
|
|
445
|
+
}, []), M = n(() => {
|
|
446
|
+
p(!1), h(null);
|
|
447
|
+
}, []);
|
|
448
|
+
return /* @__PURE__ */ o("div", {
|
|
449
|
+
style: s.container,
|
|
450
|
+
children: [
|
|
451
|
+
/* @__PURE__ */ o("div", {
|
|
452
|
+
style: s.header,
|
|
453
|
+
children: [/* @__PURE__ */ a("h3", {
|
|
454
|
+
style: s.title,
|
|
455
|
+
children: "Webhook Configuration"
|
|
456
|
+
}), !f && /* @__PURE__ */ a("button", {
|
|
457
|
+
onClick: () => p(!0),
|
|
458
|
+
style: s.addButton,
|
|
459
|
+
children: "+ Add Webhook"
|
|
460
|
+
})]
|
|
461
|
+
}),
|
|
462
|
+
f && /* @__PURE__ */ a(c, {
|
|
463
|
+
webhook: m || void 0,
|
|
464
|
+
dashboardId: t,
|
|
465
|
+
widgetId: i,
|
|
466
|
+
onSave: D,
|
|
467
|
+
onCancel: M,
|
|
468
|
+
loading: x
|
|
469
|
+
}),
|
|
470
|
+
x && b.length === 0 ? /* @__PURE__ */ a("div", {
|
|
471
|
+
style: s.emptyState,
|
|
472
|
+
children: "Loading..."
|
|
473
|
+
}) : b.length === 0 ? /* @__PURE__ */ o("div", {
|
|
474
|
+
style: s.emptyState,
|
|
475
|
+
children: [/* @__PURE__ */ a("p", { children: "No webhooks configured" }), /* @__PURE__ */ a("p", {
|
|
476
|
+
style: {
|
|
477
|
+
fontSize: "13px",
|
|
478
|
+
marginTop: "8px"
|
|
479
|
+
},
|
|
480
|
+
children: "Add a webhook to receive events when actions are triggered."
|
|
481
|
+
})]
|
|
482
|
+
}) : /* @__PURE__ */ a("div", {
|
|
483
|
+
style: s.webhookList,
|
|
484
|
+
children: b.map((e) => /* @__PURE__ */ a(l, {
|
|
485
|
+
webhook: e,
|
|
486
|
+
onEdit: () => j(e),
|
|
487
|
+
onDelete: () => O(e.id),
|
|
488
|
+
onToggle: () => k(e),
|
|
489
|
+
onTest: () => A(e.id),
|
|
490
|
+
testResult: g[e.id],
|
|
491
|
+
testing: v === e.id
|
|
492
|
+
}, e.id))
|
|
493
|
+
})
|
|
494
|
+
]
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
//#endregion
|
|
498
|
+
export { u as default };
|
|
499
|
+
|
|
500
|
+
//# sourceMappingURL=WebhookConfigPanel.js.map
|