drizzle-cube 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (565) hide show
  1. package/dist/adapters/express/index.cjs +1 -1
  2. package/dist/adapters/express/index.js +1 -1
  3. package/dist/adapters/fastify/index.cjs +1 -1
  4. package/dist/adapters/fastify/index.js +1 -1
  5. package/dist/adapters/{handler-CfgE0JSL.js → handler-CtaSua-i.js} +1 -1
  6. package/dist/adapters/{handler-Cn0dOctE.cjs → handler-OwxSBJH8.cjs} +1 -1
  7. package/dist/adapters/hono/index.cjs +1 -1
  8. package/dist/adapters/hono/index.js +1 -1
  9. package/dist/adapters/nextjs/index.cjs +1 -1
  10. package/dist/adapters/nextjs/index.js +1 -1
  11. package/dist/{server/openai-B5jEiqiB.js → adapters/openai-CmVRIbUg.js} +18 -2
  12. package/dist/adapters/{openai-cDlFSTk6.js → openai-CtXqeznO.js} +1 -1
  13. package/dist/{server/openai-D0musiYP.cjs → adapters/openai-D-6l1Y8h.cjs} +3 -3
  14. package/dist/adapters/{openai-vXvLni8v.cjs → openai-DTSTMiXL.cjs} +1 -1
  15. package/dist/cjs/adapters/express/index.d.ts +114 -0
  16. package/dist/cjs/adapters/fastify/index.d.ts +113 -0
  17. package/dist/cjs/adapters/hono/agent-handler.d.ts +9 -0
  18. package/dist/cjs/adapters/hono/index.d.ts +120 -0
  19. package/dist/cjs/adapters/hono/mcp-handler.d.ts +37 -0
  20. package/dist/cjs/adapters/locale.d.ts +8 -0
  21. package/dist/cjs/adapters/mcp-tools-handlers.d.ts +18 -0
  22. package/dist/cjs/adapters/mcp-tools.d.ts +134 -0
  23. package/dist/cjs/adapters/mcp-transport.d.ts +158 -0
  24. package/dist/cjs/adapters/nextjs/index.d.ts +196 -0
  25. package/dist/cjs/adapters/nextjs/mcp-handler.d.ts +36 -0
  26. package/dist/cjs/adapters/types.d.ts +41 -0
  27. package/dist/cjs/adapters/utils.d.ts +354 -0
  28. package/dist/cjs/client/adapters/adapterRegistry.d.ts +44 -0
  29. package/dist/cjs/client/adapters/flowModeAdapter.d.ts +3 -0
  30. package/dist/cjs/client/adapters/funnelModeAdapter.d.ts +19 -0
  31. package/dist/cjs/client/adapters/index.d.ts +29 -0
  32. package/dist/cjs/client/adapters/modeAdapter.d.ts +117 -0
  33. package/dist/cjs/client/adapters/queryModeAdapter.d.ts +16 -0
  34. package/dist/cjs/client/adapters/retentionModeAdapter.d.ts +3 -0
  35. package/dist/cjs/client/charts/ChartLoader.d.ts +69 -0
  36. package/dist/cjs/client/charts/chartComponentRegistry.d.ts +46 -0
  37. package/dist/cjs/client/charts/chartConfigHelpers.d.ts +38 -0
  38. package/dist/cjs/client/charts/chartConfigRegistry.d.ts +15 -0
  39. package/dist/cjs/client/charts/chartConfigs.d.ts +142 -0
  40. package/dist/cjs/client/charts/chartPlugin.d.ts +74 -0
  41. package/dist/cjs/client/charts/lazyChartConfigRegistry.d.ts +100 -0
  42. package/dist/cjs/client/charts.d.ts +17 -0
  43. package/dist/cjs/client/client/BatchCoordinator.d.ts +38 -0
  44. package/dist/cjs/client/client/CubeClient.d.ts +32 -0
  45. package/dist/cjs/client/components/AIAssistant/constants.d.ts +11 -0
  46. package/dist/cjs/client/components/AIAssistant/index.d.ts +10 -0
  47. package/dist/cjs/client/components/AIAssistant/types.d.ts +49 -0
  48. package/dist/cjs/client/components/AIAssistant/utils.d.ts +17 -0
  49. package/dist/cjs/client/components/AgenticNotebook/AgentChatPanel.d.ts +27 -0
  50. package/dist/cjs/client/components/AgenticNotebook/ChatInput.d.ts +14 -0
  51. package/dist/cjs/client/components/AgenticNotebook/ChatMessage.d.ts +9 -0
  52. package/dist/cjs/client/components/AgenticNotebook/NotebookCanvas.d.ts +6 -0
  53. package/dist/cjs/client/components/AgenticNotebook/NotebookMarkdownBlock.d.ts +12 -0
  54. package/dist/cjs/client/components/AgenticNotebook/NotebookPortletBlock.d.ts +15 -0
  55. package/dist/cjs/client/components/AgenticNotebook/agentChatParts.d.ts +34 -0
  56. package/dist/cjs/client/components/AgenticNotebook/chatMessageParts.d.ts +39 -0
  57. package/dist/cjs/client/components/AgenticNotebook/index.d.ts +56 -0
  58. package/dist/cjs/client/components/AgenticNotebook/useAgentChatController.d.ts +25 -0
  59. package/dist/cjs/client/components/AgenticNotebook/useNotebookAutosave.d.ts +12 -0
  60. package/dist/cjs/client/components/AnalysisBuilder/AnalysisAIPanel.d.ts +25 -0
  61. package/dist/cjs/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +29 -0
  62. package/dist/cjs/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +18 -0
  63. package/dist/cjs/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +11 -0
  64. package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +20 -0
  65. package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +14 -0
  66. package/dist/cjs/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +16 -0
  67. package/dist/cjs/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +27 -0
  68. package/dist/cjs/client/components/AnalysisBuilder/AnalysisQueryPanel.d.ts +12 -0
  69. package/dist/cjs/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +64 -0
  70. package/dist/cjs/client/components/AnalysisBuilder/AnalysisResultsHeader.d.ts +67 -0
  71. package/dist/cjs/client/components/AnalysisBuilder/AnalysisResultsPanel.d.ts +14 -0
  72. package/dist/cjs/client/components/AnalysisBuilder/AnalysisTypeSelector.d.ts +17 -0
  73. package/dist/cjs/client/components/AnalysisBuilder/BreakdownComparisonToggle.d.ts +13 -0
  74. package/dist/cjs/client/components/AnalysisBuilder/BreakdownItemCard.d.ts +12 -0
  75. package/dist/cjs/client/components/AnalysisBuilder/BreakdownRow.d.ts +26 -0
  76. package/dist/cjs/client/components/AnalysisBuilder/BreakdownSection.d.ts +9 -0
  77. package/dist/cjs/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +10 -0
  78. package/dist/cjs/client/components/AnalysisBuilder/ExecutionPlanPanel.d.ts +49 -0
  79. package/dist/cjs/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +22 -0
  80. package/dist/cjs/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +16 -0
  81. package/dist/cjs/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +4 -0
  82. package/dist/cjs/client/components/AnalysisBuilder/FieldSearchItem.d.ts +6 -0
  83. package/dist/cjs/client/components/AnalysisBuilder/FieldSearchModal.d.ts +2 -0
  84. package/dist/cjs/client/components/AnalysisBuilder/FieldSearchResults.d.ts +16 -0
  85. package/dist/cjs/client/components/AnalysisBuilder/FilterConfigModal.d.ts +17 -0
  86. package/dist/cjs/client/components/AnalysisBuilder/FilterValueInput.d.ts +63 -0
  87. package/dist/cjs/client/components/AnalysisBuilder/FlowConfigPanel.d.ts +28 -0
  88. package/dist/cjs/client/components/AnalysisBuilder/FlowDepthControls.d.ts +10 -0
  89. package/dist/cjs/client/components/AnalysisBuilder/FlowModeContent.d.ts +57 -0
  90. package/dist/cjs/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +7 -0
  91. package/dist/cjs/client/components/AnalysisBuilder/FunnelBindingKeySelector.d.ts +21 -0
  92. package/dist/cjs/client/components/AnalysisBuilder/FunnelConfigPanel.d.ts +24 -0
  93. package/dist/cjs/client/components/AnalysisBuilder/FunnelModeContent.d.ts +48 -0
  94. package/dist/cjs/client/components/AnalysisBuilder/FunnelStepCard.d.ts +25 -0
  95. package/dist/cjs/client/components/AnalysisBuilder/FunnelStepList.d.ts +26 -0
  96. package/dist/cjs/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +8 -0
  97. package/dist/cjs/client/components/AnalysisBuilder/LimitSection.d.ts +14 -0
  98. package/dist/cjs/client/components/AnalysisBuilder/MetricItemCard.d.ts +11 -0
  99. package/dist/cjs/client/components/AnalysisBuilder/MetricRow.d.ts +23 -0
  100. package/dist/cjs/client/components/AnalysisBuilder/MetricsSection.d.ts +9 -0
  101. package/dist/cjs/client/components/AnalysisBuilder/RetentionConfigPanel.d.ts +36 -0
  102. package/dist/cjs/client/components/AnalysisBuilder/RetentionModeContent.d.ts +71 -0
  103. package/dist/cjs/client/components/AnalysisBuilder/SectionHeading.d.ts +12 -0
  104. package/dist/cjs/client/components/AnalysisBuilder/SortToggleButton.d.ts +13 -0
  105. package/dist/cjs/client/components/AnalysisBuilder/StringArrayInput.d.ts +17 -0
  106. package/dist/cjs/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +30 -0
  107. package/dist/cjs/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +13 -0
  108. package/dist/cjs/client/components/AnalysisBuilder/hooks/useDragReorder.d.ts +25 -0
  109. package/dist/cjs/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +11 -0
  110. package/dist/cjs/client/components/AnalysisBuilder/index.d.ts +9 -0
  111. package/dist/cjs/client/components/AnalysisBuilder/types.d.ts +851 -0
  112. package/dist/cjs/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +23 -0
  113. package/dist/cjs/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +8 -0
  114. package/dist/cjs/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +69 -0
  115. package/dist/cjs/client/components/AnalysisBuilder/utils/filterUtils.d.ts +19 -0
  116. package/dist/cjs/client/components/AnalysisBuilder/utils/idUtils.d.ts +11 -0
  117. package/dist/cjs/client/components/AnalysisBuilder/utils/index.d.ts +11 -0
  118. package/dist/cjs/client/components/AnalysisBuilder/utils/queryUtils.d.ts +11 -0
  119. package/dist/cjs/client/components/AnalysisBuilder/utils/recentFieldsUtils.d.ts +14 -0
  120. package/dist/cjs/client/components/AnalysisBuilder/utils/resultsPanelDerive.d.ts +68 -0
  121. package/dist/cjs/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +68 -0
  122. package/dist/cjs/client/components/AnalysisBuilder/utils/sortUtils.d.ts +7 -0
  123. package/dist/cjs/client/components/AnalysisBuilder/utils/storageUtils.d.ts +44 -0
  124. package/dist/cjs/client/components/AnalysisBuilderLazy.d.ts +4 -0
  125. package/dist/cjs/client/components/AnalyticsDashboard.d.ts +2 -0
  126. package/dist/cjs/client/components/AnalyticsPage.d.ts +1 -0
  127. package/dist/cjs/client/components/AnalyticsPortlet.d.ts +10 -0
  128. package/dist/cjs/client/components/ChartErrorBoundary.d.ts +21 -0
  129. package/dist/cjs/client/components/ChartTypeSelector.d.ts +15 -0
  130. package/dist/cjs/client/components/ColorPaletteSelector.d.ts +11 -0
  131. package/dist/cjs/client/components/ConfirmModal.d.ts +30 -0
  132. package/dist/cjs/client/components/DashboardEditModal.d.ts +15 -0
  133. package/dist/cjs/client/components/DashboardFilterPanel.d.ts +15 -0
  134. package/dist/cjs/client/components/DashboardFilters/CompactFilterBar.d.ts +13 -0
  135. package/dist/cjs/client/components/DashboardFilters/CompactFilterBarParts.d.ts +26 -0
  136. package/dist/cjs/client/components/DashboardFilters/CustomDateDropdown.d.ts +10 -0
  137. package/dist/cjs/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +20 -0
  138. package/dist/cjs/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +27 -0
  139. package/dist/cjs/client/components/DashboardFilters/DashboardFilterItem.d.ts +14 -0
  140. package/dist/cjs/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +39 -0
  141. package/dist/cjs/client/components/DashboardFilters/DatePresetChips.d.ts +8 -0
  142. package/dist/cjs/client/components/DashboardFilters/EditModeFilterList.d.ts +13 -0
  143. package/dist/cjs/client/components/DashboardFilters/FilterChip.d.ts +12 -0
  144. package/dist/cjs/client/components/DashboardFilters/FilterEditModal.d.ts +15 -0
  145. package/dist/cjs/client/components/DashboardFilters/FilterValuePopover.d.ts +11 -0
  146. package/dist/cjs/client/components/DashboardFilters/ReadOnlyFilterList.d.ts +13 -0
  147. package/dist/cjs/client/components/DashboardFilters/XTDDropdown.d.ts +10 -0
  148. package/dist/cjs/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +21 -0
  149. package/dist/cjs/client/components/DashboardFilters/useCompactFilterBar.d.ts +19 -0
  150. package/dist/cjs/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +69 -0
  151. package/dist/cjs/client/components/DashboardFilters/useDateRangeState.d.ts +19 -0
  152. package/dist/cjs/client/components/DashboardFilters/useFilterDropdowns.d.ts +21 -0
  153. package/dist/cjs/client/components/DashboardFilters/useFilterValueFetch.d.ts +23 -0
  154. package/dist/cjs/client/components/DashboardGrid.d.ts +22 -0
  155. package/dist/cjs/client/components/DashboardPortletCard.d.ts +4 -0
  156. package/dist/cjs/client/components/DashboardThumbnailPlaceholder.d.ts +13 -0
  157. package/dist/cjs/client/components/DataBrowser/DataBrowserSidebar.d.ts +16 -0
  158. package/dist/cjs/client/components/DataBrowser/DataBrowserTable.d.ts +16 -0
  159. package/dist/cjs/client/components/DataBrowser/DataBrowserToolbar.d.ts +22 -0
  160. package/dist/cjs/client/components/DataBrowser/index.d.ts +28 -0
  161. package/dist/cjs/client/components/DataHistogram.d.ts +27 -0
  162. package/dist/cjs/client/components/DebugModal.d.ts +17 -0
  163. package/dist/cjs/client/components/DrillBreadcrumb.d.ts +7 -0
  164. package/dist/cjs/client/components/DrillMenu.d.ts +8 -0
  165. package/dist/cjs/client/components/FloatingEditToolbar.d.ts +30 -0
  166. package/dist/cjs/client/components/LoadingIndicator.d.ts +16 -0
  167. package/dist/cjs/client/components/MobileStackedLayout.d.ts +14 -0
  168. package/dist/cjs/client/components/Modal.d.ts +16 -0
  169. package/dist/cjs/client/components/PortletAnalysisModal.d.ts +27 -0
  170. package/dist/cjs/client/components/PortletContainer.d.ts +10 -0
  171. package/dist/cjs/client/components/PortletFilterConfigModal.d.ts +13 -0
  172. package/dist/cjs/client/components/RowManagedLayout.d.ts +19 -0
  173. package/dist/cjs/client/components/ScaledGridWrapper.d.ts +12 -0
  174. package/dist/cjs/client/components/SchemaVisualization/CubeNode.d.ts +25 -0
  175. package/dist/cjs/client/components/SchemaVisualization/FieldDetailPanel.d.ts +15 -0
  176. package/dist/cjs/client/components/SchemaVisualization/RelationshipEdge.d.ts +13 -0
  177. package/dist/cjs/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +3 -0
  178. package/dist/cjs/client/components/SchemaVisualization/index.d.ts +10 -0
  179. package/dist/cjs/client/components/SchemaVisualization/useERDLayout.d.ts +39 -0
  180. package/dist/cjs/client/components/SchemaVisualization/xyflowContext.d.ts +11 -0
  181. package/dist/cjs/client/components/TextPortletModal.d.ts +12 -0
  182. package/dist/cjs/client/components/analyticsPortlet/PortletChart.d.ts +31 -0
  183. package/dist/cjs/client/components/analyticsPortlet/PortletChartView.d.ts +35 -0
  184. package/dist/cjs/client/components/analyticsPortlet/PortletStates.d.ts +65 -0
  185. package/dist/cjs/client/components/analyticsPortlet/parsePortletQuery.d.ts +22 -0
  186. package/dist/cjs/client/components/analyticsPortlet/portletRenderState.d.ts +31 -0
  187. package/dist/cjs/client/components/analyticsPortlet/usePortletDebugData.d.ts +37 -0
  188. package/dist/cjs/client/components/analyticsPortlet/usePortletDrillState.d.ts +17 -0
  189. package/dist/cjs/client/components/analyticsPortlet/usePortletQueryResults.d.ts +37 -0
  190. package/dist/cjs/client/components/charts/ActivityGridChart.config.d.ts +5 -0
  191. package/dist/cjs/client/components/charts/ActivityGridChart.d.ts +4 -0
  192. package/dist/cjs/client/components/charts/ActivityGridChart.helpers.d.ts +33 -0
  193. package/dist/cjs/client/components/charts/ActivityGridChart.render.d.ts +31 -0
  194. package/dist/cjs/client/components/charts/AngledXAxisTick.d.ts +19 -0
  195. package/dist/cjs/client/components/charts/AreaChart.config.d.ts +5 -0
  196. package/dist/cjs/client/components/charts/AreaChart.d.ts +4 -0
  197. package/dist/cjs/client/components/charts/AxisFormatControls.d.ts +37 -0
  198. package/dist/cjs/client/components/charts/BarChart.config.d.ts +5 -0
  199. package/dist/cjs/client/components/charts/BarChart.d.ts +4 -0
  200. package/dist/cjs/client/components/charts/BarChart.helpers.d.ts +23 -0
  201. package/dist/cjs/client/components/charts/BarSeries.d.ts +29 -0
  202. package/dist/cjs/client/components/charts/BoxPlotChart.config.d.ts +5 -0
  203. package/dist/cjs/client/components/charts/BoxPlotChart.d.ts +4 -0
  204. package/dist/cjs/client/components/charts/BubbleChart.config.d.ts +5 -0
  205. package/dist/cjs/client/components/charts/BubbleChart.d.ts +4 -0
  206. package/dist/cjs/client/components/charts/BubbleChart.helpers.d.ts +43 -0
  207. package/dist/cjs/client/components/charts/BubbleChart.render.d.ts +21 -0
  208. package/dist/cjs/client/components/charts/CandlestickChart.config.d.ts +5 -0
  209. package/dist/cjs/client/components/charts/CandlestickChart.d.ts +4 -0
  210. package/dist/cjs/client/components/charts/ChartContainer.d.ts +7 -0
  211. package/dist/cjs/client/components/charts/ChartLegend.d.ts +7 -0
  212. package/dist/cjs/client/components/charts/ChartStates.d.ts +38 -0
  213. package/dist/cjs/client/components/charts/ChartTooltip.d.ts +7 -0
  214. package/dist/cjs/client/components/charts/DataTable.config.d.ts +5 -0
  215. package/dist/cjs/client/components/charts/DataTable.d.ts +4 -0
  216. package/dist/cjs/client/components/charts/FunnelChart.config.d.ts +9 -0
  217. package/dist/cjs/client/components/charts/FunnelChart.d.ts +11 -0
  218. package/dist/cjs/client/components/charts/FunnelChart.helpers.d.ts +25 -0
  219. package/dist/cjs/client/components/charts/FunnelViews.d.ts +16 -0
  220. package/dist/cjs/client/components/charts/GaugeChart.config.d.ts +5 -0
  221. package/dist/cjs/client/components/charts/GaugeChart.d.ts +4 -0
  222. package/dist/cjs/client/components/charts/HeatMapCanvas.d.ts +25 -0
  223. package/dist/cjs/client/components/charts/HeatMapChart.config.d.ts +8 -0
  224. package/dist/cjs/client/components/charts/HeatMapChart.d.ts +10 -0
  225. package/dist/cjs/client/components/charts/HeatMapChart.helpers.d.ts +64 -0
  226. package/dist/cjs/client/components/charts/KpiDelta.config.d.ts +5 -0
  227. package/dist/cjs/client/components/charts/KpiDelta.d.ts +4 -0
  228. package/dist/cjs/client/components/charts/KpiDelta.helpers.d.ts +20 -0
  229. package/dist/cjs/client/components/charts/KpiNumber.config.d.ts +5 -0
  230. package/dist/cjs/client/components/charts/KpiNumber.d.ts +4 -0
  231. package/dist/cjs/client/components/charts/KpiNumber.helpers.d.ts +30 -0
  232. package/dist/cjs/client/components/charts/KpiStates.d.ts +19 -0
  233. package/dist/cjs/client/components/charts/KpiText.config.d.ts +5 -0
  234. package/dist/cjs/client/components/charts/KpiText.d.ts +4 -0
  235. package/dist/cjs/client/components/charts/LineChart.config.d.ts +5 -0
  236. package/dist/cjs/client/components/charts/LineChart.d.ts +4 -0
  237. package/dist/cjs/client/components/charts/MarkdownChart.config.d.ts +5 -0
  238. package/dist/cjs/client/components/charts/MarkdownChart.d.ts +4 -0
  239. package/dist/cjs/client/components/charts/MeasureProfileChart.config.d.ts +5 -0
  240. package/dist/cjs/client/components/charts/MeasureProfileChart.d.ts +4 -0
  241. package/dist/cjs/client/components/charts/MissingDependencyFallback.d.ts +12 -0
  242. package/dist/cjs/client/components/charts/PieChart.config.d.ts +5 -0
  243. package/dist/cjs/client/components/charts/PieChart.d.ts +4 -0
  244. package/dist/cjs/client/components/charts/RadarChart.config.d.ts +5 -0
  245. package/dist/cjs/client/components/charts/RadarChart.d.ts +4 -0
  246. package/dist/cjs/client/components/charts/RadialBarChart.config.d.ts +5 -0
  247. package/dist/cjs/client/components/charts/RadialBarChart.d.ts +4 -0
  248. package/dist/cjs/client/components/charts/RetentionCombinedChart.config.d.ts +2 -0
  249. package/dist/cjs/client/components/charts/RetentionCombinedChart.d.ts +14 -0
  250. package/dist/cjs/client/components/charts/RetentionHeatmap.config.d.ts +2 -0
  251. package/dist/cjs/client/components/charts/RetentionHeatmap.d.ts +7 -0
  252. package/dist/cjs/client/components/charts/SankeyChart.config.d.ts +9 -0
  253. package/dist/cjs/client/components/charts/SankeyChart.d.ts +10 -0
  254. package/dist/cjs/client/components/charts/ScatterChart.config.d.ts +5 -0
  255. package/dist/cjs/client/components/charts/ScatterChart.d.ts +4 -0
  256. package/dist/cjs/client/components/charts/ScatterChart.helpers.d.ts +43 -0
  257. package/dist/cjs/client/components/charts/ScatterSeries.d.ts +17 -0
  258. package/dist/cjs/client/components/charts/ScatterTooltip.d.ts +21 -0
  259. package/dist/cjs/client/components/charts/SunburstChart.config.d.ts +9 -0
  260. package/dist/cjs/client/components/charts/SunburstChart.d.ts +10 -0
  261. package/dist/cjs/client/components/charts/TreeMapChart.config.d.ts +5 -0
  262. package/dist/cjs/client/components/charts/TreeMapChart.d.ts +4 -0
  263. package/dist/cjs/client/components/charts/TreeMapChart.helpers.d.ts +37 -0
  264. package/dist/cjs/client/components/charts/TreeMapContent.d.ts +24 -0
  265. package/dist/cjs/client/components/charts/TreeMapLegend.d.ts +13 -0
  266. package/dist/cjs/client/components/charts/WaterfallChart.config.d.ts +5 -0
  267. package/dist/cjs/client/components/charts/WaterfallChart.d.ts +4 -0
  268. package/dist/cjs/client/components/charts/cartesianChartHelpers.d.ts +126 -0
  269. package/dist/cjs/client/components/charts/chartAxisResolution.d.ts +32 -0
  270. package/dist/cjs/client/components/charts/chartScaffolding.d.ts +77 -0
  271. package/dist/cjs/client/components/charts/gaugeChartHelpers.d.ts +36 -0
  272. package/dist/cjs/client/components/charts/index.d.ts +25 -0
  273. package/dist/cjs/client/components/charts/kpiTextHelpers.d.ts +46 -0
  274. package/dist/cjs/client/components/charts/radarChartHelpers.d.ts +14 -0
  275. package/dist/cjs/client/components/charts/radialBarChartHelpers.d.ts +22 -0
  276. package/dist/cjs/client/components/charts/useChartDimensions.d.ts +20 -0
  277. package/dist/cjs/client/components/charts/useKpiDimensions.d.ts +30 -0
  278. package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +113 -0
  279. package/dist/cjs/client/components/dashboard/DashboardCoordinator.d.ts +2 -0
  280. package/dist/cjs/client/components/dashboard/DashboardEditBar.d.ts +5 -0
  281. package/dist/cjs/client/components/dashboard/DashboardFilterBar.d.ts +8 -0
  282. package/dist/cjs/client/components/dashboard/DashboardGridSurface.d.ts +8 -0
  283. package/dist/cjs/client/components/dashboard/DashboardModals.d.ts +8 -0
  284. package/dist/cjs/client/components/dashboard/DashboardProvider.d.ts +2 -0
  285. package/dist/cjs/client/components/dashboard/DashboardToolbar.d.ts +11 -0
  286. package/dist/cjs/client/components/dashboard/LayoutModeToggle.d.ts +10 -0
  287. package/dist/cjs/client/components/dashboard/dashboardGridUtils.d.ts +17 -0
  288. package/dist/cjs/client/components/dashboard/index.d.ts +13 -0
  289. package/dist/cjs/client/components/dashboardPortletCard/FilterFieldChip.d.ts +12 -0
  290. package/dist/cjs/client/components/dashboardPortletCard/PortletCardHeader.d.ts +43 -0
  291. package/dist/cjs/client/components/dashboardPortletCard/cardStyles.d.ts +33 -0
  292. package/dist/cjs/client/components/dashboardPortletCard/filterField.d.ts +12 -0
  293. package/dist/cjs/client/components/dashboardPortletCard/propsEqual.d.ts +55 -0
  294. package/dist/cjs/client/components/dashboardPortletCard/usePortletCardActions.d.ts +16 -0
  295. package/dist/cjs/client/components/portletAnalysisModal/saveValidation.d.ts +8 -0
  296. package/dist/cjs/client/components/shared/DateRangeFilter.d.ts +4 -0
  297. package/dist/cjs/client/components/shared/DateRangeSelector.d.ts +13 -0
  298. package/dist/cjs/client/components/shared/FilterBuilder.d.ts +4 -0
  299. package/dist/cjs/client/components/shared/FilterGroup.d.ts +4 -0
  300. package/dist/cjs/client/components/shared/FilterItem.d.ts +4 -0
  301. package/dist/cjs/client/components/shared/FilterValueSelector.d.ts +4 -0
  302. package/dist/cjs/client/components/shared/dateRangeUtils.d.ts +40 -0
  303. package/dist/cjs/client/components/shared/filterDisplayUtils.d.ts +10 -0
  304. package/dist/cjs/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +17 -0
  305. package/dist/cjs/client/components/shared/filterItem/FilterFieldDropdown.d.ts +16 -0
  306. package/dist/cjs/client/components/shared/filterItem/dateRangeSync.d.ts +14 -0
  307. package/dist/cjs/client/components/shared/filterItem/fieldVisuals.d.ts +5 -0
  308. package/dist/cjs/client/components/shared/filterValueSelector/FilterValueInputs.d.ts +55 -0
  309. package/dist/cjs/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +25 -0
  310. package/dist/cjs/client/components/shared/queryFieldUtils.d.ts +21 -0
  311. package/dist/cjs/client/components/shared/types.d.ts +60 -0
  312. package/dist/cjs/client/components/shared/utils.d.ts +71 -0
  313. package/dist/cjs/client/components.d.ts +17 -0
  314. package/dist/cjs/client/hooks/agentChatStream.d.ts +39 -0
  315. package/dist/cjs/client/hooks/analysisQueryExecutionModes.d.ts +133 -0
  316. package/dist/cjs/client/hooks/dashboard/layoutUtils.d.ts +7 -0
  317. package/dist/cjs/client/hooks/dashboard/useDashboardController.d.ts +53 -0
  318. package/dist/cjs/client/hooks/dashboard/useGridLayoutEngine.d.ts +10 -0
  319. package/dist/cjs/client/hooks/dashboard/useRowLayoutEngine.d.ts +18 -0
  320. package/dist/cjs/client/hooks/drillNavigation.d.ts +25 -0
  321. package/dist/cjs/client/hooks/queries/index.d.ts +20 -0
  322. package/dist/cjs/client/hooks/queries/useCubeLoadQuery.d.ts +85 -0
  323. package/dist/cjs/client/hooks/queries/useCubeMetaQuery.d.ts +51 -0
  324. package/dist/cjs/client/hooks/queries/useDryRunQuery.d.ts +153 -0
  325. package/dist/cjs/client/hooks/queries/useExplainAI.d.ts +62 -0
  326. package/dist/cjs/client/hooks/queries/useExplainQuery.d.ts +62 -0
  327. package/dist/cjs/client/hooks/queries/useFlowQuery.d.ts +72 -0
  328. package/dist/cjs/client/hooks/queries/useFunnelQuery.d.ts +20 -0
  329. package/dist/cjs/client/hooks/queries/useMultiCubeLoadQuery.d.ts +70 -0
  330. package/dist/cjs/client/hooks/queries/useRetentionQuery.d.ts +67 -0
  331. package/dist/cjs/client/hooks/useAgentChat.d.ts +60 -0
  332. package/dist/cjs/client/hooks/useAnalysisAI.d.ts +56 -0
  333. package/dist/cjs/client/hooks/useAnalysisBuilderHook.d.ts +245 -0
  334. package/dist/cjs/client/hooks/useAnalysisChartDefaults.d.ts +35 -0
  335. package/dist/cjs/client/hooks/useAnalysisCombinedFields.d.ts +18 -0
  336. package/dist/cjs/client/hooks/useAnalysisInitialization.d.ts +25 -0
  337. package/dist/cjs/client/hooks/useAnalysisQueryBuilder.d.ts +32 -0
  338. package/dist/cjs/client/hooks/useAnalysisQueryExecution.d.ts +144 -0
  339. package/dist/cjs/client/hooks/useAnalysisShare.d.ts +18 -0
  340. package/dist/cjs/client/hooks/useAnalysisUIState.d.ts +24 -0
  341. package/dist/cjs/client/hooks/useCubeFieldLabel.d.ts +16 -0
  342. package/dist/cjs/client/hooks/useDashboardHook.d.ts +123 -0
  343. package/dist/cjs/client/hooks/useDataBrowser.d.ts +67 -0
  344. package/dist/cjs/client/hooks/useDebounce.d.ts +12 -0
  345. package/dist/cjs/client/hooks/useDebounceQuery.d.ts +48 -0
  346. package/dist/cjs/client/hooks/useDirtyStateTracking.d.ts +37 -0
  347. package/dist/cjs/client/hooks/useDragAutoScroll.d.ts +18 -0
  348. package/dist/cjs/client/hooks/useDrillInteraction.d.ts +9 -0
  349. package/dist/cjs/client/hooks/useElementVisibility.d.ts +30 -0
  350. package/dist/cjs/client/hooks/useFilterValues.d.ts +19 -0
  351. package/dist/cjs/client/hooks/useNotebookLayout.d.ts +8 -0
  352. package/dist/cjs/client/hooks/useResponsiveDashboard.d.ts +16 -0
  353. package/dist/cjs/client/hooks/useScrollDetection.d.ts +29 -0
  354. package/dist/cjs/client/hooks/useTheme.d.ts +11 -0
  355. package/dist/cjs/client/hooks/useTranslation.d.ts +21 -0
  356. package/dist/cjs/client/hooks.d.ts +17 -0
  357. package/dist/cjs/client/icons/customIcons.d.ts +22 -0
  358. package/dist/cjs/client/icons/defaultIcons.d.ts +5 -0
  359. package/dist/cjs/client/icons/index.d.ts +22 -0
  360. package/dist/cjs/client/icons/registry.d.ts +64 -0
  361. package/dist/cjs/client/icons/types.d.ts +129 -0
  362. package/dist/cjs/client/icons.d.ts +2 -0
  363. package/dist/cjs/client/index.d.ts +76 -0
  364. package/dist/cjs/client/providers/CubeApiProvider.d.ts +24 -0
  365. package/dist/cjs/client/providers/CubeFeaturesProvider.d.ts +19 -0
  366. package/dist/cjs/client/providers/CubeMetaContext.d.ts +11 -0
  367. package/dist/cjs/client/providers/CubeMetaProvider.d.ts +6 -0
  368. package/dist/cjs/client/providers/CubeProvider.d.ts +70 -0
  369. package/dist/cjs/client/providers/I18nProvider.d.ts +18 -0
  370. package/dist/cjs/client/providers/ScrollContainerContext.d.ts +19 -0
  371. package/dist/cjs/client/providers.d.ts +10 -0
  372. package/dist/cjs/client/schema.d.ts +13 -0
  373. package/dist/cjs/client/shared/chartConfigBuilders.d.ts +18 -0
  374. package/dist/cjs/client/shared/chartDefaults.d.ts +59 -0
  375. package/dist/cjs/client/shared/components/CodeBlock.d.ts +13 -0
  376. package/dist/cjs/client/shared/components/QueryAnalysisPanel.d.ts +7 -0
  377. package/dist/cjs/client/shared/components/QueryAnalysisPanel.sections.d.ts +41 -0
  378. package/dist/cjs/client/shared/index.d.ts +11 -0
  379. package/dist/cjs/client/shared/queryKey.d.ts +1 -0
  380. package/dist/cjs/client/shared/queryTransforms.d.ts +20 -0
  381. package/dist/cjs/client/shared/types.d.ts +184 -0
  382. package/dist/cjs/client/shared/utils.d.ts +104 -0
  383. package/dist/cjs/client/stores/analysisBuilderStore.d.ts +578 -0
  384. package/dist/cjs/client/stores/dashboardStore.d.ts +292 -0
  385. package/dist/cjs/client/stores/dataBrowserStore.d.ts +34 -0
  386. package/dist/cjs/client/stores/index.d.ts +13 -0
  387. package/dist/cjs/client/stores/notebookStore.d.ts +157 -0
  388. package/dist/cjs/client/stores/optionsToAnalysisConfig.d.ts +17 -0
  389. package/dist/cjs/client/stores/slices/coreSlice.d.ts +96 -0
  390. package/dist/cjs/client/stores/slices/flowSlice.d.ts +69 -0
  391. package/dist/cjs/client/stores/slices/funnelSlice.d.ts +61 -0
  392. package/dist/cjs/client/stores/slices/index.d.ts +13 -0
  393. package/dist/cjs/client/stores/slices/querySlice.d.ts +55 -0
  394. package/dist/cjs/client/stores/slices/retentionSlice.d.ts +66 -0
  395. package/dist/cjs/client/stores/slices/uiSlice.d.ts +52 -0
  396. package/dist/cjs/client/theme/index.d.ts +135 -0
  397. package/dist/cjs/client/types/analysisConfig.d.ts +185 -0
  398. package/dist/cjs/client/types/drill.d.ts +240 -0
  399. package/dist/cjs/client/types/flow.d.ts +191 -0
  400. package/dist/cjs/client/types/funnel.d.ts +288 -0
  401. package/dist/cjs/client/types/retention.d.ts +301 -0
  402. package/dist/cjs/client/types.d.ts +600 -0
  403. package/dist/cjs/client/utils/axisValueFormatting.d.ts +32 -0
  404. package/dist/cjs/client/utils/chartConstants.d.ts +16 -0
  405. package/dist/cjs/client/utils/chartUtils.d.ts +35 -0
  406. package/dist/cjs/client/utils/colorPalettes.d.ts +35 -0
  407. package/dist/cjs/client/utils/comparisonUtils.d.ts +96 -0
  408. package/dist/cjs/client/utils/configMigration.d.ts +85 -0
  409. package/dist/cjs/client/utils/drillQueryBuilder.d.ts +41 -0
  410. package/dist/cjs/client/utils/exportXlsx.d.ts +20 -0
  411. package/dist/cjs/client/utils/filterUtils.d.ts +113 -0
  412. package/dist/cjs/client/utils/funnelExecution.d.ts +211 -0
  413. package/dist/cjs/client/utils/funnelValidation.d.ts +46 -0
  414. package/dist/cjs/client/utils/index.d.ts +94 -0
  415. package/dist/cjs/client/utils/joinReachability.d.ts +27 -0
  416. package/dist/cjs/client/utils/measureIcons.d.ts +11 -0
  417. package/dist/cjs/client/utils/multiQueryUtils.d.ts +86 -0
  418. package/dist/cjs/client/utils/multiQueryValidation.d.ts +69 -0
  419. package/dist/cjs/client/utils/periodUtils.d.ts +40 -0
  420. package/dist/cjs/client/utils/pivotUtils.d.ts +87 -0
  421. package/dist/cjs/client/utils/shareUtils.d.ts +61 -0
  422. package/dist/cjs/client/utils/syntaxHighlighting.d.ts +36 -0
  423. package/dist/cjs/client/utils/targetUtils.d.ts +36 -0
  424. package/dist/cjs/client/utils/thumbnail.d.ts +36 -0
  425. package/dist/cjs/client/utils/timeValueFormatting.d.ts +32 -0
  426. package/dist/cjs/client/utils.d.ts +8 -0
  427. package/dist/cjs/package.json +3 -0
  428. package/dist/cjs/server/adapters/base-adapter.d.ts +332 -0
  429. package/dist/cjs/server/adapters/databend-adapter.d.ts +63 -0
  430. package/dist/cjs/server/adapters/duckdb-adapter.d.ts +68 -0
  431. package/dist/cjs/server/adapters/mysql-adapter.d.ts +65 -0
  432. package/dist/cjs/server/adapters/postgres-adapter.d.ts +55 -0
  433. package/dist/cjs/server/adapters/singlestore-adapter.d.ts +4 -0
  434. package/dist/cjs/server/adapters/snowflake-adapter.d.ts +53 -0
  435. package/dist/cjs/server/adapters/sqlite-adapter.d.ts +120 -0
  436. package/dist/cjs/server/adapters/window-function-builder.d.ts +11 -0
  437. package/dist/cjs/server/agent/chart-validation.d.ts +22 -0
  438. package/dist/cjs/server/agent/handler-steps.d.ts +37 -0
  439. package/dist/cjs/server/agent/handler.d.ts +25 -0
  440. package/dist/cjs/server/agent/index.d.ts +11 -0
  441. package/dist/cjs/server/agent/providers/anthropic.d.ts +24 -0
  442. package/dist/cjs/server/agent/providers/factory.d.ts +12 -0
  443. package/dist/cjs/server/agent/providers/google.d.ts +23 -0
  444. package/dist/cjs/server/agent/providers/index.d.ts +6 -0
  445. package/dist/cjs/server/agent/providers/openai.d.ts +26 -0
  446. package/dist/cjs/server/agent/providers/types.d.ts +95 -0
  447. package/dist/cjs/server/agent/system-prompt.d.ts +5 -0
  448. package/dist/cjs/server/agent/tools.d.ts +28 -0
  449. package/dist/cjs/server/agent/types.d.ts +192 -0
  450. package/dist/cjs/server/ai/discovery-helpers.d.ts +29 -0
  451. package/dist/cjs/server/ai/discovery.d.ts +66 -0
  452. package/dist/cjs/server/ai/index.d.ts +10 -0
  453. package/dist/cjs/server/ai/mcp-prompts.d.ts +83 -0
  454. package/dist/cjs/server/ai/query-schema.d.ts +258 -0
  455. package/dist/cjs/server/ai/schemas.d.ts +63 -0
  456. package/dist/cjs/server/ai/suggestion-helpers.d.ts +33 -0
  457. package/dist/cjs/server/ai/suggestion.d.ts +16 -0
  458. package/dist/cjs/server/ai/validation-helpers.d.ts +21 -0
  459. package/dist/cjs/server/ai/validation.d.ts +31 -0
  460. package/dist/cjs/server/builders/analysis-utils.d.ts +106 -0
  461. package/dist/cjs/server/builders/comparison-query-builder.d.ts +70 -0
  462. package/dist/cjs/server/builders/cte-builder.d.ts +108 -0
  463. package/dist/cjs/server/builders/date-time-builder.d.ts +34 -0
  464. package/dist/cjs/server/builders/date-time-helpers.d.ts +34 -0
  465. package/dist/cjs/server/builders/filter-builder.d.ts +25 -0
  466. package/dist/cjs/server/builders/filter-operators.d.ts +23 -0
  467. package/dist/cjs/server/builders/flow-query-builder.d.ts +136 -0
  468. package/dist/cjs/server/builders/funnel-query-builder.d.ts +145 -0
  469. package/dist/cjs/server/builders/group-by-builder.d.ts +38 -0
  470. package/dist/cjs/server/builders/index.d.ts +13 -0
  471. package/dist/cjs/server/builders/measure-builder.d.ts +185 -0
  472. package/dist/cjs/server/builders/retention-query-builder.d.ts +98 -0
  473. package/dist/cjs/server/cache-providers/index.d.ts +5 -0
  474. package/dist/cjs/server/cache-providers/memory.d.ts +105 -0
  475. package/dist/cjs/server/cache-utils.d.ts +85 -0
  476. package/dist/cjs/server/compiler-metadata.d.ts +11 -0
  477. package/dist/cjs/server/compiler.d.ts +212 -0
  478. package/dist/cjs/server/cube-utils.d.ts +158 -0
  479. package/dist/cjs/server/database-utils.d.ts +18 -0
  480. package/dist/cjs/server/execution/annotation-builder.d.ts +12 -0
  481. package/dist/cjs/server/execution/filter-cache-preloader.d.ts +19 -0
  482. package/dist/cjs/server/execution/mode-router.d.ts +25 -0
  483. package/dist/cjs/server/execution/query-result-cache.d.ts +21 -0
  484. package/dist/cjs/server/execution/result-post-processor.d.ts +10 -0
  485. package/dist/cjs/server/executor.d.ts +186 -0
  486. package/dist/cjs/server/executors/base-executor.d.ts +16 -0
  487. package/dist/cjs/server/executors/databend-executor.d.ts +33 -0
  488. package/dist/cjs/server/executors/duckdb-executor.d.ts +33 -0
  489. package/dist/cjs/server/executors/explain-utils.d.ts +28 -0
  490. package/dist/cjs/server/executors/index.d.ts +21 -0
  491. package/dist/cjs/server/executors/mysql-executor.d.ts +27 -0
  492. package/dist/cjs/server/executors/postgres-executor.d.ts +27 -0
  493. package/dist/cjs/server/executors/singlestore-executor.d.ts +9 -0
  494. package/dist/cjs/server/executors/snowflake-executor.d.ts +33 -0
  495. package/dist/cjs/server/executors/sqlite-executor.d.ts +28 -0
  496. package/dist/cjs/server/explain/databend-parser.d.ts +16 -0
  497. package/dist/cjs/server/explain/duckdb-parser.d.ts +28 -0
  498. package/dist/cjs/server/explain/explain-tree.d.ts +20 -0
  499. package/dist/cjs/server/explain/index.d.ts +9 -0
  500. package/dist/cjs/server/explain/mysql-parser.d.ts +38 -0
  501. package/dist/cjs/server/explain/postgres-parser.d.ts +18 -0
  502. package/dist/cjs/server/explain/snowflake-parser.d.ts +17 -0
  503. package/dist/cjs/server/explain/sqlite-parser.d.ts +23 -0
  504. package/dist/cjs/server/filter-cache.d.ts +73 -0
  505. package/dist/cjs/server/gap-filler.d.ts +48 -0
  506. package/dist/cjs/server/index.d.ts +38 -0
  507. package/dist/cjs/server/logical-plan/cte-planner-helpers.d.ts +37 -0
  508. package/dist/cjs/server/logical-plan/cte-planner.d.ts +104 -0
  509. package/dist/cjs/server/logical-plan/filter-propagation.d.ts +44 -0
  510. package/dist/cjs/server/logical-plan/index.d.ts +19 -0
  511. package/dist/cjs/server/logical-plan/join-planner.d.ts +27 -0
  512. package/dist/cjs/server/logical-plan/logical-plan-builder.d.ts +58 -0
  513. package/dist/cjs/server/logical-plan/logical-planner.d.ts +39 -0
  514. package/dist/cjs/server/logical-plan/optimiser.d.ts +34 -0
  515. package/dist/cjs/server/logical-plan/plan-analysis-reporter.d.ts +59 -0
  516. package/dist/cjs/server/logical-plan/planner-utils.d.ts +20 -0
  517. package/dist/cjs/server/logical-plan/types.d.ts +199 -0
  518. package/dist/cjs/server/measure-classification.d.ts +40 -0
  519. package/dist/cjs/server/physical-plan/drizzle-plan-builder.d.ts +50 -0
  520. package/dist/cjs/server/physical-plan/drizzle-sql-builder.d.ts +118 -0
  521. package/dist/cjs/server/physical-plan/index.d.ts +2 -0
  522. package/dist/cjs/server/physical-plan/processors/cte-processor.d.ts +6 -0
  523. package/dist/cjs/server/physical-plan/processors/index.d.ts +8 -0
  524. package/dist/cjs/server/physical-plan/processors/joins-processor.d.ts +6 -0
  525. package/dist/cjs/server/physical-plan/processors/keys-dedup-processor.d.ts +13 -0
  526. package/dist/cjs/server/physical-plan/processors/multi-fact-processor.d.ts +13 -0
  527. package/dist/cjs/server/physical-plan/processors/predicates-processor.d.ts +6 -0
  528. package/dist/cjs/server/physical-plan/processors/selection-processor.d.ts +6 -0
  529. package/dist/cjs/server/physical-plan/processors/shared.d.ts +38 -0
  530. package/dist/cjs/server/physical-plan/processors/window-processor.d.ts +6 -0
  531. package/dist/cjs/server/prompts/explain-analysis-prompt.d.ts +47 -0
  532. package/dist/cjs/server/prompts/index.d.ts +27 -0
  533. package/dist/cjs/server/prompts/single-step-prompt.d.ts +31 -0
  534. package/dist/cjs/server/prompts/step0-validation-prompt.d.ts +39 -0
  535. package/dist/cjs/server/prompts/step1-shape-prompt.d.ts +29 -0
  536. package/dist/cjs/server/prompts/step2-complete-prompt.d.ts +19 -0
  537. package/dist/cjs/server/prompts/types.d.ts +37 -0
  538. package/dist/cjs/server/query-handlers.d.ts +79 -0
  539. package/dist/cjs/server/query-modes.d.ts +28 -0
  540. package/dist/cjs/server/query-validator.d.ts +9 -0
  541. package/dist/cjs/server/resolvers/calculated-measure-resolver.d.ts +98 -0
  542. package/dist/cjs/server/resolvers/index.d.ts +6 -0
  543. package/dist/cjs/server/resolvers/join-path-resolver.d.ts +158 -0
  544. package/dist/cjs/server/sql-format.d.ts +11 -0
  545. package/dist/cjs/server/template-substitution.d.ts +57 -0
  546. package/dist/cjs/server/types/analysis.d.ts +189 -0
  547. package/dist/cjs/server/types/cache.d.ts +132 -0
  548. package/dist/cjs/server/types/core.d.ts +164 -0
  549. package/dist/cjs/server/types/cube.d.ts +544 -0
  550. package/dist/cjs/server/types/executor.d.ts +156 -0
  551. package/dist/cjs/server/types/flow.d.ts +144 -0
  552. package/dist/cjs/server/types/funnel.d.ts +118 -0
  553. package/dist/cjs/server/types/index.d.ts +11 -0
  554. package/dist/cjs/server/types/metadata.d.ts +113 -0
  555. package/dist/cjs/server/types/query.d.ts +153 -0
  556. package/dist/cjs/server/types/retention.d.ts +141 -0
  557. package/dist/cjs/server/types/utils.d.ts +11 -0
  558. package/dist/cjs/server/types/validation.d.ts +14 -0
  559. package/dist/server/index.cjs +1 -1
  560. package/dist/server/index.js +1 -1
  561. package/dist/{adapters/openai-B5jEiqiB.js → server/openai-CmVRIbUg.js} +18 -2
  562. package/dist/server/{openai-cDlFSTk6.js → openai-CtXqeznO.js} +1 -1
  563. package/dist/{adapters/openai-D0musiYP.cjs → server/openai-D-6l1Y8h.cjs} +3 -3
  564. package/dist/server/{openai-vXvLni8v.cjs → openai-DTSTMiXL.cjs} +1 -1
  565. package/package.json +75 -29
