@odoo/o-spreadsheet 17.4.0-alpha.4 → 17.4.0-alpha.6

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.
@@ -202,6 +202,7 @@ interface ComboBarChartDefinition {
202
202
  interface BarChartDefinition extends ComboBarChartDefinition {
203
203
  readonly type: "bar";
204
204
  readonly stacked: boolean;
205
+ readonly horizontal?: boolean;
205
206
  }
206
207
  type BarChartRuntime = {
207
208
  chartJsConfig: ChartConfiguration;
@@ -282,12 +283,21 @@ interface PieChartDefinition {
282
283
  readonly legendPosition: LegendPosition;
283
284
  readonly aggregated?: boolean;
284
285
  readonly axesDesign?: AxesDesign;
286
+ readonly isDoughnut?: boolean;
285
287
  }
286
288
  type PieChartRuntime = {
287
289
  chartJsConfig: ChartConfiguration;
288
290
  background: Color;
289
291
  };
290
292
 
293
+ interface PyramidChartDefinition extends Omit<BarChartDefinition, "type"> {
294
+ readonly type: "pyramid";
295
+ }
296
+ type PyramidChartRuntime = {
297
+ chartJsConfig: ChartConfiguration;
298
+ background: Color;
299
+ };
300
+
291
301
  interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
292
302
  readonly type: "scatter";
293
303
  }
@@ -348,14 +358,14 @@ type WaterfallChartRuntime = {
348
358
  background: Color;
349
359
  };
350
360
 
351
- declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall"];
361
+ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid"];
352
362
  type ChartType = (typeof CHART_TYPES)[number];
353
- type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition;
363
+ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition;
354
364
  type ChartWithAxisDefinition = Extract<ChartDefinition, {
355
365
  dataSets: CustomizedDataSet[];
356
366
  labelRange?: string;
357
367
  }>;
358
- type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime;
368
+ type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime;
359
369
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
360
370
  interface LabelValues {
361
371
  readonly values: string[];
@@ -570,6 +580,11 @@ interface PivotHeaderCell {
570
580
  type: "HEADER";
571
581
  domain: PivotDomain;
572
582
  }
583
+ interface PivotMeasureHeaderCell {
584
+ type: "MEASURE_HEADER";
585
+ domain: PivotDomain;
586
+ measure: string;
587
+ }
573
588
  interface PivotValueCell {
574
589
  type: "VALUE";
575
590
  domain: PivotDomain;
@@ -578,7 +593,7 @@ interface PivotValueCell {
578
593
  interface PivotEmptyCell {
579
594
  type: "EMPTY";
580
595
  }
581
- type PivotTableCell = PivotHeaderCell | PivotValueCell | PivotEmptyCell;
596
+ type PivotTableCell = PivotHeaderCell | PivotMeasureHeaderCell | PivotValueCell | PivotEmptyCell;
582
597
  interface PivotTimeAdapter<T> {
583
598
  normalizeFunctionValue: (value: string) => T;
584
599
  formatValue: (normalizedValue: T, locale?: Locale) => string;
@@ -3198,7 +3213,6 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
3198
3213
  private addPivot;
3199
3214
  private insertPivot;
3200
3215
  private resizeSheet;
3201
- private addPivotFormula;
3202
3216
  private getPivotCore;
3203
3217
  /**
3204
3218
  * Import the pivots
@@ -3878,6 +3892,7 @@ type StatefulStream<Event, State> = {
3878
3892
  * Allows to select cells in the grid and update the selection
3879
3893
  */
3880
3894
  interface SelectionProcessor {
3895
+ getAnchor(): Immutable<AnchorZone>;
3881
3896
  selectZone(anchor: AnchorZone, options?: SelectionEventOptions): DispatchResult;
3882
3897
  selectCell(col: number, row: number): DispatchResult;
3883
3898
  moveAnchorCell(direction: Direction$1, step: SelectionStep): DispatchResult;
@@ -4253,7 +4268,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
4253
4268
  }
4254
4269
 
4255
4270
  declare class PivotUIPlugin extends UIPlugin {
4256
- static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotDomainArgsFromPosition", "isPivotUnused", "areDomainArgsFieldsValid"];
4271
+ static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "isPivotUnused", "areDomainArgsFieldsValid", "isSpillPivotFormula"];
4257
4272
  private pivots;
4258
4273
  private unusedPivots?;
4259
4274
  private custom;
@@ -4265,6 +4280,7 @@ declare class PivotUIPlugin extends UIPlugin {
4265
4280
  * is no pivot at this position
4266
4281
  */
4267
4282
  getPivotIdFromPosition(position: CellPosition): "" | UID | undefined;
4283
+ isSpillPivotFormula(position: CellPosition): boolean;
4268
4284
  getFirstPivotFunction(tokens: Token[]): {
4269
4285
  functionName: string;
4270
4286
  args: (CellValue | Matrix<CellValue> | undefined)[];
@@ -4282,10 +4298,7 @@ declare class PivotUIPlugin extends UIPlugin {
4282
4298
  * If the cell is the result of PIVOT, the result is the domain of the cell
4283
4299
  * as if it was the individual pivot formula
4284
4300
  */
4285
- getPivotDomainArgsFromPosition(position: CellPosition): {
4286
- domainArgs: PivotDomain;
4287
- isHeader?: boolean;
4288
- } | undefined;
4301
+ getPivotCellFromPosition(position: CellPosition): PivotTableCell;
4289
4302
  getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
4290
4303
  isPivotUnused(pivotId: UID): boolean;
4291
4304
  /**
@@ -6255,11 +6268,32 @@ interface ChartBuilder {
6255
6268
  validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
6256
6269
  transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
6257
6270
  getChartDefinitionFromContextCreation(context: ChartCreationContext): ChartDefinition;
6258
- name: string;
6259
6271
  sequence: number;
6260
6272
  }
6273
+ type ChartUICategory = keyof typeof chartCategories;
6274
+ declare const chartCategories: {
6275
+ line: string;
6276
+ column: string;
6277
+ bar: string;
6278
+ pie: string;
6279
+ misc: string;
6280
+ };
6281
+ interface ChartSubtypeProperties {
6282
+ /** Type shown in the chart side panel */
6283
+ chartSubtype: string;
6284
+ /** Translated name of the displayType */
6285
+ displayName: string;
6286
+ /** Type of the chart in the model */
6287
+ chartType: ChartType;
6288
+ /** Match the chart type with a chart display type. Optional if chartType === displayType */
6289
+ matcher?: (definition: ChartDefinition) => boolean;
6290
+ /** Additional definition options to create a chart of type displayType */
6291
+ subtypeDefinition?: Partial<ChartDefinition>;
6292
+ category: ChartUICategory;
6293
+ preview: string;
6294
+ }
6261
6295
 
6262
- interface Props$10 {
6296
+ interface Props$11 {
6263
6297
  label?: string;
6264
6298
  value: boolean;
6265
6299
  className?: string;
@@ -6268,7 +6302,7 @@ interface Props$10 {
6268
6302
  disabled?: boolean;
6269
6303
  onChange: (value: boolean) => void;
6270
6304
  }
6271
- declare class Checkbox extends Component<Props$10, SpreadsheetChildEnv> {
6305
+ declare class Checkbox extends Component<Props$11, SpreadsheetChildEnv> {
6272
6306
  static template: string;
6273
6307
  static props: {
6274
6308
  label: {
@@ -6303,10 +6337,10 @@ declare class Checkbox extends Component<Props$10, SpreadsheetChildEnv> {
6303
6337
  onChange(ev: InputEvent): void;
6304
6338
  }
6305
6339
 
6306
- interface Props$$ {
6340
+ interface Props$10 {
6307
6341
  class?: string;
6308
6342
  }
6309
- declare class Section extends Component<Props$$, SpreadsheetChildEnv> {
6343
+ declare class Section extends Component<Props$10, SpreadsheetChildEnv> {
6310
6344
  static template: string;
6311
6345
  static props: {
6312
6346
  class: {
@@ -6434,7 +6468,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6434
6468
  getIndex(rangeId: number | null): number | null;
6435
6469
  }
6436
6470
 
6437
- interface Props$_ {
6471
+ interface Props$$ {
6438
6472
  ranges: string[];
6439
6473
  hasSingleRange?: boolean;
6440
6474
  required?: boolean;
@@ -6457,7 +6491,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6457
6491
  * onSelectionChanged is called every time the input value
6458
6492
  * changes.
6459
6493
  */
6460
- declare class SelectionInput extends Component<Props$_, SpreadsheetChildEnv> {
6494
+ declare class SelectionInput extends Component<Props$$, SpreadsheetChildEnv> {
6461
6495
  static template: string;
6462
6496
  static props: {
6463
6497
  ranges: ArrayConstructor;
@@ -6512,13 +6546,13 @@ declare class SelectionInput extends Component<Props$_, SpreadsheetChildEnv> {
6512
6546
  confirm(): void;
6513
6547
  }
6514
6548
 
6515
- interface Props$Z {
6549
+ interface Props$_ {
6516
6550
  ranges: CustomizedDataSet[];
6517
6551
  hasSingleRange?: boolean;
6518
6552
  onSelectionChanged: (ranges: string[]) => void;
6519
6553
  onSelectionConfirmed: () => void;
6520
6554
  }
6521
- declare class ChartDataSeries extends Component<Props$Z, SpreadsheetChildEnv> {
6555
+ declare class ChartDataSeries extends Component<Props$_, SpreadsheetChildEnv> {
6522
6556
  static template: string;
6523
6557
  static components: {
6524
6558
  SelectionInput: typeof SelectionInput;
@@ -6538,11 +6572,11 @@ declare class ChartDataSeries extends Component<Props$Z, SpreadsheetChildEnv> {
6538
6572
  get title(): string;
6539
6573
  }
6540
6574
 
6541
- interface Props$Y {
6575
+ interface Props$Z {
6542
6576
  messages: string[];
6543
6577
  msgType: "warning" | "error";
6544
6578
  }
6545
- declare class ValidationMessages extends Component<Props$Y, SpreadsheetChildEnv> {
6579
+ declare class ValidationMessages extends Component<Props$Z, SpreadsheetChildEnv> {
6546
6580
  static template: string;
6547
6581
  static props: {
6548
6582
  messages: ArrayConstructor;
@@ -6551,10 +6585,10 @@ declare class ValidationMessages extends Component<Props$Y, SpreadsheetChildEnv>
6551
6585
  get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
6552
6586
  }
6553
6587
 
6554
- interface Props$X {
6588
+ interface Props$Y {
6555
6589
  messages: string[];
6556
6590
  }
6557
- declare class ChartErrorSection extends Component<Props$X, SpreadsheetChildEnv> {
6591
+ declare class ChartErrorSection extends Component<Props$Y, SpreadsheetChildEnv> {
6558
6592
  static template: string;
6559
6593
  static components: {
6560
6594
  Section: typeof Section;
@@ -6568,7 +6602,7 @@ declare class ChartErrorSection extends Component<Props$X, SpreadsheetChildEnv>
6568
6602
  };
6569
6603
  }
6570
6604
 
6571
- interface Props$W {
6605
+ interface Props$X {
6572
6606
  title?: string;
6573
6607
  range: string;
6574
6608
  isInvalid: boolean;
@@ -6582,7 +6616,7 @@ interface Props$W {
6582
6616
  onChange: (value: boolean) => void;
6583
6617
  }>;
6584
6618
  }
6585
- declare class ChartLabelRange extends Component<Props$W, SpreadsheetChildEnv> {
6619
+ declare class ChartLabelRange extends Component<Props$X, SpreadsheetChildEnv> {
6586
6620
  static template: string;
6587
6621
  static components: {
6588
6622
  SelectionInput: typeof SelectionInput;
@@ -6607,16 +6641,16 @@ declare class ChartLabelRange extends Component<Props$W, SpreadsheetChildEnv> {
6607
6641
  optional: boolean;
6608
6642
  };
6609
6643
  };
6610
- static defaultProps: Partial<Props$W>;
6644
+ static defaultProps: Partial<Props$X>;
6611
6645
  }
6612
6646
 
6613
- interface Props$V {
6647
+ interface Props$W {
6614
6648
  figureId: UID;
6615
6649
  definition: ChartWithAxisDefinition;
6616
6650
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
6617
6651
  updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
6618
6652
  }
6619
- declare class GenericChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
6653
+ declare class GenericChartConfigPanel extends Component<Props$W, SpreadsheetChildEnv> {
6620
6654
  static template: string;
6621
6655
  static components: {
6622
6656
  ChartDataSeries: typeof ChartDataSeries;
@@ -6634,6 +6668,30 @@ declare class GenericChartConfigPanel extends Component<Props$V, SpreadsheetChil
6634
6668
  private state;
6635
6669
  private dataSeriesRanges;
6636
6670
  private labelRange;
6671
+ protected chartTerms: {
6672
+ Series: string;
6673
+ BackgroundColor: string;
6674
+ StackedBarChart: string;
6675
+ StackedLineChart: string;
6676
+ CumulativeData: string;
6677
+ TreatLabelsAsText: string;
6678
+ AggregatedChart: string;
6679
+ Errors: {
6680
+ Unexpected: string;
6681
+ InvalidDataSet: string;
6682
+ InvalidLabelRange: string;
6683
+ InvalidScorecardKeyValue: string;
6684
+ InvalidScorecardBaseline: string;
6685
+ InvalidGaugeDataRange: string;
6686
+ EmptyGaugeRangeMin: string;
6687
+ GaugeRangeMinNaN: string;
6688
+ EmptyGaugeRangeMax: string;
6689
+ GaugeRangeMaxNaN: string;
6690
+ GaugeRangeMinBiggerThanRangeMax: string;
6691
+ GaugeLowerInflectionPointNaN: string;
6692
+ GaugeUpperInflectionPointNaN: string;
6693
+ };
6694
+ };
6637
6695
  setup(): void;
6638
6696
  get errorMessages(): string[];
6639
6697
  get isDatasetInvalid(): boolean;
@@ -6666,7 +6724,6 @@ declare class GenericChartConfigPanel extends Component<Props$V, SpreadsheetChil
6666
6724
 
6667
6725
  declare class BarConfigPanel extends GenericChartConfigPanel {
6668
6726
  static template: string;
6669
- get stackedLabel(): string;
6670
6727
  onUpdateStacked(stacked: boolean): void;
6671
6728
  onUpdateAggregated(aggregated: boolean): void;
6672
6729
  }
@@ -6830,7 +6887,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
6830
6887
  isSameColor(color1: Color, color2: Color): boolean;
6831
6888
  }
6832
6889
 
6833
- interface Props$U {
6890
+ interface Props$V {
6834
6891
  currentColor: string | undefined;
6835
6892
  toggleColorPicker: () => void;
6836
6893
  showColorPicker: boolean;
@@ -6841,7 +6898,7 @@ interface Props$U {
6841
6898
  dropdownMaxHeight?: Pixel;
6842
6899
  class?: string;
6843
6900
  }
6844
- declare class ColorPickerWidget extends Component<Props$U, SpreadsheetChildEnv> {
6901
+ declare class ColorPickerWidget extends Component<Props$V, SpreadsheetChildEnv> {
6845
6902
  static template: string;
6846
6903
  static props: {
6847
6904
  currentColor: {
@@ -6879,12 +6936,12 @@ declare class ColorPickerWidget extends Component<Props$U, SpreadsheetChildEnv>
6879
6936
  get colorPickerAnchorRect(): Rect;
6880
6937
  }
6881
6938
 
6882
- interface Props$T {
6939
+ interface Props$U {
6883
6940
  currentColor?: string;
6884
6941
  onColorPicked: (color: string) => void;
6885
6942
  title?: string;
6886
6943
  }
6887
- declare class RoundColorPicker extends Component<Props$T, SpreadsheetChildEnv> {
6944
+ declare class RoundColorPicker extends Component<Props$U, SpreadsheetChildEnv> {
6888
6945
  static template: string;
6889
6946
  static components: {
6890
6947
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -6914,7 +6971,7 @@ declare class RoundColorPicker extends Component<Props$T, SpreadsheetChildEnv> {
6914
6971
  get buttonStyle(): string;
6915
6972
  }
6916
6973
 
6917
- interface Props$S {
6974
+ interface Props$T {
6918
6975
  title: string;
6919
6976
  updateTitle: (title: string) => void;
6920
6977
  name?: string;
@@ -6924,7 +6981,7 @@ interface Props$S {
6924
6981
  updateColor?: (Color: any) => void;
6925
6982
  style: TitleDesign;
6926
6983
  }
6927
- declare class ChartTitle extends Component<Props$S, SpreadsheetChildEnv> {
6984
+ declare class ChartTitle extends Component<Props$T, SpreadsheetChildEnv> {
6928
6985
  static template: string;
6929
6986
  static components: {
6930
6987
  Section: typeof Section;
@@ -6981,13 +7038,13 @@ interface AxisDefinition {
6981
7038
  id: string;
6982
7039
  name: string;
6983
7040
  }
6984
- interface Props$R {
7041
+ interface Props$S {
6985
7042
  figureId: UID;
6986
7043
  definition: ChartWithAxisDefinition | WaterfallChartDefinition;
6987
7044
  updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition | WaterfallChartDefinition>) => DispatchResult;
6988
7045
  axesList: AxisDefinition[];
6989
7046
  }
6990
- declare class AxisDesignEditor extends Component<Props$R, SpreadsheetChildEnv> {
7047
+ declare class AxisDesignEditor extends Component<Props$S, SpreadsheetChildEnv> {
6991
7048
  static template: string;
6992
7049
  static components: {
6993
7050
  Section: typeof Section;
@@ -7012,12 +7069,12 @@ declare class AxisDesignEditor extends Component<Props$R, SpreadsheetChildEnv> {
7012
7069
  updateAxisTitle(text: string): void;
7013
7070
  }
7014
7071
 
7015
- interface Props$Q {
7072
+ interface Props$R {
7016
7073
  figureId: UID;
7017
7074
  definition: ChartDefinition;
7018
7075
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7019
7076
  }
7020
- declare class GeneralDesignEditor extends Component<Props$Q, SpreadsheetChildEnv> {
7077
+ declare class GeneralDesignEditor extends Component<Props$R, SpreadsheetChildEnv> {
7021
7078
  static template: string;
7022
7079
  static components: {
7023
7080
  RoundColorPicker: typeof RoundColorPicker;
@@ -7047,13 +7104,13 @@ declare class GeneralDesignEditor extends Component<Props$Q, SpreadsheetChildEnv
7047
7104
  updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7048
7105
  }
7049
7106
 
7050
- interface Props$P {
7107
+ interface Props$Q {
7051
7108
  figureId: UID;
7052
7109
  definition: ChartWithAxisDefinition;
7053
7110
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
7054
7111
  updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
7055
7112
  }
7056
- declare class ChartWithAxisDesignPanel extends Component<Props$P, SpreadsheetChildEnv> {
7113
+ declare class ChartWithAxisDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
7057
7114
  static template: string;
7058
7115
  static components: {
7059
7116
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7077,17 +7134,18 @@ declare class ChartWithAxisDesignPanel extends Component<Props$P, SpreadsheetChi
7077
7134
  getDataSerieColor(): "" | Color;
7078
7135
  updateDataSeriesAxis(ev: any): void;
7079
7136
  getDataSerieAxis(): "left" | "right";
7137
+ get canHaveTwoVerticalAxis(): boolean;
7080
7138
  updateDataSeriesLabel(ev: any): void;
7081
7139
  getDataSerieLabel(): string | undefined;
7082
7140
  }
7083
7141
 
7084
- interface Props$O {
7142
+ interface Props$P {
7085
7143
  figureId: UID;
7086
7144
  definition: GaugeChartDefinition;
7087
7145
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7088
7146
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7089
7147
  }
7090
- declare class GaugeChartConfigPanel extends Component<Props$O, SpreadsheetChildEnv> {
7148
+ declare class GaugeChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
7091
7149
  static template: string;
7092
7150
  static components: {
7093
7151
  ChartErrorSection: typeof ChartErrorSection;
@@ -7112,13 +7170,13 @@ interface PanelState {
7112
7170
  sectionRuleDispatchResult?: DispatchResult;
7113
7171
  sectionRule: SectionRule;
7114
7172
  }
7115
- interface Props$N {
7173
+ interface Props$O {
7116
7174
  figureId: UID;
7117
7175
  definition: GaugeChartDefinition;
7118
7176
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7119
7177
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7120
7178
  }
7121
- declare class GaugeChartDesignPanel extends Component<Props$N, SpreadsheetChildEnv> {
7179
+ declare class GaugeChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
7122
7180
  static template: string;
7123
7181
  static components: {
7124
7182
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7139,8 +7197,6 @@ declare class GaugeChartDesignPanel extends Component<Props$N, SpreadsheetChildE
7139
7197
  protected state: PanelState;
7140
7198
  setup(): void;
7141
7199
  get designErrorMessages(): string[];
7142
- updateBackgroundColor(color: Color): void;
7143
- updateTitle(content: string): void;
7144
7200
  isRangeMinInvalid(): boolean;
7145
7201
  isRangeMaxInvalid(): boolean;
7146
7202
  get isLowerInflectionPointInvalid(): boolean;
@@ -7148,14 +7204,11 @@ declare class GaugeChartDesignPanel extends Component<Props$N, SpreadsheetChildE
7148
7204
  updateSectionColor(target: string, color: Color): void;
7149
7205
  updateSectionRule(sectionRule: SectionRule): void;
7150
7206
  canUpdateSectionRule(sectionRule: SectionRule): void;
7151
- get backgroundColorTitle(): string;
7152
7207
  }
7153
7208
 
7154
7209
  declare class LineConfigPanel extends GenericChartConfigPanel {
7155
7210
  static template: string;
7156
7211
  get canTreatLabelsAsText(): boolean;
7157
- get stackedLabel(): string;
7158
- get cumulativeLabel(): string;
7159
7212
  getLabelRangeOptions(): {
7160
7213
  name: string;
7161
7214
  label: string;
@@ -7168,13 +7221,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
7168
7221
  onUpdateCumulative(cumulative: boolean): void;
7169
7222
  }
7170
7223
 
7171
- interface Props$M {
7224
+ interface Props$N {
7172
7225
  figureId: UID;
7173
7226
  definition: ScorecardChartDefinition;
7174
7227
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7175
7228
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7176
7229
  }
7177
- declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetChildEnv> {
7230
+ declare class ScorecardChartConfigPanel extends Component<Props$N, SpreadsheetChildEnv> {
7178
7231
  static template: string;
7179
7232
  static components: {
7180
7233
  SelectionInput: typeof SelectionInput;
@@ -7203,13 +7256,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetCh
7203
7256
  }
7204
7257
 
7205
7258
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
7206
- interface Props$L {
7259
+ interface Props$M {
7207
7260
  figureId: UID;
7208
7261
  definition: ScorecardChartDefinition;
7209
7262
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7210
7263
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7211
7264
  }
7212
- declare class ScorecardChartDesignPanel extends Component<Props$L, SpreadsheetChildEnv> {
7265
+ declare class ScorecardChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
7213
7266
  static template: string;
7214
7267
  static components: {
7215
7268
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7229,12 +7282,10 @@ declare class ScorecardChartDesignPanel extends Component<Props$L, SpreadsheetCh
7229
7282
  };
7230
7283
  get colorsSectionTitle(): string;
7231
7284
  get humanizeNumbersLabel(): string;
7232
- updateTitle(content: string): void;
7233
7285
  updateHumanizeNumbers(humanize: boolean): void;
7234
7286
  translate(term: any): string;
7235
7287
  updateBaselineDescr(ev: any): void;
7236
7288
  setColor(color: Color, colorPickerId: ColorPickerId): void;
7237
- get backgroundColorTitle(): string;
7238
7289
  }
7239
7290
 
7240
7291
  interface ChartSidePanel {
@@ -7367,13 +7418,13 @@ interface EnrichedToken extends Token {
7367
7418
  functionContext?: FunctionContext;
7368
7419
  }
7369
7420
 
7370
- interface Props$K {
7421
+ interface Props$L {
7371
7422
  proposals: AutoCompleteProposal[];
7372
7423
  selectedIndex: number | undefined;
7373
7424
  onValueSelected: (value: string) => void;
7374
7425
  onValueHovered: (index: string) => void;
7375
7426
  }
7376
- declare class TextValueProvider extends Component<Props$K> {
7427
+ declare class TextValueProvider extends Component<Props$L> {
7377
7428
  static template: string;
7378
7429
  static props: {
7379
7430
  proposals: ArrayConstructor;
@@ -7587,7 +7638,7 @@ declare class ContentEditableHelper {
7587
7638
  getText(): string;
7588
7639
  }
7589
7640
 
7590
- interface Props$J {
7641
+ interface Props$K {
7591
7642
  functionName: string;
7592
7643
  functionDescription: FunctionDescription;
7593
7644
  argToFocus: number;
@@ -7595,7 +7646,7 @@ interface Props$J {
7595
7646
  interface AssistantState {
7596
7647
  allowCellSelectionBehind: boolean;
7597
7648
  }
7598
- declare class FunctionDescriptionProvider extends Component<Props$J, SpreadsheetChildEnv> {
7649
+ declare class FunctionDescriptionProvider extends Component<Props$K, SpreadsheetChildEnv> {
7599
7650
  static template: string;
7600
7651
  static props: {
7601
7652
  functionName: StringConstructor;
@@ -7605,7 +7656,7 @@ declare class FunctionDescriptionProvider extends Component<Props$J, Spreadsheet
7605
7656
  assistantState: AssistantState;
7606
7657
  private timeOutId;
7607
7658
  setup(): void;
7608
- getContext(): Props$J;
7659
+ getContext(): Props$K;
7609
7660
  onMouseMove(): void;
7610
7661
  get formulaArgSeparator(): string;
7611
7662
  }
@@ -7796,10 +7847,10 @@ interface AutoCompleteProviderDefinition {
7796
7847
 
7797
7848
  declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
7798
7849
 
7799
- interface Props$I {
7850
+ interface Props$J {
7800
7851
  figure: Figure;
7801
7852
  }
7802
- declare class ChartJsComponent extends Component<Props$I, SpreadsheetChildEnv> {
7853
+ declare class ChartJsComponent extends Component<Props$J, SpreadsheetChildEnv> {
7803
7854
  static template: string;
7804
7855
  static props: {
7805
7856
  figure: ObjectConstructor;
@@ -7815,22 +7866,23 @@ declare class ChartJsComponent extends Component<Props$I, SpreadsheetChildEnv> {
7815
7866
  private updateChartJs;
7816
7867
  }
7817
7868
 
7818
- interface Props$H {
7869
+ interface Props$I {
7819
7870
  figure: Figure;
7820
7871
  }
7821
- declare class ScorecardChart extends Component<Props$H, SpreadsheetChildEnv> {
7872
+ declare class ScorecardChart extends Component<Props$I, SpreadsheetChildEnv> {
7822
7873
  static template: string;
7823
7874
  static props: {
7824
7875
  figure: ObjectConstructor;
7825
7876
  };
7826
7877
  private canvas;
7827
7878
  get runtime(): ScorecardChartRuntime;
7879
+ get title(): string;
7828
7880
  setup(): void;
7829
7881
  private createChart;
7830
7882
  }
7831
7883
 
7832
7884
  type MenuItemOrSeparator = Action | "separator";
7833
- interface Props$G {
7885
+ interface Props$H {
7834
7886
  position: DOMCoordinates;
7835
7887
  menuItems: Action[];
7836
7888
  depth: number;
@@ -7848,7 +7900,7 @@ interface MenuState {
7848
7900
  menuItems: Action[];
7849
7901
  isHoveringChild?: boolean;
7850
7902
  }
7851
- declare class Menu extends Component<Props$G, SpreadsheetChildEnv> {
7903
+ declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
7852
7904
  static template: string;
7853
7905
  static props: {
7854
7906
  position: ObjectConstructor;
@@ -7918,14 +7970,14 @@ declare class Menu extends Component<Props$G, SpreadsheetChildEnv> {
7918
7970
  }
7919
7971
 
7920
7972
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
7921
- interface Props$F {
7973
+ interface Props$G {
7922
7974
  figure: Figure;
7923
7975
  style: string;
7924
7976
  onFigureDeleted: () => void;
7925
7977
  onMouseDown: (ev: MouseEvent) => void;
7926
7978
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
7927
7979
  }
7928
- declare class FigureComponent extends Component<Props$F, SpreadsheetChildEnv> {
7980
+ declare class FigureComponent extends Component<Props$G, SpreadsheetChildEnv> {
7929
7981
  static template: string;
7930
7982
  static props: {
7931
7983
  figure: ObjectConstructor;
@@ -7974,11 +8026,11 @@ declare class FigureComponent extends Component<Props$F, SpreadsheetChildEnv> {
7974
8026
  private openContextMenu;
7975
8027
  }
7976
8028
 
7977
- interface Props$E {
8029
+ interface Props$F {
7978
8030
  figure: Figure;
7979
8031
  onFigureDeleted: () => void;
7980
8032
  }
7981
- declare class ChartFigure extends Component<Props$E, SpreadsheetChildEnv> {
8033
+ declare class ChartFigure extends Component<Props$F, SpreadsheetChildEnv> {
7982
8034
  static template: string;
7983
8035
  static props: {
7984
8036
  figure: ObjectConstructor;
@@ -7990,7 +8042,7 @@ declare class ChartFigure extends Component<Props$E, SpreadsheetChildEnv> {
7990
8042
  get chartComponent(): new (...args: any) => Component;
7991
8043
  }
7992
8044
 
7993
- interface Props$D {
8045
+ interface Props$E {
7994
8046
  isVisible: boolean;
7995
8047
  position: Position;
7996
8048
  }
@@ -8002,7 +8054,7 @@ interface State$8 {
8002
8054
  position: Position;
8003
8055
  handler: boolean;
8004
8056
  }
8005
- declare class Autofill extends Component<Props$D, SpreadsheetChildEnv> {
8057
+ declare class Autofill extends Component<Props$E, SpreadsheetChildEnv> {
8006
8058
  static template: string;
8007
8059
  static props: {
8008
8060
  position: ObjectConstructor;
@@ -8036,7 +8088,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8036
8088
  get tagStyle(): string;
8037
8089
  }
8038
8090
 
8039
- interface Props$C {
8091
+ interface Props$D {
8040
8092
  gridDims: DOMDimension;
8041
8093
  onInputContextMenu: (event: MouseEvent) => void;
8042
8094
  }
@@ -8044,7 +8096,7 @@ interface Props$C {
8044
8096
  * This component is a composer which positions itself on the grid at the anchor cell.
8045
8097
  * It also applies the style of the cell to the composer input.
8046
8098
  */
8047
- declare class GridComposer extends Component<Props$C, SpreadsheetChildEnv> {
8099
+ declare class GridComposer extends Component<Props$D, SpreadsheetChildEnv> {
8048
8100
  static template: string;
8049
8101
  static props: {
8050
8102
  gridDims: ObjectConstructor;
@@ -8101,10 +8153,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8101
8153
  isPositionVisible(position: CellPosition): boolean;
8102
8154
  }
8103
8155
 
8104
- interface Props$B {
8156
+ interface Props$C {
8105
8157
  cellPosition: CellPosition;
8106
8158
  }
8107
- declare class DataValidationCheckbox extends Component<Props$B, SpreadsheetChildEnv> {
8159
+ declare class DataValidationCheckbox extends Component<Props$C, SpreadsheetChildEnv> {
8108
8160
  static template: string;
8109
8161
  static props: {
8110
8162
  cellPosition: ObjectConstructor;
@@ -8114,10 +8166,10 @@ declare class DataValidationCheckbox extends Component<Props$B, SpreadsheetChild
8114
8166
  get isDisabled(): boolean;
8115
8167
  }
8116
8168
 
8117
- interface Props$A {
8169
+ interface Props$B {
8118
8170
  cellPosition: CellPosition;
8119
8171
  }
8120
- declare class DataValidationListIcon extends Component<Props$A, SpreadsheetChildEnv> {
8172
+ declare class DataValidationListIcon extends Component<Props$B, SpreadsheetChildEnv> {
8121
8173
  static template: string;
8122
8174
  static props: {
8123
8175
  cellPosition: ObjectConstructor;
@@ -8147,7 +8199,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8147
8199
  }
8148
8200
 
8149
8201
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8150
- interface Props$z {
8202
+ interface Props$A {
8151
8203
  onFigureDeleted: () => void;
8152
8204
  }
8153
8205
  interface Container {
@@ -8226,7 +8278,7 @@ interface DndState {
8226
8278
  * that occurred during the drag & drop, and to position the figure on the correct pane.
8227
8279
  *
8228
8280
  */
8229
- declare class FiguresContainer extends Component<Props$z, SpreadsheetChildEnv> {
8281
+ declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
8230
8282
  static template: string;
8231
8283
  static props: {
8232
8284
  onFigureDeleted: FunctionConstructor;
@@ -8281,10 +8333,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
8281
8333
  private computePopoverAnchorRect;
8282
8334
  }
8283
8335
 
8284
- interface Props$y {
8336
+ interface Props$z {
8285
8337
  cellPosition: CellPosition;
8286
8338
  }
8287
- declare class FilterIcon extends Component<Props$y, SpreadsheetChildEnv> {
8339
+ declare class FilterIcon extends Component<Props$z, SpreadsheetChildEnv> {
8288
8340
  static template: string;
8289
8341
  static props: {
8290
8342
  cellPosition: ObjectConstructor;
@@ -8306,10 +8358,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
8306
8358
  getFilterHeadersPositions(): CellPosition[];
8307
8359
  }
8308
8360
 
8309
- interface Props$x {
8361
+ interface Props$y {
8310
8362
  focusGrid: () => void;
8311
8363
  }
8312
- declare class GridAddRowsFooter extends Component<Props$x, SpreadsheetChildEnv> {
8364
+ declare class GridAddRowsFooter extends Component<Props$y, SpreadsheetChildEnv> {
8313
8365
  static template: string;
8314
8366
  static props: {
8315
8367
  focusGrid: FunctionConstructor;
@@ -8333,7 +8385,7 @@ declare class GridAddRowsFooter extends Component<Props$x, SpreadsheetChildEnv>
8333
8385
  private onExternalClick;
8334
8386
  }
8335
8387
 
8336
- interface Props$w {
8388
+ interface Props$x {
8337
8389
  onCellHovered: (position: Partial<Position$1>) => void;
8338
8390
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
8339
8391
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
@@ -8343,7 +8395,7 @@ interface Props$w {
8343
8395
  gridOverlayDimensions: string;
8344
8396
  onFigureDeleted: () => void;
8345
8397
  }
8346
- declare class GridOverlay extends Component<Props$w, SpreadsheetChildEnv> {
8398
+ declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
8347
8399
  static template: string;
8348
8400
  static props: {
8349
8401
  onCellHovered: {
@@ -8400,12 +8452,12 @@ declare class GridOverlay extends Component<Props$w, SpreadsheetChildEnv> {
8400
8452
  private getCartesianCoordinates;
8401
8453
  }
8402
8454
 
8403
- interface Props$v {
8455
+ interface Props$w {
8404
8456
  gridRect: Rect;
8405
8457
  onClosePopover: () => void;
8406
8458
  onMouseWheel: (ev: WheelEvent) => void;
8407
8459
  }
8408
- declare class GridPopover extends Component<Props$v, SpreadsheetChildEnv> {
8460
+ declare class GridPopover extends Component<Props$w, SpreadsheetChildEnv> {
8409
8461
  static template: string;
8410
8462
  static props: {
8411
8463
  onClosePopover: FunctionConstructor;
@@ -8548,13 +8600,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
8548
8600
  }
8549
8601
 
8550
8602
  type Orientation$1 = "n" | "s" | "w" | "e";
8551
- interface Props$u {
8603
+ interface Props$v {
8552
8604
  zone: Zone;
8553
8605
  orientation: Orientation$1;
8554
8606
  isMoving: boolean;
8555
8607
  onMoveHighlight: (x: Pixel, y: Pixel) => void;
8556
8608
  }
8557
- declare class Border extends Component<Props$u, SpreadsheetChildEnv> {
8609
+ declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
8558
8610
  static template: string;
8559
8611
  static props: {
8560
8612
  zone: ObjectConstructor;
@@ -8567,14 +8619,14 @@ declare class Border extends Component<Props$u, SpreadsheetChildEnv> {
8567
8619
  }
8568
8620
 
8569
8621
  type Orientation = "nw" | "ne" | "sw" | "se";
8570
- interface Props$t {
8622
+ interface Props$u {
8571
8623
  zone: Zone;
8572
8624
  color: Color;
8573
8625
  orientation: Orientation;
8574
8626
  isResizing: boolean;
8575
8627
  onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
8576
8628
  }
8577
- declare class Corner extends Component<Props$t, SpreadsheetChildEnv> {
8629
+ declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
8578
8630
  static template: string;
8579
8631
  static props: {
8580
8632
  zone: ObjectConstructor;
@@ -8589,14 +8641,14 @@ declare class Corner extends Component<Props$t, SpreadsheetChildEnv> {
8589
8641
  onMouseDown(ev: MouseEvent): void;
8590
8642
  }
8591
8643
 
8592
- interface Props$s {
8644
+ interface Props$t {
8593
8645
  zone: Zone;
8594
8646
  color: Color;
8595
8647
  }
8596
8648
  interface HighlightState {
8597
8649
  shiftingMode: "isMoving" | "isResizing" | "none";
8598
8650
  }
8599
- declare class Highlight extends Component<Props$s, SpreadsheetChildEnv> {
8651
+ declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
8600
8652
  static template: string;
8601
8653
  static props: {
8602
8654
  zone: ObjectConstructor;
@@ -8613,7 +8665,7 @@ declare class Highlight extends Component<Props$s, SpreadsheetChildEnv> {
8613
8665
 
8614
8666
  type ScrollDirection = "horizontal" | "vertical";
8615
8667
 
8616
- interface Props$r {
8668
+ interface Props$s {
8617
8669
  width: Pixel;
8618
8670
  height: Pixel;
8619
8671
  direction: ScrollDirection;
@@ -8621,7 +8673,7 @@ interface Props$r {
8621
8673
  offset: Pixel;
8622
8674
  onScroll: (offset: Pixel) => void;
8623
8675
  }
8624
- declare class ScrollBar extends Component<Props$r> {
8676
+ declare class ScrollBar extends Component<Props$s> {
8625
8677
  static props: {
8626
8678
  width: {
8627
8679
  type: NumberConstructor;
@@ -8649,10 +8701,10 @@ declare class ScrollBar extends Component<Props$r> {
8649
8701
  onScroll(ev: any): void;
8650
8702
  }
8651
8703
 
8652
- interface Props$q {
8704
+ interface Props$r {
8653
8705
  leftOffset: number;
8654
8706
  }
8655
- declare class HorizontalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
8707
+ declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
8656
8708
  static props: {
8657
8709
  leftOffset: {
8658
8710
  type: NumberConstructor;
@@ -8678,10 +8730,10 @@ declare class HorizontalScrollBar extends Component<Props$q, SpreadsheetChildEnv
8678
8730
  onScroll(offset: any): void;
8679
8731
  }
8680
8732
 
8681
- interface Props$p {
8733
+ interface Props$q {
8682
8734
  topOffset: number;
8683
8735
  }
8684
- declare class VerticalScrollBar extends Component<Props$p, SpreadsheetChildEnv> {
8736
+ declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
8685
8737
  static props: {
8686
8738
  topOffset: {
8687
8739
  type: NumberConstructor;
@@ -8707,13 +8759,13 @@ declare class VerticalScrollBar extends Component<Props$p, SpreadsheetChildEnv>
8707
8759
  onScroll(offset: any): void;
8708
8760
  }
8709
8761
 
8710
- interface Props$o {
8762
+ interface Props$p {
8711
8763
  table: Table;
8712
8764
  }
8713
8765
  interface State$7 {
8714
8766
  highlightZone: Zone | undefined;
8715
8767
  }
8716
- declare class TableResizer extends Component<Props$o, SpreadsheetChildEnv> {
8768
+ declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
8717
8769
  static template: string;
8718
8770
  static props: {
8719
8771
  table: ObjectConstructor;
@@ -8745,10 +8797,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
8745
8797
  * - a vertical resizer (same, for rows)
8746
8798
  */
8747
8799
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
8748
- interface Props$n {
8800
+ interface Props$o {
8749
8801
  exposeFocus: (focus: () => void) => void;
8750
8802
  }
8751
- declare class Grid extends Component<Props$n, SpreadsheetChildEnv> {
8803
+ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
8752
8804
  static template: string;
8753
8805
  static props: {
8754
8806
  exposeFocus: FunctionConstructor;
@@ -8854,7 +8906,50 @@ declare class MainChartPanelStore extends SpreadsheetStore {
8854
8906
  panel: "configuration" | "design";
8855
8907
  private creationContext;
8856
8908
  activatePanel(panel: "configuration" | "design"): void;
8857
- changeChartType(figureId: UID, type: ChartType): void;
8909
+ changeChartType(figureId: UID, newDisplayType: string): void;
8910
+ private getChartDefinitionFromContextCreation;
8911
+ }
8912
+
8913
+ interface Props$n {
8914
+ figureId: UID;
8915
+ chartPanelStore: MainChartPanelStore;
8916
+ }
8917
+ interface ChartTypePickerState {
8918
+ popoverProps: PopoverProps | undefined;
8919
+ popoverStyle: string;
8920
+ }
8921
+ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
8922
+ static template: string;
8923
+ static components: {
8924
+ Section: typeof Section;
8925
+ Popover: typeof Popover;
8926
+ };
8927
+ static props: {
8928
+ figureId: StringConstructor;
8929
+ chartPanelStore: ObjectConstructor;
8930
+ };
8931
+ categories: {
8932
+ line: string;
8933
+ column: string;
8934
+ bar: string;
8935
+ pie: string;
8936
+ misc: string;
8937
+ };
8938
+ chartTypeByCategories: Record<string, ChartSubtypeProperties[]>;
8939
+ popoverRef: {
8940
+ el: HTMLElement | null;
8941
+ };
8942
+ selectRef: {
8943
+ el: HTMLElement | null;
8944
+ };
8945
+ state: ChartTypePickerState;
8946
+ setup(): void;
8947
+ onExternalClick(ev: MouseEvent): void;
8948
+ onTypeChange(type: ChartType): void;
8949
+ private getChartDefinition;
8950
+ getSelectedChartSubtypeProperties(): ChartSubtypeProperties;
8951
+ onPointerDown(ev: PointerEvent): void;
8952
+ private closePopover;
8858
8953
  }
8859
8954
 
8860
8955
  interface Props$m {
@@ -8865,6 +8960,7 @@ declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
8865
8960
  static template: string;
8866
8961
  static components: {
8867
8962
  Section: typeof Section;
8963
+ ChartTypePicker: typeof ChartTypePicker;
8868
8964
  };
8869
8965
  static props: {
8870
8966
  onCloseSidePanel: FunctionConstructor;
@@ -8878,7 +8974,6 @@ declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
8878
8974
  onTypeChange(type: ChartType): void;
8879
8975
  get chartPanel(): ChartSidePanel;
8880
8976
  private getChartDefinition;
8881
- get chartTypes(): Record<string, string>;
8882
8977
  }
8883
8978
 
8884
8979
  interface Props$l {
@@ -9298,8 +9393,9 @@ declare function getChartAxisTitleRuntime(design?: AxisDesign): {
9298
9393
  /**
9299
9394
  * Get a default chart js configuration
9300
9395
  */
9301
- declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { format, locale, truncateLabels }: LocaleFormat & {
9396
+ declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, args: LocaleFormat & {
9302
9397
  truncateLabels?: boolean;
9398
+ horizontalChart?: boolean;
9303
9399
  }): Required<ChartConfiguration>;
9304
9400
  /** See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes */
9305
9401
  declare function getFillingMode(index: number): "origin" | number;
@@ -10344,6 +10440,7 @@ declare const registries: {
10344
10440
  chartSidePanelComponentRegistry: Registry<ChartSidePanel>;
10345
10441
  chartComponentRegistry: Registry<new (...args: any) => _odoo_owl.Component<any, any>>;
10346
10442
  chartRegistry: Registry<ChartBuilder>;
10443
+ chartSubtypeRegistry: Registry<ChartSubtypeProperties>;
10347
10444
  topbarMenuRegistry: MenuItemRegistry;
10348
10445
  topbarComponentRegistry: {
10349
10446
  mapping: {
@@ -11343,6 +11440,7 @@ declare const components: {
11343
11440
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
11344
11441
  ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
11345
11442
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
11443
+ ChartTypePicker: typeof ChartTypePicker;
11346
11444
  FigureComponent: typeof FigureComponent;
11347
11445
  Menu: typeof Menu;
11348
11446
  Popover: typeof Popover;
@@ -11399,6 +11497,30 @@ declare const constants: {
11399
11497
  bandedColumns: boolean;
11400
11498
  styleId: string;
11401
11499
  };
11500
+ ChartTerms: {
11501
+ Series: string;
11502
+ BackgroundColor: string;
11503
+ StackedBarChart: string;
11504
+ StackedLineChart: string;
11505
+ CumulativeData: string;
11506
+ TreatLabelsAsText: string;
11507
+ AggregatedChart: string;
11508
+ Errors: {
11509
+ Unexpected: string;
11510
+ InvalidDataSet: string;
11511
+ InvalidLabelRange: string;
11512
+ InvalidScorecardKeyValue: string;
11513
+ InvalidScorecardBaseline: string;
11514
+ InvalidGaugeDataRange: string;
11515
+ EmptyGaugeRangeMin: string;
11516
+ GaugeRangeMinNaN: string;
11517
+ EmptyGaugeRangeMax: string;
11518
+ GaugeRangeMaxNaN: string;
11519
+ GaugeRangeMinBiggerThanRangeMax: string;
11520
+ GaugeLowerInflectionPointNaN: string;
11521
+ GaugeUpperInflectionPointNaN: string;
11522
+ };
11523
+ };
11402
11524
  };
11403
11525
 
11404
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, 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, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, 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, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, 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, 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, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, 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, 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, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
11526
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, 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, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, 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, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, 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, 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, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, 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, 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, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };