@odoo/o-spreadsheet 19.1.2 → 19.1.4

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.
@@ -724,7 +724,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
724
724
  [id: string]: Cell;
725
725
  };
726
726
  };
727
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
727
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
728
728
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
729
729
  handle(cmd: CoreCommand): void;
730
730
  private clearZones;
@@ -854,7 +854,7 @@ declare abstract class AbstractChart {
854
854
  * This function should be used to update all the ranges of the chart after
855
855
  * a grid change (add/remove col/row, rename sheet, ...)
856
856
  */
857
- abstract updateRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): AbstractChart;
857
+ abstract updateRanges(rangeAdapters: RangeAdapterFunctions): AbstractChart;
858
858
  /**
859
859
  * Duplicate the chart when a sheet is duplicated.
860
860
  * The ranges that are in the same sheet as the chart are adapted to the new sheetId.
@@ -887,7 +887,7 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
887
887
  readonly charts: Record<UID, FigureChart | undefined>;
888
888
  private createChart;
889
889
  private validateChartDefinition;
890
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): void;
890
+ adaptRanges(rangeAdapters: RangeAdapterFunctions): void;
891
891
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
892
892
  handle(cmd: CoreCommand): void;
893
893
  getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
@@ -925,9 +925,9 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
925
925
  readonly cfRules: {
926
926
  [sheet: string]: ConditionalFormatInternal[];
927
927
  };
928
- adaptCFFormulas(applyChange: ApplyRangeChange): void;
929
- adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
930
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
928
+ adaptCFFormulas({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
929
+ adaptCFRanges(sheetId: UID, { applyChange }: RangeAdapterFunctions): void;
930
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
931
931
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
932
932
  handle(cmd: CoreCommand): void;
933
933
  import(data: WorkbookData): void;
@@ -1100,7 +1100,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
1100
1100
  readonly rules: {
1101
1101
  [sheet: string]: DataValidationRule[];
1102
1102
  };
1103
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1103
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
1104
1104
  private adaptDVFormulas;
1105
1105
  private adaptDVRanges;
1106
1106
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -1135,7 +1135,7 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
1135
1135
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
1136
1136
  };
1137
1137
  readonly insertionOrders: UID[];
1138
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1138
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1139
1139
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1140
1140
  beforeHandle(cmd: CoreCommand): void;
1141
1141
  handle(cmd: CoreCommand): void;
@@ -1336,7 +1336,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
1336
1336
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
1337
1337
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1338
1338
  handle(cmd: CoreCommand): void;
1339
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1339
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
1340
1340
  getMerges(sheetId: UID): Merge[];
1341
1341
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
1342
1342
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
@@ -1580,14 +1580,18 @@ interface Pivot$1 {
1580
1580
  definition: PivotCoreDefinition;
1581
1581
  formulaId: string;
1582
1582
  }
1583
+ interface MeasureState {
1584
+ formula: RangeCompiledFormula;
1585
+ dependencies: Range[];
1586
+ }
1583
1587
  interface CoreState {
1584
1588
  nextFormulaId: number;
1585
1589
  pivots: Record<UID, Pivot$1 | undefined>;
1586
1590
  formulaIds: Record<UID, string | undefined>;
1587
- compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula | undefined>>;
1591
+ compiledMeasureFormulas: Record<UID, Record<string, MeasureState | undefined>>;
1588
1592
  }
1589
1593
  declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
1590
- static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot"];
1594
+ static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot", "getMeasureFullDependencies"];
1591
1595
  readonly nextFormulaId: number;
1592
1596
  readonly pivots: {
1593
1597
  [pivotId: UID]: Pivot$1 | undefined;
@@ -1595,10 +1599,10 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1595
1599
  readonly formulaIds: {
1596
1600
  [formulaId: UID]: UID | undefined;
1597
1601
  };
1598
- readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
1602
+ readonly compiledMeasureFormulas: Record<UID, Record<string, MeasureState>>;
1599
1603
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1600
1604
  handle(cmd: CoreCommand): void;
1601
- adaptRanges(applyChange: ApplyRangeChange): void;
1605
+ adaptRanges({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
1602
1606
  getPivotDisplayName(pivotId: UID): string;
1603
1607
  getPivotName(pivotId: UID): string;
1604
1608
  /**
@@ -1614,9 +1618,11 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1614
1618
  getPivotFormulaId(pivotId: UID): string;
1615
1619
  getPivotIds(): UID[];
1616
1620
  isExistingPivot(pivotId: UID): boolean;
1617
- getMeasureCompiledFormula(measure: PivotCoreMeasure): RangeCompiledFormula;
1621
+ getMeasureCompiledFormula(pivotId: UID, measure: PivotCoreMeasure): RangeCompiledFormula;
1622
+ getMeasureFullDependencies(pivotId: UID, measure: PivotCoreMeasure): Range[];
1618
1623
  private addPivot;
1619
1624
  private compileCalculatedMeasures;
1625
+ private computeMeasureFullDependencies;
1620
1626
  private insertPivot;
1621
1627
  private resizeSheet;
1622
1628
  private getPivotCore;
@@ -1635,12 +1641,12 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1635
1641
  export(data: WorkbookData): void;
1636
1642
  }
1637
1643
 
1638
- declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
1644
+ declare class RangeAdapterPlugin implements CommandHandler<CoreCommand> {
1639
1645
  private getters;
1640
1646
  private providers;
1641
1647
  private isAdaptingRanges;
1642
1648
  constructor(getters: CoreGetters);
1643
- static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
1649
+ static getters: readonly ["copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
1644
1650
  allowDispatch(cmd: CoreCommand): CommandResult;
1645
1651
  beforeHandle(command: Command): void;
1646
1652
  handle(cmd: CoreCommand): void;
@@ -1697,7 +1703,6 @@ declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
1697
1703
  getRangeFromRangeData(data: RangeData): Range;
1698
1704
  isRangeValid(rangeStr: string): boolean;
1699
1705
  getRangesUnion(ranges: Range[]): Range;
1700
- adaptFormulaStringDependencies(sheetId: UID, formula: string, applyChange: ApplyRangeChange): string;
1701
1706
  /**
1702
1707
  * Copy a formula string to another sheet.
1703
1708
  *
@@ -1878,7 +1883,7 @@ declare class StylePlugin extends CorePlugin<StylePluginState> implements StyleP
1878
1883
  readonly styles: Record<UID, ZoneStyle[] | undefined>;
1879
1884
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1880
1885
  handle(cmd: CoreCommand): void;
1881
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1886
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1882
1887
  private handleAddColumnn;
1883
1888
  private handleAddRows;
1884
1889
  private styleIsDefault;
@@ -1986,7 +1991,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
1986
1991
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
1987
1992
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
1988
1993
  readonly nextTableId: number;
1989
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1994
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1990
1995
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1991
1996
  handle(cmd: CoreCommand): void;
1992
1997
  getCoreTables(sheetId: UID): CoreTable[];
@@ -2086,7 +2091,7 @@ type PluginGetters<Plugin extends {
2086
2091
  new (...args: unknown[]): any;
2087
2092
  getters: readonly string[];
2088
2093
  }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
2089
- type RangeAdapterGetters = Pick<RangeAdapter$1, GetterNames<typeof RangeAdapter$1>>;
2094
+ type RangeAdapterGetters = Pick<RangeAdapterPlugin, GetterNames<typeof RangeAdapterPlugin>>;
2090
2095
  type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof StylePlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
2091
2096
 
2092
2097
  type XLSXExportFile = XLSXExportImageFile | XLSXExportXMLFile;
@@ -2861,7 +2866,7 @@ declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Val
2861
2866
  interface CorePluginConfig {
2862
2867
  readonly getters: CoreGetters;
2863
2868
  readonly stateObserver: StateObserver;
2864
- readonly range: RangeAdapter$1;
2869
+ readonly range: RangeAdapterPlugin;
2865
2870
  readonly dispatch: CoreCommandDispatcher["dispatch"];
2866
2871
  readonly canDispatch: CoreCommandDispatcher["dispatch"];
2867
2872
  readonly custom: ModelConfig["custom"];
@@ -2895,7 +2900,7 @@ declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> imp
2895
2900
  * @param sheetId an sheetId to adapt either range of that sheet specifically, or ranges pointing to that sheet
2896
2901
  * @param sheetName couple of old and new sheet names to adapt ranges pointing to that sheet
2897
2902
  */
