@odoo/o-spreadsheet 17.2.4 → 17.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.
@@ -4937,7 +4937,7 @@ declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
4937
4937
  /**
4938
4938
  * Compares two objects.
4939
4939
  */
4940
- declare function deepEquals(o1: any, o2: any): boolean;
4940
+ declare function deepEquals(o1: any, o2: any, ignoreFunctions?: "ignoreFunctions"): boolean;
4941
4941
 
4942
4942
  interface ConstructorArgs {
4943
4943
  readonly zone: Readonly<Zone | UnboundedZone>;
@@ -6858,6 +6858,7 @@ declare class ChartJsComponent extends Component<Props$y, SpreadsheetChildEnv> {
6858
6858
  };
6859
6859
  private canvas;
6860
6860
  private chart?;
6861
+ private currentRuntime;
6861
6862
  get background(): string;
6862
6863
  get canvasStyle(): string;
6863
6864
  get chartRuntime(): ChartJSRuntime;
@@ -8028,7 +8029,9 @@ declare function chartFontColor(backgroundColor: Color | undefined): Color;
8028
8029
  /**
8029
8030
  * Get a default chart js configuration
8030
8031
  */
8031
- declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { format, locale }: LocaleFormat): Required<ChartConfiguration>;
8032
+ declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { format, locale, truncateLabels }: LocaleFormat & {
8033
+ truncateLabels?: boolean;
8034
+ }): Required<ChartConfiguration>;
8032
8035
  /** See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes */
8033
8036
  declare function getFillingMode(index: number): "origin" | number;
8034
8037