drizzle-cube 0.6.0 → 0.6.1
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/express/index.cjs +1 -1
- package/dist/adapters/{adapters/express → express}/index.d.ts +3 -3
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/{adapters/fastify → fastify}/index.d.ts +3 -3
- package/dist/adapters/fastify/index.js +1 -1
- package/dist/adapters/{adapters/hono → hono}/agent-handler.d.ts +3 -3
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/{adapters/hono → hono}/index.d.ts +4 -4
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/{adapters/hono → hono}/mcp-handler.d.ts +2 -2
- package/dist/adapters/{adapters/locale.d.ts → locale.d.ts} +1 -1
- package/dist/adapters/{adapters/mcp-tools-handlers.d.ts → mcp-tools-handlers.d.ts} +2 -2
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/{adapters/mcp-tools.d.ts → mcp-tools.d.ts} +5 -5
- package/dist/adapters/mcp-tools.js +1 -1
- package/dist/adapters/mcp-transport-B7ddET3M.cjs +40 -0
- package/dist/adapters/mcp-transport-Dfuj4j4q.js +591 -0
- package/dist/adapters/{adapters/mcp-transport.d.ts → mcp-transport.d.ts} +3 -3
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/{adapters/nextjs → nextjs}/index.d.ts +3 -3
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/{adapters/nextjs → nextjs}/mcp-handler.d.ts +2 -2
- package/dist/adapters/{adapters/types.d.ts → types.d.ts} +1 -1
- package/dist/adapters/{adapters/utils.d.ts → utils.d.ts} +16 -16
- package/dist/cli/index.cjs +2 -2
- package/dist/client/adapters/adapterRegistry.d.ts +2 -2
- package/dist/client/adapters/flowModeAdapter.d.ts +2 -2
- package/dist/client/adapters/funnelModeAdapter.d.ts +2 -2
- package/dist/client/adapters/index.d.ts +9 -9
- package/dist/client/adapters/modeAdapter.d.ts +1 -1
- package/dist/client/adapters/queryModeAdapter.d.ts +3 -3
- package/dist/client/adapters/retentionModeAdapter.d.ts +2 -2
- package/dist/client/charts/ChartLoader.d.ts +2 -2
- package/dist/client/charts/chartComponentRegistry.d.ts +1 -1
- package/dist/client/charts/chartConfigHelpers.d.ts +1 -1
- package/dist/client/charts/chartConfigRegistry.d.ts +1 -1
- package/dist/client/charts/chartPlugin.d.ts +3 -3
- package/dist/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/client/charts.d.ts +8 -8
- package/dist/client/chunks/DashboardEditModal-okVfH8ZK.js.map +1 -1
- package/dist/client/chunks/RetentionCombinedChart-BgbDhsPz.js.map +1 -1
- package/dist/client/chunks/RetentionHeatmap-DjXZaTPq.js.map +1 -1
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +1 -1
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +1 -1
- package/dist/client/chunks/chart-activity-grid-DX0SJbxs.js.map +1 -1
- package/dist/client/chunks/chart-area-of01_62R.js.map +1 -1
- package/dist/client/chunks/chart-bar-BqelQE_I.js.map +1 -1
- package/dist/client/chunks/chart-box-plot-kkBixZ27.js.map +1 -1
- package/dist/client/chunks/chart-bubble-B2he1--4.js.map +1 -1
- package/dist/client/chunks/chart-candlestick-DZp19Tzh.js.map +1 -1
- package/dist/client/chunks/chart-config-activity-grid-D_UX4NHC.js.map +1 -1
- package/dist/client/chunks/chart-config-area-BNigHUy8.js.map +1 -1
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +1 -1
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +1 -1
- package/dist/client/chunks/chart-config-bubble-gIoqVyjZ.js.map +1 -1
- package/dist/client/chunks/chart-config-candlestick-N6DchAA3.js.map +1 -1
- package/dist/client/chunks/chart-config-data-table-d7VBY-y_.js.map +1 -1
- package/dist/client/chunks/chart-config-funnel-DEYMcxsD.js.map +1 -1
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +1 -1
- package/dist/client/chunks/chart-config-heat-map-CfRnRNcw.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +1 -1
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +1 -1
- package/dist/client/chunks/chart-config-markdown-BtRIe8JN.js.map +1 -1
- package/dist/client/chunks/chart-config-measure-profile-DxRGa-zf.js.map +1 -1
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +1 -1
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +1 -1
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +1 -1
- package/dist/client/chunks/chart-config-sankey-BTnWA7EW.js.map +1 -1
- package/dist/client/chunks/chart-config-scatter-DSYTjwRb.js.map +1 -1
- package/dist/client/chunks/chart-config-sunburst-Bwjtdf7X.js.map +1 -1
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +1 -1
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +1 -1
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +1 -1
- package/dist/client/chunks/chart-funnel-CToKSBaL.js.map +1 -1
- package/dist/client/chunks/chart-gauge-DTVezSk7.js.map +1 -1
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js.map +1 -1
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js.map +1 -1
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js.map +1 -1
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js.map +1 -1
- package/dist/client/chunks/chart-line-DKgrQA6c.js.map +1 -1
- package/dist/client/chunks/chart-markdown-CV75S_zL.js.map +1 -1
- package/dist/client/chunks/chart-measure-profile-Ket8fJyf.js.map +1 -1
- package/dist/client/chunks/chart-pie-ByieAX5H.js.map +1 -1
- package/dist/client/chunks/chart-radar-CiSwHWp4.js.map +1 -1
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js.map +1 -1
- package/dist/client/chunks/chart-sankey-DjrvKw6K.js.map +1 -1
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js.map +1 -1
- package/dist/client/chunks/chart-sunburst-leGpuDj7.js.map +1 -1
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js.map +1 -1
- package/dist/client/chunks/chart-waterfall-DyvQReN5.js.map +1 -1
- package/dist/client/chunks/charts-core-DaXSt1Dd.js.map +1 -1
- package/dist/client/chunks/charts-loader-DdTeCeNo.js.map +1 -1
- package/dist/client/chunks/retention-ChW9jYdy.js.map +1 -1
- package/dist/client/chunks/schema-visualization-Cb_E9_Gd.js.map +1 -1
- package/dist/client/chunks/useDirtyStateTracking-MbpxH_v6.js.map +1 -1
- package/dist/client/chunks/useExplainAI-evnZkjCY.js.map +1 -1
- package/dist/client/chunks/utils-3P6z1vz5.js.map +1 -1
- package/dist/client/client/BatchCoordinator.d.ts +1 -1
- package/dist/client/client/CubeClient.d.ts +1 -1
- package/dist/client/components/AIAssistant/index.d.ts +3 -3
- package/dist/client/components/AIAssistant/utils.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/ChatMessage.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookCanvas.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookMarkdownBlock.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookPortletBlock.d.ts +2 -2
- package/dist/client/components/AgenticNotebook/chatMessageParts.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/index.d.ts +2 -2
- package/dist/client/components/AgenticNotebook/useAgentChatController.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/useNotebookAutosave.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +4 -4
- package/dist/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/AnalysisResultsPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisTypeSelector.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/BreakdownItemCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/BreakdownRow.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/BreakdownSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchItem.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchModal.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchResults.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FilterConfigModal.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FilterValueInput.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FlowConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FlowDepthControls.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FlowModeContent.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelBindingKeySelector.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelModeContent.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FunnelStepCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelStepList.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/MetricItemCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/MetricRow.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/MetricsSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/RetentionConfigPanel.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/RetentionModeContent.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/index.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/types.d.ts +28 -28
- package/dist/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/filterUtils.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/utils/index.d.ts +6 -6
- package/dist/client/components/AnalysisBuilder/utils/queryUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/recentFieldsUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +16 -16
- package/dist/client/components/AnalysisBuilder/utils/storageUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilderLazy.d.ts +1 -1
- package/dist/client/components/AnalyticsDashboard.d.ts +1 -1
- package/dist/client/components/AnalyticsPortlet.d.ts +1 -1
- package/dist/client/components/ChartTypeSelector.d.ts +2 -2
- package/dist/client/components/DashboardFilterPanel.d.ts +1 -1
- package/dist/client/components/DashboardFilters/CompactFilterBar.d.ts +1 -1
- package/dist/client/components/DashboardFilters/CompactFilterBarParts.d.ts +1 -1
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterItem.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +2 -2
- package/dist/client/components/DashboardFilters/EditModeFilterList.d.ts +1 -1
- package/dist/client/components/DashboardFilters/FilterChip.d.ts +1 -1
- package/dist/client/components/DashboardFilters/FilterEditModal.d.ts +2 -2
- package/dist/client/components/DashboardFilters/FilterValuePopover.d.ts +1 -1
- package/dist/client/components/DashboardFilters/ReadOnlyFilterList.d.ts +2 -2
- package/dist/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +2 -2
- package/dist/client/components/DashboardFilters/useCompactFilterBar.d.ts +1 -1
- package/dist/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +6 -6
- package/dist/client/components/DashboardFilters/useDateRangeState.d.ts +2 -2
- package/dist/client/components/DashboardFilters/useFilterValueFetch.d.ts +1 -1
- package/dist/client/components/DashboardGrid.d.ts +2 -2
- package/dist/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/client/components/DebugModal.d.ts +2 -2
- package/dist/client/components/DrillBreadcrumb.d.ts +1 -1
- package/dist/client/components/DrillMenu.d.ts +1 -1
- package/dist/client/components/FloatingEditToolbar.d.ts +1 -1
- package/dist/client/components/MobileStackedLayout.d.ts +2 -2
- package/dist/client/components/PortletAnalysisModal.d.ts +1 -1
- package/dist/client/components/PortletContainer.d.ts +1 -1
- package/dist/client/components/PortletFilterConfigModal.d.ts +1 -1
- package/dist/client/components/RowManagedLayout.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/CubeNode.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/RelationshipEdge.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +1 -1
- package/dist/client/components/TextPortletModal.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/PortletChart.d.ts +4 -4
- package/dist/client/components/analyticsPortlet/PortletChartView.d.ts +5 -5
- package/dist/client/components/analyticsPortlet/PortletStates.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/parsePortletQuery.d.ts +3 -3
- package/dist/client/components/analyticsPortlet/portletRenderState.d.ts +3 -3
- package/dist/client/components/analyticsPortlet/usePortletDebugData.d.ts +4 -4
- package/dist/client/components/analyticsPortlet/usePortletDrillState.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +4 -4
- package/dist/client/components/charts/ActivityGridChart.config.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.render.d.ts +3 -3
- package/dist/client/components/charts/AreaChart.config.d.ts +1 -1
- package/dist/client/components/charts/AreaChart.d.ts +1 -1
- package/dist/client/components/charts/AxisFormatControls.d.ts +1 -1
- package/dist/client/components/charts/BarChart.config.d.ts +1 -1
- package/dist/client/components/charts/BarChart.d.ts +1 -1
- package/dist/client/components/charts/BarChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/BarSeries.d.ts +2 -2
- package/dist/client/components/charts/BoxPlotChart.config.d.ts +1 -1
- package/dist/client/components/charts/BoxPlotChart.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.config.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.render.d.ts +2 -2
- package/dist/client/components/charts/CandlestickChart.config.d.ts +1 -1
- package/dist/client/components/charts/CandlestickChart.d.ts +1 -1
- package/dist/client/components/charts/DataTable.config.d.ts +1 -1
- package/dist/client/components/charts/DataTable.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.config.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.helpers.d.ts +2 -2
- package/dist/client/components/charts/FunnelViews.d.ts +2 -2
- package/dist/client/components/charts/GaugeChart.config.d.ts +1 -1
- package/dist/client/components/charts/GaugeChart.d.ts +1 -1
- package/dist/client/components/charts/HeatMapCanvas.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.config.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.config.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiText.config.d.ts +1 -1
- package/dist/client/components/charts/KpiText.d.ts +1 -1
- package/dist/client/components/charts/LineChart.config.d.ts +1 -1
- package/dist/client/components/charts/LineChart.d.ts +1 -1
- package/dist/client/components/charts/MarkdownChart.config.d.ts +1 -1
- package/dist/client/components/charts/MarkdownChart.d.ts +1 -1
- package/dist/client/components/charts/MeasureProfileChart.config.d.ts +1 -1
- package/dist/client/components/charts/MeasureProfileChart.d.ts +1 -1
- package/dist/client/components/charts/PieChart.config.d.ts +1 -1
- package/dist/client/components/charts/PieChart.d.ts +1 -1
- package/dist/client/components/charts/RadarChart.config.d.ts +1 -1
- package/dist/client/components/charts/RadarChart.d.ts +1 -1
- package/dist/client/components/charts/RadialBarChart.config.d.ts +1 -1
- package/dist/client/components/charts/RadialBarChart.d.ts +1 -1
- package/dist/client/components/charts/RetentionCombinedChart.config.d.ts +1 -1
- package/dist/client/components/charts/RetentionCombinedChart.d.ts +1 -1
- package/dist/client/components/charts/RetentionHeatmap.config.d.ts +1 -1
- package/dist/client/components/charts/RetentionHeatmap.d.ts +1 -1
- package/dist/client/components/charts/SankeyChart.config.d.ts +1 -1
- package/dist/client/components/charts/SankeyChart.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.config.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.helpers.d.ts +2 -2
- package/dist/client/components/charts/ScatterSeries.d.ts +2 -2
- package/dist/client/components/charts/ScatterTooltip.d.ts +2 -2
- package/dist/client/components/charts/SunburstChart.config.d.ts +1 -1
- package/dist/client/components/charts/SunburstChart.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.config.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/TreeMapContent.d.ts +3 -3
- package/dist/client/components/charts/TreeMapLegend.d.ts +2 -2
- package/dist/client/components/charts/WaterfallChart.config.d.ts +1 -1
- package/dist/client/components/charts/WaterfallChart.d.ts +1 -1
- package/dist/client/components/charts/cartesianChartHelpers.d.ts +1 -1
- package/dist/client/components/charts/chartAxisResolution.d.ts +1 -1
- package/dist/client/components/charts/chartScaffolding.d.ts +1 -1
- package/dist/client/components/charts/gaugeChartHelpers.d.ts +1 -1
- package/dist/client/components/charts/index.d.ts +21 -21
- package/dist/client/components/charts/kpiTextHelpers.d.ts +1 -1
- package/dist/client/components/charts/radialBarChartHelpers.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardContext.d.ts +6 -6
- package/dist/client/components/dashboard/DashboardCoordinator.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardProvider.d.ts +1 -1
- package/dist/client/components/dashboard/dashboardGridUtils.d.ts +1 -1
- package/dist/client/components/dashboard/index.d.ts +7 -7
- package/dist/client/components/dashboardPortletCard/FilterFieldChip.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +2 -2
- package/dist/client/components/dashboardPortletCard/cardStyles.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/filterField.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +2 -2
- package/dist/client/components/dashboardPortletCard/usePortletCardActions.d.ts +1 -1
- package/dist/client/components/shared/DateRangeFilter.d.ts +1 -1
- package/dist/client/components/shared/FilterBuilder.d.ts +1 -1
- package/dist/client/components/shared/FilterGroup.d.ts +1 -1
- package/dist/client/components/shared/FilterItem.d.ts +1 -1
- package/dist/client/components/shared/FilterValueSelector.d.ts +1 -1
- package/dist/client/components/shared/dateRangeUtils.d.ts +1 -1
- package/dist/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +1 -1
- package/dist/client/components/shared/filterItem/FilterFieldDropdown.d.ts +1 -1
- package/dist/client/components/shared/filterItem/dateRangeSync.d.ts +1 -1
- package/dist/client/components/shared/filterItem/fieldVisuals.d.ts +1 -1
- package/dist/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +2 -2
- package/dist/client/components/shared/queryFieldUtils.d.ts +2 -2
- package/dist/client/components/shared/types.d.ts +8 -8
- package/dist/client/components/shared/utils.d.ts +7 -7
- package/dist/client/components.d.ts +11 -11
- package/dist/client/hooks/agentChatStream.d.ts +1 -1
- package/dist/client/hooks/dashboard/layoutUtils.d.ts +1 -1
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +2 -2
- package/dist/client/hooks/dashboard/useGridLayoutEngine.d.ts +1 -1
- package/dist/client/hooks/dashboard/useRowLayoutEngine.d.ts +1 -1
- package/dist/client/hooks/drillNavigation.d.ts +2 -2
- package/dist/client/hooks/queries/index.d.ts +9 -9
- package/dist/client/hooks/queries/useCubeLoadQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useCubeMetaQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useDryRunQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useExplainAI.d.ts +1 -1
- package/dist/client/hooks/queries/useExplainQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useFlowQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useFunnelQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useMultiCubeLoadQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useRetentionQuery.d.ts +1 -1
- package/dist/client/hooks/useAgentChat.d.ts +1 -1
- package/dist/client/hooks/useAnalysisAI.d.ts +4 -4
- package/dist/client/hooks/useAnalysisBuilderHook.d.ts +27 -27
- package/dist/client/hooks/useAnalysisChartDefaults.d.ts +4 -4
- package/dist/client/hooks/useAnalysisCombinedFields.d.ts +2 -2
- package/dist/client/hooks/useAnalysisInitialization.d.ts +1 -1
- package/dist/client/hooks/useAnalysisQueryBuilder.d.ts +3 -3
- package/dist/client/hooks/useAnalysisQueryExecution.d.ts +7 -7
- package/dist/client/hooks/useAnalysisShare.d.ts +1 -1
- package/dist/client/hooks/useAnalysisUIState.d.ts +2 -2
- package/dist/client/hooks/useDashboardHook.d.ts +2 -2
- package/dist/client/hooks/useDataBrowser.d.ts +5 -5
- package/dist/client/hooks/useDrillInteraction.d.ts +1 -1
- package/dist/client/hooks/useTheme.d.ts +1 -1
- package/dist/client/hooks/useTranslation.d.ts +1 -1
- package/dist/client/hooks.d.ts +11 -11
- package/dist/client/icons/defaultIcons.d.ts +1 -1
- package/dist/client/icons/index.d.ts +3 -3
- package/dist/client/icons/registry.d.ts +1 -1
- package/dist/client/index.d.ts +74 -74
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers/CubeApiProvider.d.ts +3 -3
- package/dist/client/providers/CubeFeaturesProvider.d.ts +1 -1
- package/dist/client/providers/CubeMetaContext.d.ts +1 -1
- package/dist/client/providers/CubeProvider.d.ts +7 -7
- package/dist/client/providers/I18nProvider.d.ts +1 -1
- package/dist/client/providers.d.ts +4 -4
- package/dist/client/schema.d.ts +2 -2
- package/dist/client/shared/chartConfigBuilders.d.ts +2 -2
- package/dist/client/shared/chartDefaults.d.ts +4 -4
- package/dist/client/shared/components/QueryAnalysisPanel.d.ts +1 -1
- package/dist/client/shared/components/QueryAnalysisPanel.sections.d.ts +1 -1
- package/dist/client/shared/index.d.ts +7 -7
- package/dist/client/shared/queryTransforms.d.ts +1 -1
- package/dist/client/shared/types.d.ts +1 -1
- package/dist/client/shared/utils.d.ts +3 -3
- package/dist/client/stores/analysisBuilderStore.d.ts +9 -9
- package/dist/client/stores/dashboardStore.d.ts +3 -3
- package/dist/client/stores/dataBrowserStore.d.ts +1 -1
- package/dist/client/stores/notebookStore.d.ts +1 -1
- package/dist/client/stores/optionsToAnalysisConfig.d.ts +4 -4
- package/dist/client/stores/slices/coreSlice.d.ts +3 -3
- package/dist/client/stores/slices/flowSlice.d.ts +3 -3
- package/dist/client/stores/slices/funnelSlice.d.ts +3 -3
- package/dist/client/stores/slices/index.d.ts +7 -7
- package/dist/client/stores/slices/querySlice.d.ts +3 -3
- package/dist/client/stores/slices/retentionSlice.d.ts +3 -3
- package/dist/client/stores/slices/uiSlice.d.ts +2 -2
- package/dist/client/types/analysisConfig.d.ts +4 -4
- package/dist/client/types/drill.d.ts +5 -5
- package/dist/client/types/flow.d.ts +2 -2
- package/dist/client/types/funnel.d.ts +1 -1
- package/dist/client/types/retention.d.ts +2 -2
- package/dist/client/types.d.ts +12 -12
- package/dist/client/utils/axisValueFormatting.d.ts +1 -1
- package/dist/client/utils/chartUtils.d.ts +1 -1
- package/dist/client/utils/configMigration.d.ts +2 -2
- package/dist/client/utils/drillQueryBuilder.d.ts +2 -2
- package/dist/client/utils/exportXlsx.d.ts +2 -2
- package/dist/client/utils/filterUtils.d.ts +1 -1
- package/dist/client/utils/funnelExecution.d.ts +2 -2
- package/dist/client/utils/funnelValidation.d.ts +2 -2
- package/dist/client/utils/index.d.ts +10 -10
- package/dist/client/utils/joinReachability.d.ts +1 -1
- package/dist/client/utils/multiQueryUtils.d.ts +1 -1
- package/dist/client/utils/multiQueryValidation.d.ts +1 -1
- package/dist/client/utils/pivotUtils.d.ts +1 -1
- package/dist/client/utils/shareUtils.d.ts +1 -1
- package/dist/client/utils/thumbnail.d.ts +1 -1
- package/dist/client/utils.d.ts +2 -2
- package/dist/mcp-app/mcp-app.html +33 -33
- package/dist/server/{server/adapters → adapters}/base-adapter.d.ts +1 -1
- package/dist/server/{server/adapters → adapters}/databend-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/duckdb-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/mysql-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/postgres-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/singlestore-adapter.d.ts +1 -1
- package/dist/server/{server/adapters → adapters}/snowflake-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/sqlite-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/window-function-builder.d.ts +1 -1
- package/dist/server/{server/agent → agent}/handler-steps.d.ts +3 -3
- package/dist/server/{server/agent → agent}/handler.d.ts +3 -3
- package/dist/server/agent/index.d.ts +11 -0
- package/dist/server/{server/agent → agent}/providers/anthropic.d.ts +1 -1
- package/dist/server/{server/agent → agent}/providers/factory.d.ts +1 -1
- package/dist/server/{server/agent → agent}/providers/google.d.ts +1 -1
- package/dist/server/agent/providers/index.d.ts +6 -0
- package/dist/server/{server/agent → agent}/providers/openai.d.ts +1 -1
- package/dist/server/{server/agent → agent}/system-prompt.d.ts +1 -1
- package/dist/server/{server/agent → agent}/tools.d.ts +4 -4
- package/dist/server/{server/agent → agent}/types.d.ts +1 -1
- package/dist/server/{server/ai → ai}/discovery-helpers.d.ts +1 -1
- package/dist/server/{server/ai → ai}/discovery.d.ts +2 -2
- package/dist/server/{server/ai → ai}/index.d.ts +6 -6
- package/dist/server/{server/ai → ai}/suggestion-helpers.d.ts +1 -1
- package/dist/server/{server/ai → ai}/suggestion.d.ts +2 -2
- package/dist/server/{server/ai → ai}/validation-helpers.d.ts +4 -4
- package/dist/server/{server/ai → ai}/validation.d.ts +2 -2
- package/dist/server/{server/builders → builders}/analysis-utils.d.ts +1 -1
- package/dist/server/{server/builders → builders}/comparison-query-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/cte-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/date-time-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/date-time-helpers.d.ts +1 -1
- package/dist/server/{server/builders → builders}/filter-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/filter-operators.d.ts +3 -3
- package/dist/server/{server/builders → builders}/flow-query-builder.d.ts +4 -4
- package/dist/server/{server/builders → builders}/funnel-query-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/group-by-builder.d.ts +2 -2
- package/dist/server/builders/index.d.ts +13 -0
- package/dist/server/{server/builders → builders}/measure-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/retention-query-builder.d.ts +3 -3
- package/dist/server/cache-providers/index.d.ts +5 -0
- package/dist/server/{server/cache-providers → cache-providers}/memory.d.ts +1 -1
- package/dist/server/{server/cache-utils.d.ts → cache-utils.d.ts} +1 -1
- package/dist/server/{server/compiler-metadata.d.ts → compiler-metadata.d.ts} +1 -1
- package/dist/server/{server/compiler.d.ts → compiler.d.ts} +3 -3
- package/dist/server/{server/cube-utils.d.ts → cube-utils.d.ts} +1 -1
- package/dist/server/{server/database-utils.d.ts → database-utils.d.ts} +1 -1
- package/dist/server/{server/execution → execution}/annotation-builder.d.ts +1 -1
- package/dist/server/{server/execution → execution}/filter-cache-preloader.d.ts +3 -3
- package/dist/server/{server/execution → execution}/mode-router.d.ts +5 -5
- package/dist/server/{server/execution → execution}/query-result-cache.d.ts +1 -1
- package/dist/server/{server/execution → execution}/result-post-processor.d.ts +2 -2
- package/dist/server/{server/executor.d.ts → executor.d.ts} +3 -3
- package/dist/server/{server/executors → executors}/base-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/databend-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/duckdb-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/index.d.ts +9 -9
- package/dist/server/{server/executors → executors}/mysql-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/postgres-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/singlestore-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/snowflake-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/sqlite-executor.d.ts +2 -2
- package/dist/server/{server/explain → explain}/databend-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/duckdb-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/explain-tree.d.ts +1 -1
- package/dist/server/explain/index.d.ts +9 -0
- package/dist/server/{server/explain → explain}/mysql-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/postgres-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/snowflake-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/sqlite-parser.d.ts +1 -1
- package/dist/server/{server/filter-cache.d.ts → filter-cache.d.ts} +1 -1
- package/dist/server/{server/gap-filler.d.ts → gap-filler.d.ts} +2 -2
- package/dist/server/index.d.ts +38 -2
- package/dist/server/{server/logical-plan → logical-plan}/cte-planner-helpers.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/cte-planner.d.ts +4 -4
- package/dist/server/{server/logical-plan → logical-plan}/filter-propagation.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/index.d.ts +11 -11
- package/dist/server/{server/logical-plan → logical-plan}/join-planner.d.ts +3 -3
- package/dist/server/{server/logical-plan → logical-plan}/logical-plan-builder.d.ts +5 -5
- package/dist/server/{server/logical-plan → logical-plan}/logical-planner.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/optimiser.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/plan-analysis-reporter.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/planner-utils.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/types.d.ts +3 -3
- package/dist/server/{server/measure-classification.d.ts → measure-classification.d.ts} +1 -1
- package/dist/server/{server/physical-plan → physical-plan}/drizzle-plan-builder.d.ts +5 -5
- package/dist/server/{server/physical-plan → physical-plan}/drizzle-sql-builder.d.ts +3 -3
- package/dist/server/physical-plan/index.d.ts +2 -0
- package/dist/server/{server/physical-plan → physical-plan}/processors/cte-processor.d.ts +2 -2
- package/dist/server/physical-plan/processors/index.d.ts +8 -0
- package/dist/server/{server/physical-plan → physical-plan}/processors/joins-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/keys-dedup-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/multi-fact-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/predicates-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/selection-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/shared.d.ts +4 -4
- package/dist/server/{server/physical-plan → physical-plan}/processors/window-processor.d.ts +2 -2
- package/dist/server/{server/query-handlers.d.ts → query-handlers.d.ts} +3 -3
- package/dist/server/{server/query-modes.d.ts → query-modes.d.ts} +1 -1
- package/dist/server/{server/query-validator.d.ts → query-validator.d.ts} +1 -1
- package/dist/server/{server/resolvers → resolvers}/calculated-measure-resolver.d.ts +1 -1
- package/dist/server/{server/resolvers → resolvers}/index.d.ts +2 -2
- package/dist/server/{server/resolvers → resolvers}/join-path-resolver.d.ts +1 -1
- package/dist/server/{server/template-substitution.d.ts → template-substitution.d.ts} +1 -1
- package/dist/server/{server/types → types}/cache.d.ts +1 -1
- package/dist/server/{server/types → types}/cube.d.ts +4 -4
- package/dist/server/{server/types → types}/executor.d.ts +2 -2
- package/dist/server/{server/types → types}/flow.d.ts +2 -2
- package/dist/server/{server/types → types}/funnel.d.ts +1 -1
- package/dist/server/types/index.d.ts +11 -0
- package/dist/server/{server/types → types}/metadata.d.ts +1 -1
- package/dist/server/{server/types → types}/query.d.ts +4 -4
- package/dist/server/{server/types → types}/retention.d.ts +1 -1
- package/dist/server/{server/types → types}/utils.d.ts +1 -1
- package/package.json +12 -4
- package/dist/adapters/mcp-transport-Chiaj4ll.cjs +0 -40
- package/dist/adapters/mcp-transport-H96VG3WY.js +0 -591
- package/dist/server/server/agent/index.d.ts +0 -11
- package/dist/server/server/agent/providers/index.d.ts +0 -6
- package/dist/server/server/builders/index.d.ts +0 -13
- package/dist/server/server/cache-providers/index.d.ts +0 -5
- package/dist/server/server/explain/index.d.ts +0 -9
- package/dist/server/server/index.d.ts +0 -38
- package/dist/server/server/physical-plan/index.d.ts +0 -2
- package/dist/server/server/physical-plan/processors/index.d.ts +0 -8
- package/dist/server/server/types/index.d.ts +0 -11
- /package/dist/server/{server/agent → agent}/chart-validation.d.ts +0 -0
- /package/dist/server/{server/agent → agent}/providers/types.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/mcp-prompts.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/query-schema.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/schemas.d.ts +0 -0
- /package/dist/server/{server/executors → executors}/explain-utils.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/explain-analysis-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/index.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/single-step-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step0-validation-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step1-shape-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step2-complete-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/types.d.ts +0 -0
- /package/dist/server/{server/sql-format.d.ts → sql-format.d.ts} +0 -0
- /package/dist/server/{server/types → types}/analysis.d.ts +0 -0
- /package/dist/server/{server/types → types}/core.d.ts +0 -0
- /package/dist/server/{server/types → types}/validation.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { CubeMeta, FunnelBindingKey } from '../../types';
|
|
3
|
-
import { DateRange } from '../../types/retention';
|
|
2
|
+
import { CubeMeta, FunnelBindingKey } from '../../types.js';
|
|
3
|
+
import { DateRange } from '../../types/retention.js';
|
|
4
4
|
export interface RetentionConfigPanelProps {
|
|
5
5
|
/** Currently selected cube */
|
|
6
6
|
selectedCube: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CubeMeta, FunnelBindingKey, ChartType, ChartDisplayConfig, Filter } from '../../types';
|
|
2
|
-
import { ColorPalette } from '../../utils/colorPalettes';
|
|
3
|
-
import { DateRange, RetentionGranularity, RetentionType, RetentionBreakdownItem } from '../../types/retention';
|
|
1
|
+
import { CubeMeta, FunnelBindingKey, ChartType, ChartDisplayConfig, Filter } from '../../types.js';
|
|
2
|
+
import { ColorPalette } from '../../utils/colorPalettes.js';
|
|
3
|
+
import { DateRange, RetentionGranularity, RetentionType, RetentionBreakdownItem } from '../../types/retention.js';
|
|
4
4
|
export interface RetentionModeContentProps {
|
|
5
5
|
/** Currently selected cube for retention analysis */
|
|
6
6
|
retentionCube: string | null;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* `deriveRangeFromDateRange` lives in the shared `dateRangeUtils` module and is
|
|
8
8
|
* re-exported here to keep existing import paths stable.
|
|
9
9
|
*/
|
|
10
|
-
export type { DerivedRange } from '../shared/dateRangeUtils';
|
|
11
|
-
export { deriveRangeFromDateRange } from '../shared/dateRangeUtils';
|
|
10
|
+
export type { DerivedRange } from '../shared/dateRangeUtils.js';
|
|
11
|
+
export { deriveRangeFromDateRange } from '../shared/dateRangeUtils.js';
|
|
12
12
|
/** Action the value-dropdown keyboard handler should apply, decided purely. */
|
|
13
13
|
export type ValueKeyAction = {
|
|
14
14
|
type: 'none';
|
package/dist/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
|
-
import { AnalysisBuilderRef } from '../types';
|
|
4
|
-
import { AnalysisBuilderStore } from '../../../stores/analysisBuilderStore';
|
|
3
|
+
import { AnalysisBuilderRef } from '../types.js';
|
|
4
|
+
import { AnalysisBuilderStore } from '../../../stores/analysisBuilderStore.js';
|
|
5
5
|
interface ImperativeHandleDeps {
|
|
6
6
|
getQueryConfig: AnalysisBuilderRef['getQueryConfig'];
|
|
7
7
|
getChartConfig: AnalysisBuilderRef['getChartConfig'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyboardEvent, RefObject } from 'react';
|
|
2
|
-
import { FieldOption } from '../types';
|
|
2
|
+
import { FieldOption } from '../types.js';
|
|
3
3
|
export interface FieldSearchKeyboardApi {
|
|
4
4
|
focusedField: FieldOption | null;
|
|
5
5
|
setFocusedField: (field: FieldOption | null) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MouseEvent, DragEvent } from 'react';
|
|
2
|
-
import { CubeQuery, Filter, ChartType, ChartAxisConfig, ChartDisplayConfig, MultiQueryConfig, QueryMergeStrategy, FunnelBindingKey, AnalysisType, FunnelStepState } from '../../types';
|
|
3
|
-
import { ColorPalette } from '../../utils/colorPalettes';
|
|
4
|
-
import { MetaResponse, MetaField, MetaCube, QueryAnalysis } from '../../shared/types';
|
|
5
|
-
import { ChartAvailabilityMap } from '../../shared/chartDefaults';
|
|
6
|
-
import { MultiQueryValidationResult } from '../../utils/multiQueryValidation';
|
|
7
|
-
import { ValidationResult } from '../../adapters/modeAdapter';
|
|
2
|
+
import { CubeQuery, Filter, ChartType, ChartAxisConfig, ChartDisplayConfig, MultiQueryConfig, QueryMergeStrategy, FunnelBindingKey, AnalysisType, FunnelStepState } from '../../types.js';
|
|
3
|
+
import { ColorPalette } from '../../utils/colorPalettes.js';
|
|
4
|
+
import { MetaResponse, MetaField, MetaCube, QueryAnalysis } from '../../shared/types.js';
|
|
5
|
+
import { ChartAvailabilityMap } from '../../shared/chartDefaults.js';
|
|
6
|
+
import { MultiQueryValidationResult } from '../../utils/multiQueryValidation.js';
|
|
7
|
+
import { ValidationResult } from '../../adapters/modeAdapter.js';
|
|
8
8
|
export type { MetaResponse, MetaField, MetaCube, QueryAnalysis };
|
|
9
9
|
/**
|
|
10
10
|
* A selected metric (measure) with a letter label (A, B, C, ...)
|
|
@@ -83,7 +83,7 @@ export interface AIState {
|
|
|
83
83
|
analysisType?: AnalysisType;
|
|
84
84
|
} | null;
|
|
85
85
|
/** Full AnalysisConfig snapshot for complete restore (handles funnel mode properly) */
|
|
86
|
-
previousConfig?: import('../../types/analysisConfig').AnalysisConfig | null;
|
|
86
|
+
previousConfig?: import('../../types/analysisConfig.js').AnalysisConfig | null;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Mode for the field search modal - determines which field types are shown
|
|
@@ -278,7 +278,7 @@ export interface AnalysisQueryPanelProps {
|
|
|
278
278
|
/** Event dimension for flow mode (node labels in Sankey) */
|
|
279
279
|
eventDimension?: string | null;
|
|
280
280
|
/** Starting step configuration for flow mode */
|
|
281
|
-
startingStep?: import('../../types/flow').FlowStartingStep;
|
|
281
|
+
startingStep?: import('../../types/flow.js').FlowStartingStep;
|
|
282
282
|
/** Number of steps to explore before starting step */
|
|
283
283
|
stepsBefore?: number;
|
|
284
284
|
/** Number of steps to explore after starting step */
|
|
@@ -308,49 +308,49 @@ export interface AnalysisQueryPanelProps {
|
|
|
308
308
|
/** Single cube for retention analysis */
|
|
309
309
|
retentionCube?: string | null;
|
|
310
310
|
/** Binding key for retention analysis */
|
|
311
|
-
retentionBindingKey?: import('../../types').FunnelBindingKey | null;
|
|
311
|
+
retentionBindingKey?: import('../../types.js').FunnelBindingKey | null;
|
|
312
312
|
/** Single timestamp dimension for retention */
|
|
313
313
|
retentionTimeDimension?: string | null;
|
|
314
314
|
/** Date range for cohort analysis (REQUIRED) */
|
|
315
|
-
retentionDateRange?: import('../../types/retention').DateRange;
|
|
315
|
+
retentionDateRange?: import('../../types/retention.js').DateRange;
|
|
316
316
|
/** Cohort filters - define who enters the cohort */
|
|
317
317
|
retentionCohortFilters?: Filter[];
|
|
318
318
|
/** Activity filters - define what counts as a return */
|
|
319
319
|
retentionActivityFilters?: Filter[];
|
|
320
320
|
/** Breakdown dimensions for segmentation */
|
|
321
|
-
retentionBreakdowns?: import('../../types/retention').RetentionBreakdownItem[];
|
|
321
|
+
retentionBreakdowns?: import('../../types/retention.js').RetentionBreakdownItem[];
|
|
322
322
|
/** Granularity for viewing retention periods */
|
|
323
|
-
retentionViewGranularity?: import('../../types/retention').RetentionGranularity;
|
|
323
|
+
retentionViewGranularity?: import('../../types/retention.js').RetentionGranularity;
|
|
324
324
|
/** Number of periods */
|
|
325
325
|
retentionPeriods?: number;
|
|
326
326
|
/** Retention type */
|
|
327
|
-
retentionType?: import('../../types/retention').RetentionType;
|
|
327
|
+
retentionType?: import('../../types/retention.js').RetentionType;
|
|
328
328
|
/** Retention display config */
|
|
329
329
|
retentionDisplayConfig?: ChartDisplayConfig;
|
|
330
330
|
/** Callback when cube changes */
|
|
331
331
|
onRetentionCubeChange?: (cube: string | null) => void;
|
|
332
332
|
/** Callback when retention binding key changes */
|
|
333
|
-
onRetentionBindingKeyChange?: (key: import('../../types').FunnelBindingKey | null) => void;
|
|
333
|
+
onRetentionBindingKeyChange?: (key: import('../../types.js').FunnelBindingKey | null) => void;
|
|
334
334
|
/** Callback when time dimension changes */
|
|
335
335
|
onRetentionTimeDimensionChange?: (dim: string | null) => void;
|
|
336
336
|
/** Callback when date range changes */
|
|
337
|
-
onRetentionDateRangeChange?: (range: import('../../types/retention').DateRange) => void;
|
|
337
|
+
onRetentionDateRangeChange?: (range: import('../../types/retention.js').DateRange) => void;
|
|
338
338
|
/** Callback when cohort filters change */
|
|
339
339
|
onRetentionCohortFiltersChange?: (filters: Filter[]) => void;
|
|
340
340
|
/** Callback when activity filters change */
|
|
341
341
|
onRetentionActivityFiltersChange?: (filters: Filter[]) => void;
|
|
342
342
|
/** Callback when breakdowns change (set all) */
|
|
343
|
-
onRetentionBreakdownsChange?: (breakdowns: import('../../types/retention').RetentionBreakdownItem[]) => void;
|
|
343
|
+
onRetentionBreakdownsChange?: (breakdowns: import('../../types/retention.js').RetentionBreakdownItem[]) => void;
|
|
344
344
|
/** Callback to add a breakdown */
|
|
345
|
-
onAddRetentionBreakdown?: (breakdown: import('../../types/retention').RetentionBreakdownItem) => void;
|
|
345
|
+
onAddRetentionBreakdown?: (breakdown: import('../../types/retention.js').RetentionBreakdownItem) => void;
|
|
346
346
|
/** Callback to remove a breakdown */
|
|
347
347
|
onRemoveRetentionBreakdown?: (field: string) => void;
|
|
348
348
|
/** Callback when granularity changes */
|
|
349
|
-
onRetentionViewGranularityChange?: (granularity: import('../../types/retention').RetentionGranularity) => void;
|
|
349
|
+
onRetentionViewGranularityChange?: (granularity: import('../../types/retention.js').RetentionGranularity) => void;
|
|
350
350
|
/** Callback when periods changes */
|
|
351
351
|
onRetentionPeriodsChange?: (periods: number) => void;
|
|
352
352
|
/** Callback when retention type changes */
|
|
353
|
-
onRetentionTypeChange?: (type: import('../../types/retention').RetentionType) => void;
|
|
353
|
+
onRetentionTypeChange?: (type: import('../../types/retention.js').RetentionType) => void;
|
|
354
354
|
/** Callback when retention display config changes */
|
|
355
355
|
onRetentionDisplayConfigChange?: (config: ChartDisplayConfig) => void;
|
|
356
356
|
}
|
|
@@ -517,7 +517,7 @@ export interface AnalysisResultsPanelProps {
|
|
|
517
517
|
/**
|
|
518
518
|
* Retention chart data (cohort × period matrix) for rendering.
|
|
519
519
|
*/
|
|
520
|
-
retentionChartData?: import('../../types/retention').RetentionChartData | null;
|
|
520
|
+
retentionChartData?: import('../../types/retention.js').RetentionChartData | null;
|
|
521
521
|
/**
|
|
522
522
|
* Retention validation result (errors explaining why query cannot be built).
|
|
523
523
|
*/
|
|
@@ -530,7 +530,7 @@ export interface AnalysisResultsPanelProps {
|
|
|
530
530
|
* Query warnings from server (e.g., fan-out without dimensions).
|
|
531
531
|
* Displayed as a banner above results.
|
|
532
532
|
*/
|
|
533
|
-
warnings?: import('../../shared/types').QueryWarning[];
|
|
533
|
+
warnings?: import('../../shared/types.js').QueryWarning[];
|
|
534
534
|
/** Fields currently selected in the query (for highlighting in schema diagram) */
|
|
535
535
|
highlightedFields?: string[];
|
|
536
536
|
/** Callback when a field is clicked in the schema diagram */
|
|
@@ -677,7 +677,7 @@ export interface AnalysisBuilderInitialFlowState {
|
|
|
677
677
|
flowCube?: string | null;
|
|
678
678
|
flowBindingKey?: FunnelBindingKey | null;
|
|
679
679
|
flowTimeDimension?: string | null;
|
|
680
|
-
startingStep?: import('../../types/flow').FlowStartingStep;
|
|
680
|
+
startingStep?: import('../../types/flow.js').FlowStartingStep;
|
|
681
681
|
stepsBefore?: number;
|
|
682
682
|
stepsAfter?: number;
|
|
683
683
|
eventDimension?: string | null;
|
|
@@ -693,13 +693,13 @@ export interface AnalysisBuilderInitialRetentionState {
|
|
|
693
693
|
retentionCube?: string | null;
|
|
694
694
|
retentionBindingKey?: FunnelBindingKey | null;
|
|
695
695
|
retentionTimeDimension?: string | null;
|
|
696
|
-
retentionDateRange?: import('../../types/retention').DateRange;
|
|
696
|
+
retentionDateRange?: import('../../types/retention.js').DateRange;
|
|
697
697
|
retentionCohortFilters?: Filter[];
|
|
698
698
|
retentionActivityFilters?: Filter[];
|
|
699
|
-
retentionBreakdowns?: import('../../types/retention').RetentionBreakdownItem[];
|
|
700
|
-
retentionViewGranularity?: import('../../types/retention').RetentionGranularity;
|
|
699
|
+
retentionBreakdowns?: import('../../types/retention.js').RetentionBreakdownItem[];
|
|
700
|
+
retentionViewGranularity?: import('../../types/retention.js').RetentionGranularity;
|
|
701
701
|
retentionPeriods?: number;
|
|
702
|
-
retentionType?: import('../../types/retention').RetentionType;
|
|
702
|
+
retentionType?: import('../../types/retention.js').RetentionType;
|
|
703
703
|
retentionChartType?: ChartType;
|
|
704
704
|
retentionChartConfig?: ChartAxisConfig;
|
|
705
705
|
retentionDisplayConfig?: ChartDisplayConfig;
|
|
@@ -774,7 +774,7 @@ export interface AnalysisBuilderRef {
|
|
|
774
774
|
* Consumers should just JSON.stringify the result - no need to check the type.
|
|
775
775
|
* @deprecated Use getAnalysisConfig() for Phase 3+ integrations
|
|
776
776
|
*/
|
|
777
|
-
getQueryConfig: () => CubeQuery | MultiQueryConfig | import('../../types/funnel').ServerFunnelQuery;
|
|
777
|
+
getQueryConfig: () => CubeQuery | MultiQueryConfig | import('../../types/funnel.js').ServerFunnelQuery;
|
|
778
778
|
/** Get current chart configuration */
|
|
779
779
|
getChartConfig: () => {
|
|
780
780
|
chartType: ChartType;
|
|
@@ -790,7 +790,7 @@ export interface AnalysisBuilderRef {
|
|
|
790
790
|
* This is the canonical format for persisting analysis state.
|
|
791
791
|
* Replaces getQueryConfig + getChartConfig + getAnalysisType.
|
|
792
792
|
*/
|
|
793
|
-
getAnalysisConfig: () => import('../../types/analysisConfig').AnalysisConfig;
|
|
793
|
+
getAnalysisConfig: () => import('../../types/analysisConfig.js').AnalysisConfig;
|
|
794
794
|
/** Execute the current query */
|
|
795
795
|
executeQuery: () => void;
|
|
796
796
|
/** Clear the current query */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CubeQuery } from '../../../types';
|
|
2
|
-
import { QueryAnalysis } from '../../../shared/types';
|
|
1
|
+
import { CubeQuery } from '../../../types.js';
|
|
2
|
+
import { QueryAnalysis } from '../../../shared/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Generate markdown representation of query execution plan.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldOption, FieldType } from '../types';
|
|
2
|
-
import { MetaResponse, MetaField } from '../../../shared/types';
|
|
1
|
+
import { FieldOption, FieldType } from '../types.js';
|
|
2
|
+
import { MetaResponse, MetaField } from '../../../shared/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Get cube name from a field name (e.g., "Employees.count" -> "Employees")
|
|
5
5
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Re-exports all utility functions for convenient imports.
|
|
5
5
|
*/
|
|
6
|
-
export { generateId, generateMetricLabel } from './idUtils';
|
|
7
|
-
export { findDateFilterForField, buildCompareDateRangeFromFilter, removeComparisonDateFilter } from './filterUtils';
|
|
8
|
-
export { buildCubeQuery, hasQueryContent } from './queryUtils';
|
|
9
|
-
export { STORAGE_KEY, createInitialState, loadInitialStateFromStorage, saveStateToStorage, loadStateFromStorage, clearStateFromStorage } from './storageUtils';
|
|
10
|
-
export { getCubeNameFromField, getFieldShortName, findFieldInSchema, getFieldTitle, getFieldType, schemaToFieldOptions, filterFieldOptions, groupFieldsByCube, getCubeNames, getCubeTitle } from './fieldUtils';
|
|
11
|
-
export { getRecentFields, addRecentField, getRecentFieldOptions } from './recentFieldsUtils';
|
|
6
|
+
export { generateId, generateMetricLabel } from './idUtils.js';
|
|
7
|
+
export { findDateFilterForField, buildCompareDateRangeFromFilter, removeComparisonDateFilter } from './filterUtils.js';
|
|
8
|
+
export { buildCubeQuery, hasQueryContent } from './queryUtils.js';
|
|
9
|
+
export { STORAGE_KEY, createInitialState, loadInitialStateFromStorage, saveStateToStorage, loadStateFromStorage, clearStateFromStorage } from './storageUtils.js';
|
|
10
|
+
export { getCubeNameFromField, getFieldShortName, findFieldInSchema, getFieldTitle, getFieldType, schemaToFieldOptions, filterFieldOptions, groupFieldsByCube, getCubeNames, getCubeTitle } from './fieldUtils.js';
|
|
11
|
+
export { getRecentFields, addRecentField, getRecentFieldOptions } from './recentFieldsUtils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CubeQuery, Filter } from '../../../types';
|
|
2
|
-
import { MetricItem, BreakdownItem } from '../types';
|
|
1
|
+
import { CubeQuery, Filter } from '../../../types.js';
|
|
2
|
+
import { MetricItem, BreakdownItem } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Convert metrics and breakdowns to CubeQuery format
|
|
5
5
|
* Handles comparison mode by building compareDateRange for time dimensions
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldOption, RecentFieldsStorage } from '../types';
|
|
2
|
-
import { MetaResponse } from '../../../shared/types';
|
|
1
|
+
import { FieldOption, RecentFieldsStorage } from '../types.js';
|
|
2
|
+
import { MetaResponse } from '../../../shared/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Get recent fields from localStorage
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalysisConfig } from '../../../types/analysisConfig';
|
|
1
|
+
import { AnalysisConfig } from '../../../types/analysisConfig.js';
|
|
2
2
|
/**
|
|
3
3
|
* Extract funnel initial state from a shared AnalysisConfig.
|
|
4
4
|
*
|
|
@@ -14,9 +14,9 @@ export declare function extractFunnelStateFromShare(sharedState: AnalysisConfig
|
|
|
14
14
|
dimension: string;
|
|
15
15
|
}[];
|
|
16
16
|
} | null;
|
|
17
|
-
funnelChartType: import('
|
|
18
|
-
funnelChartConfig: import('
|
|
19
|
-
funnelDisplayConfig: import('
|
|
17
|
+
funnelChartType: import('../../../types.js').ChartType;
|
|
18
|
+
funnelChartConfig: import('../../../types.js').ChartAxisConfig;
|
|
19
|
+
funnelDisplayConfig: import('../../../types.js').ChartDisplayConfig;
|
|
20
20
|
} | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Extract flow initial state from a shared AnalysisConfig.
|
|
@@ -29,14 +29,14 @@ export declare function extractFlowStateFromShare(sharedState: AnalysisConfig |
|
|
|
29
29
|
flowTimeDimension: string | null;
|
|
30
30
|
startingStep: {
|
|
31
31
|
name: string;
|
|
32
|
-
filters: import('../../../types').Filter[];
|
|
32
|
+
filters: import('../../../types.js').Filter[];
|
|
33
33
|
};
|
|
34
34
|
stepsBefore: number;
|
|
35
35
|
stepsAfter: number;
|
|
36
36
|
eventDimension: string | null;
|
|
37
|
-
flowChartType: import('
|
|
38
|
-
flowChartConfig: import('
|
|
39
|
-
flowDisplayConfig: import('
|
|
37
|
+
flowChartType: import('../../../types.js').ChartType;
|
|
38
|
+
flowChartConfig: import('../../../types.js').ChartAxisConfig;
|
|
39
|
+
flowDisplayConfig: import('../../../types.js').ChartDisplayConfig;
|
|
40
40
|
} | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Extract retention initial state from a shared AnalysisConfig.
|
|
@@ -52,17 +52,17 @@ export declare function extractRetentionStateFromShare(sharedState: AnalysisConf
|
|
|
52
52
|
}[];
|
|
53
53
|
} | null;
|
|
54
54
|
retentionTimeDimension: string | null;
|
|
55
|
-
retentionDateRange: import('../../../types/retention').DateRange;
|
|
56
|
-
retentionCohortFilters: import('../../../types').Filter[];
|
|
57
|
-
retentionActivityFilters: import('../../../types').Filter[];
|
|
55
|
+
retentionDateRange: import('../../../types/retention.js').DateRange;
|
|
56
|
+
retentionCohortFilters: import('../../../types.js').Filter[];
|
|
57
|
+
retentionActivityFilters: import('../../../types.js').Filter[];
|
|
58
58
|
retentionBreakdowns: {
|
|
59
59
|
field: string;
|
|
60
60
|
label: string;
|
|
61
61
|
}[];
|
|
62
|
-
retentionViewGranularity: import('../../../types/retention').RetentionGranularity;
|
|
62
|
+
retentionViewGranularity: import('../../../types/retention.js').RetentionGranularity;
|
|
63
63
|
retentionPeriods: number;
|
|
64
|
-
retentionType: import('../../../types/retention').RetentionType;
|
|
65
|
-
retentionChartType: import('
|
|
66
|
-
retentionChartConfig: import('
|
|
67
|
-
retentionDisplayConfig: import('
|
|
64
|
+
retentionType: import('../../../types/retention.js').RetentionType;
|
|
65
|
+
retentionChartType: import('../../../types.js').ChartType;
|
|
66
|
+
retentionChartConfig: import('../../../types.js').ChartAxisConfig;
|
|
67
|
+
retentionDisplayConfig: import('../../../types.js').ChartDisplayConfig;
|
|
68
68
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Filter } from '../../../types';
|
|
2
|
-
import { MetricItem, BreakdownItem, AnalysisBuilderState, AnalysisBuilderStorageState } from '../types';
|
|
1
|
+
import { Filter } from '../../../types.js';
|
|
2
|
+
import { MetricItem, BreakdownItem, AnalysisBuilderState, AnalysisBuilderStorageState } from '../types.js';
|
|
3
3
|
export declare const STORAGE_KEY = "drizzle-cube-analysis-builder-v3";
|
|
4
4
|
/** @deprecated Use STORAGE_KEY instead */
|
|
5
5
|
export declare const STORAGE_KEY_V2 = "drizzle-cube-analysis-builder-v2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
import { AnalysisBuilderProps, AnalysisBuilderRef } from './AnalysisBuilder/types';
|
|
2
|
+
import { AnalysisBuilderProps, AnalysisBuilderRef } from './AnalysisBuilder/types.js';
|
|
3
3
|
declare const AnalysisBuilder: ForwardRefExoticComponent<AnalysisBuilderProps & RefAttributes<AnalysisBuilderRef>>;
|
|
4
4
|
export default AnalysisBuilder;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsDashboardProps } from '../types';
|
|
1
|
+
import { AnalyticsDashboardProps } from '../types.js';
|
|
2
2
|
export default function AnalyticsDashboard({ config, editable, dashboardFilters: propDashboardFilters, loadingComponent, onConfigChange, onSave, onSaveThumbnail, onDirtyStateChange }: AnalyticsDashboardProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartType } from '../types';
|
|
2
|
-
import { ChartAvailabilityMap } from '../shared/chartDefaults';
|
|
1
|
+
import { ChartType } from '../types.js';
|
|
2
|
+
import { ChartAvailabilityMap } from '../shared/chartDefaults.js';
|
|
3
3
|
interface ChartTypeSelectorProps {
|
|
4
4
|
selectedType: ChartType;
|
|
5
5
|
onTypeChange: (type: ChartType) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DashboardFilter, CubeMeta, DashboardConfig } from '../types';
|
|
2
|
+
import { DashboardFilter, CubeMeta, DashboardConfig } from '../types.js';
|
|
3
3
|
interface DashboardFilterPanelProps {
|
|
4
4
|
dashboardFilters: DashboardFilter[];
|
|
5
5
|
editable: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DashboardFilter } from '../../types';
|
|
2
|
-
import { MetaResponse } from '../../shared/types';
|
|
1
|
+
import { DashboardFilter } from '../../types.js';
|
|
2
|
+
import { MetaResponse } from '../../shared/types.js';
|
|
3
3
|
interface DashboardFilterConfigModalProps {
|
|
4
4
|
/** The dashboard filter being edited */
|
|
5
5
|
filter: DashboardFilter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MetaResponse } from '../../shared/types';
|
|
2
|
-
import { SimpleFilter, FilterOperator } from '../../types';
|
|
1
|
+
import { MetaResponse } from '../../shared/types.js';
|
|
2
|
+
import { SimpleFilter, FilterOperator } from '../../types.js';
|
|
3
3
|
interface FieldSelectionSectionProps {
|
|
4
4
|
localFilter: SimpleFilter;
|
|
5
5
|
activeSchema: MetaResponse | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DashboardFilter } from '../../types';
|
|
2
|
-
import { MetaResponse } from '../../shared/types';
|
|
1
|
+
import { DashboardFilter } from '../../types.js';
|
|
2
|
+
import { MetaResponse } from '../../shared/types.js';
|
|
3
3
|
interface DashboardFilterItemProps {
|
|
4
4
|
/** The dashboard filter to display */
|
|
5
5
|
filter: DashboardFilter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
|
-
import { SimpleFilter } from '../../types';
|
|
3
|
-
import { DateRangeType } from '../../shared/types';
|
|
2
|
+
import { SimpleFilter } from '../../types.js';
|
|
3
|
+
import { DateRangeType } from '../../shared/types.js';
|
|
4
4
|
type OperatorMeta = {
|
|
5
5
|
requiresValues?: boolean;
|
|
6
6
|
valueType?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DashboardFilter, CubeMeta, DashboardConfig } from '../../types';
|
|
3
|
-
import { MetaResponse } from '../../shared/types';
|
|
2
|
+
import { DashboardFilter, CubeMeta, DashboardConfig } from '../../types.js';
|
|
3
|
+
import { MetaResponse } from '../../shared/types.js';
|
|
4
4
|
interface FilterEditModalProps {
|
|
5
5
|
filter: DashboardFilter;
|
|
6
6
|
schema: CubeMeta | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DashboardFilter, CubeMeta } from '../../types';
|
|
3
|
-
import { MetaResponse } from '../../shared/types';
|
|
2
|
+
import { DashboardFilter, CubeMeta } from '../../types.js';
|
|
3
|
+
import { MetaResponse } from '../../shared/types.js';
|
|
4
4
|
interface ReadOnlyFilterListProps {
|
|
5
5
|
dashboardFilters: DashboardFilter[];
|
|
6
6
|
schema: CubeMeta | null;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* `deriveRangeFromDateRange` lives in the shared `dateRangeUtils` module and is
|
|
8
8
|
* re-exported here to keep existing import paths stable.
|
|
9
9
|
*/
|
|
10
|
-
export type { DerivedRange } from '../shared/dateRangeUtils';
|
|
11
|
-
export { deriveRangeFromDateRange } from '../shared/dateRangeUtils';
|
|
10
|
+
export type { DerivedRange } from '../shared/dateRangeUtils.js';
|
|
11
|
+
export { deriveRangeFromDateRange } from '../shared/dateRangeUtils.js';
|
|
12
12
|
/**
|
|
13
13
|
* Compute the next filter `values` for a direct text/number input change.
|
|
14
14
|
* Mirrors the previous inline `handleDirectInput` logic exactly:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DashboardFilter } from '../../types';
|
|
1
|
+
import { DashboardFilter } from '../../types.js';
|
|
2
2
|
export declare function useCompactFilterBar(dashboardFilters: DashboardFilter[], onDashboardFiltersChange: (filters: DashboardFilter[]) => void): {
|
|
3
3
|
localFilters: DashboardFilter[];
|
|
4
4
|
showCustomDropdown: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
|
-
import { DashboardFilter, SimpleFilter, FilterOperator } from '../../types';
|
|
3
|
-
import { MetaResponse, MetaField } from '../../shared/types';
|
|
4
|
-
import { FieldType } from '../AnalysisBuilder/types';
|
|
2
|
+
import { DashboardFilter, SimpleFilter, FilterOperator } from '../../types.js';
|
|
3
|
+
import { MetaResponse, MetaField } from '../../shared/types.js';
|
|
4
|
+
import { FieldType } from '../AnalysisBuilder/types.js';
|
|
5
5
|
interface UseDashboardFilterConfigModalParams {
|
|
6
6
|
initialFilter: DashboardFilter;
|
|
7
7
|
fullSchema: MetaResponse | null;
|
|
@@ -22,7 +22,7 @@ export declare function useDashboardFilterConfigModal({ initialFilter, fullSchem
|
|
|
22
22
|
isTimeField: boolean;
|
|
23
23
|
isMeasureField: boolean;
|
|
24
24
|
fieldTitle: string;
|
|
25
|
-
operatorMeta: import('../../shared').FilterOperatorMeta;
|
|
25
|
+
operatorMeta: import('../../shared/types.js').FilterOperatorMeta;
|
|
26
26
|
availableOperators: {
|
|
27
27
|
operator: string;
|
|
28
28
|
label: string;
|
|
@@ -51,9 +51,9 @@ export declare function useDashboardFilterConfigModal({ initialFilter, fullSchem
|
|
|
51
51
|
};
|
|
52
52
|
dateRange: {
|
|
53
53
|
dateRangeLabel: string;
|
|
54
|
-
rangeType: import('../shared/types').DateRangeType;
|
|
54
|
+
rangeType: import('../shared/types.js').DateRangeType;
|
|
55
55
|
numberValue: number;
|
|
56
|
-
handleRangeTypeChange: (newRangeType: import('../shared/types').DateRangeType) => void;
|
|
56
|
+
handleRangeTypeChange: (newRangeType: import('../shared/types.js').DateRangeType) => void;
|
|
57
57
|
handleNumberValueChange: (value: number) => void;
|
|
58
58
|
handleCustomStartDate: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
59
59
|
handleCustomEndDate: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
|
-
import { SimpleFilter } from '../../types';
|
|
3
|
-
import { DateRangeType } from '../../shared/types';
|
|
2
|
+
import { SimpleFilter } from '../../types.js';
|
|
3
|
+
import { DateRangeType } from '../../shared/types.js';
|
|
4
4
|
interface UseDateRangeStateParams {
|
|
5
5
|
localFilter: SimpleFilter;
|
|
6
6
|
setLocalFilter: (filter: SimpleFilter) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ColorPalette } from '../utils/colorPalettes';
|
|
3
|
-
import { DashboardConfig, DashboardFilter, CubeMeta, DashboardLayoutMode } from '../types';
|
|
2
|
+
import { ColorPalette } from '../utils/colorPalettes.js';
|
|
3
|
+
import { DashboardConfig, DashboardFilter, CubeMeta, DashboardLayoutMode } from '../types.js';
|
|
4
4
|
interface DashboardGridProps {
|
|
5
5
|
config: DashboardConfig;
|
|
6
6
|
editable?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DashboardPortletCardProps } from './dashboardPortletCard/propsEqual';
|
|
2
|
+
import { DashboardPortletCardProps } from './dashboardPortletCard/propsEqual.js';
|
|
3
3
|
declare const DashboardPortletCard: React.NamedExoticComponent<DashboardPortletCardProps>;
|
|
4
4
|
export default DashboardPortletCard;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowChartData } from '../types/flow';
|
|
2
|
-
import { RetentionChartData } from '../types/retention';
|
|
1
|
+
import { FlowChartData } from '../types/flow.js';
|
|
2
|
+
import { RetentionChartData } from '../types/retention.js';
|
|
3
3
|
interface DebugModalProps {
|
|
4
4
|
chartConfig: any;
|
|
5
5
|
displayConfig: any;
|