@odoo/o-spreadsheet 18.1.0-alpha.5 → 18.1.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.
@@ -2992,7 +2992,9 @@ declare const enum CommandResult {
2992
2992
  MaxInvalidFormula = "MaxInvalidFormula",
2993
2993
  ValueUpperInvalidFormula = "ValueUpperInvalidFormula",
2994
2994
  ValueLowerInvalidFormula = "ValueLowerInvalidFormula",
2995
+ InvalidSortAnchor = "InvalidSortAnchor",
2995
2996
  InvalidSortZone = "InvalidSortZone",
2997
+ SortZoneWithArrayFormulas = "SortZoneWithArrayFormulas",
2996
2998
  WaitingSessionConfirmation = "WaitingSessionConfirmation",
2997
2999
  MergeOverlap = "MergeOverlap",
2998
3000
  TooManyHiddenElements = "TooManyHiddenElements",
@@ -3047,8 +3049,7 @@ declare const enum CommandResult {
3047
3049
  EmptyName = "EmptyName",
3048
3050
  ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
3049
3051
  InvalidDefinition = "InvalidDefinition",
3050
- InvalidColor = "InvalidColor",
3051
- DataBarRangeValuesMismatch = "DataBarRangeValuesMismatch"
3052
+ InvalidColor = "InvalidColor"
3052
3053
  }
3053
3054
  interface CommandHandler<T> {
3054
3055
  allowDispatch(command: T): CommandResult | CommandResult[];
@@ -4365,7 +4366,6 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
4365
4366
  private checkMidBiggerThanMax;
4366
4367
  private checkMinBiggerThanMid;
4367
4368
  private checkCFValues;
4368
- private checkDataBarRangeValues;
4369
4369
  private removeConditionalFormatting;
4370
4370
  private changeCFPriority;
4371
4371
  }
@@ -5074,7 +5074,6 @@ declare class EvaluationConditionalFormatPlugin extends UIPlugin {
5074
5074
  private applyIcon;
5075
5075
  private computeIcon;
5076
5076
  private applyDataBar;
5077
- private getEvaluatedCellInZone;
5078
5077
  /** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
5079
5078
  private applyColorScale;
5080
5079
  private computeColorDiffUnits;
@@ -5590,6 +5589,7 @@ declare class SortPlugin extends UIPlugin {
5590
5589
  handle(cmd: Command): void;
5591
5590
  private checkMerge;
5592
5591
  private checkMergeSizes;
5592
+ private checkArrayFormulaInSortZone;
5593
5593
  /**
5594
5594
  * This function evaluates if the top row of a provided zone can be considered as a `header`
5595
5595
  * by checking the following criteria:
@@ -6586,7 +6586,7 @@ interface ChartSubtypeProperties {
6586
6586
  preview: string;
6587
6587
  }
6588
6588
 
6589
- interface Props$18 {
6589
+ interface Props$1b {
6590
6590
  label?: string;
6591
6591
  value: boolean;
6592
6592
  className?: string;
@@ -6595,7 +6595,7 @@ interface Props$18 {
6595
6595
  disabled?: boolean;
6596
6596
  onChange: (value: boolean) => void;
6597
6597
  }
6598
- declare class Checkbox extends Component<Props$18, SpreadsheetChildEnv> {
6598
+ declare class Checkbox extends Component<Props$1b, SpreadsheetChildEnv> {
6599
6599
  static template: string;
6600
6600
  static props: {
6601
6601
  label: {
@@ -6630,10 +6630,10 @@ declare class Checkbox extends Component<Props$18, SpreadsheetChildEnv> {
6630
6630
  onChange(ev: InputEvent): void;
6631
6631
  }
6632
6632
 
6633
- interface Props$17 {
6633
+ interface Props$1a {
6634
6634
  class?: string;
6635
6635
  }
6636
- declare class Section extends Component<Props$17, SpreadsheetChildEnv> {
6636
+ declare class Section extends Component<Props$1a, SpreadsheetChildEnv> {
6637
6637
  static template: string;
6638
6638
  static props: {
6639
6639
  class: {
@@ -6766,7 +6766,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6766
6766
  getIndex(rangeId: number | null): number | null;
6767
6767
  }
6768
6768
 
6769
- interface Props$16 {
6769
+ interface Props$19 {
6770
6770
  ranges: string[];
6771
6771
  hasSingleRange?: boolean;
6772
6772
  required?: boolean;
@@ -6789,7 +6789,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6789
6789
  * onSelectionChanged is called every time the input value
6790
6790
  * changes.
6791
6791
  */
6792
- declare class SelectionInput extends Component<Props$16, SpreadsheetChildEnv> {
6792
+ declare class SelectionInput extends Component<Props$19, SpreadsheetChildEnv> {
6793
6793
  static template: string;
6794
6794
  static props: {
6795
6795
  ranges: ArrayConstructor;
@@ -6844,13 +6844,13 @@ declare class SelectionInput extends Component<Props$16, SpreadsheetChildEnv> {
6844
6844
  confirm(): void;
6845
6845
  }
6846
6846
 
6847
- interface Props$15 {
6847
+ interface Props$18 {
6848
6848
  ranges: CustomizedDataSet[];
6849
6849
  hasSingleRange?: boolean;
6850
6850
  onSelectionChanged: (ranges: string[]) => void;
6851
6851
  onSelectionConfirmed: () => void;
6852
6852
  }
6853
- declare class ChartDataSeries extends Component<Props$15, SpreadsheetChildEnv> {
6853
+ declare class ChartDataSeries extends Component<Props$18, SpreadsheetChildEnv> {
6854
6854
  static template: string;
6855
6855
  static components: {
6856
6856
  SelectionInput: typeof SelectionInput;
@@ -6870,12 +6870,12 @@ declare class ChartDataSeries extends Component<Props$15, SpreadsheetChildEnv> {
6870
6870
  get title(): string;
6871
6871
  }
6872
6872
 
6873
- interface Props$14 {
6873
+ interface Props$17 {
6874
6874
  messages: string[];
6875
6875
  msgType: "warning" | "error" | "info";
6876
6876
  singleBox?: boolean;
6877
6877
  }
6878
- declare class ValidationMessages extends Component<Props$14, SpreadsheetChildEnv> {
6878
+ declare class ValidationMessages extends Component<Props$17, SpreadsheetChildEnv> {
6879
6879
  static template: string;
6880
6880
  static props: {
6881
6881
  messages: ArrayConstructor;
@@ -6889,10 +6889,10 @@ declare class ValidationMessages extends Component<Props$14, SpreadsheetChildEnv
6889
6889
  get alertBoxes(): string[][];
6890
6890
  }
6891
6891
 
6892
- interface Props$13 {
6892
+ interface Props$16 {
6893
6893
  messages: string[];
6894
6894
  }
6895
- declare class ChartErrorSection extends Component<Props$13, SpreadsheetChildEnv> {
6895
+ declare class ChartErrorSection extends Component<Props$16, SpreadsheetChildEnv> {
6896
6896
  static template: string;
6897
6897
  static components: {
6898
6898
  Section: typeof Section;
@@ -6906,7 +6906,7 @@ declare class ChartErrorSection extends Component<Props$13, SpreadsheetChildEnv>
6906
6906
  };
6907
6907
  }
6908
6908
 
6909
- interface Props$12 {
6909
+ interface Props$15 {
6910
6910
  title?: string;
6911
6911
  range: string;
6912
6912
  isInvalid: boolean;
@@ -6919,7 +6919,7 @@ interface Props$12 {
6919
6919
  onChange: (value: boolean) => void;
6920
6920
  }>;
6921
6921
  }
6922
- declare class ChartLabelRange extends Component<Props$12, SpreadsheetChildEnv> {
6922
+ declare class ChartLabelRange extends Component<Props$15, SpreadsheetChildEnv> {
6923
6923
  static template: string;
6924
6924
  static components: {
6925
6925
  SelectionInput: typeof SelectionInput;
@@ -6940,16 +6940,16 @@ declare class ChartLabelRange extends Component<Props$12, SpreadsheetChildEnv> {
6940
6940
  optional: boolean;
6941
6941
  };
6942
6942
  };
6943
- static defaultProps: Partial<Props$12>;
6943
+ static defaultProps: Partial<Props$15>;
6944
6944
  }
6945
6945
 
6946
- interface Props$11 {
6946
+ interface Props$14 {
6947
6947
  figureId: UID;
6948
6948
  definition: ChartWithDataSetDefinition;
6949
6949
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
6950
6950
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
6951
6951
  }
6952
- declare class GenericChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
6952
+ declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChildEnv> {
6953
6953
  static template: string;
6954
6954
  static components: {
6955
6955
  ChartDataSeries: typeof ChartDataSeries;
@@ -6988,10 +6988,7 @@ declare class GenericChartConfigPanel extends Component<Props$11, SpreadsheetChi
6988
6988
  GaugeRangeMinNaN: string;
6989
6989
  EmptyGaugeRangeMax: string;
6990
6990
  GaugeRangeMaxNaN: string;
6991
- GaugeRangeMinBiggerThanRangeMax: string; /**
6992
- * Change the local labelRange. The model should be updated when the
6993
- * button "confirm" is clicked
6994
- */
6991
+ GaugeRangeMinBiggerThanRangeMax: string;
6995
6992
  GaugeLowerInflectionPointNaN: string;
6996
6993
  GaugeUpperInflectionPointNaN: string;
6997
6994
  };
@@ -7056,12 +7053,12 @@ interface Choice$1 {
7056
7053
  value: string;
7057
7054
  label: string;
7058
7055
  }
7059
- interface Props$10 {
7056
+ interface Props$13 {
7060
7057
  choices: Choice$1[];
7061
7058
  onChange: (value: string) => void;
7062
7059
  selectedValue: string;
7063
7060
  }
7064
- declare class BadgeSelection extends Component<Props$10, SpreadsheetChildEnv> {
7061
+ declare class BadgeSelection extends Component<Props$13, SpreadsheetChildEnv> {
7065
7062
  static template: string;
7066
7063
  static props: {
7067
7064
  choices: ArrayConstructor;
@@ -7218,7 +7215,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7218
7215
  isSameColor(color1: Color, color2: Color): boolean;
7219
7216
  }
7220
7217
 
7221
- interface Props$$ {
7218
+ interface Props$12 {
7222
7219
  currentColor: string | undefined;
7223
7220
  toggleColorPicker: () => void;
7224
7221
  showColorPicker: boolean;
@@ -7229,7 +7226,7 @@ interface Props$$ {
7229
7226
  dropdownMaxHeight?: Pixel;
7230
7227
  class?: string;
7231
7228
  }
7232
- declare class ColorPickerWidget extends Component<Props$$, SpreadsheetChildEnv> {
7229
+ declare class ColorPickerWidget extends Component<Props$12, SpreadsheetChildEnv> {
7233
7230
  static template: string;
7234
7231
  static props: {
7235
7232
  currentColor: {
@@ -7267,7 +7264,7 @@ declare class ColorPickerWidget extends Component<Props$$, SpreadsheetChildEnv>
7267
7264
  get colorPickerAnchorRect(): Rect;
7268
7265
  }
7269
7266
 
7270
- interface Props$_ {
7267
+ interface Props$11 {
7271
7268
  title?: string;
7272
7269
  updateTitle: (title: string) => void;
7273
7270
  name?: string;
@@ -7277,7 +7274,7 @@ interface Props$_ {
7277
7274
  updateColor?: (Color: any) => void;
7278
7275
  style: TitleDesign;
7279
7276
  }
7280
- declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
7277
+ declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7281
7278
  static template: string;
7282
7279
  static components: {
7283
7280
  Section: typeof Section;
@@ -7340,13 +7337,13 @@ interface AxisDefinition {
7340
7337
  id: string;
7341
7338
  name: string;
7342
7339
  }
7343
- interface Props$Z {
7340
+ interface Props$10 {
7344
7341
  figureId: UID;
7345
7342
  definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7346
7343
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7347
7344
  axesList: AxisDefinition[];
7348
7345
  }
7349
- declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7346
+ declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv> {
7350
7347
  static template: string;
7351
7348
  static components: {
7352
7349
  Section: typeof Section;
@@ -7376,13 +7373,13 @@ declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7376
7373
  updateAxisTitle(text: string): void;
7377
7374
  }
7378
7375
 
7379
- interface Props$Y {
7376
+ interface Props$$ {
7380
7377
  currentColor?: string;
7381
7378
  onColorPicked: (color: string) => void;
7382
7379
  title?: string;
7383
7380
  disableNoColor?: boolean;
7384
7381
  }
7385
- declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7382
+ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7386
7383
  static template: string;
7387
7384
  static components: {
7388
7385
  Section: typeof Section;
@@ -7415,12 +7412,12 @@ declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7415
7412
  get buttonStyle(): string;
7416
7413
  }
7417
7414
 
7418
- interface Props$X {
7415
+ interface Props$_ {
7419
7416
  figureId: UID;
7420
7417
  definition: ChartDefinition;
7421
7418
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7422
7419
  }
7423
- declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7420
+ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7424
7421
  static template: string;
7425
7422
  static components: {
7426
7423
  RoundColorPicker: typeof RoundColorPicker;
@@ -7450,12 +7447,12 @@ declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv
7450
7447
  updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7451
7448
  }
7452
7449
 
7453
- interface Props$W {
7450
+ interface Props$Z {
7454
7451
  figureId: UID;
7455
7452
  definition: ChartWithDataSetDefinition;
7456
7453
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7457
7454
  }
7458
- declare class ChartLegend extends Component<Props$W, SpreadsheetChildEnv> {
7455
+ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7459
7456
  static template: string;
7460
7457
  static components: {
7461
7458
  Section: typeof Section;
@@ -7472,14 +7469,14 @@ interface Choice {
7472
7469
  value: unknown;
7473
7470
  label: string;
7474
7471
  }
7475
- interface Props$V {
7472
+ interface Props$Y {
7476
7473
  choices: Choice[];
7477
7474
  onChange: (value: unknown) => void;
7478
7475
  selectedValue: string;
7479
7476
  name: string;
7480
7477
  direction: "horizontal" | "vertical";
7481
7478
  }
7482
- declare class RadioSelection extends Component<Props$V, SpreadsheetChildEnv> {
7479
+ declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
7483
7480
  static template: string;
7484
7481
  static props: {
7485
7482
  choices: ArrayConstructor;
@@ -7498,13 +7495,13 @@ declare class RadioSelection extends Component<Props$V, SpreadsheetChildEnv> {
7498
7495
  };
7499
7496
  }
7500
7497
 
7501
- interface Props$U {
7498
+ interface Props$X {
7502
7499
  figureId: UID;
7503
7500
  definition: ChartWithDataSetDefinition;
7504
7501
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7505
7502
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7506
7503
  }
7507
- declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
7504
+ declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7508
7505
  static template: string;
7509
7506
  static components: {
7510
7507
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7532,13 +7529,13 @@ declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv>
7532
7529
  getDataSerieLabel(): string | undefined;
7533
7530
  }
7534
7531
 
7535
- interface Props$T {
7532
+ interface Props$W {
7536
7533
  figureId: UID;
7537
7534
  definition: ChartWithDataSetDefinition;
7538
7535
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7539
7536
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7540
7537
  }
7541
- declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
7538
+ declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
7542
7539
  static template: string;
7543
7540
  static components: {
7544
7541
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7579,13 +7576,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetC
7579
7576
  updateTrendLineValue(index: number, config: any): void;
7580
7577
  }
7581
7578
 
7582
- interface Props$S {
7579
+ interface Props$V {
7583
7580
  figureId: UID;
7584
7581
  definition: ChartWithDataSetDefinition;
7585
7582
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7586
7583
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7587
7584
  }
7588
- declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Component<P, SpreadsheetChildEnv> {
7585
+ declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Component<P, SpreadsheetChildEnv> {
7589
7586
  static template: string;
7590
7587
  static components: {
7591
7588
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7605,13 +7602,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Comp
7605
7602
  get axesList(): AxisDefinition[];
7606
7603
  }
7607
7604
 
7608
- interface Props$R {
7605
+ interface Props$U {
7609
7606
  figureId: UID;
7610
7607
  definition: GaugeChartDefinition;
7611
7608
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7612
7609
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7613
7610
  }
7614
- declare class GaugeChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
7611
+ declare class GaugeChartConfigPanel extends Component<Props$U, SpreadsheetChildEnv> {
7615
7612
  static template: string;
7616
7613
  static components: {
7617
7614
  ChartErrorSection: typeof ChartErrorSection;
@@ -7636,13 +7633,13 @@ interface PanelState {
7636
7633
  sectionRuleDispatchResult?: DispatchResult;
7637
7634
  sectionRule: SectionRule;
7638
7635
  }
7639
- interface Props$Q {
7636
+ interface Props$T {
7640
7637
  figureId: UID;
7641
7638
  definition: GaugeChartDefinition;
7642
7639
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7643
7640
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7644
7641
  }
7645
- declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
7642
+ declare class GaugeChartDesignPanel extends Component<Props$T, SpreadsheetChildEnv> {
7646
7643
  static template: string;
7647
7644
  static components: {
7648
7645
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7687,13 +7684,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
7687
7684
  onUpdateCumulative(cumulative: boolean): void;
7688
7685
  }
7689
7686
 
7690
- interface Props$P {
7687
+ interface Props$S {
7691
7688
  figureId: UID;
7692
7689
  definition: ScorecardChartDefinition;
7693
7690
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7694
7691
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7695
7692
  }
7696
- declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
7693
+ declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
7697
7694
  static template: string;
7698
7695
  static components: {
7699
7696
  SelectionInput: typeof SelectionInput;
@@ -7722,13 +7719,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
7722
7719
  }
7723
7720
 
7724
7721
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
7725
- interface Props$O {
7722
+ interface Props$R {
7726
7723
  figureId: UID;
7727
7724
  definition: ScorecardChartDefinition;
7728
7725
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7729
7726
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7730
7727
  }
7731
- declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
7728
+ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
7732
7729
  static template: string;
7733
7730
  static components: {
7734
7731
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7890,13 +7887,13 @@ interface EnrichedToken extends Token {
7890
7887
  isParenthesisLinkedToCursor?: boolean;
7891
7888
  }
7892
7889
 
7893
- interface Props$N {
7890
+ interface Props$Q {
7894
7891
  proposals: AutoCompleteProposal[];
7895
7892
  selectedIndex: number | undefined;
7896
7893
  onValueSelected: (value: string) => void;
7897
7894
  onValueHovered: (index: string) => void;
7898
7895
  }
7899
- declare class TextValueProvider extends Component<Props$N> {
7896
+ declare class TextValueProvider extends Component<Props$Q> {
7900
7897
  static template: string;
7901
7898
  static props: {
7902
7899
  proposals: ArrayConstructor;
@@ -7982,19 +7979,19 @@ declare class ContentEditableHelper {
7982
7979
  getText(): string;
7983
7980
  }
7984
7981
 
7985
- interface Props$M {
7982
+ interface Props$P {
7986
7983
  functionName: string;
7987
7984
  functionDescription: FunctionDescription;
7988
7985
  argToFocus: number;
7989
7986
  }
7990
- declare class FunctionDescriptionProvider extends Component<Props$M, SpreadsheetChildEnv> {
7987
+ declare class FunctionDescriptionProvider extends Component<Props$P, SpreadsheetChildEnv> {
7991
7988
  static template: string;
7992
7989
  static props: {
7993
7990
  functionName: StringConstructor;
7994
7991
  functionDescription: ObjectConstructor;
7995
7992
  argToFocus: NumberConstructor;
7996
7993
  };
7997
- getContext(): Props$M;
7994
+ getContext(): Props$P;
7998
7995
  get formulaArgSeparator(): string;
7999
7996
  }
8000
7997
 
@@ -8372,10 +8369,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8372
8369
  private setComposerContent;
8373
8370
  }
8374
8371
 
8375
- interface Props$L {
8372
+ interface Props$O {
8376
8373
  figure: Figure;
8377
8374
  }
8378
- declare class ChartJsComponent extends Component<Props$L, SpreadsheetChildEnv> {
8375
+ declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
8379
8376
  static template: string;
8380
8377
  static props: {
8381
8378
  figure: ObjectConstructor;
@@ -8391,10 +8388,10 @@ declare class ChartJsComponent extends Component<Props$L, SpreadsheetChildEnv> {
8391
8388
  private updateChartJs;
8392
8389
  }
8393
8390
 
8394
- interface Props$K {
8391
+ interface Props$N {
8395
8392
  figure: Figure;
8396
8393
  }
8397
- declare class ScorecardChart$1 extends Component<Props$K, SpreadsheetChildEnv> {
8394
+ declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
8398
8395
  static template: string;
8399
8396
  static props: {
8400
8397
  figure: ObjectConstructor;
@@ -8407,7 +8404,7 @@ declare class ScorecardChart$1 extends Component<Props$K, SpreadsheetChildEnv> {
8407
8404
  }
8408
8405
 
8409
8406
  type MenuItemOrSeparator = Action | "separator";
8410
- interface Props$J {
8407
+ interface Props$M {
8411
8408
  position: DOMCoordinates;
8412
8409
  menuItems: Action[];
8413
8410
  depth: number;
@@ -8426,7 +8423,7 @@ interface MenuState {
8426
8423
  menuItems: Action[];
8427
8424
  isHoveringChild?: boolean;
8428
8425
  }
8429
- declare class Menu extends Component<Props$J, SpreadsheetChildEnv> {
8426
+ declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
8430
8427
  static template: string;
8431
8428
  static props: {
8432
8429
  position: ObjectConstructor;
@@ -8502,14 +8499,14 @@ declare class Menu extends Component<Props$J, SpreadsheetChildEnv> {
8502
8499
  }
8503
8500
 
8504
8501
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8505
- interface Props$I {
8502
+ interface Props$L {
8506
8503
  figure: Figure;
8507
8504
  style: string;
8508
8505
  onFigureDeleted: () => void;
8509
8506
  onMouseDown: (ev: MouseEvent) => void;
8510
8507
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8511
8508
  }
8512
- declare class FigureComponent extends Component<Props$I, SpreadsheetChildEnv> {
8509
+ declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
8513
8510
  static template: string;
8514
8511
  static props: {
8515
8512
  figure: ObjectConstructor;
@@ -8558,11 +8555,11 @@ declare class FigureComponent extends Component<Props$I, SpreadsheetChildEnv> {
8558
8555
  private openContextMenu;
8559
8556
  }
8560
8557
 
8561
- interface Props$H {
8558
+ interface Props$K {
8562
8559
  figure: Figure;
8563
8560
  onFigureDeleted: () => void;
8564
8561
  }
8565
- declare class ChartFigure extends Component<Props$H, SpreadsheetChildEnv> {
8562
+ declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
8566
8563
  static template: string;
8567
8564
  static props: {
8568
8565
  figure: ObjectConstructor;
@@ -8574,7 +8571,7 @@ declare class ChartFigure extends Component<Props$H, SpreadsheetChildEnv> {
8574
8571
  get chartComponent(): new (...args: any) => Component;
8575
8572
  }
8576
8573
 
8577
- interface Props$G {
8574
+ interface Props$J {
8578
8575
  isVisible: boolean;
8579
8576
  position: Position;
8580
8577
  }
@@ -8586,7 +8583,7 @@ interface State$8 {
8586
8583
  position: Position;
8587
8584
  handler: boolean;
8588
8585
  }
8589
- declare class Autofill extends Component<Props$G, SpreadsheetChildEnv> {
8586
+ declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
8590
8587
  static template: string;
8591
8588
  static props: {
8592
8589
  position: ObjectConstructor;
@@ -8620,7 +8617,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8620
8617
  get tagStyle(): string;
8621
8618
  }
8622
8619
 
8623
- interface Props$F {
8620
+ interface Props$I {
8624
8621
  gridDims: DOMDimension;
8625
8622
  onInputContextMenu: (event: MouseEvent) => void;
8626
8623
  }
@@ -8628,7 +8625,7 @@ interface Props$F {
8628
8625
  * This component is a composer which positions itself on the grid at the anchor cell.
8629
8626
  * It also applies the style of the cell to the composer input.
8630
8627
  */
8631
- declare class GridComposer extends Component<Props$F, SpreadsheetChildEnv> {
8628
+ declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
8632
8629
  static template: string;
8633
8630
  static props: {
8634
8631
  gridDims: ObjectConstructor;
@@ -8686,10 +8683,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8686
8683
  isPositionVisible(position: CellPosition): boolean;
8687
8684
  }
8688
8685
 
8689
- interface Props$E {
8686
+ interface Props$H {
8690
8687
  cellPosition: CellPosition;
8691
8688
  }
8692
- declare class DataValidationCheckbox extends Component<Props$E, SpreadsheetChildEnv> {
8689
+ declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
8693
8690
  static template: string;
8694
8691
  static components: {
8695
8692
  Checkbox: typeof Checkbox;
@@ -8702,10 +8699,10 @@ declare class DataValidationCheckbox extends Component<Props$E, SpreadsheetChild
8702
8699
  get isDisabled(): boolean;
8703
8700
  }
8704
8701
 
8705
- interface Props$D {
8702
+ interface Props$G {
8706
8703
  cellPosition: CellPosition;
8707
8704
  }
8708
- declare class DataValidationListIcon extends Component<Props$D, SpreadsheetChildEnv> {
8705
+ declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
8709
8706
  static template: string;
8710
8707
  static props: {
8711
8708
  cellPosition: ObjectConstructor;
@@ -8735,7 +8732,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8735
8732
  }
8736
8733
 
8737
8734
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8738
- interface Props$C {
8735
+ interface Props$F {
8739
8736
  onFigureDeleted: () => void;
8740
8737
  }
8741
8738
  interface Container {
@@ -8814,7 +8811,7 @@ interface DndState {
8814
8811
  * that occurred during the drag & drop, and to position the figure on the correct pane.
8815
8812
  *
8816
8813
  */
8817
- declare class FiguresContainer extends Component<Props$C, SpreadsheetChildEnv> {
8814
+ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
8818
8815
  static template: string;
8819
8816
  static props: {
8820
8817
  onFigureDeleted: FunctionConstructor;
@@ -8869,10 +8866,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
8869
8866
  private computePopoverAnchorRect;
8870
8867
  }
8871
8868
 
8872
- interface Props$B {
8869
+ interface Props$E {
8873
8870
  cellPosition: CellPosition;
8874
8871
  }
8875
- declare class FilterIcon extends Component<Props$B, SpreadsheetChildEnv> {
8872
+ declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
8876
8873
  static template: string;
8877
8874
  static props: {
8878
8875
  cellPosition: ObjectConstructor;
@@ -8894,10 +8891,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
8894
8891
  getFilterHeadersPositions(): CellPosition[];
8895
8892
  }
8896
8893
 
8897
- interface Props$A {
8894
+ interface Props$D {
8898
8895
  focusGrid: () => void;
8899
8896
  }
8900
- declare class GridAddRowsFooter extends Component<Props$A, SpreadsheetChildEnv> {
8897
+ declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv> {
8901
8898
  static template: string;
8902
8899
  static props: {
8903
8900
  focusGrid: FunctionConstructor;
@@ -8921,7 +8918,7 @@ declare class GridAddRowsFooter extends Component<Props$A, SpreadsheetChildEnv>
8921
8918
  private onExternalClick;
8922
8919
  }
8923
8920
 
8924
- interface Props$z {
8921
+ interface Props$C {
8925
8922
  onCellHovered: (position: Partial<Position$1>) => void;
8926
8923
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
8927
8924
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
@@ -8931,7 +8928,7 @@ interface Props$z {
8931
8928
  gridOverlayDimensions: string;
8932
8929
  onFigureDeleted: () => void;
8933
8930
  }
8934
- declare class GridOverlay extends Component<Props$z, SpreadsheetChildEnv> {
8931
+ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
8935
8932
  static template: string;
8936
8933
  static props: {
8937
8934
  onCellHovered: {
@@ -8989,12 +8986,12 @@ declare class GridOverlay extends Component<Props$z, SpreadsheetChildEnv> {
8989
8986
  private getCartesianCoordinates;
8990
8987
  }
8991
8988
 
8992
- interface Props$y {
8989
+ interface Props$B {
8993
8990
  gridRect: Rect;
8994
8991
  onClosePopover: () => void;
8995
8992
  onMouseWheel: (ev: WheelEvent) => void;
8996
8993
  }
8997
- declare class GridPopover extends Component<Props$y, SpreadsheetChildEnv> {
8994
+ declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
8998
8995
  static template: string;
8999
8996
  static props: {
9000
8997
  onClosePopover: FunctionConstructor;
@@ -9137,13 +9134,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9137
9134
  }
9138
9135
 
9139
9136
  type Orientation$1 = "n" | "s" | "w" | "e";
9140
- interface Props$x {
9137
+ interface Props$A {
9141
9138
  zone: Zone;
9142
9139
  orientation: Orientation$1;
9143
9140
  isMoving: boolean;
9144
9141
  onMoveHighlight: (x: Pixel, y: Pixel) => void;
9145
9142
  }
9146
- declare class Border extends Component<Props$x, SpreadsheetChildEnv> {
9143
+ declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
9147
9144
  static template: string;
9148
9145
  static props: {
9149
9146
  zone: ObjectConstructor;
@@ -9156,14 +9153,14 @@ declare class Border extends Component<Props$x, SpreadsheetChildEnv> {
9156
9153
  }
9157
9154
 
9158
9155
  type Orientation = "nw" | "ne" | "sw" | "se";
9159
- interface Props$w {
9156
+ interface Props$z {
9160
9157
  zone: Zone;
9161
9158
  color: Color;
9162
9159
  orientation: Orientation;
9163
9160
  isResizing: boolean;
9164
9161
  onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
9165
9162
  }
9166
- declare class Corner extends Component<Props$w, SpreadsheetChildEnv> {
9163
+ declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
9167
9164
  static template: string;
9168
9165
  static props: {
9169
9166
  zone: ObjectConstructor;
@@ -9178,14 +9175,14 @@ declare class Corner extends Component<Props$w, SpreadsheetChildEnv> {
9178
9175
  onMouseDown(ev: MouseEvent): void;
9179
9176
  }
9180
9177
 
9181
- interface Props$v {
9178
+ interface Props$y {
9182
9179
  zone: Zone;
9183
9180
  color: Color;
9184
9181
  }
9185
9182
  interface HighlightState {
9186
9183
  shiftingMode: "isMoving" | "isResizing" | "none";
9187
9184
  }
9188
- declare class Highlight extends Component<Props$v, SpreadsheetChildEnv> {
9185
+ declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
9189
9186
  static template: string;
9190
9187
  static props: {
9191
9188
  zone: ObjectConstructor;
@@ -9202,7 +9199,7 @@ declare class Highlight extends Component<Props$v, SpreadsheetChildEnv> {
9202
9199
 
9203
9200
  type ScrollDirection = "horizontal" | "vertical";
9204
9201
 
9205
- interface Props$u {
9202
+ interface Props$x {
9206
9203
  width: Pixel;
9207
9204
  height: Pixel;
9208
9205
  direction: ScrollDirection;
@@ -9210,7 +9207,7 @@ interface Props$u {
9210
9207
  offset: Pixel;
9211
9208
  onScroll: (offset: Pixel) => void;
9212
9209
  }
9213
- declare class ScrollBar extends Component<Props$u> {
9210
+ declare class ScrollBar extends Component<Props$x> {
9214
9211
  static props: {
9215
9212
  width: {
9216
9213
  type: NumberConstructor;
@@ -9238,10 +9235,10 @@ declare class ScrollBar extends Component<Props$u> {
9238
9235
  onScroll(ev: any): void;
9239
9236
  }
9240
9237
 
9241
- interface Props$t {
9238
+ interface Props$w {
9242
9239
  leftOffset: number;
9243
9240
  }
9244
- declare class HorizontalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
9241
+ declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
9245
9242
  static props: {
9246
9243
  leftOffset: {
9247
9244
  type: NumberConstructor;
@@ -9267,10 +9264,10 @@ declare class HorizontalScrollBar extends Component<Props$t, SpreadsheetChildEnv
9267
9264
  onScroll(offset: any): void;
9268
9265
  }
9269
9266
 
9270
- interface Props$s {
9267
+ interface Props$v {
9271
9268
  topOffset: number;
9272
9269
  }
9273
- declare class VerticalScrollBar extends Component<Props$s, SpreadsheetChildEnv> {
9270
+ declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
9274
9271
  static props: {
9275
9272
  topOffset: {
9276
9273
  type: NumberConstructor;
@@ -9296,13 +9293,13 @@ declare class VerticalScrollBar extends Component<Props$s, SpreadsheetChildEnv>
9296
9293
  onScroll(offset: any): void;
9297
9294
  }
9298
9295
 
9299
- interface Props$r {
9296
+ interface Props$u {
9300
9297
  table: Table;
9301
9298
  }
9302
9299
  interface State$7 {
9303
9300
  highlightZone: Zone | undefined;
9304
9301
  }
9305
- declare class TableResizer extends Component<Props$r, SpreadsheetChildEnv> {
9302
+ declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
9306
9303
  static template: string;
9307
9304
  static props: {
9308
9305
  table: ObjectConstructor;
@@ -9334,10 +9331,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
9334
9331
  * - a vertical resizer (same, for rows)
9335
9332
  */
9336
9333
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
9337
- interface Props$q {
9334
+ interface Props$t {
9338
9335
  exposeFocus: (focus: () => void) => void;
9339
9336
  }
9340
- declare class Grid extends Component<Props$q, SpreadsheetChildEnv> {
9337
+ declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
9341
9338
  static template: string;
9342
9339
  static props: {
9343
9340
  exposeFocus: FunctionConstructor;
@@ -9446,7 +9443,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
9446
9443
  private getChartDefinitionFromContextCreation;
9447
9444
  }
9448
9445
 
9449
- interface Props$p {
9446
+ interface Props$s {
9450
9447
  figureId: UID;
9451
9448
  chartPanelStore: MainChartPanelStore;
9452
9449
  }
@@ -9454,7 +9451,7 @@ interface ChartTypePickerState {
9454
9451
  popoverProps: PopoverProps | undefined;
9455
9452
  popoverStyle: string;
9456
9453
  }
9457
- declare class ChartTypePicker extends Component<Props$p, SpreadsheetChildEnv> {
9454
+ declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
9458
9455
  static template: string;
9459
9456
  static components: {
9460
9457
  Section: typeof Section;
@@ -9489,11 +9486,11 @@ declare class ChartTypePicker extends Component<Props$p, SpreadsheetChildEnv> {
9489
9486
  private closePopover;
9490
9487
  }
9491
9488
 
9492
- interface Props$o {
9489
+ interface Props$r {
9493
9490
  onCloseSidePanel: () => void;
9494
9491
  figureId: UID;
9495
9492
  }
9496
- declare class ChartPanel extends Component<Props$o, SpreadsheetChildEnv> {
9493
+ declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
9497
9494
  static template: string;
9498
9495
  static components: {
9499
9496
  Section: typeof Section;
@@ -9513,13 +9510,13 @@ declare class ChartPanel extends Component<Props$o, SpreadsheetChildEnv> {
9513
9510
  private getChartDefinition;
9514
9511
  }
9515
9512
 
9516
- interface Props$n {
9513
+ interface Props$q {
9517
9514
  figureId: UID;
9518
9515
  definition: PieChartDefinition;
9519
9516
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9520
9517
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9521
9518
  }
9522
- declare class PieChartDesignPanel extends Component<Props$n, SpreadsheetChildEnv> {
9519
+ declare class PieChartDesignPanel extends Component<Props$q, SpreadsheetChildEnv> {
9523
9520
  static template: string;
9524
9521
  static components: {
9525
9522
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9538,10 +9535,10 @@ declare class PieChartDesignPanel extends Component<Props$n, SpreadsheetChildEnv
9538
9535
  };
9539
9536
  }
9540
9537
 
9541
- interface Props$m {
9538
+ interface Props$p {
9542
9539
  items: ActionSpec[];
9543
9540
  }
9544
- declare class CogWheelMenu extends Component<Props$m, SpreadsheetChildEnv> {
9541
+ declare class CogWheelMenu extends Component<Props$p, SpreadsheetChildEnv> {
9545
9542
  static template: string;
9546
9543
  static components: {
9547
9544
  Menu: typeof Menu;
@@ -9624,14 +9621,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
9624
9621
  get highlights(): Highlight$1[];
9625
9622
  }
9626
9623
 
9627
- interface Props$l {
9624
+ interface Props$o {
9628
9625
  deferUpdate: boolean;
9629
9626
  isDirty: boolean;
9630
9627
  toggleDeferUpdate: (value: boolean) => void;
9631
9628
  discard: () => void;
9632
9629
  apply: () => void;
9633
9630
  }
9634
- declare class PivotDeferUpdate extends Component<Props$l, SpreadsheetChildEnv> {
9631
+ declare class PivotDeferUpdate extends Component<Props$o, SpreadsheetChildEnv> {
9635
9632
  static template: string;
9636
9633
  static props: {
9637
9634
  deferUpdate: BooleanConstructor;
@@ -9648,11 +9645,11 @@ declare class PivotDeferUpdate extends Component<Props$l, SpreadsheetChildEnv> {
9648
9645
  get deferUpdatesTooltip(): string;
9649
9646
  }
9650
9647
 
9651
- interface Props$k {
9648
+ interface Props$n {
9652
9649
  onFieldPicked: (field: string) => void;
9653
9650
  fields: PivotField[];
9654
9651
  }
9655
- declare class AddDimensionButton extends Component<Props$k, SpreadsheetChildEnv> {
9652
+ declare class AddDimensionButton extends Component<Props$n, SpreadsheetChildEnv> {
9656
9653
  static template: string;
9657
9654
  static components: {
9658
9655
  Popover: typeof Popover;
@@ -9688,14 +9685,14 @@ declare class AddDimensionButton extends Component<Props$k, SpreadsheetChildEnv>
9688
9685
  onKeyDown(ev: KeyboardEvent): void;
9689
9686
  }
9690
9687
 
9691
- interface Props$j {
9688
+ interface Props$m {
9692
9689
  value: string;
9693
9690
  onChange: (value: string) => void;
9694
9691
  class?: string;
9695
9692
  id?: string;
9696
9693
  placeholder?: string;
9697
9694
  }
9698
- declare class TextInput extends Component<Props$j, SpreadsheetChildEnv> {
9695
+ declare class TextInput extends Component<Props$m, SpreadsheetChildEnv> {
9699
9696
  static template: string;
9700
9697
  static props: {
9701
9698
  value: StringConstructor;
@@ -9720,13 +9717,13 @@ declare class TextInput extends Component<Props$j, SpreadsheetChildEnv> {
9720
9717
  focusInputAndSelectContent(): void;
9721
9718
  }
9722
9719
 
9723
- interface Props$i {
9720
+ interface Props$l {
9724
9721
  dimension: PivotCoreDimension | PivotCoreMeasure;
9725
9722
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
9726
9723
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
9727
9724
  type: "row" | "col" | "measure";
9728
9725
  }
9729
- declare class PivotDimension extends Component<Props$i, SpreadsheetChildEnv> {
9726
+ declare class PivotDimension extends Component<Props$l, SpreadsheetChildEnv> {
9730
9727
  static template: string;
9731
9728
  static props: {
9732
9729
  dimension: ObjectConstructor;
@@ -9750,13 +9747,13 @@ declare class PivotDimension extends Component<Props$i, SpreadsheetChildEnv> {
9750
9747
  updateName(name: string): void;
9751
9748
  }
9752
9749
 
9753
- interface Props$h {
9750
+ interface Props$k {
9754
9751
  dimension: PivotDimension$1;
9755
9752
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9756
9753
  availableGranularities: Set<string>;
9757
9754
  allGranularities: string[];
9758
9755
  }
9759
- declare class PivotDimensionGranularity extends Component<Props$h, SpreadsheetChildEnv> {
9756
+ declare class PivotDimensionGranularity extends Component<Props$k, SpreadsheetChildEnv> {
9760
9757
  static template: string;
9761
9758
  static props: {
9762
9759
  dimension: ObjectConstructor;
@@ -9781,11 +9778,11 @@ declare class PivotDimensionGranularity extends Component<Props$h, SpreadsheetCh
9781
9778
  };
9782
9779
  }
9783
9780
 
9784
- interface Props$g {
9781
+ interface Props$j {
9785
9782
  dimension: PivotDimension$1;
9786
9783
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9787
9784
  }
9788
- declare class PivotDimensionOrder extends Component<Props$g, SpreadsheetChildEnv> {
9785
+ declare class PivotDimensionOrder extends Component<Props$j, SpreadsheetChildEnv> {
9789
9786
  static template: string;
9790
9787
  static props: {
9791
9788
  dimension: ObjectConstructor;
@@ -9820,7 +9817,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
9820
9817
  */
9821
9818
  declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
9822
9819
 
9823
- interface Props$f {
9820
+ interface Props$i {
9824
9821
  onConfirm: (content: string) => void;
9825
9822
  composerContent: string;
9826
9823
  defaultRangeSheetId: UID;
@@ -9829,7 +9826,7 @@ interface Props$f {
9829
9826
  class?: string;
9830
9827
  invalid?: boolean;
9831
9828
  }
9832
- declare class StandaloneComposer extends Component<Props$f, SpreadsheetChildEnv> {
9829
+ declare class StandaloneComposer extends Component<Props$i, SpreadsheetChildEnv> {
9833
9830
  static template: string;
9834
9831
  static props: {
9835
9832
  composerContent: {
@@ -9875,7 +9872,7 @@ declare class StandaloneComposer extends Component<Props$f, SpreadsheetChildEnv>
9875
9872
  onFocus(selection: ComposerSelection): void;
9876
9873
  }
9877
9874
 
9878
- interface Props$e {
9875
+ interface Props$h {
9879
9876
  pivotId: string;
9880
9877
  definition: PivotRuntimeDefinition;
9881
9878
  measure: PivotMeasure;
@@ -9883,7 +9880,7 @@ interface Props$e {
9883
9880
  onRemoved: () => void;
9884
9881
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
9885
9882
  }
9886
- declare class PivotMeasureEditor extends Component<Props$e> {
9883
+ declare class PivotMeasureEditor extends Component<Props$h> {
9887
9884
  static template: string;
9888
9885
  static components: {
9889
9886
  PivotDimension: typeof PivotDimension;
@@ -9906,7 +9903,7 @@ declare class PivotMeasureEditor extends Component<Props$e> {
9906
9903
  openShowValuesAs(): void;
9907
9904
  }
9908
9905
 
9909
- interface Props$d {
9906
+ interface Props$g {
9910
9907
  definition: PivotRuntimeDefinition;
9911
9908
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
9912
9909
  unusedGroupableFields: PivotField[];
@@ -9916,7 +9913,7 @@ interface Props$d {
9916
9913
  datetimeGranularities: string[];
9917
9914
  pivotId: UID;
9918
9915
  }
9919
- declare class PivotLayoutConfigurator extends Component<Props$d, SpreadsheetChildEnv> {
9916
+ declare class PivotLayoutConfigurator extends Component<Props$g, SpreadsheetChildEnv> {
9920
9917
  static template: string;
9921
9918
  static components: {
9922
9919
  AddDimensionButton: typeof AddDimensionButton;
@@ -9992,11 +9989,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
9992
9989
  private getUnusedGranularities;
9993
9990
  }
9994
9991
 
9995
- interface Props$c {
9992
+ interface Props$f {
9996
9993
  pivotId: UID;
9997
9994
  flipAxis: () => void;
9998
9995
  }
9999
- declare class PivotTitleSection extends Component<Props$c, SpreadsheetChildEnv> {
9996
+ declare class PivotTitleSection extends Component<Props$f, SpreadsheetChildEnv> {
10000
9997
  static template: string;
10001
9998
  static components: {
10002
9999
  CogWheelMenu: typeof CogWheelMenu;
@@ -10080,6 +10077,97 @@ declare function getFirstPivotFunction(tokens: Token[]): {
10080
10077
  */
10081
10078
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
10082
10079
 
10080
+ interface Props$e {
10081
+ figureId: UID;
10082
+ definition: ComboChartDefinition;
10083
+ canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10084
+ updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10085
+ }
10086
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
10087
+ static template: string;
10088
+ static components: {
10089
+ RadioSelection: typeof RadioSelection;
10090
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10091
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10092
+ Section: typeof Section;
10093
+ AxisDesignEditor: typeof AxisDesignEditor;
10094
+ Checkbox: typeof Checkbox;
10095
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
10096
+ ChartLegend: typeof ChartLegend;
10097
+ };
10098
+ seriesTypeChoices: {
10099
+ value: string;
10100
+ label: string;
10101
+ }[];
10102
+ updateDataSeriesType(index: number, type: "bar" | "line"): void;
10103
+ getDataSeriesType(index: number): "line" | "bar";
10104
+ }
10105
+
10106
+ interface Props$d {
10107
+ figureId: UID;
10108
+ definition: RadarChartDefinition;
10109
+ canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
10110
+ updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
10111
+ }
10112
+ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
10113
+ static template: string;
10114
+ static components: {
10115
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10116
+ SeriesDesignEditor: typeof SeriesDesignEditor;
10117
+ Section: typeof Section;
10118
+ Checkbox: typeof Checkbox;
10119
+ ChartLegend: typeof ChartLegend;
10120
+ };
10121
+ static props: {
10122
+ figureId: StringConstructor;
10123
+ definition: ObjectConstructor;
10124
+ canUpdateChart: FunctionConstructor;
10125
+ updateChart: FunctionConstructor;
10126
+ };
10127
+ }
10128
+
10129
+ interface Props$c {
10130
+ figureId: UID;
10131
+ definition: WaterfallChartDefinition;
10132
+ canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
10133
+ updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
10134
+ }
10135
+ declare class WaterfallChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
10136
+ static template: string;
10137
+ static components: {
10138
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10139
+ Checkbox: typeof Checkbox;
10140
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10141
+ Section: typeof Section;
10142
+ RoundColorPicker: typeof RoundColorPicker;
10143
+ AxisDesignEditor: typeof AxisDesignEditor;
10144
+ RadioSelection: typeof RadioSelection;
10145
+ ChartLegend: typeof ChartLegend;
10146
+ };
10147
+ static props: {
10148
+ figureId: StringConstructor;
10149
+ definition: ObjectConstructor;
10150
+ updateChart: FunctionConstructor;
10151
+ canUpdateChart: {
10152
+ type: FunctionConstructor;
10153
+ optional: boolean;
10154
+ };
10155
+ };
10156
+ axisChoices: {
10157
+ value: string;
10158
+ label: string;
10159
+ }[];
10160
+ onUpdateShowSubTotals(showSubTotals: boolean): void;
10161
+ onUpdateShowConnectorLines(showConnectorLines: boolean): void;
10162
+ onUpdateFirstValueAsSubtotal(firstValueAsSubtotal: boolean): void;
10163
+ updateColor(colorName: string, color: Color): void;
10164
+ get axesList(): AxisDefinition[];
10165
+ get positiveValuesColor(): Color | "#4EA7F2";
10166
+ get negativeValuesColor(): Color | "#EA6175";
10167
+ get subTotalValuesColor(): Color | "#AAAAAA";
10168
+ updateVerticalAxisPosition(value: "left" | "right"): void;
10169
+ }
10170
+
10083
10171
  declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
10084
10172
  private pivotId;
10085
10173
  private initialMeasure;
@@ -12312,6 +12400,9 @@ declare const components: {
12312
12400
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
12313
12401
  ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
12314
12402
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
12403
+ RadarChartDesignPanel: typeof RadarChartDesignPanel;
12404
+ WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
12405
+ ComboChartDesignPanel: typeof ComboChartDesignPanel;
12315
12406
  ChartTypePicker: typeof ChartTypePicker;
12316
12407
  FigureComponent: typeof FigureComponent;
12317
12408
  Menu: typeof Menu;
@@ -12373,6 +12464,32 @@ declare const constants: {
12373
12464
  styleId: string;
12374
12465
  automaticAutofill: boolean;
12375
12466
  };
12467
+ ChartTerms: {
12468
+ Series: string;
12469
+ BackgroundColor: string;
12470
+ StackedBarChart: string;
12471
+ StackedLineChart: string;
12472
+ StackedAreaChart: string;
12473
+ StackedColumnChart: string;
12474
+ CumulativeData: string;
12475
+ TreatLabelsAsText: string;
12476
+ AggregatedChart: string;
12477
+ Errors: {
12478
+ Unexpected: string;
12479
+ InvalidDataSet: string;
12480
+ InvalidLabelRange: string;
12481
+ InvalidScorecardKeyValue: string;
12482
+ InvalidScorecardBaseline: string;
12483
+ InvalidGaugeDataRange: string;
12484
+ EmptyGaugeRangeMin: string;
12485
+ GaugeRangeMinNaN: string;
12486
+ EmptyGaugeRangeMax: string;
12487
+ GaugeRangeMaxNaN: string;
12488
+ GaugeRangeMinBiggerThanRangeMax: string;
12489
+ GaugeLowerInflectionPointNaN: string;
12490
+ GaugeUpperInflectionPointNaN: string;
12491
+ };
12492
+ };
12376
12493
  };
12377
12494
  declare const chartHelpers: {
12378
12495
  getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;