@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
|
@@ -101,7 +101,8 @@ var S = a(function({ widget: a, onChange: S, widgetData: C }) {
|
|
|
101
101
|
fetchPolicy: "cache-first"
|
|
102
102
|
});
|
|
103
103
|
if (e) return;
|
|
104
|
-
|
|
104
|
+
let i = r.data?.listDashboards?.edges ?? [];
|
|
105
|
+
se(i.map((e) => e?.node).filter((e) => !!e).map((e) => ({
|
|
105
106
|
id: e.id,
|
|
106
107
|
name: e.name
|
|
107
108
|
})));
|
|
@@ -475,4 +476,4 @@ var S = a(function({ widget: a, onChange: S, widgetData: C }) {
|
|
|
475
476
|
});
|
|
476
477
|
});
|
|
477
478
|
//#endregion
|
|
478
|
-
export { S as default };
|
|
479
|
+
export { S as DrilldownConfigPanel, S as default };
|
|
@@ -12,17 +12,17 @@ import ee from "../../hooks/useDataSinkOperations.js";
|
|
|
12
12
|
import te from "../../hooks/useParserOperations.js";
|
|
13
13
|
import "../../hooks/index.js";
|
|
14
14
|
import { getWidgetBinding as l, getWidgetBindingStatus as ne, reconcilePanelConfig as re, serializeWidgetBinding as ie } from "../../utils/widgetBinding.js";
|
|
15
|
-
import ae from "./ActionConfigDialog.js";
|
|
16
|
-
import oe from "./webhook-config/WebhookConfigPanel.js";
|
|
15
|
+
import { ActionConfigDialog as ae } from "./ActionConfigDialog.js";
|
|
16
|
+
import { WebhookConfigPanel as oe } from "./webhook-config/WebhookConfigPanel.js";
|
|
17
17
|
import "./webhook-config/index.js";
|
|
18
|
-
import se from "./event-logs/EventLogViewer.js";
|
|
18
|
+
import { EventLogViewer as se } from "./event-logs/EventLogViewer.js";
|
|
19
19
|
import "./event-logs/index.js";
|
|
20
|
-
import ce from "./DrilldownConfigPanel.js";
|
|
20
|
+
import { DrilldownConfigPanel as ce } from "./DrilldownConfigPanel.js";
|
|
21
21
|
import { AdvancedSection as le } from "../builder/inspector/AdvancedSection.js";
|
|
22
22
|
import { AppearanceSection as ue } from "../builder/inspector/AppearanceSection.js";
|
|
23
23
|
import { GeneralSection as de } from "../builder/inspector/GeneralSection.js";
|
|
24
24
|
import { DataBindingSection as fe } from "../builder/inspector/DataBindingSection.js";
|
|
25
|
-
import pe from "../builder/inspector/LayoutSection.js";
|
|
25
|
+
import { LayoutSection as pe } from "../builder/inspector/LayoutSection.js";
|
|
26
26
|
import "../builder/inspector/index.js";
|
|
27
27
|
import { DEFAULT_GRID_CONFIG as me } from "../../utils/widgetPositioning.js";
|
|
28
28
|
import { isWidgetFormEdited as he, withInferredDataSink as ge } from "../../utils/widgetFormDirty.js";
|
|
@@ -171,7 +171,8 @@ var Xe = u(function({ widget: e, onSave: t }) {
|
|
|
171
171
|
let { t: r } = Ve(), [i, a] = m(""), [o, s] = m(null), c = _e(!1);
|
|
172
172
|
f(() => {
|
|
173
173
|
try {
|
|
174
|
-
|
|
174
|
+
let t = e.template && typeof e.template == "object" ? JSON.stringify(e.template, null, 2) : "";
|
|
175
|
+
a(t), s(null), c.current = !0;
|
|
175
176
|
} catch {
|
|
176
177
|
a("");
|
|
177
178
|
}
|
|
@@ -187,8 +188,8 @@ var Xe = u(function({ widget: e, onSave: t }) {
|
|
|
187
188
|
}
|
|
188
189
|
}, [t]), te = d(() => {
|
|
189
190
|
try {
|
|
190
|
-
let e = JSON.parse(i);
|
|
191
|
-
a(
|
|
191
|
+
let e = JSON.parse(i), n = JSON.stringify(e, null, 2);
|
|
192
|
+
a(n), s(null), t(e);
|
|
192
193
|
} catch (e) {
|
|
193
194
|
s(e.message);
|
|
194
195
|
}
|
|
@@ -401,7 +402,11 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
401
402
|
if (!N || t === void 0) return !0;
|
|
402
403
|
if (q) return !1;
|
|
403
404
|
let n = Ge(e), r = J(e);
|
|
404
|
-
|
|
405
|
+
if (!r && At) {
|
|
406
|
+
let t = (await Pt())?.data?.listEventWebhookMappings ?? [];
|
|
407
|
+
r = Ft(t, e);
|
|
408
|
+
}
|
|
409
|
+
return t && t.url ? r ? await Mt({
|
|
405
410
|
id: r.id,
|
|
406
411
|
eventPattern: n,
|
|
407
412
|
webhookUrl: t.url,
|
|
@@ -460,7 +465,8 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
460
465
|
let t = e.findIndex((e) => e.id === r?.id);
|
|
461
466
|
t >= 0 && (e[t] = r);
|
|
462
467
|
} else e.push(r);
|
|
463
|
-
|
|
468
|
+
let i = e.sort((e, t) => e.order - t.order);
|
|
469
|
+
if (P(N, { actions: i }), !await It(r.name, t)) {
|
|
464
470
|
X(t), Z(t ? T("bigconsole.widget.properties.action.webhookSaveFailed", "The button was saved, but its webhook could not be saved. Check the URL and try again.") : T("bigconsole.widget.properties.action.webhookRemoveFailed", "The button was saved, but its old webhook could not be removed. Try again.")), Y(r);
|
|
465
471
|
return;
|
|
466
472
|
}
|
|
@@ -485,9 +491,12 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
485
491
|
]), Xt = d(async (e) => {
|
|
486
492
|
if (N && window.confirm(T("bigconsole.widget.properties.action.deleteConfirm", "Are you sure you want to delete this action?"))) {
|
|
487
493
|
let t = U.find((t) => t.id === e);
|
|
488
|
-
if (await Ot(e)
|
|
489
|
-
let
|
|
490
|
-
|
|
494
|
+
if (await Ot(e)) {
|
|
495
|
+
let n = U.filter((t) => t.id !== e);
|
|
496
|
+
if (P(N, { actions: n }), t) {
|
|
497
|
+
let e = J(t.name);
|
|
498
|
+
e && await Nt(e.id);
|
|
499
|
+
}
|
|
491
500
|
}
|
|
492
501
|
}
|
|
493
502
|
}, [
|
|
@@ -501,10 +510,13 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
501
510
|
]), Zt = d(async (e) => {
|
|
502
511
|
if (!N || e === 0) return;
|
|
503
512
|
let t = [...U].sort((e, t) => e.order - t.order), n = t.map((e) => e.id);
|
|
504
|
-
[n[e - 1], n[e]] = [n[e], n[e - 1]], await K(n)
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
513
|
+
if ([n[e - 1], n[e]] = [n[e], n[e - 1]], await K(n)) {
|
|
514
|
+
let e = t.map((e, t) => ({
|
|
515
|
+
...e,
|
|
516
|
+
order: n.indexOf(e.id)
|
|
517
|
+
})).sort((e, t) => e.order - t.order);
|
|
518
|
+
P(N, { actions: e });
|
|
519
|
+
}
|
|
508
520
|
}, [
|
|
509
521
|
N,
|
|
510
522
|
U,
|
|
@@ -515,10 +527,13 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
515
527
|
let t = [...U].sort((e, t) => e.order - t.order);
|
|
516
528
|
if (e === t.length - 1) return;
|
|
517
529
|
let n = t.map((e) => e.id);
|
|
518
|
-
[n[e], n[e + 1]] = [n[e + 1], n[e]], await K(n)
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
530
|
+
if ([n[e], n[e + 1]] = [n[e + 1], n[e]], await K(n)) {
|
|
531
|
+
let e = t.map((e, t) => ({
|
|
532
|
+
...e,
|
|
533
|
+
order: n.indexOf(e.id)
|
|
534
|
+
})).sort((e, t) => e.order - t.order);
|
|
535
|
+
P(N, { actions: e });
|
|
536
|
+
}
|
|
522
537
|
}, [
|
|
523
538
|
N,
|
|
524
539
|
U,
|
|
@@ -1475,4 +1490,4 @@ var T = u(function({ isOpen: u, onClose: be }) {
|
|
|
1475
1490
|
});
|
|
1476
1491
|
});
|
|
1477
1492
|
//#endregion
|
|
1478
|
-
export { T as default };
|
|
1493
|
+
export { T as PropertiesPanel, T as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "./WidgetMenu.js";
|
|
1
|
+
import { WidgetMenu as e } from "./WidgetMenu.js";
|
|
2
2
|
import { memo as t } from "react";
|
|
3
3
|
import { MessageSquare as n } from "lucide-react";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
@@ -283,4 +283,4 @@ var a = t(function({ previewOnly: t = !1, widget: a, definition: s, isSelected:
|
|
|
283
283
|
return n[e] || a;
|
|
284
284
|
};
|
|
285
285
|
//#endregion
|
|
286
|
-
export { a as default };
|
|
286
|
+
export { a as WidgetHeader, a as default };
|
|
@@ -1010,4 +1010,4 @@ function s(e) {
|
|
|
1010
1010
|
return e.defaultConfig?.componentId ? `installed-${e.defaultConfig.componentId}` : e.category === "Installed" ? `installed-${e.name}` : e.type;
|
|
1011
1011
|
}
|
|
1012
1012
|
//#endregion
|
|
1013
|
-
export { a as WIDGET_CATEGORY_LABELS, e as default, r as getAllWidgetDefinitions, o as getWidgetCategories, n as getWidgetDefinition, s as getWidgetKey, i as getWidgetsByCategory };
|
|
1013
|
+
export { a as WIDGET_CATEGORY_LABELS, e as WIDGET_DEFINITIONS, e as default, r as getAllWidgetDefinitions, o as getWidgetCategories, n as getWidgetDefinition, s as getWidgetKey, i as getWidgetsByCategory };
|
|
@@ -9,18 +9,18 @@ import ne from "../../hooks/useWidgetComments.js";
|
|
|
9
9
|
import re from "../../hooks/useWidgetExport.js";
|
|
10
10
|
import ie from "../../hooks/useDrilldown.js";
|
|
11
11
|
import "../../hooks/index.js";
|
|
12
|
-
import { resolveTextData as
|
|
13
|
-
import
|
|
14
|
-
import { useBigConsoleSettings as
|
|
15
|
-
import
|
|
16
|
-
import ce from "./states/ErrorState.js";
|
|
17
|
-
import le from "./states/EmptyState.js";
|
|
18
|
-
import ue from "./WidgetErrorBoundary.js";
|
|
12
|
+
import { resolveTextData as ae } from "./text-widget/textData.js";
|
|
13
|
+
import { WidgetHeader as oe } from "./WidgetHeader.js";
|
|
14
|
+
import { useBigConsoleSettings as se } from "../../hooks/useBigConsoleSettings.js";
|
|
15
|
+
import { WidgetLoadingState as c } from "./states/LoadingState.js";
|
|
16
|
+
import { WidgetErrorState as ce } from "./states/ErrorState.js";
|
|
17
|
+
import { WidgetEmptyState as le } from "./states/EmptyState.js";
|
|
18
|
+
import { WidgetErrorBoundary as ue } from "./WidgetErrorBoundary.js";
|
|
19
19
|
import { hasCustomIframeConfig as de, hasRenderableCustomConfig as fe } from "./custom/config.js";
|
|
20
20
|
import { getBindingForWidget as pe } from "../../utils/widgetBinding.js";
|
|
21
21
|
import { isUsableWidgetData as me, resolveWidgetDisplayData as he, widgetDataSourcePolicy as ge, widgetExportRows as _e } from "../../utils/widgetDisplayData.js";
|
|
22
|
-
import ve from "../../renderers/factory/WidgetRendererFactory.js";
|
|
23
|
-
import ye from "./widget-actions/WidgetActions.js";
|
|
22
|
+
import { WidgetRendererFactory as ve } from "../../renderers/factory/WidgetRendererFactory.js";
|
|
23
|
+
import { WidgetActions as ye } from "./widget-actions/WidgetActions.js";
|
|
24
24
|
import "./widget-actions/index.js";
|
|
25
25
|
import { Suspense as be, lazy as l, memo as u, useCallback as d, useEffect as xe, useMemo as f, useRef as p, useState as Se } from "react";
|
|
26
26
|
import { useApolloClient as Ce } from "@apollo/client/react";
|
|
@@ -33,7 +33,7 @@ function h(e, t) {
|
|
|
33
33
|
return !(e.previewOnly !== t.previewOnly || e.widget.id !== t.widget.id || e.widget.updatedAt !== t.widget.updatedAt || e.isLoading !== t.isLoading || e.error !== t.error || e.actions !== t.actions || e.data !== t.data || JSON.stringify(e.filterValues) !== JSON.stringify(t.filterValues));
|
|
34
34
|
}
|
|
35
35
|
var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoading: qe, error: Je, onRefresh: _, onDrilldown: Ye, actions: v, onAction: y, filterValues: b, previewOnly: x = !1 }) {
|
|
36
|
-
let S =
|
|
36
|
+
let S = se(), Xe = r((e) => e.viewMode === "edit"), C = !x && Xe, w = t((e) => e.selectWidget), T = e(l.id), Ze = n(l.id), E = i(), D = Ce(), O = l.dashboardId, k = f(() => {
|
|
37
37
|
if (!O) return {};
|
|
38
38
|
try {
|
|
39
39
|
let e = D.readQuery({
|
|
@@ -308,7 +308,7 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
308
308
|
C,
|
|
309
309
|
w,
|
|
310
310
|
l.id
|
|
311
|
-
]), gt = f(() => l.type === "custom" && fe(l.config), [l.type, l.config]), _t = f(() => l.type === "custom" && de(l.config), [l.type, l.config]), Q = Y && !_t, vt = f(() => l.type === "text"
|
|
311
|
+
]), gt = f(() => l.type === "custom" && fe(l.config), [l.type, l.config]), _t = f(() => l.type === "custom" && de(l.config), [l.type, l.config]), Q = Y && !_t, vt = f(() => l.type === "text" && ae(l.config, K).hasContent, [
|
|
312
312
|
l.type,
|
|
313
313
|
l.config,
|
|
314
314
|
K
|
|
@@ -347,7 +347,7 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
if (l.type === "text") {
|
|
350
|
-
let e =
|
|
350
|
+
let e = ae(l.config, K);
|
|
351
351
|
return {
|
|
352
352
|
content: e.content,
|
|
353
353
|
format: e.format,
|
|
@@ -519,7 +519,7 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
519
519
|
"data-widget-id": l.id,
|
|
520
520
|
"data-widget-type": l.type,
|
|
521
521
|
children: [
|
|
522
|
-
/* @__PURE__ */ m(
|
|
522
|
+
/* @__PURE__ */ m(oe, {
|
|
523
523
|
widget: l,
|
|
524
524
|
previewOnly: x,
|
|
525
525
|
definition: tt,
|
|
@@ -547,7 +547,7 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
547
547
|
children: /* @__PURE__ */ m("div", {
|
|
548
548
|
className: "h-full min-w-0 overflow-auto",
|
|
549
549
|
children: (() => {
|
|
550
|
-
if (L) return /* @__PURE__ */ m(
|
|
550
|
+
if (L) return /* @__PURE__ */ m(c, {});
|
|
551
551
|
if (R) return /* @__PURE__ */ m(ce, {
|
|
552
552
|
error: R,
|
|
553
553
|
onRetry: _
|
|
@@ -565,7 +565,7 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
565
565
|
widgetTitle: l.title,
|
|
566
566
|
resetKey: e,
|
|
567
567
|
children: u ?? /* @__PURE__ */ m(be, {
|
|
568
|
-
fallback: /* @__PURE__ */ m(
|
|
568
|
+
fallback: /* @__PURE__ */ m(c, {}),
|
|
569
569
|
children: Ct()
|
|
570
570
|
})
|
|
571
571
|
});
|
|
@@ -611,4 +611,4 @@ var g = u(function({ widget: l, children: u, data: h, className: g = "", isLoadi
|
|
|
611
611
|
});
|
|
612
612
|
}, h);
|
|
613
613
|
//#endregion
|
|
614
|
-
export { g as default };
|
|
614
|
+
export { g as WidgetWrapper, g as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from "./AdaptiveCardWidget.js";
|
|
1
|
+
import { AdaptiveCardWidget as e } from "./AdaptiveCardWidget.js";
|
|
2
2
|
export { e as AdaptiveCardWidget };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "../chart/ChartWidget.js";
|
|
1
|
+
import { ChartWidget as e } from "../chart/ChartWidget.js";
|
|
2
2
|
import { normalizeBoxPlot as t, normalizeSankey as n } from "./data.js";
|
|
3
3
|
import { boxPlotDescription as r } from "./boxPlotDescription.js";
|
|
4
4
|
import { memo as i, useMemo as a } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import e from "./CalendarView.js";
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { jsx as
|
|
1
|
+
import { CalendarView as e, normalizeCalendarEvents as t } from "./CalendarView.js";
|
|
2
|
+
import { memo as n } from "react";
|
|
3
|
+
import { useI18n as r } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
//#region src/bigconsole/components/widgets/calendar/CalendarWidget.tsx
|
|
6
|
-
var
|
|
7
|
-
let { t:
|
|
8
|
-
return /* @__PURE__ */
|
|
6
|
+
var a = n(function(t) {
|
|
7
|
+
let { t: n } = r();
|
|
8
|
+
return /* @__PURE__ */ i(e, {
|
|
9
9
|
...t,
|
|
10
|
-
t:
|
|
10
|
+
t: n
|
|
11
11
|
});
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
|
-
export {
|
|
14
|
+
export { e as CalendarView, a as CalendarWidget, a as default, t as normalizeCalendarEvents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from "./CalendarWidget.js";
|
|
1
|
+
import { CalendarWidget as e } from "./CalendarWidget.js";
|
|
2
2
|
export { e as CalendarWidget, e as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCrossFilterContext as e, useWidgetCrossFilter as t } from "../../../contexts/CrossFilterContext.js";
|
|
2
2
|
import "../../../contexts/index.js";
|
|
3
|
-
import n from "./ChartLegend.js";
|
|
3
|
+
import { ChartLegend as n } from "./ChartLegend.js";
|
|
4
4
|
import { configuredNumericSeries as r, numericSeriesKeys as i } from "./charts/numericSeries.js";
|
|
5
|
-
import a from "./charts/LineChart.js";
|
|
6
|
-
import o from "./charts/BarChart.js";
|
|
7
|
-
import s from "./charts/AreaChart.js";
|
|
8
|
-
import c from "./charts/PieChart.js";
|
|
9
|
-
import l from "./charts/FunnelChart.js";
|
|
10
|
-
import u from "./charts/ComboChart.js";
|
|
11
|
-
import d from "./charts/WaterfallChart.js";
|
|
12
|
-
import f from "./charts/ScatterChart.js";
|
|
5
|
+
import { LineChart as a } from "./charts/LineChart.js";
|
|
6
|
+
import { BarChart as o } from "./charts/BarChart.js";
|
|
7
|
+
import { AreaChart as s } from "./charts/AreaChart.js";
|
|
8
|
+
import { PieChart as c } from "./charts/PieChart.js";
|
|
9
|
+
import { FunnelChart as l } from "./charts/FunnelChart.js";
|
|
10
|
+
import { ComboChart as u } from "./charts/ComboChart.js";
|
|
11
|
+
import { WaterfallChart as d } from "./charts/WaterfallChart.js";
|
|
12
|
+
import { ScatterChart as f } from "./charts/ScatterChart.js";
|
|
13
13
|
import { memo as p, useCallback as m, useMemo as h, useState as g } from "react";
|
|
14
14
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
15
15
|
//#region src/bigconsole/components/widgets/chart/ChartWidget.tsx
|
|
@@ -174,4 +174,4 @@ var y = [
|
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
176
|
//#endregion
|
|
177
|
-
export { b as default };
|
|
177
|
+
export { b as ChartWidget, b as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { numericSeriesKeys as e } from "./numericSeries.js";
|
|
2
|
-
import t from "../ChartTooltip.js";
|
|
2
|
+
import { ChartTooltip as t } from "../ChartTooltip.js";
|
|
3
3
|
import { buildReferenceElements as n } from "./referenceElements.js";
|
|
4
4
|
import { memo as r, useMemo as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -121,4 +121,4 @@ var h = [
|
|
|
121
121
|
}) : null;
|
|
122
122
|
});
|
|
123
123
|
//#endregion
|
|
124
|
-
export { g as default };
|
|
124
|
+
export { g as AreaChart, g as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { numericSeriesKeys as e } from "./numericSeries.js";
|
|
2
|
-
import t from "../ChartTooltip.js";
|
|
2
|
+
import { ChartTooltip as t } from "../ChartTooltip.js";
|
|
3
3
|
import { buildReferenceElements as n } from "./referenceElements.js";
|
|
4
4
|
import { memo as r, useMemo as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -107,4 +107,4 @@ var h = [
|
|
|
107
107
|
}) : null;
|
|
108
108
|
});
|
|
109
109
|
//#endregion
|
|
110
|
-
export { g as default };
|
|
110
|
+
export { g as BarChart, g as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { configuredNumericSeries as e } from "./numericSeries.js";
|
|
2
|
-
import t from "../ChartTooltip.js";
|
|
2
|
+
import { ChartTooltip as t } from "../ChartTooltip.js";
|
|
3
3
|
import { buildReferenceElements as n } from "./referenceElements.js";
|
|
4
4
|
import { memo as r, useMemo as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -127,4 +127,4 @@ var g = [
|
|
|
127
127
|
}) : null;
|
|
128
128
|
});
|
|
129
129
|
//#endregion
|
|
130
|
-
export { _ as default };
|
|
130
|
+
export { _ as ComboChart, _ as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "../ChartTooltip.js";
|
|
1
|
+
import { ChartTooltip as e } from "../ChartTooltip.js";
|
|
2
2
|
import { memo as t } from "react";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Cell as i, Funnel as a, FunnelChart as o, LabelList as s, ResponsiveContainer as c, Tooltip as l } from "recharts";
|
|
@@ -65,4 +65,4 @@ var u = [
|
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
|
-
export { d as default };
|
|
68
|
+
export { d as FunnelChart, d as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { numericSeriesKeys as e } from "./numericSeries.js";
|
|
2
|
-
import t from "../ChartTooltip.js";
|
|
2
|
+
import { ChartTooltip as t } from "../ChartTooltip.js";
|
|
3
3
|
import { buildReferenceElements as n } from "./referenceElements.js";
|
|
4
4
|
import { memo as r, useMemo as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -101,4 +101,4 @@ var h = [
|
|
|
101
101
|
}) : null;
|
|
102
102
|
});
|
|
103
103
|
//#endregion
|
|
104
|
-
export { g as default };
|
|
104
|
+
export { g as LineChart, g as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "../ChartTooltip.js";
|
|
1
|
+
import { ChartTooltip as e } from "../ChartTooltip.js";
|
|
2
2
|
import { memo as t, useCallback as n, useState as r } from "react";
|
|
3
3
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
4
|
import { Cell as s, Legend as c, Pie as l, PieChart as u, ResponsiveContainer as d, Sector as f, Tooltip as p } from "recharts";
|
|
@@ -93,4 +93,4 @@ var m = [
|
|
|
93
93
|
}) : null;
|
|
94
94
|
});
|
|
95
95
|
//#endregion
|
|
96
|
-
export { g as default };
|
|
96
|
+
export { g as PieChart, g as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "../ChartTooltip.js";
|
|
1
|
+
import { ChartTooltip as e } from "../ChartTooltip.js";
|
|
2
2
|
import { buildReferenceElements as t } from "./referenceElements.js";
|
|
3
3
|
import { memo as n, useMemo as r } from "react";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -123,4 +123,4 @@ var h = [
|
|
|
123
123
|
}) : null;
|
|
124
124
|
});
|
|
125
125
|
//#endregion
|
|
126
|
-
export { g as default };
|
|
126
|
+
export { g as ScatterChart, g as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "./referenceElements.js";
|
|
2
|
-
import "./LineChart.js";
|
|
3
|
-
import "./BarChart.js";
|
|
4
|
-
import "./AreaChart.js";
|
|
5
|
-
import "./PieChart.js";
|
|
6
|
-
import "./FunnelChart.js";
|
|
2
|
+
import { LineChart as e } from "./LineChart.js";
|
|
3
|
+
import { BarChart as t } from "./BarChart.js";
|
|
4
|
+
import { AreaChart as n } from "./AreaChart.js";
|
|
5
|
+
import { PieChart as r } from "./PieChart.js";
|
|
6
|
+
import { FunnelChart as i } from "./FunnelChart.js";
|
|
7
7
|
import "./ComboChart.js";
|
|
8
8
|
import "./WaterfallChart.js";
|
|
9
9
|
import "./ScatterChart.js";
|
|
10
|
+
export { n as AreaChart, t as BarChart, i as FunnelChart, e as LineChart, r as PieChart };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
//#region src/bigconsole/components/widgets/chart/charts/numericSeries.ts
|
|
2
2
|
function e(e, t, n) {
|
|
3
3
|
let r = e[0];
|
|
4
|
-
|
|
4
|
+
if (!r) return [];
|
|
5
|
+
let i = n ?? Object.keys(r);
|
|
6
|
+
return [...new Set(i.filter((e) => {
|
|
5
7
|
if (typeof e != "string" || e === t) return !1;
|
|
6
8
|
let n = r[e];
|
|
7
9
|
return typeof n == "number" && Number.isFinite(n);
|
|
8
|
-
}))]
|
|
10
|
+
}))];
|
|
9
11
|
}
|
|
10
12
|
function t(t, n) {
|
|
11
13
|
if (n.series?.length) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import e from "./ChartLegend.js";
|
|
2
|
-
import t from "./ChartTooltip.js";
|
|
3
|
-
import n from "./charts/LineChart.js";
|
|
4
|
-
import r from "./charts/BarChart.js";
|
|
5
|
-
import i from "./charts/AreaChart.js";
|
|
6
|
-
import a from "./charts/PieChart.js";
|
|
7
|
-
import o from "./charts/FunnelChart.js";
|
|
8
|
-
import s from "./ChartWidget.js";
|
|
9
|
-
import c from "./ChartConfig.js";
|
|
1
|
+
import { ChartLegend as e } from "./ChartLegend.js";
|
|
2
|
+
import { ChartTooltip as t } from "./ChartTooltip.js";
|
|
3
|
+
import { LineChart as n } from "./charts/LineChart.js";
|
|
4
|
+
import { BarChart as r } from "./charts/BarChart.js";
|
|
5
|
+
import { AreaChart as i } from "./charts/AreaChart.js";
|
|
6
|
+
import { PieChart as a } from "./charts/PieChart.js";
|
|
7
|
+
import { FunnelChart as o } from "./charts/FunnelChart.js";
|
|
8
|
+
import { ChartWidget as s } from "./ChartWidget.js";
|
|
9
|
+
import { ChartConfig as c } from "./ChartConfig.js";
|
|
10
10
|
import "./charts/index.js";
|
|
11
11
|
export { i as AreaChart, r as BarChart, c as ChartConfig, e as ChartLegend, t as ChartTooltip, s as ChartWidget, o as FunnelChart, n as LineChart, a as PieChart };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { getCustomConfigContent as e, hasCustomIframeConfig as t, hasRenderableCustomConfig as n } from "./config.js";
|
|
2
|
-
import r from "./CustomWidget.js";
|
|
2
|
+
import { CustomWidget as r } from "./CustomWidget.js";
|
|
3
3
|
export { r as CustomWidget, e as getCustomConfigContent, t as hasCustomIframeConfig, n as hasRenderableCustomConfig };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import "./EventLogViewer.js";
|
|
1
|
+
import { EventLogViewer as e } from "./EventLogViewer.js";
|
|
2
|
+
export { e as EventLogViewer };
|
|
@@ -54,7 +54,7 @@ function m(e, t, n) {
|
|
|
54
54
|
function h(e, t) {
|
|
55
55
|
let n = {}, r = {};
|
|
56
56
|
if (!e || typeof e != "object" || Array.isArray(e)) {
|
|
57
|
-
for (let e of t) n[e.name] = e.defaultValue ?? (e.type
|
|
57
|
+
for (let e of t) n[e.name] = e.defaultValue ?? (e.type !== "checkbox" && "");
|
|
58
58
|
return {
|
|
59
59
|
values: n,
|
|
60
60
|
fieldOptions: r
|
|
@@ -523,4 +523,4 @@ var g = {
|
|
|
523
523
|
});
|
|
524
524
|
});
|
|
525
525
|
//#endregion
|
|
526
|
-
export { _ as default, h as normalizeFormData };
|
|
526
|
+
export { _ as FormWidget, _ as default, h as normalizeFormData };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e,
|
|
1
|
+
import { FormWidget as e, normalizeFormData as t } from "./FormWidget.js";
|
|
2
2
|
export { e as FormWidget, e as default, t as normalizeFormData };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "./CircularGauge.js";
|
|
2
|
-
import t from "./LinearGauge.js";
|
|
1
|
+
import { CircularGauge as e } from "./CircularGauge.js";
|
|
2
|
+
import { LinearGauge as t } from "./LinearGauge.js";
|
|
3
3
|
import { unwrapRows as n } from "../utils/inferFields.js";
|
|
4
4
|
import { memo as r, useCallback as i, useMemo as a } from "react";
|
|
5
5
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -241,4 +241,4 @@ var g = r(function({ widget: r, data: c, onClick: l, onDrilldown: u }) {
|
|
|
241
241
|
});
|
|
242
242
|
});
|
|
243
243
|
//#endregion
|
|
244
|
-
export { g as default };
|
|
244
|
+
export { g as GaugeWidget, g as default };
|