drizzle-cube 0.12.1 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/ActivityGridChart.config-D14_z5sv.js +1 -0
- package/dist/adapters/ActivityGridChart.config-ufhph9uT.cjs +1 -0
- package/dist/adapters/AreaChart.config-0WZQMQva.js +1 -0
- package/dist/adapters/AreaChart.config-D13ltksm.cjs +1 -0
- package/dist/adapters/BarChart.config-CKW_EixK.cjs +1 -0
- package/dist/adapters/BarChart.config-Dap2k5h9.js +1 -0
- package/dist/adapters/BoxPlotChart.config-BL9GycIS.js +1 -0
- package/dist/adapters/BoxPlotChart.config-D8ijk7P0.cjs +1 -0
- package/dist/adapters/BubbleChart.config-B5mdZpOU.js +1 -0
- package/dist/adapters/BubbleChart.config-D_F6Q5z3.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-DWebnARH.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-U_bjkKnh.js +1 -0
- package/dist/adapters/DataTable.config-CgONV9qM.cjs +1 -0
- package/dist/adapters/DataTable.config-Cuagfjxg.js +1 -0
- package/dist/adapters/DotStripChart.config-B5lxjWSO.js +1 -0
- package/dist/adapters/DotStripChart.config-fD9Mc6W1.cjs +1 -0
- package/dist/adapters/FunnelChart.config-BaE_hLT-.js +1 -0
- package/dist/adapters/FunnelChart.config-Cx7W7-R0.cjs +1 -0
- package/dist/adapters/GaugeChart.config-CgKuBQVo.cjs +1 -0
- package/dist/adapters/GaugeChart.config-ilNlLLj6.js +1 -0
- package/dist/adapters/HeatMapChart.config-Bbk6aa8K.js +1 -0
- package/dist/adapters/HeatMapChart.config-CURg_iiu.cjs +1 -0
- package/dist/adapters/KpiDelta.config-CuZ2C_6t.js +1 -0
- package/dist/adapters/KpiDelta.config-DRy870xF.cjs +1 -0
- package/dist/adapters/KpiNumber.config-BWowvaBG.cjs +1 -0
- package/dist/adapters/KpiNumber.config-h9VspPBo.js +1 -0
- package/dist/adapters/KpiText.config-CXouHoxx.js +1 -0
- package/dist/adapters/KpiText.config-dSbcOdVW.cjs +1 -0
- package/dist/adapters/LineChart.config-BrcTc3dO.cjs +1 -0
- package/dist/adapters/LineChart.config-DOZctkmK.js +1 -0
- package/dist/adapters/MarkdownChart.config-BduAIK5N.js +1 -0
- package/dist/adapters/MarkdownChart.config-CFnH92Fg.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-BgdtMIbZ.js +1 -0
- package/dist/adapters/MeasureProfileChart.config-CUahwnse.cjs +1 -0
- package/dist/adapters/PieChart.config-Bwf8meCN.js +1 -0
- package/dist/adapters/PieChart.config-ClfJ6LyA.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-CKyen5fP.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-D7RADfKH.js +1 -0
- package/dist/adapters/RadarChart.config-CBR7pNrt.js +1 -0
- package/dist/adapters/RadarChart.config-DSLRklgx.cjs +1 -0
- package/dist/adapters/RadialBarChart.config-BTGjY6JD.js +1 -0
- package/dist/adapters/RadialBarChart.config-CPbimqdg.cjs +1 -0
- package/dist/adapters/RecordsTable.config-B1Z_3JTJ.js +1 -0
- package/dist/adapters/RecordsTable.config-C6QhLcZk.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-BkSezvSb.js +1 -0
- package/dist/adapters/RetentionCombinedChart.config-R1Eq-xRI.cjs +1 -0
- package/dist/adapters/RetentionHeatmap.config-BlUhtL5W.js +1 -0
- package/dist/adapters/RetentionHeatmap.config-DCIsToqo.cjs +1 -0
- package/dist/adapters/SankeyChart.config-Bt0F2A6e.js +1 -0
- package/dist/adapters/SankeyChart.config-_Z5ZrziF.cjs +1 -0
- package/dist/adapters/ScatterChart.config-BW0_kSo8.cjs +1 -0
- package/dist/adapters/ScatterChart.config-DCaM-v68.js +1 -0
- package/dist/adapters/SunburstChart.config-B8Q9pbbo.js +1 -0
- package/dist/adapters/SunburstChart.config-mhQZB6uc.cjs +1 -0
- package/dist/adapters/TreeMapChart.config-Ch--bdyv.js +1 -0
- package/dist/adapters/TreeMapChart.config-DaNlt1aC.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CR49XWjE.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-qHaD0m4H.js +1 -0
- package/dist/adapters/core/cache-options.d.ts +4 -0
- package/dist/adapters/core/index.cjs +1 -1
- package/dist/adapters/core/index.js +1 -1
- package/dist/adapters/core-3nDM2f7O.cjs +1 -0
- package/dist/adapters/{core-D_0Wmhej.js → core-CD6SqK5q.js} +66 -58
- package/dist/adapters/{compiler-DqaN3YtE.js → cors-headers-DYYDrG7S.js} +129 -110
- package/dist/adapters/{compiler-DEvbReTk.cjs → cors-headers-DxkPVNnZ.cjs} +4 -4
- package/dist/adapters/cors-headers.d.ts +19 -0
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +13 -13
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +13 -13
- package/dist/adapters/{handler-HVRtFpEZ.js → handler-B_vsFWWm.js} +32 -32
- package/dist/adapters/{handler-XmEDxQUt.cjs → handler-DSOaXFuV.cjs} +3 -3
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +12 -12
- package/dist/adapters/locale.d.ts +0 -1
- package/dist/adapters/mcp-app-html-DkiIh0rL.cjs +1 -0
- package/dist/adapters/mcp-app-html-DwnysAEL.js +5 -0
- package/dist/adapters/mcp-app-html.cjs +1 -1
- package/dist/adapters/mcp-app-html.js +1 -1
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +3 -3
- package/dist/adapters/{mcp-transport-B8cN4YvW.cjs → mcp-transport-7zszPPXk.cjs} +1 -1
- package/dist/adapters/{mcp-transport-DhFjuVsC.js → mcp-transport-DVI1lCNM.js} +1 -1
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +20 -20
- package/dist/adapters/{openai-BdF9UwVL.js → openai-Bdnnw3Ok.js} +1 -1
- package/dist/adapters/{openai-BuGJh2CT.cjs → openai-CE52anhW.cjs} +1 -1
- package/dist/adapters/{openai-D_3NG0fv.js → openai-DA9yrRkA.js} +1 -1
- package/dist/adapters/{openai-knSlM5V3.cjs → openai-JLaT_FPt.cjs} +1 -1
- package/dist/adapters/{utils-CS4TBdT1.js → utils-BtiRfbcX.js} +29 -2
- package/dist/adapters/utils-OLv25-nn.cjs +141 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +5 -10
- package/dist/adapters/utils.js +1 -1
- package/dist/cjs/adapters/core/cache-options.d.ts +4 -0
- package/dist/cjs/adapters/cors-headers.d.ts +19 -0
- package/dist/cjs/adapters/locale.d.ts +0 -1
- package/dist/cjs/adapters/utils.d.ts +5 -10
- package/dist/cjs/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/cjs/client/client/BatchCoordinator.d.ts +21 -6
- package/dist/cjs/client/client/CubeClient.d.ts +34 -8
- package/dist/cjs/client/client/maxAge.d.ts +84 -0
- package/dist/cjs/client/client/subscription.d.ts +30 -0
- package/dist/cjs/client/components/AnalyticsDashboard.d.ts +1 -1
- package/dist/cjs/client/components/DashboardFilterPanel.d.ts +3 -2
- package/dist/cjs/client/components/DashboardFilters/CompactFilterBar.d.ts +3 -1
- package/dist/cjs/client/components/DashboardFilters/CompactFilterBarParts.d.ts +4 -0
- package/dist/cjs/client/components/DashboardFilters/DatePresetChips.d.ts +1 -0
- package/dist/cjs/client/components/DashboardFilters/FilterChip.d.ts +2 -0
- package/dist/cjs/client/components/DashboardFilters/FilterValuePopover.d.ts +1 -1
- package/dist/cjs/client/components/DashboardFilters/useCompactFilterBar.d.ts +3 -2
- package/dist/cjs/client/components/DashboardGrid.d.ts +8 -1
- package/dist/cjs/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/cjs/client/components/FloatingEditToolbar.d.ts +5 -1
- package/dist/cjs/client/components/MobileStackedLayout.d.ts +8 -2
- package/dist/cjs/client/components/PortletAnalysisModal.d.ts +4 -2
- package/dist/cjs/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +4 -2
- package/dist/cjs/client/components/analyticsPortlet/usePortletQueryResults.d.ts +15 -5
- package/dist/cjs/client/components/analyticsPortlet/usePortletVisibility.d.ts +23 -0
- package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +27 -6
- package/dist/cjs/client/components/dashboard/DashboardCoordinator.d.ts +1 -1
- package/dist/cjs/client/components/dashboard/DashboardEditBar.d.ts +1 -1
- package/dist/cjs/client/components/dashboard/DashboardRefreshSelector.d.ts +12 -0
- package/dist/cjs/client/components/dashboard/DashboardToolbar.d.ts +2 -1
- package/dist/cjs/client/components/dashboard/RefreshPauseToggle.d.ts +8 -0
- package/dist/cjs/client/components/dashboardPortletCard/DataFreshnessIndicator.d.ts +19 -0
- package/dist/cjs/client/components/dashboardPortletCard/PortletCardHeader.d.ts +13 -3
- package/dist/cjs/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +2 -3
- package/dist/cjs/client/components/dashboardPortletCard/propsEqual.d.ts +7 -4
- package/dist/cjs/client/components/portletAnalysisModal/RefreshSettings.d.ts +24 -0
- package/dist/cjs/client/hooks/dashboard/useDashboardController.d.ts +6 -10
- package/dist/cjs/client/hooks/dashboard/useDashboardRefreshTimer.d.ts +28 -0
- package/dist/cjs/client/hooks/queries/useCubeLoadQuery.d.ts +28 -6
- package/dist/cjs/client/hooks/queries/useFlowQuery.d.ts +6 -3
- package/dist/cjs/client/hooks/queries/useMultiCubeLoadQuery.d.ts +15 -4
- package/dist/cjs/client/hooks/queries/useRetentionQuery.d.ts +7 -4
- package/dist/cjs/client/hooks/queries/useShownRowsAge.d.ts +10 -0
- package/dist/cjs/client/hooks/useAnalysisBuilderHook.d.ts +2 -3
- package/dist/cjs/client/hooks/useAnalysisEffects.d.ts +2 -0
- package/dist/cjs/client/hooks/useAnalysisQuery.d.ts +2 -3
- package/dist/cjs/client/hooks/useDashboardFilters.d.ts +7 -0
- package/dist/cjs/client/hooks/useDashboardHook.d.ts +7 -10
- package/dist/cjs/client/icons/types.d.ts +2 -0
- package/dist/cjs/client/index.d.ts +3 -1
- package/dist/cjs/client/shared/chartDefaults.d.ts +5 -3
- package/dist/cjs/client/shared/pendingChanges.d.ts +12 -0
- package/dist/cjs/client/stores/dashboardStore.d.ts +13 -0
- package/dist/cjs/client/types/funnel.d.ts +10 -4
- package/dist/cjs/client/types.d.ts +77 -3
- package/dist/cjs/client/utils/freshness.d.ts +37 -0
- package/dist/cjs/client/utils/multiQueryUtils.d.ts +23 -0
- package/dist/cjs/server/compiler.d.ts +2 -0
- package/dist/cjs/server/execution/query-result-cache.d.ts +8 -2
- package/dist/cjs/server/executor.d.ts +1 -0
- package/dist/cjs/server/physical-plan/processors/shared.d.ts +2 -0
- package/dist/cjs/server/types/core.d.ts +12 -1
- package/dist/cjs/server/types/cube.d.ts +7 -0
- package/dist/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/client/charts.js +13 -13
- package/dist/client/chunks/{DashboardEditModal-BnuKUeO4.js → DashboardEditModal-F2fGr29d.js} +3716 -3237
- package/dist/client/chunks/DashboardEditModal-F2fGr29d.js.map +1 -0
- package/dist/client/chunks/{DotStripChart-Cx9sKTGQ.js → DotStripChart-CQaJwo8K.js} +3 -3
- package/dist/client/chunks/{DotStripChart-Cx9sKTGQ.js.map → DotStripChart-CQaJwo8K.js.map} +1 -1
- package/dist/client/chunks/{ProportionBarChart-DpbPIrvi.js → ProportionBarChart-DiA5ZGeg.js} +3 -3
- package/dist/client/chunks/{ProportionBarChart-DpbPIrvi.js.map → ProportionBarChart-DiA5ZGeg.js.map} +1 -1
- package/dist/client/chunks/{RecordsTable-BOuaKB4P.js → RecordsTable-Bgqo-LjT.js} +166 -166
- package/dist/client/chunks/RecordsTable-Bgqo-LjT.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-ZmHsRUvi.js → RetentionCombinedChart-BtMRtwlb.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-ZmHsRUvi.js.map → RetentionCombinedChart-BtMRtwlb.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-D0JuLo7z.js → RetentionHeatmap-ChTa35gp.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-D0JuLo7z.js.map → RetentionHeatmap-ChTa35gp.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-BOixrevS.js → analysis-builder-CnmkTZm2.js} +831 -845
- package/dist/client/chunks/analysis-builder-CnmkTZm2.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-jP6CddjM.js → analysis-builder-shared-BsjxOL7r.js} +809 -803
- package/dist/client/chunks/analysis-builder-shared-BsjxOL7r.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-DsNm6fyo.js → chart-activity-grid-DeDPSs12.js} +28 -2
- package/dist/client/chunks/{chart-activity-grid-DsNm6fyo.js.map → chart-activity-grid-DeDPSs12.js.map} +1 -1
- package/dist/client/chunks/{chart-area-a_KELq6t.js → chart-area-WyrVYze7.js} +2 -2
- package/dist/client/chunks/{chart-area-a_KELq6t.js.map → chart-area-WyrVYze7.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-WVxq1S5Z.js → chart-bar-wGHC1Hfo.js} +3 -3
- package/dist/client/chunks/{chart-bar-WVxq1S5Z.js.map → chart-bar-wGHC1Hfo.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-LQVRkeTO.js → chart-box-plot-CW5GZHM9.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-LQVRkeTO.js.map → chart-box-plot-CW5GZHM9.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-CylNA0iN.js → chart-bubble-CKkVi7L2.js} +2 -2
- package/dist/client/chunks/{chart-bubble-CylNA0iN.js.map → chart-bubble-CKkVi7L2.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-D8iqjo3k.js → chart-candlestick-BPFeay7t.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-D8iqjo3k.js.map → chart-candlestick-BPFeay7t.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-OT0wqqH1.js → chart-data-table-uJG1V-be.js} +1133 -854
- package/dist/client/chunks/chart-data-table-uJG1V-be.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-D1LrMOYp.js → chart-funnel-BtUexI1t.js} +2 -2
- package/dist/client/chunks/{chart-funnel-D1LrMOYp.js.map → chart-funnel-BtUexI1t.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-DhxMq9zr.js → chart-gauge-BSrfZFsW.js} +3 -3
- package/dist/client/chunks/{chart-gauge-DhxMq9zr.js.map → chart-gauge-BSrfZFsW.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-BEs4Oltn.js → chart-heat-map-DtMtuFnw.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-BEs4Oltn.js.map → chart-heat-map-DtMtuFnw.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-7qRGTeBe.js → chart-kpi-delta-B0BkN_Q6.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-7qRGTeBe.js.map → chart-kpi-delta-B0BkN_Q6.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-DU1Rh4qF.js → chart-kpi-number-zlBkLesi.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-DU1Rh4qF.js.map → chart-kpi-number-zlBkLesi.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-FzAamcUq.js → chart-kpi-text-BXXfkhz_.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-FzAamcUq.js.map → chart-kpi-text-BXXfkhz_.js.map} +1 -1
- package/dist/client/chunks/{chart-line-RHy9KjtO.js → chart-line-D_yFQDze.js} +3 -3
- package/dist/client/chunks/{chart-line-RHy9KjtO.js.map → chart-line-D_yFQDze.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-C_Of-_ge.js → chart-markdown-DaBTpRgf.js} +2 -2
- package/dist/client/chunks/{chart-markdown-C_Of-_ge.js.map → chart-markdown-DaBTpRgf.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-B_5nRlFw.js → chart-measure-profile-DOHIm-QY.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-B_5nRlFw.js.map → chart-measure-profile-DOHIm-QY.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-BndFTpDb.js → chart-pie-DLrT81CL.js} +3 -3
- package/dist/client/chunks/{chart-pie-BndFTpDb.js.map → chart-pie-DLrT81CL.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-CEl8JqEM.js → chart-radar-CcXG6k6o.js} +3 -3
- package/dist/client/chunks/{chart-radar-CEl8JqEM.js.map → chart-radar-CcXG6k6o.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-BoVduM6q.js → chart-radial-bar-DYn5FLrG.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-BoVduM6q.js.map → chart-radial-bar-DYn5FLrG.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-OrhsKWge.js → chart-sankey-CWkctg-k.js} +2 -2
- package/dist/client/chunks/{chart-sankey-OrhsKWge.js.map → chart-sankey-CWkctg-k.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-Sl-hTrDW.js → chart-scatter-CCGL2IEP.js} +3 -3
- package/dist/client/chunks/{chart-scatter-Sl-hTrDW.js.map → chart-scatter-CCGL2IEP.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-ShjUy6Zz.js → chart-sunburst-9sgiHFSO.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-ShjUy6Zz.js.map → chart-sunburst-9sgiHFSO.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DoxyxdD2.js → chart-tree-map-DOWeXCn_.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-DoxyxdD2.js.map → chart-tree-map-DOWeXCn_.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-DWLPBbXk.js → chart-waterfall-BS7x0dW-.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-DWLPBbXk.js.map → chart-waterfall-BS7x0dW-.js.map} +1 -1
- package/dist/client/chunks/{charts-core-DbyNKYNK.js → charts-core-DM-Eav_9.js} +2 -2
- package/dist/client/chunks/{charts-core-DbyNKYNK.js.map → charts-core-DM-Eav_9.js.map} +1 -1
- package/dist/client/chunks/charts-loader-3N-LqjLk.js +87 -0
- package/dist/client/chunks/{charts-loader-DEIGUdUM.js.map → charts-loader-3N-LqjLk.js.map} +1 -1
- package/dist/client/chunks/{dashboardExport-Cy5OOMpb.js → dashboardExport-ZiT4DcDZ.js} +143 -121
- package/dist/client/chunks/dashboardExport-ZiT4DcDZ.js.map +1 -0
- package/dist/client/chunks/{gapFilling-DKBRHcQL.js → gapFilling-C-A4o8Cl.js} +2 -1
- package/dist/client/chunks/{gapFilling-DKBRHcQL.js.map → gapFilling-C-A4o8Cl.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-Dwf-Sv3i.js → nl-NL-CKfZudeP.js} +27 -1
- package/dist/client/chunks/{nl-NL-Dwf-Sv3i.js.map → nl-NL-CKfZudeP.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-D8Ak7GUd.js → schema-visualization-BO70spCF.js} +3 -3
- package/dist/client/chunks/{schema-visualization-D8Ak7GUd.js.map → schema-visualization-BO70spCF.js.map} +1 -1
- package/dist/client/chunks/useDirtyStateTracking-OVW-JnrF.js +1086 -0
- package/dist/client/chunks/useDirtyStateTracking-OVW-JnrF.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-C73X4MkX.js → useExplainAI-BrjlR24K.js} +25 -25
- package/dist/client/chunks/{useExplainAI-C73X4MkX.js.map → useExplainAI-BrjlR24K.js.map} +1 -1
- package/dist/client/chunks/{vendor-C_TrpV9I.js → vendor-Das3qwov.js} +188 -188
- package/dist/client/chunks/vendor-Das3qwov.js.map +1 -0
- package/dist/client/client/BatchCoordinator.d.ts +21 -6
- package/dist/client/client/CubeClient.d.ts +34 -8
- package/dist/client/client/maxAge.d.ts +84 -0
- package/dist/client/client/subscription.d.ts +30 -0
- package/dist/client/components/AnalyticsDashboard.d.ts +1 -1
- package/dist/client/components/DashboardFilterPanel.d.ts +3 -2
- package/dist/client/components/DashboardFilters/CompactFilterBar.d.ts +3 -1
- package/dist/client/components/DashboardFilters/CompactFilterBarParts.d.ts +4 -0
- package/dist/client/components/DashboardFilters/DatePresetChips.d.ts +1 -0
- package/dist/client/components/DashboardFilters/FilterChip.d.ts +2 -0
- package/dist/client/components/DashboardFilters/FilterValuePopover.d.ts +1 -1
- package/dist/client/components/DashboardFilters/useCompactFilterBar.d.ts +3 -2
- package/dist/client/components/DashboardGrid.d.ts +8 -1
- package/dist/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/client/components/FloatingEditToolbar.d.ts +5 -1
- package/dist/client/components/MobileStackedLayout.d.ts +8 -2
- package/dist/client/components/PortletAnalysisModal.d.ts +4 -2
- package/dist/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +4 -2
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +15 -5
- package/dist/client/components/analyticsPortlet/usePortletVisibility.d.ts +23 -0
- package/dist/client/components/dashboard/DashboardContext.d.ts +27 -6
- package/dist/client/components/dashboard/DashboardCoordinator.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardEditBar.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardRefreshSelector.d.ts +12 -0
- package/dist/client/components/dashboard/DashboardToolbar.d.ts +2 -1
- package/dist/client/components/dashboard/RefreshPauseToggle.d.ts +8 -0
- package/dist/client/components/dashboardPortletCard/DataFreshnessIndicator.d.ts +19 -0
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +13 -3
- package/dist/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +2 -3
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +7 -4
- package/dist/client/components/portletAnalysisModal/RefreshSettings.d.ts +24 -0
- package/dist/client/components.js +1 -1
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +6 -10
- package/dist/client/hooks/dashboard/useDashboardRefreshTimer.d.ts +28 -0
- package/dist/client/hooks/queries/useCubeLoadQuery.d.ts +28 -6
- package/dist/client/hooks/queries/useFlowQuery.d.ts +6 -3
- package/dist/client/hooks/queries/useMultiCubeLoadQuery.d.ts +15 -4
- package/dist/client/hooks/queries/useRetentionQuery.d.ts +7 -4
- package/dist/client/hooks/queries/useShownRowsAge.d.ts +10 -0
- package/dist/client/hooks/useAnalysisBuilderHook.d.ts +2 -3
- package/dist/client/hooks/useAnalysisEffects.d.ts +2 -0
- package/dist/client/hooks/useAnalysisQuery.d.ts +2 -3
- package/dist/client/hooks/useDashboardFilters.d.ts +7 -0
- package/dist/client/hooks/useDashboardHook.d.ts +7 -10
- package/dist/client/hooks.js +4 -4
- package/dist/client/icons/types.d.ts +2 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +265 -265
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers.js +3 -3
- package/dist/client/schema.js +1 -1
- package/dist/client/shared/chartDefaults.d.ts +5 -3
- package/dist/client/shared/pendingChanges.d.ts +12 -0
- package/dist/client/stores/dashboardStore.d.ts +13 -0
- package/dist/client/types/funnel.d.ts +10 -4
- package/dist/client/types.d.ts +77 -3
- package/dist/client/utils/freshness.d.ts +37 -0
- package/dist/client/utils/multiQueryUtils.d.ts +23 -0
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +100 -100
- package/dist/server/compiler.d.ts +2 -0
- package/dist/server/execution/query-result-cache.d.ts +8 -2
- package/dist/server/executor.d.ts +1 -0
- package/dist/server/index.cjs +42 -42
- package/dist/server/index.js +1263 -1229
- package/dist/server/physical-plan/processors/shared.d.ts +2 -0
- package/dist/server/types/core.d.ts +12 -1
- package/dist/server/types/cube.d.ts +7 -0
- package/package.json +1 -1
- package/dist/adapters/ActivityGridChart.config-CPDtUaxW.cjs +0 -1
- package/dist/adapters/ActivityGridChart.config-DiFh1YnV.js +0 -1
- package/dist/adapters/AreaChart.config-BpqqAE80.cjs +0 -1
- package/dist/adapters/AreaChart.config-PtWbm6zf.js +0 -1
- package/dist/adapters/BarChart.config-BuI-bR2P.cjs +0 -1
- package/dist/adapters/BarChart.config-Df-PAP4z.js +0 -1
- package/dist/adapters/BoxPlotChart.config-BRKdy7Ns.js +0 -1
- package/dist/adapters/BoxPlotChart.config-Cp1-j_Ox.cjs +0 -1
- package/dist/adapters/BubbleChart.config-B_K6qEb3.js +0 -1
- package/dist/adapters/BubbleChart.config-DOU4NXqA.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-C-ugFQ7P.js +0 -1
- package/dist/adapters/CandlestickChart.config-CqOWXejK.cjs +0 -1
- package/dist/adapters/DataTable.config-CBqfRrWN.cjs +0 -1
- package/dist/adapters/DataTable.config-tKzdYgrH.js +0 -1
- package/dist/adapters/DotStripChart.config-C7ErrLsf.js +0 -1
- package/dist/adapters/DotStripChart.config-CijSEksh.cjs +0 -1
- package/dist/adapters/FunnelChart.config-CyKO54ax.js +0 -1
- package/dist/adapters/FunnelChart.config-Sfav7sbv.cjs +0 -1
- package/dist/adapters/GaugeChart.config-BFbwYtsw.cjs +0 -1
- package/dist/adapters/GaugeChart.config-D7F3h4pU.js +0 -1
- package/dist/adapters/HeatMapChart.config-BiAmCffs.js +0 -1
- package/dist/adapters/HeatMapChart.config-DSXPzRKX.cjs +0 -1
- package/dist/adapters/KpiDelta.config-bCgUDnXB.cjs +0 -1
- package/dist/adapters/KpiDelta.config-xqLHGIV4.js +0 -1
- package/dist/adapters/KpiNumber.config-BDS_Bbit.cjs +0 -1
- package/dist/adapters/KpiNumber.config-CkJrVos4.js +0 -1
- package/dist/adapters/KpiText.config-BYg0b_F-.cjs +0 -1
- package/dist/adapters/KpiText.config-MDL0Ryfm.js +0 -1
- package/dist/adapters/LineChart.config-CkutnuLC.js +0 -1
- package/dist/adapters/LineChart.config-DHaH4EGn.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-BLMG3J1J.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-D6I1ssv4.js +0 -1
- package/dist/adapters/MeasureProfileChart.config-BqUMPDvt.cjs +0 -1
- package/dist/adapters/MeasureProfileChart.config-Do3M_Ysz.js +0 -1
- package/dist/adapters/PieChart.config-BbTDULWi.cjs +0 -1
- package/dist/adapters/PieChart.config-DQOY9v4X.js +0 -1
- package/dist/adapters/ProportionBarChart.config-BIEsty_Q.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-DdIXVNEC.js +0 -1
- package/dist/adapters/RadarChart.config-Kzg1gdEV.cjs +0 -1
- package/dist/adapters/RadarChart.config-uDhtdEst.js +0 -1
- package/dist/adapters/RadialBarChart.config-DA6a3VHY.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-SgiiAoQe.js +0 -1
- package/dist/adapters/RecordsTable.config-B4PKTt98.js +0 -1
- package/dist/adapters/RecordsTable.config-o3BpbfZh.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-Di74WX5H.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-DsxKAoop.js +0 -1
- package/dist/adapters/RetentionHeatmap.config-DYQ0KjYo.js +0 -1
- package/dist/adapters/RetentionHeatmap.config-GapsTJoA.cjs +0 -1
- package/dist/adapters/SankeyChart.config-Bm_zLd32.cjs +0 -1
- package/dist/adapters/SankeyChart.config-MI4En5Kt.js +0 -1
- package/dist/adapters/ScatterChart.config-DgnPt-Sc.js +0 -1
- package/dist/adapters/ScatterChart.config-yC-WNnvU.cjs +0 -1
- package/dist/adapters/SunburstChart.config-C7RtFfC-.cjs +0 -1
- package/dist/adapters/SunburstChart.config-DKiYK73Z.js +0 -1
- package/dist/adapters/TreeMapChart.config-B2Y1OEQX.js +0 -1
- package/dist/adapters/TreeMapChart.config-bKilQLfd.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-Kk7bCWf1.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-ydLPycYF.js +0 -1
- package/dist/adapters/core-D-wZ8ceW.cjs +0 -1
- package/dist/adapters/mcp-app-html-Cm6V045a.cjs +0 -1
- package/dist/adapters/mcp-app-html-wZEFmwLE.js +0 -5
- package/dist/adapters/utils-DfLEeAJB.cjs +0 -141
- package/dist/client/chunks/DashboardEditModal-BnuKUeO4.js.map +0 -1
- package/dist/client/chunks/RecordsTable-BOuaKB4P.js.map +0 -1
- package/dist/client/chunks/analysis-builder-BOixrevS.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-jP6CddjM.js.map +0 -1
- package/dist/client/chunks/chart-data-table-OT0wqqH1.js.map +0 -1
- package/dist/client/chunks/charts-loader-DEIGUdUM.js +0 -87
- package/dist/client/chunks/dashboardExport-Cy5OOMpb.js.map +0 -1
- package/dist/client/chunks/useDirtyStateTracking-vL8pFTP4.js +0 -1148
- package/dist/client/chunks/useDirtyStateTracking-vL8pFTP4.js.map +0 -1
- package/dist/client/chunks/vendor-C_TrpV9I.js.map +0 -1
|
@@ -34,6 +34,8 @@ export { ScrollContainerProvider, useScrollContainer } from './providers/ScrollC
|
|
|
34
34
|
export { useCubeFieldLabel } from './hooks/useCubeFieldLabel.js';
|
|
35
35
|
export { createCubeClient } from './client/CubeClient.js';
|
|
36
36
|
export { CubeClient, CubeQueryError } from './client/CubeClient.js';
|
|
37
|
+
export type { MaxAgeOptions } from './client/maxAge.js';
|
|
38
|
+
export type { CubeSubscribeCallback, CubeSubscription } from './client/CubeClient.js';
|
|
37
39
|
export { useCubeMetaQuery, useCubeLoadQuery, useCubeQuery, useMultiCubeLoadQuery, useDryRunQuery, useMultiDryRunQueries, useDryRunQueries, useExplainQuery, createExplainQueryKey, useExplainAI, useFunnelQuery, createFunnelQueryKey, useFlowQuery, createFlowQueryKey, } from './hooks/queries/index.js';
|
|
38
40
|
export type { UseCubeMetaQueryOptions, UseCubeMetaQueryResult, UseCubeLoadQueryOptions, UseCubeLoadQueryResult, UseMultiCubeLoadQueryOptions, UseMultiCubeLoadQueryResult, DebugDataEntry, UseExplainQueryOptions, UseExplainQueryResult, UseExplainAIOptions, UseExplainAIResult, UseFlowQueryOptions, UseFlowQueryResult, } from './hooks/queries/index.js';
|
|
39
41
|
export { useAnalysisBuilder } from './hooks/useAnalysisBuilderHook.js';
|
|
@@ -55,7 +57,7 @@ export { useTheme } from './hooks/useTheme.js';
|
|
|
55
57
|
export { useScrollDetection } from './hooks/useScrollDetection.js';
|
|
56
58
|
export { useElementVisibility } from './hooks/useElementVisibility.js';
|
|
57
59
|
export { useDrillInteraction } from './hooks/useDrillInteraction.js';
|
|
58
|
-
export type { PortletConfig, ChartType, BuiltInChartType, ChartAxisConfig, ChartDisplayConfig, ChartProps, ColorPalette, CubeQuery, CubeQueryOptions, CubeApiOptions, CubeValidationIssue, ChartPagination, ColumnFormatConfig, ColumnFormatKind, RowLinkConfig, DashboardConfig, PortletGroup, PortletGroupCell, FeaturesConfig, XlsExportFeatureConfig, ThumbnailFeatureConfig, DashboardImportExportFeatureConfig, DashboardMeta, PortletViewState, PortletExpandPayload, AnalyticsPortletRef, MultiQueryConfig, QueryMergeStrategy, FunnelBindingKey, FunnelBindingKeyMapping, FunnelStep, FunnelConfig, FunnelStepResult, FunnelExecutionResult, FunnelChartData, FunnelValidationError, FunnelValidationResult, UseFunnelQueryOptions, UseFunnelQueryResult, ServerFlowQuery, FlowQueryConfig, FlowChartData, FlowSliceState, SankeyNode, SankeyLink, FlowStartingStep, FlowResultRow, } from './types.js';
|
|
60
|
+
export type { PortletConfig, ChartType, BuiltInChartType, ChartAxisConfig, ChartDisplayConfig, ChartProps, ColorPalette, CubeQuery, CubeQueryOptions, CubeApiOptions, CubeValidationIssue, ChartPagination, ColumnFormatConfig, ColumnFormatKind, RowLinkConfig, DashboardConfig, PortletGroup, PortletGroupCell, FeaturesConfig, XlsExportFeatureConfig, ThumbnailFeatureConfig, DashboardImportExportFeatureConfig, DashboardMeta, RefreshFeatureConfig, PortletRefreshConfig, DashboardRefreshConfig, PortletFreshness, PortletViewState, PortletExpandPayload, AnalyticsPortletRef, MultiQueryConfig, QueryMergeStrategy, FunnelBindingKey, FunnelBindingKeyMapping, FunnelStep, FunnelConfig, FunnelStepResult, FunnelExecutionResult, FunnelChartData, FunnelValidationError, FunnelValidationResult, UseFunnelQueryOptions, UseFunnelQueryResult, ServerFlowQuery, FlowQueryConfig, FlowChartData, FlowSliceState, SankeyNode, SankeyLink, FlowStartingStep, FlowResultRow, } from './types.js';
|
|
59
61
|
export { isQueryConfig, isFunnelConfig, isFlowConfig, isRetentionConfig, isMultiQuery, isSingleQuery, isValidAnalysisConfig, createDefaultQueryConfig, createDefaultFunnelConfig, createDefaultFlowConfig, createDefaultRetentionConfig, createDefaultConfig, isValidAnalysisWorkspace, createDefaultWorkspace } from './types/analysisConfig.js';
|
|
60
62
|
export type { AnalysisConfig, QueryAnalysisConfig, FunnelAnalysisConfig, FlowAnalysisConfig, RetentionAnalysisConfig, AnalysisWorkspace } from './types/analysisConfig.js';
|
|
61
63
|
export { isMultiQueryConfig, isServerFunnelQuery, isServerFlowQuery, isSankeyData } from './types.js';
|
|
@@ -35,12 +35,13 @@ export declare function getAllChartAvailability(metrics: MetricItem[], breakdown
|
|
|
35
35
|
* - Has dimension + measure → bar
|
|
36
36
|
* - Has measures only → bar (or kpiNumber if single measure + no breakdowns)
|
|
37
37
|
* - No fields → keep current
|
|
38
|
+
* 3. Never switch to a type in `hiddenChartTypes` — keep current instead
|
|
38
39
|
*/
|
|
39
|
-
export declare function selectBestChartType(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType): ChartType;
|
|
40
|
+
export declare function selectBestChartType(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType, hiddenChartTypes?: readonly ChartType[]): ChartType;
|
|
40
41
|
/**
|
|
41
42
|
* Get smart default chart configuration based on chart type and selections
|
|
42
43
|
*/
|
|
43
|
-
export declare function getSmartChartDefaults(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType): SmartChartDefaults;
|
|
44
|
+
export declare function getSmartChartDefaults(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType, hiddenChartTypes?: readonly ChartType[]): SmartChartDefaults;
|
|
44
45
|
/**
|
|
45
46
|
* Determine if chart type should be auto-switched based on selections change
|
|
46
47
|
*
|
|
@@ -50,8 +51,9 @@ export declare function getSmartChartDefaults(metrics: MetricItem[], breakdowns:
|
|
|
50
51
|
* @param breakdowns - Current breakdowns selection
|
|
51
52
|
* @param currentChartType - Current chart type
|
|
52
53
|
* @param userManuallySelected - Whether user manually selected the current chart type
|
|
54
|
+
* @param hiddenChartTypes - Chart types the host hid; never recommended
|
|
53
55
|
*/
|
|
54
|
-
export declare function shouldAutoSwitchChartType(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType, userManuallySelected: boolean): ChartType | null;
|
|
56
|
+
export declare function shouldAutoSwitchChartType(metrics: MetricItem[], breakdowns: BreakdownItem[], currentChartType: ChartType, userManuallySelected: boolean, hiddenChartTypes?: readonly ChartType[]): ChartType | null;
|
|
55
57
|
/**
|
|
56
58
|
* Merge existing chart config with smart defaults
|
|
57
59
|
* Only fills in missing or invalid fields, preserves valid existing config
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Keys of changes sent to a host that may still apply them, oldest first. */
|
|
2
|
+
export interface PendingChanges {
|
|
3
|
+
/** Key of the value the host showed when it was last checked. */
|
|
4
|
+
source: string;
|
|
5
|
+
pending: string[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Updates pending changes once the host shows `source`. Showing a pending change
|
|
9
|
+
* acknowledges it and every earlier one. Returns null when the host shows a value
|
|
10
|
+
* it was never sent, or has caught up with `latest`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function settlePendingChanges<T extends PendingChanges>(changes: T, source: string, latest?: string | undefined): T | null;
|
|
@@ -74,6 +74,10 @@ export interface DashboardStoreState {
|
|
|
74
74
|
debugData: Record<string, DebugDataEntry>;
|
|
75
75
|
/** Whether the dashboard has been modified and needs a new thumbnail */
|
|
76
76
|
thumbnailDirty: boolean;
|
|
77
|
+
/** Whether interval refresh is paused for the whole dashboard */
|
|
78
|
+
isRefreshPaused: boolean;
|
|
79
|
+
/** Portlets whose interval refresh the viewer paused */
|
|
80
|
+
pausedPortletIds: string[];
|
|
77
81
|
}
|
|
78
82
|
/**
|
|
79
83
|
* Store actions interface
|
|
@@ -127,6 +131,12 @@ export interface DashboardStoreActions {
|
|
|
127
131
|
clearDebugData: (portletId?: string) => void;
|
|
128
132
|
/** Set thumbnail dirty state (needs new capture) */
|
|
129
133
|
setThumbnailDirty: (dirty: boolean) => void;
|
|
134
|
+
/** Pause or resume interval refresh for the whole dashboard */
|
|
135
|
+
toggleRefreshPaused: () => void;
|
|
136
|
+
/** Pause or resume interval refresh for one portlet */
|
|
137
|
+
togglePortletRefreshPaused: (portletId: string) => void;
|
|
138
|
+
/** Forget pauses of portlets that are not in `portletIds` */
|
|
139
|
+
prunePausedPortletIds: (portletIds: string[]) => void;
|
|
130
140
|
/** Reset store to initial state */
|
|
131
141
|
reset: () => void;
|
|
132
142
|
}
|
|
@@ -304,5 +314,8 @@ export declare const selectAllActions: (state: DashboardStore) => {
|
|
|
304
314
|
setDebugData: (portletId: string, data: DebugDataEntry) => void;
|
|
305
315
|
clearDebugData: (portletId?: string) => void;
|
|
306
316
|
setThumbnailDirty: (dirty: boolean) => void;
|
|
317
|
+
toggleRefreshPaused: () => void;
|
|
318
|
+
togglePortletRefreshPaused: (portletId: string) => void;
|
|
319
|
+
prunePausedPortletIds: (portletIds: string[]) => void;
|
|
307
320
|
reset: () => void;
|
|
308
321
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CubeQuery } from '../types.js';
|
|
2
|
+
import { MaxAgeOptions } from '../client/maxAge.js';
|
|
2
3
|
/**
|
|
3
4
|
* Binding key configuration - the dimension that links funnel steps together.
|
|
4
5
|
* Can be a simple dimension name or cross-cube mapping for multi-cube funnels.
|
|
@@ -185,6 +186,8 @@ export interface FunnelValidationResult {
|
|
|
185
186
|
export interface UseFunnelQueryOptions {
|
|
186
187
|
/** Skip execution */
|
|
187
188
|
skip?: boolean;
|
|
189
|
+
/** Whether the query may fetch; unlike `skip`, false keeps the key and data (default: true) */
|
|
190
|
+
enabled?: boolean;
|
|
188
191
|
/** Debounce delay in milliseconds */
|
|
189
192
|
debounceMs?: number;
|
|
190
193
|
/** Callback when a step completes */
|
|
@@ -227,12 +230,15 @@ export interface UseFunnelQueryResult {
|
|
|
227
230
|
ttlMs: number;
|
|
228
231
|
ttlRemainingMs: number;
|
|
229
232
|
} | null;
|
|
233
|
+
/** When the rows were computed on the server (cache time on a hit, else response time) */
|
|
234
|
+
computedAt?: string | null;
|
|
230
235
|
/** Error if execution failed */
|
|
231
236
|
error: Error | null;
|
|
232
|
-
/**
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
237
|
+
/**
|
|
238
|
+
* Execute the funnel. Pass `{ maxAgeSeconds }` to accept a cached server
|
|
239
|
+
* result at most that old, or `{ bustCache: true }` to bypass caches.
|
|
240
|
+
*/
|
|
241
|
+
execute: (options?: MaxAgeOptions) => Promise<FunnelExecutionResult | null>;
|
|
236
242
|
/** Cancel current execution */
|
|
237
243
|
cancel: () => void;
|
|
238
244
|
/** Reset to initial state */
|
|
@@ -3,6 +3,7 @@ import { ColorPalette } from './utils/colorPalettes.js';
|
|
|
3
3
|
import { FunnelBindingKey } from './types/funnel.js';
|
|
4
4
|
import { FlowChartData } from './types/flow.js';
|
|
5
5
|
import { RetentionChartData } from './types/retention.js';
|
|
6
|
+
import { MaxAgeOptions } from './client/maxAge.js';
|
|
6
7
|
export type TimeGranularity = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
7
8
|
export interface CubeMetaMeasure {
|
|
8
9
|
name: string;
|
|
@@ -257,6 +258,29 @@ export interface ChartDisplayConfig {
|
|
|
257
258
|
showCenterLabel?: boolean;
|
|
258
259
|
showPercentage?: boolean;
|
|
259
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* Interval refresh for one portlet. Overrides the dashboard default. Takes
|
|
263
|
+
* effect only when `features.refresh.enabled` is set.
|
|
264
|
+
*/
|
|
265
|
+
export interface PortletRefreshConfig {
|
|
266
|
+
/**
|
|
267
|
+
* Refetch every this many seconds, accepting a server result at most this old.
|
|
268
|
+
* Unset inherits the dashboard's `intervalSeconds`.
|
|
269
|
+
*/
|
|
270
|
+
intervalSeconds?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Skip refreshes while the browser tab is hidden. Unset inherits the
|
|
273
|
+
* dashboard's `pauseWhenHidden`; `false` overrides it.
|
|
274
|
+
*/
|
|
275
|
+
pauseWhenHidden?: boolean;
|
|
276
|
+
}
|
|
277
|
+
/** Default interval refresh for every portlet on a dashboard. */
|
|
278
|
+
export interface DashboardRefreshConfig {
|
|
279
|
+
/** Refetch every this many seconds unless a portlet sets its own interval. */
|
|
280
|
+
intervalSeconds?: number;
|
|
281
|
+
/** Skip refreshes while the browser tab is hidden. */
|
|
282
|
+
pauseWhenHidden?: boolean;
|
|
283
|
+
}
|
|
260
284
|
export interface PortletConfig {
|
|
261
285
|
id: string;
|
|
262
286
|
title: string;
|
|
@@ -276,6 +300,8 @@ export interface PortletConfig {
|
|
|
276
300
|
displayConfig?: ChartDisplayConfig;
|
|
277
301
|
dashboardFilterMapping?: DashboardFilterMapping;
|
|
278
302
|
eagerLoad?: boolean;
|
|
303
|
+
/** Interval refresh for this portlet (overrides `DashboardConfig.refresh`; needs `features.refresh.enabled`) */
|
|
304
|
+
refresh?: PortletRefreshConfig;
|
|
279
305
|
/** @deprecated Use analysisConfig.analysisType instead */
|
|
280
306
|
analysisType?: AnalysisType;
|
|
281
307
|
/** @deprecated Use analysisConfig for funnel mode */
|
|
@@ -353,6 +379,8 @@ export interface DashboardConfig {
|
|
|
353
379
|
colorPalette?: string;
|
|
354
380
|
filters?: DashboardFilter[];
|
|
355
381
|
eagerLoad?: boolean;
|
|
382
|
+
/** Default interval refresh for every portlet (needs `features.refresh.enabled`) */
|
|
383
|
+
refresh?: DashboardRefreshConfig;
|
|
356
384
|
thumbnailData?: string;
|
|
357
385
|
thumbnailUrl?: string;
|
|
358
386
|
}
|
|
@@ -455,6 +483,7 @@ export declare function isMultiQueryConfig(obj: unknown): obj is MultiQueryConfi
|
|
|
455
483
|
export interface CubeQueryOptions {
|
|
456
484
|
skip?: boolean;
|
|
457
485
|
resetResultSetOnChange?: boolean;
|
|
486
|
+
/** Keep the query current by refetching it every 10 seconds (Cube.js `subscribe`). */
|
|
458
487
|
subscribe?: boolean;
|
|
459
488
|
}
|
|
460
489
|
export interface CubeApiOptions {
|
|
@@ -462,6 +491,12 @@ export interface CubeApiOptions {
|
|
|
462
491
|
token?: string;
|
|
463
492
|
headers?: Record<string, string>;
|
|
464
493
|
credentials?: 'include' | 'omit' | 'same-origin';
|
|
494
|
+
/**
|
|
495
|
+
* Floor, in seconds, for how often `CubeClient.subscribe` refetches. It
|
|
496
|
+
* refetches every 10 seconds unless this is larger. (`useCubeQuery`'s
|
|
497
|
+
* `subscribe` is floored by `features.refresh.minIntervalSeconds` instead.)
|
|
498
|
+
*/
|
|
499
|
+
minSubscribeIntervalSeconds?: number;
|
|
465
500
|
}
|
|
466
501
|
/**
|
|
467
502
|
* An unknown member the server rejected, mirroring the server's
|
|
@@ -486,6 +521,8 @@ export interface CubeResultSet {
|
|
|
486
521
|
ttlMs: number;
|
|
487
522
|
ttlRemainingMs: number;
|
|
488
523
|
} | undefined;
|
|
524
|
+
/** When the server sent the response (ISO string). On a cache hit the rows were computed at `cacheInfo().cachedAt`. */
|
|
525
|
+
lastRefreshTime?(): string | undefined;
|
|
489
526
|
/** Rows the query would return without limit/offset — only when `total: true` was asked for. */
|
|
490
527
|
totalCount?(): number | undefined;
|
|
491
528
|
}
|
|
@@ -497,6 +534,12 @@ export interface AnalyticsPortletProps {
|
|
|
497
534
|
dashboardFilters?: DashboardFilter[];
|
|
498
535
|
dashboardFilterMapping?: DashboardFilterMapping;
|
|
499
536
|
eagerLoad?: boolean;
|
|
537
|
+
/**
|
|
538
|
+
* The portlet refreshes on an interval: while scrolled away its queries are
|
|
539
|
+
* disabled, so ticks only mark them stale and it fetches once back in view.
|
|
540
|
+
* Without it a loaded portlet stays live when scrolled away.
|
|
541
|
+
*/
|
|
542
|
+
hasIntervalRefresh?: boolean;
|
|
500
543
|
isVisible?: boolean;
|
|
501
544
|
height?: string | number;
|
|
502
545
|
title?: string;
|
|
@@ -535,6 +578,15 @@ export interface AnalyticsPortletProps {
|
|
|
535
578
|
activeQuery: any;
|
|
536
579
|
};
|
|
537
580
|
}) => void;
|
|
581
|
+
/** Reports when the portlet's rows were computed and whether it is fetching, on every change. */
|
|
582
|
+
onFreshnessChange?: (freshness: PortletFreshness) => void;
|
|
583
|
+
}
|
|
584
|
+
/** Freshness of a portlet's data, as reported by `AnalyticsPortlet`. */
|
|
585
|
+
export interface PortletFreshness {
|
|
586
|
+
/** When the rows were computed on the server (cache time on a hit, else response time). */
|
|
587
|
+
computedAt?: string;
|
|
588
|
+
/** Whether a fetch is in flight. */
|
|
589
|
+
isFetching: boolean;
|
|
538
590
|
}
|
|
539
591
|
/**
|
|
540
592
|
* Host-owned dashboard record fields the library does not store in DashboardConfig.
|
|
@@ -569,16 +621,27 @@ export interface PortletExpandPayload {
|
|
|
569
621
|
}
|
|
570
622
|
/** Imperative handle of `AnalyticsPortlet`. */
|
|
571
623
|
export interface AnalyticsPortletRef {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
624
|
+
/**
|
|
625
|
+
* Refetch the portlet's data. `maxAgeSeconds` accepts a cached server result
|
|
626
|
+
* at most that old; `bustCache: true` is max-age 0.
|
|
627
|
+
*/
|
|
628
|
+
refresh: (options?: MaxAgeOptions) => void;
|
|
575
629
|
/** Returns the current view state of this chart instance. */
|
|
576
630
|
getViewState: () => PortletViewState;
|
|
577
631
|
}
|
|
578
632
|
export interface AnalyticsDashboardProps {
|
|
633
|
+
/** Remount with a different React key when switching to another dashboard record. */
|
|
579
634
|
config: DashboardConfig;
|
|
580
635
|
editable?: boolean;
|
|
581
636
|
dashboardFilters?: DashboardFilter[];
|
|
637
|
+
/**
|
|
638
|
+
* Requests updated prop overrides only, preserving config filter metadata, with
|
|
639
|
+
* the ID of the filter the viewer changed. Values remain unchanged until the
|
|
640
|
+
* host updates dashboardFilters. Without this callback, prop-owned filters are
|
|
641
|
+
* read-only. Config-only values use onConfigChange, or temporary viewer state
|
|
642
|
+
* when that callback is absent.
|
|
643
|
+
*/
|
|
644
|
+
onDashboardFiltersChange?: (filters: DashboardFilter[], changedFilterId: string) => void;
|
|
582
645
|
loadingComponent?: ReactNode;
|
|
583
646
|
onConfigChange?: (config: DashboardConfig) => void;
|
|
584
647
|
onSave?: (config: DashboardConfig) => Promise<void> | void;
|
|
@@ -667,6 +730,15 @@ export interface DashboardImportExportFeatureConfig {
|
|
|
667
730
|
/** Optional prefix for exported filenames (default: none; the file is named after the dashboard) */
|
|
668
731
|
filenamePrefix?: string;
|
|
669
732
|
}
|
|
733
|
+
/**
|
|
734
|
+
* Opt-in gate for dashboard and portlet interval refresh. Nothing refreshes on
|
|
735
|
+
* an interval unless `enabled` is true, and `manualRefresh` turns it off.
|
|
736
|
+
*/
|
|
737
|
+
export interface RefreshFeatureConfig {
|
|
738
|
+
enabled: boolean;
|
|
739
|
+
/** Floor for every refresh interval, in seconds (default: 5) */
|
|
740
|
+
minIntervalSeconds?: number;
|
|
741
|
+
}
|
|
670
742
|
export interface FeaturesConfig {
|
|
671
743
|
enableAI?: boolean;
|
|
672
744
|
aiEndpoint?: string;
|
|
@@ -685,7 +757,9 @@ export interface FeaturesConfig {
|
|
|
685
757
|
manualRefresh?: boolean;
|
|
686
758
|
xlsExport?: XlsExportFeatureConfig;
|
|
687
759
|
dashboardImportExport?: DashboardImportExportFeatureConfig;
|
|
760
|
+
refresh?: RefreshFeatureConfig;
|
|
688
761
|
portletExpand?: boolean;
|
|
762
|
+
hiddenChartTypes?: ChartType[];
|
|
689
763
|
}
|
|
690
764
|
export interface GridLayout {
|
|
691
765
|
i: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CubeResultSet, DashboardRefreshConfig, FeaturesConfig, PortletRefreshConfig } from '../types.js';
|
|
2
|
+
/** Floor for any refresh interval when `features.refresh.minIntervalSeconds` is not set. */
|
|
3
|
+
export declare const DEFAULT_MIN_REFRESH_INTERVAL_SECONDS = 5;
|
|
4
|
+
/** A portlet's resolved refresh settings. */
|
|
5
|
+
export interface EffectiveRefresh {
|
|
6
|
+
intervalSeconds: number;
|
|
7
|
+
pauseWhenHidden: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** Whether interval refresh is switched on for dashboards (the opt-in gate). */
|
|
10
|
+
export declare function isRefreshFeatureEnabled(features: FeaturesConfig): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* A portlet's effective refresh: its own setting overrides the dashboard
|
|
13
|
+
* default, and the interval is floored by `minIntervalSeconds`. Undefined when
|
|
14
|
+
* the feature is off, `manualRefresh` is on, or no interval applies.
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveEffectiveRefresh(portletRefresh: PortletRefreshConfig | undefined, dashboardRefresh: DashboardRefreshConfig | undefined, features: FeaturesConfig): EffectiveRefresh | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* When a result's rows were computed: the cache's computed time on a hit,
|
|
19
|
+
* otherwise the server's response time.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resultSetComputedAt(resultSet: CubeResultSet | null | undefined): string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* How old a result's rows were when the server sent them: its response time
|
|
24
|
+
* minus the cache's computed time, both on the server's clock, as in the
|
|
25
|
+
* server's own max-age check. 0 for a fresh execution.
|
|
26
|
+
*/
|
|
27
|
+
export declare function resultSetServedAgeMs(resultSet: CubeResultSet | null | undefined): number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The age of rows a query shows now: their age when served plus the time
|
|
30
|
+
* since they arrived (`receivedAtMs`, TanStack's `dataUpdatedAt`). Mixing no
|
|
31
|
+
* server and browser times keeps clock skew out.
|
|
32
|
+
*/
|
|
33
|
+
export declare function shownRowsAgeMs(servedAgeMs: number | undefined, receivedAtMs: number, nowMs?: number): number | undefined;
|
|
34
|
+
/** Stale: the rows are older than two refresh intervals. */
|
|
35
|
+
export declare function isComputedAtStale(computedAt: string | undefined, intervalSeconds: number | undefined, nowMs: number): boolean;
|
|
36
|
+
/** The oldest of several computed-at times (a multi-query portlet is as old as its oldest result). */
|
|
37
|
+
export declare function oldestComputedAt(times: Array<string | undefined>): string | undefined;
|
|
@@ -6,6 +6,29 @@ export interface MultiQueryMetadata {
|
|
|
6
6
|
__queryIndex: number;
|
|
7
7
|
__queryLabel: string;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* The data fields of a result, in the order the rows first carry them.
|
|
11
|
+
*
|
|
12
|
+
* Reads every row, not only the first: after a multi-query merge, rows from
|
|
13
|
+
* different queries carry different fields ('concat' appends each query's
|
|
14
|
+
* rows; 'merge' starts a row from whichever query has its key first). Drops
|
|
15
|
+
* the multi-query metadata, which no other chart shows either.
|
|
16
|
+
*
|
|
17
|
+
* @param rows - Result rows, merged or from a single query
|
|
18
|
+
* @returns Field names, without duplicates
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDataColumns(rows: readonly unknown[]): string[];
|
|
21
|
+
/**
|
|
22
|
+
* The query a chart reads when a portlet has several queries: the first query
|
|
23
|
+
* with the measures of every query. Charts use it to order columns, pivot a
|
|
24
|
+
* time dimension and format dates. The AnalysisBuilder preview and the
|
|
25
|
+
* dashboard portlet both use it, so a card renders the same in both places.
|
|
26
|
+
*
|
|
27
|
+
* @param queries - The queries of the portlet, in order
|
|
28
|
+
* @returns The only query when there is one, else the combined query;
|
|
29
|
+
* undefined when there is none
|
|
30
|
+
*/
|
|
31
|
+
export declare function combineQueriesForChart(queries: readonly CubeQuery[]): CubeQuery | undefined;
|
|
9
32
|
/**
|
|
10
33
|
* Check if data contains multi-query metadata
|
|
11
34
|
*/
|
|
@@ -238,11 +238,13 @@ export declare class SemanticLayerCompiler {
|
|
|
238
238
|
/**
|
|
239
239
|
* Unified query execution method that handles both single and multi-cube queries
|
|
240
240
|
* @param options.skipCache - Skip cache lookup (but still cache the fresh result)
|
|
241
|
+
* @param options.maxAgeMs - Oldest cached result to accept; older entries are a miss
|
|
241
242
|
*/
|
|
242
243
|
execute(query: SemanticQuery, securityContext: SecurityContext, options?: ExecutionOptions): Promise<QueryResult>;
|
|
243
244
|
/**
|
|
244
245
|
* Execute a multi-cube query
|
|
245
246
|
* @param options.skipCache - Skip cache lookup (but still cache the fresh result)
|
|
247
|
+
* @param options.maxAgeMs - Oldest cached result to accept; older entries are a miss
|
|
246
248
|
*/
|
|
247
249
|
executeMultiCubeQuery(query: SemanticQuery, securityContext: SecurityContext, options?: ExecutionOptions): Promise<QueryResult>;
|
|
248
250
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SecurityContext, SemanticQuery, QueryResult, CacheConfig } from '../types/index.js';
|
|
1
|
+
import { SecurityContext, SemanticQuery, QueryResult, CacheConfig, ExecutionOptions } from '../types/index.js';
|
|
2
2
|
export declare class QueryResultCache {
|
|
3
3
|
private readonly cacheConfig?;
|
|
4
4
|
constructor(cacheConfig?: CacheConfig | undefined);
|
|
@@ -11,8 +11,14 @@ export declare class QueryResultCache {
|
|
|
11
11
|
* Look up a cached result. Returns the cached value (with cache metadata
|
|
12
12
|
* attached) on a hit, or undefined on miss / bypass / no-cache. Emits
|
|
13
13
|
* hit/miss events; lookup errors are non-fatal.
|
|
14
|
+
*
|
|
15
|
+
* `options.maxAgeMs` is the oldest entry the caller accepts: an older entry
|
|
16
|
+
* (or one whose age is unknown) counts as a miss. `skipCache` is an alias for
|
|
17
|
+
* max-age 0, which skips the read entirely. A `maxAgeMs` that is not a finite
|
|
18
|
+
* non-negative number is ignored. Callers still store the fresh result in
|
|
19
|
+
* every case.
|
|
14
20
|
*/
|
|
15
|
-
lookup(cacheKey: string | undefined, skipCache
|
|
21
|
+
lookup(cacheKey: string | undefined, options?: Pick<ExecutionOptions, 'skipCache' | 'maxAgeMs'>): Promise<QueryResult | undefined>;
|
|
16
22
|
/**
|
|
17
23
|
* Store a fresh result under the given key. No-ops when caching is disabled
|
|
18
24
|
* or the key is undefined. Store errors are non-fatal.
|
|
@@ -30,6 +30,7 @@ export declare class QueryExecutor {
|
|
|
30
30
|
/**
|
|
31
31
|
* Unified query execution method that handles both single and multi-cube queries
|
|
32
32
|
* @param options.skipCache - Skip cache lookup (but still cache the fresh result)
|
|
33
|
+
* @param options.maxAgeMs - Oldest cached result to accept; older entries are a miss
|
|
33
34
|
*/
|
|
34
35
|
execute(cubes: Map<string, Cube>, query: SemanticQuery, securityContext: SecurityContext, options?: ExecutionOptions): Promise<QueryResult>;
|
|
35
36
|
/**
|
|
@@ -16,6 +16,8 @@ export interface DownstreamJoinState {
|
|
|
16
16
|
sourceColumnObj?: any;
|
|
17
17
|
targetColumnObj?: any;
|
|
18
18
|
}>;
|
|
19
|
+
/** See DownstreamJoinKeyInfo.throughJunction */
|
|
20
|
+
throughJunction?: boolean;
|
|
19
21
|
}
|
|
20
22
|
export interface CTEBuildState {
|
|
21
23
|
preBuiltFilterMap: Map<string, SQL[]>;
|
|
@@ -88,8 +88,19 @@ export interface SqlResult {
|
|
|
88
88
|
* Options for query execution
|
|
89
89
|
*/
|
|
90
90
|
export interface ExecutionOptions {
|
|
91
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Skip the cache lookup (but still cache the result for future requests).
|
|
93
|
+
* Alias for `maxAgeMs: 0`; when both are set, the smaller max-age wins.
|
|
94
|
+
*/
|
|
92
95
|
skipCache?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Max-age: the oldest cached result this request will accept, in milliseconds.
|
|
98
|
+
* A cached entry older than this counts as a miss, so the query runs and the
|
|
99
|
+
* fresh result is written back. `0` skips the read and still writes. Values
|
|
100
|
+
* that are not finite and non-negative are ignored. Has no effect when
|
|
101
|
+
* caching is disabled or no cache provider is configured.
|
|
102
|
+
*/
|
|
103
|
+
maxAgeMs?: number;
|
|
93
104
|
/**
|
|
94
105
|
* Identifies the cube definitions that produced the result, as
|
|
95
106
|
* `setId:baseGeneration.setGeneration`. Appended unconditionally to the query
|
|
@@ -515,6 +515,13 @@ export interface DownstreamJoinKeyInfo {
|
|
|
515
515
|
targetCubeName: string;
|
|
516
516
|
/** Join keys from CTE cube to downstream cube */
|
|
517
517
|
joinKeys: JoinKeyInfo[];
|
|
518
|
+
/**
|
|
519
|
+
* True when the CTE cube reaches the downstream cube through its own
|
|
520
|
+
* belongsToMany junction. The join keys then point at that junction table,
|
|
521
|
+
* not at the downstream cube, so they cannot replace a join to the
|
|
522
|
+
* downstream cube.
|
|
523
|
+
*/
|
|
524
|
+
throughJunction?: boolean;
|
|
518
525
|
}
|
|
519
526
|
/**
|
|
520
527
|
* Planned join entry used by runtime physical builders.
|
|
@@ -90,11 +90,11 @@ export declare function loadAllChartConfigs(): Promise<ChartConfigRegistry>;
|
|
|
90
90
|
export declare function clearChartConfigCache(): void;
|
|
91
91
|
/**
|
|
92
92
|
* Register a custom chart config directly into the cache.
|
|
93
|
-
* Used by the chart plugin system.
|
|
93
|
+
* Used by the chart plugin system. Mounted `useChartConfig` hooks update.
|
|
94
94
|
*/
|
|
95
95
|
export declare function registerConfigToCache(type: string, config: ChartTypeConfig): void;
|
|
96
96
|
/**
|
|
97
97
|
* Remove a custom chart config from the cache.
|
|
98
|
-
* Used by the chart plugin system.
|
|
98
|
+
* Used by the chart plugin system. Mounted `useChartConfig` hooks update.
|
|
99
99
|
*/
|
|
100
100
|
export declare function unregisterConfigFromCache(type: string): void;
|
package/dist/client/charts.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as l, l as u, s as d, u as f } from "./chunks/chart-activity-grid-
|
|
3
|
-
import { t as p } from "./chunks/chart-funnel-
|
|
4
|
-
import { a as m, i as h, n as g, o as _, r as v, s as y, t as b } from "./chunks/charts-loader-
|
|
5
|
-
import { t as x } from "./chunks/chart-area-
|
|
1
|
+
import { Ft as e, It as t, Lt as n, Mt as r, Nt as i, Pt as a, Rt as o, jt as s, t as c } from "./chunks/chart-data-table-uJG1V-be.js";
|
|
2
|
+
import { d as l, l as u, s as d, u as f } from "./chunks/chart-activity-grid-DeDPSs12.js";
|
|
3
|
+
import { t as p } from "./chunks/chart-funnel-BtUexI1t.js";
|
|
4
|
+
import { a as m, i as h, n as g, o as _, r as v, s as y, t as b } from "./chunks/charts-loader-3N-LqjLk.js";
|
|
5
|
+
import { t as x } from "./chunks/chart-area-WyrVYze7.js";
|
|
6
6
|
import { i as S } from "./chunks/utils-CToHkuhU.js";
|
|
7
|
-
import { t as C } from "./chunks/chart-bar-
|
|
8
|
-
import { t as w } from "./chunks/chart-line-
|
|
9
|
-
import { t as T } from "./chunks/chart-pie-
|
|
10
|
-
import { t as E } from "./chunks/chart-scatter-
|
|
11
|
-
import { t as D } from "./chunks/chart-radar-
|
|
12
|
-
import { t as O } from "./chunks/chart-radial-bar-
|
|
13
|
-
import { t as k } from "./chunks/chart-tree-map-
|
|
14
|
-
export { d as CHART_COLORS, u as CHART_MARGINS,
|
|
7
|
+
import { t as C } from "./chunks/chart-bar-wGHC1Hfo.js";
|
|
8
|
+
import { t as w } from "./chunks/chart-line-D_yFQDze.js";
|
|
9
|
+
import { t as T } from "./chunks/chart-pie-DLrT81CL.js";
|
|
10
|
+
import { t as E } from "./chunks/chart-scatter-CCGL2IEP.js";
|
|
11
|
+
import { t as D } from "./chunks/chart-radar-CcXG6k6o.js";
|
|
12
|
+
import { t as O } from "./chunks/chart-radial-bar-DYn5FLrG.js";
|
|
13
|
+
import { t as k } from "./chunks/chart-tree-map-DOWeXCn_.js";
|
|
14
|
+
export { d as CHART_COLORS, u as CHART_MARGINS, c as DataTable, p as FunnelChart, b as LazyChart, f as NEGATIVE_COLOR, l as POSITIVE_COLOR, x as RechartsAreaChart, C as RechartsBarChart, w as RechartsLineChart, T as RechartsPieChart, D as RechartsRadarChart, O as RechartsRadialBarChart, E as RechartsScatterChart, k as RechartsTreeMapChart, s as clearChartConfigCache, S as formatChartData, g as getAvailableChartTypes, r as getChartConfigAsync, i as getChartConfigSync, v as getUnavailableChartTypes, a as isChartConfigLoaded, h as isChartTypeAvailable, m as isValidChartType, e as loadAllChartConfigs, _ as preloadChart, t as preloadChartConfig, n as preloadChartConfigs, y as preloadCharts, o as useChartConfig };
|