@odoo/o-spreadsheet 17.1.0-alpha.0 → 17.1.0-alpha.1

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.
@@ -1320,7 +1320,7 @@ declare class StateObserver {
1320
1320
  commands: CoreCommand[];
1321
1321
  };
1322
1322
  addCommand(command: CoreCommand): void;
1323
- addChange(...args: any[]): void;
1323
+ addChange(...args: [...HistoryChange["path"], any]): void;
1324
1324
  }
1325
1325
 
1326
1326
  interface Validator {
@@ -2420,6 +2420,7 @@ declare const enum CommandResult {
2420
2420
  InvalidFigureId = "InvalidFigureId",
2421
2421
  InputAlreadyFocused = "InputAlreadyFocused",
2422
2422
  MaximumRangesReached = "MaximumRangesReached",
2423
+ MinimumRangesReached = "MinimumRangesReached",
2423
2424
  InvalidChartDefinition = "InvalidChartDefinition",
2424
2425
  InvalidDataSet = "InvalidDataSet",
2425
2426
  InvalidLabelRange = "InvalidLabelRange",
@@ -3914,6 +3915,7 @@ declare class SettingsPlugin extends CorePlugin {
3914
3915
  allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.InvalidLocale;
3915
3916
  handle(cmd: CoreCommand): void;
3916
3917
  getLocale(): Locale;
3918
+ private changeCellsDateFormatWithLocale;
3917
3919
  import(data: WorkbookData): void;
3918
3920
  export(data: WorkbookData): void;
3919
3921
  }
@@ -5247,8 +5249,7 @@ type Getters = {
5247
5249
  } & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EditionPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof HighlightPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof RendererPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof SelectionInputsManagerPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof CellPopoverPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin>;
5248
5250
 
5249
5251
  interface HistoryChange {
5250
- root: any;
5251
- path: (string | number)[];
5252
+ path: [any, ...(number | string)[]];
5252
5253
  before: any;
5253
5254
  after: any;
5254
5255
  }