From 804bae64f5a3f22c349d0fe4f872065666ac3c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rahir=20=28rar=29?= Date: Wed, 15 Mar 2023 14:52:17 +0000 Subject: [PATCH] [IMP] components: expose FigureComponent to extend chart menus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit recent changes brought by #2091 required to expose another component in order to extend the chart menus in Odoo. closes odoo/o-spreadsheet#2230 Signed-off-by: Lucas Lefèvre (lul) --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 3b5943dd9d..0b372d45c6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,6 @@ import { ChartJsComponent } from "./components/figures/chart/chartJs/chartjs"; import { ScorecardChart } from "./components/figures/chart/scorecard/chart_scorecard"; +import { FigureComponent } from "./components/figures/figure/figure"; import { ChartFigure } from "./components/figures/figure_chart/figure_chart"; import { Grid } from "./components/grid/grid"; import { GridOverlay } from "./components/grid_overlay/grid_overlay"; @@ -208,6 +209,7 @@ export const components = { GaugeChartDesignPanel, ScorecardChartConfigPanel, ScorecardChartDesignPanel, + FigureComponent, }; export function addFunction(functionName: string, functionDescription: FunctionDescription) {