@odoo/o-spreadsheet 18.2.1 → 18.2.3

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.
@@ -1014,6 +1014,9 @@ interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows
1014
1014
  cellValues: {
1015
1015
  [xc: string]: CellValue | undefined;
1016
1016
  };
1017
+ formulaSpillRanges: {
1018
+ [xc: string]: string;
1019
+ };
1017
1020
  charts: FigureData<ExcelChartDefinition>[];
1018
1021
  images: FigureData<Image$1>[];
1019
1022
  tables: ExcelTableData[];
@@ -6733,7 +6736,7 @@ interface ChartSubtypeProperties {
6733
6736
  preview: string;
6734
6737
  }
6735
6738
 
6736
- interface Props$1c {
6739
+ interface Props$1d {
6737
6740
  label?: string;
6738
6741
  value: boolean;
6739
6742
  className?: string;
@@ -6742,7 +6745,7 @@ interface Props$1c {
6742
6745
  disabled?: boolean;
6743
6746
  onChange: (value: boolean) => void;
6744
6747
  }
6745
- declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
6748
+ declare class Checkbox extends Component<Props$1d, SpreadsheetChildEnv> {
6746
6749
  static template: string;
6747
6750
  static props: {
6748
6751
  label: {
@@ -6777,10 +6780,10 @@ declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
6777
6780
  onChange(ev: InputEvent): void;
6778
6781
  }
6779
6782
 
6780
- interface Props$1b {
6783
+ interface Props$1c {
6781
6784
  class?: string;
6782
6785
  }
6783
- declare class Section extends Component<Props$1b, SpreadsheetChildEnv> {
6786
+ declare class Section extends Component<Props$1c, SpreadsheetChildEnv> {
6784
6787
  static template: string;
6785
6788
  static props: {
6786
6789
  class: {
@@ -6837,7 +6840,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6837
6840
  private readonly inputHasSingleRange;
6838
6841
  colors: Color[];
6839
6842
  mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm", "updateColors"];
6840
- ranges: RangeInputValue[];
6843
+ private ranges;
6841
6844
  focusedRangeIndex: number | null;
6842
6845
  private inputSheetId;
6843
6846
  private focusStore;
@@ -6914,7 +6917,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6914
6917
  getIndex(rangeId: number | null): number | null;
6915
6918
  }
6916
6919
 
6917
- interface Props$1a {
6920
+ interface Props$1b {
6918
6921
  ranges: string[];
6919
6922
  hasSingleRange?: boolean;
6920
6923
  required?: boolean;
@@ -6939,7 +6942,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6939
6942
  * onSelectionChanged is called every time the input value
6940
6943
  * changes.
6941
6944
  */
6942
- declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
6945
+ declare class SelectionInput extends Component<Props$1b, SpreadsheetChildEnv> {
6943
6946
  static template: string;
6944
6947
  static props: {
6945
6948
  ranges: ArrayConstructor;
@@ -7006,7 +7009,7 @@ declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
7006
7009
  confirm(): void;
7007
7010
  }
7008
7011
 
7009
- interface Props$19 {
7012
+ interface Props$1a {
7010
7013
  ranges: CustomizedDataSet[];
7011
7014
  hasSingleRange?: boolean;
7012
7015
  onSelectionChanged: (ranges: string[]) => void;
@@ -7014,7 +7017,7 @@ interface Props$19 {
7014
7017
  onSelectionRemoved?: (index: number) => void;
7015
7018
  onSelectionConfirmed: () => void;
7016
7019
  }
7017
- declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
7020
+ declare class ChartDataSeries extends Component<Props$1a, SpreadsheetChildEnv> {
7018
7021
  static template: string;
7019
7022
  static components: {
7020
7023
  SelectionInput: typeof SelectionInput;
@@ -7042,12 +7045,12 @@ declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
7042
7045
  get title(): string;
7043
7046
  }
7044
7047
 
7045
- interface Props$18 {
7048
+ interface Props$19 {
7046
7049
  messages: string[];
7047
7050
  msgType: "warning" | "error" | "info";
7048
7051
  singleBox?: boolean;
7049
7052
  }
7050
- declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv> {
7053
+ declare class ValidationMessages extends Component<Props$19, SpreadsheetChildEnv> {
7051
7054
  static template: string;
7052
7055
  static props: {
7053
7056
  messages: ArrayConstructor;
@@ -7061,10 +7064,10 @@ declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv
7061
7064
  get alertBoxes(): string[][];
7062
7065
  }
7063
7066
 
7064
- interface Props$17 {
7067
+ interface Props$18 {
7065
7068
  messages: string[];
7066
7069
  }
7067
- declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv> {
7070
+ declare class ChartErrorSection extends Component<Props$18, SpreadsheetChildEnv> {
7068
7071
  static template: string;
7069
7072
  static components: {
7070
7073
  Section: typeof Section;
@@ -7078,7 +7081,7 @@ declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv>
7078
7081
  };
7079
7082
  }
7080
7083
 
7081
- interface Props$16 {
7084
+ interface Props$17 {
7082
7085
  title?: string;
7083
7086
  range: string;
7084
7087
  isInvalid: boolean;
@@ -7091,7 +7094,7 @@ interface Props$16 {
7091
7094
  onChange: (value: boolean) => void;
7092
7095
  }>;
7093
7096
  }
7094
- declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
7097
+ declare class ChartLabelRange extends Component<Props$17, SpreadsheetChildEnv> {
7095
7098
  static template: string;
7096
7099
  static components: {
7097
7100
  SelectionInput: typeof SelectionInput;
@@ -7112,10 +7115,10 @@ declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
7112
7115
  optional: boolean;
7113
7116
  };
7114
7117
  };
7115
- static defaultProps: Partial<Props$16>;
7118
+ static defaultProps: Partial<Props$17>;
7116
7119
  }
7117
7120
 
7118
- interface Props$15 {
7121
+ interface Props$16 {
7119
7122
  figureId: UID;
7120
7123
  definition: ChartWithDataSetDefinition;
7121
7124
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7125,7 +7128,7 @@ interface ChartPanelState {
7125
7128
  datasetDispatchResult?: DispatchResult;
7126
7129
  labelsDispatchResult?: DispatchResult;
7127
7130
  }
7128
- declare class GenericChartConfigPanel extends Component<Props$15, SpreadsheetChildEnv> {
7131
+ declare class GenericChartConfigPanel extends Component<Props$16, SpreadsheetChildEnv> {
7129
7132
  static template: string;
7130
7133
  static components: {
7131
7134
  ChartDataSeries: typeof ChartDataSeries;
@@ -7211,12 +7214,12 @@ interface Choice$1 {
7211
7214
  value: string;
7212
7215
  label: string;
7213
7216
  }
7214
- interface Props$14 {
7217
+ interface Props$15 {
7215
7218
  choices: Choice$1[];
7216
7219
  onChange: (value: string) => void;
7217
7220
  selectedValue: string;
7218
7221
  }
7219
- declare class BadgeSelection extends Component<Props$14, SpreadsheetChildEnv> {
7222
+ declare class BadgeSelection extends Component<Props$15, SpreadsheetChildEnv> {
7220
7223
  static template: string;
7221
7224
  static props: {
7222
7225
  choices: ArrayConstructor;
@@ -7374,7 +7377,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7374
7377
  isSameColor(color1: Color, color2: Color): boolean;
7375
7378
  }
7376
7379
 
7377
- interface Props$13 {
7380
+ interface Props$14 {
7378
7381
  currentColor: string | undefined;
7379
7382
  toggleColorPicker: () => void;
7380
7383
  showColorPicker: boolean;
@@ -7385,7 +7388,7 @@ interface Props$13 {
7385
7388
  dropdownMaxHeight?: Pixel;
7386
7389
  class?: string;
7387
7390
  }
7388
- declare class ColorPickerWidget extends Component<Props$13, SpreadsheetChildEnv> {
7391
+ declare class ColorPickerWidget extends Component<Props$14, SpreadsheetChildEnv> {
7389
7392
  static template: string;
7390
7393
  static props: {
7391
7394
  currentColor: {
@@ -7446,13 +7449,13 @@ declare class CellPopoverStore extends SpreadsheetStore {
7446
7449
  interface State$8 {
7447
7450
  isOpen: boolean;
7448
7451
  }
7449
- interface Props$12 {
7452
+ interface Props$13 {
7450
7453
  currentFontSize: number;
7451
7454
  class: string;
7452
7455
  onFontSizeChanged: (fontSize: number) => void;
7453
7456
  onToggle?: () => void;
7454
7457
  }
7455
- declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
7458
+ declare class FontSizeEditor extends Component<Props$13, SpreadsheetChildEnv> {
7456
7459
  static template: string;
7457
7460
  static props: {
7458
7461
  currentFontSize: NumberConstructor;
@@ -7483,7 +7486,7 @@ declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
7483
7486
  onInputKeydown(ev: KeyboardEvent): void;
7484
7487
  }
7485
7488
 
7486
- interface Props$11 {
7489
+ interface Props$12 {
7487
7490
  title?: string;
7488
7491
  updateTitle: (title: string) => void;
7489
7492
  name?: string;
@@ -7494,7 +7497,7 @@ interface Props$11 {
7494
7497
  style: TitleDesign;
7495
7498
  onFontSizeChanged: (fontSize: number) => void;
7496
7499
  }
7497
- declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7500
+ declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
7498
7501
  static template: string;
7499
7502
  static components: {
7500
7503
  Section: typeof Section;
@@ -7557,13 +7560,13 @@ interface AxisDefinition {
7557
7560
  id: string;
7558
7561
  name: string;
7559
7562
  }
7560
- interface Props$10 {
7563
+ interface Props$11 {
7561
7564
  figureId: UID;
7562
7565
  definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7563
7566
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7564
7567
  axesList: AxisDefinition[];
7565
7568
  }
7566
- declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv> {
7569
+ declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
7567
7570
  static template: string;
7568
7571
  static components: {
7569
7572
  Section: typeof Section;
@@ -7594,13 +7597,13 @@ declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv>
7594
7597
  updateAxisTitle(text: string): void;
7595
7598
  }
7596
7599
 
7597
- interface Props$$ {
7600
+ interface Props$10 {
7598
7601
  currentColor?: string;
7599
7602
  onColorPicked: (color: string) => void;
7600
7603
  title?: string;
7601
7604
  disableNoColor?: boolean;
7602
7605
  }
7603
- declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7606
+ declare class RoundColorPicker extends Component<Props$10, SpreadsheetChildEnv> {
7604
7607
  static template: string;
7605
7608
  static components: {
7606
7609
  Section: typeof Section;
@@ -7633,13 +7636,13 @@ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7633
7636
  get buttonStyle(): string;
7634
7637
  }
7635
7638
 
7636
- interface Props$_ {
7639
+ interface Props$$ {
7637
7640
  figureId: UID;
7638
7641
  definition: ChartDefinition;
7639
7642
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7640
7643
  defaultChartTitleFontSize?: number;
7641
7644
  }
7642
- declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7645
+ declare class GeneralDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
7643
7646
  static template: string;
7644
7647
  static components: {
7645
7648
  RoundColorPicker: typeof RoundColorPicker;
@@ -7677,12 +7680,12 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
7677
7680
  updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7678
7681
  }
7679
7682
 
7680
- interface Props$Z {
7683
+ interface Props$_ {
7681
7684
  figureId: UID;
7682
7685
  definition: ChartWithDataSetDefinition;
7683
7686
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7684
7687
  }
7685
- declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7688
+ declare class ChartLegend extends Component<Props$_, SpreadsheetChildEnv> {
7686
7689
  static template: string;
7687
7690
  static components: {
7688
7691
  Section: typeof Section;
@@ -7699,14 +7702,14 @@ interface Choice {
7699
7702
  value: unknown;
7700
7703
  label: string;
7701
7704
  }
7702
- interface Props$Y {
7705
+ interface Props$Z {
7703
7706
  choices: Choice[];
7704
7707
  onChange: (value: unknown) => void;
7705
7708
  selectedValue: string;
7706
7709
  name: string;
7707
7710
  direction: "horizontal" | "vertical";
7708
7711
  }
7709
- declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
7712
+ declare class RadioSelection extends Component<Props$Z, SpreadsheetChildEnv> {
7710
7713
  static template: string;
7711
7714
  static props: {
7712
7715
  choices: ArrayConstructor;
@@ -7725,13 +7728,13 @@ declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
7725
7728
  };
7726
7729
  }
7727
7730
 
7728
- interface Props$X {
7731
+ interface Props$Y {
7729
7732
  figureId: UID;
7730
7733
  definition: ChartWithDataSetDefinition;
7731
7734
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7732
7735
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7733
7736
  }
7734
- declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7737
+ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7735
7738
  static template: string;
7736
7739
  static components: {
7737
7740
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7759,13 +7762,13 @@ declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv>
7759
7762
  getDataSerieLabel(): string | undefined;
7760
7763
  }
7761
7764
 
7762
- interface Props$W {
7765
+ interface Props$X {
7763
7766
  figureId: UID;
7764
7767
  definition: ChartWithDataSetDefinition;
7765
7768
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7766
7769
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7767
7770
  }
7768
- declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
7771
+ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7769
7772
  static template: string;
7770
7773
  static components: {
7771
7774
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7806,13 +7809,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetC
7806
7809
  updateTrendLineValue(index: number, config: any): void;
7807
7810
  }
7808
7811
 
7809
- interface Props$V {
7812
+ interface Props$W {
7810
7813
  figureId: UID;
7811
7814
  definition: ChartWithDataSetDefinition;
7812
7815
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7813
7816
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7814
7817
  }
7815
- declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Component<P, SpreadsheetChildEnv> {
7818
+ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
7816
7819
  static template: string;
7817
7820
  static components: {
7818
7821
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7832,13 +7835,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Comp
7832
7835
  get axesList(): AxisDefinition[];
7833
7836
  }
7834
7837
 
7835
- interface Props$U {
7838
+ interface Props$V {
7836
7839
  figureId: UID;
7837
7840
  definition: GaugeChartDefinition;
7838
7841
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7839
7842
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7840
7843
  }
7841
- declare class GaugeChartConfigPanel extends Component<Props$U, SpreadsheetChildEnv> {
7844
+ declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
7842
7845
  static template: string;
7843
7846
  static components: {
7844
7847
  ChartErrorSection: typeof ChartErrorSection;
@@ -7902,13 +7905,13 @@ interface EnrichedToken extends Token {
7902
7905
  isParenthesisLinkedToCursor?: boolean;
7903
7906
  }
7904
7907
 
7905
- interface Props$T {
7908
+ interface Props$U {
7906
7909
  proposals: AutoCompleteProposal[];
7907
7910
  selectedIndex: number | undefined;
7908
7911
  onValueSelected: (value: string) => void;
7909
7912
  onValueHovered: (index: string) => void;
7910
7913
  }
7911
- declare class TextValueProvider extends Component<Props$T> {
7914
+ declare class TextValueProvider extends Component<Props$U> {
7912
7915
  static template: string;
7913
7916
  static props: {
7914
7917
  proposals: ArrayConstructor;
@@ -7975,19 +7978,19 @@ declare class ContentEditableHelper {
7975
7978
  getText(): string;
7976
7979
  }
7977
7980
 
7978
- interface Props$S {
7981
+ interface Props$T {
7979
7982
  functionName: string;
7980
7983
  functionDescription: FunctionDescription;
7981
7984
  argToFocus: number;
7982
7985
  }
7983
- declare class FunctionDescriptionProvider extends Component<Props$S, SpreadsheetChildEnv> {
7986
+ declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
7984
7987
  static template: string;
7985
7988
  static props: {
7986
7989
  functionName: StringConstructor;
7987
7990
  functionDescription: ObjectConstructor;
7988
7991
  argToFocus: NumberConstructor;
7989
7992
  };
7990
- getContext(): Props$S;
7993
+ getContext(): Props$T;
7991
7994
  get formulaArgSeparator(): string;
7992
7995
  }
7993
7996
 
@@ -8228,7 +8231,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8228
8231
  };
8229
8232
  private compositionActive;
8230
8233
  private spreadsheetRect;
8234
+ get assistantStyleProperties(): CSSProperties;
8231
8235
  get assistantStyle(): string;
8236
+ get assistantContainerStyle(): string;
8232
8237
  shouldProcessInputEvents: boolean;
8233
8238
  tokens: EnrichedToken[];
8234
8239
  keyMapping: {
@@ -8324,11 +8329,12 @@ interface ComposerStoreInterface {
8324
8329
  * We declare the providers in the registry as an object (rather than a class)
8325
8330
  * to allow a type-safe way to declare the provider.
8326
8331
  * We still want to be able to use `this` for the getters and dispatch for simplicity.
8327
- * Binding happens at runtime in the edition plugin.
8332
+ * Binding happens at runtime in the composer store.
8328
8333
  */
8329
8334
  interface AutoCompleteProviderDefinition {
8330
8335
  sequence?: number;
8331
8336
  autoSelectFirstProposal?: boolean;
8337
+ displayAllOnInitialContent?: boolean;
8332
8338
  maxDisplayedProposals?: number;
8333
8339
  getProposals(this: {
8334
8340
  composer: ComposerStoreInterface;
@@ -8348,7 +8354,7 @@ interface AutoCompleteProviderDefinition {
8348
8354
  */
8349
8355
  interface AutofillRule {
8350
8356
  condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
8351
- generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
8357
+ generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
8352
8358
  sequence: number;
8353
8359
  }
8354
8360
 
@@ -8387,7 +8393,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8387
8393
  getMenuItems(): Action[];
8388
8394
  }
8389
8395
 
8390
- interface Props$R {
8396
+ interface Props$S {
8391
8397
  onConfirm: (content: string) => void;
8392
8398
  composerContent: string;
8393
8399
  defaultRangeSheetId: UID;
@@ -8399,7 +8405,7 @@ interface Props$R {
8399
8405
  invalid?: boolean;
8400
8406
  getContextualColoredSymbolToken?: (token: Token) => Color;
8401
8407
  }
8402
- declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8408
+ declare class StandaloneComposer extends Component<Props$S, SpreadsheetChildEnv> {
8403
8409
  static template: string;
8404
8410
  static props: {
8405
8411
  composerContent: {
@@ -8462,13 +8468,13 @@ interface PanelState {
8462
8468
  sectionRuleCancelledReasons?: CommandResult[];
8463
8469
  sectionRule: SectionRule;
8464
8470
  }
8465
- interface Props$Q {
8471
+ interface Props$R {
8466
8472
  figureId: UID;
8467
8473
  definition: GaugeChartDefinition;
8468
8474
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8469
8475
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8470
8476
  }
8471
- declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8477
+ declare class GaugeChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
8472
8478
  static template: string;
8473
8479
  static components: {
8474
8480
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8518,13 +8524,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
8518
8524
  onUpdateCumulative(cumulative: boolean): void;
8519
8525
  }
8520
8526
 
8521
- interface Props$P {
8527
+ interface Props$Q {
8522
8528
  figureId: UID;
8523
8529
  definition: ScorecardChartDefinition;
8524
8530
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8525
8531
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8526
8532
  }
8527
- declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8533
+ declare class ScorecardChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8528
8534
  static template: string;
8529
8535
  static components: {
8530
8536
  SelectionInput: typeof SelectionInput;
@@ -8553,13 +8559,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
8553
8559
  }
8554
8560
 
8555
8561
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8556
- interface Props$O {
8562
+ interface Props$P {
8557
8563
  figureId: UID;
8558
8564
  definition: ScorecardChartDefinition;
8559
8565
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8560
8566
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8561
8567
  }
8562
- declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8568
+ declare class ScorecardChartDesignPanel extends Component<Props$P, SpreadsheetChildEnv> {
8563
8569
  static template: string;
8564
8570
  static components: {
8565
8571
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8658,10 +8664,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8658
8664
  private setComposerContent;
8659
8665
  }
8660
8666
 
8661
- interface Props$N {
8667
+ interface Props$O {
8662
8668
  figure: Figure;
8663
8669
  }
8664
- declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8670
+ declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
8665
8671
  static template: string;
8666
8672
  static props: {
8667
8673
  figure: ObjectConstructor;
@@ -8677,10 +8683,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8677
8683
  private updateChartJs;
8678
8684
  }
8679
8685
 
8680
- interface Props$M {
8686
+ interface Props$N {
8681
8687
  figure: Figure;
8682
8688
  }
8683
- declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8689
+ declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
8684
8690
  static template: string;
8685
8691
  static props: {
8686
8692
  figure: ObjectConstructor;
@@ -8693,7 +8699,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8693
8699
  }
8694
8700
 
8695
8701
  type MenuItemOrSeparator = Action | "separator";
8696
- interface Props$L {
8702
+ interface Props$M {
8697
8703
  position: DOMCoordinates;
8698
8704
  menuItems: Action[];
8699
8705
  depth: number;
@@ -8712,7 +8718,7 @@ interface MenuState {
8712
8718
  menuItems: Action[];
8713
8719
  isHoveringChild?: boolean;
8714
8720
  }
8715
- declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8721
+ declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
8716
8722
  static template: string;
8717
8723
  static props: {
8718
8724
  position: ObjectConstructor;
@@ -8788,14 +8794,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8788
8794
  }
8789
8795
 
8790
8796
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8791
- interface Props$K {
8797
+ interface Props$L {
8792
8798
  figure: Figure;
8793
8799
  style: string;
8794
8800
  onFigureDeleted: () => void;
8795
8801
  onMouseDown: (ev: MouseEvent) => void;
8796
8802
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8797
8803
  }
8798
- declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8804
+ declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
8799
8805
  static template: string;
8800
8806
  static props: {
8801
8807
  figure: ObjectConstructor;
@@ -8844,11 +8850,11 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8844
8850
  private openContextMenu;
8845
8851
  }
8846
8852
 
8847
- interface Props$J {
8853
+ interface Props$K {
8848
8854
  figure: Figure;
8849
8855
  onFigureDeleted: () => void;
8850
8856
  }
8851
- declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8857
+ declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
8852
8858
  static template: string;
8853
8859
  static props: {
8854
8860
  figure: ObjectConstructor;
@@ -8860,7 +8866,7 @@ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8860
8866
  get chartComponent(): new (...args: any) => Component;
8861
8867
  }
8862
8868
 
8863
- interface Props$I {
8869
+ interface Props$J {
8864
8870
  isVisible: boolean;
8865
8871
  position: Position;
8866
8872
  }
@@ -8872,7 +8878,7 @@ interface State$7 {
8872
8878
  position: Position;
8873
8879
  handler: boolean;
8874
8880
  }
8875
- declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8881
+ declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
8876
8882
  static template: string;
8877
8883
  static props: {
8878
8884
  position: ObjectConstructor;
@@ -8906,7 +8912,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8906
8912
  get tagStyle(): string;
8907
8913
  }
8908
8914
 
8909
- interface Props$H {
8915
+ interface Props$I {
8910
8916
  gridDims: DOMDimension;
8911
8917
  onInputContextMenu: (event: MouseEvent) => void;
8912
8918
  }
@@ -8914,7 +8920,7 @@ interface Props$H {
8914
8920
  * This component is a composer which positions itself on the grid at the anchor cell.
8915
8921
  * It also applies the style of the cell to the composer input.
8916
8922
  */
8917
- declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8923
+ declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
8918
8924
  static template: string;
8919
8925
  static props: {
8920
8926
  gridDims: ObjectConstructor;
@@ -8972,10 +8978,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8972
8978
  isPositionVisible(position: CellPosition): boolean;
8973
8979
  }
8974
8980
 
8975
- interface Props$G {
8981
+ interface Props$H {
8976
8982
  cellPosition: CellPosition;
8977
8983
  }
8978
- declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8984
+ declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
8979
8985
  static template: string;
8980
8986
  static components: {
8981
8987
  Checkbox: typeof Checkbox;
@@ -8988,10 +8994,10 @@ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChild
8988
8994
  get isDisabled(): boolean;
8989
8995
  }
8990
8996
 
8991
- interface Props$F {
8997
+ interface Props$G {
8992
8998
  cellPosition: CellPosition;
8993
8999
  }
8994
- declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
9000
+ declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
8995
9001
  static template: string;
8996
9002
  static props: {
8997
9003
  cellPosition: ObjectConstructor;
@@ -9021,7 +9027,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9021
9027
  }
9022
9028
 
9023
9029
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9024
- interface Props$E {
9030
+ interface Props$F {
9025
9031
  onFigureDeleted: () => void;
9026
9032
  }
9027
9033
  interface Container {
@@ -9101,7 +9107,7 @@ interface DndState {
9101
9107
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9102
9108
  *
9103
9109
  */
9104
- declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9110
+ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
9105
9111
  static template: string;
9106
9112
  static props: {
9107
9113
  onFigureDeleted: FunctionConstructor;
@@ -9136,10 +9142,10 @@ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9136
9142
  private getSnapLineStyle;
9137
9143
  }
9138
9144
 
9139
- interface Props$D {
9145
+ interface Props$E {
9140
9146
  cellPosition: CellPosition;
9141
9147
  }
9142
- declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9148
+ declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
9143
9149
  static template: string;
9144
9150
  static props: {
9145
9151
  cellPosition: ObjectConstructor;
@@ -9161,10 +9167,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9161
9167
  getFilterHeadersPositions(): CellPosition[];
9162
9168
  }
9163
9169
 
9164
- interface Props$C {
9170
+ interface Props$D {
9165
9171
  focusGrid: () => void;
9166
9172
  }
9167
- declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9173
+ declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv> {
9168
9174
  static template: string;
9169
9175
  static props: {
9170
9176
  focusGrid: FunctionConstructor;
@@ -9188,7 +9194,7 @@ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv>
9188
9194
  private onExternalClick;
9189
9195
  }
9190
9196
 
9191
- interface Props$B {
9197
+ interface Props$C {
9192
9198
  onCellHovered: (position: Partial<Position$1>) => void;
9193
9199
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9194
9200
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
@@ -9198,7 +9204,7 @@ interface Props$B {
9198
9204
  gridOverlayDimensions: string;
9199
9205
  onFigureDeleted: () => void;
9200
9206
  }
9201
- declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9207
+ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
9202
9208
  static template: string;
9203
9209
  static props: {
9204
9210
  onCellHovered: {
@@ -9256,12 +9262,12 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9256
9262
  private getCartesianCoordinates;
9257
9263
  }
9258
9264
 
9259
- interface Props$A {
9265
+ interface Props$B {
9260
9266
  gridRect: Rect;
9261
9267
  onClosePopover: () => void;
9262
9268
  onMouseWheel: (ev: WheelEvent) => void;
9263
9269
  }
9264
- declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9270
+ declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
9265
9271
  static template: string;
9266
9272
  static props: {
9267
9273
  onClosePopover: FunctionConstructor;
@@ -9277,6 +9283,53 @@ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9277
9283
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9278
9284
  }
9279
9285
 
9286
+ interface Props$A {
9287
+ headersGroups: ConsecutiveIndexes[];
9288
+ offset: number;
9289
+ headerRange: {
9290
+ start: HeaderIndex;
9291
+ end: HeaderIndex;
9292
+ };
9293
+ }
9294
+ declare class UnhideRowHeaders extends Component<Props$A, SpreadsheetChildEnv> {
9295
+ static template: string;
9296
+ static props: {
9297
+ headersGroups: ArrayConstructor;
9298
+ headerRange: ObjectConstructor;
9299
+ offset: {
9300
+ type: NumberConstructor;
9301
+ optional: boolean;
9302
+ };
9303
+ };
9304
+ static defaultProps: {
9305
+ offset: number;
9306
+ };
9307
+ get sheetId(): UID;
9308
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9309
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9310
+ unhide(hiddenElements: HeaderIndex[]): void;
9311
+ isVisible(header: HeaderIndex): boolean;
9312
+ }
9313
+ declare class UnhideColumnHeaders extends Component<Props$A, SpreadsheetChildEnv> {
9314
+ static template: string;
9315
+ static props: {
9316
+ headersGroups: ArrayConstructor;
9317
+ headerRange: ObjectConstructor;
9318
+ offset: {
9319
+ type: NumberConstructor;
9320
+ optional: boolean;
9321
+ };
9322
+ };
9323
+ static defaultProps: {
9324
+ offset: number;
9325
+ };
9326
+ get sheetId(): UID;
9327
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9328
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9329
+ unhide(hiddenElements: HeaderIndex[]): void;
9330
+ isVisible(header: HeaderIndex): boolean;
9331
+ }
9332
+
9280
9333
  interface ResizerState {
9281
9334
  resizerIsActive: boolean;
9282
9335
  isResizing: boolean;
@@ -9340,8 +9393,12 @@ declare class ColResizer extends AbstractResizer {
9340
9393
  onOpenContextMenu: FunctionConstructor;
9341
9394
  };
9342
9395
  static template: string;
9396
+ static components: {
9397
+ UnhideColumnHeaders: typeof UnhideColumnHeaders;
9398
+ };
9343
9399
  private colResizerRef;
9344
9400
  setup(): void;
9401
+ get sheetId(): UID;
9345
9402
  _getEvOffset(ev: MouseEvent): Pixel;
9346
9403
  _getViewportOffset(): Pixel;
9347
9404
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9361,15 +9418,35 @@ declare class ColResizer extends AbstractResizer {
9361
9418
  _getActiveElements(): Set<HeaderIndex>;
9362
9419
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9363
9420
  unhide(hiddenElements: HeaderIndex[]): void;
9364
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9421
+ get mainUnhideHeadersProps(): {
9422
+ headersGroups: ConsecutiveIndexes[];
9423
+ offset: Pixel;
9424
+ headerRange: {
9425
+ start: HeaderIndex;
9426
+ end: HeaderIndex;
9427
+ };
9428
+ };
9429
+ get frozenUnhideHeadersProps(): {
9430
+ headersGroups: ConsecutiveIndexes[];
9431
+ headerRange: {
9432
+ start: number;
9433
+ end: number;
9434
+ };
9435
+ };
9436
+ get frozenContainerStyle(): string;
9437
+ get hasFrozenPane(): boolean;
9365
9438
  }
9366
9439
  declare class RowResizer extends AbstractResizer {
9367
9440
  static props: {
9368
9441
  onOpenContextMenu: FunctionConstructor;
9369
9442
  };
9370
9443
  static template: string;
9444
+ static components: {
9445
+ UnhideRowHeaders: typeof UnhideRowHeaders;
9446
+ };
9371
9447
  setup(): void;
9372
9448
  private rowResizerRef;
9449
+ get sheetId(): UID;
9373
9450
  _getEvOffset(ev: MouseEvent): Pixel;
9374
9451
  _getViewportOffset(): Pixel;
9375
9452
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9388,8 +9465,23 @@ declare class RowResizer extends AbstractResizer {
9388
9465
  _getType(): ContextMenuType;
9389
9466
  _getActiveElements(): Set<HeaderIndex>;
9390
9467
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9391
- unhide(hiddenElements: HeaderIndex[]): void;
9392
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9468
+ get mainUnhideHeadersProps(): {
9469
+ headersGroups: ConsecutiveIndexes[];
9470
+ offset: Pixel;
9471
+ headerRange: {
9472
+ start: HeaderIndex;
9473
+ end: HeaderIndex;
9474
+ };
9475
+ };
9476
+ get frozenUnhideHeadersProps(): {
9477
+ headersGroups: ConsecutiveIndexes[];
9478
+ headerRange: {
9479
+ start: number;
9480
+ end: number;
9481
+ };
9482
+ };
9483
+ get frozenContainerStyle(): string;
9484
+ get hasFrozenPane(): boolean;
9393
9485
  }
9394
9486
  declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9395
9487
  static props: {
@@ -10228,8 +10320,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10228
10320
  applyUpdate(): void;
10229
10321
  discardPendingUpdate(): void;
10230
10322
  update(definitionUpdate: Partial<PivotCoreDefinition>): void;
10231
- private isDynamicPivotInViewport;
10232
- private isStaticPivotInViewport;
10323
+ /**
10324
+ * @returns true if the updated pivot is visible in the viewport only as a
10325
+ * static pivot and not as a dynamic pivot
10326
+ */
10327
+ private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
10233
10328
  private addDefaultDateTimeGranularity;
10234
10329
  private getUnusedGranularities;
10235
10330
  /**
@@ -13232,6 +13327,7 @@ declare const chartHelpers: {
13232
13327
  transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
13233
13328
  getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
13234
13329
  chartToImage(runtime: ChartRuntime, figure: Figure, type: string): string | undefined;
13330
+ getChartJSConstructor(): typeof chart_js.Chart;
13235
13331
  CHART_COMMON_OPTIONS: chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>;
13236
13332
  createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
13237
13333
  GaugeChart: typeof GaugeChart;