@odoo/o-spreadsheet 18.1.9 → 18.1.10

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.
@@ -1014,6 +1014,9 @@ interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows
1014
1014
  cellValues: {
1015
1015
  [xc: string]: CellValue | undefined;
1016
1016
  };
1017
+ formulaSpillRanges: {
1018
+ [xc: string]: string;
1019
+ };
1017
1020
  charts: FigureData<ExcelChartDefinition>[];
1018
1021
  images: FigureData<Image$1>[];
1019
1022
  tables: ExcelTableData[];
@@ -8019,7 +8022,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8019
8022
  */
8020
8023
  interface AutofillRule {
8021
8024
  condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
8022
- generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
8025
+ generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
8023
8026
  sequence: number;
8024
8027
  }
8025
8028
 
@@ -8392,7 +8395,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8392
8395
  };
8393
8396
  private compositionActive;
8394
8397
  private spreadsheetRect;
8398
+ get assistantStyleProperties(): CSSProperties;
8395
8399
  get assistantStyle(): string;
8400
+ get assistantContainerStyle(): string;
8396
8401
  shouldProcessInputEvents: boolean;
8397
8402
  tokens: EnrichedToken[];
8398
8403
  keyMapping: {
@@ -10160,8 +10165,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10160
10165
  applyUpdate(): void;
10161
10166
  discardPendingUpdate(): void;
10162
10167
  update(definitionUpdate: Partial<PivotCoreDefinition>): void;
10163
- private isDynamicPivotInViewport;
10164
- private isStaticPivotInViewport;
10168
+ /**
10169
+ * @returns true if the updated pivot is visible in the viewport only as a
10170
+ * static pivot and not as a dynamic pivot
10171
+ */
10172
+ private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
10165
10173
  private addDefaultDateTimeGranularity;
10166
10174
  private getUnusedGranularities;
10167
10175
  /**
@@ -13160,6 +13168,7 @@ declare const chartHelpers: {
13160
13168
  getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
13161
13169
  truncateLabel(label: string | undefined): string;
13162
13170
  chartToImage(runtime: ChartRuntime, figure: Figure, type: string): string | undefined;
13171
+ getChartJSConstructor(): typeof chart_js.Chart;
13163
13172
  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>>;
13164
13173
  createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
13165
13174
  GaugeChart: typeof GaugeChart;