@burdenoff/microfe-bigconsole 2026.930.1 → 2026.1001.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bigconsole/AdminRoot.d.ts +10 -0
- package/dist/bigconsole/AdminRoot.d.ts.map +1 -0
- package/dist/bigconsole/AdminRoutes.d.ts +7 -0
- package/dist/bigconsole/AdminRoutes.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts +29 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts +6 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantApi.d.ts +91 -0
- package/dist/bigconsole/assistant/assistantApi.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantProduct.d.ts +73 -0
- package/dist/bigconsole/assistant/assistantProduct.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantPrompt.d.ts +48 -0
- package/dist/bigconsole/assistant/assistantPrompt.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.d.ts +30 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.js +14 -11
- package/dist/bigconsole/assistant/assistantRunPersistence.js.map +1 -1
- package/dist/bigconsole/assistant/assistantRunStore.d.ts +75 -0
- package/dist/bigconsole/assistant/assistantRunStore.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunStore.js +78 -47
- package/dist/bigconsole/assistant/assistantRunStore.js.map +1 -1
- package/dist/bigconsole/assistant/assistantRuntime.d.ts +52 -0
- package/dist/bigconsole/assistant/assistantRuntime.d.ts.map +1 -0
- package/dist/bigconsole/assistant/attachmentExtract.d.ts +49 -0
- package/dist/bigconsole/assistant/attachmentExtract.d.ts.map +1 -0
- package/dist/bigconsole/assistant/conversationHistoryApi.d.ts +38 -0
- package/dist/bigconsole/assistant/conversationHistoryApi.d.ts.map +1 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts +67 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/bigconsole/assistant/index.d.ts +33 -0
- package/dist/bigconsole/assistant/index.d.ts.map +1 -0
- package/dist/bigconsole/assistant/modes.d.ts +255 -0
- package/dist/bigconsole/assistant/modes.d.ts.map +1 -0
- package/dist/bigconsole/assistant/pageContext.d.ts +65 -0
- package/dist/bigconsole/assistant/pageContext.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewController.d.ts +33 -0
- package/dist/bigconsole/assistant/previewController.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewController.js +28 -19
- package/dist/bigconsole/assistant/previewController.js.map +1 -1
- package/dist/bigconsole/assistant/previewMutationResult.d.ts +11 -0
- package/dist/bigconsole/assistant/previewMutationResult.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewMutationResult.js +59 -0
- package/dist/bigconsole/assistant/previewMutationResult.js.map +1 -0
- package/dist/bigconsole/assistant/previewRunAction.d.ts +25 -0
- package/dist/bigconsole/assistant/previewRunAction.d.ts.map +1 -0
- package/dist/bigconsole/assistant/product.d.ts +28 -0
- package/dist/bigconsole/assistant/product.d.ts.map +1 -0
- package/dist/bigconsole/assistant/types.d.ts +57 -0
- package/dist/bigconsole/assistant/types.d.ts.map +1 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts +17 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts.map +1 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.js +11 -6
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.js.map +1 -1
- package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts +36 -0
- package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +13 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +116 -72
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
- package/dist/bigconsole/components/DrilldownModal.d.ts +11 -0
- package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/BuilderCanvas.d.ts +17 -0
- package/dist/bigconsole/components/builder/BuilderCanvas.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/BuilderTopbar.d.ts +17 -0
- package/dist/bigconsole/components/builder/BuilderTopbar.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts +9 -0
- package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/WidgetInspector.d.ts +15 -0
- package/dist/bigconsole/components/builder/WidgetInspector.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/index.d.ts +5 -0
- package/dist/bigconsole/components/builder/index.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts +17 -0
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts +11 -0
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts +18 -0
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts +18 -0
- package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts +28 -0
- package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/index.d.ts +6 -0
- package/dist/bigconsole/components/builder/inspector/index.d.ts.map +1 -0
- package/dist/bigconsole/components/common/Section.d.ts +77 -0
- package/dist/bigconsole/components/common/Section.d.ts.map +1 -0
- package/dist/bigconsole/components/common/index.d.ts +4 -0
- package/dist/bigconsole/components/common/index.d.ts.map +1 -0
- package/dist/bigconsole/components/common/sectionStyles.d.ts +68 -0
- package/dist/bigconsole/components/common/sectionStyles.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +28 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +45 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.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/DashboardStatusPill.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +35 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.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 +9 -4
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
- 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/GlobalFiltersBar/FilterChip.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +17 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +14 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +15 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.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/ImportDashboardDialog.d.ts +10 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts +11 -0
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +23 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.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/PublishToStoreDialog.d.ts +14 -0
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.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/ShareDialog/EmbedTab.d.ts +35 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +23 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.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/StoreTemplatePicker.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +20 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.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/TemplateSetupBanner.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +29 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/index.d.ts +24 -0
- package/dist/bigconsole/components/dashboard/index.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +24 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.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 +29 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.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/DataSinkDeleteDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.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/DataSinkStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.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/ExportDataSinkDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.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/ImportDataGuideDialog.d.ts +23 -0
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.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/LinkedParsersPanel.d.ts +12 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.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/RefreshTypeSelector.d.ts +26 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.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/WorkflowStatusPanel.d.ts +30 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.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/embed/EmbedErrorBoundary.d.ts +18 -0
- package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts +6 -0
- package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts +14 -0
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.js +68 -40
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.js.map +1 -1
- package/dist/bigconsole/components/embed/drilldown.d.ts +5 -0
- package/dist/bigconsole/components/embed/drilldown.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/drilldown.js +26 -0
- package/dist/bigconsole/components/embed/drilldown.js.map +1 -0
- package/dist/bigconsole/components/embed/index.d.ts +16 -0
- package/dist/bigconsole/components/embed/index.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/index.js +4 -3
- package/dist/bigconsole/components/embed/renderer-manifest.d.ts +23 -0
- package/dist/bigconsole/components/embed/renderer-manifest.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/types.d.ts +106 -0
- package/dist/bigconsole/components/embed/types.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/types.js.map +1 -1
- package/dist/bigconsole/components/embed/validate.d.ts +4 -0
- package/dist/bigconsole/components/embed/validate.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgetShim.d.ts +5 -0
- package/dist/bigconsole/components/embed/widgetShim.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts +10 -0
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts +7 -0
- package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/shared.d.ts +37 -0
- package/dist/bigconsole/components/embed/widgets/shared.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/DashboardGuide.d.ts +27 -0
- package/dist/bigconsole/components/overview/DashboardGuide.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/DataHealthCard.d.ts +18 -0
- package/dist/bigconsole/components/overview/DataHealthCard.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts +16 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.d.ts +18 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts +19 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts +79 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/index.d.ts +14 -0
- package/dist/bigconsole/components/overview/index.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/overviewModel.d.ts +124 -0
- package/dist/bigconsole/components/overview/overviewModel.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/useOverviewData.d.ts +22 -0
- package/dist/bigconsole/components/overview/useOverviewData.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/ExportParserDialog.d.ts +17 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.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/ImportParserDialog.d.ts +12 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.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/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/ParserStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.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/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/parser/parserFieldStyles.d.ts +17 -0
- package/dist/bigconsole/components/parser/parserFieldStyles.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/PipelineDeleteDialog.d.ts +11 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.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/index.d.ts +9 -0
- package/dist/bigconsole/components/pipeline/index.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.d.ts +30 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.js +80 -69
- package/dist/bigconsole/components/preview/AiPreviewContent.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts +11 -0
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts +2 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +4 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/previewShared.d.ts +134 -0
- package/dist/bigconsole/components/preview/previewShared.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +20 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.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 +307 -233
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
- 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 +230 -220
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- 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/WidgetHeader.d.ts +43 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.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/WidgetRegistry.d.ts +131 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +22 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.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 +18 -19
- package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -1
- package/dist/bigconsole/components/widgets/actionConfig.d.ts +36 -0
- package/dist/bigconsole/components/widgets/actionConfig.d.ts.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/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts +43 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +7 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.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/chart/ChartConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.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/ChartTooltip.d.ts +24 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.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/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/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/ComboChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts.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/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/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/ScatterChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +19 -0
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +89 -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/comments/WidgetComments.d.ts +10 -0
- package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts.map +1 -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/config.d.ts +9 -0
- package/dist/bigconsole/components/widgets/custom/config.d.ts.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/utils.d.ts +4 -0
- package/dist/bigconsole/components/widgets/custom/utils.d.ts.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/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +46 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.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/funnel/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +42 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.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/GaugeWidget.d.ts +22 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.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/index.d.ts +10 -0
- package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +38 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +31 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.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/index.d.ts +35 -0
- package/dist/bigconsole/components/widgets/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts +34 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +7 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.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/kpi/KPIWidget.d.ts +23 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.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-comparison/KPIComparisonWidget.d.ts +28 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.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/list/ListConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.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/ListWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.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/map-widget/MapWidget.d.ts +52 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.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/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/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/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/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/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/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/metric-card/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/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +1 -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/ProgressConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.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/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/progress/index.d.ts.map +1 -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/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/retention/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +20 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.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/LoadingState.d.ts +9 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.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/table/TableCell.d.ts +42 -0
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts.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/TableHeader.d.ts +42 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.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/TableWidget.d.ts +16 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/cellLink.d.ts +37 -0
- package/dist/bigconsole/components/widgets/table/cellLink.d.ts.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/text-widget/TextWidget.d.ts +11 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts +4 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +32 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +42 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.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/utils/conditionalFormat.d.ts +74 -0
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts.map +1 -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/targetProgress.d.ts +26 -0
- package/dist/bigconsole/components/widgets/utils/targetProgress.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/translate.d.ts +14 -0
- package/dist/bigconsole/components/widgets/utils/translate.d.ts.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/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +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/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +24 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +18 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.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/WorkflowStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.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/backendErrors.d.ts +22 -0
- package/dist/bigconsole/constants/backendErrors.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/context/BigConsoleContext.d.ts +30 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts.map +1 -0
- package/dist/bigconsole/context/BigConsoleContext.js +4 -1
- package/dist/bigconsole/context/BigConsoleContext.js.map +1 -1
- package/dist/bigconsole/context/index.d.ts +2 -0
- package/dist/bigconsole/context/index.d.ts.map +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/NavigationContext.d.ts +45 -0
- package/dist/bigconsole/contexts/NavigationContext.d.ts.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/customWidget/CustomWidgetBuilderSheet.d.ts +14 -0
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts +25 -0
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/index.d.ts +12 -0
- package/dist/bigconsole/customWidget/index.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/proposalContract.d.ts +121 -0
- package/dist/bigconsole/customWidget/proposalContract.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/proposalSource.d.ts +41 -0
- package/dist/bigconsole/customWidget/proposalSource.d.ts.map +1 -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/graphql/storeTemplates.d.ts +9 -0
- package/dist/bigconsole/graphql/storeTemplates.d.ts.map +1 -0
- package/dist/bigconsole/hooks/index.d.ts +41 -0
- package/dist/bigconsole/hooks/index.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useActivePage.d.ts +37 -0
- package/dist/bigconsole/hooks/useActivePage.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useActivePage.js +25 -0
- package/dist/bigconsole/hooks/useActivePage.js.map +1 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts +51 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts +48 -0
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts.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/useDashboardEmbedPolicy.d.ts +72 -0
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardImageExport.d.ts +18 -0
- package/dist/bigconsole/hooks/useDashboardImageExport.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts +70 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts.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/useDashboardTemplates.d.ts +135 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.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/useDataSinkOperations.d.ts +66 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.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/useDrilldown.d.ts +65 -0
- package/dist/bigconsole/hooks/useDrilldown.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDrilldown.js +118 -71
- package/dist/bigconsole/hooks/useDrilldown.js.map +1 -1
- 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 +32 -26
- package/dist/bigconsole/hooks/useDrilldownOperations.js.map +1 -1
- package/dist/bigconsole/hooks/useEventLogs.d.ts +94 -0
- package/dist/bigconsole/hooks/useEventLogs.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts +95 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts.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/useExportDataSink.d.ts +27 -0
- package/dist/bigconsole/hooks/useExportDataSink.d.ts.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/useFilterPresets.d.ts +47 -0
- package/dist/bigconsole/hooks/useFilterPresets.d.ts.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 +1 -1
- package/dist/bigconsole/hooks/useFilterUrlSync.js.map +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts +69 -0
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts.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/useImportDataSink.d.ts +74 -0
- package/dist/bigconsole/hooks/useImportDataSink.d.ts.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/useInstalledWidgets.d.ts +15 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useModalFocusTrap.d.ts +24 -0
- package/dist/bigconsole/hooks/useModalFocusTrap.d.ts.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/useParserOperations.d.ts +70 -0
- package/dist/bigconsole/hooks/useParserOperations.d.ts.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/useStoreDashboardTemplates.d.ts +122 -0
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.d.ts.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/useWidgetCatalog.d.ts +20 -0
- package/dist/bigconsole/hooks/useWidgetCatalog.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetComments.d.ts +24 -0
- package/dist/bigconsole/hooks/useWidgetComments.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts +14 -0
- package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts.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/useWidgetEvents.d.ts +60 -0
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts.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/useWidgetOperations.d.ts +71 -0
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts.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/index.d.ts +32 -0
- package/dist/bigconsole/index.d.ts.map +1 -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 +19 -0
- package/dist/bigconsole/modules/widget/index.d.ts.map +1 -0
- package/dist/bigconsole/pages/AdminPage.d.ts +4 -0
- package/dist/bigconsole/pages/AdminPage.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 +190 -185
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
- 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 +224 -217
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardsPage.d.ts.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/DataSinkBuilderPage.d.ts +10 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.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/DataSinksPage.d.ts +5 -0
- package/dist/bigconsole/pages/DataSinksPage.d.ts.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/InsightsPage.d.ts +5 -0
- package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/OverviewPage.d.ts +5 -0
- package/dist/bigconsole/pages/OverviewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts +13 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts.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/PipelineBuilderPage.d.ts +21 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts +20 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts +14 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts.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/WidgetDemoPage.d.ts +5 -0
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts +20 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts +16 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts.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/providers/BigConsoleQuotaProvider.d.ts +10 -0
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.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/BigConsoleRenderer.d.ts +9 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.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/CustomRenderer.d.ts +46 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.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/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/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/dataSinkStore.d.ts +94 -0
- package/dist/bigconsole/store/dataSinkStore.d.ts.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/index.d.ts +13 -0
- package/dist/bigconsole/store/index.d.ts.map +1 -0
- package/dist/bigconsole/store/parserStore.d.ts +106 -0
- package/dist/bigconsole/store/parserStore.d.ts.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/widgetStore.d.ts +106 -0
- package/dist/bigconsole/store/widgetStore.d.ts.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/types/index.d.ts +1373 -0
- package/dist/bigconsole/types/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/backendError.d.ts +4 -0
- package/dist/bigconsole/utils/backendError.d.ts.map +1 -0
- package/dist/bigconsole/utils/createDialogParam.d.ts +26 -0
- package/dist/bigconsole/utils/createDialogParam.d.ts.map +1 -0
- package/dist/bigconsole/utils/csv.d.ts +28 -0
- package/dist/bigconsole/utils/csv.d.ts.map +1 -0
- package/dist/bigconsole/utils/format.d.ts +17 -0
- package/dist/bigconsole/utils/format.d.ts.map +1 -0
- package/dist/bigconsole/utils/index.d.ts +11 -0
- package/dist/bigconsole/utils/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/quota.d.ts +39 -0
- package/dist/bigconsole/utils/quota.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/widgetBinding.d.ts +50 -0
- package/dist/bigconsole/utils/widgetBinding.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts +97 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts +34 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +1 -0
- package/dist/constants/permissions.d.ts +118 -0
- package/dist/constants/permissions.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +187 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +10521 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +132 -86
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +58025 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.d.ts +25 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/stories/DashboardGuide.stories.d.ts +15 -0
- package/dist/stories/DashboardGuide.stories.d.ts.map +1 -0
- package/dist/stories/DataSinkStatusBadge.stories.d.ts +12 -0
- package/dist/stories/DataSinkStatusBadge.stories.d.ts.map +1 -0
- package/dist/stories/GaugeWidget.stories.d.ts +58 -0
- package/dist/stories/GaugeWidget.stories.d.ts.map +1 -0
- package/dist/stories/KPIComparisonWidget.stories.d.ts +76 -0
- package/dist/stories/KPIComparisonWidget.stories.d.ts.map +1 -0
- package/dist/stories/LiveCanvasToggle.stories.d.ts +9 -0
- package/dist/stories/LiveCanvasToggle.stories.d.ts.map +1 -0
- package/dist/stories/MetricCardWidget.stories.d.ts +88 -0
- package/dist/stories/MetricCardWidget.stories.d.ts.map +1 -0
- package/dist/stories/ProgressWidget.stories.d.ts +48 -0
- package/dist/stories/ProgressWidget.stories.d.ts.map +1 -0
- package/dist/stories/SetupStateBadge.stories.d.ts +12 -0
- package/dist/stories/SetupStateBadge.stories.d.ts.map +1 -0
- package/dist/translations/en.d.ts +29 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Widget } from '../../../types';
|
|
3
|
+
|
|
4
|
+
export interface TimelineWidgetProps {
|
|
5
|
+
widget: Widget;
|
|
6
|
+
data?: TimelineData;
|
|
7
|
+
onClick?: (task: TimelineTask) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface TimelineTask {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
progress?: number;
|
|
15
|
+
color?: string;
|
|
16
|
+
duration?: number;
|
|
17
|
+
dependencies?: string[];
|
|
18
|
+
}
|
|
19
|
+
export interface TimelineMilestone {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
date: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface TimelineData {
|
|
26
|
+
tasks?: TimelineTask[];
|
|
27
|
+
milestones?: TimelineMilestone[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Normalize whatever the widget is bound to into `TimelineTask[]`. Accepts the
|
|
31
|
+
* documented `{ tasks, ... }` shape, a tasks array under a different common key,
|
|
32
|
+
* or a bare array of task-like records — a DataSink parser naturally outputs a
|
|
33
|
+
* bare array, and WidgetWrapper has no timeline-specific reshaping step (unlike
|
|
34
|
+
* table/list/chart), so this widget has to tolerate it itself, the same way
|
|
35
|
+
* MapWidget tolerates a bare marker array instead of requiring `{ markers }`.
|
|
36
|
+
* Field names are matched against common aliases (e.g. a parser emitting
|
|
37
|
+
* `title` instead of `name`) so one exact parser output shape isn't required.
|
|
38
|
+
*/
|
|
39
|
+
export declare function normalizeTimelineTasks(data: TimelineData | TimelineTask[] | Record<string, unknown> | undefined): TimelineTask[];
|
|
40
|
+
export declare const TimelineWidget: FC<TimelineWidgetProps>;
|
|
41
|
+
export default TimelineWidget;
|
|
42
|
+
//# sourceMappingURL=TimelineWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineWidget.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/timeline/TimelineWidget.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAM7C,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAClC;AAaD;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,YAAY,GAAG,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GACxE,YAAY,EAAE,CAkChB;AAiBD,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAyIjD,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -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,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Conditional Formatting Engine (shared)
|
|
3
|
+
*
|
|
4
|
+
* Rule-based styling shared across Table, Chart, KPI and Metric widgets.
|
|
5
|
+
* Rules are stored on the widget `config` (e.g. `config.conditionalRules`) and
|
|
6
|
+
* evaluated per data point. Colors are expressed as *semantic intents*
|
|
7
|
+
* (success/warning/danger/info/neutral) — never raw hex — so theming and
|
|
8
|
+
* dark-mode keep working. The intent is resolved to either a Tailwind class
|
|
9
|
+
* (for DOM cells) or a CSS variable (for SVG charts) at render time.
|
|
10
|
+
*/
|
|
11
|
+
/** Comparison operators supported by a conditional rule. */
|
|
12
|
+
export type ConditionalOperator = 'gt' | 'gte' | 'lt' | 'lte' | 'eq' | 'neq' | 'between' | 'outside' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'isEmpty' | 'isNotEmpty';
|
|
13
|
+
/**
|
|
14
|
+
* Semantic color intent. Maps to `--color-status-*` / neutral tokens so the
|
|
15
|
+
* result is theme-aware. Raw colors are intentionally NOT allowed here.
|
|
16
|
+
*/
|
|
17
|
+
export type SemanticIntent = 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
18
|
+
/** Icon hint rendered alongside a matched value. */
|
|
19
|
+
export type ConditionalIcon = 'arrow-up' | 'arrow-down' | 'flag' | 'check' | 'alert' | 'dot';
|
|
20
|
+
export interface ConditionalStyle {
|
|
21
|
+
/** Text color intent. */
|
|
22
|
+
textColor?: SemanticIntent;
|
|
23
|
+
/** Background color intent (subtle fill). */
|
|
24
|
+
bgColor?: SemanticIntent;
|
|
25
|
+
/** Bold the matched value. */
|
|
26
|
+
bold?: boolean;
|
|
27
|
+
/** Icon hint to render before the value. */
|
|
28
|
+
icon?: ConditionalIcon;
|
|
29
|
+
/** Render an in-cell data bar scaled against `dataBarMax`. */
|
|
30
|
+
dataBar?: boolean;
|
|
31
|
+
/** Color intent for the data bar (defaults to `info`). */
|
|
32
|
+
dataBarColor?: SemanticIntent;
|
|
33
|
+
}
|
|
34
|
+
export interface ConditionalRule {
|
|
35
|
+
/** Optional stable id (UI keying). */
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Field to test. When omitted, the rule tests the value it is applied to
|
|
39
|
+
* (e.g. the current cell value or series value).
|
|
40
|
+
*/
|
|
41
|
+
field?: string;
|
|
42
|
+
/** Comparison operator. */
|
|
43
|
+
operator: ConditionalOperator;
|
|
44
|
+
/** Comparison operand (primary). */
|
|
45
|
+
value?: string | number;
|
|
46
|
+
/** Second operand for `between` / `outside`. */
|
|
47
|
+
value2?: string | number;
|
|
48
|
+
/** Styling applied when the rule matches. */
|
|
49
|
+
style: ConditionalStyle;
|
|
50
|
+
}
|
|
51
|
+
/** Evaluate a single rule against a candidate value. */
|
|
52
|
+
export declare function evaluateRule(rawValue: unknown, rule: ConditionalRule, rowData?: Record<string, unknown>): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Resolve the merged style for a value given an ordered rule list.
|
|
55
|
+
* Later matching rules override earlier ones (last-wins), so order rules from
|
|
56
|
+
* general to specific. Returns `undefined` when nothing matches.
|
|
57
|
+
*/
|
|
58
|
+
export declare function resolveConditionalStyle(rawValue: unknown, rules: ConditionalRule[] | undefined, rowData?: Record<string, unknown>): ConditionalStyle | undefined;
|
|
59
|
+
/** CSS variable for a semantic intent's solid color (charts/SVG). */
|
|
60
|
+
export declare function intentToCssVar(intent: SemanticIntent): string;
|
|
61
|
+
/** Build the Tailwind className fragment for a resolved style (DOM cells). */
|
|
62
|
+
export declare function conditionalStyleToClassName(style: ConditionalStyle | undefined): string;
|
|
63
|
+
/**
|
|
64
|
+
* Resolve a `<tr>`-level className for a whole row given an ordered rule list.
|
|
65
|
+
* Each rule's `field` is tested against the row; the merged style's `bgColor`
|
|
66
|
+
* (falling back to `textColor`) paints a subtle fill and adds a matching
|
|
67
|
+
* left-edge accent bar, with `bold` emphasising the row text. Returns `''`
|
|
68
|
+
* when nothing matches so default striped row styling is preserved. This is
|
|
69
|
+
* the escalation surface that renders boarding-breach rows in red.
|
|
70
|
+
*/
|
|
71
|
+
export declare function resolveRowClassName(row: Record<string, unknown>, rules: ConditionalRule[] | undefined): string;
|
|
72
|
+
/** SVG paths for the supported conditional icons (16x16 viewBox 0 0 24 24). */
|
|
73
|
+
export declare const CONDITIONAL_ICON_PATHS: Record<ConditionalIcon, string>;
|
|
74
|
+
//# sourceMappingURL=conditionalFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conditionalFormat.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/utils/conditionalFormat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,4DAA4D;AAC5D,MAAM,MAAM,mBAAmB,GAC3B,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,SAAS,GACT,SAAS,GACT,UAAU,GACV,aAAa,GACb,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,CAAC;AAEjB;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAEnF,oDAAoD;AACpD,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AAE7F,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,6CAA6C;IAC7C,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4CAA4C;IAC5C,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,6CAA6C;IAC7C,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAeD,wDAAwD;AACxD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAqEjH;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,eAAe,EAAE,GAAG,SAAS,EACpC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,gBAAgB,GAAG,SAAS,CAS9B;AAMD,qEAAqE;AACrE,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAc7D;AAkBD,8EAA8E;AAC9E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gBAAgB,GAAG,SAAS,GAAG,MAAM,CAOvF;AAoBD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,SAAS,GAAG,MAAM,CAY9G;AAED,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAOlE,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,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared target-progress maths for widgets that render a "vs target" bar.
|
|
3
|
+
*
|
|
4
|
+
* Kept in one place so the KPI comparison and metric card widgets cannot drift
|
|
5
|
+
* apart on the guard conditions — both previously divided by the target with no
|
|
6
|
+
* protection and rendered "NaN%" / "Infinity%".
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Progress toward a target, as a percentage.
|
|
10
|
+
*
|
|
11
|
+
* Returns null whenever no meaningful ratio exists, so callers can suppress the
|
|
12
|
+
* whole target block rather than render a broken figure:
|
|
13
|
+
* - a non-numeric value (parser output may be a string, e.g. a status flag)
|
|
14
|
+
* - an absent, zero or non-finite target (JSON payloads carry `0` and `null`)
|
|
15
|
+
*
|
|
16
|
+
* `Number.isFinite` does not coerce, so a runtime `null` is rejected too.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getTargetProgress(value: number | string | undefined, target: number | undefined): number | null;
|
|
19
|
+
/**
|
|
20
|
+
* Clamp a progress percentage to a CSS-safe bar width.
|
|
21
|
+
*
|
|
22
|
+
* A negative value would otherwise emit a negative width, which the browser
|
|
23
|
+
* drops entirely, leaving the bar at its previous size.
|
|
24
|
+
*/
|
|
25
|
+
export declare function clampProgressWidth(progress: number): number;
|
|
26
|
+
//# sourceMappingURL=targetProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targetProgress.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/utils/targetProgress.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAO/G;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE3D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider-free translator contract (BOFF-7926).
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the fe-libs `useI18n().t` call shape used by widget views, so a view
|
|
5
|
+
* can be rendered either in-app (real translator) or in the public embed bundle
|
|
6
|
+
* (static fallback translator, no provider, no storage access).
|
|
7
|
+
*/
|
|
8
|
+
export type WidgetTranslateFn = (key: string, fallbackOrParams?: string | Record<string, string | number>, params?: Record<string, string | number>) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Static translator: returns the inline English fallback with `{{name}}`
|
|
11
|
+
* placeholders interpolated. Used where no I18nProvider is mounted.
|
|
12
|
+
*/
|
|
13
|
+
export declare const fallbackTranslate: WidgetTranslateFn;
|
|
14
|
+
//# sourceMappingURL=translate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/utils/translate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAC9B,GAAG,EAAE,MAAM,EACX,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3D,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAAM,CAAC;AAEZ;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,iBAO/B,CAAC"}
|
|
@@ -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;AAE3D,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;AA6dD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgI/D,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/webhook-config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WidgetAction, ActionContext, ActionResult } from '../../../renderers/types/renderer';
|
|
3
|
+
|
|
4
|
+
export interface WidgetActionsProps {
|
|
5
|
+
/** List of actions to render */
|
|
6
|
+
actions: WidgetAction[];
|
|
7
|
+
/** Action context (widget ID, data, etc.) */
|
|
8
|
+
context: ActionContext;
|
|
9
|
+
/** Callback when action is triggered */
|
|
10
|
+
onAction?: (action: WidgetAction, context: ActionContext) => Promise<ActionResult | void>;
|
|
11
|
+
/** Whether actions are disabled */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Layout direction */
|
|
14
|
+
layout?: 'horizontal' | 'vertical';
|
|
15
|
+
/** Size of action buttons */
|
|
16
|
+
size?: 'sm' | 'md' | 'lg';
|
|
17
|
+
/** Whether to show labels */
|
|
18
|
+
showLabels?: boolean;
|
|
19
|
+
/** Maximum number of visible actions (rest go to overflow menu) */
|
|
20
|
+
maxVisible?: number;
|
|
21
|
+
/** Custom class name */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const WidgetActions: React.FC<WidgetActionsProps>;
|
|
25
|
+
export default WidgetActions;
|
|
26
|
+
//# sourceMappingURL=WidgetActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidgetActions.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/widget-actions/WidgetActions.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAkE,MAAM,OAAO,CAAC;AAGvF,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAOnG,MAAM,WAAW,kBAAkB;IACjC,gCAAgC;IAChC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,6CAA6C;IAC7C,OAAO,EAAE,aAAa,CAAC;IACvB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC1F,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACnC,6BAA6B;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,6BAA6B;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6gBD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmIrD,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/bigconsole/components/widgets/widget-actions/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DataSink Multi Selector
|
|
3
|
+
*
|
|
4
|
+
* Multi-select dropdown for selecting DataSinks to link to a workflow.
|
|
5
|
+
* Displays selected items as chips with remove buttons.
|
|
6
|
+
*
|
|
7
|
+
* NOTE (BOFF-5634): this control is exported from the workflow barrel but is
|
|
8
|
+
* currently imported by nothing. It is kept token-correct and keyboard-reachable
|
|
9
|
+
* so it does not ship dead colour classes, but it has not been restructured —
|
|
10
|
+
* see the ticket notes for the proposal to delete it.
|
|
11
|
+
*/
|
|
12
|
+
interface DataSinkMultiSelectorProps {
|
|
13
|
+
/** Currently selected DataSink IDs */
|
|
14
|
+
selectedIds: string[];
|
|
15
|
+
/** Callback when selection changes */
|
|
16
|
+
onChange: (ids: string[]) => void;
|
|
17
|
+
/** Placeholder text */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/** Whether selector is disabled */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const DataSinkMultiSelector: import('react').NamedExoticComponent<DataSinkMultiSelectorProps>;
|
|
23
|
+
export default DataSinkMultiSelector;
|
|
24
|
+
//# sourceMappingURL=DataSinkMultiSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSinkMultiSelector.d.ts","sourceRoot":"","sources":["../../../../src/bigconsole/components/workflow/DataSinkMultiSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAUH,UAAU,0BAA0B;IAClC,sCAAsC;IACtC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,sCAAsC;IACtC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClC,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,eAAO,MAAM,qBAAqB,kEAwNhC,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FluidGridsWorkflow } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface WorkflowCardProps {
|
|
4
|
+
workflow: FluidGridsWorkflow;
|
|
5
|
+
onView?: (id: string) => void;
|
|
6
|
+
onEdit?: (id: string) => void;
|
|
7
|
+
onDelete?: (id: string) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Trigger a run. Omitted when the actor lacks `bigconsole-workflow:execute`,
|
|
10
|
+
* so the affordance is absent rather than present-and-refused.
|
|
11
|
+
*/
|
|
12
|
+
onRun?: (id: string) => void;
|
|
13
|
+
/** True while this workflow's run request is in flight. */
|
|
14
|
+
isRunning?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const WorkflowCard: import('react').NamedExoticComponent<WorkflowCardProps>;
|
|
17
|
+
export default WorkflowCard;
|
|
18
|
+
//# sourceMappingURL=WorkflowCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowCard.d.ts","sourceRoot":"","sources":["../../../../src/bigconsole/components/workflow/WorkflowCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMtD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA6DD,eAAO,MAAM,YAAY,yDA0KvB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FluidGridsWorkflow } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface WorkflowDeleteDialogProps {
|
|
4
|
+
workflow: FluidGridsWorkflow;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onConfirm: () => void | Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare const WorkflowDeleteDialog: import('react').NamedExoticComponent<WorkflowDeleteDialogProps>;
|
|
10
|
+
export default WorkflowDeleteDialog;
|
|
11
|
+
//# sourceMappingURL=WorkflowDeleteDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowDeleteDialog.d.ts","sourceRoot":"","sources":["../../../../src/bigconsole/components/workflow/WorkflowDeleteDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMtD,UAAU,yBAAyB;IACjC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC;AAqBD,eAAO,MAAM,oBAAoB,iEAiG/B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FluidGridsWorkflowStatus } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface WorkflowStatusBadgeProps {
|
|
4
|
+
/** Workflow status */
|
|
5
|
+
status: FluidGridsWorkflowStatus;
|
|
6
|
+
/** Badge size */
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
/** Whether to show icon */
|
|
9
|
+
showIcon?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const WorkflowStatusBadge: import('react').NamedExoticComponent<WorkflowStatusBadgeProps>;
|
|
12
|
+
export default WorkflowStatusBadge;
|
|
13
|
+
//# sourceMappingURL=WorkflowStatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowStatusBadge.d.ts","sourceRoot":"","sources":["../../../../src/bigconsole/components/workflow/WorkflowStatusBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAM5D,UAAU,wBAAwB;IAChC,sBAAsB;IACtB,MAAM,EAAE,wBAAwB,CAAC;IACjC,iBAAiB;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAgBD,eAAO,MAAM,mBAAmB,gEA2G9B,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Components Index
|
|
3
|
+
*
|
|
4
|
+
* Export all Workflow-related components.
|
|
5
|
+
*/
|
|
6
|
+
export { WorkflowCard } from './WorkflowCard';
|
|
7
|
+
export { WorkflowStatusBadge } from './WorkflowStatusBadge';
|
|
8
|
+
export { WorkflowDeleteDialog } from './WorkflowDeleteDialog';
|
|
9
|
+
export { DataSinkMultiSelector } from './DataSinkMultiSelector';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bigconsole/components/workflow/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BigConsole backend error-code → user-facing English message.
|
|
3
|
+
*
|
|
4
|
+
* The wspace-bigconsole-svc backend now throws `BigConsoleError(code, …)` so
|
|
5
|
+
* every failure carries a stable `extensions.code` (see the svc
|
|
6
|
+
* `src/modules/shared/errors.ts`). This map turns those codes into friendly,
|
|
7
|
+
* generic English strings and — via `resolveBackendErrorMessage` — into
|
|
8
|
+
* localized strings keyed `bigconsole.errors.<CODE>`.
|
|
9
|
+
*
|
|
10
|
+
* Only USER-FACING codes are listed. Server-config / invariant codes
|
|
11
|
+
* (e.g. EMBED_HASH_PEPPER_INVALID, UNIFIED_GRAPH_NO_MODULES,
|
|
12
|
+
* TAG_TEST_SEAM_IN_PRODUCTION) are intentionally omitted — a user never sees
|
|
13
|
+
* them, and the raw server message is a fine last resort.
|
|
14
|
+
*
|
|
15
|
+
* These English values are the source for the `bigconsole.errors.*` seed keys
|
|
16
|
+
* (the bundle generator folds this map into the en bundle; hi/ta live in
|
|
17
|
+
* i18n/locales/). Keep messages generic (no interpolated ids) — the specific
|
|
18
|
+
* id is still available on `error.extensions` for callers that need it.
|
|
19
|
+
*/
|
|
20
|
+
export declare const BACKEND_ERROR_MESSAGES: Record<string, string>;
|
|
21
|
+
export type BackendErrorCode = keyof typeof BACKEND_ERROR_MESSAGES;
|
|
22
|
+
//# sourceMappingURL=backendErrors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backendErrors.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/constants/backendErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgHzD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BigConsole shared constants.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Delay (ms) before retrying a workflow fetch that returned null.
|
|
6
|
+
*
|
|
7
|
+
* On full-page loads the workspace auth token may not be issued yet when the
|
|
8
|
+
* first fetch fires, so the gateway lacks workspace context and the resolver
|
|
9
|
+
* returns null. A single retry after this delay handles the bootstrap race.
|
|
10
|
+
*
|
|
11
|
+
* TODO: Longer term this should be driven off an auth-ready event rather than
|
|
12
|
+
* a fixed delay so it works reliably on slow connections and cold starts.
|
|
13
|
+
*/
|
|
14
|
+
export declare const BOOTSTRAP_RETRY_DELAY_MS = 1500;
|
|
15
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/bigconsole/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,OAAO,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { BigConsoleRootProps } from '../types';
|
|
3
|
+
|
|
4
|
+
interface BigConsoleContextValue {
|
|
5
|
+
basePath: string;
|
|
6
|
+
navigate: (path: string) => void;
|
|
7
|
+
currentUser: BigConsoleRootProps['currentUser'];
|
|
8
|
+
workspaceId?: string;
|
|
9
|
+
tenantId?: string;
|
|
10
|
+
apiGatewayUrl: string;
|
|
11
|
+
authToken: string;
|
|
12
|
+
}
|
|
13
|
+
interface BigConsoleProviderProps {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
props: BigConsoleRootProps;
|
|
16
|
+
}
|
|
17
|
+
export declare function BigConsoleProvider({ children, props }: BigConsoleProviderProps): import("react").JSX.Element;
|
|
18
|
+
export declare function useBigConsole(): BigConsoleContextValue;
|
|
19
|
+
/**
|
|
20
|
+
* Hook for basePath-aware navigation.
|
|
21
|
+
* Returns a navigate function that automatically prepends basePath.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* BigConsole's route base path (e.g. `/bigconsole`), or '' outside the
|
|
25
|
+
* provider. Needed to build absolute URLs for new-tab links (BOFF-7625).
|
|
26
|
+
*/
|
|
27
|
+
export declare function useBigConsoleBasePath(): string;
|
|
28
|
+
export declare function useBigConsoleNavigate(): (path: string) => void;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=BigConsoleContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BigConsoleContext.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/context/BigConsoleContext.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,uBAAuB,+BAwC9E;AAED,wBAAgB,aAAa,2BAM5B;AAED;;;GAGG;AACH;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAE9C;AAED,wBAAgB,qBAAqB,WA7ElB,MAAM,KAAK,IAAI,CAiGjC"}
|
|
@@ -41,6 +41,9 @@ function s() {
|
|
|
41
41
|
return e;
|
|
42
42
|
}
|
|
43
43
|
function c() {
|
|
44
|
+
return n(a)?.basePath ?? "";
|
|
45
|
+
}
|
|
46
|
+
function l() {
|
|
44
47
|
let e = n(a), r = t((e) => {
|
|
45
48
|
let t = window.location.pathname.match(/^(\/bigconsole)/), n = t ? t[1] : "", r = e;
|
|
46
49
|
n && !e.startsWith(n) && (r = e.startsWith("/") ? `${n}${e}` : `${n}/${e}`), window.location.href = r;
|
|
@@ -48,6 +51,6 @@ function c() {
|
|
|
48
51
|
return e?.navigate ?? r;
|
|
49
52
|
}
|
|
50
53
|
//#endregion
|
|
51
|
-
export { o as BigConsoleProvider, s as useBigConsole, c as useBigConsoleNavigate };
|
|
54
|
+
export { o as BigConsoleProvider, s as useBigConsole, c as useBigConsoleBasePath, l as useBigConsoleNavigate };
|
|
52
55
|
|
|
53
56
|
//# sourceMappingURL=BigConsoleContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BigConsoleContext.js","names":[],"sources":["../../../src/bigconsole/context/BigConsoleContext.tsx"],"sourcesContent":["/**\n * BigConsoleContext\n *\n * Provides basePath-aware navigation and shared props throughout BigConsole.\n * Uses the navigate function from host app props - no react-router hooks needed.\n */\n\nimport { createContext, useContext, useCallback, useMemo, type ReactNode } from 'react';\nimport { type BigConsoleRootProps } from '../types';\n\ninterface BigConsoleContextValue {\n basePath: string;\n navigate: (path: string) => void;\n currentUser: BigConsoleRootProps['currentUser'];\n workspaceId?: string;\n tenantId?: string;\n apiGatewayUrl: string;\n authToken: string;\n}\n\nconst BigConsoleContext = createContext<BigConsoleContextValue | null>(null);\n\ninterface BigConsoleProviderProps {\n children: ReactNode;\n props: BigConsoleRootProps;\n}\n\nexport function BigConsoleProvider({ children, props }: BigConsoleProviderProps) {\n const { basePath = '', navigate: hostNavigate, currentUser, workspaceId, tenantId, apiGatewayUrl, authToken } = props;\n\n // Normalize basePath (remove trailing slash)\n const normalizedBasePath = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n\n // Create basePath-aware navigation using host's navigate function\n const navigate = useCallback(\n (path: string) => {\n // If basePath is empty or \"/\", just use the path as-is\n if (!normalizedBasePath || normalizedBasePath === '/') {\n hostNavigate(path);\n return;\n }\n // If path already starts with basePath, use as-is\n if (path.startsWith(normalizedBasePath)) {\n hostNavigate(path);\n return;\n }\n // Otherwise, prepend basePath\n const fullPath = path.startsWith('/') ? `${normalizedBasePath}${path}` : `${normalizedBasePath}/${path}`;\n hostNavigate(fullPath);\n },\n [normalizedBasePath, hostNavigate]\n );\n\n const value = useMemo(\n () => ({\n basePath: normalizedBasePath,\n navigate,\n currentUser,\n workspaceId,\n tenantId,\n apiGatewayUrl: apiGatewayUrl || '',\n authToken: authToken || '',\n }),\n [normalizedBasePath, navigate, currentUser, workspaceId, tenantId, apiGatewayUrl, authToken]\n );\n\n return <BigConsoleContext.Provider value={value}>{children}</BigConsoleContext.Provider>;\n}\n\nexport function useBigConsole() {\n const context = useContext(BigConsoleContext);\n if (!context) {\n throw new Error('useBigConsole must be used within a BigConsoleProvider');\n }\n return context;\n}\n\n/**\n * Hook for basePath-aware navigation.\n * Returns a navigate function that automatically prepends basePath.\n */\nexport function useBigConsoleNavigate() {\n const context = useContext(BigConsoleContext);\n\n // Create a stable fallback function\n const fallbackNavigate = useCallback((path: string) => {\n const currentPath = window.location.pathname;\n const bigconsoleMatch = currentPath.match(/^(\\/bigconsole)/);\n const basePath = bigconsoleMatch ? bigconsoleMatch[1] : '';\n\n let fullPath = path;\n if (basePath && !path.startsWith(basePath)) {\n fullPath = path.startsWith('/') ? `${basePath}${path}` : `${basePath}/${path}`;\n }\n\n // Use window.location as last resort\n window.location.href = fullPath;\n }, []);\n\n // Return context navigate if available, otherwise fallback\n return context?.navigate ?? fallbackNavigate;\n}\n"],"mappings":";;;AAoBA,IAAM,IAAoB,EAA6C,KAAK;AAO5E,SAAgB,EAAmB,EAAE,aAAU,YAAkC;CAC/E,IAAM,EAAE,cAAW,IAAI,UAAU,GAAc,gBAAa,gBAAa,aAAU,kBAAe,iBAAc,GAG1G,IAAqB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,GAGtE,IAAW,GACd,MAAiB;AAEhB,MAAI,CAAC,KAAsB,MAAuB,KAAK;AACrD,KAAa,EAAK;AAClB;;AAGF,MAAI,EAAK,WAAW,EAAmB,EAAE;AACvC,KAAa,EAAK;AAClB;;AAIF,IADiB,EAAK,WAAW,IAAI,GAAG,GAAG,IAAqB,MAAS,GAAG,EAAmB,GAAG,IAC5E;IAExB,CAAC,GAAoB,EAAa,CACnC,EAEK,IAAQ,SACL;EACL,UAAU;EACV;EACA;EACA;EACA;EACA,eAAe,KAAiB;EAChC,WAAW,KAAa;EACzB,GACD;EAAC;EAAoB;EAAU;EAAa;EAAa;EAAU;EAAe;EAAU,CAC7F;AAED,QAAO,kBAAC,EAAkB,UAAnB;EAAmC;EAAQ;EAAsC,CAAA;;AAG1F,SAAgB,IAAgB;CAC9B,IAAM,IAAU,EAAW,EAAkB;AAC7C,KAAI,CAAC,EACH,OAAU,MAAM,yDAAyD;AAE3E,QAAO;;
|
|
1
|
+
{"version":3,"file":"BigConsoleContext.js","names":[],"sources":["../../../src/bigconsole/context/BigConsoleContext.tsx"],"sourcesContent":["/**\n * BigConsoleContext\n *\n * Provides basePath-aware navigation and shared props throughout BigConsole.\n * Uses the navigate function from host app props - no react-router hooks needed.\n */\n\nimport { createContext, useContext, useCallback, useMemo, type ReactNode } from 'react';\nimport { type BigConsoleRootProps } from '../types';\n\ninterface BigConsoleContextValue {\n basePath: string;\n navigate: (path: string) => void;\n currentUser: BigConsoleRootProps['currentUser'];\n workspaceId?: string;\n tenantId?: string;\n apiGatewayUrl: string;\n authToken: string;\n}\n\nconst BigConsoleContext = createContext<BigConsoleContextValue | null>(null);\n\ninterface BigConsoleProviderProps {\n children: ReactNode;\n props: BigConsoleRootProps;\n}\n\nexport function BigConsoleProvider({ children, props }: BigConsoleProviderProps) {\n const { basePath = '', navigate: hostNavigate, currentUser, workspaceId, tenantId, apiGatewayUrl, authToken } = props;\n\n // Normalize basePath (remove trailing slash)\n const normalizedBasePath = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n\n // Create basePath-aware navigation using host's navigate function\n const navigate = useCallback(\n (path: string) => {\n // If basePath is empty or \"/\", just use the path as-is\n if (!normalizedBasePath || normalizedBasePath === '/') {\n hostNavigate(path);\n return;\n }\n // If path already starts with basePath, use as-is\n if (path.startsWith(normalizedBasePath)) {\n hostNavigate(path);\n return;\n }\n // Otherwise, prepend basePath\n const fullPath = path.startsWith('/') ? `${normalizedBasePath}${path}` : `${normalizedBasePath}/${path}`;\n hostNavigate(fullPath);\n },\n [normalizedBasePath, hostNavigate]\n );\n\n const value = useMemo(\n () => ({\n basePath: normalizedBasePath,\n navigate,\n currentUser,\n workspaceId,\n tenantId,\n apiGatewayUrl: apiGatewayUrl || '',\n authToken: authToken || '',\n }),\n [normalizedBasePath, navigate, currentUser, workspaceId, tenantId, apiGatewayUrl, authToken]\n );\n\n return <BigConsoleContext.Provider value={value}>{children}</BigConsoleContext.Provider>;\n}\n\nexport function useBigConsole() {\n const context = useContext(BigConsoleContext);\n if (!context) {\n throw new Error('useBigConsole must be used within a BigConsoleProvider');\n }\n return context;\n}\n\n/**\n * Hook for basePath-aware navigation.\n * Returns a navigate function that automatically prepends basePath.\n */\n/**\n * BigConsole's route base path (e.g. `/bigconsole`), or '' outside the\n * provider. Needed to build absolute URLs for new-tab links (BOFF-7625).\n */\nexport function useBigConsoleBasePath(): string {\n return useContext(BigConsoleContext)?.basePath ?? '';\n}\n\nexport function useBigConsoleNavigate() {\n const context = useContext(BigConsoleContext);\n\n // Create a stable fallback function\n const fallbackNavigate = useCallback((path: string) => {\n const currentPath = window.location.pathname;\n const bigconsoleMatch = currentPath.match(/^(\\/bigconsole)/);\n const basePath = bigconsoleMatch ? bigconsoleMatch[1] : '';\n\n let fullPath = path;\n if (basePath && !path.startsWith(basePath)) {\n fullPath = path.startsWith('/') ? `${basePath}${path}` : `${basePath}/${path}`;\n }\n\n // Use window.location as last resort\n window.location.href = fullPath;\n }, []);\n\n // Return context navigate if available, otherwise fallback\n return context?.navigate ?? fallbackNavigate;\n}\n"],"mappings":";;;AAoBA,IAAM,IAAoB,EAA6C,KAAK;AAO5E,SAAgB,EAAmB,EAAE,aAAU,YAAkC;CAC/E,IAAM,EAAE,cAAW,IAAI,UAAU,GAAc,gBAAa,gBAAa,aAAU,kBAAe,iBAAc,GAG1G,IAAqB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,GAGtE,IAAW,GACd,MAAiB;AAEhB,MAAI,CAAC,KAAsB,MAAuB,KAAK;AACrD,KAAa,EAAK;AAClB;;AAGF,MAAI,EAAK,WAAW,EAAmB,EAAE;AACvC,KAAa,EAAK;AAClB;;AAIF,IADiB,EAAK,WAAW,IAAI,GAAG,GAAG,IAAqB,MAAS,GAAG,EAAmB,GAAG,IAC5E;IAExB,CAAC,GAAoB,EAAa,CACnC,EAEK,IAAQ,SACL;EACL,UAAU;EACV;EACA;EACA;EACA;EACA,eAAe,KAAiB;EAChC,WAAW,KAAa;EACzB,GACD;EAAC;EAAoB;EAAU;EAAa;EAAa;EAAU;EAAe;EAAU,CAC7F;AAED,QAAO,kBAAC,EAAkB,UAAnB;EAAmC;EAAQ;EAAsC,CAAA;;AAG1F,SAAgB,IAAgB;CAC9B,IAAM,IAAU,EAAW,EAAkB;AAC7C,KAAI,CAAC,EACH,OAAU,MAAM,yDAAyD;AAE3E,QAAO;;AAWT,SAAgB,IAAgC;AAC9C,QAAO,EAAW,EAAkB,EAAE,YAAY;;AAGpD,SAAgB,IAAwB;CACtC,IAAM,IAAU,EAAW,EAAkB,EAGvC,IAAmB,GAAa,MAAiB;EAErD,IAAM,IADc,OAAO,SAAS,SACA,MAAM,kBAAkB,EACtD,IAAW,IAAkB,EAAgB,KAAK,IAEpD,IAAW;AAMf,EALI,KAAY,CAAC,EAAK,WAAW,EAAS,KACxC,IAAW,EAAK,WAAW,IAAI,GAAG,GAAG,IAAW,MAAS,GAAG,EAAS,GAAG,MAI1E,OAAO,SAAS,OAAO;IACtB,EAAE,CAAC;AAGN,QAAO,GAAS,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { CrossFilterConfig, CrossFilterClickData, CrossFilterMode } from '../hooks/useCrossFilter';
|
|
3
|
+
|
|
4
|
+
export interface CrossFilterContextValue {
|
|
5
|
+
/** Apply a cross-filter from a widget click */
|
|
6
|
+
applyCrossFilter: (clickData: CrossFilterClickData, config?: CrossFilterConfig) => void;
|
|
7
|
+
/** Clear specific cross-filters */
|
|
8
|
+
clearCrossFilter: (filterIds: string[]) => void;
|
|
9
|
+
/** Clear all cross-filters */
|
|
10
|
+
clearAllCrossFilters: () => void;
|
|
11
|
+
/** Check if a value is currently cross-filtered */
|
|
12
|
+
isCrossFiltered: (filterId: string, value: unknown) => boolean;
|
|
13
|
+
/** Get the source widget ID of a cross-filter */
|
|
14
|
+
getCrossFilterSource: (filterId: string) => string | null;
|
|
15
|
+
/** Whether any cross-filters are active */
|
|
16
|
+
hasCrossFilters: boolean;
|
|
17
|
+
/** Map of filter IDs to their source widget IDs */
|
|
18
|
+
crossFilterSources: Record<string, string>;
|
|
19
|
+
/** Whether cross-filtering is enabled */
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface CrossFilterProviderProps {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
/** Whether cross-filtering is enabled */
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
/** Default filter mode */
|
|
27
|
+
defaultMode?: CrossFilterMode;
|
|
28
|
+
/** Debounce delay for filter updates */
|
|
29
|
+
debounceMs?: number;
|
|
30
|
+
/** Callback when cross-filter is applied */
|
|
31
|
+
onCrossFilter?: (filters: Record<string, unknown>) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare const CrossFilterContext: React.Context<CrossFilterContextValue | null>;
|
|
34
|
+
export declare function CrossFilterProvider({ children, enabled, defaultMode, debounceMs, onCrossFilter, }: CrossFilterProviderProps): React.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* Hook to access cross-filter functionality from any widget
|
|
37
|
+
*/
|
|
38
|
+
export declare function useCrossFilterContext(): CrossFilterContextValue;
|
|
39
|
+
/**
|
|
40
|
+
* Hook for widgets to easily create cross-filter handlers
|
|
41
|
+
*/
|
|
42
|
+
export declare function useWidgetCrossFilter(widgetId: string, filterMappings?: CrossFilterConfig['mappings']): {
|
|
43
|
+
handleDataClick: (data: Record<string, unknown>, label?: string, series?: string) => void;
|
|
44
|
+
isCrossFiltered: (filterId: string, value: unknown) => boolean;
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
};
|
|
47
|
+
export default CrossFilterContext;
|
|
48
|
+
//# sourceMappingURL=CrossFilterContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrossFilterContext.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/contexts/CrossFilterContext.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;AAMjC,MAAM,WAAW,uBAAuB;IACtC,+CAA+C;IAC/C,gBAAgB,EAAE,CAAC,SAAS,EAAE,oBAAoB,EAAE,MAAM,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxF,mCAAmC;IACnC,gBAAgB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAChD,8BAA8B;IAC9B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mDAAmD;IACnD,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;IAC/D,iDAAiD;IACjD,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IAC1D,2CAA2C;IAC3C,eAAe,EAAE,OAAO,CAAC;IACzB,mDAAmD;IACnD,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CAC5D;AAMD,eAAO,MAAM,kBAAkB,+CAAsD,CAAC;AAMtF,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,OAAc,EACd,WAAuB,EACvB,UAAc,EACd,aAAa,GACd,EAAE,wBAAwB,qBAwD1B;AAMD;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,uBAAuB,CAkB/D;AAMD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC;4BAI1F,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,MAAM,WAAW,MAAM;gCAvIrC,MAAM,SAAS,OAAO,KAAK,OAAO;;EAuK/D;AAED,eAAe,kBAAkB,CAAC"}
|