@@ -0,0 +1,23 @@
1
+ import { ChartAxisConfig } from '../../../types.js';
2
+ interface DropZoneShape {
3
+ key: string;
4
+ maxItems?: number;
5
+ enableDualAxis?: boolean;
6
+ }
7
+ /**
8
+ * Compute the new config after dropping `field` onto `toAxis` (optionally moving
9
+ * it from `fromAxis`). Applies the default left/right yAxisAssignment for dual-axis
10
+ * drop zones.
11
+ */
12
+ export declare function applyAxisDrop(chartConfig: ChartAxisConfig, field: string, fromAxis: string, toAxis: string, dropZoneConfig: DropZoneShape | undefined): ChartAxisConfig;
13
+ /**
14
+ * Compute the new config after removing `field` from `fromAxis`, cleaning up any
15
+ * yAxisAssignment entry.
16
+ */
17
+ export declare function applyAxisRemove(chartConfig: ChartAxisConfig, field: string, fromAxis: string): ChartAxisConfig;
18
+ /**
19
+ * Compute the new config after reordering items within `axisKey`. Returns null
20
+ * when no reorder is applicable (non-array, single item, or no-op move).
21
+ */
22
+ export declare function applyAxisReorder(chartConfig: ChartAxisConfig, fromIndex: number, toIndex: number, axisKey: string): ChartAxisConfig | null;
23
+ export {};
@@ -0,0 +1,8 @@
1
+ import { CubeQuery } from '../../../types.js';
2
+ import { QueryAnalysis } from '../../../shared/types.js';
3
+ /**
4
+ * Generate markdown representation of query execution plan.
5
+ */
6
+ export declare function generateExecutionPlanMarkdown(analysis: QueryAnalysis, query: CubeQuery | null, sql?: {
7
+ sql: string;
8
+ } | null): string;
@@ -0,0 +1,69 @@
1
+ import { FieldOption, FieldType } from '../types.js';
2
+ import { MetaResponse, MetaField } from '../../../shared/types.js';
3
+ /**
4
+ * Get cube name from a field name (e.g., "Employees.count" -> "Employees")
5
+ */
6
+ export declare function getCubeNameFromField(fieldName: string): string;
7
+ /**
8
+ * Get field short name from full name (e.g., "Employees.count" -> "count")
9
+ */
10
+ export declare function getFieldShortName(fieldName: string): string;
11
+ /**
12
+ * Find field metadata from schema
13
+ */
14
+ export declare function findFieldInSchema(fieldName: string, schema: MetaResponse | null): {
15
+ field: MetaField;
16
+ cubeName: string;
17
+ fieldType: FieldType;
18
+ } | null;
19
+ /**
20
+ * Get display title for a field
21
+ */
22
+ export declare function getFieldTitle(fieldName: string, schema: MetaResponse | null): string;
23
+ /**
24
+ * Determine field type from metadata
25
+ */
26
+ export declare function getFieldType(field: MetaField): FieldType;
27
+ /**
28
+ * Convert schema to flat list of field options
29
+ *
30
+ * - 'metrics': measures only
31
+ * - 'breakdown' / 'dimensionFilter': dimensions only ('dimensionFilter' is used
32
+ * for funnel step filters where measures don't work)
33
+ * - 'filter': both measures and dimensions
34
+ */
35
+ export declare function schemaToFieldOptions(schema: MetaResponse | null, mode: 'metrics' | 'breakdown' | 'filter' | 'dimensionFilter'): FieldOption[];
36
+ /**
37
+ * Filter field options by search term
38
+ */
39
+ export declare function filterFieldOptions(options: FieldOption[], searchTerm: string, selectedCube?: string | null): FieldOption[];
40
+ /**
41
+ * Group field options by cube
42
+ */
43
+ export declare function groupFieldsByCube(options: FieldOption[]): Map<string, FieldOption[]>;
44
+ /**
45
+ * Get list of cube names from schema
46
+ */
47
+ export declare function getCubeNames(schema: MetaResponse | null): string[];
48
+ /**
49
+ * Get cube title by name
50
+ */
51
+ export declare function getCubeTitle(cubeName: string, schema: MetaResponse | null): string;
52
+ /**
53
+ * Get all cubes reachable from a source cube via join relationships
54
+ * Includes the source cube itself plus all cubes it has joins to
55
+ *
56
+ * @param sourceCube - Name of the cube to find related cubes for
57
+ * @param schema - Full schema with all cubes
58
+ * @returns Set of cube names that are reachable from the source
59
+ */
60
+ export declare function getRelatedCubeNames(sourceCube: string, schema: MetaResponse | null): Set<string>;
61
+ /**
62
+ * Filter schema to include only cubes reachable from a source cube
63
+ * This is used for funnel step filters where cross-cube filtering is supported
64
+ *
65
+ * @param sourceCube - Name of the cube to find related cubes for
66
+ * @param schema - Full schema with all cubes
67
+ * @returns Filtered schema containing only reachable cubes
68
+ */
69
+ export declare function getRelatedCubesSchema(sourceCube: string, schema: MetaResponse | null): MetaResponse | null;
@@ -0,0 +1,19 @@
1
+ import { Filter } from '../../../types.js';
2
+ /**
3
+ * Find date filter for a specific time dimension field
4
+ * Recursively searches filters (including nested and/or groups)
5
+ * Handles both UI format ({type: 'and'/'or', filters: [...]}) and simple filters
6
+ */
7
+ export declare function findDateFilterForField(filters: Filter[], field: string): {
8
+ dateRange: string | string[];
9
+ } | undefined;
10
+ /**
11
+ * Build compareDateRange for a time dimension based on its date filter
12
+ * When comparison is enabled, returns [[currentStart, currentEnd], [priorStart, priorEnd]]
13
+ */
14
+ export declare function buildCompareDateRangeFromFilter(timeDimensionField: string, filters: Filter[]): [string, string][] | undefined;
15
+ /**
16
+ * Remove date filter for a specific field from filters array
17
+ * Returns a new array with the filter removed (immutable)
18
+ */
19
+ export declare function removeComparisonDateFilter(filters: Filter[], field: string): Filter[];
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ID Generation Utilities for AnalysisBuilder
3
+ */
4
+ /**
5
+ * Generate a unique ID for items
6
+ */
7
+ export declare function generateId(): string;
8
+ /**
9
+ * Generate letter label for metrics (A, B, C, ..., AA, AB, ...)
10
+ */
11
+ export declare function generateMetricLabel(index: number): string;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * AnalysisBuilder Utilities - Barrel Export
3
+ *
4
+ * Re-exports all utility functions for convenient imports.
5
+ */
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';
@@ -0,0 +1,11 @@
1
+ import { CubeQuery, Filter } from '../../../types.js';
2
+ import { MetricItem, BreakdownItem } from '../types.js';
3
+ /**
4
+ * Convert metrics and breakdowns to CubeQuery format
5
+ * Handles comparison mode by building compareDateRange for time dimensions
6
+ */
7
+ export declare function buildCubeQuery(metrics: MetricItem[], breakdowns: BreakdownItem[], filters: Filter[], order?: Record<string, 'asc' | 'desc'>, preserveComparisonFilters?: boolean, limit?: number): CubeQuery;
8
+ /**
9
+ * Check if a query has any content
10
+ */
11
+ export declare function hasQueryContent(metrics: MetricItem[], breakdowns: BreakdownItem[], filters: Filter[]): boolean;
@@ -0,0 +1,14 @@
1
+ import { FieldOption, RecentFieldsStorage } from '../types.js';
2
+ import { MetaResponse } from '../../../shared/types.js';
3
+ /**
4
+ * Get recent fields from localStorage
5
+ */
6
+ export declare function getRecentFields(): RecentFieldsStorage;
7
+ /**
8
+ * Add a field to recent fields
9
+ */
10
+ export declare function addRecentField(fieldName: string, mode: 'metrics' | 'breakdowns'): void;
11
+ /**
12
+ * Get recent field options from schema
13
+ */
14
+ export declare function getRecentFieldOptions(schema: MetaResponse | null, mode: 'metrics' | 'breakdown' | 'filter' | 'dimensionFilter', recentFieldNames: string[]): FieldOption[];
@@ -0,0 +1,68 @@
1
+ /**
2
+ * resultsPanelDerive
3
+ *
4
+ * Small pure helpers for AnalysisResultsPanel derived values, extracted to keep
5
+ * the component body flat. Behaviour is identical to the previous inline logic.
6
+ */
7
+ export interface DebugDataEntry {
8
+ sql: unknown;
9
+ analysis: unknown;
10
+ mode: unknown;
11
+ queryType: unknown;
12
+ joinType: unknown;
13
+ cubesUsed: unknown[];
14
+ modeMetadata: unknown;
15
+ loading: boolean;
16
+ error: unknown;
17
+ }
18
+ /**
19
+ * Resolve the active debug entry, falling back to an empty placeholder.
20
+ * The fallback is cast to the element type so callers keep their precise typing.
21
+ */
22
+ export declare function resolveDebugData<T>(debugDataPerQuery: T[], activeDebugIndex: number): T;
23
+ interface ChartViewParams {
24
+ isCurrentChartRenderable: boolean;
25
+ isFlowMode: boolean;
26
+ isFunnelMode: boolean;
27
+ isRetentionMode: boolean;
28
+ }
29
+ /** Whether the chart view toggle should be enabled. */
30
+ export declare function isChartViewEnabled({ isCurrentChartRenderable, isFlowMode, isFunnelMode, isRetentionMode }: ChartViewParams): boolean;
31
+ /**
32
+ * Whether the panel has meaningful results to display, accounting for the
33
+ * different data shapes per analysis mode.
34
+ */
35
+ export declare function computeHasResults(executionResults: unknown[] | null | undefined, isFlowMode: boolean, isRetentionMode: boolean, retentionChartData: {
36
+ rows: unknown[];
37
+ } | null | undefined): boolean;
38
+ interface TableSelectionParams<Q, R> {
39
+ tableIndex: number | undefined;
40
+ isMultiQuery: unknown;
41
+ allQueries: Q[] | null | undefined;
42
+ perQueryResults: R[] | null | undefined;
43
+ executionResults: R | null | undefined;
44
+ combinedQueryForChart: Q | undefined;
45
+ }
46
+ /**
47
+ * Resolve the data + query object for a table view given the requested index.
48
+ * tableIndex: undefined = single query, -1 = merged view, 0+ = per-query view.
49
+ */
50
+ export declare function selectTableData<Q, R>({ tableIndex, isMultiQuery, allQueries, perQueryResults, executionResults, combinedQueryForChart }: TableSelectionParams<Q, R>): {
51
+ tableData: R | null;
52
+ tableQuery: Q | undefined;
53
+ };
54
+ /**
55
+ * Resolve the display source/target event names for a flow Sankey link, handling
56
+ * both transformed (`source`/`target`) and raw (`source_id`/`target_id`) shapes.
57
+ */
58
+ export declare function flowLinkNames(link: Record<string, unknown>): {
59
+ sourceName: string;
60
+ targetName: string;
61
+ };
62
+ /**
63
+ * Multi-query mode (but NOT funnel mode — funnels always show unified results).
64
+ */
65
+ export declare function computeIsMultiQuery(isFunnelMode: boolean, queryCount: number, perQueryResults: unknown[] | null | undefined): boolean;
66
+ /** Title/tooltip for the chart view toggle button. */
67
+ export declare function chartViewButtonTitle(chartViewEnabled: boolean, chartViewUnavailableReason: string | undefined, t: (key: string) => string): string;
68
+ export {};
@@ -0,0 +1,68 @@
1
+ import { AnalysisConfig } from '../../../types/analysisConfig.js';
2
+ /**
3
+ * Extract funnel initial state from a shared AnalysisConfig.
4
+ *
5
+ * Phase 3: funnel config is in query.funnel, chart config is in charts.funnel.
6
+ */
7
+ export declare function extractFunnelStateFromShare(sharedState: AnalysisConfig | null): {
8
+ funnelCube: null;
9
+ funnelSteps: never[];
10
+ funnelTimeDimension: string | null;
11
+ funnelBindingKey: {
12
+ dimension: string | {
13
+ cube: string;
14
+ dimension: string;
15
+ }[];
16
+ } | null;
17
+ funnelChartType: import('../../../types.js').ChartType;
18
+ funnelChartConfig: import('../../../types.js').ChartAxisConfig;
19
+ funnelDisplayConfig: import('../../../types.js').ChartDisplayConfig;
20
+ } | undefined;
21
+ /**
22
+ * Extract flow initial state from a shared AnalysisConfig.
23
+ */
24
+ export declare function extractFlowStateFromShare(sharedState: AnalysisConfig | null): {
25
+ flowCube: null;
26
+ flowBindingKey: {
27
+ dimension: string;
28
+ } | null;
29
+ flowTimeDimension: string | null;
30
+ startingStep: {
31
+ name: string;
32
+ filters: import('../../../types.js').Filter[];
33
+ };
34
+ stepsBefore: number;
35
+ stepsAfter: number;
36
+ eventDimension: string | null;
37
+ flowChartType: import('../../../types.js').ChartType;
38
+ flowChartConfig: import('../../../types.js').ChartAxisConfig;
39
+ flowDisplayConfig: import('../../../types.js').ChartDisplayConfig;
40
+ } | undefined;
41
+ /**
42
+ * Extract retention initial state from a shared AnalysisConfig.
43
+ */
44
+ export declare function extractRetentionStateFromShare(sharedState: AnalysisConfig | null): {
45
+ retentionCube: null;
46
+ retentionBindingKey: {
47
+ dimension: string;
48
+ } | {
49
+ dimension: {
50
+ cube: string;
51
+ dimension: string;
52
+ }[];
53
+ } | null;
54
+ retentionTimeDimension: string | null;
55
+ retentionDateRange: import('../../../types/retention.js').DateRange;
56
+ retentionCohortFilters: import('../../../types.js').Filter[];
57
+ retentionActivityFilters: import('../../../types.js').Filter[];
58
+ retentionBreakdowns: {
59
+ field: string;
60
+ label: string;
61
+ }[];
62
+ retentionViewGranularity: import('../../../types/retention.js').RetentionGranularity;
63
+ retentionPeriods: number;
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
+ } | undefined;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Sort direction cycle helper shared by query section components.
3
+ */
4
+ /**
5
+ * Get next sort direction in the cycle: null -> asc -> desc -> null
6
+ */
7
+ export declare function getNextSortDirection(current: 'asc' | 'desc' | null): 'asc' | 'desc' | null;
@@ -0,0 +1,44 @@
1
+ import { Filter } from '../../../types.js';
2
+ import { MetricItem, BreakdownItem, AnalysisBuilderState, AnalysisBuilderStorageState } from '../types.js';
3
+ export declare const STORAGE_KEY = "drizzle-cube-analysis-builder-v3";
4
+ /** @deprecated Use STORAGE_KEY instead */
5
+ export declare const STORAGE_KEY_V2 = "drizzle-cube-analysis-builder-v2";
6
+ /**
7
+ * Create initial empty state for AnalysisBuilder
8
+ *
9
+ * Note: Only client-side configuration state is stored.
10
+ * Server state (execution results, loading, errors) is managed by TanStack Query.
11
+ */
12
+ export declare function createInitialState(): AnalysisBuilderState;
13
+ /**
14
+ * Load all state from localStorage once (to avoid repeated parsing)
15
+ */
16
+ export declare function loadInitialStateFromStorage(disableLocalStorage: boolean): AnalysisBuilderStorageState | null;
17
+ /**
18
+ * Save state to localStorage
19
+ */
20
+ export declare function saveStateToStorage(state: {
21
+ metrics: MetricItem[];
22
+ breakdowns: BreakdownItem[];
23
+ filters: Filter[];
24
+ chartType: string;
25
+ chartConfig: object;
26
+ displayConfig: object;
27
+ activeView: string;
28
+ }): void;
29
+ /**
30
+ * Load state from localStorage (legacy format for backward compatibility)
31
+ */
32
+ export declare function loadStateFromStorage(): {
33
+ metrics: MetricItem[];
34
+ breakdowns: BreakdownItem[];
35
+ filters: Filter[];
36
+ chartType: string;
37
+ chartConfig: object;
38
+ displayConfig: object;
39
+ activeView: string;
40
+ } | null;
41
+ /**
42
+ * Clear state from localStorage
43
+ */
44
+ export declare function clearStateFromStorage(): void;
@@ -0,0 +1,4 @@
1
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
2
+ import { AnalysisBuilderProps, AnalysisBuilderRef } from './AnalysisBuilder/types.js';
3
+ declare const AnalysisBuilder: ForwardRefExoticComponent<AnalysisBuilderProps & RefAttributes<AnalysisBuilderRef>>;
4
+ export default AnalysisBuilder;
@@ -0,0 +1,2 @@
1
+ import { AnalyticsDashboardProps } from '../types.js';
2
+ export default function AnalyticsDashboard({ config, editable, dashboardFilters: propDashboardFilters, loadingComponent, onConfigChange, onSave, onSaveThumbnail, onDirtyStateChange }: AnalyticsDashboardProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function AnalyticsPage(): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { AnalyticsPortletProps } from '../types.js';
3
+ interface RefreshOptions {
4
+ bustCache?: boolean;
5
+ }
6
+ interface AnalyticsPortletRef {
7
+ refresh: (options?: RefreshOptions) => void;
8
+ }
9
+ declare const AnalyticsPortlet: React.MemoExoticComponent<React.ForwardRefExoticComponent<AnalyticsPortletProps & React.RefAttributes<AnalyticsPortletRef>>>;
10
+ export default AnalyticsPortlet;
@@ -0,0 +1,21 @@
1
+ import { default as React, Component, ReactNode } from 'react';
2
+ interface Props {
3
+ children: ReactNode;
4
+ fallback?: ReactNode;
5
+ portletTitle?: string;
6
+ portletConfig?: any;
7
+ cubeQuery?: string;
8
+ }
9
+ interface State {
10
+ hasError: boolean;
11
+ error: Error | null;
12
+ errorInfo: string | null;
13
+ }
14
+ export default class ChartErrorBoundary extends Component<Props, State> {
15
+ constructor(props: Props);
16
+ static getDerivedStateFromError(error: Error): State;
17
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
18
+ handleReset: () => void;
19
+ render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
20
+ }
21
+ export {};
@@ -0,0 +1,15 @@
1
+ import { ChartType } from '../types.js';
2
+ import { ChartAvailabilityMap } from '../shared/chartDefaults.js';
3
+ interface ChartTypeSelectorProps {
4
+ selectedType: ChartType;
5
+ onTypeChange: (type: ChartType) => void;
6
+ className?: string;
7
+ /** Compact mode for narrow containers - uses 2 columns and constrains width */
8
+ compact?: boolean;
9
+ /** Map of chart type availability - when provided, unavailable charts are disabled */
10
+ availability?: ChartAvailabilityMap;
11
+ /** Chart types to exclude from the list (e.g., ['funnel'] to hide funnel in query mode) */
12
+ excludeTypes?: ChartType[];
13
+ }
14
+ export default function ChartTypeSelector({ selectedType, onTypeChange, className, compact, availability, excludeTypes }: ChartTypeSelectorProps): import("react").JSX.Element;
15
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Color Palette Selector Component
3
+ * Allows users to select from predefined color palettes for their dashboard
4
+ */
5
+ interface ColorPaletteSelectorProps {
6
+ currentPalette?: string;
7
+ onPaletteChange: (paletteName: string) => void;
8
+ className?: string;
9
+ }
10
+ export default function ColorPaletteSelector({ currentPalette, onPaletteChange, className }: ColorPaletteSelectorProps): import("react").JSX.Element;
11
+ export {};
@@ -0,0 +1,30 @@
1
+ import { default as React } from 'react';
2
+ export interface ConfirmModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ onConfirm: () => void | Promise<void>;
6
+ title?: string;
7
+ message: React.ReactNode;
8
+ confirmText?: string;
9
+ cancelText?: string;
10
+ confirmVariant?: 'danger' | 'primary' | 'warning';
11
+ isLoading?: boolean;
12
+ }
13
+ /**
14
+ * A reusable confirmation modal component.
15
+ *
16
+ * Usage:
17
+ * ```tsx
18
+ * <ConfirmModal
19
+ * isOpen={showConfirm}
20
+ * onClose={() => setShowConfirm(false)}
21
+ * onConfirm={handleDelete}
22
+ * title="Delete Portlet"
23
+ * message="Are you sure you want to delete this portlet? This action cannot be undone."
24
+ * confirmText="Delete"
25
+ * confirmVariant="danger"
26
+ * />
27
+ * ```
28
+ */
29
+ declare const ConfirmModal: React.FC<ConfirmModalProps>;
30
+ export default ConfirmModal;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ interface DashboardEditModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ onSave: (data: {
6
+ name: string;
7
+ description?: string;
8
+ }) => Promise<void> | void;
9
+ title: string;
10
+ submitText: string;
11
+ initialName?: string;
12
+ initialDescription?: string;
13
+ }
14
+ export default function DashboardEditModal({ isOpen, onClose, onSave, title, submitText, initialName, initialDescription }: DashboardEditModalProps): React.JSX.Element;
15
+ export {};
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { DashboardFilter, CubeMeta, DashboardConfig } from '../types.js';
3
+ interface DashboardFilterPanelProps {
4
+ dashboardFilters: DashboardFilter[];
5
+ editable: boolean;
6
+ schema: CubeMeta | null;
7
+ dashboardConfig: DashboardConfig;
8
+ onDashboardFiltersChange: (filters: DashboardFilter[]) => void;
9
+ onSaveFilters?: (filters: DashboardFilter[]) => void | Promise<void>;
10
+ selectedFilterId?: string | null;
11
+ onFilterSelect?: (filterId: string) => void;
12
+ isEditMode?: boolean;
13
+ }
14
+ declare const DashboardFilterPanel: React.FC<DashboardFilterPanelProps>;
15
+ export default DashboardFilterPanel;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { DashboardFilter, CubeMeta } from '../../types.js';
3
+ interface CompactFilterBarProps {
4
+ dashboardFilters: DashboardFilter[];
5
+ schema: CubeMeta | null;
6
+ isEditMode: boolean;
7
+ onDashboardFiltersChange: (filters: DashboardFilter[]) => void;
8
+ onAddFilter?: () => void;
9
+ onEditFilter?: (filterId: string) => void;
10
+ onRemoveFilter?: (filterId: string) => void;
11
+ }
12
+ declare const CompactFilterBar: React.FC<CompactFilterBarProps>;
13
+ export default CompactFilterBar;
@@ -0,0 +1,26 @@
1
+ import { RefObject } from 'react';
2
+ import { DashboardFilter, CubeMeta } from '../../types.js';
3
+ export interface CompactFilterBarViewProps {
4
+ schema: CubeMeta | null;
5
+ isEditMode: boolean;
6
+ onAddFilter?: () => void;
7
+ onEditFilter?: (filterId: string) => void;
8
+ onRemoveFilter?: (filterId: string) => void;
9
+ currentDateRange: string | string[] | null;
10
+ activePresetId: string | null;
11
+ activeXTDId: string | null;
12
+ nonDateFilters: DashboardFilter[];
13
+ dateRangeTooltip: string | null;
14
+ showCustomDropdown: boolean;
15
+ setShowCustomDropdown: (next: boolean) => void;
16
+ showXTDDropdown: boolean;
17
+ setShowXTDDropdown: (next: boolean) => void;
18
+ customButtonRef: RefObject<HTMLButtonElement>;
19
+ xtdButtonRef: RefObject<HTMLButtonElement>;
20
+ handlePresetSelect: (presetValue: string) => void;
21
+ handleXTDSelect: (xtdValue: string) => void;
22
+ handleCustomDateSelect: (dateRange: string | string[]) => void;
23
+ handleFilterChange: (filterId: string, updatedFilter: DashboardFilter) => void;
24
+ }
25
+ export declare function DesktopLayout(props: CompactFilterBarViewProps): import("react").JSX.Element;
26
+ export declare function MobileLayout(props: CompactFilterBarViewProps): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ interface CustomDateDropdownProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ onDateRangeChange: (dateRange: string | string[]) => void;
6
+ currentDateRange?: string | string[];
7
+ anchorRef: React.RefObject<HTMLElement>;
8
+ }
9
+ declare const CustomDateDropdown: React.FC<CustomDateDropdownProps>;
10
+ export default CustomDateDropdown;
@@ -0,0 +1,20 @@
1
+ import { DashboardFilter } from '../../types.js';
2
+ import { MetaResponse } from '../../shared/types.js';
3
+ interface DashboardFilterConfigModalProps {
4
+ /** The dashboard filter being edited */
5
+ filter: DashboardFilter;
6
+ /** Full schema (unfiltered) */
7
+ fullSchema: MetaResponse | null;
8
+ /** Filtered schema (dashboard fields only) */
9
+ filteredSchema: MetaResponse | null;
10
+ /** Whether the modal is open */
11
+ isOpen: boolean;
12
+ /** Callback when user saves changes */
13
+ onSave: (filter: DashboardFilter) => void;
14
+ /** Callback when user deletes the filter */
15
+ onDelete: () => void;
16
+ /** Callback when user closes/cancels */
17
+ onClose: () => void;
18
+ }
19
+ export default function DashboardFilterConfigModal({ filter: initialFilter, fullSchema, filteredSchema, isOpen, onSave, onDelete, onClose }: DashboardFilterConfigModalProps): import("react").JSX.Element | null;
20
+ export {};
@@ -0,0 +1,27 @@
1
+ import { MetaResponse } from '../../shared/types.js';
2
+ import { SimpleFilter, FilterOperator } from '../../types.js';
3
+ interface FieldSelectionSectionProps {
4
+ localFilter: SimpleFilter;
5
+ activeSchema: MetaResponse | null;
6
+ isTimeField: boolean;
7
+ isMeasureField: boolean;
8
+ showAllFields: boolean;
9
+ setShowAllFields: (next: boolean) => void;
10
+ setShowFieldSearch: (next: boolean) => void;
11
+ }
12
+ export declare function FieldSelectionSection({ localFilter, activeSchema, isTimeField, isMeasureField, showAllFields, setShowAllFields, setShowFieldSearch }: FieldSelectionSectionProps): import("react").JSX.Element;
13
+ interface OperatorSectionProps {
14
+ localFilter: SimpleFilter;
15
+ operatorLabel: string;
16
+ availableOperators: {
17
+ operator: string;
18
+ label: string;
19
+ }[];
20
+ isOperatorDropdownOpen: boolean;
21
+ setIsOperatorDropdownOpen: (next: boolean) => void;
22
+ setIsValueDropdownOpen: (next: boolean) => void;
23
+ setIsDateRangeDropdownOpen: (next: boolean) => void;
24
+ handleOperatorChange: (operator: FilterOperator) => void;
25
+ }
26
+ export declare function OperatorSection({ localFilter, operatorLabel, availableOperators, isOperatorDropdownOpen, setIsOperatorDropdownOpen, setIsValueDropdownOpen, setIsDateRangeDropdownOpen, handleOperatorChange }: OperatorSectionProps): import("react").JSX.Element;
27
+ export {};
@@ -0,0 +1,14 @@
1
+ import { DashboardFilter } from '../../types.js';
2
+ import { MetaResponse } from '../../shared/types.js';
3
+ interface DashboardFilterItemProps {
4
+ /** The dashboard filter to display */
5
+ filter: DashboardFilter;
6
+ /** Schema for field metadata */
7
+ schema: MetaResponse | null;
8
+ /** Callback when filter chip is clicked (opens edit modal) */
9
+ onClick: () => void;
10
+ /** Callback to remove this filter */
11
+ onRemove: () => void;
12
+ }
13
+ export default function DashboardFilterItem({ filter, schema, onClick, onRemove }: DashboardFilterItemProps): import("react").JSX.Element;
14
+ export {};