2898
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
2903
+ adaptRanges(rangeAdapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
2899
2904
  }
2900
2905
 
2901
2906
  type ZoneBorderData = {
@@ -2919,7 +2924,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
2919
2924
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
2920
2925
  handle(cmd: CoreCommand): void;
2921
2926
  beforeHandle(cmd: CoreCommand): void;
2922
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
2927
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
2923
2928
  private onRowRemove;
2924
2929
  private onColRemove;
2925
2930
  getCellBorder(position: CellPosition): Border$1;
@@ -6634,13 +6639,15 @@ declare const enum DIRECTION {
6634
6639
  RIGHT = "right"
6635
6640
  }
6636
6641
  type ChangeType = "REMOVE" | "RESIZE" | "MOVE" | "CHANGE" | "NONE";
6637
- type ApplyRangeChangeResult = {
6638
- changeType: Exclude<ChangeType, "NONE">;
6639
- range: Range;
6640
- } | {
6641
- changeType: "NONE";
6642
+ type ApplyRangeChangeResult<T> = {
6643
+ changeType: ChangeType;
6644
+ range: T;
6642
6645
  };
6643
- type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult;
6646
+ type ApplyFormulaRangeChangeResult = {
6647
+ changeType: ChangeType;
6648
+ formula: string;
6649
+ };
6650
+ type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult<Range>;
6644
6651
  type AdaptSheetName = {
6645
6652
  old: string;
6646
6653
  current: string;
@@ -6650,10 +6657,15 @@ type RangeAdapter = {
6650
6657
  sheetName: AdaptSheetName;
6651
6658
  applyChange: ApplyRangeChange;
6652
6659
  };
6660
+ type RangeAdapterFunctions = {
6661
+ applyChange: ApplyRangeChange;
6662
+ adaptRangeString: (defaultSheetId: UID, sheetXC: string) => ApplyRangeChangeResult<string>;
6663
+ adaptFormulaString: (defaultSheetId: UID, formula: string) => string;
6664
+ };
6653
6665
  type Dimension = "COL" | "ROW";
6654
6666
  type ConsecutiveIndexes = HeaderIndex[];
6655
6667
  interface RangeProvider {
6656
- adaptRanges: (applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName) => void;
6668
+ adaptRanges: (adapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName) => void;
6657
6669
  }
6658
6670
  type Validation<T> = (toValidate: T) => CommandResult | CommandResult[];
6659
6671
  type Increment = 1 | -1 | 0;
@@ -12234,7 +12246,7 @@ declare class ScorecardChart extends AbstractChart {
12234
12246
  getContextCreation(): ChartCreationContext;
12235
12247
  private getDefinitionWithSpecificRanges;
12236
12248
  getDefinitionForExcel(): undefined;
12237
- updateRanges(applyChange: ApplyRangeChange): ScorecardChart;
12249
+ updateRanges({ applyChange }: RangeAdapterFunctions): ScorecardChart;
12238
12250
  }
12239
12251
 
12240
12252
  declare class BarChart extends AbstractChart {
@@ -12261,7 +12273,7 @@ declare class BarChart extends AbstractChart {
12261
12273
  getDefinition(): BarChartDefinition;
12262
12274
  private getDefinitionWithSpecificDataSets;
12263
12275
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12264
- updateRanges(applyChange: ApplyRangeChange): BarChart;
12276
+ updateRanges({ applyChange }: RangeAdapterFunctions): BarChart;
12265
12277
  }
12266
12278
 
12267
12279
  declare class GaugeChart extends AbstractChart {
@@ -12279,7 +12291,7 @@ declare class GaugeChart extends AbstractChart {
12279
12291
  private getDefinitionWithSpecificRanges;
12280
12292
  getDefinitionForExcel(): undefined;
12281
12293
  getContextCreation(): ChartCreationContext;
12282
- updateRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): GaugeChart;
12294
+ updateRanges({ applyChange, adaptFormulaString }: RangeAdapterFunctions): GaugeChart;
12283
12295
  }
12284
12296
 
12285
12297
  declare class LineChart extends AbstractChart {
@@ -12306,7 +12318,7 @@ declare class LineChart extends AbstractChart {
12306
12318
  getDefinition(): LineChartDefinition;
12307
12319
  private getDefinitionWithSpecificDataSets;
12308
12320
  getContextCreation(): ChartCreationContext;
12309
- updateRanges(applyChange: ApplyRangeChange): LineChart;
12321
+ updateRanges({ applyChange }: RangeAdapterFunctions): LineChart;
12310
12322
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12311
12323
  duplicateInDuplicatedSheet(newSheetId: UID): LineChart;
12312
12324
  copyInSheetId(sheetId: UID): LineChart;
@@ -12333,7 +12345,7 @@ declare class PieChart extends AbstractChart {
12333
12345
  duplicateInDuplicatedSheet(newSheetId: UID): PieChart;
12334
12346
  copyInSheetId(sheetId: UID): PieChart;
12335
12347
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12336
- updateRanges(applyChange: ApplyRangeChange): PieChart;
12348
+ updateRanges({ applyChange }: RangeAdapterFunctions): PieChart;
12337
12349
  }
12338
12350
 
12339
12351
  declare class WaterfallChart extends AbstractChart {
@@ -12365,7 +12377,7 @@ declare class WaterfallChart extends AbstractChart {
12365
12377
  getDefinition(): WaterfallChartDefinition;
12366
12378
  private getDefinitionWithSpecificDataSets;
12367
12379
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12368
- updateRanges(applyChange: ApplyRangeChange): WaterfallChart;
12380
+ updateRanges({ applyChange }: RangeAdapterFunctions): WaterfallChart;
12369
12381
  }
12370
12382
 
12371
12383
  declare function getPivotHighlights(getters: Getters, pivotId: UID): Highlight$1[];
@@ -13660,4 +13672,4 @@ declare const chartHelpers: {
13660
13672
  WaterfallChart: typeof WaterfallChart;
13661
13673
  };
13662
13674
 
13663
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicateCarouselChartCommand, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, NumberTooLargeError, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13675
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyFormulaRangeChangeResult, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DivisionByZeroError, DuplicateCarouselChartCommand, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, NumberTooLargeError, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, RGBA, Range, RangeAdapter, RangeAdapterFunctions, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
@@ -2,9 +2,9 @@
2
2
  /*
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 19.1.2
6
- * @date 2026-01-07T16:22:30.262Z
7
- * @hash febc3e9
5
+ * @version 19.1.4
6
+ * @date 2026-01-21T11:08:12.696Z
7
+ * @hash ceae12a
8
8
  */
9
9
  :root {
10
10
  --os-gray-100: light-dark(#f9fafb, #1b1d26);