@odoo/o-spreadsheet 18.0.17 → 18.0.18

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.
@@ -1033,6 +1033,9 @@ interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows
1033
1033
  cells: {
1034
1034
  [key: string]: ExcelCellData | undefined;
1035
1035
  };
1036
+ formulaSpillRanges: {
1037
+ [xc: string]: string;
1038
+ };
1036
1039
  charts: FigureData<ExcelChartDefinition>[];
1037
1040
  images: FigureData<Image$1>[];
1038
1041
  tables: ExcelTableData[];
@@ -7738,7 +7741,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
7738
7741
  */
7739
7742
  interface AutofillRule {
7740
7743
  condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
7741
- generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
7744
+ generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
7742
7745
  sequence: number;
7743
7746
  }
7744
7747
 
@@ -8111,7 +8114,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8111
8114
  };
8112
8115
  private compositionActive;
8113
8116
  private spreadsheetRect;
8117
+ get assistantStyleProperties(): CSSProperties;
8114
8118
  get assistantStyle(): string;
8119
+ get assistantContainerStyle(): string;
8115
8120
  shouldProcessInputEvents: boolean;
8116
8121
  tokens: EnrichedToken[];
8117
8122
  keyMapping: {
@@ -8952,6 +8957,7 @@ declare class ColResizer extends AbstractResizer {
8952
8957
  static template: string;
8953
8958
  private colResizerRef;
8954
8959
  setup(): void;
8960
+ get sheetId(): UID;
8955
8961
  _getEvOffset(ev: MouseEvent): Pixel;
8956
8962
  _getViewportOffset(): Pixel;
8957
8963
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -8980,6 +8986,7 @@ declare class RowResizer extends AbstractResizer {
8980
8986
  static template: string;
8981
8987
  setup(): void;
8982
8988
  private rowResizerRef;
8989
+ get sheetId(): UID;
8983
8990
  _getEvOffset(ev: MouseEvent): Pixel;
8984
8991
  _getViewportOffset(): Pixel;
8985
8992
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9889,8 +9896,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
9889
9896
  applyUpdate(): void;
9890
9897
  discardPendingUpdate(): void;
9891
9898
  update(definitionUpdate: Partial<PivotCoreDefinition>): void;
9892
- private isDynamicPivotInViewport;
9893
- private isStaticPivotInViewport;
9899
+ /**
9900
+ * @returns true if the updated pivot is visible in the viewport only as a
9901
+ * static pivot and not as a dynamic pivot
9902
+ */
9903
+ private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
9894
9904
  private addDefaultDateTimeGranularity;
9895
9905
  private getUnusedGranularities;
9896
9906
  }