@odoo/o-spreadsheet 18.2.1 → 18.2.2

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[];
@@ -6837,7 +6840,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6837
6840
  private readonly inputHasSingleRange;
6838
6841
  colors: Color[];
6839
6842
  mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm", "updateColors"];
6840
- ranges: RangeInputValue[];
6843
+ private ranges;
6841
6844
  focusedRangeIndex: number | null;
6842
6845
  private inputSheetId;
6843
6846
  private focusStore;
@@ -8228,7 +8231,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8228
8231
  };
8229
8232
  private compositionActive;
8230
8233
  private spreadsheetRect;
8234
+ get assistantStyleProperties(): CSSProperties;
8231
8235
  get assistantStyle(): string;
8236
+ get assistantContainerStyle(): string;
8232
8237
  shouldProcessInputEvents: boolean;
8233
8238
  tokens: EnrichedToken[];
8234
8239
  keyMapping: {
@@ -8348,7 +8353,7 @@ interface AutoCompleteProviderDefinition {
8348
8353
  */
8349
8354
  interface AutofillRule {
8350
8355
  condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
8351
- generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
8356
+ generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
8352
8357
  sequence: number;
8353
8358
  }
8354
8359
 
@@ -10228,8 +10233,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10228
10233
  applyUpdate(): void;
10229
10234
  discardPendingUpdate(): void;
10230
10235
  update(definitionUpdate: Partial<PivotCoreDefinition>): void;
10231
- private isDynamicPivotInViewport;
10232
- private isStaticPivotInViewport;
10236
+ /**
10237
+ * @returns true if the updated pivot is visible in the viewport only as a
10238
+ * static pivot and not as a dynamic pivot
10239
+ */
10240
+ private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
10233
10241
  private addDefaultDateTimeGranularity;
10234
10242
  private getUnusedGranularities;
10235
10243
  /**
@@ -13232,6 +13240,7 @@ declare const chartHelpers: {
13232
13240
  transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
13233
13241
  getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
13234
13242
  chartToImage(runtime: ChartRuntime, figure: Figure, type: string): string | undefined;
13243
+ getChartJSConstructor(): typeof chart_js.Chart;
13235
13244
  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>>;
13236
13245
  createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
13237
13246
  GaugeChart: typeof GaugeChart;