drizzle-cube 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/ActivityGridChart.config-BtECymia.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-CTd5HYjI.js +2 -0
- package/dist/adapters/AreaChart.config-1B8iQnfn.js +2 -0
- package/dist/adapters/AreaChart.config-hnncyQL4.cjs +1 -0
- package/dist/adapters/BarChart.config-C-QCf1rL.cjs +1 -0
- package/dist/adapters/BarChart.config-CFelK1qP.js +2 -0
- package/dist/adapters/BoxPlotChart.config-CD9WEPyF.js +2 -0
- package/dist/adapters/BoxPlotChart.config-DEbLA0BX.cjs +1 -0
- package/dist/adapters/BubbleChart.config-B_M4hzzV.js +2 -0
- package/dist/adapters/BubbleChart.config-dRZZlAke.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-Dsil2Fop.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-fuhyFvob.js +2 -0
- package/dist/adapters/DataTable.config-q2gqBi6t.cjs +1 -0
- package/dist/adapters/DataTable.config-wIQnHX5R.js +2 -0
- package/dist/adapters/FunnelChart.config-Dz710ssx.js +2 -0
- package/dist/adapters/FunnelChart.config-YNP9CeS-.cjs +1 -0
- package/dist/adapters/GaugeChart.config-BG9FcMCn.cjs +1 -0
- package/dist/adapters/GaugeChart.config-CgwniXkd.js +2 -0
- package/dist/adapters/HeatMapChart.config-1zSMXXoN.cjs +1 -0
- package/dist/adapters/HeatMapChart.config-YVEWx6s5.js +2 -0
- package/dist/adapters/KpiDelta.config-BWvYXuFp.cjs +1 -0
- package/dist/adapters/KpiDelta.config-C_dYM64q.js +2 -0
- package/dist/adapters/KpiNumber.config-CXg6toZG.js +2 -0
- package/dist/adapters/KpiNumber.config-CZmV-yU1.cjs +1 -0
- package/dist/adapters/KpiText.config-BY-SJvAF.js +2 -0
- package/dist/adapters/KpiText.config-GSIxy0CE.cjs +1 -0
- package/dist/adapters/LineChart.config-CJtF8SOu.js +2 -0
- package/dist/adapters/LineChart.config-d0y60gw9.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-B6w0spya.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BuIQcWOn.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-Bo2n5Ae5.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-C5d34lsc.js +2 -0
- package/dist/adapters/PieChart.config-CDxfXCIt.cjs +1 -0
- package/dist/adapters/PieChart.config-CuZxQc5m.js +2 -0
- package/dist/adapters/RadarChart.config-DpdVWyh5.cjs +1 -0
- package/dist/adapters/RadarChart.config-KrxwaaGu.js +2 -0
- package/dist/adapters/RadialBarChart.config-DpRZd0FW.js +2 -0
- package/dist/adapters/RadialBarChart.config-faIY4jpE.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-CUnScqnS.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-Dd8FuawP.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPd6GeoQ.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPlHbLom.cjs +1 -0
- package/dist/adapters/SankeyChart.config-DbIUqi-H.cjs +1 -0
- package/dist/adapters/SankeyChart.config-kzAnW0C7.js +2 -0
- package/dist/adapters/ScatterChart.config-4Okvn27v.js +2 -0
- package/dist/adapters/ScatterChart.config-4f9nNw3e.cjs +1 -0
- package/dist/adapters/SunburstChart.config-BsUQkIM_.js +2 -0
- package/dist/adapters/SunburstChart.config-lvnYkWs7.cjs +1 -0
- package/dist/adapters/TreeMapChart.config-S0qsgAFW.js +2 -0
- package/dist/adapters/TreeMapChart.config-jbwKsTYt.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CDQ74-pS.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-XdtH-O5g.js +2 -0
- package/dist/adapters/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/adapters/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/adapters/{locale-ZLUUNUxr.cjs → compiler-ChGO4ZLU.cjs} +1 -1
- package/dist/adapters/{locale-DDvZDFVn.js → compiler-LKTN9PTt.js} +2 -21
- package/dist/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/adapters/core/http-port.d.ts +39 -0
- package/dist/adapters/core/index.cjs +1 -0
- package/dist/adapters/core/index.d.ts +11 -0
- package/dist/adapters/core/index.js +2 -0
- package/dist/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/adapters/core/security-context.d.ts +17 -0
- package/dist/adapters/core-Bbchr0ui.js +244 -0
- package/dist/adapters/core-F1pCQPde.cjs +1 -0
- package/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +93 -201
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +79 -217
- package/dist/adapters/handler-DRZb2ip6.cjs +25 -0
- package/dist/adapters/{handler-CfgE0JSL.js → handler-u8FyzPBT.js} +1572 -1500
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +69 -225
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +1 -1
- package/dist/adapters/mcp-transport-Bw_zqky2.js +591 -0
- package/dist/adapters/mcp-transport-CNIPoe1i.cjs +40 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.d.ts +8 -9
- package/dist/adapters/nextjs/index.js +181 -288
- package/dist/adapters/nextjs/mcp-handler.d.ts +0 -28
- package/dist/adapters/{openai-D0musiYP.cjs → openai-B4kAJTSD.cjs} +3 -3
- package/dist/adapters/{openai-vXvLni8v.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/adapters/{openai-B5jEiqiB.js → openai-CmMzrs1Y.js} +18 -2
- package/dist/adapters/{openai-cDlFSTk6.js → openai-DhzGY9R4.js} +1 -1
- package/dist/cjs/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/cjs/adapters/core/http-port.d.ts +39 -0
- package/dist/cjs/adapters/core/index.d.ts +11 -0
- package/dist/cjs/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/cjs/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/cjs/adapters/core/security-context.d.ts +17 -0
- package/dist/cjs/adapters/express/index.d.ts +114 -0
- package/dist/cjs/adapters/fastify/index.d.ts +113 -0
- package/dist/cjs/adapters/hono/agent-handler.d.ts +9 -0
- package/dist/cjs/adapters/hono/index.d.ts +120 -0
- package/dist/cjs/adapters/locale.d.ts +8 -0
- package/dist/cjs/adapters/mcp-tools-handlers.d.ts +18 -0
- package/dist/cjs/adapters/mcp-tools.d.ts +134 -0
- package/dist/cjs/adapters/mcp-transport.d.ts +158 -0
- package/dist/cjs/adapters/nextjs/index.d.ts +195 -0
- package/dist/cjs/adapters/nextjs/mcp-handler.d.ts +8 -0
- package/dist/cjs/adapters/types.d.ts +41 -0
- package/dist/cjs/adapters/utils.d.ts +354 -0
- package/dist/cjs/client/adapters/adapterRegistry.d.ts +44 -0
- package/dist/cjs/client/adapters/flowModeAdapter.d.ts +3 -0
- package/dist/cjs/client/adapters/funnelModeAdapter.d.ts +19 -0
- package/dist/cjs/client/adapters/index.d.ts +29 -0
- package/dist/cjs/client/adapters/modeAdapter.d.ts +117 -0
- package/dist/cjs/client/adapters/queryModeAdapter.d.ts +16 -0
- package/dist/cjs/client/adapters/retentionModeAdapter.d.ts +3 -0
- package/dist/cjs/client/charts/ChartLoader.d.ts +69 -0
- package/dist/cjs/client/charts/chartComponentRegistry.d.ts +38 -0
- package/dist/cjs/client/charts/chartConfigHelpers.d.ts +38 -0
- package/dist/cjs/client/charts/chartConfigRegistry.d.ts +19 -0
- package/dist/cjs/client/charts/chartConfigs.d.ts +142 -0
- package/dist/cjs/client/charts/chartPlugin.d.ts +73 -0
- package/dist/cjs/client/charts/chartRegistry.d.ts +73 -0
- package/dist/cjs/client/charts/lazyChartConfigRegistry.d.ts +100 -0
- package/dist/cjs/client/charts.d.ts +17 -0
- package/dist/cjs/client/client/BatchCoordinator.d.ts +38 -0
- package/dist/cjs/client/client/CubeClient.d.ts +32 -0
- package/dist/cjs/client/components/AIAssistant/constants.d.ts +11 -0
- package/dist/cjs/client/components/AIAssistant/index.d.ts +10 -0
- package/dist/cjs/client/components/AIAssistant/types.d.ts +49 -0
- package/dist/cjs/client/components/AIAssistant/utils.d.ts +17 -0
- package/dist/cjs/client/components/AgenticNotebook/AgentChatPanel.d.ts +27 -0
- package/dist/cjs/client/components/AgenticNotebook/ChatInput.d.ts +14 -0
- package/dist/cjs/client/components/AgenticNotebook/ChatMessage.d.ts +9 -0
- package/dist/cjs/client/components/AgenticNotebook/NotebookCanvas.d.ts +6 -0
- package/dist/cjs/client/components/AgenticNotebook/NotebookMarkdownBlock.d.ts +12 -0
- package/dist/cjs/client/components/AgenticNotebook/NotebookPortletBlock.d.ts +15 -0
- package/dist/cjs/client/components/AgenticNotebook/agentChatParts.d.ts +34 -0
- package/dist/cjs/client/components/AgenticNotebook/chatMessageParts.d.ts +39 -0
- package/dist/cjs/client/components/AgenticNotebook/index.d.ts +56 -0
- package/dist/cjs/client/components/AgenticNotebook/useAgentChatController.d.ts +25 -0
- package/dist/cjs/client/components/AgenticNotebook/useNotebookAutosave.d.ts +12 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisAIPanel.d.ts +25 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +29 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +18 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +20 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +14 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +16 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +27 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisQueryPanel.d.ts +12 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +64 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisResultsHeader.d.ts +67 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisResultsPanel.d.ts +14 -0
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisTypeSelector.d.ts +17 -0
- package/dist/cjs/client/components/AnalysisBuilder/BreakdownComparisonToggle.d.ts +13 -0
- package/dist/cjs/client/components/AnalysisBuilder/BreakdownItemCard.d.ts +12 -0
- package/dist/cjs/client/components/AnalysisBuilder/BreakdownRow.d.ts +26 -0
- package/dist/cjs/client/components/AnalysisBuilder/BreakdownSection.d.ts +9 -0
- package/dist/cjs/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +10 -0
- package/dist/cjs/client/components/AnalysisBuilder/ExecutionPlanPanel.d.ts +49 -0
- package/dist/cjs/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +22 -0
- package/dist/cjs/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +16 -0
- package/dist/cjs/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +4 -0
- package/dist/cjs/client/components/AnalysisBuilder/FieldSearchItem.d.ts +6 -0
- package/dist/cjs/client/components/AnalysisBuilder/FieldSearchModal.d.ts +2 -0
- package/dist/cjs/client/components/AnalysisBuilder/FieldSearchResults.d.ts +16 -0
- package/dist/cjs/client/components/AnalysisBuilder/FilterConfigModal.d.ts +17 -0
- package/dist/cjs/client/components/AnalysisBuilder/FilterValueInput.d.ts +63 -0
- package/dist/cjs/client/components/AnalysisBuilder/FlowConfigPanel.d.ts +28 -0
- package/dist/cjs/client/components/AnalysisBuilder/FlowDepthControls.d.ts +10 -0
- package/dist/cjs/client/components/AnalysisBuilder/FlowModeContent.d.ts +57 -0
- package/dist/cjs/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +7 -0
- package/dist/cjs/client/components/AnalysisBuilder/FunnelBindingKeySelector.d.ts +21 -0
- package/dist/cjs/client/components/AnalysisBuilder/FunnelConfigPanel.d.ts +24 -0
- package/dist/cjs/client/components/AnalysisBuilder/FunnelModeContent.d.ts +48 -0
- package/dist/cjs/client/components/AnalysisBuilder/FunnelStepCard.d.ts +25 -0
- package/dist/cjs/client/components/AnalysisBuilder/FunnelStepList.d.ts +26 -0
- package/dist/cjs/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +8 -0
- package/dist/cjs/client/components/AnalysisBuilder/LimitSection.d.ts +14 -0
- package/dist/cjs/client/components/AnalysisBuilder/MetricItemCard.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/MetricRow.d.ts +23 -0
- package/dist/cjs/client/components/AnalysisBuilder/MetricsSection.d.ts +9 -0
- package/dist/cjs/client/components/AnalysisBuilder/RetentionConfigPanel.d.ts +36 -0
- package/dist/cjs/client/components/AnalysisBuilder/RetentionModeContent.d.ts +71 -0
- package/dist/cjs/client/components/AnalysisBuilder/SectionHeading.d.ts +12 -0
- package/dist/cjs/client/components/AnalysisBuilder/SortToggleButton.d.ts +13 -0
- package/dist/cjs/client/components/AnalysisBuilder/StringArrayInput.d.ts +17 -0
- package/dist/cjs/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +30 -0
- package/dist/cjs/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +13 -0
- package/dist/cjs/client/components/AnalysisBuilder/hooks/useDragReorder.d.ts +25 -0
- package/dist/cjs/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/index.d.ts +9 -0
- package/dist/cjs/client/components/AnalysisBuilder/types.d.ts +851 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +23 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +8 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +69 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/filterUtils.d.ts +19 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/idUtils.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/index.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/queryUtils.d.ts +11 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/recentFieldsUtils.d.ts +14 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/resultsPanelDerive.d.ts +68 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +68 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/sortUtils.d.ts +7 -0
- package/dist/cjs/client/components/AnalysisBuilder/utils/storageUtils.d.ts +44 -0
- package/dist/cjs/client/components/AnalysisBuilderLazy.d.ts +4 -0
- package/dist/cjs/client/components/AnalyticsDashboard.d.ts +2 -0
- package/dist/cjs/client/components/AnalyticsPage.d.ts +1 -0
- package/dist/cjs/client/components/AnalyticsPortlet.d.ts +10 -0
- package/dist/cjs/client/components/ChartErrorBoundary.d.ts +21 -0
- package/dist/cjs/client/components/ChartTypeSelector.d.ts +15 -0
- package/dist/cjs/client/components/ColorPaletteSelector.d.ts +11 -0
- package/dist/cjs/client/components/ConfirmModal.d.ts +30 -0
- package/dist/cjs/client/components/DashboardEditModal.d.ts +15 -0
- package/dist/cjs/client/components/DashboardFilterPanel.d.ts +15 -0
- package/dist/cjs/client/components/DashboardFilters/CompactFilterBar.d.ts +13 -0
- package/dist/cjs/client/components/DashboardFilters/CompactFilterBarParts.d.ts +26 -0
- package/dist/cjs/client/components/DashboardFilters/CustomDateDropdown.d.ts +10 -0
- package/dist/cjs/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +20 -0
- package/dist/cjs/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +27 -0
- package/dist/cjs/client/components/DashboardFilters/DashboardFilterItem.d.ts +14 -0
- package/dist/cjs/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +39 -0
- package/dist/cjs/client/components/DashboardFilters/DatePresetChips.d.ts +8 -0
- package/dist/cjs/client/components/DashboardFilters/EditModeFilterList.d.ts +13 -0
- package/dist/cjs/client/components/DashboardFilters/FilterChip.d.ts +12 -0
- package/dist/cjs/client/components/DashboardFilters/FilterEditModal.d.ts +15 -0
- package/dist/cjs/client/components/DashboardFilters/FilterValuePopover.d.ts +11 -0
- package/dist/cjs/client/components/DashboardFilters/ReadOnlyFilterList.d.ts +13 -0
- package/dist/cjs/client/components/DashboardFilters/XTDDropdown.d.ts +10 -0
- package/dist/cjs/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +21 -0
- package/dist/cjs/client/components/DashboardFilters/useCompactFilterBar.d.ts +19 -0
- package/dist/cjs/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +69 -0
- package/dist/cjs/client/components/DashboardFilters/useDateRangeState.d.ts +19 -0
- package/dist/cjs/client/components/DashboardFilters/useFilterDropdowns.d.ts +21 -0
- package/dist/cjs/client/components/DashboardFilters/useFilterValueFetch.d.ts +23 -0
- package/dist/cjs/client/components/DashboardGrid.d.ts +22 -0
- package/dist/cjs/client/components/DashboardPortletCard.d.ts +4 -0
- package/dist/cjs/client/components/DashboardThumbnailPlaceholder.d.ts +13 -0
- package/dist/cjs/client/components/DataBrowser/DataBrowserSidebar.d.ts +16 -0
- package/dist/cjs/client/components/DataBrowser/DataBrowserTable.d.ts +16 -0
- package/dist/cjs/client/components/DataBrowser/DataBrowserToolbar.d.ts +22 -0
- package/dist/cjs/client/components/DataBrowser/index.d.ts +28 -0
- package/dist/cjs/client/components/DataHistogram.d.ts +27 -0
- package/dist/cjs/client/components/DebugModal.d.ts +17 -0
- package/dist/cjs/client/components/DrillBreadcrumb.d.ts +7 -0
- package/dist/cjs/client/components/DrillMenu.d.ts +8 -0
- package/dist/cjs/client/components/FloatingEditToolbar.d.ts +30 -0
- package/dist/cjs/client/components/LoadingIndicator.d.ts +16 -0
- package/dist/cjs/client/components/MobileStackedLayout.d.ts +14 -0
- package/dist/cjs/client/components/Modal.d.ts +16 -0
- package/dist/cjs/client/components/PortletAnalysisModal.d.ts +27 -0
- package/dist/cjs/client/components/PortletContainer.d.ts +10 -0
- package/dist/cjs/client/components/PortletFilterConfigModal.d.ts +13 -0
- package/dist/cjs/client/components/RowManagedLayout.d.ts +19 -0
- package/dist/cjs/client/components/ScaledGridWrapper.d.ts +12 -0
- package/dist/cjs/client/components/SchemaVisualization/CubeNode.d.ts +25 -0
- package/dist/cjs/client/components/SchemaVisualization/FieldDetailPanel.d.ts +15 -0
- package/dist/cjs/client/components/SchemaVisualization/RelationshipEdge.d.ts +13 -0
- package/dist/cjs/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +3 -0
- package/dist/cjs/client/components/SchemaVisualization/index.d.ts +10 -0
- package/dist/cjs/client/components/SchemaVisualization/useERDLayout.d.ts +39 -0
- package/dist/cjs/client/components/SchemaVisualization/xyflowContext.d.ts +11 -0
- package/dist/cjs/client/components/TextPortletModal.d.ts +12 -0
- package/dist/cjs/client/components/analyticsPortlet/PortletChart.d.ts +31 -0
- package/dist/cjs/client/components/analyticsPortlet/PortletChartView.d.ts +35 -0
- package/dist/cjs/client/components/analyticsPortlet/PortletStates.d.ts +65 -0
- package/dist/cjs/client/components/analyticsPortlet/parsePortletQuery.d.ts +22 -0
- package/dist/cjs/client/components/analyticsPortlet/portletRenderState.d.ts +31 -0
- package/dist/cjs/client/components/analyticsPortlet/usePortletDebugData.d.ts +37 -0
- package/dist/cjs/client/components/analyticsPortlet/usePortletDrillState.d.ts +17 -0
- package/dist/cjs/client/components/analyticsPortlet/usePortletQueryResults.d.ts +37 -0
- package/dist/cjs/client/components/charts/ActivityGridChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/ActivityGridChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/ActivityGridChart.helpers.d.ts +33 -0
- package/dist/cjs/client/components/charts/ActivityGridChart.render.d.ts +31 -0
- package/dist/cjs/client/components/charts/AngledXAxisTick.d.ts +19 -0
- package/dist/cjs/client/components/charts/AreaChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/AreaChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/AxisFormatControls.d.ts +37 -0
- package/dist/cjs/client/components/charts/BarChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/BarChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/BarChart.helpers.d.ts +23 -0
- package/dist/cjs/client/components/charts/BarSeries.d.ts +29 -0
- package/dist/cjs/client/components/charts/BoxPlotChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/BoxPlotChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/BubbleChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/BubbleChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/BubbleChart.helpers.d.ts +43 -0
- package/dist/cjs/client/components/charts/BubbleChart.render.d.ts +21 -0
- package/dist/cjs/client/components/charts/CandlestickChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/CandlestickChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/ChartContainer.d.ts +7 -0
- package/dist/cjs/client/components/charts/ChartLegend.d.ts +7 -0
- package/dist/cjs/client/components/charts/ChartStates.d.ts +38 -0
- package/dist/cjs/client/components/charts/ChartTooltip.d.ts +7 -0
- package/dist/cjs/client/components/charts/DataTable.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/DataTable.d.ts +4 -0
- package/dist/cjs/client/components/charts/FunnelChart.config.d.ts +14 -0
- package/dist/cjs/client/components/charts/FunnelChart.d.ts +11 -0
- package/dist/cjs/client/components/charts/FunnelChart.helpers.d.ts +25 -0
- package/dist/cjs/client/components/charts/FunnelViews.d.ts +16 -0
- package/dist/cjs/client/components/charts/GaugeChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/GaugeChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/HeatMapCanvas.d.ts +25 -0
- package/dist/cjs/client/components/charts/HeatMapChart.config.d.ts +13 -0
- package/dist/cjs/client/components/charts/HeatMapChart.d.ts +10 -0
- package/dist/cjs/client/components/charts/HeatMapChart.helpers.d.ts +64 -0
- package/dist/cjs/client/components/charts/KpiDelta.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/KpiDelta.d.ts +4 -0
- package/dist/cjs/client/components/charts/KpiDelta.helpers.d.ts +20 -0
- package/dist/cjs/client/components/charts/KpiNumber.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/KpiNumber.d.ts +4 -0
- package/dist/cjs/client/components/charts/KpiNumber.helpers.d.ts +30 -0
- package/dist/cjs/client/components/charts/KpiStates.d.ts +19 -0
- package/dist/cjs/client/components/charts/KpiText.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/KpiText.d.ts +4 -0
- package/dist/cjs/client/components/charts/LineChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/LineChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/MarkdownChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/MarkdownChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/MeasureProfileChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/MeasureProfileChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/MissingDependencyFallback.d.ts +12 -0
- package/dist/cjs/client/components/charts/PieChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/PieChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/RadarChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/RadarChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/RadialBarChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/RadialBarChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/RetentionCombinedChart.config.d.ts +2 -0
- package/dist/cjs/client/components/charts/RetentionCombinedChart.d.ts +14 -0
- package/dist/cjs/client/components/charts/RetentionHeatmap.config.d.ts +2 -0
- package/dist/cjs/client/components/charts/RetentionHeatmap.d.ts +7 -0
- package/dist/cjs/client/components/charts/SankeyChart.config.d.ts +14 -0
- package/dist/cjs/client/components/charts/SankeyChart.d.ts +10 -0
- package/dist/cjs/client/components/charts/ScatterChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/ScatterChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/ScatterChart.helpers.d.ts +43 -0
- package/dist/cjs/client/components/charts/ScatterSeries.d.ts +17 -0
- package/dist/cjs/client/components/charts/ScatterTooltip.d.ts +21 -0
- package/dist/cjs/client/components/charts/SunburstChart.config.d.ts +14 -0
- package/dist/cjs/client/components/charts/SunburstChart.d.ts +10 -0
- package/dist/cjs/client/components/charts/TreeMapChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/TreeMapChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/TreeMapChart.helpers.d.ts +37 -0
- package/dist/cjs/client/components/charts/TreeMapContent.d.ts +24 -0
- package/dist/cjs/client/components/charts/TreeMapLegend.d.ts +13 -0
- package/dist/cjs/client/components/charts/WaterfallChart.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/WaterfallChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/cartesianChartHelpers.d.ts +126 -0
- package/dist/cjs/client/components/charts/chartAxisResolution.d.ts +32 -0
- package/dist/cjs/client/components/charts/chartScaffolding.d.ts +77 -0
- package/dist/cjs/client/components/charts/gaugeChartHelpers.d.ts +36 -0
- package/dist/cjs/client/components/charts/index.d.ts +25 -0
- package/dist/cjs/client/components/charts/kpiTextHelpers.d.ts +46 -0
- package/dist/cjs/client/components/charts/radarChartHelpers.d.ts +14 -0
- package/dist/cjs/client/components/charts/radialBarChartHelpers.d.ts +22 -0
- package/dist/cjs/client/components/charts/useChartDimensions.d.ts +20 -0
- package/dist/cjs/client/components/charts/useKpiDimensions.d.ts +30 -0
- package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +113 -0
- package/dist/cjs/client/components/dashboard/DashboardCoordinator.d.ts +2 -0
- package/dist/cjs/client/components/dashboard/DashboardEditBar.d.ts +5 -0
- package/dist/cjs/client/components/dashboard/DashboardFilterBar.d.ts +8 -0
- package/dist/cjs/client/components/dashboard/DashboardGridSurface.d.ts +8 -0
- package/dist/cjs/client/components/dashboard/DashboardModals.d.ts +8 -0
- package/dist/cjs/client/components/dashboard/DashboardProvider.d.ts +2 -0
- package/dist/cjs/client/components/dashboard/DashboardToolbar.d.ts +11 -0
- package/dist/cjs/client/components/dashboard/LayoutModeToggle.d.ts +10 -0
- package/dist/cjs/client/components/dashboard/dashboardGridUtils.d.ts +17 -0
- package/dist/cjs/client/components/dashboard/index.d.ts +13 -0
- package/dist/cjs/client/components/dashboardPortletCard/FilterFieldChip.d.ts +12 -0
- package/dist/cjs/client/components/dashboardPortletCard/PortletCardHeader.d.ts +43 -0
- package/dist/cjs/client/components/dashboardPortletCard/cardStyles.d.ts +33 -0
- package/dist/cjs/client/components/dashboardPortletCard/filterField.d.ts +12 -0
- package/dist/cjs/client/components/dashboardPortletCard/propsEqual.d.ts +55 -0
- package/dist/cjs/client/components/dashboardPortletCard/usePortletCardActions.d.ts +16 -0
- package/dist/cjs/client/components/portletAnalysisModal/saveValidation.d.ts +8 -0
- package/dist/cjs/client/components/shared/DateRangeFilter.d.ts +4 -0
- package/dist/cjs/client/components/shared/DateRangeSelector.d.ts +13 -0
- package/dist/cjs/client/components/shared/FilterBuilder.d.ts +4 -0
- package/dist/cjs/client/components/shared/FilterGroup.d.ts +4 -0
- package/dist/cjs/client/components/shared/FilterItem.d.ts +4 -0
- package/dist/cjs/client/components/shared/FilterValueSelector.d.ts +4 -0
- package/dist/cjs/client/components/shared/dateRangeUtils.d.ts +40 -0
- package/dist/cjs/client/components/shared/filterDisplayUtils.d.ts +10 -0
- package/dist/cjs/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +17 -0
- package/dist/cjs/client/components/shared/filterItem/FilterFieldDropdown.d.ts +16 -0
- package/dist/cjs/client/components/shared/filterItem/dateRangeSync.d.ts +14 -0
- package/dist/cjs/client/components/shared/filterItem/fieldVisuals.d.ts +5 -0
- package/dist/cjs/client/components/shared/filterValueSelector/FilterValueInputs.d.ts +55 -0
- package/dist/cjs/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +25 -0
- package/dist/cjs/client/components/shared/queryFieldUtils.d.ts +21 -0
- package/dist/cjs/client/components/shared/types.d.ts +60 -0
- package/dist/cjs/client/components/shared/utils.d.ts +71 -0
- package/dist/cjs/client/components.d.ts +17 -0
- package/dist/cjs/client/hooks/agentChatStream.d.ts +39 -0
- package/dist/cjs/client/hooks/analysisQueryExecutionModes.d.ts +133 -0
- package/dist/cjs/client/hooks/dashboard/layoutUtils.d.ts +7 -0
- package/dist/cjs/client/hooks/dashboard/useDashboardController.d.ts +53 -0
- package/dist/cjs/client/hooks/dashboard/useGridLayoutEngine.d.ts +10 -0
- package/dist/cjs/client/hooks/dashboard/useRowLayoutEngine.d.ts +18 -0
- package/dist/cjs/client/hooks/drillNavigation.d.ts +25 -0
- package/dist/cjs/client/hooks/queries/index.d.ts +20 -0
- package/dist/cjs/client/hooks/queries/useCubeLoadQuery.d.ts +85 -0
- package/dist/cjs/client/hooks/queries/useCubeMetaQuery.d.ts +51 -0
- package/dist/cjs/client/hooks/queries/useDryRunQuery.d.ts +153 -0
- package/dist/cjs/client/hooks/queries/useExplainAI.d.ts +62 -0
- package/dist/cjs/client/hooks/queries/useExplainQuery.d.ts +62 -0
- package/dist/cjs/client/hooks/queries/useFlowQuery.d.ts +72 -0
- package/dist/cjs/client/hooks/queries/useFunnelQuery.d.ts +20 -0
- package/dist/cjs/client/hooks/queries/useMultiCubeLoadQuery.d.ts +70 -0
- package/dist/cjs/client/hooks/queries/useRetentionQuery.d.ts +67 -0
- package/dist/cjs/client/hooks/useAgentChat.d.ts +60 -0
- package/dist/cjs/client/hooks/useAnalysisBuilderHook.d.ts +245 -0
- package/dist/cjs/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/{client/hooks/useAnalysisQueryExecution.d.ts → cjs/client/hooks/useAnalysisQuery.d.ts} +3 -3
- package/dist/cjs/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/cjs/client/hooks/useCubeFieldLabel.d.ts +16 -0
- package/dist/cjs/client/hooks/useDashboardHook.d.ts +123 -0
- package/dist/cjs/client/hooks/useDataBrowser.d.ts +67 -0
- package/dist/cjs/client/hooks/useDebounce.d.ts +12 -0
- package/dist/cjs/client/hooks/useDebounceQuery.d.ts +48 -0
- package/dist/cjs/client/hooks/useDirtyStateTracking.d.ts +37 -0
- package/dist/cjs/client/hooks/useDragAutoScroll.d.ts +18 -0
- package/dist/cjs/client/hooks/useDrillInteraction.d.ts +9 -0
- package/dist/cjs/client/hooks/useElementVisibility.d.ts +30 -0
- package/dist/cjs/client/hooks/useFilterValues.d.ts +19 -0
- package/dist/cjs/client/hooks/useNotebookLayout.d.ts +8 -0
- package/dist/cjs/client/hooks/useResponsiveDashboard.d.ts +16 -0
- package/dist/cjs/client/hooks/useScrollDetection.d.ts +29 -0
- package/dist/cjs/client/hooks/useTheme.d.ts +11 -0
- package/dist/cjs/client/hooks/useTranslation.d.ts +21 -0
- package/dist/cjs/client/hooks.d.ts +17 -0
- package/dist/cjs/client/icons/customIcons.d.ts +22 -0
- package/dist/cjs/client/icons/defaultIcons.d.ts +5 -0
- package/dist/cjs/client/icons/index.d.ts +22 -0
- package/dist/cjs/client/icons/registry.d.ts +58 -0
- package/dist/cjs/client/icons/types.d.ts +134 -0
- package/dist/cjs/client/icons.d.ts +2 -0
- package/dist/cjs/client/index.d.ts +76 -0
- package/dist/cjs/client/providers/CubeApiProvider.d.ts +24 -0
- package/dist/cjs/client/providers/CubeFeaturesProvider.d.ts +19 -0
- package/dist/cjs/client/providers/CubeMetaContext.d.ts +11 -0
- package/dist/cjs/client/providers/CubeMetaProvider.d.ts +6 -0
- package/dist/cjs/client/providers/CubeProvider.d.ts +70 -0
- package/dist/cjs/client/providers/I18nProvider.d.ts +18 -0
- package/dist/cjs/client/providers/ScrollContainerContext.d.ts +19 -0
- package/dist/cjs/client/providers.d.ts +10 -0
- package/dist/cjs/client/schema.d.ts +13 -0
- package/dist/cjs/client/shared/chartConfigBuilders.d.ts +18 -0
- package/dist/cjs/client/shared/chartDefaults.d.ts +59 -0
- package/dist/cjs/client/shared/components/CodeBlock.d.ts +13 -0
- package/dist/cjs/client/shared/components/QueryAnalysisPanel.d.ts +7 -0
- package/dist/cjs/client/shared/components/QueryAnalysisPanel.sections.d.ts +41 -0
- package/dist/cjs/client/shared/index.d.ts +11 -0
- package/dist/cjs/client/shared/queryKey.d.ts +1 -0
- package/dist/cjs/client/shared/queryTransforms.d.ts +20 -0
- package/dist/cjs/client/shared/types.d.ts +184 -0
- package/dist/cjs/client/shared/utils.d.ts +104 -0
- package/dist/cjs/client/stores/analysisBuilderStore.d.ts +578 -0
- package/dist/cjs/client/stores/dashboardStore.d.ts +292 -0
- package/dist/cjs/client/stores/dataBrowserStore.d.ts +34 -0
- package/dist/cjs/client/stores/index.d.ts +13 -0
- package/dist/cjs/client/stores/notebookStore.d.ts +157 -0
- package/dist/cjs/client/stores/optionsToAnalysisConfig.d.ts +17 -0
- package/dist/cjs/client/stores/slices/coreSlice.d.ts +96 -0
- package/dist/cjs/client/stores/slices/flowSlice.d.ts +69 -0
- package/dist/cjs/client/stores/slices/funnelSlice.d.ts +61 -0
- package/dist/cjs/client/stores/slices/index.d.ts +13 -0
- package/dist/cjs/client/stores/slices/querySlice.d.ts +55 -0
- package/dist/cjs/client/stores/slices/retentionSlice.d.ts +66 -0
- package/dist/cjs/client/stores/slices/uiSlice.d.ts +52 -0
- package/dist/cjs/client/theme/index.d.ts +135 -0
- package/dist/cjs/client/types/analysisConfig.d.ts +185 -0
- package/dist/cjs/client/types/drill.d.ts +240 -0
- package/dist/cjs/client/types/flow.d.ts +191 -0
- package/dist/cjs/client/types/funnel.d.ts +288 -0
- package/dist/cjs/client/types/retention.d.ts +301 -0
- package/dist/cjs/client/types.d.ts +600 -0
- package/dist/cjs/client/utils/axisValueFormatting.d.ts +32 -0
- package/dist/cjs/client/utils/chartConstants.d.ts +16 -0
- package/dist/cjs/client/utils/chartUtils.d.ts +35 -0
- package/dist/cjs/client/utils/colorPalettes.d.ts +35 -0
- package/dist/cjs/client/utils/comparisonUtils.d.ts +96 -0
- package/dist/cjs/client/utils/configMigration.d.ts +85 -0
- package/dist/cjs/client/utils/drillQueryBuilder.d.ts +41 -0
- package/dist/cjs/client/utils/exportXlsx.d.ts +20 -0
- package/dist/cjs/client/utils/filterUtils.d.ts +113 -0
- package/dist/cjs/client/utils/funnelExecution.d.ts +211 -0
- package/dist/cjs/client/utils/funnelValidation.d.ts +46 -0
- package/dist/cjs/client/utils/index.d.ts +94 -0
- package/dist/cjs/client/utils/joinReachability.d.ts +27 -0
- package/dist/cjs/client/utils/measureIcons.d.ts +11 -0
- package/dist/cjs/client/utils/multiQueryUtils.d.ts +86 -0
- package/dist/cjs/client/utils/multiQueryValidation.d.ts +69 -0
- package/dist/cjs/client/utils/periodUtils.d.ts +40 -0
- package/dist/cjs/client/utils/pivotUtils.d.ts +87 -0
- package/dist/cjs/client/utils/shareUtils.d.ts +61 -0
- package/dist/cjs/client/utils/syntaxHighlighting.d.ts +36 -0
- package/dist/cjs/client/utils/targetUtils.d.ts +36 -0
- package/dist/cjs/client/utils/thumbnail.d.ts +36 -0
- package/dist/cjs/client/utils/timeValueFormatting.d.ts +32 -0
- package/dist/cjs/client/utils.d.ts +8 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/server/adapters/base-adapter.d.ts +332 -0
- package/dist/cjs/server/adapters/databend-adapter.d.ts +63 -0
- package/dist/cjs/server/adapters/duckdb-adapter.d.ts +68 -0
- package/dist/cjs/server/adapters/mysql-adapter.d.ts +65 -0
- package/dist/cjs/server/adapters/postgres-adapter.d.ts +55 -0
- package/dist/cjs/server/adapters/singlestore-adapter.d.ts +4 -0
- package/dist/cjs/server/adapters/snowflake-adapter.d.ts +53 -0
- package/dist/cjs/server/adapters/sqlite-adapter.d.ts +120 -0
- package/dist/cjs/server/adapters/window-function-builder.d.ts +11 -0
- package/dist/cjs/server/agent/chart-validation.d.ts +22 -0
- package/dist/cjs/server/agent/handler-steps.d.ts +37 -0
- package/dist/cjs/server/agent/handler.d.ts +25 -0
- package/dist/cjs/server/agent/index.d.ts +11 -0
- package/dist/cjs/server/agent/providers/anthropic.d.ts +24 -0
- package/dist/cjs/server/agent/providers/factory.d.ts +12 -0
- package/dist/cjs/server/agent/providers/google.d.ts +23 -0
- package/dist/cjs/server/agent/providers/index.d.ts +6 -0
- package/dist/cjs/server/agent/providers/openai.d.ts +26 -0
- package/dist/cjs/server/agent/providers/types.d.ts +95 -0
- package/dist/cjs/server/agent/system-prompt.d.ts +5 -0
- package/dist/cjs/server/agent/tools.d.ts +28 -0
- package/dist/cjs/server/agent/types.d.ts +192 -0
- package/dist/cjs/server/ai/discovery-helpers.d.ts +29 -0
- package/dist/cjs/server/ai/discovery.d.ts +66 -0
- package/dist/cjs/server/ai/index.d.ts +10 -0
- package/dist/cjs/server/ai/mcp-prompts.d.ts +83 -0
- package/dist/cjs/server/ai/query-schema.d.ts +258 -0
- package/dist/cjs/server/ai/schemas.d.ts +63 -0
- package/dist/cjs/server/ai/suggestion-helpers.d.ts +33 -0
- package/dist/cjs/server/ai/suggestion.d.ts +16 -0
- package/dist/cjs/server/ai/validation-helpers.d.ts +21 -0
- package/dist/cjs/server/ai/validation.d.ts +31 -0
- package/dist/cjs/server/builders/analysis-utils.d.ts +106 -0
- package/dist/cjs/server/builders/comparison-query-builder.d.ts +70 -0
- package/dist/cjs/server/builders/cte-builder.d.ts +108 -0
- package/dist/cjs/server/builders/date-time-builder.d.ts +34 -0
- package/dist/cjs/server/builders/date-time-helpers.d.ts +34 -0
- package/dist/cjs/server/builders/filter-builder.d.ts +25 -0
- package/dist/cjs/server/builders/filter-operators.d.ts +23 -0
- package/dist/cjs/server/builders/flow-query-builder.d.ts +136 -0
- package/dist/cjs/server/builders/funnel-query-builder.d.ts +145 -0
- package/dist/cjs/server/builders/group-by-builder.d.ts +38 -0
- package/dist/cjs/server/builders/index.d.ts +13 -0
- package/dist/cjs/server/builders/measure-builder.d.ts +185 -0
- package/dist/cjs/server/builders/retention-query-builder.d.ts +98 -0
- package/dist/cjs/server/cache-providers/index.d.ts +5 -0
- package/dist/cjs/server/cache-providers/memory.d.ts +105 -0
- package/dist/cjs/server/cache-utils.d.ts +85 -0
- package/dist/cjs/server/compiler-metadata.d.ts +11 -0
- package/dist/cjs/server/compiler.d.ts +212 -0
- package/dist/cjs/server/cube-utils.d.ts +158 -0
- package/dist/cjs/server/database-utils.d.ts +18 -0
- package/dist/cjs/server/execution/annotation-builder.d.ts +12 -0
- package/dist/cjs/server/execution/filter-cache-preloader.d.ts +19 -0
- package/dist/cjs/server/execution/mode-router.d.ts +25 -0
- package/dist/cjs/server/execution/query-result-cache.d.ts +21 -0
- package/dist/cjs/server/execution/result-post-processor.d.ts +10 -0
- package/dist/cjs/server/executor.d.ts +186 -0
- package/dist/cjs/server/executors/base-executor.d.ts +16 -0
- package/dist/cjs/server/executors/databend-executor.d.ts +33 -0
- package/dist/cjs/server/executors/duckdb-executor.d.ts +33 -0
- package/dist/cjs/server/executors/explain-utils.d.ts +28 -0
- package/dist/cjs/server/executors/index.d.ts +21 -0
- package/dist/cjs/server/executors/mysql-executor.d.ts +27 -0
- package/dist/cjs/server/executors/postgres-executor.d.ts +27 -0
- package/dist/cjs/server/executors/singlestore-executor.d.ts +9 -0
- package/dist/cjs/server/executors/snowflake-executor.d.ts +33 -0
- package/dist/cjs/server/executors/sqlite-executor.d.ts +28 -0
- package/dist/cjs/server/explain/databend-parser.d.ts +16 -0
- package/dist/cjs/server/explain/duckdb-parser.d.ts +28 -0
- package/dist/cjs/server/explain/explain-tree.d.ts +20 -0
- package/dist/cjs/server/explain/index.d.ts +9 -0
- package/dist/cjs/server/explain/mysql-parser.d.ts +38 -0
- package/dist/cjs/server/explain/postgres-parser.d.ts +18 -0
- package/dist/cjs/server/explain/snowflake-parser.d.ts +17 -0
- package/dist/cjs/server/explain/sqlite-parser.d.ts +23 -0
- package/dist/cjs/server/filter-cache.d.ts +73 -0
- package/dist/cjs/server/gap-filler.d.ts +48 -0
- package/dist/cjs/server/index.d.ts +38 -0
- package/dist/cjs/server/logical-plan/cte-planner-helpers.d.ts +37 -0
- package/dist/cjs/server/logical-plan/cte-planner.d.ts +104 -0
- package/dist/cjs/server/logical-plan/filter-propagation.d.ts +44 -0
- package/dist/cjs/server/logical-plan/index.d.ts +19 -0
- package/dist/cjs/server/logical-plan/join-planner.d.ts +27 -0
- package/dist/cjs/server/logical-plan/logical-plan-builder.d.ts +58 -0
- package/dist/cjs/server/logical-plan/logical-planner.d.ts +39 -0
- package/dist/cjs/server/logical-plan/optimiser.d.ts +34 -0
- package/dist/cjs/server/logical-plan/plan-analysis-reporter.d.ts +59 -0
- package/dist/cjs/server/logical-plan/planner-utils.d.ts +20 -0
- package/dist/cjs/server/logical-plan/types.d.ts +199 -0
- package/dist/cjs/server/measure-classification.d.ts +40 -0
- package/dist/cjs/server/physical-plan/drizzle-plan-builder.d.ts +50 -0
- package/dist/cjs/server/physical-plan/drizzle-sql-builder.d.ts +118 -0
- package/dist/cjs/server/physical-plan/index.d.ts +2 -0
- package/dist/cjs/server/physical-plan/processors/cte-processor.d.ts +6 -0
- package/dist/cjs/server/physical-plan/processors/index.d.ts +8 -0
- package/dist/cjs/server/physical-plan/processors/joins-processor.d.ts +6 -0
- package/dist/cjs/server/physical-plan/processors/keys-dedup-processor.d.ts +13 -0
- package/dist/cjs/server/physical-plan/processors/multi-fact-processor.d.ts +13 -0
- package/dist/cjs/server/physical-plan/processors/predicates-processor.d.ts +6 -0
- package/dist/cjs/server/physical-plan/processors/selection-processor.d.ts +6 -0
- package/dist/cjs/server/physical-plan/processors/shared.d.ts +38 -0
- package/dist/cjs/server/physical-plan/processors/window-processor.d.ts +6 -0
- package/dist/cjs/server/prompts/explain-analysis-prompt.d.ts +47 -0
- package/dist/cjs/server/prompts/index.d.ts +27 -0
- package/dist/cjs/server/prompts/single-step-prompt.d.ts +31 -0
- package/dist/cjs/server/prompts/step0-validation-prompt.d.ts +39 -0
- package/dist/cjs/server/prompts/step1-shape-prompt.d.ts +29 -0
- package/dist/cjs/server/prompts/step2-complete-prompt.d.ts +19 -0
- package/dist/cjs/server/prompts/types.d.ts +37 -0
- package/dist/cjs/server/query-handlers.d.ts +79 -0
- package/dist/cjs/server/query-modes.d.ts +28 -0
- package/dist/cjs/server/query-validator.d.ts +9 -0
- package/dist/cjs/server/resolvers/calculated-measure-resolver.d.ts +98 -0
- package/dist/cjs/server/resolvers/index.d.ts +6 -0
- package/dist/cjs/server/resolvers/join-path-resolver.d.ts +158 -0
- package/dist/cjs/server/sql-format.d.ts +11 -0
- package/dist/cjs/server/template-substitution.d.ts +57 -0
- package/dist/cjs/server/types/analysis.d.ts +189 -0
- package/dist/cjs/server/types/cache.d.ts +132 -0
- package/dist/cjs/server/types/core.d.ts +164 -0
- package/dist/cjs/server/types/cube.d.ts +544 -0
- package/dist/cjs/server/types/executor.d.ts +156 -0
- package/dist/cjs/server/types/flow.d.ts +144 -0
- package/dist/cjs/server/types/funnel.d.ts +118 -0
- package/dist/cjs/server/types/index.d.ts +11 -0
- package/dist/cjs/server/types/metadata.d.ts +113 -0
- package/dist/cjs/server/types/query.d.ts +153 -0
- package/dist/cjs/server/types/retention.d.ts +141 -0
- package/dist/cjs/server/types/utils.d.ts +11 -0
- package/dist/cjs/server/types/validation.d.ts +14 -0
- package/dist/client/charts/chartComponentRegistry.d.ts +1 -9
- package/dist/client/charts/chartConfigRegistry.d.ts +5 -1
- package/dist/client/charts/chartPlugin.d.ts +1 -2
- package/dist/client/charts/chartRegistry.d.ts +73 -0
- package/dist/client/charts.js +3 -3
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js → DashboardEditModal-CWurUU2B.js} +7 -7
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js.map → DashboardEditModal-CWurUU2B.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-DB88FojM.js → analysis-builder-Uj_Fxv0-.js} +1588 -1857
- package/dist/client/chunks/analysis-builder-Uj_Fxv0-.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-BVK4TYfR.js → analysis-builder-shared-AdAYIfj_.js} +1531 -1266
- package/dist/client/chunks/analysis-builder-shared-AdAYIfj_.js.map +1 -0
- package/dist/client/chunks/{chart-config-activity-grid-D_UX4NHC.js → chart-config-activity-grid-BU_bkvER.js} +1 -11
- package/dist/client/chunks/chart-config-activity-grid-BU_bkvER.js.map +1 -0
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js → chart-config-area-DxwIZ4Uf.js} +1 -5
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js.map → chart-config-area-DxwIZ4Uf.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bar-DSO_LRTx.js → chart-config-bar-Cc8GY9aQ.js} +5 -9
- package/dist/client/chunks/chart-config-bar-Cc8GY9aQ.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-oW8axV2q.js → chart-config-box-plot-Bs8ovYvV.js} +3 -8
- package/dist/client/chunks/chart-config-box-plot-Bs8ovYvV.js.map +1 -0
- package/dist/client/chunks/{chart-config-bubble-gIoqVyjZ.js → chart-config-bubble-BfgY7pt8.js} +1 -11
- package/dist/client/chunks/chart-config-bubble-BfgY7pt8.js.map +1 -0
- package/dist/client/chunks/{chart-config-candlestick-N6DchAA3.js → chart-config-candlestick-jaeNNEtC.js} +1 -11
- package/dist/client/chunks/chart-config-candlestick-jaeNNEtC.js.map +1 -0
- package/dist/client/chunks/{chart-config-data-table-d7VBY-y_.js → chart-config-data-table-CRk0C0rW.js} +1 -4
- package/dist/client/chunks/chart-config-data-table-CRk0C0rW.js.map +1 -0
- package/dist/client/chunks/{chart-config-funnel-DEYMcxsD.js → chart-config-funnel-boT_LNfl.js} +1 -4
- package/dist/client/chunks/chart-config-funnel-boT_LNfl.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-Dq-_H9UN.js → chart-config-gauge-C5uJEr97.js} +3 -8
- package/dist/client/chunks/chart-config-gauge-C5uJEr97.js.map +1 -0
- package/dist/client/chunks/{chart-config-heat-map-CfRnRNcw.js → chart-config-heat-map-CCarP44-.js} +1 -11
- package/dist/client/chunks/chart-config-heat-map-CCarP44-.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-DSQbvqu_.js → chart-config-kpi-delta-DYopvwyG.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-delta-DYopvwyG.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-EFSWY1We.js → chart-config-kpi-number-BhMdoArB.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-number-BhMdoArB.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-KM3V5X2u.js → chart-config-kpi-text-DE6Zdi53.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-text-DE6Zdi53.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-D6jG8PCH.js → chart-config-line-CBfM0Rds.js} +6 -10
- package/dist/client/chunks/chart-config-line-CBfM0Rds.js.map +1 -0
- package/dist/client/chunks/{chart-config-markdown-BtRIe8JN.js → chart-config-markdown-BCDyBI8K.js} +1 -4
- package/dist/client/chunks/chart-config-markdown-BCDyBI8K.js.map +1 -0
- package/dist/client/chunks/{chart-config-measure-profile-DxRGa-zf.js → chart-config-measure-profile-BgQIH1u2.js} +1 -8
- package/dist/client/chunks/chart-config-measure-profile-BgQIH1u2.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-BhzW-fdn.js → chart-config-pie-ChfFz6DV.js} +5 -9
- package/dist/client/chunks/chart-config-pie-ChfFz6DV.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-D7REP1q_.js → chart-config-radar-BlAIGnww.js} +5 -9
- package/dist/client/chunks/chart-config-radar-BlAIGnww.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-Byx6qOPU.js → chart-config-radial-bar-VFerwbCO.js} +5 -9
- package/dist/client/chunks/chart-config-radial-bar-VFerwbCO.js.map +1 -0
- package/dist/client/chunks/{chart-config-sankey-BTnWA7EW.js → chart-config-sankey-BhrDxIgj.js} +1 -4
- package/dist/client/chunks/chart-config-sankey-BhrDxIgj.js.map +1 -0
- package/dist/client/chunks/{chart-config-scatter-DSYTjwRb.js → chart-config-scatter-q_olh54e.js} +1 -11
- package/dist/client/chunks/chart-config-scatter-q_olh54e.js.map +1 -0
- package/dist/client/chunks/{chart-config-sunburst-Bwjtdf7X.js → chart-config-sunburst-BOmkOnKn.js} +1 -4
- package/dist/client/chunks/chart-config-sunburst-BOmkOnKn.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-DVrvf3yQ.js → chart-config-tree-map-BjX88YBY.js} +5 -9
- package/dist/client/chunks/chart-config-tree-map-BjX88YBY.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-DmFeQdIk.js → chart-config-waterfall-QsWXVSoF.js} +3 -8
- package/dist/client/chunks/chart-config-waterfall-QsWXVSoF.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-CKauQXme.js → chart-data-table-D4g5_jfF.js} +1277 -1094
- package/dist/client/chunks/chart-data-table-D4g5_jfF.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js → chart-kpi-delta-BvWOt8-D.js} +2 -2
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js.map → chart-kpi-delta-BvWOt8-D.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js → chart-kpi-number-xgZmMiQY.js} +3 -3
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js.map → chart-kpi-number-xgZmMiQY.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js → chart-kpi-text-ZO3eFi7t.js} +2 -2
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js.map → chart-kpi-text-ZO3eFi7t.js.map} +1 -1
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js → charts-loader-B0DOQMFH.js} +6 -6
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js.map → charts-loader-B0DOQMFH.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js → schema-visualization-DJPTktM6.js} +2 -2
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js.map → schema-visualization-DJPTktM6.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js → useDirtyStateTracking-BY_IIG1n.js} +2 -2
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js.map → useDirtyStateTracking-BY_IIG1n.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js → useExplainAI-PjMBmj2p.js} +4 -4
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js.map → useExplainAI-PjMBmj2p.js.map} +1 -1
- package/dist/client/chunks/{utils-3P6z1vz5.js → utils-Cq-j5E5I.js} +2 -2
- package/dist/client/chunks/{utils-3P6z1vz5.js.map → utils-Cq-j5E5I.js.map} +1 -1
- package/dist/client/chunks/{vendor-DSpR0IW6.js → vendor-D4jADu8t.js} +2 -2
- package/dist/client/chunks/{vendor-DSpR0IW6.js.map → vendor-D4jADu8t.js.map} +1 -1
- package/dist/client/components/AIAssistant/index.d.ts +2 -2
- package/dist/client/components/charts/ActivityGridChart.config.d.ts +6 -1
- package/dist/client/components/charts/AreaChart.config.d.ts +6 -1
- package/dist/client/components/charts/BarChart.config.d.ts +6 -1
- package/dist/client/components/charts/BoxPlotChart.config.d.ts +6 -1
- package/dist/client/components/charts/BubbleChart.config.d.ts +6 -1
- package/dist/client/components/charts/CandlestickChart.config.d.ts +6 -1
- package/dist/client/components/charts/DataTable.config.d.ts +6 -1
- package/dist/client/components/charts/FunnelChart.config.d.ts +5 -0
- package/dist/client/components/charts/GaugeChart.config.d.ts +6 -1
- package/dist/client/components/charts/HeatMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +6 -1
- package/dist/client/components/charts/KpiNumber.config.d.ts +6 -1
- package/dist/client/components/charts/KpiText.config.d.ts +6 -1
- package/dist/client/components/charts/LineChart.config.d.ts +6 -1
- package/dist/client/components/charts/MarkdownChart.config.d.ts +6 -1
- package/dist/client/components/charts/MeasureProfileChart.config.d.ts +6 -1
- package/dist/client/components/charts/PieChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadarChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadialBarChart.config.d.ts +6 -1
- package/dist/client/components/charts/SankeyChart.config.d.ts +5 -0
- package/dist/client/components/charts/ScatterChart.config.d.ts +6 -1
- package/dist/client/components/charts/SunburstChart.config.d.ts +5 -0
- package/dist/client/components/charts/TreeMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/WaterfallChart.config.d.ts +6 -1
- package/dist/client/components.js +2 -2
- package/dist/client/hooks/analysisQueryExecutionModes.d.ts +1 -1
- package/dist/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/client/hooks/useAnalysisQuery.d.ts +144 -0
- package/dist/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/registry.d.ts +0 -6
- package/dist/client/icons/types.d.ts +5 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +9 -9
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/utils.js +3 -3
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +34 -34
- package/dist/server/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/server/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/server/index.cjs +68 -68
- package/dist/server/index.js +3800 -3728
- package/dist/server/{openai-D0musiYP.cjs → openai-B4kAJTSD.cjs} +3 -3
- package/dist/server/{openai-vXvLni8v.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/server/{openai-B5jEiqiB.js → openai-CmMzrs1Y.js} +18 -2
- package/dist/server/{openai-cDlFSTk6.js → openai-DhzGY9R4.js} +1 -1
- package/package.json +85 -29
- package/dist/adapters/handler-Cn0dOctE.cjs +0 -25
- package/dist/adapters/hono/mcp-handler.d.ts +0 -37
- package/dist/adapters/mcp-transport-B7ddET3M.cjs +0 -40
- package/dist/adapters/mcp-transport-Dfuj4j4q.js +0 -591
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +0 -1
- package/dist/client/chunks/chart-config-activity-grid-D_UX4NHC.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +0 -1
- package/dist/client/chunks/chart-config-bubble-gIoqVyjZ.js.map +0 -1
- package/dist/client/chunks/chart-config-candlestick-N6DchAA3.js.map +0 -1
- package/dist/client/chunks/chart-config-data-table-d7VBY-y_.js.map +0 -1
- package/dist/client/chunks/chart-config-funnel-DEYMcxsD.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +0 -1
- package/dist/client/chunks/chart-config-heat-map-CfRnRNcw.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +0 -1
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +0 -1
- package/dist/client/chunks/chart-config-markdown-BtRIe8JN.js.map +0 -1
- package/dist/client/chunks/chart-config-measure-profile-DxRGa-zf.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +0 -1
- package/dist/client/chunks/chart-config-sankey-BTnWA7EW.js.map +0 -1
- package/dist/client/chunks/chart-config-scatter-DSYTjwRb.js.map +0 -1
- package/dist/client/chunks/chart-config-sunburst-Bwjtdf7X.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +0 -1
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +0 -1
- package/dist/client/hooks/useAnalysisAI.d.ts +0 -56
- package/dist/client/hooks/useAnalysisChartDefaults.d.ts +0 -35
- package/dist/client/hooks/useAnalysisCombinedFields.d.ts +0 -18
- package/dist/client/hooks/useAnalysisInitialization.d.ts +0 -25
- package/dist/client/hooks/useAnalysisQueryBuilder.d.ts +0 -32
- package/dist/client/hooks/useAnalysisShare.d.ts +0 -18
- package/dist/client/hooks/useAnalysisUIState.d.ts +0 -24
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the KPI Number chart type
|
|
3
|
+
* Configuration for the KPI Number chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const kpiNumberConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the KPI Text chart type
|
|
3
|
+
* Configuration for the KPI Text chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const kpiTextConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the line chart type
|
|
3
|
+
* Configuration for the line chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const lineChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the Markdown chart type
|
|
3
|
+
* Configuration for the Markdown chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const markdownConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the measure profile chart type
|
|
3
|
+
* Configuration for the measure profile chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const measureProfileChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the pie chart type
|
|
3
|
+
* Configuration for the pie chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const pieChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the radar chart type
|
|
3
|
+
* Configuration for the radar chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const radarChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the radial bar chart type
|
|
3
|
+
* Configuration for the radial bar chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const radialBarChartConfig: ChartTypeConfig;
|
|
@@ -5,5 +5,10 @@ import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
|
5
5
|
* Sankey charts visualize flow data between nodes.
|
|
6
6
|
* They work with data from flow queries which provide
|
|
7
7
|
* nodes and links representing user journeys.
|
|
8
|
+
*
|
|
9
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
10
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
11
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
12
|
+
* drop zones, display options, clickable elements, validation.
|
|
8
13
|
*/
|
|
9
14
|
export declare const sankeyChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the scatter chart type
|
|
3
|
+
* Configuration for the scatter chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const scatterChartConfig: ChartTypeConfig;
|
|
@@ -5,5 +5,10 @@ import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
|
5
5
|
* Sunburst charts visualize hierarchical flow data as concentric rings.
|
|
6
6
|
* They work with the same flow data as Sankey but show only "after" steps
|
|
7
7
|
* radiating outward from the central starting step.
|
|
8
|
+
*
|
|
9
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
10
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
11
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
12
|
+
* drop zones, display options, clickable elements, validation.
|
|
8
13
|
*/
|
|
9
14
|
export declare const sunburstChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the treemap chart type
|
|
3
|
+
* Configuration for the treemap chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const treemapChartConfig: ChartTypeConfig;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ChartTypeConfig } from '../../charts/chartConfigs.js';
|
|
2
2
|
/**
|
|
3
|
-
* Configuration for the waterfall chart type
|
|
3
|
+
* Configuration for the waterfall chart type.
|
|
4
|
+
*
|
|
5
|
+
* Eager metadata (`label`, `description`, `useCase`, `isAvailable`) lives in the
|
|
6
|
+
* unified `chartRegistry` entry (the single source of truth) — see
|
|
7
|
+
* `src/client/charts/chartRegistry.ts`. This file owns the lazy-loaded shape:
|
|
8
|
+
* drop zones, display options, clickable elements, validation.
|
|
4
9
|
*/
|
|
5
10
|
export declare const waterfallChartConfig: ChartTypeConfig;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, Y as r, a as i, h as a, i as o, m as s, n as c, p as l, r as u, s as d, t as f } from "./chunks/DashboardEditModal-
|
|
2
|
-
import { a as p, n as m, o as h, r as g, s as _, t as v } from "./chunks/utils-
|
|
1
|
+
import { C as e, D as t, E as n, Y as r, a as i, h as a, i as o, m as s, n as c, p as l, r as u, s as d, t as f } from "./chunks/DashboardEditModal-CWurUU2B.js";
|
|
2
|
+
import { a as p, n as m, o as h, r as g, s as _, t as v } from "./chunks/utils-Cq-j5E5I.js";
|
|
3
3
|
export { d as AnalysisDisplayConfigPanel, u as AnalyticsDashboard, r as AnalyticsPortlet, f as DashboardEditModal, a as DashboardFilterBar, o as DashboardGrid, s as DashboardGridSurface, i as DashboardModals, n as DashboardProvider, e as DashboardToolbar, l as Modal, c as PortletContainer, v as createDashboardLayout, m as createSamplePortlet, g as findNextPosition, p as generatePortletId, h as generateResponsiveLayouts, t as useDashboardContext, _ as validateCubeQuery };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pure mode-selection helpers for
|
|
2
|
+
* Pure mode-selection helpers for useAnalysisQuery.
|
|
3
3
|
*
|
|
4
4
|
* The hook coordinates five execution modes (retention, flow, funnel, multi,
|
|
5
5
|
* single). Almost every derived value is "pick the field from whichever mode is
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CubeQuery, ChartType, ChartAxisConfig, ChartDisplayConfig } from '../types.js';
|
|
2
|
+
import { AIState } from '../components/AnalysisBuilder/types.js';
|
|
3
|
+
import { UseAnalysisStateResult } from './useAnalysisState.js';
|
|
4
|
+
import { UseAnalysisQueryResult } from './useAnalysisQuery.js';
|
|
5
|
+
export interface UseAnalysisEffectsOptions {
|
|
6
|
+
/** State responsibility hook result (store reads/derivation + actions) */
|
|
7
|
+
state: UseAnalysisStateResult;
|
|
8
|
+
/** Query responsibility hook result (execution + hasDebounced) */
|
|
9
|
+
query: UseAnalysisQueryResult;
|
|
10
|
+
/** AI endpoint URL */
|
|
11
|
+
aiEndpoint?: string;
|
|
12
|
+
/** Callback when query changes */
|
|
13
|
+
onQueryChange?: (query: CubeQuery) => void;
|
|
14
|
+
/** Callback when chart config changes */
|
|
15
|
+
onChartConfigChange?: (config: {
|
|
16
|
+
chartType: ChartType;
|
|
17
|
+
chartConfig: ChartAxisConfig;
|
|
18
|
+
displayConfig: ChartDisplayConfig;
|
|
19
|
+
}) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare function useAnalysisEffects(options: UseAnalysisEffectsOptions): {
|
|
22
|
+
aiState: AIState;
|
|
23
|
+
openAI: () => void;
|
|
24
|
+
closeAI: () => void;
|
|
25
|
+
setAIPrompt: (prompt: string) => void;
|
|
26
|
+
generateAI: () => Promise<void>;
|
|
27
|
+
acceptAI: () => void;
|
|
28
|
+
cancelAI: () => void;
|
|
29
|
+
shareButtonState: "idle" | "copied" | "copied-no-chart";
|
|
30
|
+
share: () => Promise<void>;
|
|
31
|
+
canShare: boolean;
|
|
32
|
+
};
|
|
33
|
+
export type UseAnalysisEffectsResult = ReturnType<typeof useAnalysisEffects>;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { DebugDataEntry } from './queries/index.js';
|
|
2
|
+
import { CubeQuery, MultiQueryConfig, FunnelBindingKey, QueryMergeStrategy, AnalysisType } from '../types.js';
|
|
3
|
+
import { ExecutionStatus } from '../components/AnalysisBuilder/types.js';
|
|
4
|
+
import { ServerFunnelQuery } from '../types/funnel.js';
|
|
5
|
+
import { ServerFlowQuery, FlowChartData } from '../types/flow.js';
|
|
6
|
+
import { ServerRetentionQuery, RetentionChartData } from '../types/retention.js';
|
|
7
|
+
export interface UseAnalysisQueryOptions {
|
|
8
|
+
/** Current query (for single-query mode) */
|
|
9
|
+
currentQuery: CubeQuery;
|
|
10
|
+
/** All queries (for dry-run and multi-query) */
|
|
11
|
+
allQueries: CubeQuery[];
|
|
12
|
+
/** Multi-query config (null if single-query mode) */
|
|
13
|
+
multiQueryConfig: MultiQueryConfig | null;
|
|
14
|
+
/** Whether in multi-query mode */
|
|
15
|
+
isMultiQueryMode: boolean;
|
|
16
|
+
/** Whether current query is valid */
|
|
17
|
+
isValidQuery: boolean;
|
|
18
|
+
/** Initial data (skip first fetch) */
|
|
19
|
+
initialData?: unknown[];
|
|
20
|
+
/** Merge strategy (for detecting funnel mode - legacy) */
|
|
21
|
+
mergeStrategy?: QueryMergeStrategy;
|
|
22
|
+
/** Funnel binding key (required for funnel mode) */
|
|
23
|
+
funnelBindingKey?: FunnelBindingKey | null;
|
|
24
|
+
/**
|
|
25
|
+
* Whether funnel mode is properly configured (from store).
|
|
26
|
+
* This includes filter-only step validation that isMultiQueryMode doesn't provide.
|
|
27
|
+
* @deprecated Use analysisType === 'funnel' instead
|
|
28
|
+
*/
|
|
29
|
+
isFunnelModeEnabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Analysis type for explicit mode routing.
|
|
32
|
+
* When provided, takes precedence over legacy mode detection.
|
|
33
|
+
*/
|
|
34
|
+
analysisType?: AnalysisType;
|
|
35
|
+
/**
|
|
36
|
+
* Pre-built server funnel query from store's buildFunnelQueryFromSteps().
|
|
37
|
+
* Used when analysisType === 'funnel' with the new dedicated funnel state.
|
|
38
|
+
*/
|
|
39
|
+
serverFunnelQuery?: ServerFunnelQuery | null;
|
|
40
|
+
/**
|
|
41
|
+
* Pre-built server flow query from store's buildFlowQuery().
|
|
42
|
+
* Used when analysisType === 'flow' with the new dedicated flow state.
|
|
43
|
+
*/
|
|
44
|
+
serverFlowQuery?: ServerFlowQuery | null;
|
|
45
|
+
/**
|
|
46
|
+
* Pre-built server retention query from store's buildRetentionQuery().
|
|
47
|
+
* Used when analysisType === 'retention' with the new dedicated retention state.
|
|
48
|
+
*/
|
|
49
|
+
serverRetentionQuery?: ServerRetentionQuery | null;
|
|
50
|
+
/**
|
|
51
|
+
* Validation result for retention mode from store's getRetentionValidation().
|
|
52
|
+
* Used to display specific errors in the debug panel.
|
|
53
|
+
*/
|
|
54
|
+
retentionValidation?: {
|
|
55
|
+
isValid: boolean;
|
|
56
|
+
errors: string[];
|
|
57
|
+
warnings: string[];
|
|
58
|
+
} | null;
|
|
59
|
+
}
|
|
60
|
+
export interface UseAnalysisQueryResult {
|
|
61
|
+
/** Query execution status */
|
|
62
|
+
executionStatus: ExecutionStatus;
|
|
63
|
+
/** Query results (merged for multi-query) */
|
|
64
|
+
executionResults: unknown[] | null;
|
|
65
|
+
/** Per-query results (for table view in multi-query mode) */
|
|
66
|
+
perQueryResults: (unknown[] | null)[] | null;
|
|
67
|
+
/** Whether query is loading */
|
|
68
|
+
isLoading: boolean;
|
|
69
|
+
/** Whether query is fetching (includes refetch) */
|
|
70
|
+
isFetching: boolean;
|
|
71
|
+
/** Query error */
|
|
72
|
+
error: Error | null;
|
|
73
|
+
/** Debug data per query (for non-funnel modes) */
|
|
74
|
+
debugDataPerQuery: DebugDataEntry[];
|
|
75
|
+
/** Whether query has been debounced (for smart defaults trigger) */
|
|
76
|
+
hasDebounced: boolean;
|
|
77
|
+
/** Refetch function. Pass { bustCache: true } to bypass client and server caches. */
|
|
78
|
+
refetch: (options?: {
|
|
79
|
+
bustCache?: boolean;
|
|
80
|
+
}) => void;
|
|
81
|
+
/**
|
|
82
|
+
* In funnel mode, these are the actually executed queries with:
|
|
83
|
+
* - Binding key dimension auto-added
|
|
84
|
+
* - IN filter applied for steps 2+
|
|
85
|
+
* Use these for debug display instead of the original queries.
|
|
86
|
+
* @deprecated Server-side funnel uses a unified query. Use funnelServerQuery instead.
|
|
87
|
+
*/
|
|
88
|
+
funnelExecutedQueries: CubeQuery[] | null;
|
|
89
|
+
/**
|
|
90
|
+
* The actual server funnel query { funnel: {...} }
|
|
91
|
+
* This is the unified query sent to the server (not per-step queries).
|
|
92
|
+
*/
|
|
93
|
+
funnelServerQuery: ServerFunnelQuery | null;
|
|
94
|
+
/**
|
|
95
|
+
* Debug data specifically for funnel mode
|
|
96
|
+
* Contains unified dry-run SQL and mode metadata.
|
|
97
|
+
*/
|
|
98
|
+
funnelDebugData: DebugDataEntry | null;
|
|
99
|
+
/**
|
|
100
|
+
* The server flow query being executed (when analysisType === 'flow')
|
|
101
|
+
*/
|
|
102
|
+
flowServerQuery: ServerFlowQuery | null;
|
|
103
|
+
/**
|
|
104
|
+
* Flow chart data (nodes and links for Sankey visualization)
|
|
105
|
+
*/
|
|
106
|
+
flowChartData: FlowChartData | null;
|
|
107
|
+
/**
|
|
108
|
+
* Debug data specifically for flow mode
|
|
109
|
+
* Contains unified dry-run SQL and mode metadata.
|
|
110
|
+
*/
|
|
111
|
+
flowDebugData: DebugDataEntry | null;
|
|
112
|
+
/**
|
|
113
|
+
* The server retention query being executed (when analysisType === 'retention')
|
|
114
|
+
*/
|
|
115
|
+
retentionServerQuery: ServerRetentionQuery | null;
|
|
116
|
+
/**
|
|
117
|
+
* Retention chart data (cohort × period matrix)
|
|
118
|
+
*/
|
|
119
|
+
retentionChartData: RetentionChartData | null;
|
|
120
|
+
/**
|
|
121
|
+
* Debug data specifically for retention mode
|
|
122
|
+
* Contains unified dry-run SQL and mode metadata.
|
|
123
|
+
*/
|
|
124
|
+
retentionDebugData: DebugDataEntry | null;
|
|
125
|
+
/**
|
|
126
|
+
* Retention validation result (errors explaining why query cannot be built)
|
|
127
|
+
*/
|
|
128
|
+
retentionValidation: {
|
|
129
|
+
isValid: boolean;
|
|
130
|
+
errors: string[];
|
|
131
|
+
warnings: string[];
|
|
132
|
+
} | null;
|
|
133
|
+
/**
|
|
134
|
+
* Whether the current query config differs from the last executed query.
|
|
135
|
+
* Used for manual refresh mode to show "needs refresh" indicator.
|
|
136
|
+
*/
|
|
137
|
+
needsRefresh: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Query warnings from the server (e.g., fan-out without dimensions).
|
|
140
|
+
* Displayed as a banner above results.
|
|
141
|
+
*/
|
|
142
|
+
warnings: import('../shared/types.js').QueryWarning[] | undefined;
|
|
143
|
+
}
|
|
144
|
+
export declare function useAnalysisQuery(options: UseAnalysisQueryOptions): UseAnalysisQueryResult;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { MultiQueryValidationResult } from '../utils/multiQueryValidation.js';
|
|
2
|
+
import { ColorPalette } from '../utils/colorPalettes.js';
|
|
3
|
+
import { MultiQueryConfig, ChartType, ChartAxisConfig, ChartDisplayConfig } from '../types.js';
|
|
4
|
+
import { MetricItem, BreakdownItem } from '../components/AnalysisBuilder/types.js';
|
|
5
|
+
import { ChartAvailabilityMap } from '../shared/chartDefaults.js';
|
|
6
|
+
import { MetaField } from '../shared/types.js';
|
|
7
|
+
export interface UseAnalysisStateOptions {
|
|
8
|
+
/** External color palette (overrides local) */
|
|
9
|
+
externalColorPalette?: string[] | ColorPalette;
|
|
10
|
+
}
|
|
11
|
+
export declare function useAnalysisState(options?: UseAnalysisStateOptions): {
|
|
12
|
+
storeApi: import('zustand').StoreApi<import('../index.js').AnalysisBuilderStore>;
|
|
13
|
+
queryState: import('../components/AnalysisBuilder/types.js').AnalysisBuilderState;
|
|
14
|
+
queryStates: import('../components/AnalysisBuilder/types.js').AnalysisBuilderState[];
|
|
15
|
+
activeQueryIndex: number;
|
|
16
|
+
mergeStrategy: import('../types.js').QueryMergeStrategy;
|
|
17
|
+
isMultiQueryMode: boolean;
|
|
18
|
+
mergeKeys: string[] | undefined;
|
|
19
|
+
currentQuery: import('../types.js').CubeQuery;
|
|
20
|
+
allQueries: import('../types.js').CubeQuery[];
|
|
21
|
+
multiQueryConfig: MultiQueryConfig | null;
|
|
22
|
+
multiQueryValidation: MultiQueryValidationResult | null;
|
|
23
|
+
/** Raw query/multi validity (independent of mode) */
|
|
24
|
+
isValidQuery: boolean | undefined;
|
|
25
|
+
/** Mode-aware validity (funnel/flow/retention/query) */
|
|
26
|
+
effectiveIsValidQuery: boolean;
|
|
27
|
+
combinedMetrics: MetricItem[];
|
|
28
|
+
combinedBreakdowns: BreakdownItem[];
|
|
29
|
+
effectiveBreakdowns: BreakdownItem[];
|
|
30
|
+
analysisType: import('../types.js').AnalysisType;
|
|
31
|
+
funnelBindingKey: import('../types.js').FunnelBindingKey | null;
|
|
32
|
+
isFunnelModeEnabled: boolean;
|
|
33
|
+
funnelCube: string | null;
|
|
34
|
+
funnelSteps: import('../types.js').FunnelStepState[];
|
|
35
|
+
activeFunnelStepIndex: number;
|
|
36
|
+
funnelTimeDimension: string | null;
|
|
37
|
+
funnelChartType: ChartType;
|
|
38
|
+
funnelChartConfig: ChartAxisConfig;
|
|
39
|
+
funnelDisplayConfig: ChartDisplayConfig;
|
|
40
|
+
serverFunnelQuery: import('../types.js').ServerFunnelQuery | null;
|
|
41
|
+
flowCube: string | null;
|
|
42
|
+
flowBindingKey: import('../types.js').FunnelBindingKey | null;
|
|
43
|
+
flowTimeDimension: string | null;
|
|
44
|
+
eventDimension: string | null;
|
|
45
|
+
startingStep: import('../types.js').FlowStartingStep;
|
|
46
|
+
stepsBefore: number;
|
|
47
|
+
stepsAfter: number;
|
|
48
|
+
joinStrategy: "auto" | "lateral" | "window";
|
|
49
|
+
flowDisplayConfig: ChartDisplayConfig;
|
|
50
|
+
serverFlowQuery: import('../types.js').ServerFlowQuery | null;
|
|
51
|
+
retentionCube: string | null;
|
|
52
|
+
retentionBindingKey: import('../types.js').FunnelBindingKey | null;
|
|
53
|
+
retentionTimeDimension: string | null;
|
|
54
|
+
retentionDateRange: import('../types/retention.js').DateRange;
|
|
55
|
+
retentionCohortFilters: import('../types.js').Filter[];
|
|
56
|
+
retentionActivityFilters: import('../types.js').Filter[];
|
|
57
|
+
retentionBreakdowns: import('../types/retention.js').RetentionBreakdownItem[];
|
|
58
|
+
retentionViewGranularity: import('../types/retention.js').RetentionGranularity;
|
|
59
|
+
retentionPeriods: number;
|
|
60
|
+
retentionType: import('../types/retention.js').RetentionType;
|
|
61
|
+
retentionDisplayConfig: ChartDisplayConfig | undefined;
|
|
62
|
+
serverRetentionQuery: import('../types/retention.js').ServerRetentionQuery | null;
|
|
63
|
+
retentionValidation: {
|
|
64
|
+
isValid: boolean;
|
|
65
|
+
errors: string[];
|
|
66
|
+
warnings: string[];
|
|
67
|
+
} | null;
|
|
68
|
+
chartType: ChartType;
|
|
69
|
+
chartConfig: ChartAxisConfig;
|
|
70
|
+
displayConfig: ChartDisplayConfig;
|
|
71
|
+
colorPalette: ColorPalette;
|
|
72
|
+
localPaletteName: string;
|
|
73
|
+
chartAvailability: ChartAvailabilityMap;
|
|
74
|
+
userManuallySelectedChart: boolean;
|
|
75
|
+
activeTab: import('../components/AnalysisBuilder/types.js').QueryPanelTab;
|
|
76
|
+
activeView: "table" | "chart";
|
|
77
|
+
displayLimit: number;
|
|
78
|
+
showFieldModal: boolean;
|
|
79
|
+
fieldModalMode: import('../index.js').FieldModalMode;
|
|
80
|
+
activeTableIndex: number;
|
|
81
|
+
adapterValidation: import('../adapters/modeAdapter.js').ValidationResult;
|
|
82
|
+
getQueryConfig: () => import('../types.js').CubeQuery | import('../types.js').ServerFunnelQuery | {
|
|
83
|
+
queries: import('../types.js').CubeQuery[];
|
|
84
|
+
mergeStrategy: import('../types.js').QueryMergeStrategy;
|
|
85
|
+
mergeKeys: string[] | undefined;
|
|
86
|
+
queryLabels: string[];
|
|
87
|
+
funnelBindingKey: import('../types.js').FunnelBindingKey | null;
|
|
88
|
+
stepTimeToConvert: (string | null)[];
|
|
89
|
+
};
|
|
90
|
+
getChartConfig: () => {
|
|
91
|
+
chartType: ChartType;
|
|
92
|
+
chartConfig: ChartAxisConfig;
|
|
93
|
+
displayConfig: ChartDisplayConfig;
|
|
94
|
+
};
|
|
95
|
+
getAnalysisType: () => import('../types.js').AnalysisType;
|
|
96
|
+
actions: {
|
|
97
|
+
setActiveQueryIndex: (index: number) => void;
|
|
98
|
+
setMergeStrategy: (strategy: import('../types.js').QueryMergeStrategy) => void;
|
|
99
|
+
addQuery: () => void;
|
|
100
|
+
removeQuery: (index: number) => void;
|
|
101
|
+
openMetricsModal: () => void;
|
|
102
|
+
addMetric: (field: string, label?: string) => void;
|
|
103
|
+
removeMetric: (id: string) => void;
|
|
104
|
+
toggleMetric: (fieldName: string) => void;
|
|
105
|
+
reorderMetrics: (fromIndex: number, toIndex: number) => void;
|
|
106
|
+
openBreakdownsModal: () => void;
|
|
107
|
+
addBreakdown: (field: string, isTimeDimension: boolean, granularity?: string) => void;
|
|
108
|
+
removeBreakdown: (id: string) => void;
|
|
109
|
+
toggleBreakdown: (fieldName: string, isTimeDimension: boolean, granularity?: string) => void;
|
|
110
|
+
setBreakdownGranularity: (id: string, granularity: string) => void;
|
|
111
|
+
toggleBreakdownComparison: (id: string) => void;
|
|
112
|
+
reorderBreakdowns: (fromIndex: number, toIndex: number) => void;
|
|
113
|
+
setFilters: (filters: import('../types.js').Filter[]) => void;
|
|
114
|
+
dropFieldToFilter: (field: string) => void;
|
|
115
|
+
setOrder: (fieldName: string, direction: "asc" | "desc" | null) => void;
|
|
116
|
+
setLimit: (limit: number | undefined) => void;
|
|
117
|
+
setFunnelBindingKey: (bindingKey: import('../types.js').FunnelBindingKey | null) => void;
|
|
118
|
+
setAnalysisType: (type: import('../types.js').AnalysisType) => void;
|
|
119
|
+
setFunnelCube: (cube: string | null) => void;
|
|
120
|
+
addFunnelStep: () => void;
|
|
121
|
+
removeFunnelStep: (index: number) => void;
|
|
122
|
+
updateFunnelStep: (index: number, updates: Partial<import('../types.js').FunnelStepState>) => void;
|
|
123
|
+
setActiveFunnelStepIndex: (index: number) => void;
|
|
124
|
+
reorderFunnelSteps: (fromIndex: number, toIndex: number) => void;
|
|
125
|
+
setFunnelTimeDimension: (dimension: string | null) => void;
|
|
126
|
+
setFunnelDisplayConfig: (config: ChartDisplayConfig) => void;
|
|
127
|
+
setFlowCube: (cube: string | null) => void;
|
|
128
|
+
setFlowBindingKey: (key: import('../types.js').FunnelBindingKey | null) => void;
|
|
129
|
+
setFlowTimeDimension: (dim: string | null) => void;
|
|
130
|
+
setEventDimension: (dim: string | null) => void;
|
|
131
|
+
setStartingStepName: (name: string) => void;
|
|
132
|
+
setStartingStepFilters: (filters: import('../types.js').Filter[]) => void;
|
|
133
|
+
setStepsBefore: (count: number) => void;
|
|
134
|
+
setStepsAfter: (count: number) => void;
|
|
135
|
+
setJoinStrategy: (strategy: "auto" | "lateral" | "window") => void;
|
|
136
|
+
setFlowDisplayConfig: (config: ChartDisplayConfig) => void;
|
|
137
|
+
setRetentionCube: (cube: string | null) => void;
|
|
138
|
+
setRetentionBindingKey: (key: import('../types.js').FunnelBindingKey | null) => void;
|
|
139
|
+
setRetentionTimeDimension: (dim: string | null) => void;
|
|
140
|
+
setRetentionDateRange: (range: import('../types/retention.js').DateRange) => void;
|
|
141
|
+
setRetentionCohortFilters: (filters: import('../types.js').Filter[]) => void;
|
|
142
|
+
setRetentionActivityFilters: (filters: import('../types.js').Filter[]) => void;
|
|
143
|
+
setRetentionBreakdowns: (breakdowns: import('../types/retention.js').RetentionBreakdownItem[]) => void;
|
|
144
|
+
addRetentionBreakdown: (breakdown: import('../types/retention.js').RetentionBreakdownItem) => void;
|
|
145
|
+
removeRetentionBreakdown: (field: string) => void;
|
|
146
|
+
setRetentionViewGranularity: (granularity: import('../types/retention.js').RetentionGranularity) => void;
|
|
147
|
+
setRetentionPeriods: (periods: number) => void;
|
|
148
|
+
setRetentionType: (type: import('../types/retention.js').RetentionType) => void;
|
|
149
|
+
setRetentionDisplayConfig: (config: ChartDisplayConfig) => void;
|
|
150
|
+
setChartType: (type: ChartType) => void;
|
|
151
|
+
setChartConfig: (config: ChartAxisConfig) => void;
|
|
152
|
+
setDisplayConfig: (config: ChartDisplayConfig) => void;
|
|
153
|
+
setLocalPaletteName: (name: string) => void;
|
|
154
|
+
setUserManuallySelectedChart: (value: boolean) => void;
|
|
155
|
+
setActiveTab: (tab: import('../components/AnalysisBuilder/types.js').QueryPanelTab) => void;
|
|
156
|
+
setActiveView: (view: "table" | "chart") => void;
|
|
157
|
+
setDisplayLimit: (limit: number) => void;
|
|
158
|
+
closeFieldModal: () => void;
|
|
159
|
+
setActiveTableIndex: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
160
|
+
clearQuery: () => void;
|
|
161
|
+
clearCurrentMode: () => void;
|
|
162
|
+
handleFieldSelected: (field: MetaField, fieldType: "measure" | "dimension" | "timeDimension", _cubeName: string, keepOpen?: boolean) => void;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
export type UseAnalysisStateResult = ReturnType<typeof useAnalysisState>;
|
package/dist/client/hooks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as e } from "./chunks/chart-data-table-
|
|
2
|
-
import { S as t, a as n, c as r, d as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d } from "./chunks/useDirtyStateTracking-
|
|
3
|
-
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "./chunks/useExplainAI-
|
|
1
|
+
import { R as e } from "./chunks/chart-data-table-D4g5_jfF.js";
|
|
2
|
+
import { S as t, a as n, c as r, d as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d } from "./chunks/useDirtyStateTracking-BY_IIG1n.js";
|
|
3
|
+
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "./chunks/useExplainAI-PjMBmj2p.js";
|
|
4
4
|
import { t as v } from "./chunks/useNotebookLayout-Ck3Z3uzg.js";
|
|
5
5
|
export { m as createExplainQueryKey, c as createFlowQueryKey, r as createFunnelQueryKey, t as useCubeLoadQuery, t as useCubeQuery, e as useCubeMetaQuery, s as useDebounce, d as useDirtyStateTracking, p as useDryRunQueries, f as useDryRunQuery, _ as useExplainAI, g as useExplainQuery, l as useFilterValues, u as useFlowQuery, o as useFunnelQuery, i as useMultiCubeLoadQuery, h as useMultiDryRunQueries, v as useNotebookLayout, a as useResponsiveDashboard, n as useRetentionQuery };
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { IconifyIcon } from '@iconify/types';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { IconRegistry, IconName, IconCategory, IconProps, PartialIconRegistry } from './types.js';
|
|
4
|
-
/**
|
|
5
|
-
* Set a custom icon resolver for chart plugin types.
|
|
6
|
-
* Called by chartPlugin.ts during initialization.
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export declare function setCustomChartIconResolver(resolver: (chartType: string) => ComponentType<IconProps> | undefined): void;
|
|
10
4
|
/**
|
|
11
5
|
* Get the full icon registry
|
|
12
6
|
*/
|
|
@@ -90,6 +90,11 @@ export interface IconRegistry {
|
|
|
90
90
|
chartSunburst: IconDefinition;
|
|
91
91
|
chartHeatmap: IconDefinition;
|
|
92
92
|
chartRetention: IconDefinition;
|
|
93
|
+
chartBoxPlot: IconDefinition;
|
|
94
|
+
chartWaterfall: IconDefinition;
|
|
95
|
+
chartCandlestick: IconDefinition;
|
|
96
|
+
chartMeasureProfile: IconDefinition;
|
|
97
|
+
chartGauge: IconDefinition;
|
|
93
98
|
measureCount: IconDefinition;
|
|
94
99
|
measureCountDistinct: IconDefinition;
|
|
95
100
|
measureCountDistinctApprox: IconDefinition;
|
package/dist/client/icons.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, b as a, g as o, v as s, w as c, x as l, y as u } from "./chunks/chart-data-table-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, b as a, g as o, v as s, w as c, x as l, y as u } from "./chunks/chart-data-table-D4g5_jfF.js";
|
|
2
2
|
export { t as DEFAULT_ICONS, o as getChartTypeIcon, i as getFieldTypeIcon, s as getIcon, u as getIconData, a as getIconRegistry, l as getIconsByCategory, n as getMeasureTypeIcon, e as registerIcons, c as resetIcons, r as setIcon };
|
package/dist/client/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as e, n as t, o as n, r, s as i } from "./chunks/vendor-
|
|
1
|
+
import { a as e, n as t, o as n, r, s as i } from "./chunks/vendor-D4jADu8t.js";
|
|
2
2
|
import { n as a, t as o } from "./chunks/providers-DwQCKdGW.js";
|
|
3
|
-
import { A as s, B as c, C as l, E as u, I as d, L as f, M as p, N as m, R as h, S as g, T as _, V as v, _ as y, b, c as x, g as S, j as C, k as w, l as T, s as E, v as D, w as O, x as k, y as A, z as j } from "./chunks/chart-data-table-
|
|
3
|
+
import { A as s, B as c, C as l, E as u, I as d, L as f, M as p, N as m, R as h, S as g, T as _, V as v, _ as y, b, c as x, g as S, j as C, k as w, l as T, s as E, v as D, w as O, x as k, y as A, z as j } from "./chunks/chart-data-table-D4g5_jfF.js";
|
|
4
4
|
import { n as M, r as N } from "./chunks/chart-sankey-DjrvKw6K.js";
|
|
5
|
-
import { $ as P, B as F, C as I, D as L, E as ee, F as te, G as R, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, Q as de, R as fe, T as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _ as be, _t as xe, a as Se, at as Ce, c as we, ct as Te, dt as Ee, f as De, ft as Oe, gt as ke, h as Ae, ht as je, i as Me, it as Ne, j as Pe, k as Fe, lt as Ie, m as Le, mt as Re, n as ze, nt as Be, o as Ve, ot as He, p as Ue, pt as We, q as Ge, r as Ke, rt as qe, st as Je, t as Ye, tt as Xe, ut as Ze, vt as Qe, yt as $e, z as et } from "./chunks/DashboardEditModal-
|
|
5
|
+
import { $ as P, B as F, C as I, D as L, E as ee, F as te, G as R, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, Q as de, R as fe, T as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _ as be, _t as xe, a as Se, at as Ce, c as we, ct as Te, dt as Ee, f as De, ft as Oe, gt as ke, h as Ae, ht as je, i as Me, it as Ne, j as Pe, k as Fe, lt as Ie, m as Le, mt as Re, n as ze, nt as Be, o as Ve, ot as He, p as Ue, pt as We, q as Ge, r as Ke, rt as qe, st as Je, t as Ye, tt as Xe, ut as Ze, vt as Qe, yt as $e, z as et } from "./chunks/DashboardEditModal-CWurUU2B.js";
|
|
6
6
|
import { P as z, S as tt, _ as nt, b as rt, g as it, h as at, m as ot, p as st, v as ct, x as lt, y as ut, z as dt } from "./chunks/chart-activity-grid-DX0SJbxs.js";
|
|
7
|
-
import { S as ft, _ as pt, b as mt, c as ht, d as gt, f as _t, g as vt, h as yt, l as bt, m as xt, o as St, p as Ct, s as wt, v as Tt, y as Et } from "./chunks/useDirtyStateTracking-
|
|
8
|
-
import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./chunks/useExplainAI-
|
|
7
|
+
import { S as ft, _ as pt, b as mt, c as ht, d as gt, f as _t, g as vt, h as yt, l as bt, m as xt, o as St, p as Ct, s as wt, v as Tt, y as Et } from "./chunks/useDirtyStateTracking-BY_IIG1n.js";
|
|
8
|
+
import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./chunks/useExplainAI-PjMBmj2p.js";
|
|
9
9
|
import { a as Nt, c as Pt, i as Ft, l as It, o as Lt, r as Rt, s as zt } from "./chunks/chart-funnel-CToKSBaL.js";
|
|
10
|
-
import { a as Bt, i as Vt, n as Ht, o as Ut, r as Wt, s as Gt, t as Kt } from "./chunks/charts-loader-
|
|
10
|
+
import { a as Bt, i as Vt, n as Ht, o as Ut, r as Wt, s as Gt, t as Kt } from "./chunks/charts-loader-B0DOQMFH.js";
|
|
11
11
|
import { F as B } from "./chunks/chart-area-of01_62R.js";
|
|
12
|
-
import { f as qt, i as Jt, t as Yt } from "./chunks/utils-
|
|
13
|
-
import { A as Xt,
|
|
12
|
+
import { f as qt, i as Jt, t as Yt } from "./chunks/utils-Cq-j5E5I.js";
|
|
13
|
+
import { A as Xt, C as Zt, D as Qt, E as $t, F as en, N as tn, O as nn, P as rn, T as an, _ as on, a as sn, b as cn, c as ln, d as un, f as dn, g as fn, h as pn, i as mn, j as hn, k as gn, l as _n, m as vn, n as yn, o as bn, r as xn, s as Sn, t as Cn, u as wn, v as Tn, w as En, x as Dn, y as On } from "./chunks/analysis-builder-shared-AdAYIfj_.js";
|
|
14
14
|
import { r as kn } from "./chunks/chart-markdown-CV75S_zL.js";
|
|
15
15
|
import { t as An } from "./chunks/useNotebookLayout-Ck3Z3uzg.js";
|
|
16
16
|
import { n as jn } from "./chunks/chart-bubble-B2he1--4.js";
|
|
@@ -1807,6 +1807,6 @@ function yi({ className: e = "" }) {
|
|
|
1807
1807
|
});
|
|
1808
1808
|
}
|
|
1809
1809
|
//#endregion
|
|
1810
|
-
export { Vr as AgenticNotebook, De as AnalysisBuilder, Ke as AnalyticsDashboard, Hr as AnalyticsPage, ve as AnalyticsPortlet, de as ChartErrorBoundary, Ve as ConfirmModal, c as CubeClient, E as CubeProvider, u as DEFAULT_ICONS, Ye as DashboardEditModal, Ae as DashboardFilterBar, Me as DashboardGrid, Le as DashboardGridSurface, Se as DashboardModals, ee as DashboardProvider, ce as DashboardStoreProvider, yi as DashboardThumbnailPlaceholder, I as DashboardToolbar, _i as DataBrowser, _e as DrillBreadcrumb, ye as DrillMenu,
|
|
1810
|
+
export { Vr as AgenticNotebook, De as AnalysisBuilder, Ke as AnalyticsDashboard, Hr as AnalyticsPage, ve as AnalyticsPortlet, de as ChartErrorBoundary, Ve as ConfirmModal, c as CubeClient, E as CubeProvider, u as DEFAULT_ICONS, Ye as DashboardEditModal, Ae as DashboardFilterBar, Me as DashboardGrid, Le as DashboardGridSurface, Se as DashboardModals, ee as DashboardProvider, ce as DashboardStoreProvider, yi as DashboardThumbnailPlaceholder, I as DashboardToolbar, _i as DataBrowser, _e as DrillBreadcrumb, ye as DrillMenu, tn as ExecutionPlanPanel, rn as ExplainAIPanel, Kt as LazyChart, B as LoadingIndicator, Ue as Modal, Rn as NotebookStoreProvider, we as PortletAnalysisModal, ze as PortletContainer, o as ScrollContainerProvider, st as THEME_PRESETS, ot as applyTheme, Rt as buildFunnelConfigFromQueries, Ft as buildServerFunnelQuery, m as captureThumbnail, T as chartPluginRegistry, _n as compressAndEncode, v as createCubeClient, Yt as createDashboardLayout, ue as createDashboardStore, Ne as createDefaultConfig, Ce as createDefaultFlowConfig, He as createDefaultFunnelConfig, Je as createDefaultQueryConfig, Te as createDefaultRetentionConfig, Ie as createDefaultWorkspace, kt as createExplainQueryKey, St as createFlowQueryKey, ht as createFunnelQueryKey, In as createNotebookStore, wn as decodeAndDecompress, pn as detectAsymmetricDateRanges, fn as detectMeasureCollisions, s as exportPortletToXlsx, Jt as formatChartData, Nt as formatDuration, _t as generateQueryLabel, un as generateShareUrl, Cn as getAvailableBindingKeyDimensions, Ht as getAvailableChartTypes, Lt as getBindingKeyField, yn as getBindingKeyLabel, S as getChartTypeIcon, Ct as getCombinedFields, zt as getCubeNameFromQuery, y as getFieldTypeIcon, D as getIcon, A as getIconData, b as getIconRegistry, k as getIconsByCategory, g as getMeasureTypeIcon, xt as getQueryIndices, yt as getQueryLabels, at as getTheme, it as getThemeVariable, Wt as getUnavailableChartTypes, on as getValidationSummary, qt as highlightCodeBlocks, Vt as isChartTypeAvailable, nt as isDarkMode, C as isExportAvailable, Ze as isFlowConfig, Ee as isFunnelConfig, Pt as isFunnelData, xn as isMinimumFunnelConfigValid, Oe as isMultiQuery, Qe as isMultiQueryConfig, vt as isMultiQueryData, Tn as isMultiQueryValid, We as isQueryConfig, Re as isRetentionConfig, M as isSankeyData, N as isServerFlowQuery, $e as isServerFunnelQuery, dn as isShareableSize, je as isSingleQuery, d as isThumbnailCaptureAvailable, ke as isValidAnalysisConfig, xe as isValidAnalysisWorkspace, Bt as isValidChartType, pt as mergeQueryResults, Tt as mergeResultsByKey, Et as mergeResultsConcat, Be as migrateConfig, qe as migrateLegacyPortlet, vn as parseShareUrl, Ut as preloadChart, Gt as preloadCharts, l as registerIcons, O as resetIcons, ct as resetTheme, te as selectAllActions, Kn as selectBlockActions, zn as selectBlocks, Zt as selectBreakdowns, En as selectChartConfig, Gn as selectChatActions, Wn as selectChatState, an as selectCurrentState, re as selectDebugData, oe as selectDebugDataActions, fe as selectEditModeActions, et as selectEditModeState, $t as selectFilters, Qt as selectFunnelState, Un as selectInputValue, Vn as selectIsStreaming, F as selectLayoutActions, he as selectLayoutState, Bn as selectMessages, nn as selectMetrics, ne as selectModalActions, me as selectModalState, gn as selectMultiQueryState, ge as selectPortletDebugData, Hn as selectSessionId, R as selectThumbnailDirty, Xt as selectUIState, _ as setIcon, ut as setTheme, rt as setThemeVariable, It as transformServerFunnelResult, Tr as useAgentChat, ln as useAnalysisBuilder, hn as useAnalysisBuilderStore, j as useCubeApi, x as useCubeContext, w as useCubeFeatures, tt as useCubeFieldLabel, ft as useCubeLoadQuery, ft as useCubeQuery, dt as useCubeMeta, h as useCubeMetaQuery, le as useDashboard, L as useDashboardContext, ae as useDashboardStore, Ge as useDashboardStoreApi, ie as useDashboardStoreOptional, Qr as useDataBrowser, P as useDrillInteraction, Ot as useDryRunQueries, Dt as useDryRunQuery, Pe as useElementVisibility, Mt as useExplainAI, jt as useExplainQuery, wt as useFlowQuery, bt as useFunnelQuery, gt as useMultiCubeLoadQuery, At as useMultiDryRunQueries, X as useNotebookStore, a as useScrollContainer, se as useScrollDetection, jn as useTheme, mn as validateBindingKeyExists, sn as validateBindingKeyForSteps, bn as validateFunnelConfig, mt as validateMergeKey, On as validateMergeKeys, cn as validateMultiQueryConfig, Sn as validateStepQueries, Dn as validateTimeDimensionAlignment, p as warnIfExcelJsMissing, f as warnIfScreenshotLibMissing, lt as watchThemeChanges };
|
|
1811
1811
|
|
|
1812
1812
|
//# sourceMappingURL=index.js.map
|
package/dist/client/providers.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as e, t } from "./chunks/providers-DwQCKdGW.js";
|
|
2
|
-
import { V as n, c as r, s as i } from "./chunks/chart-data-table-
|
|
2
|
+
import { V as n, c as r, s as i } from "./chunks/chart-data-table-D4g5_jfF.js";
|
|
3
3
|
export { i as CubeProvider, t as ScrollContainerProvider, n as createCubeClient, r as useCubeContext, e as useScrollContainer };
|