@burdenoff/microfe-bigconsole 2026.1031.1 → 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/dist/bigconsole/BigConsoleRoot.js +6 -4
- package/dist/bigconsole/assistant/assistantApi.js +1 -1
- package/dist/bigconsole/assistant/assistantProduct.js +70 -70
- package/dist/bigconsole/assistant/assistantRunPersistence.js +1 -1
- package/dist/bigconsole/assistant/assistantRuntime.js +1 -1
- package/dist/bigconsole/assistant/attachmentExtract.js +1 -1
- package/dist/bigconsole/assistant/conversationHistoryApi.js +1 -1
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +5 -4
- package/dist/bigconsole/assistant/pageContext.js +1 -1
- package/dist/bigconsole/assistant/pageControls.js +1 -1
- package/dist/bigconsole/assistant/previewController.js +1 -1
- package/dist/bigconsole/assistant/recordAdapters.js +1 -1
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +2 -2
- package/dist/bigconsole/components/DrilldownModal.js +1 -1
- package/dist/bigconsole/components/builder/WidgetInspector.js +1 -1
- package/dist/bigconsole/components/builder/index.js +5 -4
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +7 -7
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +2 -2
- package/dist/bigconsole/components/builder/inspector/LayoutSection.js +1 -1
- package/dist/bigconsole/components/builder/inspector/index.js +6 -5
- package/dist/bigconsole/components/common/index.js +4 -3
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +3 -3
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +9 -9
- package/dist/bigconsole/components/dashboard/DashboardGrid.js +2 -2
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +1 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +2 -2
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +4 -3
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +4 -4
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.js +2 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.js +1 -1
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +1 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.js +2 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/QuotaLimitNotice.js +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.js +2 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +152 -152
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +2 -2
- package/dist/bigconsole/components/dashboard/ShareDialog/index.js +2 -1
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +2 -2
- package/dist/bigconsole/components/dashboard/index.js +6 -5
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +2 -2
- package/dist/bigconsole/components/datasink/DataSinkCard.js +2 -2
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +1 -1
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +1 -1
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +1 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +1 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +1 -1
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +1 -1
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +1 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +1 -1
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +1 -1
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +1 -1
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.js +9 -9
- package/dist/bigconsole/components/embed/widgets/FormEmbed.js +2 -2
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.js +2 -2
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.js +1 -1
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.js +1 -1
- package/dist/bigconsole/components/overview/DashboardGuide.js +1 -1
- package/dist/bigconsole/components/overview/DataHealthCard.js +2 -2
- package/dist/bigconsole/components/overview/OverviewQuickActions.js +1 -1
- package/dist/bigconsole/components/overview/OverviewStatCard.js +1 -1
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +2 -2
- package/dist/bigconsole/components/overview/index.js +9 -8
- package/dist/bigconsole/components/overview/overviewModel.js +1 -1
- package/dist/bigconsole/components/parser/DataSinkSelector.js +2 -2
- package/dist/bigconsole/components/parser/ExportParserDialog.js +1 -1
- package/dist/bigconsole/components/parser/ExpressionEditor.js +1 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.js +10 -10
- package/dist/bigconsole/components/parser/ParserCard.js +3 -3
- package/dist/bigconsole/components/parser/ParserSelector.js +3 -3
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +1 -1
- package/dist/bigconsole/components/parser/ParserTypeBadge.js +1 -1
- package/dist/bigconsole/components/pipeline/PipelineCard.js +2 -2
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +1 -1
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +1 -1
- package/dist/bigconsole/components/preview/AiPreviewContent.js +3 -3
- package/dist/bigconsole/components/preview/confirmedPreviewWidgets.js +10 -12
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +314 -314
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +3 -2
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +37 -22
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +2 -2
- package/dist/bigconsole/components/widgets/WidgetMenu.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +16 -16
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +1 -1
- package/dist/bigconsole/components/widgets/adaptive-card/index.js +1 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarView.js +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +9 -9
- package/dist/bigconsole/components/widgets/calendar/index.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartLegend.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.js +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartWidget.js +10 -10
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.js +2 -2
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.js +1 -1
- package/dist/bigconsole/components/widgets/chart/charts/index.js +6 -5
- package/dist/bigconsole/components/widgets/chart/charts/numericSeries.js +4 -2
- package/dist/bigconsole/components/widgets/chart/index.js +9 -9
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js +1 -1
- package/dist/bigconsole/components/widgets/custom/index.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/index.js +2 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.js +2 -2
- package/dist/bigconsole/components/widgets/form/index.js +1 -1
- package/dist/bigconsole/components/widgets/funnel/index.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +3 -3
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +1 -1
- package/dist/bigconsole/components/widgets/gauge/index.js +4 -4
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +1 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js +1 -1
- package/dist/bigconsole/components/widgets/heatmap/index.js +2 -2
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +1 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/index.js +2 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanView.js +1 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +2 -2
- package/dist/bigconsole/components/widgets/kanban/index.js +1 -1
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.js +1 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +3 -3
- package/dist/bigconsole/components/widgets/kpi-comparison/index.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListItem.js +1 -1
- package/dist/bigconsole/components/widgets/list/ListWidget.js +2 -2
- package/dist/bigconsole/components/widgets/list/index.js +3 -3
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +1 -1
- package/dist/bigconsole/components/widgets/map-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js +2 -2
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +4 -4
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +1 -1
- package/dist/bigconsole/components/widgets/metric-card/index.js +5 -5
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +3 -3
- package/dist/bigconsole/components/widgets/pivot-table/index.js +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressBar.js +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +6 -4
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +2 -2
- package/dist/bigconsole/components/widgets/progress/index.js +3 -3
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +1 -1
- package/dist/bigconsole/components/widgets/retention/index.js +1 -1
- package/dist/bigconsole/components/widgets/states/EmptyState.js +1 -1
- package/dist/bigconsole/components/widgets/states/ErrorState.js +1 -1
- package/dist/bigconsole/components/widgets/states/LoadingState.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableCell.js +2 -2
- package/dist/bigconsole/components/widgets/table/TableConfig.js +12 -8
- package/dist/bigconsole/components/widgets/table/TableHeader.js +1 -1
- package/dist/bigconsole/components/widgets/table/TablePagination.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.js +12 -10
- package/dist/bigconsole/components/widgets/table/index.js +5 -5
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +1 -1
- package/dist/bigconsole/components/widgets/text-widget/index.js +1 -1
- package/dist/bigconsole/components/widgets/text-widget/textData.js +2 -2
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +1 -1
- package/dist/bigconsole/components/widgets/timeline/index.js +1 -1
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/index.js +2 -1
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +1 -1
- package/dist/bigconsole/components/widgets/widget-actions/index.js +2 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.js +2 -2
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +1 -1
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +1 -1
- package/dist/bigconsole/context/BigConsoleContext.js +2 -1
- package/dist/bigconsole/context/index.js +2 -1
- package/dist/bigconsole/contexts/CrossFilterContext.js +1 -1
- package/dist/bigconsole/contexts/NavigationContext.js +2 -1
- package/dist/bigconsole/contexts/index.js +3 -2
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +2 -2
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +6 -5
- package/dist/bigconsole/customWidget/index.js +2 -1
- package/dist/bigconsole/customWidget/proposalContract.js +1 -1
- package/dist/bigconsole/graphql/storeTemplates.js +5 -5
- package/dist/bigconsole/graphql/widgetCapabilities.js +1 -1
- package/dist/bigconsole/hooks/index.js +24 -23
- package/dist/bigconsole/hooks/useActivePage.js +1 -1
- package/dist/bigconsole/hooks/useAutoRefresh.js +1 -1
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.js +1 -1
- package/dist/bigconsole/hooks/useCrossFilter.js +1 -1
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.js +1 -1
- package/dist/bigconsole/hooks/useDashboardImageExport.js +1 -1
- package/dist/bigconsole/hooks/useDashboardOperations.js +14 -6
- package/dist/bigconsole/hooks/useDashboardSharing.js +15 -8
- package/dist/bigconsole/hooks/useDashboardViews.js +15 -8
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +11 -8
- package/dist/bigconsole/hooks/useDataSinkOperations.js +19 -10
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +1 -1
- package/dist/bigconsole/hooks/useDrilldown.js +2 -2
- package/dist/bigconsole/hooks/useDrilldownOperations.js +1 -1
- package/dist/bigconsole/hooks/useEventLogs.js +1 -1
- package/dist/bigconsole/hooks/useEventWebhooks.js +1 -1
- package/dist/bigconsole/hooks/useExportDashboard.js +7 -3
- package/dist/bigconsole/hooks/useExportDataSink.js +5 -3
- package/dist/bigconsole/hooks/useExportParser.js +5 -3
- package/dist/bigconsole/hooks/useFilterPresets.js +1 -1
- package/dist/bigconsole/hooks/useFilterUrlSync.js +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.js +11 -6
- package/dist/bigconsole/hooks/useImportDashboard.js +4 -2
- package/dist/bigconsole/hooks/useImportDataSink.js +3 -2
- package/dist/bigconsole/hooks/useImportParser.js +3 -2
- package/dist/bigconsole/hooks/useInstalledWidgets.js +1 -1
- package/dist/bigconsole/hooks/useModalFocusTrap.js +1 -1
- package/dist/bigconsole/hooks/usePageOperations.js +9 -5
- package/dist/bigconsole/hooks/useParserOperations.js +15 -8
- package/dist/bigconsole/hooks/usePipelineOperations.js +25 -13
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.js +1 -1
- package/dist/bigconsole/hooks/useWidgetActions.js +1 -1
- package/dist/bigconsole/hooks/useWidgetCatalog.js +5 -5
- package/dist/bigconsole/hooks/useWidgetComments.js +1 -1
- package/dist/bigconsole/hooks/useWidgetConfigPersist.js +1 -1
- package/dist/bigconsole/hooks/useWidgetData.js +1 -1
- package/dist/bigconsole/hooks/useWidgetEvents.js +1 -1
- package/dist/bigconsole/hooks/useWidgetExport.js +1 -1
- package/dist/bigconsole/hooks/useWidgetOperations.js +28 -16
- package/dist/bigconsole/hooks/useWorkflowOperations.js +19 -10
- package/dist/bigconsole/index.js +9 -8
- package/dist/bigconsole/pages/DashboardBuilderPage.js +44 -35
- package/dist/bigconsole/pages/DashboardViewPage.js +23 -16
- package/dist/bigconsole/pages/DashboardsPage.js +4 -4
- package/dist/bigconsole/pages/DataParsersPage.js +2 -2
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +12 -7
- package/dist/bigconsole/pages/DataSinkViewPage.js +8 -8
- package/dist/bigconsole/pages/DataSinksPage.js +6 -6
- package/dist/bigconsole/pages/OverviewPage.js +5 -5
- package/dist/bigconsole/pages/ParserBuilderPage.js +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +4 -4
- package/dist/bigconsole/pages/PipelineBuilderPage.js +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +7 -3
- package/dist/bigconsole/pages/PipelinesPage.js +2 -2
- package/dist/bigconsole/pages/WidgetDemoPage.js +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +7 -14
- package/dist/bigconsole/pages/WorkflowsPage.js +3 -3
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +4 -4
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +1 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +13 -12
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js +1 -1
- package/dist/bigconsole/renderers/registry/RendererRegistry.js +5 -5
- package/dist/bigconsole/store/drilldownStore.js +1 -1
- package/dist/bigconsole/store/index.js +4 -3
- package/dist/bigconsole/store/parserStore.js +1 -1
- package/dist/bigconsole/store/pipelineStore.js +1 -1
- package/dist/bigconsole/utils/advancedWidgetCapabilities.js +1 -1
- package/dist/bigconsole/utils/backendError.js +21 -22
- package/dist/bigconsole/utils/createDialogParam.js +2 -2
- package/dist/bigconsole/utils/csv.js +34 -36
- package/dist/bigconsole/utils/dataSinkPayload.js +12 -14
- package/dist/bigconsole/utils/drilldownParams.js +1 -1
- package/dist/bigconsole/utils/formDirty.js +3 -3
- package/dist/bigconsole/utils/layoutBaseline.js +1 -1
- package/dist/bigconsole/utils/quota.js +4 -4
- package/dist/bigconsole/utils/safeUrl.js +35 -33
- package/dist/bigconsole/utils/sanitizeHtml.js +2 -2
- package/dist/bigconsole/utils/templateGalleryFilter.js +2 -2
- package/dist/bigconsole/utils/widgetBinding.js +2 -2
- package/dist/bigconsole/utils/widgetDisplayData.js +1 -1
- package/dist/bigconsole/utils/widgetTypeMapping.js +3 -3
- package/dist/bigconsole/workflowOpen.js +2 -2
- package/dist/index.js +1 -1
- package/dist/node_modules/@e965/xlsx/xlsx.js +19 -19
- package/dist/node_modules/dompurify/dist/purify.es.js +454 -361
- package/dist/node_modules/pdfjs-dist/build/pdf.js +16 -16
- package/dist/shared/hooks/useTr.js +1 -1
- package/package.json +13 -12
|
@@ -9,8 +9,8 @@ import { Section as o, SectionStack as s } from "../components/common/Section.js
|
|
|
9
9
|
import "../components/common/index.js";
|
|
10
10
|
import { BIGCONSOLE_PERMISSIONS as c } from "../../constants/permissions.js";
|
|
11
11
|
import { isNative as l, nativeNotify as u } from "../../utils/nativeBridge.js";
|
|
12
|
-
import d from "../components/workflow/WorkflowDeleteDialog.js";
|
|
13
|
-
import f from "../components/workflow/WorkflowCard.js";
|
|
12
|
+
import { WorkflowDeleteDialog as d } from "../components/workflow/WorkflowDeleteDialog.js";
|
|
13
|
+
import { WorkflowCard as f } from "../components/workflow/WorkflowCard.js";
|
|
14
14
|
import { memo as p, useCallback as m, useMemo as h, useState as g } from "react";
|
|
15
15
|
import { AccessDenied as _, PermissionButton as v } from "@burdenoff/fe-libs/shared/components";
|
|
16
16
|
import { usePermissions as y } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
@@ -284,4 +284,4 @@ var A = p(function() {
|
|
|
284
284
|
});
|
|
285
285
|
});
|
|
286
286
|
//#endregion
|
|
287
|
-
export { A as WorkflowsPage };
|
|
287
|
+
export { A as WorkflowsPage, A as default };
|
|
@@ -29,11 +29,11 @@ function g(e, t, n) {
|
|
|
29
29
|
if (i.length > 0) {
|
|
30
30
|
let e = Object.fromEntries(Object.entries(n).filter(([e]) => e !== "$data"));
|
|
31
31
|
return i.map((t) => {
|
|
32
|
-
let n = typeof t == "object" && t ? t : { value: t }
|
|
33
|
-
return g(e, {
|
|
32
|
+
let n = typeof t == "object" && t ? t : { value: t }, i = {
|
|
34
33
|
...r,
|
|
35
34
|
...n
|
|
36
|
-
}
|
|
35
|
+
};
|
|
36
|
+
return g(e, i, r);
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -581,4 +581,4 @@ if (typeof document < "u" && !document.getElementById(x)) {
|
|
|
581
581
|
`, document.head.appendChild(e);
|
|
582
582
|
}
|
|
583
583
|
//#endregion
|
|
584
|
-
export { b as default };
|
|
584
|
+
export { b as AdaptiveCardRenderer, b as default };
|
|
@@ -12,7 +12,7 @@ function s(e) {
|
|
|
12
12
|
function c() {
|
|
13
13
|
return Array.from(a.keys());
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
var l = ({ data: e, props: t }) => {
|
|
16
16
|
let { t: i } = n(), a = e.text || t?.text, o = t?.align || "left";
|
|
17
17
|
return a ? /* @__PURE__ */ r("div", {
|
|
18
18
|
className: `p-4 text-${o}`,
|
|
@@ -27,7 +27,7 @@ o("SimpleText", ({ data: e, props: t }) => {
|
|
|
27
27
|
children: i("bigconsole.widget.renderer.custom.noData", "No data available")
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
|
-
}
|
|
30
|
+
}, u = ({ data: e, props: t }) => {
|
|
31
31
|
let { t: a } = n(), o = e.value ?? t?.value, s = e.label || t?.label, c = t?.format || "number";
|
|
32
32
|
if (o == null) return /* @__PURE__ */ r("div", {
|
|
33
33
|
className: "flex flex-col items-center justify-center h-full p-4 text-secondary",
|
|
@@ -50,7 +50,7 @@ o("SimpleText", ({ data: e, props: t }) => {
|
|
|
50
50
|
children: s
|
|
51
51
|
})]
|
|
52
52
|
});
|
|
53
|
-
}
|
|
53
|
+
}, d = ({ data: e, props: t, onAction: a }) => {
|
|
54
54
|
let { t: o } = n(), s = e.title || t?.title, c = e.description || t?.description || "";
|
|
55
55
|
if (!s && !c) return /* @__PURE__ */ r("div", {
|
|
56
56
|
className: "flex items-center justify-center h-full p-4 text-secondary",
|
|
@@ -92,8 +92,9 @@ o("SimpleText", ({ data: e, props: t }) => {
|
|
|
92
92
|
})
|
|
93
93
|
]
|
|
94
94
|
});
|
|
95
|
-
}
|
|
96
|
-
|
|
95
|
+
};
|
|
96
|
+
o("SimpleText", l), o("Counter", u), o("Card", d);
|
|
97
|
+
var f = ({ componentName: e }) => {
|
|
97
98
|
let { t } = n();
|
|
98
99
|
return /* @__PURE__ */ r("div", {
|
|
99
100
|
className: "flex flex-col items-center justify-center h-full p-4 text-secondary animate-in fade-in duration-200",
|
|
@@ -121,7 +122,7 @@ var l = ({ componentName: e }) => {
|
|
|
121
122
|
]
|
|
122
123
|
})
|
|
123
124
|
});
|
|
124
|
-
},
|
|
125
|
+
}, p = e(function({ widget: e, data: a, template: o, isLoading: c, error: l, onDrilldown: u, onAction: d }) {
|
|
125
126
|
let { t: p } = n(), m = t(() => {
|
|
126
127
|
if (o && typeof o == "object" && "componentName" in o) return o.componentName;
|
|
127
128
|
let t = e.config;
|
|
@@ -133,7 +134,7 @@ var l = ({ componentName: e }) => {
|
|
|
133
134
|
className: "animate-pulse space-y-2 w-full",
|
|
134
135
|
children: [/* @__PURE__ */ r("div", { className: "h-4 bg-bg-sunken rounded w-3/4" }), /* @__PURE__ */ r("div", { className: "h-4 bg-bg-sunken rounded w-1/2" })]
|
|
135
136
|
})
|
|
136
|
-
}) :
|
|
137
|
+
}) : l ? /* @__PURE__ */ r("div", {
|
|
137
138
|
className: "flex items-center justify-center h-full p-4 text-red-600 dark:text-red-400",
|
|
138
139
|
children: /* @__PURE__ */ i("div", {
|
|
139
140
|
className: "text-center",
|
|
@@ -142,7 +143,7 @@ var l = ({ componentName: e }) => {
|
|
|
142
143
|
children: p("bigconsole.widget.renderer.custom.errorRendering", "Error rendering component")
|
|
143
144
|
}), /* @__PURE__ */ r("p", {
|
|
144
145
|
className: "text-sm mt-1",
|
|
145
|
-
children:
|
|
146
|
+
children: l
|
|
146
147
|
})]
|
|
147
148
|
})
|
|
148
149
|
}) : m ? g ? /* @__PURE__ */ r(g, {
|
|
@@ -150,9 +151,9 @@ var l = ({ componentName: e }) => {
|
|
|
150
151
|
data: a,
|
|
151
152
|
template: o,
|
|
152
153
|
props: h,
|
|
153
|
-
onAction:
|
|
154
|
-
onDrilldown:
|
|
155
|
-
}) : /* @__PURE__ */ r(
|
|
154
|
+
onAction: d,
|
|
155
|
+
onDrilldown: u
|
|
156
|
+
}) : /* @__PURE__ */ r(f, { componentName: m }) : /* @__PURE__ */ r("div", {
|
|
156
157
|
className: "flex items-center justify-center h-full p-4 text-secondary animate-in fade-in duration-200",
|
|
157
158
|
children: /* @__PURE__ */ i("div", {
|
|
158
159
|
className: "text-center",
|
|
@@ -167,4 +168,4 @@ var l = ({ componentName: e }) => {
|
|
|
167
168
|
});
|
|
168
169
|
});
|
|
169
170
|
//#endregion
|
|
170
|
-
export { u as default };
|
|
171
|
+
export { d as CardComponent, u as CounterComponent, p as CustomRenderer, p as default, l as SimpleTextComponent, s as getCustomComponent, c as getRegisteredComponentNames, o as registerCustomComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "../adapters/BigConsoleRenderer.js";
|
|
2
|
-
import t from "../adapters/AdaptiveCardRenderer.js";
|
|
3
|
-
import n from "../adapters/BlockKitRenderer.js";
|
|
4
|
-
import r from "../adapters/CustomRenderer.js";
|
|
1
|
+
import { BigConsoleRenderer as e } from "../adapters/BigConsoleRenderer.js";
|
|
2
|
+
import { AdaptiveCardRenderer as t } from "../adapters/AdaptiveCardRenderer.js";
|
|
3
|
+
import { BlockKitRenderer as n } from "../adapters/BlockKitRenderer.js";
|
|
4
|
+
import { CustomRenderer as r } from "../adapters/CustomRenderer.js";
|
|
5
5
|
//#region src/bigconsole/renderers/registry/RendererRegistry.ts
|
|
6
6
|
var i = {
|
|
7
7
|
supportsDataBinding: !0,
|
|
@@ -134,4 +134,4 @@ function p(e) {
|
|
|
134
134
|
return "BIGCONSOLE";
|
|
135
135
|
}
|
|
136
136
|
//#endregion
|
|
137
|
-
export { p as getDefaultRenderer, u as getRendererDefinition, d as isValidRendererType, f as rendererSupportsWidgetType };
|
|
137
|
+
export { l as RENDERER_DEFINITIONS, l as default, p as getDefaultRenderer, u as getRendererDefinition, d as isValidRendererType, f as rendererSupportsWidgetType };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./widgetStore.js";
|
|
2
|
-
import "./dashboardStore.js";
|
|
3
|
-
import "./drilldownStore.js";
|
|
1
|
+
import { useIsWidgetSelected as e, useWidgetStore as t, useWidgetUIState as n } from "./widgetStore.js";
|
|
2
|
+
import { useDashboardStore as r, useGlobalFilterValues as i, useIsEditMode as a } from "./dashboardStore.js";
|
|
3
|
+
import o from "./drilldownStore.js";
|
|
4
4
|
import "./dataSinkStore.js";
|
|
5
5
|
import "./parserStore.js";
|
|
6
6
|
import "./workflowStore.js";
|
|
7
7
|
import "./pipelineStore.js";
|
|
8
|
+
export { r as useDashboardStore, o as useDrilldownStore, i as useGlobalFilterValues, a as useIsEditMode, e as useIsWidgetSelected, t as useWidgetStore, n as useWidgetUIState };
|
|
@@ -131,7 +131,7 @@ var i = {
|
|
|
131
131
|
isTesting: n
|
|
132
132
|
}), { parserUIStates: r };
|
|
133
133
|
}),
|
|
134
|
-
markParserDirty: (t) => e((e) => ({ dirtyParserIds: new Set([...e.dirtyParserIds, t]) })),
|
|
134
|
+
markParserDirty: (t) => e((e) => ({ dirtyParserIds: /* @__PURE__ */ new Set([...e.dirtyParserIds, t]) })),
|
|
135
135
|
markParserClean: (t) => e((e) => {
|
|
136
136
|
let n = new Set(e.dirtyParserIds);
|
|
137
137
|
return n.delete(t), { dirtyParserIds: n };
|
|
@@ -190,7 +190,7 @@ var i = {
|
|
|
190
190
|
isTesting: n
|
|
191
191
|
}), { pipelineUIStates: r };
|
|
192
192
|
}),
|
|
193
|
-
markPipelineDirty: (t) => e((e) => ({ dirtyPipelineIds: new Set([...e.dirtyPipelineIds, t]) })),
|
|
193
|
+
markPipelineDirty: (t) => e((e) => ({ dirtyPipelineIds: /* @__PURE__ */ new Set([...e.dirtyPipelineIds, t]) })),
|
|
194
194
|
markPipelineClean: (t) => e((e) => {
|
|
195
195
|
let n = new Set(e.dirtyPipelineIds);
|
|
196
196
|
return n.delete(t), { dirtyPipelineIds: n };
|
|
@@ -2,41 +2,40 @@
|
|
|
2
2
|
function e(e) {
|
|
3
3
|
return typeof e == "object" && !!e;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
function n(t) {
|
|
5
|
+
function t(t) {
|
|
7
6
|
return Array.isArray(t) ? t.flatMap((t) => {
|
|
8
7
|
let n = e(t) && e(t.extensions) ? t.extensions.code : void 0;
|
|
9
8
|
return typeof n == "string" && n.length > 0 ? [n] : [];
|
|
10
9
|
}) : [];
|
|
11
10
|
}
|
|
12
|
-
function
|
|
13
|
-
if (typeof
|
|
11
|
+
function n(n) {
|
|
12
|
+
if (typeof n != "string" || n.length === 0) return [];
|
|
14
13
|
try {
|
|
15
|
-
let r = JSON.parse(
|
|
16
|
-
return e(r) ?
|
|
14
|
+
let r = JSON.parse(n);
|
|
15
|
+
return e(r) ? t(r.errors) : [];
|
|
17
16
|
} catch {
|
|
18
17
|
return [];
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
function
|
|
22
|
-
let
|
|
23
|
-
if (!e(
|
|
24
|
-
|
|
25
|
-
let
|
|
20
|
+
function r(r) {
|
|
21
|
+
let i = /* @__PURE__ */ new Set(), a = (r, o) => {
|
|
22
|
+
if (!e(r) || o > 4 || i.has(r)) return [];
|
|
23
|
+
i.add(r);
|
|
24
|
+
let s = e(r.extensions) ? r.extensions.code : void 0;
|
|
26
25
|
return [
|
|
27
|
-
...
|
|
28
|
-
...
|
|
29
|
-
...e(
|
|
30
|
-
...r
|
|
31
|
-
...typeof
|
|
32
|
-
...
|
|
33
|
-
...
|
|
26
|
+
...t(r.errors),
|
|
27
|
+
...t(r.graphQLErrors),
|
|
28
|
+
...e(r.result) ? t(r.result.errors) : [],
|
|
29
|
+
...n(r.bodyText),
|
|
30
|
+
...typeof s == "string" && s.length > 0 ? [s] : [],
|
|
31
|
+
...a(r.cause, o + 1),
|
|
32
|
+
...a(r.error, o + 1)
|
|
34
33
|
];
|
|
35
34
|
};
|
|
36
|
-
return [...new Set(
|
|
35
|
+
return [...new Set(a(r, 0))];
|
|
37
36
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
37
|
+
function i(e, t) {
|
|
38
|
+
return r(e).some((e) => t.has(e));
|
|
40
39
|
}
|
|
41
40
|
//#endregion
|
|
42
|
-
export {
|
|
41
|
+
export { r as graphQLErrorCodes, i as hasGraphQLErrorCode };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/bigconsole/utils/createDialogParam.ts
|
|
2
|
-
var e = "create", t = new Set(["1", "true"]);
|
|
2
|
+
var e = "create", t = /* @__PURE__ */ new Set(["1", "true"]);
|
|
3
3
|
function n(n, r) {
|
|
4
4
|
let i = n.get(e);
|
|
5
5
|
return i === null ? "none" : r.permissionsLoading ? "wait" : t.has(i.trim().toLowerCase()) && r.canRead && r.canCreate ? "open" : "strip";
|
|
@@ -9,4 +9,4 @@ function r(t) {
|
|
|
9
9
|
return n.delete(e), n;
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
export { n as resolveCreateParam, r as withoutCreateParam };
|
|
12
|
+
export { e as CREATE_DIALOG_PARAM, n as resolveCreateParam, r as withoutCreateParam };
|
|
@@ -1,50 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, u = () => {
|
|
7
|
-
l(), r.push(a), a = [];
|
|
1
|
+
function e(e, t) {
|
|
2
|
+
let n = [], r = "", i = [], a = !1, o = 0, s = e.length, c = () => {
|
|
3
|
+
i.push(r), r = "";
|
|
4
|
+
}, l = () => {
|
|
5
|
+
c(), n.push(i), i = [];
|
|
8
6
|
};
|
|
9
|
-
for (;
|
|
10
|
-
let
|
|
11
|
-
if (
|
|
12
|
-
if (
|
|
13
|
-
if (
|
|
14
|
-
|
|
7
|
+
for (; o < s;) {
|
|
8
|
+
let n = e[o];
|
|
9
|
+
if (a) {
|
|
10
|
+
if (n === "\"") {
|
|
11
|
+
if (e[o + 1] === "\"") {
|
|
12
|
+
r += "\"", o += 2;
|
|
15
13
|
continue;
|
|
16
14
|
}
|
|
17
|
-
|
|
15
|
+
a = !1, o += 1;
|
|
18
16
|
continue;
|
|
19
17
|
}
|
|
20
|
-
|
|
18
|
+
r += n, o += 1;
|
|
21
19
|
continue;
|
|
22
20
|
}
|
|
23
|
-
if (
|
|
24
|
-
|
|
21
|
+
if (n === "\"") {
|
|
22
|
+
r === "" ? a = !0 : r += n, o += 1;
|
|
25
23
|
continue;
|
|
26
24
|
}
|
|
27
|
-
if (
|
|
28
|
-
|
|
25
|
+
if (n === t) {
|
|
26
|
+
c(), o += 1;
|
|
29
27
|
continue;
|
|
30
28
|
}
|
|
31
|
-
if (
|
|
32
|
-
|
|
29
|
+
if (n === "\r") {
|
|
30
|
+
e[o + 1] === "\n" && (o += 1), l(), o += 1;
|
|
33
31
|
continue;
|
|
34
32
|
}
|
|
35
|
-
if (
|
|
36
|
-
|
|
33
|
+
if (n === "\n") {
|
|
34
|
+
l(), o += 1;
|
|
37
35
|
continue;
|
|
38
36
|
}
|
|
39
|
-
|
|
37
|
+
r += n, o += 1;
|
|
40
38
|
}
|
|
41
|
-
if (
|
|
42
|
-
return
|
|
39
|
+
if (a) throw Error("CSV could not be parsed: an opening quote is never closed.");
|
|
40
|
+
return l(), n;
|
|
43
41
|
}
|
|
44
|
-
function
|
|
42
|
+
function t(e) {
|
|
45
43
|
return e.length <= 1 && (e[0] ?? "").trim() === "";
|
|
46
44
|
}
|
|
47
|
-
function
|
|
45
|
+
function n(e) {
|
|
48
46
|
let t = e.trim();
|
|
49
47
|
if (t === "") return null;
|
|
50
48
|
let n = t.toLowerCase();
|
|
@@ -56,7 +54,7 @@ function r(e) {
|
|
|
56
54
|
}
|
|
57
55
|
return e;
|
|
58
56
|
}
|
|
59
|
-
function
|
|
57
|
+
function r(e) {
|
|
60
58
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
|
|
61
59
|
return e.map((e, r) => {
|
|
62
60
|
let i = e.trim() || `column_${r + 1}`;
|
|
@@ -68,22 +66,22 @@ function i(e) {
|
|
|
68
66
|
return n.set(i, a), t.add(o), o;
|
|
69
67
|
});
|
|
70
68
|
}
|
|
71
|
-
function
|
|
72
|
-
let o = a.delimiter ?? ",", s =
|
|
69
|
+
function i(i, a = {}) {
|
|
70
|
+
let o = a.delimiter ?? ",", s = i.charCodeAt(0) === 65279 ? i.slice(1) : i;
|
|
73
71
|
if (s.trim() === "") throw Error("CSV is empty — nothing to import.");
|
|
74
|
-
let c =
|
|
72
|
+
let c = e(s, o).filter((e) => !t(e));
|
|
75
73
|
if (c.length === 0) throw Error("CSV is empty — nothing to import.");
|
|
76
|
-
let l =
|
|
74
|
+
let l = r(c[0]), u = c.slice(1);
|
|
77
75
|
if (u.length === 0) throw Error("CSV has a header row but no data rows to import.");
|
|
78
76
|
return {
|
|
79
77
|
columns: l,
|
|
80
78
|
rows: u.map((e) => {
|
|
81
79
|
let t = Object.create(null);
|
|
82
|
-
return l.forEach((
|
|
83
|
-
t[
|
|
80
|
+
return l.forEach((r, i) => {
|
|
81
|
+
t[r] = n(e[i] ?? "");
|
|
84
82
|
}), t;
|
|
85
83
|
})
|
|
86
84
|
};
|
|
87
85
|
}
|
|
88
86
|
//#endregion
|
|
89
|
-
export {
|
|
87
|
+
export { n as inferCsvValue, i as parseCsv };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function t(t) {
|
|
4
|
-
return typeof t.sizeBytes == "number" && t.sizeBytes > e;
|
|
1
|
+
function e(e) {
|
|
2
|
+
return typeof e.sizeBytes == "number" && e.sizeBytes > 2;
|
|
5
3
|
}
|
|
6
|
-
function
|
|
4
|
+
function t(e) {
|
|
7
5
|
if (e == null) return "";
|
|
8
6
|
if (typeof e == "string") try {
|
|
9
7
|
return JSON.stringify(JSON.parse(e), null, 2);
|
|
@@ -12,22 +10,22 @@ function n(e) {
|
|
|
12
10
|
}
|
|
13
11
|
return JSON.stringify(e, null, 2) ?? "";
|
|
14
12
|
}
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (t !== null && e === t) return
|
|
18
|
-
let
|
|
19
|
-
if (e.trim() === "") return
|
|
13
|
+
var n = { status: "unchanged" };
|
|
14
|
+
function r(e, t) {
|
|
15
|
+
if (t !== null && e === t) return n;
|
|
16
|
+
let r = t !== null && t.trim() !== "";
|
|
17
|
+
if (e.trim() === "") return r ? {
|
|
20
18
|
status: "changed",
|
|
21
19
|
payload: {}
|
|
22
|
-
} :
|
|
20
|
+
} : n;
|
|
23
21
|
let i;
|
|
24
22
|
try {
|
|
25
23
|
i = JSON.parse(e);
|
|
26
24
|
} catch {
|
|
27
25
|
return { status: "invalid" };
|
|
28
26
|
}
|
|
29
|
-
if (
|
|
30
|
-
if (JSON.stringify(JSON.parse(t)) === JSON.stringify(i)) return
|
|
27
|
+
if (r) try {
|
|
28
|
+
if (JSON.stringify(JSON.parse(t)) === JSON.stringify(i)) return n;
|
|
31
29
|
} catch {}
|
|
32
30
|
return {
|
|
33
31
|
status: "changed",
|
|
@@ -35,4 +33,4 @@ function i(e, t) {
|
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
35
|
//#endregion
|
|
38
|
-
export {
|
|
36
|
+
export { r as diffPayloadEditor, t as formatPayloadForEditor, e as hasDataSinkPayload };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/bigconsole/utils/drilldownParams.ts
|
|
2
2
|
function e(e) {
|
|
3
|
-
return Object.entries(e).filter(([e, t]) => e.startsWith("__") || t == null ? !1 : typeof t == "string" ? t.trim().length > 0 : Array.isArray(t)
|
|
3
|
+
return Object.entries(e).filter(([e, t]) => e.startsWith("__") || t == null ? !1 : typeof t == "string" ? t.trim().length > 0 : !Array.isArray(t) || t.length > 0);
|
|
4
4
|
}
|
|
5
5
|
//#endregion
|
|
6
6
|
export { e as getVisibleDrilldownParams };
|
|
@@ -12,10 +12,10 @@ function t(e) {
|
|
|
12
12
|
return e;
|
|
13
13
|
}
|
|
14
14
|
function n(t, n) {
|
|
15
|
-
return n
|
|
15
|
+
return n != null && e(t) !== e(n);
|
|
16
16
|
}
|
|
17
17
|
function r(e, t, r, i) {
|
|
18
|
-
return e
|
|
18
|
+
return e !== t || !n(r, i);
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
export { n as isDirty, r as shouldReseedForm };
|
|
21
|
+
export { n as isDirty, r as shouldReseedForm, e as stableStringify };
|
|
@@ -93,4 +93,4 @@ function f(e, t) {
|
|
|
93
93
|
return e.frozen && l(t, e.baseline);
|
|
94
94
|
}
|
|
95
95
|
//#endregion
|
|
96
|
-
export { u as INITIAL_LAYOUT_BASELINE, f as isLayoutBaselineDirty, o as layoutFromWidgets, s as layoutItemsFromPositionUpdates, a as normaliseLayout, d as reduceLayoutBaseline };
|
|
96
|
+
export { e as DEFAULT_LAYOUT_CELL, u as INITIAL_LAYOUT_BASELINE, f as isLayoutBaselineDirty, l as layoutDirty, c as layoutEquals, o as layoutFromWidgets, s as layoutItemsFromPositionUpdates, a as normaliseLayout, d as reduceLayoutBaseline };
|
|
@@ -3,20 +3,20 @@ import { extractQuotaExhaustedExtensions as e } from "@burdenoff/fe-libs/shared/
|
|
|
3
3
|
var t = "bigconsole:quota-exhausted", n = "QUOTA_NOT_PROVISIONED", r = {
|
|
4
4
|
billing: "/billing",
|
|
5
5
|
billingSetup: "/billing/overview"
|
|
6
|
-
}, i = new Set([
|
|
6
|
+
}, i = /* @__PURE__ */ new Set([
|
|
7
7
|
"createbigconsoledashboard",
|
|
8
8
|
"clonedashboard",
|
|
9
9
|
"importdashboard",
|
|
10
10
|
"importbigconsoledashboard",
|
|
11
11
|
"instantiatetemplate",
|
|
12
12
|
"createdashboardfromgeneration"
|
|
13
|
-
]), a = new Set(["createdashboardview"]), o = new Set([
|
|
13
|
+
]), a = /* @__PURE__ */ new Set(["createdashboardview"]), o = /* @__PURE__ */ new Set([
|
|
14
14
|
"generatedashboardfromprompt",
|
|
15
15
|
"refinegenerateddashboard",
|
|
16
16
|
"regeneratedashboard",
|
|
17
17
|
"conversationaldashboardedit",
|
|
18
18
|
"previewpromptanalysis"
|
|
19
|
-
]), s = new Set(["bigconsole.projects.count"]), c = new Set(["bigconsole.sessions.count"]), l = new Set(["bigconsole.commands.count"]);
|
|
19
|
+
]), s = /* @__PURE__ */ new Set(["bigconsole.projects.count"]), c = /* @__PURE__ */ new Set(["bigconsole.sessions.count"]), l = /* @__PURE__ */ new Set(["bigconsole.commands.count"]);
|
|
20
20
|
function u(e) {
|
|
21
21
|
return typeof e == "object" && !!e;
|
|
22
22
|
}
|
|
@@ -120,4 +120,4 @@ function b(e) {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
|
-
export { t as BIGCONSOLE_QUOTA_EXHAUSTED_EVENT, y as bigConsoleBillingPathFor, v as bigConsoleQuotaLimit, g as classifyBigConsoleQuotaError, p as createBigConsoleQuotaError, b as getBigConsoleQuotaDialogContent, m as isBigConsoleQuotaError, _ as reportBigConsoleQuotaError };
|
|
123
|
+
export { r as BIGCONSOLE_BILLING_PATHS, t as BIGCONSOLE_QUOTA_EXHAUSTED_EVENT, n as QUOTA_NOT_PROVISIONED_CODE, y as bigConsoleBillingPathFor, v as bigConsoleQuotaLimit, g as classifyBigConsoleQuotaError, p as createBigConsoleQuotaError, d as extractBigConsoleQuotaExtensions, b as getBigConsoleQuotaDialogContent, h as inferBigConsoleQuotaKind, f as isBigConsoleBillingNotProvisionedError, m as isBigConsoleQuotaError, _ as reportBigConsoleQuotaError };
|
|
@@ -1,93 +1,95 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/bigconsole/utils/safeUrl.ts
|
|
2
|
+
var e = 2048;
|
|
3
|
+
function t(e) {
|
|
2
4
|
for (let t = 0; t < e.length; t += 1) {
|
|
3
5
|
let n = e.charCodeAt(t);
|
|
4
6
|
if (n < 32 || n === 127) return !0;
|
|
5
7
|
}
|
|
6
8
|
return !1;
|
|
7
9
|
}
|
|
8
|
-
var
|
|
9
|
-
function n(t) {
|
|
10
|
-
if (typeof t != "string") return null;
|
|
11
|
-
let n = t.trim();
|
|
12
|
-
return !n || n.length > 2048 || e(n) ? null : n;
|
|
13
|
-
}
|
|
10
|
+
var n = "https://path-base.invalid";
|
|
14
11
|
function r(e) {
|
|
12
|
+
if (typeof e != "string") return null;
|
|
13
|
+
let n = e.trim();
|
|
14
|
+
return !n || n.length > 2048 || t(n) ? null : n;
|
|
15
|
+
}
|
|
16
|
+
function i(e) {
|
|
15
17
|
try {
|
|
16
18
|
return new URL(e);
|
|
17
19
|
} catch {
|
|
18
20
|
return null;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
|
-
function
|
|
22
|
-
let a =
|
|
23
|
+
function a(e, t = {}) {
|
|
24
|
+
let a = r(e);
|
|
23
25
|
if (!a) return null;
|
|
24
|
-
if (a.startsWith("#")) return
|
|
26
|
+
if (a.startsWith("#")) return t.allowFragment ? a : null;
|
|
25
27
|
if (a.startsWith("/")) {
|
|
26
|
-
if (!
|
|
28
|
+
if (!t.allowRootRelative) return null;
|
|
27
29
|
let e;
|
|
28
30
|
try {
|
|
29
|
-
e = new URL(a,
|
|
31
|
+
e = new URL(a, n);
|
|
30
32
|
} catch {
|
|
31
33
|
return null;
|
|
32
34
|
}
|
|
33
|
-
return e.origin ===
|
|
35
|
+
return e.origin === n ? `${e.pathname}${e.search}${e.hash}` : null;
|
|
34
36
|
}
|
|
35
|
-
let o =
|
|
36
|
-
return o ? o.protocol === "http:" || o.protocol === "https:" ? o.username || o.password ? null : o.href : o.protocol === "mailto:" &&
|
|
37
|
+
let o = i(a);
|
|
38
|
+
return o ? o.protocol === "http:" || o.protocol === "https:" ? o.username || o.password ? null : o.href : o.protocol === "mailto:" && t.allowMailto ? o.href : null : null;
|
|
37
39
|
}
|
|
38
|
-
function
|
|
40
|
+
function o(e) {
|
|
39
41
|
if (typeof e != "string") return null;
|
|
40
42
|
let t = e.trim();
|
|
41
43
|
if (!t) return null;
|
|
42
|
-
let n =
|
|
44
|
+
let n = i(t);
|
|
43
45
|
return !n || n.protocol !== "https:" || n.pathname !== "" && n.pathname !== "/" || n.search || n.hash ? null : n.origin;
|
|
44
46
|
}
|
|
45
|
-
function
|
|
47
|
+
function s(e, t = {}) {
|
|
46
48
|
if (typeof e != "string" || e.trim() === "") return {
|
|
47
49
|
ok: !1,
|
|
48
50
|
reason: "missing"
|
|
49
51
|
};
|
|
50
|
-
let
|
|
51
|
-
if (!
|
|
52
|
+
let n = r(e);
|
|
53
|
+
if (!n) return {
|
|
52
54
|
ok: !1,
|
|
53
55
|
reason: "invalid"
|
|
54
56
|
};
|
|
55
|
-
let
|
|
56
|
-
if (!
|
|
57
|
+
let a = i(n);
|
|
58
|
+
if (!a) return {
|
|
57
59
|
ok: !1,
|
|
58
60
|
reason: "invalid"
|
|
59
61
|
};
|
|
60
|
-
if (
|
|
62
|
+
if (a.protocol !== "https:") return {
|
|
61
63
|
ok: !1,
|
|
62
64
|
reason: "scheme"
|
|
63
65
|
};
|
|
64
|
-
if (
|
|
66
|
+
if (a.username || a.password) return {
|
|
65
67
|
ok: !1,
|
|
66
68
|
reason: "credentials"
|
|
67
69
|
};
|
|
68
|
-
if (t.appOrigin &&
|
|
70
|
+
if (t.appOrigin && a.origin === t.appOrigin) return {
|
|
69
71
|
ok: !1,
|
|
70
72
|
reason: "same-origin"
|
|
71
73
|
};
|
|
72
74
|
let s = t.allowedOrigins ?? [];
|
|
73
|
-
return s.length > 0 && !new Set(s.map((e) =>
|
|
75
|
+
return s.length > 0 && !new Set(s.map((e) => o(e)).filter((e) => e !== null)).has(a.origin) ? {
|
|
74
76
|
ok: !1,
|
|
75
77
|
reason: "origin-not-allowed"
|
|
76
78
|
} : {
|
|
77
79
|
ok: !0,
|
|
78
|
-
src:
|
|
79
|
-
origin:
|
|
80
|
+
src: a.href,
|
|
81
|
+
origin: a.origin
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
|
-
function
|
|
84
|
+
function c(e, t) {
|
|
83
85
|
return typeof t != "string" || t === "" || t === "." || t === ".." ? null : `${e.endsWith("/") ? e.slice(0, -1) : e}/${encodeURIComponent(t)}`;
|
|
84
86
|
}
|
|
85
|
-
function
|
|
87
|
+
function l() {
|
|
86
88
|
return typeof window > "u" || !window.location ? null : window.location.origin;
|
|
87
89
|
}
|
|
88
|
-
function
|
|
89
|
-
let n =
|
|
90
|
+
function u(e, t = {}) {
|
|
91
|
+
let n = a(e, t);
|
|
90
92
|
return !n || typeof window > "u" ? !1 : (window.open(n, "_blank", "noopener,noreferrer"), !0);
|
|
91
93
|
}
|
|
92
94
|
//#endregion
|
|
93
|
-
export {
|
|
95
|
+
export { e as MAX_URL_LENGTH, c as appendPathSegment, l as currentAppOrigin, o as normalizeHttpsOrigin, u as openExternalUrl, s as resolveFrameSrc, a as toSafeHref };
|