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