@burdenoff/microfe-bigconsole 2026.1031.1 → 2026.1031.3
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/BigConsoleRoot.js +6 -4
- package/dist/bigconsole/assistant/assistantApi.js +1 -1
- package/dist/bigconsole/assistant/assistantProduct.js +70 -70
- package/dist/bigconsole/assistant/assistantRunPersistence.js +1 -1
- package/dist/bigconsole/assistant/assistantRuntime.js +1 -1
- package/dist/bigconsole/assistant/attachmentExtract.js +1 -1
- package/dist/bigconsole/assistant/conversationHistoryApi.js +1 -1
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +5 -4
- package/dist/bigconsole/assistant/pageContext.js +1 -1
- package/dist/bigconsole/assistant/pageControls.js +1 -1
- package/dist/bigconsole/assistant/previewController.js +1 -1
- package/dist/bigconsole/assistant/recordAdapters.js +1 -1
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +2 -2
- package/dist/bigconsole/components/DrilldownModal.js +1 -1
- package/dist/bigconsole/components/builder/WidgetInspector.js +1 -1
- package/dist/bigconsole/components/builder/index.js +5 -4
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +7 -7
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +2 -2
- package/dist/bigconsole/components/builder/inspector/LayoutSection.js +1 -1
- package/dist/bigconsole/components/builder/inspector/index.js +6 -5
- package/dist/bigconsole/components/common/index.js +4 -3
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +3 -3
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +9 -9
- package/dist/bigconsole/components/dashboard/DashboardGrid.js +2 -2
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +1 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +2 -2
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +4 -3
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +4 -4
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.js +2 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.js +1 -1
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +1 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.js +2 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/QuotaLimitNotice.js +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.js +2 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +152 -152
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +2 -2
- package/dist/bigconsole/components/dashboard/ShareDialog/index.js +2 -1
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +2 -2
- package/dist/bigconsole/components/dashboard/index.js +6 -5
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +2 -2
- package/dist/bigconsole/components/datasink/DataSinkCard.js +2 -2
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +1 -1
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +1 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +1 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +1 -1
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +1 -1
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +1 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +1 -1
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +1 -1
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +1 -1
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.js +9 -9
- package/dist/bigconsole/components/embed/widgets/FormEmbed.js +2 -2
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.js +2 -2
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.js +1 -1
- package/dist/bigconsole/components/overview/DashboardGuide.js +1 -1
- package/dist/bigconsole/components/overview/DataHealthCard.js +2 -2
- package/dist/bigconsole/components/overview/OverviewQuickActions.js +1 -1
- package/dist/bigconsole/components/overview/OverviewStatCard.js +1 -1
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +2 -2
- package/dist/bigconsole/components/overview/index.js +9 -8
- package/dist/bigconsole/components/overview/overviewModel.js +1 -1
- package/dist/bigconsole/components/parser/DataSinkSelector.js +2 -2
- package/dist/bigconsole/components/parser/ExportParserDialog.js +1 -1
- package/dist/bigconsole/components/parser/ExpressionEditor.js +1 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.js +10 -10
- package/dist/bigconsole/components/parser/ParserCard.js +3 -3
- package/dist/bigconsole/components/parser/ParserSelector.js +3 -3
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +1 -1
- package/dist/bigconsole/components/parser/ParserTypeBadge.js +1 -1
- package/dist/bigconsole/components/pipeline/PipelineCard.js +2 -2
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +1 -1
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +1 -1
- package/dist/bigconsole/components/preview/AiPreviewContent.js +3 -3
- package/dist/bigconsole/components/preview/confirmedPreviewWidgets.js +10 -12
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +314 -314
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +3 -2
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +37 -22
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +2 -2
- package/dist/bigconsole/components/widgets/WidgetMenu.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +16 -16
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +1 -1
- package/dist/bigconsole/components/widgets/adaptive-card/index.js +1 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarView.js +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +9 -9
- package/dist/bigconsole/components/widgets/calendar/index.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartLegend.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartWidget.js +10 -10
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.js +1 -1
- package/dist/bigconsole/components/widgets/chart/charts/index.js +6 -5
- package/dist/bigconsole/components/widgets/chart/charts/numericSeries.js +4 -2
- package/dist/bigconsole/components/widgets/chart/index.js +9 -9
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js +1 -1
- package/dist/bigconsole/components/widgets/custom/index.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/index.js +2 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.js +2 -2
- package/dist/bigconsole/components/widgets/form/index.js +1 -1
- package/dist/bigconsole/components/widgets/funnel/index.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +3 -3
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/index.js +4 -4
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +1 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js +1 -1
- package/dist/bigconsole/components/widgets/heatmap/index.js +2 -2
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +1 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/index.js +2 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanView.js +1 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +2 -2
- package/dist/bigconsole/components/widgets/kanban/index.js +1 -1
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.js +1 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +3 -3
- package/dist/bigconsole/components/widgets/kpi-comparison/index.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListItem.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListWidget.js +2 -2
- package/dist/bigconsole/components/widgets/list/index.js +3 -3
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +1 -1
- package/dist/bigconsole/components/widgets/map-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js +2 -2
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +4 -4
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/index.js +5 -5
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +3 -3
- package/dist/bigconsole/components/widgets/pivot-table/index.js +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressBar.js +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +6 -4
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +2 -2
- package/dist/bigconsole/components/widgets/progress/index.js +3 -3
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +1 -1
- package/dist/bigconsole/components/widgets/retention/index.js +1 -1
- package/dist/bigconsole/components/widgets/states/EmptyState.js +1 -1
- package/dist/bigconsole/components/widgets/states/ErrorState.js +1 -1
- package/dist/bigconsole/components/widgets/states/LoadingState.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableCell.js +2 -2
- package/dist/bigconsole/components/widgets/table/TableConfig.js +12 -8
- package/dist/bigconsole/components/widgets/table/TableHeader.js +1 -1
- package/dist/bigconsole/components/widgets/table/TablePagination.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.js +12 -10
- package/dist/bigconsole/components/widgets/table/index.js +5 -5
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +1 -1
- package/dist/bigconsole/components/widgets/text-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/text-widget/textData.js +2 -2
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +1 -1
- package/dist/bigconsole/components/widgets/timeline/index.js +1 -1
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/index.js +2 -1
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +1 -1
- package/dist/bigconsole/components/widgets/widget-actions/index.js +2 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.js +2 -2
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +1 -1
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +1 -1
- package/dist/bigconsole/context/BigConsoleContext.js +2 -1
- package/dist/bigconsole/context/index.js +2 -1
- package/dist/bigconsole/contexts/CrossFilterContext.js +1 -1
- package/dist/bigconsole/contexts/NavigationContext.js +2 -1
- package/dist/bigconsole/contexts/index.js +3 -2
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +2 -2
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +6 -5
- package/dist/bigconsole/customWidget/index.js +2 -1
- package/dist/bigconsole/customWidget/proposalContract.js +1 -1
- package/dist/bigconsole/graphql/storeTemplates.js +5 -5
- package/dist/bigconsole/graphql/widgetCapabilities.js +1 -1
- package/dist/bigconsole/hooks/index.js +24 -23
- package/dist/bigconsole/hooks/useActivePage.js +1 -1
- package/dist/bigconsole/hooks/useAutoRefresh.js +1 -1
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.js +1 -1
- package/dist/bigconsole/hooks/useCrossFilter.js +1 -1
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.js +1 -1
- package/dist/bigconsole/hooks/useDashboardImageExport.js +1 -1
- package/dist/bigconsole/hooks/useDashboardOperations.js +14 -6
- package/dist/bigconsole/hooks/useDashboardSharing.js +15 -8
- package/dist/bigconsole/hooks/useDashboardViews.js +15 -8
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +11 -8
- package/dist/bigconsole/hooks/useDataSinkOperations.js +19 -10
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +1 -1
- package/dist/bigconsole/hooks/useDrilldown.js +2 -2
- package/dist/bigconsole/hooks/useDrilldownOperations.js +1 -1
- package/dist/bigconsole/hooks/useEventLogs.js +1 -1
- package/dist/bigconsole/hooks/useEventWebhooks.js +1 -1
- package/dist/bigconsole/hooks/useExportDashboard.js +7 -3
- package/dist/bigconsole/hooks/useExportDataSink.js +5 -3
- package/dist/bigconsole/hooks/useExportParser.js +5 -3
- package/dist/bigconsole/hooks/useFilterPresets.js +1 -1
- package/dist/bigconsole/hooks/useFilterUrlSync.js +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.js +11 -6
- package/dist/bigconsole/hooks/useImportDashboard.js +4 -2
- package/dist/bigconsole/hooks/useImportDataSink.js +3 -2
- package/dist/bigconsole/hooks/useImportParser.js +3 -2
- package/dist/bigconsole/hooks/useInstalledWidgets.js +1 -1
- package/dist/bigconsole/hooks/useModalFocusTrap.js +1 -1
- package/dist/bigconsole/hooks/usePageOperations.js +9 -5
- package/dist/bigconsole/hooks/useParserOperations.js +15 -8
- package/dist/bigconsole/hooks/usePipelineOperations.js +25 -13
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.js +1 -1
- package/dist/bigconsole/hooks/useWidgetActions.js +1 -1
- package/dist/bigconsole/hooks/useWidgetCatalog.js +5 -5
- package/dist/bigconsole/hooks/useWidgetComments.js +1 -1
- package/dist/bigconsole/hooks/useWidgetConfigPersist.js +1 -1
- package/dist/bigconsole/hooks/useWidgetData.js +1 -1
- package/dist/bigconsole/hooks/useWidgetEvents.js +1 -1
- package/dist/bigconsole/hooks/useWidgetExport.js +1 -1
- package/dist/bigconsole/hooks/useWidgetOperations.js +28 -16
- package/dist/bigconsole/hooks/useWorkflowOperations.js +19 -10
- package/dist/bigconsole/index.js +9 -8
- package/dist/bigconsole/pages/DashboardBuilderPage.js +44 -35
- package/dist/bigconsole/pages/DashboardViewPage.js +23 -16
- package/dist/bigconsole/pages/DashboardsPage.js +4 -4
- package/dist/bigconsole/pages/DataParsersPage.js +2 -2
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +12 -7
- package/dist/bigconsole/pages/DataSinkViewPage.js +8 -8
- package/dist/bigconsole/pages/DataSinksPage.js +6 -6
- package/dist/bigconsole/pages/OverviewPage.js +5 -5
- package/dist/bigconsole/pages/ParserBuilderPage.js +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +4 -4
- package/dist/bigconsole/pages/PipelineBuilderPage.js +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +7 -3
- package/dist/bigconsole/pages/PipelinesPage.js +2 -2
- package/dist/bigconsole/pages/WidgetDemoPage.js +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +7 -14
- package/dist/bigconsole/pages/WorkflowsPage.js +3 -3
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +4 -4
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +1 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +13 -12
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js +1 -1
- package/dist/bigconsole/renderers/registry/RendererRegistry.js +5 -5
- package/dist/bigconsole/store/drilldownStore.js +1 -1
- package/dist/bigconsole/store/index.js +4 -3
- package/dist/bigconsole/store/parserStore.js +1 -1
- package/dist/bigconsole/store/pipelineStore.js +1 -1
- package/dist/bigconsole/utils/advancedWidgetCapabilities.js +1 -1
- package/dist/bigconsole/utils/backendError.js +21 -22
- package/dist/bigconsole/utils/createDialogParam.js +2 -2
- package/dist/bigconsole/utils/csv.js +34 -36
- package/dist/bigconsole/utils/dataSinkPayload.js +12 -14
- package/dist/bigconsole/utils/drilldownParams.js +1 -1
- package/dist/bigconsole/utils/formDirty.js +3 -3
- package/dist/bigconsole/utils/layoutBaseline.js +1 -1
- package/dist/bigconsole/utils/quota.js +4 -4
- package/dist/bigconsole/utils/safeUrl.js +35 -33
- package/dist/bigconsole/utils/sanitizeHtml.js +2 -2
- package/dist/bigconsole/utils/templateGalleryFilter.js +2 -2
- package/dist/bigconsole/utils/widgetBinding.js +2 -2
- package/dist/bigconsole/utils/widgetDisplayData.js +1 -1
- package/dist/bigconsole/utils/widgetTypeMapping.js +3 -3
- package/dist/bigconsole/workflowOpen.js +2 -2
- package/dist/index.js +1 -1
- package/dist/node_modules/@e965/xlsx/xlsx.js +19 -19
- package/dist/node_modules/dompurify/dist/purify.es.js +454 -361
- package/dist/node_modules/pdfjs-dist/build/pdf.js +16 -16
- package/dist/shared/hooks/useTr.js +1 -1
- package/package.json +16 -15
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import "./BigConsoleContext.js";
|
|
1
|
+
import { BigConsoleProvider as e, useBigConsole as t, useBigConsoleBasePath as n, useBigConsoleDashboardOnly as r, useBigConsoleNavigate as i, useOptionalBigConsole as a } from "./BigConsoleContext.js";
|
|
2
|
+
export { e as BigConsoleProvider, t as useBigConsole, n as useBigConsoleBasePath, r as useBigConsoleDashboardOnly, i as useBigConsoleNavigate, a as useOptionalBigConsole };
|
|
@@ -87,4 +87,4 @@ function l(e, t) {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
|
-
export {
|
|
90
|
+
export { o as CrossFilterContext, o as default, s as CrossFilterProvider, c as useCrossFilterContext, l as useWidgetCrossFilter };
|
|
@@ -5,7 +5,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
5
5
|
var c = e(null);
|
|
6
6
|
function l({ basePath: e, children: t }) {
|
|
7
7
|
let r = o(), a = i(() => e.endsWith("/") ? e.slice(0, -1) : e, [e]), l = n((e) => !e || e === "/" ? a || "/" : a && (e === a || e.startsWith(a + "/")) ? e : e.startsWith("/") ? `${a}${e}` : `${a}/${e}`, [a]), u = n((e, t) => {
|
|
8
|
-
|
|
8
|
+
let n = l(e);
|
|
9
|
+
r(n, t);
|
|
9
10
|
}, [l, r]), d = i(() => ({
|
|
10
11
|
basePath: a,
|
|
11
12
|
navigate: u,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import "./CrossFilterContext.js";
|
|
2
|
-
import "./NavigationContext.js";
|
|
1
|
+
import { CrossFilterProvider as e, useCrossFilterContext as t, useWidgetCrossFilter as n } from "./CrossFilterContext.js";
|
|
2
|
+
import { AppLink as r, NavigationProvider as i, useAppNavigate as a, useBuildPath as o } from "./NavigationContext.js";
|
|
3
|
+
export { r as AppLink, e as CrossFilterProvider, i as NavigationProvider, a as useAppNavigate, o as useBuildPath, t as useCrossFilterContext, n as useWidgetCrossFilter };
|
|
@@ -5,7 +5,7 @@ import n from "../hooks/useDataSinkOperations.js";
|
|
|
5
5
|
import r from "../hooks/useParserOperations.js";
|
|
6
6
|
import "../hooks/index.js";
|
|
7
7
|
import { selectActiveProposalSinks as i } from "./proposalSource.js";
|
|
8
|
-
import a from "./CustomWidgetProposalPanel.js";
|
|
8
|
+
import { CustomWidgetProposalPanel as a } from "./CustomWidgetProposalPanel.js";
|
|
9
9
|
import { loadDirectProposalPreview as o } from "./proposalPreview.js";
|
|
10
10
|
import { memo as s, useCallback as c, useMemo as l } from "react";
|
|
11
11
|
import { Sheet as u, SheetContent as d, SheetDescription as f, SheetHeader as p, SheetTitle as m } from "@burdenoff/fe-libs/ui";
|
|
@@ -103,4 +103,4 @@ var y = {
|
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
105
|
//#endregion
|
|
106
|
-
export { x as default };
|
|
106
|
+
export { x as CustomWidgetBuilderSheet, x as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Section as e, SectionStack as t } from "../components/common/Section.js";
|
|
2
2
|
import "../components/common/index.js";
|
|
3
|
-
import n from "../components/widgets/WidgetErrorBoundary.js";
|
|
4
|
-
import r from "../renderers/adapters/BigConsoleRenderer.js";
|
|
3
|
+
import { WidgetErrorBoundary as n } from "../components/widgets/WidgetErrorBoundary.js";
|
|
4
|
+
import { BigConsoleRenderer as r } from "../renderers/adapters/BigConsoleRenderer.js";
|
|
5
5
|
import { PROPOSABLE_WIDGET_TYPES as ee, derivePreviewState as i, isProposableWidgetType as a, validateProposal as o } from "./proposalContract.js";
|
|
6
6
|
import { changeProposalWidgetType as s, localProposalSource as c } from "./proposalSource.js";
|
|
7
7
|
import { memo as l, useCallback as u, useEffect as d, useMemo as f, useState as p } from "react";
|
|
@@ -124,11 +124,12 @@ var w = l(function({ sinks: l, parsers: w, resolvePreviewData: T, onApprove: E,
|
|
|
124
124
|
if (j.trim()) {
|
|
125
125
|
F(!0), z(null);
|
|
126
126
|
try {
|
|
127
|
-
|
|
127
|
+
let e = await O.propose({
|
|
128
128
|
prompt: j.trim(),
|
|
129
129
|
sinks: l,
|
|
130
130
|
parsers: w
|
|
131
|
-
})
|
|
131
|
+
});
|
|
132
|
+
N(e);
|
|
132
133
|
} finally {
|
|
133
134
|
F(!1);
|
|
134
135
|
}
|
|
@@ -472,4 +473,4 @@ var w = l(function({ sinks: l, parsers: w, resolvePreviewData: T, onApprove: E,
|
|
|
472
473
|
});
|
|
473
474
|
});
|
|
474
475
|
//#endregion
|
|
475
|
-
export { w as default };
|
|
476
|
+
export { w as CustomWidgetProposalPanel, w as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./proposalContract.js";
|
|
2
2
|
import "./proposalSource.js";
|
|
3
3
|
import "./CustomWidgetProposalPanel.js";
|
|
4
|
-
import "./CustomWidgetBuilderSheet.js";
|
|
4
|
+
import { CustomWidgetBuilderSheet as e } from "./CustomWidgetBuilderSheet.js";
|
|
5
|
+
export { e as CustomWidgetBuilderSheet };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../generated/global-operations.js";
|
|
2
|
-
import { gql as
|
|
1
|
+
import { BrowseDashboardTemplatesDocument as e, CreateDashboardTemplateAppDocument as t, CreateDashboardTemplateVersionDocument as n, GetDashboardTemplateDetailDocument as r } from "../../generated/global-operations.js";
|
|
2
|
+
import { gql as i } from "@apollo/client";
|
|
3
3
|
//#region src/bigconsole/graphql/storeTemplates.ts
|
|
4
|
-
var
|
|
4
|
+
var a = i`
|
|
5
5
|
mutation ImportDashboardTemplate($input: BigConsoleImportDashboardTemplateInput!) {
|
|
6
6
|
importDashboardTemplate(input: $input) {
|
|
7
7
|
success
|
|
@@ -20,7 +20,7 @@ var t = e`
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,
|
|
23
|
+
`, o = i`
|
|
24
24
|
query BuildDashboardTemplateContent(
|
|
25
25
|
$dashboardId: ID!
|
|
26
26
|
$defaultDashboardName: String
|
|
@@ -43,4 +43,4 @@ var t = e`
|
|
|
43
43
|
}
|
|
44
44
|
`;
|
|
45
45
|
//#endregion
|
|
46
|
-
export {
|
|
46
|
+
export { e as BROWSE_DASHBOARD_TEMPLATES, o as BUILD_DASHBOARD_TEMPLATE_CONTENT, t as CREATE_TEMPLATE_APP, n as CREATE_TEMPLATE_VERSION, r as GET_DASHBOARD_TEMPLATE_DETAIL, a as IMPORT_DASHBOARD_TEMPLATE };
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import "./useCrossFilter.js";
|
|
2
2
|
import "./useWorkflowOperations.js";
|
|
3
3
|
import "./useBigConsoleAnalytics.js";
|
|
4
|
-
import "./useWidgetOperations.js";
|
|
5
|
-
import "./useWidgetData.js";
|
|
4
|
+
import e from "./useWidgetOperations.js";
|
|
5
|
+
import t from "./useWidgetData.js";
|
|
6
6
|
import "./useWidgetCatalog.js";
|
|
7
|
-
import "./useAutoRefresh.js";
|
|
8
|
-
import "./useWidgetComments.js";
|
|
9
|
-
import "./useWidgetConfigPersist.js";
|
|
10
|
-
import "./useDashboardOperations.js";
|
|
11
|
-
import "./useWidgetExport.js";
|
|
7
|
+
import { formatTimeUntilRefresh as n, useWidgetAutoRefresh as r } from "./useAutoRefresh.js";
|
|
8
|
+
import i from "./useWidgetComments.js";
|
|
9
|
+
import a from "./useWidgetConfigPersist.js";
|
|
10
|
+
import o from "./useDashboardOperations.js";
|
|
11
|
+
import s from "./useWidgetExport.js";
|
|
12
12
|
import "./useDashboardImageExport.js";
|
|
13
|
-
import "./useDrilldown.js";
|
|
14
|
-
import "./useDrilldownOperations.js";
|
|
13
|
+
import c from "./useDrilldown.js";
|
|
14
|
+
import l from "./useDrilldownOperations.js";
|
|
15
15
|
import "./useWidgetEvents.js";
|
|
16
16
|
import "./useWidgetActions.js";
|
|
17
|
-
import "./useExportDashboard.js";
|
|
18
|
-
import "./useImportDashboard.js";
|
|
17
|
+
import u from "./useExportDashboard.js";
|
|
18
|
+
import d from "./useImportDashboard.js";
|
|
19
19
|
import "./useEventWebhooks.js";
|
|
20
20
|
import "./useEventLogs.js";
|
|
21
|
-
import "./useDataSinkOperations.js";
|
|
22
|
-
import "./useParserOperations.js";
|
|
21
|
+
import f from "./useDataSinkOperations.js";
|
|
22
|
+
import p from "./useParserOperations.js";
|
|
23
23
|
import "./usePipelineOperations.js";
|
|
24
|
-
import "./useGlobalFilters.js";
|
|
25
|
-
import "./useDashboardSharing.js";
|
|
26
|
-
import "./useDashboardViews.js";
|
|
24
|
+
import m from "./useGlobalFilters.js";
|
|
25
|
+
import h from "./useDashboardSharing.js";
|
|
26
|
+
import g from "./useDashboardViews.js";
|
|
27
27
|
import "./useDashboardTemplates.js";
|
|
28
|
-
import "./useFilterUrlSync.js";
|
|
29
|
-
import "./useFilterPresets.js";
|
|
30
|
-
import "./usePageOperations.js";
|
|
31
|
-
import "./useExportParser.js";
|
|
32
|
-
import "./useImportParser.js";
|
|
33
|
-
import "./useExportDataSink.js";
|
|
34
|
-
import "./useImportDataSink.js";
|
|
28
|
+
import _ from "./useFilterUrlSync.js";
|
|
29
|
+
import v from "./useFilterPresets.js";
|
|
30
|
+
import y from "./usePageOperations.js";
|
|
31
|
+
import b from "./useExportParser.js";
|
|
32
|
+
import x from "./useImportParser.js";
|
|
33
|
+
import S from "./useExportDataSink.js";
|
|
34
|
+
import C from "./useImportDataSink.js";
|
|
35
|
+
export { n as formatTimeUntilRefresh, o as useDashboardOperations, h as useDashboardSharing, g as useDashboardViews, f as useDataSinkOperations, c as useDrilldown, l as useDrilldownOperations, u as useExportDashboard, S as useExportDataSink, b as useExportParser, v as useFilterPresets, _ as useFilterUrlSync, m as useGlobalFilters, d as useImportDashboard, C as useImportDataSink, x as useImportParser, y as usePageOperations, p as useParserOperations, r as useWidgetAutoRefresh, i as useWidgetComments, a as useWidgetConfigPersist, t as useWidgetData, s as useWidgetExport, e as useWidgetOperations };
|
|
@@ -88,4 +88,4 @@ function l(e) {
|
|
|
88
88
|
return n === 0 ? `${t}m` : `${t}m ${n}s`;
|
|
89
89
|
}
|
|
90
90
|
//#endregion
|
|
91
|
-
export { i as default, l as formatTimeUntilRefresh, c as useWidgetAutoRefresh };
|
|
91
|
+
export { i as default, i as useAutoRefresh, l as formatTimeUntilRefresh, c as useWidgetAutoRefresh };
|
|
@@ -93,7 +93,8 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
93
93
|
if (!n()) return;
|
|
94
94
|
let r = t.data?.listDashboards?.edges || [];
|
|
95
95
|
if (T && r.some((e) => e.node.workspaceId !== T)) throw Error("The active workspace changed. Please try again.");
|
|
96
|
-
|
|
96
|
+
let i = r.map((e) => y(e.node));
|
|
97
|
+
w(i), j(D);
|
|
97
98
|
} catch (e) {
|
|
98
99
|
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch dashboards");
|
|
99
100
|
n() && S(t);
|
|
@@ -119,7 +120,11 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
119
120
|
}
|
|
120
121
|
return null;
|
|
121
122
|
} catch (e) {
|
|
122
|
-
|
|
123
|
+
if (!n) {
|
|
124
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch dashboard");
|
|
125
|
+
S(t);
|
|
126
|
+
}
|
|
127
|
+
return null;
|
|
123
128
|
} finally {
|
|
124
129
|
n || b(!1);
|
|
125
130
|
}
|
|
@@ -162,7 +167,8 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
162
167
|
}
|
|
163
168
|
return null;
|
|
164
169
|
} catch (e) {
|
|
165
|
-
|
|
170
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update dashboard");
|
|
171
|
+
return S(t), null;
|
|
166
172
|
} finally {
|
|
167
173
|
b(!1);
|
|
168
174
|
}
|
|
@@ -178,7 +184,8 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
178
184
|
variables: { id: e }
|
|
179
185
|
})).data?.deleteBigConsoleDashboard ? (N?.id === e && P(null), await F(), !0) : !1;
|
|
180
186
|
} catch (e) {
|
|
181
|
-
|
|
187
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete dashboard");
|
|
188
|
+
return S(t), !1;
|
|
182
189
|
} finally {
|
|
183
190
|
b(!1);
|
|
184
191
|
}
|
|
@@ -206,7 +213,8 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
206
213
|
return null;
|
|
207
214
|
} catch (e) {
|
|
208
215
|
if (l(e)) throw e;
|
|
209
|
-
|
|
216
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to clone dashboard");
|
|
217
|
+
return S(t), null;
|
|
210
218
|
} finally {
|
|
211
219
|
b(!1);
|
|
212
220
|
}
|
|
@@ -230,4 +238,4 @@ function b({ skipFetch: g = !1 } = {}) {
|
|
|
230
238
|
};
|
|
231
239
|
}
|
|
232
240
|
//#endregion
|
|
233
|
-
export { b as default };
|
|
241
|
+
export { b as default, b as useDashboardOperations };
|
|
@@ -38,7 +38,8 @@ function u() {
|
|
|
38
38
|
})).data?.listDashboardShares?.edges || []).map((e) => l(e.node));
|
|
39
39
|
return d(n), n;
|
|
40
40
|
} catch (e) {
|
|
41
|
-
|
|
41
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch shares");
|
|
42
|
+
return _(t), [];
|
|
42
43
|
} finally {
|
|
43
44
|
h(!1);
|
|
44
45
|
}
|
|
@@ -56,7 +57,8 @@ function u() {
|
|
|
56
57
|
})).data?.listSharedWithMe?.edges || []).map((e) => l(e.node));
|
|
57
58
|
return p(n), n;
|
|
58
59
|
} catch (e) {
|
|
59
|
-
|
|
60
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch shared dashboards");
|
|
61
|
+
return _(t), [];
|
|
60
62
|
} finally {
|
|
61
63
|
h(!1);
|
|
62
64
|
}
|
|
@@ -79,7 +81,8 @@ function u() {
|
|
|
79
81
|
}
|
|
80
82
|
return null;
|
|
81
83
|
} catch (e) {
|
|
82
|
-
|
|
84
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to share with user");
|
|
85
|
+
return _(t), null;
|
|
83
86
|
} finally {
|
|
84
87
|
h(!1);
|
|
85
88
|
}
|
|
@@ -102,7 +105,8 @@ function u() {
|
|
|
102
105
|
}
|
|
103
106
|
return null;
|
|
104
107
|
} catch (e) {
|
|
105
|
-
|
|
108
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to share with group");
|
|
109
|
+
return _(t), null;
|
|
106
110
|
} finally {
|
|
107
111
|
h(!1);
|
|
108
112
|
}
|
|
@@ -120,7 +124,8 @@ function u() {
|
|
|
120
124
|
}
|
|
121
125
|
return null;
|
|
122
126
|
} catch (e) {
|
|
123
|
-
|
|
127
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update share");
|
|
128
|
+
return _(t), null;
|
|
124
129
|
} finally {
|
|
125
130
|
h(!1);
|
|
126
131
|
}
|
|
@@ -132,7 +137,8 @@ function u() {
|
|
|
132
137
|
variables: { id: e }
|
|
133
138
|
})).data?.revokeDashboardShare ? (d((t) => t.filter((t) => t.id !== e)), !0) : !1;
|
|
134
139
|
} catch (e) {
|
|
135
|
-
|
|
140
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to revoke share");
|
|
141
|
+
return _(t), !1;
|
|
136
142
|
} finally {
|
|
137
143
|
h(!1);
|
|
138
144
|
}
|
|
@@ -144,7 +150,8 @@ function u() {
|
|
|
144
150
|
variables: { dashboardId: e }
|
|
145
151
|
})).data?.revokeAllShares ? (d([]), !0) : !1;
|
|
146
152
|
} catch (e) {
|
|
147
|
-
|
|
153
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to revoke all shares");
|
|
154
|
+
return _(t), !1;
|
|
148
155
|
} finally {
|
|
149
156
|
h(!1);
|
|
150
157
|
}
|
|
@@ -152,4 +159,4 @@ function u() {
|
|
|
152
159
|
};
|
|
153
160
|
}
|
|
154
161
|
//#endregion
|
|
155
|
-
export { u as default };
|
|
162
|
+
export { u as default, u as useDashboardSharing };
|
|
@@ -44,7 +44,8 @@ function p() {
|
|
|
44
44
|
let n = t.find((e) => e.isDefault);
|
|
45
45
|
return n && g(n), t;
|
|
46
46
|
} catch (e) {
|
|
47
|
-
|
|
47
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch views");
|
|
48
|
+
return S(t), [];
|
|
48
49
|
} finally {
|
|
49
50
|
b(!1);
|
|
50
51
|
}
|
|
@@ -63,7 +64,8 @@ function p() {
|
|
|
63
64
|
}
|
|
64
65
|
return null;
|
|
65
66
|
} catch (e) {
|
|
66
|
-
|
|
67
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch default view");
|
|
68
|
+
return S(t), null;
|
|
67
69
|
} finally {
|
|
68
70
|
b(!1);
|
|
69
71
|
}
|
|
@@ -78,7 +80,8 @@ function p() {
|
|
|
78
80
|
});
|
|
79
81
|
return t.data?.getDashboardView ? f(t.data.getDashboardView) : null;
|
|
80
82
|
} catch (e) {
|
|
81
|
-
|
|
83
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get view");
|
|
84
|
+
return S(t), null;
|
|
82
85
|
} finally {
|
|
83
86
|
b(!1);
|
|
84
87
|
}
|
|
@@ -98,7 +101,8 @@ function p() {
|
|
|
98
101
|
return null;
|
|
99
102
|
} catch (e) {
|
|
100
103
|
if (c(e)) throw e;
|
|
101
|
-
|
|
104
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to save view");
|
|
105
|
+
return S(t), null;
|
|
102
106
|
} finally {
|
|
103
107
|
b(!1);
|
|
104
108
|
}
|
|
@@ -120,7 +124,8 @@ function p() {
|
|
|
120
124
|
}
|
|
121
125
|
return null;
|
|
122
126
|
} catch (e) {
|
|
123
|
-
|
|
127
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update view");
|
|
128
|
+
return S(t), null;
|
|
124
129
|
} finally {
|
|
125
130
|
b(!1);
|
|
126
131
|
}
|
|
@@ -132,7 +137,8 @@ function p() {
|
|
|
132
137
|
variables: { id: e }
|
|
133
138
|
})).data?.deleteDashboardView ? (m((t) => t.filter((t) => t.id !== e)), h?.id === e && g(null), _?.id === e && v(null), !0) : !1;
|
|
134
139
|
} catch (e) {
|
|
135
|
-
|
|
140
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete view");
|
|
141
|
+
return S(t), !1;
|
|
136
142
|
} finally {
|
|
137
143
|
b(!1);
|
|
138
144
|
}
|
|
@@ -157,7 +163,8 @@ function p() {
|
|
|
157
163
|
}
|
|
158
164
|
return null;
|
|
159
165
|
} catch (e) {
|
|
160
|
-
|
|
166
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to set default view");
|
|
167
|
+
return S(t), null;
|
|
161
168
|
} finally {
|
|
162
169
|
b(!1);
|
|
163
170
|
}
|
|
@@ -168,4 +175,4 @@ function p() {
|
|
|
168
175
|
};
|
|
169
176
|
}
|
|
170
177
|
//#endregion
|
|
171
|
-
export { p as default };
|
|
178
|
+
export { p as default, p as useDashboardViews };
|
|
@@ -14,7 +14,7 @@ var h = {
|
|
|
14
14
|
error: null,
|
|
15
15
|
errorCode: null,
|
|
16
16
|
channelError: null
|
|
17
|
-
}, g = (e) => e instanceof Error ? e.message : "The alert operation failed. Please try again.", _ = "DATASINK_NOT_FOUND", v = new Set([
|
|
17
|
+
}, g = (e) => e instanceof Error ? e.message : "The alert operation failed. Please try again.", _ = "DATASINK_NOT_FOUND", v = /* @__PURE__ */ new Set([
|
|
18
18
|
_,
|
|
19
19
|
"E_DATASINK_NOT_FOUND",
|
|
20
20
|
"NOT_FOUND"
|
|
@@ -71,13 +71,14 @@ function S(o, s) {
|
|
|
71
71
|
errorCode: null
|
|
72
72
|
}));
|
|
73
73
|
try {
|
|
74
|
-
|
|
74
|
+
let e = await _.query({
|
|
75
75
|
query: n,
|
|
76
76
|
variables: { dataSinkId: o },
|
|
77
77
|
fetchPolicy: "no-cache",
|
|
78
78
|
errorPolicy: "none",
|
|
79
79
|
context: O()
|
|
80
|
-
})
|
|
80
|
+
});
|
|
81
|
+
return A(e.data?.getDataSink);
|
|
81
82
|
} catch (e) {
|
|
82
83
|
k() && T((t) => ({
|
|
83
84
|
...t,
|
|
@@ -146,7 +147,7 @@ function S(o, s) {
|
|
|
146
147
|
]);
|
|
147
148
|
let P = l(async (e, t) => {
|
|
148
149
|
if (!k()) throw Error("Workspace context changed. Reopen the alert.");
|
|
149
|
-
|
|
150
|
+
let n = await _.mutate({
|
|
150
151
|
mutation: a,
|
|
151
152
|
variables: {
|
|
152
153
|
dataSinkId: o,
|
|
@@ -155,7 +156,8 @@ function S(o, s) {
|
|
|
155
156
|
},
|
|
156
157
|
errorPolicy: "none",
|
|
157
158
|
context: O()
|
|
158
|
-
})
|
|
159
|
+
});
|
|
160
|
+
return A(n.data?.upsertDataSinkAlert);
|
|
159
161
|
}, [
|
|
160
162
|
_,
|
|
161
163
|
o,
|
|
@@ -164,7 +166,7 @@ function S(o, s) {
|
|
|
164
166
|
O
|
|
165
167
|
]), F = l(async (e, t) => {
|
|
166
168
|
if (!k()) throw Error("Workspace context changed. Reopen the alert.");
|
|
167
|
-
|
|
169
|
+
let n = await _.mutate({
|
|
168
170
|
mutation: r,
|
|
169
171
|
variables: {
|
|
170
172
|
dataSinkId: o,
|
|
@@ -173,7 +175,8 @@ function S(o, s) {
|
|
|
173
175
|
},
|
|
174
176
|
errorPolicy: "none",
|
|
175
177
|
context: O()
|
|
176
|
-
})
|
|
178
|
+
});
|
|
179
|
+
return A(n.data?.deleteDataSinkAlert);
|
|
177
180
|
}, [
|
|
178
181
|
_,
|
|
179
182
|
o,
|
|
@@ -241,4 +244,4 @@ function S(o, s) {
|
|
|
241
244
|
};
|
|
242
245
|
}
|
|
243
246
|
//#endregion
|
|
244
|
-
export { g as alertErrorMessage, x as describeAlertLoadFailure, S as useDataSinkAlerts };
|
|
247
|
+
export { _ as ALERT_SINK_NOT_FOUND, g as alertErrorMessage, x as describeAlertLoadFailure, S as useDataSinkAlerts };
|
|
@@ -61,7 +61,8 @@ function b(b = {}) {
|
|
|
61
61
|
})).data?.listDataSinks?.edges || []).map((e) => y(e.node));
|
|
62
62
|
return k(t), t;
|
|
63
63
|
} catch (e) {
|
|
64
|
-
|
|
64
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch DataSinks");
|
|
65
|
+
return E(t), k([]), [];
|
|
65
66
|
} finally {
|
|
66
67
|
w(!1);
|
|
67
68
|
}
|
|
@@ -79,7 +80,8 @@ function b(b = {}) {
|
|
|
79
80
|
}
|
|
80
81
|
return null;
|
|
81
82
|
} catch (e) {
|
|
82
|
-
|
|
83
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch DataSink");
|
|
84
|
+
return E(t), null;
|
|
83
85
|
} finally {
|
|
84
86
|
w(!1);
|
|
85
87
|
}
|
|
@@ -110,7 +112,8 @@ function b(b = {}) {
|
|
|
110
112
|
fetchPolicy: "network-only"
|
|
111
113
|
})).data?.getDataSinkData || null;
|
|
112
114
|
} catch (e) {
|
|
113
|
-
|
|
115
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get DataSink data");
|
|
116
|
+
return E(t), null;
|
|
114
117
|
} finally {
|
|
115
118
|
w(!1);
|
|
116
119
|
}
|
|
@@ -129,7 +132,8 @@ function b(b = {}) {
|
|
|
129
132
|
return null;
|
|
130
133
|
} catch (e) {
|
|
131
134
|
if (p(e)) throw e;
|
|
132
|
-
|
|
135
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create DataSink");
|
|
136
|
+
return E(t), null;
|
|
133
137
|
} finally {
|
|
134
138
|
w(!1);
|
|
135
139
|
}
|
|
@@ -146,7 +150,8 @@ function b(b = {}) {
|
|
|
146
150
|
}
|
|
147
151
|
return null;
|
|
148
152
|
} catch (e) {
|
|
149
|
-
|
|
153
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update DataSink");
|
|
154
|
+
return E(t), null;
|
|
150
155
|
} finally {
|
|
151
156
|
w(!1);
|
|
152
157
|
}
|
|
@@ -157,7 +162,8 @@ function b(b = {}) {
|
|
|
157
162
|
variables: { id: e }
|
|
158
163
|
})).data?.deleteDataSink ? (M(e), !0) : !1;
|
|
159
164
|
} catch (e) {
|
|
160
|
-
|
|
165
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete DataSink");
|
|
166
|
+
return E(t), !1;
|
|
161
167
|
} finally {
|
|
162
168
|
w(!1);
|
|
163
169
|
}
|
|
@@ -174,7 +180,8 @@ function b(b = {}) {
|
|
|
174
180
|
}
|
|
175
181
|
return null;
|
|
176
182
|
} catch (t) {
|
|
177
|
-
|
|
183
|
+
let n = t instanceof Error ? t : /* @__PURE__ */ Error("Failed to refresh DataSink");
|
|
184
|
+
return E(n), e.id && N(e.id, !1), null;
|
|
178
185
|
} finally {
|
|
179
186
|
w(!1);
|
|
180
187
|
}
|
|
@@ -216,7 +223,8 @@ function b(b = {}) {
|
|
|
216
223
|
}
|
|
217
224
|
return [];
|
|
218
225
|
} catch (e) {
|
|
219
|
-
|
|
226
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to batch create DataSinks");
|
|
227
|
+
return E(t), [];
|
|
220
228
|
} finally {
|
|
221
229
|
w(!1);
|
|
222
230
|
}
|
|
@@ -229,7 +237,8 @@ function b(b = {}) {
|
|
|
229
237
|
});
|
|
230
238
|
return t.data?.batchDeleteDataSinks ? (e.forEach(M), t.data.batchDeleteDataSinks) : [];
|
|
231
239
|
} catch (e) {
|
|
232
|
-
|
|
240
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to batch delete DataSinks");
|
|
241
|
+
return E(t), [];
|
|
233
242
|
} finally {
|
|
234
243
|
w(!1);
|
|
235
244
|
}
|
|
@@ -257,4 +266,4 @@ function b(b = {}) {
|
|
|
257
266
|
};
|
|
258
267
|
}
|
|
259
268
|
//#endregion
|
|
260
|
-
export { b as default };
|
|
269
|
+
export { b as default, b as useDataSinkOperations };
|
|
@@ -15,7 +15,7 @@ var d = "ctx_", f = "filter_", p = "drilldown_", m = "__targetPageId", h = [
|
|
|
15
15
|
"org",
|
|
16
16
|
"workspace",
|
|
17
17
|
"project"
|
|
18
|
-
], g = new Set([
|
|
18
|
+
], g = /* @__PURE__ */ new Set([
|
|
19
19
|
"selectedData",
|
|
20
20
|
"selectedRow",
|
|
21
21
|
"selectedPoint",
|
|
@@ -235,4 +235,4 @@ function b(g = {}) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
//#endregion
|
|
238
|
-
export { d as CONTEXT_PARAM_PREFIX, p as DRILLDOWN_PARAM_PREFIX, f as FILTER_PARAM_PREFIX, m as MODAL_TARGET_PAGE_PARAM, b as default };
|
|
238
|
+
export { d as CONTEXT_PARAM_PREFIX, p as DRILLDOWN_PARAM_PREFIX, f as FILTER_PARAM_PREFIX, m as MODAL_TARGET_PAGE_PARAM, b as default, b as useDrilldown };
|
|
@@ -203,4 +203,4 @@ function h(e) {
|
|
|
203
203
|
}[e] || "❓";
|
|
204
204
|
}
|
|
205
205
|
//#endregion
|
|
206
|
-
export { f as default, p as getEventStatusColor, h as getEventStatusIcon, m as getEventStatusLabel };
|
|
206
|
+
export { f as default, f as useEventLogs, p as getEventStatusColor, h as getEventStatusIcon, m as getEventStatusLabel };
|