@odoo/o-spreadsheet 18.2.4 → 18.2.6
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/o-spreadsheet.cjs.js +782 -741
- package/dist/o-spreadsheet.d.ts +9 -6
- package/dist/o-spreadsheet.esm.js +782 -741
- package/dist/o-spreadsheet.iife.js +782 -741
- package/dist/o-spreadsheet.iife.min.js +387 -384
- package/dist/o_spreadsheet.xml +9 -6
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as _odoo_owl from '@odoo/owl';
|
|
|
6
6
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
7
7
|
import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
|
|
8
8
|
import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
|
|
9
|
+
import * as chart_js_dist_types_basic from 'chart.js/dist/types/basic';
|
|
9
10
|
|
|
10
11
|
interface Figure {
|
|
11
12
|
id: UID;
|
|
@@ -7756,11 +7757,11 @@ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv>
|
|
|
7756
7757
|
index: number;
|
|
7757
7758
|
};
|
|
7758
7759
|
getDataSeries(): (string | undefined)[];
|
|
7759
|
-
|
|
7760
|
+
updateEditedSeries(ev: Event): void;
|
|
7760
7761
|
updateDataSeriesColor(color: string): void;
|
|
7761
|
-
|
|
7762
|
-
updateDataSeriesLabel(ev:
|
|
7763
|
-
|
|
7762
|
+
getDataSeriesColor(): "" | Color;
|
|
7763
|
+
updateDataSeriesLabel(ev: Event): void;
|
|
7764
|
+
getDataSeriesLabel(): string | undefined;
|
|
7764
7765
|
}
|
|
7765
7766
|
|
|
7766
7767
|
interface Props$X {
|
|
@@ -7804,7 +7805,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetC
|
|
|
7804
7805
|
getMaxPolynomialDegree(index: any): number;
|
|
7805
7806
|
get defaultWindowSize(): number;
|
|
7806
7807
|
onChangeMovingAverageWindow(index: number, ev: InputEvent): void;
|
|
7807
|
-
|
|
7808
|
+
getDataSeriesColor(index: number): "" | Color;
|
|
7808
7809
|
getTrendLineColor(index: number): string;
|
|
7809
7810
|
updateTrendLineColor(index: number, color: Color): void;
|
|
7810
7811
|
updateTrendLineValue(index: number, config: any): void;
|
|
@@ -12668,6 +12669,7 @@ declare const registries: {
|
|
|
12668
12669
|
supportedPivotPositionalFormulaRegistry: Registry<boolean>;
|
|
12669
12670
|
pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string | undefined) => string>;
|
|
12670
12671
|
migrationStepRegistry: Registry<MigrationStep>;
|
|
12672
|
+
chartJsExtensionRegistry: Registry<chart_js.Plugin<keyof chart_js.ChartTypeRegistry, chart_js_dist_types_basic.AnyObject>>;
|
|
12671
12673
|
};
|
|
12672
12674
|
declare const helpers: {
|
|
12673
12675
|
arg: typeof arg;
|
|
@@ -13317,7 +13319,9 @@ declare const chartHelpers: {
|
|
|
13317
13319
|
formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
13318
13320
|
getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
|
|
13319
13321
|
truncateLabel(label: string | undefined): string;
|
|
13322
|
+
isTrendLineAxis(axisID: string): boolean;
|
|
13320
13323
|
TREND_LINE_XAXIS_ID: "x1";
|
|
13324
|
+
MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
|
|
13321
13325
|
CHART_AXIS_CHOICES: {
|
|
13322
13326
|
value: string;
|
|
13323
13327
|
label: string;
|
|
@@ -13328,7 +13332,6 @@ declare const chartHelpers: {
|
|
|
13328
13332
|
transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
|
|
13329
13333
|
getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
|
|
13330
13334
|
chartToImage(runtime: ChartRuntime, figure: Figure, type: string): string | undefined;
|
|
13331
|
-
getChartJSConstructor(): typeof chart_js.Chart;
|
|
13332
13335
|
CHART_COMMON_OPTIONS: chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>;
|
|
13333
13336
|
createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
|
|
13334
13337
|
GaugeChart: typeof GaugeChart;
|