@odoo/o-spreadsheet 18.2.2 → 18.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5769,6 +5769,7 @@ declare class SheetUIPlugin extends UIPlugin {
5769
5769
  * not outside the sheet.
5770
5770
  */
5771
5771
  private checkZonesAreInSheet;
5772
+ private autoResizeRows;
5772
5773
  }
5773
5774
 
5774
5775
  declare class CellComputedStylePlugin extends UIPlugin {
@@ -6736,7 +6737,7 @@ interface ChartSubtypeProperties {
6736
6737
  preview: string;
6737
6738
  }
6738
6739
 
6739
- interface Props$1c {
6740
+ interface Props$1d {
6740
6741
  label?: string;
6741
6742
  value: boolean;
6742
6743
  className?: string;
@@ -6745,7 +6746,7 @@ interface Props$1c {
6745
6746
  disabled?: boolean;
6746
6747
  onChange: (value: boolean) => void;
6747
6748
  }
6748
- declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
6749
+ declare class Checkbox extends Component<Props$1d, SpreadsheetChildEnv> {
6749
6750
  static template: string;
6750
6751
  static props: {
6751
6752
  label: {
@@ -6780,10 +6781,10 @@ declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
6780
6781
  onChange(ev: InputEvent): void;
6781
6782
  }
6782
6783
 
6783
- interface Props$1b {
6784
+ interface Props$1c {
6784
6785
  class?: string;
6785
6786
  }
6786
- declare class Section extends Component<Props$1b, SpreadsheetChildEnv> {
6787
+ declare class Section extends Component<Props$1c, SpreadsheetChildEnv> {
6787
6788
  static template: string;
6788
6789
  static props: {
6789
6790
  class: {
@@ -6917,7 +6918,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6917
6918
  getIndex(rangeId: number | null): number | null;
6918
6919
  }
6919
6920
 
6920
- interface Props$1a {
6921
+ interface Props$1b {
6921
6922
  ranges: string[];
6922
6923
  hasSingleRange?: boolean;
6923
6924
  required?: boolean;
@@ -6942,7 +6943,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6942
6943
  * onSelectionChanged is called every time the input value
6943
6944
  * changes.
6944
6945
  */
6945
- declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
6946
+ declare class SelectionInput extends Component<Props$1b, SpreadsheetChildEnv> {
6946
6947
  static template: string;
6947
6948
  static props: {
6948
6949
  ranges: ArrayConstructor;
@@ -7009,7 +7010,7 @@ declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
7009
7010
  confirm(): void;
7010
7011
  }
7011
7012
 
7012
- interface Props$19 {
7013
+ interface Props$1a {
7013
7014
  ranges: CustomizedDataSet[];
7014
7015
  hasSingleRange?: boolean;
7015
7016
  onSelectionChanged: (ranges: string[]) => void;
@@ -7017,7 +7018,7 @@ interface Props$19 {
7017
7018
  onSelectionRemoved?: (index: number) => void;
7018
7019
  onSelectionConfirmed: () => void;
7019
7020
  }
7020
- declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
7021
+ declare class ChartDataSeries extends Component<Props$1a, SpreadsheetChildEnv> {
7021
7022
  static template: string;
7022
7023
  static components: {
7023
7024
  SelectionInput: typeof SelectionInput;
@@ -7045,12 +7046,12 @@ declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
7045
7046
  get title(): string;
7046
7047
  }
7047
7048
 
7048
- interface Props$18 {
7049
+ interface Props$19 {
7049
7050
  messages: string[];
7050
7051
  msgType: "warning" | "error" | "info";
7051
7052
  singleBox?: boolean;
7052
7053
  }
7053
- declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv> {
7054
+ declare class ValidationMessages extends Component<Props$19, SpreadsheetChildEnv> {
7054
7055
  static template: string;
7055
7056
  static props: {
7056
7057
  messages: ArrayConstructor;
@@ -7064,10 +7065,10 @@ declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv
7064
7065
  get alertBoxes(): string[][];
7065
7066
  }
7066
7067
 
7067
- interface Props$17 {
7068
+ interface Props$18 {
7068
7069
  messages: string[];
7069
7070
  }
7070
- declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv> {
7071
+ declare class ChartErrorSection extends Component<Props$18, SpreadsheetChildEnv> {
7071
7072
  static template: string;
7072
7073
  static components: {
7073
7074
  Section: typeof Section;
@@ -7081,7 +7082,7 @@ declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv>
7081
7082
  };
7082
7083
  }
7083
7084
 
7084
- interface Props$16 {
7085
+ interface Props$17 {
7085
7086
  title?: string;
7086
7087
  range: string;
7087
7088
  isInvalid: boolean;
@@ -7094,7 +7095,7 @@ interface Props$16 {
7094
7095
  onChange: (value: boolean) => void;
7095
7096
  }>;
7096
7097
  }
7097
- declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
7098
+ declare class ChartLabelRange extends Component<Props$17, SpreadsheetChildEnv> {
7098
7099
  static template: string;
7099
7100
  static components: {
7100
7101
  SelectionInput: typeof SelectionInput;
@@ -7115,10 +7116,10 @@ declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
7115
7116
  optional: boolean;
7116
7117
  };
7117
7118
  };
7118
- static defaultProps: Partial<Props$16>;
7119
+ static defaultProps: Partial<Props$17>;
7119
7120
  }
7120
7121
 
7121
- interface Props$15 {
7122
+ interface Props$16 {
7122
7123
  figureId: UID;
7123
7124
  definition: ChartWithDataSetDefinition;
7124
7125
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7128,7 +7129,7 @@ interface ChartPanelState {
7128
7129
  datasetDispatchResult?: DispatchResult;
7129
7130
  labelsDispatchResult?: DispatchResult;
7130
7131
  }
7131
- declare class GenericChartConfigPanel extends Component<Props$15, SpreadsheetChildEnv> {
7132
+ declare class GenericChartConfigPanel extends Component<Props$16, SpreadsheetChildEnv> {
7132
7133
  static template: string;
7133
7134
  static components: {
7134
7135
  ChartDataSeries: typeof ChartDataSeries;
@@ -7214,12 +7215,12 @@ interface Choice$1 {
7214
7215
  value: string;
7215
7216
  label: string;
7216
7217
  }
7217
- interface Props$14 {
7218
+ interface Props$15 {
7218
7219
  choices: Choice$1[];
7219
7220
  onChange: (value: string) => void;
7220
7221
  selectedValue: string;
7221
7222
  }
7222
- declare class BadgeSelection extends Component<Props$14, SpreadsheetChildEnv> {
7223
+ declare class BadgeSelection extends Component<Props$15, SpreadsheetChildEnv> {
7223
7224
  static template: string;
7224
7225
  static props: {
7225
7226
  choices: ArrayConstructor;
@@ -7377,7 +7378,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7377
7378
  isSameColor(color1: Color, color2: Color): boolean;
7378
7379
  }
7379
7380
 
7380
- interface Props$13 {
7381
+ interface Props$14 {
7381
7382
  currentColor: string | undefined;
7382
7383
  toggleColorPicker: () => void;
7383
7384
  showColorPicker: boolean;
@@ -7388,7 +7389,7 @@ interface Props$13 {
7388
7389
  dropdownMaxHeight?: Pixel;
7389
7390
  class?: string;
7390
7391
  }
7391
- declare class ColorPickerWidget extends Component<Props$13, SpreadsheetChildEnv> {
7392
+ declare class ColorPickerWidget extends Component<Props$14, SpreadsheetChildEnv> {
7392
7393
  static template: string;
7393
7394
  static props: {
7394
7395
  currentColor: {
@@ -7449,13 +7450,13 @@ declare class CellPopoverStore extends SpreadsheetStore {
7449
7450
  interface State$8 {
7450
7451
  isOpen: boolean;
7451
7452
  }
7452
- interface Props$12 {
7453
+ interface Props$13 {
7453
7454
  currentFontSize: number;
7454
7455
  class: string;
7455
7456
  onFontSizeChanged: (fontSize: number) => void;
7456
7457
  onToggle?: () => void;
7457
7458
  }
7458
- declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
7459
+ declare class FontSizeEditor extends Component<Props$13, SpreadsheetChildEnv> {
7459
7460
  static template: string;
7460
7461
  static props: {
7461
7462
  currentFontSize: NumberConstructor;
@@ -7486,7 +7487,7 @@ declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
7486
7487
  onInputKeydown(ev: KeyboardEvent): void;
7487
7488
  }
7488
7489
 
7489
- interface Props$11 {
7490
+ interface Props$12 {
7490
7491
  title?: string;
7491
7492
  updateTitle: (title: string) => void;
7492
7493
  name?: string;
@@ -7497,7 +7498,7 @@ interface Props$11 {
7497
7498
  style: TitleDesign;
7498
7499
  onFontSizeChanged: (fontSize: number) => void;
7499
7500
  }
7500
- declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7501
+ declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
7501
7502
  static template: string;
7502
7503
  static components: {
7503
7504
  Section: typeof Section;
@@ -7560,13 +7561,13 @@ interface AxisDefinition {
7560
7561
  id: string;
7561
7562
  name: string;
7562
7563
  }
7563
- interface Props$10 {
7564
+ interface Props$11 {
7564
7565
  figureId: UID;
7565
7566
  definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7566
7567
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7567
7568
  axesList: AxisDefinition[];
7568
7569
  }
7569
- declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv> {
7570
+ declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
7570
7571
  static template: string;
7571
7572
  static components: {
7572
7573
  Section: typeof Section;
@@ -7597,13 +7598,13 @@ declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv>
7597
7598
  updateAxisTitle(text: string): void;
7598
7599
  }
7599
7600
 
7600
- interface Props$$ {
7601
+ interface Props$10 {
7601
7602
  currentColor?: string;
7602
7603
  onColorPicked: (color: string) => void;
7603
7604
  title?: string;
7604
7605
  disableNoColor?: boolean;
7605
7606
  }
7606
- declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7607
+ declare class RoundColorPicker extends Component<Props$10, SpreadsheetChildEnv> {
7607
7608
  static template: string;
7608
7609
  static components: {
7609
7610
  Section: typeof Section;
@@ -7636,13 +7637,13 @@ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7636
7637
  get buttonStyle(): string;
7637
7638
  }
7638
7639
 
7639
- interface Props$_ {
7640
+ interface Props$$ {
7640
7641
  figureId: UID;
7641
7642
  definition: ChartDefinition;
7642
7643
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7643
7644
  defaultChartTitleFontSize?: number;
7644
7645
  }
7645
- declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7646
+ declare class GeneralDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
7646
7647
  static template: string;
7647
7648
  static components: {
7648
7649
  RoundColorPicker: typeof RoundColorPicker;
@@ -7680,12 +7681,12 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
7680
7681
  updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7681
7682
  }
7682
7683
 
7683
- interface Props$Z {
7684
+ interface Props$_ {
7684
7685
  figureId: UID;
7685
7686
  definition: ChartWithDataSetDefinition;
7686
7687
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7687
7688
  }
7688
- declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7689
+ declare class ChartLegend extends Component<Props$_, SpreadsheetChildEnv> {
7689
7690
  static template: string;
7690
7691
  static components: {
7691
7692
  Section: typeof Section;
@@ -7702,14 +7703,14 @@ interface Choice {
7702
7703
  value: unknown;
7703
7704
  label: string;
7704
7705
  }
7705
- interface Props$Y {
7706
+ interface Props$Z {
7706
7707
  choices: Choice[];
7707
7708
  onChange: (value: unknown) => void;
7708
7709
  selectedValue: string;
7709
7710
  name: string;
7710
7711
  direction: "horizontal" | "vertical";
7711
7712
  }
7712
- declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
7713
+ declare class RadioSelection extends Component<Props$Z, SpreadsheetChildEnv> {
7713
7714
  static template: string;
7714
7715
  static props: {
7715
7716
  choices: ArrayConstructor;
@@ -7728,13 +7729,13 @@ declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
7728
7729
  };
7729
7730
  }
7730
7731
 
7731
- interface Props$X {
7732
+ interface Props$Y {
7732
7733
  figureId: UID;
7733
7734
  definition: ChartWithDataSetDefinition;
7734
7735
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7735
7736
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7736
7737
  }
7737
- declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7738
+ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7738
7739
  static template: string;
7739
7740
  static components: {
7740
7741
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7762,13 +7763,13 @@ declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv>
7762
7763
  getDataSerieLabel(): string | undefined;
7763
7764
  }
7764
7765
 
7765
- interface Props$W {
7766
+ interface Props$X {
7766
7767
  figureId: UID;
7767
7768
  definition: ChartWithDataSetDefinition;
7768
7769
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7769
7770
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7770
7771
  }
7771
- declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
7772
+ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7772
7773
  static template: string;
7773
7774
  static components: {
7774
7775
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7809,13 +7810,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetC
7809
7810
  updateTrendLineValue(index: number, config: any): void;
7810
7811
  }
7811
7812
 
7812
- interface Props$V {
7813
+ interface Props$W {
7813
7814
  figureId: UID;
7814
7815
  definition: ChartWithDataSetDefinition;
7815
7816
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7816
7817
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7817
7818
  }
7818
- declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Component<P, SpreadsheetChildEnv> {
7819
+ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
7819
7820
  static template: string;
7820
7821
  static components: {
7821
7822
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7835,13 +7836,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Comp
7835
7836
  get axesList(): AxisDefinition[];
7836
7837
  }
7837
7838
 
7838
- interface Props$U {
7839
+ interface Props$V {
7839
7840
  figureId: UID;
7840
7841
  definition: GaugeChartDefinition;
7841
7842
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7842
7843
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7843
7844
  }
7844
- declare class GaugeChartConfigPanel extends Component<Props$U, SpreadsheetChildEnv> {
7845
+ declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
7845
7846
  static template: string;
7846
7847
  static components: {
7847
7848
  ChartErrorSection: typeof ChartErrorSection;
@@ -7905,13 +7906,13 @@ interface EnrichedToken extends Token {
7905
7906
  isParenthesisLinkedToCursor?: boolean;
7906
7907
  }
7907
7908
 
7908
- interface Props$T {
7909
+ interface Props$U {
7909
7910
  proposals: AutoCompleteProposal[];
7910
7911
  selectedIndex: number | undefined;
7911
7912
  onValueSelected: (value: string) => void;
7912
7913
  onValueHovered: (index: string) => void;
7913
7914
  }
7914
- declare class TextValueProvider extends Component<Props$T> {
7915
+ declare class TextValueProvider extends Component<Props$U> {
7915
7916
  static template: string;
7916
7917
  static props: {
7917
7918
  proposals: ArrayConstructor;
@@ -7978,19 +7979,19 @@ declare class ContentEditableHelper {
7978
7979
  getText(): string;
7979
7980
  }
7980
7981
 
7981
- interface Props$S {
7982
+ interface Props$T {
7982
7983
  functionName: string;
7983
7984
  functionDescription: FunctionDescription;
7984
7985
  argToFocus: number;
7985
7986
  }
7986
- declare class FunctionDescriptionProvider extends Component<Props$S, SpreadsheetChildEnv> {
7987
+ declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
7987
7988
  static template: string;
7988
7989
  static props: {
7989
7990
  functionName: StringConstructor;
7990
7991
  functionDescription: ObjectConstructor;
7991
7992
  argToFocus: NumberConstructor;
7992
7993
  };
7993
- getContext(): Props$S;
7994
+ getContext(): Props$T;
7994
7995
  get formulaArgSeparator(): string;
7995
7996
  }
7996
7997
 
@@ -8329,11 +8330,12 @@ interface ComposerStoreInterface {
8329
8330
  * We declare the providers in the registry as an object (rather than a class)
8330
8331
  * to allow a type-safe way to declare the provider.
8331
8332
  * We still want to be able to use `this` for the getters and dispatch for simplicity.
8332
- * Binding happens at runtime in the edition plugin.
8333
+ * Binding happens at runtime in the composer store.
8333
8334
  */
8334
8335
  interface AutoCompleteProviderDefinition {
8335
8336
  sequence?: number;
8336
8337
  autoSelectFirstProposal?: boolean;
8338
+ displayAllOnInitialContent?: boolean;
8337
8339
  maxDisplayedProposals?: number;
8338
8340
  getProposals(this: {
8339
8341
  composer: ComposerStoreInterface;
@@ -8392,7 +8394,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8392
8394
  getMenuItems(): Action[];
8393
8395
  }
8394
8396
 
8395
- interface Props$R {
8397
+ interface Props$S {
8396
8398
  onConfirm: (content: string) => void;
8397
8399
  composerContent: string;
8398
8400
  defaultRangeSheetId: UID;
@@ -8404,7 +8406,7 @@ interface Props$R {
8404
8406
  invalid?: boolean;
8405
8407
  getContextualColoredSymbolToken?: (token: Token) => Color;
8406
8408
  }
8407
- declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8409
+ declare class StandaloneComposer extends Component<Props$S, SpreadsheetChildEnv> {
8408
8410
  static template: string;
8409
8411
  static props: {
8410
8412
  composerContent: {
@@ -8467,13 +8469,13 @@ interface PanelState {
8467
8469
  sectionRuleCancelledReasons?: CommandResult[];
8468
8470
  sectionRule: SectionRule;
8469
8471
  }
8470
- interface Props$Q {
8472
+ interface Props$R {
8471
8473
  figureId: UID;
8472
8474
  definition: GaugeChartDefinition;
8473
8475
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8474
8476
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8475
8477
  }
8476
- declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8478
+ declare class GaugeChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
8477
8479
  static template: string;
8478
8480
  static components: {
8479
8481
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8523,13 +8525,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
8523
8525
  onUpdateCumulative(cumulative: boolean): void;
8524
8526
  }
8525
8527
 
8526
- interface Props$P {
8528
+ interface Props$Q {
8527
8529
  figureId: UID;
8528
8530
  definition: ScorecardChartDefinition;
8529
8531
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8530
8532
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8531
8533
  }
8532
- declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8534
+ declare class ScorecardChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8533
8535
  static template: string;
8534
8536
  static components: {
8535
8537
  SelectionInput: typeof SelectionInput;
@@ -8558,13 +8560,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
8558
8560
  }
8559
8561
 
8560
8562
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8561
- interface Props$O {
8563
+ interface Props$P {
8562
8564
  figureId: UID;
8563
8565
  definition: ScorecardChartDefinition;
8564
8566
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8565
8567
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8566
8568
  }
8567
- declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8569
+ declare class ScorecardChartDesignPanel extends Component<Props$P, SpreadsheetChildEnv> {
8568
8570
  static template: string;
8569
8571
  static components: {
8570
8572
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8663,10 +8665,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8663
8665
  private setComposerContent;
8664
8666
  }
8665
8667
 
8666
- interface Props$N {
8668
+ interface Props$O {
8667
8669
  figure: Figure;
8668
8670
  }
8669
- declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8671
+ declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
8670
8672
  static template: string;
8671
8673
  static props: {
8672
8674
  figure: ObjectConstructor;
@@ -8682,10 +8684,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8682
8684
  private updateChartJs;
8683
8685
  }
8684
8686
 
8685
- interface Props$M {
8687
+ interface Props$N {
8686
8688
  figure: Figure;
8687
8689
  }
8688
- declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8690
+ declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
8689
8691
  static template: string;
8690
8692
  static props: {
8691
8693
  figure: ObjectConstructor;
@@ -8698,7 +8700,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8698
8700
  }
8699
8701
 
8700
8702
  type MenuItemOrSeparator = Action | "separator";
8701
- interface Props$L {
8703
+ interface Props$M {
8702
8704
  position: DOMCoordinates;
8703
8705
  menuItems: Action[];
8704
8706
  depth: number;
@@ -8717,7 +8719,7 @@ interface MenuState {
8717
8719
  menuItems: Action[];
8718
8720
  isHoveringChild?: boolean;
8719
8721
  }
8720
- declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8722
+ declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
8721
8723
  static template: string;
8722
8724
  static props: {
8723
8725
  position: ObjectConstructor;
@@ -8793,14 +8795,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8793
8795
  }
8794
8796
 
8795
8797
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8796
- interface Props$K {
8798
+ interface Props$L {
8797
8799
  figure: Figure;
8798
8800
  style: string;
8799
8801
  onFigureDeleted: () => void;
8800
8802
  onMouseDown: (ev: MouseEvent) => void;
8801
8803
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8802
8804
  }
8803
- declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8805
+ declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
8804
8806
  static template: string;
8805
8807
  static props: {
8806
8808
  figure: ObjectConstructor;
@@ -8849,11 +8851,11 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8849
8851
  private openContextMenu;
8850
8852
  }
8851
8853
 
8852
- interface Props$J {
8854
+ interface Props$K {
8853
8855
  figure: Figure;
8854
8856
  onFigureDeleted: () => void;
8855
8857
  }
8856
- declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8858
+ declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
8857
8859
  static template: string;
8858
8860
  static props: {
8859
8861
  figure: ObjectConstructor;
@@ -8865,7 +8867,7 @@ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8865
8867
  get chartComponent(): new (...args: any) => Component;
8866
8868
  }
8867
8869
 
8868
- interface Props$I {
8870
+ interface Props$J {
8869
8871
  isVisible: boolean;
8870
8872
  position: Position;
8871
8873
  }
@@ -8877,7 +8879,7 @@ interface State$7 {
8877
8879
  position: Position;
8878
8880
  handler: boolean;
8879
8881
  }
8880
- declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8882
+ declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
8881
8883
  static template: string;
8882
8884
  static props: {
8883
8885
  position: ObjectConstructor;
@@ -8911,7 +8913,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8911
8913
  get tagStyle(): string;
8912
8914
  }
8913
8915
 
8914
- interface Props$H {
8916
+ interface Props$I {
8915
8917
  gridDims: DOMDimension;
8916
8918
  onInputContextMenu: (event: MouseEvent) => void;
8917
8919
  }
@@ -8919,7 +8921,7 @@ interface Props$H {
8919
8921
  * This component is a composer which positions itself on the grid at the anchor cell.
8920
8922
  * It also applies the style of the cell to the composer input.
8921
8923
  */
8922
- declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8924
+ declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
8923
8925
  static template: string;
8924
8926
  static props: {
8925
8927
  gridDims: ObjectConstructor;
@@ -8977,10 +8979,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8977
8979
  isPositionVisible(position: CellPosition): boolean;
8978
8980
  }
8979
8981
 
8980
- interface Props$G {
8982
+ interface Props$H {
8981
8983
  cellPosition: CellPosition;
8982
8984
  }
8983
- declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8985
+ declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
8984
8986
  static template: string;
8985
8987
  static components: {
8986
8988
  Checkbox: typeof Checkbox;
@@ -8993,10 +8995,10 @@ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChild
8993
8995
  get isDisabled(): boolean;
8994
8996
  }
8995
8997
 
8996
- interface Props$F {
8998
+ interface Props$G {
8997
8999
  cellPosition: CellPosition;
8998
9000
  }
8999
- declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
9001
+ declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
9000
9002
  static template: string;
9001
9003
  static props: {
9002
9004
  cellPosition: ObjectConstructor;
@@ -9026,7 +9028,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9026
9028
  }
9027
9029
 
9028
9030
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9029
- interface Props$E {
9031
+ interface Props$F {
9030
9032
  onFigureDeleted: () => void;
9031
9033
  }
9032
9034
  interface Container {
@@ -9106,7 +9108,7 @@ interface DndState {
9106
9108
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9107
9109
  *
9108
9110
  */
9109
- declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9111
+ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
9110
9112
  static template: string;
9111
9113
  static props: {
9112
9114
  onFigureDeleted: FunctionConstructor;
@@ -9141,10 +9143,10 @@ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9141
9143
  private getSnapLineStyle;
9142
9144
  }
9143
9145
 
9144
- interface Props$D {
9146
+ interface Props$E {
9145
9147
  cellPosition: CellPosition;
9146
9148
  }
9147
- declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9149
+ declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
9148
9150
  static template: string;
9149
9151
  static props: {
9150
9152
  cellPosition: ObjectConstructor;
@@ -9166,10 +9168,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9166
9168
  getFilterHeadersPositions(): CellPosition[];
9167
9169
  }
9168
9170
 
9169
- interface Props$C {
9171
+ interface Props$D {
9170
9172
  focusGrid: () => void;
9171
9173
  }
9172
- declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9174
+ declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv> {
9173
9175
  static template: string;
9174
9176
  static props: {
9175
9177
  focusGrid: FunctionConstructor;
@@ -9193,7 +9195,7 @@ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv>
9193
9195
  private onExternalClick;
9194
9196
  }
9195
9197
 
9196
- interface Props$B {
9198
+ interface Props$C {
9197
9199
  onCellHovered: (position: Partial<Position$1>) => void;
9198
9200
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9199
9201
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
@@ -9203,7 +9205,7 @@ interface Props$B {
9203
9205
  gridOverlayDimensions: string;
9204
9206
  onFigureDeleted: () => void;
9205
9207
  }
9206
- declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9208
+ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
9207
9209
  static template: string;
9208
9210
  static props: {
9209
9211
  onCellHovered: {
@@ -9261,12 +9263,12 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9261
9263
  private getCartesianCoordinates;
9262
9264
  }
9263
9265
 
9264
- interface Props$A {
9266
+ interface Props$B {
9265
9267
  gridRect: Rect;
9266
9268
  onClosePopover: () => void;
9267
9269
  onMouseWheel: (ev: WheelEvent) => void;
9268
9270
  }
9269
- declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9271
+ declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
9270
9272
  static template: string;
9271
9273
  static props: {
9272
9274
  onClosePopover: FunctionConstructor;
@@ -9282,6 +9284,53 @@ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9282
9284
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9283
9285
  }
9284
9286
 
9287
+ interface Props$A {
9288
+ headersGroups: ConsecutiveIndexes[];
9289
+ offset: number;
9290
+ headerRange: {
9291
+ start: HeaderIndex;
9292
+ end: HeaderIndex;
9293
+ };
9294
+ }
9295
+ declare class UnhideRowHeaders extends Component<Props$A, SpreadsheetChildEnv> {
9296
+ static template: string;
9297
+ static props: {
9298
+ headersGroups: ArrayConstructor;
9299
+ headerRange: ObjectConstructor;
9300
+ offset: {
9301
+ type: NumberConstructor;
9302
+ optional: boolean;
9303
+ };
9304
+ };
9305
+ static defaultProps: {
9306
+ offset: number;
9307
+ };
9308
+ get sheetId(): UID;
9309
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9310
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9311
+ unhide(hiddenElements: HeaderIndex[]): void;
9312
+ isVisible(header: HeaderIndex): boolean;
9313
+ }
9314
+ declare class UnhideColumnHeaders extends Component<Props$A, SpreadsheetChildEnv> {
9315
+ static template: string;
9316
+ static props: {
9317
+ headersGroups: ArrayConstructor;
9318
+ headerRange: ObjectConstructor;
9319
+ offset: {
9320
+ type: NumberConstructor;
9321
+ optional: boolean;
9322
+ };
9323
+ };
9324
+ static defaultProps: {
9325
+ offset: number;
9326
+ };
9327
+ get sheetId(): UID;
9328
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9329
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9330
+ unhide(hiddenElements: HeaderIndex[]): void;
9331
+ isVisible(header: HeaderIndex): boolean;
9332
+ }
9333
+
9285
9334
  interface ResizerState {
9286
9335
  resizerIsActive: boolean;
9287
9336
  isResizing: boolean;
@@ -9345,8 +9394,12 @@ declare class ColResizer extends AbstractResizer {
9345
9394
  onOpenContextMenu: FunctionConstructor;
9346
9395
  };
9347
9396
  static template: string;
9397
+ static components: {
9398
+ UnhideColumnHeaders: typeof UnhideColumnHeaders;
9399
+ };
9348
9400
  private colResizerRef;
9349
9401
  setup(): void;
9402
+ get sheetId(): UID;
9350
9403
  _getEvOffset(ev: MouseEvent): Pixel;
9351
9404
  _getViewportOffset(): Pixel;
9352
9405
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9366,15 +9419,35 @@ declare class ColResizer extends AbstractResizer {
9366
9419
  _getActiveElements(): Set<HeaderIndex>;
9367
9420
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9368
9421
  unhide(hiddenElements: HeaderIndex[]): void;
9369
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9422
+ get mainUnhideHeadersProps(): {
9423
+ headersGroups: ConsecutiveIndexes[];
9424
+ offset: Pixel;
9425
+ headerRange: {
9426
+ start: HeaderIndex;
9427
+ end: HeaderIndex;
9428
+ };
9429
+ };
9430
+ get frozenUnhideHeadersProps(): {
9431
+ headersGroups: ConsecutiveIndexes[];
9432
+ headerRange: {
9433
+ start: number;
9434
+ end: number;
9435
+ };
9436
+ };
9437
+ get frozenContainerStyle(): string;
9438
+ get hasFrozenPane(): boolean;
9370
9439
  }
9371
9440
  declare class RowResizer extends AbstractResizer {
9372
9441
  static props: {
9373
9442
  onOpenContextMenu: FunctionConstructor;
9374
9443
  };
9375
9444
  static template: string;
9445
+ static components: {
9446
+ UnhideRowHeaders: typeof UnhideRowHeaders;
9447
+ };
9376
9448
  setup(): void;
9377
9449
  private rowResizerRef;
9450
+ get sheetId(): UID;
9378
9451
  _getEvOffset(ev: MouseEvent): Pixel;
9379
9452
  _getViewportOffset(): Pixel;
9380
9453
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9393,8 +9466,23 @@ declare class RowResizer extends AbstractResizer {
9393
9466
  _getType(): ContextMenuType;
9394
9467
  _getActiveElements(): Set<HeaderIndex>;
9395
9468
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9396
- unhide(hiddenElements: HeaderIndex[]): void;
9397
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9469
+ get mainUnhideHeadersProps(): {
9470
+ headersGroups: ConsecutiveIndexes[];
9471
+ offset: Pixel;
9472
+ headerRange: {
9473
+ start: HeaderIndex;
9474
+ end: HeaderIndex;
9475
+ };
9476
+ };
9477
+ get frozenUnhideHeadersProps(): {
9478
+ headersGroups: ConsecutiveIndexes[];
9479
+ headerRange: {
9480
+ start: number;
9481
+ end: number;
9482
+ };
9483
+ };
9484
+ get frozenContainerStyle(): string;
9485
+ get hasFrozenPane(): boolean;
9398
9486
  }
9399
9487
  declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9400
9488
  static props: {