drizzle-cube 0.6.7 → 0.7.0
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-DaYILvFZ.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-_SyTBEyR.js +2 -0
- package/dist/adapters/AreaChart.config-BKh6fY1_.cjs +1 -0
- package/dist/adapters/AreaChart.config-CJoxLP3Y.js +2 -0
- package/dist/adapters/BarChart.config-Bm1bfRbI.cjs +1 -0
- package/dist/adapters/BarChart.config-CGu2Bqrx.js +2 -0
- package/dist/adapters/BoxPlotChart.config-B7M9CQaE.js +2 -0
- package/dist/adapters/BoxPlotChart.config-CXQel8Hk.cjs +1 -0
- package/dist/adapters/BubbleChart.config-BJ36IuVS.cjs +1 -0
- package/dist/adapters/BubbleChart.config-CWoXeLdm.js +2 -0
- package/dist/adapters/CandlestickChart.config-CGMLZVIy.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-CzOcfF1e.js +2 -0
- package/dist/adapters/DataTable.config-CdAzueTs.cjs +1 -0
- package/dist/adapters/DataTable.config-D_KmPyxV.js +2 -0
- package/dist/adapters/FunnelChart.config-D1QAUuYl.cjs +1 -0
- package/dist/adapters/FunnelChart.config-DCRHQoFc.js +2 -0
- package/dist/adapters/GaugeChart.config-DAybRXP3.js +2 -0
- package/dist/adapters/GaugeChart.config-WUPfyLP-.cjs +1 -0
- package/dist/adapters/HeatMapChart.config-CziltPnC.cjs +1 -0
- package/dist/adapters/HeatMapChart.config-DHpXNONW.js +2 -0
- package/dist/adapters/KpiDelta.config-Bw5o0ocY.js +2 -0
- package/dist/adapters/KpiDelta.config-CdAmE1pw.cjs +1 -0
- package/dist/adapters/KpiNumber.config-CQ_wq2gx.js +2 -0
- package/dist/adapters/KpiNumber.config-wxN8x4DC.cjs +1 -0
- package/dist/adapters/KpiText.config-DIRIC97F.cjs +1 -0
- package/dist/adapters/KpiText.config-eODcP6Hn.js +2 -0
- package/dist/adapters/LineChart.config-32-9zA2V.js +2 -0
- package/dist/adapters/LineChart.config-BukeFp6z.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BVsR5LDy.js +2 -0
- package/dist/adapters/MarkdownChart.config-j4veYjcZ.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-BRDYx1hw.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-CIosBxco.cjs +1 -0
- package/dist/adapters/PieChart.config-Bj8KiA0n.cjs +1 -0
- package/dist/adapters/PieChart.config-DgAj3y-I.js +2 -0
- package/dist/adapters/ProportionBarChart.config-BfFOppHY.js +2 -0
- package/dist/adapters/ProportionBarChart.config-c8GGE1aK.cjs +1 -0
- package/dist/adapters/RadarChart.config-D7iHY1v9.js +2 -0
- package/dist/adapters/RadarChart.config-ghlANG2-.cjs +1 -0
- package/dist/adapters/RadialBarChart.config-CsXIz-0v.js +2 -0
- package/dist/adapters/RadialBarChart.config-Dsvu2CPV.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-CdT1kXC7.js +2 -0
- package/dist/adapters/RetentionCombinedChart.config-sDjFKH9K.cjs +1 -0
- package/dist/adapters/RetentionHeatmap.config-CvKBvQmu.cjs +1 -0
- package/dist/adapters/RetentionHeatmap.config-DbM3ICwc.js +2 -0
- package/dist/adapters/SankeyChart.config-BNBcIHaD.js +2 -0
- package/dist/adapters/SankeyChart.config-DZscz3kh.cjs +1 -0
- package/dist/adapters/ScatterChart.config-BNYIddyM.cjs +1 -0
- package/dist/adapters/ScatterChart.config-CEhtoLWc.js +2 -0
- package/dist/adapters/SunburstChart.config-ClseCzji.cjs +1 -0
- package/dist/adapters/SunburstChart.config-nnphNoVO.js +2 -0
- package/dist/adapters/TreeMapChart.config-C8-75muA.js +2 -0
- package/dist/adapters/TreeMapChart.config-DoXeUg9Y.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-BOF1qxY3.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-uW5YyOji.js +2 -0
- package/dist/adapters/{compiler-CGJQlQ6Q.cjs → compiler-DAyodAnH.cjs} +1 -1
- package/dist/adapters/{compiler-mz2Uudwd.js → compiler-Dq04wAjm.js} +1 -1
- package/dist/adapters/core/index.cjs +1 -1
- package/dist/adapters/core/index.js +1 -1
- package/dist/adapters/{core-4WY4M7hp.js → core-BjxfG6Uf.js} +2 -2
- package/dist/adapters/{core-FpI2NfHt.cjs → core-zV2w0hO2.cjs} +1 -1
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +5 -5
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +5 -5
- package/dist/adapters/{handler-g8k2CZG2.cjs → handler-C6Hj6_Yk.cjs} +3 -3
- package/dist/adapters/{handler-PjEeNmXY.js → handler-ox6qxLw5.js} +29 -29
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +4 -4
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +2 -2
- package/dist/adapters/mcp-transport-C_t_p0wU.cjs +40 -0
- package/dist/adapters/mcp-transport-DFH9e6de.js +603 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +5 -5
- package/dist/adapters/{openai-DnWF0wCU.cjs → openai-BffpdO4n.cjs} +1 -1
- package/dist/adapters/{openai-DHjN2OwG.js → openai-C9LNhHfK.js} +1 -1
- package/dist/adapters/{openai-CcY2fW3E.js → openai-CmyXJWti.js} +1 -1
- package/dist/adapters/{openai-7xjDI7R2.cjs → openai-DlT-0VRC.cjs} +1 -1
- package/dist/adapters/utils-C5FLHK04.cjs +128 -0
- package/dist/adapters/{utils-G52pPkce.js → utils-tjiwXFnP.js} +18 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +1 -1
- package/dist/cjs/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/cjs/client/components/PortletGroupCard.d.ts +18 -0
- package/dist/cjs/client/components/RowManagedLayout.d.ts +15 -3
- package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +5 -1
- package/dist/cjs/client/components/dashboard/dashboardGridUtils.d.ts +2 -4
- package/dist/cjs/client/components/dashboardPortletCard/EditActionButtons.d.ts +34 -0
- package/dist/cjs/client/components/dashboardPortletCard/PortletCardHeader.d.ts +2 -12
- package/dist/cjs/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +24 -0
- package/dist/cjs/client/components/dashboardPortletCard/cardStyles.d.ts +5 -0
- package/dist/cjs/client/components/dashboardPortletCard/propsEqual.d.ts +2 -0
- package/dist/cjs/client/components/mobileStackedLayout/memberDisplay.d.ts +21 -0
- package/dist/cjs/client/components.d.ts +1 -1
- package/dist/cjs/client/hooks/dashboard/groupGeometry.d.ts +23 -0
- package/dist/cjs/client/hooks/dashboard/groupUtils.d.ts +57 -0
- package/dist/cjs/client/hooks/dashboard/layoutUtils.d.ts +34 -3
- package/dist/cjs/client/hooks/dashboard/useDashboardController.d.ts +11 -3
- package/dist/cjs/client/hooks/dashboard/useRowLayoutEngine.d.ts +12 -2
- package/dist/cjs/client/hooks/useDashboardHook.d.ts +14 -1
- package/dist/cjs/client/index.d.ts +1 -1
- package/dist/cjs/client/stores/dashboardStore.d.ts +11 -1
- package/dist/cjs/client/types.d.ts +30 -1
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-BEG0d7wI.js → DashboardEditModal-ByXLlXZD.js} +3289 -2370
- package/dist/client/chunks/DashboardEditModal-ByXLlXZD.js.map +1 -0
- package/dist/client/chunks/{ProportionBarChart-xLX6XD4W.js → ProportionBarChart-lOeVz8ZC.js} +3 -3
- package/dist/client/chunks/{ProportionBarChart-xLX6XD4W.js.map → ProportionBarChart-lOeVz8ZC.js.map} +1 -1
- package/dist/client/chunks/{RetentionCombinedChart-DeFz5wJh.js → RetentionCombinedChart-Mcm7zHFx.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-DeFz5wJh.js.map → RetentionCombinedChart-Mcm7zHFx.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-DkJOiNwz.js → RetentionHeatmap-4VJx5KDM.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-DkJOiNwz.js.map → RetentionHeatmap-4VJx5KDM.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-BWLL6ztg.js → analysis-builder-CWTJQQtL.js} +9 -9
- package/dist/client/chunks/{analysis-builder-BWLL6ztg.js.map → analysis-builder-CWTJQQtL.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-shared-Ba3JsRNw.js → analysis-builder-shared-l-4WKVS1.js} +9 -9
- package/dist/client/chunks/{analysis-builder-shared-Ba3JsRNw.js.map → analysis-builder-shared-l-4WKVS1.js.map} +1 -1
- package/dist/client/chunks/{chart-activity-grid-CyVDJSAI.js → chart-activity-grid-DVOhLgxv.js} +20 -2
- package/dist/client/chunks/{chart-activity-grid-CyVDJSAI.js.map → chart-activity-grid-DVOhLgxv.js.map} +1 -1
- package/dist/client/chunks/{chart-area-b5UAS6NZ.js → chart-area-C-5ATxvi.js} +2 -2
- package/dist/client/chunks/{chart-area-b5UAS6NZ.js.map → chart-area-C-5ATxvi.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-aVNonvWw.js → chart-bar-CPiLaXHP.js} +3 -3
- package/dist/client/chunks/{chart-bar-aVNonvWw.js.map → chart-bar-CPiLaXHP.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-Bx6M97VL.js → chart-box-plot-Bae5O9xC.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-Bx6M97VL.js.map → chart-box-plot-Bae5O9xC.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-EWd4_ucG.js → chart-bubble-BFN5WIpf.js} +2 -2
- package/dist/client/chunks/{chart-bubble-EWd4_ucG.js.map → chart-bubble-BFN5WIpf.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-CG5EX67b.js → chart-candlestick-PBQKp_z7.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-CG5EX67b.js.map → chart-candlestick-PBQKp_z7.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-D6Cu86m_.js → chart-data-table-SNSqZj9B.js} +2 -2
- package/dist/client/chunks/{chart-data-table-D6Cu86m_.js.map → chart-data-table-SNSqZj9B.js.map} +1 -1
- package/dist/client/chunks/{chart-funnel-CLRYMbFj.js → chart-funnel-CkHSXp6h.js} +2 -2
- package/dist/client/chunks/{chart-funnel-CLRYMbFj.js.map → chart-funnel-CkHSXp6h.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-BRqb8eNU.js → chart-gauge-DHIGq3TH.js} +3 -3
- package/dist/client/chunks/{chart-gauge-BRqb8eNU.js.map → chart-gauge-DHIGq3TH.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-BCfr3nYJ.js → chart-heat-map-Bb8L1XQr.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-BCfr3nYJ.js.map → chart-heat-map-Bb8L1XQr.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-ISxzG6g_.js → chart-kpi-delta-BJCOXE-F.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-ISxzG6g_.js.map → chart-kpi-delta-BJCOXE-F.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-OmRCPf7D.js → chart-kpi-number-Cdqgv20g.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-OmRCPf7D.js.map → chart-kpi-number-Cdqgv20g.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-BUm932QA.js → chart-kpi-text-B10ZHCsI.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-BUm932QA.js.map → chart-kpi-text-B10ZHCsI.js.map} +1 -1
- package/dist/client/chunks/{chart-line-BM_DrpQW.js → chart-line-CzvVL3Be.js} +3 -3
- package/dist/client/chunks/{chart-line-BM_DrpQW.js.map → chart-line-CzvVL3Be.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-BNrsZpqM.js → chart-markdown-C0xxBW81.js} +2 -2
- package/dist/client/chunks/{chart-markdown-BNrsZpqM.js.map → chart-markdown-C0xxBW81.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-DttUWxIu.js → chart-measure-profile-BSUPFZCR.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-DttUWxIu.js.map → chart-measure-profile-BSUPFZCR.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-D7pxCMll.js → chart-pie-CwRfwWWZ.js} +3 -3
- package/dist/client/chunks/{chart-pie-D7pxCMll.js.map → chart-pie-CwRfwWWZ.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-sUnyHn3a.js → chart-radar-Dfql2E7i.js} +3 -3
- package/dist/client/chunks/{chart-radar-sUnyHn3a.js.map → chart-radar-Dfql2E7i.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-Df9zbhst.js → chart-radial-bar-oE9OZ1IX.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-Df9zbhst.js.map → chart-radial-bar-oE9OZ1IX.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-d_iS5fjB.js → chart-sankey-tK7Oz1bC.js} +2 -2
- package/dist/client/chunks/{chart-sankey-d_iS5fjB.js.map → chart-sankey-tK7Oz1bC.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-DD5v7r4K.js → chart-scatter-BtLfAsZb.js} +3 -3
- package/dist/client/chunks/{chart-scatter-DD5v7r4K.js.map → chart-scatter-BtLfAsZb.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-jL5f9PiB.js → chart-sunburst-B7ryWwQ1.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-jL5f9PiB.js.map → chart-sunburst-B7ryWwQ1.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DK-pNvh4.js → chart-tree-map-DU5M3-qe.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-DK-pNvh4.js.map → chart-tree-map-DU5M3-qe.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-CBGewe2Z.js → chart-waterfall-CAwutpzd.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-CBGewe2Z.js.map → chart-waterfall-CAwutpzd.js.map} +1 -1
- package/dist/client/chunks/{charts-core-BHjcM-rm.js → charts-core-BxBB2zBE.js} +2 -2
- package/dist/client/chunks/{charts-core-BHjcM-rm.js.map → charts-core-BxBB2zBE.js.map} +1 -1
- package/dist/client/chunks/charts-loader-0avVzeDd.js +85 -0
- package/dist/client/chunks/{charts-loader-FXj1JiQZ.js.map → charts-loader-0avVzeDd.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-B1MNDJT-.js → nl-NL-BSMhprPr.js} +19 -1
- package/dist/client/chunks/{nl-NL-B1MNDJT-.js.map → nl-NL-BSMhprPr.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-BXdd320w.js → schema-visualization-CGbnbzj_.js} +3 -3
- package/dist/client/chunks/{schema-visualization-BXdd320w.js.map → schema-visualization-CGbnbzj_.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-CFgSTyny.js → useDirtyStateTracking-Dc-Si4db.js} +4 -4
- package/dist/client/chunks/{useDirtyStateTracking-CFgSTyny.js.map → useDirtyStateTracking-Dc-Si4db.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-CisDjZNp.js → useExplainAI-DJbc7Lu4.js} +4 -4
- package/dist/client/chunks/{useExplainAI-CisDjZNp.js.map → useExplainAI-DJbc7Lu4.js.map} +1 -1
- package/dist/client/chunks/{vendor-D5xADz_A.js → vendor-cTfe9Kho.js} +2 -2
- package/dist/client/chunks/{vendor-D5xADz_A.js.map → vendor-cTfe9Kho.js.map} +1 -1
- package/dist/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/client/components/PortletGroupCard.d.ts +18 -0
- package/dist/client/components/RowManagedLayout.d.ts +15 -3
- package/dist/client/components/dashboard/DashboardContext.d.ts +5 -1
- package/dist/client/components/dashboard/dashboardGridUtils.d.ts +2 -4
- package/dist/client/components/dashboardPortletCard/EditActionButtons.d.ts +34 -0
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +2 -12
- package/dist/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +24 -0
- package/dist/client/components/dashboardPortletCard/cardStyles.d.ts +5 -0
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +2 -0
- package/dist/client/components/mobileStackedLayout/memberDisplay.d.ts +21 -0
- package/dist/client/components.d.ts +1 -1
- package/dist/client/components.js +1 -1
- package/dist/client/hooks/dashboard/groupGeometry.d.ts +23 -0
- package/dist/client/hooks/dashboard/groupUtils.d.ts +57 -0
- package/dist/client/hooks/dashboard/layoutUtils.d.ts +34 -3
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +11 -3
- package/dist/client/hooks/dashboard/useRowLayoutEngine.d.ts +12 -2
- package/dist/client/hooks/useDashboardHook.d.ts +14 -1
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +13 -13
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/stores/dashboardStore.d.ts +11 -1
- package/dist/client/styles.css +1 -1
- package/dist/client/types.d.ts +30 -1
- package/dist/client/utils.js +4 -4
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +3 -3
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +18 -0
- package/package.json +1 -1
- package/dist/adapters/ActivityGridChart.config-CA4DWvoH.js +0 -2
- package/dist/adapters/ActivityGridChart.config-DC2PXV56.cjs +0 -1
- package/dist/adapters/AreaChart.config-BY4hUUJY.js +0 -2
- package/dist/adapters/AreaChart.config-CPwW53vL.cjs +0 -1
- package/dist/adapters/BarChart.config-Be-PGzp5.js +0 -2
- package/dist/adapters/BarChart.config-CfdsJtHY.cjs +0 -1
- package/dist/adapters/BoxPlotChart.config-BYwJZm4S.js +0 -2
- package/dist/adapters/BoxPlotChart.config-BoZN94lR.cjs +0 -1
- package/dist/adapters/BubbleChart.config-DX9aSqMD.js +0 -2
- package/dist/adapters/BubbleChart.config-ijpB_fme.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-C3iEXUN1.js +0 -2
- package/dist/adapters/CandlestickChart.config-DIGeboSZ.cjs +0 -1
- package/dist/adapters/DataTable.config-BjFTY-Md.js +0 -2
- package/dist/adapters/DataTable.config-ClJZRtsp.cjs +0 -1
- package/dist/adapters/FunnelChart.config-DYDd9Y2z.cjs +0 -1
- package/dist/adapters/FunnelChart.config-cVxnY9hD.js +0 -2
- package/dist/adapters/GaugeChart.config-BxWKW2b5.js +0 -2
- package/dist/adapters/GaugeChart.config-DsmevM9y.cjs +0 -1
- package/dist/adapters/HeatMapChart.config-BhO-Wj54.js +0 -2
- package/dist/adapters/HeatMapChart.config-HWcgNRuG.cjs +0 -1
- package/dist/adapters/KpiDelta.config-D3JOnd5n.js +0 -2
- package/dist/adapters/KpiDelta.config-DmLmTPSH.cjs +0 -1
- package/dist/adapters/KpiNumber.config-CVghzBbF.cjs +0 -1
- package/dist/adapters/KpiNumber.config-aK-Ueuhk.js +0 -2
- package/dist/adapters/KpiText.config-DLl8NWit.js +0 -2
- package/dist/adapters/KpiText.config-DbWJ42vd.cjs +0 -1
- package/dist/adapters/LineChart.config-C3i3Tgro.cjs +0 -1
- package/dist/adapters/LineChart.config-El3XPCFT.js +0 -2
- package/dist/adapters/MarkdownChart.config-D39QzWHW.js +0 -2
- package/dist/adapters/MarkdownChart.config-e_9gUs93.cjs +0 -1
- package/dist/adapters/MeasureProfileChart.config-BWQ82qcV.js +0 -2
- package/dist/adapters/MeasureProfileChart.config-l9WITF80.cjs +0 -1
- package/dist/adapters/PieChart.config-CO3Gib0h.js +0 -2
- package/dist/adapters/PieChart.config-yqXTNkix.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-B7CtjFwg.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-tGjQou_c.js +0 -2
- package/dist/adapters/RadarChart.config-B2YZnD_e.js +0 -2
- package/dist/adapters/RadarChart.config-DwJmHK8y.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-B9XP-cQ1.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-y2riBDwJ.js +0 -2
- package/dist/adapters/RetentionCombinedChart.config-Fzxwm_WV.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-ohy-zQbu.js +0 -2
- package/dist/adapters/RetentionHeatmap.config-0ykBWgUp.js +0 -2
- package/dist/adapters/RetentionHeatmap.config-DF_4ARr0.cjs +0 -1
- package/dist/adapters/SankeyChart.config-ChdkKqAn.cjs +0 -1
- package/dist/adapters/SankeyChart.config-Cl8kxpKq.js +0 -2
- package/dist/adapters/ScatterChart.config-BIqh_Z8u.cjs +0 -1
- package/dist/adapters/ScatterChart.config-D4v0Z_w4.js +0 -2
- package/dist/adapters/SunburstChart.config-CGMw6hSr.cjs +0 -1
- package/dist/adapters/SunburstChart.config-CmK6DVYQ.js +0 -2
- package/dist/adapters/TreeMapChart.config-B6WC-TVm.js +0 -2
- package/dist/adapters/TreeMapChart.config-q-kBddZC.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-BiOMGjjF.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-C_K8zN09.js +0 -2
- package/dist/adapters/mcp-transport-OBc8jVG5.js +0 -603
- package/dist/adapters/mcp-transport-n1r1Kqzn.cjs +0 -40
- package/dist/adapters/utils-DJ0_72_G.cjs +0 -128
- package/dist/client/chunks/DashboardEditModal-BEG0d7wI.js.map +0 -1
- package/dist/client/chunks/charts-loader-FXj1JiQZ.js +0 -85
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import { default as React, CSSProperties
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
2
|
import { PortletConfig } from '../../types.js';
|
|
3
3
|
import { PortletDebugDataEntry } from '../../stores/dashboardStore.js';
|
|
4
|
-
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
}>;
|
|
8
|
-
interface CardIcons {
|
|
9
|
-
RefreshIcon: IconComponent;
|
|
10
|
-
EditIcon: IconComponent;
|
|
11
|
-
DeleteIcon: IconComponent;
|
|
12
|
-
CopyIcon: IconComponent;
|
|
13
|
-
FilterIcon: IconComponent;
|
|
14
|
-
}
|
|
4
|
+
import { CardIcons } from './EditActionButtons.js';
|
|
15
5
|
interface PortletCardHeaderProps {
|
|
16
6
|
portlet: PortletConfig;
|
|
17
7
|
className: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PortletConfig } from '../../types.js';
|
|
3
|
+
import { CardIcons } from './EditActionButtons.js';
|
|
4
|
+
interface PortletFloatingActionsProps {
|
|
5
|
+
portlet: PortletConfig;
|
|
6
|
+
icons: CardIcons;
|
|
7
|
+
/** Show the edit-only actions (drag, filter config, duplicate, edit, delete). */
|
|
8
|
+
showEditActions: boolean;
|
|
9
|
+
copyAvailable: boolean;
|
|
10
|
+
copySuccess: boolean;
|
|
11
|
+
xlsExportAvailable: boolean;
|
|
12
|
+
exportInProgress: boolean;
|
|
13
|
+
onRefresh: (options?: {
|
|
14
|
+
bustCache?: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
onCopyToClipboard: (event: React.MouseEvent | React.TouchEvent) => void;
|
|
17
|
+
onExportXlsx: (event: React.MouseEvent | React.TouchEvent) => void;
|
|
18
|
+
onOpenFilterConfig: () => void;
|
|
19
|
+
onDuplicate: () => void;
|
|
20
|
+
onEdit: () => void;
|
|
21
|
+
onDelete: () => void;
|
|
22
|
+
}
|
|
23
|
+
export default function PortletFloatingActions({ portlet, icons, showEditActions, copyAvailable, copySuccess, xlsExportAvailable, exportInProgress, onRefresh, onCopyToClipboard, onExportXlsx, onOpenFilterConfig, onDuplicate, onEdit, onDelete }: PortletFloatingActionsProps): React.JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { ChartType, ChartDisplayConfig } from '../../types.js';
|
|
3
|
+
/** How much chrome a card draws. Group children are frameless and headerless. */
|
|
4
|
+
export type PortletCardVariant = 'standalone' | 'groupChild';
|
|
3
5
|
export interface PortletDisplayModes {
|
|
4
6
|
isMarkdownAutoHeight: boolean;
|
|
5
7
|
isTransparentContent: boolean;
|
|
@@ -17,12 +19,14 @@ export declare function resolveDisplayModes(params: {
|
|
|
17
19
|
layoutMode: string;
|
|
18
20
|
isEditMode: boolean;
|
|
19
21
|
portletTitle?: string;
|
|
22
|
+
variant?: PortletCardVariant;
|
|
20
23
|
}): PortletDisplayModes;
|
|
21
24
|
export declare function buildContainerClassName(params: {
|
|
22
25
|
isTransparent: boolean;
|
|
23
26
|
isMarkdownAutoHeight: boolean;
|
|
24
27
|
isInSelectionMode: boolean;
|
|
25
28
|
extraClassName?: string;
|
|
29
|
+
variant?: PortletCardVariant;
|
|
26
30
|
}): string;
|
|
27
31
|
export declare function buildHeaderClassName(isEditMode: boolean, extraClassName?: string): string;
|
|
28
32
|
export declare function buildContainerStyle(params: {
|
|
@@ -30,4 +34,5 @@ export declare function buildContainerStyle(params: {
|
|
|
30
34
|
isInSelectionMode: boolean;
|
|
31
35
|
hasSelectedFilter: boolean;
|
|
32
36
|
containerStyle?: CSSProperties;
|
|
37
|
+
variant?: PortletCardVariant;
|
|
33
38
|
}): CSSProperties;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, ComponentType, CSSProperties } from 'react';
|
|
2
2
|
import { ChartType, DashboardFilter, DashboardLayoutMode, PortletConfig } from '../../types.js';
|
|
3
|
+
import { PortletCardVariant } from './cardStyles.js';
|
|
3
4
|
import { ColorPalette } from '../../utils/colorPalettes.js';
|
|
4
5
|
export interface DashboardPortletCardProps {
|
|
5
6
|
portlet: PortletConfig;
|
|
6
7
|
editable: boolean;
|
|
7
8
|
layoutMode?: DashboardLayoutMode;
|
|
9
|
+
variant?: PortletCardVariant;
|
|
8
10
|
dashboardFilters?: DashboardFilter[];
|
|
9
11
|
configEagerLoad?: boolean;
|
|
10
12
|
loadingComponent?: ReactNode;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChartAxisConfig, ChartDisplayConfig, ChartType, PortletConfig } from '../../types.js';
|
|
2
|
+
export interface MobilePortletDisplay {
|
|
3
|
+
query: string;
|
|
4
|
+
chartType: ChartType;
|
|
5
|
+
chartConfig?: ChartAxisConfig;
|
|
6
|
+
displayConfig?: ChartDisplayConfig;
|
|
7
|
+
isTransparent: boolean;
|
|
8
|
+
isAutoHeight: boolean;
|
|
9
|
+
shouldHideHeader: boolean;
|
|
10
|
+
/** Outer height in px; `isAutoHeight` callers ignore it. */
|
|
11
|
+
height: number;
|
|
12
|
+
/** Height available to the chart once header and padding are removed. */
|
|
13
|
+
contentHeight: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function resolveMobilePortletDisplay(params: {
|
|
16
|
+
portlet: PortletConfig;
|
|
17
|
+
/** False for a portlet inside a group card, which supplies its own frame. */
|
|
18
|
+
framed: boolean;
|
|
19
|
+
/** How many portlets share the group card, so its height can be shared out. */
|
|
20
|
+
memberCount: number;
|
|
21
|
+
}): MobilePortletDisplay;
|
|
@@ -14,4 +14,4 @@ export { default as DashboardEditModal } from './components/DashboardEditModal.j
|
|
|
14
14
|
export { default as Modal } from './components/Modal.js';
|
|
15
15
|
export { default as AnalysisDisplayConfigPanel } from './components/AnalysisBuilder/AnalysisDisplayConfigPanel.js';
|
|
16
16
|
export { createDashboardLayout, generateResponsiveLayouts, generatePortletId, findNextPosition, validateCubeQuery, createSamplePortlet } from './utils/index.js';
|
|
17
|
-
export type { PortletConfig, DashboardConfig } from './types.js';
|
|
17
|
+
export type { PortletConfig, DashboardConfig, PortletGroup, PortletGroupCell } from './types.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { D as e, O as t, X as n, a as r, h as i, i as a, m as o, n as s, p as c, r as l, s as u, t as d, w as f } from "./chunks/DashboardEditModal-
|
|
1
|
+
import { D as e, O as t, X as n, a as r, h as i, i as a, m as o, n as s, p as c, r as l, s as u, t as d, w as f } from "./chunks/DashboardEditModal-ByXLlXZD.js";
|
|
2
2
|
import { a as p, n as m, o as h, r as g, s as _, t as v } from "./chunks/utils-CToHkuhU.js";
|
|
3
3
|
export { u as AnalysisDisplayConfigPanel, l as AnalyticsDashboard, n as AnalyticsPortlet, d as DashboardEditModal, i as DashboardFilterBar, a as DashboardGrid, o as DashboardGridSurface, r as DashboardModals, e as DashboardProvider, f as DashboardToolbar, c as Modal, s as PortletContainer, v as createDashboardLayout, m as createSamplePortlet, g as findNextPosition, p as generatePortletId, h as generateResponsiveLayouts, t as useDashboardContext, _ as validateCubeQuery };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PortletGroup } from '../../types.js';
|
|
2
|
+
/** Edge of a card a drag can be dropped against. Lives here, not in
|
|
3
|
+
* `groupUtils`, so `layoutUtils` can name it without importing back. */
|
|
4
|
+
export type SnapEdge = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
+
/**
|
|
6
|
+
* Split `total` integer units across `weights` using largest-remainder, never
|
|
7
|
+
* handing out less than 1. When `total < weights.length` every entry still gets
|
|
8
|
+
* 1 and the result overflows - callers accept that rather than dropping a
|
|
9
|
+
* portlet to zero size.
|
|
10
|
+
*/
|
|
11
|
+
export declare function partitionUnits(total: number, weights: number[]): number[];
|
|
12
|
+
/**
|
|
13
|
+
* Grid-unit rectangle for every portlet in a group, given the rectangle the
|
|
14
|
+
* group itself occupies. Written back onto the portlets so grid mode, the
|
|
15
|
+
* mobile stack and thumbnails keep working without knowing groups exist.
|
|
16
|
+
*/
|
|
17
|
+
export declare function deriveGroupGeometry(group: PortletGroup, x: number, y: number, w: number, h: number): Array<{
|
|
18
|
+
portletId: string;
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
w: number;
|
|
22
|
+
h: number;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { DashboardGridSettings, PortletConfig, PortletGroup, RowLayout } from '../../types.js';
|
|
2
|
+
import { SnapEdge } from './groupGeometry.js';
|
|
3
|
+
export { deriveGroupGeometry, partitionUnits } from './groupGeometry.js';
|
|
4
|
+
export type { SnapEdge } from './groupGeometry.js';
|
|
5
|
+
export interface GroupLayoutState {
|
|
6
|
+
rows: RowLayout[];
|
|
7
|
+
groups: PortletGroup[];
|
|
8
|
+
}
|
|
9
|
+
/** Where a portlet currently lives within the rows/groups structure. */
|
|
10
|
+
export interface PortletLocation {
|
|
11
|
+
rowIndex: number;
|
|
12
|
+
colIndex: number;
|
|
13
|
+
/** Set when the portlet lives inside a group rather than owning its column. */
|
|
14
|
+
groupId?: string;
|
|
15
|
+
cellIndex?: number;
|
|
16
|
+
stackIndex?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const createGroupId: () => string;
|
|
19
|
+
/** Portlet ids in visual order: cells along the main axis, stacks within each. */
|
|
20
|
+
export declare const groupPortletIds: (group: PortletGroup) => string[];
|
|
21
|
+
/** Locate a portlet across rows and groups. Returns null when it is unplaced. */
|
|
22
|
+
export declare function findPortletLocation(rows: RowLayout[], groups: PortletGroup[], portletId: string): PortletLocation | null;
|
|
23
|
+
/** Remove a portlet from whichever group holds it. Empty cells/groups are pruned. */
|
|
24
|
+
export declare function removeFromGroup(groups: PortletGroup[], portletId: string): {
|
|
25
|
+
groups: PortletGroup[];
|
|
26
|
+
groupId: string | null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Reconcile groups against the portlets that exist and the rows that host them.
|
|
30
|
+
*
|
|
31
|
+
* Returns rows as well as groups, because the two are coupled: collapsing a
|
|
32
|
+
* one-portlet group has to rewrite its column back to a plain `portletId`, and
|
|
33
|
+
* pruning a group has to remove its column. **Always run this before
|
|
34
|
+
* `normalizeRows`** - otherwise `normalizeRows` sees a `groupId` column whose
|
|
35
|
+
* group has just been emptied and renders a blank card.
|
|
36
|
+
*/
|
|
37
|
+
export declare function normalizeGroups(groups: PortletGroup[] | undefined, portlets: PortletConfig[], rows: RowLayout[], gridSettings: DashboardGridSettings): GroupLayoutState;
|
|
38
|
+
/**
|
|
39
|
+
* Snap `movedPortletId` against an edge of `targetPortletId`.
|
|
40
|
+
*
|
|
41
|
+
* Left/right build a `row` group, top/bottom a `column` group. When the target
|
|
42
|
+
* is already grouped, a snap along the group's main axis adds a cell, and a
|
|
43
|
+
* perpendicular snap joins the target's stack (the depth-2 clamp).
|
|
44
|
+
*
|
|
45
|
+
* Returns null when the move is a no-op.
|
|
46
|
+
*/
|
|
47
|
+
export declare function snapIntoGroup(state: GroupLayoutState, movedPortletId: string, targetPortletId: string, edge: SnapEdge, gridSettings: DashboardGridSettings): GroupLayoutState | null;
|
|
48
|
+
/**
|
|
49
|
+
* Dissolve a group, replacing its column with one column per member portlet in
|
|
50
|
+
* visual order. The row is re-equalised afterwards.
|
|
51
|
+
*/
|
|
52
|
+
export declare function ungroup(state: GroupLayoutState, groupId: string, gridSettings: DashboardGridSettings): GroupLayoutState;
|
|
53
|
+
/** Remove a group and every portlet id it holds. Callers delete the portlets. */
|
|
54
|
+
export declare function deleteGroup(state: GroupLayoutState, groupId: string, gridSettings: DashboardGridSettings): {
|
|
55
|
+
state: GroupLayoutState;
|
|
56
|
+
removedPortletIds: string[];
|
|
57
|
+
};
|
|
@@ -1,7 +1,38 @@
|
|
|
1
|
-
import { DashboardGridSettings, PortletConfig, RowLayout, RowLayoutColumn } from '../../types.js';
|
|
1
|
+
import { DashboardGridSettings, PortletConfig, PortletGroup, RowLayout, RowLayoutColumn } from '../../types.js';
|
|
2
2
|
export declare const createRowId: () => string;
|
|
3
|
+
/**
|
|
4
|
+
* Correct a row insertion index for a source row that the move emptied.
|
|
5
|
+
*
|
|
6
|
+
* Splicing the source row out shifts every later index up by one, so an
|
|
7
|
+
* unadjusted index lands the row one position too low. `handleRowDrop` has
|
|
8
|
+
* always done this for column moves; new-row drops need it too, and hit it more
|
|
9
|
+
* often, because a group is usually the only column in its row.
|
|
10
|
+
*/
|
|
11
|
+
export declare const adjustInsertIndexForRemovedRow: (insertIndex: number, sourceRowIndex: number, sourceRowRemoved: boolean) => number;
|
|
12
|
+
/**
|
|
13
|
+
* Distribute `cols` evenly across the given columns, preserving each column's
|
|
14
|
+
* identity (`portletId` **or** `groupId`) so re-equalisation never drops a group
|
|
15
|
+
* reference. This is the function to use; `equalizeRowColumns` below is the
|
|
16
|
+
* legacy id-only wrapper.
|
|
17
|
+
*/
|
|
18
|
+
export declare const equalizeColumns: (columns: RowLayoutColumn[], gridSettings: DashboardGridSettings) => RowLayoutColumn[];
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Loses `groupId`. Use {@link equalizeColumns} with the real columns.
|
|
21
|
+
*/
|
|
3
22
|
export declare const equalizeRowColumns: (portletIds: string[], gridSettings: DashboardGridSettings) => RowLayoutColumn[];
|
|
4
23
|
export declare const adjustRowWidths: (columns: RowLayoutColumn[], gridSettings: DashboardGridSettings) => RowLayoutColumn[];
|
|
5
24
|
export declare const convertPortletsToRows: (portlets: PortletConfig[], gridSettings: DashboardGridSettings) => RowLayout[];
|
|
6
|
-
|
|
7
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Drop columns whose target no longer exists, clamp row height, re-balance
|
|
27
|
+
* widths. `groups` must be the already-normalized group list - a column
|
|
28
|
+
* referencing a group is kept only when that group survives, so run
|
|
29
|
+
* `normalizeGroups` first.
|
|
30
|
+
*/
|
|
31
|
+
export declare const normalizeRows: (rows: RowLayout[], portlets: PortletConfig[], gridSettings: DashboardGridSettings, groups?: PortletGroup[]) => RowLayout[];
|
|
32
|
+
/**
|
|
33
|
+
* Re-derive every portlet's x/y/w/h from the row layout. Group columns are
|
|
34
|
+
* subdivided via `deriveGroupGeometry`, so grouped children get real grid
|
|
35
|
+
* coordinates too - that is what keeps grid mode, the mobile stack and
|
|
36
|
+
* thumbnails working without any knowledge of groups.
|
|
37
|
+
*/
|
|
38
|
+
export declare const convertRowsToPortlets: (rows: RowLayout[], portlets: PortletConfig[], groups?: PortletGroup[]) => PortletConfig[];
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { MutableRefObject, RefObject } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
|
-
import { DashboardConfig, DashboardFilterMapping, DashboardGridSettings, DashboardLayoutMode, PortletConfig, RowLayout, ThumbnailFeatureConfig } from '../../types.js';
|
|
3
|
+
import { DashboardConfig, DashboardFilterMapping, DashboardGridSettings, DashboardLayoutMode, PortletConfig, PortletGroup, RowLayout, ThumbnailFeatureConfig } from '../../types.js';
|
|
4
4
|
import { DashboardStore, DashboardStoreActions } from '../../stores/dashboardStore.js';
|
|
5
|
+
import { LayoutUpdate } from './useRowLayoutEngine.js';
|
|
6
|
+
import { SnapEdge } from './groupUtils.js';
|
|
5
7
|
interface UseDashboardControllerOptions {
|
|
6
8
|
allowedModes: DashboardLayoutMode[];
|
|
7
9
|
canChangeLayoutMode: boolean;
|
|
8
10
|
isResponsiveEditable: boolean;
|
|
9
11
|
layoutMode: DashboardLayoutMode;
|
|
10
12
|
resolvedRows: RowLayout[];
|
|
13
|
+
resolvedGroups: PortletGroup[];
|
|
11
14
|
gridSettings: DashboardGridSettings;
|
|
12
15
|
thumbnailConfig?: ThumbnailFeatureConfig;
|
|
13
16
|
dashboardRef?: RefObject<HTMLElement | null>;
|
|
14
17
|
storeApi: StoreApi<DashboardStore>;
|
|
15
|
-
storeActions: Pick<DashboardStoreActions, 'setEditMode' | 'exitFilterSelectionMode' | 'openPortletModal' | 'closePortletModal' | 'openTextModal' | 'closeTextModal' | 'openFilterConfigModal' | 'closeFilterConfigModal' | 'openDeleteConfirm' | 'closeDeleteConfirm' | 'setThumbnailDirty'>;
|
|
18
|
+
storeActions: Pick<DashboardStoreActions, 'setEditMode' | 'exitFilterSelectionMode' | 'openPortletModal' | 'closePortletModal' | 'openTextModal' | 'closeTextModal' | 'openFilterConfigModal' | 'closeFilterConfigModal' | 'openDeleteConfirm' | 'openDeleteGroupConfirm' | 'setDraftGroups' | 'closeDeleteConfirm' | 'setThumbnailDirty'>;
|
|
16
19
|
configRef: MutableRefObject<DashboardConfig>;
|
|
17
20
|
onConfigChangeRef: MutableRefObject<((config: DashboardConfig) => void) | undefined>;
|
|
18
21
|
onSaveRef: MutableRefObject<((config: DashboardConfig) => Promise<void> | void) | undefined>;
|
|
19
22
|
onSaveThumbnailRef: MutableRefObject<((thumbnailData: string) => Promise<string | void>) | undefined>;
|
|
23
|
+
updateLayout: (next: LayoutUpdate, save?: boolean) => Promise<void>;
|
|
20
24
|
updateRowLayout: (rows: RowLayout[], save?: boolean, portletsOverride?: PortletConfig[]) => Promise<void>;
|
|
21
25
|
portletComponentRefs?: MutableRefObject<Record<string, {
|
|
22
26
|
refresh: (options?: {
|
|
@@ -27,7 +31,7 @@ interface UseDashboardControllerOptions {
|
|
|
27
31
|
bustCache?: boolean;
|
|
28
32
|
}) => void;
|
|
29
33
|
}
|
|
30
|
-
export declare function useDashboardController({ allowedModes, canChangeLayoutMode, isResponsiveEditable, layoutMode, resolvedRows, gridSettings, thumbnailConfig, dashboardRef, storeApi, storeActions, configRef, onConfigChangeRef, onSaveRef, onSaveThumbnailRef, updateRowLayout, portletComponentRefs, onPortletRefresh, }: UseDashboardControllerOptions): {
|
|
34
|
+
export declare function useDashboardController({ allowedModes, canChangeLayoutMode, isResponsiveEditable, layoutMode, resolvedRows, resolvedGroups, gridSettings, thumbnailConfig, dashboardRef, storeApi, storeActions, configRef, onConfigChangeRef, onSaveRef, onSaveThumbnailRef, updateLayout, updateRowLayout, portletComponentRefs, onPortletRefresh, }: UseDashboardControllerOptions): {
|
|
31
35
|
enterEditMode: () => void;
|
|
32
36
|
exitEditMode: () => void;
|
|
33
37
|
toggleEditMode: () => void;
|
|
@@ -49,5 +53,9 @@ export declare function useDashboardController({ allowedModes, canChangeLayoutMo
|
|
|
49
53
|
selectAllForFilter: (filterId: string) => Promise<void>;
|
|
50
54
|
saveFilterConfig: (mapping: DashboardFilterMapping) => Promise<void>;
|
|
51
55
|
handlePaletteChange: (paletteName: string) => Promise<void>;
|
|
56
|
+
snapPortletIntoGroup: (movedPortletId: string, targetPortletId: string, edge: SnapEdge) => Promise<void>;
|
|
57
|
+
ungroupGroup: (groupId: string) => Promise<void>;
|
|
58
|
+
deleteGroup: (groupId: string) => void;
|
|
59
|
+
renameGroup: (groupId: string, title: string) => Promise<void>;
|
|
52
60
|
};
|
|
53
61
|
export {};
|
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
-
import { DashboardConfig, DashboardGridSettings, DashboardLayoutMode, PortletConfig, RowLayout } from '../../types.js';
|
|
2
|
+
import { DashboardConfig, DashboardGridSettings, DashboardLayoutMode, PortletConfig, PortletGroup, RowLayout } from '../../types.js';
|
|
3
|
+
/** A single layout commit. Rows and groups are coupled, so they travel together. */
|
|
4
|
+
export interface LayoutUpdate {
|
|
5
|
+
rows: RowLayout[];
|
|
6
|
+
groups?: PortletGroup[];
|
|
7
|
+
portlets?: PortletConfig[];
|
|
8
|
+
}
|
|
3
9
|
interface UseRowLayoutEngineOptions {
|
|
4
10
|
layoutMode: DashboardLayoutMode;
|
|
5
11
|
draftRows: RowLayout[] | null;
|
|
12
|
+
draftGroups: PortletGroup[] | null;
|
|
6
13
|
config: DashboardConfig;
|
|
7
14
|
gridSettings: DashboardGridSettings;
|
|
8
15
|
configRef: MutableRefObject<DashboardConfig>;
|
|
9
16
|
onConfigChangeRef: MutableRefObject<((config: DashboardConfig) => void) | undefined>;
|
|
10
17
|
onSaveRef: MutableRefObject<((config: DashboardConfig) => Promise<void> | void) | undefined>;
|
|
11
18
|
setDraftRows: (rows: RowLayout[] | null) => void;
|
|
19
|
+
setDraftGroups: (groups: PortletGroup[] | null) => void;
|
|
12
20
|
setThumbnailDirty: (dirty: boolean) => void;
|
|
13
21
|
}
|
|
14
|
-
export declare function useRowLayoutEngine({ layoutMode, draftRows, config, gridSettings, configRef, onConfigChangeRef, onSaveRef, setDraftRows, setThumbnailDirty, }: UseRowLayoutEngineOptions): {
|
|
22
|
+
export declare function useRowLayoutEngine({ layoutMode, draftRows, draftGroups, config, gridSettings, configRef, onConfigChangeRef, onSaveRef, setDraftRows, setDraftGroups, setThumbnailDirty, }: UseRowLayoutEngineOptions): {
|
|
15
23
|
resolvedRows: RowLayout[];
|
|
24
|
+
resolvedGroups: PortletGroup[];
|
|
25
|
+
updateLayout: (next: LayoutUpdate, save?: boolean) => Promise<void>;
|
|
16
26
|
updateRowLayout: (rows: RowLayout[], save?: boolean, portletsOverride?: PortletConfig[]) => Promise<void>;
|
|
17
27
|
};
|
|
18
28
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { PortletDebugDataEntry } from '../stores/dashboardStore.js';
|
|
3
3
|
import { LayoutItem } from 'react-grid-layout';
|
|
4
|
-
import { DashboardConfig, PortletConfig, RowLayout, DashboardFilter, DashboardFilterMapping, DashboardGridSettings, DashboardLayoutMode } from '../types.js';
|
|
4
|
+
import { DashboardConfig, PortletConfig, RowLayout, PortletGroup, DashboardFilter, DashboardFilterMapping, DashboardGridSettings, DashboardLayoutMode } from '../types.js';
|
|
5
|
+
import { SnapEdge } from './dashboard/groupUtils.js';
|
|
6
|
+
import { LayoutUpdate } from './dashboard/useRowLayoutEngine.js';
|
|
5
7
|
export interface UseDashboardOptions {
|
|
6
8
|
/** Dashboard configuration */
|
|
7
9
|
config: DashboardConfig;
|
|
@@ -55,6 +57,7 @@ export interface UseDashboardResult {
|
|
|
55
57
|
filterConfigPortlet: PortletConfig | null;
|
|
56
58
|
/** Portlet ID pending delete confirmation */
|
|
57
59
|
deleteConfirmPortletId: string | null;
|
|
60
|
+
deleteConfirmGroupId: string | null;
|
|
58
61
|
/** Draft rows during drag operations */
|
|
59
62
|
draftRows: RowLayout[] | null;
|
|
60
63
|
/** Whether a portlet is being dragged */
|
|
@@ -71,6 +74,9 @@ export interface UseDashboardResult {
|
|
|
71
74
|
selectedFilter: DashboardFilter | null;
|
|
72
75
|
/** Resolved rows for row-based layout */
|
|
73
76
|
resolvedRows: RowLayout[];
|
|
77
|
+
resolvedGroups: PortletGroup[];
|
|
78
|
+
/** Modes the toggle should offer; a subset of allowedModes. */
|
|
79
|
+
selectableModes: DashboardLayoutMode[];
|
|
74
80
|
/** Current layout mode */
|
|
75
81
|
layoutMode: DashboardLayoutMode;
|
|
76
82
|
/** Allowed layout modes */
|
|
@@ -92,6 +98,7 @@ export interface UseDashboardActions {
|
|
|
92
98
|
openFilterConfig: (portlet: PortletConfig) => void;
|
|
93
99
|
closeFilterConfig: () => void;
|
|
94
100
|
setDraftRows: (rows: RowLayout[] | null) => void;
|
|
101
|
+
setDraftGroups: (groups: PortletGroup[] | null) => void;
|
|
95
102
|
setIsDraggingPortlet: (isDragging: boolean) => void;
|
|
96
103
|
setLastKnownLayout: (layout: LayoutItem[]) => void;
|
|
97
104
|
setIsInitialized: (initialized: boolean) => void;
|
|
@@ -102,6 +109,7 @@ export interface UseDashboardActions {
|
|
|
102
109
|
} | null) => void;
|
|
103
110
|
clearDragState: () => void;
|
|
104
111
|
hasLayoutActuallyChanged: (newLayout: LayoutItem[]) => boolean;
|
|
112
|
+
updateLayout: (next: LayoutUpdate, save?: boolean) => Promise<void>;
|
|
105
113
|
updateRowLayout: (rows: RowLayout[], save?: boolean, portletsOverride?: PortletConfig[]) => Promise<void>;
|
|
106
114
|
handleLayoutModeChange: (mode: DashboardLayoutMode) => Promise<void>;
|
|
107
115
|
savePortlet: (portletData: PortletConfig | Omit<PortletConfig, 'id' | 'x' | 'y'>) => Promise<string | null>;
|
|
@@ -114,6 +122,11 @@ export interface UseDashboardActions {
|
|
|
114
122
|
selectAllForFilter: (filterId: string) => Promise<void>;
|
|
115
123
|
saveFilterConfig: (mapping: DashboardFilterMapping) => Promise<void>;
|
|
116
124
|
handlePaletteChange: (paletteName: string) => Promise<void>;
|
|
125
|
+
snapPortletIntoGroup: (movedPortletId: string, targetPortletId: string, edge: SnapEdge) => Promise<void>;
|
|
126
|
+
ungroupGroup: (groupId: string) => Promise<void>;
|
|
127
|
+
deleteGroup: (groupId: string) => void;
|
|
128
|
+
renameGroup: (groupId: string, title: string) => Promise<void>;
|
|
129
|
+
openDeleteGroupConfirm: (groupId: string) => void;
|
|
117
130
|
openDeleteConfirm: (portletId: string) => void;
|
|
118
131
|
closeDeleteConfirm: () => void;
|
|
119
132
|
confirmDelete: () => Promise<void>;
|
package/dist/client/hooks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as e } from "./chunks/chart-data-table-
|
|
2
|
-
import { S as t, a as n, c as r, d as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d } from "./chunks/useDirtyStateTracking-
|
|
3
|
-
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "./chunks/useExplainAI-
|
|
1
|
+
import { R as e } from "./chunks/chart-data-table-SNSqZj9B.js";
|
|
2
|
+
import { S as t, a as n, c as r, d as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d } from "./chunks/useDirtyStateTracking-Dc-Si4db.js";
|
|
3
|
+
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "./chunks/useExplainAI-DJbc7Lu4.js";
|
|
4
4
|
import { t as v } from "./chunks/useNotebookLayout-Ck3Z3uzg.js";
|
|
5
5
|
export { m as createExplainQueryKey, c as createFlowQueryKey, r as createFunnelQueryKey, t as useCubeLoadQuery, t as useCubeQuery, e as useCubeMetaQuery, s as useDebounce, d as useDirtyStateTracking, p as useDryRunQueries, f as useDryRunQuery, _ as useExplainAI, g as useExplainQuery, l as useFilterValues, u as useFlowQuery, o as useFunnelQuery, i as useMultiCubeLoadQuery, h as useMultiDryRunQueries, v as useNotebookLayout, a as useResponsiveDashboard, n as useRetentionQuery };
|
package/dist/client/icons.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, b as a, g as o, v as s, w as c, x as l, y as u } from "./chunks/chart-data-table-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, b as a, g as o, v as s, w as c, x as l, y as u } from "./chunks/chart-data-table-SNSqZj9B.js";
|
|
2
2
|
export { t as DEFAULT_ICONS, o as getChartTypeIcon, i as getFieldTypeIcon, s as getIcon, u as getIconData, a as getIconRegistry, l as getIconsByCategory, n as getMeasureTypeIcon, e as registerIcons, c as resetIcons, r as setIcon };
|
package/dist/client/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export { useTheme } from './hooks/useTheme.js';
|
|
|
55
55
|
export { useScrollDetection } from './hooks/useScrollDetection.js';
|
|
56
56
|
export { useElementVisibility } from './hooks/useElementVisibility.js';
|
|
57
57
|
export { useDrillInteraction } from './hooks/useDrillInteraction.js';
|
|
58
|
-
export type { PortletConfig, ChartType, BuiltInChartType, ChartAxisConfig, ChartDisplayConfig, ChartProps, ColorPalette, CubeQuery, CubeQueryOptions, CubeApiOptions, DashboardConfig, FeaturesConfig, XlsExportFeatureConfig, ThumbnailFeatureConfig, MultiQueryConfig, QueryMergeStrategy, FunnelBindingKey, FunnelBindingKeyMapping, FunnelStep, FunnelConfig, FunnelStepResult, FunnelExecutionResult, FunnelChartData, FunnelValidationError, FunnelValidationResult, UseFunnelQueryOptions, UseFunnelQueryResult, ServerFlowQuery, FlowQueryConfig, FlowChartData, FlowSliceState, SankeyNode, SankeyLink, FlowStartingStep, FlowResultRow, } from './types.js';
|
|
58
|
+
export type { PortletConfig, ChartType, BuiltInChartType, ChartAxisConfig, ChartDisplayConfig, ChartProps, ColorPalette, CubeQuery, CubeQueryOptions, CubeApiOptions, DashboardConfig, PortletGroup, PortletGroupCell, FeaturesConfig, XlsExportFeatureConfig, ThumbnailFeatureConfig, 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
59
|
export { isQueryConfig, isFunnelConfig, isFlowConfig, isRetentionConfig, isMultiQuery, isSingleQuery, isValidAnalysisConfig, createDefaultQueryConfig, createDefaultFunnelConfig, createDefaultFlowConfig, createDefaultRetentionConfig, createDefaultConfig, isValidAnalysisWorkspace, createDefaultWorkspace } from './types/analysisConfig.js';
|
|
60
60
|
export type { AnalysisConfig, QueryAnalysisConfig, FunnelAnalysisConfig, FlowAnalysisConfig, RetentionAnalysisConfig, AnalysisWorkspace } from './types/analysisConfig.js';
|
|
61
61
|
export { isMultiQueryConfig, isServerFunnelQuery, isServerFlowQuery, isSankeyData } from './types.js';
|
package/dist/client/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as e, n as t, o as n, r, s as i } from "./chunks/vendor-
|
|
1
|
+
import { a as e, n as t, o as n, r, s as i } from "./chunks/vendor-cTfe9Kho.js";
|
|
2
2
|
import { n as a, t as o } from "./chunks/providers-DwQCKdGW.js";
|
|
3
|
-
import { A as s, B as c, C as l, E as u, I as d, L as f, M as p, N as m, R as h, S as g, T as _, V as v, _ as y, b, c as x, g as S, j as C, k as w, l as T, s as E, v as D, w as O, x as k, y as A, z as j } from "./chunks/chart-data-table-
|
|
4
|
-
import { n as M, r as N } from "./chunks/chart-sankey-
|
|
5
|
-
import { $ as P, A as F, B as I, D as L, E as ee, F as te, G as R, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, Q as de, R as fe, St as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _t as be, a as xe, at as Se, bt as Ce, c as we, ct as Te, dt as Ee, et as De, f as Oe, ft as ke, gt as Ae, h as je, ht as Me, i as Ne, it as Pe, k as Fe, lt as Ie, m as Le, mt as Re, n as ze, o as Be, ot as Ve, p as He, pt as Ue, q as We, r as Ge, st as Ke, t as qe, ut as Je, v as Ye, vt as Xe, w as Ze, xt as Qe, yt as $e, z as et } from "./chunks/DashboardEditModal-
|
|
6
|
-
import { S as tt, _ as nt, b as rt, c as it, d as at, f as ot, g as st, h as ct, l as lt, m as ut, o as dt, p as ft, s as pt, v as mt, y as ht } from "./chunks/useDirtyStateTracking-
|
|
7
|
-
import { P as z, S as gt, _ as _t, b as vt, g as yt, h as bt, m as xt, p as St, v as Ct, x as wt, y as Tt, z as Et } from "./chunks/chart-activity-grid-
|
|
8
|
-
import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./chunks/useExplainAI-
|
|
9
|
-
import { a as Nt, c as Pt, i as Ft, l as It, o as Lt, r as Rt, s as zt } from "./chunks/chart-funnel-
|
|
10
|
-
import { a as Bt, i as Vt, n as Ht, o as Ut, r as Wt, s as Gt, t as Kt } from "./chunks/charts-loader-
|
|
11
|
-
import { H as B } from "./chunks/chart-area-
|
|
3
|
+
import { A as s, B as c, C as l, E as u, I as d, L as f, M as p, N as m, R as h, S as g, T as _, V as v, _ as y, b, c as x, g as S, j as C, k as w, l as T, s as E, v as D, w as O, x as k, y as A, z as j } from "./chunks/chart-data-table-SNSqZj9B.js";
|
|
4
|
+
import { n as M, r as N } from "./chunks/chart-sankey-tK7Oz1bC.js";
|
|
5
|
+
import { $ as P, A as F, B as I, D as L, E as ee, F as te, G as R, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, Q as de, R as fe, St as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _t as be, a as xe, at as Se, bt as Ce, c as we, ct as Te, dt as Ee, et as De, f as Oe, ft as ke, gt as Ae, h as je, ht as Me, i as Ne, it as Pe, k as Fe, lt as Ie, m as Le, mt as Re, n as ze, o as Be, ot as Ve, p as He, pt as Ue, q as We, r as Ge, st as Ke, t as qe, ut as Je, v as Ye, vt as Xe, w as Ze, xt as Qe, yt as $e, z as et } from "./chunks/DashboardEditModal-ByXLlXZD.js";
|
|
6
|
+
import { S as tt, _ as nt, b as rt, c as it, d as at, f as ot, g as st, h as ct, l as lt, m as ut, o as dt, p as ft, s as pt, v as mt, y as ht } from "./chunks/useDirtyStateTracking-Dc-Si4db.js";
|
|
7
|
+
import { P as z, S as gt, _ as _t, b as vt, g as yt, h as bt, m as xt, p as St, v as Ct, x as wt, y as Tt, z as Et } from "./chunks/chart-activity-grid-DVOhLgxv.js";
|
|
8
|
+
import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./chunks/useExplainAI-DJbc7Lu4.js";
|
|
9
|
+
import { a as Nt, c as Pt, i as Ft, l as It, o as Lt, r as Rt, s as zt } from "./chunks/chart-funnel-CkHSXp6h.js";
|
|
10
|
+
import { a as Bt, i as Vt, n as Ht, o as Ut, r as Wt, s as Gt, t as Kt } from "./chunks/charts-loader-0avVzeDd.js";
|
|
11
|
+
import { H as B } from "./chunks/chart-area-C-5ATxvi.js";
|
|
12
12
|
import { r as qt } from "./chunks/syntaxHighlighting-Cm43as8i.js";
|
|
13
|
-
import { A as Jt, C as Yt, D as Xt, E as Zt, F as Qt, N as $t, O as en, P as tn, T as nn, _ as rn, a as an, b as on, c as sn, d as cn, f as ln, g as un, h as dn, i as fn, j as pn, k as mn, l as hn, m as gn, n as _n, o as vn, r as yn, s as bn, t as xn, u as Sn, v as Cn, w as wn, x as Tn, y as En } from "./chunks/analysis-builder-shared-
|
|
14
|
-
import { r as Dn } from "./chunks/chart-markdown-
|
|
13
|
+
import { A as Jt, C as Yt, D as Xt, E as Zt, F as Qt, N as $t, O as en, P as tn, T as nn, _ as rn, a as an, b as on, c as sn, d as cn, f as ln, g as un, h as dn, i as fn, j as pn, k as mn, l as hn, m as gn, n as _n, o as vn, r as yn, s as bn, t as xn, u as Sn, v as Cn, w as wn, x as Tn, y as En } from "./chunks/analysis-builder-shared-l-4WKVS1.js";
|
|
14
|
+
import { r as Dn } from "./chunks/chart-markdown-C0xxBW81.js";
|
|
15
15
|
import { t as On } from "./chunks/useNotebookLayout-Ck3Z3uzg.js";
|
|
16
|
-
import { n as kn } from "./chunks/chart-bubble-
|
|
16
|
+
import { n as kn } from "./chunks/chart-bubble-BFN5WIpf.js";
|
|
17
17
|
import { i as An, t as jn } from "./chunks/utils-CToHkuhU.js";
|
|
18
18
|
import V, { createContext as Mn, useCallback as H, useContext as Nn, useEffect as U, useMemo as W, useRef as G, useState as K } from "react";
|
|
19
19
|
import { Fragment as q, jsx as J, jsxs as Y } from "react/jsx-runtime";
|
package/dist/client/providers.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as e, t } from "./chunks/providers-DwQCKdGW.js";
|
|
2
|
-
import { V as n, c as r, s as i } from "./chunks/chart-data-table-
|
|
2
|
+
import { V as n, c as r, s as i } from "./chunks/chart-data-table-SNSqZj9B.js";
|
|
3
3
|
export { i as CubeProvider, t as ScrollContainerProvider, n as createCubeClient, r as useCubeContext, e as useScrollContainer };
|
package/dist/client/schema.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./chunks/schema-visualization-
|
|
1
|
+
import { t as e } from "./chunks/schema-visualization-CGbnbzj_.js";
|
|
2
2
|
export { e as SchemaVisualization };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
3
|
import { LayoutItem } from 'react-grid-layout';
|
|
4
|
-
import { PortletConfig, RowLayout, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery } from '../types.js';
|
|
4
|
+
import { PortletConfig, RowLayout, PortletGroup, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery } from '../types.js';
|
|
5
5
|
import { FlowChartData } from '../types/flow.js';
|
|
6
6
|
import { RetentionChartData } from '../types/retention.js';
|
|
7
7
|
/**
|
|
@@ -50,12 +50,16 @@ export interface DashboardStoreState {
|
|
|
50
50
|
filterConfigPortlet: PortletConfig | null;
|
|
51
51
|
/** Portlet ID pending delete confirmation (null = no confirmation active) */
|
|
52
52
|
deleteConfirmPortletId: string | null;
|
|
53
|
+
/** Group ID pending delete confirmation (null = no confirmation active) */
|
|
54
|
+
deleteConfirmGroupId: string | null;
|
|
53
55
|
/** Whether text portlet modal is open */
|
|
54
56
|
isTextModalOpen: boolean;
|
|
55
57
|
/** Portlet being edited in text modal (null = adding new) */
|
|
56
58
|
editingTextPortlet: PortletConfig | null;
|
|
57
59
|
/** Draft row layout during drag operations (rows mode) */
|
|
58
60
|
draftRows: RowLayout[] | null;
|
|
61
|
+
/** Draft group layout during drag/resize operations (rows mode) */
|
|
62
|
+
draftGroups: PortletGroup[] | null;
|
|
59
63
|
/** Whether a portlet is currently being dragged */
|
|
60
64
|
isDraggingPortlet: boolean;
|
|
61
65
|
/** Last known layout for change detection */
|
|
@@ -95,10 +99,12 @@ export interface DashboardStoreActions {
|
|
|
95
99
|
closeTextModal: () => void;
|
|
96
100
|
/** Open delete confirmation for a portlet */
|
|
97
101
|
openDeleteConfirm: (portletId: string) => void;
|
|
102
|
+
openDeleteGroupConfirm: (groupId: string) => void;
|
|
98
103
|
/** Close delete confirmation */
|
|
99
104
|
closeDeleteConfirm: () => void;
|
|
100
105
|
/** Set draft rows during drag operations */
|
|
101
106
|
setDraftRows: (rows: RowLayout[] | null) => void;
|
|
107
|
+
setDraftGroups: (groups: PortletGroup[] | null) => void;
|
|
102
108
|
/** Set whether a portlet is being dragged */
|
|
103
109
|
setIsDraggingPortlet: (isDragging: boolean) => void;
|
|
104
110
|
/** Set last known layout for change detection */
|
|
@@ -206,6 +212,7 @@ export declare const selectModalState: (state: DashboardStore) => {
|
|
|
206
212
|
*/
|
|
207
213
|
export declare const selectLayoutState: (state: DashboardStore) => {
|
|
208
214
|
draftRows: RowLayout[] | null;
|
|
215
|
+
draftGroups: PortletGroup[] | null;
|
|
209
216
|
isDraggingPortlet: boolean;
|
|
210
217
|
lastKnownLayout: LayoutItem[];
|
|
211
218
|
isInitialized: boolean;
|
|
@@ -239,6 +246,7 @@ export declare const selectModalActions: (state: DashboardStore) => {
|
|
|
239
246
|
openFilterConfigModal: (portlet: PortletConfig) => void;
|
|
240
247
|
closeFilterConfigModal: () => void;
|
|
241
248
|
openDeleteConfirm: (portletId: string) => void;
|
|
249
|
+
openDeleteGroupConfirm: (groupId: string) => void;
|
|
242
250
|
closeDeleteConfirm: () => void;
|
|
243
251
|
};
|
|
244
252
|
/**
|
|
@@ -246,6 +254,7 @@ export declare const selectModalActions: (state: DashboardStore) => {
|
|
|
246
254
|
*/
|
|
247
255
|
export declare const selectLayoutActions: (state: DashboardStore) => {
|
|
248
256
|
setDraftRows: (rows: RowLayout[] | null) => void;
|
|
257
|
+
setDraftGroups: (groups: PortletGroup[] | null) => void;
|
|
249
258
|
setIsDraggingPortlet: (isDragging: boolean) => void;
|
|
250
259
|
setLastKnownLayout: (layout: LayoutItem[]) => void;
|
|
251
260
|
setIsInitialized: (initialized: boolean) => void;
|
|
@@ -278,6 +287,7 @@ export declare const selectAllActions: (state: DashboardStore) => {
|
|
|
278
287
|
openFilterConfigModal: (portlet: PortletConfig) => void;
|
|
279
288
|
closeFilterConfigModal: () => void;
|
|
280
289
|
openDeleteConfirm: (portletId: string) => void;
|
|
290
|
+
openDeleteGroupConfirm: (groupId: string) => void;
|
|
281
291
|
closeDeleteConfirm: () => void;
|
|
282
292
|
setDraftRows: (rows: RowLayout[] | null) => void;
|
|
283
293
|
setIsDraggingPortlet: (isDragging: boolean) => void;
|