@odoo/o-spreadsheet 19.0.4 → 19.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7131,7 +7131,7 @@ interface ChartSubtypeProperties {
7131
7131
  preview: string;
7132
7132
  }
7133
7133
 
7134
- interface Props$1r {
7134
+ interface Props$1s {
7135
7135
  label?: string;
7136
7136
  value: boolean;
7137
7137
  className?: string;
@@ -7140,7 +7140,7 @@ interface Props$1r {
7140
7140
  disabled?: boolean;
7141
7141
  onChange: (value: boolean) => void;
7142
7142
  }
7143
- declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
7143
+ declare class Checkbox extends Component<Props$1s, SpreadsheetChildEnv> {
7144
7144
  static template: string;
7145
7145
  static props: {
7146
7146
  label: {
@@ -7175,10 +7175,10 @@ declare class Checkbox extends Component<Props$1r, SpreadsheetChildEnv> {
7175
7175
  onChange(ev: InputEvent): void;
7176
7176
  }
7177
7177
 
7178
- interface Props$1q {
7178
+ interface Props$1r {
7179
7179
  class?: string;
7180
7180
  }
7181
- declare class Section extends Component<Props$1q, SpreadsheetChildEnv> {
7181
+ declare class Section extends Component<Props$1r, SpreadsheetChildEnv> {
7182
7182
  static template: string;
7183
7183
  static props: {
7184
7184
  class: {
@@ -7343,7 +7343,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7343
7343
  getIndex(rangeId: number | null): number | null;
7344
7344
  }
7345
7345
 
7346
- interface Props$1p {
7346
+ interface Props$1q {
7347
7347
  ranges: string[];
7348
7348
  hasSingleRange?: boolean;
7349
7349
  required?: boolean;
@@ -7371,7 +7371,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7371
7371
  * onSelectionChanged is called every time the input value
7372
7372
  * changes.
7373
7373
  */
7374
- declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
7374
+ declare class SelectionInput extends Component<Props$1q, SpreadsheetChildEnv> {
7375
7375
  static template: string;
7376
7376
  static props: {
7377
7377
  ranges: ArrayConstructor;
@@ -7448,7 +7448,7 @@ declare class SelectionInput extends Component<Props$1p, SpreadsheetChildEnv> {
7448
7448
  confirm(): void;
7449
7449
  }
7450
7450
 
7451
- interface Props$1o {
7451
+ interface Props$1p {
7452
7452
  ranges: CustomizedDataSet[];
7453
7453
  hasSingleRange?: boolean;
7454
7454
  onSelectionChanged: (ranges: string[]) => void;
@@ -7461,7 +7461,7 @@ interface Props$1o {
7461
7461
  canChangeDatasetOrientation?: boolean;
7462
7462
  onFlipAxis?: (structure: string) => void;
7463
7463
  }
7464
- declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
7464
+ declare class ChartDataSeries extends Component<Props$1p, SpreadsheetChildEnv> {
7465
7465
  static template: string;
7466
7466
  static components: {
7467
7467
  SelectionInput: typeof SelectionInput;
@@ -7510,12 +7510,12 @@ declare class ChartDataSeries extends Component<Props$1o, SpreadsheetChildEnv> {
7510
7510
  get title(): string;
7511
7511
  }
7512
7512
 
7513
- interface Props$1n {
7513
+ interface Props$1o {
7514
7514
  messages: string[];
7515
7515
  msgType: "warning" | "error" | "info";
7516
7516
  singleBox?: boolean;
7517
7517
  }
7518
- declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv> {
7518
+ declare class ValidationMessages extends Component<Props$1o, SpreadsheetChildEnv> {
7519
7519
  static template: string;
7520
7520
  static props: {
7521
7521
  messages: ArrayConstructor;
@@ -7529,10 +7529,10 @@ declare class ValidationMessages extends Component<Props$1n, SpreadsheetChildEnv
7529
7529
  get alertBoxes(): string[][];
7530
7530
  }
7531
7531
 
7532
- interface Props$1m {
7532
+ interface Props$1n {
7533
7533
  messages: string[];
7534
7534
  }
7535
- declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv> {
7535
+ declare class ChartErrorSection extends Component<Props$1n, SpreadsheetChildEnv> {
7536
7536
  static template: string;
7537
7537
  static components: {
7538
7538
  Section: typeof Section;
@@ -7546,7 +7546,7 @@ declare class ChartErrorSection extends Component<Props$1m, SpreadsheetChildEnv>
7546
7546
  };
7547
7547
  }
7548
7548
 
7549
- interface Props$1l {
7549
+ interface Props$1m {
7550
7550
  title?: string;
7551
7551
  range: string;
7552
7552
  isInvalid: boolean;
@@ -7559,7 +7559,7 @@ interface Props$1l {
7559
7559
  onChange: (value: boolean) => void;
7560
7560
  }>;
7561
7561
  }
7562
- declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
7562
+ declare class ChartLabelRange extends Component<Props$1m, SpreadsheetChildEnv> {
7563
7563
  static template: string;
7564
7564
  static components: {
7565
7565
  SelectionInput: typeof SelectionInput;
@@ -7580,10 +7580,10 @@ declare class ChartLabelRange extends Component<Props$1l, SpreadsheetChildEnv> {
7580
7580
  optional: boolean;
7581
7581
  };
7582
7582
  };
7583
- static defaultProps: Partial<Props$1l>;
7583
+ static defaultProps: Partial<Props$1m>;
7584
7584
  }
7585
7585
 
7586
- interface Props$1k {
7586
+ interface Props$1l {
7587
7587
  chartId: UID;
7588
7588
  definition: ChartWithDataSetDefinition;
7589
7589
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7593,7 +7593,7 @@ interface ChartPanelState {
7593
7593
  datasetDispatchResult?: DispatchResult;
7594
7594
  labelsDispatchResult?: DispatchResult;
7595
7595
  }
7596
- declare class GenericChartConfigPanel extends Component<Props$1k, SpreadsheetChildEnv> {
7596
+ declare class GenericChartConfigPanel extends Component<Props$1l, SpreadsheetChildEnv> {
7597
7597
  static template: string;
7598
7598
  static components: {
7599
7599
  ChartDataSeries: typeof ChartDataSeries;
@@ -7662,11 +7662,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7662
7662
  onUpdateStacked(stacked: boolean): void;
7663
7663
  }
7664
7664
 
7665
- interface Props$1j {
7665
+ interface Props$1k {
7666
7666
  isCollapsed: boolean;
7667
7667
  slots: any;
7668
7668
  }
7669
- declare class Collapse extends Component<Props$1j, SpreadsheetChildEnv> {
7669
+ declare class Collapse extends Component<Props$1k, SpreadsheetChildEnv> {
7670
7670
  static template: string;
7671
7671
  static props: {
7672
7672
  isCollapsed: BooleanConstructor;
@@ -7705,12 +7705,12 @@ interface Choice$1 {
7705
7705
  value: string;
7706
7706
  label: string;
7707
7707
  }
7708
- interface Props$1i {
7708
+ interface Props$1j {
7709
7709
  choices: Choice$1[];
7710
7710
  onChange: (value: string) => void;
7711
7711
  selectedValue: string;
7712
7712
  }
7713
- declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
7713
+ declare class BadgeSelection extends Component<Props$1j, SpreadsheetChildEnv> {
7714
7714
  static template: string;
7715
7715
  static props: {
7716
7716
  choices: ArrayConstructor;
@@ -7719,14 +7719,14 @@ declare class BadgeSelection extends Component<Props$1i, SpreadsheetChildEnv> {
7719
7719
  };
7720
7720
  }
7721
7721
 
7722
- interface Props$1h {
7722
+ interface Props$1i {
7723
7723
  action: ActionSpec;
7724
7724
  hasTriangleDownIcon?: boolean;
7725
7725
  selectedColor?: string;
7726
7726
  class?: string;
7727
7727
  onClick?: (ev: MouseEvent) => void;
7728
7728
  }
7729
- declare class ActionButton extends Component<Props$1h, SpreadsheetChildEnv> {
7729
+ declare class ActionButton extends Component<Props$1i, SpreadsheetChildEnv> {
7730
7730
  static template: string;
7731
7731
  static props: {
7732
7732
  action: ObjectConstructor;
@@ -7924,7 +7924,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7924
7924
  isSameColor(color1: Color, color2: Color): boolean;
7925
7925
  }
7926
7926
 
7927
- interface Props$1g {
7927
+ interface Props$1h {
7928
7928
  currentColor: string | undefined;
7929
7929
  toggleColorPicker: () => void;
7930
7930
  showColorPicker: boolean;
@@ -7935,7 +7935,7 @@ interface Props$1g {
7935
7935
  dropdownMaxHeight?: Pixel;
7936
7936
  class?: string;
7937
7937
  }
7938
- declare class ColorPickerWidget extends Component<Props$1g, SpreadsheetChildEnv> {
7938
+ declare class ColorPickerWidget extends Component<Props$1h, SpreadsheetChildEnv> {
7939
7939
  static template: string;
7940
7940
  static props: {
7941
7941
  currentColor: {
@@ -7996,14 +7996,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7996
7996
  interface State$5 {
7997
7997
  isOpen: boolean;
7998
7998
  }
7999
- interface Props$1f {
7999
+ interface Props$1g {
8000
8000
  currentFontSize: number;
8001
8001
  class: string;
8002
8002
  onFontSizeChanged: (fontSize: number) => void;
8003
8003
  onToggle?: () => void;
8004
8004
  onFocusInput?: () => void;
8005
8005
  }
8006
- declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
8006
+ declare class FontSizeEditor extends Component<Props$1g, SpreadsheetChildEnv> {
8007
8007
  static template: string;
8008
8008
  static props: {
8009
8009
  currentFontSize: NumberConstructor;
@@ -8041,7 +8041,7 @@ declare class FontSizeEditor extends Component<Props$1f, SpreadsheetChildEnv> {
8041
8041
  onInputKeydown(ev: KeyboardEvent): void;
8042
8042
  }
8043
8043
 
8044
- interface Props$1e {
8044
+ interface Props$1f {
8045
8045
  class?: string;
8046
8046
  style: ChartStyle;
8047
8047
  updateStyle: (style: ChartStyle) => void;
@@ -8050,7 +8050,7 @@ interface Props$1e {
8050
8050
  hasHorizontalAlign?: boolean;
8051
8051
  hasBackgroundColor?: boolean;
8052
8052
  }
8053
- declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
8053
+ declare class TextStyler extends Component<Props$1f, SpreadsheetChildEnv> {
8054
8054
  static template: string;
8055
8055
  static components: {
8056
8056
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -8118,7 +8118,7 @@ declare class TextStyler extends Component<Props$1e, SpreadsheetChildEnv> {
8118
8118
  get verticalAlignActions(): ActionSpec[];
8119
8119
  }
8120
8120
 
8121
- interface Props$1d {
8121
+ interface Props$1e {
8122
8122
  title?: string;
8123
8123
  placeholder?: string;
8124
8124
  updateTitle: (title: string) => void;
@@ -8127,7 +8127,7 @@ interface Props$1d {
8127
8127
  defaultStyle?: Partial<TitleDesign>;
8128
8128
  updateStyle: (style: TitleDesign) => void;
8129
8129
  }
8130
- declare class ChartTitle extends Component<Props$1d, SpreadsheetChildEnv> {
8130
+ declare class ChartTitle extends Component<Props$1e, SpreadsheetChildEnv> {
8131
8131
  static template: string;
8132
8132
  static components: {
8133
8133
  Section: typeof Section;
@@ -8164,13 +8164,13 @@ interface AxisDefinition {
8164
8164
  id: string;
8165
8165
  name: string;
8166
8166
  }
8167
- interface Props$1c {
8167
+ interface Props$1d {
8168
8168
  chartId: UID;
8169
8169
  definition: ChartWithAxisDefinition;
8170
8170
  updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8171
8171
  axesList: AxisDefinition[];
8172
8172
  }
8173
- declare class AxisDesignEditor extends Component<Props$1c, SpreadsheetChildEnv> {
8173
+ declare class AxisDesignEditor extends Component<Props$1d, SpreadsheetChildEnv> {
8174
8174
  static template: string;
8175
8175
  static components: {
8176
8176
  Section: typeof Section;
@@ -8202,14 +8202,14 @@ interface Choice {
8202
8202
  value: unknown;
8203
8203
  label: string;
8204
8204
  }
8205
- interface Props$1b {
8205
+ interface Props$1c {
8206
8206
  choices: Choice[];
8207
8207
  onChange: (value: unknown) => void;
8208
8208
  selectedValue: string;
8209
8209
  name: string;
8210
8210
  direction: "horizontal" | "vertical";
8211
8211
  }
8212
- declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
8212
+ declare class RadioSelection extends Component<Props$1c, SpreadsheetChildEnv> {
8213
8213
  static template: string;
8214
8214
  static props: {
8215
8215
  choices: ArrayConstructor;
@@ -8228,13 +8228,13 @@ declare class RadioSelection extends Component<Props$1b, SpreadsheetChildEnv> {
8228
8228
  };
8229
8229
  }
8230
8230
 
8231
- interface Props$1a {
8231
+ interface Props$1b {
8232
8232
  currentColor?: string;
8233
8233
  onColorPicked: (color: string) => void;
8234
8234
  title?: string;
8235
8235
  disableNoColor?: boolean;
8236
8236
  }
8237
- declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv> {
8237
+ declare class RoundColorPicker extends Component<Props$1b, SpreadsheetChildEnv> {
8238
8238
  static template: string;
8239
8239
  static components: {
8240
8240
  Section: typeof Section;
@@ -8267,14 +8267,14 @@ declare class RoundColorPicker extends Component<Props$1a, SpreadsheetChildEnv>
8267
8267
  get buttonStyle(): string;
8268
8268
  }
8269
8269
 
8270
- interface Props$19 {
8270
+ interface Props$1a {
8271
8271
  chartId: UID;
8272
8272
  definition: ChartDefinition;
8273
8273
  updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8274
8274
  canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8275
8275
  defaultChartTitleFontSize?: number;
8276
8276
  }
8277
- declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEnv> {
8277
+ declare class GeneralDesignEditor extends Component<Props$1a, SpreadsheetChildEnv> {
8278
8278
  static template: string;
8279
8279
  static components: {
8280
8280
  RoundColorPicker: typeof RoundColorPicker;
@@ -8309,13 +8309,13 @@ declare class GeneralDesignEditor extends Component<Props$19, SpreadsheetChildEn
8309
8309
  updateChartTitleStyle(style: TitleDesign): void;
8310
8310
  }
8311
8311
 
8312
- interface Props$18 {
8312
+ interface Props$19 {
8313
8313
  chartId: UID;
8314
8314
  definition: ChartWithDataSetDefinition;
8315
8315
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8316
8316
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8317
8317
  }
8318
- declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildEnv> {
8318
+ declare class ChartHumanizeNumbers extends Component<Props$19, SpreadsheetChildEnv> {
8319
8319
  static template: string;
8320
8320
  static components: {
8321
8321
  Checkbox: typeof Checkbox;
@@ -8328,13 +8328,13 @@ declare class ChartHumanizeNumbers extends Component<Props$18, SpreadsheetChildE
8328
8328
  };
8329
8329
  }
8330
8330
 
8331
- interface Props$17 {
8331
+ interface Props$18 {
8332
8332
  chartId: UID;
8333
8333
  definition: ChartWithDataSetDefinition;
8334
8334
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8335
8335
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8336
8336
  }
8337
- declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
8337
+ declare class ChartLegend extends Component<Props$18, SpreadsheetChildEnv> {
8338
8338
  static template: string;
8339
8339
  static components: {
8340
8340
  Section: typeof Section;
@@ -8348,13 +8348,13 @@ declare class ChartLegend extends Component<Props$17, SpreadsheetChildEnv> {
8348
8348
  updateLegendPosition(ev: any): void;
8349
8349
  }
8350
8350
 
8351
- interface Props$16 {
8351
+ interface Props$17 {
8352
8352
  chartId: UID;
8353
8353
  definition: ChartWithDataSetDefinition;
8354
8354
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8355
8355
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8356
8356
  }
8357
- declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8357
+ declare class SeriesDesignEditor extends Component<Props$17, SpreadsheetChildEnv> {
8358
8358
  static template: string;
8359
8359
  static components: {
8360
8360
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8382,13 +8382,13 @@ declare class SeriesDesignEditor extends Component<Props$16, SpreadsheetChildEnv
8382
8382
  getDataSeriesLabel(): string | undefined;
8383
8383
  }
8384
8384
 
8385
- interface Props$15 {
8385
+ interface Props$16 {
8386
8386
  chartId: UID;
8387
8387
  definition: ChartWithDataSetDefinition;
8388
8388
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8389
8389
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8390
8390
  }
8391
- declare class SeriesWithAxisDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8391
+ declare class SeriesWithAxisDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8392
8392
  static template: string;
8393
8393
  static components: {
8394
8394
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8429,14 +8429,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$15, Spreadsheet
8429
8429
  updateTrendLineValue(index: number, config: any): void;
8430
8430
  }
8431
8431
 
8432
- interface Props$14 {
8432
+ interface Props$15 {
8433
8433
  chartId: UID;
8434
8434
  definition: ChartWithDataSetDefinition;
8435
8435
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8436
8436
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8437
8437
  defaultValue?: boolean;
8438
8438
  }
8439
- declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
8439
+ declare class ChartShowValues extends Component<Props$15, SpreadsheetChildEnv> {
8440
8440
  static template: string;
8441
8441
  static components: {
8442
8442
  Checkbox: typeof Checkbox;
@@ -8453,13 +8453,13 @@ declare class ChartShowValues extends Component<Props$14, SpreadsheetChildEnv> {
8453
8453
  };
8454
8454
  }
8455
8455
 
8456
- interface Props$13 {
8456
+ interface Props$14 {
8457
8457
  chartId: UID;
8458
8458
  definition: ChartWithDataSetDefinition;
8459
8459
  canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8460
8460
  updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8461
8461
  }
8462
- declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Component<P, SpreadsheetChildEnv> {
8462
+ declare class ChartWithAxisDesignPanel<P extends Props$14 = Props$14> extends Component<P, SpreadsheetChildEnv> {
8463
8463
  static template: string;
8464
8464
  static components: {
8465
8465
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8480,13 +8480,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$13 = Props$13> extends Co
8480
8480
  get axesList(): AxisDefinition[];
8481
8481
  }
8482
8482
 
8483
- interface Props$12 {
8483
+ interface Props$13 {
8484
8484
  chartId: UID;
8485
8485
  definition: GaugeChartDefinition;
8486
8486
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8487
8487
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8488
8488
  }
8489
- declare class GaugeChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
8489
+ declare class GaugeChartConfigPanel extends Component<Props$13, SpreadsheetChildEnv> {
8490
8490
  static template: string;
8491
8491
  static components: {
8492
8492
  ChartErrorSection: typeof ChartErrorSection;
@@ -8551,13 +8551,13 @@ interface EnrichedToken extends Token {
8551
8551
  isInHoverContext?: boolean;
8552
8552
  }
8553
8553
 
8554
- interface Props$11 {
8554
+ interface Props$12 {
8555
8555
  proposals: AutoCompleteProposal[];
8556
8556
  selectedIndex: number | undefined;
8557
8557
  onValueSelected: (value: string) => void;
8558
8558
  onValueHovered: (index: string) => void;
8559
8559
  }
8560
- declare class TextValueProvider extends Component<Props$11> {
8560
+ declare class TextValueProvider extends Component<Props$12> {
8561
8561
  static template: string;
8562
8562
  static props: {
8563
8563
  proposals: ArrayConstructor;
@@ -8614,11 +8614,11 @@ declare class ContentEditableHelper {
8614
8614
  getText(): string;
8615
8615
  }
8616
8616
 
8617
- interface Props$10 {
8617
+ interface Props$11 {
8618
8618
  functionDescription: FunctionDescription;
8619
8619
  argsToFocus: number[];
8620
8620
  }
8621
- declare class FunctionDescriptionProvider extends Component<Props$10, SpreadsheetChildEnv> {
8621
+ declare class FunctionDescriptionProvider extends Component<Props$11, SpreadsheetChildEnv> {
8622
8622
  static template: string;
8623
8623
  static props: {
8624
8624
  functionDescription: ObjectConstructor;
@@ -8629,15 +8629,15 @@ declare class FunctionDescriptionProvider extends Component<Props$10, Spreadshee
8629
8629
  };
8630
8630
  private state;
8631
8631
  toggle(): void;
8632
- getContext(): Props$10;
8632
+ getContext(): Props$11;
8633
8633
  get formulaArgSeparator(): string;
8634
8634
  }
8635
8635
 
8636
- interface Props$$ {
8636
+ interface Props$10 {
8637
8637
  anchorRect: Rect;
8638
8638
  content: string;
8639
8639
  }
8640
- declare class SpeechBubble extends Component<Props$$, SpreadsheetChildEnv> {
8640
+ declare class SpeechBubble extends Component<Props$10, SpreadsheetChildEnv> {
8641
8641
  static template: string;
8642
8642
  static props: {
8643
8643
  content: StringConstructor;
@@ -8679,7 +8679,10 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8679
8679
  private highlightStore;
8680
8680
  constructor(get: Get);
8681
8681
  protected abstract confirmEdition(content: string): void;
8682
- protected abstract getComposerContent(position: CellPosition): string;
8682
+ protected abstract getComposerContent(position: CellPosition, selection?: ComposerSelection): {
8683
+ text: string;
8684
+ adjustedSelection?: ComposerSelection;
8685
+ };
8683
8686
  abstract stopEdition(direction?: Direction$1): void;
8684
8687
  private handleEvent;
8685
8688
  changeComposerCursorSelection(start: number, end: number): void;
@@ -8802,7 +8805,10 @@ declare class CellComposerStore extends AbstractComposerStore {
8802
8805
  private onRowsRemoved;
8803
8806
  private onAddElements;
8804
8807
  protected confirmEdition(content: string): void;
8805
- protected getComposerContent(position: CellPosition): string;
8808
+ protected getComposerContent(position: CellPosition, selection?: ComposerSelection): {
8809
+ text: string;
8810
+ adjustedSelection?: ComposerSelection;
8811
+ };
8806
8812
  private getPrettifiedFormula;
8807
8813
  private numberComposerContent;
8808
8814
  /** Add headers at the end of the sheet so the formula in the composer has enough space to spread */
@@ -8823,8 +8829,8 @@ interface CellComposerProps {
8823
8829
  inputStyle?: string;
8824
8830
  rect?: Rect;
8825
8831
  delimitation?: DOMDimension;
8826
- onComposerContentFocused: () => void;
8827
- onComposerCellFocused?: (content: String) => void;
8832
+ onComposerContentFocused: (selection: ComposerSelection) => void;
8833
+ onComposerCellFocused?: (content: string) => void;
8828
8834
  onInputContextMenu?: (event: MouseEvent) => void;
8829
8835
  isDefaultFocus?: boolean;
8830
8836
  composerStore: Store<CellComposerStore>;
@@ -9040,7 +9046,7 @@ interface AutoCompleteProviderDefinition {
9040
9046
  }, tokenAtCursor: EnrichedToken, text: string): void;
9041
9047
  }
9042
9048
 
9043
- interface Props$_ {
9049
+ interface Props$$ {
9044
9050
  onConfirm: (content: string) => void;
9045
9051
  composerContent: string;
9046
9052
  defaultRangeSheetId: UID;
@@ -9052,7 +9058,7 @@ interface Props$_ {
9052
9058
  invalid?: boolean;
9053
9059
  getContextualColoredSymbolToken?: (token: Token) => Color;
9054
9060
  }
9055
- declare class StandaloneComposer extends Component<Props$_, SpreadsheetChildEnv> {
9061
+ declare class StandaloneComposer extends Component<Props$$, SpreadsheetChildEnv> {
9056
9062
  static template: string;
9057
9063
  static props: {
9058
9064
  composerContent: {
@@ -9115,13 +9121,13 @@ interface PanelState {
9115
9121
  sectionRuleCancelledReasons?: CommandResult[];
9116
9122
  sectionRule: SectionRule;
9117
9123
  }
9118
- interface Props$Z {
9124
+ interface Props$_ {
9119
9125
  chartId: UID;
9120
9126
  definition: GaugeChartDefinition;
9121
9127
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9122
9128
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9123
9129
  }
9124
- declare class GaugeChartDesignPanel extends Component<Props$Z, SpreadsheetChildEnv> {
9130
+ declare class GaugeChartDesignPanel extends Component<Props$_, SpreadsheetChildEnv> {
9125
9131
  static template: string;
9126
9132
  static components: {
9127
9133
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -9172,13 +9178,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9172
9178
  onUpdateCumulative(cumulative: boolean): void;
9173
9179
  }
9174
9180
 
9175
- interface Props$Y {
9181
+ interface Props$Z {
9176
9182
  chartId: UID;
9177
9183
  definition: ScorecardChartDefinition;
9178
9184
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9179
9185
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9180
9186
  }
9181
- declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9187
+ declare class ScorecardChartConfigPanel extends Component<Props$Z, SpreadsheetChildEnv> {
9182
9188
  static template: string;
9183
9189
  static components: {
9184
9190
  SelectionInput: typeof SelectionInput;
@@ -9207,13 +9213,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$Y, SpreadsheetCh
9207
9213
  }
9208
9214
 
9209
9215
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9210
- interface Props$X {
9216
+ interface Props$Y {
9211
9217
  chartId: UID;
9212
9218
  definition: ScorecardChartDefinition;
9213
9219
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9214
9220
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9215
9221
  }
9216
- declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
9222
+ declare class ScorecardChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9217
9223
  static template: string;
9218
9224
  static components: {
9219
9225
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9398,11 +9404,11 @@ declare class ChartAnimationStore extends SpreadsheetStore {
9398
9404
  enableAnimationForChart(chartId: UID): string;
9399
9405
  }
9400
9406
 
9401
- interface Props$W {
9407
+ interface Props$X {
9402
9408
  chartId: UID;
9403
9409
  isFullScreen?: boolean;
9404
9410
  }
9405
- declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9411
+ declare class ChartJsComponent extends Component<Props$X, SpreadsheetChildEnv> {
9406
9412
  static template: string;
9407
9413
  static props: {
9408
9414
  chartId: StringConstructor;
@@ -9423,7 +9429,7 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9423
9429
  get chartRuntime(): ChartJSRuntime;
9424
9430
  setup(): void;
9425
9431
  protected unmount(): void;
9426
- protected get shouldAnimate(): boolean;
9432
+ private get shouldAnimate();
9427
9433
  protected createChart(chartRuntime: ChartJSRuntime): void;
9428
9434
  protected updateChartJs(chartRuntime: ChartJSRuntime): void;
9429
9435
  private hasChartDataChanged;
@@ -9434,16 +9440,22 @@ declare class ChartJsComponent extends Component<Props$W, SpreadsheetChildEnv> {
9434
9440
  plugins?: chart_js_auto.Plugin<any, chart_js_dist_types_basic.AnyObject>[] | undefined;
9435
9441
  platform?: typeof chart_js_auto.BasePlatform;
9436
9442
  };
9443
+ private getChartDataInRuntime;
9437
9444
  get animationChartId(): string;
9438
9445
  }
9439
9446
 
9440
- interface Props$V {
9447
+ interface Props$W {
9441
9448
  chartId: UID;
9449
+ isFullScreen?: Boolean;
9442
9450
  }
9443
- declare class ScorecardChart$1 extends Component<Props$V, SpreadsheetChildEnv> {
9451
+ declare class ScorecardChart$1 extends Component<Props$W, SpreadsheetChildEnv> {
9444
9452
  static template: string;
9445
9453
  static props: {
9446
9454
  chartId: StringConstructor;
9455
+ isFullScreen: {
9456
+ type: BooleanConstructor;
9457
+ optional: boolean;
9458
+ };
9447
9459
  };
9448
9460
  private canvas;
9449
9461
  get runtime(): ScorecardChartRuntime;
@@ -9516,7 +9528,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9516
9528
  onClickMenu(menu: Action, ev: CustomEvent): void;
9517
9529
  }
9518
9530
 
9519
- interface Props$U {
9531
+ interface Props$V {
9520
9532
  anchorRect: Rect;
9521
9533
  popoverPositioning: PopoverPropsPosition;
9522
9534
  menuItems: Action[];
@@ -9536,7 +9548,7 @@ interface MenuState {
9536
9548
  menuItems: Action[];
9537
9549
  isHoveringChild?: boolean;
9538
9550
  }
9539
- declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
9551
+ declare class MenuPopover extends Component<Props$V, SpreadsheetChildEnv> {
9540
9552
  static template: string;
9541
9553
  static props: {
9542
9554
  anchorRect: ObjectConstructor;
@@ -9616,7 +9628,7 @@ declare class MenuPopover extends Component<Props$U, SpreadsheetChildEnv> {
9616
9628
  }
9617
9629
 
9618
9630
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9619
- interface Props$T {
9631
+ interface Props$U {
9620
9632
  figureUI: FigureUI;
9621
9633
  style: string;
9622
9634
  class: string;
@@ -9624,7 +9636,7 @@ interface Props$T {
9624
9636
  onMouseDown: (ev: MouseEvent) => void;
9625
9637
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9626
9638
  }
9627
- declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
9639
+ declare class FigureComponent extends Component<Props$U, SpreadsheetChildEnv> {
9628
9640
  static template: string;
9629
9641
  static props: {
9630
9642
  figureUI: ObjectConstructor;
@@ -9676,12 +9688,13 @@ declare class FigureComponent extends Component<Props$T, SpreadsheetChildEnv> {
9676
9688
  private postionInBoundary;
9677
9689
  onContextMenu(ev: MouseEvent): void;
9678
9690
  showMenu(): void;
9679
- private openContextMenu;
9691
+ openContextMenu(anchorRect: Rect): void;
9680
9692
  editWrapperStyle(properties: CSSProperties): void;
9681
9693
  }
9682
9694
 
9683
- interface Props$S {
9695
+ interface Props$T {
9684
9696
  chartId: UID;
9697
+ hasFullScreenButton: boolean;
9685
9698
  }
9686
9699
  interface MenuItem {
9687
9700
  id: string;
@@ -9690,13 +9703,20 @@ interface MenuItem {
9690
9703
  onClick: () => void;
9691
9704
  preview?: string;
9692
9705
  }
9693
- declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv> {
9706
+ declare class ChartDashboardMenu extends Component<Props$T, SpreadsheetChildEnv> {
9694
9707
  static template: string;
9695
9708
  static components: {
9696
9709
  MenuPopover: typeof MenuPopover;
9697
9710
  };
9698
9711
  static props: {
9699
9712
  chartId: StringConstructor;
9713
+ hasFullScreenButton: {
9714
+ type: BooleanConstructor;
9715
+ optional: boolean;
9716
+ };
9717
+ };
9718
+ static defaultProps: {
9719
+ hasFullScreenButton: boolean;
9700
9720
  };
9701
9721
  private fullScreenFigureStore;
9702
9722
  private menuState;
@@ -9707,12 +9727,14 @@ declare class ChartDashboardMenu extends Component<Props$S, SpreadsheetChildEnv>
9707
9727
  get fullScreenMenuItem(): MenuItem | undefined;
9708
9728
  }
9709
9729
 
9710
- interface Props$R {
9730
+ interface Props$S {
9711
9731
  figureUI: FigureUI;
9712
9732
  onFigureDeleted: () => void;
9713
9733
  editFigureStyle?: (properties: CSSProperties) => void;
9734
+ isFullScreen?: boolean;
9735
+ openContextMenu?: (anchorRect: Rect, onClose?: () => void) => void;
9714
9736
  }
9715
- declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
9737
+ declare class ChartFigure extends Component<Props$S, SpreadsheetChildEnv> {
9716
9738
  static template: string;
9717
9739
  static props: {
9718
9740
  figureUI: ObjectConstructor;
@@ -9721,6 +9743,14 @@ declare class ChartFigure extends Component<Props$R, SpreadsheetChildEnv> {
9721
9743
  type: FunctionConstructor;
9722
9744
  optional: boolean;
9723
9745
  };
9746
+ isFullScreen: {
9747
+ type: BooleanConstructor;
9748
+ optional: boolean;
9749
+ };
9750
+ openContextMenu: {
9751
+ type: FunctionConstructor;
9752
+ optional: boolean;
9753
+ };
9724
9754
  };
9725
9755
  static components: {
9726
9756
  ChartDashboardMenu: typeof ChartDashboardMenu;
@@ -9742,7 +9772,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9742
9772
 
9743
9773
  type DnDDirection = "all" | "vertical" | "horizontal";
9744
9774
 
9745
- interface Props$Q {
9775
+ interface Props$R {
9746
9776
  isVisible: boolean;
9747
9777
  position: Position;
9748
9778
  }
@@ -9754,7 +9784,7 @@ interface State$4 {
9754
9784
  position: Position;
9755
9785
  handler: boolean;
9756
9786
  }
9757
- declare class Autofill extends Component<Props$Q, SpreadsheetChildEnv> {
9787
+ declare class Autofill extends Component<Props$R, SpreadsheetChildEnv> {
9758
9788
  static template: string;
9759
9789
  static props: {
9760
9790
  position: ObjectConstructor;
@@ -9794,7 +9824,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9794
9824
  get tagStyle(): string;
9795
9825
  }
9796
9826
 
9797
- interface Props$P {
9827
+ interface Props$Q {
9798
9828
  gridDims: DOMDimension;
9799
9829
  onInputContextMenu: (event: MouseEvent) => void;
9800
9830
  }
@@ -9802,7 +9832,7 @@ interface Props$P {
9802
9832
  * This component is a composer which positions itself on the grid at the anchor cell.
9803
9833
  * It also applies the style of the cell to the composer input.
9804
9834
  */
9805
- declare class GridComposer extends Component<Props$P, SpreadsheetChildEnv> {
9835
+ declare class GridComposer extends Component<Props$Q, SpreadsheetChildEnv> {
9806
9836
  static template: string;
9807
9837
  static props: {
9808
9838
  gridDims: ObjectConstructor;
@@ -9846,7 +9876,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9846
9876
  }
9847
9877
 
9848
9878
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9849
- interface Props$O {
9879
+ interface Props$P {
9850
9880
  onFigureDeleted: () => void;
9851
9881
  }
9852
9882
  interface Container {
@@ -9927,7 +9957,7 @@ interface DndState {
9927
9957
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9928
9958
  *
9929
9959
  */
9930
- declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
9960
+ declare class FiguresContainer extends Component<Props$P, SpreadsheetChildEnv> {
9931
9961
  static template: string;
9932
9962
  static props: {
9933
9963
  onFigureDeleted: FunctionConstructor;
@@ -9965,10 +9995,10 @@ declare class FiguresContainer extends Component<Props$O, SpreadsheetChildEnv> {
9965
9995
  private getCarouselOverlappingChart;
9966
9996
  }
9967
9997
 
9968
- interface Props$N {
9998
+ interface Props$O {
9969
9999
  focusGrid: () => void;
9970
10000
  }
9971
- declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv> {
10001
+ declare class GridAddRowsFooter extends Component<Props$O, SpreadsheetChildEnv> {
9972
10002
  static template: string;
9973
10003
  static props: {
9974
10004
  focusGrid: FunctionConstructor;
@@ -9992,7 +10022,7 @@ declare class GridAddRowsFooter extends Component<Props$N, SpreadsheetChildEnv>
9992
10022
  private onExternalClick;
9993
10023
  }
9994
10024
 
9995
- interface Props$M {
10025
+ interface Props$N {
9996
10026
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9997
10027
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9998
10028
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -10005,7 +10035,7 @@ interface Props$M {
10005
10035
  height: number;
10006
10036
  };
10007
10037
  }
10008
- declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
10038
+ declare class GridOverlay extends Component<Props$N, SpreadsheetChildEnv> {
10009
10039
  static template: string;
10010
10040
  static props: {
10011
10041
  onCellDoubleClicked: {
@@ -10065,12 +10095,12 @@ declare class GridOverlay extends Component<Props$M, SpreadsheetChildEnv> {
10065
10095
  private getInteractiveIconAtEvent;
10066
10096
  }
10067
10097
 
10068
- interface Props$L {
10098
+ interface Props$M {
10069
10099
  gridRect: Rect;
10070
10100
  onClosePopover: () => void;
10071
10101
  onMouseWheel: (ev: WheelEvent) => void;
10072
10102
  }
10073
- declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
10103
+ declare class GridPopover extends Component<Props$M, SpreadsheetChildEnv> {
10074
10104
  static template: string;
10075
10105
  static props: {
10076
10106
  onClosePopover: FunctionConstructor;
@@ -10086,7 +10116,7 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
10086
10116
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
10087
10117
  }
10088
10118
 
10089
- interface Props$K {
10119
+ interface Props$L {
10090
10120
  headersGroups: ConsecutiveIndexes[];
10091
10121
  offset: number;
10092
10122
  headerRange: {
@@ -10094,7 +10124,7 @@ interface Props$K {
10094
10124
  end: HeaderIndex;
10095
10125
  };
10096
10126
  }
10097
- declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10127
+ declare class UnhideRowHeaders extends Component<Props$L, SpreadsheetChildEnv> {
10098
10128
  static template: string;
10099
10129
  static props: {
10100
10130
  headersGroups: ArrayConstructor;
@@ -10113,7 +10143,7 @@ declare class UnhideRowHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10113
10143
  unhide(hiddenElements: HeaderIndex[]): void;
10114
10144
  isVisible(header: HeaderIndex): boolean;
10115
10145
  }
10116
- declare class UnhideColumnHeaders extends Component<Props$K, SpreadsheetChildEnv> {
10146
+ declare class UnhideColumnHeaders extends Component<Props$L, SpreadsheetChildEnv> {
10117
10147
  static template: string;
10118
10148
  static props: {
10119
10149
  headersGroups: ArrayConstructor;
@@ -10306,13 +10336,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10306
10336
  }
10307
10337
 
10308
10338
  type Orientation$1 = "n" | "s" | "w" | "e";
10309
- interface Props$J {
10339
+ interface Props$K {
10310
10340
  zone: Zone;
10311
10341
  orientation: Orientation$1;
10312
10342
  isMoving: boolean;
10313
10343
  onMoveHighlight: (ev: PointerEvent) => void;
10314
10344
  }
10315
- declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
10345
+ declare class Border extends Component<Props$K, SpreadsheetChildEnv> {
10316
10346
  static template: string;
10317
10347
  static props: {
10318
10348
  zone: ObjectConstructor;
@@ -10325,14 +10355,14 @@ declare class Border extends Component<Props$J, SpreadsheetChildEnv> {
10325
10355
  }
10326
10356
 
10327
10357
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10328
- interface Props$I {
10358
+ interface Props$J {
10329
10359
  zone: Zone;
10330
10360
  color: Color;
10331
10361
  orientation: Orientation;
10332
10362
  isResizing: boolean;
10333
10363
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10334
10364
  }
10335
- declare class Corner extends Component<Props$I, SpreadsheetChildEnv> {
10365
+ declare class Corner extends Component<Props$J, SpreadsheetChildEnv> {
10336
10366
  static template: string;
10337
10367
  static props: {
10338
10368
  zone: ObjectConstructor;
@@ -10381,7 +10411,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10381
10411
 
10382
10412
  type ScrollDirection = "horizontal" | "vertical";
10383
10413
 
10384
- interface Props$H {
10414
+ interface Props$I {
10385
10415
  width: Pixel;
10386
10416
  height: Pixel;
10387
10417
  direction: ScrollDirection;
@@ -10389,7 +10419,7 @@ interface Props$H {
10389
10419
  offset: Pixel;
10390
10420
  onScroll: (offset: Pixel) => void;
10391
10421
  }
10392
- declare class ScrollBar extends Component<Props$H> {
10422
+ declare class ScrollBar extends Component<Props$I> {
10393
10423
  static props: {
10394
10424
  width: {
10395
10425
  type: NumberConstructor;
@@ -10417,10 +10447,10 @@ declare class ScrollBar extends Component<Props$H> {
10417
10447
  onScroll(ev: any): void;
10418
10448
  }
10419
10449
 
10420
- interface Props$G {
10450
+ interface Props$H {
10421
10451
  leftOffset: number;
10422
10452
  }
10423
- declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
10453
+ declare class HorizontalScrollBar extends Component<Props$H, SpreadsheetChildEnv> {
10424
10454
  static props: {
10425
10455
  leftOffset: {
10426
10456
  type: NumberConstructor;
@@ -10446,10 +10476,10 @@ declare class HorizontalScrollBar extends Component<Props$G, SpreadsheetChildEnv
10446
10476
  onScroll(offset: any): void;
10447
10477
  }
10448
10478
 
10449
- interface Props$F {
10479
+ interface Props$G {
10450
10480
  topOffset: number;
10451
10481
  }
10452
- declare class VerticalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10482
+ declare class VerticalScrollBar extends Component<Props$G, SpreadsheetChildEnv> {
10453
10483
  static props: {
10454
10484
  topOffset: {
10455
10485
  type: NumberConstructor;
@@ -10484,13 +10514,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10484
10514
  get highlightProps(): HighlightProps;
10485
10515
  }
10486
10516
 
10487
- interface Props$E {
10517
+ interface Props$F {
10488
10518
  table: Table;
10489
10519
  }
10490
10520
  interface State$3 {
10491
10521
  highlightZone: Zone | undefined;
10492
10522
  }
10493
- declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
10523
+ declare class TableResizer extends Component<Props$F, SpreadsheetChildEnv> {
10494
10524
  static template: string;
10495
10525
  static props: {
10496
10526
  table: ObjectConstructor;
@@ -10519,11 +10549,11 @@ declare class TableResizer extends Component<Props$E, SpreadsheetChildEnv> {
10519
10549
  * - a vertical resizer (same, for rows)
10520
10550
  */
10521
10551
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10522
- interface Props$D {
10552
+ interface Props$E {
10523
10553
  exposeFocus: (focus: () => void) => void;
10524
10554
  getGridSize: () => DOMDimension;
10525
10555
  }
10526
- declare class Grid extends Component<Props$D, SpreadsheetChildEnv> {
10556
+ declare class Grid extends Component<Props$E, SpreadsheetChildEnv> {
10527
10557
  static template: string;
10528
10558
  static props: {
10529
10559
  exposeFocus: FunctionConstructor;
@@ -10639,7 +10669,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10639
10669
  private getChartDefinitionFromContextCreation;
10640
10670
  }
10641
10671
 
10642
- interface Props$C {
10672
+ interface Props$D {
10643
10673
  chartId: UID;
10644
10674
  chartPanelStore: MainChartPanelStore;
10645
10675
  }
@@ -10647,7 +10677,7 @@ interface ChartTypePickerState {
10647
10677
  popoverProps: PopoverProps | undefined;
10648
10678
  popoverStyle: string;
10649
10679
  }
10650
- declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
10680
+ declare class ChartTypePicker extends Component<Props$D, SpreadsheetChildEnv> {
10651
10681
  static template: string;
10652
10682
  static components: {
10653
10683
  Section: typeof Section;
@@ -10683,11 +10713,11 @@ declare class ChartTypePicker extends Component<Props$C, SpreadsheetChildEnv> {
10683
10713
  private closePopover;
10684
10714
  }
10685
10715
 
10686
- interface Props$B {
10716
+ interface Props$C {
10687
10717
  onCloseSidePanel: () => void;
10688
10718
  chartId: UID;
10689
10719
  }
10690
- declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
10720
+ declare class ChartPanel extends Component<Props$C, SpreadsheetChildEnv> {
10691
10721
  static template: string;
10692
10722
  static components: {
10693
10723
  Section: typeof Section;
@@ -10710,11 +10740,11 @@ declare class ChartPanel extends Component<Props$B, SpreadsheetChildEnv> {
10710
10740
  private getChartDefinition;
10711
10741
  }
10712
10742
 
10713
- interface Props$A {
10743
+ interface Props$B {
10714
10744
  onValueChange: (value: number) => void;
10715
10745
  value: number;
10716
10746
  }
10717
- declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
10747
+ declare class PieHoleSize extends Component<Props$B, SpreadsheetChildEnv> {
10718
10748
  static template: string;
10719
10749
  static components: {
10720
10750
  Section: typeof Section;
@@ -10727,13 +10757,13 @@ declare class PieHoleSize extends Component<Props$A, SpreadsheetChildEnv> {
10727
10757
  onChange(value: string): void;
10728
10758
  }
10729
10759
 
10730
- interface Props$z {
10760
+ interface Props$A {
10731
10761
  chartId: UID;
10732
10762
  definition: PieChartDefinition;
10733
10763
  canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10734
10764
  updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10735
10765
  }
10736
- declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv> {
10766
+ declare class PieChartDesignPanel extends Component<Props$A, SpreadsheetChildEnv> {
10737
10767
  static template: string;
10738
10768
  static components: {
10739
10769
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10757,10 +10787,10 @@ declare class PieChartDesignPanel extends Component<Props$z, SpreadsheetChildEnv
10757
10787
  get defaultHoleSize(): number;
10758
10788
  }
10759
10789
 
10760
- interface Props$y {
10790
+ interface Props$z {
10761
10791
  items: ActionSpec[];
10762
10792
  }
10763
- declare class CogWheelMenu extends Component<Props$y, SpreadsheetChildEnv> {
10793
+ declare class CogWheelMenu extends Component<Props$z, SpreadsheetChildEnv> {
10764
10794
  static template: string;
10765
10795
  static components: {
10766
10796
  MenuPopover: typeof MenuPopover;
@@ -10843,14 +10873,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10843
10873
  get highlights(): Highlight$1[];
10844
10874
  }
10845
10875
 
10846
- interface Props$x {
10876
+ interface Props$y {
10847
10877
  deferUpdate: boolean;
10848
10878
  isDirty: boolean;
10849
10879
  toggleDeferUpdate: (value: boolean) => void;
10850
10880
  discard: () => void;
10851
10881
  apply: () => void;
10852
10882
  }
10853
- declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
10883
+ declare class PivotDeferUpdate extends Component<Props$y, SpreadsheetChildEnv> {
10854
10884
  static template: string;
10855
10885
  static props: {
10856
10886
  deferUpdate: BooleanConstructor;
@@ -10867,11 +10897,11 @@ declare class PivotDeferUpdate extends Component<Props$x, SpreadsheetChildEnv> {
10867
10897
  get deferUpdatesTooltip(): string;
10868
10898
  }
10869
10899
 
10870
- interface Props$w {
10900
+ interface Props$x {
10871
10901
  onFieldPicked: (field: string) => void;
10872
10902
  fields: PivotField[];
10873
10903
  }
10874
- declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv> {
10904
+ declare class AddDimensionButton extends Component<Props$x, SpreadsheetChildEnv> {
10875
10905
  static template: string;
10876
10906
  static components: {
10877
10907
  Popover: typeof Popover;
@@ -10907,7 +10937,7 @@ declare class AddDimensionButton extends Component<Props$w, SpreadsheetChildEnv>
10907
10937
  onKeyDown(ev: KeyboardEvent): void;
10908
10938
  }
10909
10939
 
10910
- interface Props$v {
10940
+ interface Props$w {
10911
10941
  value: string;
10912
10942
  onChange: (value: string) => void;
10913
10943
  class?: string;
@@ -10916,7 +10946,7 @@ interface Props$v {
10916
10946
  autofocus?: boolean;
10917
10947
  alwaysShowBorder?: boolean;
10918
10948
  }
10919
- declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
10949
+ declare class TextInput extends Component<Props$w, SpreadsheetChildEnv> {
10920
10950
  static template: string;
10921
10951
  static props: {
10922
10952
  value: StringConstructor;
@@ -10951,13 +10981,13 @@ declare class TextInput extends Component<Props$v, SpreadsheetChildEnv> {
10951
10981
  get inputClass(): string;
10952
10982
  }
10953
10983
 
10954
- interface Props$u {
10984
+ interface Props$v {
10955
10985
  dimension: PivotCoreDimension | PivotCoreMeasure;
10956
10986
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10957
10987
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10958
10988
  type: "row" | "col" | "measure";
10959
10989
  }
10960
- declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
10990
+ declare class PivotDimension extends Component<Props$v, SpreadsheetChildEnv> {
10961
10991
  static template: string;
10962
10992
  static props: {
10963
10993
  dimension: ObjectConstructor;
@@ -10981,13 +11011,13 @@ declare class PivotDimension extends Component<Props$u, SpreadsheetChildEnv> {
10981
11011
  updateName(name: string): void;
10982
11012
  }
10983
11013
 
10984
- interface Props$t {
11014
+ interface Props$u {
10985
11015
  dimension: PivotDimension$1;
10986
11016
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10987
11017
  availableGranularities: Set<string>;
10988
11018
  allGranularities: string[];
10989
11019
  }
10990
- declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetChildEnv> {
11020
+ declare class PivotDimensionGranularity extends Component<Props$u, SpreadsheetChildEnv> {
10991
11021
  static template: string;
10992
11022
  static props: {
10993
11023
  dimension: ObjectConstructor;
@@ -11012,11 +11042,11 @@ declare class PivotDimensionGranularity extends Component<Props$t, SpreadsheetCh
11012
11042
  };
11013
11043
  }
11014
11044
 
11015
- interface Props$s {
11045
+ interface Props$t {
11016
11046
  dimension: PivotDimension$1;
11017
11047
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
11018
11048
  }
11019
- declare class PivotDimensionOrder extends Component<Props$s, SpreadsheetChildEnv> {
11049
+ declare class PivotDimensionOrder extends Component<Props$t, SpreadsheetChildEnv> {
11020
11050
  static template: string;
11021
11051
  static props: {
11022
11052
  dimension: ObjectConstructor;
@@ -11053,12 +11083,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
11053
11083
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11054
11084
  declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
11055
11085
 
11056
- interface Props$r {
11086
+ interface Props$s {
11057
11087
  pivotId: UID;
11058
11088
  customField: PivotCustomGroupedField;
11059
11089
  onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11060
11090
  }
11061
- declare class PivotCustomGroupsCollapsible extends Component<Props$r, SpreadsheetChildEnv> {
11091
+ declare class PivotCustomGroupsCollapsible extends Component<Props$s, SpreadsheetChildEnv> {
11062
11092
  static template: string;
11063
11093
  static props: {
11064
11094
  pivotId: StringConstructor;
@@ -11078,7 +11108,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$r, Spreadshee
11078
11108
  private updateCustomField;
11079
11109
  }
11080
11110
 
11081
- interface Props$q {
11111
+ interface Props$r {
11082
11112
  pivotId: string;
11083
11113
  definition: PivotRuntimeDefinition;
11084
11114
  measure: PivotMeasure;
@@ -11086,7 +11116,7 @@ interface Props$q {
11086
11116
  onRemoved: () => void;
11087
11117
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
11088
11118
  }
11089
- declare class PivotMeasureEditor extends Component<Props$q> {
11119
+ declare class PivotMeasureEditor extends Component<Props$r> {
11090
11120
  static template: string;
11091
11121
  static components: {
11092
11122
  PivotDimension: typeof PivotDimension;
@@ -11111,11 +11141,11 @@ declare class PivotMeasureEditor extends Component<Props$q> {
11111
11141
  get isCalculatedMeasureInvalid(): boolean;
11112
11142
  }
11113
11143
 
11114
- interface Props$p {
11144
+ interface Props$q {
11115
11145
  definition: PivotRuntimeDefinition;
11116
11146
  pivotId: UID;
11117
11147
  }
11118
- declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
11148
+ declare class PivotSortSection extends Component<Props$q, SpreadsheetChildEnv> {
11119
11149
  static template: string;
11120
11150
  static components: {
11121
11151
  Section: typeof Section;
@@ -11132,7 +11162,7 @@ declare class PivotSortSection extends Component<Props$p, SpreadsheetChildEnv> {
11132
11162
  }[];
11133
11163
  }
11134
11164
 
11135
- interface Props$o {
11165
+ interface Props$p {
11136
11166
  definition: PivotRuntimeDefinition;
11137
11167
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11138
11168
  unusedGroupableFields: PivotField[];
@@ -11143,7 +11173,7 @@ interface Props$o {
11143
11173
  getScrollableContainerEl?: () => HTMLElement;
11144
11174
  pivotId: UID;
11145
11175
  }
11146
- declare class PivotLayoutConfigurator extends Component<Props$o, SpreadsheetChildEnv> {
11176
+ declare class PivotLayoutConfigurator extends Component<Props$p, SpreadsheetChildEnv> {
11147
11177
  static template: string;
11148
11178
  static components: {
11149
11179
  AddDimensionButton: typeof AddDimensionButton;
@@ -11238,11 +11268,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11238
11268
  private areDomainFieldsValid;
11239
11269
  }
11240
11270
 
11241
- interface Props$n {
11271
+ interface Props$o {
11242
11272
  pivotId: UID;
11243
11273
  flipAxis: () => void;
11244
11274
  }
11245
- declare class PivotTitleSection extends Component<Props$n, SpreadsheetChildEnv> {
11275
+ declare class PivotTitleSection extends Component<Props$o, SpreadsheetChildEnv> {
11246
11276
  static template: string;
11247
11277
  static components: {
11248
11278
  CogWheelMenu: typeof CogWheelMenu;
@@ -11339,11 +11369,11 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11339
11369
  */
11340
11370
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11341
11371
 
11342
- interface Props$m {
11372
+ interface Props$n {
11343
11373
  position: CellPosition;
11344
11374
  sortDirection: SortDirection | "none";
11345
11375
  }
11346
- declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildEnv> {
11376
+ declare class ClickableCellSortIcon extends Component<Props$n, SpreadsheetChildEnv> {
11347
11377
  static template: string;
11348
11378
  static props: {
11349
11379
  position: ObjectConstructor;
@@ -11359,7 +11389,6 @@ declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildE
11359
11389
  declare class ZoomableChartJsComponent extends ChartJsComponent {
11360
11390
  static template: string;
11361
11391
  private store;
11362
- private fullScreenChartStore;
11363
11392
  private masterChartCanvas;
11364
11393
  private masterChart?;
11365
11394
  private mode?;
@@ -11376,7 +11405,6 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
11376
11405
  private getMasterChartConfiguration;
11377
11406
  private getDetailChartConfiguration;
11378
11407
  private getAxisLimitsFromDataset;
11379
- protected get shouldAnimate(): boolean;
11380
11408
  protected createChart(chartRuntime: ChartJSRuntime): void;
11381
11409
  protected updateChartJs(chartRuntime: ChartJSRuntime): void;
11382
11410
  private resetAxesLimits;
@@ -11392,13 +11420,50 @@ declare class ZoomableChartJsComponent extends ChartJsComponent {
11392
11420
  onDoubleClickInMasterChart(ev: PointerEvent): void;
11393
11421
  }
11394
11422
 
11395
- declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11423
+ interface Props$m {
11424
+ chartId: UID;
11425
+ isFullScreen?: boolean;
11426
+ }
11427
+ declare class GaugeChartComponent extends Component<Props$m, SpreadsheetChildEnv> {
11428
+ static template: string;
11429
+ static props: {
11430
+ chartId: StringConstructor;
11431
+ isFullScreen: {
11432
+ type: BooleanConstructor;
11433
+ optional: boolean;
11434
+ };
11435
+ };
11436
+ private canvas;
11437
+ private animationStore;
11438
+ get runtime(): GaugeChartRuntime;
11439
+ setup(): void;
11440
+ drawGaugeWithAnimation(): Animation | null;
11441
+ get canvasEl(): HTMLCanvasElement;
11442
+ get animationChartId(): string;
11443
+ }
11444
+ /**
11445
+ * Animation interpolating values using the ease-out quartic curve function (chartJS default easing)
11446
+ */
11447
+ declare class Animation {
11448
+ private startValue;
11449
+ private endValue;
11450
+ private duration;
11451
+ private callback;
11452
+ private startTime;
11453
+ private animationFrameId;
11454
+ constructor(startValue: number, endValue: number, duration: number, callback: (value: number) => void);
11455
+ start(): void;
11456
+ stop(): void;
11457
+ private animate;
11458
+ }
11459
+
11460
+ declare class FullScreenFigure extends Component<{}, SpreadsheetChildEnv> {
11396
11461
  static template: string;
11397
11462
  static props: {};
11398
11463
  static components: {
11399
- ChartDashboardMenu: typeof ChartDashboardMenu;
11464
+ ChartFigure: typeof ChartFigure;
11400
11465
  };
11401
- private fullScreenChartStore;
11466
+ private fullScreenFigureStore;
11402
11467
  private ref;
11403
11468
  spreadsheetRect: Rect;
11404
11469
  figureRegistry: Registry<FigureContent>;
@@ -11407,7 +11472,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11407
11472
  get chartId(): UID | undefined;
11408
11473
  exitFullScreen(): void;
11409
11474
  onKeyDown(ev: KeyboardEvent): void;
11410
- get chartComponent(): (new (...args: any) => Component) | undefined;
11475
+ get figureComponent(): (new (...args: any) => Component) | undefined;
11411
11476
  }
11412
11477
 
11413
11478
  interface PivotDialogColumn {
@@ -12596,12 +12661,14 @@ declare class RibbonMenu extends Component<RibbonMenuProps, SpreadsheetChildEnv>
12596
12661
  };
12597
12662
  rootItems: Action[];
12598
12663
  private menuRef;
12664
+ private containerRef;
12599
12665
  state: State$1;
12600
12666
  setup(): void;
12601
12667
  onExternalClick(ev: Event): void;
12602
12668
  onClickMenu(menu: Action): void;
12603
12669
  get menuProps(): MenuProps;
12604
12670
  get style(): string;
12671
+ updateShadows(): void;
12605
12672
  onClickBack(): void;
12606
12673
  get backTitle(): string;
12607
12674
  }
@@ -12627,6 +12694,7 @@ declare class SmallBottomBar extends Component<Props$1, SpreadsheetChildEnv> {
12627
12694
  private menuState;
12628
12695
  setup(): void;
12629
12696
  get focus(): ComposerFocusType;
12697
+ get showFxIcon(): boolean;
12630
12698
  get rect(): Rect;
12631
12699
  get composerProps(): CellComposerProps;
12632
12700
  get symbols(): string[];
@@ -12679,6 +12747,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
12679
12747
  private composerInterface;
12680
12748
  setup(): void;
12681
12749
  get focus(): ComposerFocusType;
12750
+ get showFxIcon(): boolean;
12682
12751
  get composerStyle(): string;
12683
12752
  get containerStyle(): string;
12684
12753
  onFocus(selection: ComposerSelection): void;
@@ -12791,7 +12860,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
12791
12860
  SidePanels: typeof SidePanels;
12792
12861
  SpreadsheetDashboard: typeof SpreadsheetDashboard;
12793
12862
  HeaderGroupContainer: typeof HeaderGroupContainer;
12794
- FullScreenChart: typeof FullScreenChart;
12863
+ FullScreenFigure: typeof FullScreenFigure;
12795
12864
  };
12796
12865
  sidePanel: Store<SidePanelStore>;
12797
12866
  spreadsheetRef: {
@@ -13006,6 +13075,7 @@ declare const components: {
13006
13075
  Grid: typeof Grid;
13007
13076
  GridOverlay: typeof GridOverlay;
13008
13077
  ScorecardChart: typeof ScorecardChart$1;
13078
+ GaugeChartComponent: typeof GaugeChartComponent;
13009
13079
  LineConfigPanel: typeof LineConfigPanel;
13010
13080
  BarConfigPanel: typeof BarConfigPanel;
13011
13081
  PieChartDesignPanel: typeof PieChartDesignPanel;
@@ -13044,7 +13114,7 @@ declare const components: {
13044
13114
  RadioSelection: typeof RadioSelection;
13045
13115
  GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
13046
13116
  ChartDashboardMenu: typeof ChartDashboardMenu;
13047
- FullScreenChart: typeof FullScreenChart;
13117
+ FullScreenFigure: typeof FullScreenFigure;
13048
13118
  };
13049
13119
  declare const hooks: {
13050
13120
  useDragAndDropListItems: typeof useDragAndDropListItems;