@burdenoff/microfe-bigconsole 2026.1030.4 → 2026.1031.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- 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 +5 -5
- 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 +14 -12
|
@@ -40,7 +40,8 @@ function g(g = {}) {
|
|
|
40
40
|
})).data?.workflows || []).map((e) => h(e));
|
|
41
41
|
return w(t), t;
|
|
42
42
|
} catch (e) {
|
|
43
|
-
|
|
43
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch Workflows");
|
|
44
|
+
return x(t), [];
|
|
44
45
|
} finally {
|
|
45
46
|
y(!1);
|
|
46
47
|
}
|
|
@@ -58,7 +59,8 @@ function g(g = {}) {
|
|
|
58
59
|
}
|
|
59
60
|
return null;
|
|
60
61
|
} catch (e) {
|
|
61
|
-
|
|
62
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch Workflow");
|
|
63
|
+
return x(t), null;
|
|
62
64
|
} finally {
|
|
63
65
|
y(!1);
|
|
64
66
|
}
|
|
@@ -76,7 +78,8 @@ function g(g = {}) {
|
|
|
76
78
|
}
|
|
77
79
|
return null;
|
|
78
80
|
} catch (e) {
|
|
79
|
-
|
|
81
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch Workflow");
|
|
82
|
+
return x(t), null;
|
|
80
83
|
} finally {
|
|
81
84
|
y(!1);
|
|
82
85
|
}
|
|
@@ -93,7 +96,8 @@ function g(g = {}) {
|
|
|
93
96
|
}
|
|
94
97
|
return null;
|
|
95
98
|
} catch (e) {
|
|
96
|
-
|
|
99
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create Workflow");
|
|
100
|
+
return x(t), null;
|
|
97
101
|
} finally {
|
|
98
102
|
y(!1);
|
|
99
103
|
}
|
|
@@ -114,7 +118,8 @@ function g(g = {}) {
|
|
|
114
118
|
}
|
|
115
119
|
return null;
|
|
116
120
|
} catch (e) {
|
|
117
|
-
|
|
121
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update Workflow");
|
|
122
|
+
return x(t), null;
|
|
118
123
|
} finally {
|
|
119
124
|
y(!1);
|
|
120
125
|
}
|
|
@@ -125,7 +130,8 @@ function g(g = {}) {
|
|
|
125
130
|
variables: { id: e }
|
|
126
131
|
})).data?.deleteWorkflow ? (D(e), !0) : !1;
|
|
127
132
|
} catch (e) {
|
|
128
|
-
|
|
133
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete Workflow");
|
|
134
|
+
return x(t), !1;
|
|
129
135
|
} finally {
|
|
130
136
|
y(!1);
|
|
131
137
|
}
|
|
@@ -145,7 +151,8 @@ function g(g = {}) {
|
|
|
145
151
|
}
|
|
146
152
|
return null;
|
|
147
153
|
} catch (e) {
|
|
148
|
-
|
|
154
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to link DataSink");
|
|
155
|
+
return x(t), null;
|
|
149
156
|
} finally {
|
|
150
157
|
y(!1);
|
|
151
158
|
}
|
|
@@ -163,7 +170,8 @@ function g(g = {}) {
|
|
|
163
170
|
}
|
|
164
171
|
return !1;
|
|
165
172
|
} catch (e) {
|
|
166
|
-
|
|
173
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to unlink DataSink");
|
|
174
|
+
return x(t), !1;
|
|
167
175
|
} finally {
|
|
168
176
|
y(!1);
|
|
169
177
|
}
|
|
@@ -191,7 +199,8 @@ function g(g = {}) {
|
|
|
191
199
|
}
|
|
192
200
|
return null;
|
|
193
201
|
} catch (e) {
|
|
194
|
-
|
|
202
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute Workflow");
|
|
203
|
+
return x(t), null;
|
|
195
204
|
} finally {
|
|
196
205
|
y(!1), A(e, !1);
|
|
197
206
|
}
|
|
@@ -232,4 +241,4 @@ function g(g = {}) {
|
|
|
232
241
|
};
|
|
233
242
|
}
|
|
234
243
|
//#endregion
|
|
235
|
-
export { g as default };
|
|
244
|
+
export { g as default, g as useWorkflowOperations };
|
package/dist/bigconsole/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "./store/drilldownStore.js";
|
|
1
|
+
import e from "./store/drilldownStore.js";
|
|
2
2
|
import "./store/index.js";
|
|
3
|
-
import "./context/BigConsoleContext.js";
|
|
3
|
+
import { useBigConsole as t } from "./context/BigConsoleContext.js";
|
|
4
4
|
import "./context/index.js";
|
|
5
|
-
import "./hooks/useDrilldown.js";
|
|
5
|
+
import n from "./hooks/useDrilldown.js";
|
|
6
6
|
import "./hooks/index.js";
|
|
7
|
-
import "./components/DrilldownModal.js";
|
|
8
|
-
import "./BigConsoleRoot.js";
|
|
9
|
-
import "./AdminRoot.js";
|
|
10
|
-
import "./assistant/pageContext.js";
|
|
11
|
-
import "./assistant/createSandboxAssistantTransport.js";
|
|
7
|
+
import { DrilldownModal as r } from "./components/DrilldownModal.js";
|
|
8
|
+
import { BigConsoleRoot as i } from "./BigConsoleRoot.js";
|
|
9
|
+
import { AdminRoot as a } from "./AdminRoot.js";
|
|
10
|
+
import { gatherPageContext as o, resolveBigConsoleConversationContext as s } from "./assistant/pageContext.js";
|
|
11
|
+
import { useSandboxAssistantTransport as c } from "./assistant/createSandboxAssistantTransport.js";
|
|
12
12
|
import "./assistant/index.js";
|
|
13
|
+
export { a as AdminRoot, i as BigConsoleRoot, r as DrilldownModal, o as gatherPageContext, s as resolveBigConsoleConversationContext, t as useBigConsole, n as useDrilldown, e as useDrilldownStore, c as useSandboxAssistantTransport };
|
|
@@ -18,12 +18,12 @@ import { BuilderTopbar as ne } from "../components/builder/BuilderTopbar.js";
|
|
|
18
18
|
import { DashboardEditorShell as re } from "../components/builder/DashboardEditorShell.js";
|
|
19
19
|
import { findNextAvailablePosition as ie } from "../utils/widgetPositioning.js";
|
|
20
20
|
import "../components/builder/index.js";
|
|
21
|
-
import ae from "../components/dashboard/DashboardCanvas.js";
|
|
22
|
-
import oe from "../components/dashboard/ExportDashboardDialog.js";
|
|
21
|
+
import { DashboardCanvas as ae } from "../components/dashboard/DashboardCanvas.js";
|
|
22
|
+
import { ExportDashboardDialog as oe } from "../components/dashboard/ExportDashboardDialog.js";
|
|
23
23
|
import "../components/dashboard/index.js";
|
|
24
24
|
import { layoutItemsFromPositionUpdates as u } from "../utils/layoutBaseline.js";
|
|
25
25
|
import { useDashboardLayoutBaseline as se } from "../hooks/useDashboardLayoutBaseline.js";
|
|
26
|
-
import d from "../customWidget/CustomWidgetBuilderSheet.js";
|
|
26
|
+
import { CustomWidgetBuilderSheet as d } from "../customWidget/CustomWidgetBuilderSheet.js";
|
|
27
27
|
import "../customWidget/index.js";
|
|
28
28
|
import { memo as f, useCallback as p, useEffect as m, useState as h } from "react";
|
|
29
29
|
import { useParams as ce } from "react-router";
|
|
@@ -61,18 +61,21 @@ var y = f(function() {
|
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
return k(f).then((e) => {
|
|
64
|
-
e
|
|
65
|
-
|
|
66
|
-
title: e.name,
|
|
67
|
-
description: e.description ?? "",
|
|
68
|
-
pages: e.pages.map((e, t) => ({
|
|
64
|
+
if (e) {
|
|
65
|
+
let t = {
|
|
69
66
|
...e,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
title: e.name,
|
|
68
|
+
description: e.description ?? "",
|
|
69
|
+
pages: e.pages.map((e, t) => ({
|
|
70
|
+
...e,
|
|
71
|
+
id: e.id,
|
|
72
|
+
title: e.name ?? "",
|
|
73
|
+
index: t,
|
|
74
|
+
layoutConfig: e.layoutConfig ?? {}
|
|
75
|
+
}))
|
|
76
|
+
};
|
|
77
|
+
H(t), e.name && me(f, e.name);
|
|
78
|
+
} else v("/dashboards");
|
|
76
79
|
}), () => {
|
|
77
80
|
f && he(f);
|
|
78
81
|
};
|
|
@@ -152,16 +155,19 @@ var y = f(function() {
|
|
|
152
155
|
try {
|
|
153
156
|
let t = e.getState(), n = Array.from(t.widgets.values()), r = t.dirtyWidgetIds, i = t.layoutEditRevision, a = n.length === 0 ? [] : null, o = n.filter((e) => r.has(e.id));
|
|
154
157
|
if (o.length > 0) {
|
|
155
|
-
let e = o.map((e) =>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
158
|
+
let e = o.map((e) => {
|
|
159
|
+
let t = {
|
|
160
|
+
id: e.id,
|
|
161
|
+
title: e.title,
|
|
162
|
+
config: e.config,
|
|
163
|
+
refreshInterval: e.refreshInterval ?? void 0,
|
|
164
|
+
dataSinkId: e.dataSinkId ?? void 0,
|
|
165
|
+
datasetId: e.datasetId ?? void 0,
|
|
166
|
+
parserId: e.parserId ?? void 0,
|
|
167
|
+
parserRules: e.parserRules ?? void 0
|
|
168
|
+
};
|
|
169
|
+
return P(t);
|
|
170
|
+
});
|
|
165
171
|
await Promise.all(e), t.clearAllDirty();
|
|
166
172
|
}
|
|
167
173
|
if (n.length > 0) {
|
|
@@ -203,21 +209,21 @@ var y = f(function() {
|
|
|
203
209
|
G(e);
|
|
204
210
|
}, [G]), De = p(async () => {
|
|
205
211
|
if (!U || !f) return;
|
|
206
|
-
let e = await R({
|
|
212
|
+
let e = U.pages.length + 1, t = y("bigconsole.dashboards.builder.actions.newPageName", "Page {{count}}", { count: e }), n = await R({
|
|
207
213
|
dashboardId: f,
|
|
208
|
-
name:
|
|
214
|
+
name: t,
|
|
209
215
|
gridColumns: ee().defaultGridColumns
|
|
210
216
|
});
|
|
211
|
-
|
|
217
|
+
n && (H({
|
|
212
218
|
...U,
|
|
213
219
|
pages: [...U.pages, {
|
|
214
|
-
id:
|
|
215
|
-
title:
|
|
216
|
-
index:
|
|
217
|
-
layoutConfig:
|
|
218
|
-
gridColumns:
|
|
220
|
+
id: n.id,
|
|
221
|
+
title: n.name,
|
|
222
|
+
index: n.order,
|
|
223
|
+
layoutConfig: n.layoutConfig || {},
|
|
224
|
+
gridColumns: n.gridColumns
|
|
219
225
|
}]
|
|
220
|
-
}), G(
|
|
226
|
+
}), G(n.id));
|
|
221
227
|
}, [
|
|
222
228
|
U,
|
|
223
229
|
f,
|
|
@@ -286,13 +292,16 @@ var y = f(function() {
|
|
|
286
292
|
B,
|
|
287
293
|
G
|
|
288
294
|
]), je = p(async (e) => {
|
|
289
|
-
!U || !f
|
|
295
|
+
if (!U || !f) return;
|
|
296
|
+
H({
|
|
290
297
|
...U,
|
|
291
298
|
pages: e.map((e, t) => ({
|
|
292
299
|
...e,
|
|
293
300
|
index: t
|
|
294
301
|
}))
|
|
295
|
-
})
|
|
302
|
+
});
|
|
303
|
+
let t = e.map((e) => e.id);
|
|
304
|
+
await V(f, t);
|
|
296
305
|
}, [
|
|
297
306
|
U,
|
|
298
307
|
f,
|
|
@@ -13,11 +13,11 @@ import ae from "../hooks/usePageOperations.js";
|
|
|
13
13
|
import "../hooks/index.js";
|
|
14
14
|
import { BIGCONSOLE_PERMISSIONS as a } from "../../constants/permissions.js";
|
|
15
15
|
import { loadBigConsoleSettings as oe } from "../hooks/useBigConsoleSettings.js";
|
|
16
|
-
import se from "../components/dashboard/DashboardCanvas.js";
|
|
17
|
-
import ce from "../components/dashboard/LiveCanvasToggle.js";
|
|
18
|
-
import le from "../components/dashboard/ExportDashboardDialog.js";
|
|
19
|
-
import ue from "../components/dashboard/DrilldownBreadcrumb.js";
|
|
20
|
-
import de from "../components/dashboard/PublishToStoreDialog.js";
|
|
16
|
+
import { DashboardCanvas as se } from "../components/dashboard/DashboardCanvas.js";
|
|
17
|
+
import { LiveCanvasToggle as ce } from "../components/dashboard/LiveCanvasToggle.js";
|
|
18
|
+
import { ExportDashboardDialog as le } from "../components/dashboard/ExportDashboardDialog.js";
|
|
19
|
+
import { DrilldownBreadcrumb as ue } from "../components/dashboard/DrilldownBreadcrumb.js";
|
|
20
|
+
import { PublishToStoreDialog as de } from "../components/dashboard/PublishToStoreDialog.js";
|
|
21
21
|
import "../components/dashboard/index.js";
|
|
22
22
|
import { dashboardPageTabs as fe } from "../assistant/pageControls.js";
|
|
23
23
|
import { memo as o, useCallback as s, useEffect as c, useMemo as l, useRef as pe, useState as u } from "react";
|
|
@@ -88,10 +88,14 @@ var h = o(function() {
|
|
|
88
88
|
b(!0);
|
|
89
89
|
try {
|
|
90
90
|
let e = Array.from(N.values());
|
|
91
|
-
e.length > 0
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
if (e.length > 0) {
|
|
92
|
+
let t = e.map((e) => ({
|
|
93
|
+
id: e.id,
|
|
94
|
+
position: e.position
|
|
95
|
+
}));
|
|
96
|
+
await q(t);
|
|
97
|
+
}
|
|
98
|
+
O && await U({
|
|
95
99
|
id: o,
|
|
96
100
|
name: O.name,
|
|
97
101
|
description: O.description
|
|
@@ -193,15 +197,15 @@ var h = o(function() {
|
|
|
193
197
|
C(!1);
|
|
194
198
|
}, []), Ue = s(async () => {
|
|
195
199
|
if (!O || !o) return;
|
|
196
|
-
let e = await J({
|
|
200
|
+
let e = (O.pages?.length || 0) + 1, t = g("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: e }), n = await J({
|
|
197
201
|
dashboardId: o,
|
|
198
|
-
name:
|
|
202
|
+
name: t,
|
|
199
203
|
gridColumns: oe().defaultGridColumns
|
|
200
204
|
});
|
|
201
|
-
|
|
205
|
+
n && (k({
|
|
202
206
|
...O,
|
|
203
|
-
pages: [...O.pages || [],
|
|
204
|
-
}), F(
|
|
207
|
+
pages: [...O.pages || [], n]
|
|
208
|
+
}), F(n.id));
|
|
205
209
|
}, [
|
|
206
210
|
O,
|
|
207
211
|
o,
|
|
@@ -264,13 +268,16 @@ var h = o(function() {
|
|
|
264
268
|
Me,
|
|
265
269
|
F
|
|
266
270
|
]), qe = s(async (e) => {
|
|
267
|
-
!O || !o
|
|
271
|
+
if (!O || !o) return;
|
|
272
|
+
k({
|
|
268
273
|
...O,
|
|
269
274
|
pages: e.map((e, t) => ({
|
|
270
275
|
...e,
|
|
271
276
|
order: t
|
|
272
277
|
}))
|
|
273
|
-
})
|
|
278
|
+
});
|
|
279
|
+
let t = e.map((e) => e.id);
|
|
280
|
+
await Ne(o, t);
|
|
274
281
|
}, [
|
|
275
282
|
O,
|
|
276
283
|
o,
|
|
@@ -8,10 +8,10 @@ import o from "../hooks/useDashboardOperations.js";
|
|
|
8
8
|
import "../hooks/index.js";
|
|
9
9
|
import { BIGCONSOLE_PERMISSIONS as s } from "../../constants/permissions.js";
|
|
10
10
|
import { useTr as ee } from "../../shared/hooks/useTr.js";
|
|
11
|
-
import te from "../components/dashboard/CreateDashboardDialog.js";
|
|
12
|
-
import c,
|
|
11
|
+
import { CreateDashboardDialog as te } from "../components/dashboard/CreateDashboardDialog.js";
|
|
12
|
+
import { DashboardStatusPill as c, useDashboardStatusLabel as ne } from "../components/dashboard/DashboardStatusPill.js";
|
|
13
13
|
import { isNative as l, nativeConfirm as re, nativeImpact as ie, nativeNotify as u } from "../../utils/nativeBridge.js";
|
|
14
|
-
import ae from "../components/dashboard/ImportDashboardDialog.js";
|
|
14
|
+
import { ImportDashboardDialog as ae } from "../components/dashboard/ImportDashboardDialog.js";
|
|
15
15
|
import { LIST_SORT_COPY as oe, listSortOptions as se } from "../utils/listSort.js";
|
|
16
16
|
import { dashboardsListControls as ce } from "../assistant/pageControls.js";
|
|
17
17
|
import { selectDashboards as le } from "../utils/dashboardList.js";
|
|
@@ -28,7 +28,7 @@ import { useAssistantPageControls as Pe } from "@burdenoff/fe-libs/shared/assist
|
|
|
28
28
|
var E = "bf-bigconsole-dashboards-view", D = 12, O = 7;
|
|
29
29
|
function Fe(e, t) {
|
|
30
30
|
if (t <= O) return Array.from({ length: t }, (e, t) => t + 1);
|
|
31
|
-
let n = new Set([
|
|
31
|
+
let n = /* @__PURE__ */ new Set([
|
|
32
32
|
1,
|
|
33
33
|
t,
|
|
34
34
|
e
|
|
@@ -9,8 +9,8 @@ import { BIGCONSOLE_PERMISSIONS as o } from "../../constants/permissions.js";
|
|
|
9
9
|
import { useTr as ee } from "../../shared/hooks/useTr.js";
|
|
10
10
|
import { isNative as s, nativeConfirm as te, nativeImpact as ne, nativeNotify as c } from "../../utils/nativeBridge.js";
|
|
11
11
|
import { parsersListControls as re } from "../assistant/pageControls.js";
|
|
12
|
-
import ie from "../components/parser/ParserCard.js";
|
|
13
|
-
import ae from "../components/parser/ImportParserDialog.js";
|
|
12
|
+
import { ParserCard as ie } from "../components/parser/ParserCard.js";
|
|
13
|
+
import { ImportParserDialog as ae } from "../components/parser/ImportParserDialog.js";
|
|
14
14
|
import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
|
|
15
15
|
import { useParams as oe } from "react-router";
|
|
16
16
|
import { AccessDenied as se, PermissionButton as p } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -8,8 +8,8 @@ import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
|
8
8
|
import { loadBigConsoleSettings as te } from "../hooks/useBigConsoleSettings.js";
|
|
9
9
|
import { isDirty as ne } from "../utils/formDirty.js";
|
|
10
10
|
import { isNative as re, nativeCopyText as ie, nativeToast as ae } from "../../utils/nativeBridge.js";
|
|
11
|
-
import oe from "../components/datasink/CacheTTLSelector.js";
|
|
12
|
-
import se from "../components/datasink/RefreshTypeSelector.js";
|
|
11
|
+
import { CacheTTLSelector as oe } from "../components/datasink/CacheTTLSelector.js";
|
|
12
|
+
import { RefreshTypeSelector as se } from "../components/datasink/RefreshTypeSelector.js";
|
|
13
13
|
import { diffPayloadEditor as ce, formatPayloadForEditor as le } from "../utils/dataSinkPayload.js";
|
|
14
14
|
import { memo as a, useCallback as o, useEffect as s, useMemo as ue, useState as c } from "react";
|
|
15
15
|
import { useParams as de } from "react-router";
|
|
@@ -176,7 +176,10 @@ var b = a(function() {
|
|
|
176
176
|
F(!0), z(null);
|
|
177
177
|
try {
|
|
178
178
|
let e = await Y({ key: X.key });
|
|
179
|
-
|
|
179
|
+
if (e?.raw) {
|
|
180
|
+
let t = Array.isArray(e.raw) ? e.raw.slice(0, 20) : [e.raw];
|
|
181
|
+
L(t);
|
|
182
|
+
} else L([]);
|
|
180
183
|
} catch (e) {
|
|
181
184
|
z(e instanceof Error ? e.message : x("bigconsole.dataSinks.builder.errors.loadDataFailed", "Failed to load data"));
|
|
182
185
|
} finally {
|
|
@@ -209,7 +212,7 @@ var b = a(function() {
|
|
|
209
212
|
r();
|
|
210
213
|
return;
|
|
211
214
|
}
|
|
212
|
-
|
|
215
|
+
let t = {
|
|
213
216
|
id: X.id,
|
|
214
217
|
version: X.version,
|
|
215
218
|
name: C.name,
|
|
@@ -220,7 +223,8 @@ var b = a(function() {
|
|
|
220
223
|
schedule: C.refresh.schedule
|
|
221
224
|
},
|
|
222
225
|
...e.status === "changed" ? { data: e.payload } : {}
|
|
223
|
-
}
|
|
226
|
+
};
|
|
227
|
+
if (!await J(t)) throw Error(x("bigconsole.dataSinks.builder.errors.updateFailed", "Failed to update DataSink"));
|
|
224
228
|
} else {
|
|
225
229
|
let e = {};
|
|
226
230
|
if (C.data && C.data.trim()) try {
|
|
@@ -229,7 +233,7 @@ var b = a(function() {
|
|
|
229
233
|
r();
|
|
230
234
|
return;
|
|
231
235
|
}
|
|
232
|
-
|
|
236
|
+
let t = {
|
|
233
237
|
key: C.key,
|
|
234
238
|
name: C.name,
|
|
235
239
|
description: C.description || void 0,
|
|
@@ -239,7 +243,8 @@ var b = a(function() {
|
|
|
239
243
|
schedule: C.refresh.schedule
|
|
240
244
|
},
|
|
241
245
|
data: e
|
|
242
|
-
}
|
|
246
|
+
};
|
|
247
|
+
if (!await q(t)) throw Error(x("bigconsole.dataSinks.builder.errors.createFailed", "Failed to create DataSink"));
|
|
243
248
|
}
|
|
244
249
|
T(C), b("/datasinks");
|
|
245
250
|
} catch (e) {
|
|
@@ -6,20 +6,20 @@ import { newWorkflowPath as ee } from "../BigConsoleRoutes.js";
|
|
|
6
6
|
import "../components/common/sectionStyles.js";
|
|
7
7
|
import { Section as r, SectionStack as te } from "../components/common/Section.js";
|
|
8
8
|
import "../components/common/index.js";
|
|
9
|
-
import ne from "../components/datasink/DataSinkTableViewer.js";
|
|
9
|
+
import { DataSinkTableViewer as ne } from "../components/datasink/DataSinkTableViewer.js";
|
|
10
10
|
import re from "../hooks/useDataSinkOperations.js";
|
|
11
11
|
import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
12
|
-
import a from "../components/datasink/DataSinkStatusBadge.js";
|
|
12
|
+
import { DataSinkStatusBadge as a } from "../components/datasink/DataSinkStatusBadge.js";
|
|
13
13
|
import { isNative as o, nativeConfirm as ie, nativeImpact as ae, nativeNotify as s } from "../../utils/nativeBridge.js";
|
|
14
14
|
import { hasDataSinkPayload as c } from "../utils/dataSinkPayload.js";
|
|
15
15
|
import oe from "../hooks/useDataSinkSubscription.js";
|
|
16
16
|
import { formatByteSize as se } from "../utils/format.js";
|
|
17
|
-
import ce from "../components/datasink/DataSinkDataViewer.js";
|
|
18
|
-
import le from "../components/datasink/LinkedWorkflowsPanel.js";
|
|
19
|
-
import ue from "../components/datasink/LinkedParsersPanel.js";
|
|
20
|
-
import de from "../components/datasink/WorkflowStatusPanel.js";
|
|
21
|
-
import fe from "../components/datasink/ExportDataSinkDialog.js";
|
|
22
|
-
import pe from "../components/datasink/ImportDataGuideDialog.js";
|
|
17
|
+
import { DataSinkDataViewer as ce } from "../components/datasink/DataSinkDataViewer.js";
|
|
18
|
+
import { LinkedWorkflowsPanel as le } from "../components/datasink/LinkedWorkflowsPanel.js";
|
|
19
|
+
import { LinkedParsersPanel as ue } from "../components/datasink/LinkedParsersPanel.js";
|
|
20
|
+
import { WorkflowStatusPanel as de } from "../components/datasink/WorkflowStatusPanel.js";
|
|
21
|
+
import { ExportDataSinkDialog as fe } from "../components/datasink/ExportDataSinkDialog.js";
|
|
22
|
+
import { ImportDataGuideDialog as pe } from "../components/datasink/ImportDataGuideDialog.js";
|
|
23
23
|
import { memo as l, useCallback as u, useEffect as me, useState as d } from "react";
|
|
24
24
|
import { useParams as he } from "react-router";
|
|
25
25
|
import { AccessDenied as ge, PermissionButton as f } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -8,18 +8,18 @@ import "../components/common/index.js";
|
|
|
8
8
|
import ne from "../hooks/useDataSinkOperations.js";
|
|
9
9
|
import re from "../hooks/useExportDataSink.js";
|
|
10
10
|
import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
11
|
-
import ie from "../components/datasink/DataSinkStatusBadge.js";
|
|
11
|
+
import { DataSinkStatusBadge as ie } from "../components/datasink/DataSinkStatusBadge.js";
|
|
12
12
|
import { isNative as a, nativeNotify as o } from "../../utils/nativeBridge.js";
|
|
13
13
|
import { LIST_SORT_COPY as s, listSortOptions as ae } from "../utils/listSort.js";
|
|
14
14
|
import { dataSinksListControls as oe } from "../assistant/pageControls.js";
|
|
15
15
|
import { hasDataSinkPayload as c } from "../utils/dataSinkPayload.js";
|
|
16
16
|
import { formatByteSize as se } from "../utils/format.js";
|
|
17
|
-
import ce from "../components/datasink/DataSinkCard.js";
|
|
18
|
-
import le from "../components/datasink/DataSinkDeleteDialog.js";
|
|
19
|
-
import ue from "../components/datasink/DataSinkRefreshDialog.js";
|
|
20
|
-
import de from "../components/datasink/ImportDataSinkDialog.js";
|
|
17
|
+
import { DataSinkCard as ce } from "../components/datasink/DataSinkCard.js";
|
|
18
|
+
import { DataSinkDeleteDialog as le } from "../components/datasink/DataSinkDeleteDialog.js";
|
|
19
|
+
import { DataSinkRefreshDialog as ue } from "../components/datasink/DataSinkRefreshDialog.js";
|
|
20
|
+
import { ImportDataSinkDialog as de } from "../components/datasink/ImportDataSinkDialog.js";
|
|
21
21
|
import { selectDataSinks as fe } from "../utils/dataSinkList.js";
|
|
22
|
-
import pe from "../components/datasink/SetupStateBadge.js";
|
|
22
|
+
import { SetupStateBadge as pe } from "../components/datasink/SetupStateBadge.js";
|
|
23
23
|
import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
|
|
24
24
|
import { AccessDenied as me, PermissionButton as he } from "@burdenoff/fe-libs/shared/components";
|
|
25
25
|
import { usePermissions as ge } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
@@ -3,11 +3,11 @@ import "../contexts/index.js";
|
|
|
3
3
|
import { BIGCONSOLE_PERMISSIONS as t } from "../../constants/permissions.js";
|
|
4
4
|
import { useTr as ee } from "../../shared/hooks/useTr.js";
|
|
5
5
|
import { CREATE_DASHBOARD_PATH as n, buildAiAlternative as r, buildDashboardGuideSteps as i } from "../components/overview/dashboardGuideSteps.js";
|
|
6
|
-
import a from "../components/overview/DashboardGuide.js";
|
|
7
|
-
import o from "../components/overview/DataHealthCard.js";
|
|
8
|
-
import s from "../components/overview/OverviewQuickActions.js";
|
|
9
|
-
import c from "../components/overview/OverviewStatCard.js";
|
|
10
|
-
import te from "../components/overview/RecentDashboardsPanel.js";
|
|
6
|
+
import { DashboardGuide as a } from "../components/overview/DashboardGuide.js";
|
|
7
|
+
import { DataHealthCard as o } from "../components/overview/DataHealthCard.js";
|
|
8
|
+
import { OverviewQuickActions as s } from "../components/overview/OverviewQuickActions.js";
|
|
9
|
+
import { OverviewStatCard as c } from "../components/overview/OverviewStatCard.js";
|
|
10
|
+
import { RecentDashboardsPanel as te } from "../components/overview/RecentDashboardsPanel.js";
|
|
11
11
|
import { formatRelativeTime as ne, resolveGuideDefaultExpanded as re, summarizeDashboards as l, summarizeDataSinks as u } from "../components/overview/overviewModel.js";
|
|
12
12
|
import { useOverviewData as d } from "../components/overview/useOverviewData.js";
|
|
13
13
|
import "../components/overview/index.js";
|
|
@@ -7,7 +7,7 @@ import te from "../hooks/useDataSinkOperations.js";
|
|
|
7
7
|
import ne from "../hooks/useParserOperations.js";
|
|
8
8
|
import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
|
|
9
9
|
import { isDirty as re, shouldReseedForm as ie } from "../utils/formDirty.js";
|
|
10
|
-
import ae from "../components/datasink/CacheTTLSelector.js";
|
|
10
|
+
import { CacheTTLSelector as ae } from "../components/datasink/CacheTTLSelector.js";
|
|
11
11
|
import { memo as i, useCallback as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
12
12
|
import { useParams as oe } from "react-router";
|
|
13
13
|
import { AccessDenied as se, PermissionButton as ce } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -64,14 +64,14 @@ function Ne(e) {
|
|
|
64
64
|
jq: {
|
|
65
65
|
name: e("bigconsole.parsers.builder.parserType.jq.name", "JQ"),
|
|
66
66
|
description: e("bigconsole.parsers.builder.parserType.jq.description", "Lightweight JSON processor - fast and efficient for simple transformations"),
|
|
67
|
-
placeholder: ".
|
|
68
|
-
example: e("bigconsole.parsers.builder.parserType.jq.
|
|
67
|
+
placeholder: ".",
|
|
68
|
+
example: e("bigconsole.parsers.builder.parserType.jq.identityExample", ". - Return the input unchanged (array or object); use .data only if the input has a data field")
|
|
69
69
|
},
|
|
70
70
|
jsonata: {
|
|
71
71
|
name: e("bigconsole.parsers.builder.parserType.jsonata.name", "JSONata"),
|
|
72
72
|
description: e("bigconsole.parsers.builder.parserType.jsonata.description", "Query and transformation language - supports complex queries and calculations"),
|
|
73
|
-
placeholder: "$
|
|
74
|
-
example: e("bigconsole.parsers.builder.parserType.jsonata.
|
|
73
|
+
placeholder: "$",
|
|
74
|
+
example: e("bigconsole.parsers.builder.parserType.jsonata.identityExample", "$ - Return the input unchanged (array or object); use $.data only if the input has a data field")
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
@@ -6,11 +6,11 @@ import "../components/common/index.js";
|
|
|
6
6
|
import n from "../hooks/useDataSinkOperations.js";
|
|
7
7
|
import r from "../hooks/useParserOperations.js";
|
|
8
8
|
import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
9
|
-
import a from "../components/parser/ParserTypeBadge.js";
|
|
10
|
-
import o from "../components/parser/ParserStatusBadge.js";
|
|
9
|
+
import { ParserTypeBadge as a } from "../components/parser/ParserTypeBadge.js";
|
|
10
|
+
import { ParserStatusBadge as o } from "../components/parser/ParserStatusBadge.js";
|
|
11
11
|
import { isNative as s, nativeCopyText as ne, nativeImpact as c, nativeNotify as l, nativeToast as re } from "../../utils/nativeBridge.js";
|
|
12
|
-
import u from "../components/parser/ExpressionEditor.js";
|
|
13
|
-
import d from "../components/parser/ExportParserDialog.js";
|
|
12
|
+
import { ExpressionEditor as u } from "../components/parser/ExpressionEditor.js";
|
|
13
|
+
import { ExportParserDialog as d } from "../components/parser/ExportParserDialog.js";
|
|
14
14
|
import { memo as f, useCallback as p, useEffect as m, useState as h } from "react";
|
|
15
15
|
import { useParams as ie } from "react-router";
|
|
16
16
|
import { AccessDenied as ae, PermissionButton as g } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -8,7 +8,7 @@ import ee from "../hooks/usePipelineOperations.js";
|
|
|
8
8
|
import { BIGCONSOLE_PERMISSIONS as a } from "../../constants/permissions.js";
|
|
9
9
|
import { isDirty as te } from "../utils/formDirty.js";
|
|
10
10
|
import { PipelineScopePicker as ne } from "../components/pipeline/PipelineScopePicker.js";
|
|
11
|
-
import re from "../components/pipeline/PipelineStatusBadge.js";
|
|
11
|
+
import { PipelineStatusBadge as re } from "../components/pipeline/PipelineStatusBadge.js";
|
|
12
12
|
import { memo as o, useCallback as s, useEffect as ie, useId as ae, useMemo as oe, useState as c } from "react";
|
|
13
13
|
import { useParams as se, useSearchParams as ce } from "react-router";
|
|
14
14
|
import { AccessDenied as le } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -7,8 +7,8 @@ import "../components/common/index.js";
|
|
|
7
7
|
import ee from "../hooks/usePipelineOperations.js";
|
|
8
8
|
import { BIGCONSOLE_PERMISSIONS as a } from "../../constants/permissions.js";
|
|
9
9
|
import { isNative as o, nativeNotify as s } from "../../utils/nativeBridge.js";
|
|
10
|
-
import c from "../components/pipeline/PipelineStatusBadge.js";
|
|
11
|
-
import te from "../components/pipeline/PipelineDeleteDialog.js";
|
|
10
|
+
import { PipelineStatusBadge as c } from "../components/pipeline/PipelineStatusBadge.js";
|
|
11
|
+
import { PipelineDeleteDialog as te } from "../components/pipeline/PipelineDeleteDialog.js";
|
|
12
12
|
import { memo as l, useCallback as u, useEffect as d, useId as ne, useState as f } from "react";
|
|
13
13
|
import { useParams as re, useSearchParams as ie } from "react-router";
|
|
14
14
|
import { AccessDenied as ae } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -166,7 +166,11 @@ var v = "min-h-[var(--size-controlHeight-md)]", ue = "rounded-pill bg-bg-sunken
|
|
|
166
166
|
pipelineId: M.id,
|
|
167
167
|
inputData: P
|
|
168
168
|
});
|
|
169
|
-
|
|
169
|
+
if (e) {
|
|
170
|
+
ve(e), z(e);
|
|
171
|
+
let t = await Y(M.id);
|
|
172
|
+
L(t);
|
|
173
|
+
}
|
|
170
174
|
} catch {}
|
|
171
175
|
}, [
|
|
172
176
|
M,
|
|
@@ -9,8 +9,8 @@ import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
|
|
|
9
9
|
import { isNative as i, nativeNotify as a } from "../../utils/nativeBridge.js";
|
|
10
10
|
import { pipelinesListControls as o } from "../assistant/pageControls.js";
|
|
11
11
|
import { PipelineScopePicker as s } from "../components/pipeline/PipelineScopePicker.js";
|
|
12
|
-
import c from "../components/pipeline/PipelineDeleteDialog.js";
|
|
13
|
-
import ie from "../components/pipeline/PipelineCard.js";
|
|
12
|
+
import { PipelineDeleteDialog as c } from "../components/pipeline/PipelineDeleteDialog.js";
|
|
13
|
+
import { PipelineCard as ie } from "../components/pipeline/PipelineCard.js";
|
|
14
14
|
import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
|
|
15
15
|
import { useSearchParams as p } from "react-router";
|
|
16
16
|
import { AccessDenied as m, PermissionButton as h } from "@burdenoff/fe-libs/shared/components";
|
|
@@ -4,7 +4,7 @@ import { sectionSurfaceClasses as t } from "../components/common/sectionStyles.j
|
|
|
4
4
|
import { Section as n, SectionStack as r } from "../components/common/Section.js";
|
|
5
5
|
import "../components/common/index.js";
|
|
6
6
|
import { WIDGET_CATEGORY_LABELS as i } from "../components/widgets/WidgetRegistry.js";
|
|
7
|
-
import a from "../components/widgets/WidgetWrapper.js";
|
|
7
|
+
import { WidgetWrapper as a } from "../components/widgets/WidgetWrapper.js";
|
|
8
8
|
import "../components/widgets/index.js";
|
|
9
9
|
import { useMemo as o, useState as s } from "react";
|
|
10
10
|
import { Button as c, IllustratedEmptyState as l, PagePurpose as u } from "@burdenoff/fe-libs/ui";
|