@odoo/o-spreadsheet 18.2.0-alpha.0 → 18.2.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
  import * as chart_js from 'chart.js';
2
- import { ChartConfiguration, Chart, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
2
+ import { ChartConfiguration, Point, Chart, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
3
3
  import * as ChartGeo from 'chartjs-chart-geo';
4
4
  import * as GeoJSON$1 from 'geojson';
5
5
  import * as _odoo_owl from '@odoo/owl';
@@ -408,7 +408,7 @@ interface ChartRuntimeGenerationArgs {
408
408
  axisFormats: ChartAxisFormats;
409
409
  labels: string[];
410
410
  locale: Locale;
411
- trendDataSetsValues?: ((number | null)[] | undefined)[];
411
+ trendDataSetsValues?: (Point[] | undefined)[];
412
412
  axisType?: AxisType;
413
413
  }
414
414
  /** Generic definition of chart to create a runtime: omit the chart type and the dataRange of the dataSets*/
@@ -1336,6 +1336,7 @@ declare class DateTime {
1336
1336
  setMinutes(minutes: number): number;
1337
1337
  setSeconds(seconds: number): number;
1338
1338
  }
1339
+ declare function isDateTime(str: string, locale: Locale): boolean;
1339
1340
 
1340
1341
  interface FormatWidth {
1341
1342
  availableWidth: number;
@@ -1388,6 +1389,18 @@ declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
1388
1389
  * Compares two objects.
1389
1390
  */
1390
1391
  declare function deepEquals(o1: any, o2: any): boolean;
1392
+ declare function getUniqueText(text: string, texts: string[], options?: {
1393
+ compute?: (text: string, increment: number) => string;
1394
+ start?: number;
1395
+ computeFirstOne?: boolean;
1396
+ }): string;
1397
+
1398
+ /**
1399
+ * Return true if the argument is a "number string".
1400
+ *
1401
+ * Note that "" (empty string) does not count as a number string
1402
+ */
1403
+ declare function isNumber(value: string | undefined, locale: Locale): boolean;
1391
1404
 
1392
1405
  interface ConstructorArgs {
1393
1406
  readonly zone: Readonly<Zone | UnboundedZone>;
@@ -1657,6 +1670,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
1657
1670
  */
1658
1671
  readonly config: ModelConfig;
1659
1672
  private corePluginConfig;
1673
+ private coreViewPluginConfig;
1660
1674
  private uiPluginConfig;
1661
1675
  private state;
1662
1676
  readonly selection: SelectionStreamProcessor;
@@ -1679,6 +1693,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
1679
1693
  joinSession(): void;
1680
1694
  leaveSession(): Promise<void>;
1681
1695
  private setupUiPlugin;
1696
+ private setupCoreViewPlugin;
1682
1697
  /**
1683
1698
  * Initialize and properly configure a plugin.
1684
1699
  *
@@ -1692,6 +1707,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
1692
1707
  private setupConfig;
1693
1708
  private setupExternalConfig;
1694
1709
  private setupCorePluginConfig;
1710
+ private setupCoreViewPluginConfig;
1695
1711
  private setupUiPluginConfig;
1696
1712
  /**
1697
1713
  * Check if the given command is allowed by all the plugins and the history.
@@ -1805,9 +1821,7 @@ interface Validator {
1805
1821
  declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Validator {
1806
1822
  static getters: readonly string[];
1807
1823
  protected history: WorkbookHistory<State>;
1808
- protected dispatch: CommandDispatcher["dispatch"];
1809
- protected canDispatch: CommandDispatcher["dispatch"];
1810
- constructor(stateObserver: StateObserver, dispatch: CommandDispatcher["dispatch"], canDispatch: CommandDispatcher["dispatch"]);
1824
+ constructor(stateObserver: StateObserver);
1811
1825
  /**
1812
1826
  * Export for excel should be available for all plugins, even for the UI.
1813
1827
  * In some case, we need to export evaluated value, which is available from
@@ -1882,6 +1896,8 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
1882
1896
  protected getters: Getters;
1883
1897
  protected ui: UIActions;
1884
1898
  protected selection: SelectionStreamProcessor;
1899
+ protected dispatch: CommandDispatcher["dispatch"];
1900
+ protected canDispatch: CommandDispatcher["dispatch"];
1885
1901
  constructor({ getters, stateObserver, dispatch, canDispatch, uiActions, selection, }: UIPluginConfig);
1886
1902
  drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
1887
1903
  }
@@ -3102,6 +3118,7 @@ declare const enum CommandResult {
3102
3118
  SheetIsHidden = "SheetIsHidden",
3103
3119
  InvalidTableResize = "InvalidTableResize",
3104
3120
  PivotIdNotFound = "PivotIdNotFound",
3121
+ PivotInError = "PivotInError",
3105
3122
  EmptyName = "EmptyName",
3106
3123
  ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
3107
3124
  InvalidDefinition = "InvalidDefinition",
@@ -4045,6 +4062,8 @@ interface CorePluginConstructor {
4045
4062
  */
4046
4063
  declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> implements RangeProvider {
4047
4064
  protected getters: CoreGetters;
4065
+ protected dispatch: CoreCommandDispatcher["dispatch"];
4066
+ protected canDispatch: CoreCommandDispatcher["dispatch"];
4048
4067
  constructor({ getters, stateObserver, range, dispatch, canDispatch }: CorePluginConfig);
4049
4068
  import(data: WorkbookData): void;
4050
4069
  export(data: WorkbookData): void;
@@ -4168,6 +4187,10 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
4168
4187
  * Remove the borders of a zone
4169
4188
  */
4170
4189
  private clearBorders;
4190
+ /**
4191
+ * Remove the borders inside of a zone
4192
+ */
4193
+ private clearInsideBorders;
4171
4194
  /**
4172
4195
  * Add a border to the existing one to a cell
4173
4196
  */
@@ -4324,10 +4347,10 @@ declare abstract class AbstractChart {
4324
4347
  */
4325
4348
  abstract updateRanges(applyChange: ApplyRangeChange): AbstractChart;
4326
4349
  /**
4327
- * Get a copy a the chart adapted to the given sheetId.
4328
- * The ranges that are in the same sheet as the chart will be adapted to the given sheetId.
4350
+ * Duplicate the chart when a sheet is duplicated.
4351
+ * The ranges that are in the same sheet as the chart are adapted to the new sheetId.
4329
4352
  */
4330
- abstract copyForSheetId(sheetId: UID): AbstractChart;
4353
+ abstract duplicateInDuplicatedSheet(newSheetId: UID): AbstractChart;
4331
4354
  /**
4332
4355
  * Get a copy a the chart in the given sheetId.
4333
4356
  * The ranges of the chart will stay the same as the copied chart.
@@ -5002,12 +5025,37 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
5002
5025
  exportForExcel(data: ExcelWorkbookData): void;
5003
5026
  }
5004
5027
 
5005
- declare class EvaluationPlugin extends UIPlugin {
5028
+ interface CoreViewPluginConfig {
5029
+ readonly getters: Getters;
5030
+ readonly stateObserver: StateObserver;
5031
+ readonly selection: SelectionStreamProcessor;
5032
+ readonly moveClient: (position: ClientPosition) => void;
5033
+ readonly uiActions: UIActions;
5034
+ readonly custom: ModelConfig["custom"];
5035
+ readonly session: Session;
5036
+ readonly defaultCurrency?: Partial<Currency>;
5037
+ readonly customColors: Color[];
5038
+ readonly external: ModelConfig["external"];
5039
+ }
5040
+ interface CoreViewPluginConstructor {
5041
+ new (config: CoreViewPluginConfig): CoreViewPlugin;
5042
+ getters: readonly string[];
5043
+ }
5044
+ /**
5045
+ * Core view plugins handle any data derived from core date (i.e. evaluation).
5046
+ * They cannot impact the model data (i.e. cannot dispatch commands).
5047
+ */
5048
+ declare class CoreViewPlugin<State = any> extends BasePlugin<State, Command> {
5049
+ protected getters: Getters;
5050
+ constructor({ getters, stateObserver }: CoreViewPluginConfig);
5051
+ }
5052
+
5053
+ declare class EvaluationPlugin extends CoreViewPlugin {
5006
5054
  static getters: readonly ["evaluateFormula", "evaluateFormulaResult", "evaluateCompiledFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
5007
5055
  private shouldRebuildDependenciesGraph;
5008
5056
  private evaluator;
5009
5057
  private positionsToUpdate;
5010
- constructor(config: UIPluginConfig);
5058
+ constructor(config: CoreViewPluginConfig);
5011
5059
  beforeHandle(cmd: Command): void;
5012
5060
  handle(cmd: CoreViewCommand): void;
5013
5061
  finalize(): void;
@@ -5066,11 +5114,11 @@ interface CustomColorState {
5066
5114
  * This plugins aims to compute and keep to custom colors used in the
5067
5115
  * current spreadsheet
5068
5116
  */
5069
- declare class CustomColorsPlugin extends UIPlugin<CustomColorState> {
5117
+ declare class CustomColorsPlugin extends CoreViewPlugin<CustomColorState> {
5070
5118
  private readonly customColors;
5071
5119
  private readonly shouldUpdateColors;
5072
5120
  static getters: readonly ["getCustomColors"];
5073
- constructor(config: UIPluginConfig);
5121
+ constructor(config: CoreViewPluginConfig);
5074
5122
  handle(cmd: Command): void;
5075
5123
  finalize(): void;
5076
5124
  getCustomColors(): Color[];
@@ -5090,7 +5138,7 @@ interface EvaluationChartStyle {
5090
5138
  interface EvaluationChartState {
5091
5139
  charts: Record<UID, ChartRuntime | undefined>;
5092
5140
  }
5093
- declare class EvaluationChartPlugin extends UIPlugin<EvaluationChartState> {
5141
+ declare class EvaluationChartPlugin extends CoreViewPlugin<EvaluationChartState> {
5094
5142
  static getters: readonly ["getChartRuntime", "getStyleOfSingleCellChart"];
5095
5143
  charts: Record<UID, ChartRuntime | undefined>;
5096
5144
  private createRuntimeChart;
@@ -5103,7 +5151,7 @@ declare class EvaluationChartPlugin extends UIPlugin<EvaluationChartState> {
5103
5151
  exportForExcel(data: ExcelWorkbookData): void;
5104
5152
  }
5105
5153
 
5106
- declare class EvaluationConditionalFormatPlugin extends UIPlugin {
5154
+ declare class EvaluationConditionalFormatPlugin extends CoreViewPlugin {
5107
5155
  static getters: readonly ["getConditionalIcon", "getCellConditionalFormatStyle", "getConditionalDataBar"];
5108
5156
  private isStale;
5109
5157
  private computedStyles;
@@ -5152,7 +5200,7 @@ type ValidationResult = ValidValidationResult | InvalidValidationResult;
5152
5200
  type SheetValidationResult = {
5153
5201
  [col: HeaderIndex]: Array<Lazy<ValidationResult>>;
5154
5202
  };
5155
- declare class EvaluationDataValidationPlugin extends UIPlugin {
5203
+ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
5156
5204
  static getters: readonly ["getDataValidationInvalidCriterionValueMessage", "getInvalidDataValidationMessage", "getValidationResultForCellValue", "isCellValidCheckbox", "isDataValidationInvalid"];
5157
5205
  validationResults: Record<UID, SheetValidationResult>;
5158
5206
  handle(cmd: CoreViewCommand): void;
@@ -5176,7 +5224,7 @@ declare class EvaluationDataValidationPlugin extends UIPlugin {
5176
5224
  private getEvaluatedCriterionValues;
5177
5225
  }
5178
5226
 
5179
- declare class DynamicTablesPlugin extends UIPlugin {
5227
+ declare class DynamicTablesPlugin extends CoreViewPlugin {
5180
5228
  static getters: readonly ["canCreateDynamicTableOnZones", "doesZonesContainFilter", "getFilter", "getFilters", "getTable", "getTables", "getTablesOverlappingZones", "getFilterId", "getFilterHeaders", "isFilterHeader"];
5181
5229
  tables: Record<UID, Table[]>;
5182
5230
  handle(cmd: Command): void;
@@ -5212,7 +5260,7 @@ interface CellWithSize {
5212
5260
  cell: CellPosition;
5213
5261
  size: Pixel;
5214
5262
  }
5215
- declare class HeaderSizeUIPlugin extends UIPlugin<HeaderSizeState> implements HeaderSizeState {
5263
+ declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> implements HeaderSizeState {
5216
5264
  static getters: readonly ["getRowSize", "getHeaderSize"];
5217
5265
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
5218
5266
  private ctx;
@@ -5355,12 +5403,12 @@ interface Pivot<T = PivotRuntimeDefinition> {
5355
5403
  needsReevaluation: boolean;
5356
5404
  }
5357
5405
 
5358
- declare class PivotUIPlugin extends UIPlugin {
5406
+ declare class PivotUIPlugin extends CoreViewPlugin {
5359
5407
  static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
5360
5408
  private pivots;
5361
5409
  private unusedPivots?;
5362
5410
  private custom;
5363
- constructor(config: UIPluginConfig);
5411
+ constructor(config: CoreViewPluginConfig);
5364
5412
  beforeHandle(cmd: Command): void;
5365
5413
  handle(cmd: Command): void;
5366
5414
  /**
@@ -7135,7 +7183,8 @@ declare enum ComponentsImportance {
7135
7183
  TopBarComposer = 30,
7136
7184
  Popover = 35,
7137
7185
  FigureAnchor = 1000,
7138
- FigureSnapLine = 1001
7186
+ FigureSnapLine = 1001,
7187
+ FigureTooltip = 1002
7139
7188
  }
7140
7189
  declare function setDefaultSheetViewSize(size: number): void;
7141
7190
 
@@ -9823,7 +9872,8 @@ declare class TextInput extends Component<Props$m, SpreadsheetChildEnv> {
9823
9872
  setup(): void;
9824
9873
  onKeyDown(ev: KeyboardEvent): void;
9825
9874
  save(): void;
9826
- focusInputAndSelectContent(): void;
9875
+ onMouseDown(ev: MouseEvent): void;
9876
+ onMouseUp(ev: MouseEvent): void;
9827
9877
  }
9828
9878
 
9829
9879
  interface Props$l {
@@ -10122,6 +10172,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10122
10172
  discardPendingUpdate(): void;
10123
10173
  update(definitionUpdate: Partial<PivotCoreDefinition>): void;
10124
10174
  private isDynamicPivotInViewport;
10175
+ private isStaticPivotInViewport;
10125
10176
  private addDefaultDateTimeGranularity;
10126
10177
  private getUnusedGranularities;
10127
10178
  /**
@@ -10360,7 +10411,7 @@ declare class BarChart extends AbstractChart {
10360
10411
  static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
10361
10412
  static getDefinitionFromContextCreation(context: ChartCreationContext): BarChartDefinition;
10362
10413
  getContextCreation(): ChartCreationContext;
10363
- copyForSheetId(sheetId: UID): BarChart;
10414
+ duplicateInDuplicatedSheet(newSheetId: UID): BarChart;
10364
10415
  copyInSheetId(sheetId: UID): BarChart;
10365
10416
  getDefinition(): BarChartDefinition;
10366
10417
  private getDefinitionWithSpecificDataSets;
@@ -10377,7 +10428,7 @@ declare class GaugeChart extends AbstractChart {
10377
10428
  static validateChartDefinition(validator: Validator, definition: GaugeChartDefinition): CommandResult | CommandResult[];
10378
10429
  static transformDefinition(definition: GaugeChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): GaugeChartDefinition;
10379
10430
  static getDefinitionFromContextCreation(context: ChartCreationContext): GaugeChartDefinition;
10380
- copyForSheetId(sheetId: UID): GaugeChart;
10431
+ duplicateInDuplicatedSheet(newSheetId: UID): GaugeChart;
10381
10432
  copyInSheetId(sheetId: UID): GaugeChart;
10382
10433
  getDefinition(): GaugeChartDefinition;
10383
10434
  private getDefinitionWithSpecificRanges;
@@ -10410,7 +10461,7 @@ declare class LineChart extends AbstractChart {
10410
10461
  getContextCreation(): ChartCreationContext;
10411
10462
  updateRanges(applyChange: ApplyRangeChange): LineChart;
10412
10463
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
10413
- copyForSheetId(sheetId: UID): LineChart;
10464
+ duplicateInDuplicatedSheet(newSheetId: UID): LineChart;
10414
10465
  copyInSheetId(sheetId: UID): LineChart;
10415
10466
  }
10416
10467
 
@@ -10431,7 +10482,7 @@ declare class PieChart extends AbstractChart {
10431
10482
  getDefinition(): PieChartDefinition;
10432
10483
  getContextCreation(): ChartCreationContext;
10433
10484
  private getDefinitionWithSpecificDataSets;
10434
- copyForSheetId(sheetId: UID): PieChart;
10485
+ duplicateInDuplicatedSheet(newSheetId: UID): PieChart;
10435
10486
  copyInSheetId(sheetId: UID): PieChart;
10436
10487
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
10437
10488
  updateRanges(applyChange: ApplyRangeChange): PieChart;
@@ -10453,7 +10504,7 @@ declare class ScorecardChart extends AbstractChart {
10453
10504
  static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
10454
10505
  static getDefinitionFromContextCreation(context: ChartCreationContext): ScorecardChartDefinition;
10455
10506
  static transformDefinition(definition: ScorecardChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ScorecardChartDefinition;
10456
- copyForSheetId(sheetId: UID): ScorecardChart;
10507
+ duplicateInDuplicatedSheet(newSheetId: UID): ScorecardChart;
10457
10508
  copyInSheetId(sheetId: UID): ScorecardChart;
10458
10509
  getDefinition(): ScorecardChartDefinition;
10459
10510
  getContextCreation(): ChartCreationContext;
@@ -10485,7 +10536,7 @@ declare class WaterfallChart extends AbstractChart {
10485
10536
  static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
10486
10537
  static getDefinitionFromContextCreation(context: ChartCreationContext): WaterfallChartDefinition;
10487
10538
  getContextCreation(): ChartCreationContext;
10488
- copyForSheetId(sheetId: UID): WaterfallChart;
10539
+ duplicateInDuplicatedSheet(newSheetId: UID): WaterfallChart;
10489
10540
  copyInSheetId(sheetId: UID): WaterfallChart;
10490
10541
  getDefinition(): WaterfallChartDefinition;
10491
10542
  private getDefinitionWithSpecificDataSets;
@@ -11495,7 +11546,7 @@ declare const registries: {
11495
11546
  featurePluginRegistry: Registry<UIPluginConstructor>;
11496
11547
  iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => string | undefined>;
11497
11548
  statefulUIPluginRegistry: Registry<UIPluginConstructor>;
11498
- coreViewsPluginRegistry: Registry<UIPluginConstructor>;
11549
+ coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
11499
11550
  corePluginRegistry: Registry<CorePluginConstructor>;
11500
11551
  rowMenuRegistry: MenuItemRegistry;
11501
11552
  sidePanelRegistry: Registry<SidePanelContent>;
@@ -12520,6 +12571,9 @@ declare const helpers: {
12520
12571
  areDomainArgsFieldsValid: typeof areDomainArgsFieldsValid;
12521
12572
  splitReference: typeof splitReference;
12522
12573
  sanitizeSheetName: typeof sanitizeSheetName;
12574
+ getUniqueText: typeof getUniqueText;
12575
+ isNumber: typeof isNumber;
12576
+ isDateTime: typeof isDateTime;
12523
12577
  };
12524
12578
  declare const links: {
12525
12579
  isMarkdownLink: typeof isMarkdownLink;
@@ -12629,8 +12683,8 @@ declare const chartHelpers: {
12629
12683
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12630
12684
  getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12631
12685
  getGeoChartData(definition: GeoChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
12632
- getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): (number | null)[] | undefined;
12633
- getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): (number | null)[] | undefined;
12686
+ getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): chart_js.Point[] | undefined;
12687
+ getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): chart_js.Point[] | undefined;
12634
12688
  canChartParseLabels(labelRange: Range | undefined, getters: Getters): boolean;
12635
12689
  getData(getters: Getters, ds: DataSet): (CellValue | undefined)[];
12636
12690
  getChartLabelFormat(getters: Getters, range: Range | undefined): Format | undefined;
@@ -13086,8 +13140,8 @@ declare const chartHelpers: {
13086
13140
  dataSets: DataSet[];
13087
13141
  labelRange: Range | undefined;
13088
13142
  };
13089
- copyDataSetsWithNewSheetId(sheetIdFrom: UID, sheetIdTo: UID, dataSets: DataSet[]): DataSet[];
13090
- copyLabelRangeWithNewSheetId(sheetIdFrom: UID, sheetIdTo: UID, range?: Range | undefined): Range | undefined;
13143
+ duplicateDataSetsInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID, dataSets: DataSet[]): DataSet[];
13144
+ duplicateLabelRangeInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID, range?: Range | undefined): Range | undefined;
13091
13145
  adaptChartRange(range: Range | undefined, applyChange: ApplyRangeChange): Range | undefined;
13092
13146
  createDataSets(getters: CoreGetters, customizedDataSets: CustomizedDataSet[], sheetId: UID, dataSetsHaveTitle: boolean): DataSet[];
13093
13147
  toExcelDataset(getters: CoreGetters, ds: DataSet): ExcelChartDataset;
@@ -13106,6 +13160,7 @@ declare const chartHelpers: {
13106
13160
  formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string | undefined) => any;
13107
13161
  formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
13108
13162
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
13163
+ truncateLabel(label: string | undefined): string;
13109
13164
  TREND_LINE_XAXIS_ID: "x1";
13110
13165
  CHART_AXIS_CHOICES: {
13111
13166
  value: string;
@@ -13116,7 +13171,6 @@ declare const chartHelpers: {
13116
13171
  validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
13117
13172
  transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
13118
13173
  getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
13119
- truncateLabel(label: string | undefined): string;
13120
13174
  chartToImage(runtime: ChartRuntime, figure: Figure, type: string): string | undefined;
13121
13175
  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>>;
13122
13176
  createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
@@ -13132,4 +13186,4 @@ declare const chartHelpers: {
13132
13186
  WaterfallChart: typeof WaterfallChart;
13133
13187
  };
13134
13188
 
13135
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13189
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };